.share-dialog{width:min(510px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px;border:1px solid #e3dbcd;border-radius:24px;background:#fcfaf5;color:#403c34;box-shadow:0 24px 100px #342e2830}
.share-dialog::backdrop{background:#27261f70;backdrop-filter:blur(5px)}
.share-dialog [hidden]{display:none!important}
.share-heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.share-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e3dbcd;border-radius:50%;background:transparent;color:inherit;font-size:24px;cursor:pointer}
.share-dialog h2{font-family:Georgia,"Noto Serif KR",serif;font-size:25px;line-height:1.5;letter-spacing:-.04em;margin:8px 0}
#share-description{margin:0 0 20px;color:#746f64;font-size:14px;overflow-wrap:anywhere}
.share-note{padding:16px 18px;background:#efeee5;border-radius:12px;font-size:13px;line-height:1.8;margin:0 0 16px}
.share-local{padding:0 0 0 12px;border-left:2px solid #bfa17d;font-size:12px;line-height:1.8;color:#75604a}
.share-label{display:block;font-size:12px;letter-spacing:.04em;margin:20px 0 8px}
.share-dialog input,.share-dialog textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #ded9ce;background:#fffefb;color:#625c51;border-radius:10px;padding:13px;font:inherit;font-size:13px;line-height:1.6}
.share-dialog textarea{resize:vertical;min-height:140px}
.share-native{width:100%;justify-content:center;margin:18px 0 10px}
.share-copy-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.share-copy-actions .button{justify-content:center;padding-inline:12px}
.share-invitation{margin-top:20px;border-top:1px solid #e3dbcd;padding-top:16px}
.share-invitation summary{cursor:pointer;font-size:13px;color:#6b6a55;margin-bottom:10px}
.share-fine{font-size:12px;color:#82796b;line-height:1.8;margin:16px 0 0}
.share-status{font-size:13px;line-height:1.7;color:#536747;min-height:1.7em;margin:14px 0 0}
.share-dialog :focus-visible{outline:2px solid #768166;outline-offset:4px}
.share-dialog button:disabled{opacity:.6;cursor:wait}
.share-entry{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.share-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #d6d8ca;border-radius:24px;background:#faf9f3;color:#56624e;font-size:12px;line-height:1.6;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s}
.share-trigger svg{flex-shrink:0}
.share-trigger:hover{background:#eeefe5;border-color:#9da78e}
.share-trigger:focus-visible{outline:2px solid #768166;outline-offset:4px}
.share-prompt{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}
.share-prompt>p{margin:0;color:#6a7061;font-size:12px;line-height:1.8;word-break:keep-all}
.home-page .home-share-prompt{width:min(1320px,92%);margin:-22px auto 32px}
.space-share-prompt{width:min(1120px,92%);margin:18px auto}
.space-share-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.share-download{width:100%;justify-content:center}
.growth-reader-help+.share-prompt{padding-block:12px;border-top:1px solid #e1dfd3}
.film-sample-footer .share-trigger{min-height:36px;padding:6px 12px}
.film-sample-footer{flex-wrap:wrap;gap:12px}
.share-file-help{margin-top:14px;color:#6a7061;font-size:12px;line-height:1.8}
@media(max-width:540px){.share-prompt{gap:12px}.share-prompt>p{max-width:210px}.home-page .home-share-prompt{margin-top:-22px}.space-share-prompt{align-items:flex-start}.space-share-actions{gap:8px}.share-trigger{min-height:44px;padding-inline:12px}.film-sample-footer .share-trigger{min-height:44px}}
@media(max-width:540px){.share-prompt:not(.home-share-prompt){flex-direction:column;align-items:flex-start;gap:10px}.share-prompt:not(.home-share-prompt)>p{max-width:none}}
.template-intro-note [data-share]{margin-top:18px}
@media(max-width:540px){.share-dialog{padding:22px}.share-dialog h2{font-size:23px}.share-copy-actions .button{font-size:13px}.share-entry{margin:12px 0}}
