/* Share sheet, Round 4 (share-card.js, share-styles.js): the preview follows the size (post 4:5, story 9:16), the
   styles of the post's set sit below it as thumbnails, then Post / Story. */
.share-preview[data-size="story"]{aspect-ratio:1080/1920;width:min(100%,232px)}
@media (max-height:700px){.share-preview[data-size="story"]{width:min(100%,180px)}}
.share-preview canvas.share-live{position:absolute;inset:0;width:100%;height:100%;display:block}
.share-badge{position:absolute;top:10px;inset-inline-end:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(7,10,31,.62);color:#f1e9d8;font-size:max(11px,var(--t-caption2,11px));font-weight:600;letter-spacing:.02em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.share-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:#e8cf98}
.share-thumbs{display:flex;justify-content:center;gap:10px;margin:2px 0 8px;overflow-x:auto;padding:4px 2px;scrollbar-width:none}
.share-thumbs::-webkit-scrollbar{display:none}
.share-thumb{flex:none;display:flex;flex-direction:column;align-items:center;gap:5px;width:68px;padding:0;border:0;background:none;color:var(--label-2);font:inherit;cursor:pointer}
.share-thumb-art{position:relative;display:block;width:60px;aspect-ratio:1080/1350;border-radius:10px;overflow:hidden;background:#0b1030;box-shadow:0 0 0 1px var(--separator),0 6px 14px -8px rgba(0,0,0,.5);transition:box-shadow .2s,transform .15s}
.share-preview[data-size="story"]~.share-options .share-thumb-art{aspect-ratio:1080/1920;width:48px}
.share-thumb-art canvas{display:block;width:100%;height:100%}
.share-thumb[aria-checked="true"] .share-thumb-art{box-shadow:0 0 0 2px var(--bg-elev,#fff),0 0 0 4px var(--tint),0 6px 14px -8px rgba(0,0,0,.5)}
.share-thumb[aria-checked="true"] small{color:var(--label);font-weight:600}
.share-thumb:active .share-thumb-art{transform:scale(.96)}
.share-thumb small{font-size:max(11px,var(--t-caption2,11px));line-height:1.15;text-align:center}
.share-moving{position:absolute;top:5px;inset-inline-end:5px;width:7px;height:7px;border-radius:50%;background:#e8cf98;box-shadow:0 0 0 2px rgba(7,10,31,.55)}
.share-size{display:flex;margin-bottom:6px}
.share-size button{flex:1;min-height:44px;white-space:nowrap}
.share-size button[aria-pressed="true"]{background:var(--seg-on-fill);color:var(--label);box-shadow:inset 0 0 0 1px var(--seg-on-ring),0 1px 4px rgba(0,0,0,.12)}
.share-note{margin:6px auto 0;max-width:420px;text-align:center}
@media (prefers-reduced-motion:reduce){.share-thumb-art{transition:none}}
