.share-page { max-width: 1120px; padding-top: 42px; padding-bottom: 64px; }
.share-head { max-width: 760px; margin-bottom: 25px; }
.share-kicker { color: #236253; font-size: 13px; font-weight: 750; letter-spacing: .04em; margin: 0 0 7px; }
.share-head h1 { color: #173e35; font-size: clamp(26px, 3.2vw, 38px); font-weight: 750; line-height: 1.3; margin: 0 0 12px; }
.share-head > p:last-child { color: #425b53; font-size: 16px; line-height: 1.7; margin: 0; }
.share-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); gap: 18px; align-items: start; }
.share-card { background: #fff; border: 1px solid #d8e2da; border-radius: 10px; padding: 24px; }
.share-card h2 { color: #173e35; font-size: 19px; font-weight: 750; margin: 0 0 18px; }
.share-card label { display: block; margin-bottom: 7px; color: #365446; font-size: 14px; font-weight: 700; }
.share-card select { width: 100%; min-height: 44px; border: 1px solid #adc7b9; border-radius: 6px; padding: 8px 10px; background: #fff; color: #23362f; }
.share-preview { background: #f4f8f5; border-left: 3px solid #31745b; margin: 20px 0; padding: 17px; }
.share-preview span { color: #236253; font-size: 12px; font-weight: 700; }
.share-preview p { color: #23362f; margin: 7px 0 10px; line-height: 1.65; }
.share-preview a { font-size: 13px; font-weight: 700; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-actions [hidden] { display: none; }
.share-actions .btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.share-note,.share-status,.share-terms p,.share-boundary { color: #52675d; font-size: 13px; line-height: 1.7; }
.share-note { margin: 13px 0 0; }
.share-status { min-height: 1.7em; margin: 7px 0 0; }
.share-terms p { margin-bottom: 13px; }
.share-terms a { font-size: 14px; font-weight: 700; }
.share-boundary { margin-top: 18px; }
@media (max-width: 780px) { .share-page { padding-top: 26px; } .share-grid { grid-template-columns: 1fr; } .share-card { padding: 19px; } }

/* Shared controls retain the site's Pretendard, green and small Kakao accent. */
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 13px; border: 1px solid #9bb8aa; border-radius: 6px; background: #fff; color: #20584f; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; }
.share-button:hover { background: #edf5ef; color: #174b3b; }
.share-button--kakao { background: #fee500; border-color: #d8c869; color: #302b20; }
.share-button--kakao:hover { background: #f5dc00; color: #302b20; }
.share-button img { width: 18px; height: 18px; flex: 0 0 18px; }
.share-button:disabled { cursor: default; background: #f6f3db; color: #68654f; border-color: #dbd8be; }
.share-button:focus-visible, .share-close:focus-visible { outline: 3px solid #236253; outline-offset: 3px; }
.share-dialog { box-sizing: border-box; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #bdcfc1; border-radius: 12px; background: #fff; color: #23362f; box-shadow: 0 16px 60px #173e3533; }
.share-dialog::backdrop { background: #142a2466; }
.share-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.share-dialog-head h2 { margin: 0; color: #173e35; font-size: 23px; line-height: 1.4; font-weight: 750; }
.share-close { min-height: 44px; padding: 8px 12px; flex-shrink: 0; border: 1px solid #cbd8cf; border-radius: 6px; background: #fff; color: #365446; font: inherit; font-size: 14px; cursor: pointer; }
.share-dialog label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.share-dialog select, #share-url { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #adc7b9; border-radius: 6px; background: #fff; color: #23362f; font: inherit; font-size: 14px; }
.share-dialog .share-preview { margin: 16px 0; }
.share-dialog a:not(.share-button) { color: #20584f; }
.share-dialog [hidden] { display: none !important; }
@media (max-width: 480px) { .share-dialog { padding: 18px; } .share-dialog-head h2 { font-size: 21px; } }
