.share-dialog{box-sizing:border-box;width:min(840px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:28px;border:1px solid #39758d;border-radius:24px;background:linear-gradient(140deg,#112a3e,#091521);color:#eefaff;box-shadow:0 24px 100px #000b;font-family:'Segoe UI',sans-serif}
.share-dialog::backdrop{background:#030913cc;backdrop-filter:blur(8px)}
.share-dialog .share-close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:0;background:transparent;border:0;color:#a8e7f8;font-size:30px;cursor:pointer}
.share-kicker{font-size:11px;font-weight:700;letter-spacing:.15em;color:#67dff8;margin:0 0 8px}
.share-dialog h2{font-size:30px;font-weight:750;line-height:1.15;letter-spacing:-.5px;margin:0 42px 20px 0;color:#f0faff}
.share-themes{display:flex;gap:9px;margin-bottom:14px}
.share-dialog .share-theme{flex:1;min-width:0;min-height:44px;padding:10px 15px;border:1px solid #345870;border-radius:12px;background:#122638;color:#bad4e3;font-size:14px;font-weight:650;cursor:pointer;box-shadow:none}
.share-dialog .share-theme:before{content:'';display:inline-block;vertical-align:middle;width:10px;height:10px;margin-right:9px;border-radius:50%;background:#65ddff;box-shadow:0 0 10px #65ddff66}
.share-dialog .share-theme[data-theme=ember]:before{background:#ff9664;box-shadow:0 0 10px #ff966466}
.share-dialog .share-theme[data-theme=royal]:before{background:#e4c18b;box-shadow:0 0 10px #e4c18b66}
.share-dialog .share-theme[aria-pressed=true]{border-color:#73e1fa;background:#174058;color:#e8fbff;box-shadow:0 0 0 1px #70d9f526}
.share-preview{position:relative;aspect-ratio:16/9;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #2c5066;border-radius:15px;overflow:hidden;background:#081522}
.share-preview img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.share-preview img[hidden],.share-preview [hidden]{display:none}
.share-status{padding:15px;text-align:center;font-size:15px;color:#a4c7db}
.share-preview[aria-busy=true] .share-status:before{content:'';display:block;width:24px;height:24px;margin:0 auto 12px;border:2px solid #35576b;border-top-color:#73e7ff;border-radius:50%;animation:share-spin .8s linear infinite}
.share-dialog .share-retry{min-height:40px;padding:9px 18px;background:#17354a;border:1px solid #54879e;border-radius:10px;color:#e1f7ff;font-size:14px;cursor:pointer}
.share-helper{font-size:14px;line-height:1.5;color:#aac8d8;margin:16px 0}
.share-actions{display:flex;gap:12px}
.share-dialog .share-download,.share-dialog .share-quote{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;box-sizing:border-box;padding:12px 16px;border-radius:12px;font-size:15px;line-height:1.3;font-weight:700;text-decoration:none;cursor:pointer}
.share-dialog .share-download{border:1px solid #8eeaff;background:linear-gradient(110deg,#85e9fa,#40d3f4);color:#082535;box-shadow:none}
.share-dialog .share-quote{border:1px solid #40677e;background:#112b3d;color:#e4f7ff}
.share-dialog .share-download:disabled,.share-dialog .share-quote[aria-disabled=true]{opacity:.45;cursor:wait}
.share-dialog button:focus-visible,.share-dialog a:focus-visible{outline:2px solid #b6f6ff;outline-offset:3px}
@keyframes share-spin{to{transform:rotate(360deg)}}
@media(max-width:550px){.share-dialog{padding:22px 14px;border-radius:18px}.share-dialog h2{font-size:25px;margin-bottom:16px}.share-themes{gap:7px}.share-dialog .share-theme{padding:10px 6px;font-size:13px}.share-dialog .share-theme:before{margin-right:5px;width:8px;height:8px}.share-actions{flex-direction:column;gap:8px}.share-helper{font-size:13px}.share-preview{border-radius:10px}}
@media(prefers-reduced-motion:reduce){.share-preview[aria-busy=true] .share-status:before{animation:none}}

