/* == patchtv-v4.css == */
/* PatchTV 3.4 "Studio" design layer.
   Loaded last so it refines the existing app.css / enterprise.css / page CSS
   without changing any markup contracts used by the JavaScript. */

:root{
  --bg:#05060a;
  --panel:#0e121a;
  --surface:#10151f;
  --surface-2:#151b27;
  --surface-3:#1b2331;
  --line:#222a39;
  --line-soft:rgba(255,255,255,.07);
  --text:#f4f6fa;
  --muted:#a0abbd;
  --lime:#c4ff4d;
  --lime-ink:#0a1400;
  --cyan:#62e6ff;
  --red:#ff4d6d;
  --focus:#c4ff4d;
  --radius:16px;
  --radius-sm:11px;
  --header-h:64px;
  --tabbar-h:66px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --dur:.2s;
  --shadow-1:0 1px 0 rgba(255,255,255,.04) inset,0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-2:0 1px 0 rgba(255,255,255,.05) inset,0 24px 60px -20px rgba(0,0,0,.75);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI",Inter,Roboto,"Helvetica Neue",system-ui,sans-serif;
}

/* ---------- Base & fluidity ---------- */
html{scroll-behavior:smooth;scrollbar-gutter:stable;-webkit-tap-highlight-color:transparent;text-size-adjust:100%}
body{font-family:var(--font);font-size:15px;line-height:1.55;letter-spacing:-.005em;
  background:radial-gradient(1200px 520px at 85% -12%,rgba(98,230,255,.09),transparent 70%),
             radial-gradient(900px 420px at 5% -10%,rgba(196,255,77,.06),transparent 70%),var(--bg);
  background-attachment:fixed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:rgba(196,255,77,.28);color:#fff}

::view-transition-old(root){animation:ptv-fade-out .16s var(--ease) both}
::view-transition-new(root){animation:ptv-fade-in .24s var(--ease-out) both}
.site-header{view-transition-name:ptv-header}
.mobile-tabbar{view-transition-name:ptv-tabbar}
::view-transition-group(ptv-header),::view-transition-group(ptv-tabbar){animation:none}
@keyframes ptv-fade-out{to{opacity:0}}
@keyframes ptv-fade-in{from{opacity:0;transform:translateY(6px)}}
@keyframes ptv-rise{from{opacity:0;transform:translateY(10px)}}
@keyframes ptv-pop{from{opacity:0;transform:translateY(14px) scale(.98)}}
@keyframes ptv-shimmer{0%{background-position:-480px 0}100%{background-position:480px 0}}
@keyframes ptv-progress{0%{transform:scaleX(0)}40%{transform:scaleX(.55)}100%{transform:scaleX(.92)}}

/* opacity only: a transform on <main> would trap position:fixed dialogs */
main#main-content{animation:ptv-fade-only .28s var(--ease-out);outline:none}
@keyframes ptv-fade-only{from{opacity:0}}

/* Navigation progress bar (fluid.js toggles html.is-navigating) */
html::before{content:"";position:fixed;z-index:1000;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--lime),var(--cyan));
  transform-origin:0 50%;transform:scaleX(0);opacity:0;transition:opacity .2s;pointer-events:none}
html.is-navigating::before{opacity:1;animation:ptv-progress 2.4s var(--ease-out) forwards}

/* ---------- Focus & interaction ---------- */
:focus{outline:none}
:focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px;border-radius:10px}
.skip-link{position:fixed;left:12px;top:-60px;z-index:200;background:var(--lime);color:var(--lime-ink);font-weight:850;padding:10px 14px;border-radius:10px;transition:top .2s var(--ease)}
.skip-link:focus{top:12px}
a,button,summary,select,input,label,[role=button]{transition:background-color var(--dur) var(--ease),border-color var(--dur) var(--ease),color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform .14s var(--ease),opacity var(--dur) var(--ease)}
button:not(:disabled):active,a[class]:active,summary:active{transform:scale(.975)}
button:disabled{cursor:not-allowed;opacity:.55}
input,select,textarea{caret-color:var(--lime)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:1px;border-color:var(--lime)!important;box-shadow:0 0 0 4px rgba(196,255,77,.12)}

/* ---------- Header ---------- */
.site-header{height:var(--header-h);gap:22px;background:rgba(5,6,10,.66);border-bottom:1px solid var(--line-soft);
  backdrop-filter:saturate(170%) blur(22px);-webkit-backdrop-filter:saturate(170%) blur(22px);z-index:60;transition:box-shadow .25s var(--ease),background-color .25s var(--ease)}
html.is-scrolled .site-header{background:rgba(5,6,10,.86);box-shadow:0 12px 30px -18px rgba(0,0,0,.9)}
.brand{font-size:21px;letter-spacing:-.04em;display:inline-flex;align-items:center;gap:9px}
.brand .brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(140deg,var(--lime),#7fe0a0 60%,var(--cyan));color:var(--lime-ink);box-shadow:0 6px 18px -6px rgba(196,255,77,.6)}
.brand .brand-mark svg{width:16px;height:16px}
.brand .brand-word{display:inline-flex}
.desktop-nav{gap:4px;align-items:center}
.desktop-nav a{padding:8px 14px!important;border-radius:999px;color:var(--muted);font-weight:650;font-size:14.5px}
.desktop-nav a:hover{color:var(--text);background:rgba(255,255,255,.05)}
.desktop-nav a.active{color:var(--text);background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px var(--line-soft)}
.desktop-nav a.active:after{display:none!important}
.header-actions .add-channel-link{align-items:center;gap:7px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--lime);color:var(--lime-ink);font-weight:850;font-size:14px;box-shadow:0 8px 22px -10px rgba(196,255,77,.7)}
.header-actions .add-channel-link:hover{filter:brightness(1.06);box-shadow:0 10px 26px -10px rgba(196,255,77,.9)}
.install-app-button{border-radius:999px!important}

/* ---------- Mobile tab bar ---------- */
@media(max-width:680px){
  :root{--header-h:58px}
  .mobile-tabbar{height:auto;min-height:var(--tabbar-h);background:rgba(8,10,15,.84)!important;border-top:1px solid var(--line-soft)!important;
    backdrop-filter:saturate(170%) blur(22px);-webkit-backdrop-filter:saturate(170%) blur(22px);padding-top:6px!important}
  .mobile-tabbar a{position:relative;gap:3px!important;font-size:11px!important;font-weight:700!important;color:var(--muted);padding:4px 0}
  .mobile-tabbar a span{display:grid;place-items:center;width:56px;height:30px;border-radius:999px;font-size:18px;transition:background-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
  .mobile-tabbar a span svg{width:22px;height:22px}
  .mobile-tabbar a.active{color:var(--text)!important}
  .mobile-tabbar a.active span{background:rgba(196,255,77,.16);color:var(--lime)}
  .mobile-tabbar a:active span{transform:scale(.9)}
  body:not(.tv-embed-mode){padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom))}
}

/* ---------- Typography: app pages use calmer, readable headings ---------- */
.eyebrow{font-size:11.5px;letter-spacing:.16em;font-weight:800;color:var(--lime)}
.guide-hero h1{font-size:clamp(30px,3.6vw,46px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
.guide-hero h1 br{display:none}
.guide-hero h1 span{color:var(--muted)}
.guide-hero h1 span::before{content:" "}
.watch-copy h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.08!important;letter-spacing:-.03em!important;margin:2px 0 8px!important}
.hero h1,.admin-head h1,.product-hero h1,.local-player-copy h1,.guided-hero h1,.ask-hero h1,.research-hero h1,.research-thanks h1,.starter-hero h1,.legal-page h1{
  font-size:clamp(32px,4.4vw,56px)!important;line-height:1.02!important;letter-spacing:-.04em!important}
.home-hero-clean .home-hero-copy h1{font-size:clamp(42px,6vw,82px)!important;line-height:.95!important;letter-spacing:-.05em!important}
.section-heading h2{font-size:clamp(20px,2.2vw,26px);letter-spacing:-.02em}
h2,h3{letter-spacing:-.015em}

/* ---------- Surfaces & cards ---------- */
.stream-card,.guide-panel,.patch-controls,.player-status-stack,.imported-guide,.guide-search-results,.home-product-card,.first-visit-card,.home-workspace,.guide-options{
  border-color:var(--line-soft)!important;box-shadow:var(--shadow-1)}
.stream-grid{gap:18px}
@media(max-width:1100px){.stream-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.stream-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.stream-card{border-radius:16px;background:var(--surface);transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.stream-card:hover,.stream-card:focus-within{transform:translateY(-3px);border-color:rgba(196,255,77,.35)!important;box-shadow:var(--shadow-2)}
.poster{aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#121826,#0d1119)}
.poster img{transition:transform .45s var(--ease-out)}
.stream-card:hover .poster img{transform:scale(1.045)}
.card-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.live-dot{background:var(--red);box-shadow:0 4px 14px -4px rgba(255,77,109,.8)}

/* ---------- Home ---------- */
.first-visit-onboarding{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.first-visit-card{animation:ptv-pop .42s var(--ease-out) both;border-radius:24px!important}
.first-visit-actions>*{border-radius:16px!important}
.first-visit-actions>*:hover{transform:translateY(-2px)}
.home-main-actions a{border-radius:16px!important}
.home-main-actions a:hover{transform:translateY(-2px)}
.home-product-card{border-radius:22px!important;background:linear-gradient(160deg,rgba(21,27,39,.92),rgba(12,16,24,.92))!important}
.home-proof-points article,.home-steps article{border-radius:16px!important;transition:transform .25s var(--ease),border-color .25s var(--ease)}
.home-proof-points article:hover,.home-steps article:hover{transform:translateY(-2px)}

/* ---------- Guide ---------- */
.guide-shell{padding-top:6px}
.guide-hero,.guide-hero-row{padding:26px 0 14px!important;min-height:0!important;align-items:end!important;gap:20px!important}
.guide-hero p:not(.eyebrow){color:var(--muted);max-width:620px;margin:8px 0 0}
.guide-import-button{min-height:52px!important;padding:10px 18px!important;border-radius:14px!important;align-self:end;box-shadow:0 12px 30px -14px rgba(196,255,77,.65)}
.guide-import-button:hover{transform:translateY(-1px);filter:brightness(1.05)}
.guide-flow{padding:9px 14px!important;min-height:0!important;border-radius:999px!important;border-color:var(--line-soft)!important;background:rgba(255,255,255,.025)!important;font-size:13.5px;justify-content:flex-start!important;gap:10px!important;margin-bottom:14px!important;flex-wrap:wrap}
.guide-flow b{width:22px;height:22px;font-size:12px}
@media(max-width:680px){.guide-flow{display:none!important}}
.guide-hero-row{display:flex!important;justify-content:space-between!important;flex-wrap:wrap}
.guide-hero-row>div{flex:1 1 520px;max-width:1080px}
.guide-hero-row>.guide-import-button{flex:0 0 auto}
@media(min-width:981px){.guide-hero-row>.guide-import-button{display:none!important}}
@media(max-width:680px){
  .guide-hero,.guide-hero-row{padding:16px 0 6px!important;gap:12px!important}
  .guide-hero p:not(.eyebrow){display:none}
  .guide-import-button{min-height:46px!important;width:100%}
  .guide-import-button small{display:none}
  .timeline-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .timeline-controls>*,.timeline-controls label{min-width:0}
  .timeline-controls select,.timeline-controls input{width:100%;min-width:0}
  .guide-import-button{justify-content:center}
  .guide-import-button b{line-height:1.2}
  .timeline-controls .timeline-search,.timeline-controls>button,.timeline-controls .guide-options{grid-column:1/-1!important}
  .timeline-controls label:has(#timeline-view){grid-column:1/-1}
  .timeline-controls select{font-size:13px}
}
#guide-empty-state:not([hidden])~.guide-scan-callout{display:none!important}

.timeline-controls{gap:10px!important}
.timeline-controls label{font-size:10.5px!important;letter-spacing:.1em!important}
.timeline-controls select,.timeline-controls input{background:var(--surface)!important;border-color:var(--line)!important;border-radius:12px!important;min-height:46px!important}
.timeline-controls input[type=search]{padding-left:40px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0abbd' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:13px 50%!important;background-size:18px!important}
.timeline-controls button{border-radius:12px!important;min-height:46px!important}
.timeline-controls button:not(.secondary):hover{filter:brightness(1.06)}
.guide-options{border-radius:14px!important;background:var(--surface)!important}
.guide-options summary{list-style:none}
.guide-options summary::-webkit-details-marker{display:none}
.guide-options summary::before{content:"";display:inline-block;width:7px;height:7px;margin-right:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translateY(-1px);transition:transform .2s var(--ease)}
.guide-options[open] summary::before{transform:rotate(45deg) translateY(-2px)}
.guide-options[open] .guide-options-grid{animation:ptv-rise .22s var(--ease-out)}
.guide-scan-callout{border-radius:16px!important}

/* Timeline grid: bigger, calmer, readable */
.timeline-viewport{position:relative;border-radius:18px!important;border-color:var(--line-soft)!important;background:#080b11!important;box-shadow:var(--shadow-2);max-height:min(74vh,880px)!important;scroll-behavior:smooth;overscroll-behavior:contain}
.timeline-grid{--slot-width:190px;grid-auto-rows:76px!important;grid-template-rows:50px}
@media(min-width:981px){.timeline-viewport,.timeline-grid{--channel-width:264px}}
.timeline-viewport[data-density=compact] .timeline-grid{grid-auto-rows:58px!important;grid-template-rows:44px}
.timeline-corner,.timeline-time{background:rgba(14,18,26,.94)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-color:var(--line-soft)!important;font-weight:800;letter-spacing:.02em}
.timeline-time{color:var(--text)!important;font-size:12.5px}
.timeline-channel{background:rgba(12,16,23,.97)!important;border-color:var(--line-soft)!important}
.timeline-channel:hover{background:#121823!important}
.timeline-channel-main b,.timeline-channel b{font-size:14.5px;letter-spacing:-.01em}
.timeline-lane{border-color:rgba(255,255,255,.045)!important}
.timeline-programme{border-radius:11px!important;border:1px solid var(--line-soft)!important;background:linear-gradient(180deg,#141a26,#10151f)!important;margin:6px 3px!important;
  transition:background-color .2s var(--ease),border-color .2s var(--ease),transform .18s var(--ease),box-shadow .2s var(--ease)}
.timeline-programme:hover{border-color:rgba(196,255,77,.45)!important;background:linear-gradient(180deg,#19212f,#131a26)!important;box-shadow:0 10px 24px -14px rgba(0,0,0,.9);z-index:3}
.timeline-programme:focus-visible{z-index:4;outline-offset:-2px!important}
.timeline-programme.is-now{border-color:rgba(196,255,77,.42)!important;background:linear-gradient(180deg,rgba(196,255,77,.14),rgba(196,255,77,.05)),#111821!important;box-shadow:inset 3px 0 0 var(--lime)}
.timeline-programme.is-search-match{box-shadow:inset 0 0 0 2px var(--cyan)!important}
.timeline-now-line{width:2px!important;background:var(--lime)!important;box-shadow:0 0 12px rgba(196,255,77,.8)}
.timeline-now-line::before{content:"";position:absolute;top:0;left:-4px;width:10px;height:10px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px rgba(196,255,77,.18)}
.timeline-load-more{border-radius:999px!important;min-height:46px;padding:0 22px!important;margin:16px auto 0!important;display:flex!important;align-items:center}
.timeline-load-more[hidden]{display:none!important}
.timeline-health-summary span{background:rgba(255,255,255,.03)}

/* Skeletons while the guide loads (guide.js sets data-loading) */
.timeline-viewport[data-loading=true]{min-height:420px}
.timeline-viewport[data-loading=true]::after{content:"";position:absolute;inset:56px 14px 14px;border-radius:12px;pointer-events:none;
  background:repeating-linear-gradient(180deg,transparent 0 10px,rgba(255,255,255,.035) 10px 64px,transparent 64px 76px),
             linear-gradient(90deg,transparent,rgba(255,255,255,.05),transparent) 0 0/480px 100% no-repeat;
  animation:ptv-shimmer 1.3s linear infinite}
.timeline-viewport[data-loading=true]:has(.timeline-lane)::after{display:none}
.mobile-now-list[data-loading=true]:empty{min-height:340px;border-radius:16px;background:repeating-linear-gradient(180deg,rgba(255,255,255,.04) 0 96px,transparent 96px 108px)}

/* Mobile Now & Next cards */
.mobile-now-card{border-radius:16px!important;border-color:var(--line-soft)!important;background:var(--surface)!important;transition:transform .2s var(--ease),border-color .2s var(--ease)}
.mobile-now-card:active{transform:scale(.985)}
.mobile-now-card:hover{border-color:rgba(196,255,77,.35)!important}

/* Empty state for an empty My TV */
.guide-empty-state{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;margin:4px 0 16px;padding:22px;border:1px solid var(--line-soft);border-radius:20px;
  background:radial-gradient(500px 200px at 0 0,rgba(196,255,77,.10),transparent 70%),var(--surface);box-shadow:var(--shadow-1);animation:ptv-rise .3s var(--ease-out)}
.guide-empty-state[hidden]{display:none!important}
.guide-empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:rgba(196,255,77,.14);color:var(--lime)}
.guide-empty-icon svg{width:28px;height:28px}
.guide-empty-state h2{margin:0 0 4px;font-size:20px}
.guide-empty-state p{margin:0;color:var(--muted)}
.guide-empty-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
.guide-empty-actions a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);font-weight:800}
.guide-empty-actions a:hover{border-color:rgba(196,255,77,.5)}
.guide-empty-actions a.is-primary{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}

/* ---------- Watch / player ---------- */
.watch-shell .back{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px 0 10px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line-soft);color:var(--muted);font-weight:700;margin:14px 0 14px!important}
.watch-shell .back:hover{color:var(--text);background:rgba(255,255,255,.08)}
.watch-card{align-items:start!important}
.watch-poster{border-radius:18px!important;overflow:hidden;background:#000!important;box-shadow:0 30px 70px -30px rgba(0,0,0,.9),0 0 0 1px var(--line-soft);aspect-ratio:16/9}
.watch-card>.watch-poster{position:sticky;top:calc(var(--header-h) + 12px);z-index:30}
@media(max-width:680px){.watch-card>.watch-poster{top:calc(var(--header-h) + 6px);border-radius:14px!important}}
.watch-shell{padding:6px 0 40px!important}
.watch-copy{display:grid;gap:12px;align-self:start!important}
.watch-copy>p,.watch-copy>small{margin:0}
.channel-facts span{border-radius:999px!important;background:rgba(255,255,255,.05);border-color:var(--line-soft)!important}
.tv-channel-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
.tv-channel-controls>*{min-height:48px;font-size:14px;line-height:1.2;padding:8px 10px!important;border-radius:13px!important;display:flex!important;align-items:center;justify-content:center;text-align:center}
.tv-channel-controls>*:hover{border-color:rgba(196,255,77,.45)!important}
#patchtv-activate{min-height:52px;border-radius:13px!important;font-size:16px;box-shadow:0 14px 30px -16px rgba(196,255,77,.8)}
#patchtv-activate:hover{filter:brightness(1.06)}
.patch-controls,.player-status-stack{border-radius:16px!important}
.watch-button{border-radius:13px!important;min-height:48px;display:inline-flex!important;align-items:center;justify-content:center}
.source-disclosure{font-size:13px;color:var(--muted)}
.now-programme{border-radius:16px!important}
.schedule-list article{border-radius:12px;transition:background-color .2s var(--ease)}
.schedule-list article:hover{background:rgba(255,255,255,.035)}

/* Docked mini-player (fluid.js adds .is-docked when the playing video scrolls away) */
.player-placeholder{border-radius:18px;background:rgba(255,255,255,.025);border:1px dashed var(--line)}
.watch-poster.is-docked{position:fixed!important;z-index:90!important;right:18px;bottom:18px;top:auto!important;left:auto;width:min(380px,calc(100vw - 36px));margin:0!important;
  border-radius:16px!important;box-shadow:0 30px 60px -20px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.12)!important;animation:ptv-pop .3s var(--ease-out)}
@media(max-width:680px){.watch-poster.is-docked{right:10px;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px);width:min(58vw,260px)}}
.mini-player-bar{position:absolute;top:8px;right:8px;z-index:20;display:none;gap:6px}
.watch-poster.is-docked .mini-player-bar{display:flex}
.mini-player-bar button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.66);color:#fff;cursor:pointer;backdrop-filter:blur(8px)}
.mini-player-bar button:hover{background:rgba(0,0,0,.85)}
.mini-player-bar svg{width:16px;height:16px}
.watch-poster.is-docked .live-dot{display:none}

/* ---------- Forms, panels and secondary pages ---------- */
.stack input,.stack select,.stack textarea,.search input{border-radius:12px!important;background:var(--surface)!important}
.notice{border-radius:14px}
details>summary{cursor:pointer}
footer{border-top:1px solid var(--line-soft)!important;color:var(--muted)}
footer a:hover{color:var(--text)}

/* ---------- Spatial navigation (remote / keyboard) ---------- */
.ptv-spatial-focus{scroll-margin:90px 40px}

/* ---------- Motion & contrast preferences ---------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
@media(prefers-contrast:more){:root{--muted:#c9d1de;--line-soft:rgba(255,255,255,.18)}}
@media(hover:none){.stream-card:hover{transform:none}}

/* Returning viewers: their workspace leads, the marketing hero steps back */
.home-workspace:not([hidden]){margin-top:22px;animation:ptv-rise .3s var(--ease-out)}
.home-workspace:not([hidden])~.home-hero-clean{padding-top:40px!important}
.home-workspace:not([hidden])~.home-hero-clean .home-hero-copy h1{font-size:clamp(34px,4.4vw,60px)!important}
.guide-hero h1{max-width:none!important}
.guide-import-button{display:flex!important;align-items:center!important;gap:12px}
/* == patchtv-v5.css == */
/* PatchTV 3.5 — viewer support, mobile polish, home that sells. Loaded after patchtv-v4.css. */

/* ---------- Header ---------- */
.header-icon-button{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:999px;border:1px solid var(--line-soft);background:rgba(255,255,255,.04);color:var(--text);cursor:pointer;padding:0}
.header-icon-button:hover{background:rgba(255,255,255,.09)}
.header-icon-button svg{width:19px;height:19px}
@media(max-width:680px){
  .site-header{background:rgba(7,9,13,.94)!important}
  .header-actions{gap:8px!important}
  .install-app-button{display:none!important}
}
.guide-hero h1 span{white-space:nowrap}
@media(max-width:520px){.guide-hero h1 span{white-space:normal}}

/* ---------- Channel initials (logo fallback) ---------- */
.channel-initials{--hue:200;display:inline-grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:12px;font-style:normal;font-weight:900;font-size:14px;letter-spacing:-.02em;color:#fff;
  background:linear-gradient(140deg,hsl(var(--hue) 70% 42%),hsl(calc(var(--hue) + 40) 70% 28%));box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}

/* ---------- Guide: never-empty My TV ---------- */
.guide-more-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 12px;padding:12px 16px;border-radius:14px;border:1px solid rgba(196,255,77,.25);background:rgba(196,255,77,.06);font-size:14px}
.guide-more-banner[hidden]{display:none!important}
.guide-more-banner a{color:var(--lime);font-weight:800;white-space:nowrap}
.timeline-channel.is-first-suggested,.timeline-channel.is-first-suggested~.timeline-lane{border-top:2px solid rgba(196,255,77,.5)!important}
.timeline-channel.is-first-suggested::before{content:"MORE FOR YOU";position:absolute;top:-1px;left:8px;transform:translateY(-50%);padding:1px 7px;border-radius:999px;background:var(--lime);color:var(--lime-ink);font-size:9px;font-weight:900;letter-spacing:.1em;z-index:5}
.timeline-channel.is-suggested .timeline-channel-actions button:first-child{color:var(--lime);border-color:rgba(196,255,77,.4)}
.now-list-divider{margin:14px 2px 2px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--lime)}
/* Filters toggle is a phone-only control */
.guide-filters-toggle{display:none!important}

/* ---------- Guide on phones: compact, readable rows ---------- */
@media(max-width:680px){
  .timeline-viewport,.timeline-grid{--channel-width:128px!important}
  .timeline-grid{--slot-width:150px!important;grid-auto-rows:64px!important;grid-template-rows:42px!important}
  .timeline-viewport{margin-inline:0!important;max-height:calc(100dvh - var(--header-h) - var(--tabbar-h) - 70px)!important;border-radius:14px!important}
  .timeline-channel{grid-template-columns:1fr!important;padding:6px 6px 6px 8px!important;gap:0!important}
  .timeline-channel-main{gap:7px!important}
  .timeline-channel img,.timeline-channel .channel-initials{width:34px!important;height:34px!important;border-radius:9px!important;object-fit:contain!important;background:#fff1!important;font-size:11px}
  .timeline-channel b{font-size:12.5px!important;line-height:1.2;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .timeline-channel .device-health,.timeline-channel .guide-health-badge{display:none!important}
  .timeline-channel-actions{position:absolute;right:3px;top:3px}
  .timeline-channel-actions button{display:none}
  .timeline-channel-actions button:first-child{display:grid;place-items:center;width:24px!important;height:24px!important;border:0!important;background:rgba(0,0,0,.45)!important;border-radius:50%!important;font-size:13px}
  .timeline-channel-actions button.is-favorite{color:#ffd85a!important}
  .timeline-channel-main{padding-right:18px}
  .timeline-programme{margin:5px 2px!important;padding:6px 9px!important}
  .timeline-programme b{font-size:13px}
  .timeline-unscheduled{color:var(--muted)!important;font-size:12px!important;background:repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 10px,transparent 10px 20px),#0e131c!important}
  .timeline-time{font-size:12px!important}
  /* filters collapse behind one button */
  .guide-filters-toggle{display:flex!important;align-items:center;justify-content:center;background:var(--surface-3)!important;color:var(--text)!important;border:1px solid var(--line)!important}
  .timeline-controls{grid-template-columns:minmax(0,1fr) auto!important}
  .timeline-controls .timeline-search{grid-column:1/2!important}
  .timeline-controls .guide-filters-toggle{grid-column:2/3!important;align-self:end;min-width:92px}
  .timeline-controls>label:not(.timeline-search),.timeline-controls>button[type=submit],.timeline-controls>.guide-options{display:none!important}
  .timeline-controls.filters-open>label:not(.timeline-search),.timeline-controls.filters-open>.guide-options{display:grid!important;grid-column:1/-1!important;animation:ptv-rise .2s var(--ease-out)}
  .timeline-controls.filters-open>.guide-options{display:block!important}
  .timeline-search{font-size:0!important;gap:0!important}
  .timeline-search input{font-size:15px!important}
  .guide-scan-callout{display:none!important}
  .timeline-health-summary{display:none!important}
}

/* Floating "Now" */
.ptv-now-fab{position:fixed;z-index:70;right:16px;bottom:22px;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid rgba(196,255,77,.45);background:rgba(10,14,20,.92);color:var(--lime);font-weight:850;cursor:pointer;
  box-shadow:0 14px 30px -14px #000;backdrop-filter:blur(12px);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s var(--ease),transform .2s var(--ease)}
.ptv-now-fab.is-visible.is-away{opacity:1;transform:none;pointer-events:auto}
@media(max-width:680px){.ptv-now-fab{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px)}}

/* Floating "↑ Top" back-to-top button (3.9.47) */
.ptv-top-fab{position:fixed;z-index:72;right:max(16px,env(safe-area-inset-right));bottom:22px;min-height:42px;padding:0 15px;border-radius:999px;border:1px solid rgba(196,255,77,.5);background:rgba(10,14,20,.94);color:var(--lime);font-weight:850;font-size:13.5px;cursor:pointer;box-shadow:0 14px 30px -14px #000;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:inline-flex;align-items:center;gap:4px}
.ptv-top-fab[hidden]{display:none!important}
.ptv-top-fab:hover,.ptv-top-fab:focus-visible{background:rgba(20,28,40,.98);border-color:var(--lime)}
.ptv-top-fab.is-above-now{bottom:72px}
@media(max-width:680px){
  .ptv-top-fab{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px)}
  .ptv-top-fab.is-above-now{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 64px)}
}

/* ---------- Toasts ---------- */
.ptv-toasts{position:fixed;z-index:1200;left:50%;bottom:22px;transform:translateX(-50%);display:grid;gap:8px;width:min(560px,calc(100vw - 24px));pointer-events:none}
@media(max-width:680px){.ptv-toasts{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px)}}
.ptv-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 12px 12px 16px;border-radius:16px;background:rgba(22,28,40,.97);border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 50px -20px #000;font-size:14px;animation:ptv-pop .26s var(--ease-out)}
.ptv-toast>span{flex:1 1 220px}
.ptv-toast a,.ptv-toast button{min-height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);font-weight:800;font-size:13px;display:inline-flex;align-items:center;cursor:pointer}
.ptv-toast .is-primary{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}
.ptv-toast .ptv-toast-x{width:32px;min-height:32px;padding:0;justify-content:center;background:transparent;border:0;color:var(--muted);font-size:18px}
.ptv-toast.is-leaving,.ptv-tip.is-leaving{opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s}

/* ---------- Bottom sheet ---------- */
.ptv-sheet-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(0,0,0,.55);backdrop-filter:blur(4px);animation:ptv-fade-only .2s}
.ptv-sheet{position:fixed;z-index:1101;left:50%;bottom:0;transform:translateX(-50%);width:min(620px,100vw);max-height:86dvh;overflow:auto;padding:10px 22px calc(22px + env(safe-area-inset-bottom));
  border-radius:24px 24px 0 0;background:#121824;border:1px solid rgba(255,255,255,.1);border-bottom:0;box-shadow:0 -30px 60px -20px #000;outline:none;animation:ptv-sheet-in .3s var(--ease-out)}
@media(min-width:861px){.ptv-sheet{bottom:50%;transform:translate(-50%,50%);border-radius:24px;border-bottom:1px solid rgba(255,255,255,.1);animation:ptv-pop .26s var(--ease-out)}}
@keyframes ptv-sheet-in{from{transform:translate(-50%,100%)}}
.ptv-sheet.is-leaving,.ptv-sheet-backdrop.is-leaving{opacity:0;transition:opacity .2s}
.ptv-sheet-grip{display:block;width:44px;height:5px;margin:0 auto 10px;border-radius:9px;background:rgba(255,255,255,.2)}
.ptv-sheet header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:8px}
.ptv-sheet h2{margin:0;font-size:22px;letter-spacing:-.02em;line-height:1.2}
.ptv-sheet-x{flex:0 0 auto;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.07);color:var(--text);font-size:20px;cursor:pointer}
.ptv-sheet p{color:var(--muted);margin:6px 0 12px}
.ptv-sheet-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ptv-sheet-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:13px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);font-weight:800;cursor:pointer;flex:1 1 auto}
.ptv-sheet-actions .is-primary{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}
.ptv-programme-meta{display:flex;align-items:center;gap:8px;color:var(--text)!important;font-weight:700}
.ptv-live{padding:2px 7px;border-radius:6px;background:var(--red);color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.ptv-progress,.rail-progress{display:block;height:4px;border-radius:9px;background:rgba(255,255,255,.1);overflow:hidden}
.ptv-progress i,.rail-progress i{display:block;height:100%;background:var(--lime);border-radius:9px}
.ptv-programme-sub{color:var(--text)!important;font-weight:700}
.ptv-steps{margin:6px 0 10px;padding-left:22px;display:grid;gap:10px}
.ptv-steps code{padding:2px 7px;border-radius:7px;background:rgba(196,255,77,.12);color:var(--lime);font-weight:800}
.ptv-note{font-size:13px}

/* ---------- Guide tips ---------- */
.ptv-tip{position:fixed;z-index:1150;left:50%;bottom:24px;transform:translateX(-50%);width:min(380px,calc(100vw - 24px));padding:16px 18px;border-radius:18px;background:linear-gradient(160deg,#1c2a12,#121a0c);border:1px solid rgba(196,255,77,.4);box-shadow:0 30px 60px -20px #000;animation:ptv-pop .3s var(--ease-out)}
@media(max-width:680px){.ptv-tip{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px)}}
.ptv-tip small{color:var(--lime);font-size:10.5px;font-weight:900;letter-spacing:.14em}
.ptv-tip b{display:block;margin-top:4px;font-size:17px}
.ptv-tip p{margin:4px 0 12px;color:#cfd8c4;font-size:14px}
.ptv-tip div{display:flex;justify-content:flex-end;gap:8px}
.ptv-tip button{min-height:38px;padding:0 15px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:transparent;color:var(--text);font-weight:800;cursor:pointer}
.ptv-tip .is-primary{background:var(--lime);color:var(--lime-ink);border-color:var(--lime)}

/* ---------- Setup checklist ---------- */
.setup-checklist{margin:18px 0 6px;padding:18px 20px;border-radius:20px;border:1px solid var(--line-soft);background:radial-gradient(500px 160px at 100% 0,rgba(98,230,255,.08),transparent 70%),var(--surface);box-shadow:var(--shadow-1);animation:ptv-rise .3s var(--ease-out)}
.setup-checklist[hidden]{display:none!important}
.checklist-head{display:flex;align-items:center;gap:14px}
.checklist-head>div{flex:1}
.checklist-head h2{margin:2px 0 0;font-size:20px}
.checklist-head .eyebrow{margin:0}
.checklist-ring{--p:0;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;font-weight:900;font-size:13px;background:conic-gradient(var(--lime) calc(var(--p) * 1%),rgba(255,255,255,.08) 0);position:relative}
.checklist-ring::before{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--surface)}
.checklist-ring{isolation:isolate}.checklist-ring::before{z-index:-1}
.checklist-x{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.06);color:var(--muted);font-size:18px;cursor:pointer}
.checklist-steps{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
@media(max-width:900px){.checklist-steps{grid-template-columns:1fr}}
.checklist-steps a{display:flex;align-items:center;gap:10px;height:100%;padding:11px 12px;border-radius:13px;border:1px solid var(--line-soft);background:rgba(255,255,255,.025)}
.checklist-steps a:hover{border-color:rgba(196,255,77,.4)}
.checklist-steps i{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:900}
.checklist-steps span{display:grid;min-width:0}
.checklist-steps b{font-size:14px}
.checklist-steps small{color:var(--muted);font-size:12px;line-height:1.3}
.checklist-steps .is-done a{opacity:.6}
.checklist-steps .is-done i{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}
.checklist-steps .is-next a{border-color:rgba(196,255,77,.55);background:rgba(196,255,77,.07)}
.checklist-steps .is-next i{border-color:var(--lime)}

/* ---------- Watch page ---------- */
.ptv-swipe-flash{position:absolute;inset:0;z-index:25;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;font-size:20px;font-weight:900;animation:ptv-fade-only .15s}
.ptv-swipe-flash span{padding:10px 18px;border-radius:999px;background:rgba(0,0,0,.6)}
.recovery-suggestions{grid-column:1/-1;margin-top:12px}
.recovery-suggestions .eyebrow{margin:0 0 8px}
.recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.recovery-grid .stream-card .card-copy{padding:8px}.recovery-grid .stream-card h3{font-size:13px}
.recovery-grid .card-now{display:none}
.recovery-card{display:grid;gap:6px;justify-items:start;padding:10px;border-radius:12px;border:1px solid var(--line-soft);background:var(--surface)}
.recovery-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.recovery-card b{font-size:13px}

/* ---------- Home: starter picker ---------- */
.starter-card{position:relative;max-width:640px!important;max-height:calc(100dvh - 40px);overflow:auto}
.starter-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.07);color:var(--text);font-size:20px;cursor:pointer}
.starter-picker{display:grid;gap:14px;margin:14px 0 6px}
.starter-country{display:grid;gap:6px;font-weight:800;font-size:13.5px}
.starter-country select{min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:0 12px;font-size:15px}
.starter-interest-chips{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.starter-interest-chips legend{font-weight:800;font-size:13.5px;margin-bottom:8px}
.starter-interest-chips legend small{color:var(--muted);font-weight:600}
.starter-interest-chips label{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);cursor:pointer;font-weight:750;font-size:14px;user-select:none}
.starter-interest-chips input{position:absolute;opacity:0;pointer-events:none}
.starter-interest-chips label:has(input:checked){background:rgba(196,255,77,.14);border-color:var(--lime);color:#fff}
.starter-interest-chips label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}

/* ---------- Home: hero + animated patch demo ---------- */
.home-hero-v5{align-items:center!important}
.patch-demo{position:relative;border-radius:24px;padding:16px;background:linear-gradient(160deg,rgba(23,30,44,.95),rgba(11,15,22,.95));border:1px solid rgba(255,255,255,.08);box-shadow:0 40px 90px -40px rgba(0,0,0,.95),0 0 0 1px rgba(196,255,77,.06);overflow:hidden;isolation:isolate}
.patch-demo::before{content:"";position:absolute;inset:-40% -10% auto;height:70%;z-index:-1;background:radial-gradient(closest-side,rgba(196,255,77,.18),transparent);animation:ptv-demo-glow 9s ease-in-out infinite}
.patch-demo::after{content:"";position:absolute;left:0;right:0;top:54px;height:46px;z-index:2;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(196,255,77,.22),transparent);animation:ptv-demo-scan 9s var(--ease) infinite}
@keyframes ptv-demo-glow{50%{transform:translateY(30%)}}
@keyframes ptv-demo-scan{0%{transform:translateY(-60px);opacity:0}6%{opacity:1}40%{transform:translateY(330px);opacity:1}46%,100%{transform:translateY(330px);opacity:0}}
.patch-demo-chrome{display:flex;align-items:center;gap:6px;margin-bottom:12px;font-size:12.5px;color:var(--muted)}
.patch-demo-chrome i{width:10px;height:10px;border-radius:50%;background:#ff5f57}.patch-demo-chrome i:nth-child(2){background:#febc2e}.patch-demo-chrome i:nth-child(3){background:#28c840}
.patch-demo-chrome b{margin-left:8px;font-family:ui-monospace,Menlo,monospace;font-weight:600;color:#c9d2e0}
.patch-demo-badge{position:relative;margin-left:auto;display:grid;font-style:normal;font-size:10.5px;font-weight:900;letter-spacing:.12em}
.patch-demo-badge span{grid-area:1/1;padding:4px 9px;border-radius:999px;text-align:center}
.patch-demo-badge .is-a{background:rgba(255,216,76,.14);color:#ffd84c;animation:ptv-demo-a 9s infinite}
.patch-demo-badge .is-b{background:rgba(196,255,77,.16);color:var(--lime);animation:ptv-demo-b 9s infinite}
.patch-demo-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.patch-demo-list li{position:relative;display:grid;height:46px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05);overflow:hidden;animation:ptv-demo-row 9s infinite}
.patch-demo-list li>span{grid-area:1/1;display:flex;align-items:center;gap:10px;padding:0 13px;min-width:0}
.patch-demo-list .raw{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:#9aa6b8;animation:ptv-demo-raw 9s infinite}
.patch-demo-list .clean{animation:ptv-demo-clean 9s infinite;font-size:14px}
.patch-demo-list .clean b{font-size:14px}
.patch-demo-list .clean small{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.patch-demo-list .dot{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:9px;font-style:normal;font-size:10px;font-weight:900;color:#fff}
.patch-demo-list .dot.h1{background:linear-gradient(140deg,#e2463c,#8c1d18)}.patch-demo-list .dot.h2{background:linear-gradient(140deg,#d92b2b,#6e0f0f)}
.patch-demo-list .dot.h3{background:linear-gradient(140deg,#d8262e,#2a2a2a)}.patch-demo-list .dot.h4{background:linear-gradient(140deg,#1f6fe0,#0b2e66)}
.patch-demo-list .is-dead .clean,.patch-demo-list .is-dup .clean{color:#ff8a9b;font-size:13px;font-weight:700}
.patch-demo-list .is-dup .clean{color:#9fd8ff}
.patch-demo-list li:nth-child(1){--d:.25s}.patch-demo-list li:nth-child(2){--d:.55s}.patch-demo-list li:nth-child(3){--d:.85s}.patch-demo-list li:nth-child(4){--d:1.15s}
.patch-demo-list li:nth-child(5){--d:1.45s}.patch-demo-list li:nth-child(6){--d:1.75s}.patch-demo-list li:nth-child(7){--d:2.05s}
.patch-demo-list li,.patch-demo-list li>span{animation-delay:var(--d,0s)}
.patch-demo-list li.is-dead,.patch-demo-list li.is-dup{animation-name:ptv-demo-dim}
@keyframes ptv-demo-raw{0%,28%{opacity:1;transform:none}34%,92%{opacity:0;transform:translateX(-14px)}100%{opacity:1}}
@keyframes ptv-demo-clean{0%,30%{opacity:0;transform:translateX(14px)}36%,90%{opacity:1;transform:none}96%,100%{opacity:0}}
@keyframes ptv-demo-row{0%,30%{border-color:rgba(255,255,255,.05)}34%{border-color:rgba(196,255,77,.6);background:rgba(196,255,77,.08)}46%,90%{border-color:rgba(255,255,255,.07);background:rgba(255,255,255,.04)}}
/* fixed height: removed rows fade instead of collapsing, so the page never shifts */
@keyframes ptv-demo-dim{0%,30%{opacity:1}36%{background:rgba(255,77,109,.1);border-color:rgba(255,77,109,.4)}50%,88%{opacity:.38;background:rgba(255,77,109,.05);border-color:rgba(255,77,109,.18)}96%,100%{opacity:1}}
@keyframes ptv-demo-a{0%,44%{opacity:1}48%,96%{opacity:0}100%{opacity:1}}
@keyframes ptv-demo-b{0%,44%{opacity:0;transform:scale(.8)}50%,94%{opacity:1;transform:none}100%{opacity:0}}
.patch-demo-report{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.patch-demo-report span{padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.035);color:var(--muted);font-size:12px;text-align:center;animation:ptv-demo-report 9s infinite}
.patch-demo-report span:nth-child(2){animation-delay:.15s}.patch-demo-report span:nth-child(3){animation-delay:.3s}
.patch-demo-report b{display:block;color:var(--text);font-size:19px;letter-spacing:-.02em}
@keyframes ptv-demo-report{0%,48%,100%{transform:none;background:rgba(255,255,255,.035)}53%{transform:translateY(-4px);background:rgba(196,255,77,.14)}60%{transform:none;background:rgba(255,255,255,.035)}}
.patch-demo-ready{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:14px 16px;border-radius:14px;background:var(--lime);color:var(--lime-ink);font-weight:900;animation:ptv-demo-ready 9s infinite}
@keyframes ptv-demo-ready{0%,58%,100%{transform:none;box-shadow:0 0 0 0 rgba(196,255,77,0)}63%{transform:scale(1.03)}68%,92%{transform:none;box-shadow:0 14px 40px -14px rgba(196,255,77,.9)}}
.patch-demo #device-readiness{margin-top:12px}
@media(max-width:860px){.patch-demo{margin-top:8px}}
@media(prefers-reduced-motion:reduce){
  .patch-demo-list .raw,.patch-demo-badge .is-a{display:none}
  .patch-demo-list .clean,.patch-demo-badge .is-b,.patch-demo-report span,.patch-demo-ready{opacity:1!important;transform:none!important}
  .patch-demo-list li.is-dead,.patch-demo-list li.is-dup{opacity:.38}
}

/* Returning viewers: workspace + rails lead */
body.has-workspace .home-hero-v5{padding-top:28px!important}

/* ---------- Home: rails ---------- */
.home-rails{display:grid;gap:26px;margin:34px 0 10px}
.home-rail[hidden]{display:none!important}
.home-rail header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.home-rail header .eyebrow{margin:0 0 4px}
.home-rail h2{margin:0;font-size:clamp(20px,2.2vw,26px)}
.rail-add-all{flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);font-weight:800;cursor:pointer;font-size:13.5px}
.rail-add-all:hover{border-color:rgba(196,255,77,.55)}
.rail-add-all:disabled{color:var(--lime);opacity:1}
.rail-track{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(180px,22vw,250px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:4px 2px 10px;scrollbar-width:thin;scrollbar-color:#2a3446 transparent}
.rail-item{position:relative;scroll-snap-align:start}
.rail-card{display:grid;gap:6px;height:100%;padding:8px 8px 11px;border-radius:16px;background:var(--surface);border:1px solid var(--line-soft);transition:transform .22s var(--ease),border-color .22s var(--ease),box-shadow .22s var(--ease)}
.rail-card:hover,.rail-card:focus-visible{transform:translateY(-3px);border-color:rgba(196,255,77,.4);box-shadow:var(--shadow-2)}
.rail-art{position:relative;display:grid;place-items:center;aspect-ratio:16/9;border-radius:11px;overflow:hidden;background:linear-gradient(140deg,#1a2233,#0d1119)}
.rail-art i{font-style:normal;font-weight:900;font-size:22px;color:#55627a}
.rail-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rail-art em{position:absolute;left:8px;top:8px;padding:3px 6px;border-radius:6px;background:var(--red);color:#fff;font-size:9.5px;font-weight:900;font-style:normal;letter-spacing:.08em}
.rail-card b{padding:0 3px;font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.rail-card small{padding:0 3px;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-card .rail-progress{margin:0 3px}
.rail-star{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:16px;cursor:pointer;backdrop-filter:blur(6px)}
.rail-star.is-on{color:#ffd85a}
.rail-skeleton{display:block;aspect-ratio:16/12;border-radius:16px;background:linear-gradient(90deg,#10151f,#182030,#10151f) 0 0/480px 100%;animation:ptv-shimmer 1.3s linear infinite}
.home-rails-more{margin:0}.home-rails-more a{color:var(--cyan);font-weight:800}
@media(max-width:680px){.rail-track{grid-auto-columns:64%;margin-inline:-12px;padding-inline:12px;scroll-padding-inline:12px}}

/* ---------- Home: final CTA ---------- */
.home-final-cta{margin:40px 0 20px;padding:clamp(28px,5vw,56px);border-radius:28px;text-align:center;background:radial-gradient(600px 240px at 50% 0,rgba(196,255,77,.16),transparent 70%),var(--surface);border:1px solid var(--line-soft)}
.home-final-cta h2{margin:0;font-size:clamp(28px,4vw,48px);letter-spacing:-.04em}
.home-final-cta p{color:var(--muted);margin:8px 0 20px}
.home-final-cta div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.home-final-cta a{min-height:48px;padding:0 20px;display:inline-flex;align-items:center;border-radius:14px!important;font-weight:850}
.home-final-cta .secondary-action{border:1px solid var(--line);background:var(--surface-3);color:var(--text)}

/* ---------- Setup: paste anything + Xtream ---------- */
.guided-paste{display:grid;gap:6px}
.guided-paste small{color:var(--muted);font-weight:500;font-size:12.5px}
.guided-paste textarea{min-height:84px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:12px;font:13.5px/1.45 ui-monospace,Menlo,monospace;resize:vertical}
.guided-paste-kind{min-height:18px;font-size:13px;color:var(--lime);font-weight:700}
.guided-paste-kind[data-type=insecure],.guided-paste-kind[data-type=error],.guided-paste-kind[data-type=xmltv-text]{color:#ffb4c0}
.guided-xtream{border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:rgba(255,255,255,.02)}
.guided-xtream summary{cursor:pointer;font-weight:800}
.guided-xtream-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin:10px 0 6px}
@media(max-width:680px){.guided-xtream-grid{grid-template-columns:1fr}}
.guided-xtream input{width:100%;min-height:44px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:0 10px}
.guided-xtream small{color:var(--muted)}

/* rails must never widen the page */
.home-rails,.home-rail,.rail-track{min-width:0;max-width:100%}
main{min-width:0;overflow-x:clip}
/* compact guide header on phones */
@media(max-width:680px){
  .guide-hero .eyebrow,.guide-hero h1{display:none!important}
  .guide-hero,.guide-hero-row{padding:10px 0 2px!important}
  .guide-import-button{min-height:42px!important;background:var(--surface-3)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none!important;font-size:14px}
  .guide-empty-state{grid-template-columns:1fr;padding:18px}
  .guide-empty-icon{display:none}
}
@media(max-width:680px){
  .timeline-viewport,.timeline-grid{--channel-width:142px!important}
  .timeline-channel img,.timeline-channel .channel-initials{width:30px!important;height:30px!important}
  .timeline-channel b{font-size:12px!important;overflow-wrap:anywhere;hyphens:auto}
  .guide-import-button{padding:6px 14px!important;flex-direction:row!important}
  .guide-import-button span{font-size:16px}
  .guide-more-banner:not([hidden])~.timeline-note,.timeline-note:has(~.guide-more-banner:not([hidden])){display:none}
  .guide-more-banner{font-size:13px;padding:10px 12px}
  .home-hero-lede{font-size:16px!important}
}
/* keep the GPU idle when the demo can't be seen */
.first-visit-open .patch-demo,.first-visit-open .patch-demo *,.patch-demo.is-offscreen,.patch-demo.is-offscreen *,.patch-demo.is-offscreen::before,.patch-demo.is-offscreen::after{animation-play-state:paused!important}
.first-visit-open .rail-skeleton{animation:none}
@media(max-width:680px){.starter-card h2{font-size:30px!important;line-height:1.05!important}.starter-card>p:not(.eyebrow){font-size:14.5px}.starter-interest-chips label{min-height:38px;padding:0 12px;font-size:13.5px}}
.ptv-toasts{z-index:1090}

/* the demo panel is a fixed box: nothing inside it can resize the hero */
.patch-demo{contain:layout paint}
.patch-demo-list .is-dead .clean{text-decoration:line-through;text-decoration-color:rgba(255,138,155,.5)}


/* ================= 3.6 ================= */
/* Header: one bright button only */
.install-app-button.is-quiet{background:transparent!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none!important;min-height:40px;padding:0 14px!important;font-weight:750}
.install-app-button.is-quiet:hover{border-color:rgba(196,255,77,.5)!important}
footer .footer-adult{color:#8a93a3;font-size:12.5px}
footer .footer-adult:hover{color:var(--text)}

/* My TV strip (replaces the old "Your TV" bar) */
.mytv-strip{display:block!important;padding:18px 18px 12px!important;border-radius:22px!important;background:radial-gradient(600px 200px at 0 0,rgba(196,255,77,.08),transparent 70%),var(--surface)!important}
.mytv-strip[hidden]{display:none!important}
.mytv-head{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.mytv-head .eyebrow{margin:0 0 3px}
.mytv-head h2{margin:0;font-size:clamp(22px,2.4vw,28px)}
.mytv-summary{margin:2px 0 0!important;color:var(--muted);font-size:14px}
.mytv-head .home-workspace-actions{display:flex;gap:8px;flex-wrap:wrap}
.mytv-head .home-workspace-actions>*{min-height:42px;padding:0 15px;border-radius:12px;display:inline-flex;align-items:center;font-weight:800;font-size:14px;cursor:pointer}
.mytv-head .secondary-action{border:1px solid var(--line);background:var(--surface-3);color:var(--text)}
.mytv-tiles{grid-auto-columns:clamp(170px,18vw,220px)!important;padding-bottom:6px}
.mytv-empty{color:var(--muted);margin:6px 2px 10px}
@media(max-width:680px){.mytv-head .home-workspace-actions{width:100%}.mytv-head .home-workspace-actions>*{flex:1 1 auto;justify-content:center;padding:0 10px}.mytv-strip{margin-inline:-4px}}

/* compact checklist line */
.setup-checklist.is-compact{margin:10px 0 0!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(255,255,255,.03)!important;box-shadow:none!important;animation:none!important}
.checklist-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.checklist-line .checklist-ring{width:38px;height:38px;font-size:11px}
.checklist-line .checklist-ring::before{inset:4px}
.checklist-next{color:var(--lime);font-weight:850}
.checklist-more{margin-left:auto;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--muted);font-weight:750;cursor:pointer}
.setup-checklist.is-compact .checklist-x{width:30px;height:30px}
.setup-checklist.is-compact .checklist-steps{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:10px}
.setup-checklist.is-compact .checklist-steps[hidden]{display:none}
.setup-checklist.is-compact .checklist-steps a{padding:9px 10px}
@media(max-width:900px){.setup-checklist.is-compact .checklist-steps{grid-template-columns:1fr}}

/* Up next */
.home-upnext{margin:22px 0 0}
.upnext-card{grid-template-rows:auto auto 1fr;gap:4px!important;padding:14px 14px 13px!important;min-height:118px}
.upnext-when{justify-self:start;padding:3px 9px;border-radius:999px;background:rgba(98,230,255,.12);color:var(--cyan);font-size:12px;font-weight:850}
.upnext-card b{-webkit-line-clamp:2!important;font-size:15px!important;padding:0!important}
.upnext-card small{padding:0!important}
.upnext-bell{top:10px!important;right:10px!important;font-size:15px}
.upnext-bell.is-on{color:var(--lime)!important}

/* rails header with two actions */
.rail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}

/* Returning viewers: the pitch becomes a slim strip at the bottom */
body.has-workspace .home-hero-v5{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;padding:22px 24px!important;margin-top:28px;border-radius:22px;border:1px solid var(--line-soft);background:var(--surface)}
body.has-workspace .home-hero-v5 .patch-demo,body.has-workspace .home-hero-v5 .home-hero-lede,body.has-workspace .home-hero-v5 .home-trust-row{display:none!important}
body.has-workspace .home-hero-v5 h1{font-size:clamp(22px,2.6vw,30px)!important;letter-spacing:-.03em!important;margin:0 0 12px!important}
body.has-workspace .home-hero-v5 .eyebrow{margin-bottom:6px}
body.has-workspace .home-hero-v5 .home-main-actions{margin:0!important}
body.has-workspace .home-workspace:not([hidden])~.home-hero-clean .home-hero-copy h1{font-size:clamp(22px,2.6vw,30px)!important}
body.has-workspace .home-proof,body.has-workspace .home-steps{display:none!important}

/* watch controls with share + last */
.tv-channel-controls #tv-share{background:rgba(98,230,255,.08);border-color:rgba(98,230,255,.35);color:var(--text)}
.rail-card b{display:block!important;-webkit-line-clamp:unset!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upnext-card b{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical}
@media(max-width:680px){.mytv-head .home-workspace-actions>a[href="/tv"]{display:none}}

/* 3.6.3 country chips */
.guide-countries{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:-4px 0 12px;padding:2px 0 4px}
.guide-countries::-webkit-scrollbar{display:none}
.guide-countries:empty{display:none}
.guide-countries button{flex:0 0 auto;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--line-soft);background:rgba(255,255,255,.03);color:var(--muted);font-weight:750;font-size:13.5px;cursor:pointer;white-space:nowrap}
.guide-countries button:hover{color:var(--text);background:rgba(255,255,255,.07)}
.guide-countries button.active{background:rgba(98,230,255,.14);border-color:rgba(98,230,255,.55);color:#fff}
/* == patchtv-v6.css == */
/* PatchTV 3.7.2 "Lift" design layer — loaded after patchtv-v5.css.
   Brighter dark streaming look: lifted surfaces, an aurora behind the home hero,
   richer channel tiles (full-bleed art, scrim, progress), coloured initials tiles,
   a warm accent next to the lime, a clean player poster and a single playback-failure card.
   No markup ids/classes used by JavaScript are changed. No transform on <main>. */

:root{
  --bg:#0a0d16;
  --panel:#121726;
  --surface:#151b2b;
  --surface-2:#1a2134;
  --surface-3:#222a40;
  --line:#2a3349;
  --line-soft:rgba(255,255,255,.09);
  --muted:#aab4c6;
  --warm:#ff9d4d;
  --warm-2:#ff5f7e;
  --warm-ink:#2a1200;
  --accent-grad:linear-gradient(90deg,var(--lime),#ffd35a 55%,var(--warm));
  --tile-meta-h:74px;
  --shadow-tile:0 1px 0 rgba(255,255,255,.06) inset,0 18px 40px -22px rgba(0,0,0,.85);
}

/* ---------- Lifted page background (all pages) ---------- */
body{
  background:
    radial-gradient(1100px 560px at 88% -8%,rgba(122,92,255,.16),transparent 70%),
    radial-gradient(900px 480px at 0% -6%,rgba(98,230,255,.11),transparent 70%),
    radial-gradient(800px 520px at 50% 110%,rgba(255,157,77,.05),transparent 70%),
    linear-gradient(180deg,#0d1120 0,#0a0d16 620px) var(--bg);
  background-attachment:fixed;
}
@media(max-width:680px){
  .site-header{background:rgba(11,14,24,.92)!important}
  .mobile-tabbar{background:rgba(13,17,29,.94)!important;border-top-color:rgba(255,255,255,.1)!important;box-shadow:0 -12px 30px -18px rgba(0,0,0,.9)}
  .mobile-tabbar a.active span{background:linear-gradient(135deg,rgba(196,255,77,.24),rgba(255,211,90,.14))}
}

/* ---------- Home: aurora behind the hero / My TV ---------- */
.home-page main{position:relative;isolation:isolate}
.home-page main::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  left:50%;top:-40px;width:min(1400px,140vw);height:760px;margin-left:max(-700px,-70vw);
  background:
    radial-gradient(38% 46% at 22% 30%,rgba(98,230,255,.20),transparent 70%),
    radial-gradient(34% 42% at 74% 22%,rgba(150,96,255,.24),transparent 72%),
    radial-gradient(30% 36% at 58% 62%,rgba(255,140,77,.14),transparent 70%),
    radial-gradient(26% 30% at 36% 70%,rgba(196,255,77,.10),transparent 70%);
  filter:blur(8px);opacity:.95;
  mask-image:linear-gradient(180deg,#000 55%,transparent);
  -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent);
}
@media(prefers-reduced-motion:no-preference){
  .home-page main::before{animation:ptv6-aurora 26s ease-in-out infinite alternate}
}
@keyframes ptv6-aurora{from{opacity:.75}to{opacity:1}}

/* ---------- Section headings ---------- */
.home-page .eyebrow{display:inline-flex;align-items:center;gap:8px;color:#d8ff8a;letter-spacing:.14em}
.home-page .eyebrow::before{content:"";width:16px;height:3px;border-radius:3px;background:var(--accent-grad);flex:0 0 auto}
.home-page .home-rail h2,.home-page .mytv-head h2{font-size:clamp(21px,2.3vw,28px);letter-spacing:-.025em;color:#fff}
.home-page .home-rail header{margin-bottom:14px}
.home-page .home-rails{gap:34px;margin-top:38px}
.home-page .rail-add-all{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
.home-page .rail-add-all:hover{border-color:rgba(255,211,90,.6)}
.home-page .home-rails-more a{color:#ffd35a}

/* ---------- Hero (new visitors) ---------- */
.home-hero-clean .home-hero-copy h1 span{background:linear-gradient(95deg,var(--lime) 10%,#ffe36b 60%,var(--warm));-webkit-background-clip:text;background-clip:text;color:transparent}
.home-hero-clean .home-hero-lede{color:#c9d1de!important}
.home-free-action{border-color:rgba(98,230,255,.45)!important;background:linear-gradient(145deg,rgba(26,62,84,.92),rgba(18,26,44,.92))!important;box-shadow:0 18px 40px -24px rgba(98,230,255,.55)}
.home-import-action{box-shadow:0 18px 44px -22px rgba(196,255,77,.65)}
.home-trust-row span{color:#c3cbd8}
.patch-demo{background:linear-gradient(160deg,rgba(32,40,62,.96),rgba(17,22,36,.96))!important;border-color:rgba(255,255,255,.11)!important}

/* ---------- Channel tiles: full-bleed art, scrim, progress ---------- */
.home-page .rail-track{grid-auto-columns:clamp(210px,19vw,270px);gap:14px;padding-bottom:12px}
.home-page .mytv-tiles{grid-auto-columns:clamp(210px,19vw,270px)!important}
@media(max-width:680px){
  .home-page .rail-track,.home-page .mytv-tiles{grid-auto-columns:70%!important}
  .home-page .home-rail header{flex-wrap:wrap;align-items:flex-start;gap:10px}
  .home-page .home-rail header>div:first-child{flex:1 1 100%}
  .home-page .home-rail header .rail-actions{justify-content:flex-start}
}
.home-page .rail-item:not(.upnext-item){container-type:inline-size}
.home-page .rail-item:not(.upnext-item)>.rail-card{
  display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;
  height:calc(100cqw * 9 / 16 + var(--tile-meta-h));
  border-radius:16px;border:0;background:var(--surface-2);
  box-shadow:var(--shadow-tile),0 0 0 1px rgba(255,255,255,.08);
}
.home-page .rail-item:not(.upnext-item)>.rail-card:hover,
.home-page .rail-item:not(.upnext-item)>.rail-card:focus-visible{box-shadow:var(--shadow-tile),0 0 0 2px rgba(255,211,90,.7)}
.home-page .rail-card .rail-art{flex:0 0 auto;width:100%;aspect-ratio:16/9;border-radius:0;
  background:linear-gradient(140deg,var(--h1,#2c3a5c),var(--h2,#151b2b))}
.home-page .rail-card .rail-art::after{content:"";position:absolute;inset:auto 0 0;height:55%;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(8,10,18,.55))}
/* logos are logos: contain them on a tinted tile instead of stretching (no white blobs) */
.home-page .rail-art.has-logo{background:radial-gradient(120% 90% at 50% 20%,rgba(255,255,255,.16),transparent 60%),linear-gradient(140deg,var(--h1,#2c3a5c),var(--h2,#151b2b))}
.home-page .rail-art img{object-fit:contain!important;inset:16% 20%!important;width:60%!important;height:68%!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
.home-page .rail-art i{color:rgba(255,255,255,.92)!important;font-size:clamp(26px,9cqw,38px)!important;letter-spacing:-.02em;text-shadow:0 4px 18px rgba(0,0,0,.35)}
.home-page .rail-art.has-logo i{opacity:0}
.home-page .rail-art em{z-index:2;left:10px;top:10px;padding:4px 8px;border-radius:999px;background:linear-gradient(90deg,var(--warm-2),var(--warm));box-shadow:0 4px 14px -4px rgba(255,95,126,.7)}
.home-page .rail-art em::before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#fff;vertical-align:1px}
.home-page .rail-card>b{padding:10px 12px 0;font-size:15px;color:#fff}
.home-page .rail-card>small{padding:2px 12px 0;font-size:12.5px;color:var(--muted)}
.home-page .rail-card>.rail-progress{position:absolute;left:0;right:0;top:calc(100cqw * 9 / 16 - 4px);height:4px;margin:0;border-radius:0;background:rgba(255,255,255,.18);z-index:2}
.home-page .rail-card>.rail-progress i{background:var(--accent-grad);border-radius:0}
.home-page .rail-card{position:relative}
.home-page .rail-star{top:10px;right:10px;width:36px;height:36px;background:rgba(10,13,22,.62);border:1px solid rgba(255,255,255,.14);z-index:3}
/* initials / logo tile palette, chosen per channel by home.js (data-hue) */
.rail-art[data-hue="0"]{--h1:#4c6ef5;--h2:#1b2560}
.rail-art[data-hue="1"]{--h1:#e64980;--h2:#45102c}
.rail-art[data-hue="2"]{--h1:#12b886;--h2:#0a3a2c}
.rail-art[data-hue="3"]{--h1:#fd7e14;--h2:#4a2008}
.rail-art[data-hue="4"]{--h1:#845ef7;--h2:#2a1758}
.rail-art[data-hue="5"]{--h1:#40c057;--h2:#123a1a}
.rail-art[data-hue="6"]{--h1:#fa5252;--h2:#4a1214}
.rail-art[data-hue="7"]{--h1:#fab005;--h2:#4a3404}
/* skeletons are exactly tile-sized, so cards replace them without moving anything */
.home-page .rail-track>.rail-skeleton{aspect-ratio:auto;height:auto;padding-bottom:var(--tile-meta-h);border-radius:16px;
  background:linear-gradient(90deg,#161c2c,#20283d,#161c2c) 0 0/480px 100%}
.home-page .rail-track>.rail-skeleton::before{content:"";display:block;aspect-ratio:16/9}
.home-page .rail-track>.rail-skeleton.upnext-skeleton{padding-bottom:0;height:118px}
.home-page .rail-track>.rail-skeleton.upnext-skeleton::before{display:none}
@media(prefers-reduced-motion:reduce){.home-page .rail-skeleton{animation:none!important}}

/* ---------- My TV strip ---------- */
.home-page .mytv-strip{
  border:0!important;padding:20px 18px 14px!important;border-radius:24px!important;
  background:
    radial-gradient(520px 220px at 0 0,rgba(196,255,77,.12),transparent 70%),
    radial-gradient(520px 240px at 100% 0,rgba(150,96,255,.16),transparent 70%),
    linear-gradient(180deg,rgba(30,38,60,.92),rgba(20,26,42,.92))!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.1),0 30px 70px -40px rgba(0,0,0,.95)!important;
}
.home-page .mytv-summary{color:#d3dae6!important;font-size:14.5px;line-height:1.45;min-height:calc(2 * 1.45em)}
.home-page .mytv-summary-hint{display:inline-block;margin-top:1px;color:var(--muted);font-size:12.5px;font-weight:500;opacity:.85}
.home-page .mytv-empty{padding:18px;border-radius:14px;background:rgba(255,255,255,.04)}
.home-page .setup-checklist.is-compact{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.07)!important}
.home-page .checklist-next{color:#e3ff9e}
.home-page .mytv-head .secondary-action{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.13)}

/* ---------- Up next ---------- */
.home-page .upnext-card{background:linear-gradient(160deg,var(--surface-3),var(--surface-2))!important;border:0!important;box-shadow:var(--shadow-tile),0 0 0 1px rgba(255,255,255,.08)}
.home-page .upnext-when{background:rgba(255,157,77,.16);color:#ffc28f}
.home-page .upnext-empty{display:flex;align-items:center;min-height:118px;padding:16px 18px;border-radius:16px;grid-column:1/-1;width:min(560px,86vw);
  background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.14);color:var(--muted);font-size:14px}
.home-page .upnext-empty:hover{color:var(--text)}

/* ---------- Returning viewers: lay out "My TV first" before home.js runs (no jump) ---------- */
html.ptv-has-mytv body.home-page main{display:flex;flex-direction:column}
html.ptv-has-mytv body.home-page main>*{order:5;min-width:0}
html.ptv-has-mytv body.home-page #home-workspace{order:1}
html.ptv-has-mytv body.home-page #rail-upnext{order:2}
html.ptv-has-mytv body.home-page #home-rails{order:3}
html.ptv-has-mytv body.home-page .home-hero-v5{order:4}
html.ptv-has-mytv body.home-page #home-workspace[hidden]{display:block!important}
html.ptv-has-mytv body.home-page #rail-upnext.is-loading[hidden]{display:block!important}
html.ptv-has-mytv body.home-page .home-hero-v5{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;padding:22px 24px!important;margin-top:28px;border-radius:22px;border:1px solid var(--line-soft);background:var(--surface)}
html.ptv-has-mytv body.home-page .home-hero-v5 .patch-demo,
html.ptv-has-mytv body.home-page .home-hero-v5 .home-hero-lede,
html.ptv-has-mytv body.home-page .home-hero-v5 .home-trust-row,
html.ptv-has-mytv body.home-page .home-proof,
html.ptv-has-mytv body.home-page .home-steps{display:none!important}
html.ptv-has-mytv body.home-page .home-hero-v5 h1{font-size:clamp(22px,2.6vw,30px)!important;letter-spacing:-.03em!important;margin:0 0 12px!important}
html.ptv-has-mytv body.home-page .home-hero-v5 .home-main-actions{margin:0!important}
html.ptv-has-mytv body.home-page .home-upnext{margin-top:22px}
html.ptv-has-mytv body.home-page .home-rails{margin-top:30px}

/* ---------- Lower home sections ---------- */
.home-page .home-proof-points article,.home-page .home-steps article{background:linear-gradient(160deg,var(--surface-2),var(--surface))!important;border-color:rgba(255,255,255,.09)!important}
.home-page .home-premium-teaser{background:radial-gradient(520px 200px at 100% 0,rgba(255,157,77,.16),transparent 70%),linear-gradient(160deg,var(--surface-2),var(--surface))!important;border-color:rgba(255,157,77,.28)!important}
.home-page .home-final-cta{background:radial-gradient(600px 240px at 50% 0,rgba(196,255,77,.16),transparent 70%),radial-gradient(500px 220px at 50% 100%,rgba(150,96,255,.14),transparent 70%),var(--surface)!important}

/* ---------- Watch: clean player poster (replaces the social share card) ---------- */
.watch-poster{aspect-ratio:16/9}
.player-poster{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:1fr auto;align-items:center;gap:6px 16px;
  width:100%;height:100%;padding:clamp(14px,4%,28px);overflow:hidden;isolation:isolate;
  background:radial-gradient(80% 90% at 85% 10%,color-mix(in srgb,var(--h1) 55%,transparent),transparent 70%),
             radial-gradient(70% 80% at 0% 100%,rgba(98,230,255,.16),transparent 70%),
             linear-gradient(150deg,#1c2338,#0b0e18)}
.player-poster[hidden]{display:none!important}
.player-poster.hue-0{--h1:#4c6ef5}.player-poster.hue-1{--h1:#e64980}.player-poster.hue-2{--h1:#12b886}.player-poster.hue-3{--h1:#fd7e14}
.player-poster.hue-4{--h1:#845ef7}.player-poster.hue-5{--h1:#40c057}.player-poster.hue-6{--h1:#fa5252}.player-poster.hue-7{--h1:#fab005}
.player-poster-art{grid-row:2;grid-column:1;position:relative;display:grid;place-items:center;width:clamp(56px,14vw,108px);aspect-ratio:1;border-radius:18px;overflow:hidden;
  background:linear-gradient(140deg,var(--h1),#141a2b);box-shadow:0 0 0 1px rgba(255,255,255,.14),0 14px 30px -14px rgba(0,0,0,.8)}
.player-poster.has-logo .player-poster-art{background:radial-gradient(100% 80% at 50% 15%,rgba(255,255,255,.22),transparent 65%),linear-gradient(140deg,var(--h1),#141a2b)}
.player-poster-initials{font-weight:900;font-size:clamp(20px,4.6vw,36px);color:#fff;letter-spacing:-.02em}
.player-poster-logo{position:absolute;inset:14%;width:72%!important;height:72%!important;object-fit:contain!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
.player-poster.has-logo .player-poster-initials{opacity:0}
.player-poster-copy{grid-row:2;grid-column:2;display:grid;gap:3px;min-width:0;align-self:end}
.player-poster-copy b{font-size:clamp(17px,2.4vw,28px);line-height:1.15;letter-spacing:-.02em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-poster-copy small{color:#d4dbe7;font-size:clamp(12.5px,1.4vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-poster-copy small span{color:#ffc28f;font-weight:800}
.player-poster-play{grid-row:1;grid-column:1/-1;justify-self:center;align-self:center;width:clamp(64px,16vw,92px);height:clamp(64px,16vw,92px);margin:0;padding:0;
  display:grid;place-items:center;border-radius:50%;border:0;cursor:pointer;color:#0a1400;
  background:radial-gradient(circle at 35% 30%,#e8ffad,var(--lime) 60%);
  box-shadow:0 0 0 8px rgba(196,255,77,.18),0 18px 40px -12px rgba(0,0,0,.8)}
.player-poster-play svg{width:42%;height:42%;margin-left:6%;pointer-events:none}
.player-poster-play:hover{box-shadow:0 0 0 12px rgba(196,255,77,.24),0 18px 40px -12px rgba(0,0,0,.8)}
.player-poster-play:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(prefers-reduced-motion:no-preference){
  .player-poster-play{transition:box-shadow .2s var(--ease)}
}
.watch-poster.is-docked .player-poster{padding:0;display:block}
.watch-poster.is-docked .player-poster-copy,.watch-poster.is-docked .player-poster-play{display:none}
.watch-poster.is-docked .player-poster-art{width:100%;height:100%;border-radius:8px;aspect-ratio:auto}

/* ---------- Watch: one failure message, region wording, real next step ---------- */
.patch-controls.has-failure>#patchtv-patch-status{display:none}
.playback-recovery{border-color:rgba(255,190,90,.45)!important;background:radial-gradient(420px 160px at 0 0,rgba(255,157,77,.14),transparent 70%),linear-gradient(160deg,#241c12,#141824)!important}
.playback-recovery>span{background:linear-gradient(135deg,#ffd35a,var(--warm))!important}
.playback-recovery b#patchtv-recovery-title{font-size:17px;color:#fff}
.playback-recovery p#patchtv-recovery-detail{color:#d8dde7!important;font-size:14px!important}
.playback-recovery nav{align-items:center}
.playback-recovery nav .recovery-primary{min-height:44px;padding:0 18px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-weight:850;font-size:15px;color:var(--warm-ink);
  background:linear-gradient(135deg,#ffd35a,var(--warm));box-shadow:0 12px 30px -14px rgba(255,157,77,.8)}
.playback-recovery nav .recovery-primary:disabled{opacity:.75;cursor:progress}
.playback-recovery nav a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;font-size:13px!important}
@media(max-width:560px){.playback-recovery nav .recovery-primary{width:100%}}

/* after a failed start the poster comes back (no black box), with a retry ring */
.player-poster.is-failed .player-poster-play{background:radial-gradient(circle at 35% 30%,#fff1c4,#ffd35a 60%);box-shadow:0 0 0 8px rgba(255,211,90,.18),0 18px 40px -12px rgba(0,0,0,.8)}
.player-poster.is-failed::after{content:"Not playing here";position:absolute;left:0;right:0;margin:0 auto;width:max-content;top:12px;padding:4px 10px;border-radius:999px;background:rgba(10,13,22,.7);color:#ffd9a8;font-size:12px;font-weight:800;white-space:nowrap}

/* ---------- Returning viewers: big "watch now" hero inside My TV ---------- */
.mytv-feature{position:relative;display:grid;grid-template-columns:1fr;margin:-6px -4px 18px;border-radius:20px;overflow:hidden;isolation:isolate;
  min-height:clamp(210px,46vw,300px);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 26px 60px -30px rgba(0,0,0,.95)}
.mytv-feature[hidden]{display:none!important}
.mytv-feature-art{position:absolute;inset:0;z-index:-1;display:grid;place-items:center;
  background:radial-gradient(90% 120% at 85% 0%,color-mix(in srgb,var(--h1,#7048e8) 80%,transparent),transparent 65%),
             radial-gradient(70% 90% at 0% 100%,rgba(98,230,255,.22),transparent 70%),linear-gradient(140deg,var(--h1,#3b5bdb),#121729 70%)}
.mytv-feature-art[data-hue="0"]{--h1:#4c6ef5}.mytv-feature-art[data-hue="1"]{--h1:#e64980}.mytv-feature-art[data-hue="2"]{--h1:#12b886}.mytv-feature-art[data-hue="3"]{--h1:#fd7e14}
.mytv-feature-art[data-hue="4"]{--h1:#845ef7}.mytv-feature-art[data-hue="5"]{--h1:#40c057}.mytv-feature-art[data-hue="6"]{--h1:#fa5252}.mytv-feature-art[data-hue="7"]{--h1:#fab005}
.mytv-feature-art i{position:absolute;right:6%;top:12%;font-style:normal;font-weight:900;font-size:clamp(64px,22vw,140px);letter-spacing:-.04em;color:rgba(255,255,255,.16)}
.mytv-feature-art img{position:absolute;right:6%;top:9%;width:min(46%,260px);height:38%;object-fit:contain;filter:drop-shadow(0 10px 24px rgba(0,0,0,.5))}
.mytv-feature-art.has-logo i{opacity:0}
.mytv-feature-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(8,10,20,.82) 92%)}
.mytv-feature-copy{align-self:end;display:grid;gap:4px;padding:18px 92px 18px 18px;min-width:0}
.mytv-feature-kicker{justify-self:start;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:normal;font-size:11px;font-weight:900;letter-spacing:.12em;padding:4px 9px;border-radius:999px;
  background:linear-gradient(90deg,var(--warm-2),var(--warm));color:#fff;box-shadow:0 6px 18px -6px rgba(255,95,126,.8)}
.mytv-feature-title{font-size:clamp(24px,6.4vw,38px);line-height:1.05;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 14px rgba(0,0,0,.5)}
.mytv-feature-now{color:#e6ebf3;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mytv-feature-progress{display:block;height:4px;margin-top:6px;border-radius:9px;background:rgba(255,255,255,.22);overflow:hidden;visibility:hidden}
.mytv-feature.has-progress .mytv-feature-progress{visibility:visible}
.mytv-feature-progress i{display:block;width:0;height:100%;background:var(--accent-grad)}
.mytv-feature-play{position:absolute;right:16px;bottom:18px;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;color:#0a1400;
  background:radial-gradient(circle at 35% 30%,#e8ffad,var(--lime) 60%);box-shadow:0 0 0 7px rgba(196,255,77,.2),0 14px 30px -10px rgba(0,0,0,.8)}
.mytv-feature-play svg{width:26px;height:26px;margin-left:3px}
.mytv-feature:not(.is-ready) .mytv-feature-play{opacity:.35}
.mytv-feature:hover .mytv-feature-play,.mytv-feature:focus-visible .mytv-feature-play{box-shadow:0 0 0 10px rgba(196,255,77,.28),0 14px 30px -10px rgba(0,0,0,.8)}
.mytv-feature:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(min-width:900px){.mytv-feature{min-height:300px}.mytv-feature-copy{padding:28px 120px 28px 28px}.mytv-feature-play{width:76px;height:76px;right:28px;bottom:28px}}
/* one lime button on the screen: the hero play; guide becomes secondary */
.home-page .mytv-head .home-workspace-actions .secondary-action{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#fff}
.home-page .mytv-head h2{font-size:clamp(19px,2vw,24px)}
/* setup checklist now lives quietly under the rails, returning viewers only */
#home-rails>.setup-checklist{margin-top:4px!important}
html:not(.ptv-has-mytv) body:not(.has-workspace) #home-rails>.setup-checklist{display:none!important}

/* ================= 3.7.3: more colour and contrast ================= */
.rail-card[data-hue="0"]{--c:#4c6ef5}.rail-card[data-hue="1"]{--c:#e64980}.rail-card[data-hue="2"]{--c:#12b886}.rail-card[data-hue="3"]{--c:#fd7e14}
.rail-card[data-hue="4"]{--c:#845ef7}.rail-card[data-hue="5"]{--c:#40c057}.rail-card[data-hue="6"]{--c:#fa5252}.rail-card[data-hue="7"]{--c:#fab005}
/* each tile's info area carries its channel colour, with a coloured edge */
.home-page .rail-item:not(.upnext-item)>.rail-card[data-hue]{
  background:linear-gradient(180deg,color-mix(in srgb,var(--c) 30%,#141a2c),color-mix(in srgb,var(--c) 12%,#121726));
  box-shadow:var(--shadow-tile),0 0 0 1px color-mix(in srgb,var(--c) 55%,transparent)}
.home-page .rail-item:not(.upnext-item)>.rail-card[data-hue]:hover,
.home-page .rail-item:not(.upnext-item)>.rail-card[data-hue]:focus-visible{box-shadow:var(--shadow-tile),0 0 0 2px var(--c),0 18px 40px -18px var(--c)}
.home-page .rail-card[data-hue]>small{color:color-mix(in srgb,var(--c) 35%,#e8edf5)}
.home-page .rail-art{background:linear-gradient(140deg,var(--h1),var(--h2))!important}
.home-page .rail-art.has-logo{background:radial-gradient(120% 90% at 50% 20%,rgba(255,255,255,.22),transparent 60%),linear-gradient(140deg,var(--h1),var(--h2))!important}
/* My TV panel: vivid violet/cyan glow instead of flat grey */
.home-page .mytv-strip{
  background:
    radial-gradient(560px 260px at 0% 0%,rgba(98,230,255,.26),transparent 70%),
    radial-gradient(620px 300px at 100% 10%,rgba(150,96,255,.34),transparent 72%),
    radial-gradient(500px 260px at 50% 100%,rgba(255,95,126,.16),transparent 70%),
    linear-gradient(180deg,#222b4a,#171d33)!important;
  box-shadow:0 0 0 1px rgba(160,140,255,.32),0 30px 70px -40px rgba(60,40,160,.9)!important}
.home-page .mytv-summary{color:#fff!important;font-weight:650}
.home-page .mytv-summary-hint{color:#b9c6ff;opacity:1}
.home-page .mytv-head .home-workspace-actions .secondary-action{background:rgba(98,230,255,.12);border:1px solid rgba(98,230,255,.45);color:#e8fbff}
.home-page .mytv-head .home-workspace-actions [data-surprise]{background:rgba(255,95,126,.14);border-color:rgba(255,120,150,.5);color:#ffe8ee}
.home-page .eyebrow{color:#e3ff8f}
/* section headers on the rails get their own colour */
.home-page #rail-live .eyebrow{color:#ff9db2}.home-page #rail-sports .eyebrow{color:#7cf0c4}.home-page #rail-news .eyebrow{color:#a8c4ff}
.home-page #rail-live .eyebrow::before{background:linear-gradient(90deg,#ff5f7e,#ff9d4d)}
.home-page #rail-sports .eyebrow::before{background:linear-gradient(90deg,#12b886,#62e6ff)}
.home-page #rail-news .eyebrow::before{background:linear-gradient(90deg,#4c6ef5,#845ef7)}
.home-page .upnext-card{background:linear-gradient(160deg,#2a2f55,#1c2140)!important}

/* ================= 3.7.4: calmer structure, one button system, a live spotlight ================= */
/* --- one button system on home: glass pills with line icons, one lime action per screen --- */
.home-page .ico{width:18px;height:18px;flex:0 0 auto}
.home-page .mytv-head .home-workspace-actions>*,
.home-page .rail-add-all,
.home-page .home-final-cta .secondary-action{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;min-height:42px;padding:0 16px;border-radius:999px;
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.13)!important;color:#f3f6fb!important;
  font-weight:700;font-size:14px;letter-spacing:-.005em;box-shadow:0 1px 0 rgba(255,255,255,.07) inset;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.home-page .mytv-head .home-workspace-actions>*:hover,.home-page .rail-add-all:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.24)!important}
.home-page .mytv-head .home-workspace-actions>a .ico{color:#62e6ff}
.home-page [data-surprise] .ico{color:#ff8fb0}
.home-page .rail-add-all .ico{color:var(--lime)}
.home-page .rail-add-all{height:36px;min-height:36px;padding:0 13px;font-size:13px}
.home-page .rail-add-all:disabled{color:var(--lime)!important}
/* rail headers: title left, actions right, one line; long titles may wrap to two */
.home-page .home-rail header{display:flex;flex-wrap:nowrap!important;align-items:flex-end!important;gap:12px;margin-bottom:14px}
.home-page .home-rail header>div:first-child{flex:1 1 auto!important;min-width:0}
.home-page .home-rail h2{font-size:clamp(19px,2.1vw,25px)!important;line-height:1.15}
.home-page .home-rail header .rail-actions{flex:0 0 auto;justify-content:flex-end}
@media(max-width:680px){.home-page .rail-surprise{display:none!important}}
/* --- star button: crisp icon instead of a font glyph --- */
.home-page .rail-star{display:grid;place-items:center;color:rgba(255,255,255,.9)}
.home-page .rail-star svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.home-page .rail-star svg path{fill:transparent;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.home-page .rail-star.is-on{color:#ffd35a}
.home-page .rail-star.is-on svg path{fill:#ffd35a;stroke:#ffd35a}
.home-page .upnext-bell{font-size:14px}
/* --- My TV: no box-in-a-box; the spotlight carries the colour --- */
.home-page .mytv-strip{background:transparent!important;box-shadow:none!important;border:0!important;padding:4px 0 0!important;margin-inline:0!important}
.home-page .mytv-head{margin:6px 0 14px}
.home-page .mytv-summary{font-weight:600}
/* --- spotlight carousel --- */
.mytv-feature{display:block;margin:0 0 20px;padding:0;min-height:0;border-radius:22px;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 28px 70px -30px color-mix(in srgb,var(--h1,#845ef7) 85%,transparent);
  transition:box-shadow .6s var(--ease)}
.mytv-feature[data-hue="0"]{--h1:#4c6ef5}.mytv-feature[data-hue="1"]{--h1:#e64980}.mytv-feature[data-hue="2"]{--h1:#12b886}.mytv-feature[data-hue="3"]{--h1:#fd7e14}
.mytv-feature[data-hue="4"]{--h1:#845ef7}.mytv-feature[data-hue="5"]{--h1:#40c057}.mytv-feature[data-hue="6"]{--h1:#fa5252}.mytv-feature[data-hue="7"]{--h1:#fab005}
.mytv-feature-link{position:relative;display:grid;min-height:clamp(220px,58vw,320px);border-radius:22px;overflow:hidden;isolation:isolate;color:#fff}
.mytv-feature-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mytv-feature-art{transition:background .6s var(--ease)}
.mytv-feature-art img[hidden]{display:none}
.mytv-feature-copy{padding:44px 96px 20px 20px!important}
.mytv-feature-art,.mytv-feature-copy{transition:opacity .22s var(--ease)}
.mytv-feature.is-swapping .mytv-feature-art img,.mytv-feature.is-swapping .mytv-feature-art i,.mytv-feature.is-swapping .mytv-feature-copy{opacity:0}
.mytv-feature-art img,.mytv-feature-art i{transition:opacity .22s var(--ease)}
.mytv-feature-play{right:18px!important;bottom:22px!important}
/* story-style step bars along the top */
.mytv-feature-steps{position:absolute;left:16px;right:16px;top:12px;z-index:3;display:flex;gap:5px;pointer-events:none}
.mytv-feature-steps:empty{display:none}
.mytv-feature-steps button{pointer-events:auto;flex:1 1 0;height:20px;margin:-8px 0;padding:8px 0;border:0;background:none;cursor:pointer}
.mytv-feature-steps button i{position:relative;display:block;height:4px;border-radius:4px;background:rgba(255,255,255,.28);overflow:hidden}
.mytv-feature-steps button i::after{content:"";position:absolute;inset:0;width:0;background:#fff;border-radius:4px}
.mytv-feature-steps button.is-done i::after{width:100%}
.mytv-feature.is-carousel .mytv-feature-steps button.is-active i::after{animation:ptv7-step var(--slide-ms,7s) linear forwards}
.mytv-feature-steps button.is-active i::after{width:100%}
.mytv-feature.is-carousel .mytv-feature-steps button.is-active i::after{width:0}
@keyframes ptv7-step{to{width:100%}}
.mytv-feature.is-paused .mytv-feature-steps i,.mytv-feature.is-paused .mytv-feature-steps i::after,
.mytv-feature.is-offscreen .mytv-feature-steps i,.mytv-feature.is-offscreen .mytv-feature-steps i::after{animation-play-state:paused!important}
@media(min-width:900px){.mytv-feature-link{min-height:320px}.mytv-feature-copy{padding:52px 130px 30px 30px!important}}
/* the play button breathes gently so the eye returns to it (still frames look finished) */
@media(prefers-reduced-motion:no-preference){
  .mytv-feature-play{animation:ptv7-breathe 2.8s ease-in-out infinite}
  .home-page .rail-art em::before{animation:ptv7-live 1.6s ease-in-out infinite}
}
@keyframes ptv7-breathe{0%,100%{box-shadow:0 0 0 7px rgba(196,255,77,.18),0 14px 30px -10px rgba(0,0,0,.8)}50%{box-shadow:0 0 0 13px rgba(196,255,77,.10),0 14px 30px -10px rgba(0,0,0,.8)}}
@keyframes ptv7-live{0%,100%{opacity:1}50%{opacity:.35}}
/* --- calmer rhythm: same spacing between every section --- */
.home-page .home-rails{gap:36px!important;margin-top:34px!important}
.home-page .home-upnext{margin-top:30px!important}
/* --- returning viewers: one quiet "make it better" strip, no repeated sales blocks --- */
body.has-workspace .home-final-cta,html.ptv-has-mytv body.home-page .home-final-cta{display:none!important}
html.ptv-has-mytv body.home-page .home-hero-v5 .home-import-action,body.has-workspace .home-hero-v5 .home-import-action{background:rgba(255,255,255,.07)!important;color:#f3f6fb!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important}
html.ptv-has-mytv body.home-page .home-hero-v5 .home-import-action small,body.has-workspace .home-hero-v5 .home-import-action small{color:var(--muted)!important}
html.ptv-has-mytv body.home-page .home-hero-v5 .home-import-action>span,body.has-workspace .home-hero-v5 .home-import-action>span{background:var(--lime)!important;color:#0a1400!important}
.home-page .setup-checklist.is-compact,.home-page .home-hero-v5,.home-page .home-premium-teaser{border-radius:20px!important;border:1px solid rgba(255,255,255,.1)!important}

.home-page .mytv-summary{display:flex;flex-wrap:wrap;gap:6px;min-height:0!important;margin-top:8px!important;font-weight:600}
.home-page .mytv-stat{display:inline-flex;align-items:baseline;gap:5px;height:30px;padding:0 11px;border-radius:999px;font-size:13px;color:#dfe6f2;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.11);align-items:center}
.home-page .mytv-stat b{font-size:14px;color:#fff}
.home-page .mytv-stat.is-working{background:rgba(64,192,87,.14);border-color:rgba(64,192,87,.4)}
.home-page .mytv-stat.is-working b{color:#8ff0a4}
.home-page .mytv-stat.is-offline b{color:#ffa8b8}
.home-page .mytv-summary-hint{flex:1 1 100%;margin-top:2px}
/* logos that carry their own box read as stickers: round and lift them */
.home-page .rail-art img,.mytv-feature-art img{border-radius:8px}
html.ptv-has-mytv .home-page .mytv-summary,html.ptv-has-mytv body.home-page .mytv-summary{min-height:58px!important;align-content:flex-start}

/* ================= 3.7.5: guide preview replaces the Up next cards ================= */
.guide-peek header{align-items:flex-end}
.guide-peek-box{--name-w:clamp(104px,30%,190px);--row-h:58px;position:relative;padding:12px 12px 6px;border-radius:20px;
  background:linear-gradient(180deg,rgba(34,42,72,.92),rgba(22,27,46,.92));box-shadow:0 0 0 1px rgba(160,140,255,.22),0 24px 60px -36px rgba(40,30,140,.9);contain:layout paint}
.guide-peek-ruler{position:relative;height:22px;margin-left:var(--name-w);font-size:11.5px;font-weight:800;color:#aab4d6;letter-spacing:.02em}
.guide-peek-ruler span{position:absolute;top:0;padding-left:6px;border-left:1px solid rgba(255,255,255,.14);line-height:16px;white-space:nowrap}
.guide-peek-rows{display:grid;grid-template-rows:repeat(5,1fr);grid-auto-rows:1fr;gap:6px;height:calc(var(--row-h) * 5 + 24px)}
.guide-peek-rows:has(> :nth-child(2):last-child){grid-template-rows:repeat(2,1fr)}
.guide-peek-rows:has(> :nth-child(3):last-child){grid-template-rows:repeat(3,1fr)}
.guide-peek-rows:has(> :nth-child(4):last-child){grid-template-rows:repeat(4,1fr)}
.guide-peek-rows:has(> :only-child){grid-template-rows:1fr}
.guide-peek-row{display:grid;grid-template-columns:var(--name-w) minmax(0,1fr);min-height:0}
.guide-peek-channel{display:flex;align-items:center;gap:8px;min-width:0;padding-right:8px;color:#fff}
.guide-peek-channel i{position:relative;flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:10px;overflow:hidden;font-style:normal;font-size:11px;font-weight:900;color:#fff;
  background:linear-gradient(140deg,var(--c,#845ef7),color-mix(in srgb,var(--c,#845ef7) 35%,#111))}
.guide-peek-channel i[data-hue="0"]{--c:#4c6ef5}.guide-peek-channel i[data-hue="1"]{--c:#e64980}.guide-peek-channel i[data-hue="2"]{--c:#12b886}.guide-peek-channel i[data-hue="3"]{--c:#fd7e14}
.guide-peek-channel i[data-hue="4"]{--c:#845ef7}.guide-peek-channel i[data-hue="5"]{--c:#40c057}.guide-peek-channel i[data-hue="6"]{--c:#fa5252}.guide-peek-channel i[data-hue="7"]{--c:#fab005}
.guide-peek-channel i img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain}
.guide-peek-channel i.has-logo{color:transparent;background:radial-gradient(100% 80% at 50% 20%,rgba(255,255,255,.22),transparent 70%),linear-gradient(140deg,var(--c),color-mix(in srgb,var(--c) 35%,#111))}
.guide-peek-channel b{font-size:13px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.guide-peek-lane{position:relative;min-width:0;border-radius:12px;background:rgba(255,255,255,.035);overflow:hidden}
.guide-peek-show{position:absolute;top:3px;bottom:3px;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:0 9px;border-radius:10px;overflow:hidden;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#e9eef7;margin-left:1px}
.guide-peek-show b{position:relative;font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-peek-show small{position:relative;font-size:11px;color:#a9b3c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-peek-show:hover{background:rgba(255,255,255,.13)}
.guide-peek-show.is-live{background:linear-gradient(135deg,rgba(132,94,247,.55),rgba(76,110,245,.4));border-color:rgba(180,160,255,.55);color:#fff}
.guide-peek-show.is-live small{color:#ffd9a8;font-weight:700}
.guide-peek-fill{position:absolute;left:0;top:0;bottom:0;background:rgba(255,255,255,.12)}
.guide-peek-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--warm);box-shadow:0 0 10px rgba(255,157,77,.8);z-index:2;pointer-events:none}
.guide-peek-ruler .guide-peek-now{top:16px;height:6px;bottom:auto;border-radius:2px}
.guide-peek-more{display:flex;align-items:center;justify-content:center;height:40px;margin-top:6px;font-size:13.5px;font-weight:800;color:#c9d4ff}
.guide-peek-more:hover{color:#fff}
.guide-peek-skeleton{display:block;border-radius:12px;background:linear-gradient(90deg,#1c2340,#273056,#1c2340) 0 0/480px 100%;animation:ptv-shimmer 1.3s linear infinite}
@media(prefers-reduced-motion:reduce){.guide-peek-skeleton{animation:none}}
.guide-peek-empty{grid-row:1/-1;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted);font-size:14px}
html.ptv-has-mytv body.home-page #rail-upnext.is-loading[hidden]{display:block!important}
@media(max-width:680px){.guide-peek-box{--row-h:56px;padding:10px 8px 4px;margin-inline:-4px}.guide-peek-channel i{flex-basis:30px;height:30px}.guide-peek-channel b{font-size:12px}}
.guide-peek-show{padding:0 8px}.guide-peek-show b{font-size:12.5px}
.guide-peek-show.is-tiny{padding:0}.guide-peek-show.is-tiny b,.guide-peek-show.is-tiny small{display:none}
/* 3.9.24: blocks too narrow for a second line keep the title only (home.js fitPeekBlocks measures real px) */
.guide-peek-show.is-narrow{padding:0 4px}.guide-peek-show.is-narrow small{display:none}
.guide-peek-show.is-grouped{display:none}
.guide-empty-actions button{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text);font:inherit;font-weight:800;cursor:pointer}
body.guide-my-nomatch #mobile-now-list,body.guide-my-nomatch #timeline-viewport{display:none!important}

/* ================= 3.7.7: 18+ Live (members-only) ================= */
.guide-topics .adult-topic{display:inline-flex;align-items:center;flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:999px;font-weight:800;font-size:14px;
  color:#ffe1ea;background:rgba(255,45,85,.16);border:1px solid rgba(255,90,130,.5)}
.adult-settings{margin-top:18px}
.adult-settings .adult-confirm,.adult-settings .adult-hide-here{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:14px;color:var(--text)}
.adult-settings input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;margin-top:1px;accent-color:#ff4d79}
.adult-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.adult-settings-actions>*{min-height:44px;display:inline-flex;align-items:center;padding:0 18px;border-radius:12px;font-weight:800;cursor:pointer}
.adult-settings .secondary-action{border:1px solid var(--line);background:var(--surface-3);color:var(--text)}
.adult-settings-note{min-height:1.2em;color:var(--muted);font-size:13.5px}
.adult-settings-note.is-warn{color:#ffc28f}
#adult-source .source-icon{font-size:15px;font-weight:900;color:#ff8fab}
.live18-shell{padding:28px 0 40px}
.live18-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.live18-head h1{margin:0;font-size:clamp(30px,4vw,46px);letter-spacing:-.03em}
.live18-head .eyebrow{color:#ff9db2!important}
.live18-head .secondary-action{min-height:40px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.06)}
.live18-sub{display:flex;align-items:center;gap:8px;margin:6px 0 0;color:var(--muted)}
.live18-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ff2d55;box-shadow:0 0 10px #ff2d55}
.live18-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.live18-grid-small{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
@media(max-width:680px){.live18-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.live18-card{display:grid;gap:3px;color:var(--text);min-width:0}
.live18-art{position:relative;display:block;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#1a1420;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.live18-art img{width:100%;height:100%;object-fit:cover;transition:transform .3s var(--ease)}
.live18-card:hover .live18-art img{transform:scale(1.04)}
.live18-art em{position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:999px;background:#ff2d55;color:#fff;font-style:normal;font-size:10.5px;font-weight:900;letter-spacing:.08em}
.live18-art i{position:absolute;right:8px;top:8px;padding:2px 6px;border-radius:6px;background:rgba(0,0,0,.6);color:#fff;font-style:normal;font-size:10.5px;font-weight:800}
.live18-card b{margin-top:5px;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live18-card small{color:var(--muted);font-size:12.5px}
.live18-player{position:relative;margin-top:14px;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.live18-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:680px){.live18-player{aspect-ratio:3/4;margin-inline:-6px}}
.live18-meta h1{margin:14px 0 4px;font-size:clamp(24px,3vw,34px)}
.live18-meta p{display:flex;align-items:center;gap:8px;color:var(--muted);margin:0}
.live18-more-title{margin:28px 0 12px;font-size:20px}
.live18-empty{padding:28px;border-radius:18px;background:var(--surface);border:1px solid var(--line-soft);margin:14px 0}
.live18-empty h2{margin:0 0 6px}
.live18-empty p{color:var(--muted);margin:0}
.live18-note{margin-top:22px;color:var(--muted);font-size:13px}

.live18-player video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.live18-player-status{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);margin:0;padding:6px 14px;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;font-size:13px;white-space:nowrap}
.live18-player-status[hidden]{display:none}
.live18-unmute{position:absolute;right:14px;top:14px;z-index:2;min-height:40px;padding:0 14px;border-radius:999px;border:0;background:#ff2d55;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.live18-unmute[hidden]{display:none}
.live18-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.live18-chat{min-height:44px;display:inline-flex;align-items:center;padding:0 18px;border-radius:12px;font-weight:800;background:linear-gradient(90deg,#ff2d78,#ff5f3d);color:#fff}

.account-dashboard .adult-settings{display:block!important;grid-template-columns:none!important}
.account-dashboard .adult-settings>*{max-width:62ch}
.live18-player{aspect-ratio:16/9!important;margin-inline:0!important}

/* 3.7.8: scheduled guide first, compact live channels below. */
.guide-shell .guide-live-section{margin:20px 0;min-width:0}
.guide-shell .guide-live-section[hidden]{display:none}
.guide-live-section h2{font-size:18px;margin:0 0 4px}
.guide-live-section p{font-size:12px;color:var(--muted);margin:0 0 10px}
.guide-live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.guide-live-tile{display:flex;align-items:center;gap:8px;min-width:0;height:66px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.guide-live-tile b{font-size:12px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.guide-live-tile .channel-initials{position:relative;flex:0 0 42px;width:42px;height:36px;overflow:hidden}
.guide-live-tile img{position:absolute;inset:0;object-fit:contain;width:42px;height:36px;background:var(--surface)}
.guide-shell .timeline-programme{isolation:isolate}
.guide-shell .timeline-programme b,.guide-shell .timeline-programme small{position:relative;z-index:1}
@media(max-width:680px){
 .guide-shell #mobile-now-list{display:block!important;min-height:460px!important;height:460px;max-width:100%;overflow:auto!important;overscroll-behavior:contain;scroll-padding-top:24px;scroll-padding-bottom:16px}
 .guide-shell #mobile-now-list[hidden]{display:none!important}
 .guide-shell #mobile-now-list:empty{background:repeating-linear-gradient(180deg,var(--surface) 0 87px,var(--line) 87px 88px)}
 .guide-shell #mobile-now-list .mobile-now-card{height:88px!important;min-height:88px!important;min-width:408px;grid-template-columns:104px minmax(252px,1fr) 36px!important;gap:4px;padding:4px 6px!important;align-items:stretch}
 .guide-shell #mobile-now-list .mobile-now-copy{position:sticky;left:0;z-index:4;background:var(--surface);padding-right:5px;align-content:center;gap:4px}
 .guide-shell #mobile-now-list .mobile-now-copy>a{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px}
 .guide-shell #mobile-now-list .mobile-now-copy b{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2}
 .guide-shell #mobile-now-list .mobile-now-copy>small{font-size:10px;color:var(--warm)}
 .guide-mini-ruler{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:104px minmax(252px,1fr) 36px;gap:4px;min-width:408px;height:24px;padding:0 6px;background:var(--surface);border-bottom:1px solid var(--line)}
 .guide-mini-ruler>span{position:sticky;left:0;z-index:3;background:var(--surface);font-size:9px;line-height:24px;color:var(--muted)}
 .guide-mini-ruler .guide-peek-ruler{margin:0;height:24px;font-size:10px}
 .guide-mini-ruler .guide-peek-ruler span{top:4px;padding-left:3px}
 .guide-mini-shows{display:grid;grid-template-rows:58px 18px;min-width:0;gap:2px;align-content:center}
 .guide-mini-shows .guide-peek-lane{border-radius:6px}
 .guide-shell #mobile-now-list .guide-peek-show{position:absolute!important;top:2px;bottom:2px;padding:0 7px!important;border-radius:6px;border:1px solid var(--line);background:rgba(255,255,255,.05);display:flex;flex-direction:column;justify-content:center}
 .guide-shell #mobile-now-list .guide-peek-show.is-live{background:linear-gradient(135deg,rgba(132,94,247,.55),rgba(76,110,245,.4));border-color:rgba(180,160,255,.55)}
 .guide-shell #mobile-now-list .guide-peek-show b{font-size:12px;line-height:1.3;white-space:nowrap}
 .guide-shell #mobile-now-list .guide-peek-show.is-tiny{padding:0!important;min-width:2px}
 .guide-shell #mobile-now-list .guide-peek-show.is-tiny b,.guide-shell #mobile-now-list .guide-peek-show.is-tiny small{display:none}
 .guide-mini-next{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:10px;color:var(--muted)}
 .guide-shell #mobile-now-list .mobile-now-actions{display:flex;flex-direction:column;justify-content:center;gap:2px}
 .guide-shell #mobile-now-list .guide-add-pill{width:28px!important;min-width:28px!important;max-width:28px!important;height:30px;padding:0!important;font-size:16px!important}
 .guide-shell #mobile-now-list .guide-row-menu{width:28px!important;min-width:28px!important;height:28px}
 .guide-shell .guide-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-shell:has(#timeline-mode option[value=timeline]:checked) #mobile-now-list{display:block!important}
 .guide-shell:has(#timeline-mode option[value=timeline]:checked) #timeline-viewport{display:none!important}
}

.guide-live-tile.is-offline{opacity:.45}
html:has(#timeline-grid) .assistant-launcher{display:none!important}

/* 3.7.8: keep the live show's title clear of the orange now-line */
.guide-peek-show.clears-now:not(.is-tiny),.guide-shell #mobile-now-list .guide-peek-show.clears-now:not(.is-tiny){box-sizing:border-box;padding-left:calc(var(--now-x,0%) + 7px)!important}

/* 3.7.10: tidy Follow / Remind buttons in the watch-page schedule */
.schedule-list article{grid-template-columns:110px minmax(0,1fr) auto;align-items:center}
.schedule-list article>div{min-width:0}
.programme-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 13px;border-radius:999px;
  border:1px solid rgba(124,232,255,.35);background:rgba(124,232,255,.08);color:#bdf3ff;font:inherit;font-size:13px;font-weight:750;line-height:1;white-space:nowrap;cursor:pointer;
  transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.programme-action:hover{background:rgba(124,232,255,.16);border-color:rgba(124,232,255,.6)}
.programme-action:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.programme-action svg{flex:0 0 auto;pointer-events:none}
.now-programme .programme-action{margin-top:12px}
@media(max-width:680px){
  .schedule-list article{grid-template-columns:66px minmax(0,1fr) auto;gap:10px;padding:13px 4px}
  .schedule-list time{font-size:13.5px;white-space:nowrap}
  .schedule-list b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .schedule-list span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .schedule-list .programme-action{width:40px;min-height:40px;padding:0;gap:0}
  .schedule-list .programme-action span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* == premium.css == */
.premium-shell{max-width:960px;margin:0 auto}.premium-hero{max-width:740px}.premium-plan-options{margin:0;padding:0;border:0;display:grid;gap:12px;min-width:0}.premium-plan-options legend{font-weight:800;padding:0 0 12px}.premium-plan{position:relative;display:flex;align-items:flex-start;gap:12px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#0b1018;cursor:pointer}.premium-plan:has(input:checked){border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime)}.premium-plan:focus-within{outline:2px solid #fff;outline-offset:3px}.premium-plan input{flex:0 0 auto;accent-color:var(--lime);width:20px;height:20px;margin-top:5px}.premium-plan-body{display:grid;gap:5px;min-width:0}.premium-plan-body strong{font-size:28px;color:var(--lime);line-height:1.2}.premium-plan-body strong span{font-size:18px;margin-left:4px}.premium-plan-body b{font-size:15px}.premium-plan-body small,.premium-checkout-note,.premium-features p,.premium-payment p,.premium-footnote{color:var(--muted)}.premium-plan-yearly{padding:26px;background:linear-gradient(140deg,#1b2915,#0b1018)}.premium-plan-yearly strong{font-size:44px}.premium-value-badge{width:fit-content;margin-bottom:7px;padding:5px 10px;border-radius:999px;background:var(--lime);color:#14200a;font-size:12px;font-weight:900}.premium-short-plans{display:grid;grid-template-columns:1fr 1fr;gap:12px}.premium-checkout{width:100%;min-height:48px;margin-top:16px;text-align:center}.premium-checkout:disabled{opacity:.6;cursor:default}.premium-checkout-note{font-size:13px;margin:10px 0 0}.premium-explainers{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}.premium-features,.premium-payment{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.premium-features h2,.premium-payment h2{margin-top:0;font-size:22px}.premium-features ul,.premium-payment ol{padding-left:20px}.premium-features li,.premium-payment li{margin:12px 0;line-height:1.5}.premium-features p,.premium-payment p{font-size:14px;line-height:1.6}.premium-footnote{margin:24px 0}.premium-yearly-summary{display:grid;gap:8px;padding:26px;border:1px solid #587c37;border-radius:18px;background:#142011;text-align:center}.premium-yearly-summary strong{font-size:38px;color:var(--lime)}.premium-yearly-summary small{color:var(--muted)}.home-premium-teaser{max-width:1100px;margin:44px auto;padding:28px;border:1px solid #527534;border-radius:20px;background:linear-gradient(135deg,#1b2915,#10151b);display:flex;align-items:center;justify-content:space-between;gap:24px}.home-premium-teaser h2{margin:8px 0}.home-premium-teaser p{color:var(--muted);max-width:620px}.home-premium-teaser .button-link{flex-shrink:0}.account-shell #bitcoin-plans{scroll-margin-top:90px}.account-shell .premium-explainers{margin-top:18px}.account-shell .account-plan-details{margin:24px 0}.account-shell .account-plan-details>p{color:var(--muted)}
@media(max-width:760px){.premium-short-plans{gap:10px}.premium-plan{padding:14px;gap:8px}.premium-plan-yearly{padding:20px}.premium-plan-body strong{font-size:25px}.premium-plan-yearly strong{font-size:38px}.premium-plan-body small{font-size:12px}.premium-value-badge{font-size:11px;padding:5px 8px}.premium-explainers{grid-template-columns:1fr;gap:14px}.premium-features,.premium-payment{padding:18px}.home-premium-teaser{margin:30px 0;padding:22px;display:grid}.premium-yearly-summary{width:100%}}

/* 3.7.26 plans: features-not-channels principle line */
.premium-plan-principle{margin:.75rem 0 0;font-size:.92rem;line-height:1.4;opacity:.85}
/* == release370.css == */
/* Stable asynchronous placeholders and simple recovery actions. */
.guide-countries,.guide-countries:empty{display:flex;min-height:42px}
#setup-plan-notice{height:100px;display:flex;align-items:center;overflow:auto}
#timeline-status{min-height:42px}
#guide-retry-actions[hidden]{display:none}
.guided-paste-kind{display:block;min-height:48px}
.guided-alternatives{border:1px solid var(--line);border-radius:12px;padding:12px;display:block}
.guided-alternatives>summary{cursor:pointer;font-weight:750;min-height:32px}
.guided-alternatives[open]{display:grid;gap:12px}
.doctor-results{min-height:370px}
.doctor-row span{overflow-wrap:anywhere}
@media(min-width:760px){#setup-plan-notice{height:64px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.premium-tool-upsell{margin:0 0 22px;max-width:720px}
/* == assistant.css == */
.assistant-launcher { position:fixed; right:20px; bottom:22px; z-index:80; border:1px solid #8fd8c3; border-radius:24px; padding:12px 18px; background:#122b25; color:#effff9; font:inherit; font-weight:700; cursor:pointer; box-shadow:0 5px 20px #0007; }
.assistant-launcher:focus-visible, .assistant-sheet :focus-visible { outline:3px solid #9be5d1; outline-offset:3px; }
.assistant-is-open { overflow:hidden; }
.assistant-sheet { position:fixed; inset:auto 20px 20px auto; width:min(460px, calc(100vw - 32px)); height:min(700px, calc(100dvh - 40px)); max-width:none; max-height:none; margin:0; padding:0; border:1px solid #334b44; border-radius:20px; color:#edf4f2; background:#101a17; box-shadow:0 20px 70px #0009; }
.assistant-sheet[open] { display:flex; flex-direction:column; }
.assistant-sheet::backdrop { background:#030908a6; }
.assistant-header { display:flex; align-items:center; justify-content:space-between; padding:15px 18px 8px; flex:none; }
.assistant-header h2 { margin:0; font-size:22px; }
.assistant-close { width:44px; height:44px; font-size:26px; border:0; border-radius:50%; background:#24342e; color:#fff; cursor:pointer; }
.assistant-note { margin:0; padding:0 18px 12px; color:#aebdb6; font-size:12px; line-height:1.5; flex:none; }
.assistant-messages { min-height:80px; flex:1; overflow-y:auto; overscroll-behavior:contain; padding:5px 18px; }
.assistant-message { margin:0 0 12px; padding:12px; border-radius:13px; background:#1c2c25; line-height:1.55; font-size:14px; }
.assistant-message p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.assistant-own { margin-left:25px; background:#285548; }
.assistant-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.assistant-actions a, .assistant-recovery-link { display:inline-block; padding:8px 10px; border:1px solid #528773; border-radius:8px; color:#c8ffe8; font-weight:700; text-decoration:none; }
.assistant-feedback { display:flex; gap:8px; align-items:center; margin-top:12px; font-size:12px; color:#bdcdc5; }
.assistant-feedback button { min-width:44px; min-height:44px; border:1px solid #465a4f; border-radius:8px; background:#263b30; color:#fff; cursor:pointer; }
.assistant-feedback button:disabled { opacity:.6; cursor:default; }
.assistant-suggestions { padding:8px 18px; display:flex; gap:7px; overflow-x:auto; flex:none; scrollbar-width:thin; }
.assistant-suggestions button { flex:none; min-height:44px; max-width:270px; padding:8px 11px; border:1px solid #44594e; border-radius:18px; background:#15241c; color:#d4e8dd; font:inherit; font-size:12px; cursor:pointer; }
.assistant-composer { padding:8px 18px 12px; border-top:1px solid #2e4237; flex:none; }
.assistant-composer label { display:block; margin:0 0 6px; font-size:12px; font-weight:700; }
.assistant-composer-row { display:flex; align-items:stretch; gap:8px; }
.assistant-composer textarea { min-width:0; width:100%; height:64px; max-height:100px; padding:10px; border:1px solid #476251; border-radius:9px; background:#0b130f; color:#fff; font:inherit; font-size:16px; resize:none; }
.assistant-send { min-width:58px; padding:8px; border:0; border-radius:9px; background:#b7f5d6; color:#102a1b; font:inherit; font-weight:700; cursor:pointer; }
.assistant-send:disabled { opacity:.6; }
.assistant-status { min-height:18px; margin:5px 0 0; font-size:12px; color:#afc4b7; }
.ask-help-entry { margin-bottom:20px; padding:20px; border:1px solid #426b59; border-radius:16px; background:#14271e; }
.ask-help-entry h2 { margin:0 0 8px; }
.ask-help-entry p { margin:0 0 12px; color:#cfdfd5; }
.ask-help-entry button { min-height:44px; padding:10px 18px; border:0; border-radius:8px; background:#b7f5d6; color:#102a1b; font:inherit; font-weight:700; cursor:pointer; }
@media (max-width:700px) {
  .assistant-launcher { right:12px; bottom:calc(80px + env(safe-area-inset-bottom)); width:44px; height:44px; padding:0; border-radius:50%; font-size:0; opacity:.92; }
  .assistant-launcher::before { content:"?"; font-size:20px; font-weight:800; line-height:44px; }
  .assistant-sheet { inset:auto 0 0 0; width:100%; height:min(760px, calc(100dvh - 14px)); border-radius:20px 20px 0 0; border-bottom:0; }
  .assistant-composer { padding-bottom:calc(12px + env(safe-area-inset-bottom)); }
}
/* == guide371.css == */
/* 3.7.1: compact discovery guide and accessible filter sheet. */
.guide-heading371{display:flex;align-items:center;justify-content:space-between;height:42px;margin:8px 0}
.guide-heading371 h1{font-size:24px;margin:0;letter-spacing:-.03em}
.guide-heading371 a{font-size:13px;color:var(--muted);padding:10px 0}
.guide-controls-bar{position:sticky;top:var(--header-h);z-index:45;display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 0;background:rgba(5,6,10,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line-soft)}
.guide-dropdown{position:relative;flex:0 1 auto;min-width:0}
.guide-dropdown-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;max-width:100%;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-weight:750;font-size:14px;cursor:pointer;white-space:nowrap}
.guide-dropdown-trigger:hover{border-color:rgba(196,255,77,.45);background:var(--surface-3)}
.guide-dropdown-trigger[aria-expanded="true"]{border-color:rgba(196,255,77,.65);background:var(--surface-3)}
.guide-dropdown-prefix{color:var(--muted);font-weight:650;flex:0 0 auto}
.guide-dropdown-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.guide-dropdown-caret{flex:0 0 auto;color:var(--lime);font-size:12px}
.guide-dropdown-trigger[aria-expanded="true"] .guide-dropdown-caret{transform:rotate(180deg)}
.guide-shell .guide-dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:55;min-width:max(100%,220px);max-width:min(320px,calc(100vw - 24px));max-height:min(60vh,360px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:6px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:#0f141e;box-shadow:0 22px 50px -12px rgba(0,0,0,.95);display:flex;flex-direction:column;gap:2px}
.guide-shell .guide-dropdown-menu[hidden]{display:none!important}
.guide-shell .guide-dropdown-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;flex:0 0 auto;min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--text);font-weight:650;font-size:14px;text-align:left;cursor:pointer;white-space:nowrap}
.guide-shell .guide-dropdown-menu button small{color:var(--muted);font-weight:600;font-size:12px;flex:0 0 auto}
.guide-shell .guide-dropdown-menu button:hover,.guide-shell .guide-dropdown-menu button:focus-visible{background:rgba(255,255,255,.08)}
.guide-shell .guide-dropdown-menu button.active,.guide-shell .guide-dropdown-menu button[aria-selected="true"]{background:rgba(196,255,77,.15);color:var(--lime);font-weight:800;box-shadow:inset 3px 0 0 var(--lime)}
.guide-shell .guide-dropdown-menu button.active small{color:rgba(196,255,77,.8)}
.guide-shell .timeline-controls{display:block!important;margin:0 0 8px}
.guide-toolbar371{display:flex;gap:8px;align-items:center;height:44px}
.guide-toolbar371 .timeline-search{flex:1;min-width:80px;gap:0;font-size:0!important}
.guide-toolbar371 input{width:100%;font-size:14px!important}
.guide-toolbar371 .guide-filters-toggle{display:flex!important;align-items:center;justify-content:center;min-width:76px;min-height:44px;border:1px solid var(--line);background:var(--surface-3)!important;color:var(--text)!important;padding:0 12px}
.guide-active-filters{display:flex;gap:4px;max-width:40%;overflow:auto;scrollbar-width:none}
.guide-active-filters:empty{display:none}
.guide-active-filters button{white-space:nowrap;font-size:11px!important;padding:0 8px!important;min-height:32px!important;background:var(--surface-3)!important;color:var(--text)!important}
.guide-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;margin:12px 0}
.guide-filter-fields .guide-countries{grid-column:1/-1;margin:0;display:none}
.guide-filter-fields>.guide-options{grid-column:1/-1}
.guide-shell .timeline-note{margin:4px 0 6px;height:24px;min-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
.guide-shell .guide-scan-callout,.guide-shell .timeline-health-summary{display:none!important}
.guide-inline-hint{height:32px;margin:0 0 6px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;overflow:hidden}
.guide-inline-hint button{margin-left:auto;flex:0 0 32px;height:32px;border:0;background:transparent;color:var(--muted);cursor:pointer}
.guide-narrow-card{padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.guide-narrow-card[hidden]{display:none}
.guide-narrow-card b{display:block;font-size:13px;margin-bottom:8px}
.guide-narrow-card div{display:flex;gap:6px;flex-wrap:wrap}
.guide-narrow-card button{min-height:44px;padding:0 12px;border-radius:9px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);cursor:pointer;font-size:12px}
.guide-narrow-card button:first-child{color:var(--lime)}
.guide-add-pill{min-width:76px!important;width:auto!important;min-height:44px!important;height:44px!important;border-radius:999px!important;padding:0 10px!important;border:1px solid #597f29!important;background:#182514!important;color:var(--lime)!important;font-size:12px!important;font-weight:800!important;white-space:nowrap;cursor:pointer;display:flex!important;align-items:center;justify-content:center}
.guide-add-pill.is-favorite{background:var(--surface-3)!important;border-color:var(--line)!important;color:var(--text)!important}
.guide-row-menu{width:32px!important;height:44px!important;min-height:44px;border:0!important;background:transparent!important;color:var(--muted)!important;font-size:22px;cursor:pointer}
.guide-row-menu-body{display:grid;gap:8px}
.guide-row-menu-body button,.guide-row-menu-body a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--surface-3);cursor:pointer}
.guide-shell .timeline-channel-actions{display:flex!important;position:static!important;gap:4px}
.guide-shell .timeline-channel-actions .guide-row-menu{display:block!important}
.guide-shell .timeline-channel{grid-template-columns:1fr!important;gap:4px}
.guide-shell .timeline-channel-actions button:not(.guide-add-pill):not(.guide-row-menu){display:none}
.guide-shell .timeline-grid{grid-auto-rows:104px}
.guide-shell .timeline-channel-main{padding-right:0}
.guide-shell .timeline-viewport[data-density=compact] .timeline-grid{grid-auto-rows:90px}
.guide-shell .timeline-unscheduled{border:0!important;background:var(--surface)!important;color:var(--muted)!important;font-size:12px}
.guide-filters-sheet{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:20px 20px 0 0;padding:0;width:min(680px,100%);max-width:100%;max-height:88dvh;margin:auto auto 0;overflow:auto}
.guide-filters-sheet::backdrop{background:rgba(0,0,0,.7)}
.guide-filters-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;position:sticky;top:0;background:var(--surface);z-index:2;border-bottom:1px solid var(--line)}
.guide-filters-sheet h2{font-size:20px;margin:0}
.guide-filters-sheet>header button{width:44px;height:44px;background:transparent;border:0;color:var(--text);font-size:24px;cursor:pointer}
#guide-filter-body{padding:0 16px}
.guide-filters-sheet .guide-filter-fields{grid-template-columns:1fr 1fr}
.guide-filters-sheet label{display:grid;gap:6px;font-size:13px;color:var(--muted)}
.guide-filters-sheet input,.guide-filters-sheet select{min-height:44px;max-width:100%;background:var(--surface-3);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px}
.guide-filters-sheet .guide-countries{display:flex;overflow:auto}
.guide-filters-sheet .guide-options-grid{grid-template-columns:1fr 1fr}
.guide-filters-sheet .guide-options-grid button{min-height:44px;background:var(--surface-3);color:var(--text);border:1px solid var(--line);border-radius:10px;cursor:pointer}
.guide-filters-sheet>footer{position:sticky;bottom:0;display:flex;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);margin:0;z-index:2}
.guide-filters-sheet>footer button{min-height:48px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);font-weight:800;cursor:pointer}
#guide-filters-apply{flex:1;background:var(--lime);color:var(--lime-ink)}
@media(max-width:680px){
 .guide-shell{padding-bottom:140px}
 .guide-heading371{height:32px;margin:8px 0 6px}
 .guide-heading371 h1{font-size:20px}
 .guide-controls-bar{gap:6px;padding:6px 0}
 .guide-dropdown{flex:1 1 0}
 .guide-dropdown-trigger{width:100%;padding:0 10px;font-size:13px}
 #guide-sources-dropdown .guide-dropdown-menu{left:auto;right:0}
 #guide-filter-home{display:none}
 .guide-toolbar371{height:44px}
 .guide-shell .mobile-now-list{display:grid!important;gap:0;min-height:460px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
 .guide-shell .mobile-now-list[hidden]{display:none!important}
 .guide-shell .timeline-viewport{display:none!important}
 .guide-shell:has(#timeline-mode option[value=timeline]:checked) .mobile-now-list{display:none!important}
 .guide-shell:has(#timeline-mode option[value=timeline]:checked) .timeline-viewport:not([hidden]){display:block!important}
 .guide-shell .mobile-now-card{height:80px;min-height:80px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:7px 8px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;transition:none!important}
 .guide-shell .mobile-now-card:active{transform:none}
 .mobile-now-copy{display:grid;gap:2px;min-width:0;align-content:center}
 .mobile-now-copy>a{display:flex;gap:6px;align-items:center;min-width:0}
 .mobile-now-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mobile-now-copy .channel-initials{width:22px;height:22px;flex:0 0 22px;border-radius:6px;font-size:9px}
 .guide-shell .mobile-now-card .guide-health-badge{display:none}
 .guide-shell .mobile-now-card .mobile-programme{position:static!important;display:block!important;min-width:0;max-width:100%;border:0!important;background:transparent!important;padding:0!important;margin:0!important;font-size:12px!important;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .guide-shell .mobile-now-card small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .guide-shell .mobile-now-card .mobile-live-channel{font-size:12px;color:var(--muted)}
 .mobile-now-actions{display:flex;align-items:center;gap:0}
 .guide-shell .mobile-now-card .guide-add-pill{max-width:103px;min-width:76px;font-size:11px!important;padding:0 8px!important}
 .guide-shell .mobile-now-card .guide-row-menu{width:26px!important;min-width:26px;padding:0!important}
 .guide-shell .now-list-divider{height:36px;margin:0;padding:12px;letter-spacing:0;grid-column:1/-1}
 .guide-shell .timeline-channel-actions{flex-wrap:wrap}
 .guide-active-filters{max-width:35%}
 .guide-active-filters button{max-width:98px;overflow:hidden;text-overflow:ellipsis}
 .guide-filters-sheet .guide-filter-fields{grid-template-columns:1fr}
 .guide-filters-sheet .guide-options-grid{grid-template-columns:1fr}
 .guide-filters-sheet .guide-countries{grid-column:auto}
 .guide-shell .guide-more-banner{padding:8px;font-size:12px;margin:0 0 6px}
 .guide-shell .guide-empty-state{padding:12px;margin:0 0 8px}
 .guide-shell .guide-empty-state h2{font-size:16px}
 .ptv-now-fab{display:none!important}
}
@media(min-width:681px){
 .guide-shell .mobile-now-list[data-guide-mode=now]{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .guide-shell .mobile-now-card{display:grid;grid-template-columns:1fr auto;gap:6px;min-height:88px;padding:10px}
 .mobile-now-copy{display:grid;gap:4px;min-width:0}
 .mobile-now-actions{display:flex;align-items:center}
 .mobile-now-card .mobile-programme{position:static;padding:0;background:transparent;border:0}
}
/* Reserve async status and rows from the initial HTML render. */
.guide-shell #timeline-status{height:24px!important;min-height:24px!important;padding:0!important;line-height:24px;margin:4px 0 6px!important}
@media(max-width:680px){.guide-shell .mobile-now-list:empty{min-height:4002px;background:repeating-linear-gradient(180deg,var(--surface) 0 79px,var(--line) 79px 80px)}}
@media(min-width:681px){.guide-shell .timeline-viewport{min-height:min(70vh,580px)}}
.guide-toolbar371 .guide-filters-toggle{width:auto!important;flex:0 0 auto}
@media(max-width:680px){
 body.has-guide-mini-player .guide-shell #mobile-now-list{height:calc(100dvh - var(--guide-list-top,342px) - var(--tabbar-h) - 86px);min-height:0;max-height:none;overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-bottom:12px}
}
@media(min-width:681px){.guide-mini-player{left:auto;right:18px;bottom:18px;width:360px}}
.guide-shell .timeline-grid{grid-auto-rows:104px!important}
.guide-shell .timeline-viewport[data-density=compact] .timeline-grid{grid-auto-rows:90px!important}
.guide-shell .timeline-channel .device-health{display:none}
@media(min-width:981px){.guide-heading371 a{display:none}}
/* == guide-support371.css == */
/* v371 support surfaces: quiet hints and compact player controls. */
#guide-inline-hint:not([hidden]){display:flex;align-items:center;gap:10px;min-height:32px;height:32px;padding:0 12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:12px;overflow:hidden}
#guide-inline-hint span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#guide-inline-hint button{border:0;background:none;color:var(--text);width:30px;height:30px;font-size:22px;flex-shrink:0}
.watch-save-pill{border-radius:999px!important;border:1px solid var(--lime)!important;color:var(--lime)!important;min-height:44px}
.watch-save-pill[aria-pressed=true]{background:var(--lime)!important;color:#071000!important}
.guide-mini-player{position:fixed;left:12px;right:12px;bottom:calc(var(--tabbar-h,64px) + env(safe-area-inset-bottom) + 8px);z-index:90;display:flex;align-items:center;gap:8px;height:64px;padding:8px;background:#17201d;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px #0008}
.mini-channel-expand{display:flex;align-items:center;gap:10px;min-width:0;flex:1;color:var(--text)}
.mini-channel-expand img{width:64px;height:44px;border-radius:6px;object-fit:cover}
.mini-channel-expand span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:14px}
.guide-mini-player>button{border:0;border-radius:50%;background:#28352d;color:var(--text);width:40px;height:40px;flex-shrink:0;font-size:20px}
.mini-channel-frame{position:absolute;left:8px;top:8px;width:64px;height:44px;border:0;border-radius:6px}
.mini-player-title{display:none!important}
@media(max-width:680px){
body:has(#guide-inline-hint) .assistant-launcher{display:none!important}
.watch-poster.is-docked{left:10px!important;right:10px!important;bottom:calc(var(--tabbar-h,64px) + env(safe-area-inset-bottom) + 8px)!important;width:calc(100vw - 20px)!important;height:64px!important;min-height:64px!important;aspect-ratio:auto!important;padding-right:0!important;background:#17201d!important;overflow:hidden}
.watch-poster.is-docked>media-controller,.watch-poster.is-docked>.patchtv-embed,.watch-poster.is-docked>#patchtv-poster{width:72px!important;height:48px!important;position:absolute!important;inset:auto!important;left:8px!important;top:8px!important;margin:0!important}
.watch-poster.is-docked media-control-bar{display:none}
.watch-poster.is-docked .mini-player-bar{position:absolute;inset:0 6px 0 88px;align-items:center;gap:3px}
.watch-poster.is-docked .mini-player-title{display:block!important;width:auto;flex:1;min-width:0;border-radius:0;background:none;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;padding:0 4px}
.watch-poster.is-docked .mini-player-bar button[data-mini=expand]:not(.mini-player-title){display:none}
.watch-poster.is-docked .mini-player-bar button{width:36px;height:36px;flex-shrink:0}
}

#guide-inline-hint.is-dismissed{background:transparent;border-color:transparent;visibility:hidden}
/* Undo stays actionable above an open programme sheet. */
.ptv-toasts{z-index:1300}
@media(min-width:681px){.guide-mini-player{left:auto;right:18px;bottom:18px;width:360px}}
.ptv-sheet .ptv-toast{margin-top:12px}
/* == nav3728.css == */
/* PatchTV 3.7.28: Movies in the phone tab bar and a Movies group in the main search. */
.mobile-tabbar{grid-template-columns:repeat(5,minmax(0,1fr))}
.mobile-tabbar a{min-width:0}
@media(max-width:380px){.mobile-tabbar a span{width:48px}}

.guide-movie-results{min-width:0;margin:0 0 14px}
.guide-movie-results>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px}
.guide-movie-results h3,.guide-channel-heading{margin:0;color:var(--muted);font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.guide-channel-heading{margin:2px 0 8px}
.guide-movie-more{color:var(--lime);font-size:13px;font-weight:800;white-space:nowrap}
.guide-movie-row{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(148px,23%,220px);gap:10px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
.guide-movie-row.is-end{-webkit-mask-image:none;mask-image:none}
.guide-movie-card{display:grid;align-content:start;gap:3px;min-width:0;color:var(--text);scroll-snap-align:start}
.guide-movie-art{display:block;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#06080c}
.guide-movie-art img{display:block;width:100%;height:100%;object-fit:cover}
.guide-movie-card:hover .guide-movie-art,.guide-movie-card:focus-visible .guide-movie-art{border-color:var(--lime)}
.guide-movie-card b{overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
.guide-movie-card small{color:var(--muted);font-size:11px}
.guide-movie-results[hidden],.guide-channel-heading[hidden]{display:none!important}
/* == members3729.css == */
/* PatchTV 3.7.29: members see what they have (Premium ✓ badges, Your Premium hub, welcome sheet), never a
   price prompt; background scans show a small progress pill under the header on every page.
   No transforms on <main>; everything that appears late is position:fixed or has reserved space. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Belt and braces: if a cached visitor page is shown to a member, JS state hides every upsell. */
html[data-membership="premium"]:not([data-renew]) :is(.premium-tool-upsell,.premium-yearly-summary,.home-premium-teaser,.premium-card,.premium-plan-picker,.patchtv-preroll,.home-sponsor-slot,.member-upsell .premium-plan-picker,.member-account-link,#account-upgrade){display:none!important}

.premium-member-badge{display:inline-flex;align-items:center;gap:8px;width:fit-content;min-height:32px;padding:5px 12px;border-radius:999px;border:1px solid #587c37;background:#16210f;color:var(--lime);font-weight:900;font-size:13px;line-height:1.2;white-space:nowrap}
.premium-member-badge small{color:var(--muted);font-weight:700;font-size:12px}
a.premium-member-badge:hover{border-color:var(--lime)}
.premium-account-badge{align-self:center}
.product-shell>.premium-member-badge,.guided-shell>.premium-member-badge{margin:4px 0 18px}

/* Home: members get their feature shortcuts where visitors see the Plus teaser. */
.home-member-features{max-width:1100px;margin:44px auto;padding:24px 26px;border:1px solid #3d5527;border-radius:20px;background:linear-gradient(135deg,#152210,#10151b);display:flex;align-items:center;justify-content:space-between;gap:22px}
.home-member-features h2{margin:10px 0 6px}
.home-member-features p{color:var(--muted);margin:0;max-width:560px}
.home-member-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:470px}
.home-member-links a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-weight:800;font-size:14px}
.home-member-links a.is-all{border-color:var(--lime);color:var(--lime)}
@media(max-width:760px){.home-member-features{display:grid;margin:30px 0;padding:20px}.home-member-links{justify-content:flex-start}}

/* Your Premium hub */
.premium-hub-shell{max-width:1040px;margin:0 auto}
.premium-hub-hero{max-width:760px}
.premium-hub-hero .premium-hub-badge{margin-top:4px}
.premium-hub-renew{padding:14px 16px;border:1px solid #6b5a1c;border-radius:14px;background:#211c09;color:#ffe598}
.premium-hub-renew a{color:var(--lime);font-weight:850;margin-left:6px}
.premium-hub-grid{list-style:none;margin:22px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.premium-hub-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#11151d)}
.premium-hub-card h2{margin:0 0 3px;font-size:17px}
.premium-hub-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.premium-hub-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#16210f;color:var(--lime);font-size:20px}
.premium-hub-card.is-locked .premium-hub-icon{background:var(--surface-2);color:var(--muted)}
.premium-hub-try{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;border:0;background:var(--lime);color:var(--lime-ink,#0a1400);font-weight:900;font-size:14px;white-space:nowrap;cursor:pointer}
.premium-hub-try.is-locked{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}
.premium-hub-on{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #587c37;background:#16210f;color:var(--lime);font-weight:900;font-size:13px}
.premium-hub-free{margin:28px 0 8px;padding:20px;border:1px dashed var(--line);border-radius:16px}
.premium-hub-free h2{margin:0 0 6px;font-size:18px}
.premium-hub-free p{color:var(--muted);margin:0 0 12px}
.premium-hub-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0;padding:22px;border:1px solid #3d5527;border-radius:18px;background:linear-gradient(135deg,#152210,#10151b)}
.premium-hub-summary h2{margin:6px 0}
.premium-hub-summary p{color:var(--muted);margin:0}
.premium-hub-summary .button-link{flex-shrink:0}
@media(max-width:760px){.premium-hub-grid{grid-template-columns:minmax(0,1fr)}.premium-hub-card{grid-template-columns:40px minmax(0,1fr);padding:14px}.premium-hub-icon{width:40px;height:40px}.premium-hub-card>.premium-hub-try,.premium-hub-card>.premium-hub-on{grid-column:2;justify-self:start}.premium-hub-summary{display:grid}}

/* Imports: the member card replaces the price card in the same grid slot. */
.premium-member-card{border-color:#3d5527!important;background:linear-gradient(140deg,#152210,#0b1018)!important}
.premium-member-card .premium-member-badge{margin-bottom:6px}

/* Welcome sheet */
.premium-welcome-sheet>div>p{color:var(--muted);margin:0 0 12px}
.premium-welcome-sheet>div>p a{color:var(--lime)}
.premium-welcome-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:6px}
.premium-welcome-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.premium-welcome-list li>span{text-align:center}
.premium-welcome-list a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:var(--lime);color:var(--lime-ink,#0a1400);font-weight:900;font-size:13px}

/* ?try= highlight: outline only, so nothing moves. */
.ptv-try-highlight{outline:3px solid var(--lime);outline-offset:6px;border-radius:14px;transition:outline-color .6s}

/* Background scan: fixed pill just under the sticky header (no layout shift on any page). */
.ptv-scan-pill{position:fixed;z-index:1100;top:76px;left:0;right:0;margin-inline:auto;width:max-content;max-width:calc(100vw - 24px);display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 14px;border-radius:999px;border:1px solid #587c37;background:rgba(18,28,14,.96);color:var(--lime);font-weight:850;font-size:13px;box-shadow:0 12px 30px -14px #000}
.ptv-scan-pill i{width:9px;height:9px;border-radius:50%;background:var(--lime);animation:ptv-scan-pulse 1.4s ease-in-out infinite}
.ptv-scan-pill[data-state="paused"] i{animation:none;background:#ffd85a}
.ptv-scan-pill[hidden]{display:none}
@keyframes ptv-scan-pulse{50%{opacity:.35}}
@media(max-width:680px){.ptv-scan-pill{top:64px}}
@media(prefers-reduced-motion:reduce){.ptv-scan-pill i{animation:none}}
.scan-leave-note{display:block;min-height:2.6em;color:var(--muted);visibility:hidden}
.scan-leave-note.is-visible{visibility:visible}
/* == tv-mode3723.css == */
/* TV mode (Android TV app / ?tv_mode=1): visible remote focus and couch-friendly layout. Only applies under html.ptv-tv-mode. */
.ptv-tv-mode{scroll-behavior:auto}
.ptv-tv-mode :focus{outline:none}
.ptv-tv-mode :is(a,button,input,select,textarea,summary,[tabindex]:not([tabindex='-1'])):focus,
.ptv-tv-mode :is(a,button,input,select,textarea,summary,[tabindex]:not([tabindex='-1'])):focus-visible{outline:4px solid #b6ff3b!important;outline-offset:3px!important;box-shadow:0 0 0 9px rgba(182,255,59,.28)!important;border-radius:10px}
.ptv-tv-mode .mobile-tabbar,.ptv-tv-mode #install-app,.ptv-tv-mode .skip-link,.ptv-tv-mode .assistant-launcher{display:none!important}
.ptv-tv-mode,.ptv-tv-mode body{scrollbar-width:none}
.ptv-tv-mode::-webkit-scrollbar,.ptv-tv-mode body::-webkit-scrollbar{display:none}
.ptv-tv-mode .desktop-nav a:focus{color:#fff}
.ptv-tv-mode body{padding-bottom:0!important}
.ptv-tv-mode .tv-mode-only{display:inline-flex!important}
.tv-mode-only{display:none!important}
/* Living room (/tv) */
.ptv-tv-mode .living-room .tv-remote,.ptv-tv-mode .living-room>.tv-phone-remote,.ptv-tv-mode .living-room>.tv-pair-link,.ptv-tv-mode body>main>.tv-auth{display:none!important}
.ptv-tv-mode .living-room .tv-now-bar{transition:opacity .35s ease}
.ptv-tv-mode .living-room.tv-osd-hidden .tv-now-bar,.ptv-tv-mode .living-room.tv-osd-hidden .tv-status-pill[data-state=ready]{opacity:0}
.ptv-tv-mode .tv-guide-overlay{width:min(720px,calc(100% - 36px));grid-template-rows:auto auto auto minmax(0,1fr) auto}
.ptv-tv-mode .tv-guide-head h2{font-size:30px}
.tv-guide-actions{display:none}
.ptv-tv-mode .tv-guide-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 14px}
.ptv-tv-mode .tv-guide-actions>a,.ptv-tv-mode .tv-guide-actions>button{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #394552;border-radius:999px;background:#151d27;color:#f3f6f8;font:inherit;font-size:14px;font-weight:850;cursor:pointer;position:static;transform:none}
.ptv-tv-mode .tv-guide-row{padding:11px 9px}
.ptv-tv-mode .tv-guide-row[aria-selected=true]{border-color:#4ce8ff66}
.ptv-tv-mode .tv-guide-row[aria-selected=true]>small{color:#4ce8ff}
.ptv-tv-mode .tv-key-help{display:none}
.ptv-tv-mode .tv-guide-list{mask-image:linear-gradient(transparent 0,#000 14px,#000 calc(100% - 22px),transparent 100%)}
@media(max-height:620px){.ptv-tv-mode .tv-guide-head{padding:14px 18px 6px}.ptv-tv-mode .tv-guide-head h2{font-size:24px}.ptv-tv-mode .tv-guide-head .eyebrow{display:none}.ptv-tv-mode .tv-guide-actions{padding:0 18px 8px}.ptv-tv-mode .tv-guide-actions>a,.ptv-tv-mode .tv-guide-actions>button{min-height:34px;padding:5px 12px;font-size:13px}.ptv-tv-mode .tv-guide-search{padding:0 18px 8px}.ptv-tv-mode .tv-guide-search>span{display:none}.ptv-tv-mode .tv-guide-search input{padding:8px 12px}}
.ptv-tv-mode .tv-guide-row:focus{background:#1b2531}
.ptv-tv-mode .tv-number-entry{position:absolute;z-index:14;top:50%;right:max(48px,env(safe-area-inset-right));transform:translateY(-50%);min-width:140px;padding:10px 20px;border:2px solid #4ce8ff;border-radius:14px;background:#080d13f0;color:#fff;font-size:52px;font-weight:950;letter-spacing:.04em;text-align:center}
.ptv-tv-mode .tv-number-entry::before{content:"CH";display:block;color:#4ce8ff;font-size:13px;letter-spacing:.14em}
.ptv-tv-mode .tv-number-entry[hidden]{display:none}
.ptv-tv-mode .tv-number-entry[data-state=error]{border-color:#ff9daf;font-size:22px}
/* Pages: roomier hit targets so the focus ring never clips. */
.ptv-tv-mode .site-header{position:sticky;top:0}
.ptv-tv-mode .desktop-nav a,.ptv-tv-mode .header-actions>*{scroll-margin:90px}
.ptv-tv-mode main :is(a,button){scroll-margin:110px}
@media(prefers-reduced-motion:reduce){.ptv-tv-mode .living-room .tv-now-bar{transition:none}}
/* == sponsor3733.css == */
/* 3.7.33 1xBet sponsor pre-roll "Floodlights" (concept A, T476/T477): night-match stadium spot built
   on PatchTV's match feed. The overlay sits absolutely over the player box (inset:0), so nothing
   shifts. The overlay is the size container; cq units are only used by its descendants. Motion is
   transform/opacity only, plays once inside a 5 s timeline and switches off under reduced motion. */
.patchtv-preroll.patchtv-sponsor.fl{container-type:size;display:block;padding:0;overflow:hidden;isolation:isolate;text-align:left;color:#f4fff8;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,sans-serif;-webkit-font-smoothing:antialiased;
  --fl-ink:#f4fff8;--fl-mute:#f4fff8b8;--fl-blue:#1f6fe8;--fl-blue2:#0f4fb8;--fl-gold:#ffd23f;--fl-hot:#ff4d6d;--fl-ease:cubic-bezier(.2,.9,.3,1.2);
  background:radial-gradient(120% 80% at 50% 115%,#0b4a2d 0%,#06321f 35%,#03140c 100%)}
.fl-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.fl-beam{position:absolute;inset:-20% -10%;mix-blend-mode:screen;
  background:conic-gradient(from 150deg at 6% -5%,transparent 0 6deg,#ffffdc38 12deg,transparent 30deg),conic-gradient(from 170deg at 94% -5%,transparent 0 330deg,#ffffdc38 348deg,transparent 354deg)}
.fl-crowd{position:absolute;left:0;right:0;bottom:0;height:28%;opacity:.5;
  background:radial-gradient(circle at 50% 50%,#ffffff59 0 1.2px,transparent 1.6px) 0 0/9px 9px,radial-gradient(circle,#ffd23f4d 0 1px,transparent 1.5px) 4px 5px/13px 13px;
  -webkit-mask-image:linear-gradient(transparent,#000 70%);mask-image:linear-gradient(transparent,#000 70%)}
.fl-pitch{position:absolute;left:20%;bottom:-30%;width:60%;height:70%;border:3px solid #ffffff38;border-radius:50%}
.fl-sweep{position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,#ffffff14 50%,transparent 65%);transform:translateX(-100%)}
.fl-grid{position:absolute;inset:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;
  padding:2.6cqw 3.2cqw 2.2cqw;gap:1.2cqw 3cqw}
.fl-grid>*{min-width:0}
.fl-top{grid-column:1/3;display:flex;align-items:center;gap:1.4cqw;padding-right:max(86px,13cqw)}
.patchtv-sponsor .fl-badge{flex:none;display:inline-block;background:#fff;color:#03140c;border-radius:6px;padding:.15em .55em;font-size:max(11px,1.35cqw);font-weight:900;letter-spacing:.04em;line-height:1.35}
.fl-kicker{display:flex;align-items:center;gap:.8cqw;min-width:0;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:max(11px,1.7cqw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-kicker span{overflow:hidden;text-overflow:ellipsis}
.fl-bolt{flex:none;width:2cqw;height:2cqw;min-width:12px;min-height:12px;fill:var(--fl-gold);filter:drop-shadow(0 0 8px #ffd23fe6)}
.fl-chip{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:.7cqw;font-size:max(10px,1.25cqw);font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:.55cqw 1.1cqw;border-radius:999px;background:#ffffff1f;white-space:nowrap}
.fl-dot{width:.7cqw;height:.7cqw;min-width:6px;min-height:6px;border-radius:50%;background:var(--fl-hot);box-shadow:0 0 10px var(--fl-hot)}
.fl-clock{color:var(--fl-gold);font-variant-numeric:tabular-nums}
.fl-clock:empty{display:none}
.fl-main{display:grid;grid-template-rows:auto auto;align-content:center;gap:1.6cqw;min-height:0}
.fl-duel{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:2cqw}
.patchtv-sponsor .fl-team{appearance:none;display:flex;align-items:center;gap:1.4cqw;min-width:0;margin:0;padding:.8cqw;border:0;border-radius:2cqw;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.patchtv-sponsor .fl-team.away{flex-direction:row-reverse;text-align:right}
.patchtv-sponsor .fl-team:focus-visible{outline:3px solid var(--fl-gold);outline-offset:2px}
.patchtv-sponsor .fl-team.is-sel{background:#ffd23f1f;box-shadow:0 0 0 2px var(--fl-gold),0 0 40px #ffd23f59}
.fl-mono{flex:none;width:8.5cqw;height:8.5cqw;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:3cqw;color:#fff;
  background:repeating-linear-gradient(115deg,transparent 0 12px,#00000038 12px 19px),var(--c,#555);box-shadow:0 20px 50px -20px #000,0 0 0 .35cqw #ffffff33 inset;text-shadow:0 2px 4px #00000080}
.fl-tname{display:block;min-width:0}
.fl-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:900;font-size:3.2cqw;line-height:1.14;padding-bottom:.04em;letter-spacing:-.02em;overflow-wrap:anywhere}
.fl-tag{display:block;font-size:max(10px,1.3cqw);letter-spacing:.16em;color:var(--fl-mute);font-weight:700;margin-top:.6cqw;text-transform:uppercase}
.fl-team.is-ai .fl-tag:after{content:"AI PICK";display:inline-block;margin-left:.6em;padding:.1em .45em;border-radius:.35em;background:var(--fl-blue);color:#fff;letter-spacing:.1em}
.fl-team.away.is-ai .fl-tag:after{margin-left:0}
.fl-team.away.is-ai .fl-tag{display:flex;flex-direction:row-reverse;justify-content:flex-start;gap:.6em}
.fl-vs{position:relative;width:6cqw;height:6cqw;min-width:24px;min-height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-style:italic;font-size:max(10px,2.2cqw);background:var(--fl-gold);color:#1b1400;box-shadow:0 0 0 .5cqw #ffd23f33,0 0 40px #ffd23f99}
.fl-burst{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.fl-burst i{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:2px;background:var(--fl-gold);opacity:0}
.fl-burst i:nth-child(2n){background:var(--fl-ink);border-radius:50%}
.fl-burst i:nth-child(3n){background:var(--fl-hot)}
.fl-burst i:nth-child(4n){background:var(--fl-blue)}
.fl-burst i:nth-child(1){--dx:-9cqw;--dy:-6cqw}.fl-burst i:nth-child(2){--dx:9cqw;--dy:-6cqw}.fl-burst i:nth-child(3){--dx:-12cqw;--dy:1cqw}
.fl-burst i:nth-child(4){--dx:12cqw;--dy:2cqw}.fl-burst i:nth-child(5){--dx:-6cqw;--dy:7cqw}.fl-burst i:nth-child(6){--dx:6cqw;--dy:8cqw}
.fl-burst i:nth-child(7){--dx:0;--dy:-10cqw}.fl-burst i:nth-child(8){--dx:-3cqw;--dy:-11cqw}.fl-burst i:nth-child(9){--dx:4cqw;--dy:-9cqw}
.fl-burst i:nth-child(10){--dx:-14cqw;--dy:-3cqw}.fl-burst i:nth-child(11){--dx:14cqw;--dy:-2cqw}.fl-burst i:nth-child(12){--dx:1cqw;--dy:10cqw}
/* lower third */
.fl-lower{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:2cqw;align-items:center;min-height:9cqw;background:#0000006b;border:1px solid #ffffff1a;border-left:.6cqw solid var(--fl-gold);border-radius:1.2cqw;padding:1.4cqw 2cqw}
.fl-pick{min-width:0}
.fl-pickline{display:block;font-weight:900;font-size:2.4cqw;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-sub{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:.5cqw;font-size:max(10px,1.35cqw);line-height:1.25;color:var(--fl-mute);font-weight:700;letter-spacing:.03em}
.fl.is-fallback .fl-lower{grid-template-columns:minmax(0,1fr) auto}
.fl.is-fallback .fl-meter{grid-template-columns:8cqw auto}
.fl-sub:empty{display:none}
.patchtv-sponsor .fl-label{display:block;margin-top:.4cqw;font-size:max(10px,1.3cqw);color:var(--fl-mute);font-weight:700;letter-spacing:.04em}
.fl-meter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.4cqw}
.fl-bar{height:1.5cqw;min-height:6px;border-radius:999px;background:#ffffff1f;overflow:hidden}
.fl-fill{height:100%;width:var(--conf,0%);border-radius:999px;transform-origin:left center;background:linear-gradient(90deg,var(--fl-blue2),var(--fl-blue) 60%,var(--fl-gold));box-shadow:0 0 18px #1f6fe8e6}
.fl-pct{display:grid;justify-items:end;font-weight:900;color:var(--fl-gold);line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 0 24px #ffd23f80}
.fl-pct b{font-size:4.2cqw;font-weight:900}
.fl-pct i{margin-top:.3em;font-style:normal;font-size:max(9px,1.1cqw);color:var(--fl-mute);letter-spacing:.1em;font-weight:700}
/* QR / CTA column */
.fl-side{display:grid;align-content:center;justify-items:center;gap:1cqw;text-align:center}
.fl-brand{font-weight:900;font-size:3.4cqw;letter-spacing:-.03em;line-height:1;display:inline-flex;align-items:center}
.fl-brand .fl-x{background:var(--fl-blue);color:#fff;padding:.05em .22em;border-radius:.22em;font-style:italic;margin-right:.08em}
.patchtv-sponsor .fl-qr{margin:0;background:#fff;padding:1cqw;border-radius:1.2cqw;box-shadow:0 0 0 .4cqw var(--fl-gold),0 30px 60px -20px #000}
.patchtv-sponsor .fl-qr img{display:block;width:min(40cqh,22cqw);height:min(40cqh,22cqw);max-width:none;image-rendering:pixelated}
.fl-scan{font-weight:900;font-size:max(11px,1.6cqw);line-height:1.15}
.fl-scan small{display:block;font-size:max(10px,1.2cqw);color:var(--fl-mute);font-weight:700;margin-top:.2em}
.patchtv-sponsor .fl-cta{display:inline-flex;align-items:center;justify-content:center;gap:.45em;max-width:100%;min-width:0;text-decoration:none;color:#fff;font-weight:900;font-size:max(12px,1.5cqw);line-height:1.1;
  padding:.8cqw 1.4cqw;border-radius:1cqw;background:linear-gradient(180deg,var(--fl-blue),var(--fl-blue2));box-shadow:0 10px 26px -10px #1f6fe8e6}
.fl-cta span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-cta svg{flex:none;width:1em;height:1em;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.patchtv-sponsor .fl-cta:focus-visible{outline:3px solid #fff;outline-offset:3px}
.fl-bottom{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;gap:2cqw;font-size:max(10px,1.25cqw);font-weight:700;color:var(--fl-mute);line-height:1.2}
.fl-bottom b{color:var(--fl-ink)}
.fl-progress{position:absolute;z-index:2;left:0;right:0;bottom:0;height:.45cqw;min-height:3px;background:#ffffff1f}
.fl-progress i{display:block;height:100%;background:var(--fl-gold);transform-origin:left center}
.patchtv-preroll.patchtv-sponsor.fl>.patchtv-sponsor-skip{position:absolute;z-index:3;top:max(6px,2.2cqw);right:max(6px,2.4cqw);bottom:auto;min-width:56px;min-height:34px;border:1px solid #ffffffb3;background:#0000005c;color:#fff;border-radius:999px;padding:5px 14px;font-size:max(13px,1.5cqw);font-weight:800;cursor:pointer}
.patchtv-preroll.patchtv-sponsor.fl>.patchtv-sponsor-skip:focus-visible{outline:3px solid var(--fl-gold);outline-offset:3px}
/* ---- 5 s timeline (+ the tap reveal) ---- */
@media (prefers-reduced-motion:no-preference){
  .fl .fl-a{opacity:0;animation:fl-in-up .5s var(--fl-ease) forwards}
  .fl .fl-sweep{animation:fl-sweep 5s ease-in-out 1 forwards}
  .fl .fl-dot{animation:fl-blink 1.2s infinite}
  .fl .fl-top.fl-a{animation-delay:.1s}
  .fl .fl-bottom.fl-a{animation-duration:.4s;animation-delay:.4s}
  .fl .fl-team.home.fl-a{animation:fl-in-west .55s var(--fl-ease) .5s forwards}
  .fl .fl-team.away.fl-a{animation:fl-in-east .55s var(--fl-ease) .5s forwards}
  .fl .fl-vs.fl-a{animation:fl-slam .5s var(--fl-ease) .95s forwards}
  .fl .fl-lower.fl-a{animation-delay:1.5s}
  .fl .fl-fill{transform:scaleX(0);animation:fl-fill 1s var(--fl-ease) 1.9s forwards}
  .fl .fl-side.fl-a{animation-delay:2.6s}
  .fl .fl-qr{animation:fl-pulse 1.2s ease-in-out 3.2s 2}
  .fl .fl-progress i{transform:scaleX(0);animation:fl-prog 5s linear forwards}
  .fl.is-ext .fl-progress i{animation:fl-prog2 var(--ext,3s) linear forwards}
  .fl.is-picked .fl-burst i{animation:fl-pop .9s var(--fl-ease) forwards}
  .fl .fl-team.is-sel .fl-mono{animation:fl-lift .45s var(--fl-ease) forwards}
  .fl.is-picked .fl-pickline{animation:fl-in-up .4s var(--fl-ease)}
  .fl.is-picked .fl-pick-cta{animation:fl-pulse .6s ease-in-out 1}
}
@keyframes fl-sweep{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes fl-blink{50%{opacity:.25}}
@keyframes fl-in-up{from{opacity:0;transform:translateY(2cqw)}to{opacity:1;transform:none}}
@keyframes fl-in-west{from{opacity:0;transform:translateX(-8cqw)}to{opacity:1;transform:none}}
@keyframes fl-in-east{from{opacity:0;transform:translateX(8cqw)}to{opacity:1;transform:none}}
@keyframes fl-slam{0%{opacity:0;transform:scale(2.4) rotate(-12deg)}70%{opacity:1;transform:scale(.9)}100%{opacity:1;transform:none}}
@keyframes fl-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fl-pulse{50%{transform:scale(1.04)}}
@keyframes fl-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fl-prog2{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fl-pop{0%{opacity:1;transform:translate(0,0) scale(.6)}100%{opacity:0;transform:translate(var(--dx,0),var(--dy,0)) scale(1) rotate(200deg)}}
@keyframes fl-lift{0%{transform:none}60%{transform:translateY(-6%) scale(1.12)}100%{transform:translateY(-3%) scale(1.06)}}
/* ---- small players (phones): CTA instead of QR, compact rows ---- */
@container (max-width:560px){
  .fl-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;padding:6px 9px 7px;gap:4px}
  .fl-top,.fl-bottom{grid-column:1}
  .fl-top{gap:6px;padding-right:78px}
  .patchtv-sponsor .fl-badge,.fl-kicker{display:none}
  .fl-chip{margin-left:0;font-size:10px;padding:3px 8px;gap:5px}
  .fl-main{gap:4px}
  .fl-duel{gap:6px}
  .patchtv-sponsor .fl-team{gap:6px;padding:3px 4px;border-radius:10px}
  .fl-mono{width:34px;height:34px;font-size:12px}
  .fl-name{font-size:13px;line-height:1.15}
  .fl-tag{font-size:9px;margin-top:1px;letter-spacing:.1em}
  .fl-vs{width:24px;height:24px;min-width:24px;font-size:10px}
  .fl-lower{min-height:0;padding:4px 8px;gap:8px;border-left-width:4px;border-radius:8px;grid-template-columns:minmax(0,1fr) auto}
  .fl-pickline{font-size:11.5px}
  .fl-sub{display:none;font-size:10px;margin-top:1px;-webkit-line-clamp:1}
  .fl.is-picked .fl-sub{display:-webkit-box}
  .fl.is-fallback .fl-meter{grid-template-columns:40px auto}
  .patchtv-sponsor .fl-label{font-size:10px;margin-top:1px}
  .fl-meter{grid-template-columns:52px auto;gap:6px}
  .fl-bar{height:5px}
  .fl-pct b{font-size:17px}
  .fl-pct i{display:none}
  .fl-side{display:block}
  .fl-brand,.patchtv-sponsor .fl-qr,.fl-scan{display:none}
  .patchtv-sponsor .fl-cta{display:flex;width:100%;font-size:12.5px;padding:6px 10px;border-radius:8px}
  .fl-bottom{justify-content:center;font-size:10px}
  .fl-bottom .fl-ai-note{display:none}
}
@container (max-width:560px) and (max-height:170px){
  .fl-tag{display:none}
  .fl-mono{width:28px;height:28px}
}
@media (prefers-reduced-motion:reduce){
  .fl .fl-a,.fl .fl-fill,.fl .fl-progress i{opacity:1;transform:none;animation:none}
}
/* ---- 3.9.3 "Scoreboard" match card (T590): a card over the playing video that stays until closed. ONE stacked
   Home | Draw | Away probability bar (implied by the odds, margin removed) is the only place numbers appear; every
   bar segment, legend entry and the CTA are links. Dark glass by default; light theme for the adult sites' light
   pages via [data-sb-theme="light"] / .sb59.is-light under prefers-color-scheme:light. px sizes per DESIGN.md §4,
   phone sizes under the ≤560 px container query. Motion: opacity/transform only, reduced-motion aware. ---- */
.patchtv-preroll.patchtv-sponsor.fl.sb59{container-type:inline-size;background:transparent;pointer-events:none;overflow:visible;isolation:isolate}
.sb59-card{container-type:size;pointer-events:auto;position:absolute;left:2%;right:2%;top:2.5%;height:64%;overflow:hidden;border-radius:16px;
  --sb-bg:radial-gradient(120% 100% at 50% 0%,#0b1220 0%,#060a14 100%);--sb-ink:#f4f7fb;--sb-muted:#aab3c2;--sb-glass:#ffffff14;--sb-line:#ffffff24;--sb-art:.12;--sb-draw:#8a93a3;
  --h:hsl(12 72% 46%);--a:hsl(215 72% 46%);
  color:var(--sb-ink);border:1px solid var(--sb-line);box-shadow:0 24px 70px -20px #000,0 0 0 1px #0008;background:var(--sb-bg)}
.sb59-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.sb59-glow{position:absolute;top:-30%;width:70%;height:160%;border-radius:50%;filter:blur(40px);opacity:.32}
.sb59-glow-h{left:-25%;background:radial-gradient(closest-side,var(--h),transparent)}
.sb59-glow-a{right:-25%;background:radial-gradient(closest-side,var(--a),transparent)}
.sb59-art{position:absolute;inset:0;width:100%;height:100%;color:#fff;opacity:var(--sb-art)}
.sb59-grid{position:absolute;inset:0;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;padding:12px 18px 10px}
.sb59-grid>*{min-width:0}
/* 1. head */
.sb59-head{display:flex;align-items:center;gap:8px;padding-right:96px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--sb-muted);white-space:nowrap}
.patchtv-sponsor .sb59-badge{flex:none;display:inline-block;background:#fff;color:#0b1220;border-radius:6px;padding:.2em .55em;font-size:11px;font-weight:900;letter-spacing:.04em;line-height:1.3}
.sb59-league{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:.25em .7em;border-radius:999px;background:var(--sb-glass);color:var(--sb-ink);overflow:hidden}
.sb59-league-name{overflow:hidden;text-overflow:ellipsis}
.sb59-ko{color:var(--sb-ink);font-variant-numeric:tabular-nums}
.sb59-ko:empty{display:none}
.sb59-livepill{display:none;align-items:center;gap:6px;padding:.25em .7em;border-radius:999px;background:#ff4d6d33;color:#fff;font-weight:900}
.sb59-livedot{width:7px;height:7px;border-radius:50%;background:#ff4d6d;box-shadow:0 0 10px #ff4d6d}
.sb59.is-live .sb59-livepill{display:inline-flex}
.sb59.is-live .sb59-ko{display:none}
/* 2. duel */
.sb59-duel{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;min-height:0}
.sb59-team{display:flex;align-items:center;gap:12px;min-width:0}
.sb59-team.away{flex-direction:row-reverse;text-align:right}
.sb59-crest{position:relative;flex:none;width:64px;height:64px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #ffffff3d,0 14px 34px -14px #000;overflow:hidden}
.sb59-shield{position:absolute;left:14%;top:12%;width:72%;height:76%;color:var(--c,#555)}
.sb59-shield-body{fill:var(--c,#555)}
.sb59-shield-band{fill:#ffffff2e}
.sb59-shield-edge{fill:none;stroke:#ffffff66;stroke-width:2}
.sb59-shield-text{fill:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,sans-serif;font-weight:900;font-size:20px;letter-spacing:-.02em}
.sb59-crest-img{position:absolute;left:12%;top:12%;width:76%;height:76%;object-fit:contain;opacity:0}
.sb59-crest.has-crest .sb59-crest-img{opacity:1}
.sb59-crest.has-crest .sb59-shield{opacity:0}
.sb59-tname{display:grid;gap:3px;min-width:0}
.sb59-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:900;font-size:20px;line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere}
.sb59-tag{font-size:10px;letter-spacing:.16em;color:var(--sb-muted);font-weight:800}
.sb59-aitag{display:inline-block;justify-self:start;font-size:10px;letter-spacing:.12em;font-weight:900;color:#1b1400;background:var(--fl-gold,#ffd23f);border-radius:999px;padding:.2em .6em;white-space:nowrap}
.sb59-team.away .sb59-aitag{justify-self:end}
.sb59-mid{display:grid;justify-items:center;gap:6px}
.sb59-vs{font-size:12px;font-weight:900;font-style:italic;letter-spacing:.1em;text-transform:uppercase;color:var(--sb-muted);padding:.3em .7em;border-radius:999px;background:var(--sb-glass)}
/* 3. the single probability bar (+ legend, caption) or the pick line */
.sb59-middle{display:grid;gap:7px;justify-items:center;text-align:center}
.sb59-bar{display:flex;width:100%;height:18px;border-radius:999px;overflow:hidden;background:var(--sb-glass);transform-origin:left center}
.patchtv-sponsor .sb59-seg{flex:var(--w,1) 1 0;min-width:0;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:12px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #0008;overflow:hidden}
.sb59-seg-home{background:var(--h)}
.sb59-seg-draw{background:var(--sb-draw)}
.sb59-seg-away{background:var(--a)}
.patchtv-sponsor .sb59-seg.is-ai{box-shadow:inset 0 0 0 2px var(--fl-gold,#ffd23f)}
.patchtv-sponsor .sb59-seg:hover{filter:brightness(1.12)}
.patchtv-sponsor .sb59-seg:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.sb59-legend{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;font-size:13px;font-weight:800;color:var(--sb-ink)}
.sb59-sep{color:var(--sb-muted)}
.patchtv-sponsor .sb59-leg{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;border-radius:999px;padding:.15em .5em}
.patchtv-sponsor .sb59-leg:hover{background:var(--sb-glass)}
.patchtv-sponsor .sb59-leg:focus-visible{outline:3px solid var(--fl-gold,#ffd23f);outline-offset:1px}
.sb59-swatch{width:9px;height:9px;border-radius:50%;background:var(--sb-draw)}
.sb59-leg-home .sb59-swatch{background:var(--h)}
.sb59-leg-away .sb59-swatch{background:var(--a)}
.sb59-leg.is-ai .sb59-swatch{box-shadow:0 0 0 2px var(--fl-gold,#ffd23f)}
.sb59-leg-pct{font-variant-numeric:tabular-nums}
.sb59-caption{font-size:11px;color:var(--sb-muted);font-weight:700;letter-spacing:.02em}
.sb59-pickline{display:block;font-weight:900;font-size:18px;line-height:1.15}
.patchtv-sponsor .sb59-label{display:block;font-size:12px;color:var(--sb-muted);font-weight:700;letter-spacing:.04em}
.sb59.is-fallback .sb59-middle{align-content:center;gap:10px}
.sb59.is-fallback .sb59-brand-big{font-size:40px}
/* 4. CTA row */
.sb59-ctarow{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.sb59-brand{margin-right:auto;font-weight:900;font-size:24px;letter-spacing:-.03em;line-height:1;display:inline-flex;align-items:center}
.sb59-brand .sb59-x{background:var(--fl-blue,#1f6fe8);color:#fff;padding:.05em .22em;border-radius:.22em;font-style:italic;margin-right:.08em}
.patchtv-sponsor .sb59-qr{margin:0;background:#fff;padding:4px;border-radius:8px;box-shadow:0 0 0 2px var(--fl-gold,#ffd23f)}
.patchtv-sponsor .sb59-qr img{display:block;width:41px;height:41px;max-width:none;image-rendering:pixelated}
.patchtv-sponsor .sb59-cta{display:inline-flex;align-items:center;justify-content:center;gap:.45em;min-height:44px;max-width:100%;min-width:0;padding:0 22px;text-decoration:none;color:#fff;font-weight:900;font-size:16px;line-height:1.1;
  border-radius:12px;background:linear-gradient(180deg,var(--fl-blue,#1f6fe8),var(--fl-blue2,#0f4fb8));box-shadow:0 10px 26px -10px #1f6fe8e6}
.sb59-cta span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb59-cta svg{flex:none;width:1em;height:1em;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.patchtv-sponsor .sb59-cta:hover{filter:brightness(1.08)}
.patchtv-sponsor .sb59-cta:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* 5. foot */
.sb59-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:700;color:var(--sb-muted);line-height:1.2;white-space:nowrap}
.sb59-foot>*{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sb59-foot b{color:var(--sb-ink)}
/* close */
.patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close{position:absolute;z-index:3;top:9px;right:10px;display:inline-flex;align-items:center;gap:.4em;min-width:44px;min-height:34px;border:1px solid #ffffffb3;background:#000000a6;color:#fff;border-radius:999px;padding:5px 12px 5px 9px;font-size:13px;font-weight:800;cursor:pointer;line-height:1}
.patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close:hover{background:#000}
.patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close:focus-visible{outline:3px solid var(--fl-gold,#ffd23f);outline-offset:3px;background:#ffd23f33}
.ptv-tv-mode .sb59 .sb59-close{min-height:44px;font-size:16px}
.ptv-tv-mode .sb59-card{top:16%;height:64%}
.ptv-tv-mode .sb59-foot{font-size:13px}
/* motion: card in, bar grows once, LIVE dot blinks */
@media (prefers-reduced-motion:no-preference){
  .sb59-card{animation:sb59-in .45s var(--fl-ease,ease-out)}
  .sb59-bar{animation:sb59-grow .6s cubic-bezier(.2,.8,.2,1) .25s both}
  .sb59-livedot{animation:sb59-blink 1.2s infinite}
}
@keyframes sb59-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes sb59-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes sb59-blink{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){
  .sb59-card,.sb59-bar,.sb59-livedot{animation:none;opacity:1;transform:none}
}
/* light theme (adult sites' light pages opt in; the PatchTV overlay on video stays dark) */
@media (prefers-color-scheme:light){
  [data-sb-theme="light"] .sb59-card,.sb59.is-light .sb59-card{--sb-bg:#ffffff;--sb-ink:#0f172a;--sb-muted:#5b6472;--sb-glass:#0f172a0f;--sb-line:#0f172a1f;--sb-art:.08;box-shadow:0 20px 50px -24px #0f172a66}
  [data-sb-theme="light"] .sb59-art,.sb59.is-light .sb59-art{color:#0f172a}
  [data-sb-theme="light"] .sb59-glow,.sb59.is-light .sb59-glow{opacity:.18}
  [data-sb-theme="light"] .sb59-crest,.sb59.is-light .sb59-crest{box-shadow:0 0 0 2px #0f172a1f,0 14px 34px -14px #0f172a66}
}
/* ---- phones / small players (container ≤560 px): compact rows, CTA full width, no QR/wordmark ---- */
@container (max-width:560px){
  .sb59-card{height:72%;top:2%;border-radius:12px}
  .sb59-grid{grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:3px;padding:6px 8px 5px}
  .sb59-head{padding-right:40px;font-size:10px;gap:5px;letter-spacing:.02em}
  .patchtv-sponsor .sb59-badge{font-size:9px;padding:.15em .4em}
  .sb59-league{padding:.15em .5em;gap:4px}
  .sb59-livepill{padding:.15em .5em}
  .sb59-livedot{width:5px;height:5px}
  .sb59-duel{gap:6px}
  .sb59-team{gap:6px}
  .sb59-crest{width:34px;height:34px;box-shadow:0 0 0 1.5px #ffffff3d}
  .sb59-tname{gap:1px}
  .sb59-name{font-size:13px;line-height:1.1}
  .sb59-tag,.sb59-aitag{display:none}/* phone: the gold ring on the bar segment + legend swatch marks the AI pick */
  .sb59-mid{gap:3px}
  .sb59-vs{font-size:9px;padding:.2em .5em}
  .sb59-middle{gap:2px;align-content:center}
  .sb59-bar{height:14px}
  .patchtv-sponsor .sb59-seg{font-size:10px}
  .sb59-legend{font-size:11px;gap:0 5px;line-height:1.1}
  .patchtv-sponsor .sb59-leg{gap:4px;padding:0 .2em}
  .sb59-swatch{width:7px;height:7px}
  .sb59-caption{display:none}
  .sb59-pickline{font-size:13px}
  .patchtv-sponsor .sb59-label{font-size:10px}
  .sb59.is-fallback .sb59-brand-big{font-size:26px}
  .sb59-ctarow{display:block}
  .sb59-brand,.patchtv-sponsor .sb59-qr{display:none}
  .patchtv-sponsor .sb59-cta{display:flex;width:100%;min-height:36px;font-size:14px;padding:0 10px;border-radius:9px}
  .sb59-foot{justify-content:center;font-size:9px;gap:8px}
  .sb59-foot .sb59-ai-note{display:none}
  .patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close{top:4px;right:4px;min-height:30px;min-width:30px;padding:0;justify-content:center;font-size:13px}/* phone: icon-only ×, label stays for screen readers */
  .patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .patchtv-preroll.patchtv-sponsor.fl.sb59 .sb59-close svg{width:16px;height:16px}
}
@container (max-width:560px) and (max-height:150px){
  .sb59-grid{gap:2px;padding:4px 7px 3px}
  .sb59-tag{display:none}
  .sb59-crest{width:32px;height:32px}
  .sb59-legend{font-size:10px}
  .patchtv-sponsor .sb59-cta{min-height:34px;font-size:13px}
}
/* the player's own LIVE tag sits under the card's corner: hide it while the card is up */
.watch-poster:has(.sb59)>.live-dot{opacity:0}
/* ---- 3.9.4 (T592) AI-estimate basis: a match without usable odds but with a valid feed `ai_estimate` uses the SAME
   bar, visibly different: lighter, desaturated segments with diagonal stripes, a dashed outline and the caption
   "AI estimate — not odds" (shown on phones too, unlike the odds caption). The odds bar (data-basis="odds") is
   unchanged. ---- */
.sb59.is-estimate .sb59-bar{outline:1px dashed var(--sb-muted);outline-offset:1px}
.sb59.is-estimate .sb59-seg-home,.sb59.is-estimate .sb59-leg-home .sb59-swatch{background-color:color-mix(in srgb,var(--h) 45%,#a7afbd)}
.sb59.is-estimate .sb59-seg-draw,.sb59.is-estimate .sb59-swatch{background-color:#a7afbd}
.sb59.is-estimate .sb59-seg-away,.sb59.is-estimate .sb59-leg-away .sb59-swatch{background-color:color-mix(in srgb,var(--a) 45%,#a7afbd)}
.patchtv-preroll.patchtv-sponsor.fl.sb59.is-estimate .sb59-seg{background-image:repeating-linear-gradient(135deg,#ffffff4d 0 4px,#ffffff00 4px 9px);color:#0b1220;text-shadow:0 1px 0 #ffffff80}
.sb59.is-estimate .sb59-swatch{background-image:repeating-linear-gradient(135deg,#ffffff80 0 2px,#ffffff00 2px 4px)}
.patchtv-sponsor .sb59-caption-ai{display:inline-block;color:var(--sb-ink);background:var(--sb-glass);border:1px dashed var(--sb-muted);border-radius:999px;padding:.1em .75em;font-weight:800;letter-spacing:.03em}
.sb59-pickline.sb59-pickline-est{font-size:14px;font-weight:800;color:var(--sb-muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@container (max-width:560px){
  .sb59.is-estimate .sb59-bar{height:12px}
  /* the visible caption costs one row: 4 px off the crest and 2 px off the CTA keep the 158 px card free of overlap */
  .sb59.is-estimate .sb59-crest{width:30px;height:30px}
  .sb59.is-estimate .sb59-legend{font-size:10.5px}
  .patchtv-preroll.patchtv-sponsor.fl.sb59.is-estimate .sb59-cta{min-height:34px}
  .patchtv-sponsor.sb59.is-estimate .sb59-caption-ai{display:inline-block;font-size:9px;line-height:1.25;padding:0 .6em}
  .sb59-pickline.sb59-pickline-est{display:none}/* phone: no room; the gold ring on the bar segment marks the AI pick */
}

/* ---- 3.9.23 (T731) empty feed: when the match feed has no usable match at all, the card is ONE compact banner line
   over the top of the video instead of a big empty panel: 18+ · Sponsored badge, the 1xBet wordmark, one line, the
   CTA and "Play responsibly". Same overlay position (absolute, no layout shift); no QR, no second wordmark. ---- */
.sb59.is-fallback .sb59-card{container-type:inline-size;height:auto}
.sb59.is-fallback .sb59-grid{position:relative;inset:auto;display:flex;align-items:center;gap:8px 14px;min-height:64px;padding:10px 118px 10px 14px}
.sb59.is-fallback .sb59-head{flex:none;padding-right:0}
.sb59.is-fallback .sb59-middle{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:1 1 auto;min-width:0;text-align:left}
.sb59.is-fallback .sb59-brand-big{flex:none;margin-right:0;font-size:24px}
.sb59.is-fallback .sb59-banner-line{min-width:0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb59.is-fallback .sb59-foot{order:2;flex:none;margin-left:auto}
.sb59.is-fallback .sb59-ctarow{order:3;flex:none}
.patchtv-preroll.patchtv-sponsor.fl.sb59.is-fallback .sb59-close{top:50%;transform:translateY(-50%)}
@container (max-width:560px){
  .sb59-league-more{display:none}/* 3.9.23: "Upcoming matches" -> "Upcoming" next to the badge and kickoff */
  .sb59.is-fallback .sb59-middle .sb59-brand{display:inline-flex}/* the banner keeps its one wordmark on phones */
  .sb59.is-fallback .sb59-grid{flex-wrap:wrap;gap:6px 8px;min-height:0;padding:7px 42px 7px 8px}
  .sb59.is-fallback .sb59-middle{flex:1 1 55%;gap:8px}
  .sb59.is-fallback .sb59-brand-big{font-size:18px}
  .sb59.is-fallback .sb59-banner-line{font-size:13px}
  .sb59.is-fallback .sb59-ctarow{order:2;display:block;flex:1 1 55%}
  .sb59.is-fallback .sb59-foot{order:3;justify-content:flex-end;margin-left:0}
  .patchtv-preroll.patchtv-sponsor.fl.sb59.is-fallback .sb59-close{top:6px;transform:none}
}
/* == sponsored380.css == */
.sponsored380{display:flex;align-items:center;gap:16px;padding:12px 18px;margin:12px 0;border:1px solid #303640;border-radius:12px;background:#141923;color:#e4e8ef;min-width:0}.sponsored380 small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#a2adbd}.sponsored380 strong{font-size:13px;font-weight:500;flex:1}.sponsored380 a{font-size:12px;color:#c7d2e5;white-space:nowrap}.sponsored380-player{max-width:720px}.sponsored380[hidden]{display:none!important}@media(max-width:700px){.sponsored380{gap:8px;flex-wrap:wrap;padding:10px 12px}.sponsored380 strong{flex-basis:70%;font-size:12px}.sponsored380-player{display:none!important}}
