/* Accueil — styles propres à la page. */
:root {
      --bg: #06100d;
      --bg2: #0a1712;
      --surface: rgba(9,22,17,.92);
      --surface-strong: #0f2119;
      --surface-soft: rgba(124,255,179,.055);
      --border: rgba(124,255,179,.12);
      --border2: rgba(124,255,179,.24);
      --text: #f0fff7;
      --muted: rgba(240,255,247,.68);
      --muted2: rgba(240,255,247,.50);
      --accent: #1DB954;
      --accent2: #7CFFB3;
      --gold: #B9FF6A;
      --mint: #9DFFCA;
      --green: #2EE89D;
      --cyan: #16E6C2;
      --red: var(--accent);
      --red2: var(--accent2);
      --violet: #00D084;
      --max: 1180px;
      --r: 18px;
      --shadow: 0 24px 80px rgba(0,0,0,.38);
      --header-h: 92px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(900px 560px at 12% -8%, rgba(29,185,84,.18), transparent 62%),
        radial-gradient(820px 520px at 90% 0%, rgba(0,208,132,.15), transparent 58%),
        linear-gradient(180deg, #06060b 0%, var(--bg) 42%, #090912 100%);
      overflow-x: hidden;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: .23;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }
    :where(a, button, [role="tab"], [tabindex]):focus-visible {
      outline: 3px solid var(--accent2);
      outline-offset: 3px;
      box-shadow: 0 0 0 5px rgba(124,255,179,.16);
    }
    .wrap { position: relative; z-index: 1; width: min(var(--max), 92vw); margin: 0 auto; padding-bottom: 58px; }

    .soundbars-bg {
      position: absolute;
      left: 50%;
      bottom: -2px;
      width: min(100vw, 1180px);
      height: 155px;
      transform: translateX(-50%);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 4px;
      padding-inline: 18px;
      opacity: .06;
      pointer-events: none;
      z-index: 0;
      mask-image: linear-gradient(to top, rgba(0,0,0,.85), transparent 92%);
    }
    .soundbar {
      width: 4px;
      min-width: 4px;
      background: linear-gradient(180deg, var(--accent2), transparent);
      border-radius: 99px 99px 0 0;
      animation: soundpulse var(--d, 1.2s) ease-in-out infinite alternate;
    }
    @keyframes soundpulse { from { height: var(--min, 8px); } to { height: var(--max-h, 80px); } }

    header { position: sticky; top: 0; z-index: 50; background: rgba(7,7,13,.78); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
    .top { width: min(var(--max), 92vw); min-height: var(--header-h); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
    .brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
    .banner-header .brand > div:last-child { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
    .banner-header .brand-name, .banner-header .brand-tag { display: block; }
    .mark {
      width: 80px;
      height: 80px;
      flex: 0 0 80px;
      border-radius: 18px;
      overflow: visible;
      border: 0;
      box-shadow: none;
      background: transparent;
    }
    .mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      padding: 0;
      filter: drop-shadow(0 0 22px rgba(29,185,84,.26));
    }
    .brand-name { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 30px; letter-spacing: 2.4px; line-height: .95; color: #fff; }
    .brand-tag { margin-top: 5px; font-size: 12px; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }

    .pills { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
    .pill { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.045); color: var(--muted); font-size: 12px; white-space: nowrap; }
    .pill strong { color: var(--text); }
    .pill-votes strong { color: var(--gold); }
    .langPill { padding: 4px; gap: 3px; }
    .langPill a { padding: 6px 10px; border-radius: 999px; color: var(--muted); font-weight: 800; font-size: 12px; }
    .langPill a[aria-current="true"] { background: var(--red); color: #fff; }
    #accountPill { max-width: 460px; overflow: hidden; text-overflow: ellipsis; }

    /* Corrected top visual banner */
    .top-hero-banner {
      position: relative;
      min-height: 320px;
      margin: 18px 0 11px;
      border: 1px solid rgba(124,255,179,.24);
      border-radius: 24px;
      overflow: hidden;
      background-image:
        linear-gradient(180deg, rgba(2,7,5,.10), rgba(2,7,5,.30)),
        url('/images/top-banner-vs-green.png');
      background-position: center center, center center;
      background-size: cover, cover;
      background-repeat: no-repeat, no-repeat;
      box-shadow:
        0 22px 74px rgba(0,0,0,.38),
        0 0 42px rgba(29,185,84,.10);
      isolation: isolate;
    }
    .top-hero-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        linear-gradient(180deg, rgba(3,8,6,.78) 0%, rgba(3,8,6,.34) 27%, transparent 52%, rgba(3,8,6,.14) 100%),
        linear-gradient(90deg, rgba(3,8,6,.20), transparent 30%, transparent 70%, rgba(3,8,6,.20));
      pointer-events: none;
    }
    .top-hero-banner .banner-header {
      position: relative;
      top: auto;
      z-index: 2;
      width: 100%;
      background: transparent;
      border-bottom: 0;
      backdrop-filter: none;
    }
    .top-hero-banner .banner-header .top {
      width: min(var(--max), calc(100% - 28px));
      min-height: 98px;
      margin: 0 auto;
      padding: 12px 0;
      align-items: center;
    }
    .top-hero-banner .banner-header .pill {
      background: rgba(5,15,11,.66);
      border-color: rgba(157,255,202,.18);
      backdrop-filter: blur(10px);
    }

    .hero {
      position: relative;
      padding: 29px 8px 36px;
      overflow: hidden;
      isolation: isolate;
    }
    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(500px, .98fr);
      gap: 34px;
      align-items: center;
    }
    .hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 13px; border: 1px solid rgba(29,185,84,.34); background: rgba(29,185,84,.09); color: #9DFFCA; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
    .hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 16px var(--red); }
    .hero h1 { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(54px, 7.8vw, 96px); line-height: .9; letter-spacing: 2px; color: #fff; max-width: 720px; }
    .hero h1 .accent { color: var(--red); text-shadow: 0 0 32px rgba(29,185,84,.26); }
    .hero-line { display: inline-block; white-space: nowrap; }
    .hero p { max-width: 58ch; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
    .hero-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
    .btn, .btn2, .btn-sm, .yt-open-btn, .icon-btn, .opt-btn { font: inherit; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 900; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
    .btn:hover, .btn2:hover, .btn-sm:hover, .yt-open-btn:hover, .opt-btn:hover { transform: translateY(-1px); }
    .btn-primary { color: #fff; background: linear-gradient(135deg, var(--red), #0B8F4A); box-shadow: 0 12px 36px rgba(29,185,84,.28); }
    .btn-primary:hover { box-shadow: 0 16px 46px rgba(29,185,84,.40); }
    .btn-ghost { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--border2); }
    .btn-gold { color: #06100d; background: linear-gradient(135deg, var(--gold), #8CFF4F); border-color: rgba(185,255,106,.42); }

    .hero-arena {
      display: grid;
      grid-template-columns: minmax(250px, .92fr) minmax(235px, .82fr);
      align-items: center;
      gap: 22px;
      position: relative;
      isolation: isolate;
      overflow: visible;
    }
    .hero-arena::before { content: ''; position: absolute; right: 10px; width: min(500px, 100%); aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(29,185,84,.20), rgba(0,208,132,.13), transparent 66%); filter: blur(8px); z-index: -1; }
    .arena-stack { display: grid; justify-items: center; }
    .arena-logo-card {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 310px;
      border: 0;
      background: transparent;
      border-radius: 32px;
      box-shadow: none;
      overflow: visible;
      justify-self: center;
      width: 100%;
      min-width: 260px;
      padding-inline: 12px;
    }
    .arena-logo-card::before {
      content: '';
      position: absolute;
      inset: 2%;
      border-radius: 999px;
      background:
        radial-gradient(circle at 50% 45%, rgba(29,185,84,.25), rgba(0,208,132,.15) 34%, transparent 68%),
        radial-gradient(circle at 50% 50%, rgba(185,255,106,.14), transparent 56%);
      filter: blur(12px);
      opacity: .95;
    }
    .arena-logo-card::after {
      content: '';
      position: absolute;
      inset: 18%;
      border-radius: 999px;
      border: 1px solid rgba(124,255,179,.16);
      box-shadow: 0 0 64px rgba(29,185,84,.18);
      opacity: .65;
    }
    .arena-logo-card img {
      position: relative;
      z-index: 1;
      width: min(100%, 335px);
      max-width: 335px;
      transform: translateX(-6px);
      filter: drop-shadow(0 24px 44px rgba(29,185,84,.28)) drop-shadow(0 0 34px rgba(124,255,179,.18));
    }
    .arena-logo-caption {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: -2px;
      z-index: 2;
      color: rgba(240,255,247,.48);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .8px;
      text-transform: uppercase;
      text-align: center;
    }
    .arena-style { width: min(100%, 310px); padding: 18px 20px; border-radius: 20px; background: rgba(20,20,38,.86); border: 1px solid var(--border2); box-shadow: var(--shadow); }
    .arena-style-label { margin-bottom: 7px; font-size: 10px; color: var(--muted2); font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; }
    .arena-style-name { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 36px; line-height: 1; letter-spacing: 2px; color: #fff; }
    .arena-style.top { border-color: rgba(29,185,84,.36); transform: rotate(-2deg); }
    .arena-style.top .arena-style-name { color: var(--red2); }
    .arena-style.bottom { border-color: rgba(124,255,179,.42); transform: rotate(2deg); }
    .arena-style.bottom .arena-style-name { color: #f0fff7; text-shadow: 0 0 24px rgba(124,255,179,.22); }
    .arena-vs { padding: 8px 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 50px; letter-spacing: 2px; color: var(--gold); text-shadow: 0 0 32px rgba(185,255,106,.35); }
    .arena-line { width: 2px; height: 22px; background: linear-gradient(var(--red), var(--violet)); opacity: .55; }

    .season-banner, .how, .panel, .section-head, .card, .archive-cta { border: 1px solid var(--border); background: var(--surface); border-radius: 22px; box-shadow: 0 12px 50px rgba(0,0,0,.18); }
    .season-banner { margin: 0 0 14px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, rgba(185,255,106,.09), rgba(29,185,84,.045), rgba(0,208,132,.04)); }
    .season-banner::before { content: '🏆'; font-size: 28px; flex: 0 0 auto; }
    .season-left { flex: 1 1 280px; }
    .season-left h2, .how-head-label, .section-head h2 { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; letter-spacing: 1.5px; line-height: 1; color: #fff; }
    .season-left h2 { font-size: 24px; color: var(--gold); }
    .season-left p, .section-head p, .archive-cta p { margin: 5px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
    .season-stats { display: flex; gap: 10px; flex-wrap: wrap; }
    .season-stat { min-width: 110px; padding: 10px 13px; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,.20); text-align: center; }
    .season-stat span { display: block; color: var(--muted2); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .7px; }
    .season-stat strong { display: block; margin-top: 3px; font-size: 16px; color: var(--text); }

    .how { margin-bottom: 18px; padding: 18px 20px; }
    .how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
    .how-head-label { font-size: 22px; }
    .how-head-sub { color: var(--muted2); font-size: 12px; }
    .how-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
    .how-item { position: relative; min-height: 108px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(0,0,0,.18); overflow: hidden; }
    .how-item::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); }
    .how-item:nth-child(2)::before { background: var(--violet); }
    .how-item:nth-child(3)::before { background: var(--gold); }
    .how-num { position: absolute; top: 9px; right: 13px; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 36px; color: rgba(255,255,255,.08); }
    .how-item strong { display: block; margin-bottom: 7px; font-size: 14px; }
    .how-item span:last-child { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }

    .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
    .layout > section { order: 1; min-width: 0; }
    aside { order: 2; position: sticky; top: calc(var(--header-h) + 14px); display: grid; gap: 14px; align-self: start; }
    .panel { overflow: hidden; }
    .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 15px 11px; border-bottom: 1px solid var(--border); }
    .panel-head b { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
    .panel-head small { color: var(--muted2); font-size: 11px; }
    .panel-body { padding: 13px; }
    .promo-block { padding: 13px; border: 1px solid var(--border); border-radius: 16px; background: rgba(0,0,0,.18); }
    .promo-block b { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
    .promo-block p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .thumb-card { margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,.25); overflow: hidden; }
    .thumb-card img { display: block; width: 100%; }
    .thumb-card-cap { padding: 10px 11px; }
    .thumb-card-cap strong { display: block; margin-bottom: 4px; font-size: 12px; }
    .thumb-card-cap span { color: var(--muted); font-size: 11px; line-height: 1.45; }
    .promo-btns { display: flex; gap: 8px; flex-wrap: wrap; }
    .btn-sm { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 900; transition: transform .16s ease, background .16s ease; }
    .btn-sm-primary { color: #fff; background: var(--red); }
    .btn-sm-ghost { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--border2); }

    main, .layout > section { display: grid; gap: 14px; }
    .how, .layout, .archive-cta {
      content-visibility: auto;
      contain-intrinsic-size: auto 520px;
    }
    .section-head { margin-bottom: 0; padding: 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .section-head h2 { font-size: 26px; }
    .section-head.secondary { margin-top: 8px; background: rgba(18,18,32,.74); }
    .badge-outline, .card-tag, .chip, .votes-left-pill { border: 1px solid var(--border); background: rgba(0,0,0,.20); border-radius: 999px; color: var(--muted); }
    .badge-outline { padding: 7px 11px; font-size: 11px; font-weight: 900; white-space: nowrap; }

    .card { overflow: hidden; scroll-margin-top: calc(var(--header-h) + 18px); }
    .card.is-featured { border-color: rgba(29,185,84,.35); background: linear-gradient(180deg, rgba(29,185,84,.075), rgba(20,20,38,.95) 38%, rgba(18,18,32,.92)); box-shadow: 0 0 0 1px rgba(29,185,84,.10) inset, var(--shadow); }
    .card.is-target { border-color: rgba(185,255,106,.42); box-shadow: 0 0 0 1px rgba(185,255,106,.16) inset, var(--shadow); }
    .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 17px 18px 14px; border-bottom: 1px solid var(--border); }
    .featured-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(29,185,84,.36); background: rgba(29,185,84,.11); color: #9DFFCA; font-size: 10px; font-weight: 900; letter-spacing: .9px; text-transform: uppercase; }
    .featured-badge::before { content: '⚡'; }
    .card-head b { display: block; font-size: 15px; line-height: 1.35; }
    .card-head small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .card-tag { flex: 0 0 auto; padding: 7px 11px; font-size: 11px; white-space: nowrap; }
    .card-body { padding: 16px 18px 18px; }

    .duel-grid { display: grid; grid-template-columns: minmax(245px, 310px) minmax(0, 1fr); gap: 16px; align-items: start; }
    .vs-col { display: none; }
    .options-box { border: 1px solid var(--border); border-radius: 18px; background: rgba(0,0,0,.18); overflow: hidden; }
    .options-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 13px;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(90deg, rgba(29,185,84,.10), transparent);
    }
    .options-head b { color: #c9ffe0; font-size: 11px; font-weight: 900; letter-spacing: .85px; text-transform: uppercase; }
    .options-list { display: grid; gap: 8px; padding: 10px; }
    .opt-btn { position: relative; display: grid; gap: 8px; width: 100%; min-height: 66px; padding: 12px 13px; text-align: left; color: var(--text); cursor: pointer; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.045); transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; overflow: hidden; }
    .opt-btn::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: transparent; }
    .opt-btn:hover { background: rgba(255,255,255,.075); border-color: var(--border2); }
    .opt-btn[aria-selected="true"] {
      border-color: rgba(124,255,179,.58);
      background:
        linear-gradient(90deg, rgba(29,185,84,.15), rgba(124,255,179,.055)),
        rgba(255,255,255,.045);
      box-shadow: 0 0 0 1px rgba(124,255,179,.10) inset, 0 10px 28px rgba(29,185,84,.10);
    }
    .opt-btn[aria-selected="true"]::before { background: linear-gradient(var(--gold), var(--accent)); }
    .opt-btn[aria-selected="true"] .opt-label::after {
      content: ' • sélectionné';
      color: var(--gold);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .5px;
      text-transform: uppercase;
    }
    html[lang="en"] .opt-btn[aria-selected="true"] .opt-label::after {
      content: ' • selected';
    }
    .opt-btn.voted { border-color: rgba(185,255,106,.55); background: rgba(185,255,106,.075); }
    .opt-btn.voted::before { background: var(--gold); }
    .vote-check { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; display: none; place-items: center; border-radius: 999px; background: var(--gold); color: #111; font-size: 12px; font-weight: 900; }
    .opt-btn.voted .vote-check { display: grid; }
    .opt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .opt-label { padding-right: 12px; font-size: 14px; font-weight: 900; line-height: 1.25; }
    .opt-chips { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
    .chip { padding: 4px 8px; font-size: 11px; font-weight: 900; white-space: nowrap; }
    .pct-chip { color: var(--text); }
    .bar-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,.075); overflow: hidden; }
    .bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red2)); transition: width .35s ease; }
    .opt-btn.voted .bar-fill { background: linear-gradient(90deg, var(--gold), #E8FFC5); }
    .opt-btn.is-listened { border-color: rgba(124,255,179,.34); }
    .opt-btn.is-listened .opt-label::before { content: '✓ '; color: var(--accent2); }
    .listen-progress { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border-radius:999px; border:1px solid var(--border); background:rgba(0,0,0,.20); color:var(--muted); font-size:11px; font-weight:800; }
    .listen-progress.is-ready { color:var(--accent2); border-color:rgba(124,255,179,.38); }
    .vote-instruction {
      margin: 4px 0 0;
      padding: 13px 15px;
      border: 2px solid #B9FF6A;
      border-radius: 14px;
      background: linear-gradient(135deg, #B9FF6A, #7CFFB3);
      color: #06100d;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.45;
      box-shadow:
        0 0 0 3px rgba(185,255,106,.12),
        0 12px 30px rgba(185,255,106,.22);
    }
    .vote-instruction.is-ready {
      color: #04100a;
      border-color: #2EE89D;
      background: linear-gradient(135deg, #2EE89D, #9DFFCA);
      box-shadow:
        0 0 0 3px rgba(46,232,157,.13),
        0 12px 32px rgba(46,232,157,.24);
    }
    [data-vote-btn].is-locked::before { content: '🔒'; }

    .player-section { display: grid; gap: 11px; min-width: 0; }
    .player-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
    .player-title { font-size: 16px; font-weight: 900; color: #fff; }
    .yt-open-btn { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(29,185,84,.32); background: rgba(29,185,84,.12); color: #fff; cursor: pointer; font-size: 12px; font-weight: 900; transition: transform .16s ease, background .16s ease; }
    .yt-open-btn[disabled], .btn2[disabled] { opacity: .46; cursor: not-allowed; pointer-events: none; box-shadow: none; }
    .player-help {
      position: relative;
      margin: 0;
      padding: 12px 14px 12px 42px;
      color: #eafff2;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
      border: 1px solid rgba(124,255,179,.34);
      border-radius: 14px;
      background: linear-gradient(90deg, rgba(29,185,84,.16), rgba(124,255,179,.06));
      box-shadow: 0 10px 28px rgba(29,185,84,.08);
    }
    .player-help::before {
      content: '←';
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--accent2);
      font-size: 22px;
      line-height: 1;
      text-shadow: 0 0 16px rgba(124,255,179,.55);
    }
    .player-help.is-active {
      padding-left: 14px;
      color: var(--muted);
      font-weight: 600;
      border-color: var(--border);
      background: rgba(0,0,0,.16);
      box-shadow: none;
    }
    .player-help.is-active::before { display: none; }
    .player { position: relative; aspect-ratio: 16 / 9; min-height: 250px; border-radius: 18px; border: 1px solid var(--border2); background: #000; overflow: hidden; box-shadow: 0 18px 55px rgba(0,0,0,.30); }
    .player-thumb { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; cursor: pointer; transform: scale(1.01); }
    .player-thumb.is-placeholder { transform: none; background-size: cover; background-position: center; }
    .player-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.62)); }
    .player iframe { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; border: 0; }
    .player-cta-layer { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; }
    .load-card { width: min(92%, 390px); display: grid; justify-items: center; gap: 10px; padding: 19px; text-align: center; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(7,7,13,.78); backdrop-filter: blur(14px); }
    .load-card strong { font-size: 15px; }
    .load-card span { color: var(--muted); font-size: 12px; line-height: 1.55; }
    .player-controls { position: absolute; left: 12px; bottom: 12px; z-index: 4; }
    .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--text); border-radius: 12px; border: 1px solid var(--border); background: rgba(0,0,0,.58); cursor: pointer; }
    .icon-btn[disabled] { opacity: .45; cursor: not-allowed; }

    .meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .votes-info { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
    .votes-info strong { color: var(--gold); font-weight: 900; }
    .votes-left-pill { padding: 6px 9px; font-size: 11px; font-weight: 800; }
    .card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .btn2 { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; color: var(--text); border-radius: 13px; border: 1px solid var(--border); background: rgba(255,255,255,.055); cursor: pointer; font-size: 12px; font-weight: 900; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
    .btn2:hover { background: rgba(255,255,255,.085); border-color: var(--border2); }
    .btn2-primary { color: #fff; border-color: rgba(29,185,84,.50); background: linear-gradient(135deg, var(--red), #0B8F4A); box-shadow: 0 12px 32px rgba(29,185,84,.22); }
    [data-vote-btn] {
      min-width: 164px;
      min-height: 48px;
      padding-inline: 20px;
      font-size: 13px;
      letter-spacing: .2px;
      text-transform: uppercase;
      box-shadow: 0 0 0 1px rgba(185,255,106,.14) inset, 0 14px 42px rgba(29,185,84,.30);
    }
    [data-vote-btn]:hover {
      box-shadow: 0 0 0 1px rgba(185,255,106,.22) inset, 0 18px 56px rgba(29,185,84,.42);
    }
    .duel-link-row { margin-top: 10px; color: var(--muted2); font-size: 11px; line-height: 1.5; word-break: break-word; }
    .duel-link-row a { color: #9DFFCA; text-decoration: underline; text-underline-offset: 3px; }
    .archive-cta { margin-top: 2px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
    .archive-cta strong { display: block; font-size: 14px; }
    footer { position: relative; z-index: 1; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted2); font-size: 12px; }

    .toast-el { position: fixed; right: 18px; top: calc(var(--header-h) + 12px); z-index: 9999; max-width: min(420px, calc(100vw - 36px)); padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.15); background: var(--red); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 18px 55px rgba(29,185,84,.35); transform: translateY(-8px); opacity: 0; transition: transform .18s ease, opacity .18s ease; }

    .card, .how, .season-banner, .section-head { animation: fadeUp .38s ease both; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    }

    @media (max-width: 1040px) {
      .layout { grid-template-columns: 1fr; }
      aside { position: static; order: 2; grid-template-columns: repeat(2, minmax(0,1fr)); }
      .layout > section { order: 1; }
      .duel-grid { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); }
    }
    @media (max-width: 860px) {
      :root { --header-h: 86px; }
      .top { align-items: flex-start; flex-direction: column; padding-top: 10px; padding-bottom: 10px; }
      .pills { width: 100%; justify-content: flex-start; }
      #accountPill { max-width: 100%; white-space: normal; }
      .hero { padding: 21px 0 24px; }
      .hero-grid { grid-template-columns: 1fr; gap: 22px; }
      .hero-arena { display: grid; grid-template-columns: 1fr; max-width: 440px; margin: 4px auto 0; }
      .arena-logo-card { min-height: 230px; }
      .arena-logo-card img { width: min(100%, 285px); max-width: 285px; transform: none; }
      .how-grid { grid-template-columns: 1fr; }
      .season-banner { align-items: flex-start; }
      .duel-grid { grid-template-columns: 1fr; }
      .player { min-height: 220px; }
      aside { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .wrap, .top { width: min(100% - 24px, var(--max)); }
      .top-hero-banner { min-height: 230px; margin: 14px 0 9px; border-radius: 20px; background-position:center center; }
      .banner-header .top { width:min(100% - 20px,var(--max)); }
      .mark { width: 66px; height: 66px; flex-basis: 66px; border-radius: 16px; }
      .brand { gap: 12px; }
      .brand-name { font-size: 24px; }
      .brand-tag { max-width: calc(100vw - 112px); font-size: 11px; }
      .pill { font-size: 11px; padding: 6px 9px; }
      #dateNow { display: none; }
      .hero h1 { font-size: clamp(48px, 15vw, 68px); }
      .hero p { font-size: 14px; }
      .hero-cta .btn { width: 100%; }
      .season-banner::before { display: none; }
      .season-stats { width: 100%; display: grid; grid-template-columns: 1fr; }
      .card-head { flex-direction: column; }
      .card-tag { align-self: flex-start; }
      .card-body, .card-head, .section-head, .how, .season-banner, .archive-cta { padding-inline: 14px; }
      .player-help { padding: 42px 12px 12px; text-align: center; font-size: 12px; }
      .player-help::before { content: '↑'; left: 50%; top: 10px; transform: translateX(-50%); }
      .player-help.is-active { padding: 12px; }
      .player-title-row { align-items: stretch; }
      .yt-open-btn { width: 100%; }
      .player { min-height: 190px; border-radius: 16px; }
      .meta-row { align-items: stretch; }
      .votes-info { justify-content: space-between; width: 100%; }
      .card-actions { position: sticky; bottom: 10px; z-index: 8; width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 16px; background: rgba(10,10,18,.92); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(0,0,0,.36); }
      .card-actions .btn2 { flex: 1 1 auto; }
      .card-actions [data-vote-btn] { flex-basis: 100%; order: -1; min-height: 48px; }
      .opt-top { align-items: flex-start; }
      .opt-chips { flex-direction: column; align-items: flex-end; }
      footer { padding-bottom: 10px; }
    }
  

    /* === MUSICBATTLES MOBILE UNIFICATION 2026 === */
    @media (max-width: 768px) {
      html { -webkit-text-size-adjust: 100%; }
      body { overflow-x: hidden; }
      img, iframe, video { max-width: 100%; }
      button, input, select, textarea, a { touch-action: manipulation; }
      button, .btn, .btn2, .btn-sm, .btnSm, .pill, select, input {
        min-height: 44px;
      }
      input, select, textarea { font-size: 16px !important; }
      .wrap, .top { width: min(100% - 24px, var(--max)) !important; }
      .top { gap: 10px !important; }
      .brand { min-width: 0; max-width: 100%; }
      .brand > div:last-child { min-width: 0; }
      .brand span, .brand-tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .pills, .actions, .filters, .cta { width: 100%; justify-content: flex-start !important; }
      .pill { max-width: 100%; }
      .card, .panel, .hero, .season-banner, .how, .section-head, .archive-cta,
      .champion, .summaryIntro, .metric, .kpiCard, .seasonSummary, .resultBox,
      .matchStrip, .sideBox, .art-card { border-radius: 18px !important; }
      .btn, .btn2, .btn-sm, .btnSm { justify-content: center; text-align: center; }
    }

    @media (max-width: 640px) {
      .wrap, .top { width: min(100% - 20px, var(--max)) !important; }
      .top { padding-top: 10px !important; padding-bottom: 10px !important; }
      .mark { width: 56px !important; height: 56px !important; flex-basis: 56px !important; }
      .brand { gap: 10px !important; }
      .brand b, .brand-name { font-size: 20px !important; line-height: 1 !important; }
      .brand span, .brand-tag { font-size: 11px !important; max-width: calc(100vw - 105px) !important; }
      .pills, .actions, .filters, .cta { gap: 8px !important; }
      .pill { padding: 7px 9px !important; font-size: 11px !important; }
      .langPill a, .lang a { min-height: 36px; display: inline-flex; align-items: center; }
      .btn, .btn2, .btn-sm, .btnSm { width: 100%; white-space: normal !important; }
      .ch, .card-head, .championHead, .sectionTitle, .sectionHead {
        flex-direction: column !important;
        align-items: stretch !important;
      }
      .tag, .statusBadge, .card-tag, .miniBadge { align-self: flex-start; white-space: normal !important; }
      .stats, .actions { width: 100%; }
      .stat { max-width: 100%; white-space: normal; }
    }

    @media (max-width: 430px) {
      .wrap, .top { width: min(100% - 16px, var(--max)) !important; }
      .hero, .card, .panel, .season-banner, .how, .section-head, .archive-cta,
      .champion, .resultBox, .matchStrip, .seasonSummary { border-radius: 16px !important; }
      .ch, .cb, .card-head, .card-body, .panel-body, .hero, .how,
      .season-banner, .section-head, .archive-cta, .championHead, .championBody,
      .resultBox, .matchStrip, .seasonSummary { padding-left: 12px !important; padding-right: 12px !important; }
      .pill { white-space: normal !important; }
      .brand span, .brand-tag { max-width: calc(100vw - 92px) !important; }
    }

    @media (max-width: 360px) {
      .wrap, .top { width: min(100% - 12px, var(--max)) !important; }
      .mark { width: 50px !important; height: 50px !important; flex-basis: 50px !important; }
      .brand b, .brand-name { font-size: 18px !important; }
      .pill { font-size: 10px !important; }
    }

    @media (hover: none) {
      .btn:hover, .btn2:hover, .btn-sm:hover, .btnSm:hover, .card:hover img,
      .tab:hover, .opt-btn:hover, .iconBtn:hover { transform: none !important; }
    }

    @media (max-width: 860px) {
      .top-hero-banner { min-height: 220px !important; background-position: center center !important; }
      .top-hero-banner .banner-header .top { align-items: flex-start !important; }
      .hero-grid { grid-template-columns: 1fr !important; }
      .hero-arena { max-width: 420px; width: 100%; }
      .layout { grid-template-columns: 1fr !important; }
      aside { position: static !important; grid-template-columns: 1fr !important; }
    }
    @media (max-width: 640px) {
      .top-hero-banner { min-height: 190px !important; margin-bottom: 7px !important; }
      .top-hero-banner .banner-header .top { width: calc(100% - 16px) !important; }
      .hero { padding: 18px 0 22px !important; }
      .hero h1 { font-size: clamp(43px, 13vw, 62px) !important; line-height: .92 !important; letter-spacing: 1px !important; }
      .hero-line { max-width: 100%; }
      .hero p { font-size: 14px !important; }
      .hero-arena { display: none !important; }
      .season-stats { grid-template-columns: 1fr !important; width: 100%; }
      .how-grid { grid-template-columns: 1fr !important; }
      .duel-grid { grid-template-columns: 1fr !important; }
      .player { min-height: 0 !important; aspect-ratio: 16/9; }
      .opt-top { gap: 6px; }
      .opt-label { overflow-wrap: anywhere; }
      .opt-chips { flex: 0 0 auto; }
      .card-actions { position: static !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
      .card-actions .btn2 { flex: 1 1 100% !important; }
      #dateNow { display: none !important; }
      #accountPill { width: 100%; white-space: normal !important; }
    }
    @media (max-width: 360px) {
      .hero h1 { font-size: 40px !important; }
      .hero-line { white-space: nowrap; }
      .top-hero-banner { min-height: 170px !important; }
    }

/* Correction des proportions du visuel Hero sur ordinateur. */
.page-index .hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr);
  gap:24px;
}
.page-index .hero-arena{
  grid-template-columns:minmax(180px,.82fr) minmax(205px,1fr);
  gap:12px;
  min-width:0;
}
.page-index .arena-stack,
.page-index .arena-logo-card{
  min-width:0;
  width:100%;
}
.page-index .arena-style{
  width:100%;
  max-width:255px;
  padding:16px 17px;
}
.page-index .arena-style-name{
  font-size:32px;
  overflow-wrap:anywhere;
}
.page-index .arena-logo-card{
  min-height:285px;
  padding-inline:0;
}
.page-index .arena-logo-card img{
  width:min(100%,280px);
  max-width:280px;
  transform:none;
}
.page-index .arena-logo-caption{
  left:8px;
  right:8px;
}

@media(max-width:1120px){
  .page-index .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);
    gap:20px;
  }
  .page-index .hero-arena{
    grid-template-columns:minmax(155px,.72fr) minmax(190px,1fr);
    gap:10px;
  }
  .page-index .arena-style-name{
    font-size:27px;
  }
  .page-index .arena-logo-card img{
    width:min(100%,245px);
    max-width:245px;
  }
}

@media(max-width:920px){
  .page-index .hero-grid{
    grid-template-columns:1fr;
  }
  .page-index .hero-arena{
    width:min(100%,560px);
    margin-inline:auto;
    grid-template-columns:minmax(190px,.8fr) minmax(230px,1fr);
  }
}


/* Correction définitive : les deux cartes de style utilisent la même structure verticale. */
.page-index .arena-style,
.page-index .arena-style.top,
.page-index .arena-style.bottom{
  display:block;
  padding:18px 20px;
  text-align:left;
}
.page-index .arena-style-label{
  display:block;
  margin:0 0 7px;
  line-height:1;
  text-align:left;
}
.page-index .arena-style-name,
.page-index .arena-style.top .arena-style-name,
.page-index .arena-style.bottom .arena-style-name{
  display:block;
  margin:0;
  text-align:left;
  line-height:1;
}
