.finish .story-cta{margin:0 auto 1.25rem;max-width:42rem}
.finish .story-button{width:100%;min-height:3.5rem;font-size:clamp(1rem,1.1vw,1.4rem);background:#193957;border-color:#8babeb;color:#eaf2ff;gap:.8rem}
.story-button svg{width:1.15em;height:1.15em;fill:currentColor;flex:none}
body.story-is-open{overflow:hidden}
#story-dialog{padding:0;width:min(96vw,1600px);max-width:none;height:min(92dvh,1100px);max-height:calc(100dvh - 1rem);background:#06131e;border:1px solid #8babeb80;color:#eaf2ff;overflow:hidden}
#story-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0}
#story-dialog::backdrop{background:#02080ff0;backdrop-filter:blur(8px)}
.story-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:1rem 1.25rem;border-bottom:1px solid #8babeb33;min-width:0}
.story-header h2{font-family:inherit;font-weight:600;font-size:clamp(1rem,1.8vw,1.6rem);line-height:1.3;margin:0;letter-spacing:.03em;overflow-wrap:anywhere}
.story-controls{display:flex;align-items:center;gap:.75rem;flex:none}
#story-close{width:2.75rem;height:2.75rem;font-size:1.75rem}
#story-fullscreen{min-height:2.75rem;font-size:1rem;padding:.5rem .8rem;white-space:nowrap}
.story-stage{display:flex;min-width:0;min-height:0;align-items:center;justify-content:center;background:#020811}
#story-film{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain!important;object-position:center;aspect-ratio:auto;transform:none!important;background:#020811}
#story-film::cue{color:white;background:#04111ee8;font-size:clamp(1.125rem,2.15vw,2.75rem)}
.story-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;padding:.65rem 1.25rem;border-top:1px solid #8babeb33;font-size:1rem;line-height:1.4}
#story-status{margin:0;font-size:1rem;line-height:1.4;color:#c9d7e7;flex:1;min-width:10rem}
#story-direct{font-size:1rem;color:#a7c5ff;min-height:2.75rem;display:inline-flex;align-items:center;text-underline-offset:.2em}
#story-dialog:fullscreen{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}
#story-film:fullscreen{width:100vw;height:100dvh;object-fit:contain!important;background:#020811}
@media(max-width:600px){#story-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.story-header{padding:max(.75rem,env(safe-area-inset-top)) .75rem .75rem;gap:.5rem}.story-header h2{font-size:1rem}.story-controls{gap:.4rem}#story-fullscreen{font-size:.875rem;padding:.5rem}.story-footer{padding:.5rem .75rem max(.5rem,env(safe-area-inset-bottom))}}
@media(orientation:landscape) and (max-height:540px){#story-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.story-header{padding:.25rem max(.75rem,env(safe-area-inset-right)) .25rem max(.75rem,env(safe-area-inset-left))}.story-footer{padding:.1rem .75rem}.story-header h2{font-size:1rem}#story-status{font-size:1rem}#story-direct{min-height:2rem}.story-footer:has(#story-status:empty) #story-direct{display:none}}

#story-caption{flex:0 0 100%;margin:0;min-height:2.7em;text-align:center;font-size:clamp(18px,2.2vw,38px);line-height:1.35;color:#f4f8ff;font-weight:500}
#story-caption:empty{min-height:0}
@media(orientation:landscape) and (max-height:540px){#story-caption{font-size:18px;line-height:1.25;min-height:2.5em}#story-direct{font-size:14px}}
