/* písma: self-hosted, žádné Google Fonts (GDPR) */
/* geologica-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geologica-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
/* geologica-cyrillic-wght-normal */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geologica-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geologica-greek-wght-normal */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geologica-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
/* geologica-latin-ext-wght-normal */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geologica-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geologica-latin-wght-normal */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geologica-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/martian-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/martian-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/martian-mono-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/martian-mono-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ==========================================================================
   OnAirScore 2026
   Rádiový přijímač: hliníkový panel, prosklená stupnice s podsvícením,
   oranžová ručička = „teď“ a „živě“. Jediný výrazný prvek je stupnice (Ladička),
   všechno ostatní je tiché, aby vynikla čísla.
   ========================================================================== */


:root{
  --alu:#E3E5E1;        /* podklad stránky – kartáčovaný hliník */
  --panel:#F6F7F4;      /* plochy s obsahem */
  --panel-2:#ECEEEA;
  --ink:#1C2321;        /* grafit */
  --ink-2:#3B4542;
  --muted:#66706B;
  --rule:#D3D8D2;
  --rule-2:#E4E7E2;
  --glass:#12252B;      /* sklo stupnice */
  --glass-2:#0B191E;
  --glow:#8FE3D6;       /* podsvícení stupnice */
  --needle:#FF6A1A;     /* ručička, živě */
  --needle-ink:#C2410C; /* oranžová pro text na světlém */
  --needle-wash:rgba(255,106,26,.12);
  --focus:#1F7A6E;

  --f-ui:'Geologica',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-num:'Martian Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;

  --wrap:1320px;
  --row:54px;
  --r-s:6px;
  --r-m:12px;
  --r-l:20px;
  --dock:0px;
  color-scheme:light;
}
html.compact{--row:42px}

@media (prefers-color-scheme:dark){
  html[data-theme="auto"]{
    --alu:#151A19;--panel:#1C2322;--panel-2:#222A29;--ink:#E4E9E6;--ink-2:#C3CBC7;--muted:#8D9893;
    --rule:#2E3735;--rule-2:#262E2D;--needle-ink:#FF8A4C;--needle-wash:rgba(255,106,26,.16);--focus:#8FE3D6;
    color-scheme:dark;
  }
}
html[data-theme="dark"]{
  --alu:#151A19;--panel:#1C2322;--panel-2:#222A29;--ink:#E4E9E6;--ink-2:#C3CBC7;--muted:#8D9893;
  --rule:#2E3735;--rule-2:#262E2D;--needle-ink:#FF8A4C;--needle-wash:rgba(255,106,26,.16);--focus:#8FE3D6;
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:72px}
body{
  margin:0;background:var(--alu);color:var(--ink);
  font:400 15px/1.45 var(--f-ui);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  padding-bottom:var(--dock);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;background:var(--ink);color:var(--panel);padding:8px 14px;border-radius:var(--r-s);z-index:99}
.skip:focus{top:12px}
[hidden]{display:none!important}
time{font-variant-numeric:tabular-nums}

/* ------------------------------------------------------------------ hlavička */
.mast{background:var(--alu);position:relative;z-index:30}
.mast__in{
  max-width:var(--wrap);margin:0 auto;padding:10px 16px;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;
}
.brand{display:flex;align-items:center;gap:10px}
.mark{width:32px;height:32px;flex:none}
.mark__bg{fill:var(--glass);stroke:none}
.mark__arc{stroke:var(--glow);stroke-width:1.6;opacity:.9}
.mark__tick{stroke:var(--glow);stroke-width:1.3;opacity:.7}
.mark__needle{stroke:var(--needle);stroke-width:2.2}
.mark__hub{fill:var(--needle);stroke:none}
.brand__word{font-weight:650;font-size:19px;letter-spacing:-.02em}
.brand__word span{font-weight:350}

.bands{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;justify-self:center;padding:2px}
.bands::-webkit-scrollbar{display:none}
.band{
  display:flex;align-items:center;gap:7px;flex:none;
  padding:7px 12px 7px 10px;border-radius:999px;
  font-size:14px;font-weight:450;color:var(--ink-2);
  transition:background-color .15s,color .15s;
}
.band:hover{background:var(--panel-2);color:var(--ink)}
.band .ic{width:18px;height:18px;stroke-width:1.5}
.band.is-on{
  background:var(--panel);color:var(--ink);font-weight:600;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 0 0 1px var(--rule),0 1px 2px rgba(28,35,33,.08);
}
html[data-theme="dark"] .band.is-on{box-shadow:0 0 0 1px var(--rule)}
.led{
  min-width:7px;height:7px;border-radius:99px;background:var(--rule);
  font:600 10px/1 var(--f-num);color:#fff;display:inline-grid;place-items:center;
}
.led.is-lit{min-width:18px;height:16px;padding:0 4px;background:var(--needle);box-shadow:0 0 8px rgba(255,106,26,.55)}

.mast__tools{display:flex;align-items:center;gap:4px}
.tool{
  width:38px;height:38px;border-radius:999px;display:grid;place-items:center;
  color:var(--ink-2);position:relative;list-style:none;
}
.tool:hover{background:var(--panel-2);color:var(--ink)}
.tool svg{width:21px;height:21px}
.tool span{font:600 11px/1 var(--f-num)}
.tool--acct .dot{position:absolute;right:7px;top:8px;width:8px;height:8px;border-radius:9px;background:var(--glow);box-shadow:0 0 0 2px var(--alu);display:none}
html.signed .tool--acct .dot{display:block}

.langs{position:relative}
.langs summary::-webkit-details-marker{display:none}
.langs__panel{
  position:absolute;right:0;top:44px;z-index:50;width:min(420px,calc(100vw - 24px));
  background:var(--panel);border:1px solid var(--rule);border-radius:var(--r-m);
  box-shadow:0 18px 40px -12px rgba(16,22,20,.28);padding:8px;
  display:grid;grid-template-columns:repeat(2,1fr);gap:2px;
}
.langs__panel a{padding:8px 10px;border-radius:var(--r-s);font-size:14px}
.langs__panel a:hover{background:var(--panel-2)}
.langs__panel a[aria-current]{font-weight:650;background:var(--panel-2)}

.searchbar{
  max-width:var(--wrap);margin:0 auto;padding:0 16px 10px;display:flex;align-items:center;gap:10px;
}
.searchbar svg{width:20px;height:20px;color:var(--muted);flex:none}
.searchbar input{
  flex:1;font:inherit;font-size:16px;padding:10px 14px;border-radius:999px;
  border:1px solid var(--rule);background:var(--panel);color:var(--ink);
}
.searchbar__x{font-size:24px;width:36px;height:36px;color:var(--muted)}

.langhint{max-width:var(--wrap);margin:0 auto 8px;padding:0 16px;font-size:14px;display:flex;gap:14px;align-items:center}
.langhint a{text-decoration:underline;text-underline-offset:3px}
.langhint button{color:var(--muted)}

/* ------------------------------------------------------------------ Ladička */
.tuner{max-width:var(--wrap);margin:0 auto;padding:6px 16px 0}
.tuner__head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 22px;margin:0 0 12px}
.tuner h1{margin:0;font-size:28px;line-height:1.1;font-weight:650;letter-spacing:-.025em}
.tuner__sum{margin:0 0 3px;display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--muted);font-size:14px}
.tuner__sum b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.sum-live i{display:inline-block;width:7px;height:7px;border-radius:9px;background:var(--rule);margin-right:6px;vertical-align:1px}
.sum-live.is-on i{background:var(--needle);box-shadow:0 0 0 0 rgba(255,106,26,.6);animation:beat 1.6s infinite}
.sum-live.is-on b{color:var(--needle-ink)}

.days{margin-left:auto;display:flex;align-items:center;gap:2px;background:var(--panel);border-radius:999px;padding:3px;box-shadow:0 0 0 1px var(--rule)}
.days__d,.days__step{height:32px;display:grid;place-items:center;border-radius:999px;font-size:14px;color:var(--ink-2)}
.days__d{padding:0 12px}
.days__d:hover,.days__step:hover{background:var(--panel-2);color:var(--ink)}
.days__d.is-on{background:var(--ink);color:var(--panel);font-weight:600}
.days__step{width:32px}
.days__step svg{width:18px;height:18px}
.days__cal{position:relative;width:32px;height:32px;display:grid;place-items:center;color:var(--ink-2);border-radius:999px;cursor:pointer}
.days__cal:hover{background:var(--panel-2)}
.days__cal svg{width:18px;height:18px}
.days__cal input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}

/* ------------------------------------------------------------------ ovládání */
.controls{position:sticky;top:0;z-index:20;background:var(--alu);margin-top:12px}
.controls::after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:10px;background:linear-gradient(var(--alu),transparent);pointer-events:none;opacity:0;transition:opacity .2s}
.controls.is-stuck::after{opacity:1}
.controls__in{max-width:var(--wrap);margin:0 auto;padding:8px 16px;display:flex;align-items:center;gap:10px}
.chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:1}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:none;height:34px;padding:0 14px;border-radius:999px;font-size:14px;color:var(--ink-2);
  display:inline-flex;align-items:center;gap:7px;
  box-shadow:0 0 0 1px var(--rule);background:transparent;
}
.chip:hover{background:var(--panel)}
.chip.is-on{background:var(--ink);color:var(--panel);box-shadow:none;font-weight:550}
.chip b{font:600 11.5px var(--f-num)}
.chip--live i{width:7px;height:7px;border-radius:9px;background:var(--needle)}
.chip svg{width:15px;height:15px}
.switches{display:flex;gap:4px;flex:none}
.sw{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;color:var(--ink-2)}
.sw:hover{background:var(--panel)}
.sw[aria-pressed="true"]{background:var(--ink);color:var(--panel)}
.sw svg{width:20px;height:20px}
.sw .slash{opacity:0}
.sw[aria-pressed="true"] .slash{opacity:1}
.tunedbar{max-width:var(--wrap);margin:0 auto;padding:0 16px 8px;font-size:14px;display:flex;align-items:center;gap:12px}
.tunedbar b{font-family:var(--f-num);font-weight:600;font-size:13px}
.tunedbar button{color:var(--needle-ink);font-weight:550}

/* ------------------------------------------------------------------ rozvržení */
.layout{
  max-width:var(--wrap);margin:0 auto;padding:4px 16px 40px;
  display:grid;gap:22px;grid-template-columns:200px minmax(0,1fr) 300px;align-items:start;
}
.board{min-width:0}
.side{position:sticky;top:64px;display:grid;gap:18px;max-height:calc(100vh - 80px);overflow:auto;scrollbar-width:thin}
.side h3{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted)}
.side h3 a:hover{color:var(--ink)}
.index ul,.mystations ul{list-style:none;margin:0;padding:0;display:grid;gap:1px}
.index a,.mystations a{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:var(--r-s);font-size:13.5px;color:var(--ink-2)}
.index a:hover,.mystations a:hover{background:var(--panel);color:var(--ink)}
.index a span,.mystations a span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.index b{font:600 11px var(--f-num);color:var(--needle-ink)}
.mystations .ic{width:15px;height:15px;flex:none;color:var(--muted)}

@media (max-width:1180px){
  .layout{grid-template-columns:minmax(0,1fr) 290px}
  .side--l{display:none}
}
@media (max-width:860px){
  .layout{grid-template-columns:minmax(0,1fr)}
  .side--r{position:static;max-height:none}
  .side--r .pulse{display:none}
}

/* ------------------------------------------------------------------ výpis */
.lg{background:var(--panel);border-radius:var(--r-m);margin:0 0 10px;box-shadow:0 0 0 1px var(--rule-2);overflow:hidden}
.lg__h{display:flex;align-items:center;gap:9px;padding:9px 8px 9px 14px;border-bottom:1px solid var(--rule-2)}
.flag{width:18px;height:13px;object-fit:cover;border-radius:2px;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.flag--logo{width:16px;height:16px;object-fit:contain;box-shadow:none}
.flag--none{display:inline-block;background:var(--rule)}
.lg__t{margin:0;font-size:14px;font-weight:600;flex:1;min-width:0;display:flex;align-items:baseline;gap:8px;line-height:1.3}
.lg__t a:hover{text-decoration:underline;text-underline-offset:3px}
.lg__c{font-weight:400;color:var(--muted);font-size:13px;white-space:nowrap}
.lg__live{font:600 11px/1 var(--f-num);color:#fff;background:var(--needle);border-radius:99px;padding:4px 7px}
.ibtn{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;color:var(--muted);flex:none}
.ibtn:hover{background:var(--panel-2);color:var(--ink)}
.ibtn svg{width:18px;height:18px}
.ibtn[aria-expanded="true"]{color:var(--ink);background:var(--panel-2)}
.ibtn--star[aria-pressed="true"] svg,.row__fav.is-on svg,.chip--my svg{fill:currentColor}
.ibtn--star[aria-pressed="true"]{color:var(--needle-ink)}
.lg__info{padding:12px 14px 14px;border-bottom:1px solid var(--rule-2);background:var(--panel-2);font-size:14px}
.lg__info p{margin:0 0 10px;max-width:68ch;color:var(--ink-2)}

.facts{margin:0;display:flex;flex-wrap:wrap;gap:8px 26px}
.facts div{display:grid;gap:1px}
.facts dt{font-size:12px;color:var(--muted)}
.facts dd{margin:0;font-weight:550}
.facts a{display:inline-flex;align-items:center;gap:5px;color:var(--focus);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.facts a svg{width:14px;height:14px}
.facts--list{display:grid;gap:10px}
.facts--list div{grid-template-columns:110px 1fr;align-items:baseline}

.row{
  position:relative;display:grid;align-items:center;
  grid-template-columns:58px minmax(0,1fr) auto 40px 40px;
  min-height:var(--row);padding:0 0 0 8px;
  border-top:1px solid var(--rule-2);
  transition:background-color .12s;
}
.lg__rows .row:first-child{border-top:0}
.row:hover{background:var(--panel-2)}
.row__st{font:400 12px var(--f-num);color:var(--muted);text-align:center;white-space:nowrap}
.row.is-live .row__st{color:var(--needle-ink);font-weight:600}
.row.is-off .row__st{text-decoration:line-through}
.row__tm{display:grid;gap:3px;padding:7px 8px;min-width:0}
.tm{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink-2)}
.tm__n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row.is-fin .tm{color:var(--muted)}
.row.is-fin .tm.is-win,.row.is-live .tm,.row.is-sched .tm{color:var(--ink)}
.tm.is-win{font-weight:600}
.logo{width:18px;height:18px;object-fit:contain;flex:none}
.logo--none{display:inline-block;border-radius:5px;background:var(--rule-2)}
html.compact .logo{width:15px;height:15px}
html.compact .row__tm{gap:1px;padding:4px 8px}
.serve{width:6px;height:6px;border-radius:9px;background:#C5D62A;flex:none}
.row__sets{display:grid;gap:3px;font:400 12px var(--f-num);color:var(--muted);padding-right:4px}
.row__sets span{display:flex;gap:7px;justify-content:flex-end}
.row__sets i{font-style:normal;min-width:9px;text-align:center}
.row__sc{display:grid;gap:3px;justify-items:end;font:600 14.5px var(--f-num);padding-right:2px}
.row__sc b{font-weight:600;min-height:1.45em}
.row.is-live .row__sc{color:var(--needle-ink)}
.row.is-fin .row__sc b{color:var(--muted);font-weight:400}
.row.is-fin .tm.is-win ~ * , .row__sc b.w{color:var(--ink);font-weight:600}
.row__fav{width:40px;height:100%;display:grid;place-items:center;color:var(--rule);cursor:pointer}
.row__fav svg{width:18px;height:18px}
.row:hover .row__fav{color:var(--muted)}
.row__fav.is-on,.row:hover .row__fav.is-on{color:var(--needle-ink)}

/* živý zápas: oranžová hrana a tenká linka průběhu */
.row.is-live::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--needle)}
.row.is-live::after{
  content:"";position:absolute;left:58px;right:80px;bottom:0;height:2px;
  background:linear-gradient(90deg,var(--needle) calc(var(--p,0)*100%),var(--rule-2) 0);
  opacity:.9;
}
.row.flash{animation:flash 2.4s ease-out}
@keyframes flash{0%,30%{background:var(--needle-wash)}100%{background:transparent}}
.row.is-dim{display:none}

/* bez spoilerů */
html.spoil .row:not(.reveal) .row__sc b,
html.spoil .row:not(.reveal) .row__sets i,
html.spoil #scoreboard:not(.reveal) .bigscore__n b{
  color:transparent!important;background:var(--rule);border-radius:4px;min-width:14px;
}
html.spoil .row:not(.reveal) .row__sc{cursor:pointer}
html.spoil .row:not(.reveal) .tm.is-win{font-weight:inherit}
html.spoil .row:not(.reveal).is-fin .tm{color:var(--ink)}

.empty{background:var(--panel);border-radius:var(--r-m);padding:36px 24px;text-align:center;box-shadow:0 0 0 1px var(--rule-2)}
.empty p{margin:0 0 14px;color:var(--ink-2)}
.ad{margin:0 0 10px}
.ad:empty,.ad ins:not([data-ad-status]){min-height:0}
.ad:has(ins[data-ad-status="unfilled"]){display:none}

.seo{margin:26px 0 0;color:var(--muted);font-size:14px;max-width:72ch}
.seo h2{font-size:15px;color:var(--ink-2);margin:0 0 6px;font-weight:600}
.seo p{margin:0 0 8px}

/* ------------------------------------------------------------------ Teď se hraje */
.onair-wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.onair{
  border-radius:var(--r-l);overflow:hidden;color:#E8F3F1;
  background:
    linear-gradient(115deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 38%),
    radial-gradient(120% 140% at 50% 120%,#1A3943 0%,var(--glass) 55%,var(--glass-2) 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.75),inset 0 0 0 1px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .onair{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.onair__h{display:flex;align-items:center;gap:12px;padding:12px 18px 0}
.onair__h h2{margin:0;font-size:14px;font-weight:600;color:var(--glow);display:flex;align-items:center;gap:8px}
.onair__h h2 i{width:8px;height:8px;border-radius:9px;background:var(--glow);opacity:.6}
.onair.is-live .onair__h h2 i{background:var(--needle);opacity:1;animation:beat 1.6s infinite}
.onair__h b{font:600 12px var(--f-num);color:#fff}
.onair__more{margin-left:auto;height:28px;padding:0 12px;border-radius:999px;font:600 12px var(--f-num);color:var(--glow);box-shadow:0 0 0 1px rgba(143,227,214,.35)}
.onair__more:hover{background:rgba(143,227,214,.1)}
.onair__tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:6px 6px 8px}
.tile{position:relative;display:grid;gap:8px;padding:12px 12px 14px;border-radius:var(--r-m);color:#E8F3F1;transition:background-color .15s}
.tile:hover{background:rgba(143,227,214,.06)}
.tile + .tile::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:rgba(143,227,214,.12)}
.tile__lg{font-size:12px;color:rgba(143,227,214,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile__t{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}
.tile__n{display:flex;align-items:center;gap:9px;min-width:0;font-size:15px}
.tile__n > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile .logo--none{background:rgba(143,227,214,.12)}
.tile__t b{font:600 24px/1 var(--f-num);color:#fff;text-align:right;min-width:1ch}
.tile__st{font:600 12px var(--f-num);color:var(--needle);display:flex;gap:8px;align-items:center}
.tile.is-sched .tile__st{color:var(--glow)}
.tile__cd{font-weight:400;opacity:.75}
.tile.is-fin .tile__st{color:rgba(143,227,214,.6)}
.tile.is-live::after{content:"";position:absolute;left:12px;right:12px;bottom:6px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--needle) calc(var(--p,0)*100%),rgba(143,227,214,.16) 0)}
.tile.flash{animation:tileflash 2.4s ease-out}
@keyframes tileflash{0%,30%{background:rgba(255,106,26,.22)}100%{background:transparent}}
html.spoil .tile:not(.reveal) .tile__t b{color:transparent;background:rgba(143,227,214,.15);border-radius:4px}
@media (max-width:860px){
  .onair-wrap{padding:0 12px}
  .onair__tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 4px 6px}
  .onair__tiles::-webkit-scrollbar{display:none}
  .tile{flex:0 0 min(78%,300px);scroll-snap-align:start}
}

/* ------------------------------------------------------------------ Puls */
.pulse__lead{margin:-4px 0 10px;font-size:13px;color:var(--muted)}
.pulse__list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.pev{display:grid;grid-template-columns:44px 1fr;gap:2px 10px;padding:8px 6px;border-radius:var(--r-s);font-size:13.5px}
.pev:hover{background:var(--panel)}
.pev time{font:400 11.5px var(--f-num);color:var(--muted);padding-top:2px}
.pev__m b{font-family:var(--f-num);font-weight:600;font-size:13px;margin-right:6px}
.pev__m .sc{font-weight:600}
.pev__l{grid-column:2;font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pev__l .ic{width:13px;height:13px;flex:none}
.pev.is-new{animation:flash 3s ease-out}
.pev.is-ko .pev__m,.pev.is-ft .pev__m{color:var(--muted)}
.pulse__empty{font-size:13.5px;color:var(--muted);margin:0}

.installcard{background:var(--panel);border-radius:var(--r-m);padding:16px;box-shadow:0 0 0 1px var(--rule-2)}
.installcard p{margin:0 0 12px;font-size:14px;color:var(--ink-2)}

/* ------------------------------------------------------------------ tlačítka */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:42px;padding:0 18px;border-radius:999px;
  background:var(--ink);color:var(--panel);font-weight:550;font-size:15px;
}
.btn:hover{filter:brightness(1.15)}
.btn svg{width:18px;height:18px}
.btn--ghost{background:transparent;color:var(--ink);box-shadow:0 0 0 1px var(--rule)}
.btn--ghost:hover{background:var(--panel-2);filter:none}
.btn--ghost[aria-pressed="true"]{color:var(--needle-ink)}
.btn--ghost[aria-pressed="true"] svg{fill:currentColor}
.btn--wide{width:100%}
.btn--quiet{background:none;color:var(--muted);height:auto;padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.btn[disabled]{opacity:.5;pointer-events:none}
.follow{
  height:30px;padding:0 13px;border-radius:999px;font-size:13px;font-weight:550;
  box-shadow:0 0 0 1px var(--rule);color:var(--ink-2);background:var(--panel);
}
.follow:hover{color:var(--ink)}
.follow[aria-pressed="true"]{background:var(--ink);color:var(--panel);box-shadow:none}

/* ------------------------------------------------------------------ detail */
.detail{max-width:var(--wrap);margin:0 auto;padding:4px 16px 40px}
.crumbs{margin:0 0 12px;font-size:14px}
.crumbs a{display:inline-flex;align-items:center;gap:4px;color:var(--ink-2);padding:4px 10px 4px 4px;border-radius:999px}
.crumbs a:hover{background:var(--panel)}
.crumbs svg{width:18px;height:18px}

.scoreboard{
  border-radius:var(--r-l);padding:18px 18px 20px;color:#E8F3F1;position:relative;overflow:hidden;
  background:
    linear-gradient(115deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 38%),
    radial-gradient(120% 140% at 50% 120%,#1A3943 0%,var(--glass) 55%,var(--glass-2) 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.75),inset 0 0 0 1px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .scoreboard{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.scoreboard__lg{margin:0 0 18px;display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap;font-size:14px;color:var(--glow)}
.scoreboard__lg a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(143,227,214,.4)}
.scoreboard__round{color:rgba(143,227,214,.6)}
.scoreboard__grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:12px}
.side-team{display:grid;justify-items:center;gap:10px;text-align:center}
.side-team img,.logo--big{width:64px;height:64px;object-fit:contain}
.logo--big{border-radius:16px;background:rgba(143,227,214,.1)}
.side-team__n{margin:0;font-size:17px;font-weight:600;line-height:1.25}
.scoreboard .follow{background:transparent;color:var(--glow);box-shadow:0 0 0 1px rgba(143,227,214,.35)}
.scoreboard .follow[aria-pressed="true"]{background:var(--glow);color:var(--glass);box-shadow:none}
.bigscore{display:grid;justify-items:center;gap:8px;padding-top:6px;min-width:120px}
.bigscore__n{font:600 46px/1 var(--f-num);display:flex;gap:6px;color:#fff;letter-spacing:-.04em}
.bigscore__n i{font-style:normal;opacity:.4}
.scoreboard.is-live .bigscore__n{color:#fff;text-shadow:0 0 18px rgba(255,106,26,.35)}
.bigscore__st{font:600 13px var(--f-num);color:var(--glow);text-align:center}
.scoreboard.is-live .bigscore__st{color:var(--needle)}
.bigscore__bar{width:120px;height:3px;border-radius:3px;background:rgba(143,227,214,.18);overflow:hidden;display:none}
.scoreboard.is-live .bigscore__bar{display:block;background:linear-gradient(90deg,var(--needle) calc(var(--p,0)*100%),rgba(143,227,214,.18) 0)}
.scoreboard__acts{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:20px}
.scoreboard .btn--ghost{color:#E8F3F1;box-shadow:0 0 0 1px rgba(143,227,214,.3)}
.scoreboard .btn--ghost:hover{background:rgba(143,227,214,.08)}
.scoreboard .btn--ghost[aria-pressed="true"]{color:var(--needle)}

.detail__grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;margin-top:22px;align-items:start}
.detail__main{display:grid;gap:14px;min-width:0}
.detail__side{display:grid;gap:14px}
@media (max-width:900px){.detail__grid{grid-template-columns:1fr}}
.panel{background:var(--panel);border-radius:var(--r-m);padding:16px;box-shadow:0 0 0 1px var(--rule-2)}
.panel h3{margin:0 0 12px;font-size:15px;font-weight:600}
.panel h3 a:hover{text-decoration:underline}
.panel--league p{margin:0 0 12px;font-size:14px;color:var(--ink-2)}
.note{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.tablewrap{overflow-x:auto;margin:0 -16px;padding:0 16px}
.grid{width:100%;border-collapse:collapse;font-size:14px}
.grid th,.grid td{padding:8px 6px;text-align:center;border-bottom:1px solid var(--rule-2);white-space:nowrap}
.grid thead th{font-size:12px;color:var(--muted);font-weight:500}
.grid td{font-family:var(--f-num);font-size:13px}
.grid .l,.grid tbody th{text-align:left;font-weight:500}
.grid tbody th{display:flex;align-items:center;gap:8px;max-width:240px;overflow:hidden;text-overflow:ellipsis}
.grid tbody th img{width:16px;height:16px;object-fit:contain}
.grid tr.is-hl{background:var(--needle-wash)}
.grid tr:last-child td,.grid tr:last-child th{border-bottom:0}
@media (max-width:560px){.hide-s{display:none}}

.flow{list-style:none;margin:0;padding:0;display:grid;gap:0}
.flow__i{display:grid;grid-template-columns:52px 1fr auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--rule-2);align-items:baseline}
.flow__i:last-child{border-bottom:0}
.flow__i time{font:400 12px var(--f-num);color:var(--muted)}
.flow__i b{font-family:var(--f-num);font-weight:600;margin-right:4px}
.flow__i.is-ko,.flow__i.is-ft,.flow__i.is-cx{color:var(--muted)}
.flow__min{font:600 12px var(--f-num);color:var(--needle-ink)}

.leaguehead{background:var(--panel);border-radius:var(--r-l);padding:20px;box-shadow:0 0 0 1px var(--rule-2)}
.leaguehead__id{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.leaguehead__id img{width:56px;height:56px;object-fit:contain}
.leaguehead__id > div{flex:1;min-width:200px}
.leaguehead h1{margin:0;font-size:28px;letter-spacing:-.02em;line-height:1.15}
.leaguehead__id p{margin:4px 0 0;color:var(--muted);display:flex;gap:8px;align-items:center}
.leaguehead__about{margin-top:16px;padding-top:16px;border-top:1px solid var(--rule-2)}
.leaguehead__about p{margin:0 0 14px;max-width:68ch;font-size:15.5px;color:var(--ink-2)}
.lg--day .lg__t{gap:10px}

.lost{max-width:520px;margin:60px auto;text-align:center}
.lost h1{font-size:30px;letter-spacing:-.02em;margin:0 0 10px}
.lost p{color:var(--ink-2)}

/* ------------------------------------------------------------------ patička */
.foot{border-top:1px solid var(--rule);margin-top:20px}
.foot__in{max-width:var(--wrap);margin:0 auto;padding:28px 16px 40px;display:grid;grid-template-columns:1.4fr 1fr;gap:20px 40px;font-size:14px;color:var(--muted)}
.foot__brand .mark{width:28px;height:28px;margin-bottom:10px}
.foot__brand p{margin:0 0 6px;max-width:52ch}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px;align-content:start}
.foot nav a:hover{color:var(--ink)}
.foot__meta{grid-column:1/-1;display:flex;gap:16px;align-items:center}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:700px){.foot__in{grid-template-columns:1fr}}

/* ------------------------------------------------------------------ spodní lišta (mobil) */
.dock{display:none}
@media (max-width:860px){
  :root{--dock:calc(62px + env(safe-area-inset-bottom))}
  .dock{
    display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;
    height:var(--dock);padding-bottom:env(safe-area-inset-bottom);
    background:color-mix(in srgb,var(--panel) 92%,transparent);
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    border-top:1px solid var(--rule);
  }
  .dock__b{display:grid;justify-items:center;align-content:center;gap:3px;font-size:11.5px;color:var(--muted);position:relative}
  .dock__b svg{width:22px;height:22px}
  .dock__b.is-on{color:var(--ink);font-weight:600}
  .dock__b.is-on svg{stroke-width:2}
  .dock__dot{position:absolute;top:9px;left:calc(50% + 8px);width:8px;height:8px;border-radius:9px;background:var(--needle)}
}

/* ------------------------------------------------------------------ panel (sheet) */
.sheet{position:fixed;inset:0;z-index:80;display:grid;align-items:end;justify-items:center}
.sheet__back{position:absolute;inset:0;background:rgba(12,18,17,.45);animation:fade .2s}
.sheet__box{
  position:relative;width:min(560px,100%);max-height:min(88vh,860px);overflow:auto;
  background:var(--panel);border-radius:var(--r-l) var(--r-l) 0 0;padding:0 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow:0 -10px 50px rgba(0,0,0,.25);animation:rise .24s cubic-bezier(.2,.8,.3,1);
}
.sheet--tall .sheet__box{width:min(720px,100%);height:min(88vh,900px)}
@media (min-width:861px){
  .sheet{align-items:center}
  .sheet__box{border-radius:var(--r-l);padding-bottom:24px}
}
.sheet__h{position:sticky;top:0;background:var(--panel);display:flex;align-items:center;gap:10px;padding:18px 0 10px;z-index:2}
.sheet__h h2{margin:0;font-size:20px;letter-spacing:-.015em;flex:1}
.sheet__body{font-size:15px}
.sheet__body p{color:var(--ink-2)}
@keyframes rise{from{transform:translateY(40px);opacity:0}}
@keyframes fade{from{opacity:0}}

.form{display:grid;gap:10px;margin:14px 0}
.form label{font-size:13px;color:var(--muted)}
.input{
  width:100%;height:46px;border-radius:var(--r-s);border:1px solid var(--rule);background:var(--alu);
  color:var(--ink);font:inherit;font-size:16px;padding:0 14px;
}
.input--code{font-family:var(--f-num);font-size:22px;letter-spacing:.3em;text-align:center}
.input--key{font-family:var(--f-num);font-size:16px;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.err{color:#B42318;font-size:14px;margin:0}
html[data-theme="dark"] .err{color:#FF8A80}
.keybox{
  font:600 20px/1.3 var(--f-num);letter-spacing:.06em;text-align:center;padding:18px 12px;border-radius:var(--r-m);
  background:var(--glass);color:var(--glow);margin:14px 0;word-break:break-all;
}
.sep{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:20px 0 6px}
.sep::before,.sep::after{content:"";flex:1;height:1px;background:var(--rule)}
.opts{display:grid;gap:2px;margin:6px 0 18px}
.opt{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--rule-2)}
.opt small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.seg{display:inline-flex;background:var(--alu);border-radius:999px;padding:3px;flex:none}
.seg button{height:30px;padding:0 12px;border-radius:999px;font-size:13px;color:var(--ink-2)}
.seg button[aria-pressed="true"]{background:var(--panel);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.toggle{width:46px;height:28px;border-radius:99px;background:var(--rule);position:relative;flex:none;transition:background .15s}
.toggle::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:99px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.toggle[aria-pressed="true"]{background:var(--ink)}
.toggle[aria-pressed="true"]::after{transform:translateX(18px)}
.acct{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--r-m);background:var(--alu);margin:4px 0 6px}
.acct svg{width:22px;height:22px;color:var(--focus)}
.acct p{margin:0;color:var(--ink)!important;font-weight:550}
.acct small{color:var(--muted);font-weight:400}
.h4{font-size:13px;font-weight:600;color:var(--muted);margin:22px 0 4px}

/* Můj den v panelu */
.myday{display:grid;gap:18px}
.myday h3{margin:0 0 6px;font-size:13px;font-weight:600;color:var(--muted)}
.myday .lg{margin:0}
.myrow .row__st{font-size:11.5px}
.myrow__sp{display:block;font:400 10px var(--f-num);color:var(--muted);margin-top:2px}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 6px 0 12px;border-radius:999px;background:var(--alu);font-size:13.5px}
.tag button{width:22px;height:22px;border-radius:99px;display:grid;place-items:center;color:var(--muted)}
.tag button:hover{background:var(--rule);color:var(--ink)}

.toast{
  position:fixed;left:50%;bottom:calc(var(--dock) + 18px);transform:translateX(-50%);z-index:90;
  background:var(--ink);color:var(--panel);padding:10px 16px;border-radius:999px;font-size:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);animation:rise .2s;max-width:calc(100vw - 32px);
}
.offline-bar{background:var(--ink);color:var(--panel);text-align:center;font-size:13px;padding:6px 12px}

@keyframes beat{0%{box-shadow:0 0 0 0 rgba(255,106,26,.55)}70%{box-shadow:0 0 0 7px rgba(255,106,26,0)}100%{box-shadow:0 0 0 0 rgba(255,106,26,0)}}

/* ------------------------------------------------------------------ mobil */
@media (max-width:860px){
  html{scroll-padding-top:60px}
  .mast__in{grid-template-columns:auto 1fr;gap:6px 10px;padding:10px 12px 6px}
  .mast__tools{justify-self:end}
  .bands{grid-column:1/-1;grid-row:2;justify-self:stretch;margin:0 -12px;padding:2px 12px 4px}
  .band{padding:7px 11px 7px 9px}
  .tuner{padding:4px 12px 0}
  .tuner h1{font-size:24px}
  .days{margin-left:0;width:100%;justify-content:space-between}
  .days__d{flex:1;padding:0 6px}
  .controls__in{padding:8px 12px}
  .layout{padding:4px 12px 28px;gap:14px}
  .lg{border-radius:var(--r-m)}
  .row{grid-template-columns:52px minmax(0,1fr) auto 34px 34px}
  .row.is-live::after{left:52px;right:68px}
  .detail{padding:4px 12px 28px}
  .scoreboard{padding:16px 10px 18px}
  .bigscore{min-width:96px}
  .bigscore__n{font-size:38px}
  .side-team img,.logo--big{width:48px;height:48px}
  .side-team__n{font-size:15px}
  .scoreboard .follow{height:28px;font-size:12px;padding:0 10px}
}
@media (max-width:380px){
  .brand__word{font-size:17px}
  .row__fav{width:30px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}
}
@media print{
  .mast,.controls,.side,.dock,.ad,.foot{display:none!important}
}
