:root{--bg:#07090d;--panel:#111827;--panel2:#182235;--text:#f8fafc;--muted:#a6adbb;--yellow:#facc15;--orange:#fb923c;--red:#ef4444;--line:rgba(255,255,255,.1);--green:#22c55e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% 0%,rgba(250,204,21,.10),transparent 30%),radial-gradient(circle at 90% 0%,rgba(239,68,68,.12),transparent 28%),linear-gradient(180deg,#080b12,#050608 55%,#080b12);color:var(--text);font-family:Arial,Helvetica,sans-serif}.container{width:min(1200px,92%);margin:auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(7,9,13,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 0}.brand{color:#fff;text-decoration:none;font-weight:1000;font-size:25px;display:flex;flex-direction:column;letter-spacing:.5px;line-height:1}.brand small{font-size:11px;color:var(--muted);margin-top:5px;letter-spacing:.2px}.flag{margin-right:6px}.nav{display:flex;gap:8px;align-items:center}.nav a{color:#e5e7eb;text-decoration:none;padding:10px 12px;border-radius:999px;font-weight:800;font-size:14px}.nav a:hover,.admin-link{background:rgba(250,204,21,.15);color:var(--yellow)!important}.hamburger{display:none;background:var(--yellow);border:0;border-radius:10px;padding:9px 12px;font-size:20px}.hero{padding:28px 0 18px}.hero-v4{position:relative;overflow:hidden;border:1px solid rgba(250,204,21,.22);border-radius:30px;min-height:430px;background:linear-gradient(90deg,rgba(0,0,0,.87),rgba(0,0,0,.50),rgba(0,0,0,.78)),url('https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1600&q=80') center/cover;box-shadow:0 30px 90px rgba(0,0,0,.35)}.hero-v4:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(250,204,21,.12),transparent 35%,rgba(239,68,68,.18));pointer-events:none}.hero-content{position:relative;padding:38px;max-width:720px}.hero-content h1{font-size:clamp(34px,5vw,64px);line-height:.95;margin:14px 0 16px;text-transform:uppercase}.hero-content p{font-size:18px;max-width:620px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.live-strip{display:flex;gap:18px;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#7f1d1d,#111827);border:1px solid rgba(239,68,68,.5);border-radius:22px;padding:18px 22px;box-shadow:0 20px 70px rgba(239,68,68,.12)}.ticker{margin:18px 0 0;display:flex;gap:12px;overflow:auto;padding-bottom:4px}.ticker-card{min-width:220px;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:16px;padding:12px}.badge{display:inline-flex;align-items:center;gap:7px;background:var(--red);padding:7px 11px;border-radius:999px;font-weight:1000;font-size:12px;letter-spacing:.4px;text-transform:uppercase}.badge.yellow{background:var(--yellow);color:#111827}.badge.dark{background:rgba(255,255,255,.10);color:#fff}.pulse{width:10px;height:10px;background:white;border-radius:50%;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.35;transform:scale(1.5)}}.btn{display:inline-block;background:var(--yellow);color:#111827;text-decoration:none;padding:12px 17px;border-radius:13px;font-weight:1000;border:0;box-shadow:0 12px 28px rgba(250,204,21,.14)}.btn:hover{transform:translateY(-1px)}.btn.dark{background:#263244;color:white}.btn.red{background:var(--red);color:white}.grid{display:grid;gap:18px}.home-grid{grid-template-columns:2fr 1fr}.cards3{grid-template-columns:repeat(3,1fr)}.cards4{grid-template-columns:repeat(4,1fr)}.section{padding:22px 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.card{background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 18px 55px rgba(0,0,0,.20)}.card.hot{border-color:rgba(250,204,21,.35)}h1,h2,h3{margin:0 0 12px}p{color:#d1d5db;line-height:1.55}.hero-news{min-height:370px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.78)),url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1200&q=75') center/cover;border-radius:26px;overflow:hidden;padding:28px;border:1px solid var(--line)}.news-card{overflow:hidden;padding:0}.news-photo{height:168px;background:linear-gradient(135deg,#374151,#111827);display:flex;align-items:center;justify-content:center;font-size:42px;position:relative}.news-photo:after{content:"";position:absolute;inset:auto 0 0 0;height:70px;background:linear-gradient(transparent,rgba(0,0,0,.7))}.news-body{padding:18px}.photo-1{background:linear-gradient(135deg,rgba(0,0,0,.25),rgba(0,0,0,.65)),url('https://images.unsplash.com/photo-1533107862482-0e6974b06ec4?auto=format&fit=crop&w=800&q=70') center/cover}.photo-2{background:linear-gradient(135deg,rgba(0,0,0,.25),rgba(0,0,0,.65)),url('https://images.unsplash.com/photo-1543351611-58f69d7c1781?auto=format&fit=crop&w=800&q=70') center/cover}.photo-3{background:linear-gradient(135deg,rgba(0,0,0,.25),rgba(0,0,0,.65)),url('https://images.unsplash.com/photo-1483721310020-03333e577078?auto=format&fit=crop&w=800&q=70') center/cover}.match-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.match-row:last-child{border-bottom:0}.time,.yellow{color:var(--yellow);font-weight:1000}.muted{color:var(--muted)}.score{font-size:42px;font-weight:1000;color:var(--yellow)}.mini-score{font-weight:1000;color:#fff;background:rgba(250,204,21,.12);padding:6px 10px;border-radius:10px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:11px;border-bottom:1px solid var(--line);text-align:left}.table th{color:var(--yellow);font-size:13px;text-transform:uppercase}.team-logo,.placeholder-img{height:110px;border-radius:18px;background:linear-gradient(135deg,#374151,#111827);display:flex;align-items:center;justify-content:center;font-weight:1000;color:var(--yellow);font-size:34px;margin-bottom:14px;border:1px solid var(--line)}.team-logo{height:96px;width:96px;margin:0 auto 12px;border-radius:50%;background:radial-gradient(circle,rgba(250,204,21,.24),rgba(17,24,39,.8));font-size:28px}.teams{text-align:center}.stream-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.video-frame{aspect-ratio:16/9;background:radial-gradient(circle at center,rgba(250,204,21,.08),#020617 45%);border:1px solid var(--line);border-radius:24px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:26px;position:relative;overflow:hidden}.video-frame:before{content:"▶";width:86px;height:86px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(250,204,21,.16);color:var(--yellow);font-size:42px;border:1px solid rgba(250,204,21,.28)}.scoreboard{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;text-align:center}.lineup{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rider{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.admin-box{max-width:420px;margin:55px auto}.input{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:#0b1220;color:white;margin:8px 0 14px}.dashboard{grid-template-columns:repeat(4,1fr)}.footer{margin-top:40px;border-top:1px solid var(--line);background:#050608;padding:32px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 2fr;gap:22px}@media(max-width:900px){.hamburger{display:block}.nav{display:none;position:absolute;left:4%;right:4%;top:70px;flex-direction:column;background:#0b1220;padding:15px;border:1px solid var(--line);border-radius:18px}.menu-open .nav{display:flex}.home-grid,.cards3,.cards4,.dashboard,.footer-grid,.lineup{grid-template-columns:1fr}.live-strip,.match-row{align-items:flex-start;flex-direction:column}.scoreboard{grid-template-columns:1fr}.brand{font-size:20px}.hero-content{padding:28px}.hero-v4{min-height:500px}}


/* V5 - cofnięty i poprawiony hero LIVE */
.hero{padding:26px 0 16px}.hero-v4{display:none}.live-hero{position:relative;overflow:hidden;border-radius:28px;border:1px solid rgba(250,204,21,.28);background:radial-gradient(circle at 16% 20%,rgba(250,204,21,.20),transparent 28%),radial-gradient(circle at 85% 0%,rgba(239,68,68,.26),transparent 34%),linear-gradient(135deg,#111827 0%,#07090d 55%,#020617 100%);box-shadow:0 28px 90px rgba(0,0,0,.36);padding:24px}.live-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.05),transparent 32%,rgba(250,204,21,.06));pointer-events:none}.live-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(90deg,rgba(127,29,29,.92),rgba(17,24,39,.82));border:1px solid rgba(239,68,68,.45);border-radius:22px;padding:22px}.live-top h1{font-size:clamp(30px,4vw,54px);line-height:1;margin:12px 0 8px;text-transform:uppercase}.live-top h1 span{color:var(--yellow);font-size:.7em}.live-top p{margin:0;color:#f3f4f6}.btn.big{font-size:16px;padding:16px 22px;white-space:nowrap}.live-match-card{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;margin-top:18px;background:rgba(255,255,255,.065);border:1px solid var(--line);border-radius:24px;padding:22px}.club{text-align:center}.club-logo{width:98px;height:98px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:1000;color:#111827;background:linear-gradient(135deg,var(--yellow),var(--orange));box-shadow:0 16px 42px rgba(250,204,21,.18)}.club b{display:block;font-size:20px}.club small{color:var(--muted);text-transform:uppercase;font-weight:900;font-size:11px;letter-spacing:.8px}.match-center{text-align:center;min-width:160px}.start-time{font-size:48px;font-weight:1000;color:var(--yellow);line-height:1}.vs{margin:8px auto 10px;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#020617;border:1px solid rgba(250,204,21,.28);font-weight:1000}.match-center a{color:#fff;text-decoration:none;font-weight:900}.quick-matches{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.quick-matches a{color:#e5e7eb;text-decoration:none;background:rgba(255,255,255,.055);border:1px solid var(--line);border-radius:16px;padding:14px;font-weight:800}.quick-matches b{color:var(--yellow);margin-right:8px}@media(max-width:900px){.live-top{flex-direction:column;align-items:flex-start}.live-match-card{grid-template-columns:1fr}.quick-matches{grid-template-columns:1fr}.btn.big{width:100%;text-align:center}.match-center{order:-1}.start-time{font-size:42px}}

/* V6 - małe okienko LIVE zamiast wielkiego hero */
.hero.container,.live-hero{display:none!important}
.top-live-section{padding:22px 0 8px}
.live-mini{border:1px solid rgba(239,68,68,.45);border-radius:22px;background:linear-gradient(90deg,rgba(127,29,29,.92),rgba(17,24,39,.92));box-shadow:0 18px 55px rgba(0,0,0,.30);padding:16px 18px;position:relative;overflow:hidden}
.live-mini:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 0%,rgba(250,204,21,.18),transparent 30%);pointer-events:none}
.live-mini-head,.live-mini-main{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px}
.live-mini-head{margin-bottom:10px}
.live-mini-league{color:#e5e7eb;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.live-mini h1{font-size:clamp(22px,3vw,34px);line-height:1;margin:0;text-transform:uppercase}
.live-mini h1 span{color:var(--yellow);font-size:.72em}
.live-mini p{margin:6px 0 0;color:#f3f4f6}
.live-mini .btn{white-space:nowrap;padding:13px 22px}
.hero-news{min-height:330px}
@media(max-width:700px){.live-mini-main{align-items:flex-start;flex-direction:column}.live-mini .btn{width:100%;text-align:center}.live-mini-head{align-items:flex-start;flex-direction:column}.top-live-section{padding-top:16px}.hero-news{min-height:280px}}


/* V7-light: prościej niż V7, baza V6 + delikatne poprawki */
.brand{font-size:29px;letter-spacing:.8px}.brand small{font-size:10px;letter-spacing:.55px;text-transform:uppercase}.flag{font-size:20px}
.topbar{box-shadow:0 10px 35px rgba(0,0,0,.18)}
.live-mini{padding:18px 20px;border-color:rgba(239,68,68,.55);background:linear-gradient(90deg,rgba(127,29,29,.95),rgba(24,34,53,.94));}
.live-mini h1{letter-spacing:.2px}.live-mini .btn{border-radius:12px;box-shadow:0 14px 32px rgba(239,68,68,.20)}
.hero-news{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.82)),radial-gradient(circle at 20% 15%,rgba(250,204,21,.32),transparent 18%),linear-gradient(135deg,#1f2937,#0b1220 55%,#050608);border-color:rgba(250,204,21,.24)}
.hero-news:before{content:"🏁";position:absolute;right:28px;top:20px;font-size:62px;opacity:.16}.hero-news{position:relative}
.hero-news h1{max-width:760px}.hero-news p{max-width:650px}
.news-photo{height:165px;overflow:hidden}.news-photo:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 20%,rgba(250,204,21,.28),transparent 22%),linear-gradient(135deg,#222b3d,#080b12);}
.photo-1,.photo-2,.photo-3{background:none!important}
.photo-1:after{content:"SKŁADY";position:absolute;left:18px;bottom:18px;height:auto;background:none;color:rgba(255,255,255,.92);font-size:28px;font-weight:1000;letter-spacing:.5px}
.photo-2:after{content:"TRANSFERY";position:absolute;left:18px;bottom:18px;height:auto;background:none;color:rgba(255,255,255,.92);font-size:28px;font-weight:1000;letter-spacing:.5px}
.photo-3:after{content:"TABELA";position:absolute;left:18px;bottom:18px;height:auto;background:none;color:rgba(255,255,255,.92);font-size:28px;font-weight:1000;letter-spacing:.5px}
.photo-1:before{background:radial-gradient(circle at 85% 20%,rgba(250,204,21,.35),transparent 20%),linear-gradient(135deg,#2b3448,#09101c 58%,#050608)}
.photo-2:before{background:radial-gradient(circle at 18% 25%,rgba(239,68,68,.32),transparent 22%),linear-gradient(135deg,#263244,#0b1220 60%,#050608)}
.photo-3:before{background:radial-gradient(circle at 82% 18%,rgba(34,197,94,.25),transparent 22%),linear-gradient(135deg,#243044,#0b1220 60%,#050608)}
.card{border-color:rgba(255,255,255,.11)}.news-card:hover,.card.hot:hover{transform:translateY(-2px);transition:.18s ease}.news-card,.card.hot{transition:.18s ease}
.table th{text-transform:uppercase}.time{font-size:17px}.section-title h2{font-size:25px}
@media(max-width:900px){.brand{font-size:23px}.news-photo{height:140px}.photo-1:after,.photo-2:after,.photo-3:after{font-size:22px}}

/* Countdown LIVE */
.countdown-label{color:#e5e7eb;font-weight:700}
.countdown{display:inline-block;padding:4px 9px;border-radius:999px;background:rgba(250,204,21,.14);color:#facc15;border:1px solid rgba(250,204,21,.35);letter-spacing:.04em}
.countdown.is-live{background:rgba(220,38,38,.18);color:#fecaca;border-color:rgba(220,38,38,.55);animation:pulseLive 1.1s infinite}
@keyframes pulseLive{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}


/* V10 - poprawki po screenie */
.card.hot h2{background:transparent!important;display:block;color:#fff}
.hero-news:before{content:none!important;display:none!important}
.countdown{padding:2px 7px;font-size:12px;line-height:1.2;vertical-align:middle}
.countdown.is-live{font-size:12px;padding:3px 8px;letter-spacing:.02em}
.news-body .badge{margin-bottom:12px}
.news-body h3{margin-top:0;line-height:1.25}

/* V11 - poprawki: NEWS DNIA do góry, więcej lig w wynikach i tabelach */
.hero-news{position:relative;padding-top:82px}
.hero-news .badge.yellow{position:absolute;top:22px;left:28px;right:28px;justify-content:flex-start;border-radius:999px}
.card.hot .btn.red{text-transform:lowercase;padding:11px 18px}
.league-block{margin-top:16px}
.league-block:first-of-type{margin-top:10px}
.league-block h3{font-size:14px;text-transform:uppercase;letter-spacing:.5px;color:var(--yellow);margin:0 0 6px}
.league-block.compact{border-top:1px solid var(--line);padding-top:12px}
.results-card .match-row,.tables-card .match-row{padding:10px 0}
.tables-card .table th,.tables-card .table td{padding:8px 10px}
.tables-card .table{margin-bottom:2px}
@media(max-width:700px){.hero-news{padding-top:74px}.hero-news .badge.yellow{left:18px;right:18px;top:18px}.league-block h3{font-size:13px}}

/* V13 - podniesienie treści NEWS DNIA i wyrównanie wyników */
.hero-news{
  justify-content:flex-start!important;
  min-height:300px!important;
  padding:72px 28px 24px!important;
}
.hero-news .badge.yellow{
  top:18px!important;
  left:28px!important;
  right:28px!important;
}
.hero-news h1{
  margin:0 0 18px!important;
  line-height:1.12;
}
.hero-news p{
  margin:0 0 18px!important;
}
.hero-news .btn{
  margin-top:0;
}
.results-card .match-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 0!important;
}
.results-card .match-row b{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.results-card .match-row b:last-child{
  text-align:right;
}
.results-card .mini-score{
  justify-self:center!important;
  min-width:56px;
  text-align:center;
}
@media(max-width:700px){
  .hero-news{
    min-height:280px!important;
    padding:68px 18px 22px!important;
  }
  .hero-news .badge.yellow{
    left:18px!important;
    right:18px!important;
    top:16px!important;
  }
  .results-card .match-row{
    grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;
    gap:8px!important;
  }
}

/* V14 - delikatna poprawka po screenie: NEWS DNIA wyżej + stabilne wyniki */
.hero-news{
  justify-content:flex-start!important;
  min-height:255px!important;
  padding:58px 28px 22px!important;
}
.hero-news .badge.yellow{
  top:18px!important;
  left:28px!important;
  right:28px!important;
  height:28px;
  display:flex!important;
  align-items:center!important;
}
.hero-news h1{
  margin:0 0 12px!important;
  line-height:1.1!important;
}
.hero-news p{
  margin:0 0 14px!important;
  max-width:760px;
}
.hero-news .btn{
  margin-top:0!important;
}
.results-card .league-block{
  width:100%;
}
.results-card .match-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  padding:10px 0!important;
}
.results-card .match-row b{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.25!important;
}
.results-card .match-row b:first-child{
  text-align:left!important;
}
.results-card .match-row b:last-child{
  text-align:right!important;
}
.results-card .mini-score{
  justify-self:center!important;
  min-width:58px!important;
  max-width:58px!important;
  text-align:center!important;
  padding-left:0!important;
  padding-right:0!important;
}
@media(max-width:700px){
  .hero-news{
    min-height:250px!important;
    padding:56px 18px 20px!important;
  }
  .hero-news .badge.yellow{
    left:18px!important;
    right:18px!important;
    top:16px!important;
  }
  .results-card .match-row{
    grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .results-card .mini-score{
    min-width:52px!important;
    max-width:52px!important;
  }
}

/* V16 - poprawki: bez szachownicy, przycisk news na dole, link transmisji bez tła */
.flag{display:none!important}
.hero-news{
  position:relative!important;
  min-height:255px!important;
  padding:58px 28px 74px!important;
  justify-content:flex-start!important;
}
.hero-news .btn{
  position:absolute!important;
  left:28px!important;
  bottom:24px!important;
  margin:0!important;
}
.card.hot .btn.red{
  background:transparent!important;
  color:#fff!important;
  padding:8px 0!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-transform:none!important;
}
.card.hot .btn.red:hover{
  color:var(--yellow)!important;
  transform:none!important;
}
@media(max-width:700px){
  .hero-news{padding:56px 18px 72px!important;min-height:255px!important}
  .hero-news .btn{left:18px!important;bottom:22px!important}
}

.hero-news{position:relative;justify-content:flex-start;padding-top:14px}
.hero-news h1{margin-top:18px}
.hero-news .news-link{
position:absolute;left:28px;bottom:24px;
color:var(--yellow);font-weight:900;text-decoration:none;font-size:20px}
.hero-news .news-link:hover{text-decoration:underline}
.more-transmissions{display:inline-block;margin-top:12px;color:var(--text);text-decoration:none;font-weight:800}
.more-transmissions:hover{color:var(--yellow)}

/* V18 - dopieszczony wygląd portalu: czystsze karty, lepsze odstępy, premium dark */
:root{
  --bg:#06080d;
  --panel:#101722;
  --panel2:#162133;
  --panel3:#1d2a3f;
  --text:#f9fafb;
  --muted:#9ca3af;
  --yellow:#facc15;
  --yellow2:#ffe066;
  --red:#ef4444;
  --line:rgba(255,255,255,.095);
}
body{
  background:
    radial-gradient(circle at 16% -8%,rgba(250,204,21,.12),transparent 28%),
    radial-gradient(circle at 82% 4%,rgba(239,68,68,.13),transparent 25%),
    linear-gradient(180deg,#080b12 0%,#05070b 42%,#080b12 100%)!important;
  font-family:Arial,Helvetica,sans-serif;
}
.container{width:min(1180px,93%)}
.topbar{
  background:rgba(5,7,11,.82)!important;
  border-bottom:1px solid rgba(250,204,21,.14)!important;
  box-shadow:0 14px 40px rgba(0,0,0,.28)!important;
}
.nav-wrap{padding:16px 0!important}
.brand{
  font-size:31px!important;
  letter-spacing:1px!important;
  color:#fff!important;
  text-shadow:0 0 18px rgba(250,204,21,.18);
}
.brand small{color:#cbd5e1!important;font-weight:700!important;letter-spacing:.7px!important}
.nav a{
  border:1px solid transparent;
  transition:.18s ease;
}
.nav a:hover,.admin-link{
  background:rgba(250,204,21,.12)!important;
  border-color:rgba(250,204,21,.23)!important;
  color:#fff!important;
}
.top-live-section{padding:26px 0 10px!important}
.live-mini{
  border-radius:26px!important;
  padding:20px 22px!important;
  border:1px solid rgba(239,68,68,.48)!important;
  background:
    linear-gradient(90deg,rgba(127,29,29,.92),rgba(24,34,53,.96) 52%,rgba(13,18,29,.96))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.live-mini:after{
  content:"";
  position:absolute;
  right:-80px;top:-110px;
  width:260px;height:260px;
  background:radial-gradient(circle,rgba(250,204,21,.18),transparent 60%);
  pointer-events:none;
}
.live-mini-league{
  color:#fff!important;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  padding:6px 10px;
  border-radius:999px;
}
.live-mini h1{font-size:clamp(24px,3.2vw,38px)!important;letter-spacing:.4px!important}
.live-mini p{font-size:15px!important;color:#e5e7eb!important}
.live-mini .btn.red{
  background:linear-gradient(180deg,#ff4b4b,#dc2626)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  padding:14px 24px!important;
  border-radius:14px!important;
  box-shadow:0 14px 30px rgba(239,68,68,.24)!important;
}
.countdown{
  background:rgba(250,204,21,.13)!important;
  border-color:rgba(250,204,21,.40)!important;
  color:var(--yellow2)!important;
  font-weight:1000!important;
}
.home-grid{gap:22px!important;align-items:stretch!important}
.section{padding:24px 0!important}
.card,.hero-news{
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.105)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045)!important;
}
.card{
  background:linear-gradient(180deg,rgba(29,42,63,.96),rgba(14,20,31,.96))!important;
}
.hero-news{
  min-height:285px!important;
  background:
    linear-gradient(135deg,rgba(9,13,22,.86),rgba(6,8,13,.88)),
    radial-gradient(circle at 80% 20%,rgba(250,204,21,.20),transparent 26%),
    linear-gradient(135deg,#1b2638,#090d15)!important;
  padding:64px 30px 76px!important;
  overflow:hidden!important;
}
.hero-news:after{
  content:"";
  position:absolute;
  right:-40px;bottom:-62px;
  width:230px;height:230px;
  border:1px solid rgba(250,204,21,.12);
  border-radius:50%;
  background:radial-gradient(circle,rgba(250,204,21,.09),transparent 62%);
  pointer-events:none;
}
.hero-news .badge.yellow{
  top:22px!important;
  left:30px!important;
  right:auto!important;
  height:auto!important;
  padding:8px 13px!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#ffe066,#facc15)!important;
  color:#111827!important;
  box-shadow:0 10px 24px rgba(250,204,21,.17)!important;
}
.hero-news h1{
  max-width:710px;
  font-size:clamp(26px,3vw,40px)!important;
  margin:10px 0 14px!important;
  letter-spacing:-.5px;
}
.hero-news p{max-width:650px!important;color:#dbe4ef!important;font-size:16px!important}
.hero-news .news-link{
  bottom:26px!important;
  left:30px!important;
  color:var(--yellow)!important;
  font-size:19px!important;
  font-weight:1000!important;
  text-decoration:none!important;
  transition:.18s ease;
}
.hero-news .news-link:hover{color:#fff!important;transform:translateX(3px);text-decoration:none!important}
.card.hot{border-color:rgba(250,204,21,.20)!important}
.card.hot h2,.results-card h2,.tables-card h2,.section-title h2{
  font-size:24px!important;
  letter-spacing:-.2px;
}
.match-row{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
  border-radius:15px;
  padding:13px 14px!important;
  margin-bottom:10px;
}
.card.hot .match-row:hover{border-color:rgba(250,204,21,.22);background:rgba(250,204,21,.055)}
.time,.mini-score{
  background:rgba(250,204,21,.12)!important;
  border:1px solid rgba(250,204,21,.24)!important;
  color:var(--yellow)!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  font-weight:1000!important;
}
.more-transmissions{
  color:var(--yellow)!important;
  font-size:16px!important;
  margin-top:4px!important;
  transition:.18s ease;
}
.more-transmissions:hover{color:#fff!important;transform:translateX(3px)}
.cards3{gap:20px!important}
.news-card{
  background:linear-gradient(180deg,rgba(29,42,63,.95),rgba(14,20,31,.97))!important;
  overflow:hidden!important;
  transition:.2s ease!important;
}
.news-card:hover{transform:translateY(-4px)!important;border-color:rgba(250,204,21,.22)!important}
.news-photo{height:150px!important}
.news-body{padding:18px 18px 20px!important}
.news-body .badge{margin-bottom:14px!important}
.news-body h3{font-size:21px!important;line-height:1.18!important;margin-bottom:8px!important}
.news-body p{margin:0!important;color:#b8c2d2!important}
.league-block{
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.065);
  border-radius:18px;
  padding:14px!important;
  margin-top:14px!important;
}
.league-block.compact{border-top:1px solid rgba(255,255,255,.065)!important}
.league-block h3{color:var(--yellow)!important;margin-bottom:10px!important}
.results-card .match-row{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  border-radius:0!important;
  margin:0!important;
  padding:10px 0!important;
}
.results-card .match-row:last-child{border-bottom:0!important}
.table{width:100%;border-collapse:separate!important;border-spacing:0 7px!important}
.table th{color:#cbd5e1!important;font-size:12px!important;letter-spacing:.5px!important;border:0!important}
.table td{
  background:rgba(255,255,255,.035);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.table td:first-child{border-left:1px solid rgba(255,255,255,.06);border-radius:10px 0 0 10px}
.table td:last-child{border-right:1px solid rgba(255,255,255,.06);border-radius:0 10px 10px 0;color:var(--yellow);font-weight:1000}
.footer{margin-top:26px!important;border-top:1px solid rgba(255,255,255,.08)!important;background:rgba(0,0,0,.20)!important}
@media(max-width:900px){
  .home-grid,.cards3{grid-template-columns:1fr!important}
  .nav{background:rgba(8,11,18,.98)!important}
  .hero-news{min-height:260px!important}
}
@media(max-width:700px){
  .brand{font-size:24px!important}
  .hero-news{padding:62px 20px 76px!important}
  .hero-news .badge.yellow{left:20px!important;top:20px!important}
  .hero-news .news-link{left:20px!important;bottom:24px!important}
  .match-row{padding:12px!important}
}


/* V19 - dopracowanie wyglądu bez zmiany układu */
.brand{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  position:relative;
  padding-left:0!important;
}
.brand::before{
  content:"";
  display:none!important;
}
.site-logo{
  display:inline-block;
  max-height:42px;
  width:auto;
  object-fit:contain;
}
.live-mini h1{
  letter-spacing:0!important;
}
.hero-news{
  min-height:280px!important;
  padding:64px 32px 78px!important;
}
.hero-news::after{
  content:""!important;
  position:absolute!important;
  right:-44px!important;
  bottom:-72px!important;
  width:255px!important;
  height:255px!important;
  border-radius:50%!important;
  border:1px solid rgba(250,204,21,.15)!important;
  background:
    radial-gradient(circle at center,rgba(250,204,21,.10),transparent 58%),
    linear-gradient(135deg,rgba(239,68,68,.06),transparent)!important;
  pointer-events:none!important;
}
.hero-news h1{
  margin-top:8px!important;
  max-width:760px!important;
}
.hero-news p{
  max-width:720px!important;
  font-size:16px!important;
  line-height:1.55!important;
}
.hero-news .news-link{
  color:var(--yellow)!important;
  font-size:18px!important;
  font-weight:1000!important;
  text-decoration:none!important;
}
.hero-news .news-link:hover{
  color:#fff!important;
  text-decoration:none!important;
  transform:translateX(4px)!important;
}
.more-transmissions{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  color:var(--yellow)!important;
  padding:0!important;
  font-weight:1000!important;
}
.more-transmissions:hover{
  color:#fff!important;
  transform:translateX(4px)!important;
}
.news-card .badge.dark{
  margin-bottom:16px!important;
}
.news-body h3{
  margin-top:0!important;
}
.results-card .match-row{
  grid-template-columns:minmax(160px,1fr) 72px minmax(160px,1fr)!important;
}
.results-card .mini-score{
  font-variant-numeric:tabular-nums!important;
}
.card.hot .match-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
}
.card.hot .time{
  min-width:60px!important;
  text-align:center!important;
}
@media(max-width:700px){
  .hero-news{
    min-height:285px!important;
    padding:62px 20px 78px!important;
  }
  .hero-news p{
    font-size:15px!important;
  }
  .results-card .match-row{
    grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;
  }
}


/* V21 - biale godziny i wyniki bez zoltych kapsulek */
.time,.mini-score{
  background:none!important;
  border:none!important;
  color:#ffffff!important;
  border-radius:0!important;
  padding:0!important;
  font-weight:900!important;
  box-shadow:none!important;
}
.time{font-size:22px!important}
.mini-score{font-size:20px!important}

/* V21 - admin */
.admin-layout{max-width:1100px;margin:30px auto}
.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.admin-nav a{color:#fff;text-decoration:none;background:rgba(255,255,255,.08);padding:10px 14px;border-radius:12px;font-weight:800}
.admin-nav a:hover{background:rgba(250,204,21,.15)}
.form-grid{display:grid;gap:14px}
.form-grid label{font-weight:900;color:#e5e7eb}
.form-grid input,.form-grid textarea,.form-grid select{
  width:100%;padding:13px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);
  background:#0b1220;color:white;font:inherit
}
.form-grid textarea{min-height:220px;resize:vertical}
.admin-table{width:100%;border-collapse:separate;border-spacing:0 8px}
.admin-table th{text-align:left;color:#facc15;font-size:13px;text-transform:uppercase}
.admin-table td{background:rgba(255,255,255,.05);padding:12px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.admin-table td:first-child{border-left:1px solid rgba(255,255,255,.08);border-radius:12px 0 0 12px}
.admin-table td:last-child{border-right:1px solid rgba(255,255,255,.08);border-radius:0 12px 12px 0}
.notice{padding:12px 14px;border-radius:12px;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.25);margin-bottom:14px}
.error{padding:12px 14px;border-radius:12px;background:rgba(239,68,68,.14);border:1px solid rgba(239,68,68,.25);margin-bottom:14px}
.article-content{font-size:18px;line-height:1.7;color:#dbe4ef}
.article-meta{color:#9ca3af;margin-bottom:18px}


/* V24 - klikalne transmisje i wybór drużyn */
.match-link{
  color:inherit!important;
  text-decoration:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
}
.card.hot .match-row{
  cursor:pointer;
}
.card.hot .match-row:hover b{
  color:var(--yellow)!important;
}
.transmission-card-link{
  color:inherit!important;
  text-decoration:none!important;
  display:block!important;
}
.transmission-card-link:hover .card{
  border-color:rgba(250,204,21,.30)!important;
  transform:translateY(-2px);
}
.form-help{
  color:#9ca3af;
  font-size:13px;
  margin-top:-6px;
}


/* V25 FULL */
.upload-note{color:#9ca3af;font-size:13px;margin-top:-6px}
.team-logo-img{width:96px;height:96px;object-fit:contain;border-radius:50%;background:rgba(255,255,255,.06);padding:8px;border:1px solid rgba(255,255,255,.10)}
.team-card{text-align:center}
.team-card a{color:inherit;text-decoration:none}
.team-card:hover{border-color:rgba(250,204,21,.28)!important;transform:translateY(-3px)}
.player-list{display:grid;gap:8px}
.player-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.player-row:last-child{border-bottom:0}
.player-number{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(250,204,21,.12);color:#facc15;font-weight:1000}
.lineup-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.news-image-preview{max-width:220px;border-radius:14px;border:1px solid rgba(255,255,255,.12);margin-top:8px}
.news-photo.real-photo{background-size:cover!important;background-position:center!important}
.admin-small{font-size:13px;color:#9ca3af}
.status-live{color:#fecaca;font-weight:1000}
@media(max-width:800px){.lineup-grid{grid-template-columns:1fr}}


/* V26 - mecz, sklady awizowane, auto LIVE */
.match-page-head{display:grid;grid-template-columns:1fr auto 1fr;gap:22px;align-items:center;text-align:center}
.match-team{display:flex;flex-direction:column;align-items:center;gap:10px}
.match-status-box{min-width:190px}
.match-countdown{font-size:28px;font-weight:1000;color:#facc15;margin-top:8px}
.match-countdown.is-live{color:#fecaca}
.lineup-number{color:#facc15;font-weight:1000;width:34px}
.lineup-rider{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.lineup-rider:last-child{border-bottom:0}
.lineup-rider small{color:#9ca3af}
.empty-lineup{color:#9ca3af;padding:10px 0}
.stream-url-box{word-break:break-all;color:#9ca3af;font-size:13px;margin-top:10px}
.admin-actions-inline{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:800px){
  .match-page-head{grid-template-columns:1fr}
  .match-status-box{order:-1}
}


/* V28 - herby wszędzie, bez zmiany głównego układu */
.team-mini-logo{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  object-fit:contain!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  padding:4px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#facc15!important;
  font-weight:1000!important;
  font-size:15px!important;
}
.team-mini-fallback{
  line-height:1!important;
}
.team-inline{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}
.team-inline b,
.team-inline span{
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.transmission-teams-row{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.transmission-teams-row .team-mini-logo{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  font-size:13px!important;
}
.table-team{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.table-team .team-mini-logo{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  font-size:12px!important;
}
.scoreboard .team-logo-img{
  width:104px!important;
  height:104px!important;
  object-fit:contain!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  padding:8px!important;
}
.result-team-left,
.result-team-right{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}
.result-team-right{
  justify-content:flex-end!important;
}
@media(max-width:700px){
  .team-mini-logo{width:28px!important;height:28px!important;min-width:28px!important}
  .transmission-teams-row .team-mini-logo{width:24px!important;height:24px!important;min-width:24px!important}
}


/* V29 - prawdziwe składy awizowane 1-16 */
.awizowane-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:start;
}
.awizowane-team-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.awizowane-team-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.awizowane-team-title h2{
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.awizowane-row{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.awizowane-row:last-child{border-bottom:0}
.awizowane-number{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(250,204,21,.12);
  border:1px solid rgba(250,204,21,.22);
  color:#facc15;
  font-weight:1000;
}
.awizowane-select,
.awizowane-input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1220;
  color:#fff;
}
.awizowane-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
}
.lineup-rider{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.lineup-rider:last-child{border-bottom:0}
.lineup-number{
  color:#facc15;
  font-weight:1000;
}
.empty-lineup{
  color:#9ca3af;
  padding:10px 0;
}
@media(max-width:900px){
  .awizowane-wrap{grid-template-columns:1fr}
}


/* V29.2 - wiele transmisji/streamów do jednego meczu */
.stream-admin-row{
  display:grid;
  grid-template-columns:1fr 2fr 90px auto;
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  margin-bottom:10px;
}
.stream-admin-row input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1220;
  color:#fff;
}
.stream-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0;
}
.stream-tab{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:1000;
}
.stream-tab.active{
  background:#facc15;
  color:#111827;
  border-color:#facc15;
}
.stream-panel{
  display:none;
}
.stream-panel.active{
  display:block;
}
@media(max-width:800px){
  .stream-admin-row{
    grid-template-columns:1fr;
  }
}


/* V30 - typ zawodów: liga / GP / inne */
.event-extra-box{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(250,204,21,.18);
  background:rgba(250,204,21,.045);
  margin:10px 0;
}
.event-type-note{
  color:#9ca3af;
  font-size:13px;
  margin-top:-6px;
}
.event-title-line{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.event-title-line small{
  color:#9ca3af;
  font-weight:700;
}


/* V30.2 - streamy bezpośrednio w formularzu transmisji */
.stream-form-box{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  margin:10px 0;
}
.stream-form-row{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:10px;
  margin-bottom:10px;
}
.stream-form-row input{
  width:100%;
}
@media(max-width:800px){
  .stream-form-row{grid-template-columns:1fr}
}

/* V30.4 - dodawanie streamów jak na starej stronie */
.stream-list{display:grid;gap:10px;margin:10px 0}
.stream-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.04)}
.stream-item.dragging{opacity:.55;border-color:rgba(250,204,21,.45)}
.stream-drag{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(250,204,21,.12);color:#facc15;font-weight:1000;cursor:grab}
.stream-item textarea{width:100%;min-height:48px;resize:vertical;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#0b1220;color:#fff;font:inherit}
.stream-item button{white-space:nowrap}
.stream-check-result{grid-column:2 / -1;color:#9ca3af;font-size:13px}
.status-ok{color:#22c55e!important}.status-error{color:#ef4444!important}.status-unknown{color:#facc15!important}
@media(max-width:800px){.stream-item{grid-template-columns:34px minmax(0,1fr)}.stream-item button{grid-column:2}.stream-check-result{grid-column:1 / -1}}

/* V32 - loga drużyn, KLŻ i inne zawody */
.admin-team-logo{
  width:42px!important;
  height:42px!important;
  object-fit:contain!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  padding:4px!important;
}
.event-logo-img{
  width:104px!important;
  height:104px!important;
  object-fit:contain!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  padding:8px!important;
  margin:0 auto 12px!important;
}
.event-meta-box{
  min-height:104px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.event-meta-box p{margin:0;color:#d1d5db}
.team-logo-img[src=""],.team-mini-logo[src=""]{display:none!important}

/* V32.1 - mniejsze loga w panelu + podział drużyn na ligi/zawody */
.admin-teams-v321 .teams-admin-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}
.admin-teams-v321 .league-sidebar{position:sticky;top:92px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:12px}
.admin-teams-v321 .league-sidebar h3{font-size:13px;text-transform:uppercase;color:#facc15;margin:4px 6px 12px}
.admin-teams-v321 .league-sidebar a{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#fff;text-decoration:none;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.035);margin-bottom:7px;font-weight:800}
.admin-teams-v321 .league-sidebar a:hover{background:rgba(250,204,21,.14)}
.admin-teams-v321 .league-sidebar b{min-width:26px;text-align:center;color:#facc15;background:rgba(250,204,21,.12);border:1px solid rgba(250,204,21,.22);border-radius:999px;padding:2px 7px;font-size:12px}
.admin-teams-v321 .league-block{margin-bottom:18px;border:1px solid rgba(255,255,255,.10);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.025)}
.admin-teams-v321 .league-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:linear-gradient(90deg,rgba(250,204,21,.12),rgba(255,255,255,.03))}
.admin-teams-v321 .league-header h2{font-size:17px;color:#facc15;margin:0}
.admin-teams-v321 .league-header span{font-size:13px;color:#a6adbb;font-weight:800}
.admin-teams-v321 .compact-teams-table{border-spacing:0;width:100%}
.admin-teams-v321 .compact-teams-table th{padding:10px 12px;background:rgba(0,0,0,.18)}
.admin-teams-v321 .compact-teams-table td{padding:8px 12px;border-radius:0!important;background:rgba(255,255,255,.025);vertical-align:middle}
.admin-teams-v321 .compact-teams-table tr:hover td{background:rgba(250,204,21,.055)}
.admin-teams-v321 .compact-teams-table .logo-cell{width:68px}
.admin-teams-v321 img.admin-team-logo,.admin-table img.admin-team-logo{display:block;width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;object-fit:contain!important;border-radius:50%!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;padding:5px!important;margin:0!important}
.admin-teams-v321 .actions-cell{white-space:nowrap}
.admin-teams-v321 .actions-cell a{font-weight:900}
.admin-teams-v321 .actions-cell span{color:rgba(255,255,255,.35);margin:0 3px}
.league-public-block{margin:0 0 28px}.league-public-block h2{color:#facc15;margin:0 0 14px}
@media(max-width:900px){.admin-teams-v321 .teams-admin-grid{grid-template-columns:1fr}.admin-teams-v321 .league-sidebar{position:static}.admin-teams-v321 .compact-teams-table{font-size:13px}.admin-teams-v321 .compact-teams-table th:nth-child(4),.admin-teams-v321 .compact-teams-table td:nth-child(4),.admin-teams-v321 .compact-teams-table th:nth-child(6),.admin-teams-v321 .compact-teams-table td:nth-child(6){display:none}}

/* V33.2 - SportoweFakty import: editable riders in Add/Edit transmission */
.sf-lineup-edit { gap: 18px; align-items: flex-start; }
.sf-rider-row { display: grid; grid-template-columns: 38px 1fr 110px 80px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.sf-rider-row input { width: 100%; min-width: 0; }
@media (max-width: 800px) {
  .sf-rider-row { grid-template-columns: 34px 1fr; }
  .sf-rider-row input:nth-of-type(2), .sf-rider-row input:nth-of-type(3) { grid-column: 2; }
}

/* V34 licznik online */
.header-online-row{display:flex;justify-content:flex-end;padding-bottom:8px;margin-top:-6px}
.online-widget{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;font-size:12px;color:#e5e7eb}
.online-widget span{display:inline-flex;gap:4px;align-items:center;padding:6px 10px;border:1px solid rgba(250,204,21,.25);border-radius:999px;background:rgba(15,23,42,.72);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.online-widget b{color:#facc15;font-size:14px}
.scoreboard + .online-widget{margin-top:18px;justify-content:center}
.scoreboard + .online-widget span{background:rgba(250,204,21,.09)}
@media(max-width:760px){.header-online-row{justify-content:center;margin-top:4px}.online-widget{justify-content:center}.online-widget span{font-size:11px;padding:5px 8px}}

/* V34.1 licznik widzów tylko na stronie transmisji */
.header-online-row,.online-widget{display:none!important}
.match-viewers-widget{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px 0;padding:9px 13px;border:1px solid rgba(250,204,21,.35);border-radius:999px;background:rgba(250,204,21,.08);color:#e5e7eb;font-weight:800;box-shadow:0 10px 25px rgba(0,0,0,.22)}
.match-viewers-widget strong{color:#facc15;font-size:20px;line-height:1}
.viewer-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}
@media(max-width:760px){.match-viewers-widget{width:100%;justify-content:center;border-radius:14px}}

/* V35 czat + V36 slider LIVE + V37 reklamy */
.live-slider-section{margin-top:-18px;margin-bottom:26px}
.live-slider{display:flex;gap:14px;overflow:hidden;scroll-behavior:smooth}
.live-slide{min-width:300px;flex:0 0 300px;text-decoration:none;color:#fff;background:linear-gradient(135deg,rgba(30,42,65,.95),rgba(12,16,25,.95));border:1px solid rgba(255,212,0,.22);border-radius:18px;padding:16px;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.live-slide b{display:block;margin:10px 0 6px;font-size:17px;line-height:1.2}.live-slide small{color:#b8c2d6}.live-slide.active{border-color:#ffd400}
.ad-zone{width:100%;margin:14px auto 18px;text-align:center}.ad-box{display:flex;justify-content:center;align-items:center;min-height:60px;border:1px dashed rgba(255,212,0,.25);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden}.ad-box img{max-width:100%;height:auto;display:block}.ad-zone-home_top{max-width:1180px;margin-top:22px}.ad-zone-match_above{margin-top:0}.ad-zone-match_below{max-width:1180px}
.speedway-chat .chat-settings{display:grid;grid-template-columns:1fr 160px;gap:10px;margin-bottom:12px}.speedway-chat input,.speedway-chat select{background:#070b15;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:12px;font-weight:700}.chat-messages{height:300px;overflow:auto;background:#080d17;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px;margin-bottom:12px}.chat-line{padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.06);line-height:1.35}.chat-line:last-child{border-bottom:0}.chat-time{color:#8791a8;font-size:12px;margin-right:7px}.chat-nick{font-weight:900;margin-right:6px}.chat-form{display:grid;grid-template-columns:1fr auto;gap:10px}.chat-form .btn{border:0;cursor:pointer}.match-viewers-widget{margin-left:auto!important;margin-right:auto!important}
@media(max-width:700px){.speedway-chat .chat-settings,.chat-form{grid-template-columns:1fr}.live-slide{min-width:260px;flex-basis:260px}.chat-messages{height:260px}}

/* V35.1 poprawki: czat na dole, licznik na środku, LIVE */
.match-viewers-widget{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 auto 16px auto!important;
  text-align:center!important;
}
.card > .match-viewers-widget{margin-left:auto!important;margin-right:auto!important;}
.viewer-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.live-pulse{background:#ef4444!important;color:#fff!important;animation:livePulse 1.15s infinite;box-shadow:0 0 0 rgba(239,68,68,.55)}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(239,68,68,.55)}70%{box-shadow:0 0 0 9px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
.chat-bottom-section{margin-top:22px!important;}
.speedway-chat h2{display:flex;align-items:center;gap:8px}.speedway-chat h2:before{content:'💬'}
@media(max-width:700px){.match-viewers-widget{width:100%!important;}}


/* V36.2/V37.1 - dopracowanie LIVE, slidera i panelu reklam */
.countdown.is-live,.match-countdown.is-live{color:#ff4d4d!important;text-shadow:0 0 16px rgba(255,0,0,.35)}
.live-mini.is-live-now{border-color:rgba(255,61,61,.35)!important;box-shadow:0 0 0 1px rgba(255,61,61,.12),0 16px 50px rgba(255,0,0,.10)}
.live-slider{padding-bottom:6px;scroll-snap-type:x mandatory}
.live-slide{scroll-snap-align:start;min-width:310px;flex:0 0 310px}
.live-slide.active{border-color:rgba(255,212,0,.38)!important;box-shadow:0 12px 35px rgba(0,0,0,.22)}
.ad-admin-preview{max-width:150px;max-height:52px;object-fit:contain;border-radius:10px;background:#0b1220;border:1px solid rgba(255,255,255,.12);padding:4px}
.admin-form input[type=file]{padding:10px;background:#0b1220;color:#dbe4ef;border:1px dashed rgba(250,204,21,.35);border-radius:12px}
@media(max-width:700px){.live-slide{min-width:260px;flex-basis:260px}.ad-admin-preview{max-width:110px}}

/* V37.2 - czytelny formularz reklam w panelu admina */
.ad-form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
  max-width:1100px!important;
  padding:22px!important;
}
.ad-form label{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0!important;
  color:#f8fafc!important;
  font-weight:900!important;
}
.ad-form input:not([type="checkbox"]),
.ad-form select,
.ad-form textarea{
  width:100%!important;
  min-width:0!important;
  background:#070b15!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:12px!important;
  padding:12px 13px!important;
  font:inherit!important;
  font-weight:700!important;
}
.ad-form textarea{
  resize:vertical!important;
  min-height:130px!important;
}
.ad-form small{
  color:#a6adbb!important;
  font-weight:700!important;
  line-height:1.35!important;
}
.ad-form .form-row{
  display:grid!important;
  gap:16px!important;
  align-items:end!important;
}
.ad-form .form-row.two{grid-template-columns:1fr 1fr!important;}
.ad-form .form-row.three{grid-template-columns:1fr 1fr 180px!important;}
.ad-form .check-label{
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:48px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.04)!important;
  padding:10px 12px!important;
}
.ad-form .check-label input{width:18px!important;height:18px!important;accent-color:#facc15!important;}
.ad-form .form-actions{
  display:flex!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  margin-top:2px!important;
}
.ad-current-preview{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  padding:12px!important;
  border:1px dashed rgba(250,204,21,.28)!important;
  border-radius:14px!important;
  background:rgba(250,204,21,.06)!important;
}
.ad-current-preview span{font-weight:900;color:#facc15;}
.ad-current-preview img{max-width:260px;max-height:80px;object-fit:contain;border-radius:10px;background:#050608;padding:5px;}
@media(max-width:800px){
  .ad-form .form-row.two,
  .ad-form .form-row.three{grid-template-columns:1fr!important;}
  .ad-form .check-label{justify-content:flex-start!important;}
  .ad-current-preview{align-items:flex-start;flex-direction:column;}
  .ad-current-preview img{max-width:100%;}
}

/* V38 - terminarz z PDF PZM */
.schedule-page .section-title{align-items:flex-start}.schedule-page h1{font-size:clamp(30px,4vw,48px)}
.calendar-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}
.calendar-tab{display:block;text-decoration:none;color:#fff;background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:18px;padding:14px;min-height:96px;transition:.15s ease}
.calendar-tab span{display:inline-block;color:#111827;background:var(--yellow);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:1000;text-transform:uppercase;margin-bottom:10px}
.calendar-tab b{display:block;line-height:1.25;font-size:14px}.calendar-tab:hover,.calendar-tab.active{border-color:rgba(250,204,21,.55);background:rgba(250,204,21,.11);transform:translateY(-1px)}
.calendar-viewer-card{padding:0;overflow:hidden}.calendar-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid var(--line)}
.calendar-viewer-head h2{margin:10px 0 0}.calendar-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.calendar-pdf{display:block;width:100%;height:78vh;min-height:620px;border:0;background:#0b1220}.calendar-note{padding:0 20px 18px;margin:0}
@media(max-width:1000px){.calendar-tabs{grid-template-columns:repeat(2,1fr)}.calendar-viewer-head{flex-direction:column;align-items:flex-start}.calendar-actions{justify-content:flex-start}.calendar-pdf{height:70vh;min-height:520px}}
@media(max-width:600px){.calendar-tabs{grid-template-columns:1fr}.calendar-tab{min-height:auto}.schedule-page .section-title{display:block}.schedule-page .section-title .btn{margin-top:12px}.calendar-pdf{height:68vh;min-height:460px}.calendar-actions .btn{width:100%;text-align:center}}

/* V40 CMS PRO */
body.admin-cms{background:#07090d;color:#fff}
body.admin-cms .topbar{display:none}
body.admin-cms main{margin-left:280px;min-height:100vh;padding-top:18px}
.admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;background:linear-gradient(180deg,#0d1118,#111827);border-right:1px solid rgba(250,204,21,.18);z-index:50;padding:20px 14px;display:flex;flex-direction:column;gap:18px}
.admin-sidebar-brand{font-size:26px;font-weight:1000;line-height:1;color:#fff;letter-spacing:.5px}.admin-sidebar-brand span{color:#facc15}.admin-sidebar-brand small{display:block;margin-top:7px;font-size:11px;color:#9ca3af;letter-spacing:1.5px;text-transform:uppercase}
.admin-sidebar-nav{display:flex;flex-direction:column;gap:7px}.admin-sidebar-nav a{display:flex;gap:10px;align-items:center;text-decoration:none;color:#e5e7eb;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);border-radius:13px;padding:11px 12px;font-weight:900}.admin-sidebar-nav a:hover{background:rgba(250,204,21,.12);border-color:rgba(250,204,21,.35);color:#fff}
.admin-sidebar-user{margin-top:auto;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px}.admin-sidebar-user b,.admin-sidebar-user small,.admin-sidebar-user a{display:block}.admin-sidebar-user small{color:#9ca3af;margin:4px 0 10px}.admin-sidebar-user a{color:#facc15;font-weight:900}
body.admin-cms .admin-nav{display:none}.admin-dashboard-pro .admin-hero,.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.admin-hero h1,.admin-page-head h1{margin-bottom:4px}.admin-hero p,.admin-page-head p{color:#cbd5e1;margin:0}.admin-hero-user{background:rgba(250,204,21,.1);border:1px solid rgba(250,204,21,.25);padding:12px 14px;border-radius:14px;color:#fef3c7}
.admin-stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:18px 0 26px}.admin-stat-card{background:linear-gradient(180deg,#172235,#111827);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:17px;min-height:108px}.admin-stat-card span{font-size:25px}.admin-stat-card small{display:block;color:#cbd5e1;margin-top:10px;font-weight:800}.admin-stat-card b{font-size:30px;display:block;margin-top:4px;color:#facc15}
.admin-sections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-section-card{display:block;text-decoration:none;color:#fff;background:linear-gradient(180deg,#172235,#0f172a);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:22px;min-height:125px}.admin-section-card:hover{border-color:rgba(250,204,21,.5);transform:translateY(-1px)}.admin-section-card b{display:block;font-size:24px;margin-bottom:10px}.admin-section-card span{color:#cbd5e1;line-height:1.5}
.admin-editor-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-editor-form label{display:flex;flex-direction:column;gap:7px;font-weight:900}.admin-editor-form input,.admin-editor-form select{width:100%;padding:13px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#070b13;color:#fff}.permission-box{grid-column:1/-1;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.permission-grid label,.checkline{flex-direction:row!important;align-items:center}.permission-grid input,.checkline input{width:auto!important}.permission-box small{color:#9ca3af}.pill,.status{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000}.pill{background:rgba(250,204,21,.14);color:#fde68a}.status.ok{background:rgba(34,197,94,.14);color:#86efac}.status.off{background:rgba(239,68,68,.14);color:#fca5a5}.success{padding:12px 14px;background:rgba(34,197,94,.13);border:1px solid rgba(34,197,94,.35);border-radius:12px;margin:12px 0}.error{padding:12px 14px;background:rgba(239,68,68,.13);border:1px solid rgba(239,68,68,.35);border-radius:12px;margin:12px 0}
@media(max-width:1100px){body.admin-cms main{margin-left:0;padding-top:74px}.admin-sidebar{right:0;bottom:auto;width:auto;height:64px;overflow-x:auto;display:flex;flex-direction:row;align-items:center}.admin-sidebar-brand{font-size:18px;min-width:170px}.admin-sidebar-nav{flex-direction:row}.admin-sidebar-nav a{white-space:nowrap}.admin-sidebar-user{display:none}.admin-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-sections-grid{grid-template-columns:1fr}.admin-editor-form{grid-template-columns:1fr}.permission-grid{grid-template-columns:1fr}}

/* V40.1 - porządki w panelu admina */
body.admin-cms main{margin-left:330px!important;padding:22px 26px 40px!important;}
.admin-sidebar{width:310px!important;padding:18px 16px!important;}
.admin-sidebar-logo{display:block;text-decoration:none;color:#fff;margin-bottom:2px;}
.admin-sidebar-logo img{display:block;width:100%;max-width:255px;height:auto;margin:0 auto 6px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(255,255,255,.20));}
.admin-sidebar-logo small{display:block;text-align:left;margin:0 0 8px 0;font-size:11px;color:#9ca3af;letter-spacing:1.5px;text-transform:uppercase;font-weight:900;}
.admin-view-site{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#111827;background:#facc15;border:1px solid rgba(250,204,21,.55);border-radius:13px;padding:11px 12px;font-weight:1000;box-shadow:0 10px 30px rgba(250,204,21,.12);}
.admin-view-site:hover{filter:brightness(1.07);}
.admin-sidebar-nav a{padding:12px 13px!important;font-size:15px;}
.admin-sidebar-user{margin-bottom:0!important;}
body.admin-cms .container{max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;}
body.admin-cms .section{padding-top:26px!important;}
body.admin-cms h1{font-size:32px!important;}
.admin-table{font-size:14px;}
.admin-table th,.admin-table td{vertical-align:middle;}
.admin-table-wide td:nth-child(2){min-width:270px;}
@media(max-width:1100px){
  body.admin-cms main{margin-left:0!important;padding:96px 14px 30px!important;}
  .admin-sidebar{width:auto!important;height:78px!important;padding:10px 12px!important;overflow-x:auto!important;}
  .admin-sidebar-logo{min-width:150px!important;margin:0!important;}
  .admin-sidebar-logo img{max-width:145px!important;margin:0!important;}
  .admin-sidebar-logo small{display:none!important;}
  .admin-view-site{min-width:145px!important;white-space:nowrap!important;}
}


.logo-brand{display:flex;align-items:center}
.logo-brand img{height:72px;width:auto;display:block}
.topbar{min-height:90px}
@media(max-width:768px){
.logo-brand img{height:48px}
}


/* V40.3 - logo, favicon, login */
.logo-brand img{height:74px!important;width:auto!important;max-width:330px!important;object-fit:contain!important;filter:drop-shadow(0 0 14px rgba(255,255,255,.16));}
.topbar{min-height:92px!important;}
.admin-sidebar-logo img{max-width:270px!important;max-height:92px!important;object-fit:contain!important;}
.admin-login-box{text-align:center;max-width:480px!important;}
.login-logo{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:18px;}
.login-logo img{width:min(360px,100%);height:auto;display:block;filter:drop-shadow(0 0 20px rgba(255,255,255,.16));}
.login-logo span{font-size:12px;font-weight:1000;letter-spacing:2px;color:#9ca3af;text-transform:uppercase;}
.admin-login-box h1{text-align:center;margin-top:4px;}
@media(max-width:768px){.logo-brand img{height:52px!important;max-width:230px!important}.topbar{min-height:72px!important}.login-logo img{width:min(290px,100%);}}


/* V40.4 - większe logo na stronie głównej + szerszy układ */
.container{width:min(1400px,94%)!important;}
.topbar{min-height:178px!important;}
.nav-wrap{
  min-height:170px!important;
  padding:18px 0!important;
  gap:22px!important;
}
.logo-brand{
  flex:0 0 auto!important;
  align-items:center!important;
}
.logo-brand img{
  height:145px!important;
  max-width:430px!important;
  width:auto!important;
  display:block!important;
  object-fit:contain!important;
  filter:drop-shadow(0 0 22px rgba(255,255,255,.22)) drop-shadow(0 0 22px rgba(239,68,68,.12))!important;
}
.nav{
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}
.nav a{font-size:15px!important;padding:11px 14px!important;}

@media(max-width:1000px){
  .topbar{min-height:132px!important;}
  .nav-wrap{min-height:124px!important;}
  .logo-brand img{height:105px!important;max-width:330px!important;}
  .hamburger{align-self:center!important;}
  .nav{top:126px!important;}
}
@media(max-width:768px){
  .container{width:min(100% - 22px,1400px)!important;}
  .topbar{min-height:102px!important;}
  .nav-wrap{min-height:96px!important;padding:10px 0!important;}
  .logo-brand img{height:82px!important;max-width:245px!important;}
  .nav{top:102px!important;}
}

/* V41 - jasny styl SPEEDWAY.BLOG inspirowany sportowym portalem: biel + czerwień + czerń */
body:not(.admin-cms){
  background:#f6f6f6!important;
  color:#111!important;
  font-family:Arial,Helvetica,sans-serif;
}
body:not(.admin-cms) .container{width:min(1480px,96%);}
body:not(.admin-cms) .topbar{
  position:relative!important;
  background:#fff!important;
  border-bottom:2px solid #ef1717!important;
  box-shadow:0 4px 18px rgba(0,0,0,.07)!important;
}
body:not(.admin-cms) .nav-wrap{
  min-height:190px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:16px!important;
  padding:18px 0 0!important;
}
body:not(.admin-cms) .brand.logo-brand{align-items:center!important;justify-content:center!important;width:100%;}
body:not(.admin-cms) .brand.logo-brand img{
  height:128px!important;
  width:auto!important;
  max-width:min(760px,92vw)!important;
  object-fit:contain!important;
  filter:drop-shadow(0 14px 32px rgba(239,23,23,.20));
}
body:not(.admin-cms) .nav{
  width:100%;
  justify-content:center!important;
  gap:42px!important;
  padding:14px 0!important;
  border-top:1px solid #e8e8e8!important;
}
body:not(.admin-cms) .nav a{
  color:#111!important;
  border-radius:0!important;
  background:transparent!important;
  padding:8px 0!important;
  font-size:16px!important;
  text-transform:uppercase;
  letter-spacing:.2px;
  position:relative;
}
body:not(.admin-cms) .nav a:hover,
body:not(.admin-cms) .nav a.admin-link:hover{color:#e30613!important;}
body:not(.admin-cms) .nav a:after{content:"";position:absolute;left:0;right:0;bottom:-15px;height:3px;background:#e30613;transform:scaleX(0);transition:.18s;}
body:not(.admin-cms) .nav a:hover:after{transform:scaleX(1);}
body:not(.admin-cms) .admin-link{color:#e30613!important;}

body:not(.admin-cms) main{background:#f6f6f6!important;}
body:not(.admin-cms) .section{padding:18px 0!important;}
body:not(.admin-cms) .home-grid{grid-template-columns:minmax(0,1.75fr) minmax(360px,.95fr)!important;gap:22px!important;}
body:not(.admin-cms) .card,
body:not(.admin-cms) .live-mini,
body:not(.admin-cms) .live-slide,
body:not(.admin-cms) .results-card,
body:not(.admin-cms) .tables-card{
  background:#fff!important;
  color:#111!important;
  border:1px solid #e5e5e5!important;
  border-radius:4px!important;
  box-shadow:0 2px 14px rgba(0,0,0,.06)!important;
}
body:not(.admin-cms) h1,
body:not(.admin-cms) h2,
body:not(.admin-cms) h3,
body:not(.admin-cms) b{color:#111!important;}
body:not(.admin-cms) p,
body:not(.admin-cms) .muted{color:#444!important;}
body:not(.admin-cms) .section-title h2,
body:not(.admin-cms) .card h2{
  position:relative;
  text-transform:uppercase;
  font-size:22px;
  padding-left:16px;
  border-bottom:1px solid #e5e5e5;
  padding-bottom:12px;
}
body:not(.admin-cms) .section-title h2:before,
body:not(.admin-cms) .card h2:before{
  content:"";position:absolute;left:0;top:2px;width:4px;height:21px;background:#e30613;border-radius:2px;
}
body:not(.admin-cms) .hero-news{
  min-height:430px!important;
  border-radius:4px!important;
  border:1px solid #ddd!important;
  box-shadow:0 2px 14px rgba(0,0,0,.08)!important;
  padding:34px!important;
  background-color:#111!important;
}
body:not(.admin-cms) .hero-news h1{color:#fff!important;font-size:clamp(34px,4vw,52px)!important;line-height:1.05!important;text-shadow:0 3px 14px rgba(0,0,0,.45);}
body:not(.admin-cms) .hero-news p{color:#fff!important;font-size:18px!important;max-width:560px;}
body:not(.admin-cms) .news-link,
body:not(.admin-cms) .btn.red,
body:not(.admin-cms) .btn{
  background:#e30613!important;
  color:#fff!important;
  border-radius:3px!important;
  box-shadow:none!important;
  text-transform:uppercase;
  font-weight:900;
}
body:not(.admin-cms) .btn.dark{background:#111!important;color:#fff!important;}
body:not(.admin-cms) .badge,
body:not(.admin-cms) .badge.yellow,
body:not(.admin-cms) .badge.dark{
  background:#e30613!important;
  color:#fff!important;
  border-radius:2px!important;
  padding:7px 10px!important;
}
body:not(.admin-cms) .live-mini{margin-top:20px!important;padding:16px 22px!important;border-left:5px solid #e30613!important;}
body:not(.admin-cms) .live-mini-main{display:flex;justify-content:space-between;gap:20px;align-items:center;}
body:not(.admin-cms) .live-mini-main h1{font-size:24px!important;margin:6px 0!important;}
body:not(.admin-cms) .live-slider{gap:10px!important;}
body:not(.admin-cms) .live-slide{border-left:4px solid #e30613!important;}
body:not(.admin-cms) .news-card{padding:0!important;overflow:hidden!important;}
body:not(.admin-cms) .news-photo{height:190px!important;border-radius:0!important;}
body:not(.admin-cms) .news-body{background:#fff!important;}
body:not(.admin-cms) .cards3{grid-template-columns:repeat(3,1fr)!important;gap:20px!important;}
body:not(.admin-cms) .match-row{border-bottom:1px solid #e5e5e5!important;}
body:not(.admin-cms) .match-link{color:#111!important;text-decoration:none!important;}
body:not(.admin-cms) .time,
body:not(.admin-cms) .yellow{color:#e30613!important;}
body:not(.admin-cms) .mini-score{background:#111!important;color:#fff!important;border-radius:3px!important;}
body:not(.admin-cms) .table th{color:#e30613!important;border-bottom:2px solid #e30613!important;}
body:not(.admin-cms) .table td{color:#111!important;border-bottom:1px solid #e5e5e5!important;}
body:not(.admin-cms) .league-block h3{color:#e30613!important;text-transform:uppercase;font-size:15px;}
body:not(.admin-cms) .footer{background:#fff!important;border-top:1px solid #e5e5e5!important;color:#555!important;}
body:not(.admin-cms) .footer a{color:#111!important;}
body:not(.admin-cms) .footer b{color:#111!important;}
body:not(.admin-cms) .footer p{color:#666!important;}
body:not(.admin-cms) .ad-slot,
body:not(.admin-cms) .speedway-ad{background:#fff!important;border:1px solid #eee!important;}

@media(max-width:900px){
  body:not(.admin-cms) .nav-wrap{min-height:auto!important;padding:12px 0!important;flex-direction:row!important;justify-content:space-between!important;}
  body:not(.admin-cms) .brand.logo-brand{width:auto!important;}
  body:not(.admin-cms) .brand.logo-brand img{height:82px!important;max-width:260px!important;}
  body:not(.admin-cms) .hamburger{display:block!important;background:#e30613!important;color:#fff!important;}
  body:not(.admin-cms) .nav{display:none;position:absolute;top:100px;left:4%;right:4%;width:auto;gap:0!important;background:#fff!important;border:1px solid #ddd!important;padding:10px!important;z-index:99;}
  body:not(.admin-cms).menu-open .nav{display:flex!important;}
  body:not(.admin-cms) .nav a{width:100%;padding:13px 10px!important;border-bottom:1px solid #eee!important;}
  body:not(.admin-cms) .nav a:after{display:none!important;}
  body:not(.admin-cms) .home-grid,
  body:not(.admin-cms) .cards3,
  body:not(.admin-cms) .cards4{grid-template-columns:1fr!important;}
  body:not(.admin-cms) .hero-news{min-height:380px!important;padding:24px!important;}
  body:not(.admin-cms) .live-mini-main{align-items:flex-start;flex-direction:column;}
}

/* V41.1 - prawdziwy jasny układ portalowy strony głównej */
body:not(.admin-cms){background:#f4f4f4!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important;}
body:not(.admin-cms) .container{width:min(1510px,96%)!important;}
body:not(.admin-cms) .portal-topline{background:#fff!important;border-bottom:1px solid #ececec!important;}
body:not(.admin-cms) .portal-topline-inner{min-height:74px;display:grid;grid-template-columns:240px 1fr auto;align-items:center;gap:20px;}
body:not(.admin-cms) .portal-date{font-size:13px;color:#555;text-transform:uppercase;}
body:not(.admin-cms) .portal-breaking{font-size:15px;color:#111;}
body:not(.admin-cms) .portal-breaking span{display:inline-block;margin-right:10px;background:#e30613;color:#fff;text-transform:uppercase;font-weight:900;padding:8px 11px;border-radius:2px;}
body:not(.admin-cms) .portal-social{display:flex;gap:12px;align-items:center;}
body:not(.admin-cms) .portal-social a{width:34px;height:34px;border:1px solid #d7d7d7;border-radius:50%;display:grid;place-items:center;text-decoration:none;color:#111;font-weight:900;background:#fff;}
body:not(.admin-cms) .portal-social a:hover{border-color:#e30613;color:#e30613;}
body:not(.admin-cms) .portal-search{font-size:22px!important;margin-left:8px;}
body:not(.admin-cms) .topbar{background:#fff!important;border-bottom:2px solid #e30613!important;box-shadow:0 3px 16px rgba(0,0,0,.08)!important;}
body:not(.admin-cms) .nav-wrap{min-height:130px!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:0!important;justify-content:flex-start!important;}
body:not(.admin-cms) .brand.logo-brand{width:100%!important;height:118px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
body:not(.admin-cms) .brand.logo-brand img{height:108px!important;max-width:min(640px,88vw)!important;width:auto!important;object-fit:contain!important;filter:drop-shadow(0 12px 24px rgba(0,0,0,.14)) drop-shadow(0 10px 24px rgba(227,6,19,.14))!important;}
body:not(.admin-cms) .nav{display:flex!important;width:100%!important;justify-content:center!important;gap:48px!important;padding:14px 0!important;border-top:1px solid #eee!important;background:#fff!important;}
body:not(.admin-cms) .nav a{color:#111!important;background:transparent!important;font-size:16px!important;font-weight:900!important;text-transform:uppercase!important;padding:0!important;text-decoration:none!important;border-radius:0!important;letter-spacing:.2px;}
body:not(.admin-cms) .nav a.admin-link{color:#111!important;}
body:not(.admin-cms) .nav a:hover{color:#e30613!important;}
body:not(.admin-cms) .hamburger{display:none!important;}
body:not(.admin-cms) main{background:#f4f4f4!important;padding-top:20px!important;}
body:not(.admin-cms) .portal-main-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(380px,.95fr);gap:22px;align-items:start;margin-top:0;}
body:not(.admin-cms) .portal-hero{min-height:455px;border-radius:4px;overflow:hidden;background:linear-gradient(135deg,#252525,#111);background-size:cover;background-position:center;position:relative;box-shadow:0 2px 16px rgba(0,0,0,.12);border:1px solid #ddd;display:flex;align-items:flex-end;}
body:not(.admin-cms) .portal-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.78));pointer-events:none;}
body:not(.admin-cms) .portal-label{position:absolute;z-index:2;top:24px;left:24px;background:#e30613;color:#fff;font-weight:1000;text-transform:uppercase;font-size:13px;padding:9px 12px;border-radius:2px;}
body:not(.admin-cms) .portal-hero-content{position:relative;z-index:2;padding:0 34px 34px;max-width:620px;}
body:not(.admin-cms) .portal-hero h1{color:#fff!important;font-size:clamp(28px,3vw,48px)!important;line-height:1.04!important;margin:0 0 12px!important;text-shadow:0 3px 15px rgba(0,0,0,.55);}
body:not(.admin-cms) .portal-hero p{color:#fff!important;font-size:18px!important;margin:0 0 22px!important;max-width:560px;}
body:not(.admin-cms) .portal-red-btn{display:inline-block;background:#e30613!important;color:#fff!important;text-decoration:none!important;text-transform:uppercase!important;font-weight:1000!important;border-radius:3px!important;padding:13px 20px!important;box-shadow:none!important;}
body:not(.admin-cms) .portal-red-btn:hover{background:#b80000!important;}
body:not(.admin-cms) .portal-side-stack{display:flex;flex-direction:column;gap:16px;}
body:not(.admin-cms) .portal-panel{background:#fff!important;color:#111!important;border:1px solid #e3e3e3!important;border-radius:4px!important;box-shadow:0 2px 14px rgba(0,0,0,.07)!important;padding:16px!important;}
body:not(.admin-cms) .portal-panel h2,body:not(.admin-cms) .portal-section-title h2{position:relative;margin:0 0 14px!important;padding:0 0 12px 17px!important;border-bottom:1px solid #e4e4e4!important;color:#111!important;text-transform:uppercase!important;font-size:20px!important;}
body:not(.admin-cms) .portal-panel h2:before,body:not(.admin-cms) .portal-section-title h2:before{content:"";position:absolute;left:0;top:1px;width:4px;height:22px;background:#e30613;border-radius:2px;}
body:not(.admin-cms) .portal-latest-row{display:grid;grid-template-columns:118px 1fr;gap:13px;padding:10px 0;border-bottom:1px solid #eee;text-decoration:none;color:#111;}
body:not(.admin-cms) .portal-latest-row:last-child{border-bottom:0;}
body:not(.admin-cms) .portal-thumb{height:66px;background:#111 center/cover;border-radius:2px;display:block;}
body:not(.admin-cms) .portal-thumb-fallback{background:linear-gradient(135deg,#333,#111 55%,#e30613);}
body:not(.admin-cms) .portal-cat{display:block;color:#e30613!important;text-transform:uppercase;font-size:12px;margin-bottom:5px;}
body:not(.admin-cms) .portal-latest-row strong{display:block;color:#111!important;font-size:15px;line-height:1.25;}
body:not(.admin-cms) .portal-latest-row small{display:block;color:#666;margin-top:5px;}
body:not(.admin-cms) .portal-transmission-row{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee;text-decoration:none;color:#111;}
body:not(.admin-cms) .portal-date-small{display:flex;flex-direction:column;align-items:center;line-height:1;color:#111;text-transform:uppercase;font-size:11px;}
body:not(.admin-cms) .portal-date-small b{font-size:20px;color:#e30613!important;}
body:not(.admin-cms) .portal-match-title strong{display:block;color:#111!important;text-transform:uppercase;font-size:14px;line-height:1.25;}
body:not(.admin-cms) .portal-match-title small{display:block;color:#666;margin-top:3px;}
body:not(.admin-cms) .portal-transmission-row em{font-style:normal;color:#e30613;border:2px solid #e30613;padding:3px 6px;font-weight:1000;font-size:12px;}
body:not(.admin-cms) .portal-all-link{display:block;text-align:center;text-decoration:none;color:#e30613!important;text-transform:uppercase;font-weight:1000;margin-top:14px;}
body:not(.admin-cms) .portal-live-strip{margin-top:18px;margin-bottom:28px;background:#111;color:#fff;border-left:6px solid #e30613;border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;}
body:not(.admin-cms) .portal-live-strip b,body:not(.admin-cms) .portal-live-strip span{color:#fff!important;}
body:not(.admin-cms) .portal-live-strip small{color:#ddd;display:block;margin-top:5px;}
body:not(.admin-cms) .portal-section{margin-top:18px;}
body:not(.admin-cms) .portal-section-title{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e3e3e3;border-bottom:0;border-radius:4px 4px 0 0;padding:14px 16px 0;}
body:not(.admin-cms) .portal-section-title a{color:#e30613;text-decoration:none;text-transform:uppercase;font-weight:900;}
body:not(.admin-cms) .portal-cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e1e1e1;border:1px solid #e3e3e3;border-top:0;box-shadow:0 2px 14px rgba(0,0,0,.06);}
body:not(.admin-cms) .portal-card{background:#fff;overflow:hidden;}
body:not(.admin-cms) .portal-card-img{height:185px;display:block;background:#111 center/cover;position:relative;text-decoration:none;}
body:not(.admin-cms) .portal-card-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.15));}
body:not(.admin-cms) .portal-card-img span{position:absolute;z-index:2;top:12px;left:12px;background:#e30613;color:#fff;font-size:12px;font-weight:1000;text-transform:uppercase;padding:7px 9px;border-radius:2px;}
body:not(.admin-cms) .fallback-1{background:linear-gradient(135deg,#2d3748,#111 60%,#e30613)!important}.fallback-2{background:linear-gradient(135deg,#444,#111 60%,#e30613)!important}.fallback-3{background:linear-gradient(135deg,#555,#111 60%,#e30613)!important}.fallback-4{background:linear-gradient(135deg,#222,#111 60%,#e30613)!important}
body:not(.admin-cms) .portal-card-body{padding:14px 16px 18px;}
body:not(.admin-cms) .portal-card-body small{color:#666;}
body:not(.admin-cms) .portal-card-body h3{color:#111!important;font-size:18px;line-height:1.2;margin:8px 0;}
body:not(.admin-cms) .portal-card-body p{color:#444!important;margin:0;font-size:14px;line-height:1.45;}
body:not(.admin-cms) .portal-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
body:not(.admin-cms) .match-row{border-bottom:1px solid #eee!important;color:#111!important;}
body:not(.admin-cms) .mini-score{background:#111!important;color:#fff!important;border-radius:2px!important;}
body:not(.admin-cms) .table th{color:#e30613!important;border-bottom:2px solid #e30613!important;}
body:not(.admin-cms) .table td{color:#111!important;border-bottom:1px solid #eee!important;}
body:not(.admin-cms) .team-logo-small{max-width:24px;max-height:24px;}
body:not(.admin-cms) .footer{margin-top:24px;background:#fff!important;border-top:1px solid #ddd!important;color:#666!important;}
body:not(.admin-cms) .footer b,body:not(.admin-cms) .footer a{color:#111!important;}
body:not(.admin-cms) .footer p{color:#666!important;}
body:not(.admin-cms) .ad-slot,body:not(.admin-cms) .speedway-ad{background:#fff!important;border:1px solid #e3e3e3!important;}
@media(max-width:1050px){body:not(.admin-cms) .portal-main-grid,body:not(.admin-cms) .portal-bottom-grid{grid-template-columns:1fr!important;}body:not(.admin-cms) .portal-cards4{grid-template-columns:repeat(2,1fr);}body:not(.admin-cms) .portal-topline-inner{grid-template-columns:1fr;gap:8px;padding:12px 0;}body:not(.admin-cms) .portal-social{justify-content:flex-start}}
@media(max-width:820px){body:not(.admin-cms) .nav-wrap{min-height:auto!important;flex-direction:row!important;justify-content:space-between!important;padding:8px 0!important;}body:not(.admin-cms) .brand.logo-brand{width:auto!important;height:auto!important;}body:not(.admin-cms) .brand.logo-brand img{height:78px!important;max-width:240px!important;}body:not(.admin-cms) .hamburger{display:block!important;background:#e30613!important;color:#fff!important;}body:not(.admin-cms) .nav{display:none!important;position:absolute!important;top:100%;left:2%;right:2%;width:auto!important;flex-direction:column!important;gap:0!important;border:1px solid #ddd!important;z-index:999!important;padding:8px 12px!important;}body:not(.admin-cms).menu-open .nav{display:flex!important;}body:not(.admin-cms) .nav a{padding:12px 0!important;border-bottom:1px solid #eee;}body:not(.admin-cms) .portal-hero{min-height:360px;}body:not(.admin-cms) .portal-hero-content{padding:0 22px 26px;}body:not(.admin-cms) .portal-cards4{grid-template-columns:1fr;}body:not(.admin-cms) .portal-live-strip{flex-direction:column;align-items:flex-start;}body:not(.admin-cms) .portal-latest-row{grid-template-columns:94px 1fr}.portal-social a{width:30px;height:30px}}

/* V42.1 - Portal Premium: jasny motyw SpeedwayNews-like, finalne nadpisania */
body:not(.admin-cms){
  --sb-red:#e30613;
  --sb-black:#111111;
  --sb-text:#151515;
  --sb-muted:#666;
  --sb-line:#e6e6e6;
  --sb-bg:#f5f5f5;
  --sb-card:#ffffff;
  background:var(--sb-bg)!important;
  color:var(--sb-text)!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
body:not(.admin-cms) .container{width:min(1560px,96%)!important;max-width:1560px!important;}
body:not(.admin-cms) .topbar{background:#fff!important;border-bottom:3px solid var(--sb-red)!important;box-shadow:0 3px 18px rgba(0,0,0,.08)!important;}
body:not(.admin-cms) .portal-topline{background:#fff!important;border-bottom:1px solid #eee!important;}
body:not(.admin-cms) .portal-topline-inner{min-height:78px!important;grid-template-columns:260px minmax(0,1fr) auto!important;}
body:not(.admin-cms) .portal-date{font-weight:700!important;color:#666!important;}
body:not(.admin-cms) .portal-breaking{font-size:15px!important;color:#111!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body:not(.admin-cms) .portal-breaking span{background:var(--sb-red)!important;color:#fff!important;border-radius:2px!important;font-weight:1000!important;padding:8px 12px!important;}
body:not(.admin-cms) .portal-social a{background:#fff!important;border:1px solid #d6d6d6!important;color:#111!important;box-shadow:0 2px 8px rgba(0,0,0,.04)!important;}
body:not(.admin-cms) .portal-social a:hover{border-color:var(--sb-red)!important;color:var(--sb-red)!important;}
body:not(.admin-cms) .nav-wrap{min-height:198px!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;position:relative!important;}
body:not(.admin-cms) .brand.logo-brand{height:138px!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;}
body:not(.admin-cms) .brand.logo-brand img{height:124px!important;width:auto!important;max-width:min(850px,92vw)!important;object-fit:contain!important;filter:none!important;}
body:not(.admin-cms) .nav{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important;gap:54px!important;padding:20px 0 17px!important;border-top:1px solid #ececec!important;background:#fff!important;}
body:not(.admin-cms) .nav a{color:#111!important;background:transparent!important;text-transform:uppercase!important;font-size:16px!important;font-weight:1000!important;letter-spacing:.15px!important;text-decoration:none!important;border-radius:0!important;padding:0!important;position:relative!important;}
body:not(.admin-cms) .nav a:after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:-20px!important;height:3px!important;background:var(--sb-red)!important;transform:scaleX(0)!important;transition:.18s ease!important;}
body:not(.admin-cms) .nav a:hover{color:var(--sb-red)!important;}
body:not(.admin-cms) .nav a:hover:after{transform:scaleX(1)!important;}
body:not(.admin-cms) .admin-link{opacity:.68!important;}
body:not(.admin-cms) main{background:var(--sb-bg)!important;padding-top:20px!important;}
body:not(.admin-cms) .portal-main-grid{display:grid!important;grid-template-columns:minmax(0,1.82fr) minmax(390px,.9fr)!important;gap:24px!important;align-items:start!important;}
body:not(.admin-cms) .portal-hero{min-height:470px!important;background-color:#151515!important;border:1px solid #ddd!important;border-radius:4px!important;box-shadow:0 3px 18px rgba(0,0,0,.10)!important;}
body:not(.admin-cms) .portal-label{background:var(--sb-red)!important;color:#fff!important;border-radius:2px!important;text-transform:uppercase!important;font-weight:1000!important;top:24px!important;left:24px!important;}
body:not(.admin-cms) .portal-hero-content{padding:0 36px 36px!important;}
body:not(.admin-cms) .portal-hero h1{font-size:clamp(36px,4.15vw,58px)!important;line-height:1.03!important;color:#fff!important;text-shadow:0 4px 18px rgba(0,0,0,.6)!important;margin:0 0 12px!important;}
body:not(.admin-cms) .portal-hero p{color:#fff!important;font-size:18px!important;max-width:780px!important;}
body:not(.admin-cms) .portal-red-btn,
body:not(.admin-cms) .btn.red,
body:not(.admin-cms) button.btn.red{background:var(--sb-red)!important;color:#fff!important;border:0!important;border-radius:3px!important;text-transform:uppercase!important;font-weight:1000!important;box-shadow:none!important;}
body:not(.admin-cms) .portal-red-btn:hover,
body:not(.admin-cms) .btn.red:hover{background:#b90000!important;color:#fff!important;}
body:not(.admin-cms) .portal-panel,
body:not(.admin-cms) .card,
body:not(.admin-cms) .portal-section-title,
body:not(.admin-cms) .portal-card{background:#fff!important;color:#111!important;border:1px solid var(--sb-line)!important;border-radius:4px!important;box-shadow:0 2px 14px rgba(0,0,0,.055)!important;}
body:not(.admin-cms) .portal-panel h2,
body:not(.admin-cms) .portal-section-title h2,
body:not(.admin-cms) .card h2{color:#111!important;text-transform:uppercase!important;font-weight:1000!important;letter-spacing:.2px!important;border-bottom:1px solid var(--sb-line)!important;}
body:not(.admin-cms) .portal-panel h2:before,
body:not(.admin-cms) .portal-section-title h2:before,
body:not(.admin-cms) .card h2:before{background:var(--sb-red)!important;width:4px!important;border-radius:1px!important;}
body:not(.admin-cms) .portal-latest-row{grid-template-columns:122px 1fr!important;gap:14px!important;padding:11px 0!important;border-bottom:1px solid #eee!important;}
body:not(.admin-cms) .portal-thumb{height:72px!important;border-radius:2px!important;}
body:not(.admin-cms) .portal-cat{color:var(--sb-red)!important;font-size:12px!important;text-transform:uppercase!important;font-weight:1000!important;}
body:not(.admin-cms) .portal-latest-row strong,
body:not(.admin-cms) .portal-match-title strong,
body:not(.admin-cms) .portal-card-body h3{color:#111!important;font-weight:1000!important;}
body:not(.admin-cms) .portal-latest-row small,
body:not(.admin-cms) .portal-match-title small,
body:not(.admin-cms) .portal-card-body p,
body:not(.admin-cms) .portal-card-body small{color:#555!important;}
body:not(.admin-cms) .portal-transmission-row{grid-template-columns:54px 1fr auto!important;}
body:not(.admin-cms) .portal-date-small b,
body:not(.admin-cms) .yellow,
body:not(.admin-cms) .time{color:var(--sb-red)!important;}
body:not(.admin-cms) .portal-transmission-row em{color:var(--sb-red)!important;border:2px solid var(--sb-red)!important;background:#fff!important;}
body:not(.admin-cms) .portal-all-link,
body:not(.admin-cms) .portal-section-title a{color:var(--sb-red)!important;}
body:not(.admin-cms) .portal-live-strip{background:#111!important;border-left:6px solid var(--sb-red)!important;border-radius:4px!important;box-shadow:0 2px 12px rgba(0,0,0,.12)!important;}
body:not(.admin-cms) .portal-cards4{grid-template-columns:repeat(4,1fr)!important;gap:0!important;border:1px solid var(--sb-line)!important;background:#e4e4e4!important;border-top:0!important;box-shadow:0 2px 14px rgba(0,0,0,.055)!important;}
body:not(.admin-cms) .portal-card{border:0!important;border-radius:0!important;box-shadow:none!important;}
body:not(.admin-cms) .portal-card-img{height:205px!important;}
body:not(.admin-cms) .portal-card-img span{background:var(--sb-red)!important;color:#fff!important;border-radius:2px!important;}
body:not(.admin-cms) .portal-bottom-grid{grid-template-columns:1fr 1fr!important;gap:24px!important;}
body:not(.admin-cms) .match-row{border-bottom:1px solid #eee!important;}
body:not(.admin-cms) .mini-score{background:#111!important;color:#fff!important;border-radius:3px!important;}
body:not(.admin-cms) .table th{color:var(--sb-red)!important;border-bottom:2px solid var(--sb-red)!important;}
body:not(.admin-cms) .table td{color:#111!important;border-bottom:1px solid #eee!important;}
body:not(.admin-cms) .footer{background:#fff!important;border-top:1px solid #ddd!important;margin-top:28px!important;color:#666!important;}
body:not(.admin-cms) .footer-grid{align-items:center!important;}
body:not(.admin-cms) .footer-logo{display:block!important;width:260px!important;max-width:90%!important;height:auto!important;margin:0 0 8px!important;}
body:not(.admin-cms) .footer b,
body:not(.admin-cms) .footer a{color:#111!important;}
body:not(.admin-cms) .footer p{color:#666!important;}
body:not(.admin-cms) .scoreboard{background:#fff!important;color:#111!important;border:1px solid #e5e5e5!important;border-radius:4px!important;}
body:not(.admin-cms) .scoreboard h1,
body:not(.admin-cms) .scoreboard p{color:#111!important;}
body:not(.admin-cms) .match-live-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(360px,.85fr)!important;gap:22px!important;align-items:start!important;}
body:not(.admin-cms) .match-stream-card{min-width:0!important;}
body:not(.admin-cms) .video-frame{background:#111!important;border-radius:3px!important;overflow:hidden!important;}
body:not(.admin-cms) .speedway-chat{height:100%!important;min-height:420px!important;display:flex!important;flex-direction:column!important;}
body:not(.admin-cms) .chat-messages{background:#f8f8f8!important;border:1px solid #e5e5e5!important;color:#111!important;flex:1!important;}
body:not(.admin-cms) .chat-settings input,
body:not(.admin-cms) .chat-settings select,
body:not(.admin-cms) .chat-form input{background:#fff!important;color:#111!important;border:1px solid #ddd!important;}
body:not(.admin-cms) .lineup-grid{margin-top:22px!important;}
body:not(.admin-cms) .lineup-rider{background:#fafafa!important;color:#111!important;border:1px solid #eee!important;}
body:not(.admin-cms) .lineup-rider b{color:#111!important;}
body:not(.admin-cms) .lineup-rider small{color:#666!important;}
body:not(.admin-cms) .lineup-number{background:#111!important;color:#fff!important;}
@media(max-width:1100px){
  body:not(.admin-cms) .portal-main-grid,
  body:not(.admin-cms) .portal-bottom-grid,
  body:not(.admin-cms) .match-live-grid{grid-template-columns:1fr!important;}
  body:not(.admin-cms) .portal-cards4{grid-template-columns:repeat(2,1fr)!important;}
  body:not(.admin-cms) .portal-topline-inner{grid-template-columns:1fr!important;gap:8px!important;padding:12px 0!important;}
  body:not(.admin-cms) .portal-breaking{white-space:normal!important;}
}
@media(max-width:820px){
  body:not(.admin-cms) .nav-wrap{min-height:auto!important;flex-direction:row!important;justify-content:space-between!important;padding:10px 0!important;}
  body:not(.admin-cms) .brand.logo-brand{width:auto!important;height:auto!important;}
  body:not(.admin-cms) .brand.logo-brand img{height:76px!important;max-width:245px!important;}
  body:not(.admin-cms) .hamburger{display:block!important;background:var(--sb-red)!important;color:#fff!important;border:0!important;border-radius:3px!important;padding:10px 13px!important;}
  body:not(.admin-cms) .nav{display:none!important;position:absolute!important;top:100%!important;left:2%!important;right:2%!important;width:auto!important;flex-direction:column!important;gap:0!important;align-items:stretch!important;border:1px solid #ddd!important;padding:8px 14px!important;z-index:9999!important;box-shadow:0 12px 24px rgba(0,0,0,.12)!important;}
  body:not(.admin-cms).menu-open .nav{display:flex!important;}
  body:not(.admin-cms) .nav a{padding:13px 0!important;border-bottom:1px solid #eee!important;}
  body:not(.admin-cms) .nav a:after{display:none!important;}
  body:not(.admin-cms) .portal-hero{min-height:380px!important;}
  body:not(.admin-cms) .portal-hero-content{padding:0 22px 28px!important;}
  body:not(.admin-cms) .portal-hero h1{font-size:32px!important;}
  body:not(.admin-cms) .portal-cards4{grid-template-columns:1fr!important;}
  body:not(.admin-cms) .portal-live-strip{flex-direction:column!important;align-items:flex-start!important;}
  body:not(.admin-cms) .portal-latest-row{grid-template-columns:94px 1fr!important;}
  body:not(.admin-cms) .portal-thumb{height:60px!important;}
}


/* V42.2 - statystyki ZuzelStat + odwrócona kolorystyka wyników pod jasny motyw */
body:not(.admin-cms) .brand.logo-brand img{height:152px!important;max-width:min(960px,94vw)!important;}
body:not(.admin-cms) .brand.logo-brand{height:166px!important;}
body:not(.admin-cms) .nav-wrap{min-height:228px!important;}
body:not(.admin-cms) .mini-score,
body:not(.admin-cms) .countdown{
  background:#fff!important;
  color:#111!important;
  border:2px solid #111!important;
  border-radius:4px!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body:not(.admin-cms) .countdown.is-live{
  background:#fff!important;
  color:#e30613!important;
  border-color:#e30613!important;
}
body:not(.admin-cms) .portal-stats-promo{margin-top:22px!important;}
body:not(.admin-cms) .stats-promo-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px!important;}
body:not(.admin-cms) .stats-promo-card b{font-size:22px;color:#111!important;text-transform:uppercase;}
body:not(.admin-cms) .stats-promo-card p{margin:7px 0 0;color:#555!important;}
body:not(.admin-cms) .stats-page .portal-section-title{border:1px solid #e3e3e3!important;border-bottom:0!important;}
body:not(.admin-cms) .stats-intro{padding:16px 18px!important;border-radius:0!important;border-bottom:0!important;}
body:not(.admin-cms) .stats-intro p{margin:0;color:#444!important;}
body:not(.admin-cms) .zuzelstat-frame-wrap{background:#fff;border:1px solid #e3e3e3;box-shadow:0 2px 14px rgba(0,0,0,.06);height:78vh;min-height:640px;overflow:hidden;}
body:not(.admin-cms) .zuzelstat-frame{width:100%;height:100%;border:0;display:block;filter:invert(1) hue-rotate(180deg) contrast(.98) brightness(1.04);background:#fff;}
@media(max-width:820px){
  body:not(.admin-cms) .brand.logo-brand img{height:92px!important;max-width:290px!important;}
  body:not(.admin-cms) .brand.logo-brand{height:auto!important;}
  body:not(.admin-cms) .nav-wrap{min-height:auto!important;}
  body:not(.admin-cms) .stats-promo-card{flex-direction:column;align-items:flex-start;}
  body:not(.admin-cms) .stats-promo-card .portal-red-btn{width:100%;text-align:center;}
  body:not(.admin-cms) .zuzelstat-frame-wrap{height:72vh;min-height:520px;}
}

/* V42.3 - importer statystyk + poprawione logo portalowe */
body:not(.admin-cms) .brand.logo-brand img{
  height:134px!important;
  max-width:min(850px,92vw)!important;
  width:auto!important;
  object-fit:contain!important;
  filter:none!important;
}
body:not(.admin-cms) .brand.logo-brand{height:150px!important;}
body:not(.admin-cms) .nav-wrap{min-height:208px!important;}
body:not(.admin-cms) .stats-source-box{display:flex;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e3e3e3;border-top:0;padding:14px 18px;color:#333;}
body:not(.admin-cms) .stats-source-box a{color:#e30613;font-weight:900;text-decoration:none;}
body:not(.admin-cms) .stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;}
body:not(.admin-cms) .stats-card{background:#fff;border:1px solid #e3e3e3;box-shadow:0 2px 14px rgba(0,0,0,.05);padding:18px;}
body:not(.admin-cms) .stats-card h3{margin:0 0 14px;text-transform:uppercase;font-size:20px;color:#111;border-left:4px solid #e30613;padding-left:10px;}
body:not(.admin-cms) .stats-table{width:100%;border-collapse:collapse;font-size:15px;color:#111;}
body:not(.admin-cms) .stats-table th{font-size:12px;text-transform:uppercase;color:#777;text-align:left;border-bottom:2px solid #111;padding:9px 8px;}
body:not(.admin-cms) .stats-table td{border-bottom:1px solid #eee;padding:10px 8px;}
body:not(.admin-cms) .stats-table td:first-child{width:46px;color:#e30613;font-weight:1000;}
body:not(.admin-cms) .stats-table td:last-child{text-align:right;font-size:18px;}
body:not(.admin-cms) .stats-full{margin-top:18px;}
body:not(.admin-cms) .stats-match-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
body:not(.admin-cms) .stats-match-list div{border:1px solid #eee;background:#fafafa;padding:14px;text-align:center;}
body:not(.admin-cms) .stats-match-list span{display:block;color:#777;font-size:12px;}
body:not(.admin-cms) .stats-match-list b{display:block;font-size:28px;color:#111;margin:4px 0;}
body:not(.admin-cms) .stats-match-list small{display:block;color:#555;}
.admin-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0;}
.admin-card{background:linear-gradient(180deg,#172235,#111827);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:18px;margin-top:16px;}
.muted{color:#9ca3af;}
@media(max-width:900px){
  body:not(.admin-cms) .stats-grid{grid-template-columns:1fr;}
  body:not(.admin-cms) .stats-match-list{grid-template-columns:repeat(2,1fr);}
  body:not(.admin-cms) .stats-source-box{flex-direction:column;}
}
@media(max-width:820px){
  body:not(.admin-cms) .brand.logo-brand img{height:70px!important;max-width:245px!important;}
  body:not(.admin-cms) .brand.logo-brand{height:auto!important;}
  body:not(.admin-cms) .nav-wrap{min-height:auto!important;}
}

/* V42.4 - reklamy + poprawka wyników/składów bez ramek */
body:not(.admin-cms) .ad-zone{
  width:min(1200px,92%);
  margin:18px auto;
  display:block;
}
body:not(.admin-cms) .ad-box{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden;
  text-align:center;
}
body:not(.admin-cms) .ad-box img{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  border:0!important;
  border-radius:4px;
}
body:not(.admin-cms) .ad-zone-sidebar{
  width:100%;
  margin:0 0 18px 0;
}
body:not(.admin-cms) .ad-zone-mobile{display:none;}
body:not(.admin-cms) .ad-zone-between_news{margin-top:18px;margin-bottom:18px;}
body:not(.admin-cms) .ad-zone-header{margin-top:0;margin-bottom:18px;}
body:not(.admin-cms) .mini-score,
body:not(.admin-cms) .results-card .mini-score,
body:not(.admin-cms) span.mini-score{
  background:transparent!important;
  background-color:transparent!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  display:inline!important;
  font-size:24px!important;
  line-height:1!important;
}
body:not(.admin-cms) .lineup-number,
body:not(.admin-cms) .awizowane-number,
body:not(.admin-cms) .rider-number,
body:not(.admin-cms) .player-number{
  background:transparent!important;
  background-color:transparent!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  min-width:0!important;
}
.admin-table .ad-admin-preview{max-width:140px;max-height:54px;object-fit:contain;display:block;}
.ad-current-preview img{max-width:360px;max-height:120px;object-fit:contain;display:block;margin-top:8px;}
@media(max-width:820px){
  body:not(.admin-cms) .ad-zone-mobile{display:block;}
  body:not(.admin-cms) .ad-zone-sidebar{display:none;}
  body:not(.admin-cms) .ad-zone{width:min(100% - 24px,1200px);margin:14px auto;}
}

/* V42.4.1 HOTFIX - wyniki i numery pod jasny motyw */
body:not(.admin-cms) .mini-score,
body:not(.admin-cms) .results-card .mini-score,
body:not(.admin-cms) span.mini-score{
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  display:inline-block!important;
  min-width:78px!important;
  text-align:center!important;
  font-size:24px!important;
  font-weight:1000!important;
  line-height:1.1!important;
}
body:not(.admin-cms) .lineup-number,
body:not(.admin-cms) .awizowane-number,
body:not(.admin-cms) .rider-number,
body:not(.admin-cms) .player-number{
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  min-width:34px!important;
  width:34px!important;
  display:inline-block!important;
  text-align:left!important;
  font-weight:1000!important;
}

/* V42.4.2 - jasny panel admina + widoczne dodawanie + poprawka numerów/wyników */
body.admin-cms{
  background:#f4f4f4!important;
  color:#111!important;
}
body.admin-cms main{
  background:#f4f4f4!important;
}
body.admin-cms .admin-sidebar{
  background:#fff!important;
  border-right:1px solid #ddd!important;
  box-shadow:8px 0 24px rgba(0,0,0,.08)!important;
}
body.admin-cms .admin-sidebar-brand,
body.admin-cms .admin-sidebar-logo,
body.admin-cms .admin-sidebar-user b{
  color:#111!important;
}
body.admin-cms .admin-sidebar-brand small,
body.admin-cms .admin-sidebar-logo small,
body.admin-cms .admin-sidebar-user small{
  color:#666!important;
}
body.admin-cms .admin-sidebar-nav a{
  background:#f7f7f7!important;
  color:#111!important;
  border:1px solid #e5e5e5!important;
}
body.admin-cms .admin-sidebar-nav a:hover{
  background:#fff1f1!important;
  border-color:#e30613!important;
  color:#e30613!important;
}
body.admin-cms .admin-view-site,
body.admin-cms .admin-sidebar-user{
  background:#ffd400!important;
  color:#111!important;
  border:0!important;
}
body.admin-cms .admin-sidebar-user a{color:#111!important;}
body.admin-cms h1,
body.admin-cms h2,
body.admin-cms h3,
body.admin-cms label,
body.admin-cms b{
  color:#111!important;
}
body.admin-cms p,
body.admin-cms small,
body.admin-cms .muted{
  color:#555!important;
}
body.admin-cms .card,
body.admin-cms .admin-card,
body.admin-cms .admin-box,
body.admin-cms .admin-section,
body.admin-cms .admin-editor-form,
body.admin-cms form,
body.admin-cms .permission-grid{
  background:#fff!important;
  color:#111!important;
  border:1px solid #ddd!important;
  box-shadow:0 2px 16px rgba(0,0,0,.06)!important;
}
body.admin-cms .admin-table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
  color:#111!important;
}
body.admin-cms .admin-table th{
  color:#e30613!important;
  background:transparent!important;
  text-align:left!important;
}
body.admin-cms .admin-table td{
  background:#fff!important;
  color:#111!important;
  border-top:1px solid #e5e5e5!important;
  border-bottom:1px solid #e5e5e5!important;
}
body.admin-cms .admin-table td:first-child{border-left:1px solid #e5e5e5!important;border-radius:9px 0 0 9px!important;}
body.admin-cms .admin-table td:last-child{border-right:1px solid #e5e5e5!important;border-radius:0 9px 9px 0!important;}
body.admin-cms .admin-nav{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:0 0 20px!important;
  padding:14px!important;
  background:#fff!important;
  border:1px solid #ddd!important;
  border-radius:12px!important;
  box-shadow:0 2px 14px rgba(0,0,0,.05)!important;
}
body.admin-cms .admin-nav a,
body.admin-cms .btn,
body.admin-cms button[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#e30613!important;
  color:#fff!important;
  border:0!important;
  border-radius:8px!important;
  padding:10px 14px!important;
  text-decoration:none!important;
  font-weight:1000!important;
  box-shadow:none!important;
}
body.admin-cms .admin-nav a:first-child{
  background:#111!important;
  color:#fff!important;
}
body.admin-cms .input,
body.admin-cms input,
body.admin-cms select,
body.admin-cms textarea{
  background:#fff!important;
  color:#111!important;
  border:1px solid #cfcfcf!important;
  border-radius:8px!important;
}
body.admin-cms textarea{min-height:160px!important;}
body.admin-cms .notice{
  background:#ecfdf5!important;
  color:#065f46!important;
  border:1px solid #a7f3d0!important;
}
body.admin-cms .yellow,
body.admin-cms a.yellow{
  color:#e30613!important;
}

body:not(.admin-cms) .mini-score,
body:not(.admin-cms) .results-card .mini-score,
body:not(.admin-cms) span.mini-score{
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border:none!important;
  box-shadow:none!important;
  outline:none!important;
  border-radius:0!important;
  padding:0!important;
  min-width:78px!important;
  display:inline-block!important;
  text-align:center!important;
  font-size:24px!important;
  font-weight:1000!important;
  line-height:1.1!important;
}
body:not(.admin-cms) .lineup-rider .lineup-number,
body:not(.admin-cms) span.lineup-number,
body:not(.admin-cms) .awizowane-number,
body:not(.admin-cms) .rider-number,
body:not(.admin-cms) .player-number{
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border:none!important;
  box-shadow:none!important;
  outline:none!important;
  border-radius:0!important;
  padding:0!important;
  min-width:34px!important;
  width:34px!important;
  display:inline-block!important;
  text-align:left!important;
  font-weight:1000!important;
}


/* V42.4.3 - admin news edit/date picker fix */
body.admin-cms .admin-page-head .btn{white-space:nowrap!important;}
body.admin-cms input[type="datetime-local"]{min-height:44px!important;}
body.admin-cms .checkline{display:flex!important;align-items:center!important;gap:10px!important;}
body.admin-cms .admin-table td .btn.small{padding:6px 10px!important;font-size:12px!important;margin:0 3px!important;background:#111!important;color:#fff!important;border-radius:7px!important;}
body.admin-cms .admin-table td .btn.small.danger{background:#e30613!important;}
body.admin-cms .notice.error{background:#fef2f2!important;color:#991b1b!important;border:1px solid #fecaca!important;}


/* V42.4.4 - poprawki admina, edycji newsów i billboardu */
body.admin-cms{
  background:#f5f5f5!important;
  color:#111!important;
}
body.admin-cms main{
  background:#f5f5f5!important;
}
body.admin-cms .admin-page-head h1,
body.admin-cms h1,
body.admin-cms h2,
body.admin-cms h3,
body.admin-cms label,
body.admin-cms .form-grid label,
body.admin-cms .admin-form label{
  color:#111!important;
}
body.admin-cms .admin-page-head p,
body.admin-cms small,
body.admin-cms .upload-note{
  color:#555!important;
}
body.admin-cms .card,
body.admin-cms .admin-form,
body.admin-cms .form-grid,
body.admin-cms .admin-table{
  background:#fff!important;
  color:#111!important;
  border:1px solid #ddd!important;
  box-shadow:0 2px 14px rgba(0,0,0,.06)!important;
}
body.admin-cms input:not([type=checkbox]),
body.admin-cms textarea,
body.admin-cms select{
  background:#fff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  border:1px solid #ccc!important;
  box-shadow:none!important;
}
body.admin-cms input::placeholder,
body.admin-cms textarea::placeholder{
  color:#777!important;
  -webkit-text-fill-color:#777!important;
}
body.admin-cms option{
  color:#111!important;
  background:#fff!important;
}
body.admin-cms .admin-nav{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  background:#fff!important;
  border:1px solid #ddd!important;
  border-radius:10px!important;
  padding:12px!important;
  margin:14px 0 20px!important;
}
body.admin-cms .admin-nav a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#e30613!important;
  color:#fff!important;
  border-radius:6px!important;
  padding:10px 14px!important;
  text-decoration:none!important;
  font-weight:900!important;
}
body.admin-cms .admin-nav a:first-child{background:#111!important;}
body.admin-cms .admin-table th{color:#e30613!important;background:#f7f7f7!important;}
body.admin-cms .admin-table td{color:#111!important;background:#fff!important;}
body.admin-cms .admin-table a{color:#e30613!important;}
body:not(.admin-cms) .mini-score{
  background:transparent!important;
  color:#111!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
  font-weight:1000!important;
  font-size:22px!important;
}
body:not(.admin-cms) .lineup-no,
body:not(.admin-cms) .rider-no,
body:not(.admin-cms) .player-number,
body:not(.admin-cms) .start-number,
body:not(.admin-cms) .lineup-number{
  background:transparent!important;
  color:#111!important;
  border:0!important;
  box-shadow:none!important;
}
body:not(.admin-cms) .ad-zone-home_billboard{
  width:min(1480px,96%);
  margin:22px auto 18px!important;
}
body:not(.admin-cms) .ad-box-home_billboard{
  background:#fff!important;
  border:1px solid #e5e5e5!important;
  border-radius:4px!important;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 2px 14px rgba(0,0,0,.06)!important;
}
body:not(.admin-cms) .ad-box-home_billboard img{
  display:block;
  width:100%;
  max-width:970px;
  height:auto;
  max-height:250px;
  object-fit:contain;
}
@media(max-width:700px){
  body:not(.admin-cms) .ad-zone-home_billboard{margin:14px auto!important;}
  body:not(.admin-cms) .ad-box-home_billboard{min-height:90px;}
  body:not(.admin-cms) .ad-box-home_billboard img{max-width:320px;max-height:100px;}
}

/* V42.5.3 - fix: czarne teksty artykułu + widoczne pola edycji newsów */
body:not(.admin-cms) .article-page .article-content,
body:not(.admin-cms) .article-page .article-content p,
body:not(.admin-cms) .article-page .article-content span,
body:not(.admin-cms) .article-page .article-content li,
body:not(.admin-cms) .article-page .article-content div,
body:not(.admin-cms) .article-page .article-content strong,
body:not(.admin-cms) .article-page .article-content b,
body:not(.admin-cms) .article-page .article-content em{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}
body:not(.admin-cms) .article-page h1,
body:not(.admin-cms) .article-page .article-content h1,
body:not(.admin-cms) .article-page .article-content h2,
body:not(.admin-cms) .article-page .article-content h3,
body:not(.admin-cms) .article-page .article-content h4{
  color:#000!important;
  -webkit-text-fill-color:#000!important;
}
body.admin-cms form.card.form-grid input:not([type="checkbox"]):not([type="file"]),
body.admin-cms form.card.form-grid textarea,
body.admin-cms form.card.form-grid select,
body.admin-cms input[name="title"],
body.admin-cms input[name="slug"],
body.admin-cms input[name="image_url"],
body.admin-cms input[name="published_at"],
body.admin-cms textarea[name="excerpt"],
body.admin-cms textarea[name="content"]{
  background:#fff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
  text-shadow:none!important;
  border:1px solid #bdbdbd!important;
  caret-color:#111!important;
}
body.admin-cms textarea[name="excerpt"],
body.admin-cms textarea[name="content"]{
  min-height:190px!important;
  white-space:pre-wrap!important;
}
body.admin-cms form.card.form-grid input::placeholder,
body.admin-cms form.card.form-grid textarea::placeholder{
  color:#777!important;
  -webkit-text-fill-color:#777!important;
  opacity:1!important;
}


/* V42.5.4 - przywrócenie białego tekstu w hero na stronie głównej */
body:not(.admin-cms) .portal-hero,
body:not(.admin-cms) .portal-hero article{
  color:#fff!important;
}
body:not(.admin-cms) .portal-hero h1,
body:not(.admin-cms) .portal-hero h2,
body:not(.admin-cms) .portal-hero p,
body:not(.admin-cms) .portal-hero .portal-hero-content,
body:not(.admin-cms) .portal-hero .portal-hero-content *:not(.portal-red-btn){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body:not(.admin-cms) .portal-hero .portal-red-btn{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}



/* V42.5.6 - poprawka hero: mniejszy tytuł, tekst nie wyjeżdża na całe zdjęcie */
body:not(.admin-cms) .portal-hero{
    min-height: 390px !important;
    align-items: flex-end !important;
}

body:not(.admin-cms) .portal-hero-content{
    max-width: 520px !important;
    padding: 0 28px 28px !important;
}

body:not(.admin-cms) .portal-hero h1{
    max-width: 520px !important;
    font-size: clamp(26px, 2.6vw, 38px) !important;
    line-height: 1.08 !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.6px !important;
}

body:not(.admin-cms) .portal-hero p{
    max-width: 500px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 18px !important;
}

body:not(.admin-cms) .portal-label{
    top: 24px !important;
    left: 28px !important;
}

@media(max-width:700px){
    body:not(.admin-cms) .portal-hero{
        min-height: 330px !important;
    }
    body:not(.admin-cms) .portal-hero-content{
        max-width: 100% !important;
        padding: 0 18px 24px !important;
    }
    body:not(.admin-cms) .portal-hero h1{
        font-size: 28px !important;
        max-width: 100% !important;
    }
    body:not(.admin-cms) .portal-hero p{
        font-size: 14px !important;
        max-width: 100% !important;
    }
}



/* V42.5.7 - HERO REAL FIX: ograniczenie tytułu newsa na stronie głównej */
body:not(.admin-cms) .hero-card,
body:not(.admin-cms) .hero-news,
body:not(.admin-cms) .main-hero,
body:not(.admin-cms) .featured-hero,
body:not(.admin-cms) .top-story,
body:not(.admin-cms) .portal-hero{
    position: relative !important;
    overflow: hidden !important;
}

body:not(.admin-cms) .hero-card .hero-content,
body:not(.admin-cms) .hero-news .hero-content,
body:not(.admin-cms) .main-hero .hero-content,
body:not(.admin-cms) .featured-hero .hero-content,
body:not(.admin-cms) .top-story .hero-content,
body:not(.admin-cms) .portal-hero-content{
    max-width: 560px !important;
    width: 560px !important;
    padding: 36px !important;
    box-sizing: border-box !important;
}

body:not(.admin-cms) .hero-card h1,
body:not(.admin-cms) .hero-card h2,
body:not(.admin-cms) .hero-news h1,
body:not(.admin-cms) .hero-news h2,
body:not(.admin-cms) .main-hero h1,
body:not(.admin-cms) .main-hero h2,
body:not(.admin-cms) .featured-hero h1,
body:not(.admin-cms) .featured-hero h2,
body:not(.admin-cms) .top-story h1,
body:not(.admin-cms) .top-story h2,
body:not(.admin-cms) .portal-hero h1{
    font-size: 36px !important;
    line-height: 1.08 !important;
    max-width: 520px !important;
    width: 520px !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.5px !important;
    color: #fff !important;
}

body:not(.admin-cms) .hero-card p,
body:not(.admin-cms) .hero-news p,
body:not(.admin-cms) .main-hero p,
body:not(.admin-cms) .featured-hero p,
body:not(.admin-cms) .top-story p,
body:not(.admin-cms) .portal-hero p{
    max-width: 520px !important;
    width: 520px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: #fff !important;
}

@media (max-width: 900px){
    body:not(.admin-cms) .hero-card .hero-content,
    body:not(.admin-cms) .hero-news .hero-content,
    body:not(.admin-cms) .main-hero .hero-content,
    body:not(.admin-cms) .featured-hero .hero-content,
    body:not(.admin-cms) .top-story .hero-content,
    body:not(.admin-cms) .portal-hero-content{
        width: auto !important;
        max-width: 100% !important;
        padding: 24px !important;
    }

    body:not(.admin-cms) .hero-card h1,
    body:not(.admin-cms) .hero-card h2,
    body:not(.admin-cms) .hero-news h1,
    body:not(.admin-cms) .hero-news h2,
    body:not(.admin-cms) .main-hero h1,
    body:not(.admin-cms) .main-hero h2,
    body:not(.admin-cms) .featured-hero h1,
    body:not(.admin-cms) .featured-hero h2,
    body:not(.admin-cms) .top-story h1,
    body:not(.admin-cms) .top-story h2,
    body:not(.admin-cms) .portal-hero h1{
        width: auto !important;
        max-width: 100% !important;
        font-size: 30px !important;
    }

    body:not(.admin-cms) .hero-card p,
    body:not(.admin-cms) .hero-news p,
    body:not(.admin-cms) .main-hero p,
    body:not(.admin-cms) .featured-hero p,
    body:not(.admin-cms) .top-story p,
    body:not(.admin-cms) .portal-hero p{
        width: auto !important;
        max-width: 100% !important;
    }
}


/* V42.5.8 - awaryjne wymuszenie hero przez ID/klasy */
body:not(.admin-cms) .portal-main-grid > article.portal-hero > .portal-hero-content{
  max-width:560px!important;
  width:560px!important;
  padding:36px!important;
  box-sizing:border-box!important;
}
body:not(.admin-cms) .portal-main-grid > article.portal-hero > .portal-hero-content > h1{
  font-size:36px!important;
  line-height:1.08!important;
  max-width:520px!important;
  width:520px!important;
  margin:0 0 14px!important;
  letter-spacing:-0.5px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body:not(.admin-cms) .portal-main-grid > article.portal-hero > .portal-hero-content > p{
  font-size:15px!important;
  line-height:1.45!important;
  max-width:520px!important;
  width:520px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  margin:0 0 20px!important;
}



/* V43.4 - SEO/artykuly/reklamy premium */
body:not(.admin-cms) .article-main-photo{
  width:100%;
  height:360px;
  border-radius:14px;
  background-size:cover;
  background-position:center;
  margin-bottom:20px;
}
body:not(.admin-cms) .article-card{
  color:#111!important;
}
body:not(.admin-cms) .article-card h1,
body:not(.admin-cms) .article-content,
body:not(.admin-cms) .article-content p,
body:not(.admin-cms) .article-content li,
body:not(.admin-cms) .article-content span{
  color:#111!important;
}
body:not(.admin-cms) .ad-zone-article_top,
body:not(.admin-cms) .ad-zone-article_bottom{
  margin:22px auto;
}
body:not(.admin-cms) .ad-zone-home_billboard .ad-box{
  min-height:160px;
}
body:not(.admin-cms) .ad-zone-home_billboard:empty,
body:not(.admin-cms) .ad-zone-sidebar:empty,
body:not(.admin-cms) .ad-zone-between_news:empty,
body:not(.admin-cms) .ad-zone-mobile:empty{
  display:none!important;
}
.admin-stats-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}
.admin-stats-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.admin-stats-card small{
  display:block;
  color:#6b7280;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:8px;
}
.admin-stats-card b{
  font-size:28px;
  color:#111;
}
@media(max-width:800px){
  .admin-stats-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
  body:not(.admin-cms) .article-main-photo{height:220px;}
}


/* V43 - SpeedwayNews home / importer engine / mobile / PWA */
.portal-ticker{
  background:#111;
  color:#fff;
  border-bottom:3px solid #e30613;
  font-weight:900;
  text-transform:uppercase;
}
.portal-ticker-inner{
  display:flex;
  align-items:center;
  gap:16px;
  height:38px;
  overflow:hidden;
}
.portal-ticker b{
  background:#e30613;
  padding:8px 12px;
  color:#fff;
}
.portal-ticker marquee{
  font-size:13px;
  letter-spacing:.2px;
}
.stats-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}
.stats-tabs a{
  display:inline-flex;
  padding:11px 15px;
  border-radius:10px;
  background:#fff;
  border:1px solid #e5e7eb;
  color:#111;
  font-weight:900;
  text-decoration:none;
}
.stats-tabs a.active{
  background:#e30613;
  color:#fff;
  border-color:#e30613;
}
.stats-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
.stats-table th{
  color:#e30613;
  font-size:12px;
  text-transform:uppercase;
  text-align:left;
  padding:12px;
  border-bottom:2px solid #eee;
}
.stats-table td{
  padding:12px;
  border-bottom:1px solid #eee;
  color:#111;
}
.stats-table tr:hover td{
  background:#fafafa;
}
.portal-day-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.portal-stat-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #eee;
}
.portal-stat-row span{
  font-weight:900;
  color:#111;
}
.portal-stat-row small{
  display:block;
  color:#666;
  font-size:12px;
  margin-top:3px;
}
.portal-stat-row b{
  font-size:22px;
  color:#e30613;
}
@media(max-width:900px){
  .portal-main-grid{
    grid-template-columns:1fr!important;
  }
  .portal-side-stack{
    grid-row:auto!important;
  }
  .portal-hero{
    min-height:360px!important;
  }
  .portal-hero-content,
  .portal-hero-content[style]{
    width:auto!important;
    max-width:100%!important;
    padding:24px!important;
  }
  .portal-hero h1,
  .portal-hero h1[style]{
    width:auto!important;
    max-width:100%!important;
    font-size:30px!important;
  }
  .portal-hero p,
  .portal-hero p[style]{
    width:auto!important;
    max-width:100%!important;
    font-size:14px!important;
  }
  .portal-cards4{
    grid-template-columns:1fr 1fr!important;
  }
  .portal-bottom-grid,
  .portal-day-stats{
    grid-template-columns:1fr!important;
  }
  .stats-table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}
@media(max-width:560px){
  .portal-cards4{
    grid-template-columns:1fr!important;
  }
  .portal-topline-inner,
  .portal-social{
    display:none!important;
  }
  .nav{
    flex-wrap:wrap;
    justify-content:center;
  }
  .nav a{
    font-size:13px;
    padding:10px 8px;
  }
  .logo-brand img{
    max-width:260px!important;
  }
}

/* V43.4 - osobna tabela niesklasyfikowanych */
.stats-table-unclassified th{
  color:#6b7280;
}
.stats-page h3{
  color:#111;
}

/* V43.4.5 */
.stats-table-unclassified td:first-child{
 white-space:nowrap!important;
 min-width:220px;
}


/* V43.4.5 - usunięty czarny pasek NA ŻYWO z głównej */
.portal-ticker,
.portal-ticker-inner{
    display:none!important;
}


/* V43.4.5 - naprawa strony głównej: HERO + sidebar */
body:not(.admin-cms) .portal-main-grid{
    display:grid !important;
    grid-template-columns:minmax(0, 2.25fr) minmax(300px, .95fr) !important;
    gap:24px !important;
    align-items:start !important;
}

body:not(.admin-cms) .portal-main-grid .portal-hero{
    min-height:430px !important;
    height:430px !important;
    overflow:hidden !important;
    position:relative !important;
    display:flex !important;
    align-items:flex-end !important;
    background-size:cover !important;
    background-position:center !important;
}

body:not(.admin-cms) .portal-hero::after{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    background:linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 43%, rgba(0,0,0,.22) 72%, rgba(0,0,0,.08) 100%) !important;
    pointer-events:none !important;
}

body:not(.admin-cms) .portal-hero .portal-label{
    position:absolute !important;
    top:24px !important;
    left:32px !important;
    z-index:3 !important;
    margin:0 !important;
}

body:not(.admin-cms) .portal-hero-content,
body:not(.admin-cms) .portal-hero-content[style]{
    position:relative !important;
    z-index:2 !important;
    width:560px !important;
    max-width:560px !important;
    padding:0 32px 32px 32px !important;
    box-sizing:border-box !important;
}

body:not(.admin-cms) .portal-hero h1,
body:not(.admin-cms) .portal-hero h1[style]{
    font-size:34px !important;
    line-height:1.08 !important;
    max-width:520px !important;
    width:520px !important;
    margin:0 0 14px !important;
    letter-spacing:-.5px !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 2px 14px rgba(0,0,0,.55) !important;
}

body:not(.admin-cms) .portal-hero p,
body:not(.admin-cms) .portal-hero p[style]{
    font-size:15px !important;
    line-height:1.45 !important;
    max-width:520px !important;
    width:520px !important;
    margin:0 0 20px !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 2px 10px rgba(0,0,0,.5) !important;
}

body:not(.admin-cms) .portal-side-stack{
    min-width:0 !important;
    width:100% !important;
}

@media(max-width:1000px){
    body:not(.admin-cms) .portal-main-grid{
        grid-template-columns:1fr !important;
    }
    body:not(.admin-cms) .portal-main-grid .portal-hero{
        height:auto !important;
        min-height:360px !important;
    }
    body:not(.admin-cms) .portal-hero-content,
    body:not(.admin-cms) .portal-hero-content[style]{
        width:auto !important;
        max-width:100% !important;
        padding:0 24px 28px 24px !important;
    }
    body:not(.admin-cms) .portal-hero h1,
    body:not(.admin-cms) .portal-hero h1[style]{
        width:auto !important;
        max-width:100% !important;
        font-size:30px !important;
    }
    body:not(.admin-cms) .portal-hero p,
    body:not(.admin-cms) .portal-hero p[style]{
        width:auto !important;
        max-width:100% !important;
        font-size:14px !important;
    }
}


/* V43.4.5 - label nie nachodzi na tytuł hero */
body:not(.admin-cms) .portal-main-grid .portal-hero{
    height:440px!important;
    min-height:440px!important;
}

body:not(.admin-cms) .portal-hero .portal-label{
    top:24px!important;
    left:32px!important;
    z-index:5!important;
}

body:not(.admin-cms) .portal-hero-content,
body:not(.admin-cms) .portal-hero-content[style]{
    padding:88px 32px 32px 32px!important;
    width:560px!important;
    max-width:560px!important;
}

body:not(.admin-cms) .portal-hero h1,
body:not(.admin-cms) .portal-hero h1[style]{
    font-size:30px!important;
    line-height:1.08!important;
    width:500px!important;
    max-width:500px!important;
    margin:0 0 14px!important;
}

body:not(.admin-cms) .portal-hero p,
body:not(.admin-cms) .portal-hero p[style]{
    font-size:14px!important;
    line-height:1.45!important;
    width:500px!important;
    max-width:500px!important;
}

@media(max-width:1000px){
    body:not(.admin-cms) .portal-hero-content,
    body:not(.admin-cms) .portal-hero-content[style]{
        padding:82px 22px 28px 22px!important;
        width:auto!important;
        max-width:100%!important;
    }
    body:not(.admin-cms) .portal-hero h1,
    body:not(.admin-cms) .portal-hero h1[style]{
        width:auto!important;
        max-width:100%!important;
        font-size:28px!important;
    }
    body:not(.admin-cms) .portal-hero p,
    body:not(.admin-cms) .portal-hero p[style]{
        width:auto!important;
        max-width:100%!important;
    }
}


/* V43.4.5 - usunięty badge kategorii z hero, koniec nachodzenia na tytuł */
body:not(.admin-cms) .portal-hero .portal-label{
    display:none!important;
}

body:not(.admin-cms) .portal-hero-content,
body:not(.admin-cms) .portal-hero-content[style]{
    padding:32px 32px 32px 32px!important;
    width:560px!important;
    max-width:560px!important;
}

body:not(.admin-cms) .portal-hero h1,
body:not(.admin-cms) .portal-hero h1[style]{
    font-size:30px!important;
    line-height:1.08!important;
    width:520px!important;
    max-width:520px!important;
    margin:0 0 14px!important;
}

@media(max-width:1000px){
    body:not(.admin-cms) .portal-hero-content,
    body:not(.admin-cms) .portal-hero-content[style]{
        padding:28px 22px!important;
        width:auto!important;
        max-width:100%!important;
    }
}


/* V43.4.9 - poprawka edycji newsów */
.admin-form .error,
.error{
    background:#fee2e2;
    border:1px solid #ef4444;
    color:#7f1d1d;
    padding:12px 14px;
    border-radius:10px;
    margin:12px 0;
    font-weight:800;
}
.admin-image-preview{
    margin:8px 0 16px;
}


/* V43.4.9 - naprawa wyglądu formularza edycji newsów */
.admin-cms .admin-layout .admin-form,
.admin-layout form.admin-form,
form.admin-form{
    display:block!important;
    background:#fff!important;
    border:1px solid #ddd!important;
    border-radius:16px!important;
    padding:24px!important;
    box-shadow:0 8px 24px rgba(0,0,0,.06)!important;
    max-width:100%!important;
}

.admin-cms .admin-layout .admin-form label,
.admin-layout form.admin-form label,
form.admin-form label{
    display:block!important;
    width:100%!important;
    margin:16px 0 6px!important;
    font-weight:900!important;
    color:#111!important;
    line-height:1.2!important;
}

.admin-cms .admin-layout .admin-form input[type="text"],
.admin-cms .admin-layout .admin-form input[type="url"],
.admin-cms .admin-layout .admin-form input[type="datetime-local"],
.admin-cms .admin-layout .admin-form input[type="file"],
.admin-cms .admin-layout .admin-form select,
.admin-cms .admin-layout .admin-form textarea,
.admin-layout form.admin-form input[type="text"],
.admin-layout form.admin-form input[type="url"],
.admin-layout form.admin-form input[type="datetime-local"],
.admin-layout form.admin-form input[type="file"],
.admin-layout form.admin-form select,
.admin-layout form.admin-form textarea,
form.admin-form input[type="text"],
form.admin-form input[type="url"],
form.admin-form input[type="datetime-local"],
form.admin-form input[type="file"],
form.admin-form select,
form.admin-form textarea{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding:12px 14px!important;
    border:1px solid #ccc!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#111!important;
    font-size:15px!important;
    line-height:1.4!important;
}

.admin-cms .admin-layout .admin-form textarea,
.admin-layout form.admin-form textarea,
form.admin-form textarea{
    min-height:140px!important;
    resize:vertical!important;
}

.admin-cms .admin-layout .admin-form textarea[name="content"],
.admin-layout form.admin-form textarea[name="content"],
form.admin-form textarea[name="content"]{
    min-height:240px!important;
}

.admin-cms .admin-layout .admin-form small,
.admin-layout form.admin-form small,
form.admin-form small{
    display:block!important;
    margin-top:6px!important;
    color:#666!important;
}

.admin-cms .admin-layout .admin-form .btn,
.admin-cms .admin-layout .admin-form button,
.admin-layout form.admin-form .btn,
.admin-layout form.admin-form button,
form.admin-form .btn,
form.admin-form button{
    margin-top:20px!important;
    display:inline-flex!important;
    width:auto!important;
}

.admin-image-preview{
    display:block!important;
    margin:12px 0 18px!important;
}

.admin-image-preview img{
    display:block!important;
    max-width:260px!important;
    height:auto!important;
    border-radius:10px!important;
    border:1px solid #ddd!important;
}


/* V43.4.24 - Wyniki: nazwy bliżej wyniku + większe odstępy między ligami + dynamiczne wyniki na głównej */
body:not(.admin-cms) .results-card .results-league-title,
body:not(.admin-cms) .results-card h3{
  margin:32px auto 14px!important;
  max-width:940px!important;
  padding-top:18px!important;
  border-top:1px solid #e5e5e5!important;
  font-size:20px!important;
  line-height:1.2!important;
}
body:not(.admin-cms) .results-card .results-league-title:first-of-type,
body:not(.admin-cms) .results-card h3:first-of-type{
  margin-top:12px!important;
  padding-top:0!important;
  border-top:0!important;
}
body:not(.admin-cms) .results-card .result-match-row{
  display:grid!important;
  grid-template-columns:minmax(230px,1fr) 120px minmax(230px,1fr)!important;
  align-items:center!important;
  gap:22px!important;
  max-width:940px!important;
  margin:0 auto!important;
  padding:16px 0!important;
  border-bottom:1px solid #eee!important;
}
body:not(.admin-cms) .results-card .result-team-left,
body:not(.admin-cms) .results-card .result-team-right{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  color:#111!important;
}
body:not(.admin-cms) .results-card .result-team-left{
  justify-content:flex-end!important;
  text-align:right!important;
}
body:not(.admin-cms) .results-card .result-team-right{
  justify-content:flex-start!important;
  text-align:left!important;
}
body:not(.admin-cms) .results-card .result-team-left b,
body:not(.admin-cms) .results-card .result-team-right b{
  font-size:16px!important;
  font-weight:900!important;
  color:#111!important;
}
body:not(.admin-cms) .results-card .mini-score,
body:not(.admin-cms) .results-card span.mini-score{
  justify-self:center!important;
  min-width:82px!important;
  text-align:center!important;
  background:transparent!important;
  color:#000!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:1000!important;
  padding:0!important;
  border-radius:0!important;
}
body:not(.admin-cms) .results-card .team-mini-logo{
  width:24px!important;
  height:24px!important;
  object-fit:contain!important;
  flex:0 0 24px!important;
}
body:not(.admin-cms) .home-results-card .result-match-row{
  grid-template-columns:minmax(180px,1fr) 105px minmax(180px,1fr)!important;
  max-width:760px!important;
  gap:16px!important;
  padding:13px 0!important;
}
body:not(.admin-cms) .home-results-card .mini-score{
  font-size:24px!important;
  min-width:76px!important;
}
body:not(.admin-cms) .home-results-card h3{
  max-width:760px!important;
  color:#e30613!important;
  text-transform:uppercase!important;
  font-size:14px!important;
  letter-spacing:.5px!important;
}
@media(max-width:760px){
  body:not(.admin-cms) .results-card .result-match-row,
  body:not(.admin-cms) .home-results-card .result-match-row{
    grid-template-columns:1fr!important;
    gap:8px!important;
    text-align:center!important;
  }
  body:not(.admin-cms) .results-card .result-team-left,
  body:not(.admin-cms) .results-card .result-team-right{
    justify-content:center!important;
    text-align:center!important;
  }
}

/* V43.4.25 - Statystyki dnia: lewy panel jako Najbliższe mecze */
body:not(.admin-cms) .portal-day-stats{
  align-items:stretch!important;
}
body:not(.admin-cms) .upcoming-card{
  padding:26px!important;
  min-height:292px!important;
}
body:not(.admin-cms) .upcoming-card-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:18px!important;
  padding-bottom:14px!important;
  border-bottom:1px solid #e5e5e5!important;
}
body:not(.admin-cms) .upcoming-card-head h2{
  margin:0!important;
}
body:not(.admin-cms) .portal-outline-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #e30613!important;
  color:#e30613!important;
  background:#fff!important;
  border-radius:4px!important;
  padding:10px 14px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  font-size:13px!important;
  text-decoration:none!important;
}
body:not(.admin-cms) .upcoming-match-row{
  display:grid!important;
  grid-template-columns:74px 1fr!important;
  gap:18px!important;
  align-items:center!important;
  padding:16px 0!important;
  border-bottom:1px solid #eee!important;
}
body:not(.admin-cms) .upcoming-date{
  color:#111!important;
  text-align:left!important;
  line-height:1.25!important;
}
body:not(.admin-cms) .upcoming-date b{
  display:block!important;
  font-size:18px!important;
  font-weight:1000!important;
}
body:not(.admin-cms) .upcoming-date span{
  display:block!important;
  font-size:15px!important;
  color:#555!important;
  margin-top:2px!important;
}
body:not(.admin-cms) .upcoming-teams small{
  display:block!important;
  color:#e30613!important;
  font-weight:900!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.4px!important;
  margin-bottom:8px!important;
}
body:not(.admin-cms) .upcoming-teams > div{
  display:grid!important;
  grid-template-columns:minmax(150px,1fr) 42px minmax(150px,1fr)!important;
  align-items:center!important;
  gap:14px!important;
}
body:not(.admin-cms) .upcoming-teams span{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
body:not(.admin-cms) .upcoming-teams span:last-child{
  justify-content:flex-end!important;
  text-align:right!important;
}
body:not(.admin-cms) .upcoming-teams b{
  font-size:16px!important;
  font-weight:950!important;
  color:#111!important;
}
body:not(.admin-cms) .upcoming-teams em{
  font-style:normal!important;
  color:#e30613!important;
  font-weight:1000!important;
  text-align:center!important;
}
body:not(.admin-cms) .upcoming-teams p{
  margin:7px 0 0!important;
  color:#666!important;
  font-size:13px!important;
  text-align:center!important;
}
body:not(.admin-cms) .upcoming-card .team-mini-logo{
  width:28px!important;
  height:28px!important;
  object-fit:contain!important;
  flex:0 0 28px!important;
}
body:not(.admin-cms) .upcoming-more{
  display:block!important;
  margin-top:16px!important;
  text-align:center!important;
  background:#f6f6f6!important;
  padding:14px!important;
}
@media(max-width:760px){
  body:not(.admin-cms) .upcoming-card-head{align-items:flex-start!important;flex-direction:column!important;}
  body:not(.admin-cms) .upcoming-match-row{grid-template-columns:1fr!important;gap:8px!important;}
  body:not(.admin-cms) .upcoming-teams > div{grid-template-columns:1fr!important;text-align:center!important;}
  body:not(.admin-cms) .upcoming-teams span,
  body:not(.admin-cms) .upcoming-teams span:last-child{justify-content:center!important;text-align:center!important;}
}


/* V43.4.29 - statystyki portalu + top 3 każdej ligi */
body:not(.admin-cms) .home-standings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;}
body:not(.admin-cms) .home-league-top3{margin:0!important;}
body:not(.admin-cms) .home-league-top3 h3{font-size:15px!important;margin:0 0 12px!important;color:#e30613!important;text-transform:uppercase;letter-spacing:.5px;}
body:not(.admin-cms) .home-table-top3{font-size:14px;}
body:not(.admin-cms) .home-table-top3 th{font-size:11px;padding:8px 10px!important;}
body:not(.admin-cms) .home-table-top3 td{padding:10px!important;}
body:not(.admin-cms) .portal-empty-small{font-size:13px;color:#666;margin:8px 0 0;}
body:not(.admin-cms) .portal-visits-card{min-height:292px;}
body:not(.admin-cms) .portal-visits-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e6e6e6;padding-bottom:14px;margin-bottom:18px;}
body:not(.admin-cms) .portal-visits-head h2{margin:0!important;}
body:not(.admin-cms) .live-dot-label{font-weight:900;font-size:12px;text-transform:uppercase;color:#16a34a;display:flex;align-items:center;gap:7px;}
body:not(.admin-cms) .live-dot-label i{width:9px;height:9px;border-radius:999px;background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.12);display:block;}
body:not(.admin-cms) .portal-visits-online{display:flex;align-items:center;justify-content:space-between;border:1px solid #eeeeee;background:linear-gradient(90deg,#fafafa,#fff);padding:16px 18px;border-radius:12px;margin-bottom:14px;}
body:not(.admin-cms) .portal-visits-online small{font-weight:900;text-transform:uppercase;color:#555;}
body:not(.admin-cms) .portal-visits-online b{font-size:34px;color:#111;letter-spacing:-1px;}
body:not(.admin-cms) .portal-visits-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body:not(.admin-cms) .portal-visits-grid div{border:1px solid #eee;border-radius:12px;padding:13px;background:#fff;}
body:not(.admin-cms) .portal-visits-grid small{display:block;text-transform:uppercase;font-size:11px;color:#666;font-weight:900;margin-bottom:5px;}
body:not(.admin-cms) .portal-visits-grid b{display:block;font-size:22px;color:#e30613;line-height:1;}
body:not(.admin-cms) .portal-visits-grid span{display:block;margin-top:4px;font-size:12px;color:#777;}
body:not(.admin-cms) .portal-visits-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;border-top:2px solid #111;font-weight:900;}
body:not(.admin-cms) .portal-visits-total span{text-transform:uppercase;color:#111;}
body:not(.admin-cms) .portal-visits-total b{font-size:24px;color:#111;}
body.admin-cms .admin-portal-stats-panel{margin:0 0 26px;background:rgba(15,23,42,.45);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:18px;}
body.admin-cms .admin-panel-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px;}
body.admin-cms .admin-panel-title h2{margin:0;color:#fff;font-size:22px;}
body.admin-cms .admin-panel-title span{color:#94a3b8;font-weight:700;font-size:13px;}
body.admin-cms .admin-visit-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:18px;}
body.admin-cms .admin-popular-pages{background:rgba(2,6,23,.35);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:15px;}
body.admin-cms .admin-popular-pages h3{margin:0 0 10px;color:#fff;font-size:17px;}
body.admin-cms .admin-popular-pages div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.07);color:#cbd5e1;}
body.admin-cms .admin-popular-pages div:last-child{border-bottom:0;}
body.admin-cms .admin-popular-pages b{color:#facc15;}
@media(max-width:1100px){body:not(.admin-cms) .home-standings-grid{grid-template-columns:1fr;}body.admin-cms .admin-visit-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body:not(.admin-cms) .portal-visits-grid{grid-template-columns:1fr;}body:not(.admin-cms) .portal-visits-total{align-items:flex-start;flex-direction:column;}}

.stats-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-box{background:#f7f7f7;border:1px solid #e5e5e5;border-radius:10px;padding:15px;text-align:center}.stat-box span{display:block;font-size:13px;color:#666}.stat-box b{display:block;font-size:32px;font-weight:800;margin-top:6px}.stat-box.online b{color:#16a34a}
@media(max-width:900px){body.admin-cms .admin-sections-grid[style]{grid-template-columns:1fr!important;}}


/* V43.4.35 admin visits light redesign */
body.admin-cms .admin-dashboard-pro .admin-hero,
body.admin-cms .admin-page-head{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:22px 24px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}
body.admin-cms .admin-hero h1,
body.admin-cms .admin-page-head h1{color:#050505;margin:0 0 6px;font-size:30px;font-weight:900;}
body.admin-cms .admin-hero p,
body.admin-cms .admin-page-head p{color:#4b5563;}
body.admin-cms .admin-hero-user{background:#fff7cc;border:1px solid #fde68a;color:#111827;}
body.admin-cms .admin-visit-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:18px 0 22px;}
body.admin-cms .admin-visit-stats-grid .admin-stat-card{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:18px;
  padding:18px;
  min-height:118px;
  box-shadow:0 8px 22px rgba(0,0,0,.055);
  color:#111827;
}
body.admin-cms .admin-visit-stats-grid .admin-stat-card span{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;background:#f3f4f6;font-size:22px;margin-bottom:8px;
}
body.admin-cms .admin-visit-stats-grid .admin-stat-card:first-child span{background:#dcfce7;}
body.admin-cms .admin-visit-stats-grid .admin-stat-card small{
  display:block;color:#e30613!important;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:900;margin:3px 0 6px;
}
body.admin-cms .admin-visit-stats-grid .admin-stat-card b{
  color:#111827!important;font-size:34px;line-height:1;font-weight:950;letter-spacing:-.03em;
}
body.admin-cms .admin-visit-stats-grid .admin-stat-card:first-child b{color:#16a34a!important;}
body.admin-cms .admin-portal-stats-panel{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:18px;
  padding:20px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
  color:#111827;
}
body.admin-cms .admin-panel-title{border-bottom:1px solid #e5e7eb;padding-bottom:12px;margin-bottom:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;}
body.admin-cms .admin-panel-title h2{margin:0;color:#111827;font-size:22px;font-weight:950;}
body.admin-cms .admin-panel-title span{color:#9ca3af;font-weight:800;text-transform:uppercase;font-size:12px;}
body.admin-cms .admin-popular-pages{display:grid;gap:8px;}
body.admin-cms .admin-popular-pages > div{
  background:#fafafa!important;
  border:1px solid #eeeeee!important;
  border-radius:12px;
  padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
body.admin-cms .admin-popular-pages span{color:#374151!important;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.admin-cms .admin-popular-pages b{color:#e30613!important;font-size:18px;}
body.admin-cms .admin-portal-stats-panel p{color:#6b7280;margin:0;}
@media(max-width:1200px){body.admin-cms .admin-visit-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){body.admin-cms .admin-visit-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body.admin-cms .admin-sections-grid{grid-template-columns:1fr!important;}}

/* V43.4.43 - finalny układ reklam na stronie głównej
   - brak reklamy pod menu
   - reklama prawa zostaje
   - reklama główna jest bezpośrednio pod News Dnia i kończy się mniej więcej na wysokości bloku Najnowsze */
body:not(.admin-cms) .portal-main-grid{
  display:grid!important;
  grid-template-columns:minmax(0, 2.25fr) minmax(300px, .95fr)!important;
  gap:24px!important;
  align-items:start!important;
}
body:not(.admin-cms) .portal-main-grid > article.portal-hero{
  grid-column:1!important;
  grid-row:1!important;
}
body:not(.admin-cms) .portal-main-grid > .home-ad-under-hero{
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  margin:18px 0 0 0!important;
}
body:not(.admin-cms) .portal-main-grid > aside.portal-side-stack{
  grid-column:2!important;
  grid-row:1 / span 2!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-zone-home_billboard{
  width:100%!important;
  margin:0!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard,
body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder{
  width:100%!important;
  min-height:285px!important;
  height:285px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard img,
body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder img{
  width:100%!important;
  max-width:970px!important;
  max-height:250px!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
@media(max-width:1000px){
  body:not(.admin-cms) .portal-main-grid{
    grid-template-columns:1fr!important;
  }
  body:not(.admin-cms) .portal-main-grid > article.portal-hero,
  body:not(.admin-cms) .portal-main-grid > .home-ad-under-hero,
  body:not(.admin-cms) .portal-main-grid > aside.portal-side-stack{
    grid-column:1!important;
    grid-row:auto!important;
  }
  body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard,
  body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder{
    min-height:120px!important;
    height:120px!important;
  }
}


/* V43.4.44 - reklama dokładnie pod News Dnia, kończy się przed/najwyżej równo z Najnowsze */
body:not(.admin-cms) .portal-main-grid{
  display:grid!important;
  grid-template-columns:minmax(0, 2.25fr) minmax(300px, .95fr)!important;
  gap:24px!important;
  align-items:start!important;
}
body:not(.admin-cms) .portal-main-left{
  grid-column:1!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  min-width:0!important;
}
body:not(.admin-cms) .portal-main-left > article.portal-hero{
  width:100%!important;
  margin:0!important;
}
body:not(.admin-cms) .portal-main-left > .home-ad-under-hero{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body:not(.admin-cms) .portal-main-grid > aside.portal-side-stack{
  grid-column:2!important;
  grid-row:auto!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-zone-home_billboard{
  width:100%!important;
  margin:0!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard,
body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder{
  width:100%!important;
  height:180px!important;
  min-height:180px!important;
  max-height:180px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard img,
body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder img{
  width:100%!important;
  max-width:970px!important;
  max-height:160px!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
body:not(.admin-cms) .ad-zone-between_news,
body:not(.admin-cms) .ad-box-between_news{
  display:none!important;
}
@media(max-width:1000px){
  body:not(.admin-cms) .portal-main-grid{grid-template-columns:1fr!important;}
  body:not(.admin-cms) .portal-main-left,
  body:not(.admin-cms) .portal-main-grid > aside.portal-side-stack{grid-column:1!important;}
  body:not(.admin-cms) .home-ad-under-hero .ad-box-home_billboard,
  body:not(.admin-cms) .home-ad-under-hero .ad-box-placeholder{height:120px!important;min-height:120px!important;max-height:120px!important;}
}


/* V43.4.48 - poprawiony pasek górny: data lewo, linki prawo, bez okrągłych ikon */
body:not(.admin-cms) .portal-topline{
  background:#fff!important;
  border-bottom:1px solid #ececec!important;
}
body:not(.admin-cms) .portal-topline-inner{
  min-height:62px!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:24px!important;
}
body:not(.admin-cms) .portal-date{
  font-size:13px!important;
  color:#333!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body:not(.admin-cms) .portal-social{
  display:none!important;
}
body:not(.admin-cms) .portal-toplinks{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:22px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
body:not(.admin-cms) .portal-toplinks a{
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#111!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  text-decoration:none!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:800!important;
  text-transform:none!important;
}
body:not(.admin-cms) .portal-toplinks a:hover{
  color:#e30613!important;
}
body:not(.admin-cms) .portal-toplinks .top-search-btn{
  background:#e30613!important;
  color:#fff!important;
  border-radius:4px!important;
  padding:10px 18px!important;
  font-size:14px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.2px!important;
}
body:not(.admin-cms) .portal-toplinks .top-search-btn:hover{
  background:#b90510!important;
  color:#fff!important;
}
body:not(.admin-cms) .nav a.admin-link{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  color:#111!important;
}
body:not(.admin-cms) .nav a.admin-link:hover{
  color:#e30613!important;
}
@media(max-width:760px){
  body:not(.admin-cms) .portal-topline-inner{
    min-height:auto!important;
    padding:10px 0!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
  }
  body:not(.admin-cms) .portal-toplinks{
    width:100%!important;
    justify-content:flex-start!important;
    gap:14px!important;
    flex-wrap:wrap!important;
  }
}

/* V43.4.53 - reklama z prawej przeniesiona pod panel Najnowsze */
body:not(.admin-cms) .sidebar-ad-after-latest{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body:not(.admin-cms) .sidebar-ad-after-latest .ad-zone-sidebar{
  width:100%!important;
  margin:0!important;
}
body:not(.admin-cms) .sidebar-ad-after-latest .ad-box,
body:not(.admin-cms) .sidebar-ad-after-latest .ad-box-placeholder{
  width:100%!important;
  min-height:110px!important;
  height:110px!important;
  max-height:110px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:1px solid #e3e3e3!important;
  border-radius:4px!important;
  box-shadow:0 2px 14px rgba(0,0,0,.07)!important;
  overflow:hidden!important;
}
body:not(.admin-cms) .sidebar-ad-after-latest .ad-box img,
body:not(.admin-cms) .sidebar-ad-after-latest .ad-box-placeholder img{
  max-width:100%!important;
  max-height:100px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}

/* V43.4.54 remove gap */
.home-ad-under-hero{margin-bottom:10px!important;}.portal-recommended,.portal-featured,.recommended-section{margin-top:0!important;padding-top:0!important;}


/* V43.4.55 - Polecane przeniesione do lewej kolumny, żeby zniknęła wielka dziura */
body:not(.admin-cms) .portal-main-left .portal-recommended-inline{
  margin-top:0!important;
  width:100%!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-section-title{
  margin-top:0!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-cards4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-card-img{
  height:150px!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-card-body{
  padding:12px 14px 16px!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-card-body h3{
  font-size:16px!important;
}
body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-card-body p{
  font-size:13px!important;
  line-height:1.4!important;
}
@media(max-width:1200px){
  body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-cards4{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:700px){
  body:not(.admin-cms) .portal-main-left .portal-recommended-inline .portal-cards4{grid-template-columns:1fr!important;}
}

/* V43.4.56 - strona główna: tabele pod News Dnia + Polecane jako osobne karty */
body:not(.admin-cms) .portal-main-left{
  gap:16px!important;
}
body:not(.admin-cms) .home-ad-under-hero{
  display:none!important;
}
body:not(.admin-cms) .portal-home-tables-inline{
  margin-top:0!important;
  background:#fff!important;
  border:1px solid #e6e6e6!important;
  border-radius:6px!important;
  box-shadow:0 2px 14px rgba(0,0,0,.045)!important;
  padding:0 14px 16px!important;
}
body:not(.admin-cms) .portal-home-tables-inline .portal-section-title{
  border:0!important;
  border-bottom:1px solid #e6e6e6!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:14px 0 10px!important;
  margin-bottom:16px!important;
}
body:not(.admin-cms) .portal-home-tables-inline .portal-section-title h2{
  border-bottom:0!important;
  margin:0!important;
  padding-bottom:0!important;
  font-size:19px!important;
  text-transform:none!important;
}
body:not(.admin-cms) .portal-home-tables-inline .portal-section-title a{
  font-size:13px!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-standings-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-league-top3{
  background:#fff!important;
  border:1px solid #eeeeee!important;
  border-radius:8px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.055)!important;
  padding:18px 16px 14px!important;
  min-height:225px!important;
  display:flex!important;
  flex-direction:column!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-league-top3 h3{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#e30613!important;
  font-size:16px!important;
  font-weight:950!important;
  margin:0 0 12px!important;
  text-transform:uppercase!important;
}
body:not(.admin-cms) .portal-home-tables-inline .league-cup{
  font-size:16px!important;
  line-height:1!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3{
  width:100%!important;
  border-collapse:collapse!important;
  margin:0!important;
  font-size:13px!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 th{
  color:#111!important;
  font-size:11px!important;
  text-transform:uppercase!important;
  padding:8px 6px!important;
  border-bottom:2px solid #e30613!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 td{
  padding:10px 6px!important;
  border-bottom:1px solid #eeeeee!important;
  vertical-align:middle!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 tr:last-child td{
  border-bottom:0!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 td:first-child,
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 th:first-child{
  width:26px!important;
  text-align:center!important;
  font-weight:900!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 td:nth-child(3),
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 th:nth-child(3){
  width:34px!important;
  text-align:center!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 td:last-child,
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 th:last-child{
  width:46px!important;
  text-align:center!important;
}
body:not(.admin-cms) .portal-home-tables-inline .home-table-top3 td:last-child strong{
  display:inline-flex!important;
  min-width:32px!important;
  height:30px!important;
  align-items:center!important;
  justify-content:center!important;
  background:#e30613!important;
  color:#fff!important;
  border-radius:6px!important;
  font-size:15px!important;
  font-weight:950!important;
}
body:not(.admin-cms) .portal-home-tables-inline .table-team{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  line-height:1.15!important;
  font-weight:750!important;
}
body:not(.admin-cms) .portal-home-tables-inline .team-logo-small{
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
  flex:0 0 22px!important;
}
body:not(.admin-cms) .portal-home-tables-inline .league-full-link{
  display:block!important;
  margin-top:auto!important;
  padding-top:13px!important;
  color:#e30613!important;
  text-decoration:none!important;
  text-align:center!important;
  text-transform:uppercase!important;
  font-weight:950!important;
  font-size:13px!important;
}
body:not(.admin-cms) .portal-recommended-inline{
  background:#fff!important;
  border:1px solid #e6e6e6!important;
  border-radius:6px!important;
  box-shadow:0 2px 14px rgba(0,0,0,.045)!important;
  padding:0 14px 16px!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-section-title{
  border:0!important;
  border-bottom:1px solid #e6e6e6!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:14px 0 10px!important;
  margin-bottom:16px!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-section-title h2{
  border-bottom:0!important;
  margin:0!important;
  padding-bottom:0!important;
  font-size:19px!important;
  text-transform:none!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-cards4{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-card{
  border:1px solid #eeeeee!important;
  border-radius:7px!important;
  overflow:hidden!important;
  box-shadow:0 8px 20px rgba(0,0,0,.055)!important;
  background:#fff!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-card-img{
  height:145px!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-card-body{
  padding:12px 14px 16px!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-card-body h3{
  font-size:16px!important;
  line-height:1.22!important;
}
body:not(.admin-cms) .portal-recommended-inline .portal-card-body p{
  font-size:13px!important;
  line-height:1.38!important;
  display:-webkit-box!important;
  -webkit-line-clamp:4!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body:not(.admin-cms) .portal-bottom-grid{
  grid-template-columns:1fr!important;
}
@media(max-width:1200px){
  body:not(.admin-cms) .portal-home-tables-inline .home-standings-cards,
  body:not(.admin-cms) .portal-recommended-inline .portal-cards4{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:700px){
  body:not(.admin-cms) .portal-home-tables-inline .home-standings-cards,
  body:not(.admin-cms) .portal-recommended-inline .portal-cards4{grid-template-columns:1fr!important;}
}

/* V43.4.60 - Liderzy lig z istniejących statystyk */
body:not(.admin-cms) .portal-leaders-grid{
  display:grid!important;
  grid-template-columns:1.35fr .85fr!important;
  gap:18px!important;
  align-items:stretch!important;
}
body:not(.admin-cms) .portal-leaders-panel{
  padding:22px!important;
}
body:not(.admin-cms) .league-leader-card{
  padding:0 0 18px!important;
  margin:0 0 18px!important;
  border-bottom:1px solid #ececec!important;
}
body:not(.admin-cms) .league-leader-card:last-child{
  margin-bottom:0!important;
  padding-bottom:0!important;
  border-bottom:0!important;
}
body:not(.admin-cms) .league-leader-card h3,
body:not(.admin-cms) .role-leader-card h3{
  margin:0 0 12px!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  color:#e30613!important;
}
body:not(.admin-cms) .leader-row{
  padding:10px 0!important;
}
body:not(.admin-cms) .leader-row span em{
  font-style:normal!important;
  display:inline-flex!important;
  width:22px!important;
  height:22px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-right:8px!important;
  border-radius:999px!important;
  background:#111!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
}
body:not(.admin-cms) .role-leaders-panel{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
}
body:not(.admin-cms) .role-leader-card{
  border:1px solid #ececec!important;
  border-radius:16px!important;
  padding:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(0,0,0,.04)!important;
}
body:not(.admin-cms) .role-leader-name{
  font-size:18px!important;
  line-height:1.15!important;
  color:#111!important;
  font-weight:950!important;
  margin-bottom:6px!important;
}
body:not(.admin-cms) .role-leader-meta{
  color:#777!important;
  font-size:12px!important;
  font-weight:800!important;
  margin-bottom:10px!important;
}
body:not(.admin-cms) .role-leader-score{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:6px 12px!important;
  border-radius:999px!important;
  background:#e30613!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:950!important;
}
body:not(.admin-cms) .leaders-empty{
  margin:8px 0 0!important;
  color:#777!important;
  font-size:13px!important;
  font-weight:700!important;
}
body:not(.admin-cms) .leaders-ad-banner{
  margin-top:18px!important;
}
body:not(.admin-cms) .leaders-ad-banner .ad-slot,
body:not(.admin-cms) .leaders-ad-banner .ad-box,
body:not(.admin-cms) .leaders-ad-banner img{
  max-width:100%!important;
}
@media(max-width:900px){
  body:not(.admin-cms) .portal-leaders-grid{
    grid-template-columns:1fr!important;
  }
}


/* V43.4.61 - news listing: link in bottom-right as red text, no red button background */
body:not(.admin-cms) .news-card{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    min-height:420px!important;
    border-radius:4px!important;
    box-shadow:0 12px 32px rgba(0,0,0,.06)!important;
}
body:not(.admin-cms) .news-card .news-body{
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    flex:1!important;
    padding:18px 18px 46px!important;
}
body:not(.admin-cms) .news-card .news-link,
body:not(.admin-cms) a.news-link{
    position:absolute!important;
    right:18px!important;
    bottom:16px!important;
    left:auto!important;
    top:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    color:#e30613!important;
    font-weight:900!important;
    font-size:13px!important;
    line-height:1.2!important;
    text-transform:none!important;
    text-decoration:none!important;
}
body:not(.admin-cms) .news-card .news-link:hover{
    color:#b00000!important;
    text-decoration:underline!important;
    transform:none!important;
}
body:not(.admin-cms) .news-card .badge.dark{
    background:#e30613!important;
    color:#fff!important;
    border-radius:2px!important;
    padding:7px 10px!important;
    font-size:11px!important;
    letter-spacing:.2px!important;
}

/* V43.4.66 HOTFIX: prawdziwe zdjęcia newsów były przykrywane przez placeholder .news-photo:before */
.news-photo.real-photo::before{
  display:none!important;
  content:none!important;
}
.news-photo.real-photo{
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* V43.4.69 SEO News PRO */
.seo-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  font-size:13px;
  color:#8fa0b4;
}
.seo-breadcrumbs a{color:#dbe4ef;text-decoration:none;font-weight:800}
.seo-breadcrumbs a:hover{color:#e30613}
.seo-breadcrumbs span{color:#8fa0b4}
.seo-related-news{margin-top:28px}
.seo-category-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.seo-category-cloud a{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#dbe4ef;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}
.seo-category-cloud a:hover{background:#e30613;color:#fff;border-color:#e30613}
.news-body .badge.dark{text-decoration:none;display:inline-flex;width:max-content}
.article-card .badge.yellow{text-decoration:none;display:inline-flex;width:max-content}

/* V43.4.76 - Drużyny 2026 */
.league-filter-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.league-filter-tabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #eee;border-radius:999px;background:#fff;font-weight:800;text-transform:uppercase;font-size:12px;color:#111;box-shadow:0 3px 14px rgba(0,0,0,.04)}.league-filter-tabs a span{background:#e10600;color:#fff;border-radius:999px;padding:2px 7px}.small-title{margin-top:26px}.team-card-v76{text-align:center;transition:.18s ease}.team-card-v76:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.12)}.team-card-v76 .team-logo-img{width:94px;height:94px;object-fit:contain;margin:8px auto 10px;display:block}.team-card-v76 h3{min-height:44px}.team-coach{font-size:12px;color:#555;margin-top:7px}.team-hero-grid{grid-template-columns:160px 1fr 180px;align-items:center}.team-logo-big{width:140px!important;height:140px!important;object-fit:contain}.team-roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.roster-card h2{border-left:4px solid #e10600;padding-left:12px}.roster-card .player-row{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eee}.roster-card .player-row:last-child{border-bottom:0}.roster-card .player-number{background:#111;color:#fff;border-radius:999px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:12px}@media(max-width:900px){.team-hero-grid{grid-template-columns:1fr;text-align:center}.team-roster-grid{grid-template-columns:1fr}.team-logo-big{margin:auto}}

/* V43.4.95 */
.article-meta, .article-meta-black{color:#111!important;}

/* V43.4.99 redakcja / autor / profil */
.authors-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:22px}.author-card{display:flex;gap:18px;align-items:flex-start}.author-card h2{margin:0 0 6px}.author-card h2 a{color:#111;text-decoration:none}.author-role{font-weight:800;color:#e30613;margin:.25rem 0}.safe-email{font-weight:700;color:#111}.author-avatar{width:96px;height:96px;border-radius:999px;object-fit:cover;border:3px solid #f1f1f1;background:#fff}.author-avatar.big{width:140px;height:140px}.author-avatar-empty{display:flex;align-items:center;justify-content:center;background:#e30613;color:#fff;font-size:42px;font-weight:900}.author-hero{display:flex;gap:24px;align-items:center;margin-bottom:26px}.author-hero h1{margin:0}.admin-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-cms .form-grid textarea[name="bio"]{min-height:130px}@media(max-width:700px){.author-card,.author-hero{flex-direction:column}.author-avatar.big{width:110px;height:110px}}

/* V43.4.101 - jasny, mobilny panel admina + nowe logo */
body.admin-cms{
  background:#f4f6f9!important;
  color:#111827!important;
}
body.admin-cms main{
  background:#f4f6f9!important;
}
.admin-sidebar{
  background:#fff!important;
  border-right:1px solid #e5e7eb!important;
  box-shadow:8px 0 28px rgba(15,23,42,.08)!important;
}
.admin-sidebar-logo img{
  max-width:230px!important;
  max-height:84px!important;
  object-fit:contain!important;
  filter:none!important;
  background:#fff!important;
}
.admin-sidebar-logo small{
  color:#4b5563!important;
}
.admin-sidebar-nav a{
  background:#f8fafc!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
}
.admin-sidebar-nav a:hover,
.admin-sidebar-nav a:focus{
  background:#fff5f5!important;
  border-color:#e30613!important;
  color:#e30613!important;
}
.admin-sidebar-user{
  background:#ffd400!important;
  border:1px solid #eab308!important;
  color:#111827!important;
}
.admin-sidebar-user small,
.admin-sidebar-user a{
  color:#111827!important;
}
.admin-view-site{
  background:#ffd400!important;
  color:#111827!important;
  border-color:#eab308!important;
}
.admin-dashboard-pro .admin-hero,
.admin-page-head,
.admin-portal-stats-panel,
body.admin-cms .card,
body.admin-cms .panel,
body.admin-cms .box{
  background:#fff!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 10px 30px rgba(15,23,42,.07)!important;
}
.admin-hero p,
.admin-page-head p,
.admin-panel-title span,
.admin-section-card span,
.admin-stat-card small{
  color:#4b5563!important;
}
.admin-hero-user{
  background:#fff7cc!important;
  color:#111827!important;
  border:1px solid #eab308!important;
}
.admin-stat-card,
.admin-section-card{
  background:#fff!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 8px 22px rgba(15,23,42,.06)!important;
}
.admin-section-card:hover{
  border-color:#e30613!important;
  transform:translateY(-1px);
}
.admin-stat-card b{
  color:#111827!important;
}
.admin-stat-card span{
  background:#f3f4f6!important;
  border-radius:12px!important;
  padding:6px 9px!important;
  display:inline-flex!important;
}
.admin-popular-pages{
  background:#f3f4f6!important;
  color:#111827!important;
  border-radius:14px!important;
  padding:14px!important;
}
.admin-popular-pages div{
  background:#fff!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
}
.admin-popular-pages b{
  color:#e30613!important;
}
body.admin-cms input,
body.admin-cms select,
body.admin-cms textarea{
  background:#fff!important;
  color:#111827!important;
  border:1px solid #d1d5db!important;
}
body.admin-cms input:focus,
body.admin-cms select:focus,
body.admin-cms textarea:focus{
  border-color:#e30613!important;
  box-shadow:0 0 0 3px rgba(227,6,19,.12)!important;
  outline:none!important;
}
body.admin-cms table,
body.admin-cms .admin-table{
  background:#fff!important;
  color:#111827!important;
}
body.admin-cms th{
  background:#f8fafc!important;
  color:#e30613!important;
}
body.admin-cms td{
  background:#fff!important;
  color:#111827!important;
  border-color:#eef2f7!important;
}
body.admin-cms .btn,
body.admin-cms .admin-actions a,
body.admin-cms .actions-cell a{
  min-width:auto!important;
  width:auto!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.1!important;
  text-indent:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
  padding:10px 13px!important;
  border-radius:9px!important;
}

@media(max-width:900px){
  body.admin-cms main{
    margin-left:0!important;
    padding:118px 10px 24px!important;
  }
  .admin-sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:auto!important;
    width:100%!important;
    height:104px!important;
    padding:8px 10px!important;
    display:block!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    z-index:999!important;
  }
  .admin-sidebar-logo{
    display:inline-flex!important;
    width:120px!important;
    min-width:120px!important;
    height:38px!important;
    vertical-align:middle!important;
    margin-right:8px!important;
  }
  .admin-sidebar-logo img{
    width:118px!important;
    max-width:118px!important;
    max-height:36px!important;
    margin:0!important;
  }
  .admin-sidebar-logo small{display:none!important;}
  .admin-view-site{
    display:inline-flex!important;
    min-width:auto!important;
    padding:10px 12px!important;
    margin-right:6px!important;
    vertical-align:middle!important;
    font-size:13px!important;
  }
  .admin-sidebar-nav{
    display:inline-flex!important;
    flex-direction:row!important;
    gap:6px!important;
    vertical-align:middle!important;
  }
  .admin-sidebar-nav a{
    padding:10px 12px!important;
    border-radius:12px!important;
    font-size:13px!important;
    min-width:92px!important;
    justify-content:center!important;
    gap:5px!important;
  }
  .admin-sidebar-user{display:none!important;}
  body.admin-cms .container{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .admin-dashboard-pro .admin-hero,
  .admin-page-head{
    display:block!important;
    padding:16px!important;
    border-radius:16px!important;
  }
  .admin-dashboard-pro .admin-hero h1,
  .admin-page-head h1{
    font-size:24px!important;
  }
  .admin-hero-user{
    display:inline-block!important;
    margin-top:10px!important;
    padding:8px 10px!important;
  }
  .admin-stats-grid,
  .admin-visit-stats-grid,
  .admin-sections-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .admin-stat-card,
  .admin-section-card{
    min-height:auto!important;
    padding:14px!important;
    border-radius:16px!important;
  }
  .admin-section-card b{font-size:18px!important;}
  .admin-portal-stats-panel{padding:12px!important;border-radius:16px!important;}
  body.admin-cms .admin-table,
  body.admin-cms table{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    white-space:nowrap!important;
    font-size:13px!important;
  }
  body.admin-cms .btn,
  body.admin-cms .admin-actions a,
  body.admin-cms .actions-cell a{
    padding:11px 12px!important;
    font-size:13px!important;
    margin:2px!important;
  }
}


/* V43.4.102 - ADMIN: jasny panel, czytelne karty, logo i mobile fix */
body.admin-cms{
  background:#f4f6f9!important;
  color:#111827!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
body.admin-cms main{
  background:#f4f6f9!important;
  color:#111827!important;
}
body.admin-cms .topbar{display:none!important;}
body.admin-cms .admin-sidebar{
  background:#ffffff!important;
  border-right:1px solid #e5e7eb!important;
  box-shadow:8px 0 28px rgba(15,23,42,.08)!important;
}
body.admin-cms .admin-sidebar-logo,
body.admin-cms .admin-sidebar-brand{
  color:#111827!important;
}
body.admin-cms .admin-sidebar-logo img{
  content:url('/assets/img/admin-logo.png')!important;
  width:100%!important;
  max-width:260px!important;
  max-height:95px!important;
  object-fit:contain!important;
  filter:none!important;
}
body.admin-cms .admin-sidebar-logo small{
  color:#4b5563!important;
}
body.admin-cms .admin-view-site{
  background:#ffd400!important;
  color:#111827!important;
  border:1px solid #f0c400!important;
  box-shadow:none!important;
}
body.admin-cms .admin-sidebar-nav a{
  background:#f8fafc!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:none!important;
}
body.admin-cms .admin-sidebar-nav a:hover{
  background:#fff2b8!important;
  border-color:#facc15!important;
  color:#111827!important;
}
body.admin-cms .admin-sidebar-user{
  background:#ffd400!important;
  border:1px solid #f0c400!important;
  color:#111827!important;
}
body.admin-cms .admin-sidebar-user b,
body.admin-cms .admin-sidebar-user small,
body.admin-cms .admin-sidebar-user a{
  color:#111827!important;
}
body.admin-cms .card,
body.admin-cms .admin-hero,
body.admin-cms .admin-page-head,
body.admin-cms .admin-stat-card,
body.admin-cms .admin-section-card,
body.admin-cms .admin-portal-stats-panel,
body.admin-cms .admin-dashboard-pro .card,
body.admin-cms .admin-box,
body.admin-cms .dashboard-card,
body.admin-cms .stat-card,
body.admin-cms section.card{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
}
body.admin-cms .admin-section-card{
  text-decoration:none!important;
  min-height:120px!important;
}
body.admin-cms .admin-section-card:hover,
body.admin-cms .admin-stat-card:hover{
  transform:none!important;
  border-color:#e30613!important;
}
body.admin-cms h1,
body.admin-cms h2,
body.admin-cms h3,
body.admin-cms h4,
body.admin-cms b,
body.admin-cms strong,
body.admin-cms label,
body.admin-cms .admin-section-card b,
body.admin-cms .admin-stat-card b{
  color:#111827!important;
}
body.admin-cms p,
body.admin-cms small,
body.admin-cms .muted,
body.admin-cms .admin-hero p,
body.admin-cms .admin-page-head p,
body.admin-cms .admin-section-card span,
body.admin-cms .admin-stat-card small{
  color:#374151!important;
}
body.admin-cms .admin-stat-card b,
body.admin-cms .admin-visit-stat b{
  color:#111827!important;
}
body.admin-cms .admin-hero-user,
body.admin-cms .pill{
  background:#fff8d9!important;
  border:1px solid #facc15!important;
  color:#111827!important;
}
body.admin-cms .admin-table th,
body.admin-cms table th{
  color:#e30613!important;
  background:#f9fafb!important;
}
body.admin-cms .admin-table td,
body.admin-cms table td{
  color:#111827!important;
  background:#ffffff!important;
  border-color:#e5e7eb!important;
}
body.admin-cms .input,
body.admin-cms input,
body.admin-cms select,
body.admin-cms textarea{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid #d1d5db!important;
}
body.admin-cms .btn,
body.admin-cms button,
body.admin-cms input[type=submit],
body.admin-cms .admin-actions a,
body.admin-cms .actions-cell a,
body.admin-cms .admin-nav a,
body.admin-cms a.btn{
  color:#ffffff!important;
  background:#e30613!important;
  border:1px solid #e30613!important;
  text-indent:0!important;
  font-size:14px!important;
  line-height:1.1!important;
  width:auto!important;
  min-width:auto!important;
  height:auto!important;
  overflow:visible!important;
  white-space:nowrap!important;
  padding:10px 14px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  opacity:1!important;
  text-decoration:none!important;
}
body.admin-cms .btn.dark,
body.admin-cms .admin-nav a:first-child,
body.admin-cms .admin-actions a.delete,
body.admin-cms .actions-cell a.delete{
  background:#111827!important;
  border-color:#111827!important;
  color:#ffffff!important;
}
body.admin-cms a[href*="delete"],
body.admin-cms a[onclick*="confirm"]{
  background:#111827!important;
  border-color:#111827!important;
  color:#ffffff!important;
}

@media(max-width:900px){
  body.admin-cms main{
    margin-left:0!important;
    padding:86px 10px 24px!important;
  }
  body.admin-cms .admin-sidebar{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:auto!important;
    width:100%!important;
    height:74px!important;
    padding:8px 8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    z-index:9999!important;
  }
  body.admin-cms .admin-sidebar-logo{
    min-width:120px!important;
    width:120px!important;
    margin:0!important;
  }
  body.admin-cms .admin-sidebar-logo img{
    max-width:118px!important;
    max-height:42px!important;
    margin:0!important;
  }
  body.admin-cms .admin-sidebar-logo small{display:none!important;}
  body.admin-cms .admin-view-site{
    min-width:124px!important;
    padding:10px 10px!important;
    font-size:13px!important;
  }
  body.admin-cms .admin-sidebar-nav{
    display:flex!important;
    flex-direction:row!important;
    gap:6px!important;
  }
  body.admin-cms .admin-sidebar-nav a{
    min-width:92px!important;
    padding:10px 11px!important;
    font-size:13px!important;
    justify-content:center!important;
  }
  body.admin-cms .admin-sidebar-user{display:none!important;}
  body.admin-cms .container{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.admin-cms .section{padding:10px 0!important;}
  body.admin-cms .admin-hero,
  body.admin-cms .admin-page-head,
  body.admin-cms .card{
    border-radius:16px!important;
    padding:15px!important;
  }
  body.admin-cms h1{font-size:24px!important;}
  body.admin-cms .admin-stats-grid,
  body.admin-cms .admin-visit-stats-grid,
  body.admin-cms .admin-sections-grid,
  body.admin-cms .grid,
  body.admin-cms .dashboard{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body.admin-cms .admin-stat-card,
  body.admin-cms .admin-section-card{
    min-height:auto!important;
    padding:14px!important;
  }
  body.admin-cms .admin-section-card b{font-size:18px!important;}
  body.admin-cms .admin-table,
  body.admin-cms table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    white-space:nowrap!important;
    font-size:13px!important;
  }
  body.admin-cms .btn,
  body.admin-cms button,
  body.admin-cms input[type=submit],
  body.admin-cms .admin-actions a,
  body.admin-cms .actions-cell a{
    padding:10px 12px!important;
    font-size:13px!important;
    margin:2px!important;
  }
}

/* V43.4.120: komentarze, popularne newsy, PWA */
.sb-comments{margin-top:28px;border-top:1px solid #e5e7eb;padding-top:22px}.sb-comments h2{margin:0 0 14px}.sb-comment-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;margin-bottom:18px}.sb-comment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sb-comment-form input,.sb-comment-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;font:inherit;background:#fff;margin-bottom:10px}.sb-comment-form textarea{resize:vertical}.sb-comment-form small{display:block;margin-top:8px;color:#64748b}.sb-comment{border:1px solid #e5e7eb;border-radius:16px;padding:14px;background:#fff;margin:10px 0}.sb-comment b{color:#111827}.sb-comment time{display:block;color:#64748b;font-size:13px;margin-top:2px}.sb-comment p{margin:10px 0 0}.sb-comment-empty{color:#64748b}.sb-comment-notice{padding:12px;border-radius:14px;margin-bottom:12px;font-weight:800}.sb-comment-notice.ok{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.sb-comment-notice.err{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.sb-hp{position:absolute!important;left:-10000px!important;opacity:0!important}.sb-popular-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.sb-popular-tabs a{padding:9px 13px;border-radius:999px;background:#f1f5f9;color:#0f172a;text-decoration:none;font-weight:900}.sb-popular-tabs a.active{background:#e30613;color:#fff}.sb-popular-list{display:grid;gap:12px}.sb-popular-item{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;text-decoration:none;color:#111827}.sb-popular-rank{font-size:24px;font-weight:1000;color:#e30613}.sb-popular-item h3{margin:0}.sb-popular-meta{color:#64748b;font-size:13px;margin-top:4px}.pwa-install-box{display:none;position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;background:#111827;color:#fff;border-radius:18px;padding:14px;box-shadow:0 18px 45px rgba(0,0,0,.28)}.pwa-install-box.show{display:flex;align-items:center;justify-content:space-between;gap:12px}.pwa-install-box b{display:block}.pwa-install-box button{border:0;border-radius:12px;padding:10px 12px;font-weight:900}.pwa-install-box .install{background:#e30613;color:#fff}.pwa-install-box .close{background:#334155;color:#fff}@media(max-width:720px){.sb-comment-grid,.sb-popular-item{grid-template-columns:1fr}.pwa-install-box.show{display:block}.pwa-install-box button{margin-top:10px;margin-right:6px}}
