@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-600-latin-ext.a999e009fd.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: 'Archivo';
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-600-latin.7150c0ec5a.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: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BebasNeue-400-latin-ext.a724a4b6a8.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: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BebasNeue-400-latin.441b026df2.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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400i-latin-ext.207ef214ab.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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400i-latin.7be750b96f.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: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400-latin-ext.219b02c7d8.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: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400-latin.468d56b6b2.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin-ext.f1050dc531.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin.c36f509c0a.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-600-latin-ext.1b6b18fd0f.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-600-latin.ad4580d8cb.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-700-latin-ext.099842414d.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-700-latin.9e1455e6e9.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: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-600-latin-ext.bdf7c1b3c5.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: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-600-latin.35f7e628ec.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: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-700-latin-ext.0b49d495ac.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: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-700-latin.7597c31a95.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;
}

:root {
  --bg:#0b0c0e; --bg2:#14161a; --ink:#f4f1ea; --muted:#9a958c; --line:rgba(244,241,234,.12);
  --accent:#e10600; --accent2:#ff4d2e; --amber:#ffb400; --chip:#1c1f26; --card:#12141a;
  --crest-bg:#1a1d24; --good:#3dd68c;
}
* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body { font-family:"DM Sans",system-ui,sans-serif; background:var(--bg); color:var(--ink); line-height:1.45; }
a { color:inherit; text-decoration:none; line-height:inherit; }
img { max-width:100%; display:block; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 28px;
  border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; background:rgba(11,12,14,.92); backdrop-filter:blur(10px); }
.brand { display:inline-flex; align-items:center; gap:10px; }
.brand img.brand-oh {
  width:58px; height:58px; object-fit:contain;
  background:transparent; border:0; padding:0; border-radius:0;
}
.brand-sep { width:1px; height:22px; background:var(--line); flex-shrink:0; }
.brand img.brand-esa { width:auto; height:26px; object-fit:contain; border-radius:0; background:transparent; opacity:.92; }
nav { display:flex; gap:4px; color:var(--muted); font-size:13px; font-family:"IBM Plex Mono",monospace; }
nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; padding:0 8px; }
.wrap { width:min(1180px, calc(100% - 40px)); margin:0 auto; padding:28px 0 64px; }
.hero {
  position:relative; isolation:isolate; overflow:hidden; border-radius:16px;
  display:grid; grid-template-columns:110px minmax(0,1fr); gap:22px; align-items:start;
  margin-bottom:18px; padding:18px 18px 14px; border:1px solid var(--line); background:var(--card);
}
.hero::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px; z-index:2; pointer-events:none;
  background:var(--hero-accent, transparent); box-shadow:0 1px 0 rgba(0,0,0,.55);
}
.hero .hero-venue { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero .hero-venue img {
  width:100%; height:100%; object-fit:cover; object-position:center 40%;
  opacity:.45; filter:saturate(.75);
}
.hero .hero-venue::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,12,14,.30) 0%, rgba(11,12,14,.78) 68%, var(--card) 100%);
}
@media (max-width:640px) { .hero .hero-venue img { opacity:.38; } }
.crest-xl { width:110px; height:110px; border-radius:28px; background:var(--crest-bg); border:1px solid var(--line);
  display:grid; place-items:center; padding:12px; overflow:hidden; position:relative; z-index:1; }
.crest-xl.wieczysta { background:#fff; padding:16px; }
.crest-xl img { width:100%; height:100%; object-fit:contain; }
.hero-main { min-width:0; display:flex; flex-direction:column; gap:14px; position:relative; z-index:1; }
.hero-main h1 {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(38px,5.4vw,58px);
  margin:0; line-height:1; letter-spacing:.02em; text-transform:uppercase;
}
.sysinfo {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:0;
  border-top:1px solid var(--line);
}
.sysinfo > div { padding:10px 14px; border-left:1px solid var(--line); min-width:0; }
.sysinfo > div:first-child { padding-left:0; border-left:none; }
.sysinfo .k {
  color:var(--muted); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  font-family:"IBM Plex Mono",monospace;
}
.sysinfo .v { color:var(--ink); font-size:13px; margin-top:3px; font-weight:600; line-height:1.25; }
.coach-badge {
  font-size:9px; letter-spacing:.04em; text-transform:uppercase; font-weight:500;
  color:var(--muted); border:1px solid var(--line); border-radius:4px; padding:1px 4px;
  white-space:nowrap;
}
.next-fixture {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  border:1px solid rgba(225,6,0,.45); border-radius:14px; padding:14px 18px; margin-bottom:18px;
  background:linear-gradient(180deg, rgba(225,6,0,.10), transparent);
}
.next-fixture .nf-lbl {
  display:block; font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent2); margin-bottom:4px;
}
.next-fixture .nf-match {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(18px,2.6vw,24px);
  letter-spacing:.02em; line-height:1.1;
}
.next-fixture .nf-right { text-align:right; }
.next-fixture .nf-when {
  font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--muted); margin-bottom:4px;
}
.next-fixture .nf-cd {
  font-family:"IBM Plex Mono",monospace; font-size:14px; font-weight:600; color:var(--amber);
}
.next-fixture.empty-nm { opacity:.75; border-color:var(--line); background:var(--card); }
.match-rail {
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px;
}
.match-rail > * { min-width:0; }
.mc-card {
  border:1px solid var(--line); border-radius:14px; padding:14px 16px;
  background:var(--card);
}
.mc-card.mc-next {
  border-color:rgba(225,6,0,.45);
  background:linear-gradient(180deg, rgba(225,6,0,.10), transparent);
}
.mc-lbl {
  display:block; font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); margin-bottom:6px;
}
.mc-card.mc-next .mc-lbl { color:var(--accent2); }
.mc-pair {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(17px,2.4vw,22px);
  letter-spacing:.02em; line-height:1.15; margin-bottom:4px;
}
.mc-pair .me { color:var(--amber); }
.mc-score {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(22px,3vw,28px);
  letter-spacing:.04em; margin:2px 0 8px;
}
.mc-meta {
  font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--muted); margin-bottom:8px;
}
/* „Ostatni mecz” (KD 07.10.2026): wynik duży przy drużynach, zdarzenia w dwóch kolumnach, paski statystyk */
.match-rail { grid-template-columns:1fr; align-items:stretch; }
@media (min-width:900px) {
  .mc-last { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:32px; align-items:start; }
  .mc-last > .mc-lbl, .mc-last > .mc-head { grid-column:1 / -1; }
  .mc-last .lm-events { grid-column:1; margin-top:6px; }
  .mc-last .lm-stats { grid-column:2; margin-top:6px; padding-top:0; border-top:0; }
}
.mc-next { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 24px; padding-right:110px; min-height:104px; }
.mc-next > .mc-lbl, .mc-next > .mc-head { grid-column:1; }
.mc-next .nf-cd { grid-column:2; grid-row:1 / span 2; font:700 clamp(26px,3.4vw,38px)/1.1 "Rajdhani",sans-serif; letter-spacing:.02em; }
.mc-next .nx { position:absolute; right:14px; top:50%; transform:translateY(-50%); width:88px; height:88px; object-fit:contain; }
.mc-head { min-height:44px; }
details.transfers-panel > summary { min-height:44px; }
.mc-last { position:relative; }
.lm-teams { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px 14px; margin:2px 0 4px; }
.lm-team { display:flex; align-items:center; gap:10px; min-width:0; font-family:"Rajdhani",sans-serif; font-weight:700;
  font-size:clamp(17px,2.2vw,22px); line-height:1.1; letter-spacing:.02em; }
.lm-team.lm-away { justify-content:flex-end; text-align:right; }
.lm-name { min-width:0; overflow-wrap:anywhere; }
.lm-name .me { color:var(--amber); }
.lm-crest { width:44px; height:44px; object-fit:contain; flex:none; }
.lm-score { display:inline-flex; align-items:baseline; gap:6px; font-family:"Rajdhani",sans-serif; font-weight:700;
  font-size:clamp(40px,6vw,60px); line-height:.9; font-variant-numeric:tabular-nums; }
.lm-score i { font-style:normal; color:var(--muted); font-size:.6em; }
.lm-events { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); }
.lm-col { min-width:0; }
.lm-col h4 { margin:0 0 6px; font:600 11px/1.2 "IBM Plex Mono",monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.lm-col ul { list-style:none; margin:0; padding:0; display:grid; gap:5px; }
.lm-ev { display:flex; align-items:center; gap:7px; font-size:13px; line-height:1.25; }
.lm-ev small { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.lm-min { min-width:42px; font:500 12px "IBM Plex Mono",monospace; color:var(--muted); font-variant-numeric:tabular-nums; }
.lm-ic { width:16px; height:16px; flex:none; background:var(--amber); -webkit-mask:var(--m) center / contain no-repeat; mask:var(--m) center / contain no-repeat; }
.lm-ic.goal { --m:url(ui/ic/ball.png); background:var(--ink); }
.lm-none { color:var(--muted); font-size:12px; }
.lm-ev .ev-our { color:var(--amber); font-weight:600; }
.lm-ev .ev-opp { color:var(--ink); }
.lm-stats { margin-top:14px; padding-top:12px; border-top:1px dashed var(--line); }
.lm-stats-h { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:8px; min-height:40px; }
.lm-stats-h span { font:600 11px/1.2 "IBM Plex Mono",monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.lm-mascot { width:72px; height:72px; object-fit:contain; margin:-30px 0 -6px; flex:none; }
.lm-stats ul { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.lm-st { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:10px; }
.lm-st b { font:700 16px/1 "Rajdhani",sans-serif; font-variant-numeric:tabular-nums; }
.lm-st b:first-child { text-align:left; } .lm-st b:last-child { text-align:right; }
.lm-st .our { color:var(--amber); } .lm-st .opp { color:var(--ink); }
.lm-bar { display:grid; gap:4px; min-width:0; }
.lm-bar em { font-style:normal; font-size:12px; color:var(--muted); text-align:center; }
.lm-track { display:flex; height:8px; border-radius:999px; overflow:hidden; gap:2px; background:var(--line); }
.lm-track i { display:block; height:100%; min-width:3px; }
.lm-track i.our { background:var(--amber); } .lm-track i.opp { background:#5f7080; }
@media (max-width:720px) {
  .match-rail { grid-template-columns:1fr; }
  .lm-teams { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:6px 8px; }
  .lm-team, .lm-team.lm-away { justify-content:center; text-align:center; flex-direction:column; gap:4px; font-size:15px; }
  .lm-score { font-size:44px; }
  .mc-next { display:block; padding-right:76px; }
  .mc-next .nf-cd { margin-top:6px; }
  .mc-next .nx { width:60px; height:60px; }
  .lm-events { grid-template-columns:1fr; }
}
/* B4c: naglowek ostatniego meczu = link na strone meczu (bez wygladu surowego linku) */
.mc-head {
  display:block; color:inherit; text-decoration:none; border-radius:8px;
  transition:color var(--dur-1, 120ms) ease;
}
.mc-head .mc-go {
  margin-left:8px; color:var(--muted); opacity:.55;
  transition:opacity var(--dur-1, 120ms) ease, color var(--dur-1, 120ms) ease, transform var(--dur-1, 120ms) ease;
  display:inline-block;
}
/* podkreslenie, NIE przekolorowanie — .mc-pair .me musi zostac amber (klub) */
.mc-head:hover .mc-pair, .mc-head:focus-visible .mc-pair {
  text-decoration:underline; text-decoration-color:var(--amber);
  text-decoration-thickness:2px; text-underline-offset:3px;
}
.mc-head:focus-visible .mc-go {
  color:var(--amber); opacity:1; transform:translateX(3px);
} @media (hover: hover) { .mc-head:hover .mc-go {
  color:var(--amber); opacity:1; transform:translateX(3px);
} }
.mc-head:focus-visible { outline:2px solid var(--amber); outline-offset:4px; }
@media (prefers-reduced-motion:reduce) {
  .mc-head, .mc-head .mc-go { transition:none; }
  .mc-head:hover .mc-go, .mc-head:focus-visible .mc-go { transform:none; }
}
@media (max-width:720px) {
  .match-rail { grid-template-columns:1fr; }
  .mc-card { overflow-x:hidden; }
}
.pill { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase;
  background:var(--chip); border:1px solid var(--line); padding:7px 10px; border-radius:999px; color:var(--muted);
  white-space:nowrap; flex-shrink:0; }
.pill strong { color:var(--ink); }
.pill.empty { border-style:dashed; color:var(--accent2); }
.card-ico {
  display:inline-block; width:9px; height:12px; border-radius:1.5px; vertical-align:-1px;
  box-shadow:0 0 0 1px rgba(0,0,0,.35);
}
.card-ico.yc { background:#f5d000; }
.card-ico.rc { background:#e10600; }
.card-slash { color:var(--muted); margin:0 1px; font-size:10px; vertical-align:1px; }
.cards-pair { font-variant-numeric:tabular-nums; white-space:nowrap; }
.cards-yc { color:#f5d000; font-weight:600; }
.cards-rc { color:#ff4d4d; font-weight:600; }
.cards-sep { color:var(--muted); margin:0 1px; }
.squad-m-stats .cards-k { display:inline-flex; align-items:center; gap:1px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.panel-solo { margin-bottom:14px; }
.panel-solo > .panel { margin-bottom:0; }
.grid-2 > .panel { align-self:start; }
.panel { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px; margin-bottom:14px; }
.panel h2 {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:22px; letter-spacing:.04em;
  text-transform:uppercase; margin:0 0 12px;
  display:flex; justify-content:space-between; gap:10px; align-items:baseline;
}
.panel h2 span { font-family:"IBM Plex Mono",monospace; font-size:11px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
/* K-KLUBY-3-NAPRAWY: transfery jako natywny <details>, domknięty na starcie —
   sekcja zajmowała ~11% wysokości strony rozwinięta na sztywno (audyt 16.09.2026). */
details.transfers-panel { cursor:default; }
details.transfers-panel > summary {
  cursor:pointer; list-style:none; margin:0 0 12px;
}
details.transfers-panel > summary::-webkit-details-marker { display:none; }
details.transfers-panel > summary::marker { content:""; }
details.transfers-panel > summary h2 { margin:0; }
details.transfers-panel > summary h2::after {
  content:"▾"; display:inline-block; margin-left:10px; color:var(--muted);
  font-family:"IBM Plex Mono",monospace; font-size:14px; transition:transform var(--dur-1, 120ms) ease;
  vertical-align:middle;
}
details.transfers-panel[open] > summary h2::after { transform:rotate(180deg); }
details.transfers-panel > summary:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.row .me { color:var(--good); font-weight:700; }
.feed-row { display:grid; grid-template-columns:72px 1fr; gap:10px; padding:10px 0; border-top:1px solid var(--line); font-size:13px; }
.feed-row:first-of-type { border-top:0; }
.feed-row .when { color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; }
.feed-row .tag {
  display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--amber); margin-bottom:3px;
}
.feed-row .tag-low {
  display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:9px; letter-spacing:.04em;
  text-transform:uppercase; color:var(--muted); border:1px solid var(--line); border-radius:3px;
  padding:1px 5px; margin-left:6px;
}
.feed-row .txt { line-height:1.35; }
.xfer-split { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.xfer-group { margin-bottom:0; min-width:0; }
.xfer-head {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:14px; letter-spacing:.06em; text-transform:uppercase;
  margin:0 0 10px; padding-bottom:8px; border-bottom:1px solid var(--line);
}
.xfer-head.in { color:var(--good); }
.xfer-head.out { color:var(--accent2); }
.xfer-row {
  display:grid; grid-template-columns:28px 40px 1fr; gap:10px; align-items:center;
  padding:8px 0; border-top:1px solid var(--line); font-size:13px;
}
.xfer-group .xfer-row:first-of-type { border-top:0; }
.xfer-dir {
  width:28px; height:28px; border-radius:8px; display:grid; place-items:center;
  font-size:15px; font-weight:700; line-height:1;
}
.xfer-dir.in { color:var(--good); background:rgba(61,214,140,.12); }
.xfer-dir.out { color:var(--accent2); background:rgba(225,6,0,.12); }
.xfer-row .avatar { width:40px; height:40px; }
.xfer-row .txt { line-height:1.3; min-width:0; }
.xfer-row .pname { font-weight:600; }
.xfer-row .pmeta { color:var(--muted); font-size:12px; margin-top:2px; }
@media (max-width:720px) {
  .xfer-split { grid-template-columns:1fr; }
}
.row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
a.row { color:inherit; text-decoration:none; min-height:44px; align-items:center; }
.row-res { display:grid; grid-template-columns:minmax(104px,auto) minmax(0,1fr) auto 18px; align-items:center; gap:10px; }
.row-res b { text-align:center; min-width:0; overflow-wrap:anywhere; }
.row-res .sc { min-width:56px; text-align:center; font:700 19px/1 "Rajdhani",sans-serif; padding:6px 10px; border-radius:9px; background:var(--bg2);
  font-variant-numeric:tabular-nums; border:1px solid var(--line); }
.row-res .sc.w { color:var(--good); border-color:rgba(61,214,140,.45); } .row-res .sc.l { color:#ff7a7a; border-color:rgba(255,122,122,.4); }
@media (max-width:560px) { .row-res { grid-template-columns:minmax(0,1fr) auto; } .row-res .k { grid-column:1 / -1; } .row-res .mc-go { display:none; } }
a.row:hover { color:var(--cyan); }
.row:first-of-type { border-top:0; }
.row .k { color:var(--muted); }
.note { color:var(--muted); font-size:13px; margin:8px 0 12px; }
.squad-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:var(--bg2); }
.squad-table { width:100%; border-collapse:collapse; min-width:780px; }
.squad-table thead th {
  position:sticky; top:0; z-index:1; background:#181b22;
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); text-align:right; padding:12px 10px; border-bottom:1px solid var(--line); font-weight:600;
}
.squad-table thead th.player-col { text-align:left; padding-left:14px; }
.squad-table tbody tr { transition:background var(--dur-1, 120ms) ease; }
.squad-table tbody tr:hover { background:rgba(255,255,255,.035); }
.squad-table td {
  padding:9px 10px; text-align:right; font-variant-numeric:tabular-nums; font-size:13px;
  border-top:1px solid var(--line); color:var(--ink); white-space:nowrap;
}
.squad-table td.player-col { text-align:left; padding-left:14px; white-space:normal; }
.squad-table td.muted { color:var(--muted); }
/* Atak / Obrona 26/27: przełącznik Tabela / Oś (KD 17.11). Oba widoki w jednej komórce siatki, nieaktywny visibility:hidden: wysokość stała, zero CLS. */
.ao { --ao-or:#ff6a1a; --ao-gold:#ffc83d; --ao-ok:#5fd38a; --ao-bad:#ff7a8e; }
.ao h2 { flex-wrap:wrap; row-gap:2px; }
.ao h2 span { text-transform:none; letter-spacing:0; font-size:12px; white-space:nowrap; }
.ao-seg { display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; margin:0 0 10px; }
.ao-seg button { background:none; color:var(--muted); border:0; min-height:44px; min-width:76px; padding:0 16px; font:600 13px "DM Sans",system-ui,sans-serif; cursor:pointer;
  transition:background var(--dur-1, 120ms) ease, color var(--dur-1, 120ms) ease; }
.ao-seg button[aria-pressed="true"] { background:var(--ao-or); color:#0b0c0e; }
.ao-seg button:focus-visible { outline:2px solid var(--ao-or); outline-offset:-2px; }
.ao-sw { display:grid; max-width:560px; }
.ao-sw > div { grid-area:1 / 1; min-width:0; }
.ao-sw > div[hidden] { display:block !important; visibility:hidden; }
.ao-num { font:600 15px "IBM Plex Mono",monospace; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ao-pos { color:var(--ao-ok); } .ao-neg { color:var(--ao-bad); } .ao-mut { color:var(--muted); }
.ao-vh { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ao-t { width:100%; border-collapse:collapse; }
.ao-t thead th { font:500 11px "IBM Plex Mono",monospace; letter-spacing:.1em; color:var(--muted); text-align:right; text-transform:uppercase; padding:0 0 6px 14px; }
.ao-t tbody th { font:400 13px "DM Sans",system-ui,sans-serif; text-align:left; padding:9px 0; border-top:1px solid var(--line); }
.ao-t td { text-align:right; padding:9px 0 9px 14px; border-top:1px solid var(--line); min-width:78px; position:relative; }
.ao-t thead td { border-top:0; }
.ao-t td i { display:block; font:500 11px "IBM Plex Mono",monospace; font-style:normal; }
.ao-o .ao-lg { display:flex; flex-wrap:wrap; gap:6px 14px; font:500 11px "IBM Plex Mono",monospace; color:var(--muted); margin-bottom:6px; }
.ao-lo { color:var(--ao-or); } .ao-lw { color:var(--ao-gold); }
.ao-r { display:grid; grid-template-columns:78px minmax(0,1fr); gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--line); }
.ao-n { font:600 13px "DM Sans",system-ui,sans-serif; line-height:1.15; }
.ao-ax { position:relative; height:34px; }
.ao-ax::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:1px; background:var(--line); }
/* pasek = połowa osi minus miejsce na etykietę (do 5 znaków, np. „+10,4”, + odstęp = 46 px): etykieta zawsze mieści się w osi i w karcie (KD 17.11) */
.ao-bar { position:absolute; height:12px; border-radius:3px; width:calc((50% - 46px) * var(--k, 0)); }
.ao-pl { left:50%; } .ao-mi { right:50%; }
.ao-bar span { position:absolute; top:50%; transform:translateY(-50%); font:600 11px "IBM Plex Mono",monospace; white-space:nowrap; color:var(--ink); }
.ao-h { top:2px; background:var(--ao-or); } .ao-a { top:19px; background:var(--ao-gold); opacity:.85; }
.ao-r2 .ao-num { text-align:right; }
@media (max-width:380px) { .ao-num { font-size:13.5px; } .ao-t td { padding-left:8px; min-width:70px; } }
@media (prefers-reduced-motion:reduce) { .ao-seg button { transition:none; } }
.player-cell { display:flex; align-items:center; gap:12px; min-width:200px; }
.avatar {
  width:40px; height:40px; border-radius:50%; object-fit:cover; object-position:top;
  background:var(--crest-bg); flex-shrink:0; border:1px solid var(--line);
}
.avatar.fallback {
  display:grid; place-items:center; color:#fff;
  font-family:"Bebas Neue",sans-serif; font-size:15px; letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  background-size:cover !important;
  background-position:center !important;
  border:none;
}
.avatar.koszulka { background:none; border:none; border-radius:0; display:block; }
.avatar.transfer-fallback {
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; color:#fff;
  font-family:"Bebas Neue",sans-serif; font-size:14px; letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  flex-shrink:0; border:none;
}
.pname { font-weight:600; font-size:14px; line-height:1.2; }
.nat-flag{display:inline-block;width:16px;height:11px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.18);vertical-align:-1px;margin-right:5px}
.pmeta { color:var(--muted); font-size:11px; font-family:"IBM Plex Mono",monospace; margin-top:2px; }
.pos-chip {
  display:inline-block; min-width:28px; text-align:center; font-family:"IBM Plex Mono",monospace;
  font-size:10px; letter-spacing:.06em; padding:3px 6px; border-radius:6px;
  background:rgba(255,180,0,.10); color:var(--amber); border:1px solid rgba(255,180,0,.28);
}
.pos-group td {
  text-align:left !important; padding:14px 14px 8px; border-top:1px solid var(--line);
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--amber); background:rgba(255,180,0,.05);
}
.empty { border:1px dashed var(--line); border-radius:12px; padding:16px; color:var(--muted); font-size:13px; }
@media (max-width:720px) {
  .squad-table { min-width:0; }
  .squad-table td,.squad-table th { font-size:11px; padding:8px 6px; }
  /* telefon: kolumny M, G, A zostają; Min, Strz, Sot, Faule, kartki są w belce zawodnika (Player Index) */
  .squad-table th:nth-child(4), .squad-table td:nth-child(4),
  .squad-table th:nth-child(n+7):nth-child(-n+10), .squad-table td:nth-child(n+7):nth-child(-n+10) { display:none; }
  .squad-table td.player-col, .squad-table th.player-col { min-width:0; padding-left:6px; }
  .player-cell { min-width:0; gap:8px; }
  /* 360 px: tabela kadry bez przewijania w poziomie (decyzja PM 07.10). Celem dotyku jest cały wiersz, strzałka to ozdobnik. */
  .squad-table .avatar { width:32px; height:32px; }
  .squad-table tr.pi-row > td:last-child, .squad-table thead th:last-child { padding-left:2px; padding-right:6px; }
  .squad-table .pi-chev { width:20px; height:20px; }
  .squad-table .pname { overflow-wrap:anywhere; hyphens:auto; }
}
.club-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.club-card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; display:flex;
  flex-direction:column; align-items:center; gap:10px; text-align:center; transition:border-color var(--dur-2, 200ms), transform var(--dur-2, 200ms); }
@media (hover: hover) { .club-card:hover { border-color:var(--accent); transform:translateY(-2px); } }
.club-card .crest { width:56px; height:56px; border-radius:50%; background:var(--crest-bg); padding:8px; border:1px solid var(--line); overflow:hidden; }
.club-card .crest.wieczysta { background:#fff; padding:10px; }
.club-card .crest img { width:100%; height:100%; object-fit:contain; }
.club-card strong { font-size:14px; }
.club-card small { color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; }
.h2h-list { max-width: 36rem; }
.h2h-row {
  display:grid; grid-template-columns:4.5rem minmax(0,1fr) 2.75rem; column-gap:14px;
  align-items:center; padding:8px 0; border-top:1px solid var(--line); font-size:13px;
}
.h2h-row:first-of-type { border-top:0; }
.h2h-row .when {
  color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; line-height:1.35;
}
.h2h-row .pair { min-width:0; }
.h2h-row .score {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:20px; line-height:1;
  text-align:right; color:var(--good); letter-spacing:.02em; font-variant-numeric:tabular-nums;
}
@media (max-width:720px) {
  .hero,.grid-2 { grid-template-columns:1fr; }
  .next-fixture .nf-right { text-align:left; }
  .sysinfo > div { border-left:none; padding-left:0; border-top:1px solid var(--line); }
  .sysinfo > div:first-child { border-top:none; }
  .topbar { padding:12px 16px; }
  .wrap { width:calc(100% - 24px); }
}

.about-page { max-width:720px; margin:0 auto; padding:28px 18px 48px; }
.about-page .lead { font-size:1.08rem; line-height:1.55; color:#e5e7eb; margin:0 0 1.1rem; }
.about-page .lead + .lead { margin-top:-0.35rem; }
.about-page h1 { font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(1.6rem,4vw,2.1rem);
  letter-spacing:.02em; margin:0 0 1rem; color:#f8fafc; line-height:1.15; }
.about-page h2 { font-family:"Rajdhani",sans-serif; font-weight:700; font-size:1.35rem;
  margin:1.75rem 0 .65rem; color:#f1f5f9; }
.about-page h3 { font-family:"Rajdhani",sans-serif; font-weight:650; font-size:1.08rem;
  margin:1.15rem 0 .4rem; color:#e2e8f0; }
.about-page p { margin:0 0 .85rem; line-height:1.55; color:#d1d5db; font-size:.98rem; }
.about-cta-row { display:flex; flex-wrap:wrap; gap:10px; margin:1.1rem 0 0; }
.about-cta {
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:10px; font-weight:650; font-size:.95rem;
  text-decoration:none; border:1px solid rgba(255,255,255,.12);
}
.about-cta.primary { background:rgba(34,211,238,.16); color:#e0f7fa; border-color:rgba(34,211,238,.35); }
.about-cta.secondary { background:rgba(255,255,255,.05); color:#e5e7eb; }
.about-cta:hover { border-color:rgba(34,211,238,.55); }
.about-kicker {
  font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted,#94a3b8); margin:0 0 8px;
}
@media (max-width:560px) {
  .about-page { padding:20px 14px 40px; }
  .about-cta { width:100%; }
}
.about-jubilee-wrap { max-width:720px; margin:0 auto; padding:20px 18px 0; }
@media (max-width:560px) { .about-jubilee-wrap { padding:16px 14px 0; } }

/* Animated jubilee banner — style lab jubileusz_banner_animowany_niski (scaled-up type/logos) */
.jub-anim {
  position:relative; overflow:hidden; border:1px solid var(--line); border-radius:20px;
  background:var(--card); min-height:260px; display:flex; align-items:center; justify-content:center;
  margin:0 0 18px;
}
.jub-anim .bg-glow {
  position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse at 50% 40%, rgba(255,77,46,.13), transparent 60%);
  animation:jub-glow-breathe 6s ease-in-out infinite;
}
@keyframes jub-glow-breathe { 0%,100%{ opacity:.7; } 50%{ opacity:1; } }
.jub-anim .confetti-field { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.jub-anim .confetti-piece {
  position:absolute; top:-14px; width:8px; height:8px; opacity:.95;
  animation:jub-confetti-fall linear forwards;
}
@keyframes jub-confetti-fall {
  0% { transform:translateY(0) rotate(0deg); opacity:1; }
  85% { opacity:1; }
  100% { transform:translateY(240px) rotate(560deg); opacity:0; }
}
.jub-anim .scene {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; padding:16px 24px; text-align:center; opacity:0; pointer-events:none;
  transform:scale(.94) translateY(6px);
  transition:opacity .55s ease, transform .6s var(--ease-snap, cubic-bezier(.34, 1.4, .64, 1));
}
.jub-anim .scene.active { opacity:1; pointer-events:auto; transform:scale(1) translateY(0); }
.jub-anim .progress-dots {
  position:absolute; left:50%; bottom:16px; transform:translateX(-50%); display:flex; gap:7px; z-index:5;
}
.jub-anim .progress-dots .dot {
  width:6px; height:6px; border-radius:50%; background:var(--line);
  transition:background var(--dur-3, 300ms) ease, transform var(--dur-3, 300ms) ease;
}
.jub-anim .progress-dots .dot.on { background:#ff4d2e; transform:scale(1.3); }
.jub-anim .a-headline {
  display:flex; align-items:center; gap:16px; margin:0; font-family:"Rajdhani",sans-serif; font-weight:700;
  font-size:clamp(19px,3.2vw,30px); letter-spacing:.03em; text-transform:uppercase; color:var(--ink);
}
.jub-anim .a-headline .hl-rule { width:40px; height:2px; background:linear-gradient(90deg, transparent, #ff4d2e); }
.jub-anim .a-headline .hl-rule.r { background:linear-gradient(90deg, #ff4d2e, transparent); }
.jub-anim .hl-words { display:flex; gap:.4em; flex-wrap:wrap; justify-content:center; }
.jub-anim .hl-words span { display:inline-block; opacity:0; transform:translateY(12px); }
.jub-anim .scene#scene-a.active .hl-words span {
  animation:jub-word-in .5s var(--ease-snap, cubic-bezier(.34, 1.4, .64, 1)) forwards;
}
.jub-anim .scene#scene-a.active .hl-words span:nth-child(1) { animation-delay:.05s; }
.jub-anim .scene#scene-a.active .hl-words span:nth-child(2) { animation-delay:.18s; }
.jub-anim .scene#scene-a.active .hl-words span:nth-child(3) { animation-delay:.30s; }
.jub-anim .scene#scene-a.active .hl-words span:nth-child(4) { animation-delay:.42s; }
@keyframes jub-word-in { to { opacity:1; transform:translateY(0); } }
.jub-anim .b-logo { height:clamp(30px,4.6vw,52px); width:auto; opacity:0; transform:scale(.5); }
.jub-anim .scene#scene-b.active .b-logo {
  animation:jub-pop-in .6s var(--ease-snap, cubic-bezier(.34, 1.4, .64, 1)) .1s forwards;
}
@keyframes jub-pop-in { to { opacity:1; transform:scale(1); } }
.jub-anim .b-year {
  font-family:"IBM Plex Mono",monospace; font-size:clamp(11px,1.6vw,15px); letter-spacing:.14em; color:var(--muted); opacity:0;
}
.jub-anim .scene#scene-b.active .b-year { animation:jub-fade-up .5s ease .45s forwards; }
@keyframes jub-fade-up {
  from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);}
}
.jub-anim .b-100-wrap { position:relative; display:flex; align-items:baseline; justify-content:center; }
.jub-anim .b-100 {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(54px,9.5vw,100px); line-height:.85;
  color:var(--ink); text-shadow:0 0 40px rgba(255,77,46,.4); font-variant-numeric:tabular-nums; min-width:2.1ch;
}
.jub-anim .b-burst {
  position:absolute; left:50%; top:50%; width:10px; height:10px; margin:-5px 0 0 -5px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.95), rgba(255,120,60,.5) 40%, transparent 72%);
  opacity:0; pointer-events:none;
}
.jub-anim .b-burst.pop { animation:jub-burst-pop .7s ease-out forwards; }
@keyframes jub-burst-pop {
  0%{ opacity:0; transform:scale(.2);} 15%{ opacity:1;} 100%{ opacity:0; transform:scale(14);}
}
.jub-anim .b-lat {
  font-family:"IBM Plex Mono",monospace; font-size:clamp(11px,1.6vw,15px); letter-spacing:.26em; text-transform:uppercase;
  color:#ff4d2e; opacity:0;
}
.jub-anim .scene#scene-b.active .b-lat { animation:jub-fade-up .5s ease .75s forwards; }
.jub-anim .c-row { display:flex; align-items:flex-start; gap:56px; flex-wrap:wrap; justify-content:center; }
.jub-anim .c-side { display:flex; flex-direction:column; align-items:center; gap:10px; opacity:0; transform:scale(.6); }
.jub-anim .scene#scene-c.active .c-side.left {
  animation:jub-pop-in .55s var(--ease-snap, cubic-bezier(.34, 1.4, .64, 1)) .05s forwards;
}
.jub-anim .scene#scene-c.active .c-side.right {
  animation:jub-pop-in .55s var(--ease-snap, cubic-bezier(.34, 1.4, .64, 1)) .3s forwards;
}
.jub-anim .c-logo-box { height:clamp(24px,3.8vw,44px); display:flex; align-items:center; justify-content:center; }
.jub-anim .c-logo { height:clamp(24px,3.8vw,44px); width:auto; }
.jub-anim .c-logo.oh { height:clamp(17px,2.7vw,31px); }
.jub-anim .c-num-block { display:flex; flex-direction:column; align-items:center; gap:2px; }
.jub-anim .c-cap {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(24px,4.2vw,40px);
  letter-spacing:.02em; text-transform:uppercase; color:var(--ink); line-height:1;
}
.jub-anim .c-sub {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(13px,2vw,18px);
  letter-spacing:.05em; text-transform:uppercase; color:#ff4d2e;
}
.jub-anim .d-logos { display:flex; align-items:center; gap:16px; opacity:0; transform:translateY(10px); }
.jub-anim .scene#scene-d.active .d-logos { animation:jub-fade-up .5s ease .05s forwards; }
.jub-anim .d-logo { height:clamp(19px,3vw,32px); width:auto; }
.jub-anim .d-logo.oh { height:clamp(14px,2.1vw,23px); }
.jub-anim .d-x { color:var(--muted); font-size:clamp(12px,1.6vw,16px); }
.jub-anim .d-tagline {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(19px,3.4vw,30px); line-height:1.15;
  margin:0; color:var(--ink); opacity:0; transform:translateY(10px);
}
.jub-anim .scene#scene-d.active .d-tagline { animation:jub-fade-up .55s ease .28s forwards; }
.jub-anim .d-url {
  font-family:"IBM Plex Mono",monospace; font-weight:600; font-size:clamp(12px,1.7vw,16px); letter-spacing:.1em;
  color:#22d3ee; opacity:0; transform:translateY(8px);
}
.jub-anim .scene#scene-d.active .d-url { animation:jub-fade-up .5s ease .58s forwards; }
@media (max-width:640px) {
  .jub-anim { min-height:300px; }
  .jub-anim .c-row { gap:26px; }
}
@media (prefers-reduced-motion: reduce) {
  .jub-anim .scene { transition:opacity var(--dur-3, 300ms) ease; transform:none !important; }
  .jub-anim .bg-glow { animation:none; }
  /* globalna reguła ruchu wyłącza animacje wejścia (fill forwards), więc pokazujemy ich stan końcowy, inaczej treść zostałaby niewidoczna */
  .jub-anim .hl-words span, .jub-anim .b-logo, .jub-anim .b-year, .jub-anim .b-lat, .jub-anim .c-side,
  .jub-anim .d-logos, .jub-anim .d-tagline, .jub-anim .d-url { opacity:1; transform:none; }
}

.legal-page { padding-left:16px; padding-right:16px; overflow-wrap:anywhere; }
.legal-page a { color:#67e8f9; text-decoration:underline; text-underline-offset:2px; }
.legal-page h1 + p { color:var(--muted,#94a3b8); }

.lk-page { max-width:760px; }
.lk-note { border:1px solid rgba(34,211,238,.35); background:rgba(34,211,238,.08); color:#e0f7fa;
  border-radius:10px; padding:10px 14px; margin:0 0 1.1rem; font-size:.95rem; line-height:1.5; }
.lk-note.warn { border-color:rgba(251,191,36,.45); background:rgba(251,191,36,.08); color:#fef3c7; }
.lk-page ul { margin:0 0 .9rem; padding-left:1.15rem; color:#d1d5db; line-height:1.55; font-size:.98rem; }
.lk-page li { margin:0 0 .35rem; }
.lk-page dt { font-weight:650; color:#f1f5f9; margin-top:.8rem; }
.lk-page dd { margin:.15rem 0 0; color:#d1d5db; line-height:1.55; font-size:.98rem; }
.lk-small { font-size:.85rem; color:#94a3b8; }
.lk-page .lk-cards { display:grid; grid-template-columns:1fr; gap:10px; margin:0 0 1rem; padding:0; list-style:none; }
@media (min-width:640px) { .lk-cards { grid-template-columns:1fr 1fr; } }
.lk-card { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03); border-radius:12px;
  padding:12px 14px; overflow-wrap:anywhere; }
.lk-head { display:flex; align-items:center; gap:12px; margin:0 0 .55rem; }
.lk-znak { flex:none; width:104px; height:104px; border-radius:24px; box-shadow:0 6px 18px rgba(0,0,0,.3); }
@media (max-width:520px) { .lk-znak { width:84px; height:84px; border-radius:20px; } }
.lk-head > div { min-width:0; } .lk-head .lk-sign { margin:0 0 .15rem; } .lk-head h3 { margin:0; }
.lk-card h3 { margin:0 0 .35rem; font-size:1.05rem; }
.lk-card p { margin:0 0 .35rem; font-size:.95rem; }
.lk-sign { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:#94a3b8; margin:0 0 .25rem; }
.lk-num { color:#67e8f9; font-weight:700; white-space:nowrap; }
.lk-page .lk-rank { list-style:none; margin:0 0 1rem; padding:0; }
.lk-rank li { display:grid; grid-template-columns:2rem 1fr auto; gap:4px 10px; align-items:center;
  padding:8px 0; border-bottom:1px solid rgba(255,255,255,.07); margin:0; }
.lk-rank .pos { font-family:"IBM Plex Mono",monospace; color:#94a3b8; }
.lk-rank .name { color:#f1f5f9; overflow-wrap:anywhere; }
.lk-rank .val { color:#67e8f9; font-weight:700; white-space:nowrap; }
.lk-rank .bar { grid-column:2 / 4; height:6px; border-radius:3px; background:rgba(255,255,255,.07); overflow:hidden; }
.lk-rank .bar i { display:block; height:100%; background:#22d3ee; }
.lk-map { width:100%; height:auto; display:block; margin:0 0 1rem; }
.lk-map .kraj { fill:rgba(255,255,255,.05); stroke:rgba(255,255,255,.35); stroke-width:1.2; }
.lk-map .trasa { stroke:#22d3ee; stroke-width:1; stroke-opacity:.55; fill:none; }
.lk-map .kropka { fill:#f8fafc; stroke:#22d3ee; stroke-width:1.5; }
.lk-map .kropka.top { fill:#fbbf24; }
.lk-map text { fill:#e2e8f0; font-size:16px; font-family:"IBM Plex Mono",monospace; }
/* Horoskopy: karty w kolorze żywiołu (ogień, woda, ziemia, powietrze), duża grafika znaku, wyróżniony „Typ gwiazd”, lekki ruch przy najechaniu.
   Jedno źródło dla strony meczu (MATCH_EXTRA_CSS), głównej (placeholder w szablonie) i strony /horoskop/ (wspólny arkusz stron statycznych). */
.hk-card, .lk-card[data-zywiol] { --zyw: #b88cff; --zyw2: #ff8fd8; }
.hk-card[data-zywiol="ogien"], .lk-card[data-zywiol="ogien"] { --zyw: #ff9a3d; --zyw2: #ff5a36; }
.hk-card[data-zywiol="woda"], .lk-card[data-zywiol="woda"] { --zyw: #38b6ff; --zyw2: #5b7cff; }
.hk-card[data-zywiol="ziemia"], .lk-card[data-zywiol="ziemia"] { --zyw: #7ddc6f; --zyw2: #d4e85a; }
.hk-card[data-zywiol="powietrze"], .lk-card[data-zywiol="powietrze"] { --zyw: #b88cff; --zyw2: #ff8fd8; }

.hk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 0; }
@media (max-width: 640px) { .hk-grid { grid-template-columns: 1fr; } }
.hk-card, .lk-card[data-zywiol] {
  position: relative; overflow: hidden; min-width: 0; border-radius: 18px; padding: 16px 16px 14px; color: #e8ebf0;
  border: 1px solid color-mix(in srgb, var(--zyw) 42%, transparent);
  background: radial-gradient(120% 95% at 0% 0%, color-mix(in srgb, var(--zyw) 24%, transparent), transparent 62%),
              radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--zyw2) 14%, transparent), transparent 70%), #12161c;
}
.hk-top { display: flex; align-items: center; gap: 14px; }
.hk-znak { flex: none; width: 128px; height: 128px; border-radius: 28px; object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .42), 0 0 0 3px color-mix(in srgb, var(--zyw) 55%, transparent); }
@media (max-width: 640px) { .hk-znak { width: 108px; height: 108px; border-radius: 24px; } }
.hk-id { min-width: 0; }
.hk-zyw { margin: 0 0 4px; font: 700 11px/1.2 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--zyw); }
.hk-team { margin: 0; font: 700 24px/1.1 var(--display, "Rajdhani", system-ui, sans-serif); color: #fff; overflow-wrap: anywhere; }
.hk-zd { margin: 10px 0 0; font-size: .95rem; line-height: 1.5; color: #dfe3ea; }
.hk-typ, .lk-card[data-zywiol] .lk-typ { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--zyw) 60%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--zyw) 32%, transparent), color-mix(in srgb, var(--zyw2) 16%, transparent)); }
.hk-typ-l { display: block; margin: 0 0 3px; font: 700 11px/1.2 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--zyw); }
.hk-typ-t { display: block; font: 700 19px/1.25 var(--display, "Rajdhani", system-ui, sans-serif); color: #fff; overflow-wrap: anywhere; }
.hk-dane { margin: 10px 0 0; font-size: .78rem; line-height: 1.4; color: #9aa4b2; }
.hk-wiecej { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--brand-ink, #ffb347); text-decoration: none; }
.hk-wiecej:hover, .hk-wiecej:focus-visible { text-decoration: underline; }

/* kompakt (główna): jeden wiersz na drużynę, bez zdań — mniejsza grafika, ten sam wyróżniony typ */
.hk-kompakt .hk-znak { width: 88px; height: 88px; border-radius: 20px; }
.hk-kompakt .hk-team { font-size: 21px; }
.hk-kompakt .hk-card { padding: 14px; }
.hk-glowna[hidden] { display: none; }
.hk-glowna .sec-head { flex-wrap: wrap; row-gap: 2px; }
.hk-glowna .sec-head h2 { flex: 1 1 auto; font-size: clamp(22px, 5.4vw, 32px); }
@media (max-width: 640px) { .hk-glowna .sec-head .more { flex-basis: 100%; margin-left: 0; min-height: 44px; font-size: 13px; } }

/* strona /horoskop/: te same kolory żywiołów na istniejących kartach */
.lk-card[data-zywiol] .lk-sign { color: var(--zyw); }
.lk-card[data-zywiol] .lk-znak { box-shadow: 0 8px 22px rgba(0, 0, 0, .4), 0 0 0 3px color-mix(in srgb, var(--zyw) 55%, transparent); }
.lk-card[data-zywiol] .lk-num { color: #fff; }

/* KD 09.11: blok widoczny w każdej fazie (pre, live, ft) — bez reguły chowającej po gwizdku */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hk-card, .lk-card[data-zywiol] { transition: transform var(--dur-2, 200ms) ease, box-shadow var(--dur-2, 200ms) ease, border-color var(--dur-2, 200ms) ease; }
  .hk-card:hover, .lk-card[data-zywiol]:hover { transform: translateY(-3px); border-color: var(--zyw);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 26px color-mix(in srgb, var(--zyw) 28%, transparent); }
  .hk-znak, .lk-card[data-zywiol] .lk-znak { transition: transform var(--dur-3, 300ms) var(--ease-out, cubic-bezier(.22, 1, .36, 1)); }
  .hk-card:hover .hk-znak, .lk-card[data-zywiol]:hover .lk-znak { transform: rotate(-4deg) scale(1.07); }
}
