/* CHILL TIERS — thème violet dégradé, verre dépoli et glow néon. Pensé PC d'abord, très lisible sur mobile. */
:root {
  color-scheme: dark;
  --bg0: #06030d; --bg1: #0d0720; --bg2: #1a0b3d;
  --violet: #8b5cf6; --violet2: #a855f7; --fuchsia: #d946ef; --indigo: #6366f1; --lav: #c4b5fd;
  --text: #f5f1ff; --muted: #a79ccf;
  --panel: rgba(24, 12, 52, .62); --panel2: rgba(255, 255, 255, .045);
  --line: rgba(167, 139, 250, .22); --line2: rgba(196, 181, 253, .42);
  --glow: rgba(139, 92, 246, .55); --glow2: rgba(217, 70, 239, .4);
  --gold: #fbbf24; --silver: #d6deee; --bronze: #e8924a;
  --t1: #fbbf24; --t2: #fb923c; --t3: #e879f9; --t4: #60a5fa; --t5: #4ade80; --un: #8d84ad;
  --radius: 22px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); min-height: 100vh; font: 16px/1.55 var(--font); overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(139, 92, 246, .38), transparent 60%),
    radial-gradient(900px 600px at 105% 5%, rgba(217, 70, 239, .22), transparent 60%),
    linear-gradient(170deg, var(--bg0) 0%, var(--bg1) 45%, var(--bg2) 100%);
  background-attachment: fixed;
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: 18vh; background: #7c3aed; animation: drift1 28s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: -10vh; background: #c026d3; opacity: .32; animation: drift2 34s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -22vh; background: #4f46e5; opacity: .38; animation: drift1 40s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(8vw, -6vh, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-9vw, 10vh, 0) scale(.88); } }

a { color: var(--lav); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
code { background: rgba(139, 92, 246, .24); border: 1px solid var(--line); padding: 1px 8px; border-radius: 8px; font-size: .88em; color: #e9defe; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin: .2rem 0 .6rem; }
h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.sec, .sec-title { margin: 2.2rem 0 1rem; }
.sec-title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grad { background: linear-gradient(95deg, #c4b5fd 0%, #a855f7 45%, #f0abfc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(168, 85, 247, .45)); }
.muted, .sub { color: var(--muted); }
.sub { font-size: .92rem; margin: .2rem 0 1rem; }
.empty { color: var(--muted); padding: 18px 8px; margin: 0; text-align: center; }
:focus-visible { outline: 2px solid var(--fuchsia); outline-offset: 3px; border-radius: 10px; }
main { padding-bottom: 44px; }

/* ───── En-tête ───── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(8, 4, 20, .66); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet2), var(--fuchsia), transparent); opacity: .7; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo-wrap { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, #8b5cf6, #d946ef, #6366f1, #8b5cf6); box-shadow: 0 0 22px var(--glow); transition: transform .35s cubic-bezier(.2, .9, .3, 1.5), box-shadow .3s; }
.logo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #120a2a; display: block; }
.brand:hover .logo-wrap { transform: rotate(-10deg) scale(1.1); box-shadow: 0 0 34px var(--glow2); }
.wm { font: 800 1.3rem/1 var(--display); letter-spacing: .08em; text-shadow: 0 0 22px var(--glow); }
.wm b { color: var(--violet2); font-weight: 800; }
.bar nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
.bar nav a:not(.btn) { position: relative; color: var(--muted); padding: 9px 14px; border-radius: 12px; font-weight: 600; transition: color .2s, background .2s; }
.bar nav a:not(.btn):hover, .bar nav a.on { color: #fff; background: rgba(139, 92, 246, .2); }
.bar nav a.on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--violet2), var(--fuchsia)); box-shadow: 0 0 10px var(--fuchsia); }
.bar nav .cta { margin-left: 10px; }
.nav-toggle { display: none; }
.burger { display: none; }

/* ───── Boutons ───── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 14px; padding: 12px 22px; font: 700 .95rem var(--font); cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #c026d3 100%); box-shadow: 0 8px 28px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .2s, box-shadow .25s, filter .2s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 38px -8px var(--glow2), 0 0 0 1px rgba(255, 255, 255, .18) inset; filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: var(--panel2); border-color: var(--line2); box-shadow: none; backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--violet2); box-shadow: 0 0 26px -6px var(--glow); }
.btn.small { padding: 8px 16px; font-size: .88rem; border-radius: 12px; }
.linkbtn { background: none; border: 0; color: var(--lav); font: inherit; cursor: pointer; padding: 0; }
.linkbtn:hover { color: #fff; }
.inl { display: inline; margin: 0; }

/* ───── Panneaux ───── */
.glass, .card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 40px -22px var(--glow); }
.card { margin-bottom: 16px; }
.narrow { max-width: 560px; margin: 40px auto; }
.scroll { overflow-x: auto; padding: 10px 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

/* ───── Spot lumineux qui suit la souris (PC) ───── */
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(168, 85, 247, .22), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ───── Hero ───── */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 28px; padding: 44px 0 18px; }
.hero.compact { grid-template-columns: 1fr; padding: 34px 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--lav); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; margin: 0 0 6px; padding: 6px 14px; border-radius: 999px; background: rgba(139, 92, 246, .16); border: 1px solid var(--line); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 12px var(--fuchsia); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.mega { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: .98; letter-spacing: -.035em; margin: .5rem 0 1rem; text-shadow: 0 0 60px rgba(139, 92, 246, .55); }
.lead { color: var(--muted); max-width: 620px; font-size: 1.08rem; margin: .2rem 0 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.mode-ic { filter: drop-shadow(0 0 16px var(--glow)); }

/* Mascotte : PDP du serveur avec anneau lumineux */
.mascot { position: relative; justify-self: center; width: clamp(200px, 30vw, 340px); aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.mascot .halo { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .55), rgba(217, 70, 239, .18) 45%, transparent 70%); filter: blur(24px); }
.mascot .ring { position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 0deg, #8b5cf6, #e879f9, #6366f1, #a855f7, #8b5cf6); animation: spin 9s linear infinite; box-shadow: 0 0 60px rgba(168, 85, 247, .7); }
.mascot img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid #0d0720; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ───── Onglets de modes ───── */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px 14px; margin: 6px -4px 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { scroll-snap-align: start; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 10px; font-weight: 600; transition: transform .2s, box-shadow .25s, border-color .2s, color .2s; }
.tabs .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(139, 92, 246, .2); font-size: 1rem; transition: transform .25s; }
.tabs a:hover { color: #fff; border-color: var(--violet2); transform: translateY(-2px); box-shadow: 0 8px 26px -10px var(--glow); }
.tabs a:hover .ic { transform: scale(1.18) rotate(-8deg); }
.tabs a.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, rgba(139, 92, 246, .85), rgba(192, 38, 211, .7)); box-shadow: 0 0 30px -4px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tabs a.on .ic { background: rgba(255, 255, 255, .22); }

/* ───── Podium ───── */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin: 8px 0 22px; }
.pod { --c: var(--gold); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 14px 18px; color: var(--text); border-radius: 26px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(24, 12, 52, .6) 62%); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 46px -14px var(--c), 0 22px 44px -26px rgba(0, 0, 0, .9); transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .3s; animation: rise .6s both; animation-delay: calc(var(--i) * 90ms + 100ms); }
.pod:hover { color: var(--text); box-shadow: 0 0 70px -8px var(--c), 0 26px 50px -24px rgba(0, 0, 0, .9); }
.pod.p1 { --c: var(--gold); order: 2; padding-top: 46px; }
.pod.p2 { --c: var(--silver); order: 1; }
.pod.p3 { --c: var(--bronze); order: 3; }
.medal { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 800 1.1rem var(--display); color: #1c1200;
  background: linear-gradient(135deg, #fff, var(--c)); box-shadow: 0 0 26px var(--c), 0 0 0 4px rgba(10, 6, 21, .9); }
.p1 .medal { width: 50px; height: 50px; font-size: 1.3rem; top: -22px; }
.p1 .medal::after { content: "👑"; position: absolute; top: -28px; font-size: 1.5rem; filter: drop-shadow(0 0 10px var(--gold)); animation: float 4s ease-in-out infinite; }
.pod-stage { position: relative; display: grid; place-items: center; overflow: visible; grid-template-rows: 100%; width: 100%; height: clamp(150px, 20vw, 230px); }
.pod-stage::before { content: ""; position: absolute; bottom: 4%; width: 70%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 60%, transparent), transparent); filter: blur(6px); }
.p1 .pod-stage { height: clamp(180px, 25vw, 280px); }
.pod-skin { position: relative; height: 100%; width: auto; max-width: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.pod:hover .pod-skin { transform: translateY(-8px) scale(1.07) rotate(2deg); }
.pod-info { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pod-name { font: 700 1.15rem var(--display); letter-spacing: -.01em; word-break: break-all; }
.pod-pts { font-weight: 600; color: var(--muted); } .pod-pts b { font: 800 1.5rem var(--display); background: linear-gradient(90deg, #fff, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod-chips { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }

/* ───── Tableau de classement ───── */
table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; padding: 4px 14px; }
td { position: relative; padding: 10px 14px; vertical-align: middle; background: var(--panel2); border-top: 1px solid transparent; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
td:first-child { border-radius: 18px 0 0 18px; border-left: 1px solid transparent; } td:last-child { border-radius: 0 18px 18px 0; border-right: 1px solid transparent; }
tbody tr { transition: transform .22s ease; }
.board tbody tr { animation: rise .5s both; animation-delay: calc(var(--i, 0) * 28ms + 80ms); }
.board tbody tr:hover { transform: translateX(6px); }
.board tbody tr:hover td { background: rgba(139, 92, 246, .16); border-color: var(--line2); }
.board tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--fuchsia); }
.board tr.spot > td { position: relative; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num b { font: 800 1.25rem var(--display); background: linear-gradient(90deg, #fff, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num small { color: var(--muted); margin-left: 4px; }
.c-rank { width: 64px; text-align: center; }
.rk { display: inline-grid; place-items: center; min-width: 38px; height: 38px; border-radius: 13px; font: 800 .95rem var(--display); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.board tr:hover .rk { transform: scale(1.12); box-shadow: 0 0 20px -2px var(--glow); }
.chips { line-height: 2.2; }
.chips .badge { margin: 0 5px 0 0; }

/* ───── Joueur + skin ───── */
.who { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.who:hover { color: #fff; }
.who .wn { display: flex; flex-direction: column; line-height: 1.2; }
.who b { font-weight: 700; transition: color .2s, text-shadow .2s; }
.who:hover b { color: #fff; text-shadow: 0 0 14px var(--glow2); }
.who small { color: var(--violet2); font-size: .74rem; font-weight: 600; }
.skin { image-rendering: pixelated; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .35), rgba(255, 255, 255, .04)); object-fit: contain; transition: transform .3s cubic-bezier(.2, .9, .3, 1.5), box-shadow .3s; }
.board tr:hover .skin, .who:hover .skin { transform: scale(1.3) rotate(-5deg); box-shadow: 0 10px 26px -6px var(--glow); position: relative; z-index: 2; }

/* ───── Badges de tier : icône + code (HT trait plein, LT pointillé) ───── */
.badge { --c: var(--un); display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px 3px 8px; border-radius: 999px; font-weight: 800; font-size: .8rem; white-space: nowrap; color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 6%, transparent)); transition: transform .2s, box-shadow .25s; }
.badge .ic { font-size: .95rem; }
.badge:hover, .board tr:hover .badge { box-shadow: 0 0 16px -2px var(--c); }
.board tr:hover .badge { transform: translateY(-2px); }
.badge.t1 { --c: var(--t1); } .badge.t2 { --c: var(--t2); } .badge.t3 { --c: var(--t3); }
.badge.t4 { --c: var(--t4); } .badge.t5 { --c: var(--t5); } .badge.unranked { --c: var(--un); }
.badge.lt { border-style: dashed; }

/* ───── Points par tier ───── */
.pts { margin-top: 26px; }
.ptsrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pt { --c: var(--un); display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); transition: transform .2s, box-shadow .25s, border-color .2s; }
.pt:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 0 22px -6px var(--c); }
.pt b { color: var(--c); } .pt i { font-style: normal; color: var(--text); font: 700 1.05rem var(--display); }
.pt.t1 { --c: var(--t1); } .pt.t2 { --c: var(--t2); } .pt.t3 { --c: var(--t3); } .pt.t4 { --c: var(--t4); } .pt.t5 { --c: var(--t5); }

/* ───── Profil ───── */
.pf { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: center; margin-top: 26px; padding: 26px; }
.pf-skin { display: grid; place-items: center; min-height: 340px; border-radius: 22px; background: radial-gradient(circle at 50% 38%, rgba(139, 92, 246, .55), rgba(139, 92, 246, .06) 70%); border: 1px solid var(--line); }
.pf-skin img { max-width: 100%; height: 320px; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .6)); transition: transform .45s cubic-bezier(.2, .9, .3, 1.3); }
.pf-skin:hover img { transform: scale(1.06) rotate(2deg); }
.pf-info h1 { margin: .1rem 0 .9rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.facts { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; padding: 0; margin: 0 0 8px; }
.facts li { background: var(--panel2); border: 1px solid var(--line); border-radius: 16px; padding: 10px 18px; min-width: 104px; transition: border-color .2s, box-shadow .25s; }
.facts li:hover { border-color: var(--violet2); box-shadow: 0 0 24px -8px var(--glow); }
.facts b { display: block; font: 800 1.35rem var(--display); } .facts span { color: var(--muted); font-size: .8rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tile { --c: var(--un); position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, transparent), var(--panel) 70%); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); border-radius: 22px; color: var(--text); text-align: center; transition: transform .22s, box-shadow .28s, border-color .2s; animation: rise .5s both; }
.tile:hover { color: var(--text); transform: translateY(-6px) scale(1.03); border-color: var(--c); box-shadow: 0 0 36px -8px var(--c), 0 18px 30px -18px rgba(0, 0, 0, .8); }
.tile .big { font-size: 2rem; line-height: 1.2; transition: transform .28s; } .tile:hover .big { transform: scale(1.22) rotate(-7deg); }
.tile small { color: var(--muted); }
.tile b { font: 800 1.35rem var(--display); color: var(--c); text-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.tile.t1 { --c: var(--t1); } .tile.t2 { --c: var(--t2); } .tile.t3 { --c: var(--t3); } .tile.t4 { --c: var(--t4); } .tile.t5 { --c: var(--t5); }
.tile.unranked b { color: var(--un); font-weight: 600; text-shadow: none; }

/* ───── Divers ───── */
.feed, .plain { list-style: none; padding: 0; margin: 0; }
.feed li { padding: 8px 0; border-bottom: 1px solid var(--line); } .feed li:last-child { border-bottom: 0; }
.feed small { display: block; color: var(--muted); }
.search { display: flex; gap: 10px; margin: 12px 0 18px; max-width: 560px; }
input, select { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font: inherit; width: 100%; transition: border-color .2s, box-shadow .25s, background .2s; }
input:focus, select:focus { outline: none; border-color: var(--violet2); box-shadow: 0 0 0 3px rgba(168, 85, 247, .25), 0 0 28px -6px var(--glow); background: rgba(255, 255, 255, .09); }
select option { background: #160b30; color: var(--text); }
input::placeholder { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 8px; } .stack.inline { flex-direction: row; margin-top: 12px; }
.stack label { color: var(--muted); font-size: .88rem; } .stack .btn { align-self: flex-start; margin-top: 4px; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; color: var(--muted); margin-top: 16px; }
.flash { background: rgba(139, 92, 246, .22); border: 1px solid var(--violet2); border-radius: 16px; padding: 12px 18px; margin: 18px 0 0; box-shadow: 0 0 30px -10px var(--glow); }
.foot { border-top: 1px solid var(--line); background: rgba(6, 3, 13, .55); color: var(--muted); font-size: .86rem; }
.foot-in { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; } .foot-brand img { border-radius: 50%; box-shadow: 0 0 14px var(--glow); }
.foot-r { display: flex; gap: 16px; align-items: center; }
.live { color: var(--un); } .live.ok { color: var(--t5); text-shadow: 0 0 10px rgba(74, 222, 128, .6); }
.copied { outline: 2px solid var(--t5); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .hero-txt, .glass, .tabs, .card { animation: rise .6s both; } }

/* ───── Tablette ───── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 18px; padding-top: 28px; }
  .hero-txt { order: 2; } .mascot { order: 1; width: clamp(150px, 38vw, 230px); }
  .lead { margin-inline: auto; } .cta-row { justify-content: center; }
  .grid2, .pf { grid-template-columns: 1fr; }
  .pf { text-align: center; } .facts, .pf .cta-row { justify-content: center; }
  .pf-skin { min-height: 280px; } .pf-skin img { height: 260px; }
}

/* ───── Mobile ───── */
@media (max-width: 760px) {
  .wrap { padding: 0 14px; }
  .bar { min-height: 62px; gap: 10px; }
  .logo-wrap { width: 42px; height: 42px; } .wm { font-size: 1.12rem; }
  .burger { display: grid; gap: 5px; margin-left: auto; padding: 12px 8px; cursor: pointer; }
  .burger i { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--violet2), var(--fuchsia)); transition: transform .25s, opacity .2s; }
  .nav-toggle:checked ~ .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .burger i:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .bar nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; background: rgba(10, 5, 24, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ nav { display: flex; }
  .bar nav a:not(.btn) { padding: 13px 16px; } .bar nav .cta { margin: 6px 0 0; padding: 13px; }
  .mega { font-size: clamp(2.3rem, 13vw, 3.4rem); } .lead { font-size: 1rem; }
  .btn { padding: 13px 20px; } .cta-row .btn { flex: 1 1 100%; }
  .tabs a { padding: 7px 14px 7px 8px; } .tabs .ic { width: 28px; height: 28px; }

  /* podium : cartes horizontales empilées 1 → 2 → 3 */
  .podium { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
  .pod, .pod.p1 { order: 0 !important; flex-direction: row; text-align: left; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; transform: none !important; }
  .pod .medal, .p1 .medal { position: static; transform: none; flex: none; width: 38px; height: 38px; font-size: 1rem; box-shadow: 0 0 18px var(--c); }
  .p1 .medal::after { top: -22px; left: 50%; margin-left: -12px; font-size: 1.1rem; }
  .pod-stage, .p1 .pod-stage { flex: none; width: 74px; height: 120px; }
  .pod-info { align-items: flex-start; flex: 1; min-width: 0; } .pod-chips { justify-content: flex-start; }
  .pod-name { font-size: 1.05rem; }

  /* classement : chaque ligne devient une carte */
  .board thead { display: none; }
  .board, .board tbody { display: block; }
  .board tbody tr { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "rk who pts" "chips chips chips"; align-items: center; gap: 6px 12px; margin-bottom: 10px; padding: 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: 20px; }
  .board tbody tr:hover { transform: none; }
  .board td { display: block; padding: 0; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .board td.c-rank { grid-area: rk; width: auto; } .board td:nth-child(2) { grid-area: who; min-width: 0; }
  .board td.num { grid-area: pts; } .board td.chips { grid-area: chips; line-height: 2; padding-top: 4px; border-top: 1px solid var(--line) !important; }
  .scroll { padding: 6px; overflow: visible; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
  .hide-sm { display: none !important; }
  .pf { padding: 18px; } .facts li { flex: 1 1 40%; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .search { flex-direction: column; } .foot-in { flex-direction: column; text-align: center; }
}
@media (hover: none) { .board tbody tr:hover, .pod:hover, .tile:hover { transform: none; } .spot::before { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
