.share-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:rgb(4 8 16/78%);backdrop-filter:blur(14px)}.share-modal__panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 330px;width:min(100%,1030px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--foreground);box-shadow:0 32px 120px rgb(0 0 0/35%);outline:none}.share-modal__panel[data-format=landscape]{width:min(100%,1250px)}.share-modal__close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--foreground-soft);background:var(--surface);cursor:pointer}.share-modal__close:hover{color:var(--foreground);background:var(--surface-muted)}.share-modal button:focus-visible{outline:2px solid var(--accent-strong);outline-offset:4px}.share-modal__stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-width:0;padding:32px;background:#11121a;transition:background .18s ease}.share-modal__stage[data-card-theme=light]{background:#eae8ef}.share-modal__preview{position:relative;width:100%;height:min(68dvh,690px);min-height:260px}.share-modal__preview img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 22px rgb(0 0 0/22%))}.share-modal__image-meta{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:2px;color:#aeb8c8}.share-modal__stage[data-card-theme=light] .share-modal__image-meta{color:#616a78}.share-modal__placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:100%;padding:24px;text-align:center;font-size:14px;color:#dce2ec}.share-modal__stage[data-card-theme=light] .share-modal__placeholder{color:#49556b}.share-modal__controls{display:flex;flex-direction:column;justify-content:center;gap:28px;padding:58px 28px 32px}.share-modal__eyebrow{margin:0 0 18px;font-size:9px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--foreground-faint)}.share-modal__intro h2{max-width:260px;margin:0 0 14px;font-family:var(--font-display),Georgia,serif;font-size:28px;font-weight:400;line-height:1.25;letter-spacing:-.6px;text-wrap:balance}.share-modal__intro>p:last-child{margin:0;font-size:13px;line-height:1.7;color:var(--foreground-soft)}.share-modal__settings{display:flex;flex-direction:column;gap:22px}.share-modal__options{min-width:0;margin:0;padding:0;border:0}.share-modal__options legend{margin-bottom:10px;font-size:11px;font-weight:600;color:var(--foreground-soft)}.share-modal__option-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.share-modal__option{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 9px;border:1px solid var(--line);border-radius:10px;color:var(--foreground-soft);background:transparent;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.share-modal__option:hover{border-color:var(--foreground-faint)}.share-modal__option[aria-pressed=true]{border-color:var(--accent-strong);background:var(--accent-soft);color:var(--accent-strong)}.share-modal__option>span{display:flex;flex-direction:column;gap:3px;text-align:left}.share-modal__option small{font-size:9px;font-weight:400}.share-modal__option-check{position:absolute;top:5px;right:5px;width:10px;height:10px}.share-modal__actions{display:flex;flex-direction:column;gap:10px}.share-modal__download{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:12px;background:#edb9cb;color:#302331;font-size:14px;font-weight:700;cursor:pointer;transition:background .16s ease,transform .16s ease}.share-modal__download:hover{background:#f4cbda;transform:translateY(-1px)}.share-modal__download:disabled{opacity:.5;cursor:wait;transform:none}.share-modal__hint{margin:0;font-size:11px;line-height:1.7;text-align:center;color:var(--foreground-faint)}@media (max-width:760px){.share-modal{padding:12px}.share-modal__panel{display:flex;flex-direction:column;max-width:520px;max-height:calc(100dvh - 24px);border-radius:18px}.share-modal__close{top:10px;right:10px}.share-modal__stage{flex-shrink:0;padding:46px 20px 14px;gap:12px}.share-modal__preview{height:43dvh;min-height:190px;max-height:460px}.share-modal__panel[data-format=landscape] .share-modal__preview{height:auto;min-height:0;aspect-ratio:16/9}.share-modal__panel[data-format=landscape] .share-modal__preview>*{position:absolute;inset:0;width:100%;height:100%}.share-modal__controls{flex-shrink:0;gap:18px;padding:22px}.share-modal__eyebrow{display:none}.share-modal__intro h2{max-width:none;margin-bottom:7px;font-size:25px}.share-modal__intro>p:last-child{font-size:12px;line-height:1.5}.share-modal__settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.share-modal__option{min-height:42px;padding:10px 4px;gap:4px;font-size:11px}.share-modal__option>svg:first-child{width:15px}.share-modal__option small{display:none}.share-modal__hint{font-size:10px}}@media (prefers-reduced-motion:reduce){.share-modal *,.share-modal :after,.share-modal :before{animation:none!important;transition:none!important}}