
    :root {
      --bg: #07111f;
      --bg-soft: #0d1b2d;
      --panel: rgba(15, 31, 51, .90);
      --panel-2: rgba(20, 42, 66, .94);
      --text: #f7f9fc;
      --muted: #b8c4d4;
      --gold: #f4c85a;
      --gold-2: #ffe49b;
      --blue: #48a8ff;
      --blue-2: #0f86ff;
      --red: #ff675f;
      --green: #54d7a0;
      --support-yellow: #ffe600;
      --line: rgba(255,255,255,.12);
      --shadow: 0 22px 70px rgba(0,0,0,.32);
      --radius: 22px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 10% 0%, rgba(72,168,255,.18), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(16,112,214,.10), transparent 25rem),
        linear-gradient(180deg, #050d1a 0%, #07111f 46%, #050c16 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
    }

    a { color: inherit; }
    img { max-width: 100%; display: block; }
    .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

    .hero {
      position: relative;
      min-height: 700px;
      overflow: hidden;
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(180deg, rgba(3,10,19,.82) 0%, rgba(4,10,20,.88) 38%, rgba(3,9,18,.95) 100%);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(2,8,16,.58) 0%, rgba(2,8,16,.82) 100%),
        url("trevoux-silhouette.svg") center 76% / 1200px auto no-repeat;
      opacity: .43;
      filter: blur(.2px);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
      gap: 54px;
      align-items: end;
      padding: 86px 0 72px;
    }

    .eyebrow {
      display: inline-flex;
      gap: 10px;
      align-items: center;
      padding: 8px 13px;
      border: 1px solid rgba(72,168,255,.38);
      border-radius: 999px;
      color: #9cd3ff;
      background: rgba(72,168,255,.08);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .09em;
      text-transform: uppercase;
    }

    h1 {
      margin: 22px 0 20px;
      max-width: 850px;
      font-size: clamp(3rem, 7vw, 6.7rem);
      line-height: .93;
      letter-spacing: -.065em;
    }

    h1 span { color: var(--blue); }

    .lead {
      max-width: 710px;
      margin: 0;
      color: #d5deea;
      font-size: clamp(1.08rem, 2vw, 1.35rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 19px;
      border-radius: 13px;
      text-decoration: none;
      font-weight: 850;
      transition: transform .2s ease, background .2s ease;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--blue-2); color: #eef6ff; }
    .btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.045); }

    .facts {
      display: grid;
      gap: 13px;
      margin-bottom: 8px;
    }

    .fact {
      position: relative;
      overflow: hidden;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(6,17,31,.74);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow);
    }

    .fact > * {
      position: relative;
      z-index: 1;
    }

    .fact-date::before {
      content: "";
      position: absolute;
      z-index: 0;
      inset: 0;
      background: url("trevoux-logo-transparent.png") center / min(88%, 360px) auto no-repeat;
      background-position: center calc(50% + 8px);
      filter: brightness(0) invert(1);
      opacity: .14;
      pointer-events: none;
    }

    .fact-date strong,
    .fact-date > span {
      text-shadow: 0 2px 12px rgba(0,0,0,.9);
    }

    .fact strong {
      display: block;
      color: var(--blue);
      font-size: 2rem;
      line-height: 1;
    }

.fact span { display: block; margin-top: 7px; color: var(--muted); }

.fact .btv-lockup {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.fact .btv-lockup .btv-mark {
  display: inline;
  margin: 0;
  color: #fff;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(255,255,255,.28);
}

.fact .btv-direct-link {
  display: inline-block;
  margin-top: 7px;
  color: #c7d4e4;
  font-weight: 700;
  text-decoration-color: rgba(72,168,255,.8);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.fact .btv-direct-link:hover,
.fact .btv-direct-link:focus-visible {
  color: #fff;
}

    .brand-stack {
      margin-top: 18px;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .city-logo {
      width: 155px;
      padding: 8px;
      border-radius: 14px;
      background: rgba(255,255,255,.90);
      box-shadow: 0 8px 26px rgba(0,0,0,.18);
    }

    .boulis-mini {
      width: 68px;
      opacity: .95;
      filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
    }

    main { padding: 76px 0 90px; }

    .intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: end;
      margin-bottom: 34px;
    }

    .kicker {
      margin: 0 0 8px;
      color: var(--blue);
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .09em;
      font-size: .78rem;
    }

    h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.6rem);
      line-height: 1.03;
      letter-spacing: -.04em;
    }

    .intro p {
      margin: 0;
      color: var(--muted);
      font-size: 1.03rem;
    }

    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin: 30px 0;
    }

    .filter {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.035);
      color: var(--text);
      padding: 10px 15px;
      cursor: pointer;
      font-weight: 800;
    }

    .filter:hover,
    .filter.active {
      color: #142034;
      background: var(--blue);
      border-color: var(--blue);
    }

    .teams {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .team-card {
      position: relative;
      min-height: 350px;
      padding: 23px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 60%),
        var(--panel);
      box-shadow: 0 14px 45px rgba(0,0,0,.19);
      transition: transform .24s ease, border-color .24s ease, opacity .2s ease;
    }

    .team-card:hover {
      transform: translateY(-5px);
      border-color: rgba(72,168,255,.52);
    }

    .team-card.hidden { display: none; }

    .team-card::after {
      content: "";
      position: absolute;
      width: 185px;
      height: 185px;
      right: -34px;
      bottom: -28px;
      background: url("../../../../assets/logo-boulistenaute-blanc-fond-transparent.png") center / contain no-repeat;
      opacity: .075;
      pointer-events: none;
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      min-height: 34px;
    }

    .num {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      min-width: 68px;
      min-height: 34px;
      padding: 0 11px;
      box-sizing: border-box;
      border-radius: 9px;
      background: rgba(72,168,255,.13);
      color: #b8e0ff;
      font-size: .76rem;
      font-weight: 900;
      line-height: 1;
      white-space: nowrap;
    }

    .label {
      flex: 1 1 auto;
      min-width: 0;
      color: var(--blue);
      font-size: .72rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .08em;
      line-height: 1.35;
      text-align: right;
    }

    .players {
      list-style: none;
      padding: 0;
      margin: 24px 0 18px;
    }

    .players li {
      padding: 6px 0;
      border-bottom: 1px solid rgba(255,255,255,.07);
      font-size: 1.11rem;
      font-weight: 850;
      letter-spacing: -.015em;
    }

    .players li:last-child { border-bottom: 0; }

    .reason {
      position: relative;
      z-index: 1;
      margin: 0;
      color: var(--muted);
      font-size: .94rem;
    }

    .reason a {
      color: #8bcbff;
      font-weight: 750;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .tags {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 18px;
    }

    .tag {
      padding: 6px 9px;
      border-radius: 8px;
      background: rgba(255,255,255,.065);
      color: #dce5f1;
      font-size: .72rem;
      font-weight: 800;
    }

    .tag.gold { background: rgba(244,200,90,.14); color: var(--gold-2); }
    .tag.green { background: rgba(84,215,160,.13); color: #9ff0ca; }
    .tag.red { background: rgba(255,103,95,.13); color: #ffaaa5; }

    .watchlist {
      margin-top: 52px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(120deg, rgba(72,168,255,.08), rgba(16,112,214,.06));
    }

    .watchlist h3 {
      margin: 0 0 8px;
      font-size: 1.55rem;
    }

    .watchlist > p { margin: 0; color: var(--muted); }

    .watch-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 22px;
    }

    .watch {
      padding: 13px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 12px;
      background: rgba(7,17,31,.5);
      font-size: .85rem;
      font-weight: 750;
    }

    .watch small {
      display: block;
      margin-bottom: 4px;
      color: var(--blue);
      font-weight: 900;
    }

    .cta {
      margin-top: 52px;
      padding: 42px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      border-radius: 26px;
      color: #eef6ff;
      background: linear-gradient(115deg, #0b2c4a, #0f86ff);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("trevoux-silhouette.svg") center 80% / 980px auto no-repeat;
      opacity: .08;
      pointer-events: none;
    }

    .cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); position: relative; z-index: 1; }
    .cta p { margin: 10px 0 0; max-width: 700px; font-weight: 650; position: relative; z-index: 1; }
    .cta .btn { background: #101a2b; color: white; white-space: nowrap; position: relative; z-index: 1; }
    .cta-brand {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 18px;
    }
    .cta-brand img.boulis-full { height: 56px; width: auto; }
    .cta-brand img.city-small { height: 52px; width: auto; padding: 6px; background: rgba(255,255,255,.92); border-radius: 10px; }

    footer {
      padding: 28px 0 44px;
      color: #8090a5;
      font-size: .82rem;
      border-top: 1px solid var(--line);
    }

    footer p { margin: 4px 0; }
    .footer-logos {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
      align-items: center;
      flex-wrap: wrap;
    }
    .footer-logos a {
      display: inline-flex;
      width: 120px;
      height: 120px;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
    }
    .footer-logos img.city-footer {
      width: 120px;
      height: 120px;
      padding: 8px;
      box-sizing: border-box;
      object-fit: contain;
      background: rgba(255,255,255,.92);
      border-radius: 12px;
    }
    .footer-logos img.boulis-footer {
      width: 120px;
      height: 120px;
      object-fit: contain;
    }

    .footer-logos img.trevoltienne-footer {
      width: 120px;
      height: 120px;
      object-fit: contain;
    }

    @media (max-width: 480px) {
      .footer-logos { gap: 18px; }
      .footer-logos a,
      .footer-logos img.city-footer,
      .footer-logos img.boulis-footer,
      .footer-logos img.trevoltienne-footer {
        width: 96px;
        height: 96px;
      }
    }

    @media (max-width: 980px) {
      .hero { min-height: auto; }
      .hero::before { background-size: 960px auto; background-position: center 78%; opacity: .32; }
      .hero-grid { grid-template-columns: 1fr; }
      .facts { grid-template-columns: repeat(3, 1fr); }
      .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .watch-grid { grid-template-columns: repeat(2, 1fr); }
      .intro { grid-template-columns: 1fr; }
    }

    @media (max-width: 640px) {
      .wrap { width: min(100% - 22px, 1180px); }
      .hero-grid { padding: 55px 0 48px; gap: 35px; }
      h1 { font-size: clamp(2.7rem, 16vw, 4.7rem); }
      .facts { grid-template-columns: 1fr; }
      .teams { grid-template-columns: 1fr; }
      .watch-grid { grid-template-columns: 1fr; }
      .cta { grid-template-columns: 1fr; padding: 28px 22px; }
      .cta .btn { width: 100%; }
      .team-card { min-height: auto; }
      .city-logo { width: 138px; }
      .boulis-mini { width: 58px; }
      .cta-brand img.boulis-full { height: 46px; }
      .cta-brand img.city-small { height: 42px; }
    }
  
    .editorial-proof {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin: 26px 0 30px;
    }

    .proof-item {
      padding: 18px;
      border: 1px solid rgba(72,168,255,.20);
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(72,168,255,.09), rgba(255,255,255,.025));
    }

    .proof-item strong {
      display: block;
      color: var(--blue);
      font-size: 1.45rem;
      line-height: 1;
      letter-spacing: -.03em;
    }

    .proof-item p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: .88rem;
    }

    .team-card {
      display: flex;
      flex-direction: column;
      min-height: 530px;
    }

    .reason {
      color: #d1dae6;
    }

    .repere-list {
      position: relative;
      z-index: 1;
      list-style: none;
      padding: 14px 0 0;
      margin: 16px 0 0;
      border-top: 1px solid rgba(255,255,255,.09);
    }

    .repere-list li {
      position: relative;
      padding: 5px 0 5px 18px;
      color: #aebdce;
      font-size: .82rem;
      line-height: 1.4;
    }

    .repere-list li::before {
      content: "›";
      position: absolute;
      left: 2px;
      top: 4px;
      color: var(--blue);
      font-weight: 950;
    }

    .repere-list a {
      color: #8bcbff;
      font-weight: 750;
      text-underline-offset: 3px;
    }

    .team-card .tags {
      margin-top: auto;
      padding-top: 18px;
    }

    @media (max-width: 760px) {
      .editorial-proof {
        grid-template-columns: 1fr;
      }

      .team-card {
        min-height: auto;
      }
    }

    /* V4 — Visuel fourni par l'organisateur */
    .hero::before {
      background:
        linear-gradient(180deg, rgba(2,8,16,.28) 0%, rgba(2,8,16,.72) 62%, rgba(2,8,16,.94) 100%),
        url("trevoux-2026-affiche.png") center 72% / cover no-repeat !important;
      opacity: .70 !important;
      filter: saturate(.92) contrast(1.04) !important;
    }

    .hero-grid {
      grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    }

    .proof-link,
    .inline-source {
      color: #8bcbff;
      font-weight: 850;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .proof-link {
      display: inline-block;
      margin-top: 10px;
      font-size: .82rem;
    }

    .ranking-focus {
      margin: 32px 0 24px;
      padding: 28px;
      border: 1px solid rgba(72,168,255,.25);
      border-radius: 22px;
      background:
        linear-gradient(125deg, rgba(72,168,255,.11), rgba(255,255,255,.025)),
        rgba(7,17,31,.72);
    }

    .ranking-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      align-items: end;
    }

    .ranking-head h3 {
      margin: 0;
      font-size: clamp(1.55rem, 3vw, 2.45rem);
      line-height: 1.08;
      letter-spacing: -.035em;
    }

    .ranking-head p:not(.kicker) {
      margin: 10px 0 0;
      max-width: 760px;
      color: var(--muted);
    }

    .btn-ranking {
      background: var(--blue-2);
      color: white;
      white-space: nowrap;
    }

    .ranking-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 22px;
    }

    .ranking-player {
      display: flex;
      gap: 12px;
      align-items: center;
      padding: 13px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 13px;
      background: rgba(5,13,25,.62);
    }

    .rank-number {
      display: inline-flex;
      width: 34px;
      height: 34px;
      align-items: center;
      justify-content: center;
      flex: 0 0 34px;
      border-radius: 10px;
      color: #06111f;
      background: var(--blue);
      font-weight: 950;
    }

    .ranking-player strong,
    .ranking-player small {
      display: block;
    }

    .ranking-player strong {
      font-size: .88rem;
    }

    .ranking-player small {
      margin-top: 2px;
      color: var(--muted);
    }

    .ranking-date {
      margin: 15px 0 0;
      color: #8495aa;
      font-size: .78rem;
    }

    .current-ranking {
      position: relative;
      z-index: 1;
      margin-top: 17px;
      padding-top: 13px;
      border-top: 1px solid rgba(72,168,255,.18);
    }

    .current-ranking > strong {
      display: block;
      margin-bottom: 8px;
      color: #83c9ff;
      font-size: .72rem;
      letter-spacing: .055em;
      text-transform: uppercase;
    }

    .ranking-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .ranking-badge {
      padding: 5px 8px;
      border: 1px solid rgba(72,168,255,.16);
      border-radius: 8px;
      background: rgba(72,168,255,.075);
      color: #d6ebff;
      font-size: .68rem;
      font-weight: 800;
    }

    @media (max-width: 760px) {
      .ranking-head {
        grid-template-columns: 1fr;
        align-items: start;
      }
      .ranking-grid {
        grid-template-columns: 1fr;
      }
      .btn-ranking {
        width: 100%;
      }
    }

    .teams {
      align-items: stretch;
    }

    .team-card {
      min-height: 560px;
    }

    .deep-field {
      margin-top: 56px;
      padding: 32px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(72,168,255,.075), rgba(255,255,255,.018)),
        rgba(6,16,29,.72);
    }

    .deep-field-head {
      max-width: 820px;
    }

    .deep-field-head h3 {
      margin: 0;
      font-size: clamp(1.8rem, 3.7vw, 3rem);
      line-height: 1.06;
      letter-spacing: -.04em;
    }

    .deep-field-head > p:not(.kicker) {
      margin: 12px 0 0;
      color: var(--muted);
    }

    .deep-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 26px;
    }

    .deep-all-teams {
      display: flex;
      justify-content: center;
      margin-top: 30px;
    }

    .deep-all-teams .btn {
      min-width: 260px;
      background: var(--blue-2);
      color: #fff;
    }

    .deep-card {
      padding: 17px;
      border: 1px solid rgba(255,255,255,.085);
      border-radius: 15px;
      background: rgba(5,13,25,.56);
    }

    .deep-top span {
      color: var(--blue);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .deep-card h4 {
      margin: 9px 0 8px;
      color: #f2f6fb;
      font-size: .98rem;
      line-height: 1.35;
    }

    .deep-card p {
      margin: 0;
      color: #9faec0;
      font-size: .81rem;
      line-height: 1.48;
    }

    @media (max-width: 980px) {
      .deep-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .team-card {
        min-height: auto;
      }

      .deep-field {
        padding: 24px 16px;
      }

      .deep-grid {
        grid-template-columns: 1fr;
      }

      .deep-all-teams .btn {
        width: 100%;
        min-width: 0;
      }
    }


/* Intégration classement.boulistenaute.fr */
.section-nav { position:absolute; z-index:5; top:18px; left:50%; transform:translateX(-50%); display:flex; gap:10px; align-items:center; }
.section-nav a { padding:8px 12px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(5,13,26,.78); color:#fff; text-decoration:none; font-size:.82rem; font-weight:800; backdrop-filter:blur(8px); }
.section-nav a:hover { border-color:var(--blue); }
.ranking-season { margin-top:12px; }
.ranking-season:first-child { margin-top:0; }
.ranking-season > strong { display:block; margin-bottom:7px; color:var(--blue); font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; }
.ranking-empty { color:var(--muted); font-size:.8rem; }
.data-note { margin-top:12px; color:var(--muted); font-size:.78rem; }
.deep-card .current-ranking { margin-top:14px; }
.deep-card .ranking-badges { gap:6px; }
.deep-card .ranking-badge { font-size:.72rem; }
@media (max-width:640px) { .section-nav { width:calc(100% - 22px); justify-content:center; } .section-nav a { font-size:.75rem; } }

/* Noms des joueurs : plus présents, avec retour sûr sur les petits écrans. */
.players li {
  padding-block: 8px;
  font-size: 1.38rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.deep-card h4 {
  font-size: 1.22rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.card-sources {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #91a2b7;
  font-size: .78rem;
  line-height: 1.5;
}

.world-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.world-flags span {
  position: relative;
  display: block;
  width: 36px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  box-shadow: 0 5px 14px rgba(0,0,0,.2);
}

.flag-fr { background: linear-gradient(90deg, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666%); }
.flag-it { background: linear-gradient(90deg, #009246 0 33.333%, #fff 33.333% 66.666%, #ce2b37 66.666%); }
.flag-de { background: linear-gradient(180deg, #161616 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666%); }
.flag-mg { background: linear-gradient(90deg, #fff 0 33.333%, transparent 33.333%), linear-gradient(180deg, #fc3d32 0 50%, #007e3a 50%); }
.flag-ch { background: #d52b1e; }
.flag-ch::before,
.flag-ch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.flag-ch::before { width: 15px; height: 5px; }
.flag-ch::after { width: 5px; height: 15px; }

.proof-item .world-flags + p {
  margin-top: 10px;
}

.card-sources a {
  color: #8bcbff;
  font-weight: 750;
  text-underline-offset: 3px;
}

.deep-video-reference a {
  color: #8bcbff;
  font-weight: 750;
  text-underline-offset: 3px;
}

.team-card.is-collapsible {
  min-height: 0;
}

.quick-replays {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(72,168,255,.17);
  border-radius: 12px;
  background: rgba(72,168,255,.045);
}

.quick-replays li {
  color: #aebdce;
  font-size: .78rem;
  line-height: 1.45;
}

.quick-replays li + li {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.quick-replays a {
  color: #8bcbff;
  font-weight: 800;
  text-underline-offset: 3px;
}

.team-details {
  position: relative;
  z-index: 2;
  margin-top: 16px;
}

.team-details summary {
  display: flex;
  min-height: 44px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(72,168,255,.28);
  border-radius: 12px;
  background: rgba(72,168,255,.075);
  color: #d7ecff;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 850;
  list-style: none;
  user-select: none;
}

.team-details summary::-webkit-details-marker { display: none; }
.team-details summary:hover { border-color: rgba(72,168,255,.58); }
.team-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.team-details[open] summary { background: rgba(72,168,255,.12); }

.team-details-icon {
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1;
}

.team-details-content {
  padding: 16px 2px 2px;
}

.team-details-content .reason {
  line-height: 1.58;
}

.team-details-content .repere-list {
  margin-top: 14px;
}

.team-details-content .ranking-season {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(72,168,255,.18);
}

@media (max-width: 640px) {
  .players li {
    font-size: clamp(1.34rem, 5.7vw, 1.5rem);
    line-height: 1.22;
  }
  .deep-card h4 {
    font-size: clamp(1.26rem, 5.2vw, 1.4rem);
    line-height: 1.32;
  }
  .quick-replays { padding: 10px; }
  .team-details summary { width: 100%; }
}

/* Le visuel V4 redéfinit la grille après les media queries d'origine. */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  h1 { font-size: clamp(2.55rem, 11.5vw, 4.2rem); line-height: .94; }
  .facts { grid-template-columns: 1fr; }
  .fact-date::before { background-size: min(88%, 360px) auto; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(2.3rem, 12vw, 3.25rem); }
}

/* Pronostic léger : quatre choix maximum, enregistrés sans compte utilisateur. */
.prediction-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 24px;
  margin: 28px 0 22px;
  padding: 24px;
  border: 1px solid rgba(72,168,255,.26);
  border-radius: 20px;
  background:
    linear-gradient(125deg, rgba(72,168,255,.105), rgba(255,255,255,.022)),
    rgba(7,17,31,.78);
}

.prediction-intro h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.prediction-intro > p:not(.kicker) {
  max-width: 650px;
  margin: 10px 0 0;
  color: #c3cfdd;
  line-height: 1.5;
}

.prediction-intro .prediction-privacy {
  color: var(--muted);
  font-size: .76rem;
}

.prediction-summary {
  align-self: start;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(5,13,25,.58);
}

.prediction-selection {
  display: block;
  color: var(--support-yellow);
  font-size: 1.05rem;
}

.prediction-status {
  min-height: 1.3em;
  margin: 5px 0 0;
  color: #9faec0;
  font-size: .78rem;
}

.prediction-status.has-error { color: #ffaaa5; }

.prediction-trend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.prediction-trend > span {
  color: #d8e9f8;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.prediction-trend ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.prediction-trend li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: #aebdce;
  font-size: .72rem;
  line-height: 1.35;
}

.prediction-trend li + li { border-top: 1px solid rgba(255,255,255,.055); }
.prediction-trend li span { overflow-wrap: anywhere; }
.prediction-trend li strong { flex: 0 0 auto; color: #eaf6ff; }

.prediction-control {
  position: relative;
  z-index: 2;
  margin-top: 15px;
}

.prediction-button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255,230,0,.48);
  border-radius: 11px;
  background: rgba(255,230,0,.035);
  color: var(--support-yellow);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  text-align: left;
}

.prediction-button:hover:not(:disabled) { border-color: var(--support-yellow); background: rgba(255,230,0,.08); }
.prediction-button:focus-visible { outline: 2px solid rgba(255,230,0,.72); outline-offset: 3px; }
.prediction-button:disabled { cursor: not-allowed; opacity: .48; }

.prediction-button.is-selected {
  border-color: var(--support-yellow);
  background: rgba(255,230,0,.14);
  color: var(--support-yellow);
  box-shadow: inset 0 0 0 1px rgba(255,230,0,.18);
}

.prediction-button.is-selected .prediction-button-label::before {
  content: "✓";
  margin-right: 6px;
  color: var(--support-yellow);
}

.prediction-count {
  flex: 0 0 auto;
  color: #d7c900;
  font-size: .67rem;
  font-weight: 750;
}

.deep-card .prediction-control { margin-top: 14px; }
.deep-card .prediction-button { min-height: 38px; font-size: .73rem; }

@media (max-width: 760px) {
  .prediction-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
}

@media (max-width: 420px) {
  .prediction-button {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}
