.story-player{--story-bar:3rem;gap:0;display:grid;position:relative}.story-frame{aspect-ratio:16/9;border:1px solid var(--line);cursor:pointer;isolation:isolate;background:#06070d;border-bottom:0;border-radius:1.25rem 1.25rem 0 0;width:100%;position:relative;overflow:hidden;box-shadow:0 30px 80px -40px #4c3cdc73,inset 0 1px #ffffff0a}.story-player[data-format="1x1"] .story-frame{aspect-ratio:1}@media (width<=639px){.story-player[data-state=loading] .story-frame{aspect-ratio:1}}.story-frame:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.story-stage-scale{transform-origin:0 0;will-change:transform;pointer-events:none;position:absolute;top:0;left:0}.story-poster{cursor:default;color:#f4f5fa;background:radial-gradient(60% 70% at 28% 30%,#5b8def38,#0000 70%),radial-gradient(50% 60% at 80% 85%,#22d3ee14,#0000 70%),#06070d;flex-direction:column;justify-content:center;gap:.75rem;padding:6% 7%;display:flex}.story-poster-kicker{letter-spacing:.18em;text-transform:uppercase;color:#22d3ee;font-family:Geist Mono,ui-monospace,monospace;font-size:clamp(.625rem,1.4vw,.8125rem)}.story-poster-title{letter-spacing:-.025em;text-wrap:balance;max-width:22ch;font-family:Geist,system-ui,sans-serif;font-size:clamp(1.25rem,4vw,2.75rem);font-weight:650;line-height:1.1}.story-poster-note{color:#e2e5f4b3;font-size:.8125rem}.story-overlay-button{z-index:2;color:#f4f5fa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0e18d1;border:1px solid #5b8defb3;border-radius:9999px;align-items:center;gap:.5rem;min-height:2.75rem;padding:.5rem 1.25rem;font-size:.9375rem;font-weight:600;transition:transform .16s,box-shadow .16s;display:inline-flex;position:absolute;top:.75rem;right:.75rem;box-shadow:0 0 0 6px #5b8def1f,0 12px 40px -12px #5b8def99}.story-overlay-button:hover{transform:scale(1.04)}.story-overlay-button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.story-bar{height:var(--story-bar);border:1px solid var(--line);background:color-mix(in srgb, var(--bg-raised,#0c0e18) 85%, transparent);border-top-color:#ffffff0f;border-radius:0 0 1.25rem 1.25rem;align-items:center;gap:.25rem;padding:0 .5rem;display:flex}.story-icon-button{width:2.25rem;height:2.25rem;color:var(--fg-muted);background:0 0;border-radius:9999px;flex:none;place-items:center;transition:background-color .14s,color .14s;display:grid}.story-icon-button:hover:not(:disabled){background:var(--bg-hover);color:var(--fg)}.story-icon-button:focus-visible,.story-download:focus-visible,.story-export-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.story-icon-button:disabled{opacity:.5}@media (pointer:coarse){.story-icon-button{width:2.75rem;height:2.75rem}}.story-scrub{appearance:none;cursor:pointer;background:0 0;flex:1;min-width:3rem;height:1.75rem;margin:0 .375rem}.story-scrub::-webkit-slider-runnable-track{background:linear-gradient(90deg, #5b8def, #22d3ee) 0 0 / var(--progress,0%) 100% no-repeat, rgb(var(--ink-rgb,226 229 244) / .14);border-radius:9999px;height:4px}.story-scrub::-moz-range-track{background:rgb(var(--ink-rgb,226 229 244) / .14);border-radius:9999px;height:4px}.story-scrub::-moz-range-progress{background:linear-gradient(90deg,#5b8def,#22d3ee);border-radius:9999px;height:4px}.story-scrub::-webkit-slider-thumb{-webkit-appearance:none;background:#f4f5fa;border-radius:50%;width:14px;height:14px;margin-top:-5px;box-shadow:0 0 0 4px #5b8def59}.story-scrub::-moz-range-thumb{background:#f4f5fa;border:0;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 4px #5b8def59}.story-scrub:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:6px}.story-time{color:var(--fg-subtle);font-variant-numeric:tabular-nums;flex:none;padding:0 .375rem;font-family:Geist Mono,ui-monospace,monospace;font-size:.75rem}.story-download{border:1px solid var(--line);min-height:2.25rem;color:var(--fg-muted);background:0 0;border-radius:9999px;flex:none;align-items:center;gap:.375rem;padding:0 .75rem;font-size:.8125rem;font-weight:500;transition:background-color .14s,color .14s,border-color .14s;display:inline-flex}.story-download:hover,.story-download[aria-expanded=true]{color:var(--fg);border-color:var(--accent-line,var(--line));background:var(--bg-hover)}@media (width<=420px){.story-time,.story-download span{display:none}}.story-export{border:1px solid var(--line);background:color-mix(in srgb, var(--bg-raised,#0c0e18) 92%, transparent);border-radius:1rem;gap:.625rem;margin-top:.75rem;padding:1rem;display:grid}.story-export-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.story-export-title{color:var(--fg);font-size:.9375rem;font-weight:600}.story-export-note{color:var(--fg-muted);font-size:.8125rem;line-height:1.5}.story-export-actions{flex-wrap:wrap;gap:.5rem;display:flex}.story-export-button{border:1px solid var(--line);min-height:2.25rem;color:var(--fg);background:0 0;border-radius:9999px;align-items:center;gap:.375rem;padding:0 .875rem;font-size:.8125rem;transition:background-color .14s,border-color .14s;display:inline-flex}.story-export-button:hover:not(:disabled){background:var(--bg-hover);border-color:var(--accent-line,var(--line))}.story-export-button:disabled{opacity:.5;cursor:not-allowed}@media (pointer:coarse){.story-export-button{min-height:2.75rem}}.story-export-progress{align-items:center;gap:.75rem;display:flex}.story-progress-track{background:rgb(var(--ink-rgb,226 229 244) / .12);border-radius:9999px;flex:1;height:6px;position:relative;overflow:hidden}.story-progress-fill{transform-origin:0;background:linear-gradient(90deg,#5b8def,#22d3ee);transition:transform .12s linear;position:absolute;inset:0}.story-export-percent{color:var(--fg-muted);font-variant-numeric:tabular-nums;flex:none;font-family:Geist Mono,ui-monospace,monospace;font-size:.75rem}.story-export-status{color:var(--fg-muted);min-height:1.2em;font-size:.8125rem}.story-export-status:empty{display:none}.story-export-status[data-tone=error]{color:var(--danger,#f472b6)}.story-missing{color:var(--fg-muted);padding:1rem}@media (prefers-reduced-motion:reduce){.story-overlay-button,.story-progress-fill{transition:none}}
