@font-face{font-family:"Space Grotesk";src:url("/_next/ipii-webfrontend-v19/showcase/assets/fonts/space-grotesk-var.woff2") format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/_next/ipii-webfrontend-v19/showcase/assets/fonts/jetbrains-mono-var.woff2") format("woff2");font-weight:400 800;font-display:swap}
:root{--canvas:#2b2b2a;--canvas-2:#30302f;--panel:#383735;--panel-2:#403f3d;--panel-3:#494745;--text:#fdf3f3;--text-2:rgba(253,243,243,.84);--text-3:rgba(253,243,243,.66);--hair:rgba(255,255,255,.13);--hair-strong:rgba(255,255,255,.23);--mark:#b3362f;--cta:#8a1d1d;--cta-hover:#a52525;--cta-pressed:#6b1515;--ink-red:#d96a5f;--success:#36d399;--warning:#f0b440;--error:#f87171;--remote:#d2201d;--remote-soft:#ef4540;--football:rgba(253,243,243,.84);--football-soft:rgba(253,243,243,.66);--topbar:68px;--rail:92px;--pad:clamp(18px,3vw,48px);--content:1460px;--shadow:0 24px 70px rgba(0,0,0,.26)}
*{box-sizing:border-box;letter-spacing:0}html{min-width:320px;background:var(--canvas);scroll-behavior:smooth;overflow-x:clip}body{margin:0;min-height:100vh;overflow-x:clip;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(89,76,70,.16),transparent 64%),var(--canvas);color:var(--text);font-family:"Space Grotesk",sans-serif;-webkit-font-smoothing:antialiased}body.is-locked{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{border:0;cursor:pointer}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.icon.fill{fill:currentColor;stroke:none}.icon.tiny{width:13px;height:13px}.skip-link{position:fixed;z-index:300;left:18px;top:10px;translate:0 -80px;padding:10px 14px;border-radius:6px;background:var(--text);color:var(--canvas);font-weight:700}.skip-link:focus{translate:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--cta);outline-offset:3px;box-shadow:0 0 0 5px rgba(138,29,29,.26)}[hidden]{display:none!important}.overline,.mono{font-family:"JetBrains Mono",monospace}.overline{margin:0 0 10px;font-size:10px;font-weight:700;line-height:1.3;color:var(--text-3);text-transform:uppercase}.section-title{margin:0;font-size:38px;line-height:1.08;font-weight:620}.muted{color:var(--text-3)}
.topbar{position:fixed;z-index:80;inset:0 0 auto 0;height:var(--topbar);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:0 22px;border-bottom:1px solid var(--hair);background:rgba(7,6,5,.88);backdrop-filter:blur(18px) saturate(115%)}.brand{display:flex;align-items:center;gap:10px;min-width:190px}.brand img{width:27px}.brand strong{font-size:15px}.brand>span{padding-left:12px;border-left:1px solid var(--hair);font:650 9px "JetBrains Mono",monospace;color:var(--text-3)}.context-bar{justify-self:center;display:flex;align-items:center;gap:8px}.context-control,.account-control{height:44px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid var(--hair);border-radius:7px;background:rgba(253,243,243,.035);text-align:left}.context-control:hover,.account-control:hover{border-color:var(--hair-strong);background:rgba(253,243,243,.065)}.context-control span{display:grid;gap:1px;min-width:112px}.context-control small,.context-control b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-control small{font:600 8px "JetBrains Mono",monospace;color:var(--text-3)}.context-control b{max-width:155px;font-size:10px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px rgba(54,211,153,.1)}.account-control span{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--hair-strong);border-radius:50%;font-size:10px}.account-control b{font-size:11px}
.desktop-nav{position:fixed;z-index:70;left:16px;top:calc(var(--topbar) + 50%);translate:0 -50%;width:76px;padding:6px;display:grid;gap:3px;border:1px solid var(--hair);border-radius:8px;background:rgba(21,20,18,.9);box-shadow:var(--shadow);backdrop-filter:blur(15px)}.desktop-nav a{position:relative;min-height:58px;display:grid;place-items:center;align-content:center;gap:5px;border-radius:6px;color:var(--text-3);font-size:8px;text-align:center}.desktop-nav a:hover{background:rgba(253,243,243,.055);color:var(--text)}.desktop-nav a[aria-current="page"]{background:rgba(253,243,243,.09);color:var(--text)}.desktop-nav a[aria-current="page"]::before{content:"";position:absolute;left:-6px;width:2px;height:24px;background:var(--cta)}.desktop-nav .nav-primary{margin-block:2px;background:var(--cta);color:var(--text)}.desktop-nav .nav-primary:hover{background:var(--cta-hover)}.desktop-nav .nav-primary[aria-current="page"]::before{display:none}.desktop-nav .icon{width:18px;height:18px}
#app-main{width:min(var(--content),calc(100% - 128px));min-height:100vh;margin:0 auto;padding:calc(var(--topbar) + 38px) var(--pad) 100px}.page-head{min-height:132px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding-bottom:28px;border-bottom:1px solid var(--hair)}.page-head h1{max-width:870px;margin:0;font-size:70px;line-height:.98;font-weight:620}.page-head .lede{max-width:690px;margin:17px 0 0;color:var(--text-2);font-size:15px;line-height:1.55}.head-actions{display:flex;gap:8px;flex:0 0 auto}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid var(--hair-strong);border-radius:7px;background:transparent;font-size:12px;font-weight:650}.button:hover{background:rgba(253,243,243,.07)}.button.primary{border-color:var(--cta);background:var(--cta)}.button.primary:hover{background:var(--cta-hover)}.button.danger{border-color:rgba(248,113,113,.35);color:#fecaca}.button.remote-primary{border-color:var(--remote);background:var(--remote)}.button.football-primary{border-color:var(--football);background:var(--football)}.icon-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:7px;background:rgba(253,243,243,.035)}.icon-button:hover{background:rgba(253,243,243,.08)}
.is-auth-screen #app-main{width:min(var(--content),100%)}
.section{padding:34px 0;border-bottom:1px solid var(--hair)}.section:last-child{border-bottom:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}.section-heading h2{margin:0;font-size:34px;font-weight:610}.text-action{display:inline-flex;align-items:center;gap:6px;color:var(--text-2);font-size:12px}.text-action:hover{color:var(--text)}
.hero-band{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);min-height:410px;border-bottom:1px solid var(--hair)}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:42px 6vw 42px 0}.hero-copy h1{max-width:820px;margin:0;font-size:86px;font-weight:610;line-height:.92}.hero-copy>p:not(.overline){max-width:660px;margin:22px 0 0;font-size:17px;line-height:1.55;color:var(--text-2)}.hero-stats{display:grid;grid-template-columns:1fr 1fr;align-content:center;border-left:1px solid var(--hair)}.hero-stat{min-height:142px;padding:28px;border-bottom:1px solid var(--hair)}.hero-stat:nth-child(odd){border-right:1px solid var(--hair)}.hero-stat b{display:block;font:600 30px "JetBrains Mono",monospace}.hero-stat span{display:block;margin-top:8px;color:var(--text-3);font-size:11px}
.content-stage{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);min-height:410px;border:1px solid var(--hair);border-radius:8px;overflow:hidden;background:var(--panel)}.stage-visual{position:relative;min-height:380px;overflow:hidden;background:linear-gradient(150deg,#5a6662 0,#303936 38%,#121514 100%)}.stage-visual::before,.stage-visual::after{content:"";position:absolute;left:-8%;right:-8%;bottom:-10%;height:42%;background:#111311;clip-path:polygon(0 40%,16% 14%,31% 55%,47% 18%,60% 49%,77% 9%,100% 46%,100% 100%,0 100%)}.stage-visual::after{bottom:7%;height:28%;opacity:.5;background:#37423e}.stage-chip{position:absolute;z-index:2;left:22px;top:22px;padding:6px 9px;border:1px solid rgba(255,255,255,.25);border-radius:5px;background:rgba(7,6,5,.42);font:650 9px "JetBrains Mono",monospace}.stage-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(26px,4vw,54px)}.stage-meta{display:flex;gap:13px;margin-bottom:16px;font:600 9px "JetBrains Mono",monospace;color:var(--text-3)}.live-dot{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}.live-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mark)}.stage-copy h2{margin:0;font-size:clamp(28px,4vw,48px);line-height:1.02}.stage-copy p{color:var(--text-2);line-height:1.55}.progress{height:2px;margin:18px 0;background:rgba(253,243,243,.14)}.progress span{display:block;height:100%;background:var(--cta)}.action-row{display:flex;flex-wrap:wrap;gap:8px}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:10px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:var(--hair-strong) transparent}.content-card{min-height:185px;position:relative;display:grid;align-content:space-between;padding:19px;border:1px solid var(--hair);border-radius:8px;background:var(--panel);text-align:left}.content-card:hover{border-color:var(--hair-strong);background:var(--panel-2)}.content-card .card-top{display:flex;align-items:start;justify-content:space-between;gap:12px}.content-card h3{margin:0;font-size:17px}.content-card p{margin:7px 0 0;font-size:11px;line-height:1.45;color:var(--text-3)}.content-card .card-time{font:600 9px "JetBrains Mono",monospace;color:var(--text-3)}.content-card .card-actions{display:flex;gap:7px;margin-top:18px}.card-actions button{height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--hair);border-radius:6px;background:transparent;font-size:10px}.card-actions button:hover{background:rgba(253,243,243,.07)}.badge{display:inline-flex;align-items:center;min-height:23px;padding:0 7px;border:1px solid var(--hair);border-radius:5px;font:650 8px "JetBrains Mono",monospace;color:var(--text-3)}.badge.live{border-color:rgba(179,54,47,.4);color:#efaaa5}.badge.success{border-color:rgba(54,211,153,.3);color:var(--success)}
.module-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:10px}.module-card{grid-column:span 4;min-height:190px;padding:22px;display:grid;grid-template-rows:auto 1fr auto;border:1px solid var(--hair);border-radius:8px;background:var(--panel);text-align:left}.module-card.feature{grid-column:span 6}.module-card:hover{border-color:var(--hair-strong);background:var(--panel-2)}.module-card .module-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:7px}.module-card h3{align-self:end;margin:28px 0 5px;font-size:20px}.module-card p{margin:0;color:var(--text-3);font-size:11px}.module-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px;font:650 9px "JetBrains Mono",monospace;color:var(--text-2)}
.toolbar{position:sticky;z-index:35;top:calc(var(--topbar) + 8px);display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;margin:20px 0;padding:9px;border:1px solid var(--hair);border-radius:8px;background:rgba(21,20,18,.94);backdrop-filter:blur(16px)}.search-field,.select-field{height:45px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--hair);border-radius:6px;background:rgba(7,6,5,.3)}.search-field input,.select-field select{width:100%;min-width:0;border:0;outline:0;background:transparent}.search-field input::placeholder{color:var(--text-3)}.segmented{display:flex;padding:3px;border:1px solid var(--hair);border-radius:6px;background:rgba(7,6,5,.3)}.segmented button{min-height:37px;padding:0 13px;border-radius:4px;background:transparent;color:var(--text-3);font-size:11px}.segmented button.is-active{background:var(--text);color:var(--canvas);font-weight:700}.filter-row{display:flex;flex-wrap:wrap;gap:7px}.filter-chip{min-height:36px;padding:0 12px;border:1px solid var(--hair);border-radius:6px;background:transparent;color:var(--text-2);font-size:10px}.filter-chip.is-active{border-color:rgba(138,29,29,.5);background:rgba(138,29,29,.18);color:var(--text)}
.live-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:10px}.player-shell{min-height:520px;display:grid;grid-template-rows:1fr auto;border:1px solid var(--hair);border-radius:8px;overflow:hidden;background:#030303}.player-screen{position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 45% 45%,#26312d,#080a09 68%)}.player-screen::before{content:"";width:60%;aspect-ratio:16/7;background:linear-gradient(145deg,rgba(105,129,119,.3),rgba(7,6,5,.05));clip-path:polygon(0 66%,18% 31%,35% 62%,53% 12%,70% 58%,85% 28%,100% 68%,100% 100%,0 100%)}.channel-bug{position:absolute;left:20px;top:20px;display:flex;align-items:center;gap:9px}.channel-bug span{font-size:12px;font-weight:700}.player-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:15px 18px;border-top:1px solid var(--hair);background:#10100f}.player-controls .control-set{display:flex;gap:5px}.player-controls button{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:transparent}.player-controls button:hover{background:rgba(253,243,243,.08)}.timeline{height:3px;background:rgba(253,243,243,.15)}.timeline span{display:block;width:38%;height:100%;background:var(--cta)}.channel-panel{min-height:520px;border:1px solid var(--hair);border-radius:8px;overflow:hidden;background:var(--panel)}.channel-panel header{padding:16px;border-bottom:1px solid var(--hair)}.channel-list{max-height:455px;overflow:auto}.channel-row{width:100%;min-height:70px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;padding:10px 13px;border-bottom:1px solid var(--hair);background:transparent;text-align:left}.channel-row:hover,.channel-row.is-active{background:rgba(253,243,243,.06)}.channel-logo{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:6px;background:var(--panel-2);font:700 9px "JetBrains Mono",monospace}.channel-row b,.channel-row small{display:block}.channel-row b{font-size:12px}.channel-row small{margin-top:4px;color:var(--text-3);font-size:9px}.channel-row .icon{color:var(--text-3)}
.poster-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.poster{position:relative;aspect-ratio:2/3;padding:14px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border:1px solid var(--hair);border-radius:8px;background:linear-gradient(155deg,var(--poster,#4d5b57),#111);text-align:left}.poster::after{content:"";position:absolute;inset:32% 0 0;background:linear-gradient(transparent,rgba(7,6,5,.92))}.poster>*{position:relative;z-index:1}.poster:hover{border-color:rgba(253,243,243,.35)}.poster .poster-score{align-self:flex-end;padding:4px 6px;border-radius:4px;background:rgba(7,6,5,.52);font:700 8px "JetBrains Mono",monospace}.poster h3{margin:0;font-size:16px}.poster p{margin:5px 0 0;font-size:9px;color:var(--text-2)}
.match-list{display:grid;gap:8px}.match-row{min-height:108px;display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:22px;padding:18px;border:1px solid var(--hair);border-radius:8px;background:var(--panel)}.match-row.live-match{border-left:2px solid var(--mark)}.match-time{font:650 11px "JetBrains Mono",monospace;color:var(--text-3)}.match-row h3{margin:0;font-size:18px}.match-row p{margin:5px 0 0;font-size:10px;color:var(--text-3)}
.manager-subnav{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:20px 0}.manager-subnav a{min-height:58px;padding:10px;display:grid;align-content:center;gap:3px;border:1px solid var(--hair);border-radius:7px;color:var(--text-3)}.manager-subnav a:hover,.manager-subnav a.is-active{border-color:var(--hair-strong);background:var(--panel-2);color:var(--text)}.manager-subnav b{font-size:11px}.manager-subnav span{font-size:8px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.38fr);gap:28px}.form-section{padding:24px 0;border-bottom:1px solid var(--hair)}.form-section h2{margin:0 0 18px;font-size:22px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field span{font:650 9px "JetBrains Mono",monospace;color:var(--text-3)}.field input,.field select,.field textarea{width:100%;min-height:46px;padding:0 13px;border:1px solid var(--hair);border-radius:7px;background:var(--panel);outline:0}.field textarea{min-height:110px;padding-block:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--cta)}.info-panel{align-self:start;position:sticky;top:calc(var(--topbar) + 24px);padding:22px;border-left:1px solid var(--hair)}.info-panel h3{margin:0 0 10px}.info-panel p,.info-panel li{font-size:11px;line-height:1.55;color:var(--text-3)}
.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:14px 12px;border-bottom:1px solid var(--hair);text-align:left;font-size:11px}.data-table th{font:650 9px "JetBrains Mono",monospace;color:var(--text-3)}.data-table td:last-child,.data-table th:last-child{text-align:right}.row-actions{display:inline-flex;gap:4px}.row-actions button{width:34px;height:34px;display:grid;place-items:center;border-radius:5px;background:transparent}.row-actions button:hover{background:rgba(253,243,243,.07)}
.settings-layout{display:grid;grid-template-columns:230px 1fr;gap:34px}.settings-index{position:sticky;top:calc(var(--topbar) + 24px);align-self:start;display:grid;border-left:1px solid var(--hair)}.settings-index a{padding:9px 14px;color:var(--text-3);font-size:11px}.settings-index a:hover{color:var(--text)}.settings-group{padding:26px 0;border-bottom:1px solid var(--hair)}.settings-group h2{margin:0 0 18px;font-size:22px}.setting-row{min-height:64px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;border-top:1px solid var(--hair)}.setting-row:first-of-type{border-top:0}.setting-row b{display:block;font-size:12px}.setting-row small{display:block;margin-top:4px;color:var(--text-3);font-size:10px}.switch{width:42px;height:24px;position:relative;border-radius:12px;background:#3a3835}.switch::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:var(--text);transition:translate .18s ease}.switch.is-on{background:var(--cta)}.switch.is-on::after{translate:18px 0}
.remote-page{--remote-accent:var(--remote);--remote-soft:var(--remote-soft);display:grid;grid-template-columns:minmax(300px,.7fr) minmax(420px,1.3fr);gap:48px;align-items:center;padding:20px 0}.remote-copy h1{margin:0;font-size:clamp(42px,6vw,78px);line-height:.95}.remote-copy p{max-width:570px;color:var(--text-2);line-height:1.6}.hardware-remote{width:min(100%,360px);min-height:680px;justify-self:center;padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:48px;background:linear-gradient(145deg,#222223,#111113);box-shadow:0 34px 80px rgba(0,0,0,.62),inset 0 1px 1px rgba(255,255,255,.05)}.hardware-remote button:focus-visible,.hardware-remote textarea:focus-visible{outline-color:var(--remote-accent);box-shadow:0 0 0 5px rgba(210,32,29,.26)}.remote-head{height:42px;display:flex;align-items:center;justify-content:space-between}.remote-head img{width:25px}.remote-modes{display:flex;padding:3px;border:1px solid var(--hair);border-radius:20px}.remote-modes button{width:38px;height:28px;display:grid;place-items:center;border-radius:15px;background:transparent;color:var(--text-3)}.remote-modes button.is-active{background:rgba(210,32,29,.3);color:var(--text)}.remote-line{height:1px;margin:10px 0 18px;background:linear-gradient(90deg,var(--remote-accent),rgba(239,69,64,.15),transparent)}.dpad{position:relative;width:226px;height:226px;margin:0 auto 14px;border:1px solid var(--hair);border-radius:50%;background:radial-gradient(circle at 44% 38%,#29292d,#0b0b0d 72%)}.dpad button{position:absolute;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:transparent}.dpad button:hover{background:rgba(210,32,29,.16)}.dpad .up{top:7px;left:88px}.dpad .right{right:7px;top:88px}.dpad .down{bottom:7px;left:88px}.dpad .left{left:7px;top:88px}.dpad .up .icon,.dpad .left .icon{rotate:180deg}.dpad .ok{inset:64px;width:98px;height:98px;border:1px solid var(--hair);background:linear-gradient(145deg,#303034,#171719);font-weight:700}.remote-keys{display:grid;grid-template-columns:repeat(3,58px);justify-content:center;gap:14px 18px}.remote-keys button,.number-pad button{height:48px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:24px;background:linear-gradient(145deg,#29292d,#171719)}.remote-keys button:hover,.number-pad button:hover{border-color:rgba(210,32,29,.6)}.number-pad{display:grid;grid-template-columns:repeat(3,66px);justify-content:center;gap:14px}.number-pad button{height:66px;border-radius:50%;font-size:17px}.keyboard-pad textarea{width:100%;min-height:250px;padding:15px;border:1px solid var(--hair);border-radius:8px;background:#101012;resize:none}.remote-status-line{margin:16px auto;padding:10px;text-align:center;border:1px solid var(--hair);border-radius:7px;font-size:10px}.remote-status-line b{display:block;color:var(--success);font:700 8px "JetBrains Mono",monospace}.remote-status-line span{display:block;margin-top:3px}
.state-panel{min-height:420px;display:grid;place-items:center;text-align:center;border-block:1px solid var(--hair)}.state-panel>div{max-width:480px}.state-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 18px;border:1px solid var(--hair);border-radius:8px;background:var(--panel)}.state-panel h2{margin:0;font-size:27px}.state-panel p{margin:12px 0 20px;color:var(--text-2);line-height:1.55}.skeleton-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.skeleton{height:180px;border-radius:8px;background:linear-gradient(100deg,var(--panel) 25%,var(--panel-2) 42%,var(--panel) 60%);background-size:300% 100%;animation:skeleton 1.8s infinite}@keyframes skeleton{to{background-position:-100% 0}}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.metric{min-height:128px;padding:18px;border-top:1px solid var(--hair)}.metric b{display:block;font:650 28px "JetBrains Mono",monospace}.metric span{display:block;margin-top:8px;color:var(--text-3);font-size:10px}.status-list{display:grid}.status-row{min-height:66px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;border-bottom:1px solid var(--hair)}.status-row b{font-size:12px}.status-row small{display:block;margin-top:4px;color:var(--text-3)}
.pair-layout{min-height:calc(100vh - var(--topbar) - 120px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}.pair-code{padding:42px;border-left:1px solid var(--hair)}.code-digits{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:24px 0}.code-digits input{min-width:0;height:68px;text-align:center;border:1px solid var(--hair-strong);border-radius:7px;background:var(--panel);font:650 28px "JetBrains Mono",monospace}.steps{display:grid;gap:17px;margin-top:28px}.step{display:grid;grid-template-columns:32px 1fr;gap:12px}.step i{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:50%;font:650 10px "JetBrains Mono",monospace}.step b{font-size:12px}.step p{margin:4px 0 0;color:var(--text-3);font-size:10px}.login-layout{min-height:calc(100vh - var(--topbar) - 70px);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.55fr);align-items:center;gap:70px}.login-copy h1{max-width:720px;margin:0;font-size:clamp(52px,8vw,104px);line-height:.88}.login-panel{padding:34px;border:1px solid var(--hair);border-radius:8px;background:var(--panel)}.login-panel h2{margin:0 0 24px;font-size:25px}.login-panel .field{margin-bottom:13px}.login-panel .button{width:100%;margin-top:10px}.legal-band{margin-top:22px;padding-top:18px;border-top:1px solid var(--hair);font-size:9px;color:var(--text-3)}
.sheet-backdrop,.modal-backdrop{position:fixed;z-index:109;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(5px)}.side-sheet{position:fixed;z-index:110;top:0;right:0;width:min(430px,100%);height:100dvh;overflow:auto;border-left:1px solid var(--hair-strong);background:var(--panel);box-shadow:var(--shadow)}.side-sheet>header,.modal>header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;border-bottom:1px solid var(--hair)}.side-sheet h2,.modal h2{margin:0;font-size:22px}.sheet-body,.modal-body{padding:20px}.sheet-option{width:100%;min-height:66px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--hair);background:transparent;text-align:left}.sheet-option:hover{background:rgba(253,243,243,.05)}.sheet-option b,.sheet-option small{display:block}.sheet-option b{font-size:12px}.sheet-option small{margin-top:4px;color:var(--text-3);font-size:9px}.modal{position:fixed;z-index:111;left:50%;top:50%;translate:-50% -50%;width:min(680px,calc(100% - 28px));max-height:88dvh;overflow:auto;border:1px solid var(--hair-strong);border-radius:8px;background:var(--panel);box-shadow:var(--shadow)}.toast{position:fixed;z-index:130;left:50%;bottom:28px;translate:-50% 0;max-width:min(520px,calc(100% - 28px));padding:12px 16px;border:1px solid var(--hair-strong);border-radius:6px;background:var(--text);color:#282624;box-shadow:var(--shadow);font-size:12px;font-weight:650}.mobile-nav{display:none}
@media(max-width:1180px){:root{--rail:0px}.desktop-nav{display:none}#app-main{width:100%}.poster-grid{grid-template-columns:repeat(4,1fr)}.context-control span{min-width:80px}.module-card{grid-column:span 6}.manager-subnav{grid-template-columns:repeat(3,1fr)}.metric-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){:root{--topbar:62px;--pad:16px}body{padding-bottom:70px}.topbar{grid-template-columns:auto 1fr auto;gap:10px;padding:0 12px}.brand{min-width:0}.brand strong{display:none}.brand>span{font-size:8px;padding-left:9px}.context-bar{justify-self:end}.context-control:first-child{display:none}.context-control{height:42px;padding:0 9px}.context-control span{min-width:0}.context-control small{display:none}.context-control b{max-width:82px;font-size:9px}.account-control{width:40px;padding:0;justify-content:center}.account-control b,.account-control>.icon{display:none}#app-main{padding:calc(var(--topbar) + 22px) var(--pad) 30px}.page-head{min-height:0;align-items:flex-start;padding-bottom:22px}.page-head h1{font-size:38px}.page-head .lede{font-size:13px}.head-actions{display:none}.hero-band{grid-template-columns:1fr;min-height:0}.hero-copy{padding:34px 0}.hero-copy h1{font-size:52px}.hero-copy>p:not(.overline){font-size:14px}.hero-stats{grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid var(--hair)}.hero-stat{min-height:110px;padding:20px}.hero-stat b{font-size:24px}.content-stage{grid-template-columns:1fr}.stage-visual{min-height:260px}.stage-copy{padding:25px}.rail{grid-auto-columns:78vw}.module-grid{grid-template-columns:1fr}.module-card,.module-card.feature{grid-column:auto;min-height:160px}.toolbar{top:var(--topbar);grid-template-columns:1fr auto;margin-inline:calc(var(--pad) * -1);border-inline:0;border-radius:0}.toolbar .search-field{grid-column:1/-1}.live-layout{grid-template-columns:1fr}.player-shell{min-height:420px}.channel-panel{min-height:0}.channel-list{max-height:380px}.poster-grid{grid-template-columns:repeat(2,1fr)}.match-row{grid-template-columns:1fr auto;gap:12px}.match-time{grid-column:1/-1}.manager-subnav{grid-template-columns:repeat(2,1fr)}.form-layout{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.info-panel{position:static;padding:20px 0;border-left:0}.settings-layout{grid-template-columns:1fr}.settings-index{position:static;grid-auto-flow:column;overflow:auto;border-left:0;border-bottom:1px solid var(--hair)}.settings-index a{white-space:nowrap}.remote-page{grid-template-columns:1fr;gap:28px}.remote-copy h1{font-size:50px}.hardware-remote{width:min(100%,340px);min-height:650px;padding:18px;border-radius:42px}.pair-layout,.login-layout{grid-template-columns:1fr;gap:20px}.pair-code{padding:24px 0;border-left:0;border-top:1px solid var(--hair)}.login-copy h1{font-size:58px}.login-panel{padding:24px}.metric-grid{grid-template-columns:1fr 1fr}.data-table{min-width:680px}.table-scroll{overflow:auto}.mobile-nav{position:fixed;z-index:75;left:0;right:0;bottom:0;height:68px;display:grid;grid-template-columns:repeat(5,1fr);padding:4px 5px max(4px,env(safe-area-inset-bottom));border-top:1px solid var(--hair);background:rgba(7,6,5,.96);backdrop-filter:blur(16px)}.mobile-nav a,.mobile-nav button{position:relative;min-width:0;display:grid;place-items:center;align-content:center;gap:4px;background:transparent;color:var(--text-3);font-size:8px}.mobile-nav [aria-current="page"]{color:var(--text)}.mobile-nav [aria-current="page"]::before{content:"";position:absolute;top:-4px;width:26px;height:2px;background:var(--cta)}.mobile-nav .icon{width:18px;height:18px}.side-sheet{top:auto;bottom:0;height:min(86dvh,760px);border-left:0;border-top:1px solid var(--hair-strong);border-radius:8px 8px 0 0}.toast{bottom:82px}.skeleton-grid{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.brand>span{display:none}.context-control b{max-width:72px}.page-head h1{font-size:34px}.hero-copy h1{font-size:46px}.poster-grid{gap:7px}.poster{padding:11px}.hardware-remote{padding-inline:14px}.dpad{width:210px;height:210px}.dpad .up,.dpad .down{left:80px}.dpad .right,.dpad .left{top:80px}.dpad .ok{inset:60px;width:90px;height:90px}.remote-keys{gap:12px}.code-digits{gap:4px}.code-digits input{height:58px;font-size:22px}}
.channel-bug>span:last-child{display:grid;gap:2px}.channel-bug>span:last-child small{display:block;color:var(--text-3);font-size:9px;font-weight:500}
@media(max-width:760px){.section-heading>.text-action{display:none}}
@media(max-width:760px){.modal{left:16px;right:16px;width:auto;translate:0 -50%}.side-sheet{left:0;right:0;width:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Blueprint compliance: task navigation, robust states and cross-device flows. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.brand,.skip-link{min-height:44px}
.desktop-nav>button{position:relative;min-height:58px;display:grid;place-items:center;align-content:center;gap:5px;border-radius:6px;background:transparent;color:var(--text-3);font-size:8px;text-align:center}
.desktop-nav>button:hover{background:rgba(253,243,243,.055);color:var(--text)}
.desktop-nav .nav-primary{background:transparent;color:var(--text-3)}
.desktop-nav .nav-primary:hover{background:rgba(253,243,243,.055);color:var(--text)}
.icon-button{width:44px;height:44px}
.card-actions button{height:auto;min-height:40px}
.segmented button,.filter-chip{min-height:40px}
.row-actions button{width:40px;height:40px}
.guide-table thead th{position:sticky;z-index:3;top:0;background:var(--canvas-2)}
.guide-table th:first-child,.guide-table td:first-child{position:sticky;z-index:2;left:0;background:var(--canvas-2)}
.guide-table thead th:first-child{z-index:4}
.guide-table .is-now{box-shadow:inset 2px 0 0 var(--mark)}
.guide-channel{min-width:190px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px}
.guide-channel b,.guide-channel small,.filter-chip small{display:block}
.guide-channel small,.filter-chip small{margin-top:4px;color:var(--text-3);font-size:8px}
.guide-list{display:grid;border-top:1px solid var(--hair)}
.guide-list-row{min-height:86px;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:12px;border-bottom:1px solid var(--hair)}
.guide-list-row h3{margin:0;font-size:15px}
.guide-list-row p{margin:5px 0 0;color:var(--text-3);font-size:10px}
.guide-list-row .action-row{justify-content:flex-end}
.setup-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:18px 0 30px}
.setup-progress span{min-height:40px;padding:9px;border-top:2px solid var(--hair);color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.setup-progress span.is-active{border-color:var(--cta);color:var(--text)}
.setup-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.setup-choice{min-height:190px;padding:22px;display:grid;align-content:space-between;gap:20px;border:1px solid var(--hair);border-radius:8px;background:var(--panel);text-align:left}
.setup-choice:hover{border-color:var(--hair-strong);background:var(--panel-2)}
.setup-choice .state-icon{margin:0}
.setup-choice h2{margin:0;font-size:19px}
.setup-choice p{margin:6px 0 0;color:var(--text-3);font-size:11px;line-height:1.5}
.code-digits input:nth-child(3){margin-right:10px}
.setup-summary{display:grid;gap:0;margin:18px 0;border-block:1px solid var(--hair)}
.setup-summary .status-row:last-child{border-bottom:0}
.setup-consent{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.verification-panel{margin-top:18px;padding:18px;border:1px solid rgba(54,211,153,.3);border-radius:8px;background:rgba(54,211,153,.05)}
.verification-panel h3{margin:0 0 8px;font-size:16px}
.verification-panel p{margin:0;color:var(--text-2);font-size:11px;line-height:1.5}
.password-wrap{position:relative}
.password-wrap input{padding-right:84px}
.password-wrap input{font-family:"Space Grotesk",sans-serif}
.password-wrap button{position:absolute;right:5px;top:5px;min-height:36px;padding:0 9px;border-radius:5px;background:transparent;color:var(--text-2);font-size:10px}
.move-up .icon{rotate:180deg}
button:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:760px){.context-control{height:44px}.account-control{width:44px}.setup-choice-grid{grid-template-columns:1fr}.setup-choice{min-height:150px}.setup-progress{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.setup-progress span{min-width:0;padding:8px 4px;font-size:6px;line-height:1.35;overflow-wrap:anywhere}.card-actions button,.filter-chip,.segmented button,.row-actions button,.mobile-nav a,.mobile-nav button{min-height:44px}.guide-list-row{grid-template-columns:44px 1fr}.guide-list-row .action-row{grid-column:1/-1;justify-content:flex-start}}
@media(forced-colors:active){button,a,input,select,textarea,.content-card,.module-card,.status-row,.player-shell,.channel-panel{forced-color-adjust:auto}.status-dot,.live-dot::before{forced-color-adjust:none;background:CanvasText}.badge,.button,.icon-button{border:1px solid ButtonText}}

/* V8: gemeinsame Produktwelt in der visuellen Sprache des ZapPilot. */
:root{
  --canvas:#2b2b2a;
  --canvas-2:#30302f;
  --panel:#383735;
  --panel-2:#403f3d;
  --panel-3:#494745;
  --text:#fdf3f3;
  --text-2:rgba(253,243,243,.76);
  --text-3:rgba(253,243,243,.52);
  --hair:rgba(253,243,243,.13);
  --hair-strong:rgba(253,243,243,.22);
  --topbar:70px;
  --product-nav:52px;
  --content:1540px;
  --pad:clamp(20px,3vw,44px);
  --shadow:0 24px 72px rgba(0,0,0,.34);
}

/* Football: original module depth in the shared Graphite shell. */
.football-viewbar{
  position:sticky;
  z-index:34;
  top:calc(var(--topbar) + var(--product-nav));
  display:flex;
  gap:24px;
  overflow-x:auto;
  margin:0 calc(var(--pad) * -1);
  padding:0 var(--pad);
  border-bottom:1px solid var(--hair);
  background:rgba(43,43,42,.97);
  backdrop-filter:blur(14px);
  scrollbar-width:none;
}
.football-viewbar::-webkit-scrollbar,.football-chiprail::-webkit-scrollbar{display:none}
.football-viewbar button{
  position:relative;
  flex:0 0 auto;
  min-height:52px;
  padding:0;
  background:transparent;
  color:var(--text-3);
  font-size:12px;
  font-weight:650;
}
.football-viewbar button:hover,.football-viewbar button.is-active{color:var(--text)}
.football-viewbar button.is-active::after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--cta)}
.football-chiprail{display:flex;gap:7px;overflow-x:auto;margin:18px calc(var(--pad) * -1) 0;padding:0 var(--pad) 4px;scrollbar-width:none}
.football-chiprail button{flex:0 0 auto;min-height:40px;padding:0 13px;border:1px solid var(--hair);border-radius:6px;background:var(--panel);color:var(--text-3);font-size:11px;font-weight:650}
.football-chiprail button:hover,.football-chiprail button.is-active{border-color:rgba(253,243,243,.55);color:var(--text)}
.football-chiprail button.is-active{box-shadow:inset 0 -2px 0 var(--football-soft)}
.football-competition-filters{display:flex;flex-wrap:wrap;gap:7px;margin:-2px 0 22px}
.football-competition-filters button{min-height:34px;padding:0 10px;border:1px solid var(--hair);border-radius:6px;background:transparent;color:var(--text-3);font-size:10px}
.football-competition-filters button:hover,.football-competition-filters button.is-active{border-color:rgba(253,243,243,.5);background:rgba(253,243,243,.08);color:var(--text)}
.football-league-layout{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);gap:38px}
.football-league-layout>.section-heading,.football-search-group>.section-heading{margin-bottom:18px}
.standings-list{border-top:1px solid var(--hair)}
.standing-row{width:100%;min-height:64px;display:grid;grid-template-columns:34px minmax(0,1fr) auto 18px;align-items:center;gap:13px;padding:9px 4px;border-bottom:1px solid var(--hair);background:transparent;text-align:left}
.standing-row:not(:disabled):hover{background:rgba(253,243,243,.045)}
.standing-row:disabled{cursor:default}
.standing-rank{color:var(--text-3);font-size:10px}
.standing-team b,.standing-team small,.standing-row>span:nth-last-child(2) b,.standing-row>span:nth-last-child(2) small{display:block}
.standing-team b{font-size:12px}
.standing-team small,.standing-row>span:nth-last-child(2) small{margin-top:3px;color:var(--text-3);font-size:9px}
.standing-row>span:nth-last-child(2){text-align:right}
.standing-row>.icon{color:var(--text-3)}
.football-results{margin-top:34px;padding-top:30px;border-top:1px solid var(--hair)}
.football-search-section{padding-top:26px}
.football-search-field{min-height:54px;border:1px solid var(--hair-strong);border-radius:7px;background:var(--panel)}
.football-search-results{margin-top:32px}
.football-search-group{padding:28px 0;border-top:1px solid var(--hair)}
.football-search-group:first-child{padding-top:0;border-top:0}
.football-result-list{display:grid}
.football-result-list>button{min-height:70px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px 0;border-bottom:1px solid var(--hair);background:transparent;text-align:left}
.football-result-list>button:hover{background:rgba(253,243,243,.04)}
.football-result-list b,.football-result-list small{display:block}
.football-result-list b{font-size:13px}
.football-result-list small{margin-top:4px;color:var(--text-3);font-size:10px}
.football-team-modal>.section-heading{margin:26px 0 16px}
.football-team-modal>.section-heading:first-child{margin-top:0}
.football-team-modal .match-row{grid-template-columns:86px minmax(0,1fr);min-height:84px}
.football-team-modal .match-row>.action-row{grid-column:2}
.editor-limit{margin:18px 0 0;font-size:11px}

html[data-reduce-motion="true"] *,html[data-reduce-motion="true"] *::before,html[data-reduce-motion="true"] *::after{
  scroll-behavior:auto!important;
  animation-duration:.01ms!important;
  animation-iteration-count:1!important;
  transition-duration:.01ms!important;
}

.operations-viewbar{position:sticky;z-index:34;top:calc(var(--topbar) + var(--product-nav));display:flex;gap:24px;overflow-x:auto;margin:0 calc(var(--pad) * -1);padding:0 var(--pad);border-bottom:1px solid var(--hair);background:rgba(43,43,42,.97);backdrop-filter:blur(14px);scrollbar-width:none}
.operations-viewbar::-webkit-scrollbar{display:none}
.operations-mobile-control{display:none}
.operations-viewbar button{position:relative;flex:0 0 auto;min-height:52px;padding:0;background:transparent;color:var(--text-3);font-size:12px;font-weight:650}
.operations-viewbar button:hover,.operations-viewbar button.is-active{color:var(--text)}
.operations-viewbar button.is-active::after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--cta)}
.operations-status{padding-top:26px}
.operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px;border-top:1px solid var(--hair)}
.operation-panel{min-width:0;padding:28px 0 34px;border-bottom:1px solid var(--hair)}
.operation-panel:nth-child(even){padding-left:34px;border-left:1px solid var(--hair)}
.operation-panel>header{display:block;margin-bottom:20px}
.operation-panel>header .overline{margin:0 0 8px}
.operation-panel>header h2{margin:0;font-size:26px}
.operation-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--hair)}
.operation-metrics>div{min-width:0;padding:16px 12px 16px 0;border-bottom:1px solid var(--hair)}
.operation-metrics>div:nth-child(even){padding-left:16px;border-left:1px solid var(--hair)}
.operation-metrics b,.operation-metrics span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.operation-metrics b{font:650 20px "JetBrains Mono",monospace}
.operation-metrics span{margin-top:5px;color:var(--text-3);font-size:9px;text-transform:uppercase}
.operation-list{border-top:1px solid var(--hair)}
.operation-line{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--hair)}
.operation-line>span:first-child{min-width:0}
.operation-line b,.operation-line small{display:block}
.operation-line b{overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}
.operation-line small{margin-top:4px;color:var(--text-3);font-size:10px;line-height:1.45}
.operation-logs{max-height:560px;overflow:auto;font-family:"JetBrains Mono",monospace}
.operation-logs .operation-line{align-items:start;min-height:0;padding:9px 0}
.operation-logs .operation-line b,.operation-logs .operation-line small,.operation-logs .operation-line>span{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.5}
.operation-log-controls{position:sticky;z-index:33;top:calc(var(--topbar) + var(--product-nav) + 53px);display:grid;grid-template-columns:170px 150px minmax(220px,1fr) 130px auto;gap:8px;margin:18px 0 0;padding:9px;border:1px solid var(--hair);border-radius:7px;background:rgba(48,48,47,.98);backdrop-filter:blur(14px)}
.operation-auth-action{display:flex;justify-content:center;margin-top:18px}

/* IT-Cockpit: entscheidungsorientierte Neuro-Betriebsansicht */
.operations-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:20px 22px;border:1px solid var(--hair);border-left:3px solid var(--text-3);border-radius:12px;background:rgba(253,243,243,.035)}
.operations-summary.is-ok{border-left-color:var(--success)}.operations-summary.is-warning{border-left-color:var(--warning)}.operations-summary.is-critical{border-left-color:var(--error)}
.operations-summary .overline{margin-bottom:7px}.operations-summary h2{margin:0;font-size:23px;font-weight:650;letter-spacing:-.025em}.operations-summary p:not(.overline){margin:7px 0 0;color:var(--text-3);font:500 11px "JetBrains Mono",monospace}
.operations-summary-state{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;font:650 10px "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.12em}
.operations-summary-state i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 5px color-mix(in srgb,currentColor 13%,transparent)}
.operations-summary.is-ok .operations-summary-state{color:var(--success)}.operations-summary.is-warning .operations-summary-state{color:var(--warning)}.operations-summary.is-critical .operations-summary-state{color:var(--error)}
.operations-updated{margin:0 0 12px}
.operation-panel>header h2{display:flex;align-items:center;gap:9px}
.operation-panel.is-warning>header h2::after,.operation-panel.is-critical>header h2::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--warning);box-shadow:0 0 0 5px rgba(240,180,64,.1)}
.operation-panel.is-critical>header h2::after{background:var(--error);box-shadow:0 0 0 5px rgba(248,113,113,.1)}
.badge.warning{border-color:rgba(240,180,64,.32);color:var(--warning)}.badge.error{border-color:rgba(248,113,113,.32);color:var(--error)}
.operation-metrics>div{position:relative;padding-left:16px}
.operation-metrics>div:nth-child(even){padding-left:30px}
.operation-metrics>div::before{content:"";position:absolute;left:0;top:22px;width:5px;height:5px;border-radius:50%;background:var(--text-3)}
.operation-metrics>div:nth-child(even)::before{left:15px}
.operation-metrics>div.is-ok::before{background:var(--success)}.operation-metrics>div.is-warning::before{background:var(--warning)}.operation-metrics>div.is-critical::before{background:var(--error)}
.operation-metrics b{letter-spacing:-.035em}.operation-metrics span{font-family:"JetBrains Mono",monospace;letter-spacing:.12em}
.it-view-dbtraffic .operations-grid{gap:12px;border-top:0}
.it-view-dbtraffic .operation-panel,.it-view-dbtraffic .operation-panel:nth-child(even){padding:22px;border:1px solid var(--hair);border-radius:12px;background:rgba(253,243,243,.025)}
.it-view-dbtraffic .operation-panel:nth-child(even){padding-left:22px}
.it-view-dbtraffic .operation-panel>header{margin-bottom:16px}.it-view-dbtraffic .operation-panel>header h2{font-size:22px}

@media(max-width:900px){
  .operations-grid{grid-template-columns:1fr}
  .operation-panel:nth-child(even){padding-left:0;border-left:0}
  .operation-log-controls{grid-template-columns:1fr 1fr}
  .operation-log-controls .search-field{grid-column:1/-1}
  .operation-log-controls .button{grid-column:1/-1}
  .it-view-dbtraffic .operation-panel:nth-child(even){padding-left:22px;border-left:1px solid var(--hair)}
}

@media(max-width:560px){
  .operations-summary{align-items:flex-start;flex-direction:column;gap:14px;padding:17px}
  .operations-summary h2{font-size:20px}
  .operations-summary p:not(.overline){line-height:1.6}
  .operation-metrics>div,.operation-metrics>div:nth-child(even){padding-top:14px;padding-bottom:14px}
  .operation-metrics>div::before,.operation-metrics>div:nth-child(even)::before{top:20px}
  .it-view-dbtraffic .operation-panel,.it-view-dbtraffic .operation-panel:nth-child(even){padding:18px}
}

@media(max-width:900px){
  .football-league-layout{grid-template-columns:1fr;gap:48px}
}

@media(max-width:760px){
  .football-viewbar{top:var(--topbar);gap:22px}
  .it-page{margin-top:-18px}
  .it-page>.page-head{display:none}
  .operations-viewbar{
    top:var(--topbar);
    min-height:64px;
    display:block;
    overflow:visible;
    padding:8px var(--pad);
  }
  .operations-viewbar>button{display:none}
  .operations-mobile-control{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px}
  .operations-mobile-select{
    min-width:0;
    height:46px;
    display:grid;
    grid-template-columns:20px minmax(0,1fr) 16px;
    align-items:center;
    gap:9px;
    padding:0 12px;
    border:1px solid var(--hair-strong);
    border-radius:var(--radius-control);
    background:var(--panel-2);
    color:var(--text-2);
  }
  .operations-mobile-select>.icon{width:18px;height:18px}
  .operations-mobile-select>.icon:last-child{width:14px;height:14px;color:var(--text-3)}
  .operations-mobile-select select{
    min-width:0;
    width:100%;
    height:44px;
    appearance:none;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font:650 14px "Space Grotesk",sans-serif;
  }
  .operations-mobile-select select:focus-visible{outline:0;box-shadow:none}
  .operations-mobile-select:focus-within{border-color:var(--cta);box-shadow:0 0 0 4px rgba(138,29,29,.26)}
  .operations-mobile-control>.icon-button{width:44px;height:46px;display:grid;background:var(--panel-2)}
  .it-page .operations-status{padding-top:20px}
  .operation-log-controls{position:relative;top:auto;margin:16px calc(var(--pad) * -1) 0;padding:10px var(--pad);border-inline:0;border-radius:0}
  .operation-panel>header h2{font-size:24px}
  .operation-metrics b{font-size:17px}
  .football-viewbar button{min-height:48px;font-size:12px}
  .football-chiprail{margin-top:14px}
  .football-competition-filters{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(var(--pad) * -1) 18px;padding:0 var(--pad) 3px;scrollbar-width:none}
  .football-competition-filters::-webkit-scrollbar{display:none}
  .football-competition-filters button{flex:0 0 auto}
  .league-rail{padding-bottom:8px}
  .football-league-layout{gap:40px}
  .football-league-layout .section-heading h2{font-size:27px}
  .standing-row{grid-template-columns:28px minmax(0,1fr) auto 16px;gap:10px}
  .football-search-field{margin:0;min-height:52px}
  .football-search-results{margin-top:24px}
  .football-team-modal .match-row{grid-template-columns:1fr auto}
  .football-team-modal .match-row>.match-time{grid-column:1/-1}
  .football-team-modal .match-row>.action-row{grid-column:auto}
}

/* V33: calm, source-backed VOD spotlight and structured series depth. */
.vod-page>.page-head{order:0}
.vod-page>.vod-spotlight{order:1}
.vod-page>.vod-controls{order:2}
.vod-page>.vod-continue{order:3}
.vod-page>.vod-shelf{order:4}
.vod-page>.vod-catalog{order:5}
.vod-page>.vod-feature{order:6}
.vod-spotlight{
  position:relative;
  isolation:isolate;
  min-height:420px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  margin-top:8px;
  padding:44px;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel-2);
}
.vod-spotlight::before,
.vod-spotlight::after{content:"";position:absolute;inset:0;pointer-events:none}
.vod-spotlight.has-art::before{
  z-index:-2;
  background-image:var(--vod-spotlight-art);
  background-repeat:no-repeat;
  background-position:center 32%;
  background-size:cover;
}
.vod-spotlight::after{
  z-index:-1;
  background:linear-gradient(90deg,rgba(43,43,42,.96) 0,rgba(43,43,42,.82) 46%,rgba(43,43,42,.18) 78%),linear-gradient(0deg,rgba(43,43,42,.7),rgba(43,43,42,.04) 62%);
}
.vod-spotlight:not(.has-art)::after{background:linear-gradient(115deg,var(--vod-spotlight-tone,#455d58),var(--panel-2) 68%)}
.vod-spotlight-copy{width:min(580px,58%)}
.vod-spotlight-copy .overline{margin-bottom:12px;color:var(--text-2)}
.vod-spotlight-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.vod-spotlight-meta span{padding:5px 7px;border:1px solid rgba(253,243,243,.15);border-radius:var(--radius-compact);background:rgba(43,43,42,.44);color:var(--text-2);font:650 8px "JetBrains Mono",monospace}
.vod-spotlight h2{max-width:12ch;margin:0;font-size:46px;line-height:1.02;letter-spacing:0}
.vod-spotlight-copy>p:not(.overline){display:-webkit-box;max-width:58ch;margin:16px 0 0;overflow:hidden;color:var(--text-2);font-size:13px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.vod-spotlight-actions{margin-top:22px}
.vod-spotlight-actions .button{min-height:44px}
.vod-spotlight-progress{max-width:360px;margin-top:18px}
.vod-spotlight-progress>span{display:flex;justify-content:space-between;color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.vod-spotlight-progress>span b{color:var(--text-2)}
.vod-spotlight-progress>i{height:3px;display:block;margin-top:8px;overflow:hidden;background:rgba(253,243,243,.17)}
.vod-spotlight-progress>i>span{height:100%;display:block;background:var(--cta)}
.poster-progress{position:absolute!important;z-index:3!important;right:11px;bottom:7px;left:11px;height:3px;overflow:hidden;background:rgba(253,243,243,.2)}
.poster-progress i{height:100%;display:block;background:var(--cta)}
.vod-season-toolbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 2px 18px;border-bottom:1px solid var(--hair)}
.vod-season-toolbar .overline{margin:0 0 6px}
.vod-season-toolbar b{font-size:18px}
.vod-season-toolbar .select-field{width:150px;height:44px}
.vod-season-toolbar .select-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.vod-episode-list{border-bottom:1px solid var(--hair)}
.vod-episode-row{min-height:116px;display:grid;grid-template-columns:170px minmax(0,1fr) 44px;align-items:center;gap:18px;padding:14px 2px;border-bottom:1px solid var(--hair)}
.vod-episode-row:last-child{border-bottom:0}
.vod-episode-art{width:170px;aspect-ratio:16/9;display:grid;place-items:center;object-fit:cover;border:1px solid var(--hair);border-radius:var(--radius-compact);background:var(--panel-2);color:var(--text-3)}
.vod-episode-art .icon{width:22px;height:22px}
.vod-episode-copy{min-width:0}
.vod-episode-copy .mono{display:block;margin-bottom:7px;color:var(--text-3);font-size:8px}
.vod-episode-copy h3{margin:0;font-size:16px;letter-spacing:0}
.vod-episode-copy p{display:-webkit-box;margin:7px 0 0;overflow:hidden;color:var(--text-2);font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}

@media(max-width:760px){
  .vod-page>.page-head{display:block}
  .vod-spotlight{min-height:326px;margin:0 calc(var(--pad) * -1);padding:24px var(--pad);border-inline:0;border-radius:0}
  .vod-spotlight.has-art::before{background-position:center top}
  .vod-spotlight::after{background:linear-gradient(0deg,rgba(43,43,42,.98) 0,rgba(43,43,42,.78) 50%,rgba(43,43,42,.16) 100%)}
  .vod-spotlight-copy{width:100%}
  .vod-spotlight-copy .overline{margin-bottom:8px}
  .vod-spotlight-meta{margin-bottom:9px}
  .vod-spotlight h2{max-width:15ch;font-size:32px}
  .vod-spotlight-copy>p:not(.overline){margin-top:10px;font-size:11px;-webkit-line-clamp:2}
  .vod-spotlight-progress{max-width:none;margin-top:13px}
  .vod-spotlight-actions{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}
  .vod-spotlight-actions .button{min-width:0;padding-inline:10px}
  .vod-controls{top:calc(var(--topbar) + 6px);margin-top:10px}
  .vod-season-toolbar{align-items:flex-end;padding-bottom:14px}
  .vod-season-toolbar b{font-size:15px}
  .vod-season-toolbar .select-field{width:132px}
  .vod-episode-row{min-height:96px;grid-template-columns:104px minmax(0,1fr) 44px;gap:12px;padding:12px 0}
  .vod-episode-art{width:104px;border-radius:8px}
  .vod-episode-copy h3{font-size:13px}
  .vod-episode-copy p{display:none}
}

@media(max-width:390px){
  .vod-spotlight-actions{grid-template-columns:minmax(0,1fr) 44px}
  .vod-spotlight-actions .button:nth-child(2){display:none}
  .vod-episode-row{grid-template-columns:88px minmax(0,1fr) 44px;gap:9px}
  .vod-episode-art{width:88px}
}

body{
  background:linear-gradient(180deg,#323230 0,var(--canvas) 430px);
  color:var(--text);
}

.topbar{
  height:var(--topbar);
  display:block;
  padding:0;
  border-bottom:1px solid var(--hair);
  background:rgba(43,43,42,.96);
  backdrop-filter:blur(16px) saturate(110%);
}

.topbar-inner{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 var(--pad);
}

.identity-group,.brand,.product-title,.context-bar{
  display:flex;
  align-items:center;
}

.identity-group{min-width:0;gap:22px}
.brand{min-width:auto;gap:10px}
.brand img{width:27px;height:25px}
.brand strong{font-size:15px;white-space:nowrap}
.product-title{
  min-width:0;
  align-items:baseline;
  gap:12px;
  padding-left:22px;
  border-left:1px solid var(--hair);
}
.product-title strong{font-size:14px;white-space:nowrap}
.product-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-3);font-size:10px}
.context-bar{justify-self:auto;gap:8px}
.context-control,.account-control{
  height:44px;
  padding:0 11px;
  border-color:var(--hair);
  border-radius:7px;
  background:rgba(253,243,243,.035);
}
.context-control:hover,.account-control:hover{border-color:var(--hair-strong);background:rgba(253,243,243,.065)}
.context-control small{font-family:"Space Grotesk",sans-serif;font-size:8px;font-weight:500;text-transform:none;color:var(--text-3)}
.context-control b{font-size:10px}
.account-control{display:flex}

.desktop-nav{
  position:fixed;
  z-index:72;
  inset:var(--topbar) 0 auto 0;
  width:100%;
  height:var(--product-nav);
  translate:none;
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:2px;
  padding:0 var(--pad);
  border:0;
  border-bottom:1px solid var(--hair);
  border-radius:0;
  background:rgba(39,39,38,.95);
  box-shadow:none;
  backdrop-filter:blur(16px);
}
.desktop-nav a,.desktop-nav>button{
  position:relative;
  min-width:98px;
  min-height:51px;
  display:flex;
  place-items:unset;
  align-items:center;
  justify-content:center;
  align-content:unset;
  gap:8px;
  padding:0 14px;
  border-radius:0;
  background:transparent;
  color:var(--text-3);
  font-size:10px;
  text-align:center;
}
.desktop-nav a:hover,.desktop-nav>button:hover{background:rgba(253,243,243,.045);color:var(--text)}
.desktop-nav a[aria-current="page"]{background:rgba(253,243,243,.055);color:var(--text)}
.desktop-nav a[aria-current="page"]::before{
  inset:auto 18px 0;
  width:auto;
  height:2px;
  background:var(--cta);
}
.desktop-nav .icon{width:17px;height:17px}
.desktop-nav .nav-primary,.desktop-nav .nav-primary:hover{margin:0;background:transparent;color:var(--text-3)}

#app-main{
  width:min(var(--content),100%);
  margin:0 auto;
  padding:calc(var(--topbar) + var(--product-nav) + 34px) var(--pad) 92px;
}
.is-auth-screen #app-main{padding-top:calc(var(--topbar) + 34px)}

.home-heading,.page-head{
  min-height:168px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:34px;
  padding:0 0 28px;
  border-bottom:1px solid var(--hair);
}
.home-heading>div:first-child,.page-head>div:first-child{min-width:0}
.home-heading h1,.page-head h1{
  max-width:900px;
  margin:0;
  font-size:58px;
  line-height:.98;
  font-weight:650;
}
.home-heading>div>p:last-child,.page-head .lede{
  max-width:720px;
  margin:16px 0 0;
  color:var(--text-2);
  font-size:14px;
  line-height:1.55;
}
.head-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}
.overline{margin-bottom:9px;color:var(--text-3);font-size:9px;letter-spacing:.08em}

.home-status{
  min-height:54px;
  display:flex;
  align-items:center;
  gap:0;
  overflow-x:auto;
  border-bottom:1px solid var(--hair);
  color:var(--text-3);
  font:500 9px "JetBrains Mono",monospace;
  white-space:nowrap;
}
.home-status>span{display:flex;align-items:center;gap:6px;padding:0 18px;border-left:1px solid var(--hair)}
.home-status>span:first-child{padding-left:0;border-left:0}
.home-status b{color:var(--text-2);font-weight:650}
.home-status .sync-status{margin-left:auto}

.section{padding:30px 0}
.section-heading{margin-bottom:18px}
.section-heading h2{font-size:32px;font-weight:620}
.section-title{font-weight:650}
.button{
  min-height:44px;
  padding:0 15px;
  border-radius:7px;
  font-size:11px;
  font-weight:650;
}
.button.primary{border-color:var(--cta);background:var(--cta)}
.button.primary:hover{border-color:var(--cta-hover);background:var(--cta-hover)}
.icon-button{border-radius:7px;background:rgba(253,243,243,.035)}

.content-stage{
  grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
  min-height:360px;
  border-color:var(--hair);
  border-radius:7px;
  background:var(--panel);
}
.stage-visual{min-height:350px}
.stage-copy{padding:clamp(25px,3.5vw,46px)}
.stage-copy h2{font-size:42px}
.stage-copy p{font-size:12px}
.stage-chip{border-radius:5px}

.rail{grid-auto-columns:minmax(250px,1fr);gap:8px}
.content-card,.module-card,.match-row,.setup-choice{
  border-color:var(--hair);
  border-radius:7px;
  background:var(--panel);
  box-shadow:none;
}
.content-card{min-height:180px;padding:18px}
.content-card:hover,.module-card:hover,.match-row:hover,.setup-choice:hover{border-color:var(--hair-strong);background:var(--panel-2)}
.module-grid{gap:8px}
.module-card{min-height:166px;padding:18px}
.module-card .module-icon{width:36px;height:36px;border-radius:6px;background:rgba(253,243,243,.025)}
.module-card h3{margin-top:22px;font-size:17px}
.module-card p{line-height:1.45}
.module-card footer{margin-top:18px;font-size:8px}
.badge{border-radius:4px}

.toolbar{
  top:calc(var(--topbar) + var(--product-nav) + 8px);
  margin:18px 0;
  padding:8px;
  border-radius:7px;
  background:rgba(43,43,42,.95);
}
.search-field,.select-field,.segmented{border-radius:6px;background:rgba(43,43,42,.72)}
.segmented button{border-radius:4px}
.segmented button.is-active{background:var(--text);color:#282827}

.live-layout{gap:8px}
.player-shell,.channel-panel{min-height:500px;border-radius:7px}
.channel-list{max-height:435px}
.channel-row{min-height:68px}
.player-screen{background:radial-gradient(circle at 44% 42%,#303a36,#101211 70%)}
.player-controls{background:#1f1f1e}

.poster-grid{gap:8px}
.poster{border-radius:7px}
.poster:hover{border-color:var(--hair-strong)}
.match-list{gap:7px}
.match-row{min-height:94px;padding:15px}

.manager-subnav{gap:5px;margin:18px 0}
.manager-subnav a{min-height:56px;border-radius:6px;background:rgba(43,43,42,.48)}
.manager-subnav a:hover,.manager-subnav a.is-active{background:var(--panel-2)}
.form-layout{gap:24px}
.form-section{padding:22px 0}
.field input,.field select,.field textarea{border-radius:6px;background:var(--panel)}
.info-panel{top:calc(var(--topbar) + var(--product-nav) + 22px)}
.data-table th,.data-table td{padding-block:13px}
.guide-table thead th,.guide-table th:first-child,.guide-table td:first-child{background:var(--panel)}

.settings-layout{gap:30px}
.settings-index{top:calc(var(--topbar) + var(--product-nav) + 22px)}
.settings-group{padding:23px 0;scroll-margin-top:calc(var(--topbar) + var(--product-nav) + 12px)}
.setting-row{min-height:62px}

.remote-page{gap:42px;padding-top:8px}
.remote-copy h1{font-size:62px}
.hardware-remote{box-shadow:0 30px 70px rgba(0,0,0,.46),inset 0 1px 1px rgba(255,255,255,.05)}

.state-panel{min-height:360px}
.state-panel h2{font-size:24px}
.setup-choice{min-height:172px;padding:19px}
.pair-layout{min-height:calc(100vh - var(--topbar) - var(--product-nav) - 120px)}
.login-layout{min-height:calc(100vh - var(--topbar) - 70px)}
.login-copy h1{font-size:64px;line-height:.96}
.login-panel{border-radius:7px;background:var(--panel)}
.login-panel>header{margin-bottom:22px}
.login-panel>header .overline{margin-bottom:7px}
.login-panel>header h2{margin:0;font-size:27px}
.login-meta{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.login-meta label{min-height:44px;display:inline-flex;align-items:center;gap:8px;color:var(--text-2);font-size:11px;cursor:pointer}
.login-meta input{width:17px;height:17px;margin:0;accent-color:var(--cta)}
.login-meta button,.login-switch button{min-height:44px;padding:0;background:transparent;color:var(--text-2);font-size:11px;font-weight:650}
.login-switch{margin:16px 0 0;text-align:center;color:var(--text-3);font-size:11px}
.login-panel .legal-band nav{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:8px}
.login-panel .legal-band a{min-height:44px;display:inline-flex;align-items:center;color:var(--text-2)}

.side-sheet{background:var(--panel);border-color:var(--hair-strong)}
.side-sheet>header,.modal>header{background:rgba(43,43,42,.96)}
.modal{border-radius:7px;background:var(--panel)}
.sheet-option:hover{background:rgba(253,243,243,.05)}
.toast{border-radius:6px;background:#f2eaea;color:#282827}

@media (min-width:761px){
  .desktop-nav:not([hidden]){display:flex!important}
}

@media (max-width:1000px){
  .product-title span{display:none}
  .desktop-nav a,.desktop-nav>button{min-width:82px;padding-inline:10px}
  .context-control span{min-width:86px}
  .module-card{grid-column:span 6}
  .module-card.feature{grid-column:span 6}
}

@media (max-width:760px){
  :root{--topbar:62px;--product-nav:0px;--pad:16px}
  body{background:linear-gradient(180deg,#343432 0,var(--canvas) 300px)}
  .topbar-inner{gap:10px;padding:0 12px}
  .identity-group{gap:10px}
  .brand{min-width:0}
  .brand strong{display:none}
  .product-title{display:grid;gap:1px;padding-left:10px}
  .product-title strong{font-size:12px}
  .product-title span{display:block;max-width:150px;font-size:8px}
  .context-bar{margin-left:auto}
  .context-control:first-child{display:none}
  .context-control{height:44px;padding-inline:8px}
  .context-control span{min-width:0}
  .context-control small{display:none}
  .context-control b{max-width:80px;font-size:9px}
  .account-control{width:44px;padding:0;justify-content:center}
  .desktop-nav{display:none!important}
  #app-main{padding:calc(var(--topbar) + 24px) var(--pad) 34px}
  .is-auth-screen #app-main{padding-top:calc(var(--topbar) + 24px)}
  .home-heading,.page-head{min-height:0;align-items:flex-start;padding-bottom:22px}
  .home-heading h1,.page-head h1{font-size:36px}
  .home-heading>div>p:last-child,.page-head .lede{font-size:12px}
  .head-actions{display:none}
  .home-status{margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad)}
  .home-status>span{padding-inline:13px}
  .home-status .sync-status{display:none}
  .section{padding:25px 0}
  .section-heading h2{font-size:24px}
  .content-stage{grid-template-columns:1fr;min-height:0}
  .stage-visual{min-height:250px}
  .stage-copy{padding:24px}
  .stage-copy h2{font-size:29px}
  .module-grid{grid-template-columns:1fr 1fr}
  .module-card,.module-card.feature{grid-column:auto;min-height:150px;padding:15px}
  .module-card h3{margin-top:17px;font-size:15px}
  .module-card footer{margin-top:14px}
  .toolbar{top:var(--topbar);background:rgba(43,43,42,.97)}
  .live-layout{grid-template-columns:1fr}
  .player-shell{min-height:410px}
  .remote-page{grid-template-columns:1fr;gap:28px}
  .remote-copy h1{font-size:42px}
  .pair-layout,.login-layout{grid-template-columns:1fr}
  .is-auth-screen{padding-bottom:0}
  .is-auth-screen #app-main{padding-top:calc(var(--topbar) + 24px);padding-bottom:30px}
  .login-layout{min-height:0;gap:20px}
  .login-copy h1{max-width:100%;font-size:38px;line-height:1.02;overflow-wrap:normal}
  .login-copy .lede{margin:12px 0 0;font-size:13px;line-height:1.48}
  .login-panel{padding:22px 18px}
  .login-panel>header{margin-bottom:18px}
  .login-panel>header h2{font-size:23px}
  .login-meta{align-items:flex-start}
  .mobile-nav{background:rgba(43,43,42,.97)}
  .side-sheet{background:var(--panel)}
}

@media (max-width:380px){
  .product-title span{max-width:112px}
  .home-heading h1,.page-head h1{font-size:33px}
  .module-grid{grid-template-columns:1fr}
  .module-card,.module-card.feature{min-height:138px}
}

[hidden]{display:none!important}

/* Home V9: reiner Modul-Hub im Kachelprinzip. */
.home-hub{min-height:calc(100vh - var(--topbar) - var(--product-nav) - 126px)}
.home-hub-heading{
  min-height:112px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:34px;
  padding:2px 0 24px;
  border-bottom:1px solid var(--hair);
}
.home-hub-heading h1{margin:0;font-size:48px;line-height:1;font-weight:650}
.home-hub-heading>p{max-width:520px;margin:0;color:var(--text-2);font-size:12px;line-height:1.55;text-align:right}
.home-tile-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;margin-top:20px}
.home-tile{
  position:relative;
  grid-column:span 4;
  min-width:0;
  min-height:194px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:22px;
  overflow:hidden;
  padding:19px;
  border:1px solid var(--hair);
  border-radius:7px;
  background:var(--panel);
  transition:border-color .15s ease,background .15s ease;
}
.home-tile.feature{grid-column:span 6;min-height:238px;padding:22px;background:linear-gradient(145deg,var(--panel-2),var(--panel) 72%)}
.home-tile.feature::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:2px;background:linear-gradient(90deg,var(--cta),transparent 68%);opacity:.72}
.home-tile:hover{border-color:var(--hair-strong);background:var(--panel-2)}
.home-tile.feature:hover{background:linear-gradient(145deg,#373735,var(--panel-2) 76%)}
.home-tile>header,.home-tile>footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.home-tile-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:6px;background:rgba(253,243,243,.025);color:var(--text-2)}
.home-tile.feature .home-tile-icon{width:44px;height:44px}
.home-tile-icon .icon{width:18px;height:18px}
.home-tile.feature .home-tile-icon .icon{width:20px;height:20px}
.home-tile-status{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;border:1px solid var(--hair);border-radius:4px;color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.home-tile-status.connected{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}
.home-tile-status.connected::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px rgba(54,211,153,.09)}
.home-tile-copy{align-self:end;min-width:0}
.home-tile-copy .overline{margin-bottom:7px;font-size:8px}
.home-tile-copy h2{margin:0;font-size:22px;line-height:1.05;font-weight:650}
.home-tile.feature .home-tile-copy h2{font-size:36px}
.home-tile-copy>p:last-child{max-width:520px;margin:8px 0 0;color:var(--text-3);font-size:10px;line-height:1.5}
.home-tile.feature .home-tile-copy>p:last-child{font-size:11px;color:var(--text-2)}
.home-tile>footer{padding-top:13px;border-top:1px solid var(--hair);color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.home-tile>footer .icon{width:15px;height:15px;transition:translate .15s ease}
.home-tile:hover>footer{color:var(--text-2)}
.home-tile:hover>footer .icon{translate:2px 0}

@media(max-width:1000px){
  .home-tile{grid-column:span 6}
  .home-hub-heading>p{max-width:410px}
}

@media(max-width:760px){
  .home-hub{min-height:0}
  .home-hub-heading{min-height:0;display:block;padding-bottom:20px}
  .home-hub-heading h1{font-size:34px}
  .home-hub-heading>p{max-width:360px;margin-top:11px;font-size:11px;text-align:left}
  .home-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}
  .home-tile,.home-tile.feature{grid-column:span 1;min-height:190px;padding:15px;gap:15px}
  .home-tile.feature{grid-column:span 2;min-height:212px;padding:18px}
  .home-tile.feature::after{left:18px;right:18px}
  .home-tile-icon,.home-tile.feature .home-tile-icon{width:36px;height:36px}
  .home-tile.feature .home-tile-icon .icon{width:18px;height:18px}
  .home-tile-copy h2{font-size:18px}
  .home-tile.feature .home-tile-copy h2{font-size:27px}
  .home-tile-copy>p:last-child{font-size:9px}
  .home-tile.feature .home-tile-copy>p:last-child{font-size:10px}
  .home-tile>footer{padding-top:10px;font-size:7px}
}

@media(max-width:360px){
  .home-tile-grid{grid-template-columns:1fr}
  .home-tile,.home-tile.feature{grid-column:auto;min-height:174px}
  .home-tile.feature{min-height:198px}
}

/* V49: calm, exact browser-to-TV session continuity. */
.tv-continuity{
  min-height:76px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  margin-top:10px;
  padding:13px 15px;
  border-block:1px solid var(--hair);
  background:rgba(56,55,53,.58);
}
.live-page>.tv-continuity{order:4}
.live-page>.live-now-strip{order:5}
.live-page>.live-program{order:6}
.tv-continuity-state{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--success);
  font:700 8px "JetBrains Mono",monospace;
}
.tv-continuity-state i{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 4px rgba(54,211,153,.1);
}
.tv-continuity-copy{min-width:0;display:grid;gap:3px}
.tv-continuity-copy b,.tv-continuity-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tv-continuity-copy b{font-size:12px}
.tv-continuity-copy small{color:var(--text-3);font-size:9px}
.tv-continuity .button{min-width:188px}

@media(max-width:760px){
  .live-page>.tv-continuity{order:2}
  .live-page>.live-now-strip{order:3}
  .live-page>.live-toolbar{order:4}
  .live-page .channel-panel{order:5}
  .live-page>.live-program{order:6}
  .tv-continuity{
    grid-template-columns:auto minmax(0,1fr);
    gap:10px 12px;
    padding:14px 2px 16px;
    background:transparent;
  }
  .tv-continuity-copy b,.tv-continuity-copy small{white-space:normal}
  .tv-continuity .button{grid-column:1/-1;width:100%;min-width:0;min-height:44px}
}

/* V50: source-backed signal intelligence, quiet enough for the player. */
.modal[data-layout="signal"]{width:min(760px,calc(100% - 28px))}
.modal[data-layout="signal"] .modal-body{padding:0}
.signal-diagnostic{display:grid}
.signal-diagnostic-hero{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:start;
  gap:15px;
  padding:24px;
}
.signal-diagnostic-mark{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--hair);
  border-radius:6px;
  background:rgba(253,243,243,.035);
}
.signal-diagnostic-mark .signal-mark{width:19px;height:20px;gap:2px}
.signal-diagnostic-mark .signal-mark i{width:3px;height:13px}
.signal-diagnostic-mark .signal-mark i:nth-child(2){height:16px}
.signal-diagnostic-hero .overline{margin-bottom:5px}
.signal-diagnostic-hero h3{margin:0;font-size:24px;line-height:1.08}
.signal-diagnostic-hero p:last-child{max-width:510px;margin:8px 0 0;color:var(--text-2);font-size:11px;line-height:1.55}
.signal-diagnostic[data-signal-state="issue"] .signal-diagnostic-hero>.badge{border-color:rgba(248,113,113,.38);color:#fecaca}
.signal-diagnostic[data-signal-state="recovering"] .signal-diagnostic-hero>.badge{border-color:rgba(240,180,64,.38);color:var(--warning)}
.signal-diagnostic-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-block:1px solid var(--hair);
}
.signal-diagnostic-metrics>div{min-width:0;padding:17px 18px;border-left:1px solid var(--hair)}
.signal-diagnostic-metrics>div:first-child{border-left:0}
.signal-diagnostic small{display:block;color:var(--text-3);font:650 8px "JetBrains Mono",monospace}
.signal-diagnostic-metrics b{display:block;margin-top:7px;overflow:hidden;text-overflow:ellipsis;font-size:18px;white-space:nowrap}
.signal-diagnostic-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 24px}
.signal-diagnostic-path>div{min-width:0}
.signal-diagnostic-path b{display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;color:var(--text-2);font-size:11px;white-space:nowrap}
.signal-diagnostic-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;border-top:1px solid var(--hair)}
.signal-diagnostic-foot>p{max-width:450px;margin:0;color:var(--text-3);font-size:9px;line-height:1.5}
.signal-diagnostic-foot .action-row{flex:0 0 auto}

@media(max-width:760px){
  .modal[data-layout="signal"]{left:0;right:0;top:auto;bottom:0;translate:0 0;width:100%;max-height:88dvh;border-radius:8px 8px 0 0}
  .signal-diagnostic-hero{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:18px 16px}
  .signal-diagnostic-mark{width:40px;height:40px}
  .signal-diagnostic-hero>.badge{grid-column:2;justify-self:start}
  .signal-diagnostic-hero h3{font-size:21px}
  .signal-diagnostic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .signal-diagnostic-metrics>div{padding:15px 16px}
  .signal-diagnostic-metrics>div:nth-child(3){border-top:1px solid var(--hair);border-left:0}
  .signal-diagnostic-metrics>div:nth-child(4){border-top:1px solid var(--hair)}
  .signal-diagnostic-path{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 16px}
  .signal-diagnostic-foot{align-items:stretch;flex-direction:column;padding:16px}
  .signal-diagnostic-foot .action-row{display:grid;grid-template-columns:1fr}
  .signal-diagnostic-foot .button{width:100%;min-height:44px}
}

/* V10: Funktionsparitaet, mobile-first Hierarchie und ruhige Kontextsteuerung. */
.home-hub{padding-top:2px}
.home-tile-grid{margin-top:0}
.home-tile.wide{grid-column:span 6}
.icon.reverse{transform:rotate(180deg)}
.button.is-active{border-color:rgba(138,29,29,.62);background:rgba(138,29,29,.2);color:var(--text)}

.module-context{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:-7px 0 12px;
  padding:0 4px;
  color:var(--text-3);
  font:600 8px "JetBrains Mono",monospace;
}
.module-context b{color:var(--text-2)}
.module-context .sync-status{display:inline-flex;align-items:center;gap:7px}
.module-context .sync-status::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--success)}

.live-toolbar{grid-template-columns:minmax(260px,1fr) minmax(185px,.36fr) auto}
.player-screen{min-height:0}
.player-surface-meta{
  position:absolute;
  z-index:2;
  top:20px;
  right:20px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text-3);
  font:650 8px "JetBrains Mono",monospace;
}
.player-center{
  position:absolute;
  z-index:2;
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  border:1px solid var(--hair-strong);
  border-radius:50%;
  background:rgba(7,6,5,.58);
  color:var(--text);
  backdrop-filter:blur(12px);
}
.player-center:hover{background:rgba(7,6,5,.78)}
.player-center .icon{width:25px;height:25px}
.player-controls{grid-template-columns:auto minmax(80px,1fr) auto;gap:12px;padding:12px 14px}
.player-controls .control-set{align-items:center}
.player-controls button{width:36px;height:36px}
.player-controls .player-tools{gap:3px}
.volume-control{height:36px;display:flex;align-items:center;gap:7px;padding:0 7px;color:var(--text-3)}
.volume-control .icon{width:16px;height:16px}
.volume-control input{width:72px;accent-color:var(--cta)}
.channel-panel header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.channel-panel header .overline{margin-bottom:4px}
.channel-row{grid-template-columns:1fr auto;padding:0;background:transparent}
.channel-select{min-width:0;min-height:70px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:11px;padding:10px 8px 10px 13px;background:transparent;text-align:left}
.channel-favorite{width:44px;height:44px;display:grid;place-items:center;margin-right:8px;border-radius:6px;background:transparent;color:var(--text-3)}
.channel-favorite:hover{background:rgba(253,243,243,.07);color:var(--text)}
.channel-favorite .icon{width:17px;height:17px}
.channel-list .state-panel{min-height:360px;padding:22px}

.guide-toolbar{grid-template-columns:minmax(260px,1fr) auto auto}
.guide-filterbar{
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  padding:0 0 12px;
  scrollbar-width:thin;
  scrollbar-color:var(--hair-strong) transparent;
}
.guide-filterbar .filter-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:0 0 auto}
.football-chiprail>*{flex:0 0 auto}
.guide-filterbar .filter-chip .icon{width:14px;height:14px}
.filter-spacer{flex:1 0 16px}
.program-cell{
  width:100%;
  min-width:130px;
  min-height:54px;
  display:grid;
  align-content:center;
  gap:4px;
  padding:9px 11px;
  border:1px solid var(--hair);
  border-radius:6px;
  background:rgba(253,243,243,.025);
  text-align:left;
  font-size:10px;
}
.program-cell:hover{border-color:var(--hair-strong);background:rgba(253,243,243,.055)}
.program-cell.is-current{border-color:rgba(138,29,29,.48);background:rgba(138,29,29,.16)}
.program-cell small{color:var(--text-3);font:650 7px "JetBrains Mono",monospace}
.guide-row-actions{display:flex;justify-content:flex-end;gap:5px}

.vod-controls{
  position:sticky;
  z-index:35;
  top:calc(var(--topbar) + var(--product-nav) + 8px);
  display:grid;
  grid-template-columns:minmax(260px,.8fr) auto;
  gap:8px;
  margin:18px 0 0;
  padding:8px;
  border:1px solid var(--hair);
  border-radius:7px;
  background:rgba(43,43,42,.96);
  backdrop-filter:blur(16px);
}
.vod-controls>.search-field{min-width:0}
.catalog-tabs{overflow-x:auto}
.catalog-tabs button{white-space:nowrap}
.catalog-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.catalog-filters .select-field{height:40px}
.catalog-filters select{font-size:10px}

@media(max-width:1000px){
  .home-tile.wide{grid-column:span 6}
  .player-controls{grid-template-columns:1fr}
  .player-controls .timeline{grid-row:1}
  .player-controls .control-set{justify-content:center}
  .player-controls .player-tools{border-top:1px solid var(--hair);padding-top:6px}
  .volume-control{margin-right:auto}
}

@media(max-width:760px){
  #app-main{padding-top:calc(var(--topbar) + 18px)}
  .page-head{display:block;padding-bottom:18px}
  .page-head h1{font-size:34px;line-height:1}
  .page-head .lede{display:none}
  .home-hub{padding-top:0}
  .home-tile-grid{margin-top:0}
  .home-tile.wide{grid-column:span 1}
  .live-toolbar,.guide-toolbar{
    top:var(--topbar);
    grid-template-columns:1fr 1fr;
    margin-top:12px;
    margin-inline:calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-inline:0;
    border-radius:0;
  }
  .live-toolbar .search-field,.guide-toolbar .search-field{grid-column:1/-1}
  .live-toolbar .button{min-width:0;padding-inline:10px}
  .module-context{min-height:34px;margin:0;padding-inline:1px;font-size:7px}
  .live-layout{gap:8px}
  .player-shell{min-height:0;aspect-ratio:auto}
  .player-screen{min-height:52vw;max-height:330px}
  .player-surface-meta{top:12px;right:12px}
  .channel-bug{top:12px;left:12px}
  .player-center{width:58px;height:58px}
  .player-controls{gap:8px;padding:9px}
  .player-controls .control-set{gap:2px}
  .player-controls button{width:40px;height:40px}
  .player-controls .player-tools{overflow-x:auto;justify-content:flex-start}
  .volume-control{flex:1 0 122px;margin-right:0}
  .volume-control input{width:100%}
  .channel-panel{max-height:430px}
  .channel-list{max-height:360px}
  .guide-filterbar{margin-inline:calc(var(--pad) * -1);padding:0 var(--pad) 10px}
  .filter-spacer{display:none}
  .guide-row-actions .icon-button{width:40px;height:40px}
  .vod-controls{
    top:var(--topbar);
    grid-template-columns:1fr;
    margin-inline:calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-inline:0;
    border-radius:0;
  }
  .catalog-tabs{grid-column:1;order:2}
  .catalog-filters{order:3;display:flex;overflow-x:auto}
  .catalog-filters .select-field{flex:0 0 145px}
  .vod-controls+.section{padding-top:22px}
  .content-stage .stage-visual{min-height:200px}
  .content-stage .stage-copy{padding:20px}
  .content-stage .stage-copy h2{font-size:27px}
  .content-stage .stage-copy p{margin-block:10px;font-size:11px;line-height:1.45}
  .remote-page{align-items:start;padding-top:0}
  .hardware-remote{grid-row:1;margin-top:0}
  .remote-copy{grid-row:2}
}

@media(max-width:420px){
  .home-tile,.home-tile.feature,.home-tile.wide{min-height:170px}
  .home-tile.feature{min-height:194px}
  .home-tile-copy>p:last-child{display:none}
  .home-tile>footer{font-size:7px}
  .live-toolbar,.guide-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .guide-toolbar .segmented button{padding-inline:10px}
  .player-controls .control-set:first-child{display:grid;grid-template-columns:repeat(5,1fr);width:100%}
  .player-controls .control-set:first-child button{justify-self:center}
  .setting-row{grid-template-columns:1fr;gap:10px;padding:14px 0}
  .setting-row>.button,.setting-row>.segmented,.setting-row>select{justify-self:start}
  .setting-row>.segmented{max-width:100%;overflow-x:auto}
}

/* V12: readable setup progress and calm, clipping-free mobile chrome. */
.setup-progress{display:block;margin:18px 0 30px}
.setup-progress-status{display:none}
.setup-progress-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.setup-progress-track>span{min-width:0;min-height:40px;display:flex;align-items:center;gap:7px;padding:9px;border-top:2px solid var(--hair);color:var(--text-3)}
.setup-progress-track>span.is-active{border-color:var(--cta);color:var(--text)}
.setup-progress-track i{width:18px;height:18px;display:grid;place-items:center;flex:0 0 auto;border:1px solid currentColor;border-radius:50%;font:650 8px "JetBrains Mono",monospace;font-style:normal}
.setup-progress-track b{min-width:0;font:600 8px "JetBrains Mono",monospace;text-transform:uppercase}

@media(max-width:760px){
  html,body,.guide-filterbar,.settings-index,.catalog-tabs,.catalog-filters,.player-tools,.segmented,.channel-list{scrollbar-width:none}
  html::-webkit-scrollbar,body::-webkit-scrollbar,.guide-filterbar::-webkit-scrollbar,.settings-index::-webkit-scrollbar,.catalog-tabs::-webkit-scrollbar,.catalog-filters::-webkit-scrollbar,.player-tools::-webkit-scrollbar,.segmented::-webkit-scrollbar,.channel-list::-webkit-scrollbar{display:none}
  .setup-progress{margin:16px 0 28px}
  .setup-progress-status{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 9px}
  .setup-progress-status small{color:var(--text-3);font:650 8px "JetBrains Mono",monospace}
  .setup-progress-status strong{font-size:12px;font-weight:650}
  .setup-progress-track{gap:4px}
  .setup-progress-track>span{min-height:0;padding:0;border-top-width:2px;font-size:0}
  .setup-progress-track i,.setup-progress-track b{display:none}
}

@media(max-width:420px){
  .account-control{display:none!important}
  .identity-group{flex:1 1 auto;overflow:hidden}
  .product-title{min-width:0}
  .product-title span{max-width:126px}
  .context-control b{max-width:88px}
}

/* V14: Webfrontend - lesbare Produktdichte, klare Hierarchie, ruhige Tiefe. */
:root{
  --canvas:#2b2b2a;
  --canvas-2:#30302f;
  --panel:#383735;
  --panel-2:#403f3d;
  --panel-3:#494745;
  --text-2:rgba(253,243,243,.82);
  --text-3:rgba(253,243,243,.64);
  --hair:rgba(253,243,243,.12);
  --hair-strong:rgba(253,243,243,.22);
  --topbar:72px;
  --product-nav:56px;
  --content:1440px;
}

body{
  background:linear-gradient(180deg,var(--canvas-2) 0,var(--canvas) 430px);
  font-size:15px;
  line-height:1.45;
}

.topbar{background:rgba(43,43,42,.97)}
.topbar-inner{max-width:1600px;margin-inline:auto}
.brand strong{font-size:16px}
.product-title strong{font-size:15px}
.product-title span{font-size:11px;color:var(--text-3)}
.context-control,.account-control{height:46px;border-radius:8px;background:rgba(253,243,243,.04)}
.context-control small{font-size:9px}
.context-control b{font-size:12px}
.account-control b{font-size:12px}

.desktop-nav{height:var(--product-nav);background:rgba(48,48,47,.98)}
.desktop-nav a,.desktop-nav>button{min-width:112px;min-height:55px;gap:9px;font-size:12px;font-weight:580}
.desktop-nav .icon{width:18px;height:18px}

#app-main{padding-top:calc(var(--topbar) + var(--product-nav) + 26px)}
.page-head{min-height:118px;padding-bottom:22px}
.page-head h1{font-size:42px;line-height:1;font-weight:650}
.page-head .lede{max-width:760px;margin-top:12px;font-size:15px;line-height:1.5}
.overline{font-size:10px;line-height:1.35;color:var(--text-3)}
.section{padding:28px 0}
.section-heading h2{font-size:27px}
.text-action{font-size:13px}

.button{min-height:44px;padding-inline:17px;border-radius:10px;font-size:13px}
.icon-button{width:44px;height:44px;border-radius:9px}
.search-field,.select-field{height:48px;border-radius:8px}
.search-field input,.select-field select{font-size:15px}
.segmented{border-radius:8px}
.segmented button{min-height:40px;padding-inline:15px;border-radius:6px;font-size:13px}
.filter-chip{min-height:40px;border-radius:8px;font-size:12px}

.home-hub{padding-top:0}
.home-tile-grid{gap:10px}
.home-tile{
  min-height:218px;
  gap:24px;
  padding:22px;
  border-radius:8px;
  background:var(--panel);
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.home-tile.feature{min-height:256px;padding:26px;background:var(--panel-2)}
.home-tile.feature::after{left:26px;right:auto;width:54px;height:2px;background:var(--cta);opacity:1}
.home-tile:hover{transform:translateY(-1px);border-color:var(--hair-strong);background:var(--panel-2)}
.home-tile.feature:hover{background:#3d3c3a}
.home-tile-icon{width:44px;height:44px;border-radius:8px;background:rgba(253,243,243,.035)}
.home-tile.feature .home-tile-icon{width:48px;height:48px}
.home-tile-icon .icon{width:20px;height:20px}
.home-tile-status{min-height:26px;display:inline-flex;align-items:center;padding:5px 8px;border-radius:6px;font-size:9px;color:var(--text-2)}
.home-tile-copy .overline{margin-bottom:8px;font-size:9px}
.home-tile-copy h2{font-size:25px}
.home-tile.feature .home-tile-copy h2{font-size:38px}
.home-tile-copy>p:last-child{margin-top:9px;font-size:13px;line-height:1.45;color:var(--text-3)}
.home-tile.feature .home-tile-copy>p:last-child{font-size:14px;color:var(--text-2)}
.home-tile>footer{padding-top:14px;font-size:10px;color:var(--text-3)}

.toolbar,.vod-controls{border-radius:8px;background:rgba(48,48,47,.97)}
.module-context{min-height:42px;margin-top:-4px;font-size:10px}
.live-layout{gap:10px}
.player-shell,.channel-panel{border-radius:8px}
.player-screen{isolation:isolate;background:#262826}
.player-screen::before,.player-screen::after{display:none}
.player-ambient{
  position:absolute;
  inset:0;
  z-index:0;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:4px;
  overflow:hidden;
  color:rgba(253,243,243,.08);
  background:
    linear-gradient(90deg,transparent 49.8%,rgba(253,243,243,.035) 50%,transparent 50.2%),
    linear-gradient(0deg,transparent 49.8%,rgba(253,243,243,.035) 50%,transparent 50.2%);
  background-size:72px 72px;
}
.player-ambient strong{font:700 190px/.8 "JetBrains Mono",monospace}
.player-ambient span{font:650 11px "JetBrains Mono",monospace;text-transform:uppercase}
.production-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:contain;background:#1b1b1a}
.player-runtime-status{position:absolute;z-index:2;left:50%;bottom:22px;max-width:min(80%,420px);transform:translateX(-50%);padding:8px 11px;border:1px solid var(--hair);border-radius:6px;background:rgba(43,43,42,.9);color:var(--text-2);font:650 9px/1.3 "JetBrains Mono",monospace;text-align:center;backdrop-filter:blur(12px)}
.player-screen.is-production[data-player-state="playing"] .player-center{opacity:0;transform:scale(.94)}
.player-screen.is-production[data-player-state="playing"]:hover .player-center,.player-screen.is-production[data-player-state="playing"] .player-center:focus-visible{opacity:1;transform:scale(1)}
.player-screen.is-production[data-player-state="loading"] .player-center,.player-screen.is-production[data-player-state="reconnecting"] .player-center{opacity:.42}
.player-center{z-index:3;background:rgba(48,48,47,.78)}
.player-controls{background:var(--panel-2)}
.channel-bug,.player-surface-meta{z-index:3}
.channel-bug>span:last-child{display:grid;gap:2px;font-size:14px}
.channel-bug small{color:var(--text-3);font-size:11px;font-weight:500}
.player-surface-meta{font-size:10px}
.timeline{height:3px}
.channel-panel header b{font-size:16px}
.channel-select{min-height:76px}
.channel-row b{font-size:14px}
.channel-row small{font-size:11px;line-height:1.35}
.channel-logo{width:44px;height:44px;border-radius:8px;font-size:10px}
.pair-layout .section-title{font-size:56px!important}

.guide-filterbar{gap:8px;padding-bottom:14px}
.guide-table{table-layout:fixed;min-width:1040px}
.guide-table th:first-child{width:220px}
.guide-table th:last-child{width:154px}
.data-table th,.data-table td{padding:12px;font-size:14px}
.data-table th{font-size:10px}
.guide-table tbody tr:hover td{background:rgba(253,243,243,.018)}
.guide-channel{min-width:0;grid-template-columns:44px 1fr}
.guide-channel b{font-size:14px}
.guide-channel small{font-size:10px}
.program-cell{min-width:0;min-height:76px;gap:6px;padding:11px 12px;border-radius:8px;font-size:13px}
.program-cell b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.program-cell small{font-size:9px}
.program-progress{height:3px;display:block;overflow:hidden;border-radius:2px;background:rgba(253,243,243,.12)}
.program-progress i{height:100%;display:block;background:var(--cta)}
.guide-list-row{min-height:102px;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;padding:16px}
.guide-list-row h3{margin-top:8px;font-size:17px}
.guide-list-row p{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:6px;font-size:12px}
.guide-list-row p b{color:var(--text-2)}
.guide-list-copy>.program-progress{max-width:380px;margin-top:10px}

.content-card{min-height:190px;padding:20px}
.content-card h3{font-size:18px}
.content-card p{font-size:13px;line-height:1.45}
.content-card .card-time{font-size:10px}
.card-actions button{min-height:40px;padding-inline:12px;font-size:12px}
.badge{min-height:25px;padding-inline:8px;font-size:9px}
.poster h3{font-size:18px}
.poster p{font-size:11px}
.catalog-filters select{font-size:13px}
.stage-copy p{font-size:14px}
.stage-meta{font-size:10px}

.manager-subnav a{min-height:64px;padding:12px;border-radius:8px}
.manager-subnav b{font-size:13px}
.manager-subnav span{font-size:10px}
.module-card{min-height:184px;padding:20px}
.module-card h3{font-size:20px}
.module-card p{font-size:13px}
.module-card footer{font-size:10px}
.field span,.data-table th{font-size:10px}
.field input,.field select,.field textarea{font-size:15px}
.info-panel p,.info-panel li{font-size:13px}
.setting-row b{font-size:14px}
.setting-row small{font-size:12px}
.settings-index a{font-size:13px}
.sheet-option b{font-size:14px}
.sheet-option small{font-size:11px}

@media(max-width:1000px){
  .desktop-nav a,.desktop-nav>button{min-width:92px;font-size:11px}
  .home-tile{grid-column:span 6}
  .home-tile.wide{grid-column:span 6}
}

@media(max-width:760px){
  :root{--topbar:64px;--product-nav:0px;--pad:16px}
  body{font-size:15px}
  #app-main{padding-top:calc(var(--topbar) + 18px)}
  .topbar{background:rgba(43,43,42,.98)}
  .brand img{width:29px;height:auto}
  .product-title{padding-left:11px}
  .product-title strong{font-size:14px}
  .product-title span{font-size:9px}
  .context-control{min-width:106px;height:46px;padding-inline:10px}
  .context-control b{max-width:86px;font-size:10px}
  .page-head{min-height:0;padding-bottom:17px}
  .page-head h1{font-size:32px}
  .pair-layout .section-title{font-size:38px!important}
  .overline{font-size:9px}
  .section{padding:23px 0}
  .section-heading h2{font-size:24px}

  .home-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .home-tile,.home-tile.wide{grid-column:span 1;min-height:188px;padding:16px;gap:16px}
  .home-tile.feature{grid-column:span 2;min-height:222px;padding:20px;gap:20px}
  .home-tile.feature::after{left:20px}
  .home-tile-icon,.home-tile.feature .home-tile-icon{width:40px;height:40px}
  .home-tile-status{max-width:54%;white-space:normal;overflow:visible;text-align:right;line-height:1.25}
  .home-tile-copy h2{font-size:20px}
  .home-tile.feature .home-tile-copy h2{font-size:30px}
  .home-tile-copy>p:last-child{display:none}
  .home-tile.feature .home-tile-copy>p:last-child{display:block;font-size:13px}
  .home-tile>footer{font-size:9px}

  .toolbar,.vod-controls{background:rgba(37,37,36,.985)}
  .search-field input,.select-field select{font-size:16px}
  .segmented button{font-size:13px}
  .filter-chip{font-size:12px}
  .module-context{font-size:9px}
  .player-screen{min-height:54vw}
  .player-ambient{background-size:48px 48px}
  .player-ambient strong{font-size:90px}
  .channel-bug>span:last-child{font-size:13px}
  .channel-bug small{font-size:10px}
  .channel-panel header b{font-size:17px}
  .channel-select{min-height:74px}
  .channel-row b{font-size:14px}
  .channel-row small{font-size:11px}

  .guide-list{margin-inline:0}
  .guide-list-row{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:15px 12px}
  .guide-list-row h3{font-size:17px}
  .guide-list-row p{font-size:12px}
  .guide-list-row .action-row{grid-column:2;justify-content:flex-start}
  .guide-list-row .button{min-width:118px}
  .guide-list-copy>.program-progress{margin-top:9px}

  .content-card h3{font-size:18px}
  .content-card p{font-size:13px}
  .catalog-filters select{font-size:13px}
  .content-stage .stage-copy p{font-size:13px}
  .poster h3{font-size:17px}
  .poster p{font-size:10px}

  .mobile-nav{height:70px;background:rgba(48,48,47,.98)}
  .mobile-nav a,.mobile-nav button{gap:5px;font-size:10px}
  .mobile-nav .icon{width:20px;height:20px}
}

@media(max-width:360px){
  .home-tile-grid{grid-template-columns:1fr}
  .home-tile,.home-tile.feature,.home-tile.wide{grid-column:auto;min-height:178px}
  .home-tile.feature{min-height:210px}
}

/* V15: Funktionsgetreue Originalmodule, stabile Mobile-Hierarchie und echte Darstellungsmodi. */
.guide-commandbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:12px 0 2px;
}
.guide-commandbar .button{background:var(--panel)}
.guide-commandbar .device-command{min-width:142px}
.guide-commandbar .status-dot{flex:0 0 auto}
.guide-commandbar .command-refresh{flex:0 0 42px}
.variant-list{margin-top:20px}
.variant-list .sheet-option{grid-template-columns:auto minmax(0,1fr) auto}

.manager-metrics-section{padding-block:20px}
.manager-metrics .metric{min-height:92px;padding:14px 18px}
.manager-metrics .metric b{font-size:26px}

html[data-layout="list"] .poster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-layout="list"] .poster{
  min-height:132px;
  aspect-ratio:auto;
  padding:18px;
}
html[data-layout="list"] .poster::after{inset:0;background:linear-gradient(90deg,transparent,rgba(7,6,5,.74))}
html[data-layout="list"] .poster>span:last-child{max-width:70%;margin-left:auto;text-align:right}

html[data-density="compact"] .home-tile{min-height:176px;padding:17px;gap:16px}
html[data-density="compact"] .home-tile.feature{min-height:214px;padding:20px}
html[data-density="compact"] .content-card{min-height:156px;padding:15px}
html[data-density="compact"] .setting-row{min-height:58px}
html[data-density="comfort"] .home-tile{min-height:238px;padding:25px}
html[data-density="comfort"] .home-tile.feature{min-height:282px;padding:29px}
html[data-density="comfort"] .content-card{min-height:210px;padding:22px}
html[data-density="comfort"] .setting-row{min-height:76px}

html[data-theme="light"]{
  --canvas:#f2efed;
  --canvas-2:#ebe7e4;
  --panel:#fffdfc;
  --panel-2:#e9e5e2;
  --panel-3:#ded9d5;
  --text:#211f1e;
  --text-2:rgba(33,31,30,.78);
  --text-3:rgba(33,31,30,.59);
  --hair:rgba(33,31,30,.13);
  --hair-strong:rgba(33,31,30,.24);
}
html[data-theme="light"] body{background:var(--canvas);color:var(--text)}
html[data-theme="light"] .topbar,
html[data-theme="light"] .desktop-nav,
html[data-theme="light"] .mobile-nav{background:rgba(31,30,29,.98);color:#fdf3f3}
html[data-theme="light"] .product-title span,
html[data-theme="light"] .desktop-nav a,
html[data-theme="light"] .mobile-nav a,
html[data-theme="light"] .mobile-nav button{color:rgba(253,243,243,.68)}
html[data-theme="light"] .desktop-nav [aria-current="page"],
html[data-theme="light"] .mobile-nav [aria-current="page"]{color:#fdf3f3}
html[data-theme="light"] .context-control,
html[data-theme="light"] .account-control{border-color:rgba(253,243,243,.18);background:rgba(253,243,243,.06)}
html[data-theme="light"] .toolbar,
html[data-theme="light"] .vod-controls{background:rgba(255,253,252,.97)}
html[data-theme="light"] .search-field,
html[data-theme="light"] .select-field,
html[data-theme="light"] .segmented{background:rgba(33,31,30,.045)}
html[data-theme="light"] .segmented button.is-active{background:#211f1e;color:#fdf3f3}
html[data-theme="light"] .search-field input,
html[data-theme="light"] .select-field select{color:var(--text)}
html[data-theme="light"] .filter-chip.is-active{color:var(--text)}
html[data-theme="light"] .home-tile.feature:hover{background:#e2ddda}
html[data-theme="light"] .button.primary,
html[data-theme="light"] .button.football-primary{color:#fff}
html[data-theme="light"] .player-shell,
html[data-theme="light"] .hardware-remote{color:#fdf3f3}
html[data-theme="light"] .player-shell .button,
html[data-theme="light"] .hardware-remote button{color:#fdf3f3}
html[data-theme="light"] .stage-visual{color:#fdf3f3}

@media(max-width:760px){
  .topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .identity-group{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;overflow:hidden}
  .brand{min-width:29px}
  .product-title{min-width:0;height:44px;display:flex;align-items:center;overflow:hidden;padding-left:10px}
  .product-title strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
  .product-title span{display:none}
  .context-bar{min-width:0;margin-left:0}
  .context-control{min-width:108px;max-width:118px}

  .guide-commandbar{
    justify-content:flex-start;
    overflow-x:auto;
    margin:10px calc(var(--pad) * -1) 0;
    padding:0 var(--pad) 10px;
    scrollbar-width:none;
  }
  .guide-commandbar::-webkit-scrollbar{display:none}
  .guide-commandbar .button{flex:0 0 auto;min-height:42px}
  .guide-commandbar .device-command{min-width:132px}
  .guide-commandbar .command-remote,
  .guide-commandbar .device-command{display:none}
  .guide-commandbar .command-refresh{margin-left:auto}

  .manager-subnav{
    display:flex;
    gap:8px;
    overflow-x:auto;
    margin:12px calc(var(--pad) * -1) 0;
    padding:0 var(--pad) 10px;
    scrollbar-width:none;
  }
  .manager-subnav::-webkit-scrollbar{display:none}
  .manager-subnav a{flex:0 0 138px;min-height:64px}
  .manager-metrics-section{padding-block:12px}
  .manager-metrics{gap:0}
  .manager-metrics .metric{min-height:78px;padding:12px 10px}
  .manager-metrics .metric b{font-size:23px}
  .manager-metrics .metric span{font-size:9px}

  .vod-feature{padding-block:14px 22px}
  .vod-feature .stage-visual{min-height:168px}
  .vod-feature .stage-copy{padding:20px}
  .vod-feature .stage-copy h2{font-size:28px}
  .vod-feature .stage-copy p{margin-block:9px 14px}
  .vod-feature .button{min-height:42px;padding-inline:13px}

  html[data-layout="list"] .poster-grid{grid-template-columns:1fr}
  html[data-layout="list"] .poster{min-height:118px}
  html[data-density="compact"] .home-tile,
  html[data-density="compact"] .home-tile.feature{min-height:164px;padding:15px}
  html[data-density="comfort"] .home-tile{min-height:205px;padding:19px}
  html[data-density="comfort"] .home-tile.feature{min-height:232px;padding:22px}
}

/* V16: media-first mobile flows, deliberate variants and progressive VOD filters. */
.live-page,.vod-page{display:flex;flex-direction:column}
.live-page>.page-head{order:0}
.live-page>.live-toolbar{order:1}
.live-page>.module-context{order:2}
.live-page>.live-layout{order:3}
.live-page>.live-now-strip{order:4}
.live-page>.live-program{order:5}
.live-now-strip{display:none}
.signal-mark{width:15px;height:14px;display:inline-flex;align-items:center;gap:1px;flex:0 0 auto}
.signal-mark i{width:2px;height:9px;border-radius:2px;background:var(--text);opacity:.92}
.signal-mark i:nth-child(2){height:11px;background:var(--mark);opacity:1}
.player-quality{
  min-width:54px;
  min-height:28px;
  padding:0 8px;
  border:1px solid var(--hair);
  border-radius:6px;
  background:rgba(7,6,5,.52);
  color:var(--text-2);
  font:650 8px "JetBrains Mono",monospace;
}
.player-quality:hover{border-color:var(--hair-strong);color:var(--text)}
.variant-list .sheet-option.is-selected{border-left:1px solid var(--cta);background:rgba(138,29,29,.11)}
.guide-watch{background:transparent;color:var(--text-2)}
.guide-watch .icon{color:var(--ink-red)}
.guide-watch:hover{border-color:var(--hair-strong);background:rgba(253,243,243,.05);color:var(--text)}
.guide-list-row.is-current{position:relative}
.guide-list-row.is-current::before{content:"";position:absolute;left:0;top:17px;width:2px;height:18px;background:var(--mark)}
.guide-next{display:block;margin-top:8px;color:var(--text-3);font:600 9px "JetBrains Mono",monospace}
.guide-variant{display:inline-flex;align-items:center;min-height:22px;margin-top:6px;padding:3px 6px;border:1px solid var(--hair);border-radius:5px;background:transparent;color:var(--text-3);font:650 8px "JetBrains Mono",monospace}
button.guide-variant:hover{border-color:var(--hair-strong);color:var(--text)}
.guide-variant.is-single{opacity:.72}
.vod-filter-toggle{display:none}
.vod-page>.page-head{order:0}
.vod-page>.vod-controls{order:1}
.vod-page>.vod-continue{order:2}
.vod-page>.vod-catalog{order:3}
.vod-page>.vod-feature{order:4}
.resume-card{min-width:320px}
.poster.has-image{background-image:linear-gradient(180deg,rgba(7,6,5,.02) 25%,rgba(7,6,5,.92) 100%),var(--poster-image);background-size:cover;background-position:center}
.resume-card .progress{margin-bottom:11px}
.resume-state{display:grid;grid-template-columns:1fr auto;gap:8px 14px;margin:16px 0;padding:13px 0;border-block:1px solid var(--hair)}
.resume-state>span{color:var(--text-3);font:650 8px "JetBrains Mono",monospace}
.resume-state>b{color:var(--text-2);font:650 9px "JetBrains Mono",monospace}
.resume-state .progress{grid-column:1/-1;height:3px;margin:0;background:var(--hair-strong)}
.resume-state .progress i{display:block;height:100%;background:var(--cta)}
.vod-filter-reset{grid-column:1/-1;justify-self:end;min-height:36px;padding-inline:8px}
.runtime-loading{min-width:0;max-width:100%;min-height:calc(100dvh - var(--topbar) - 80px);display:flex;align-items:center;justify-content:center;gap:16px;text-align:left}
.runtime-loading>.signal-mark{flex:0 0 auto}
.runtime-loading>div{min-width:0;max-width:100%}
.runtime-loading p{max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.runtime-loading .signal-mark{width:24px;height:28px;gap:2px}
.runtime-loading .signal-mark i{width:4px;height:17px}
.runtime-loading .signal-mark i:nth-child(2){height:20px}
.runtime-loading h1{margin:0;font-size:clamp(28px,5vw,48px)}
.runtime-loading p:last-child{margin:8px 0 0;color:var(--text-3)}

@media(max-width:760px){
  .live-page>.page-head{display:none}
  .live-page>.module-context{order:0;min-height:32px;margin:0 0 8px;padding-inline:1px}
  .live-page>.live-layout{display:contents}
  .live-page .player-shell{order:1}
  .live-page>.live-now-strip{order:2}
  .live-page>.live-toolbar{order:3}
  .live-page .channel-panel{order:4}
  .live-page>.live-program{order:5}
  .live-now-strip{position:relative;min-height:76px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid var(--hair)}
  .live-now-strip::before{content:"";position:absolute;left:0;top:0;width:72px;height:1px;background:linear-gradient(90deg,var(--mark),rgba(179,54,47,0))}
  .live-now-strip>div:nth-child(2){min-width:0}
  .live-now-strip .overline{display:block;margin:0 0 4px}
  .live-now-strip b,.live-now-strip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .live-now-strip b{font-size:15px}
  .live-now-strip small{margin-top:3px;color:var(--text-3);font-size:10px}
  .live-now-actions{display:flex;gap:6px}
  .live-page>.live-toolbar{position:relative;top:auto;margin-top:8px}
  .live-page .player-screen{min-height:52vw}
  .live-page .channel-panel{margin-top:8px}
  .player-quality{min-height:30px}
  .guide-next{font-size:9px;white-space:normal}
  .guide-list-row .guide-watch{min-width:112px;border-color:var(--hair-strong);background:rgba(253,243,243,.035)}
  .vod-controls{grid-template-columns:minmax(0,1fr) auto;top:calc(var(--topbar) + 6px);margin-top:0}
  .vod-controls>.search-field{grid-column:1}
  .vod-filter-toggle{display:inline-flex;grid-column:2;min-width:84px;padding-inline:12px}
  .catalog-tabs{grid-column:1/-1}
  .catalog-filters{display:none;grid-template-columns:1fr 1fr;padding-top:2px}
  .catalog-filters.is-open{display:grid}
  .vod-filter-reset{grid-column:1/-1}
  .vod-continue{padding-top:22px}
  .vod-continue .rail{grid-auto-columns:84vw}
  .resume-card{min-width:0;min-height:188px}
  .resume-card .card-actions{display:grid;grid-template-columns:1fr auto}
  .resume-card .card-actions button:first-child{justify-content:flex-start}
  .vod-feature{padding-top:28px}
  .vod-detail-stage{grid-template-columns:1fr!important}
}

@media(max-width:380px){
  .live-now-strip small{max-width:230px}
  .vod-filter-toggle{min-width:76px;padding-inline:9px}
}

/* V20: task-first mobile commands, local-recorder guidance and sticky settings. */
.toolbar,.vod-controls{background:rgba(48,48,47,.985)}
.settings-index a.is-active{color:var(--text)}
.settings-index a.is-active::before{background:var(--cta)}

.editor-list-mobile{display:none}
.admin-user-list-mobile{display:none}
.admin-toolbar{
  position:sticky;
  z-index:34;
  top:calc(var(--topbar) + var(--product-nav) + 8px);
  display:grid;
  grid-template-columns:minmax(240px,1fr) 180px;
  gap:8px;
  margin:18px 0 0;
  padding:8px;
  border:1px solid var(--hair);
  border-radius:8px;
  background:rgba(43,43,42,.97);
  backdrop-filter:blur(14px);
}
.admin-toolbar-refresh{display:none}
.admin-toolbar input,.admin-toolbar select{height:100%}
.admin-search{position:relative;padding-right:2px}
.admin-search.has-clear input{padding-right:44px}
.admin-search button{
  position:absolute;
  top:2px;
  right:2px;
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:6px;
  color:var(--text-3);
}
.admin-search button:hover{background:rgba(253,243,243,.06);color:var(--text)}
.admin-search button .icon{width:16px;height:16px}
.admin-status-filter select{appearance:none}
.admin-status-filter>.icon{width:15px;height:15px;color:var(--text-3);pointer-events:none}
.admin-page .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.admin-page .metric{min-width:0;border-top-color:var(--hair)}
.admin-result-count{
  color:var(--text-3);
  font:650 9px "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.admin-directory .data-table{min-width:780px}
.admin-directory .data-table td{vertical-align:middle}
.admin-user-identity{min-width:0}
.admin-user-identity b,.admin-user-identity small{display:block}
.admin-user-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-user-identity small{margin-top:5px;color:var(--text-3);font:500 9px "JetBrains Mono",monospace}
.admin-directory .data-table td:nth-child(2) b,.admin-directory .data-table td:nth-child(2) small{display:block}
.admin-directory .data-table td:nth-child(2) small{margin-top:4px;color:var(--text-3);font-size:10px}
.admin-status-badge.is-pending{border-color:var(--hair-strong);color:var(--text-2)}
.admin-status-badge.is-inactive{border-color:rgba(217,106,95,.3);color:var(--ink-red)}
.admin-status-badge.is-unknown{color:var(--text-3)}
.admin-user-foot{display:none}
.editor-channel-row{
  min-height:76px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--hair);
}
.editor-channel-row:last-child{border-bottom:0}
.editor-channel-row>div:nth-child(2){min-width:0}
.editor-channel-row b,.editor-channel-row small{display:block}
.editor-channel-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.editor-channel-row small{margin-top:4px;color:var(--text-3);font-size:10px}
.editor-channel-meta{display:grid;justify-items:end;gap:5px}
.editor-channel-meta small{font:650 8px "JetBrains Mono",monospace}

@media(max-width:760px){
  .page-head .head-actions{
    display:flex;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    margin-top:14px;
    padding-bottom:2px;
    scrollbar-width:none;
  }
  .page-head .head-actions::-webkit-scrollbar{display:none}
  .page-head .head-actions .button{flex:0 0 auto;min-height:44px}

  .settings-index{
    position:sticky;
    z-index:32;
    top:var(--topbar);
    min-height:48px;
    margin:0 calc(var(--pad) * -1);
    padding:0 var(--pad);
    border-bottom:1px solid var(--hair);
    background:rgba(43,43,42,.98);
    backdrop-filter:blur(14px);
  }
  .settings-index a{
    position:relative;
    min-height:48px;
    display:flex;
    align-items:center;
    padding:0 14px;
  }
  .settings-index a.is-active::before{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:0;
    height:2px;
  }
  .settings-group{scroll-margin-top:calc(var(--topbar) + 56px)}

  .manager-subnav{
    position:sticky;
    z-index:31;
    top:var(--topbar);
    min-height:48px;
    gap:0;
    margin:0 calc(var(--pad) * -1);
    padding:0 var(--pad);
    border-bottom:1px solid var(--hair);
    background:rgba(43,43,42,.98);
    backdrop-filter:blur(14px);
  }
  .manager-subnav a{
    flex:0 0 auto;
    min-height:48px;
    padding:0 14px;
    display:flex;
    align-items:center;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .manager-subnav a span{display:none}
  .manager-subnav a b{font-size:12px}
  .manager-subnav a.is-active{box-shadow:inset 0 -2px 0 var(--cta);background:transparent}

  .editor-table-desktop{display:none}
  .editor-list-mobile{display:block}
  .admin-page{margin-top:-22px}
  .admin-page>.page-head{display:none}
  .admin-toolbar{
    top:var(--topbar);
    grid-template-columns:minmax(0,1fr) 112px 44px;
    margin:0 calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-inline:0;
    border-radius:0;
  }
  .admin-toolbar .search-field,.admin-toolbar .select-field{height:48px}
  .admin-toolbar-refresh{display:grid;width:44px;height:48px}
  .admin-search button{width:44px;height:44px;flex-basis:44px}
  .admin-search.has-clear>.icon{display:none}
  .admin-status-filter{padding-inline:9px 7px}
  .admin-status-filter select{font-size:12px}
  .admin-page .admin-metrics{padding:18px 0 0}
  .admin-page .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
  .admin-page .metric{min-height:76px;padding:12px 8px}
  .admin-page .metric b{font-size:18px}
  .admin-page .metric span{margin-top:7px;font-size:8px;line-height:1.3}
  .admin-directory{padding-top:24px}
  .admin-directory .section-heading{align-items:end;margin-bottom:8px}
  .admin-directory .section-heading h2{font-size:23px}
  .admin-table-desktop{display:none}
  .admin-user-list-mobile{display:block}
  .admin-user-row{
    min-height:104px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px 14px;
    padding:16px 0 13px;
    border-bottom:1px solid var(--hair);
  }
  .admin-user-row:last-child{border-bottom:0}
  .admin-user-row b{font-size:14px}
  .admin-user-row small{font-size:9px}
  .admin-user-meta{display:grid;justify-items:end;gap:7px;color:var(--text-2);font-size:10px;white-space:nowrap}
  .admin-user-foot{
    grid-column:1/-1;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--text-3);
    font:500 8px "JetBrains Mono",monospace;
  }
  .admin-user-foot span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .admin-user-foot span:first-child{display:flex;align-items:center;gap:5px;flex:0 0 auto}
  .admin-user-foot .icon{width:13px;height:13px}
  .device-list .status-row{grid-template-columns:1fr;align-items:start;gap:12px;padding-block:15px}
  .device-list .status-row>.action-row{width:100%;justify-content:flex-start}
  .device-list .status-row>.action-row .button{margin-left:auto}

}

/* V21: real source media, quieter selections and content-first VOD discovery. */
.segmented button.is-active{
  position:relative;
  border:1px solid rgba(138,29,29,.56);
  background:rgba(138,29,29,.14);
  color:var(--text);
  box-shadow:inset 0 -1px 0 var(--cta);
  font-weight:700;
}
html[data-theme="light"] .segmented button.is-active{
  border-color:rgba(138,29,29,.48);
  background:rgba(138,29,29,.1);
  color:var(--text);
}

.channel-logo{position:relative;isolation:isolate;overflow:hidden}
.channel-logo>span{position:relative;z-index:0}
.channel-logo img{
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:100%;
  padding:5px;
  object-fit:contain;
  background:var(--panel-2);
}
.channel-bug .channel-logo img{background:rgba(43,43,42,.88)}
.channel-row{position:relative}
.channel-row.is-active{background:rgba(138,29,29,.11)}
.channel-row.is-active::before{
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  top:18px;
  width:1px;
  height:32px;
  background:var(--cta);
}

.guide-list-row.has-art{position:relative;isolation:isolate;overflow:hidden}
.guide-list-row.has-art::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  background-image:var(--guide-art);
  background-position:right center;
  background-size:58% auto;
  background-repeat:no-repeat;
  opacity:.13;
  filter:saturate(.68) contrast(.94);
  pointer-events:none;
}
.guide-list-row.has-art>*{position:relative;z-index:1}
.guide-list-row.is-current::before{z-index:2}

.vod-page>.vod-shelf{order:3}
.vod-page>.vod-catalog{order:4}
.vod-page>.vod-feature{order:5}
.vod-continue .rail{grid-auto-columns:minmax(300px,420px)}
.resume-card{isolation:isolate;overflow:hidden}
.resume-card.has-art::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 0 42%;
  background-image:linear-gradient(90deg,var(--panel),transparent 62%),linear-gradient(0deg,rgba(43,43,42,.78),rgba(43,43,42,.1)),var(--resume-art);
  background-position:center;
  background-size:cover;
  opacity:.68;
  pointer-events:none;
}
.resume-card>*{position:relative;z-index:1}
.vod-poster-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:clamp(160px,15vw,214px);
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 13px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:var(--hair-strong) transparent;
}
.vod-poster-rail .shelf-poster{scroll-snap-align:start}
.poster-score{display:inline-flex;align-items:center;gap:4px}
.poster-score .icon{width:10px;height:10px;color:var(--warning)}
.rating-label{display:inline-flex;align-items:center;gap:4px}
.rating-label .icon{color:var(--warning)}
.catalog-state{
  min-height:40px;
  display:flex;
  align-items:center;
  gap:10px;
  margin:-6px 0 18px;
  color:var(--text-3);
  font-size:12px;
}
.catalog-state .signal-mark{width:16px}
.catalog-state.is-error{color:var(--error)}

.pair-direction{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  max-width:760px;
  margin:0 0 30px;
  padding:4px;
  border:1px solid var(--hair);
  border-radius:8px;
  background:rgba(43,43,42,.72);
}
.pair-direction button{
  min-height:64px;
  display:grid;
  align-content:center;
  gap:3px;
  padding:10px 14px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:var(--text-3);
  text-align:left;
}
.pair-direction button b{font-size:12px;color:var(--text-2)}
.pair-direction button span{font-size:10px}
.pair-direction button.is-active{
  border-color:rgba(138,29,29,.48);
  background:rgba(138,29,29,.16);
  color:var(--text-2);
}
.pair-direction button.is-active b{color:var(--text)}
.setup-title{font-size:56px;line-height:.96}
.setup-pair-layout{min-height:0;align-items:start;padding-top:34px}
.pair-code .field{margin-top:16px}
.pair-submit,.pair-secondary{width:100%;margin-top:14px}
.pair-secondary{margin-top:8px}
.pair-help{margin-top:12px;font-size:10px;line-height:1.5}
.pairing-source{
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 18px;
  margin:16px 0 4px;
  padding:14px 0;
  border-block:1px solid var(--hair);
}
.pairing-source span{color:var(--text-3);font:650 9px "JetBrains Mono",monospace}
.pairing-source b{grid-column:1;font-size:13px}
.pairing-source small{grid-column:2;grid-row:1/3;align-self:center;color:var(--text-3);font-size:10px}
.pairing-source-missing{margin:16px 0}
.generated-pair-code{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 16px;
  margin-top:18px;
  padding:18px;
  border:1px solid var(--hair-strong);
  border-radius:8px;
  background:var(--panel-2);
}
.generated-pair-code .overline{margin-bottom:6px}
.generated-pair-code b{font:700 36px "JetBrains Mono",monospace;font-variant-numeric:tabular-nums}
.generated-pair-code>p{grid-column:1;margin:0;color:var(--text-2);font:600 11px "JetBrains Mono",monospace}
.generated-pair-code>small{grid-column:1/-1;color:var(--text-3);font-size:10px;line-height:1.5}
.pair-code.has-created-code{display:flex;flex-direction:column}
.pair-code.has-created-code .generated-pair-code{order:-1}
.pair-error{margin:12px 0 0;color:var(--error);font-size:11px;line-height:1.5}
html[data-theme="light"] .pair-direction{background:rgba(33,31,30,.045)}

@media(max-width:760px){
  .vod-poster-rail{
    grid-auto-columns:min(44vw,176px);
    margin-inline:calc(var(--pad) * -1);
    padding-inline:var(--pad);
    scroll-padding-inline:var(--pad);
  }
  .vod-continue .rail{grid-auto-columns:min(82vw,340px)}
  .vod-shelf .section-heading{margin-bottom:16px}
  .vod-shelf .section-heading h2{font-size:22px}
  .guide-list-row.has-art::after{background-size:82% auto;opacity:.1}
  .pair-direction{margin-bottom:22px}
  .pair-direction button{min-height:72px;padding:9px}
  .pair-direction button b{font-size:10px;line-height:1.35}
  .pair-direction button span{font-size:9px}
  .setup-title{font-size:40px}
  .setup-pair-layout{padding-top:0}
  .setup-pair-layout>.pair-code{grid-row:1}
  .setup-pair-layout>div:first-child{grid-row:2}
  .pairing-source{grid-template-columns:1fr}
  .pairing-source small{grid-column:1;grid-row:auto}
  .generated-pair-code b{font-size:32px}
}

/* V23: Design-System V4 component geometry and interaction targets. */
:root{
  --radius-compact:10px;
  --radius-control:12px;
  --radius-card:14px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:1px solid var(--cta);
  outline-offset:3px;
  box-shadow:0 0 0 4px rgba(138,29,29,.26);
}

.button{border-radius:var(--radius-card)}
.button.danger{color:var(--error)}
.icon-button,
.context-control,
.account-control{border-radius:var(--radius-control)}
.icon-button{width:44px;height:44px}

.content-stage,
.content-card,
.module-card,
.home-tile,
.player-shell,
.channel-panel,
.poster,
.match-row,
.setup-choice,
.login-panel,
.modal,
.side-sheet,
.generated-pair-code{
  border-radius:var(--radius-card);
}

.toolbar,
.vod-controls{
  border-radius:var(--radius-card);
}
.search-field,
.select-field,
.segmented,
.filter-chip,
.manager-subnav a,
.field input,
.field select,
.field textarea,
.channel-logo,
.pair-direction{
  border-radius:var(--radius-control);
}
.segmented button,
.pair-direction button,
.module-card .module-icon,
.home-tile-icon,
.stage-chip,
.player-runtime-status,
.toast{
  border-radius:var(--radius-compact);
}
.badge,
.home-tile-status{border-radius:var(--radius-compact)}
.badge.live{color:var(--ink-red)}

.card-actions button,
.segmented button,
.filter-chip,
.player-controls button,
.row-actions button{
  min-width:44px;
  min-height:44px;
}
.guide-commandbar .button,
.vod-feature .button{min-height:44px}
.guide-commandbar .command-refresh{width:44px;flex-basis:44px}
.card-actions button{height:auto;border-radius:var(--radius-control)}
.player-controls button{width:44px;height:44px}
.state-panel .state-icon{
  width:72px;
  height:72px;
  border-radius:var(--radius-card);
}
.setup-choice .state-icon{width:56px;height:56px;border-radius:var(--radius-card)}
.modal[data-layout="wide"]{width:min(1040px,calc(100% - 28px))}
.stage-visual.has-image::before,
.stage-visual.has-image::after{display:none}
.vod-detail-stage{
  grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr)!important;
  min-height:0;
}
.vod-detail-stage .stage-visual{min-height:440px}
.vod-detail-stage .stage-copy{justify-content:flex-start;padding:32px}
.vod-detail-genre{margin:0;color:var(--text);font:650 10px "JetBrains Mono",monospace;text-transform:uppercase}
.vod-detail-summary{margin:16px 0 0;color:var(--text-2);font-size:14px;line-height:1.6}
.vod-detail-facts{margin-top:18px}
.vod-detail-facts .status-row{min-height:56px}
.vod-detail-actions{margin-top:22px}
.vod-detail-similar{padding:28px 0 4px}
.vod-detail-similar .section-heading{padding-inline:2px}
.vod-detail-similar .section-heading h2{font-size:24px}

@media(max-width:760px){
  .toolbar,
  .vod-controls{
    border-inline:0;
    border-radius:0;
  }
  .manager-subnav a{border-radius:0}
  .side-sheet{border-radius:var(--radius-card) var(--radius-card) 0 0}
  .player-controls button,
  .guide-row-actions .icon-button{width:44px;height:44px}
  .modal[data-layout="wide"]{width:auto}
  .vod-detail-stage{grid-template-columns:1fr!important}
  .vod-detail-stage .stage-visual{min-height:220px}
  .vod-detail-stage .stage-copy{padding:22px}
  .vod-detail-summary{font-size:13px}
}

/* V37: Live TV keeps the medium above the interface on every web viewport. */
.live-page>.page-head{
  min-height:0;
  align-items:center;
  padding:10px 0 18px;
}
.live-page>.page-head h1{
  font-size:34px;
  line-height:1;
}
.live-page>.page-head .lede{
  max-width:760px;
  margin-top:8px;
  font-size:13px;
  line-height:1.45;
}
.live-page>.page-head .overline{margin-bottom:8px}
.live-page>.live-toolbar{margin-block:12px 14px}
.live-page>.module-context{margin-bottom:10px}
.live-layout{
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
  align-items:stretch;
}
.player-shell,
.channel-panel{min-height:0}
.player-screen{aspect-ratio:16/9}
.channel-panel{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
}
.channel-list{
  min-height:0;
  max-height:none;
}
.player-controls{
  min-height:69px;
  background:rgba(37,37,36,.98);
}
.player-controls .timeline{
  position:relative;
  height:3px;
  border-radius:3px;
  overflow:visible;
}
.player-controls .timeline span{
  position:relative;
  border-radius:3px;
}
.player-controls .timeline span::after{
  content:"";
  position:absolute;
  top:50%;
  right:-3px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--cta);
  transform:translateY(-50%);
}
.player-controls button[aria-pressed="true"]{
  background:rgba(138,29,29,.18);
  color:var(--ink-red);
}

@media(min-width:761px) and (max-width:900px){
  .live-layout{grid-template-columns:1fr}
  .channel-panel{max-height:440px}
}

@media(max-width:760px){
  .live-page>.page-head{display:none}
  .live-page>.live-toolbar{margin-top:8px;margin-bottom:0}
  .live-page>.module-context{margin-bottom:8px}
  .live-page .player-screen{aspect-ratio:auto}
  .player-controls{min-height:0}
  .player-controls .player-tools{
    display:grid;
    grid-template-columns:minmax(112px,1fr) repeat(4,44px);
    gap:4px;
    overflow:visible;
  }
  .player-controls .volume-control{min-width:0}
}

@media(max-width:380px){
  .player-controls .player-tools{grid-template-columns:minmax(104px,1fr) repeat(4,44px);gap:2px}
}

/* V26: full ZapPilot programme depth in the restrained V4 product shell. */
.guide-content{padding-top:10px}
.guide-timeline-scroll{
  overflow-x:auto;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
  scrollbar-color:var(--hair-strong) transparent;
  overscroll-behavior-inline:contain;
}
.guide-timeline{min-width:1120px}
.guide-timeline-head,
.guide-timeline-row{
  display:grid;
  grid-template-columns:220px minmax(740px,1fr) 154px;
}
.guide-timeline-head{
  min-height:56px;
  align-items:center;
  border-bottom:1px solid var(--hair-strong);
  color:var(--text-3);
  font:650 9px "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.guide-timeline-head>div{padding:12px 16px}
.guide-timeline-head>div:nth-child(2){border-inline:1px solid var(--hair)}
.guide-timeline-head b,.guide-timeline-head small{display:block}
.guide-timeline-head b{color:var(--text);font-size:10px}
.guide-timeline-head small{margin-top:3px;color:var(--text-3);font-size:8px;text-transform:none}
.guide-timeline-row{min-height:112px;border-bottom:1px solid var(--hair)}
.guide-timeline-row:last-child{border-bottom:0}
.guide-timeline-row:hover{background:rgba(253,243,243,.018)}
.guide-timeline-row.is-current{box-shadow:inset 2px 0 0 var(--mark)}
.guide-timeline-channel,
.guide-timeline-actions{
  position:sticky;
  z-index:2;
  display:flex;
  align-items:center;
  background:var(--panel);
}
.guide-timeline-channel{left:0;padding:12px 16px}
.guide-timeline-actions{right:0;justify-content:flex-end;gap:5px;padding:12px;border-left:1px solid var(--hair)}
.guide-timeline-row:hover .guide-timeline-channel,
.guide-timeline-row:hover .guide-timeline-actions{background:#3b3a38}
.guide-programme-rail{
  min-width:0;
  display:flex;
  align-items:stretch;
  gap:7px;
  overflow:hidden;
  padding:12px;
  border-left:1px solid var(--hair);
}
.guide-programme{
  flex:0 0 var(--program-width,180px);
  min-height:86px;
  display:grid;
  align-content:center;
  gap:5px;
  padding:11px 13px;
  border:1px solid var(--hair);
  border-radius:var(--radius-control);
  background:rgba(253,243,243,.025);
  color:var(--text);
  text-align:left;
}
.guide-programme:hover{border-color:var(--hair-strong);background:rgba(253,243,243,.055)}
.guide-programme.is-current{border-color:rgba(138,29,29,.55);background:rgba(138,29,29,.16)}
.guide-programme.is-past{opacity:.52;filter:saturate(.7)}
.guide-programme-status{color:var(--text-3);font:700 7px "JetBrains Mono",monospace}
.guide-programme.is-current .guide-programme-status{color:var(--ink-red)}
.guide-programme b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.guide-programme small{color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.guide-programme-empty{align-self:center;min-width:260px;padding:14px;color:var(--text-3)}
.guide-programme-empty b,.guide-programme-empty small{display:block}
.guide-programme-empty b{font-size:12px}
.guide-programme-empty small{margin-top:4px;font-size:9px}
.guide-title-button{
  min-height:44px;
  display:flex;
  align-items:center;
  margin-top:2px;
  background:transparent;
  color:var(--text);
  text-align:left;
}
.guide-title-button:hover h3{color:var(--ink-red)}
.guide-title-button:disabled{cursor:default;opacity:1}
.guide-title-button h3{margin:0}
.guide-schedule-link{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:5px;
  background:transparent;
  color:var(--text-2);
  font-size:10px;
  font-weight:650;
}
.guide-schedule-link:hover{color:var(--text)}
.guide-schedule-link .icon{width:15px;height:15px;color:var(--ink-red)}
.guide-variant{min-height:44px;padding-inline:9px;border-radius:var(--radius-compact)}
span.guide-variant{display:inline-flex;align-items:center}
.guide-program-detail{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);overflow:hidden;border:1px solid var(--hair);border-radius:var(--radius-card);background:var(--panel-2)}
.guide-detail-summary{position:relative;isolation:isolate;min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;padding:26px;border-right:1px solid var(--hair);overflow:hidden}
.guide-program-detail.has-art .guide-detail-summary::before{content:"";position:absolute;z-index:-2;inset:0;background-image:var(--guide-detail-art);background-position:center;background-size:cover;opacity:.48;filter:saturate(.72)}
.guide-program-detail.has-art .guide-detail-summary::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(43,43,42,.08),rgba(43,43,42,.95) 78%)}
.guide-detail-channel{display:flex;align-items:center;gap:11px}
.guide-detail-channel b,.guide-detail-channel small{display:block}
.guide-detail-channel b{font-size:13px}
.guide-detail-channel small{margin-top:3px;color:var(--text-3);font-size:9px}
.guide-detail-summary>.badge{align-self:flex-start;margin-top:22px}
.guide-detail-time{margin:12px 0 0;color:var(--text);font:650 11px "JetBrains Mono",monospace}
.guide-detail-relative{margin:5px 0 12px;color:var(--text-2);font-size:10px}
.guide-detail-copy{display:flex;flex-direction:column;justify-content:center;padding:30px}
.guide-detail-copy>p{margin:0;color:var(--text-2);font-size:13px;line-height:1.65}
.guide-detail-copy>.guide-detail-subtitle{margin-bottom:8px;color:var(--text);font-size:15px;font-weight:650}
.guide-detail-meta{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}
.guide-detail-meta span{padding:7px 9px;border:1px solid var(--hair);border-radius:var(--radius-compact);color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.guide-schedule-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--hair)}
.guide-schedule-list{border-top:1px solid var(--hair)}
.guide-schedule-item{width:100%;min-height:72px;display:grid;grid-template-columns:126px minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 4px;border-bottom:1px solid var(--hair);background:transparent;color:var(--text);text-align:left}
.guide-schedule-item:hover{background:rgba(253,243,243,.04)}
.guide-schedule-item.is-current{box-shadow:inset 2px 0 0 var(--mark)}
.guide-schedule-item.is-past{opacity:.54}
.guide-schedule-time{color:var(--text-3);font:650 9px "JetBrains Mono",monospace}
.guide-schedule-item b,.guide-schedule-item small{display:block}
.guide-schedule-item b{font-size:13px}
.guide-schedule-item small{margin-top:4px;color:var(--text-3);font-size:9px}

@media(max-width:760px){
  .guide-content{padding-top:2px}
  .guide-timeline-scroll{margin-inline:calc(var(--pad) * -1);border-inline:0;border-radius:0}
  .guide-timeline{min-width:980px}
  .guide-timeline-head,.guide-timeline-row{grid-template-columns:190px minmax(650px,1fr) 140px}
  .guide-list-row .action-row{align-self:end}
  .guide-program-detail{grid-template-columns:1fr}
  .guide-detail-summary{min-height:220px;padding:20px;border-right:0;border-bottom:1px solid var(--hair)}
  .guide-detail-copy{padding:22px}
  .guide-detail-copy>p{font-size:12px}
  .guide-schedule-head{align-items:flex-start;flex-direction:column}
  .guide-schedule-head .action-row{width:100%}
  .guide-schedule-item{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:13px 2px}
  .guide-schedule-time{grid-column:1/-1}
}

/* V27: settings continuity and production password feedback. */
.settings-index a{position:relative;transition:color .16s ease,background-color .16s ease}
@media(min-width:761px){
  .settings-index a.is-active::before{
    content:"";
    position:absolute;
    left:-1px;
    top:7px;
    bottom:7px;
    width:2px;
  }
}
.password-form{display:grid;gap:16px}
.password-form>.button{justify-self:start;margin-top:2px}
.password-strength{display:grid;gap:8px;margin-top:-4px}
.password-strength-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.password-strength-head>span{color:var(--text-3);font:650 9px "JetBrains Mono",monospace}
.password-strength-head>b{color:var(--text-3);font-size:11px;font-weight:650}
.password-strength-track{height:4px;overflow:hidden;background:var(--hair)}
.password-strength-track>span{display:block;width:0;height:100%;background:var(--text-3);transition:width .2s ease,background-color .2s ease}
.password-strength p{margin:0;color:var(--text-3);font-size:10px;line-height:1.5}
.password-strength[data-level="weak"] .password-strength-head>b{color:var(--error)}
.password-strength[data-level="weak"] .password-strength-track>span{background:var(--error)}
.password-strength[data-level="basic"] .password-strength-head>b{color:var(--warning)}
.password-strength[data-level="basic"] .password-strength-track>span{background:var(--warning)}
.password-strength[data-level="good"] .password-strength-head>b,
.password-strength[data-level="strong"] .password-strength-head>b{color:var(--success)}
.password-strength[data-level="good"] .password-strength-track>span,
.password-strength[data-level="strong"] .password-strength-track>span{background:var(--success)}

.handoff-intent{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  margin:-2px 0 12px;
  padding:2px 0 18px;
  border-bottom:1px solid var(--hair);
}
.handoff-intent>.icon{width:24px;height:24px;margin-top:1px;color:var(--ink-red)}
.handoff-intent .overline{margin-bottom:5px}
.handoff-intent b,.handoff-intent small{display:block}
.handoff-intent b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.handoff-intent small{margin-top:5px;color:var(--text-3);font-size:11px;line-height:1.45}

/* V30: task-first Manager hub based on the original Pass #200 hierarchy. */
.manager-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.manager-command{
  min-width:0;
  min-height:138px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:start;
  gap:14px;
  padding:20px;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
  color:var(--text);
  text-align:left;
}
.manager-command:hover{border-color:var(--hair-strong);background:var(--panel-2)}
.manager-command-icon,.manager-work-icon{display:grid;place-items:center;border:1px solid var(--hair);border-radius:var(--radius-control);background:rgba(253,243,243,.035)}
.manager-command-icon{width:46px;height:46px}
.manager-command-copy{min-width:0}
.manager-command-copy .overline{margin:1px 0 10px;font-size:8px}
.manager-command-copy b,.manager-command-copy small{display:block}
.manager-command-copy b{font-size:18px}
.manager-command-copy small{margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-3);font-size:11px}
.manager-command-tail{min-width:0;display:grid;justify-items:end;gap:24px}
.manager-command-tail .badge{max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.manager-command-tail>.icon{width:16px;height:16px;color:var(--text-3)}
.manager-work-list{border-block:1px solid var(--hair)}
.manager-work-row{width:100%;min-height:78px;display:grid;grid-template-columns:44px minmax(0,1fr) auto 18px;align-items:center;gap:14px;padding:12px 2px;border-bottom:1px solid var(--hair);background:transparent;color:var(--text);text-align:left}
.manager-work-row:last-child{border-bottom:0}
.manager-work-row:hover{background:rgba(253,243,243,.035)}
.manager-work-icon{width:44px;height:44px}
.manager-work-row b,.manager-work-row small{display:block}
.manager-work-row b{font-size:14px}
.manager-work-row small{margin-top:4px;color:var(--text-3);font-size:11px;line-height:1.4}
.manager-work-meta{color:var(--text-3);font:650 9px "JetBrains Mono",monospace;white-space:nowrap}
.manager-work-row>.icon{width:16px;height:16px;color:var(--text-3)}

@media(max-width:900px){.manager-task-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  .manager-priority-section{padding-top:20px}
  .manager-task-grid{gap:0;border-block:1px solid var(--hair)}
  .manager-command{min-height:86px;padding:14px 0;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:transparent}
  .manager-command:last-child{border-bottom:0}
  .manager-command-copy .overline{display:none}
  .manager-command-copy b{font-size:15px}
  .manager-command-copy small{margin-top:4px;font-size:10px}
  .manager-command-tail{align-self:center;gap:8px}
  .manager-command-tail .badge{max-width:104px}
  .manager-work-row{grid-template-columns:44px minmax(0,1fr) 16px}
  .manager-work-meta{grid-column:2;grid-row:2;margin-top:-9px;white-space:normal}
  .manager-work-row>.icon{grid-column:3;grid-row:1/3}
}

@media(max-width:760px){
  .password-form>.button{width:100%}
  .password-strength-head{align-items:flex-start;flex-direction:column;gap:3px}
}

/* V31: real local-recorder console and directory-backed file library. */
.recorder-console{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  overflow:hidden;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
}
.recorder-console.is-recording{box-shadow:inset 3px 0 0 var(--cta)}
.recorder-console-main{padding:28px}
.recorder-console-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin-bottom:26px;
  border:1px solid var(--hair-strong);
  border-radius:var(--radius-control);
  background:rgba(253,243,243,.035);
  color:var(--ink-red);
}
.recorder-console-icon .icon{width:25px;height:25px}
.recorder-console .overline{margin-bottom:8px}
.recorder-console-main h2{margin:0;font-size:32px}
.recorder-console-main>p:not(.overline){max-width:680px;margin:10px 0 24px;color:var(--text-2);font-size:13px;line-height:1.55}
.recorder-facts{margin:0;border-left:1px solid var(--hair)}
.recorder-facts>div{min-height:104px;display:flex;flex-direction:column;justify-content:center;padding:18px 22px;border-bottom:1px solid var(--hair)}
.recorder-facts>div:last-child{border-bottom:0}
.recorder-facts dt{color:var(--text-3);font:650 8px "JetBrains Mono",monospace;text-transform:uppercase}
.recorder-facts dd{margin:8px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:14px;font-weight:650}
.recording-library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.recording-library-head>.icon-button{margin-bottom:22px}
.recording-file-list{border-block:1px solid var(--hair)}
.recording-file-row{min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid var(--hair)}
.recording-file-row:last-child{border-bottom:0}
.recording-file-open{min-width:0;min-height:64px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;padding:0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.recording-file-open:focus-visible{outline:2px solid var(--cta);outline-offset:4px;border-radius:var(--radius-control)}
.recording-file-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--hair);border-radius:var(--radius-control);background:rgba(253,243,243,.035);color:var(--text-2)}
.recording-file-icon .icon{width:20px;height:20px}
.recording-file-copy,.recording-file-copy b,.recording-file-copy small,.recording-file-eyebrow{display:block;min-width:0}
.recording-file-eyebrow{margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-3);font:650 8px "JetBrains Mono",monospace;text-transform:uppercase}
.recording-file-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.25}
.recording-file-copy small{margin-top:6px;color:var(--text-3);font-size:10px}
.recording-file-actions{display:flex;align-items:center;gap:6px}
.recording-file-actions .icon-button{width:44px;height:44px}
.recording-file-actions .recording-delete{color:var(--text-3)}
.recording-file-actions .recording-delete:hover,.recording-file-actions .recording-delete:focus-visible{color:var(--error)}
.recording-library-state{min-height:150px;display:flex;align-items:center;justify-content:center;gap:12px;border-block:1px solid var(--hair);color:var(--text-3);font-size:12px;text-align:center}
.recording-library-state>.icon{width:20px;height:20px;color:var(--ink-red)}
.recording-library-state.is-error{color:var(--error)}
.local-recording-player{width:100%;aspect-ratio:16/9;display:block;border:1px solid var(--hair);border-radius:var(--radius-card);background:#171716}
.local-recording-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.local-recording-meta span{padding:7px 9px;border:1px solid var(--hair);border-radius:var(--radius-compact);color:var(--text-3);font:600 8px "JetBrains Mono",monospace}
.local-recording-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--hair)}

@media(max-width:760px){
  .recorder-dashboard{padding-top:4px}
  .recorder-console{grid-template-columns:1fr;border-inline:0;border-radius:0;margin-inline:calc(var(--pad) * -1)}
  .recorder-console-main{padding:24px var(--pad)}
  .recorder-console-icon{width:46px;height:46px;margin-bottom:22px}
  .recorder-console-main h2{font-size:28px}
  .recorder-console-main>.action-row{display:grid;grid-template-columns:1fr}
  .recorder-console-main>.action-row .button{width:100%}
  .recorder-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--hair);border-left:0}
  .recorder-facts>div{min-height:88px;padding:14px 12px;border-right:1px solid var(--hair);border-bottom:0}
  .recorder-facts>div:last-child{border-right:0}
  .recorder-facts dd{font-size:11px}
  .recording-library-head{align-items:center}
  .recording-library-head>.icon-button{margin-bottom:12px}
  .recording-file-row{min-height:84px;gap:8px}
  .recording-file-open{grid-template-columns:42px minmax(0,1fr);gap:12px}
  .recording-file-icon{width:42px;height:42px}
  .recording-file-copy b{font-size:13px}
  .recording-file-copy small{white-space:nowrap;font-size:9px}
  .recording-file-actions{gap:4px}
  .recording-file-actions .recording-play{display:none}
  .recording-file-actions .icon-button{width:44px;height:44px}
  .local-recording-actions .button{width:100%}
}

/* V32: score-first football cards, real source variants and match depth. */
.football-match-section{padding-top:34px}
.football-match-section+.football-match-section{margin-top:8px;border-top:1px solid var(--hair)}
.football-match-section>.section-heading{margin-bottom:16px}
.football-match-section>.section-heading h2{font-size:30px}
.football-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.football-overview-grid .football-match-section{min-width:0;margin-top:0;border-top:0}
.football-overview-grid .football-match-section.is-today{grid-column:1/-1;margin-top:8px;border-top:1px solid var(--hair)}
.football-world .football-overview-grid .match-list{grid-template-columns:1fr}
.football-world .football-overview-grid .football-match-section.is-today .match-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.football-world .match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.football-world .match-row{
  min-width:0;
  min-height:0;
  display:block;
  overflow:hidden;
  padding:0;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
}
.football-world .match-row.live-match{border-left:3px solid var(--mark)}
.football-match-meta{
  min-height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 14px;
  border-bottom:1px solid var(--hair);
  color:var(--text-3);
  font:650 9px "JetBrains Mono",monospace;
  text-transform:uppercase;
}
.football-match-meta>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.football-match-status{flex:0 0 auto;color:var(--text-2)}
.football-match-status.is-live{color:var(--mark);font-weight:800}
.football-source-count{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--football-soft)}
.football-source-count .icon{width:13px;height:13px}
.football-scoreboard,.football-detail-scoreboard{
  min-height:104px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:15px;
  padding:18px 16px;
}
.football-team{min-width:0;display:flex;align-items:center;gap:10px}
.football-team.is-away{justify-content:flex-end;text-align:right}
.football-team b{min-width:0;font-size:14px;line-height:1.25}
.football-team-mark{
  position:relative;
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--hair-strong);
  border-radius:7px;
  background:rgba(253,243,243,.045);
  color:var(--text-3);
  font:750 9px "JetBrains Mono",monospace;
}
.football-team-mark img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain}
.football-team-mark.has-crest>span{visibility:hidden}
.football-score{display:flex;align-items:baseline;justify-content:center;gap:7px;color:var(--text);font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}
.football-score i{color:var(--text-3);font-size:16px;font-style:normal;font-weight:500}
.live-match .football-score{font-size:34px}
.football-match-footer{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:5px 7px 5px 14px;
  border-top:1px solid var(--hair);
}
.football-match-footer>span{color:var(--text-3);font-size:9px}
.football-match-action{min-height:44px;padding-inline:11px;border-color:transparent;color:var(--text-2)}
.football-match-action:hover{border-color:var(--hair);background:rgba(253,243,243,.05)}
.football-match-action .icon{width:14px;height:14px}

.football-match-detail{display:grid;gap:0}
.football-detail-hero{border:1px solid var(--hair);border-radius:var(--radius-card);background:var(--panel)}
.football-detail-hero.is-live{box-shadow:inset 3px 0 0 var(--mark)}
.football-detail-meta{min-height:42px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 14px;border-bottom:1px solid var(--hair);color:var(--text-3);font:650 9px "JetBrains Mono",monospace;text-transform:uppercase}
.football-detail-meta span+span::before{content:"·";margin-right:9px;color:var(--text-3)}
.football-detail-meta .is-live{color:var(--mark);font-weight:800}
.football-detail-scoreboard{min-height:150px;padding:24px}
.football-detail-scoreboard .football-team{gap:14px}
.football-detail-scoreboard .football-team b{font-size:18px}
.football-detail-scoreboard .football-team-mark{width:54px;height:54px;flex-basis:54px}
.football-detail-scoreboard .football-score{font-size:44px}
.football-detail-scoreboard .football-score i{font-size:22px}
.football-detail-section{padding-top:30px}
.football-detail-section>.section-heading{margin-bottom:14px}
.football-detail-section>.section-heading h2{font-size:25px}
.football-source-list{border-block:1px solid var(--hair)}
.football-source-row{min-height:74px;display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid var(--hair)}
.football-source-row:last-child{border-bottom:0}
.football-source-row.is-primary{box-shadow:inset 2px 0 0 var(--football-soft)}
.football-quality{min-width:48px;padding:7px 6px;border:1px solid rgba(253,243,243,.35);border-radius:5px;color:var(--football-soft);font-size:9px;text-align:center}
.football-source-row b,.football-source-row small{display:block}
.football-source-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.football-source-row small{margin-top:4px;color:var(--text-3);font-size:9px}
.football-events-list{margin:0;padding:0;border-block:1px solid var(--hair);list-style:none}
.football-event-row{min-height:58px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid var(--hair)}
.football-event-row:last-child{border-bottom:0}
.football-event-minute{color:var(--football-soft);font-size:11px}
.football-event-row b,.football-event-row small{display:block}
.football-event-row b{font-size:12px}
.football-event-row small{margin-top:3px;color:var(--text-3);font-size:9px}
.football-stat-list{margin:0;border-block:1px solid var(--hair)}
.football-stat-list>div{min-height:46px;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:12px;border-bottom:1px solid var(--hair);text-align:center}
.football-stat-list>div:last-child{border-bottom:0}
.football-stat-list dt{color:var(--text-3);font-size:10px}
.football-stat-list dd{margin:0;font-size:12px;font-weight:750}

@media(max-width:980px){
  .football-world .match-list{grid-template-columns:1fr}
}

@media(max-width:760px){
  .football-overview-grid{grid-template-columns:1fr}
  .football-overview-grid .football-match-section.is-today{grid-column:auto}
  .football-overview-grid .football-match-section+.football-match-section{margin-top:2px;border-top:1px solid var(--hair)}
  .football-world .football-overview-grid .football-match-section.is-today .match-list{grid-template-columns:1fr}
  .football-match-section{padding-top:26px}
  .football-match-section+.football-match-section{margin-top:2px}
  .football-match-section>.section-heading h2{font-size:26px}
  .football-match-meta{padding-inline:12px}
  .football-scoreboard{min-height:118px;gap:8px;padding:16px 10px}
  .football-team{flex-direction:column;gap:7px;text-align:center}
  .football-team.is-away{justify-content:center;text-align:center}
  .football-team.is-away .football-team-mark{order:-1}
  .football-team b{width:100%;display:-webkit-box;overflow:hidden;font-size:12px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .football-team-mark{width:36px;height:36px;flex-basis:36px}
  .football-score{gap:5px;font-size:26px}
  .live-match .football-score{font-size:29px}
  .football-match-footer{padding-left:12px}
  .football-match-action{min-height:44px}
  .football-detail-meta{justify-content:flex-start;overflow-x:auto;white-space:nowrap}
  .football-detail-scoreboard{min-height:132px;padding:20px 10px}
  .football-detail-scoreboard .football-team{gap:8px}
  .football-detail-scoreboard .football-team b{font-size:13px}
  .football-detail-scoreboard .football-team-mark{width:42px;height:42px;flex-basis:42px}
  .football-detail-scoreboard .football-score{font-size:33px}
  .football-source-row{grid-template-columns:48px minmax(0,1fr) auto;padding-block:12px}
  .football-source-row>.badge{display:none}
  .football-source-row>.action-row{grid-column:2/4;justify-content:flex-start}
  .football-source-row>.action-row .button{flex:1}
  .football-quality{min-width:44px}
}

/* V48: the original WM 2026 contract, rebuilt as a calm live-data workspace. */
.football-worldcup-view{padding-top:24px}
.football-worldcup-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  padding:34px;
  border:1px solid var(--hair-strong);
  border-radius:var(--radius-card);
  background:var(--panel);
}
.football-worldcup-copy{min-width:0}
.football-worldcup-copy .overline{margin:0 0 12px;color:var(--football-soft)}
.football-worldcup-copy h2{max-width:900px;margin:0;font-size:clamp(32px,4vw,56px);line-height:1.02;letter-spacing:0}
.football-worldcup-copy>p:last-child{margin:16px 0 0;color:var(--text-2);font-size:12px;line-height:1.6}
.football-worldcup-status{align-self:start;min-width:178px;padding:13px 15px;border:1px solid var(--hair);border-radius:6px;background:rgba(253,243,243,.035)}
.football-worldcup-status span,.football-worldcup-status small{display:block}
.football-worldcup-status span{font:750 10px "JetBrains Mono",monospace}
.football-worldcup-status small{margin-top:5px;color:var(--text-3);font-size:9px}
.football-worldcup-status.is-live{border-color:rgba(253,243,243,.42);box-shadow:inset 2px 0 0 var(--football-soft)}
.football-worldcup-status.is-live span{color:var(--football-soft)}
.football-worldcup-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:2px 0 0;border-top:1px solid var(--hair)}
.football-worldcup-facts>div{min-width:0;padding:20px 18px 0 0}
.football-worldcup-facts>div+div{padding-left:18px;border-left:1px solid var(--hair)}
.football-worldcup-facts dt{font:700 26px "JetBrains Mono",monospace}
.football-worldcup-facts dd{margin:6px 0 0;color:var(--text-3);font-size:9px;text-transform:uppercase}
.football-worldcup-germany{padding-top:38px}
.football-worldcup-schedule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.football-worldcup-match{min-width:0;border:1px solid var(--hair);border-radius:var(--radius-card);background:var(--panel)}
.football-worldcup-match.is-next{box-shadow:inset 2px 0 0 var(--football-soft)}
.football-worldcup-match>header{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid var(--hair);color:var(--text-3);font:650 9px "JetBrains Mono",monospace}
.football-worldcup-match>header b{color:var(--football-soft);font-size:8px}
.football-worldcup-versus{min-height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:18px 14px}
.football-worldcup-versus>strong{color:var(--text-3);font:650 9px "JetBrains Mono",monospace}
.football-worldcup-team{min-width:0;display:flex;align-items:center;gap:9px}
.football-worldcup-team.is-away{justify-content:flex-end;text-align:right}
.football-worldcup-team i{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid var(--hair-strong);border-radius:6px;color:var(--text-2);font:750 9px "JetBrains Mono",monospace;font-style:normal}
.football-worldcup-team b{min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.3}
.football-worldcup-match>footer{min-height:58px;display:grid;align-content:center;gap:5px;padding:10px 12px;border-top:1px solid var(--hair);color:var(--text-3);font-size:9px;line-height:1.4}
.football-worldcup-groups{margin-top:44px;border-block:1px solid var(--hair)}
.football-worldcup-groups>summary{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 2px;cursor:pointer;list-style:none}
.football-worldcup-groups>summary::-webkit-details-marker{display:none}
.football-worldcup-groups>summary>span:first-child small,.football-worldcup-groups>summary>span:first-child b{display:block}
.football-worldcup-groups>summary>span:first-child small{margin-bottom:6px;color:var(--text-3);font-size:8px}
.football-worldcup-groups>summary>span:first-child b{font-size:22px}
.football-worldcup-groups>summary>span:last-child{display:flex;align-items:center;gap:8px;color:var(--text-3);font-size:10px}
.football-worldcup-groups>summary .icon{width:16px;height:16px;transition:rotate .2s ease}
.football-worldcup-groups[open]>summary .icon{rotate:180deg}
.football-worldcup-group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:4px 0 34px}
.football-worldcup-group{min-width:0;border:1px solid var(--hair);border-radius:var(--radius-card);background:var(--panel)}
.football-worldcup-group.is-priority{box-shadow:inset 2px 0 0 var(--football-soft)}
.football-worldcup-group>header{min-height:42px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--hair)}
.football-worldcup-group>header span{color:var(--text-3);font-size:8px}
.football-worldcup-group>header b{font:750 13px "JetBrains Mono",monospace}
.football-worldcup-group ol{margin:0;padding:0;list-style:none}
.football-worldcup-group li{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-bottom:1px solid var(--hair);font-size:10px}
.football-worldcup-group li:last-child{border-bottom:0}
.football-worldcup-group li.is-priority{color:var(--text);font-weight:750}
.football-worldcup-group li small{color:var(--text-3);font-size:7px}
.football-worldcup-state{padding-top:26px}

@media(max-width:980px){
  .football-worldcup-schedule{grid-template-columns:1fr}
  .football-worldcup-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  .football-worldcup-view{padding-top:14px}
  .football-worldcup-intro{grid-template-columns:1fr;gap:22px;margin-inline:calc(var(--pad) * -1);padding:26px var(--pad);border-inline:0;border-radius:0}
  .football-worldcup-copy h2{font-size:30px;line-height:1.06}
  .football-worldcup-copy>p:last-child{font-size:11px}
  .football-worldcup-status{min-width:0;width:100%}
  .football-worldcup-facts>div{padding:16px 9px 0 0}
  .football-worldcup-facts>div+div{padding-left:9px}
  .football-worldcup-facts dt{font-size:21px}
  .football-worldcup-facts dd{font-size:8px}
  .football-worldcup-germany{padding-top:30px}
  .football-worldcup-versus{min-height:112px;padding-inline:10px}
  .football-worldcup-team{flex-direction:column;text-align:center}
  .football-worldcup-team.is-away{flex-direction:column-reverse;text-align:center}
  .football-worldcup-team b{font-size:11px}
  .football-worldcup-group-grid{grid-template-columns:1fr}
  .football-worldcup-groups>summary{min-height:72px}
  .football-worldcup-groups>summary>span:first-child b{font-size:20px}
}

/* V34: task-first TV setup with one calm, unmistakable primary path. */
.setup-entry .page-head,
.setup-success .page-head{padding-bottom:18px}
.setup-entry-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:12px;
  margin-top:18px;
}
.setup-primary-path{
  min-height:300px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:28px;
  padding:28px;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
  box-shadow:inset 3px 0 0 var(--cta);
  color:var(--text);
  text-align:left;
}
.setup-primary-path:hover,
.setup-primary-path:focus-visible,
.setup-platform-path:hover,
.setup-platform-path:focus-visible{border-color:var(--hair-strong);background:var(--panel-2)}
.setup-path-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid var(--hair);
  border-radius:var(--radius-control);
  background:rgba(253,243,243,.035);
  color:var(--text-2);
}
.setup-path-icon .icon{width:23px;height:23px}
.setup-path-copy{align-self:end}
.setup-path-copy h2,
.setup-platform-path h2{margin:7px 0 0;font-size:34px;line-height:1.04}
.setup-path-copy p{max-width:48ch;margin:10px 0 0;color:var(--text-2);font-size:13px;line-height:1.55}
.setup-path-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:15px;
  border-top:1px solid var(--hair);
  color:var(--text-2);
  font-size:11px;
  font-weight:700;
}
.setup-path-action .icon{width:17px;height:17px}
.setup-support-list{border-block:1px solid var(--hair)}
.setup-support-path{
  width:100%;
  min-height:150px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:18px 4px;
  border-bottom:1px solid var(--hair);
  background:transparent;
  color:var(--text);
  text-align:left;
}
.setup-support-path:last-child{border-bottom:0}
.setup-support-path:hover{background:rgba(253,243,243,.035)}
.setup-support-path>b,
.setup-support-path span b,
.setup-support-path span small{display:block}
.setup-support-path span b{font-size:14px}
.setup-support-path span small{margin-top:5px;color:var(--text-3);font-size:10px;line-height:1.4}
.setup-support-path>.icon:last-child{width:17px;height:17px;color:var(--text-3)}
.setup-entry-note{
  min-height:58px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;
  margin-top:12px;
  border-block:1px solid var(--hair);
}
.setup-entry-note span{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--text-3);
  font:650 9px "JetBrains Mono",monospace;
  text-align:center;
  text-transform:uppercase;
}
.setup-entry-note span+span{border-left:1px solid var(--hair)}
.setup-entry-note .icon{width:15px;height:15px;flex:0 0 auto}
.setup-platform-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:4px;
}
.setup-platform-path{
  min-height:226px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:20px;
  padding:24px;
  border:1px solid var(--hair);
  border-radius:var(--radius-card);
  background:var(--panel);
  color:var(--text);
  text-align:left;
}
.setup-platform-path>span:nth-child(2){align-self:end}
.setup-platform-path p{margin:0}
.setup-platform-path h2{font-size:27px}
.setup-platform-path small{display:block;margin-top:7px;color:var(--text-3);font-size:10px;line-height:1.4}
.setup-device-help{
  width:100%;
  min-height:72px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-top:12px;
  padding:12px 4px;
  border-block:1px solid var(--hair);
  background:transparent;
  color:var(--text);
  text-align:left;
}
.setup-device-help>.icon:first-child{width:22px;height:22px;color:var(--text-2)}
.setup-device-help>.icon:last-child{width:17px;height:17px;color:var(--text-3)}
.setup-device-help b,
.setup-device-help small{display:block}
.setup-device-help b{font-size:12px}
.setup-device-help small{margin-top:4px;color:var(--text-3);font-size:9px}
.setup-pair-stage .page-head{padding-bottom:14px}
.setup-pair-stage .pair-direction{margin-bottom:14px}
.setup-pair-progress .setup-progress{margin:0 0 22px}
.setup-pair-layout{padding-top:0}

@media(max-width:760px){
  .setup-entry .page-head,
  .setup-success .page-head{padding-bottom:10px}
  .setup-entry .page-head h1,
  .setup-success .page-head h1{max-width:11ch;font-size:32px;line-height:1.02}
  .setup-entry-grid{grid-template-columns:1fr;gap:10px;margin-top:8px}
  .setup-primary-path{min-height:194px;gap:13px;padding:18px 18px 16px}
  .setup-path-icon{width:42px;height:42px}
  .setup-path-icon .icon{width:19px;height:19px}
  .setup-path-copy h2{margin-top:5px;font-size:27px}
  .setup-path-copy p{margin-top:6px;font-size:11px;line-height:1.45}
  .setup-path-action{padding-top:11px}
  .setup-support-path{min-height:76px;gap:12px;padding:10px 2px}
  .setup-support-path span b{font-size:12px}
  .setup-support-path span small{margin-top:3px;font-size:9px}
  .setup-entry-note{min-height:50px;margin-top:10px}
  .setup-entry-note span{gap:5px;padding-inline:4px;font-size:6px;line-height:1.35}
  .setup-entry-note .icon{width:13px;height:13px}
  .setup-platform-stage .page-head{padding-bottom:12px}
  .setup-platform-grid{grid-template-columns:1fr;gap:8px}
  .setup-platform-path{min-height:126px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;align-items:center;gap:13px;padding:16px}
  .setup-platform-path>span:nth-child(2){align-self:center}
  .setup-platform-path .setup-path-action{padding:0;border:0;font-size:0}
  .setup-platform-path h2{margin-top:4px;font-size:20px}
  .setup-platform-path small{margin-top:4px;font-size:9px}
  .setup-device-help{min-height:68px;margin-top:8px}
  .setup-pair-stage .page-head{padding-bottom:10px}
  .setup-pair-stage .page-head h1{font-size:30px}
  .setup-pair-stage .page-head .lede{font-size:11px}
  .setup-pair-stage .pair-direction{margin-bottom:12px}
  .setup-pair-progress .setup-progress{margin:0 0 14px}
  .setup-pair-layout>.pair-code{padding-top:18px}
  .setup-pair-layout>div:first-child{padding-bottom:16px}
}

@media(max-width:380px){
  .setup-primary-path{min-height:184px}
  .setup-entry-note span{font-size:5.5px}
}

/* V35: mobile-first ZapPilot signal view; full desktop timeline remains unchanged. */
.guide-results-strip{display:none}
.guide-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-list-time{color:var(--text-3);font:650 9px "JetBrains Mono",monospace;white-space:nowrap}
.guide-list-tools{display:flex;align-items:center;gap:8px}
.guide-list-tools .guide-schedule-link{margin-top:6px}

@media(min-width:761px){
  .guide-page .guide-list-row{min-height:150px;padding:12px 16px}
  .guide-page .guide-list-copy{
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:3px 18px;
  }
  .guide-page .guide-list-heading{grid-column:1/-1}
  .guide-page .guide-title-button,
  .guide-page .guide-list-row p,
  .guide-page .guide-list-copy>.program-progress,
  .guide-page .guide-next{grid-column:1}
  .guide-page .guide-title-button{margin:0}
  .guide-page .guide-list-row p{margin-top:0}
  .guide-page .guide-list-tools{grid-column:2;grid-row:2/6;align-self:center}
  .guide-page .guide-list-tools .guide-variant,
  .guide-page .guide-list-tools .guide-schedule-link{margin:0}
  .guide-page .guide-list-row.has-art::after{background-size:30% auto;opacity:.045}
}

@media(max-width:760px){
  .guide-page>.page-head{display:none}
  .guide-page>.guide-toolbar{
    position:relative;
    top:auto;
    margin:0 calc(var(--pad) * -1);
    padding:8px var(--pad);
  }
  .guide-page>.guide-toolbar .search-field{height:44px}
  .guide-page>.guide-toolbar .segmented{min-width:0}
  .guide-page>.guide-toolbar .segmented button{min-width:0;flex:1;padding-inline:8px}
  .guide-page>.guide-commandbar{
    min-height:44px;
    margin:8px 0 0;
    padding:0;
    overflow:hidden;
  }
  .guide-page>.guide-commandbar .button{min-width:0;min-height:44px}
  .guide-page>.guide-filterbar{
    gap:6px;
    margin:8px calc(var(--pad) * -1) 0;
    padding:0 var(--pad) 10px;
    border-bottom:1px solid var(--hair);
  }
  .guide-page>.guide-filterbar .filter-chip{min-height:44px}
  .guide-results-strip{
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid var(--hair);
    color:var(--text-3);
    font:650 8px "JetBrains Mono",monospace;
  }
  .guide-results-strip b{color:var(--text-2);font:inherit}
  .guide-page>.guide-content{padding-top:0}
  .guide-page .guide-list{border-top:0}
  .guide-page .guide-list-row{
    min-height:0;
    grid-template-columns:46px minmax(0,1fr);
    align-items:start;
    gap:12px;
    padding:15px 0;
  }
  .guide-page .guide-list-row>.channel-logo{margin-top:4px}
  .guide-page .guide-list-copy{min-width:0;display:grid;gap:6px}
  .guide-page .guide-list-heading{min-height:22px}
  .guide-page .guide-list-time{max-width:138px;overflow:hidden;text-overflow:ellipsis}
  .guide-page .guide-title-button{min-height:44px;margin:0}
  .guide-page .guide-list-row h3{font-size:18px;line-height:1.15}
  .guide-page .guide-list-row p{gap:5px 10px;margin:0;font-size:10px}
  .guide-page .guide-list-copy>.program-progress{width:100%;max-width:none;margin:2px 0 0}
  .guide-page .guide-next{margin-top:1px;line-height:1.45}
  .guide-page .guide-list-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-top:1px solid var(--hair)}
  .guide-page .guide-list-tools .guide-variant,
  .guide-page .guide-list-tools .guide-schedule-link{min-width:0;min-height:44px;margin:0}
  .guide-page .guide-list-tools .guide-schedule-link{justify-self:end}
  .guide-page .guide-list-row>.action-row{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px;
    grid-column:2;
    gap:8px;
    align-self:auto;
    justify-content:stretch;
  }
  .guide-page .guide-list-row .guide-watch{width:100%;min-width:0}
  .guide-page .guide-list-row.has-art::after{background-position:right 58%;background-size:52% auto;opacity:.075}
  .guide-page .guide-timeline-scroll{overflow:visible;margin-inline:0;border:0;border-radius:0;background:transparent}
  .guide-page .guide-timeline{min-width:0}
  .guide-page .guide-timeline-head{min-height:42px;display:block;border-bottom:1px solid var(--hair)}
  .guide-page .guide-timeline-head>div:first-child,
  .guide-page .guide-timeline-head>div:last-child{display:none}
  .guide-page .guide-timeline-head>div:nth-child(2){padding:8px 0;border:0}
  .guide-page .guide-timeline-row{
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    padding:10px 0 0;
  }
  .guide-page .guide-timeline-channel,
  .guide-page .guide-timeline-actions{position:static;background:transparent}
  .guide-page .guide-timeline-channel{grid-column:1;padding:4px 2px 10px}
  .guide-page .guide-timeline-actions{grid-column:2;gap:4px;padding:0 0 6px;border-left:0}
  .guide-page .guide-timeline-row:hover .guide-timeline-channel,
  .guide-page .guide-timeline-row:hover .guide-timeline-actions{background:transparent}
  .guide-page .guide-programme-rail{
    grid-column:1/-1;
    gap:8px;
    overflow-x:auto;
    padding:0 0 14px;
    border-left:0;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .guide-page .guide-programme-rail::-webkit-scrollbar{display:none}
  .guide-page .guide-programme{flex-basis:min(78vw,280px);min-height:96px;scroll-snap-align:start}
}

/* V38: mobile settings behave like a control room, not a clipped desktop tab rail. */
.settings-mobile-index{display:none}

@media(max-width:760px){
  .settings-page{margin-top:-18px}
  .settings-page>.page-head{display:none}
  .settings-page .settings-layout{gap:0}
  .settings-page .settings-index{
    position:sticky;
    z-index:32;
    top:var(--topbar);
    min-height:62px;
    display:block;
    margin:0 calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-left:0;
    border-bottom:1px solid var(--hair);
    background:rgba(43,43,42,.985);
    backdrop-filter:blur(14px);
  }
  .settings-page .settings-index>a{display:none}
  .settings-mobile-index{
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px;
    align-items:center;
    gap:8px;
  }
  .settings-mobile-select{
    min-width:0;
    height:46px;
    display:grid;
    grid-template-columns:20px minmax(0,1fr) 16px;
    align-items:center;
    gap:9px;
    padding:0 12px;
    border:1px solid var(--hair-strong);
    border-radius:var(--radius-control);
    background:var(--panel-2);
    color:var(--text-2);
  }
  .settings-mobile-select>.icon{width:18px;height:18px}
  .settings-mobile-select>.icon:last-child{width:14px;height:14px;color:var(--text-3)}
  .settings-mobile-select select{
    min-width:0;
    width:100%;
    height:44px;
    appearance:none;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font:650 14px "Space Grotesk",sans-serif;
  }
  .settings-mobile-select select:focus-visible{outline:0;box-shadow:none}
  .settings-mobile-select:focus-within{
    border-color:var(--cta);
    box-shadow:0 0 0 4px rgba(138,29,29,.26);
  }
  .settings-mobile-index>.icon-button{background:var(--panel-2)}
  .settings-page .settings-group{scroll-margin-top:calc(var(--topbar) + 70px)}
  .settings-page .settings-group:first-child{padding-top:28px}
}

/* V39: mobile help starts with the task and exposes every existing article category. */
@media(max-width:760px){
  .help-page{margin-top:-18px}
  .help-page>.page-head{display:none}
  .help-toolbar{
    position:sticky;
    z-index:32;
    top:var(--topbar);
    grid-template-columns:minmax(0,1fr) 44px;
    gap:8px;
    margin:0 calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-inline:0;
    border-radius:0;
    background:rgba(43,43,42,.985);
    backdrop-filter:blur(14px);
  }
  .help-toolbar .search-field{grid-column:1/-1;height:44px}
  .help-categories{
    min-width:0;
    height:44px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .help-categories button{
    min-width:0;
    min-height:44px;
    padding-inline:7px;
    font-size:11px;
  }
  .help-contact{
    width:44px;
    min-width:44px;
    padding:0;
    font-size:0;
  }
  .help-contact .icon{width:18px;height:18px}
  .help-quickstart{padding:22px 0 8px}
  .help-quickstart .section-heading{padding-bottom:10px}
  .help-quick-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    border-top:1px solid var(--hair);
  }
  .help-quick-grid .module-card{
    min-height:78px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 24px;
    align-items:center;
    gap:12px;
    padding:11px 0;
    border:0;
    border-bottom:1px solid var(--hair);
    border-radius:0;
    background:transparent;
  }
  .help-quick-grid .module-card:hover{background:rgba(253,243,243,.035)}
  .help-quick-grid .card-top{grid-column:1;grid-row:1;margin:0}
  .help-quick-grid .module-icon{width:42px;height:42px}
  .help-quick-grid .module-card>div:nth-child(2){min-width:0;grid-column:2;grid-row:1}
  .help-quick-grid .module-card h3{margin:0;font-size:16px;line-height:1.15}
  .help-quick-grid .module-card p{margin:5px 0 0;font-size:11px;line-height:1.35}
  .help-quick-grid .module-card footer{grid-column:3;grid-row:1;justify-content:flex-end;margin:0;padding:0;border:0}
  .help-quick-grid .module-card footer span{display:none}
  .help-quick-grid .module-card footer .icon{width:17px;height:17px}
  .help-topics{padding-top:24px}
}

/* V40: the mobile dock follows the canonical five viewing destinations. */
.home-support-links{display:none}

@media(max-width:760px){
  .home-support-links{
    min-height:60px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:center;
    margin-top:18px;
    padding-top:8px;
    border-top:1px solid var(--hair);
  }
  .home-support-links a{
    min-width:0;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-3);
    font:650 9px "JetBrains Mono",monospace;
  }
  .home-support-links a:hover{color:var(--text)}
}

/* V44: every Manager subpage starts with the task on mobile. */
.manager-mobile-nav,.manager-mobile-actions{display:none}

@media(max-width:760px){
  .manager-route-page{margin-top:-22px}
  .manager-route-page>.page-head,
  .manager-route-page>.manager-subnav{display:none}
  .manager-mobile-nav{
    position:sticky;
    z-index:34;
    top:var(--topbar);
    min-height:60px;
    display:grid;
    grid-template-columns:20px minmax(0,1fr) 16px;
    align-items:center;
    gap:10px;
    margin:0 calc(var(--pad) * -1);
    padding:8px var(--pad);
    border-bottom:1px solid var(--hair);
    background:rgba(43,43,42,.985);
    color:var(--text-2);
    backdrop-filter:blur(14px);
  }
  .manager-mobile-nav>.icon{width:19px;height:19px}
  .manager-mobile-nav>.icon:last-child{width:14px;height:14px;color:var(--text-3);pointer-events:none}
  .manager-mobile-nav select{
    min-width:0;
    width:100%;
    height:44px;
    appearance:none;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font:650 15px "Space Grotesk",sans-serif;
  }
  .manager-mobile-nav:focus-within{
    box-shadow:inset 0 -2px 0 var(--cta);
  }
  .manager-route-page>.toolbar{
    top:calc(var(--topbar) + 60px);
    margin-top:0;
  }
  .manager-mobile-actions{
    display:flex;
    align-items:center;
    gap:8px;
    padding-top:14px;
  }
  .manager-mobile-actions>.button{min-height:44px}
  .manager-mobile-actions>.action-row{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
  }
  .manager-mobile-actions>.action-row .button{min-width:0;width:100%;min-height:44px;padding-inline:10px}
  .manager-route-page>.manager-mobile-nav~.section{padding-top:24px}
  .manager-route-page>.manager-mobile-actions+.section{padding-top:18px}
  .manager-epg-metrics{padding-top:14px!important}
  .manager-epg-metrics .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
  .manager-epg-metrics .metric{min-height:78px;padding:12px 8px}
  .manager-epg-metrics .metric b{font-size:18px}
  .manager-epg-metrics .metric span{margin-top:7px;font-size:8px;line-height:1.3}
}

/* V46: original remote routes and source-backed quick starts, kept below the hardware remote. */
.remote-head{height:50px}
.remote-modes button{width:44px;height:44px}
.remote-companion-deck{
  margin-top:68px;
  padding:44px 0 12px;
  border-top:1px solid var(--hair);
}
.remote-deck-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  align-items:end;
  gap:32px;
  margin-bottom:24px;
}
.remote-deck-heading h2{margin:5px 0 0;font-size:36px;line-height:1.02}
.remote-deck-heading>p{margin:0;color:var(--text-2);font-size:13px;line-height:1.55}
.remote-destination-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.remote-destination{
  min-width:0;
  min-height:118px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 18px;
  grid-template-rows:auto auto;
  align-content:center;
  align-items:center;
  column-gap:12px;
  padding:18px;
  border:1px solid var(--hair);
  border-radius:6px;
  background:rgba(43,43,42,.62);
  color:var(--text);
  text-align:left;
  transition:border-color .18s ease,background .18s ease,translate .18s ease;
}
.remote-destination:hover{
  border-color:var(--hair-strong);
  background:var(--panel-2);
  translate:0 -2px;
}
.remote-destination:focus-visible,.remote-channel-shortcut:focus-visible,.remote-keyboard-actions button:focus-visible{
  outline:2px solid var(--ink-red);
  outline-offset:3px;
}
.remote-destination>span{
  grid-row:1/3;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid var(--hair);
  border-radius:50%;
  color:var(--text-2);
}
.remote-destination>span .icon{width:18px;height:18px}
.remote-destination>b{grid-column:2;font-size:16px}
.remote-destination>small{grid-column:2;color:var(--text-3);font-size:10px;line-height:1.3}
.remote-destination>.icon{grid-column:3;grid-row:1/3;width:16px;height:16px;color:var(--text-3)}
.remote-channel-section{margin-top:36px}
.remote-channel-heading{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.remote-channel-heading p{margin:0}
.remote-channel-heading span{color:var(--text-3);font-size:10px}
.remote-channel-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(250px,1fr);
  gap:8px;
  overflow-x:auto;
  padding:2px 2px 10px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
.remote-channel-shortcut{
  min-width:0;
  min-height:86px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 28px;
  align-items:center;
  gap:12px;
  padding:13px;
  border:1px solid var(--hair);
  border-radius:6px;
  background:transparent;
  color:var(--text);
  text-align:left;
  scroll-snap-align:start;
}
.remote-channel-shortcut:hover{background:rgba(253,243,243,.035);border-color:var(--hair-strong)}
.remote-channel-shortcut .channel-logo{width:46px;height:46px}
.remote-channel-copy{min-width:0;display:grid;gap:3px}
.remote-channel-copy b,.remote-channel-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.remote-channel-copy b{font-size:13px}
.remote-channel-copy small{color:var(--text-3);font-size:10px}
.remote-channel-copy .program-progress{height:2px;margin-top:5px}
.remote-channel-shortcut>.icon{width:17px;height:17px;color:var(--text-2)}
.remote-keyboard-actions{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
  margin-top:10px;
}
.remote-keyboard-actions button{
  min-width:0;
  min-height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--hair);
  border-radius:22px;
  background:linear-gradient(145deg,#29292d,#171719);
  color:var(--text);
  font:650 9px "JetBrains Mono",monospace;
}
.keyboard-pad .remote-primary{width:100%;min-height:48px;margin-top:12px;border-color:var(--cta);background:var(--cta)}

@media(max-width:1000px){
  .remote-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .remote-companion-deck{margin-top:34px;padding-top:30px}
  .remote-deck-heading{grid-template-columns:1fr;gap:9px;margin-bottom:18px}
  .remote-deck-heading h2{font-size:28px}
  .remote-deck-heading>p{font-size:11px}
  .remote-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .remote-destination{min-height:102px;grid-template-columns:32px minmax(0,1fr) 14px;column-gap:9px;padding:13px}
  .remote-destination>span{width:32px;height:32px}
  .remote-destination>b{font-size:14px}
  .remote-destination>small{font-size:8px}
  .remote-channel-section{margin-top:28px}
  .remote-channel-heading{align-items:flex-end}
  .remote-channel-heading span{font-size:8px}
  .remote-channel-rail{
    grid-auto-columns:min(82vw,300px);
    margin-inline:calc(var(--pad) * -1);
    padding-inline:var(--pad);
    scrollbar-width:none;
  }
  .remote-channel-rail::-webkit-scrollbar{display:none}
  .remote-channel-shortcut{min-height:80px}
  .keyboard-pad textarea{min-height:205px}
}

@media(max-width:360px){
  .remote-destination{grid-template-columns:28px minmax(0,1fr) 12px;padding:11px;column-gap:7px}
  .remote-destination>span{width:28px;height:28px}
  .remote-destination>b{font-size:13px}
  .remote-keyboard-actions{gap:4px}
}

/* V53: privacy-safe, addressable Live TV without exposing stream URLs. */
.live-link-notice{
  min-height:66px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
  padding:11px 12px;
  border:1px solid rgba(248,113,113,.42);
  border-radius:6px;
  background:rgba(248,113,113,.07);
}
.live-link-notice>.icon{width:20px;height:20px;color:var(--error)}
.live-link-notice>div{min-width:0;display:grid;gap:3px}
.live-link-notice b{font-size:12px}
.live-link-notice span{color:var(--text-3);font-size:10px;line-height:1.4}
.live-link-notice .button{min-height:44px}

@media(max-width:760px){
  .player-controls .player-tools{grid-template-columns:minmax(84px,1fr) repeat(5,44px);gap:3px}
  .live-link-notice{grid-template-columns:30px minmax(0,1fr);margin-top:8px}
  .live-link-notice .button{grid-column:1/-1;width:100%}
}

@media(max-width:380px){
  .player-controls .player-tools{grid-template-columns:minmax(80px,1fr) repeat(5,44px);gap:2px}
}

/* V54: the full source-backed EPG stays inside the running Live TV context. */
.live-page>.live-guide-panel{order:6}
.live-guide-trigger[aria-expanded="true"]{border-color:rgba(138,29,29,.72);background:rgba(138,29,29,.16);color:var(--text)}
.live-guide-panel{
  overflow:hidden;
  margin-top:10px;
  border:1px solid var(--hair-strong);
  border-radius:7px;
  background:var(--panel);
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.live-guide-heading{
  min-height:112px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  align-items:start;
  gap:24px;
  padding:22px 24px;
  border-bottom:1px solid var(--hair);
  background:var(--panel-2);
}
.live-guide-heading>div{min-width:0}
.live-guide-heading h2{margin:4px 0 7px;font-size:28px;letter-spacing:0}
.live-guide-heading p:last-child{max-width:680px;margin:0;color:var(--text-3);font-size:11px;line-height:1.55}
.live-guide-heading>.icon-button{width:44px;height:44px}
.live-guide-toolbar{
  display:grid;
  grid-template-columns:minmax(280px,1fr) auto auto 44px;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-bottom:1px solid var(--hair);
}
.live-guide-toolbar .search-field{height:44px}
.live-guide-toolbar>.icon-button{width:44px;height:44px}
.live-guide-panel>.guide-filterbar{margin:0;padding:9px 14px;border-bottom:1px solid var(--hair)}
.live-guide-panel>.guide-results-strip{margin:0;padding:9px 16px;border-bottom:1px solid var(--hair)}
.live-guide-content{min-width:0;padding:12px}
.live-guide-content .guide-timeline-scroll{margin:0}
.live-guide-content .guide-list{margin:0}
.live-guide-footer{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 14px;
  border-top:1px solid var(--hair);
}
.live-guide-footer>span{color:var(--text-3);font-size:9px}
.live-guide-footer .button{min-height:44px}

@media(max-width:900px){
  .live-guide-toolbar{grid-template-columns:minmax(0,1fr) auto 44px}
  .live-guide-toolbar>.segmented:last-of-type{grid-column:2}
  .live-guide-toolbar>.segmented:first-of-type{grid-row:2;grid-column:1}
  .live-guide-toolbar>.icon-button{grid-row:2;grid-column:3}
}

@media(max-width:760px){
  .live-page>.live-guide-panel{order:2}
  .live-now-actions .live-guide-trigger{width:44px;min-width:44px;height:44px;padding:0;justify-content:center}
  .live-now-actions .live-guide-trigger span{display:none}
  .live-guide-panel{
    margin:8px calc(var(--pad) * -1) 0;
    border-inline:0;
    border-radius:0;
    box-shadow:none;
  }
  .live-guide-heading{min-height:0;gap:12px;padding:18px var(--pad)}
  .live-guide-heading h2{font-size:24px}
  .live-guide-heading p:last-child{font-size:10px}
  .live-guide-toolbar{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;
    gap:6px;
    padding:10px var(--pad);
  }
  .live-guide-toolbar>.search-field{grid-column:1/-1;grid-row:1}
  .live-guide-toolbar>.segmented:first-of-type{grid-column:1;grid-row:2}
  .live-guide-toolbar>.segmented:last-of-type{grid-column:2;grid-row:2}
  .live-guide-toolbar>.icon-button{grid-column:3;grid-row:2}
  .live-guide-toolbar .segmented button{min-width:0;padding-inline:8px}
  .live-guide-panel>.guide-filterbar{padding-inline:var(--pad)}
  .live-guide-panel>.guide-results-strip{padding-inline:var(--pad)}
  .live-guide-content{padding:8px var(--pad) 12px}
  .live-guide-footer{align-items:stretch;flex-direction:column;padding:12px var(--pad) 16px}
  .live-guide-footer>span{display:none}
  .live-guide-footer .button{width:100%}
}

@media(max-width:380px){
  .live-guide-heading{grid-template-columns:minmax(0,1fr) 40px}
  .live-guide-heading>.icon-button{width:40px;height:40px}
  .live-guide-heading h2{font-size:22px}
  .live-guide-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px}
  .live-guide-toolbar>.icon-button{width:40px;height:44px}
}

/* ===== NORD V54.4 — Playlist-Studio ===== */
/* ===== NORD V57 — Playlist-Studio nativ im Graphite-Design (Design-System V4 kanonisch) ===== */
.ed-mode{margin:14px 0 18px}
.icon.up{transform:rotate(180deg)}
.manager-route-editor{ --ed-fill:rgba(138,29,29,.14); --ed-red:rgba(138,29,29,.40); --ed-glow:rgba(138,29,29,.26); }
.ed-studio{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.ed-col{background:var(--panel);border:1px solid var(--hair);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-height:480px}
.ed-col-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--hair)}
.ed-col-t{display:flex;align-items:center;gap:10px}
.ed-col-t h3{font-size:15px;font-weight:650;margin:0}
.ed-col-sub{font-size:12px;color:var(--text-3)}
.ed-step{width:22px;height:22px;border-radius:7px;background:var(--ed-fill);border:1px solid var(--ed-red);display:grid;place-items:center;font:700 11px var(--mono,monospace);color:var(--ink-red)}
.ed-step.is-target{background:rgba(54,211,153,.14);border-color:rgba(54,211,153,.4);color:var(--success,#36d399)}
.ed-tools{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid var(--hair);flex-wrap:wrap;align-items:center}
.ed-tools-2{background:rgba(0,0,0,.08)}
.ed-flex{flex:1;min-width:150px}
/* Gruppen-Liste (Collapse, kanonisch aktiv) */
.ed-source-picker{padding:12px 16px;border-bottom:1px solid var(--hair);background:rgba(255,255,255,.012)}
.ed-mini-label{display:block;margin:0 0 7px;font:700 9px var(--mono,monospace);letter-spacing:.11em;color:var(--text-3)}
.ed-source-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.ed-source-picker-row>.button{white-space:nowrap}
.ed-source-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(128px,.42fr);gap:8px;padding:10px 16px;border-bottom:1px solid var(--hair)}
.ed-groups{padding:7px 10px;border-bottom:1px solid var(--hair);max-height:220px;overflow:auto}
.ed-grp{display:flex;align-items:center;gap:6px;min-height:46px;padding:5px 6px;border-radius:9px;color:var(--text-2)}
.ed-grp:hover{background:rgba(255,255,255,.045)}
.ed-grp.is-gsel{background:var(--ed-fill);box-shadow:inset 2px 0 0 var(--ed-red)}
.ed-grp-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1;padding:5px;background:none;border:0;color:inherit;text-align:left;cursor:pointer}
.ed-chev{display:flex;color:var(--text-3);transition:transform .15s;flex:0 0 auto}
.ed-grp.collapsed .ed-chev{transform:rotate(-90deg)}
.ed-grp-copy{display:flex;align-items:baseline;gap:8px;min-width:0}
.ed-grp-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.ed-grp-copy small{font:600 9px var(--mono,monospace);color:var(--text-3);white-space:nowrap}
.ed-grp-select,.ed-grp-direct{display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;border:1px solid var(--hair);border-radius:8px;background:transparent;color:var(--text-3);padding:5px 8px;font-size:10px;cursor:pointer;white-space:nowrap}
.ed-grp-select:hover,.ed-grp-direct:hover{color:var(--text-2);border-color:var(--hair-strong);background:rgba(255,255,255,.04)}
.ed-grp-select.is-selected{color:var(--text);border-color:var(--ed-red);background:var(--ed-fill)}
.ed-grp-select .icon,.ed-grp-direct .icon{width:13px;height:13px}
.ed-list{flex:1;overflow-y:auto;padding:6px 10px;min-height:130px;max-height:40vh}
.ed-row-src{display:flex;align-items:center;gap:9px;padding:8px 7px;border-radius:9px;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.05)}
.ed-row-src:hover{background:rgba(255,255,255,.035)}
.ed-row-src.is-sel{background:var(--ed-fill);box-shadow:inset 3px 0 0 var(--ed-red)}
.ed-row-check{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;border:1px solid var(--hair-strong);border-radius:6px;background:transparent;color:var(--text);padding:0;cursor:pointer}
.ed-row-src.is-sel .ed-row-check{border-color:var(--ed-red);background:var(--ed-fill)}
.ed-row-check .icon{width:13px;height:13px}
.ed-grip{color:var(--text-3);opacity:.56;cursor:grab;display:flex;align-items:center;flex:0 0 auto}
.ed-row-src:hover .ed-grip{color:var(--text-2);opacity:1}
.ed-logo{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border:1px solid var(--hair);border-radius:8px;overflow:hidden;background:var(--panel-3)}
.ed-logo img{width:100%;height:100%;display:block;object-fit:contain;background:rgba(255,255,255,.9);padding:3px;box-sizing:border-box}
.ed-logo-fb{width:100%;height:100%;display:grid;place-items:center;font:700 10px var(--mono,monospace);color:var(--text-2);letter-spacing:.5px;background:var(--panel-3)}
.ed-src-meta{flex:1;min-width:0}
.ed-src-meta b{font-weight:600;font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-src-meta small{display:block;color:var(--text-3);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-row-act{display:flex;flex:0 0 auto}
.ed-row-direct{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--text-3);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:6px;cursor:pointer}
.ed-row-direct:hover{color:var(--text)}
.ed-row-direct .icon{width:14px;height:14px}
.ed-source-empty,.ed-source-start{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 18px;color:var(--text-3)}
.ed-source-start{min-height:150px;border-top:1px solid var(--hair)}
.ed-source-empty>.icon,.ed-source-start>.icon{width:22px;height:22px;opacity:.7}
.ed-source-empty span,.ed-source-start span{display:flex;flex-direction:column;gap:3px}
.ed-source-empty b,.ed-source-start b{font-size:12px;color:var(--text-2)}
.ed-source-empty small,.ed-source-start small{font-size:10px;line-height:1.45;max-width:330px}
.ed-source-actions{position:sticky;bottom:0;z-index:4;display:grid;grid-template-columns:minmax(120px,1fr) auto auto auto;gap:7px;align-items:center;padding:10px 12px;border-top:1px solid var(--hair);background:rgba(43,42,40,.98);box-shadow:0 -12px 24px rgba(0,0,0,.16)}
.ed-source-summary{display:flex;flex-direction:column;gap:2px;min-width:0}
.ed-source-summary b{font-size:11px;color:var(--text-2)}
.ed-source-summary small{font-size:9px;color:var(--text-3)}
.ed-source-actions .button{padding:8px 10px;font-size:10px;white-space:nowrap}
.ed-source-actions .button[disabled]{opacity:.32;cursor:not-allowed}
.ed-source-transfer .icon{transform:rotate(0deg)}
.ed-more{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--hair);color:var(--text-3);font-size:11px;flex-wrap:wrap}
.ed-more-hint{color:var(--text-3);font-size:10px}
.ed-loadbar{position:relative;height:26px;margin:8px 16px;border:1px solid var(--hair);border-radius:6px;background:rgba(0,0,0,.14);overflow:hidden}
.ed-loadbar-fill{position:absolute;inset:0 auto 0 0;background:var(--ed-fill);border-right:1px solid var(--ed-red)}
.ed-loadbar-txt{position:relative;z-index:1;display:grid;place-items:center;height:100%;font:600 10px var(--mono,monospace);color:var(--text-2)}
.ed-hint{color:var(--text-3);font-size:12px;margin:0;padding:14px 16px}
@media (max-width:620px){.ed-source-picker-row{grid-template-columns:1fr}.ed-source-picker-row>.button{width:100%;justify-content:center;padding-inline:12px}.ed-source-filters{grid-template-columns:1fr}.ed-groups{max-height:260px}.ed-grp{flex-wrap:wrap}.ed-grp-main{flex-basis:100%}.ed-grp-select,.ed-grp-direct{flex:1}.ed-row-direct span{display:none}.ed-source-actions{bottom:72px;grid-template-columns:1fr 1fr;transform:translateY(-72px);margin-bottom:-72px}.ed-source-summary,.ed-source-transfer{grid-column:1/-1}.ed-source-transfer{justify-content:center}.ed-list{max-height:44vh;padding-bottom:82px}}
/* Ziel-Gruppen */
.ed-transfer-guide{display:flex;align-items:center;gap:10px;margin:0 12px 4px;padding:10px 12px;border:1px dashed var(--hair-strong);border-radius:10px;color:var(--text-3);font-size:11px;line-height:1.45;background:rgba(255,255,255,.018)}
.ed-transfer-guide>.icon{flex:0 0 auto;color:var(--text-2)}
.ed-transfer-guide b{color:var(--text-2)}
.ed-target{flex:1;overflow-y:auto;padding:8px 12px}
.ed-t-group{border:1px solid var(--hair);border-radius:11px;overflow:hidden;background:rgba(255,255,255,.02);margin-bottom:10px;transition:border-color .15s,box-shadow .15s}
.ed-t-group.is-active{border-color:var(--ed-red)}
.ed-t-group.is-active header{background:var(--ed-fill)}
.ed-t-group header{display:flex;align-items:center;padding:9px 10px;background:rgba(255,255,255,.02);gap:7px}
.ed-t-toggle{background:none;border:0;color:inherit;text-align:left;cursor:pointer;padding:3px 2px;display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.ed-t-chev{display:flex;color:var(--text-3);transition:transform .15s ease}
.ed-t-group.is-collapsed .ed-t-chev{transform:rotate(-90deg)}
.ed-t-title{display:flex;align-items:baseline;gap:8px;min-width:0}
.ed-t-title b{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-t-title small{color:var(--text-3);font-size:10px;font-family:var(--mono,monospace);white-space:nowrap}
.ed-target-choice{border:1px solid var(--hair-strong);border-radius:999px;background:transparent;color:var(--text-3);padding:6px 9px;font:700 9px var(--mono,monospace);letter-spacing:.05em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.ed-target-choice:hover{color:var(--text-2);background:rgba(255,255,255,.04)}
.ed-target-choice.is-active{color:var(--text);border-color:var(--ed-red);background:var(--ed-fill)}
.ed-t-gtools{display:flex;gap:4px;flex-shrink:0}
.ed-t-body{display:block}
.ed-t-group.is-collapsed .ed-t-body{display:none}
.ed-drop-cue{display:flex;align-items:center;justify-content:center;gap:7px;margin:8px 10px 2px;padding:7px 10px;border:1px dashed rgba(253,243,243,.16);border-radius:8px;color:var(--text-3);font-size:10px;letter-spacing:.02em}
.ed-t-group.is-active .ed-drop-cue{border-color:rgba(138,29,29,.55);color:var(--text-2);background:rgba(138,29,29,.06)}
.ed-t-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid rgba(255,255,255,.05);min-height:42px;cursor:grab}
.ed-t-name{flex:1;min-width:0}
.ed-t-name b{font-size:13px;font-weight:500}
.ed-t-name small{color:var(--text-3);font-size:11px;margin-left:8px}
.ed-t-tools{display:flex;gap:2px;flex-shrink:0}
.ed-t-tools .icon-button{width:30px;height:30px;opacity:0;transition:opacity .12s ease;pointer-events:none}
.ed-t-tools .icon-button:last-child{opacity:.5;pointer-events:auto}
.ed-t-item:hover .ed-t-tools .icon-button{opacity:.7;pointer-events:auto}
.ed-t-tools .icon-button:hover{opacity:1!important}
.ed-t-tools .icon-button:last-child:hover{color:#fecaca;border-color:rgba(248,113,113,.35)}
@media (hover:none){.ed-t-tools .icon-button{opacity:.55;pointer-events:auto}}
.ed-t-empty{padding:14px 12px;margin:0;color:var(--text-3);font-size:12px;text-align:center}
/* Integrierter Abschluss statt schwebender Overlay-Leiste */
.ed-savebar-inline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding:14px 16px;border-top:1px solid var(--hair);background:rgba(255,255,255,.018)}
.ed-sb-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.ed-sb-copy>b{font-size:12px;font-weight:650;color:var(--text-2)}
.ed-sb-copy>small{font-size:10px;color:var(--text-3);line-height:1.4}
.ed-sb-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.ed-sb-actions .ed-redo .icon{transform:scaleX(-1)}
.ed-sb-actions .icon-button[disabled],.ed-sb-actions .button[disabled]{opacity:.32;cursor:not-allowed}
.ed-reset-btn{color:var(--text-3)}
@media (max-width:900px){.ed-studio{grid-template-columns:1fr}.ed-col{min-height:0}.ed-list{max-height:42vh}.ed-savebar-inline{align-items:stretch;flex-direction:column}.ed-sb-actions{display:grid;grid-template-columns:auto auto 1fr 1.35fr}.ed-sb-actions .button{justify-content:center}.ed-transfer-guide{margin-top:2px}.ed-grip small{display:none}}
/* NORD V57 Welle 2 — URL-Status-Dots, Aktionen-Menü, Rename-Vorschau, Modal-Felder */
.ed-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.ed-dot.ok{background:var(--success,#36d399);box-shadow:0 0 6px rgba(54,211,153,.5)}
.ed-dot.fail{background:var(--error,#f87171)}
.ed-dot.to{background:var(--warning,#f0b440)}
.ed-actions-btn{margin-left:auto}
.ed-actions-menu{display:flex;flex-direction:column;gap:2px}
.ed-am-sec{font:700 10px var(--mono,monospace);letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);margin:12px 4px 4px}
.ed-am-sec:first-child{margin-top:0}
.ed-am-item{display:flex;align-items:center;gap:12px;padding:11px 12px;font-size:14px;color:var(--text);border-radius:9px;cursor:pointer;width:100%;border:0;background:none;text-align:left;font-family:inherit}
.ed-am-item:hover{background:rgba(255,255,255,.06)}
.ed-am-item.danger{color:var(--error,#f87171)}
.ed-am-item.danger:hover{background:rgba(248,113,113,.14)}
.ed-am-item .icon{width:16px;height:16px;flex-shrink:0;opacity:.85}
.ed-modal .field{margin-bottom:12px}
.ed-rn-opts{display:flex;gap:18px;margin:6px 0 12px;font-size:13px;color:var(--text-2)}
.ed-rn-opts label{display:flex;align-items:center;gap:6px;cursor:pointer}
.ed-rn-preview{max-height:240px;overflow-y:auto;margin:8px 0}
.ed-rn-list{display:flex;flex-direction:column;gap:4px}
.ed-rn-row{display:flex;align-items:center;gap:8px;padding:6px 10px;background:rgba(255,255,255,.03);border-radius:8px;font-size:12px}
.ed-rn-old{color:var(--text-3);text-decoration:line-through}
.ed-rn-new{color:var(--text);font-weight:500}
.ed-rn-row .icon{width:12px;height:12px;color:var(--text-3);flex-shrink:0}
.ed-rn-err{color:var(--error,#f87171);font-size:13px}

/* ===== NORD V54.4b — ZapPilot-Liste: Single-Varianten-Badge kompakt statt leerer Breitbox ===== */
.guide-list-tools:has(.guide-variant.is-single){grid-template-columns:auto auto;justify-content:start;gap:10px}
.guide-list-tools .guide-variant.is-single{width:auto;min-width:0;padding:5px 14px;justify-content:center}

/* ===== NORD V54.6 — Remote-Deck: Original-Remote als Gerät in der App ===== */
.remote-deck{display:flex;justify-content:center;padding:4px 0 24px}
.remote-deck iframe{width:min(620px,100%);height:clamp(540px,calc(100dvh - 215px),980px);border:0;border-radius:0;background:transparent;box-shadow:none;display:block}
@media (max-width:760px){.remote-deck{padding:0 0 86px}.remote-deck iframe{width:100%;height:calc(100dvh - 190px)}}

/* ===== NORD V54.7 — Ladesequenz (4-Balken-Logo auf Graphit) + Vom-TV-aufnehmen ===== */
.route-loading{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;background:var(--canvas,#2b2b2a);opacity:1;transition:opacity .28s ease}
.route-loading.is-done{opacity:0;pointer-events:none}
.route-loading-core{display:grid;justify-items:center;gap:14px;text-align:center}
.route-loading-core .overline{letter-spacing:.14em;color:rgba(253,243,243,.55)}
.route-loading-core small{color:rgba(253,243,243,.38);font-size:12px}
.rl-mark{display:flex;align-items:center;gap:8px;height:72px}
.rl-mark i{width:13px;height:46px;border-radius:7px;background:#FDF3F3;animation:rlPulse 1.05s ease-in-out infinite}
.rl-mark i.red{background:#b3362f;height:60px;animation-delay:.13s}
.rl-mark i:nth-child(3){animation-delay:.26s}
.rl-mark i:nth-child(4){animation-delay:.39s}
@keyframes rlPulse{0%,100%{transform:scaleY(.6);opacity:.65}50%{transform:scaleY(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.rl-mark i{animation:none;opacity:.9}}
.record-from-tv .rft-card{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid rgba(138,29,29,.45);border-radius:14px;background:linear-gradient(120deg,rgba(138,29,29,.10),rgba(255,255,255,.02))}
.record-from-tv .rft-card>svg,.record-from-tv .rft-card>.icon{flex:0 0 auto}
.rft-copy{flex:1;min-width:0}
.rft-copy b{display:block;font-size:16px;margin:2px 0}
.rft-copy small{color:rgba(253,243,243,.5)}
.rft-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:700px){.record-from-tv .rft-card{flex-direction:column;align-items:flex-start}.rft-actions{width:100%}.rft-actions .button{flex:1;justify-content:center}}

/* ===== NORD V54.11 — Guide „Mehr anzeigen" (Zeilen-Cap) ===== */
.guide-more{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 8px;padding:14px 18px;border:1px solid var(--line,rgba(255,255,255,.08));border-radius:14px;background:rgba(255,255,255,.02)}
.guide-more>span:first-child{font-weight:700}
.guide-more-hint{color:var(--muted,#9a9a97);font-size:.85rem}

/* NORD V58 — Geräte-Präsenz in der Auswahl (klare Form=Information, Neuro-Graphite) */
.dev-dot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;border:2px solid var(--panel,#383735)}
.dev-dot.on{background:var(--success,#36d399);box-shadow:0 0 6px rgba(54,211,153,.6)}
.dev-dot.off{background:var(--text-3,rgba(253,243,243,.5))}
.sheet-option.is-offline{opacity:.45;cursor:not-allowed;background:transparent}
.sheet-option.is-offline:hover{background:transparent}
.sheet-option.is-active-device{box-shadow:inset 0 0 0 1px rgba(138,29,29,.5);background:rgba(138,29,29,.14)}
.dev-offline-tag{margin-left:auto;font:650 9px "JetBrains Mono",monospace;color:var(--text-3);text-transform:uppercase;letter-spacing:.5px}
.dev-hint{margin:0 0 10px;padding:10px 12px;border:1px solid var(--hair);border-radius:8px;font-size:12px;color:var(--text-3);line-height:1.5}

/* ===== NORD V59 — TapZap (Wisch/Tap-Fernbedienung, Henrik-Skizze) ===== */
.tz-wrap{position:relative;display:flex;flex-direction:column;gap:14px}
.tapzap-pad{position:relative;min-height:min(46vh,380px);border-radius:24px;overflow:hidden;touch-action:none;cursor:pointer;
  background:linear-gradient(162deg,rgba(64,63,61,.5),rgba(43,43,42,.9));border:1px solid var(--hair);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),inset 0 0 40px rgba(0,0,0,.35)}
.tapzap-pad.is-disabled{opacity:.5;pointer-events:none}
/* Geprägtes iPii-Logo — klein, edel, wie in Metall geprägt: weiße Balken nur Kontur, roter Balken größer+gefüllt */
.tz-emboss{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;transition:transform .16s cubic-bezier(.22,.61,.36,1)}
.tz-emboss svg{width:30%;max-width:112px;height:auto}
.tz-bar-w{fill:none;stroke:rgba(253,243,243,.16);stroke-width:2.5;filter:drop-shadow(-1px -1px 1px rgba(255,255,255,.08)) drop-shadow(1px 1px 2px rgba(0,0,0,.5))}
.tz-bar-r{fill:rgba(179,54,47,.34);filter:drop-shadow(-1px -1px 1px rgba(255,255,255,.09)) drop-shadow(1.5px 1.5px 2.5px rgba(0,0,0,.55));transition:fill .09s ease}
/* Grün-Blink beim Tap — DEZENT (Henrik): nur der Balken wird grün, sanfter Schimmer statt großem Halo */
.tapzap-pad.tz-tap .tz-bar-r{fill:var(--success);filter:drop-shadow(0 0 5px rgba(54,211,153,.55))}
/* Balken schieben leicht in Wischrichtung */
.tapzap-pad.tz-sl .tz-emboss{transform:translateX(-13px)}
.tapzap-pad.tz-sr .tz-emboss{transform:translateX(13px)}
.tapzap-pad.tz-su .tz-emboss{transform:translateY(-13px)}
.tapzap-pad.tz-sd .tz-emboss{transform:translateY(13px)}
/* Richtungshinweise am Rand */
.tz-hint{position:absolute;color:var(--text-3);font-size:22px;font-weight:300;pointer-events:none;opacity:.3;transition:opacity .14s,color .12s,transform .12s}
.tz-hint.up{top:12px;left:50%;transform:translateX(-50%)}
.tz-hint.down{bottom:12px;left:50%;transform:translateX(-50%)}
.tz-hint.left{left:14px;top:50%;transform:translateY(-50%)}
.tz-hint.right{right:14px;top:50%;transform:translateY(-50%)}
.tz-hint.active{opacity:1;color:var(--success)}
.tz-hint.up.active{transform:translateX(-50%) translateY(-3px) scale(1.3)}
.tz-hint.down.active{transform:translateX(-50%) translateY(3px) scale(1.3)}
.tz-hint.left.active{transform:translateY(-50%) translateX(-3px) scale(1.3)}
.tz-hint.right.active{transform:translateY(-50%) translateX(3px) scale(1.3)}
/* Echo-Chip */
.tz-echo{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);font:650 10px "JetBrains Mono",monospace;letter-spacing:1px;color:var(--text-2);padding:6px 12px;border-radius:999px;background:rgba(0,0,0,.42);border:1px solid var(--hair);opacity:0;transition:opacity .2s;pointer-events:none}
.tz-echo.show{opacity:1}
.tz-status{justify-content:center;text-align:center}
/* Quickbar (Zurück/Start/Vol/Power) */
.tz-quickbar{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.tz-quickbar button{min-height:52px;display:grid;place-items:center;gap:3px;border:1px solid var(--hair);border-radius:14px;background:rgba(253,243,243,.04);color:var(--text-2)}
.tz-quickbar button:active{background:rgba(138,29,29,.18);border-color:rgba(138,29,29,.5);color:var(--text)}
.tz-quickbar button:disabled{opacity:.4}
.tz-quickbar button b{font:600 17px "Space Grotesk",sans-serif;line-height:1}
.tz-quickbar button .icon{width:20px;height:20px}
.tz-quickbar button .tz-back{transform:scaleX(-1)}
.tz-quickbar small{font-size:8px;color:var(--text-3);font-family:"JetBrains Mono",monospace}

/* ===== NORD V60 — TapZap Vollbild (Henrik: "muss den gesamten Bildschirm verwenden, mit kleiner Zurück-Funktion") =====
   Löst die Handy-Attrappen-Karte auf: kein remote-head/Mode-Tabs mehr, die Wischfläche selbst ist der Viewport.
   Referenz aus der Recherche: Google TV/Apple TV/Fire TV/Roku-Apps geben dem Touchpad den größten Teil des Screens,
   der Zurück-Weg bleibt aber immer ein kleines, unaufdringliches Element in der Ecke — keine Kopfzeile. */
.tz-wrap.tz-full{position:fixed;inset:0;z-index:95;display:flex;flex-direction:column;gap:0;padding:0;
  padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);
  background:radial-gradient(120% 70% at 50% -10%,rgba(89,76,70,.16),transparent 60%),var(--canvas)}
/* Vollbild bedeutet wirklich vollbild: App-Kopfzeile (z80) und untere App-Navigation (z75) treten zurück, während TapZap aktiv ist.
   is-tapzap-full (JS, render()) ist die primäre Regel; :has() bleibt als CSS-only-Absicherung, falls JS die Klasse mal nicht rechtzeitig setzt. */
body.is-tapzap-full .topbar,body.is-tapzap-full .mobile-nav,body.is-tapzap-full .desktop-nav,
body:has(.tz-full) .topbar,body:has(.tz-full) .mobile-nav,body:has(.tz-full) .desktop-nav{display:none}
.tz-full .tapzap-pad{flex:1 1 auto;min-height:0;margin:0;border-radius:0;border:0;box-shadow:inset 0 0 60px rgba(0,0,0,.32)}
.tz-full .tz-quickbar{flex:0 0 auto;grid-template-columns:repeat(6,1fr);gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));margin:0;
  background:rgba(20,19,18,.55);border-top:1px solid var(--hair)}
.tz-full .tz-quickbar button{min-height:56px;border-radius:16px}
/* Kleiner Zurück-Weg — schwebt in der Ecke, führt aus der Fernbedienung zurück in die App (nicht zu verwechseln mit "Zurück am TV" in der Quickbar) */
.tz-exit{position:absolute;z-index:5;top:calc(12px + env(safe-area-inset-top));left:12px;width:38px;height:38px;
  display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.38);border:1px solid var(--hair);
  color:var(--text-2);backdrop-filter:blur(8px)}
.tz-exit:active{background:rgba(0,0,0,.55);color:var(--text)}
.tz-exit .icon{width:18px;height:18px;transform:scaleX(-1)}
.tz-more{position:absolute;z-index:5;top:calc(12px + env(safe-area-inset-top));right:12px;width:38px;height:38px;
  display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.38);border:1px solid var(--hair);
  color:var(--text-2);backdrop-filter:blur(8px)}
.tz-more:active{background:rgba(0,0,0,.55);color:var(--text)}
.tz-more .icon{width:18px;height:18px}
.tz-mini-status{position:absolute;z-index:4;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);
  font:650 9px "JetBrains Mono",monospace;letter-spacing:.5px;text-transform:uppercase;color:var(--text-3);
  padding:5px 12px;border-radius:999px;background:rgba(0,0,0,.3);pointer-events:none}
.tz-mini-status b{color:var(--success);font-weight:650}
/* Onboarding-Overlay — Neuro-Design-Kanon: Icon-Medaillon (Leerzustand-Muster §7), Section-Overline
   vor der Headline (Onboarding-Muster §03.1), Zwei-Rot strikt (Logo=mark, CTA-Button=cta über .button.primary). */
.tz-onboard{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:16px;background:rgba(20,19,18,.86);backdrop-filter:blur(10px);border-radius:24px}
.tz-ob-card{max-width:320px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
/* Icon-Medaillon nach Kanon-Leerzustand-Muster: panel-Fläche + 1px hair-Border, 72px */
.tz-ob-logo{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:var(--panel);border:1px solid var(--hair);margin-bottom:2px}
.tz-ob-logo svg{width:44%;height:auto}.tz-ob-logo .tz-bar-w{fill:rgba(253,243,243,.85);stroke:none}.tz-ob-logo .tz-bar-r{fill:var(--mark)}
.tz-ob-overline{margin:0;color:var(--text-3);font:650 9px "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.16em}
.tz-ob-card h3{margin:0;font-size:22px;font-weight:700;letter-spacing:-.01em}
.tz-ob-lede{margin:0;color:var(--text-2);font-size:13px;line-height:1.5}
.tz-ob-list{list-style:none;margin:6px 0 4px;padding:0;width:100%;display:flex;flex-direction:column;gap:8px}
.tz-ob-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--hair);border-radius:10px;text-align:left}
.tz-ob-list span{font:650 9px "JetBrains Mono",monospace;color:var(--text-3);text-transform:uppercase;letter-spacing:.5px;flex:0 0 auto}
.tz-ob-list b{font-size:12px;color:var(--text);font-weight:600;text-align:right}
.tz-ob-card .button{margin-top:6px;width:100%}


/* V19.47 ZapPilot performance and hierarchy */
.guide-page .page-head .head-actions {
  display: none;
}

.guide-page .guide-toolbar,
.guide-page .guide-commandbar,
.guide-page .guide-filterbar {
  border-color: rgba(253, 243, 243, .10);
}

.guide-page .guide-commandbar {
  justify-content: flex-start;
  gap: 8px;
}

.guide-page .guide-commandbar [data-action="open-device"] {
  margin-left: auto;
}

.guide-page .guide-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-block: 10px;
}

.guide-page .guide-filterbar .filter-chip {
  min-height: 40px;
}

.guide-page .guide-results-strip {
  margin-top: 4px;
  padding-block: 14px;
  border-top: 1px solid rgba(253, 243, 243, .08);
}

.guide-page .guide-list-row {
  content-visibility: auto;
  contain-intrinsic-size: 112px;
}

.guide-page .guide-more {
  max-width: 720px;
  margin: 28px auto 8px;
  padding: 18px 20px;
  border: 1px solid rgba(253, 243, 243, .10);
  border-radius: 16px;
  background: rgba(253, 243, 243, .025);
}

@media (max-width: 700px) {
  .guide-page .guide-filterbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .guide-page .guide-filterbar::-webkit-scrollbar {
    display: none;
  }

  .guide-page .guide-filterbar .filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .guide-page .guide-results-strip {
    padding-block: 12px;
  }

  .guide-page .guide-list-row {
    padding-block: 18px;
  }

  .guide-page .guide-list-copy .guide-next {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .guide-page .guide-list-tools {
    gap: 8px;
  }

  .guide-page .guide-more {
    align-items: stretch;
    text-align: center;
  }
}


/* V19.54 ZapPilot bidirectional scroll window */
.guide-page .guide-virtual-spacer {
  width: 100%;
  pointer-events: none;
  overflow-anchor: none;
}

.guide-page .guide-virtual-sentinel {
  display: block;
  width: 100%;
  height: 1px;
  pointer-events: none;
  overflow-anchor: none;
}

.guide-page .guide-content {
  position: relative;
}


/* V19.56 ZapPilot sender identity and equal playback targets */
.guide-page .guide-list-row {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(280px, 320px);
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.guide-page .guide-station,
.guide-page .guide-channel {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.guide-page .guide-station .channel-logo,
.guide-page .guide-channel .channel-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.guide-page .guide-station-copy,
.guide-page .guide-channel > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.guide-page .guide-station-copy b,
.guide-page .guide-channel > span > b {
  overflow: hidden;
  color: var(--text, #fdf3f3);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.guide-page .guide-station-copy small,
.guide-page .guide-channel > span > small {
  overflow: hidden;
  color: var(--muted, #aaa2a0);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-page .guide-play-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.guide-page .guide-play-target {
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-inline: 12px;
  white-space: nowrap;
}

.guide-page .guide-play-target:first-child {
  border-color: rgba(217, 106, 95, .34);
}

.guide-page .guide-timeline,
.guide-page .guide-timeline-head,
.guide-page .guide-timeline-row {
  grid-template-columns: 220px minmax(560px, 1fr) 300px;
}

.guide-page .guide-timeline-actions {
  display: grid;
  align-content: center;
  gap: 8px;
}

.guide-page .guide-row-secondary {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 700px) {
  .guide-page .guide-list-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
  }

  .guide-page .guide-station {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(253, 243, 243, .08);
  }

  .guide-page .guide-station .channel-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .guide-page .guide-station-copy b {
    font-size: 15px;
  }

  .guide-page .guide-play-target {
    min-height: 46px;
    padding-inline: 8px;
    font-size: 12px;
  }
}


/* V19.57 ZapPilot programme hierarchy */
.guide-page .guide-list-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  min-width: 0;
}

.guide-page .guide-list-heading {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.guide-page .guide-title-button {
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
}

.guide-page .guide-title-button h3 {
  line-height: 1.2;
}

.guide-page .guide-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--muted, #aaa2a0);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.guide-page .guide-progress-meta time {
  color: rgba(253, 243, 243, .72);
  letter-spacing: .02em;
}

.guide-page .guide-progress-meta span {
  color: var(--ink-red, #d96a5f);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.guide-page .guide-list-copy > .program-progress {
  width: 100%;
  height: 3px;
  margin-top: 6px;
}

.guide-page .guide-next {
  display: block;
  max-width: 100%;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted, #aaa2a0);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-page .guide-next.is-empty {
  color: rgba(253, 243, 243, .45);
  font-style: normal;
}

.guide-page .guide-list-tools {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  margin-top: 10px;
  gap: 8px;
}

.guide-page .guide-list-tools .guide-variant,
.guide-page .guide-list-tools .guide-schedule-link {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(253, 243, 243, .11);
  border-radius: 9px;
  background: rgba(253, 243, 243, .025);
  color: rgba(253, 243, 243, .70);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.guide-page .guide-list-tools .guide-variant:hover,
.guide-page .guide-list-tools .guide-schedule-link:hover {
  border-color: rgba(217, 106, 95, .32);
  color: var(--text, #fdf3f3);
}

.guide-page .guide-play-target {
  min-height: 42px;
  font-size: 13px;
  letter-spacing: .01em;
}

@media (max-width: 700px) {
  .guide-page .guide-list-copy {
    justify-content: flex-start;
  }

  .guide-page .guide-list-heading {
    min-height: 22px;
  }

  .guide-page .guide-title-button h3 {
    font-size: 19px;
  }

  .guide-page .guide-progress-meta {
    margin-top: 10px;
    font-size: 11px;
  }

  .guide-page .guide-list-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 12px;
  }

  .guide-page .guide-list-tools .guide-variant,
  .guide-page .guide-list-tools .guide-schedule-link {
    width: 100%;
    min-height: 38px;
  }

  .guide-page .guide-play-target {
    min-height: 46px;
    font-size: 13px;
  }
}


/* V19.58 ZapPilot progress-axis alignment */
.guide-page .guide-list-copy {
  align-items: stretch;
}

.guide-page .guide-title-button,
.guide-page .guide-list-tools {
  align-self: flex-start;
}

.guide-page .guide-progress-meta,
.guide-page .guide-list-copy > .program-progress,
.guide-page .guide-next {
  width: 100%;
}


/* V19.59 ZapPilot full-width programme progress */
.guide-page .guide-list-copy > .program-progress {
  width: 100%;
  max-width: none;
}


/* V19.60 ZapPilot TV programme reminders */
.guide-page .guide-next-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}

.guide-page .guide-next-row .guide-next {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin-top: 0;
}

.guide-page .guide-reminder-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(253, 243, 243, .12);
  border-radius: 8px;
  background: rgba(253, 243, 243, .025);
  color: rgba(253, 243, 243, .68);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.guide-page .guide-reminder-button:hover,
.guide-page .guide-reminder-button.is-active {
  border-color: rgba(217, 106, 95, .38);
  background: rgba(138, 29, 29, .12);
  color: var(--text, #fdf3f3);
}

.guide-page .guide-reminder-button .icon {
  width: 14px;
  height: 14px;
  color: var(--ink-red, #d96a5f);
}

@media (max-width: 700px) {
  .guide-page .guide-next-row {
    gap: 8px;
  }

  .guide-page .guide-reminder-button {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 11px;
  }
}


/* V19.68 ZapPilot programme grid */
.guide-page .guide-timeline-scroll {
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  scrollbar-color: color-mix(in srgb, var(--ink-red) 42%, transparent) transparent;
  scrollbar-width: thin;
}

.guide-page .guide-timeline-head,
.guide-page .guide-timeline-row {
  grid-template-columns: 220px minmax(0, 1fr) 190px;
}

.guide-page .guide-timeline-head > div:nth-child(2) b {
  font-size: 0;
}

.guide-page .guide-timeline-head > div:nth-child(2) b::after {
  content: "Jetzt & danach";
  font-size: 12px;
}

.guide-page .guide-timeline-head > div:last-child {
  font-size: 0;
}

.guide-page .guide-timeline-head > div:last-child::after {
  content: "Aktionen";
  font-size: 10px;
}

.guide-page .guide-timeline-row {
  min-height: 104px;
}

.guide-page .guide-timeline-channel,
.guide-page .guide-programme-rail,
.guide-page .guide-timeline-actions {
  min-height: 104px;
  height: auto;
}

.guide-page .guide-programme-rail {
  gap: 8px;
  padding: 10px 12px;
}

.guide-page .guide-programme {
  min-height: 82px;
  height: 82px;
  border-radius: 14px;
}

.guide-page .guide-timeline-actions {
  padding: 10px 12px;
  gap: 8px;
}

.guide-page .guide-play-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.guide-page .guide-play-actions .button {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.guide-page .guide-row-secondary {
  display: grid;
  grid-template-columns: repeat(2, 40px);
  justify-content: end;
  gap: 7px;
}

@media (min-width: 701px) {
  .guide-page .guide-timeline-channel {
    box-shadow: 10px 0 22px -22px rgba(0, 0, 0, .8);
  }

  .guide-page .guide-timeline-actions {
    box-shadow: -10px 0 22px -22px rgba(0, 0, 0, .8);
  }
}

@media (max-width: 700px) {
  .guide-page .guide-timeline-scroll {
    width: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .guide-page .guide-timeline {
    width: 100%;
    min-width: 0;
  }

  .guide-page .guide-timeline-head {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
  }

  .guide-page .guide-timeline-head > div:first-child,
  .guide-page .guide-timeline-head > div:last-child {
    display: none;
  }

  .guide-page .guide-timeline-head > div:nth-child(2) {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0;
  }

  .guide-page .guide-timeline-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0 0 10px;
    padding: 13px;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }

  .guide-page .guide-timeline-row.is-current {
    border-color: color-mix(in srgb, var(--ink-red) 34%, var(--line));
  }

  .guide-page .guide-timeline-channel,
  .guide-page .guide-programme-rail,
  .guide-page .guide-timeline-actions {
    position: static;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    border: 0;
    background: transparent;
  }

  .guide-page .guide-timeline-channel {
    padding: 0;
  }

  .guide-page .guide-channel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .guide-page .guide-channel .channel-logo {
    width: 48px;
    height: 48px;
  }

  .guide-page .guide-channel > span:last-child {
    min-width: 0;
  }

  .guide-page .guide-channel b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .guide-page .guide-variant {
    margin-top: 4px;
  }

  .guide-page .guide-programme-rail {
    display: flex;
    gap: 8px;
    padding: 0 0 3px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .guide-page .guide-programme-rail::-webkit-scrollbar {
    display: none;
  }

  .guide-page .guide-programme {
    flex: 0 0 min(82vw, 300px);
    width: min(82vw, 300px) !important;
    min-width: 0;
    min-height: 94px;
    height: 94px;
    padding: 12px 13px;
    scroll-snap-align: start;
  }

  .guide-page .guide-programme:only-child,
  .guide-page .guide-programme-empty:only-child {
    flex-basis: 100%;
    width: 100% !important;
  }

  .guide-page .guide-timeline-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 0;
    gap: 8px;
  }

  .guide-page .guide-play-actions {
    min-width: 0;
  }

  .guide-page .guide-play-actions .button {
    min-height: 42px;
  }

  .guide-page .guide-row-secondary {
    grid-template-columns: repeat(2, 42px);
  }

  .guide-page .guide-row-secondary .icon-button {
    width: 42px;
    height: 42px;
  }
}


/* V19.69 ZapPilot mobile grid placement */
.guide-page .guide-timeline-head > div:nth-child(2) b,
.guide-page .guide-timeline-head > div:last-child {
  font-size: inherit;
}

.guide-page .guide-timeline-head > div:nth-child(2) b::after,
.guide-page .guide-timeline-head > div:last-child::after {
  content: none;
}

@media (max-width: 700px) {
  .guide-page .guide-timeline-row {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: minmax(0, 1fr);
  }

  .guide-page .guide-timeline-row > .guide-timeline-channel,
  .guide-page .guide-timeline-row > .guide-programme-rail,
  .guide-page .guide-timeline-row > .guide-timeline-actions {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}


/* V19.70 ZapPilot integrated channel controls */
.guide-page .guide-channel > span:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "channel-name channel-quality"
    "channel-source channel-quality";
  align-items: center;
  column-gap: 7px;
  min-width: 0;
}

.guide-page .guide-channel > span:last-child > b {
  grid-area: channel-name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-page .guide-channel > span:last-child > small {
  grid-area: channel-source;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-page .guide-channel .guide-variant {
  grid-area: channel-quality;
  align-self: center;
  min-height: 26px;
  margin: 0;
  padding: 4px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

@media (min-width: 701px) {
  .guide-page .guide-timeline-head,
  .guide-page .guide-timeline-row {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .guide-page .guide-timeline-head > div:last-child {
    display: none;
  }

  .guide-page .guide-timeline-channel {
    grid-column: 1;
    grid-row: 1;
    width: 250px;
    padding: 10px 12px 54px;
  }

  .guide-page .guide-channel {
    grid-template-columns: 44px minmax(0, 1fr);
    width: 100%;
    gap: 10px;
  }

  .guide-page .guide-channel .channel-logo {
    width: 44px;
    height: 44px;
  }

  .guide-page .guide-programme-rail {
    grid-column: 2;
    grid-row: 1;
  }

  .guide-page .guide-timeline-actions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: end;
    position: sticky;
    right: auto;
    left: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 250px;
    min-width: 250px;
    min-height: 0;
    height: 46px;
    padding: 0 10px 8px;
    gap: 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .guide-page .guide-play-actions {
    gap: 5px;
  }

  .guide-page .guide-play-actions .button {
    min-height: 36px;
    height: 36px;
    padding: 0 7px;
    font-size: 12px;
  }

  .guide-page .guide-row-secondary {
    grid-template-columns: repeat(2, 34px);
    gap: 5px;
  }

  .guide-page .guide-row-secondary .icon-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}


/* V19.71 ZapPilot calm channel hierarchy */
.guide-page .guide-channel > span:last-child {
  grid-template-areas:
    "channel-name channel-name"
    "channel-source channel-quality";
  align-content: center;
  row-gap: 3px;
}

.guide-page .guide-channel .guide-variant {
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 7px;
  font-size: 10px;
  line-height: 1;
}

@media (min-width: 701px) {
  .guide-page .guide-timeline-head,
  .guide-page .guide-timeline-row {
    grid-template-columns: 210px minmax(0, 1fr) 126px;
  }

  .guide-page .guide-timeline-head > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
  }

  .guide-page .guide-timeline-channel {
    grid-column: 1;
    grid-row: 1;
    width: 210px;
    padding: 10px 12px;
  }

  .guide-page .guide-channel {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .guide-page .guide-programme-rail {
    grid-column: 2;
    grid-row: 1;
  }

  .guide-page .guide-timeline-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: stretch;
    position: sticky;
    right: 0;
    left: auto;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 36px 34px;
    align-content: center;
    width: 126px;
    min-width: 126px;
    min-height: 104px;
    height: auto;
    padding: 10px;
    gap: 7px;
    border-left: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    background: color-mix(in srgb, var(--surface) 97%, transparent);
    box-shadow: -10px 0 22px -22px rgba(0, 0, 0, .8);
  }

  .guide-page .guide-play-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .guide-page .guide-play-actions .button {
    min-width: 0;
    min-height: 36px;
    height: 36px;
    padding: 0 4px;
    font-size: 12px;
  }

  .guide-page .guide-play-actions .button .icon {
    display: none;
  }

  .guide-page .guide-row-secondary {
    grid-template-columns: repeat(2, 34px);
    justify-content: center;
    gap: 6px;
  }

  .guide-page .guide-row-secondary .icon-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}


/* V19.72 ZapPilot borderless controls */
.guide-page .guide-channel .guide-variant {
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sub-dim, rgba(253, 243, 243, .52));
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-page .guide-channel .guide-variant:hover {
  color: var(--txt, #fdf3f3);
  background: transparent !important;
}

.guide-page .guide-channel .guide-variant:focus-visible {
  outline: 0;
  color: var(--cta, #8a1d1d);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.guide-page .guide-timeline-actions .button,
.guide-page .guide-timeline-actions .icon-button {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--txt-secondary, #e7e7e7);
}

.guide-page .guide-timeline-actions .button:hover,
.guide-page .guide-timeline-actions .icon-button:hover {
  border: 0 !important;
  background: rgba(255, 255, 255, .045) !important;
  color: var(--txt, #fdf3f3);
}

.guide-page .guide-timeline-actions .button:focus-visible,
.guide-page .guide-timeline-actions .icon-button:focus-visible {
  outline: 0;
  border: 0 !important;
  background: rgba(138, 29, 29, .14) !important;
  box-shadow: inset 0 -1px var(--cta, #8a1d1d) !important;
}

.guide-page [data-action="favorite-channel"].is-active,
.guide-page [data-action="favorite-channel"][aria-pressed="true"] {
  background: transparent !important;
  color: var(--mark, #b3362f) !important;
}

.guide-page .guide-programme {
  border: 0 !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, .028);
  box-shadow: none !important;
}

.guide-page .guide-programme:hover {
  background: rgba(255, 255, 255, .05);
}

.guide-page .guide-programme.is-current {
  border: 0 !important;
  background: rgba(138, 29, 29, .14);
  box-shadow: inset 2px 0 rgba(138, 29, 29, .68) !important;
}

@media (min-width: 701px) {
  .guide-page .guide-timeline-head,
  .guide-page .guide-timeline-row {
    grid-template-columns: 200px minmax(0, 1fr) 112px;
  }

  .guide-page .guide-timeline-channel {
    width: 200px;
    padding: 10px;
  }

  .guide-page .guide-channel {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px;
  }

  .guide-page .guide-channel .channel-logo {
    width: 40px;
    height: 40px;
  }

  .guide-page .guide-timeline-actions {
    width: 112px;
    min-width: 112px;
    grid-template-rows: 34px 32px;
    padding: 8px;
    gap: 5px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .guide-page .guide-play-actions .button {
    min-height: 34px;
    height: 34px;
    padding: 0 3px;
  }

  .guide-page .guide-row-secondary {
    grid-template-columns: repeat(2, 32px);
    gap: 4px;
  }

  .guide-page .guide-row-secondary .icon-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
}

@media (max-width: 700px) {
  .guide-page .guide-timeline-row,
  .guide-page .guide-timeline-row.is-current {
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: inset 0 -1px color-mix(in srgb, var(--line) 86%, transparent);
  }

  .guide-page .guide-timeline-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px 0 0;
    gap: 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  }

  .guide-page .guide-play-actions,
  .guide-page .guide-row-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0;
  }

  .guide-page .guide-play-actions .button,
  .guide-page .guide-row-secondary .icon-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .guide-page .guide-play-actions .button .icon {
    display: none;
  }
}


/* V19.73 ZapPilot optical alignment */
.guide-page .guide-channel {
  align-items: center;
}

.guide-page .guide-channel > span:last-child {
  align-items: baseline;
  align-content: center;
  row-gap: 2px;
}

.guide-page .guide-channel > span:last-child > b,
.guide-page .guide-channel > span:last-child > small {
  line-height: 1.25;
}

.guide-page .guide-channel .guide-variant {
  align-self: baseline;
  justify-self: end;
  line-height: 1.25;
}

.guide-page .guide-timeline-row {
  align-items: stretch;
}

.guide-page .guide-timeline-channel,
.guide-page .guide-programme-rail {
  align-items: center;
}

.guide-page .guide-timeline-actions {
  align-items: center;
  justify-items: stretch;
}

.guide-page .guide-play-actions,
.guide-page .guide-row-secondary {
  align-items: center;
}

.guide-page .guide-timeline-actions .button,
.guide-page .guide-timeline-actions .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
}

@media (min-width: 701px) {
  .guide-page .guide-timeline-head > div,
  .guide-page .guide-timeline-channel,
  .guide-page .guide-programme-rail,
  .guide-page .guide-timeline-actions {
    box-sizing: border-box;
  }

  .guide-page .guide-play-actions,
  .guide-page .guide-row-secondary {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .guide-page .guide-timeline-actions,
  .guide-page .guide-play-actions,
  .guide-page .guide-row-secondary {
    align-items: center;
  }
}


/* V77: iPii Neuro grey football, names only. */
.football-world .page-head h1{max-width:760px;font-size:clamp(38px,4.5vw,58px);font-weight:700;letter-spacing:-.04em}
.football-world .page-head .lede{max-width:760px;color:var(--text-2)}
.football-world .match-row{border-color:var(--hair);border-radius:14px;background:var(--panel);box-shadow:none}
.football-world .match-row:hover{border-color:var(--hair-strong);background:var(--panel-2)}
.football-world .match-row.live-match{border-left:1px solid var(--hair);box-shadow:inset 2px 0 0 var(--mark)}
.football-world .football-scoreboard,.football-world .football-detail-scoreboard{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:18px}
.football-world .football-team{display:block}
.football-world .football-team b{display:block;font-size:15px;font-weight:650;letter-spacing:-.02em}
.football-world .football-team-mark,.football-worldcup-team i{display:none!important}
.football-world .football-score{font-family:"JetBrains Mono",monospace;font-size:26px;font-weight:700}
.football-world .football-source-count{color:var(--text-2)}
.football-world .football-match-action{border:0;border-radius:12px;background:transparent;color:var(--text-2)}
.football-world .football-match-action:hover{background:rgba(253,243,243,.06)}
.football-world .football-chiprail button{border-color:var(--hair);border-radius:12px;background:var(--panel);color:var(--text-3)}
.football-world .football-chiprail button:hover{border-color:var(--hair-strong);color:var(--text)}
.football-world .football-chiprail button.is-active{border-color:var(--hair-strong);box-shadow:inset 0 -1px 0 var(--cta);color:var(--text)}
.football-world .football-competition-filters button:hover,.football-world .football-competition-filters button.is-active{border-color:var(--hair-strong);background:rgba(253,243,243,.05);color:var(--text)}
.football-world .football-result-list>button{grid-template-columns:minmax(0,1fr) auto}
.football-world .football-source-row.is-primary{box-shadow:inset 1px 0 0 var(--cta)}
.football-world .football-quality{border-color:var(--hair-strong);border-radius:10px;color:var(--text-2)}
.football-world .football-event-minute{color:var(--text-2)}
.football-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:176px}
.football-source-action{width:100%;min-height:44px;border:0!important;border-radius:12px!important;background:var(--panel-3)!important;color:var(--text)!important}
.football-source-action:hover{background:rgba(253,243,243,.14)!important}
.football-worldcup-copy .overline{color:var(--text-3)}
.football-worldcup-status.is-live{border-color:var(--hair-strong);box-shadow:inset 2px 0 0 var(--mark)}
.football-worldcup-status.is-live span{color:var(--ink-red)}
.football-worldcup-match.is-next,.football-worldcup-group.is-priority{box-shadow:inset 1px 0 0 var(--cta)}
.football-worldcup-match>header b{color:var(--text-2)}
@media(max-width:760px){
  .football-world .page-head h1{font-size:36px}
  .football-world .football-scoreboard{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:8px;padding:16px 12px}
  .football-world .football-team{display:block;text-align:left}
  .football-world .football-team.is-away{text-align:right}
  .football-world .football-team b{font-size:13px}
  .football-world .football-detail-scoreboard{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:8px;padding:20px 12px}
  .football-source-row{grid-template-columns:48px minmax(0,1fr)}
  .football-source-row>.action-row{grid-column:1/-1}
  .football-source-actions{width:100%;min-width:0}
}

/* V78: align the single football refresh control on compact screens. */
@media(max-width:760px){.football-world .head-actions{justify-content:flex-end}}

/* V19.87: compact home titles must remain legible on narrow phones and with
   enlarged system text. Long German module names wrap inside their own tile. */
@media (max-width:700px){
  .home-hub .home-tile-copy{min-width:0}
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
    hyphens:auto;
    font-size:clamp(17px,4.8vw,21px);
    line-height:1.08;
  }
}

@media (max-width:360px){
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{font-size:17px}
}

/* V19.88: final mobile type calibration must win over the older V19.80 block. */
@media (max-width:700px){
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{
    font-size:clamp(17px,4.8vw,21px);
    line-height:1.08;
    overflow-wrap:anywhere;
    word-break:normal;
    hyphens:auto;
  }
}
@media (max-width:360px){
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{font-size:17px}
}

/* V79: native dropdown palettes follow the active iPii Neuro theme. */
html{color-scheme:dark}
select{color-scheme:dark}
select option,select optgroup{background-color:var(--panel);color:var(--text)}
select option:checked{background-color:var(--panel-3);color:var(--text)}
select option:disabled{color:var(--text-3)}
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] select{color-scheme:light}
html[data-theme="light"] select option,
html[data-theme="light"] select optgroup{background-color:var(--panel);color:var(--text)}
/* V19.80: mobile content hierarchy, bounded worksets and continuous ZapPilot window. */
@supports (padding-top:env(safe-area-inset-top)){
  @media (max-width:760px){
    body{
      padding-bottom:calc(70px + env(safe-area-inset-bottom))!important;
    }
    .topbar{
      min-height:calc(var(--topbar) + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
      padding-left:max(12px,env(safe-area-inset-left))!important;
      padding-right:max(12px,env(safe-area-inset-right))!important;
    }
    .topbar-inner{
      min-height:var(--topbar)!important;
    }
    #app-main{
      padding-top:calc(var(--topbar) + env(safe-area-inset-top) + 18px)!important;
      padding-left:max(var(--pad),env(safe-area-inset-left))!important;
      padding-right:max(var(--pad),env(safe-area-inset-right))!important;
    }
    .toolbar,
    .live-toolbar,
    .guide-toolbar,
    .settings-page .settings-index{
      top:calc(var(--topbar) + env(safe-area-inset-top))!important;
    }
    .mobile-nav{
      height:calc(70px + env(safe-area-inset-bottom))!important;
      padding-left:max(5px,env(safe-area-inset-left))!important;
      padding-right:max(5px,env(safe-area-inset-right))!important;
      padding-bottom:max(4px,env(safe-area-inset-bottom))!important;
    }
    .side-sheet{
      max-height:calc(100dvh - env(safe-area-inset-top))!important;
      padding-bottom:env(safe-area-inset-bottom)!important;
    }
    .modal{
      max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)!important;
    }
    .toast{
      bottom:calc(82px + env(safe-area-inset-bottom))!important;
    }
  }
}

@media (max-width:700px){
  .home-hub .home-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .home-hub .home-tile{order:10;min-height:148px;padding:14px;gap:12px}
  .home-hub .home-tile.mobile-rank-1{order:1}
  .home-hub .home-tile.mobile-rank-2{order:2}
  .home-hub .home-tile.mobile-rank-3{order:3}
  .home-hub .home-tile.mobile-rank-4{order:4}
  .home-hub .home-tile.feature{grid-column:span 1;min-height:166px;padding:14px;gap:12px}
  .home-hub .home-tile.feature::after{left:14px;width:36px}
  .home-hub .home-tile-icon,
  .home-hub .home-tile.feature .home-tile-icon{width:36px;height:36px}
  .home-hub .home-tile-status{max-width:58%;font-size:7px;line-height:1.2}
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{font-size:clamp(17px,4.8vw,21px);line-height:1.08;overflow-wrap:anywhere;hyphens:auto}
  .home-hub .home-tile-copy>p:last-child,
  .home-hub .home-tile.feature .home-tile-copy>p:last-child{display:none}
  .home-hub .home-tile>footer{font-size:8px}

  .guide-page .guide-virtual-spacer{height:0!important}
  .guide-page .guide-content{overflow-anchor:none}
  .guide-page .guide-list{overflow-anchor:none}
  .guide-page .guide-list-row{content-visibility:visible;contain:none;overflow-anchor:none}
  .guide-page .guide-virtual-sentinel{height:2px}

  .manager-route-editor .ed-row-src{content-visibility:auto;contain-intrinsic-size:72px}
  .manager-route-editor .ed-more{position:sticky;bottom:78px;z-index:8;padding:10px 12px;background:rgba(48,48,47,.96);backdrop-filter:blur(14px)}
  .manager-route-editor .ed-more-hint{display:none}
  .manager-route-editor .ed-grip{display:none}
  .manager-route-editor .ed-row-src{grid-template-columns:34px 38px minmax(0,1fr) auto;min-height:68px}

  .settings-page .settings-layout{gap:0}
  .settings-page .settings-index{position:sticky;z-index:16;top:var(--topbar);background:rgba(48,48,47,.97);backdrop-filter:blur(16px)}
  .settings-page .settings-index>a{display:none}
  .settings-page .settings-group:not(.is-settings-current){display:none}
  .settings-page .settings-group.is-settings-current{display:block;padding:20px 0 8px;border-bottom:0}
  .settings-page .settings-group h2{margin-bottom:12px;font-size:25px}
  .settings-page .setting-row{grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;padding:16px 0}
  .settings-page .setting-row>*:last-child{justify-self:start;max-width:100%}
  .settings-page .setting-row .segmented{width:100%;display:grid;grid-auto-flow:column;grid-auto-columns:1fr}
  .settings-page .setting-row .segmented button{min-width:0;padding-inline:8px}
  .settings-page .setting-row .action-row{width:100%;justify-content:flex-start;flex-wrap:wrap}

  .vod-page>.section,
  .manager-route-page>.section,
  .help-page>.section{content-visibility:auto;contain-intrinsic-size:560px}

  .player-shell:fullscreen,
  .player-shell:-webkit-full-screen,
  .player-screen:fullscreen,
  .player-screen:-webkit-full-screen{
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    border-radius:0!important;
    background:#070605!important;
  }
}

@media (max-width:360px){
  .home-hub .home-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-hub .home-tile,
  .home-hub .home-tile.feature,
  .home-hub .home-tile.wide{grid-column:span 1;min-height:146px;padding:12px}
  .home-hub .home-tile-copy h2,
  .home-hub .home-tile.feature .home-tile-copy h2{font-size:17px}
}

