/* Local candidate: the watching surface owns its controls and episode context. */
body.watching.cinematic-experience{background:#08090a;overflow-x:hidden}
body.watching.cinematic-experience .preview-note{height:28px;padding:5px 12px;display:flex;justify-content:center;gap:7px;font-size:10px;letter-spacing:.08em;position:relative;z-index:30}
.preview-note a{color:#ffd2bf;text-decoration:underline;text-underline-offset:3px}
body.watching.cinematic-experience .balanced-watch{padding:0;max-width:1440px;margin:auto}
body.watching.cinematic-experience .balanced-watch .watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:0;align-items:start}
body.watching.cinematic-experience .balanced-watch .watch-main{height:calc(100dvh - 28px);min-height:300px;padding:0;display:block;width:100%;max-width:none;position:relative;background:radial-gradient(ellipse at center,#25202070,#08090a 70%)}
body.watching.cinematic-experience .balanced-shell.video-shell.portrait{height:100%;width:100%;max-height:none;aspect-ratio:auto;margin:0;border-radius:0;background:transparent;isolation:isolate}
.balanced-shell #player,.balanced-shell .player-mount,.balanced-shell #bunnyPlayer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:transparent}
.balanced-shell #player[hidden]{display:none}
.balanced-shell button,.balanced-shell select{font:inherit;color:#f5f3f1}
.balanced-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.balanced-shell button:focus-visible,.balanced-shell select:focus-visible,.balanced-shell input:focus-visible,.balanced-shell a:focus-visible{outline:2px solid #ffb398;outline-offset:4px}
.balanced-shell .player-topbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:12px;z-index:8;padding:18px 24px 35px;background:linear-gradient(#08090ad9,#08090a65,transparent);pointer-events:none;transition:opacity .18s}
.player-topbar>*{pointer-events:auto}
.balanced-shell .player-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;background:transparent;border:0;padding:0;width:44px;height:44px;min-height:44px;min-width:44px;border-radius:50%;font-size:23px;line-height:1;text-decoration:none}
.balanced-shell .player-icon:hover{background:#ffffff12}
.balanced-shell .player-icon svg{width:21px;height:21px}
.player-title{min-width:0;flex:1;text-align:left}
body.watching .balanced-shell .player-title h1{font-size:15px;font-weight:550;line-height:1.3;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;color:#e4dfdc}
.balanced-shell .player-title p{font-size:14px;font-weight:600;margin:4px 0 0;font-variant-numeric:tabular-nums}
.balanced-shell .player-title p span{color:#aaa5a2;font-weight:450}
.balanced-shell .player-episodes{border:1px solid #ffffff1a;border-radius:24px;background:#18181888;display:flex;align-items:center;gap:8px;padding:0 15px;height:44px;font-size:13px;font-weight:550}
.player-controls{position:absolute;inset:0;z-index:4}
.player-controls[hidden]{display:none}
.balanced-shell .player-surface{position:absolute;inset:0;border:0;border-radius:0;width:100%;height:100%;background:transparent;cursor:default}
.player-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:30px;pointer-events:none;transition:opacity .18s}
.player-center>*{pointer-events:auto}
.balanced-shell .player-jump{width:52px;height:52px;display:grid;place-items:center;padding:0;border:1px solid #ffffff18;border-radius:50%;background:#0c0c0c70;backdrop-filter:blur(8px)}
.balanced-shell .player-jump svg{width:28px;height:28px}
.balanced-shell .player-jump:disabled{opacity:.24}
.balanced-shell .player-step{border:1px solid #ffffff18;border-radius:50%;background:#0c0c0c50;backdrop-filter:blur(8px);width:52px;height:52px;display:grid;place-items:center;padding:0}
.balanced-shell .player-step:disabled{opacity:.24;cursor:default}
.balanced-shell .player-toggle{width:80px;height:80px;border-radius:50%;border:1px solid #ffffff28;background:#0c0c0c70;backdrop-filter:blur(10px);display:grid;place-items:center;padding:22px}
.balanced-shell .player-toggle svg{width:32px;height:32px}
.pause-glyph{font-size:32px;font-weight:600;letter-spacing:4px;line-height:1}
.player-bottom{position:absolute;inset:auto 0 0;padding:45px 26px 16px;background:linear-gradient(transparent,#08090ac9 45%,#08090af2);transition:opacity .18s}
.balanced-shell #playerSeek{display:block;appearance:none;-webkit-appearance:none;height:32px;min-height:32px;padding:0;border:0;width:100%;margin:0 0 2px;background:transparent;border-radius:5px;cursor:pointer;touch-action:pan-y}
.balanced-shell #playerSeek::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,#f4a78d var(--progress,0%),#ffffff45 var(--progress,0%))}
.balanced-shell #playerSeek::-moz-range-track{height:4px;border-radius:4px;background:linear-gradient(to right,#f4a78d var(--progress,0%),#ffffff45 var(--progress,0%))}
.balanced-shell #playerSeek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px #fff0}
.balanced-shell #playerSeek::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#fff}
.balanced-shell #playerSeek:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 7px #f4a78d35}
.player-bottom-row{display:flex;align-items:center;gap:8px;min-height:44px}
[data-player-time]{margin-right:auto;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.01em}
.player-bottom-row button,.player-bottom-row select{border:0;background:transparent;padding:0 9px;min-height:44px;font-size:12px;min-width:44px;border-radius:6px}
.player-bottom-row select{appearance:auto;max-width:65px}
.player-bottom-row option{background:#202123}
.balanced-shell .play-overlay{z-index:6;background:transparent;inset:30% 20% 28%;gap:14px;border:0}
.balanced-shell .play-overlay>span{height:76px;width:76px;border:1px solid #ffffff35;background:#10101088;backdrop-filter:blur(10px);box-shadow:none}
.balanced-shell .play-overlay strong{font-size:13px;letter-spacing:0;text-transform:none;background:#1010108a;padding:7px 12px;border-radius:18px}
.balanced-shell:has(.play-overlay:not([hidden])) .player-center{visibility:hidden}
.balanced-shell .player-status{z-index:9}
.balanced-shell .end-screen{z-index:10}
.balanced-shell:has(.end-screen:not([hidden])) .player-topbar{z-index:12;opacity:1;pointer-events:auto}
.balanced-shell.controls-hidden .player-center,.balanced-shell.controls-hidden .player-bottom,.balanced-shell.controls-hidden .player-topbar{opacity:0;pointer-events:none}
.balanced-shell.controls-hidden .player-center>*,.balanced-shell.controls-hidden .player-topbar>*{pointer-events:none}
.balanced-shell.controls-hidden{cursor:none}
.balanced-shell.native-fallback .player-controls{display:none}
.balanced-shell.native-fallback .player-topbar{padding-bottom:25px}
.balanced-shell.provider-player .player-topbar{position:relative;background:#101112}
.balanced-shell:fullscreen,.balanced-shell:-webkit-full-screen{background:#000!important;width:100vw!important;height:100dvh!important}
body.watching.cinematic-experience .balanced-watch .watch-sidebar{display:block;height:calc(100dvh - 28px);padding:26px 18px 18px;border-left:1px solid #ffffff10;max-width:none;margin:0;overflow:hidden;background:#111214}
.balanced-watch .story-context h2{font-size:20px!important;line-height:1.25;margin:8px 0}
.balanced-watch .story-context p:not(.eyebrow){font-size:12px;color:#a8a5a1;margin:0}
.balanced-watch .desktop-chapters{display:block;margin-top:26px}
.episode-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.episode-sidebar-heading h3{font-size:14px;margin:0}
.episode-sidebar-heading h3 span{color:#8f8e90;font-size:12px;font-weight:450;margin-left:5px}
.episode-view-control{display:flex;gap:2px;background:#ffffff07;border-radius:8px;padding:3px}
.episode-view-control button{padding:6px 10px;background:transparent;border:0;border-radius:5px;color:#a6a4a2;font-size:11px;min-height:32px}
.episode-view-control button[aria-pressed=true]{background:#ffffff14;color:#fff}
.episode-items{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent}
.balanced-watch #desktopEpisodes{max-height:calc(100dvh - 240px);height:auto}
.episode-items[data-view=list]{display:flex;flex-direction:column;gap:7px}
body.cinematic-experience .episode-items .episode-rich-row{width:100%;height:auto;min-height:94px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:13px;padding:9px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;color:#ddd9d6}
body.cinematic-experience .episode-items .episode-rich-row:hover{background:#ffffff06}
body.cinematic-experience .episode-items .episode-rich-row.is-current{background:#f4a78d0d;border-color:#f4a78d60}
.episode-thumb{position:relative;display:block;flex:none;width:43px;height:76px;border-radius:6px;overflow:hidden;background:#242528}
.episode-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.episode-thumb>span{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#000b);color:#fff;padding:9px 4px 3px;font-size:10px;text-align:center}
.episode-copy{min-width:0;flex:1;display:block}
.episode-copy>strong{display:block;font-size:14px;font-weight:550;line-height:1.35}
.episode-meta{display:block;color:#969397;font-size:11px;line-height:1.6;margin-top:5px}
.is-current .episode-state{color:#f4b095}
.episode-progress{display:block;width:100%;height:2px;border-radius:2px;background:#ffffff14;margin-top:10px;overflow:hidden}
.episode-progress i{display:block;height:100%;background:#d6a18d}
.episode-items[data-view=grid]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-content:start}
body.cinematic-experience .episode-items[data-view=grid] .episode-rich-row{min-height:68px;height:76px;padding:8px 4px;text-align:center;border-color:#ffffff14}
.episode-items[data-view=grid] .episode-thumb,.episode-items[data-view=grid] .episode-label-word{display:none}
.episode-items[data-view=grid] .episode-copy>strong{font-size:18px}
.episode-items[data-view=grid] .episode-meta{font-size:9px;line-height:1.25;margin-top:5px}
.episode-items[data-view=grid] .episode-meta>.episode-state{display:block}
.episode-items[data-view=grid] .episode-progress{margin-top:6px}
body.cinematic-experience .sheet[data-kind=episodes]{width:min(620px,calc(100% - 36px));padding:24px;max-height:88dvh;border-radius:20px;background:#141618}
.sheet[data-kind=episodes] .sheet-header{margin-bottom:8px}
.sheet[data-kind=episodes] .sheet-header h2{font-size:22px}
.episode-sheet-settings{display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff10;padding:12px 0 18px;margin-bottom:12px}
.episode-sheet-settings .autoplay-setting{display:flex;align-items:center;gap:10px;font-size:12px;margin:0;padding:0;border:0}
.episode-sheet-settings .switch-control{flex:none}
.episode-jump{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #ffffff10;padding:0 0 12px;margin-bottom:12px}
.episode-jump label{font-size:12px;color:#b6b1ae}
.episode-jump>div{display:flex;align-items:center;gap:6px}
.episode-jump input{width:92px;min-height:40px;border:1px solid #ffffff20;background:#ffffff06;color:#f3efec;border-radius:7px;padding:8px 10px;font:inherit;font-size:12px}
.episode-jump button{min-height:40px;min-width:44px;border:1px solid #ffffff20;background:#ffffff0a;color:#eee;border-radius:7px;padding:8px 12px;font-size:12px}
.episode-jump input[aria-invalid=true]{border-color:#f4a78d}
.episode-jump p{flex-basis:100%;font-size:11px;color:#f2b198;margin:0}
.balanced-watch .desktop-chapters:has(.episode-jump) #desktopEpisodes{max-height:calc(100dvh - 310px)}
body.cinematic-experience .sheet[data-kind=episodes]:has(.episode-jump) .episode-sheet-list{max-height:calc(82dvh - 244px)}
.balanced-shell .countdown-ring .ring-progress{stroke-dasharray:5;stroke-dashoffset:0}
.balanced-shell .countdown-ring.is-counting .ring-progress{animation:balanced-countdown 5s linear both}
@keyframes balanced-countdown{to{stroke-dashoffset:5}}
body.cinematic-experience .sheet[data-kind=episodes] .episode-sheet-list{max-height:calc(82dvh - 180px);padding:0 5px 6px 0}
.share-moment{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:14px}
.share-moment input{accent-color:#edab94;width:18px;height:18px}
.share-buttons{display:flex;gap:10px;margin-top:16px}
.player-options{display:grid;gap:12px}
.player-options .tool-button{justify-content:flex-start}
.shortcut-help{margin-top:24px;border-top:1px solid #ffffff15;padding-top:20px;color:#bbb5b1;font-size:13px;line-height:1.8}
.shortcut-help summary{cursor:pointer;color:#eee}
.sample-note{font-size:10px;color:#8e8e91;line-height:1.6;margin-top:16px}
@media(max-width:1000px){
 body.watching.cinematic-experience .balanced-watch .watch-layout{display:block}
 body.watching.cinematic-experience .balanced-watch .watch-sidebar{display:none}
 .balanced-shell .player-topbar{padding:14px 14px 40px;gap:8px}
 .player-bottom{padding:40px 20px max(12px,env(safe-area-inset-bottom))}
 .player-center{gap:26px}
}
@media(max-width:600px){
 body.watching.cinematic-experience .balanced-watch .watch-main{min-height:0}
 .balanced-shell .player-title h1{font-size:12px!important}
 .balanced-shell .player-title p{font-size:13px;margin-top:3px}
 .balanced-shell .player-episodes{padding:0 10px;height:44px;gap:5px;font-size:11px}
 .balanced-shell .player-icon{width:44px;min-width:44px;height:44px;min-height:44px}
 .balanced-shell .player-topbar{padding:10px 8px 35px;gap:4px}
 .player-center{gap:24px}
 .balanced-shell .player-toggle{width:74px;height:74px}
 .balanced-shell .player-jump{height:48px;width:48px}
 .player-bottom-row{gap:1px}
 .player-bottom-row button,.player-bottom-row select{font-size:11px;padding-inline:5px;min-width:44px}
 [data-player-time]{font-size:11px}
 .player-bottom{padding-inline:14px}
 body.cinematic-experience .sheet[data-kind=episodes]{width:100%;max-width:none;margin:auto 0 0;max-height:86dvh;padding:22px 18px max(18px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;border-bottom:0}
 body.cinematic-experience .sheet[data-kind=episodes]:before{content:'';position:absolute;top:8px;left:calc(50% - 18px);width:36px;height:4px;border-radius:4px;background:#ffffff30}
 .episode-sheet-settings{gap:8px}
 .episode-sheet-settings .autoplay-setting{font-size:11px;gap:7px;max-width:200px}
 .episode-view-control button{padding-inline:8px;min-height:36px}
 body.cinematic-experience .sheet[data-kind=episodes] .episode-sheet-list{max-height:calc(82dvh - 174px)}
}
@media(max-height:500px) and (orientation:landscape){
 .player-center{top:48%}
 .balanced-shell .player-topbar{padding-block:4px 15px}
 .player-bottom{padding-top:20px;padding-bottom:4px}
 .balanced-shell .player-toggle{width:58px;height:58px;padding:14px}
 .balanced-shell .play-overlay{inset:20% 30% 25%}
 body.cinematic-experience .sheet[data-kind=episodes]{max-height:96dvh;padding:14px 18px}
 .sheet[data-kind=episodes] .sheet-header{margin-bottom:4px}
 .sheet[data-kind=episodes] .sheet-header h2{font-size:18px}
 .sheet[data-kind=episodes] .sheet-story{display:none}
 .sheet[data-kind=episodes] .episode-sheet-settings{padding:4px 0 8px;margin-bottom:8px}
 .sheet[data-kind=episodes] .episode-jump{padding-bottom:8px;margin-bottom:8px}
 body.cinematic-experience .sheet[data-kind=episodes] .episode-sheet-list,body.cinematic-experience .sheet[data-kind=episodes]:has(.episode-jump) .episode-sheet-list{max-height:calc(96dvh - 168px)}
}
@media(prefers-reduced-motion:reduce){.balanced-shell *{animation:none!important;transition:none!important}}

.balanced-shell .play-overlay,.balanced-shell .play-overlay>span{color:#fff}
/* Long collections keep one scrolling region while the controls stay fixed. */
body.cinematic-experience .sheet[data-kind=episodes][open]{display:flex;flex-direction:column;height:86dvh;overflow:hidden}
.sheet[data-kind=episodes]>.sheet-header,.sheet[data-kind=episodes]>.sheet-story,.sheet[data-kind=episodes]>.episode-tools{flex-shrink:0}
body.cinematic-experience .sheet[data-kind=episodes] .episode-sheet-list{flex:1;min-height:0;max-height:none!important}
.sheet[data-kind=episodes] .sheet-story{font-size:12px;line-height:1.4;margin:0 0 4px}
.episode-tools{border-bottom:1px solid #ffffff12;margin-bottom:10px}
.episode-tools>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none;color:#c3bdb9;font-size:12px}
.episode-tools>summary::-webkit-details-marker{display:none}
.episode-tools>summary:after{content:'+';font-size:20px;font-weight:400;color:#b8b1ad}
.episode-tools[open]>summary:after{content:'−'}
.episode-tools>summary:focus-visible{outline:2px solid #ffb398;outline-offset:2px;border-radius:4px}
.episode-tools .episode-sheet-settings{padding:4px 0 12px;margin-bottom:12px}
.episode-tools .episode-jump{border-bottom:0;margin:0;padding-bottom:12px}
body.cinematic-experience .episode-items[data-view=list] .episode-compact{min-height:60px;padding:12px 14px}
.episode-compact .episode-meta:empty{display:none}
.episode-compact .episode-progress{margin-top:7px}
@media(max-height:500px) and (orientation:landscape){body.cinematic-experience .sheet[data-kind=episodes][open]{height:96dvh}}
