/* ===================== TYPO TAMING — medium text uses Manrope 800 ===================== */
/* Bowlby One SC est volontairement très lourd. Pour le contenu de taille moyenne (cards, pills,
   table cells, h3/h4) on bascule sur Manrope 800 italic — punchy mais lisible. Les gros titres
   hero (h1) gardent Bowlby pour l'impact visuel. */
.side-feature .ttl,
.side-pill .name,
.side-originals .ttl,
.match-team .name,
.bl-team .nm,
.bl-standings .team .nm,
.bl-vs .score,
.bl-vs .kick,
.offer .brand .glyph,
.offer .brand .glyph small,
.social-card-big .name,
.soon-card .name,
.lb-table-v2 .player .name,
.lb-big-row .lb-player .name,
.podium-slot .nick,
.podium-slot .wager-val,
.podium-slot .prize-cap,
.pick-card h4,
.pick-card .picked-value,
.candidate .name,
.award h3,
.step-block h4,
.rules-block h4,
.ko-head h3,
.ko-match .slot,
.modal-head h3,
.bonus-v2 h3,
.featured-pick h3,
.featured-social .net-name,
.casino-name,
.lb-card h3,
.guide-title,
.partner-body h3,
.why-card h4,
.offers-hero .eye-pill,
.community-hero .eye-pill,
.bonus-v2 .price .pct,
.bonus-v2 .price .amt,
.banner-cta h2,
.giveaway-overlay .big,
.community-hero h1,
.lb-big-row .prize-cell,
.lb-table-v2 .prize {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-style: italic;
  letter-spacing: -0.005em;
}

/* Slightly lighter for very small medium text */
.lb-big-row .lb-player .name,
.candidate .name,
.pick-card h4,
.bl-standings .team .nm,
.bl-team .nm,
.match-team .name,
.lb-table-v2 .player .name {
  font-weight: 700 !important;
}

/* Prize amounts stay big but use Manrope 800 (not Bowlby) */
.podium-slot .prize-pill {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-style: italic;
}

/* === Anti-clipping safeguard for Bowlby SC italic — adds breathing room on the right === */
/* Italic glyphs lean right; without breathing room they get visually clipped at container edges. */
h1, h2, h3, h4 {
  padding-right: 0.05em;
}
[style*="italic"]:not(button):not(a),
em, .accent, b[data-i18n-html], strong[data-i18n] {
  padding-right: 0.02em;
}

/* === Brand logo as clickable home link === */
.brand-link {
  display: inline-flex;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity .15s;
}
.brand-link:hover { opacity: 0.85; }
.brand-link .brand-img { display: block; }

/* === Hide hamburger / menu icon-btn on desktop (only show on mobile <= 880px) === */
@media (min-width: 881px) {
  .topbar > .icon-btn[aria-label="Menu"],
  .topbar > .icon-btn[aria-label="Menü"],
  .topbar > .icon-btn:first-child {
    display: none;
  }
}

/* ===================== SIDEBAR SECTION (Predictyz — collapsible) ===================== */
details.nav-section {
  display: block;
  margin: 14px 0 0;
}
details.nav-section > summary::-webkit-details-marker { display: none; }
details.nav-section > summary::marker { display: none; }
details.nav-section > summary { cursor: pointer; list-style: none; }
.nav-section-chev {
  width: 14px; height: 14px;
  margin-left: 4px;
  opacity: 0.6;
  transition: transform .2s ease;
  flex: 0 0 auto;
}
details.nav-section[open] > summary .nav-section-chev { transform: rotate(180deg); }

/* Only the actual list of items hides when closed; summary (with desc inside) stays visible */
details.nav-section:not([open]) > .nav-subgroup { display: none; }

/* ===================== SIDEBAR SECTION LABEL + ZONE (Predictyz) ===================== */
.nav-section-label {
  display: flex; flex-direction: column;
  gap: 6px;
  margin: 0 6px 0;
  padding: 10px 14px 12px;
  position: relative;
  user-select: none;
  background: linear-gradient(180deg, oklch(0.88 0.26 140 / 0.06), oklch(0.88 0.26 140 / 0.03));
  border: 1px solid oklch(0.88 0.26 140 / 0.14);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  transition: border-radius .15s;
}
.nav-section-label-row {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-section-label-row > .nav-section-chev {
  margin-left: auto;
}

/* When closed, the label takes full rounded corners (no subgroup below) */
details.nav-section:not([open]) > .nav-section-label {
  border-bottom: 1px solid oklch(0.88 0.26 140 / 0.14);
  border-radius: 12px;
}
.nav-section-label-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 0 6px oklch(0.85 0.20 50 / 0.55));
  animation: nav-flame-flicker 1.4s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes nav-flame-flicker {
  0%   { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 0 4px oklch(0.85 0.20 50 / 0.45)) brightness(1); }
  25%  { transform: scale(1.08) rotate(2deg); filter: drop-shadow(0 0 8px oklch(0.85 0.20 50 / 0.70)) brightness(1.15); }
  50%  { transform: scale(0.96) rotate(-3deg); filter: drop-shadow(0 0 5px oklch(0.85 0.20 50 / 0.50)) brightness(0.95); }
  75%  { transform: scale(1.06) rotate(1deg); filter: drop-shadow(0 0 9px oklch(0.85 0.20 50 / 0.75)) brightness(1.18); }
  100% { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 0 4px oklch(0.85 0.20 50 / 0.45)) brightness(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-section-label-icon { animation: none; }
}

/* Section description (inside the <summary>, second line) */
.nav-section-desc {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-mute);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.005em;
}
.nav-section-desc b {
  color: var(--accent);
  font-weight: 700;
}

/* Predictyz zone — subgroup below the summary */
details.nav-section > .nav-subgroup {
  background: linear-gradient(180deg, oklch(0.88 0.26 140 / 0.04), oklch(0.88 0.26 140 / 0.06));
  border: 1px solid oklch(0.88 0.26 140 / 0.14);
  border-top: none;
  border-radius: 0 0 12px 12px;
  margin: 0 6px 8px;
  padding: 6px 6px 8px;
}
.nav-subgroup.nav-subgroup-flat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ===================== SIDEBAR SUBGROUP (Predictyz — collapsible) ===================== */
details.nav-subgroup {
  display: flex; flex-direction: column;
  gap: 2px;
  margin: 4px 0;
  padding-left: 0;
}
.nav-subgroup-title {
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  border-radius: 8px;
  list-style: none;
  transition: background .15s;
  display: flex; flex-direction: column; gap: 6px;
}
.nav-subgroup-title::-webkit-details-marker { display: none; }
.nav-subgroup-title::marker { display: none; }
.nav-subgroup-title:hover { background: var(--bg-2); }
.nav-subgroup-title .row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.nav-subgroup-title:hover .row { color: var(--text-soft); }
.nav-subgroup-title .label { flex: 1; }
.nav-subgroup-title .tagline {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  padding-left: 24px;
  opacity: 0.85;
}
.nav-subgroup-title .tagline b {
  color: var(--accent);
  font-weight: 700;
}
.nav-subgroup-title .count {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 5px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  letter-spacing: 0.04em;
  font-weight: 700;
}
.nav-subgroup-title .chev {
  width: 14px; height: 14px;
  transition: transform .2s ease;
  opacity: 0.55;
  flex-shrink: 0;
}
details[open] .nav-subgroup-title .chev {
  transform: rotate(180deg);
  opacity: 1;
}
details.nav-subgroup > .nav-item.nav-sub {
  animation: subFadeIn .2s ease both;
}
@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-item.nav-sub {
  padding: 8px 12px;
  font-size: 13px;
}
.nav-item.nav-sub svg { width: 16px; height: 16px; opacity: 0.75; }
.nav-item.nav-sub.active svg { opacity: 1; }
.nav-item .nav-logo {
  width: 22px; height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px oklch(0 0 0 / 0.4));
}
.nav-item.nav-sub .nav-logo { width: 20px; height: 20px; }
.nav-item.nav-sub .badge {
  font-size: 9px;
  padding: 2px 6px;
}

/* ===================== EXTRA — SUCHTYZ refactor ===================== */

/* ---------- BRAND (logo SVG) ---------- */
.brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.brand-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-brand .brand .brand-img { height: 30px; }

/* ---------- DISPLAY TYPE (Bowlby One SC) ---------- */
/* Bowlby is a heavy single-weight font in small caps; let it breathe a bit + apply slight italic on hero titles */
h1, h2, h3, .brand-name,
.section-title-block h2,
.section-title-block h3,
.hero h1, .wc-hero h1, .lb-page-hero h1, .lb-header h1,
.hero-streamer h1,
.hero-streamer .sub,
.pred h2, .partner-body h3,
.featured-pick h3,
.award h3, .pick-card h4,
.step-block h4, .rules-block h4,
.podium-slot .nick,
.ko-head h3,
.modal-head h3,
.bonus-card h3, .game-name, .casino-name,
.lb-card h3,
.pred h2 em, .hero h1 em, .wc-hero h1 em, .lb-page-hero h1 em {
  font-family: var(--font-disp);
  font-weight: 400 !important;
  letter-spacing: 0.005em;
}
/* slight forward slant on the biggest hero titles for the punchy look */
.hero h1, .wc-hero h1, .lb-page-hero h1, .lb-header h1, .hero-streamer h1, .pred h2 {
  font-style: italic;
}

/* ---------- YELLOW ACCENT UTILITY ---------- */
.accent-yellow, .y { color: var(--accent-yellow) !important; }
.bg-yellow {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-2));
  color: oklch(0.18 0.02 90);
}

/* Big title <em> → yellow punchy emphasis (overrides legacy gradient-clip) */
.hero h1 em,
.lb-page-hero h1 em,
.wc-hero h1 em,
.pred h2 em,
.hero-streamer h1 em {
  font-style: italic;
  color: var(--accent-yellow) !important;
  -webkit-text-fill-color: var(--accent-yellow) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: 0 0 24px oklch(0.92 0.18 95 / 0.35);
}

/* "New" badges and small accents stay green by default — yellow is reserved for impact words */

/* Countdown numbers → yellow (matches the "47 / 53 / 19" pattern from the SUCHTYZ design) */
.count-cell .n,
.lb-page-prize .countdown .c .n,
.wc-side .countdown .cc .n {
  color: var(--accent-yellow) !important;
  text-shadow: 0 0 18px oklch(0.92 0.18 95 / 0.3);
}
.count-cell, .lb-page-prize .countdown .c, .wc-side .countdown .cc {
  border-color: oklch(0.92 0.18 95 / 0.2);
}

/* Prize amounts (€X XXX) in hero prize cards stay green for now — but big-currency emphases get yellow */
.lb-page-prize .pl .a,
.wc-side .pl .a {
  color: var(--accent-yellow) !important;
  text-shadow: 0 0 24px oklch(0.92 0.18 95 / 0.3);
}


/* ---------- WAVY PILL CALL-OUT (zigzag green band style) ---------- */
.wavy-pill {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-disp);
  font-style: italic;
  font-size: 18px;
  color: oklch(0.16 0.02 160);
  background: var(--accent);
  -webkit-mask-image:
    linear-gradient(135deg, transparent 8px, black 8px, black calc(100% - 8px), transparent calc(100% - 8px)),
    linear-gradient(45deg, transparent 8px, black 8px, black calc(100% - 8px), transparent calc(100% - 8px));
}

/* ---------- SIDEBAR FEATURED PILLS ---------- */
.side-feature {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, oklch(0.35 0.08 240 / 0.55), oklch(0.20 0.04 160 / 0.7));
  border: 1px solid var(--line-soft);
  margin: 4px 0 10px;
  position: relative;
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.side-feature:hover { transform: translateY(-1px); border-color: oklch(0.85 0.22 145 / 0.4); }
.side-feature .eye {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(0.78 0.18 235);
  display: block; margin-bottom: 2px;
}
.side-feature .ttl {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 17px; letter-spacing: -0.02em;
  line-height: 1; color: var(--text);
}

.side-pills {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin-bottom: 4px;
}
.side-pill {
  position: relative;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  overflow: hidden;
  transition: all .15s;
}
.side-pill:hover { border-color: oklch(0.85 0.22 145 / 0.4); background: var(--bg-3); }
.side-pill .lbl {
  display: block;
  font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}
.side-pill .name {
  display: block;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 13px; letter-spacing: -0.015em; line-height: 1.05;
  color: var(--text);
}
.side-pill.giveaway .lbl { color: var(--accent); }
.side-pill.giveaway {
  background: linear-gradient(140deg, oklch(0.40 0.13 145 / 0.6), oklch(0.22 0.04 160 / 0.9));
  border-color: oklch(0.85 0.22 145 / 0.25);
}
.side-pill.wager .lbl { color: var(--accent); }
.side-pill.wager {
  padding: 14px 16px;
  background: linear-gradient(140deg, oklch(0.42 0.15 145 / 0.55), oklch(0.20 0.04 158 / 0.95));
  border-color: oklch(0.85 0.22 145 / 0.50);
  box-shadow: 0 0 22px -8px oklch(0.85 0.22 145 / 0.55), inset 0 1px 0 oklch(1 0 0 / 0.06);
}
.side-pill.wager .name { font-size: 16px; }
/* flamme animée + pulse du glow pour attirer le clic sur la Race */
.side-pill.wager { animation: racePulse 2.4s ease-in-out infinite; }
.side-pill.wager::after {
  content: "🔥";
  position: absolute; top: 50%; right: 16px;
  font-size: 23px; line-height: 1;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 7px oklch(0.85 0.22 60 / 0.65));
  animation: raceFlame 1.1s ease-in-out infinite;
  pointer-events: none;
}
@keyframes raceFlame {
  0%, 100% { transform: translateY(-50%) rotate(-7deg) scale(1); }
  45%      { transform: translateY(-50%) rotate(6deg)  scale(1.22); }
  70%      { transform: translateY(-50%) rotate(-3deg) scale(1.07); }
}
@keyframes racePulse {
  0%, 100% { box-shadow: 0 0 20px -9px oklch(0.85 0.22 145 / 0.5),  inset 0 1px 0 oklch(1 0 0 / 0.06); }
  50%      { box-shadow: 0 0 32px -5px oklch(0.85 0.22 145 / 0.8),  inset 0 1px 0 oklch(1 0 0 / 0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .side-pill.wager, .side-pill.wager::after { animation: none !important; }
}

.side-originals {
  display: block;
  margin-top: 8px;
  padding: 14px 14px 10px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.85 0.22 145 / 0.25);
  background:
    radial-gradient(120% 80% at 80% 30%, oklch(0.55 0.18 145 / 0.4), transparent 60%),
    linear-gradient(135deg, oklch(0.30 0.08 150 / 0.7), oklch(0.16 0.03 160 / 0.95));
  transition: transform .15s, border-color .15s;
}
.side-originals:hover { transform: translateY(-1px); border-color: oklch(0.85 0.22 145 / 0.5); }
.side-originals .eye {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.side-originals .ttl {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 18px; letter-spacing: -0.025em; color: var(--text);
  line-height: 1;
}
.side-originals .ph {
  margin-top: 10px;
  height: 56px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(45deg, oklch(0.85 0.22 145 / 0.12) 0 6px, transparent 6px 12px),
    oklch(0.20 0.04 160);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-mute); letter-spacing: 0.1em;
}
.side-originals { padding: 8px; }
.side-originals video {
  display: block;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  object-fit: cover;
  background: oklch(0.10 0.02 160);
}

/* ---------- TOP OFFERS CAROUSEL ---------- */
.section-head .ttl-ico {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  flex-shrink: 0;
}
.section-head .ttl-ico svg { width: 14px; height: 14px; }
.section-head .ttl-row {
  display: flex; align-items: center; gap: 12px;
}
.section-head .ttl-count {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
  background: var(--bg-2);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.section-head .head-actions {
  display: flex; gap: 6px; align-items: center;
}
.section-head .view-all {
  font-size: 12px; color: var(--text-soft);
  padding: 7px 14px; border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  font-weight: 500;
}
.section-head .view-all:hover { background: var(--bg-2); color: var(--text); }
.section-head .nav-btn {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  display: grid; place-items: center;
  color: var(--text-soft);
}
.section-head .nav-btn:hover { background: var(--bg-2); color: var(--text); }
.section-head .nav-btn svg { width: 16px; height: 16px; }

.offer-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1480px) { .offer-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1280px) { .offer-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .offer-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .offer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.offer {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line-soft);
  transition: transform .2s ease, border-color .15s;
}
.offer:hover { transform: translateY(-3px); border-color: oklch(0.85 0.22 145 / 0.4); }

.offer .bg {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 30%, var(--c1, oklch(0.55 0.18 145)), var(--c2, oklch(0.18 0.04 160)) 75%);
}
.offer .bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 80%, transparent, oklch(0 0 0 / 0.35)),
    radial-gradient(2px 2px at 20% 30%, oklch(1 0 0 / 0.6), transparent 50%),
    radial-gradient(2px 2px at 70% 20%, oklch(1 0 0 / 0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 30% 60%, oklch(1 0 0 / 0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 70%, oklch(1 0 0 / 0.4), transparent 50%);
}
.offer .badge {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  background: oklch(0.12 0.02 160 / 0.85);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
  z-index: 2;
  backdrop-filter: blur(6px);
}
.offer .badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
}
.offer .badge.new::before { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.offer .badge.top::before { background: var(--hot); box-shadow: 0 0 6px var(--hot); }
.offer .badge.hot::before { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.offer .pill-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  background: oklch(0.12 0.02 160 / 0.85);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.offer .pill-tag::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.offer .brand {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  padding: 16px;
  z-index: 1;
  text-align: center;
}
.offer .brand .glyph {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 28px; letter-spacing: -0.04em;
  color: oklch(1 0 0 / 0.96);
  text-shadow: 0 2px 30px oklch(0 0 0 / 0.5);
}
.offer .brand .glyph small {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; font-weight: 600;
  color: oklch(1 0 0 / 0.55);
  margin-top: 4px;
}

/* First offer card — Reelhaus claim bonus, green brand */
.offer.claim .bg {
  background:
    radial-gradient(140% 70% at 30% 30%, oklch(0.65 0.20 148 / 0.45), transparent 60%),
    linear-gradient(160deg, oklch(0.40 0.12 150), oklch(0.18 0.04 160));
}
.offer.claim .claim-btn {
  position: absolute;
  top: 38%; left: 50%; transform: translate(-50%, -50%);
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  font-family: var(--font-sans); font-weight: 700;
  font-size: 11px; letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 8px 24px oklch(0.85 0.22 145 / 0.4);
  white-space: nowrap;
  z-index: 2;
}
.offer.claim .show {
  position: absolute;
  top: 56%; left: 0; right: 0; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft); text-align: center;
  z-index: 2;
}
.offer.claim .brand-foot {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 18px; letter-spacing: -0.025em;
  color: var(--accent);
  z-index: 2;
}

/* ---------- COMMUNITY CARDS ---------- */
.community-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) { .community-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .community-rail { grid-template-columns: 1fr; } }

.social-card {
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  color: oklch(0.99 0 0);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, filter .15s;
  border: 1px solid oklch(1 0 0 / 0.06);
}
.social-card:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-card .logo {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: oklch(1 0 0 / 0.18);
  display: grid; place-items: center;
  position: relative; z-index: 1;
  color: oklch(0.99 0 0);
}
.social-card .logo svg { width: 24px; height: 24px; }
.social-card .info {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  min-width: 0;
}
.social-card .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.75);
  margin-bottom: 2px;
}
.social-card .name {
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.social-card .meta {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  color: oklch(1 0 0 / 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-card.twitch { background: radial-gradient(120% 90% at 50% 30%, #b388ff, #6441a4 70%); }
.social-card.youtube { background: radial-gradient(120% 90% at 50% 30%, #ff5757, #c50019 70%); }
.social-card.instagram { background: radial-gradient(120% 90% at 50% 30%, #ff5e8a, #c9277a 50%, #5e3eb8); }
.social-card.discord { background: radial-gradient(120% 90% at 50% 30%, #6a8bff, #364fc7 70%); }
.social-card.telegram { background: radial-gradient(120% 90% at 50% 30%, #4dc6ff, #1c93d9 70%); }
.social-card.tiktok { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.03 220), oklch(0.12 0.02 240) 70%); }
.social-card.x { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.01 0), oklch(0.10 0 0) 70%); }
.social-card.x .name { font-size: 30px; font-weight: 900; }

/* ---------- ACTIVITY FEED ---------- */
.activity {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--bg-1);
  overflow: hidden;
}
.activity-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 18px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.activity-tabs button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
}
.activity-tabs button:hover { color: var(--text); }
.activity-tabs button.active {
  background: var(--bg-3);
  color: var(--text);
}
.activity-tabs button svg { width: 14px; height: 14px; }
.act-table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr 0.6fr;
  font-size: 13px;
}
.act-head, .act-row {
  display: contents;
}
.act-head > div {
  padding: 14px 18px 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.act-row > div {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
}
.act-row:last-child > div { border-bottom: 0; }
.act-row .redeem {
  position: relative;
}
.act-row .redeem::before {
  content: "";
  width: 3px; height: 18px; border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.act-row .tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: oklch(0.82 0.15 85 / 0.18);
  color: var(--gold);
  font-family: var(--font-mono); font-size: 10.5px;
  font-weight: 600; letter-spacing: 0.04em;
}
.act-row .nick { font-family: var(--font-disp); font-weight: 600; }
.act-row .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.act-row .val { font-family: var(--font-mono); font-weight: 600; }
.act-row .val.neg { color: var(--text); }
.act-row .val.pos { color: var(--accent); }
.act-row .status {
  font-family: var(--font-mono); font-size: 11px;
  padding: 3px 9px; border-radius: 6px;
  font-weight: 700; letter-spacing: 0.06em;
}
.act-row .status.paid { background: oklch(0.85 0.22 145 / 0.18); color: var(--accent); }
.act-row .status.pending { background: oklch(0.82 0.15 85 / 0.18); color: var(--gold); }
.act-row .status.refunded { background: oklch(0.78 0.20 35 / 0.18); color: var(--hot); }

/* ---------- ACTIVITY FEED — locked "coming soon" state (desktop + mobile) ---------- */
.act-locked { position: relative; }
.act-locked .act-table {
  filter: blur(7px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
/* extra-mask the pseudonyms so no name shows through the blur */
.act-locked .act-row .nick { color: transparent; }
.act-coming {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px 24px;
  background:
    radial-gradient(120% 90% at 50% 50%, oklch(0.10 0.02 150 / 0.45), oklch(0.06 0.012 150 / 0.78));
  -webkit-backdrop-filter: blur(1.5px);
          backdrop-filter: blur(1.5px);
}
.act-coming-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: oklch(0.88 0.26 140 / 0.12);
  border: 1px solid oklch(0.88 0.26 140 / 0.40);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.act-coming-badge svg { width: 14px; height: 14px; }
.act-coming strong {
  font-family: var(--font-disp);
  font-style: italic; font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--text);
}
.act-coming p {
  margin: 0; max-width: 460px;
  font-size: 14px; line-height: 1.6;
  color: var(--text-soft, var(--text-mute));
}
@media (max-width: 600px) {
  .act-coming { padding: 28px 18px; gap: 12px; }
  .act-coming p { font-size: 13px; }
}

/* ---------- FLOATING OFFER CTA (mobile only, shared across pages) ---------- */
.kh-float-cta { display: none; }
@media (max-width: 880px) {
  .kh-float-cta {
    display: flex; align-items: center; gap: 10px;
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 70;
    padding: 8px 8px 8px 15px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(90deg, oklch(0.14 0.03 150 / 0.96), oklch(0.09 0.02 150 / 0.96));
    border: 1px solid oklch(0.88 0.26 140 / 0.45);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
            backdrop-filter: blur(12px) saturate(1.1);
    box-shadow:
      0 12px 30px -10px oklch(0.05 0.01 145 / 0.80),
      0 0 22px -6px oklch(0.88 0.26 140 / 0.35),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
  .kh-float-logo { height: 19px; width: auto; flex: 0 0 auto; }
  .kh-float-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.20); flex: 0 0 auto; }
  .kh-float-offer {
    font-family: var(--font-sans);
    font-style: italic; font-weight: 800;
    font-size: 13.5px; letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  .kh-float-offer b { color: var(--accent-yellow); font-weight: 800; }
  .kh-float-btn {
    margin-left: auto; flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: oklch(0.14 0.02 160);
    font-family: var(--font-sans); font-weight: 800;
    font-size: 11.5px; letter-spacing: 0.03em; text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 16px -6px oklch(0.88 0.26 140 / 0.70), inset 0 1px 0 rgba(255,255,255,0.30);
  }
  .kh-float-btn svg { width: 13px; height: 13px; }
  /* reserve space at the bottom only on pages that actually have the floating CTA */
  body:has(.kh-float-cta) .content { padding-bottom: 92px !important; }
}
@media (max-width: 360px) {
  .kh-float-offer { font-size: 12px; }
  .kh-float-btn { padding: 9px 12px; font-size: 11px; }
}

/* ---------- LEADERBOARD HEADER ---------- */
.lb-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.lb-header .meta {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.lb-header h1 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.lb-header h1 .a { color: var(--accent); }
.lb-header .updated {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-mute);
}
.lb-header .month-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
}
.lb-header .month-pill svg { width: 14px; height: 14px; opacity: 0.6; }

/* ---------- PODIUM ---------- */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: end;
  padding: 36px 12px 0;
  position: relative;
}
.podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.podium-slot .avatar {
  width: 130px; height: 130px;
  border-radius: 22px;
  background: linear-gradient(160deg, oklch(0.45 0.10 var(--h, 150)), oklch(0.22 0.05 var(--h, 150)));
  display: grid; place-items: center;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 36px; letter-spacing: -0.04em;
  color: oklch(0.95 0.02 var(--h, 150));
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.4);
}
.podium-slot .avatar::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 30% 30%, oklch(1 0 0 / 0.15), transparent 60%),
    radial-gradient(40% 30% at 70% 60%, oklch(1 0 0 / 0.08), transparent 60%);
}
.podium-slot.p1 .avatar {
  width: 160px; height: 160px;
  font-size: 42px;
  box-shadow: 0 0 60px oklch(0.85 0.22 145 / 0.45), 0 16px 50px oklch(0 0 0 / 0.5);
  border: 2px solid oklch(0.85 0.22 145 / 0.5);
}
.podium-slot .nick {
  font-family: var(--font-disp); font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.podium-slot.p1 .nick { font-size: 28px; }

.podium-slot .plinth {
  margin-top: 18px;
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 14px 14px 0 0;
  padding: 26px 16px 22px;
  text-align: center;
  position: relative;
}
.podium-slot.p1 .plinth {
  padding-top: 32px;
  padding-bottom: 28px;
  background:
    radial-gradient(70% 60% at 50% 0%, oklch(0.85 0.22 145 / 0.10), transparent 60%),
    var(--bg-1);
}
.podium-slot .rank-pin {
  position: absolute;
  top: -22px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  font-family: var(--font-disp); font-weight: 800;
  font-size: 17px;
  color: var(--text);
}
.podium-slot.p1 .rank-pin {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(0.15 0.02 160);
  box-shadow: 0 0 24px oklch(0.85 0.22 145 / 0.6);
  width: 54px; height: 54px;
  font-size: 19px;
}
.podium-slot.p2 .rank-pin { border-color: oklch(0.78 0.01 220); color: oklch(0.92 0.01 220); }
.podium-slot.p3 .rank-pin { border-color: oklch(0.65 0.13 50); color: oklch(0.85 0.13 60); }

.podium-slot .wager-lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
}
.podium-slot .wager-val {
  font-family: var(--font-disp); font-weight: 700;
  font-size: 15px; color: var(--text);
  margin-top: 2px;
}
.podium-slot .prize-pill {
  margin: 14px auto 0;
  display: inline-flex;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 18px; letter-spacing: -0.02em;
}
.podium-slot.p1 .prize-pill {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  box-shadow: 0 10px 24px oklch(0.85 0.22 145 / 0.4);
  font-size: 22px;
  padding: 10px 28px;
}
.podium-slot.p2 .prize-pill {
  background: linear-gradient(135deg, oklch(0.88 0.01 220), oklch(0.70 0.01 220));
  color: oklch(0.15 0.02 220);
}
.podium-slot.p3 .prize-pill {
  background: linear-gradient(135deg, oklch(0.78 0.16 60), oklch(0.55 0.14 50));
  color: oklch(0.15 0.04 50);
}
.podium-slot .prize-cap {
  display: block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 8px;
}

/* ---------- BIG COUNTDOWN ---------- */
.count-row {
  display: flex; justify-content: center; gap: 10px;
  padding: 14px 0 30px;
}
.count-cell {
  min-width: 84px;
  padding: 16px 18px 10px;
  border-radius: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  text-align: center;
}
.count-cell .n {
  display: block;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 32px; letter-spacing: -0.04em;
  line-height: 1;
}
.count-cell .u {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

/* ---------- LEADERBOARD TABLE (simplified godmota style) ---------- */
.lb-table-v2 {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--bg-1);
  overflow: hidden;
}
.lb-table-v2 .head, .lb-table-v2 .row {
  display: grid;
  grid-template-columns: 70px 1fr 1.1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 24px;
}
.lb-table-v2 .head {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.lb-table-v2 .row {
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  transition: background .15s;
}
.lb-table-v2 .row:last-child { border-bottom: 0; }
.lb-table-v2 .row:hover { background: var(--bg-2); }
.lb-table-v2 .row.me { background: oklch(0.85 0.22 145 / 0.06); }
.lb-table-v2 .rank {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 13px; color: var(--text-mute);
}
.lb-table-v2 .player {
  display: flex; align-items: center; gap: 12px;
}
.lb-table-v2 .player .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.5 0.12 var(--h, 150)), oklch(0.30 0.10 var(--h, 150)));
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: oklch(0.95 0.02 var(--h, 150));
}
.lb-table-v2 .player .name {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 15px;
}
.lb-table-v2 .wager { font-family: var(--font-mono); color: var(--text-soft); }
.lb-table-v2 .prize { font-family: var(--font-disp); font-weight: 700; color: var(--text); }
/* top 3 are shown in the podium on desktop — hidden in the table there */
.lb-table-v2 .row.top3 { display: none; }

@media (max-width: 880px) {
  .podium { grid-template-columns: 1fr; gap: 14px; }
  .lb-header { flex-direction: column; align-items: flex-start; }
  .lb-table-v2 .head, .lb-table-v2 .row { grid-template-columns: 50px 1fr 1fr; padding: 12px 16px; }
  .lb-table-v2 .wager { display: none; }
  /* header had 4 cells over 3 columns (FREEBET wrapped) → hide the GAINS cell to align */
  .lb-table-v2 .head > div:nth-child(3) { display: none; }
}

@media (max-width: 720px) {
  /* mobile: the full ranking lives in the table (podium hidden); top 3 revealed + styled */
  .ld2-podium-grid { display: none !important; }
  .lb-table-v2 .row.top3 { display: grid; }
  .lb-table-v2 .row.rank-1 { background: oklch(0.92 0.18 95 / 0.09); }
  .lb-table-v2 .row.rank-2 { background: oklch(0.88 0.26 140 / 0.07); }
  .lb-table-v2 .row.rank-3 { background: oklch(0.75 0.16 60 / 0.07); }
  .lb-table-v2 .row.top3 .rank { font-weight: 800; font-size: 15px; }
  .lb-table-v2 .row.rank-1 .rank { color: var(--accent-yellow); }
  .lb-table-v2 .row.rank-2 .rank { color: var(--accent); }
  .lb-table-v2 .row.rank-3 .rank { color: oklch(0.76 0.14 65); }
  .lb-table-v2 .row.rank-1 .av { background: linear-gradient(135deg, oklch(0.88 0.18 95), oklch(0.62 0.16 80)); color: oklch(0.16 0.03 90); }
  .lb-table-v2 .row.rank-2 .av { background: linear-gradient(135deg, oklch(0.80 0.22 145), oklch(0.50 0.16 150)); color: oklch(0.12 0.02 150); }
  .lb-table-v2 .row.rank-3 .av { background: linear-gradient(135deg, oklch(0.72 0.15 60), oklch(0.46 0.12 55)); color: oklch(0.14 0.02 60); }
  .lb-table-v2 .row.top3 .prize { color: var(--accent-yellow); font-weight: 800; }
}

/* ---------- BUNDESLIGA MATCHES ---------- */
.bl-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1280px) { .bl-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .bl-rail { grid-template-columns: 1fr; } }

.bl-match {
  position: relative;
  padding: 18px 20px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  display: flex; flex-direction: column;
  gap: 14px;
  transition: border-color .15s, transform .2s;
}
.bl-match:hover { border-color: oklch(0.85 0.22 145 / 0.4); transform: translateY(-2px); }
.bl-match .row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
}
.bl-match .lg { display: inline-flex; align-items: center; gap: 8px; }
.bl-match .lg .ic {
  width: 18px; height: 14px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border-radius: 3px;
  display: grid; place-items: center;
  font-size: 9px; letter-spacing: 0;
  color: var(--text-mute);
}
.bl-match .when { color: var(--text-soft); font-weight: 600; }
.bl-match .when.finished { color: var(--text-mute); }
.bl-match .when.upcoming { color: var(--accent); }

.bl-teams {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 12px;
  align-items: center;
}
.bl-team {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
}
.bl-team.away { flex-direction: row-reverse; text-align: right; }
.bl-team .logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid var(--line-soft);
}
.bl-team .logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bl-team .nm {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 14px; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bl-vs {
  text-align: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
}
.bl-vs .score {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 18px; color: var(--text);
  letter-spacing: -0.02em;
}
.bl-vs .kick {
  font-family: var(--font-disp); font-weight: 700;
  font-size: 15px; color: var(--text);
  letter-spacing: -0.01em;
}
.bl-vs .lbl { display: block; font-size: 9px; margin-top: 2px; letter-spacing: 0.16em; text-transform: uppercase; }

.bl-odds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.bl-odds button {
  padding: 9px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  transition: border-color .15s, background .15s;
}
.bl-odds button:hover {
  border-color: var(--accent);
  background: oklch(0.85 0.22 145 / 0.05);
}
.bl-odds button:hover .v { color: var(--accent); }
.bl-odds .l { font-size: 10px; color: var(--text-mute); letter-spacing: 0.04em; }
.bl-odds .v {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 14px; color: var(--text);
}

.bl-empty {
  padding: 22px 24px;
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-m);
  font-size: 13px; color: var(--text-mute);
  text-align: center;
}
.bl-state-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: oklch(0.82 0.15 85 / 0.14);
  border: 1px solid oklch(0.82 0.15 85 / 0.3);
  color: var(--gold);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===================== BUNDESLIGA PAGE ===================== */
/* Titre + sous-titre au-dessus des onglets (on clique pour voir les données) */
.bl-tabs-head { text-align: center; margin: 6px 0 14px; }
.bl-tabs-head h3 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: -0.015em;
  color: var(--text);
}
.bl-tabs-head p {
  margin: 0 auto; max-width: 460px;
  font-size: 13px; line-height: 1.5;
  color: var(--text-mute);
}
/* Header : logo Bundesliga + "Saison 2025/26" à côté */
.bl-title-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.bl-logo { height: 42px; width: auto; flex: 0 0 auto; }
.bl-season {
  font-family: var(--font-disp);
  font-style: italic; font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.005em;
  color: var(--accent);
}
@media (max-width: 600px) {
  .bl-title-row { gap: 10px; }
  .bl-logo { height: 32px; }
  .bl-season { font-size: 20px; }
}
.bl-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  align-self: flex-start;
  position: relative;
}
.bl-tabs button {
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color .12s, background .12s;
  position: relative;
}
.bl-tabs button svg { display: none; }
.bl-tabs button:hover:not(.active) { color: var(--text); }
.bl-tabs button + button:not(.active):not(:hover)::before,
.bl-tabs button:not(.active):not(:hover) + button::before {
  content: "";
  position: absolute;
  left: -3px; top: 28%; bottom: 28%;
  width: 1px;
  background: var(--line-soft);
}
.bl-tabs button.active {
  background: var(--accent);
  color: oklch(0.15 0.02 160);
  box-shadow: 0 6px 18px oklch(0.88 0.26 140 / 0.32), inset 0 1px 0 oklch(1 0 0 / 0.2);
}
.bl-tabs button.active::before,
.bl-tabs button.active + button::before { display: none; }

@media (max-width: 1100px) {
  .bl-tabs { flex-wrap: wrap; align-self: stretch; }
  .bl-tabs button { padding: 10px 18px; font-size: 13px; flex: 1; }
}
/* Mobile : grille 2 colonnes régulière (fini l'effet escalier du flex-wrap) */
@media (max-width: 700px) {
  .bl-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    align-self: stretch;
  }
  .bl-tabs button {
    flex: none;
    padding: 11px 10px;
    font-size: 12.5px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    background: oklch(0.15 0.02 160);
    border: 1px solid var(--line-soft);
  }
  .bl-tabs button::before { display: none !important; }
  .bl-tabs button.active { border-color: var(--accent); }
}

.bl-pane { display: none; flex-direction: column; gap: 14px; }
.bl-pane.on { display: flex; }

/* ===================== LEADERBOARD HERO ===================== */
.lb-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 1100px) { .lb-hero { grid-template-columns: 1fr; } }

.lb-hero-left {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 720px;
}
.lb-meta-top {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin: 0;
}
.lb-hero h2 {
  margin: 4px 0 0;
  font-family: var(--font-disp);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--text);
}
.lb-hero p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 620px;
}
.lb-updated-small {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin-top: 10px;
}

/* Participate CTA block */
.participate-cta {
  display: flex; flex-direction: column;
  gap: 10px;
}
.code-chip {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, oklch(0.92 0.18 95 / 0.10), transparent 60%),
    linear-gradient(135deg, oklch(0.20 0.04 160), oklch(0.16 0.03 158));
  border: 2px dashed oklch(0.92 0.18 95 / 0.55);
  border-radius: 14px;
}
.code-chip .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.code-chip strong {
  font-family: var(--font-disp) !important;
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--accent-yellow);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 2px 0;
}
.code-chip .hint {
  font-size: 11px;
  color: var(--text-mute);
}

.btn-participate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px oklch(0.85 0.22 145 / 0.35);
  transition: transform .15s, filter .15s;
}
.btn-participate:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-participate svg { width: 16px; height: 16px; }

/* Prize chip (variant of code-chip for cagnotte display) */
.prize-chip {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, oklch(0.85 0.22 145 / 0.18), transparent 60%),
    linear-gradient(135deg, oklch(0.22 0.05 160), oklch(0.16 0.03 158));
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  border-radius: 14px;
}
.prize-chip .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.prize-chip strong {
  font-family: var(--font-disp) !important;
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--accent-yellow);
  letter-spacing: 0.005em;
  line-height: 1;
  margin: 4px 0;
  text-shadow: 0 0 20px oklch(0.92 0.18 95 / 0.25);
}
.prize-chip .hint {
  font-size: 11px;
  color: var(--text-mute);
}

/* Hero countdown (compact, 4 mini cells side by side) */
.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hero-countdown .cc {
  padding: 8px 4px 6px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  text-align: center;
}
.hero-countdown .cc .n {
  display: block;
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-yellow) !important;
  line-height: 1;
}
.hero-countdown .cc .u {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===================== LEADERBOARD PRIZE STRUCTURE ===================== */
.lb-prize-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1200px) { .lb-prize-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .lb-prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* carousel arrows — desktop: no wrapper effect, arrows hidden */
.lb-carousel { position: relative; }
.lb-arrow { display: none; }

.lb-prize-card {
  position: relative;
  padding: 18px 18px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s, transform .15s, background .15s;
  cursor: pointer;
}
.lb-prize-card:hover { transform: translateY(-2px); border-color: oklch(0.85 0.22 145 / 0.4); }
.lb-prize-card.live {
  background:
    radial-gradient(80% 70% at 100% 0%, oklch(0.85 0.22 145 / 0.12), transparent 60%),
    var(--bg-1);
  border-color: oklch(0.85 0.22 145 / 0.5);
}
.lb-prize-card.done {
  opacity: 0.7;
}
.lb-prize-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.85 0.22 145 / 0.15), 0 10px 30px oklch(0 0 0 / 0.3);
}
.lb-prize-card .icon-emoji {
  font-size: 22px;
  line-height: 1;
}
.lb-prize-card .lp-name {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-style: italic;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.lb-prize-card .lp-date {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.lb-prize-card .lp-prize {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent-yellow);
  letter-spacing: -0.025em;
  margin-top: 4px;
  text-shadow: 0 0 18px oklch(0.92 0.18 95 / 0.25);
}
.lb-prize-card .lp-prize small {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); font-style: normal; font-weight: 600;
  letter-spacing: 0.1em; margin-left: 4px;
  text-transform: uppercase;
  text-shadow: none;
}
.lb-prize-card .lp-status {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700;
}
.lb-prize-card .lp-status.live {
  background: var(--accent); color: oklch(0.15 0.02 160);
  animation: pulse 1.6s ease-in-out infinite;
}
.lb-prize-card .lp-status.soon {
  background: oklch(0.82 0.15 85 / 0.18);
  color: var(--gold);
  border: 1px solid oklch(0.82 0.15 85 / 0.4);
}
.lb-prize-card .lp-status.done {
  background: var(--bg-2); color: var(--text-mute);
  border: 1px solid var(--line-soft);
}

.lb-status-pill {
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  color: var(--text-soft);
}
.lb-status-pill.live { background: var(--accent); color: oklch(0.15 0.02 160); border-color: var(--accent); }
.lb-status-pill.done { color: var(--text-mute); }

/* ===================== PREDICTYZ VALUE PROP STRIP ===================== */
.value-prop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 24px;
  background:
    radial-gradient(60% 80% at 0% 0%, oklch(0.85 0.22 145 / 0.10), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, oklch(0.92 0.18 95 / 0.08), transparent 60%),
    linear-gradient(135deg, oklch(0.20 0.04 160), oklch(0.16 0.03 158));
  border: 1px solid oklch(0.85 0.22 145 / 0.30);
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
}
@media (max-width: 1100px) { .value-prop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .value-prop { grid-template-columns: 1fr; } }

.value-prop::before {
  content: "PREDICTYZ";
  position: absolute;
  top: 10px; right: 16px;
  font-family: var(--font-disp);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  opacity: 0.7;
  font-weight: 400;
}
.value-prop .vp-item {
  display: flex; align-items: center; gap: 14px;
  position: relative;
  padding-left: 8px;
}
.value-prop .vp-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 36px;
  background: var(--line-soft);
}
@media (max-width: 1100px) { .value-prop .vp-item::after { display: none; } }
.value-prop .vp-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.value-prop .vp-ic svg { width: 20px; height: 20px; }
.value-prop .vp-ic.gold {
  background: oklch(0.92 0.18 95 / 0.15);
  color: var(--accent-yellow);
}
.value-prop .vp-text strong {
  display: block;
  font-family: var(--font-sans); font-weight: 800; font-style: italic;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 2px;
}
.value-prop .vp-text small {
  display: block;
  color: var(--text-mute);
  font-size: 11.5px;
  line-height: 1.4;
}

/* KPI strip */
.bl-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1200px) { .bl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .bl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bl-kpi {
  padding: 16px 18px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .15s, transform .15s;
}
.bl-kpi:hover { border-color: oklch(0.85 0.22 145 / 0.4); transform: translateY(-1px); }
.bl-kpi .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.bl-kpi .val {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.bl-kpi .sub {
  font-size: 11.5px;
  color: var(--text-soft);
}

/* Standings table */
.bl-standings {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.bl-standings .head, .bl-standings .row {
  display: grid;
  grid-template-columns: 50px minmax(180px, 1fr) 50px 50px 50px 50px 80px 70px 60px;
  gap: 12px; align-items: center;
  padding: 12px 18px 12px 26px;
  font-size: 13px;
}
.bl-standings .head {
  background: var(--bg-2);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.bl-standings .row {
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s;
}
.bl-standings .row { position: relative; }
.bl-standings .row:hover { background: var(--bg-2); }
.bl-standings .row:last-child { border-bottom: 0; }
.bl-standings .row .rk {
  font-family: var(--font-mono); font-weight: 700;
  color: var(--text-mute); text-align: center;
}
.bl-standings .row.t-cl::before, .bl-standings .row.t-el::before, .bl-standings .row.t-rel::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 26px;
  border-radius: 2px;
  pointer-events: none;
}
.bl-standings .row.t-cl::before { background: var(--accent); }
.bl-standings .row.t-el::before { background: oklch(0.72 0.16 240); }
.bl-standings .row.t-rel::before { background: var(--hot); }
.bl-standings .team {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
}
.bl-standings .team .logo {
  width: 26px; height: 26px;
  background: oklch(1 0 0 / 0.06);
  border-radius: 6px;
  padding: 2px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bl-standings .team .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bl-standings .team .nm {
  font-family: var(--font-disp); font-style: italic;
  font-weight: 400; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bl-standings .num {
  font-family: var(--font-mono); text-align: center;
  color: var(--text-soft);
}
.bl-standings .num.diff.pos { color: var(--accent); }
.bl-standings .num.diff.neg { color: var(--hot); }
.bl-standings .pts {
  font-family: var(--font-disp); font-style: italic;
  font-size: 16px; font-weight: 400;
  color: var(--text); text-align: center;
}
.bl-standings .form {
  display: flex; gap: 3px;
  justify-content: center;
}
.bl-standings .form .r {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--bg-3);
}
.bl-standings .form .r.w { background: var(--accent); }
.bl-standings .form .r.d { background: var(--text-mute); }
.bl-standings .form .r.l { background: var(--hot); }

/* Standings — mobile : colonnes réduites & alignées (Rang · Équipe · J · Diff · Pts) */
@media (max-width: 880px) {
  .bl-standings .head, .bl-standings .row {
    grid-template-columns: 32px minmax(0, 1fr) 30px 46px 42px;
    gap: 8px;
    padding: 11px 12px 11px 16px;
    font-size: 12px;
  }
  /* cacher V (4), N (5), D (6), Buts (7) — on garde rang, équipe, J, Diff, Pts */
  .bl-standings .head > div:nth-child(4),
  .bl-standings .head > div:nth-child(5),
  .bl-standings .head > div:nth-child(6),
  .bl-standings .head > div:nth-child(7),
  .bl-standings .row > div:nth-child(4),
  .bl-standings .row > div:nth-child(5),
  .bl-standings .row > div:nth-child(6),
  .bl-standings .row > div:nth-child(7) { display: none; }
  /* aligner les en-têtes sur les cellules (numériques centrées, équipe à gauche) */
  .bl-standings .head > div { text-align: center; }
  .bl-standings .head > div:nth-child(2) { text-align: left; }
  .bl-standings .team .nm { font-size: 13px; }
  .bl-standings .team .logo { width: 24px; height: 24px; }
  /* points mis en avant */
  .bl-standings .pts { font-size: 16px; color: var(--accent); font-weight: 800; }
}

.bl-legend {
  display: flex; gap: 18px; align-items: center;
  flex-wrap: wrap;
  font-size: 12px; color: var(--text-mute);
  padding: 4px 0;
}
.bl-legend .key {
  display: inline-flex; align-items: center; gap: 6px;
}
.bl-legend .key::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px;
}
.bl-legend .key.cl::before { background: var(--accent); }
.bl-legend .key.el::before { background: oklch(0.72 0.16 240); }
.bl-legend .key.rel::before { background: var(--hot); }

/* Form (last 5 per team) */
.bl-form-list {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.bl-form-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.bl-form-row:last-child { border-bottom: 0; }
.bl-form-row:hover { background: var(--bg-2); }
.bl-form-row .bl-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bl-form-row .bl-team .logo {
  width: 28px; height: 28px;
  background: oklch(1 0 0 / 0.06);
  border-radius: 6px;
  padding: 2px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bl-form-row .bl-team .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bl-form-row .bl-team .nm {
  font-family: var(--font-sans); font-weight: 800; font-style: italic;
  font-size: 14px; color: var(--text);
}
.bl-form-dots { display: flex; gap: 4px; }
.bl-form-dots .dot {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 10px;
  font-weight: 700;
  color: oklch(0.15 0.02 160);
}
.bl-form-dots .dot.w { background: var(--accent); }
.bl-form-dots .dot.d { background: var(--text-mute); color: var(--bg-0); }
.bl-form-dots .dot.l { background: var(--hot); }
.bl-form-stat {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-mute);
  display: flex; gap: 6px;
}
.bl-form-stat .w { color: var(--accent); font-weight: 700; }
.bl-form-stat .d { color: var(--text-soft); font-weight: 700; }
.bl-form-stat .l { color: var(--hot); font-weight: 700; }
.bl-form-pts {
  font-family: var(--font-sans); font-weight: 800; font-style: italic;
  font-size: 18px; color: var(--accent-yellow);
  min-width: 60px; text-align: right;
}
.bl-form-pts small {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); letter-spacing: 0.06em;
  font-style: normal; font-weight: 600;
  margin-left: 4px;
}

/* Records */
.bl-records-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 1100px) { .bl-records-grid { grid-template-columns: 1fr; } }
.bl-record-block {
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.bl-record-block h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans); font-style: italic;
  font-weight: 800; font-size: 16px;
  color: var(--text);
}
.bl-record-list { display: flex; flex-direction: column; gap: 8px; }
.bl-record-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 13px;
}
.bl-record-row .lf { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 0; }
.bl-record-row .rg { display: flex; align-items: center; gap: 8px; justify-content: flex-start; min-width: 0; }
.bl-record-row .mini-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.bl-record-row .nm {
  font-family: var(--font-sans); font-weight: 700; font-style: italic;
  font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bl-record-row .sc {
  font-family: var(--font-sans); font-style: italic; font-weight: 800;
  font-size: 17px; color: var(--accent);
  padding: 4px 12px;
  background: oklch(0.85 0.22 145 / 0.10);
  border-radius: 7px;
  white-space: nowrap;
}
.bl-record-row .dt {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}
.bl-record-row .badge-rec {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px;
  background: var(--accent-yellow);
  color: oklch(0.18 0.02 90);
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Top scorers list */
.bl-scorers {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.bl-scorers .row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px; align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.bl-scorers .player-info {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.bl-scorers .club-logo {
  width: 34px; height: 34px;
  background: oklch(1 0 0 / 0.06);
  border-radius: 7px;
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
}
.bl-scorers .player-text { display: flex; flex-direction: column; min-width: 0; }
.bl-scorers .player-text .nm {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-style: italic;
  font-size: 14px;
  color: var(--text);
  white-space: normal; line-height: 1.2;
}
.bl-scorers .player-text .team-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 700;
  margin-top: 2px;
}
.bl-scorers .row:last-child { border-bottom: 0; }
.bl-scorers .row:hover { background: var(--bg-2); }
.bl-scorers .rk {
  font-family: var(--font-mono); font-weight: 700;
  color: var(--text-mute); text-align: center;
}
.bl-scorers .row.r1 .rk { color: var(--accent-yellow); font-size: 16px; }
.bl-scorers .row.r2 .rk { color: oklch(0.88 0.01 220); font-size: 15px; }
.bl-scorers .row.r3 .rk { color: oklch(0.75 0.14 50); font-size: 15px; }
.bl-scorers .nm {
  font-family: var(--font-disp); font-style: italic;
  font-size: 15px; color: var(--text);
}
.bl-scorers .team-nm { font-size: 13px; color: var(--text-soft); }
.bl-scorers .goals {
  font-family: var(--font-disp); font-style: italic;
  font-size: 22px; color: var(--accent-yellow);
  text-align: right;
}
.bl-scorers .goals small {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); margin-left: 4px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-style: normal;
}

/* ---------- WC2026 PREDICTIONS PAGE ---------- */
.wc-hero {
  position: relative;
  padding: 56px 56px;
  border-radius: var(--radius-xl);
  background: #08120c;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 360px;
  gap: 36px;
  align-items: center;
  min-height: 420px;
}
.wc-hero .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wc-hero .bg-img img {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 75%;
  object-fit: cover;
  object-position: right center;
}
.wc-hero .bg-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    #08120c 0%,
    #08120c 28%,
    rgba(8,18,12,0.92) 38%,
    rgba(8,18,12,0.50) 55%,
    rgba(8,18,12,0.15) 75%,
    transparent 90%
  );
}
.wc-hero > .left, .wc-hero > .wc-side { position: relative; z-index: 1; }
.wc-hero .left { display: flex; flex-direction: column; gap: 18px; }
.wc-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  background: oklch(0.85 0.22 145 / 0.12);
  border: 1px solid oklch(0.85 0.22 145 / 0.3);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  font-family: var(--font-mono); text-transform: uppercase;
}
.wc-hero .kicker .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.wc-hero h1 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.98;
  text-wrap: balance;
}
.wc-hero h1 em { font-style: normal; color: var(--accent); }
.wc-hero .lede { font-size: 15px; color: var(--text-soft); line-height: 1.55; max-width: 560px; }
.wc-hero .row {
  display: flex; gap: 26px; padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-top-style: solid;
  border-top-color: var(--line-soft);
}
.wc-hero .stat .v {
  font-family: var(--font-disp); font-weight: 800; font-size: 26px; letter-spacing: -0.025em;
}
.wc-hero .stat .v .a { color: var(--accent); }
.wc-hero .stat .l { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.wc-side {
  padding: 24px;
  background: oklch(0.14 0.02 160 / 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  display: flex; flex-direction: column; gap: 16px;
}
.wc-side .eye { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; font-weight: 700; }
.wc-side .pl { display: flex; align-items: baseline; gap: 10px; }
.wc-side .pl .a { font-family: var(--font-disp); font-weight: 800; font-size: 46px; color: var(--accent); letter-spacing: -0.035em; line-height: 1; }
.wc-side .pl .b { color: var(--text-soft); font-size: 13px; }
.wc-side .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wc-side .cc {
  padding: 10px 4px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  text-align: center;
}
.wc-side .cc .n { display: block; font-family: var(--font-disp); font-weight: 800; font-size: 22px; line-height: 1; }
.wc-side .cc .u { display: block; font-size: 9px; color: var(--text-mute); margin-top: 4px; letter-spacing: 0.16em; text-transform: uppercase; }

/* awards */
.award {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.award-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.award-head .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  display: grid; place-items: center;
}
.award-head .ico svg { width: 18px; height: 18px; }
.award-head h3 {
  margin: 0; font-family: var(--font-disp); font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
}
.award-head .award-desc { color: var(--text-mute); font-size: 13px; }
.award-head .selected-pill {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--bg-2); color: var(--text-mute);
  border: 1px solid var(--line-soft);
}
.award-head .selected-pill.on { background: oklch(0.85 0.22 145 / 0.15); color: var(--accent); border-color: oklch(0.85 0.22 145 / 0.4); }

.candidates {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1280px) { .candidates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.candidates.collapsed .candidate.extra { display: none; }
.show-more-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  color: var(--text-soft);
  font-family: var(--font-sans);
}
.show-more-btn:hover { background: var(--bg-3); color: var(--text); }
.show-more-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.show-more-btn.open svg { transform: rotate(180deg); }

/* Category picker panel — a touch lighter so the whole "choose your bet" zone stands out */
.pred-picker {
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.24 0.04 150 / 0.45), transparent 70%),
    linear-gradient(180deg, oklch(0.215 0.030 160), oklch(0.185 0.025 160));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
}
/* Heading above the prediction-type tabs */
.pred-tabs-head { text-align: center; margin: 2px 0 16px; }
.pred-tabs-head h3 {
  margin: 0 0 7px;
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: clamp(19px, 2.4vw, 25px);
  letter-spacing: -0.015em;
  color: var(--text);
}
.pred-tabs-head p {
  margin: 0 auto; max-width: 460px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--text-mute);
}

.pred-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
/* each tab = a distinct chip (darker than the panel) so the categories stand out */
.pred-tabs button {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border-radius: 11px;
  background: oklch(0.15 0.02 160);
  border: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-weight: 800; font-style: italic;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pred-tabs button:not(.active):hover {
  border-color: oklch(0.85 0.22 145 / 0.40);
  transform: translateY(-1px);
}
.pred-tabs button:not(.active) .tab-ic { color: var(--accent); opacity: 0.85; }
.pred-tabs .tab-ic {
  width: 15px; height: 15px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.9;
}
.pred-tabs button + button::before { display: none; }
.pred-tabs button:hover { color: var(--text); }
.pred-tabs button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(0.15 0.02 160);
  box-shadow: 0 6px 16px -6px oklch(0.85 0.22 145 / 0.6);
}
.pred-tabs button .count {
  font-family: var(--font-mono); font-style: normal;
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 5px;
  background: oklch(0 0 0 / 0.15);
  color: inherit;
}
.pred-tabs button:not(.active) .count {
  background: var(--bg-3);
  color: var(--text-mute);
}

.pane { display: none; flex-direction: column; gap: 18px; }
.pane.on { display: flex; }

/* ---------- PICK CARDS (compact prediction cards) ---------- */
.pick-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1280px) { .pick-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .pick-cards { grid-template-columns: 1fr; } }

.pick-card {
  position: relative;
  padding: 14px 16px 12px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0;
}
.pick-card:hover {
  border-color: oklch(0.85 0.22 145 / 0.4);
  transform: translateY(-2px);
  background: var(--bg-2);
}
.pick-card.set {
  border-color: oklch(0.85 0.22 145 / 0.4);
  background:
    radial-gradient(80% 100% at 0% 0%, oklch(0.85 0.22 145 / 0.06), transparent 60%),
    var(--bg-1);
}
.pick-card.locked {
  cursor: default;
}
.pick-card.locked:hover {
  transform: none;
  background: var(--bg-1);
}

/* ---- head: icon + (title + desc) + points badge ---- */
.pick-card .head {
  display: flex; align-items: flex-start; gap: 10px;
}
.pick-card .ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pick-card .ico svg { width: 16px; height: 16px; }
.pick-card .meta { flex: 1; min-width: 0; }
.pick-card h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.01em; line-height: 1.2;
  color: var(--text);
}
.pick-card .desc {
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pick-card .pts-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: oklch(0.92 0.18 95 / 0.12);
  color: var(--accent-yellow);
  white-space: nowrap;
}
.pick-card.set .pts-badge {
  background: oklch(0.85 0.22 145 / 0.18);
  color: var(--accent);
}

/* ---- footer: picked block + action label ---- */
.pick-card .footer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.pick-card.set .footer { border-top-color: oklch(0.85 0.22 145 / 0.18); }
.pick-card .picked {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
}
.pick-card .picked-flag {
  width: 20px; height: 20px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08);
}
.pick-card .picked-flag img { width: 100%; height: 100%; object-fit: cover; }
.pick-card .picked-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pick-card .picked-value {
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 13px; letter-spacing: -0.005em;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pick-card .picked-empty {
  font-size: 12px; color: var(--text-mute);
  font-style: italic;
}

/* action label (right side of footer) */
.pick-card .action-choose,
.pick-card .action-modify {
  display: inline-flex; align-items: center; gap: 5px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color .15s, transform .15s;
}
.pick-card .action-choose svg,
.pick-card .action-modify svg { width: 11px; height: 11px; }
.pick-card:hover .action-choose,
.pick-card:hover .action-modify {
  color: var(--accent);
  transform: translateX(2px);
}
.pick-card .action-locked {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 5px;
  background: oklch(0.85 0.22 145 / 0.15);
}
.pick-card .action-locked svg { width: 12px; height: 12px; }
.pick-card .action-missed {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--bg-3);
}
.pick-card .action-missed svg { width: 12px; height: 12px; }

.pick-card .badge-type { display: none; }

/* ---------- MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(0.05 0.01 160 / 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.modal-backdrop.on { display: flex; }
.modal {
  width: min(900px, 100%);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px oklch(0 0 0 / 0.6);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 80px);
}
.modal-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.modal-head .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  display: grid; place-items: center;
}
.modal-head .ico svg { width: 22px; height: 22px; }
.modal-head h3 {
  margin: 0; font-family: var(--font-disp); font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}
.modal-head .desc {
  margin: 4px 0 0;
  font-size: 13px; color: var(--text-mute);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--text-soft);
}
.modal-close:hover { background: var(--bg-3); color: var(--text); }
.modal-close svg { width: 14px; height: 14px; }
.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}
.modal-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  background: var(--bg-1);
}
.modal-foot .info {
  margin-right: auto;
  font-size: 12px; color: var(--text-mute);
}

/* modal: player/team grid (reuse .candidates style) */
.modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) { .modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.modal-grid .candidate { padding: 14px 10px; }
.modal-grid .candidate .avatar { width: 54px; height: 54px; }

/* team grid (48 teams) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-pick {
  position: relative;
  padding: 12px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
  cursor: pointer;
  transition: all .15s;
}
.team-pick:hover { border-color: oklch(0.85 0.22 145 / 0.4); transform: translateY(-1px); }
.team-pick.picked {
  background: oklch(0.85 0.22 145 / 0.10);
  border-color: oklch(0.85 0.22 145 / 0.5);
}
.team-pick.picked::after {
  content: "";
  position: absolute; top: 6px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1e16' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-position: center; background-repeat: no-repeat; background-size: 60%;
}
.team-pick.disabled {
  opacity: 0.4; cursor: not-allowed;
  pointer-events: none;
}
.team-pick .flag-circle {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08);
}
.team-pick .flag-circle img { width: 100%; height: 100%; object-fit: cover; }
.team-pick .team-name {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 11.5px; letter-spacing: -0.01em;
  line-height: 1.15;
}

/* binary picker */
.binary-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.binary-btn {
  padding: 32px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  transition: all .15s;
}
.binary-btn:hover {
  border-color: oklch(0.85 0.22 145 / 0.5);
  transform: translateY(-1px);
  background: var(--bg-3);
}
.binary-btn.picked {
  background: oklch(0.85 0.22 145 / 0.10);
  border-color: var(--accent);
  box-shadow: 0 0 24px oklch(0.85 0.22 145 / 0.2);
}
.binary-btn .big {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 36px; letter-spacing: -0.04em; line-height: 1;
  color: var(--text);
}
.binary-btn.picked .big { color: var(--accent); }
.binary-btn.no.picked .big { color: var(--hot); }
.binary-btn.no.picked { border-color: var(--hot); box-shadow: 0 0 24px oklch(0.78 0.20 35 / 0.2); }
.binary-btn .sub { font-size: 13px; color: var(--text-mute); }

/* number slider picker */
.num-picker {
  padding: 28px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  display: flex; flex-direction: column; gap: 18px;
}
.num-picker .display {
  text-align: center;
  font-family: var(--font-disp); font-weight: 800;
  font-size: 72px; letter-spacing: -0.05em; line-height: 1;
  color: var(--accent);
}
.num-picker .display small {
  display: block;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-mute);
  margin-top: 8px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600;
}
.num-picker input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  outline: none;
}
.num-picker input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px oklch(0.85 0.22 145 / 0.2);
  border: 2px solid oklch(0.15 0.02 160);
}
.num-picker input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid oklch(0.15 0.02 160);
}
.num-picker .range-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-mute);
}

/* multi-team selector */
.multi-counter {
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-soft);
}
.multi-counter b { color: var(--accent); }

/* ---------- FEATURED PICK (Champion du monde) ---------- */
.featured-pick {
  position: relative;
  padding: 26px 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(100% 80% at 100% 0%, oklch(0.85 0.22 145 / 0.18), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, oklch(0.82 0.15 85 / 0.10), transparent 60%),
    linear-gradient(135deg, oklch(0.20 0.04 160), oklch(0.16 0.03 158));
  border: 1px solid oklch(0.85 0.22 145 / 0.35);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: transform .2s, border-color .15s;
  overflow: hidden;
}
.featured-pick:hover { transform: translateY(-2px); border-color: oklch(0.85 0.22 145 / 0.55); }
.featured-pick .ico-big {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px oklch(0.85 0.22 145 / 0.4);
  flex-shrink: 0;
}
.featured-pick .ico-big svg { width: 32px; height: 32px; }
.featured-pick .meta { min-width: 0; }
.featured-pick .eye {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.featured-pick h3 {
  margin: 4px 0 0;
  font-family: var(--font-disp); font-size: 26px;
  font-weight: 800; letter-spacing: -0.025em; line-height: 1;
  color: var(--text);
}
.featured-pick .sub { margin: 6px 0 0; font-size: 13px; color: var(--text-soft); line-height: 1.4; }
.featured-pick .selected {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: oklch(0.85 0.22 145 / 0.15);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}
.featured-pick .selected .mini-flag {
  width: 18px; height: 18px; border-radius: 50%; overflow: hidden;
  background: var(--bg-3);
}
.featured-pick .selected .mini-flag img { width: 100%; height: 100%; object-fit: cover; }
.featured-pick .cta {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border-radius: 14px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px oklch(0.85 0.22 145 / 0.35);
}
.featured-pick .cta svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .featured-pick { grid-template-columns: 1fr; text-align: left; padding: 22px; }
  .featured-pick .ico-big { width: 48px; height: 48px; }
}

/* ---------- KNOCKOUT (Phase finale) ---------- */
.ko-rounds { display: flex; flex-direction: column; gap: 16px; }
.ko-round {
  padding: 22px 24px;
  border-radius: var(--radius-l);
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
}
.ko-round.is-final {
  background:
    radial-gradient(100% 80% at 50% 0%, oklch(0.85 0.22 145 / 0.12), transparent 60%),
    var(--bg-1);
  border-color: oklch(0.85 0.22 145 / 0.4);
}
.ko-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.ko-head .num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-family: var(--font-disp); font-weight: 800;
  color: var(--text-mute);
  flex-shrink: 0;
}
.ko-round.is-final .ko-head .num { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: oklch(0.15 0.02 160); }
.ko-head h3 {
  margin: 0; font-family: var(--font-disp); font-size: 19px;
  font-weight: 700; letter-spacing: -0.02em;
}
.ko-head .when {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
}
.ko-head .pill {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: oklch(0.82 0.15 85 / 0.14);
  border: 1px solid oklch(0.82 0.15 85 / 0.3);
  color: var(--gold);
  font-weight: 700;
}
.ko-head .desc {
  width: 100%;
  font-size: 13px; color: var(--text-soft); margin: 6px 0 0;
}
.ko-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 880px) { .ko-grid { grid-template-columns: 1fr; } }
.ko-match {
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px; align-items: center;
}
.ko-match .when {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
  line-height: 1.3;
}
.ko-match .when .d { display: block; font-weight: 700; color: var(--text-soft); }
.ko-match .slot {
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--text-soft);
  line-height: 1.3;
}
.ko-match .slot small {
  display: block; font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); margin-top: 2px;
  letter-spacing: 0.04em;
}
.ko-match .tba {
  padding: 3px 8px; border-radius: 5px;
  background: oklch(0.82 0.15 85 / 0.15);
  color: var(--gold);
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ko-match.is-final {
  background:
    linear-gradient(135deg, oklch(0.85 0.22 145 / 0.08), transparent),
    var(--bg-2);
  border-color: oklch(0.85 0.22 145 / 0.4);
  grid-template-columns: auto 1fr auto;
  padding: 18px 22px;
}
.ko-match.is-final .slot { font-family: var(--font-sans); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }

/* ---------- LOCKED STATE (post-validation) ---------- */
.lock-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px;
  border-radius: var(--radius-l);
  background:
    linear-gradient(135deg, oklch(0.85 0.22 145 / 0.10), transparent),
    var(--bg-1);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
}
.lock-banner .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: oklch(0.85 0.22 145 / 0.15);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.lock-banner .ic svg { width: 18px; height: 18px; }
.lock-banner h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.lock-banner p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-mute); }
.lock-banner .reset {
  margin-left: auto;
  padding: 8px 14px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-size: 12px; color: var(--text-soft);
  font-family: var(--font-sans); font-weight: 600;
}
.lock-banner .reset:hover { background: var(--bg-3); color: var(--text); }

/* Pick cards lock per-item via .pick-card.locked class — see PICK CARDS rules above */

/* ============ LANGUAGE SWITCH (DE / FR) ============ */
.lang-switch {
  display: none !important; /* sélecteur de langue retiré (site uniquement en allemand) */
  align-items: center; gap: 2px;
  padding: 3px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  height: 36px;
}
.lang-switch .lang-opt {
  padding: 0 10px;
  height: 100%;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--text-mute);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-switch .lang-opt:hover { color: var(--text); }
.lang-switch .lang-opt.active {
  background: var(--accent);
  color: oklch(0.15 0.02 160);
}
.gm.locked .pick button,
.gm.locked .score input,
.team-row.locked {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===================== TOPBAR PILLS (TELEGRAM + CODE) ===================== */
.tg-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 14px 0 6px;
  background: var(--bg-1);
  border: 1px solid oklch(0.62 0.14 240 / 0.4);
  border-radius: 12px;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
}
.tg-pill:hover {
  background: var(--bg-2);
  border-color: oklch(0.62 0.14 240 / 0.65);
  transform: translateY(-1px);
}
.tg-pill .ic-circle {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px oklch(0.62 0.14 240 / 0.35);
}
.tg-pill .ic-circle svg { width: 16px; height: 16px; }
.tg-pill .label-mute {
  font-family: var(--font-mono); font-size: 10px;
  color: oklch(0.72 0.14 240);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
}
.tg-pill strong {
  font-family: var(--font-mono); font-weight: 700;
  color: var(--text);
  font-size: 12.5px;
}

.code-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 14px;
  background:
    linear-gradient(135deg, oklch(0.85 0.22 145 / 0.10), oklch(0.85 0.22 145 / 0.02)),
    var(--bg-1);
  border: 1px dashed oklch(0.85 0.22 145 / 0.5);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: all .15s;
}
.code-pill:hover { border-style: solid; background: var(--bg-2); }
.code-pill .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.code-pill strong {
  font-family: var(--font-disp); font-style: italic;
  font-weight: 400; letter-spacing: 0.02em;
  font-size: 15px;
  color: var(--accent);
}

/* topbar minor adjustments to make room for new pills */
.topbar { gap: 12px; }
.topbar .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

/* ===================== MINI FOOTER ===================== */
.footer-mini {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 16px 22px;
  border-radius: var(--radius-l);
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--text-mute);
  margin-top: 8px;
}
.footer-mini .brand { flex-direction: row; align-items: center; gap: 0; padding: 0; }
.footer-mini .brand-img { height: 22px; }
.footer-mini .legal { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.footer-mini .legal a { color: var(--text-soft); transition: color .15s; }
.footer-mini .legal a:hover { color: var(--accent); }
.footer-mini .age {
  flex-basis: 100%;
  order: 3;
  display: block;
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-mute);
}
.footer-mini .age .age-legal-title {
  display: block;
  margin-bottom: 2px;
  color: var(--text-soft);
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer-mini .copy { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }

/* ===================== OFFRES (bonus cards) ===================== */
.offers-hero {
  text-align: center;
  padding: 28px 0 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.offers-hero .eye-pill {
  padding: 8px 22px;
  background: oklch(0.85 0.22 145 / 0.12);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.offers-hero h1 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text);
  font-style: italic;
}
.offers-hero h1 em {
  font-style: italic;
  color: var(--accent-yellow);
}
.offers-hero .sub {
  margin: 6px 0 0;
  font-size: 15px; color: var(--text-soft); line-height: 1.5;
  max-width: 640px;
}

.bonus-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 14px;
}
@media (max-width: 1100px) { .bonus-grid-v2 { grid-template-columns: 1fr; } }

.bonus-v2 {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
}
.bonus-v2.tint-popular {
  background:
    radial-gradient(80% 60% at 0% 0%, oklch(0.50 0.18 290 / 0.30), transparent 60%),
    linear-gradient(160deg, oklch(0.22 0.06 280), oklch(0.16 0.04 280));
}
.bonus-v2.tint-crypto {
  background:
    radial-gradient(80% 60% at 0% 0%, oklch(0.55 0.18 50 / 0.28), transparent 60%),
    linear-gradient(160deg, oklch(0.24 0.07 50), oklch(0.16 0.04 40));
}
.bonus-v2.tint-sport {
  background:
    radial-gradient(80% 60% at 0% 0%, oklch(0.55 0.20 145 / 0.30), transparent 60%),
    linear-gradient(160deg, oklch(0.22 0.06 150), oklch(0.16 0.04 158));
}

.bonus-v2 .ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 8px 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  font-family: var(--font-disp); font-size: 13px;
  font-weight: 400; letter-spacing: 0;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bonus-v2.with-ribbon { padding-top: 56px; }

.bonus-v2 .head { display: flex; align-items: center; gap: 14px; }
.bonus-v2 .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: oklch(0.85 0.22 145 / 0.18);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bonus-v2 .ic svg { width: 26px; height: 26px; }
.bonus-v2 h3 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text);
  font-style: italic;
}
.bonus-v2 .cat { font-size: 13px; color: var(--text-soft); margin-top: 2px; }
.bonus-v2 .desc { font-size: 14px; color: var(--text-soft); line-height: 1.55; margin: 0; }

.bonus-v2 .price {
  display: flex; align-items: baseline; justify-content: center; gap: 16px;
  padding: 22px 18px;
  background: oklch(0 0 0 / 0.3);
  border: 1px solid oklch(1 0 0 / 0.04);
  border-radius: var(--radius-m);
}
.bonus-v2 .price .pct {
  font-family: var(--font-disp); font-style: italic;
  font-size: 48px; line-height: 1; color: var(--text);
  letter-spacing: 0.005em;
}
.bonus-v2 .price .upto {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--text-mute);
}
.bonus-v2 .price .amt {
  font-family: var(--font-disp); font-style: italic;
  font-size: 48px; line-height: 1; color: var(--accent);
  letter-spacing: 0.005em;
}

.bonus-v2 ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.bonus-v2 ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-soft);
}
.bonus-v2 ul li svg {
  width: 16px; height: 16px; color: var(--accent); flex-shrink: 0;
}

.bonus-v2 .cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border-radius: 12px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 14px;
  transition: filter .15s, transform .15s;
  box-shadow: 0 8px 24px oklch(0.88 0.26 140 / 0.30);
}
.bonus-v2 .cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bonus-v2 .cta svg { width: 16px; height: 16px; }

/* ===================== GIVEAWAYS TEASER ===================== */
.giveaway-hero {
  position: relative;
  padding: 56px 56px 64px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 400px at 80% 0%, oklch(0.40 0.18 145 / 0.30), transparent 60%),
    linear-gradient(135deg, oklch(0.20 0.04 160), oklch(0.16 0.03 158));
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.giveaway-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: oklch(0.82 0.15 85 / 0.15);
  border: 1px solid oklch(0.82 0.15 85 / 0.3);
  color: var(--gold);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700;
}
.giveaway-hero h1 {
  margin: 14px 0 8px;
  font-family: var(--font-disp);
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
}
.giveaway-hero h1 em {
  color: var(--accent-yellow);
  font-style: italic;
}
.giveaway-hero .lede {
  font-size: 16px; color: var(--text-soft);
  max-width: 600px; margin: 0 auto;
  line-height: 1.55;
}
.giveaway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
  position: relative;
  min-height: 480px;
}
@media (max-width: 980px) { .giveaway-grid { grid-template-columns: 1fr; } }
.giveaway-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 80% at 50% 30%, oklch(0.40 0.15 var(--h, 145) / 0.45), oklch(0.16 0.04 160 / 0.95) 75%);
  filter: blur(4px);
  opacity: 0.55;
}
.giveaway-card .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-disp); font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  color: oklch(1 0 0 / 0.85);
  text-align: center;
  padding: 18px;
}
.giveaway-overlay {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  pointer-events: none;
  z-index: 2;
  padding: 20px;
}
.giveaway-overlay .pill {
  padding: 10px 22px;
  background: oklch(0.16 0.03 160 / 0.85);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.giveaway-overlay .big {
  font-family: var(--font-disp);
  font-style: italic;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--text);
  letter-spacing: 0;
}
.giveaway-overlay .big em { color: var(--accent-yellow); font-style: italic; }
.giveaway-overlay .small {
  font-size: 15px; color: var(--text-soft); max-width: 540px; text-align: center;
  line-height: 1.5;
}
.giveaway-notify {
  pointer-events: auto;
  margin-top: 6px;
  display: flex; gap: 8px; align-items: center;
  padding: 6px;
  background: oklch(0.12 0.02 160 / 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.giveaway-notify input {
  background: none; border: 0; outline: none;
  padding: 0 16px;
  width: 280px; height: 40px;
  color: var(--text);
  font-size: 14px;
}
.giveaway-notify input::placeholder { color: var(--text-mute); }
.giveaway-notify button {
  padding: 0 20px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border-radius: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 13px;
}

/* ===== Giveaways — mobile ===== */
@media (max-width: 700px) {
  .giveaway-hero { padding: 16px 12px 22px; }
  /* cartes décoratives en backdrop 2 colonnes (la 3e prend toute la largeur) */
  .giveaway-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 480px;
  }
  .giveaway-card { aspect-ratio: 1 / 1; }
  .giveaway-card:nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .giveaway-card .ph { font-size: 18px; padding: 12px; }
  /* overlay (contenu) compact */
  .giveaway-overlay { gap: 14px; padding: 18px 16px; }
  .giveaway-overlay .pill { padding: 8px 16px; font-size: 10.5px; letter-spacing: 0.12em; }
  .giveaway-overlay .big { font-size: clamp(30px, 9vw, 46px); line-height: 1.05; }
  .giveaway-overlay .small { font-size: 13px; }
  /* formulaire notify empilé (l'input 280px fixe débordait) */
  .giveaway-notify {
    flex-direction: column;
    width: 100%; max-width: 300px;
    gap: 8px;
  }
  .giveaway-notify input { width: 100%; height: 44px; }
  .giveaway-notify button { width: 100%; height: 44px; }
}

/* ===================== COMMUNITY PAGE ===================== */
.community-hero {
  text-align: center;
  padding: 24px 0 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.community-hero .eye-pill {
  padding: 8px 22px;
  background: oklch(0.85 0.22 145 / 0.12);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.community-hero h1 {
  margin: 0;
  font-family: var(--font-disp);
  font-size: clamp(40px, 5vw, 68px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
}
.community-hero h1 em { color: var(--accent-yellow); font-style: italic; }
.community-hero .sub {
  font-size: 15px; color: var(--text-soft); line-height: 1.5; max-width: 560px;
}

.social-rail-big {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1100px) { .social-rail-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .social-rail-big { grid-template-columns: 1fr; } }
.social-card-big {
  aspect-ratio: 16/10;
  border-radius: var(--radius-l);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  position: relative;
  overflow: hidden;
  color: oklch(0.99 0 0);
  text-decoration: none;
  border: 1px solid oklch(1 0 0 / 0.06);
  transition: transform .2s, filter .15s;
}
.social-card-big:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-card-big::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, oklch(1 0 0 / 0.4), transparent 50%),
    radial-gradient(2px 2px at 70% 60%, oklch(1 0 0 / 0.3), transparent 50%),
    radial-gradient(2px 2px at 85% 25%, oklch(1 0 0 / 0.4), transparent 50%);
  pointer-events: none;
}
.social-card-big .row {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.social-card-big .name {
  font-family: var(--font-disp); font-style: italic;
  font-weight: 400;
  font-size: 32px; letter-spacing: 0;
  position: relative; z-index: 1;
}
.social-card-big .stat {
  font-family: var(--font-mono); font-size: 12px;
  background: oklch(0 0 0 / 0.3);
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.social-card-big .handle {
  font-family: var(--font-mono); font-size: 13px;
  opacity: 0.8;
  position: relative; z-index: 1;
}
.social-card-big.twitch { background: radial-gradient(120% 90% at 50% 30%, #b388ff, #6441a4 70%); }
.social-card-big.youtube { background: radial-gradient(120% 90% at 50% 30%, #ff5757, #c50019 70%); }
.social-card-big.instagram { background: radial-gradient(120% 90% at 50% 30%, #ff5e8a, #c9277a 50%, #5e3eb8); }
.social-card-big.discord { background: radial-gradient(120% 90% at 50% 30%, #6a8bff, #364fc7 70%); }
.social-card-big.telegram { background: radial-gradient(120% 90% at 50% 30%, #4dc6ff, #1c93d9 70%); }
.social-card-big.tiktok { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.03 220), oklch(0.10 0.02 240) 70%); }
.social-card-big.x { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.01 0), oklch(0.10 0 0) 70%); }

/* ===================== FEATURED SOCIALS (canaux officiels confirmés) ===================== */
.featured-socials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1280px) { .featured-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .featured-socials { grid-template-columns: 1fr; } }

.featured-social {
  position: relative;
  display: flex; flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  min-height: 260px;
  border: 1px solid oklch(1 0 0 / 0.08);
}
.featured-social:hover { transform: translateY(-4px); }
.featured-social::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, oklch(1 0 0 / 0.5), transparent 50%),
    radial-gradient(2px 2px at 70% 60%, oklch(1 0 0 / 0.4), transparent 50%),
    radial-gradient(2px 2px at 85% 25%, oklch(1 0 0 / 0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 85%, oklch(1 0 0 / 0.4), transparent 50%);
  pointer-events: none;
}
.featured-social.tg-news {
  background:
    radial-gradient(140% 100% at 0% 0%, #2AABEE, transparent 60%),
    linear-gradient(160deg, #229ED9, #0F7AB8);
  box-shadow: 0 12px 40px oklch(0.62 0.14 240 / 0.30);
}
.featured-social.tg-chat {
  background:
    radial-gradient(140% 100% at 100% 0%, #5DC8F5, transparent 60%),
    linear-gradient(160deg, #2AABEE, #1B7EBC);
  box-shadow: 0 12px 40px oklch(0.65 0.16 240 / 0.30);
}
.featured-social.ig {
  background:
    radial-gradient(120% 100% at 0% 0%, #FED576, transparent 50%),
    radial-gradient(120% 100% at 100% 100%, #4F5BD5, transparent 50%),
    linear-gradient(135deg, #FF7A4D, #C9277A, #5E3EB8);
  box-shadow: 0 12px 40px oklch(0.55 0.20 350 / 0.30);
}
.featured-social.tt {
  background:
    radial-gradient(140% 100% at 100% 0%, #25F4EE, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, #FE2C55, transparent 55%),
    linear-gradient(160deg, #0a0a0a, #1a1a1a);
  box-shadow: 0 12px 40px oklch(0.25 0.05 240 / 0.4);
}

.featured-social .head {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; z-index: 1;
}
.featured-social .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: oklch(1 0 0 / 0.18);
  display: grid; place-items: center;
  color: #fff;
  border: 1px solid oklch(1 0 0 / 0.12);
  backdrop-filter: blur(6px);
}
.featured-social .ico svg { width: 26px; height: 26px; }
.featured-social .badge-stat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  background: oklch(0 0 0 / 0.3);
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
}

.featured-social .body { position: relative; z-index: 1; }
.featured-social .net-name {
  font-family: var(--font-disp); font-style: italic;
  font-weight: 400;
  font-size: 32px; letter-spacing: 0;
  line-height: 1;
}
.featured-social .net-role {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(1 0 0 / 0.7);
  margin-top: 6px;
}
.featured-social .desc {
  margin: 12px 0 0;
  font-size: 13px;
  color: oklch(1 0 0 / 0.85);
  line-height: 1.5;
}

.featured-social .cta-row {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: oklch(0 0 0 / 0.32);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: relative; z-index: 1;
}
.featured-social .cta-pill {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 13.5px; letter-spacing: 0.01em;
}
.featured-social .arrow {
  width: 18px; height: 18px;
  transition: transform .15s;
}
.featured-social:hover .arrow { transform: translateX(3px); }

/* ===================== SOON SOCIAL CARDS ===================== */
.soon-socials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) { .soon-socials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .soon-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.soon-card {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-l);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  color: oklch(1 0 0 / 0.7);
  border: 1px solid oklch(1 0 0 / 0.06);
  overflow: hidden;
  filter: grayscale(40%);
  opacity: 0.75;
  transition: opacity .15s, filter .15s;
}
.soon-card:hover { opacity: 1; filter: grayscale(0%); }
.soon-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 6px,
      oklch(0 0 0 / 0.06) 6px 12px);
  pointer-events: none;
}
.soon-card .soon-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  background: oklch(0.92 0.18 95 / 0.92);
  color: oklch(0.18 0.02 90);
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
}
.soon-card .name {
  font-family: var(--font-disp); font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: oklch(1 0 0 / 0.95);
  position: relative; z-index: 1;
}
.soon-card .handle {
  font-size: 11.5px;
  position: relative; z-index: 1;
}
.soon-card.twitch    { background: radial-gradient(120% 90% at 50% 30%, #b388ff, #6441a4 70%); }
.soon-card.youtube   { background: radial-gradient(120% 90% at 50% 30%, #ff5757, #c50019 70%); }
.soon-card.tiktok    { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.03 220), oklch(0.10 0.02 240) 70%); }
.soon-card.discord   { background: radial-gradient(120% 90% at 50% 30%, #6a8bff, #364fc7 70%); }
.soon-card.x         { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.01 0), oklch(0.10 0 0) 70%); }

/* ===================== COMMUNITY VOTE ===================== */
.vote-counter {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  padding: 8px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.vote-counter .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.vote-counter strong {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 17px; color: var(--accent);
  letter-spacing: -0.01em;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) { .vote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .vote-grid { grid-template-columns: 1fr; } }

.vote-card {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-l);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: oklch(0.99 0 0);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: var(--font-sans);
  transition: transform .15s, border-color .15s, filter .15s;
  outline: none;
  appearance: none;
}
.vote-card:hover { transform: translateY(-3px); filter: brightness(1.08); }
.vote-card.voted {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.85 0.22 145 / 0.15);
}
.vote-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, oklch(1 0 0 / 0.4), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 60%, oklch(1 0 0 / 0.3), transparent 50%),
    radial-gradient(2px 2px at 85% 25%, oklch(1 0 0 / 0.4), transparent 50%);
  pointer-events: none;
}

.vote-card .top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  position: relative; z-index: 1;
}
.vote-card .nm {
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.vote-card .pct {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: oklch(1 0 0 / 0.95);
  text-shadow: 0 2px 16px oklch(0 0 0 / 0.45);
}
.vote-card .bottom {
  display: flex; flex-direction: column; gap: 8px;
  position: relative; z-index: 1;
}
.vote-card .votes {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
  color: oklch(1 0 0 / 0.78);
}
.vote-card .bar {
  height: 6px;
  background: oklch(0 0 0 / 0.35);
  border-radius: 3px;
  overflow: hidden;
}
.vote-card .bar .fill {
  height: 100%;
  background: oklch(1 0 0 / 0.65);
  border-radius: 3px;
  transition: width 1s cubic-bezier(.3, .9, .4, 1);
}
.vote-card.voted .bar .fill { background: var(--accent); }

.vote-card .check {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent);
  display: none;
  place-items: center;
  color: oklch(0.15 0.02 160);
  z-index: 2;
  box-shadow: 0 4px 12px oklch(0.85 0.22 145 / 0.4);
}
.vote-card .check svg { width: 14px; height: 14px; }
.vote-card.voted .check { display: grid; }

.vote-card.twitch    { background: radial-gradient(120% 90% at 50% 30%, #b388ff, #6441a4 70%); }
.vote-card.youtube   { background: radial-gradient(120% 90% at 50% 30%, #ff5757, #c50019 70%); }
.vote-card.tiktok    { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.03 220), oklch(0.10 0.02 240) 70%); }
.vote-card.discord   { background: radial-gradient(120% 90% at 50% 30%, #6a8bff, #364fc7 70%); }
.vote-card.x         { background: radial-gradient(120% 90% at 50% 30%, oklch(0.30 0.01 0), oklch(0.10 0 0) 70%); }



.candidate {
  position: relative;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
}
.candidate:hover { border-color: oklch(0.85 0.22 145 / 0.4); transform: translateY(-1px); }
.candidate.picked {
  background: oklch(0.85 0.22 145 / 0.08);
  border-color: oklch(0.85 0.22 145 / 0.5);
}
.candidate.picked::after {
  content: "";
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1e16' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-position: center; background-repeat: no-repeat; background-size: 60%;
}
.candidate .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 6px 20px oklch(0 0 0 / 0.35), inset 0 0 0 1px oklch(1 0 0 / 0.08);
  position: relative;
}
.candidate .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.candidate .name {
  font-family: var(--font-disp); font-weight: 700;
  font-size: 13px; letter-spacing: -0.01em;
  line-height: 1.15;
}
.candidate .meta {
  display: flex; gap: 6px; align-items: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.04em;
}
.candidate .meta .country {
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg-3);
}
.candidate .meta .odds { color: var(--accent); font-weight: 700; }

/* group stage */
/* Group picker panel (Phase de poules) — same treatment as the category picker */
.group-picker {
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.24 0.04 150 / 0.40), transparent 70%),
    linear-gradient(180deg, oklch(0.215 0.030 160), oklch(0.185 0.025 160));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 18px;
}
.group-picker-head { text-align: center; margin-bottom: 14px; }
.group-picker-head h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.group-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 8px;
}
.group-tabs button {
  justify-content: space-between;
  padding: 11px 13px;
  background: oklch(0.15 0.02 160);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.group-tabs button:hover { border-color: oklch(0.85 0.22 145 / 0.4); color: var(--text); transform: translateY(-1px); }
.group-tabs button.active {
  background: oklch(0.85 0.22 145 / 0.16);
  border-color: oklch(0.85 0.22 145 / 0.55);
  color: var(--accent);
}
.group-tabs button .count {
  font-family: var(--font-mono); font-size: 10px;
  padding: 1px 5px; border-radius: 4px;
  background: oklch(0 0 0 / 0.25); color: var(--text-mute);
}
.group-tabs button.active .count { background: oklch(0.85 0.22 145 / 0.2); color: var(--accent); }
/* Knockout phase selector: single column (round names are long) */
.ko-tabs { grid-template-columns: 1fr; }
.ko-tabs button { font-style: italic; text-transform: uppercase; letter-spacing: 0.03em; font-size: 12.5px; }
/* "Pronos verrouillés tant que les équipes ne sont pas connues" notice */
.ko-locked-note {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: oklch(0.82 0.15 85 / 0.10);
  border: 1px solid oklch(0.82 0.15 85 / 0.35);
  color: oklch(0.86 0.14 88);
  font-size: 13px; line-height: 1.4;
}
.ko-locked-note svg { width: 18px; height: 18px; flex: 0 0 auto; }

.group-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}
@media (max-width: 1080px) { .group-block { grid-template-columns: 1fr; } }

.group-teams {
  padding: 18px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  display: flex; flex-direction: column; gap: 10px;
}
.group-teams .ttl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}
.group-teams .team-row {
  display: grid;
  grid-template-columns: 28px 1fr 40px;
  gap: 10px; align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.group-teams .team-row:hover { border-color: oklch(0.85 0.22 145 / 0.4); }
.group-teams .team-row.winner {
  background: oklch(0.85 0.22 145 / 0.08);
  border-color: oklch(0.85 0.22 145 / 0.5);
}
.group-teams .team-row .flag.flag-img {
  width: 26px; height: 18px; border-radius: 3px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06);
  flex-shrink: 0;
}
.group-teams .team-row .flag.flag-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.group-teams .team-row .nm {
  font-family: var(--font-sans);
  font-style: italic; font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.group-teams .team-row .winner-pill {
  font-family: var(--font-mono); font-size: 9px;
  padding: 3px 6px; border-radius: 5px;
  background: var(--bg-3); color: var(--text-mute);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.group-teams .team-row.winner .winner-pill {
  background: var(--accent);
  color: oklch(0.15 0.02 160);
}

.group-matches { display: flex; flex-direction: column; gap: 10px; }
.gm-head {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 1fr 100px;
  gap: 12px;
  padding: 0 18px 4px;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.gm-head .h-pick { text-align: center; }
.gm-head .h-away { text-align: right; }
.gm-head .h-score { text-align: center; }
.gm {
  padding: 14px 18px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 1fr 100px;
  gap: 12px; align-items: center;
}
.gm .when {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
  line-height: 1.3;
}
.gm .when .d { display: block; color: var(--text-soft); font-weight: 700; letter-spacing: 0.04em; }
.gm .home, .gm .away {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-style: italic; font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  min-width: 0;
}
.gm .away { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.gm .flag.flag-img {
  width: 24px; height: 17px; border-radius: 3px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06);
  flex-shrink: 0;
}
.gm .flag.flag-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gm .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm .pick {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.gm .pick button {
  padding: 8px 4px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  color: var(--text-soft);
  transition: all .15s;
}
.gm .pick button:hover { border-color: var(--accent); color: var(--accent); }
.gm .pick button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(0.15 0.02 160);
  box-shadow: 0 0 12px oklch(0.85 0.22 145 / 0.4);
}
.gm .score {
  display: flex; align-items: center; gap: 4px;
}
.gm .score input {
  width: 36px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.gm .score input::-webkit-outer-spin-button,
.gm .score input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gm .score input:focus { outline: none; border-color: var(--accent); }
.gm .score .sep { color: var(--text-mute); font-family: var(--font-mono); }

@media (max-width: 720px) {
  .gm { grid-template-columns: 1fr; gap: 8px; }
  .gm .when, .gm .home, .gm .away { display: flex; }
  .gm .away { justify-content: flex-start; flex-direction: row; text-align: left; }
}

/* submit summary */
.wc-summary {
  position: sticky; bottom: 14px; z-index: 5;
  margin-top: 8px;
  padding: 16px 22px;
  background: oklch(0.14 0.02 160 / 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px oklch(0 0 0 / 0.5);
}
.wc-summary .stats { display: flex; gap: 22px; flex: 1; }
.wc-summary .stat .v { font-family: var(--font-disp); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.wc-summary .stat .v .a { color: var(--accent); }
.wc-summary .stat .l { font-size: 11px; color: var(--text-mute); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); }
.wc-summary .user {
  padding: 8px 12px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-soft);
}
.wc-summary .user b { color: var(--accent); }
.wc-summary .submitted {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: oklch(0.85 0.22 145 / 0.15);
  border: 1px solid oklch(0.85 0.22 145 / 0.4);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}

/* ===================================================================== */
/* ============ MOBILE LAYER (<= 880px) — DRAWER + BOTTOM-NAV ============ */
/* Everything below applies to mobile/tablet only. Desktop (>880px) is   */
/* untouched. Bottom-nav element exists on all pages but is              */
/* `display: none` at desktop sizes so it never affects desktop layout.  */
/* ===================================================================== */

/* Hide drawer close button on desktop (only shown inside mobile media query) */
.drawer-close-btn { display: none; }

/* --- Drawer backdrop (mobile only, hidden by default) --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: oklch(0.10 0.02 160 / 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.app.is-drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 881px) {
  .drawer-backdrop { display: none !important; }
}

/* --- Bottom navigation (mobile only) --- */
.bottom-nav {
  display: none; /* desktop default — hidden */
}

/* === INTERMEDIATE BREAKPOINT (881–1100px): desktop layout but compact topbar
   to prevent overflow on narrow desktop windows / iPads landscape === */
@media (max-width: 1100px) and (min-width: 881px) {
  .topbar { gap: 10px !important; padding: 12px 18px !important; }
  .topbar .tg-pill,
  .topbar .code-pill { display: none !important; }
  .topbar .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .topbar .btn-primary svg { display: none; }
}

@media (max-width: 880px) {
  /* ===== Layout: collapse sidebar grid → single column ===== */
  .app {
    grid-template-columns: 1fr !important;
  }

  /* Sidebar becomes a drawer: fixed off-screen, slides in */
  .sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0; left: 0;
    height: 100vh;
    width: min(280px, 80vw);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 220ms ease;
    border-right: 1px solid var(--line-soft);
    box-shadow: 8px 0 32px oklch(0 0 0 / 0.55);
  }
  .app.is-drawer-open .sidebar {
    transform: translateX(0);
  }

  /* Drawer close button — visible only on mobile when sidebar is open */
  .drawer-close-btn {
    display: grid !important;
    position: absolute;
    top: 14px; right: 14px;
    z-index: 110;
    width: 38px; height: 38px;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
  }
  .drawer-close-btn:hover {
    background: oklch(0.88 0.26 140 / 0.10);
    border-color: oklch(0.88 0.26 140 / 0.40);
    color: var(--accent);
  }
  .drawer-close-btn svg { width: 18px; height: 18px; }

  /* Re-enable the burger (force visible — beats any earlier display:none) */
  .topbar .icon-btn,
  .topbar > button.icon-btn,
  .topbar > .icon-btn[aria-label="Menu"],
  .topbar > .icon-btn[aria-label="Menü"],
  .topbar > .icon-btn:first-child {
    display: grid !important;
    width: 40px; height: 40px;
    flex: 0 0 auto;
    place-items: center;
  }

  /* ===== Topbar compact + pinned (fixed = reliable here, unlike sticky) ===== */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    padding: 8px 10px !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
  .topbar .tg-pill,
  .topbar .code-pill { display: none !important; }
  .topbar .spacer { flex: 1; min-width: 0; }
  .topbar .lang-switch {
    transform: scale(0.85);
    transform-origin: right center;
    flex: 0 0 auto;
  }
  .topbar .btn {
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 10px;
    flex: 0 0 auto;
  }
  .topbar .btn-ghost {
    padding: 0 10px;
    font-size: 11.5px;
  }
  .topbar .btn-primary { padding: 0 12px; font-size: 12.5px; }
  .topbar .btn-primary svg { display: none; }

  /* ===== Content padding: top clears the fixed topbar, bottom clears bottom-nav ===== */
  .content {
    padding-top: 64px !important;
    padding-bottom: 24px !important;
  }

  /* ===== Bottom navigation retirée sur mobile (navigation via le burger) ===== */
  .bottom-nav {
    display: none !important;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: oklch(0.13 0.02 160 / 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) 4px;
    box-shadow: 0 -8px 24px oklch(0 0 0 / 0.35);
  }
  .bottom-nav a,
  .bottom-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    min-width: 0;          /* allow grid item to shrink */
    overflow: hidden;       /* prevent SVG/label overflow */
    padding: 6px 0;
    color: var(--text-mute);
    background: transparent;
    border: 0;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: color .15s ease;
    cursor: pointer;
    box-sizing: border-box;
  }
  .bottom-nav a:hover,
  .bottom-nav button:hover { color: var(--text); }
  .bottom-nav svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .15s ease;
  }
  .bottom-nav .bn-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bottom-nav a.active,
  .bottom-nav button.active {
    color: var(--accent);
  }
  .bottom-nav a.active::before,
  .bottom-nav button.active::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
  }
  .bottom-nav a.active svg,
  .bottom-nav button.active svg { transform: translateY(-1px); }

  /* ===== INDEX (KH) — extra mobile polish ===== */
  /* Why-track 1 col on small mobile */
  .kh-why-track { grid-template-columns: 1fr !important; }
  /* Steps stack vertical (existing inline rules already do this — reinforce) */
  .kh-steps-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    max-width: 100% !important;
  }
  /* Categories 2×2 on mobile */
  .kh-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  /* Recap bar stacks */
  .kh-recap-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  /* ===== LEADERBOARD ===== */
  /* lb-prize-grid: horizontal scroll-snap on small mobile */
  .lb-prize-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  /* full-bleed: the carousel spans the whole screen width (escapes section/content padding) */
  .lb-carousel {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 40px; /* gutters so the arrows sit BESIDE the cards, not over them */
  }
  /* padding vertical + latéral : laisse respirer l'anneau vert (box-shadow 3px) + le glow
     de la carte active, sinon overflow-x:auto les rogne en haut/bas/bords */
  .lb-prize-grid { padding: 9px 5px 16px; scroll-padding: 0 5px; }
  .lb-prize-grid > * {
    flex: 0 0 47%;
    scroll-snap-align: start;
  }
  .lb-prize-grid::-webkit-scrollbar { height: 4px; }
  .lb-prize-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
  /* compact prize cards inside the carousel (smaller, ~2 visible) */
  .lb-prize-card { padding: 13px 13px 12px; gap: 4px; border-radius: 15px; }
  .lb-prize-card .icon-emoji { font-size: 17px; }
  .lb-prize-card .lp-name { font-size: 13px; }
  .lb-prize-card .lp-short { font-size: 10.5px; }
  .lb-prize-card .lp-date { font-size: 9.5px; }
  .lb-prize-card .lp-prize { font-size: 20px; margin-top: 2px; }
  .lb-prize-card .lp-prize small { font-size: 8px; margin-left: 3px; }
  .lb-prize-card .lp-status { font-size: 8.5px; padding: 3px 7px; }
  .lb-arrow {
    display: grid; place-items: center;
    position: absolute; top: 44%; transform: translateY(-50%);
    z-index: 6;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: oklch(0.10 0.02 150 / 0.82);
    border: 1px solid oklch(0.88 0.26 140 / 0.45);
    color: var(--accent);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 6px 16px -6px oklch(0.05 0.01 145 / 0.7);
    cursor: pointer;
  }
  .lb-arrow svg { width: 16px; height: 16px; }
  .lb-arrow--prev { left: 2px; }
  .lb-arrow--next { right: 2px; }
  .lb-arrow:active { transform: translateY(-50%) scale(0.92); }
  /* lb-table-v2: enable horizontal scroll if needed */
  .lb-table-v2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hero prize amount: keep on a single line so "10 000€" doesn't split */
  .ld2-prize-amount {
    white-space: nowrap !important;
    font-size: clamp(48px, 15vw, 96px) !important;
  }

  /* ===== PREDICTIONS ===== */
  /* Tabs en liste verticale : chaque catégorie = une ligne pleine largeur, bien lisible */
  .pred-tabs {
    flex-direction: column;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  .pred-tabs button {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 15px !important;
    font-size: 13px !important;
    gap: 11px !important;
  }
  .pred-tabs .tab-ic { width: 17px; height: 17px; }
  .pred-tabs button .count { margin-left: auto; font-size: 10.5px; }
  /* Pick cards single column already at <=700 */
  /* wc-summary: barre d'action compacte au-dessus de la bottom-nav */
  .wc-summary {
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    padding: 11px 12px !important;
    gap: 10px !important;
    flex-direction: column;
    align-items: stretch;
  }
  .wc-summary .stats {
    gap: 6px !important;
    justify-content: space-between;
    width: 100%;
  }
  .wc-summary .stat { flex: 1 1 0; min-width: 0; text-align: center; }
  .wc-summary .stat .v { font-size: 16px !important; }
  .wc-summary .stat .l { font-size: 8px; letter-spacing: 0.03em; line-height: 1.25; margin-top: 3px; }
  .wc-summary .user {
    align-self: center;
    text-align: center;
    font-size: 11px;
    padding: 6px 12px;
  }
  .wc-summary #btn-submit,
  .wc-summary .btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* ===== Generic small-page fixes ===== */
  .footer-mini {
    flex-direction: column !important;
    text-align: center;
    gap: 10px !important;
    padding-bottom: 12px;
  }
  /* age/legal block: keep within footer width (was overflowing → lateral scroll) */
  .footer-mini .age {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* Touch target hygiene */
  .nav-item, .side-pill, .btn, .icon-btn {
    min-height: 40px;
  }

  /* Prevent horizontal scroll caused by oversized children (use overflow-clip
     to avoid breaking position: sticky on the .topbar) */
  body { overflow-x: clip; }
  .content { min-width: 0; }
  .main { min-width: 0; max-width: 100%; }
}

/* Extra-small breakpoint */
@media (max-width: 520px) {
  .topbar .btn-ghost {
    /* Hide "Anmelden" text on very small screens — keep Wetten primary */
    padding: 0 10px;
    font-size: 11.5px;
  }
  .kh-cat-grid { gap: 8px !important; }
}

/* ===================== AUTH (comptes joueurs) ===================== */
.auth-modal[hidden] { display: none; }
.auth-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.auth-backdrop {
  position: absolute; inset: 0;
  background: oklch(0.06 0.01 160 / 0.72);
  backdrop-filter: blur(4px);
}
.auth-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 380px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: linear-gradient(180deg, oklch(0.17 0.025 160), oklch(0.13 0.02 160));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px 22px;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.7);
}
.auth-view { gap: 11px; }
.auth-x {
  position: absolute; top: 12px; right: 14px;
  font-size: 24px; line-height: 1;
  color: var(--text-mute); background: none; border: 0; cursor: pointer;
}
.auth-x:hover { color: var(--text); }
.auth-brand { text-align: center; margin-bottom: 16px; }
.auth-brand b { font-family: var(--font-disp); font-size: 22px; letter-spacing: 0.02em; color: var(--text); }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-0); border: 1px solid var(--line-soft);
  border-radius: 11px; padding: 4px; margin-bottom: 16px;
}
.auth-tab {
  padding: 9px 10px; border-radius: 8px; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 800; font-style: italic; font-size: 13px;
  color: var(--text-soft); background: transparent; transition: background .15s, color .15s;
}
.auth-tab.is-on { background: var(--accent); color: oklch(0.15 0.02 160); }
.auth-view { display: none; flex-direction: column; gap: 12px; }
.auth-view.is-on { display: flex; }
.auth-field { display: flex; flex-direction: column; gap: 5px; }
.auth-field span { font-size: 12px; font-weight: 700; color: var(--text-mute); }
.auth-field input {
  height: 44px; padding: 0 14px;
  background: var(--bg-0); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-size: 14px;
  outline: none; transition: border-color .15s;
}
.auth-field input:focus { border-color: var(--accent); }
.auth-submit {
  height: 46px; margin-top: 4px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: oklch(0.15 0.02 160);
  border-radius: 11px; font-family: var(--font-sans); font-weight: 800; font-size: 14px;
}
.auth-submit:disabled { opacity: 0.6; cursor: default; }
.auth-link {
  background: none; border: 0; cursor: pointer;
  color: var(--text-mute); font-size: 12.5px; padding: 4px;
  text-align: center; text-decoration: underline;
}
.auth-link:hover { color: var(--text); }
.auth-fine { font-size: 11.5px; color: var(--text-mute); line-height: 1.45; margin: 0; }
.auth-note { font-size: 11px; color: var(--gold, oklch(0.82 0.14 88)); line-height: 1.4; margin: -4px 0 2px; }
.auth-msg { padding: 10px 12px; border-radius: 9px; font-size: 12.5px; line-height: 1.4; margin-bottom: 14px; }
.auth-msg--err { background: oklch(0.55 0.18 25 / 0.15); border: 1px solid oklch(0.6 0.18 25 / 0.4); color: oklch(0.82 0.13 28); }
.auth-msg--ok  { background: oklch(0.7 0.16 150 / 0.13); border: 1px solid oklch(0.7 0.16 150 / 0.4); color: var(--accent); }
.auth-msg--info{ background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--text-soft); }

/* bouton topbar quand connecté */
a.auth-trigger.is-logged { font-style: italic; }

/* menu utilisateur */
.auth-usermenu {
  position: fixed; z-index: 9100;
  min-width: 180px;
  background: linear-gradient(180deg, oklch(0.18 0.025 160), oklch(0.14 0.02 160));
  border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; box-shadow: 0 20px 50px -16px oklch(0 0 0 / 0.7);
}
.auth-um-head { padding: 8px 10px; font-weight: 800; font-style: italic; color: var(--text); border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; }
.auth-um-item {
  display: block; width: 100%; text-align: left;
  padding: 9px 10px; border: 0; background: none; cursor: pointer;
  color: var(--text-soft); font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none;
}
.auth-um-item:hover { background: var(--bg-2); color: var(--text); }

/* gate predictions : overlay tant que non connecté */
.content.is-auth-gated { position: relative; }
.auth-gate {
  position: absolute; inset: 0; z-index: 50;
  background: oklch(0.08 0.015 160 / 0.55);
  backdrop-filter: blur(7px);
  display: flex; justify-content: center;
  border-radius: 16px;
}
.auth-gate-card {
  position: sticky; top: 96px; align-self: flex-start;
  margin-top: 60px;
  width: min(92%, 420px); height: max-content;
  text-align: center;
  background: linear-gradient(180deg, oklch(0.18 0.03 160), oklch(0.14 0.02 160));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 30px 80px -24px oklch(0 0 0 / 0.7);
}
.auth-gate-ic { font-size: 34px; margin-bottom: 8px; }
.auth-gate-card h3 { margin: 0 0 8px; font-family: var(--font-sans); font-style: italic; font-weight: 800; font-size: 20px; color: var(--text); }
.auth-gate-card p { margin: 0 auto 18px; max-width: 320px; font-size: 13.5px; line-height: 1.5; color: var(--text-mute); }
.auth-gate-btns { display: flex; flex-direction: column; gap: 8px; }

/* ===================== EMBED MODE (Leaderboard intégré en iframe) ===================== */
html.is-embed, body.is-embed { background: transparent !important; }
body.is-embed .app { grid-template-columns: 1fr !important; }
body.is-embed .sidebar,
body.is-embed .topbar,
body.is-embed .bottom-nav,
body.is-embed .drawer-backdrop,
body.is-embed .footer-mini { display: none !important; }
body.is-embed .main { min-height: 0 !important; }
body.is-embed .content { padding-top: 6px !important; padding-left: 0 !important; padding-right: 0 !important; gap: 20px !important; }
/* Sur l'accueil (embed) : on retire le CTA "Betify anmelden" du bloc "bientôt"
   (redondant avec le CTA flottant). La page Race dédiée le garde. */
body.is-embed .lb-soon-cta-box { display: none !important; }
body.is-embed .lb-soon { padding-bottom: 24px !important; }
/* la page Leaderboard a son PROPRE CTA flottant → en embed il se cale au milieu de
   l'iframe (doublon). On le masque : le CTA flottant de l'accueil suffit. */
body.is-embed .kh-float-cta { display: none !important; }
/* carousel : gouttières juste assez larges pour loger les flèches À CÔTÉ des cartes
   (sans les superposer). Le carousel reste pleine largeur (full-bleed, padding interne retiré). */
body.is-embed .lb-carousel { padding-left: 46px !important; padding-right: 46px !important; }
body.is-embed .lb-arrow--prev { left: 2px !important; }
body.is-embed .lb-arrow--next { right: 2px !important; }

/* Embed (accueil) : les 5 cartes de phase sur UNE ligne (l'iframe fait ~1100px,
   sinon la media query ≤1200px les casse en 3+2). Cartes légèrement compactées. */
@media (min-width: 881px) {
  body.is-embed .lb-prize-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.is-embed .lb-prize-card { padding: 14px 14px 13px; }
  body.is-embed .lb-prize-card .lp-prize { font-size: clamp(20px, 2vw, 26px); }
}
/* le titre vient de l'en-tête de section de l'accueil → on masque la pastille de l'embed */
body.is-embed .ld2-top-pill { display: none !important; }
/* resserre le haut du hero embed (sinon gros vide sous le titre de section) */
body.is-embed .ld2-hero-section { padding-top: 0 !important; }
body.is-embed .ld2-hero { padding-top: 4px !important; }
/* modale "comment ça marche" : en embed, on l'affiche EN FLUX (pas en overlay fixe,
   qui se positionne hors écran dans l'iframe). La page Race dédiée garde l'overlay. */
body.is-embed .ld2-modal-backdrop:not([hidden]) {
  position: static !important; inset: auto !important; z-index: auto !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  padding: 0 !important; opacity: 1 !important;
}
body.is-embed .ld2-modal { max-height: none !important; transform: none !important; margin: 8px auto 0 !important; }
/* NB : on NE modifie PAS la mise en page interne du leaderboard en embed —
   il doit être IDENTIQUE à la page dédiée. Son responsive se déclenche sur la
   largeur de l'iframe (accueil desktop = grille ; accueil mobile = slider). */

/* iframe Race sur l'accueil */
.race-embed-wrap { width: 100%; }
.race-embed { width: 100%; border: 0; display: block; background: transparent; overflow: hidden; }
