/* ════════════════════════════════════════════════════════════════════════
   PREDICT6 — DARK THEME 2026 + WORLD CUP
   Override на :root + новые элементы (glass, glow, WC hero, bento).
   Подключается ВТОРЫМ после app.css.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* Fonts — системные (без внешней Google Fonts загрузки) */
  --fn-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fn-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fn-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Brand — electric blue + WC gold */
  --brand:#3b82f6;
  --brand-2:#60a5fa;
  --brand-soft:rgba(59,130,246,.14);
  --brand-coral:#f97316;
  --brand-purple:#a78bfa;
  --brand-green:#10b981;
  --brand-green-soft:rgba(16,185,129,.14);
  --brand-pink-soft:rgba(236,72,153,.14);

  /* Surfaces — deep navy */
  --bg:#070a14;
  --bg-2:#0a0f1d;
  --surface:#0e1426;
  --surface-2:#161d33;
  --border:rgba(255,255,255,.07);
  --border-soft:rgba(255,255,255,.04);

  /* Text */
  --t1:#f1f5fb;
  --t2:#a1aac2;
  --t3:#6f7793;

  /* Status */
  --pos:#10b981;
  --pos-bg:rgba(16,185,129,.16);
  --live:#f97316;
  --live-bg:rgba(249,115,22,.16);

  --mono-1:#f1f5fb; --mono-2:#a1aac2; --mono-3:rgba(255,255,255,.06); --mono-4:#a1aac2;

  /* Shadows + glow */
  --sh-1: 0 1px 2px rgba(0,0,0,.6), 0 8px 24px rgba(59,130,246,.06);
  --sh-2: 0 8px 32px rgba(0,0,0,.5), 0 24px 80px rgba(59,130,246,.10);
  --glow-blue: 0 0 24px rgba(96,165,250,.35);
  --glow-gold: 0 0 60px rgba(251,191,36,.45);

  /* WC2026 palette */
  --wc-gold-1:#fff3b8;
  --wc-gold-2:#fbbf24;
  --wc-gold-3:#f59e0b;
  --wc-gold-4:#92400e;
  --wc-red:#ef4444;
  --wc-green:#22c55e;
}

html, body {
  background:
    radial-gradient(ellipse 1200px 800px at 20% -10%, rgba(59,130,246,.10), transparent 50%),
    radial-gradient(ellipse 800px 600px at 110% 20%, rgba(168,85,247,.08), transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 110%, rgba(251,191,36,.05), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--t1);
  font-family: var(--fn-body);
  font-feature-settings: "ss01", "cv01";
}
h1, h2, h3, .wc-title, .wc-groups-title, .aiwc-cta-title, .hero h1, .lc-title, .wc-feature-match {
  font-family: var(--fn-display) !important;
  letter-spacing: -.02em;
}

body::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.025) 1px, transparent 0);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
}

/* ── header / brand ── */
.nav,
header.nav,
.tabs-bar,
.ann-bar {
  background: rgba(10,15,29,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.ann-bar { color: var(--t1); }
.ann-bar .ann-content strong { color: var(--brand-2); text-shadow: 0 0 12px rgba(96,165,250,.6); }
.ann-bar .ann-dot { background: var(--brand-2); box-shadow: 0 0 0 4px rgba(96,165,250,.15), 0 0 12px rgba(96,165,250,.6); }
.ann-close { color: var(--t2); }
.ann-close:hover { color: var(--t1); }

/* ── period tabs ── */
.tabs-bar { border-top: 1px solid var(--border); }
.stab {
  color: var(--t2);
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.stab:hover { color: var(--t1); background: rgba(255,255,255,.04); }
.stab.active {
  color: var(--t1);
  background: linear-gradient(180deg, rgba(59,130,246,.18), rgba(59,130,246,.06));
  border-color: rgba(59,130,246,.40);
  box-shadow: 0 0 0 1px rgba(59,130,246,.10), 0 8px 24px rgba(59,130,246,.18);
}
.stab.active svg { color: var(--brand-2); }

/* ── sidebar (frosted glass) ── */
.sidebar {
  background: linear-gradient(180deg, rgba(14,20,38,.88), rgba(7,10,20,.94));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-right: 1px solid var(--border);
  color: var(--t1);
}
.sb-brand img { filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(96,165,250,.4)); }
.sb-quick-cta {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  border: 1px solid rgba(96,165,250,.5);
  box-shadow: 0 8px 24px rgba(59,130,246,.30), inset 0 1px 0 rgba(255,255,255,.15);
}
.sb-quick-cta:hover { box-shadow: 0 12px 32px rgba(59,130,246,.45), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-1px); }
.sb-label { color: var(--t3); }
.sb-label-ic { color: var(--brand-2); }
.sb-item { color: var(--t2); border-radius: 10px; transition: background .15s, color .15s; }
.sb-item:hover { background: rgba(59,130,246,.10); color: var(--t1); }
.sb-item:hover .sb-crest { color: var(--brand-2); }
.sb-crest { color: var(--t3); }
.sb-acc-row { color: var(--t2); border-radius: 10px; transition: background .15s, color .15s; }
.sb-acc-row:hover { background: rgba(255,255,255,.04); color: var(--t1); }
.sb-acc-body a { color: var(--t2); }
.sb-acc-body a:hover { color: var(--brand-2); }
.sb-acc-row .cnt { background: rgba(255,255,255,.06); color: var(--t2); border-color: var(--border); }
.sb-foot { border-top: 1px solid var(--border); color: var(--t3); }
.sb-foot-tag { color: var(--t3); }
.sb-foot-dot { background: var(--brand-green); box-shadow: 0 0 0 4px rgba(16,185,129,.15), 0 0 10px rgba(16,185,129,.6); }
.sb-close { color: var(--t2); }

/* ── hero (top of page) — H1 ВСЕГДА белый, без градиентов ── */
.hero h1,
.mh-title,
.aiwc-agents-title,
.wc-groups-title,
h1 {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  letter-spacing: -.02em;
  text-shadow: none !important;
}
.hl, .heading-hl { color: var(--brand-2); }
.hl-underline { color: var(--brand-2); }
.hl-underline::after { background: rgba(59,130,246,.20); }

/* ── league card ── */
.league-card {
  background: linear-gradient(180deg, rgba(22,29,51,.72), rgba(14,20,38,.72));
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.league-card:hover { border-color: rgba(59,130,246,.30); box-shadow: var(--sh-2); }
.lc-head { border-bottom: 1px solid var(--border); }
.lc-title { color: var(--t1); }
.lc-country { color: var(--t3); }
.lc-crest {
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(168,85,247,.10));
  color: var(--brand-2);
  border: 1px solid rgba(59,130,246,.25);
}
.lc-pill {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,130,246,.30);
}
.lc-pill-sub { color: var(--t3); }
.mx-row {
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
  color: var(--t1);
  transition: background .15s, transform .15s;
}
.mx-row:hover { background: rgba(59,130,246,.06); }
.mx-row:last-child { border-bottom: 0; }
.mx-time .day { color: var(--t3); }
.mx-time .hour { color: var(--t1); font-weight: 700; }
.mx-logo {
  background: rgba(255,255,255,.04);
  color: var(--t2);
  border: 1px solid var(--border);
}
.mx-logo img { background: transparent; }
.mx-team { color: var(--t1); }
.tip {
  background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(16,185,129,.08));
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.30);
  text-shadow: 0 0 12px rgba(16,185,129,.4);
  box-shadow: 0 0 0 1px rgba(16,185,129,.05), 0 4px 16px rgba(16,185,129,.10);
}
.mx-arrow { color: var(--t3); }
.mx-row:hover .mx-arrow { color: var(--brand-2); transform: translateX(2px); }
.lc-foot { border-top: 1px solid var(--border); }
.lc-more { color: var(--brand-2); }
.lc-more:hover { color: var(--t1); }
.lc-foot-note { color: var(--t3); }

/* ── prose & FAQ ── */
.prose-card, .faq-card, .card {
  background: linear-gradient(180deg, rgba(22,29,51,.72), rgba(14,20,38,.72));
  border: 1px solid var(--border);
  color: var(--t1);
}
.prose-card a, .faq-a a { color: var(--brand-2); }
.prose-card h2, .prose-card h3, .faq-card h2 { color: var(--t1); }
.prose-card p,
.prose-card li {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #e7ebf5 !important;
  margin-bottom: 18px;
}
.prose-card p:last-child, .prose-card li:last-child { margin-bottom: 0; }
.prose-card h2 {
  font-size: clamp(22px, 2.4vw, 28px) !important;
  margin: 32px 0 16px;
  color: #fff !important;
}
.prose-card h2::before { background: linear-gradient(180deg, var(--wc-gold-2), var(--wc-red)) !important; }
.prose-card h3 {
  font-size: 20px !important;
  margin: 24px 0 12px;
  color: #fff !important;
}
.prose-card strong { color: #fff; }

/* картинки внутри prose-card (например AIWC home-баннер) */
.prose-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 8px auto 28px;
  border-radius: 18px;
  border: 1px solid rgba(251,191,36,.22);
  box-shadow:
    0 24px 48px rgba(0,0,0,.55),
    0 8px 16px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.04) inset;
  background: rgba(0,0,0,.2);
  object-fit: cover;
}
@media (max-width: 720px) {
  .prose-card img { border-radius: 14px; margin-bottom: 20px; }
}

/* Match-card sub-titles (Football Betting Tips and similar) */
.card-hd h2 {
  font-size: clamp(20px, 2.2vw, 24px) !important;
  color: #fff !important;
}
.card-pill {
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(239,68,68,.10)) !important;
  color: var(--wc-gold-1) !important;
  border: 1px solid rgba(251,191,36,.35) !important;
  font-weight: 700;
}
.card-bd, .card-bd p, .card-bd li, .aiwc-acc-bd {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #e7ebf5 !important;
}

/* Predictions list ("Win 1: Mexico to win" line) — bigger so it doesn't feel empty */
.spt-row, .spt-main, .spt-tip,
[class*="prediction-row"], [class*="pred-main"] {
  font-size: 17px !important;
}

/* ════════════════════════════════════════════════════════════════════════
   MATCH HERO (prediction page) — dark + WC palette
   ════════════════════════════════════════════════════════════════════════ */

.match-hero {
  background:
    radial-gradient(ellipse 600px 300px at 0% 100%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 0%, rgba(251,191,36,.22), transparent 60%),
    linear-gradient(135deg, #0e1426 0%, #161d33 60%, #0e1426 100%) !important;
  color: var(--t1) !important;
  border: 1px solid rgba(251,191,36,.18) !important;
  box-shadow:
    0 24px 64px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.match-hero::before { background:
  radial-gradient(circle at 100% 0%, rgba(251,191,36,.18), transparent 55%),
  radial-gradient(circle at 0% 100%, rgba(59,130,246,.20), transparent 60%) !important; }
.match-hero::after { opacity: .35 !important; }

.mh-league {
  color: var(--wc-gold-2) !important;
  background: rgba(251,191,36,.10) !important;
  border: 1px solid rgba(251,191,36,.35) !important;
  text-shadow: 0 0 12px rgba(251,191,36,.35);
}
.mh-league .sep { color: var(--t3) !important; }

.mh-title {
  color: var(--t1) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
}

.mh-team .name { color: var(--t1) !important; text-shadow: none !important; }
.mh-logo {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.4) !important;
}
.mh-vs-text {
  color: var(--wc-gold-2) !important;
  text-shadow: 0 0 14px rgba(251,191,36,.4);
}
.mh-time { color: var(--t1) !important; }
.mh-date { color: var(--t2) !important; }
.mh-venue { color: var(--t2) !important; }
.mh-venue strong { color: var(--wc-gold-1) !important; }

/* Form pills (W/D/L) на херо — сохраняем но затемняем фон */
.mh-team .form .w { background: var(--brand-green) !important; color: #fff !important; }
.mh-team .form .d { background: rgba(255,255,255,.18) !important; color: var(--t1) !important; }
.mh-team .form .l { background: var(--wc-red) !important; color: #fff !important; }

/* ════════════════════════════════════════════════════════════════════════
   BOOKMAKERS ODDS TABLE — dark + WC палитра
   ════════════════════════════════════════════════════════════════════════ */

.bk-row {
  grid-template-columns: 1fr 64px 64px 64px 118px !important;
  border-bottom-color: var(--border) !important;
  transition: background .15s, border-color .15s !important;
  align-items: center !important;
}
.bk-row:hover {
  background: rgba(251,191,36,.06) !important;
}
.bk-row.hd {
  color: var(--t3) !important;
}
.bk-row.bk-best {
  background: linear-gradient(90deg, rgba(251,191,36,.18) 0%, rgba(239,68,68,.06) 100%) !important;
  border: 1px solid rgba(251,191,36,.30) !important;
  border-radius: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  margin: 6px -12px 6px !important;
}
.bk-row.bk-best:hover, .bk-row.bk-best:active {
  background: linear-gradient(90deg, rgba(251,191,36,.28) 0%, rgba(239,68,68,.10) 100%) !important;
  border-color: rgba(251,191,36,.55) !important;
}
.bk-row.bk-best .bk-val {
  background: rgba(251,191,36,.16) !important;
  color: var(--wc-gold-1) !important;
  font-weight: 800 !important;
}
.bk-best-tag {
  background: linear-gradient(135deg, #fbbf24, #ef4444) !important;
  color: #1a0d05 !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
}
.bk-name {
  color: #e7ebf5 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.bk-val {
  background: rgba(255,255,255,.04) !important;
  color: var(--t1) !important;
  font-weight: 700 !important;
  border: 1px solid var(--border) !important;
  font-family: var(--fn-mono) !important;
}
.bk-btn {
  background: linear-gradient(135deg, #fbbf24, #ef4444) !important;
  color: #1a0d05 !important;
  font-weight: 800 !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  justify-self: end !important;
  min-width: 96px !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22) !important;
  transition: transform .12s, box-shadow .12s, filter .12s !important;
}
.bk-row:hover .bk-btn {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 12px rgba(245,158,11,.30) !important;
}

/* TOP PICK card на 1-м экране — главный AI прогноз с odds и CTA → /go/ */
.mh-pick.aiwc-top-pick {
  display: grid !important;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(239,68,68,.10)) !important;
  border: 1px solid rgba(251,191,36,.45) !important;
  box-shadow: 0 12px 32px rgba(245,158,11,.20), inset 0 1px 0 rgba(255,255,255,.10) !important;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  color: var(--t1) !important;
}
.mh-pick.aiwc-top-pick:hover {
  transform: translateY(-2px);
  border-color: rgba(251,191,36,.65) !important;
  box-shadow: 0 18px 40px rgba(245,158,11,.32), inset 0 1px 0 rgba(255,255,255,.14) !important;
}
.mh-pick.aiwc-top-pick .mh-pick-ic {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  flex-shrink: 0;
}
.mh-pick.aiwc-top-pick .mh-pick-ic svg { width: 24px; height: 24px; }
.mh-pick.aiwc-top-pick .mh-pick-body { min-width: 0; }
.mh-pick.aiwc-top-pick .mh-pick-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wc-gold-2) !important;
  margin-bottom: 4px;
}
.mh-pick.aiwc-top-pick .mh-pick-val {
  font-family: var(--fn-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.mh-pick.aiwc-top-pick .mh-pick-conf {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.mh-pick.aiwc-top-pick .mh-pick-conf-bar {
  position: relative;
  width: 130px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}
.mh-pick.aiwc-top-pick .mh-pick-conf-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--wc-gold-2), var(--wc-red));
  border-radius: 3px;
}
.mh-pick.aiwc-top-pick .mh-pick-conf-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--wc-gold-2) !important;
  letter-spacing: .04em;
}
.mh-pick.aiwc-top-pick .mh-pick-odds {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.mh-pick.aiwc-top-pick .mh-pick-odds-num {
  font-family: var(--fn-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
}
.mh-pick.aiwc-top-pick .mh-pick-odds-lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: 2px;
}
.aiwc-top-pick-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(0,0,0,.30);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.20);
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.aiwc-top-pick-cta svg { width: 16px; height: 16px; transition: transform .15s; }
.mh-pick.aiwc-top-pick:hover .aiwc-top-pick-cta {
  background: rgba(0,0,0,.50);
}
.mh-pick.aiwc-top-pick:hover .aiwc-top-pick-cta svg { transform: translateX(3px); }

@media (max-width: 720px) {
  .mh-pick.aiwc-top-pick {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .mh-pick.aiwc-top-pick .mh-pick-odds,
  .mh-pick.aiwc-top-pick .aiwc-top-pick-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }
}

/* Breadcrumb — тёмный */
.bc { color: var(--t3) !important; }
.bc a { color: var(--t2) !important; }
.bc a:hover { color: var(--wc-gold-2) !important; }
.bc .bc-sep { color: var(--t3) !important; opacity: .6; }
.bc .cur { color: var(--t1) !important; }

/* ════════════════════════════════════════════════════════════════════════
   AI AGENTS BLOCK — 4 cards (Claude / ChatGPT / Gemini / DeepSeek)
   ════════════════════════════════════════════════════════════════════════ */

.aiwc-agents {
  margin: 28px 0 32px;
}
.aiwc-agents-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.aiwc-agents-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
  margin-bottom: 6px;
}
.aiwc-agents-title {
  font-family: var(--fn-display) !important;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--t1);
  margin: 0;
  line-height: 1.1;
}
.aiwc-agents-count {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
  background: rgba(251,191,36,.10);
  border: 1px solid rgba(251,191,36,.30);
  white-space: nowrap;
}

.aiwc-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 820px) {
  .aiwc-agents-grid { grid-template-columns: 1fr; }
}

.aiwc-agent {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #161d33 0%, #0e1426 100%);
  border: 1px solid var(--border);
  isolation: isolate;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.aiwc-agent::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--agent-c1, rgba(251,191,36,.4)), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity .15s;
}
.aiwc-agent:hover { transform: translateY(-2px); border-color: rgba(251,191,36,.35); box-shadow: 0 14px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(251,191,36,.06); }
.aiwc-agent:hover::before { opacity: .35; }

.aiwc-agent--claude   { --agent-c1: #d97706; --agent-c2: #f59e0b; }
.aiwc-agent--chatgpt  { --agent-c1: #10b981; --agent-c2: #34d399; }
.aiwc-agent--gemini   { --agent-c1: #3b82f6; --agent-c2: #60a5fa; }
.aiwc-agent--deepseek { --agent-c1: #a855f7; --agent-c2: #c084fc; }

.aiwc-agent-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.aiwc-agent-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fn-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--agent-c1), var(--agent-c2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 4px 12px rgba(0,0,0,.30);
  flex-shrink: 0;
}
.aiwc-agent-id { flex: 1; min-width: 0; }
.aiwc-agent-name {
  font-family: var(--fn-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.aiwc-agent-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--agent-c2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--agent-c1);
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}
.aiwc-agent-co {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
  letter-spacing: .02em;
}
.aiwc-agent-conf {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--fn-display);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.aiwc-agent-conf strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--wc-gold-1);
}
.aiwc-agent-conf span {
  font-size: 11px;
  color: var(--t3);
  font-weight: 700;
}

.aiwc-agent-tip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(239,68,68,.06));
  border: 1px solid rgba(251,191,36,.30);
}
.aiwc-agent-tip-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
}
.aiwc-agent-tip-val {
  font-family: var(--fn-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  flex: 1;
  min-width: 0;
}
.aiwc-agent-tip-mkt {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  padding: 3px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.aiwc-agent-tip {
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
}
.aiwc-agent-tip:hover {
  background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(239,68,68,.10));
  border-color: rgba(251,191,36,.55);
  transform: translateY(-1px);
}
.aiwc-agent-tip:hover .aiwc-agent-tip-arrow { transform: translateX(3px); }
.aiwc-agent-tip-odds {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--agent-c1), var(--agent-c2));
  color: #fff;
  font-family: var(--fn-display);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
}
.aiwc-agent-tip-odds strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.aiwc-agent-tip-odds span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}
.aiwc-agent-tip-arrow {
  width: 16px; height: 16px;
  color: var(--wc-gold-2);
  transition: transform .15s;
  flex-shrink: 0;
}

/* Mobile fixes для страницы матча */
@media (max-width: 600px) {
  .mh-title { font-size: clamp(20px, 5.5vw, 26px) !important; line-height: 1.15 !important; }
  .match-hero { padding: 22px 18px !important; border-radius: 18px !important; }
  .mh-league { font-size: 10px !important; padding: 6px 12px !important; }
  .mh-logo { width: 64px !important; height: 64px !important; }
  .mh-team .name { font-size: 13px !important; }
  .mh-vs-text { font-size: 28px !important; }
  .mh-time { font-size: 18px !important; }
  .mh-pick.aiwc-top-pick {
    grid-template-columns: auto 1fr !important;
    grid-template-areas:
      "ic body"
      "odds odds"
      "cta cta" !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }
  .mh-pick.aiwc-top-pick .mh-pick-ic { grid-area: ic; width: 40px !important; height: 40px !important; }
  .mh-pick.aiwc-top-pick .mh-pick-body { grid-area: body; min-width: 0; }
  .mh-pick.aiwc-top-pick .mh-pick-val { font-size: 16px !important; }
  .mh-pick.aiwc-top-pick .mh-pick-odds { grid-area: odds; justify-self: stretch; flex-direction: row; gap: 6px; padding: 8px 14px; }
  .mh-pick.aiwc-top-pick .mh-pick-odds-num { font-size: 18px; }
  .mh-pick.aiwc-top-pick .aiwc-top-pick-cta { grid-area: cta; justify-content: center; padding: 11px; }

  /* Bookmakers table — компактные колонки */
  .bk-row { grid-template-columns: 1fr 44px 44px 44px 86px !important; gap: 6px !important; }
  .bk-name { font-size: 12.5px !important; }
  .bk-val { padding: 4px 6px !important; font-size: 12px !important; }
  .bk-btn { padding: 8px 10px !important; min-width: 76px !important; font-size: 11px !important; }
}

/* Mobile: pick-плашка в карточке агента раскладывается по 2 рядам, не сжимается */
@media (max-width: 600px) {
  .aiwc-agent-tip {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "lbl  val   arrow"
      "mkt  odds  odds";
    gap: 8px 10px !important;
    align-items: center;
    padding: 12px 14px !important;
  }
  .aiwc-agent-tip-lbl  { grid-area: lbl;   align-self: center; }
  .aiwc-agent-tip-val  {
    grid-area: val;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 15px !important;
    line-height: 1.25;
  }
  .aiwc-agent-tip-mkt  { grid-area: mkt; justify-self: start; }
  .aiwc-agent-tip-odds { grid-area: odds; justify-self: end; }
  .aiwc-agent-tip-arrow{ grid-area: arrow; }
  .aiwc-agent-article { font-size: 14px !important; line-height: 1.55 !important; }
  .aiwc-agent-rationale { font-size: 12.5px !important; }
  .aiwc-agent { padding: 16px !important; }
  .aiwc-agent-name { font-size: 15px !important; }
  .aiwc-agent-avatar { width: 36px !important; height: 36px !important; font-size: 16px !important; }
  .aiwc-agent-conf { padding: 5px 10px !important; }
  .aiwc-agent-conf strong { font-size: 16px !important; }
}

.aiwc-agent-article {
  font-size: 15px;
  line-height: 1.65;
  color: #d6dbeb;
}
.aiwc-agent-rationale {
  font-size: 13px;
  line-height: 1.55;
  color: var(--t2);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--agent-c2);
}
.aiwc-agent-rationale-lbl {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--agent-c2);
  margin-right: 6px;
}
/* ── FAQ accordion — dark + WC palette ── */
.faq-card { padding: 8px 0 6px !important; }
.faq-card .card-hd {
  padding: 22px 26px 14px !important;
  border-bottom: 1px solid var(--border) !important;
}
.faq-card .card-hd h2 {
  color: #fff !important;
  font-size: 22px !important;
  letter-spacing: -.01em;
}
.faq-item {
  border-top: 1px solid var(--border) !important;
  position: relative;
  transition: background .15s;
}
.faq-item:first-of-type { border-top: 0 !important; }
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--wc-gold-2), var(--wc-red));
  opacity: 0;
  transition: opacity .18s;
}
.faq-item.open::before { opacity: 1; }
.faq-item.open { background: rgba(251,191,36,.04); }
.faq-q {
  padding: 18px 26px !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: #e7ebf5 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  transition: color .15s, background .15s !important;
  letter-spacing: -.005em;
}
.faq-q:hover { color: var(--wc-gold-2) !important; background: rgba(255,255,255,.02) !important; }
.faq-item.open .faq-q { color: #fff !important; }
.faq-q .chev {
  width: 28px !important; height: 28px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.05) !important;
  color: var(--wc-gold-2) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border: 1px solid var(--border) !important;
  transition: transform .28s ease, background .15s, color .15s, border-color .15s !important;
  flex-shrink: 0 !important;
}
.faq-q:hover .chev,
.faq-item.open .faq-q .chev {
  background: linear-gradient(135deg, var(--wc-gold-2), var(--wc-red)) !important;
  color: #1a0d05 !important;
  border-color: rgba(251,191,36,.45) !important;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg) !important; }
.faq-a {
  padding: 0 26px 22px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--t2) !important;
}
.card-bd { color: var(--t2); }

/* ── floating CTA ── */
.fcta {
  background: linear-gradient(160deg, rgba(22,29,51,.95), rgba(14,20,38,.95));
  border: 1px solid rgba(59,130,246,.30);
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(59,130,246,.10), 0 0 48px rgba(59,130,246,.20);
  color: var(--t1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.fcta-ey { color: var(--brand-2); }
.fcta-ey .dot { background: var(--brand-green); box-shadow: 0 0 0 4px rgba(16,185,129,.15), 0 0 10px rgba(16,185,129,.6); }
.fcta-title { color: var(--t1); }
.fcta-sub { color: var(--t2); }
.fcta-btn {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,.40), inset 0 1px 0 rgba(255,255,255,.15);
}
.fcta-btn:hover { box-shadow: 0 12px 32px rgba(59,130,246,.55), inset 0 1px 0 rgba(255,255,255,.2); }
.fcta-close { color: var(--t2); }

/* ── footer ── */
footer, .footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  border-top: 1px solid var(--border);
  color: var(--t2);
}
footer a:hover, .footer a:hover { color: var(--brand-2); }

/* ── nav-hamburger / svg ── */
.nav-hamburger { color: var(--t1); }

/* ── tables (standings) ── */
table { color: var(--t1); }
th { color: var(--t3); border-bottom-color: var(--border); }
td { border-bottom-color: var(--border-soft); }
tbody tr:hover { background: rgba(59,130,246,.05); }

/* Selection */
::selection { background: rgba(59,130,246,.35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,.4); }

/* ════════════════════════════════════════════════════════════════════════
   WORLD CUP 2026 HERO BLOCK
   ════════════════════════════════════════════════════════════════════════ */

.wc-hero {
  position: relative;
  margin: 16px 0 28px;
  padding: 40px 36px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 600px 400px at 90% 10%, rgba(251,191,36,.22), transparent 55%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(59,130,246,.28), transparent 55%),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(168,85,247,.14), transparent 60%),
    linear-gradient(135deg, #0e1426 0%, #0a0f1d 100%);
  border: 1px solid rgba(251,191,36,.18);
  box-shadow:
    0 24px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  isolation: isolate;
}

/* Decorative blur orbs */
.wc-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(251,191,36,.35), transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
  animation: wcOrbFloat 12s ease-in-out infinite;
}
.wc-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59,130,246,.40), transparent 70%);
  filter: blur(70px);
  border-radius: 50%;
  z-index: -1;
  animation: wcOrbFloat 16s ease-in-out -3s infinite;
}
@keyframes wcOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(20px,-30px) scale(1.1); }
}

.wc-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  z-index: 1;
}

.wc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(245,158,11,.10));
  border: 1px solid rgba(251,191,36,.35);
  text-shadow: 0 0 12px rgba(251,191,36,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  margin-bottom: 18px;
}
.wc-badge::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wc-gold-2);
  box-shadow: 0 0 0 3px rgba(251,191,36,.18), 0 0 10px rgba(251,191,36,.7);
  animation: wcDotPulse 1.8s ease-in-out infinite;
}
@keyframes wcDotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(251,191,36,.18), 0 0 10px rgba(251,191,36,.7); }
  50%     { box-shadow: 0 0 0 6px rgba(251,191,36,.10), 0 0 16px rgba(251,191,36,.9); }
}

.wc-title {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  color: var(--t1);
}
.wc-title .wc-gold {
  background: linear-gradient(135deg, #fff3b8 0%, #fbbf24 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(251,191,36,.3));
}
.wc-title .wc-grad {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wc-sub {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 22px;
}
.wc-sub strong { color: var(--t1); font-weight: 600; }

.wc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.wc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wc-chip svg { width: 14px; height: 14px; color: var(--brand-2); }
.wc-chip .wc-chip-val { color: var(--brand-2); font-weight: 800; }
.wc-chip.wc-chip-live { border-color: rgba(239,68,68,.4); }
.wc-chip.wc-chip-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.18), 0 0 8px rgba(239,68,68,.7);
  animation: wcDotPulse 1.4s ease-in-out infinite;
}
.wc-chip.wc-chip-flags { padding-left: 10px; gap: 6px; }
.wc-chip .wc-host { font-size: 18px; line-height: 1; }

.wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.wc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  border: 1px solid rgba(251,191,36,.5);
  box-shadow:
    0 8px 28px rgba(245,158,11,.35),
    inset 0 1px 0 rgba(255,255,255,.20);
  transition: transform .15s, box-shadow .15s;
}
.wc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 36px rgba(245,158,11,.5),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.wc-btn-primary svg { width: 16px; height: 16px; }
.wc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s;
}
.wc-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

/* ── trophy column ── */
.wc-trophy-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.wc-trophy {
  position: relative;
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)) drop-shadow(0 0 60px rgba(251,191,36,.5));
  animation: wcTrophyFloat 6s ease-in-out infinite;
}
@keyframes wcTrophyFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-10px) rotate(1deg); }
}
.wc-trophy-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(251,191,36,.5), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: wcGlowPulse 4s ease-in-out infinite;
}
@keyframes wcGlowPulse {
  0%,100% { opacity: .7; transform: scale(1); }
  50%     { opacity: 1;  transform: scale(1.1); }
}

/* Floating stars decoration */
.wc-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.wc-stars span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 16px rgba(255,255,255,.5);
  animation: wcTwinkle 3s ease-in-out infinite;
}
.wc-stars span:nth-child(1) { top: 14%; left: 18%; animation-delay: 0s; }
.wc-stars span:nth-child(2) { top: 28%; left: 72%; animation-delay: .6s; }
.wc-stars span:nth-child(3) { top: 64%; left: 88%; animation-delay: 1.2s; width: 3px; height: 3px; }
.wc-stars span:nth-child(4) { top: 78%; left: 12%; animation-delay: 1.8s; width: 3px; height: 3px; }
.wc-stars span:nth-child(5) { top: 8%;  left: 56%; animation-delay: .3s; width: 2px; height: 2px; }
.wc-stars span:nth-child(6) { top: 88%; left: 62%; animation-delay: 2.4s; width: 2px; height: 2px; }
@keyframes wcTwinkle {
  0%,100% { opacity: .2; transform: scale(.8); }
  50%     { opacity: 1;  transform: scale(1.4); }
}

/* ── bento stats row (under hero) ── */
.wc-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.wc-bento-card {
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s, border-color .18s, background .18s;
}
.wc-bento-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(251,191,36,.30);
}
.wc-bento-ic {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(245,158,11,.10));
  border: 1px solid rgba(251,191,36,.25);
  margin-bottom: 10px;
}
.wc-bento-ic svg { width: 16px; height: 16px; color: var(--wc-gold-2); }
.wc-bento-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--t1);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.wc-bento-lbl {
  font-size: 12px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ── featured opening match (under bento) ── */
.wc-feature {
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59,130,246,.12), rgba(168,85,247,.08)),
    rgba(14,20,38,.6);
  border: 1px solid rgba(59,130,246,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.wc-feature-ey {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-feature-ey::before {
  content: '';
  width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--brand-2), transparent);
}
.wc-feature-when {
  font-size: 13px;
  color: var(--t3);
  font-weight: 600;
}
.wc-feature-when strong { color: var(--t1); font-weight: 700; }
.wc-feature-match {
  font-size: 20px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -.01em;
}
.wc-feature-match .vs {
  display: inline-block;
  margin: 0 12px;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  color: var(--t3);
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: .1em;
}
.wc-feature-flag {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.wc-feature-cta {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  transition: background .15s, border-color .15s, color .15s;
}
.wc-feature-cta:hover { background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.5); color: var(--brand-2); }

/* ── responsive ── */
@media (max-width: 880px) {
  .wc-hero { padding: 28px 22px; border-radius: 22px; }
  .wc-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .wc-trophy-wrap { min-height: auto; }
  .wc-trophy { max-width: 200px; }
  img.wc-trophy { max-width: 180px; }
  .wc-bento { grid-template-columns: repeat(2, 1fr); }
  .wc-feature { grid-template-columns: 1fr; text-align: center; }
  .wc-feature-cta { justify-self: center; }
  .wc-title { font-size: clamp(24px, 7vw, 38px); }
}
@media (max-width: 480px) {
  .wc-hero { padding: 22px 16px; }
  .wc-actions { flex-direction: column; align-items: stretch; }
  .wc-btn-primary, .wc-btn-ghost { justify-content: center; padding: 12px 18px; }
  img.wc-trophy { max-width: 150px; }
  .wc-meta { gap: 6px; }
  .wc-chip { padding: 6px 11px; font-size: 12px; }
  .fcta { right: 12px !important; bottom: 12px !important; max-width: calc(100vw - 24px); padding: 14px !important; }
  .fcta-title { font-size: 14px !important; }
  .fcta-sub { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   EXPECTED LINEUPS (SVG pitch)
   ════════════════════════════════════════════════════════════════════════ */
.aiwc-lineup-wrap { display: flex; flex-direction: column; gap: 14px; }
.aiwc-pitch {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.05);
}
.aiwc-pitch .lp-player text { paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 1.5; }
.aiwc-pitch .lp-player .lp-name { stroke-width: 2.2; }
.aiwc-pitch .lp-away circle { fill: #ef4444; }
.aiwc-pitch .lp-home circle { fill: #3b82f6; }
.aiwc-lineup-meta {
  display: grid;
  gap: 10px;
}
.aiwc-lineup-coaches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.aiwc-lineup-coach {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aiwc-lineup-coach--home { border-left: 3px solid #3b82f6; }
.aiwc-lineup-coach--away { border-left: 3px solid #ef4444; }
.aiwc-lineup-coach-lbl {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 700;
}
.aiwc-lineup-coach-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.aiwc-lineup-disclaimer {
  font-size: 12px;
  color: var(--t3);
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  line-height: 1.5;
}
.aiwc-lineup-updated { color: var(--wc-gold-2); font-weight: 700; margin-left: 6px; }
.aiwc-lineup-unverified {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.30);
  color: #fca5a5;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 540px) {
  .aiwc-pitch .lp-player .lp-name { display: none; }
  .aiwc-lineup-coaches { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   SQUAD CONTEXT — Top Players / Injuries / Suspensions
   ════════════════════════════════════════════════════════════════════════ */

.aiwc-roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.aiwc-roster-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
}
.aiwc-roster-team {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.aiwc-roster-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wc-gold-2);
  box-shadow: 0 0 0 3px rgba(251,191,36,.15);
}
.aiwc-roster-dot--away { background: var(--brand-2); box-shadow: 0 0 0 3px rgba(96,165,250,.15); }
.aiwc-roster-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.aiwc-roster-row:last-child { border-bottom: 0; }
.aiwc-roster-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.aiwc-roster-pos {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--wc-gold-2);
  background: rgba(251,191,36,.10);
  border: 1px solid rgba(251,191,36,.30);
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}
.aiwc-roster-meta,
.aiwc-roster-detail {
  font-size: 12.5px;
  color: var(--t2);
  grid-column: 3 / span 1;
}
.aiwc-roster-status {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.aiwc-roster-status--inj {
  color: #fca5a5;
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.30);
}
.aiwc-roster-status--sus {
  color: #fde047;
  background: rgba(234,179,8,.14);
  border: 1px solid rgba(234,179,8,.35);
}
.aiwc-roster-status--top {
  color: var(--wc-gold-1);
  background: rgba(251,191,36,.10);
}
.aiwc-roster-empty {
  font-size: 13px;
  color: var(--t3);
  font-style: italic;
  padding: 8px 0;
  text-align: center;
}

@media (max-width: 700px) {
  .aiwc-roster-grid { grid-template-columns: 1fr; }
  .aiwc-roster-row { grid-template-columns: 1fr auto; }
  .aiwc-roster-pos { grid-column: 2; }
  .aiwc-roster-meta, .aiwc-roster-detail { grid-column: 1 / -1; font-size: 12px; }
  .aiwc-roster-status { grid-column: 2; grid-row: 1; }
}

/* feature-card как ссылка — без подчёркивания, дополнительный hover */
a.wc-feature {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
a.wc-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.50) !important;
  box-shadow: 0 14px 32px rgba(59,130,246,.18);
}
a.wc-feature:hover .wc-feature-cta {
  background: rgba(59,130,246,.22) !important;
  border-color: rgba(59,130,246,.55) !important;
  color: var(--brand-2) !important;
}

/* SVG icons inside ALL wc-buttons — fixed size, no flex-stretch */
.wc-btn-primary svg,
.wc-btn-ghost svg,
.wc-btn-primary > svg,
.wc-btn-ghost > svg,
.wc-feature-cta svg,
.wc-groups-cta svg,
.wc-chip svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* ════════════════════════════════════════════════════════════════════════
   LOGO + BRAND area — show real multi-color logo
   ════════════════════════════════════════════════════════════════════════ */

.sb-brand {
  padding: 18px 6px 22px;
  margin: 0 -4px 14px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 220px 100px at 50% 0%, rgba(251,191,36,.12), transparent 70%);
  border-radius: 0 0 18px 18px;
  justify-content: center !important;
}
.sb-brand::after {
  /* gold underline accent instead of blue */
  background: linear-gradient(90deg, transparent, var(--wc-gold-2), transparent);
  width: 60px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  box-shadow: 0 0 12px rgba(251,191,36,.6);
}
.sb-brand .logo-img,
.nav .logo-img {
  /* keep original colors — do NOT invert */
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)) drop-shadow(0 0 24px rgba(251,191,36,.25));
  height: auto !important;
  width: auto !important;
  max-width: 200px;
  max-height: 90px;
}
.nav .logo-img {
  max-height: 56px;
  max-width: 160px;
}
.nav .nav-inner { min-height: 64px; }
.logo--mobile { display: flex; align-items: center; }

/* ════════════════════════════════════════════════════════════════════════
   PALETTE TUNE — match logo (gold + red accents alongside blue)
   ════════════════════════════════════════════════════════════════════════ */

/* Sidebar quick CTA → gold→red gradient instead of pure blue */
.sb-quick-cta {
  background: linear-gradient(135deg, #fbbf24 0%, #ef4444 100%);
  border-color: rgba(251,191,36,.55);
  box-shadow:
    0 8px 24px rgba(245,158,11,.35),
    inset 0 1px 0 rgba(255,255,255,.18);
  color: #1a0d05;
  font-weight: 800;
}
.sb-quick-cta:hover {
  box-shadow:
    0 12px 32px rgba(245,158,11,.50),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.sb-quick-cta svg { color: #1a0d05; }

/* Ann-bar accent → gold */
.ann-bar .ann-content strong { color: var(--wc-gold-2); text-shadow: 0 0 12px rgba(251,191,36,.5); }
.ann-bar .ann-dot {
  background: var(--wc-gold-2);
  box-shadow: 0 0 0 4px rgba(251,191,36,.18), 0 0 12px rgba(251,191,36,.6);
}

/* Active period tab — golden accent ring */
.stab.active {
  background: linear-gradient(180deg, rgba(251,191,36,.18), rgba(245,158,11,.06));
  border-color: rgba(251,191,36,.45);
  box-shadow: 0 0 0 1px rgba(251,191,36,.12), 0 8px 24px rgba(245,158,11,.22);
  color: #fef3c7;
}
.stab.active svg { color: var(--wc-gold-2); }

/* League card crest → gold tone */
.lc-crest {
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(239,68,68,.10));
  color: var(--wc-gold-2);
  border-color: rgba(251,191,36,.30);
}
.lc-pill {
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05;
  box-shadow: 0 4px 12px rgba(245,158,11,.30);
}

/* Floating CTA → gold border + gold→red button */
.fcta {
  border-color: rgba(251,191,36,.30);
  box-shadow:
    0 24px 64px rgba(0,0,0,.6),
    0 0 0 1px rgba(251,191,36,.10),
    0 0 48px rgba(251,191,36,.18);
}
.fcta-ey { color: var(--wc-gold-2); }
.fcta-btn {
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05;
  box-shadow: 0 8px 24px rgba(245,158,11,.40), inset 0 1px 0 rgba(255,255,255,.20);
}
.fcta-btn:hover {
  box-shadow: 0 12px 32px rgba(245,158,11,.55), inset 0 1px 0 rgba(255,255,255,.25);
}
.fcta-btn svg { color: #1a0d05; }

/* Sidebar foot tag → gold */
.sb-foot-tag { color: var(--wc-gold-2); }
.sb-foot-dot {
  background: var(--wc-gold-2);
  box-shadow: 0 0 0 4px rgba(251,191,36,.15), 0 0 10px rgba(251,191,36,.6);
}

/* Hero gradient text → swap to gold tint */
.hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hl, .heading-hl { color: var(--wc-gold-2); }

/* Sidebar item hover → gold tint instead of blue */
.sb-item:hover { background: rgba(251,191,36,.10); }
.sb-item:hover .sb-crest { color: var(--wc-gold-2); }
.sb-acc-body a:hover { color: var(--wc-gold-2); }
.sb-label-ic { color: var(--wc-gold-2); }

/* Match row hover */
.mx-row:hover { background: rgba(251,191,36,.05); }
.mx-row:hover .mx-arrow { color: var(--wc-gold-2); }

/* Selection */
::selection { background: rgba(251,191,36,.40); color: #1a0d05; }
::-webkit-scrollbar-thumb:hover { background: rgba(251,191,36,.5); }

/* ════════════════════════════════════════════════════════════════════════
   BIG CTA section (above footer) — dark + WC gold
   ════════════════════════════════════════════════════════════════════════ */

.aiwc-cta {
  background:
    radial-gradient(ellipse 800px 500px at 20% 0%, rgba(251,191,36,.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(59,130,246,.22), transparent 60%),
    linear-gradient(135deg, #0a0f1d 0%, #161d33 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--t1);
  position: relative;
  isolation: isolate;
}
.aiwc-cta::before,
.aiwc-cta::after { display: none; }

.aiwc-cta-eyebrow {
  color: var(--wc-gold-2);
  text-shadow: 0 0 12px rgba(251,191,36,.4);
}
.aiwc-cta-eyebrow-dot {
  background: var(--wc-gold-2);
  box-shadow: 0 0 0 4px rgba(251,191,36,.18), 0 0 10px rgba(251,191,36,.6);
}
.aiwc-cta-title {
  color: var(--t1);
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(251,191,36,.2));
}
.aiwc-cta-title-hl {
  background: linear-gradient(135deg, #fbbf24 0%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(251,191,36,.35));
}
.aiwc-cta-sub { color: var(--t2); }
.aiwc-btn-primary {
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05;
  border-color: rgba(251,191,36,.55);
  box-shadow: 0 8px 24px rgba(245,158,11,.35), inset 0 1px 0 rgba(255,255,255,.18);
  font-weight: 800;
}
.aiwc-btn-primary:hover {
  box-shadow: 0 14px 36px rgba(245,158,11,.50), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.aiwc-btn-secondary {
  background: rgba(255,255,255,.05);
  color: var(--t1);
  border-color: var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.aiwc-btn-secondary:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(251,191,36,.4);
  color: var(--wc-gold-1);
}
.aiwc-cta-trust li { color: var(--t2); }
.aiwc-cta-trust li strong { color: var(--wc-gold-2); }
.aiwc-cta-trust li:not(:last-child)::after { color: var(--t3); }

/* ════════════════════════════════════════════════════════════════════════
   FOOTER — dark + WC accents
   ════════════════════════════════════════════════════════════════════════ */

.aiwc-footer {
  background: linear-gradient(180deg, var(--bg-2) 0%, #050810 100%);
  border-top: 1px solid var(--border);
  color: var(--t2);
  position: relative;
}
.aiwc-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wc-gold-2), transparent);
  opacity: .4;
}
.aiwc-footer-logo img {
  /* keep original multi-color logo; no white invert */
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)) drop-shadow(0 0 24px rgba(251,191,36,.20));
  height: auto !important;
  width: auto !important;
  max-height: 74px;
  max-width: 200px;
}
.aiwc-footer-tag { color: var(--t2); }
.aiwc-footer-label {
  color: var(--wc-gold-2);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.aiwc-footer-links a {
  color: var(--t2);
  transition: color .15s, padding-left .15s;
}
.aiwc-footer-links a:hover {
  color: var(--wc-gold-1);
  padding-left: 4px;
}
.aiwc-footer-links li {
  position: relative;
}
.aiwc-footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 40px 0 24px;
}
.aiwc-footer-credit {
  color: var(--t3);
}
.aiwc-footer-credit strong { color: var(--t2); }

/* ════════════════════════════════════════════════════════════════════════
   PERFORMANCE — kill expensive effects that cause scroll/mouse jank
   (backdrop-blur composites every frame, fixed-bg repaints on scroll,
   continuous animations on large/blurred nodes saturate the compositor)
   ════════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* body background — keep gradients but DO NOT pin to viewport (fixed repaints
   the gradient every scroll frame). Use a flat dark colour, no scroll repaint. */
html, body {
  background: var(--bg) !important;
  background-attachment: scroll !important;
}
body::before { display: none !important; }

/* solidify surfaces that used to rely on backdrop blur */
.nav, header.nav { background: rgba(10,15,29,.96) !important; }
.tabs-bar       { background: rgba(10,15,29,.96) !important; }
.ann-bar        { background: rgba(10,15,29,.96) !important; }
.sidebar        {
  background: linear-gradient(180deg, #0e1426 0%, #070a14 100%) !important;
  transition: transform .2s ease-out !important;
  will-change: transform;
}
/* JS-toggled class — пиннит сайдбар к самому верху без перерасчёта layout (transform = compositor only) */
.sidebar.sb-pinned { transform: translateY(-40px) !important; }
@media (max-width: 980px) { .sidebar.sb-pinned { transform: none !important; } }
.fcta           { background: linear-gradient(160deg, #161d33 0%, #0e1426 100%) !important; }
.league-card,
.prose-card,
.faq-card,
.card           { background: rgba(22,29,51,.85) !important; }

/* drop continuous animations on big/decorative elements */
.wc-hero::before,
.wc-hero::after,
.wc-trophy-glow,
.wc-trophy,
.wc-stars span,
.wc-badge::before,
.ann-bar .ann-dot,
.sb-foot-dot,
.fcta-ey .dot,
.wc-chip.wc-chip-live::before {
  animation: none !important;
}

/* simplify chained drop-shadows (each shadow = full element rasterised again) */
.wc-trophy {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)) !important;
}
.sb-brand .logo-img,
.nav .logo-img,
.aiwc-footer-logo img {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)) !important;
}

/* respect users that prefer no motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   SIDEBAR readability — kill light-theme leftovers, sharpen text
   ════════════════════════════════════════════════════════════════════════ */

.sb-section {
  background: transparent !important;
  border: 0 !important;
  padding: 8px 4px 10px !important;
  margin-bottom: 8px !important;
}
.sb-section + .sb-section {
  margin-top: 4px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--border) !important;
}
.sb-label {
  color: var(--wc-gold-2) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  padding: 0 10px 4px !important;
}
.sb-label-ic { color: var(--wc-gold-2) !important; }

.sb-item {
  color: #e7ebf5 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  border-radius: 10px !important;
  padding: 9px 10px !important;
  transition: background .12s, color .12s !important;
}
.sb-item:hover {
  background: rgba(251,191,36,.10) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  padding-left: 10px !important;
  transform: none !important;
}
.sb-item:hover .sb-crest {
  transform: none !important;
  color: var(--wc-gold-1) !important;
  background: rgba(251,191,36,.18) !important;
  border-color: rgba(251,191,36,.45) !important;
}
.sb-crest {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.06) !important;
  color: var(--t1) !important;
  border: 1px solid var(--border) !important;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.sb-crest svg { width: 15px; height: 15px; }

/* Group rows — stack name above flags */
.sb-group .txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sb-group-name {
  color: #f1f5fb;
  font-weight: 700;
  font-size: 13.5px;
}
.sb-group-flags {
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
  filter: saturate(1.05);
}
.sb-crest-group {
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(239,68,68,.10)) !important;
  color: var(--wc-gold-2) !important;
  border-color: rgba(251,191,36,.35) !important;
  font-weight: 800;
}

/* Accordion rows (legacy — leftover style) */
.sb-acc-row {
  color: #e7ebf5 !important;
  background: transparent !important;
}
.sb-acc-row:hover {
  background: rgba(255,255,255,.05) !important;
  color: #ffffff !important;
}
.sb-acc-body a {
  color: var(--t2) !important;
}
.sb-acc-body a:hover { color: var(--wc-gold-1) !important; }

/* Sidebar foot */
.sb-foot { border-top: 1px solid var(--border) !important; }
.sb-foot-tag {
  color: var(--wc-gold-2) !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sb-foot-brand { color: var(--t2) !important; }
.sb-foot-brand strong { color: var(--t1) !important; }

/* ════════════════════════════════════════════════════════════════════════
   HOME — World Cup Groups grid
   ════════════════════════════════════════════════════════════════════════ */

.wc-groups {
  margin: 28px 0;
}
.wc-groups-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.wc-groups-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
  margin-bottom: 6px;
}
.wc-groups-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--t1);
  margin: 0;
  line-height: 1.05;
}
.wc-groups-title .wc-gold {
  background: linear-gradient(135deg, #fff3b8 0%, #fbbf24 50%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wc-groups-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--wc-gold-2);
  background: rgba(251,191,36,.10);
  border: 1px solid rgba(251,191,36,.30);
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.wc-groups-cta:hover {
  background: rgba(251,191,36,.22);
  color: #fef3c7;
  border-color: rgba(251,191,36,.55);
}
.wc-groups-cta svg { width: 14px; height: 14px; }

.wc-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wc-group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #161d33 0%, #0e1426 100%);
  border: 1px solid var(--border);
  color: var(--t1);
  text-decoration: none;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  overflow: hidden;
  isolation: isolate;
}
.wc-group-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251,191,36,.4), rgba(239,68,68,.2), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity .18s;
}
.wc-group-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.45);
  box-shadow: 0 14px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(251,191,36,.10), 0 0 32px rgba(251,191,36,.12);
}
.wc-group-card:hover::before { opacity: .55; }

.wc-group-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.wc-group-letter {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
  color: #1a0d05;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px rgba(245,158,11,.30);
  flex-shrink: 0;
}
.wc-group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t3);
}

.wc-group-teams {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.wc-group-teams li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #e7ebf5;
  min-width: 0;
}
.wc-group-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.wc-group-team {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.wc-group-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wc-gold-2);
}
.wc-group-arrow {
  width: 14px;
  height: 14px;
  color: var(--wc-gold-2);
  transition: transform .15s;
}
.wc-group-card:hover .wc-group-arrow { transform: translateX(3px); color: #fef3c7; }

/* очки команды в карточке группы */
.wc-group-teams li {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
}
.wc-group-pts {
  font-family: var(--fn-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--wc-gold-2);
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.28);
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
  letter-spacing: -.01em;
}

/* img-trophy (вместо SVG) */
img.wc-trophy {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)) drop-shadow(0 0 60px rgba(251,191,36,.4));
}

@media (max-width: 1100px) {
  .wc-groups-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wc-groups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wc-group-card { padding: 14px 14px 12px; border-radius: 14px; }
  .wc-group-letter { width: 36px; height: 36px; font-size: 18px; }
  .wc-groups-head { flex-direction: column; align-items: stretch; }
  .wc-groups-cta { align-self: flex-start; }
}
