.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.detail-actions .back{margin-bottom:0}
.share-entry,.share-package{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #e2c18466;border-radius:8px;background:#151a21;color:#f1d9ad;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;cursor:pointer}
.share-entry{padding:10px 16px;flex-shrink:0}
.share-entry svg,.share-package svg{width:17px;height:17px;flex-shrink:0}
.share-package{width:100%;padding:8px 6px;margin-top:9px;background:#1a2029;border-color:#40516a;color:#d2dff0;font-size:12px}
.share-entry:hover,.share-package:hover{background:#263246;border-color:#9ab7de;color:#fff}
.share-entry:focus-visible,.share-package:focus-visible{outline:2px solid #a9cdfd;outline-offset:3px}
.shared-unavailable{padding:16px;background:#2c2518;color:#f4d49d;border:1px solid #9d7940;border-radius:8px;font-size:14px}
.share-dialog{box-sizing:border-box;width:min(900px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #414955;border-radius:16px;background:#151a22;color:#f5f2eb;box-shadow:0 20px 80px #0008;overflow:auto;scrollbar-color:#6b798c #151a22}
.share-dialog::backdrop{background:#05080dbd}
.share-shell{padding:28px}
.share-heading{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 24px;padding:0;background:none}
.share-heading h2{font-size:23px;line-height:1.4;margin:0 0 8px;letter-spacing:0}
.share-heading p{margin:0;color:#b9c5d4;font-size:14px;line-height:1.6}
.share-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #536173;border-radius:8px;background:#222d3c;color:#e5edf7;cursor:pointer}
.share-close svg{width:22px;height:22px}
.share-close:hover{background:#35465e}
.share-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:32px;align-items:start}
.share-preview{display:flex;align-items:center;justify-content:center;min-height:360px;margin:0;padding:20px;background:#0c1118;border-radius:10px;overflow:hidden}
.share-preview img{display:block;width:auto;max-width:100%;max-height:61dvh;height:auto;user-select:auto;-webkit-touch-callout:default}
.share-preview img[hidden]{display:none}
.share-preview p{max-width:24ch;text-align:center;font-size:14px;line-height:1.8;color:#d7dfe9}
.share-controls{padding-top:4px}
.share-product>span{color:#d4ba89;font-size:12px}
.share-product h3{font-size:21px;line-height:1.5;margin:10px 0 8px;overflow-wrap:anywhere}
.share-product p{color:#bbc8d9;font-size:14px;line-height:1.8;margin:0 0 25px;overflow-wrap:anywhere}
.share-actions{display:grid;gap:10px}
.share-actions button,.share-actions a,.share-retry{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:46px;padding:11px 16px;border:1px solid #51637c;border-radius:8px;background:#222e40;color:#e5edf8;font:600 14px/1.4 system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s}
.share-actions .share-send{background:#e4c58d;border-color:#e4c58d;color:#211a10}
.share-actions .share-send:hover{background:#f4dbb1}
.share-actions .share-save{background:#d6e5f7;border-color:#d6e5f7;color:#16243a}
.share-actions .share-save:hover{background:#eaf3ff}
.share-actions .share-copy:hover{background:#344761}
.share-actions [disabled],.share-actions [aria-disabled=true]{opacity:.4;cursor:wait;pointer-events:none}
.share-dialog :focus-visible{outline:2px solid #a9cdfd;outline-offset:3px}
.share-dialog ::selection{background:#d5e5fb;color:#142039}
.share-feedback{min-height:20px;color:#bbd8fc;font-size:12px;line-height:1.7;margin:14px 0}
.share-help{color:#b9c6d8;font-size:12px;line-height:1.9;margin:22px 0 14px}
.share-price-note{color:#aab8cc;font-size:11px;line-height:1.8;margin:0}
.share-retry{margin-top:16px}
.share-retry[hidden]{display:none}
.share-link-fallback{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:10px;border:1px solid #6e839f;border-radius:6px;background:#0e1724;color:#e5edf8;font-size:12px;caret-color:#e4c58d}
@media(max-width:700px){
 .detail-actions{gap:8px}.share-entry{font-size:12px;padding:9px 12px}.share-entry svg{width:15px;height:15px}
 .share-package{font-size:11px;gap:6px}.share-package svg{width:15px;height:15px}
 .share-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:14px}
 .share-shell{padding:18px 16px}.share-heading{gap:12px;margin-bottom:16px}.share-heading h2{font-size:19px}.share-heading p{font-size:12px}
 .share-body{grid-template-columns:1fr;gap:14px}.share-preview{min-height:210px;padding:12px}.share-preview img{max-height:32dvh}
 .share-product>span{display:none}.share-product h3{font-size:16px;margin:0 0 4px}.share-product p{font-size:12px;line-height:1.6;margin:0 0 14px}.share-actions{grid-template-columns:1fr 1fr;gap:9px}.share-actions .share-copy{grid-column:1/-1;background:transparent;border-color:#4a5c73;min-height:44px}
 .share-help{margin:10px 0;font-size:11px}.share-feedback{margin:10px 0;min-height:0}.share-price-note{font-size:10px}.share-actions button,.share-actions a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.share-actions button,.share-actions a{transition:none}}
