:root{--tv-logo-bg:#fff;--tv-accent:#e0182d;--tv-overlay:rgb(0 0 0 / .75);--tv-logo-text:#242424}
.tv-stage{position:relative;background:#000}.tv-stage:fullscreen{display:flex;align-items:center}.tv-stage:fullscreen video{height:100%;aspect-ratio:auto}
.tv-playback-toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:rgb(0 0 0 / .55);color:#fff;border:1px solid rgb(255 255 255 / .35);border-radius:50%;cursor:pointer;z-index:2;transition:opacity .2s}
.tv-playback-toggle svg{width:30px;height:30px;fill:currentColor}
.tv-stage.is-loading .tv-playback-toggle{opacity:0;pointer-events:none}
.tv-fullscreen{position:absolute;right:12px;bottom:12px;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:rgb(0 0 0 / .55);color:#fff;border:1px solid rgb(255 255 255 / .35);border-radius:8px;cursor:pointer;z-index:2}
.tv-fullscreen svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tv-fullscreen:focus-visible{outline:2px solid var(--tv-accent);outline-offset:3px}
.tv-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:14px;background:rgb(0 0 0 / .45);z-index:1}.tv-loading[hidden]{display:none}
.tv-spinner{width:46px;height:46px;border-radius:50%;border:4px solid rgb(255 255 255 / .25);border-top-color:var(--tv-accent);animation:tvspin .8s linear infinite}
@keyframes tvspin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tv-spinner{animation-duration:2.4s}}.tv-playback-toggle:focus-visible{outline:2px solid var(--tv-accent);outline-offset:3px}
.tv-fallback{color:var(--tv-logo-text);font-weight:800;font-size:18px;text-align:center;padding:12px;line-height:1.2;overflow-wrap:anywhere}
.tv-passes{margin:24px 0;border-top:1px solid var(--line);padding:20px 0}
.tv-passes h2{font-size:21px;margin-bottom:6px}.tv-passes p{color:var(--mut);font-size:13px;line-height:1.5}
.tv-pass-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.tv-pass{background:var(--card);color:var(--fg);border:1px solid var(--line);border-radius:8px;text-align:left;padding:18px;cursor:pointer}
.tv-pass strong{display:block;font-size:23px;margin:8px 0}.tv-pass span{font-size:14px}.tv-pass:hover{border-color:var(--tv-accent)}
.tv-dialog{color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:8px;width:min(480px,calc(100% - 28px));padding:24px;max-height:90dvh;overflow:auto;margin:auto}
.tv-dialog::backdrop{background:var(--tv-overlay)}.tv-dialog h2{font-size:23px;padding-right:34px}.tv-dialog p{font-size:14px;color:var(--mut);line-height:1.6;margin:12px 0}.tv-dialog .tv-close{float:right;width:32px;height:32px;background:var(--card);color:var(--fg);border:0;border-radius:50%;cursor:pointer;font-size:20px}
.tv-dialog label{display:block;font-size:14px;margin-top:14px}.tv-dialog select{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid var(--line);background:var(--card);color:var(--fg);border-radius:6px}.tv-dialog .btn{margin-top:16px}.tv-dialog .btn:disabled{opacity:.5;cursor:not-allowed}.tv-dialog .tv-price{font-weight:800;font-size:26px;color:var(--fg)}
.tv-preview{font-size:13px;color:var(--mut);margin:12px 0}.tv-timer{display:inline-block;font-size:12px;color:var(--mut);margin:0 12px 8px;font-variant-numeric:tabular-nums}.ch .th:has(img){background:var(--tv-logo-bg)!important}.ch .th .fb{color:var(--tv-logo-text);letter-spacing:0}.ch .th:not(:has(img)){background:var(--tv-logo-bg)!important}
@media(max-width:520px){.tv-pass-grid{gap:7px}.tv-pass{padding:12px 8px}.tv-pass strong{font-size:16px}.tv-pass span{font-size:12px}.tv-dialog{padding:20px}.tv-passes h2{font-size:20px}}

/* TV-only: the open player must not share hit targets with site navigation. */
:root{--tv-stage-bg:#000;--tv-player-layer:110}
body:has(#player.open)>.sk-nav,body:has(#player.open)>.sf-shell-nav{display:none!important}
#player{z-index:var(--tv-player-layer)}
#player .box{width:min(960px,100%,calc((100dvh - 150px)*16/9));max-height:calc(100dvh - 32px);overflow:auto}
#player video{object-fit:contain}
#tvStage:fullscreen,#tvStage:-webkit-full-screen,#tvStage.tv-expanded{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--tv-stage-bg)}
#tvStage.tv-expanded{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;z-index:var(--tv-player-layer)}
#tvStage:fullscreen video,#tvStage:-webkit-full-screen video,#tvStage.tv-expanded video{width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain}
#tvStage .tv-fullscreen{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
