/* Counter Zone : noir, blanc, et les deux couleurs des camps de CS2 (orange des T, bleu des CT). Coins coupés, coins de visée. */
@font-face { font-family: Barlow; src: url(../fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url(../fonts/barlow-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Barlow; src: url(../fonts/barlow-800.woff2) format("woff2"); font-weight: 800; font-display: block; }
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: block; }

:root {
  color-scheme: dark;
  --bg: #050505; --panel: #0b0b0b; --panel-2: #111; --ink: #f2f2f2; --soft: #bdbdbd; --muted: #878787; --line: #1d1d1d; --line-2: #2a2a2a;
  --t: #f0b24a; --t-2: #ffcd7a; --ct: #6aa8ff; --up: #3ddc84; --down: #ff6a5f;
  --display: Barlow, "Arial Narrow", sans-serif; --text: Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --cut: 18px; --cut-s: 12px;
  --steel: linear-gradient(180deg, #fff 0%, #e4e4e4 34%, #858585 50%, #f0f0f0 68%, #b0b0b0 100%);
}

* { box-sizing: border-box; }
html { font-size: clamp(15px, 13px + .2vw, 17px); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 1rem/1.6 var(--text); background: transparent; overflow-x: hidden; }
/* La texture du fond, fixe derrière tout le site : hachures et vagues du pack CS:GO, grain fin, deux lueurs des camps */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    url(../img/texture.svg) center / cover no-repeat,
    radial-gradient(55% 60% at 0% 0%, rgb(240 178 74 / .09), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgb(106 168 255 / .08), transparent 70%),
    var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(../img/grain.png) 0 0 / 160px 160px; opacity: .05; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code, kbd { font: 700 .86em/1 var(--text); padding: .22em .5em; color: #fff; background: #191919; box-shadow: inset 0 0 0 1px #2a2a2a; white-space: nowrap; }
::selection { color: #000; background: var(--t); }
:focus-visible { outline: 2px solid var(--t); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.strong { font-weight: 800; margin-bottom: 6px; }
.up { color: var(--up); } .down { color: var(--down); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.arrow { width: 1.05em; height: 1.05em; flex: none; transition: translate .25s var(--ease); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; color: #000; background: var(--t); font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: min(78rem, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

/* Barres de défilement */
html { scrollbar-color: #2e2e2e var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #262626; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--t); }

/* Titres */
.h1, .h2, .h3, .hero-title, .join-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 10px; }
.lead { max-width: 42rem; margin-top: 14px; color: var(--soft); font-size: 1.06rem; }

/* Boutons : coupés en bas à droite, comme les cadres du HUD */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: .95em 1.5em; color: var(--ink); background: #161616; border: 0; box-shadow: inset 0 0 0 1px #2c2c2c; font: 800 .95rem/1 var(--text); text-decoration: none; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%); transition: background .2s, color .2s, box-shadow .2s; }
.btn:hover { background: #1f1f1f; box-shadow: inset 0 0 0 1px #3a3a3a; }
.btn:hover .arrow { translate: 3px 0; }
.btn-main { color: #000; background: #fff; box-shadow: none; }
.btn-main:hover { background: var(--t); box-shadow: none; }
.btn-ghost { background: rgb(18 18 18 / .8); }
.btn-danger { color: #fff; background: #5c1712; box-shadow: inset 0 0 0 1px #8c2a22; }
.btn-danger:hover { background: #7a1e17; }
.linklike { padding: 0; color: var(--soft); background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.linklike:hover { color: var(--ink); }
.linklike.danger { color: var(--down); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--t); }
.more:hover .arrow { translate: 3px 0; }

/* Les coins de visée, aux quatre coins d'un cadre */
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--t); }
.hud i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.hud i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.hud i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.hud i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 40; transition: background .25s, box-shadow .25s; }
.top.is-solid { background: rgb(5 5 5 / .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; font: 800 1.4rem/1 var(--display); text-transform: uppercase; }
.brand img { width: 40px; height: 40px; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: .92rem; }
.menu a { position: relative; color: var(--soft); text-decoration: none; transition: color .2s; }
.menu a:hover, .menu a[aria-current] { color: #fff; }
.menu > a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--t); }
.menu-login, .menu-me { display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line-2); color: #fff !important; }
.menu-me img { width: 28px; height: 28px; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.menu-me b { color: var(--t); font: 800 1rem/1 var(--display); }
.menu-me[aria-current]::after { display: none; }
.burger { display: none; }

/* ---------- Accueil ---------- */
.hero { position: relative; min-height: min(720px, 92vh); margin-top: -76px; padding: 126px 0 64px; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 28%; background: url(../img/logo-256.webp) 50% 24% / cover; filter: grayscale(1) contrast(1.12) blur(.6px); opacity: .2; -webkit-mask: linear-gradient(90deg, transparent, #000 36%, #000 72%, transparent), linear-gradient(#000 70%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 36%, #000 72%, transparent) intersect, linear-gradient(#000 70%, transparent); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.round { display: flex; align-items: center; gap: 14px; font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.round-ct { color: var(--ct); } .round-t { color: var(--t); }
.round-clock { padding: 6px 12px; color: #fff; background: #141414; box-shadow: inset 0 0 0 1px #262626; font-size: 1.5rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hero-title { margin-top: 22px; font-size: clamp(3.8rem, 9vw, 8rem); line-height: .84; }
.hero-lead { max-width: 33rem; margin: 26px 0 30px; color: var(--soft); font-size: 1.1rem; }
.hero-meta { margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* Le fil, façon killfeed : les dernières actions du bot, en haut à droite */
.feed { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-height: 260px; align-self: start; margin-top: 18px; }
.k { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px; background: rgb(0 0 0 / .74); box-shadow: inset 0 0 0 1px #262626; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.k > * { overflow: hidden; text-overflow: ellipsis; }
.k .t { color: var(--t); } .k .ct { color: var(--ct); }
.k code { padding: .2em .45em; font-size: .82rem; }
.k-ic { width: 17px; height: 17px; flex: none; fill: #e6e6e6; }
.k.is-new { animation: k-in .4s var(--ease) both; }
.k.is-out { transition: opacity .4s, transform .4s; opacity: 0; transform: translateX(14px); }
@keyframes k-in { from { opacity: 0; transform: translateX(30px); } }

/* Les chiffres, sous le héros : sobres, sans cadre. Une ligne fine, le libellé avec son icône, le chiffre en grand */
.figs-sec { position: relative; z-index: 1; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.figs div { position: relative; padding: 26px 0 26px; }
.figs div + div { padding-left: clamp(18px, 3vw, 40px); }
.figs div + div::before { content: ""; position: absolute; left: 0; top: 26px; height: 64px; width: 1px; background: var(--line-2); }
/* Un petit trait orange marque le haut de chaque chiffre, sur la ligne */
.figs div::after { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--t); }
.figs div + div::after { left: clamp(18px, 3vw, 40px); }
.figs dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .86rem; }
.figs dt svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.figs dd { margin-top: 8px; font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; margin: 0 4px; flex: none; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(61 220 132 / .55); } 100% { box-shadow: 0 0 0 9px rgb(61 220 132 / 0); } }

/* Sections */
.sec { padding: clamp(56px, 8vw, 104px) 0 0; }
.sec-tight { padding-top: clamp(32px, 4vw, 52px); }
main > .sec:last-child { padding-bottom: clamp(56px, 8vw, 104px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-head .h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; background: var(--t); }
.sec-lead { max-width: 40rem; margin-top: 12px; color: var(--muted); }

/* L'écran d'inspection du skin */
.inspect-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.inspect-text .more { margin-top: 24px; }
.skin-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.skin-chip { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 18px; text-align: left; background: #0e0e0e; border: 0; box-shadow: inset 0 0 0 1px #222; cursor: pointer; transition: background .2s, box-shadow .2s; }
.skin-chip::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--r); }
.skin-chip span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.skin-chip b { font: 800 1.12rem/1.1 var(--display); text-transform: uppercase; }
.skin-chip:hover { background: #141414; }
.skin-chip.is-on { background: #151515; box-shadow: inset 0 0 0 1px var(--r); }
.insp { position: relative; padding: clamp(22px, 3vw, 34px); background: radial-gradient(80% 70% at 50% 0%, color-mix(in srgb, var(--r) 14%, transparent), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px #1f1f1f; transition: background .4s; }
.insp .hud i { border-color: var(--r); transition: border-color .4s; }
.insp-cmd { color: var(--muted); font-weight: 700; font-size: .9rem; }
.insp-name { margin-top: 18px; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.insp-name small { display: block; margin-top: 8px; color: var(--r); font: 700 .92rem var(--text); text-transform: none; }
.insp-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin-top: 24px; }
.insp-price { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.insp-price small { display: block; margin-top: 6px; font: 700 .86rem var(--text); }
.insp-sites { display: flex; gap: 22px; }
.insp-sites dt { color: var(--muted); font-size: .8rem; font-weight: 700; }
.insp-sites dd { font: 800 1.2rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.wear { margin-top: 26px; }
.wear-bar { position: relative; height: 8px; background: linear-gradient(90deg, #3a8f5c 0 7%, #6fae3f 7% 15%, #c9b13a 15% 38%, #d4772f 38% 45%, #c0392b 45% 100%); }
.wear-range { position: absolute; top: -3px; bottom: -3px; box-shadow: 0 0 0 1px rgb(255 255 255 / .5); pointer-events: none; transition: left .3s, width .3s; }
.wear input { display: block; width: 100%; height: 22px; margin: -15px 0 0; position: relative; background: none; -webkit-appearance: none; appearance: none; cursor: grab; }
.wear input::-webkit-slider-runnable-track { height: 22px; background: none; }
.wear input::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 22px; background: #fff; box-shadow: 0 0 0 3px var(--panel); }
.wear input::-moz-range-thumb { width: 4px; height: 22px; background: #fff; border: 0; border-radius: 0; }
.wear input:focus-visible { outline-offset: 6px; }
.wear-info { display: flex; justify-content: space-between; margin-top: 2px; color: var(--muted); font-weight: 700; font-size: .88rem; }
.wear-info b, .wear-info span:last-child { color: #fff; }
.insp-chart { display: block; width: 100%; height: 90px; margin-top: 22px; overflow: visible; }
.insp-line { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.insp-foot { display: flex; justify-content: space-between; margin-top: 6px; color: #5f5f5f; font-size: .78rem; font-weight: 700; }

/* Les thèmes de commandes : une grande ligne chacun */
.themes { border-top: 1px solid var(--line); }
.theme-row { display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr) 24px; align-items: center; gap: 22px; padding: 22px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s, padding .25s var(--ease); }
.theme-ic { width: 30px; height: 30px; fill: none; stroke: var(--soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.theme-name strong { display: block; font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1 var(--display); text-transform: uppercase; }
.theme-name small { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.theme-cmds { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgb(240 178 74 / .07), transparent 60%); }
.theme-row:hover .theme-ic { stroke: var(--t); }
.theme-row:hover .arrow { translate: 4px 0; color: var(--t); }

/* Tableaux : comme le tableau des scores */
.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.table-wrap { overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; font-weight: 700; }
.board th { padding: 0 14px 10px; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: left; white-space: nowrap; }
.board td { padding: 13px 14px; border-top: 1px solid var(--line); }
.board .n { text-align: right; font: 800 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.board th.n { font: 800 .78rem var(--text); }
.board tbody tr { transition: background .15s; }
.board tbody tr:hover td { background: #0d0d0d; }
.board .side-col { width: 4px; padding: 0; }
.side-t.side-col { background: var(--t); } .side-ct.side-col { background: var(--ct); }
.rank { display: inline-block; min-width: 2.2em; color: var(--muted); font: 800 1rem var(--display); }
.board .is-sorted { color: #fff; }
.board th.is-sorted { color: var(--t); }
.board tr.is-me td { background: rgb(240 178 74 / .08); }
.you { padding: 2px 7px; color: #000; background: var(--t); font-size: .72rem; font-weight: 800; }

/* Le prochain tournoi : un ticket */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px #222; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transition: box-shadow .2s; }
.ticket:hover { box-shadow: inset 0 0 0 1px var(--t); }
.ticket-main { display: grid; gap: 6px; padding: 24px; border-right: 1px dashed #2c2c2c; }
.ticket-format { justify-self: start; padding: 4px 9px; color: #000; background: var(--t); font: 800 .9rem/1 var(--display); }
.ticket-main strong { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--display); text-transform: uppercase; }
.ticket-date { color: var(--soft); font-weight: 700; }
.ticket-prize { color: var(--t); font-weight: 800; font-size: .92rem; }
.ticket-stub { display: grid; align-content: center; gap: 10px; padding: 20px 22px; }
.ticket-stub > small { color: var(--muted); font-weight: 700; font-size: .82rem; }
.countdown { display: flex; gap: 10px; }
.countdown > span { display: grid; justify-items: center; min-width: 3rem; }
.countdown b { font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.countdown.is-big b { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.countdown.is-big > span { min-width: 4.4rem; }
.fill { display: block; height: 4px; background: #222; }
.fill span { display: block; width: var(--f); height: 100%; background: var(--t); }

/* Le créateur */
.maker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.maker-pic { width: clamp(140px, 18vw, 220px); height: auto; filter: grayscale(.3) contrast(1.05); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.maker-kicker { color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.maker-bio { max-width: 38rem; margin: 16px 0 22px; color: var(--soft); font-size: 1.05rem; }
.maker-links { display: flex; flex-wrap: wrap; gap: 10px; }
.maker-links a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px #222; transition: box-shadow .2s; }
.maker-links a:hover { box-shadow: inset 0 0 0 1px var(--t); }
.maker-links .icon { width: 22px; height: 22px; }
.maker-links b { display: block; font-size: .95rem; }
.maker-links small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }

/* L'appel final */
.join { padding: clamp(56px, 8vw, 104px) 0; }
.join-in { position: relative; padding: clamp(36px, 6vw, 72px); text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgb(240 178 74 / .1), transparent 70%), var(--panel); }
.join-title { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.join-in p { max-width: 34rem; margin: 16px auto 28px; color: var(--soft); }
.join-in .cta { justify-content: center; }

/* ---------- Pages intérieures ---------- */
.banner { padding-top: clamp(20px, 3vw, 36px); }
.banner-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 60px); background: radial-gradient(50% 90% at 85% 50%, rgb(240 178 74 / .07), transparent 70%), var(--panel); overflow: hidden; }
.banner-text { position: relative; z-index: 1; }
.banner-art { position: relative; z-index: 1; width: clamp(110px, 14vw, 180px); }
.banner-ic { display: block; width: 100%; height: auto; overflow: visible; }
.banner-ic .ic-fill path { fill: rgb(240 178 74 / .1); }
.banner-ic .ic-line path { fill: none; stroke: var(--t); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.backlink { margin-top: 16px; }
.backlink a { color: var(--muted); font-weight: 700; font-size: .9rem; }
.backlink a::before { content: "← "; }
.backlink a:hover { color: var(--ink); }
.banner .cta { margin-top: 24px; }
.notice { margin-bottom: 22px; padding: 14px 18px; font-weight: 700; background: #0f1a12; box-shadow: inset 3px 0 0 var(--up); }
.notice-error { background: #1d0e0c; box-shadow: inset 3px 0 0 var(--down); }
.empty { padding: 28px 0; color: var(--muted); }
.prose { max-width: 44rem; color: var(--soft); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--t); }

/* Commandes */
.cmd-page { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cmd-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--panel); box-shadow: inset 0 0 0 1px #262626; }
.search:focus-within { box-shadow: inset 0 0 0 1px var(--t); }
.search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; padding: 13px 0; background: none; border: 0; outline: 0; font-weight: 600; }
.cmd-nav { display: grid; }
.cmd-nav a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--soft); font-weight: 700; font-size: .92rem; text-decoration: none; transition: color .2s, padding .2s; }
.cmd-nav a:hover, .cmd-nav a.is-on { color: #fff; padding-left: 12px; }
.cmd-nav a.is-on svg { stroke: var(--t); }
.cmd-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cmd-nav small { color: var(--muted); font-weight: 800; }
.cmd-tips { display: grid; gap: 12px; color: var(--muted); font-size: .84rem; }
.tip-btn { display: inline-block; margin-right: 8px; padding: 3px 9px; color: #fff; background: #4e5058; font-size: .76rem; font-weight: 800; border-radius: 3px; }
.tip-btn.is-red { background: #c23b36; }
.cmd-theme { scroll-margin-top: 96px; }
.cmd-theme + .cmd-theme { margin-top: 56px; }
.cmd-theme > .sec-lead { margin-bottom: 18px; }
.cmd-theme .h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; background: var(--t); }
.cmd { border-bottom: 1px solid var(--line); }
.cmd:first-of-type { border-top: 1px solid var(--line); }
.cmd summary { display: grid; grid-template-columns: minmax(8rem, auto) minmax(0, 1fr) 22px; align-items: center; gap: 18px; padding: 16px 4px; cursor: pointer; list-style: none; }
.cmd summary::-webkit-details-marker { display: none; }
.cmd-name { justify-self: start; font-size: .95rem; }
.cmd-sum { color: var(--soft); }
.cmd-plus { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .25s var(--ease), stroke .2s; }
.cmd summary:hover .cmd-name { color: #000; background: var(--t); box-shadow: none; }
.cmd[open] .cmd-plus { transform: rotate(45deg); stroke: var(--t); }
.cmd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 4px 4px 26px; color: var(--soft); }
.cmd-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: .9rem; }
.cmd-ex span { color: var(--muted); font-weight: 700; }
.cmd-ex code { white-space: normal; }
.cmd-empty { padding: 30px 0; color: var(--muted); }
.cmd-version { margin-top: 48px; color: var(--muted); font-size: .9rem; }
.cmd-version a { color: var(--ink); font-weight: 700; }
.cmd[hidden], .cmd-theme[hidden] { display: none; }

/* La réponse du bot, comme dans Discord */
.reply { font-size: .9rem; }
.reply figcaption { display: flex; align-items: center; gap: 8px; color: var(--soft); }
.reply figcaption img { width: 28px; height: 28px; border-radius: 50%; }
.reply figcaption b { color: #fff; }
.reply figcaption small { padding: 1px 5px; color: #fff; background: #5865f2; font-size: .64rem; font-weight: 800; border-radius: 3px; }
.reply figcaption code { margin-left: auto; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.reply-card { margin: 8px 0 0 36px; padding: 12px 14px; background: #111214; box-shadow: inset 3px 0 0 var(--t); }
.reply-ct .reply-card { box-shadow: inset 3px 0 0 var(--ct); }
.reply-card p { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.reply-card span { color: var(--muted); }
.reply-card b { color: #fff; text-align: right; }
.reply-title { color: #fff; font-weight: 800; }
.reply-btns { justify-content: flex-start !important; gap: 6px !important; margin-top: 8px; }
.reply-btns span { padding: 4px 10px; color: #fff; background: #4e5058; font-size: .76rem; font-weight: 800; border-radius: 3px; }
.reply-btns .is-red { background: #c23b36; }

/* Marché */
.cap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.cap-value { margin-top: 18px; font: 800 clamp(3.6rem, 8vw, 6.4rem)/.9 var(--display); }
.cap-change { margin-top: 8px; font-weight: 800; }
.cap-chart { width: 100%; height: clamp(150px, 20vw, 220px); overflow: visible; }
.cap-line { fill: none; stroke: var(--t); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.cap-dot { fill: var(--t); stroke: var(--bg); stroke-width: 3; vector-effect: non-scaling-stroke; }
.skin-link { position: relative; display: grid; padding-left: 14px; text-decoration: none; }
.skin-link::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 3px; background: var(--r); }
.skin-link span { color: var(--muted); font-size: .78rem; }
.skin-link b { font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; }
.skin-link:hover b { color: var(--t); }
.spark { display: block; width: 120px; height: 32px; margin-left: auto; overflow: visible; }
.spark path { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.spark.up path { stroke: var(--up); } .spark.down path { stroke: var(--down); }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.places li { display: grid; gap: 8px; align-content: start; padding: 24px 24px 24px 0; }
.places li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.places strong { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.places span { color: var(--soft); }
.places small { color: var(--muted); font-weight: 700; }
.skin-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.skin-facts div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.skin-facts dt { color: var(--muted); font-weight: 700; }
.skin-facts dd { font: 800 1.3rem/1 var(--display); }
.alert-form { margin-top: 26px; }
.alert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-row select, .alert-row input { padding: 12px 12px; background: var(--panel); border: 0; box-shadow: inset 0 0 0 1px #2a2a2a; font-weight: 600; }
.alert-row select:focus, .alert-row input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--t); }
.euro { display: flex; align-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px #2a2a2a; }
.euro input { width: 6.5rem; box-shadow: none !important; }
.euro span { padding-right: 12px; color: var(--muted); font-weight: 800; }
.skin-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.skin-cards a { position: relative; display: grid; gap: 4px; padding: 18px 18px 14px 22px; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px #1f1f1f; transition: box-shadow .2s; }
.skin-cards a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--r); }
.skin-cards a:hover { box-shadow: inset 0 0 0 1px var(--r); }
.skin-cards span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.skin-cards b { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; }
.skin-cards em { font-style: normal; font-weight: 800; }
.skin-cards .spark { width: 100%; margin-top: 6px; }

/* Onglets */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; }
.tabs a { padding: 10px 16px; color: var(--soft); background: var(--panel); box-shadow: inset 0 0 0 1px #222; font-weight: 700; font-size: .9rem; text-decoration: none; transition: color .2s, background .2s; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current] { color: #000; background: #fff; box-shadow: none; }

/* Classements : le podium, puis le tableau */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; margin-bottom: 36px; }
.podium li { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 16px 22px; text-align: center; background: linear-gradient(180deg, #121212, var(--panel)); box-shadow: inset 0 3px 0 var(--side, var(--t)); }
.podium .side-ct { --side: var(--ct); }
.podium-1 { padding-top: 46px !important; }
.podium-1 .podium-pic { width: 84px; height: 84px; font-size: 1.8rem; }
.podium-pos { position: absolute; left: 14px; top: 10px; color: var(--muted); font: 800 1.6rem/1 var(--display); }
.podium-1 .podium-pos { color: var(--t); }
.podium-pic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; color: #000; background: var(--side, var(--t)); font: 800 1.4rem/1 var(--display); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.podium strong { font: 800 1.4rem/1 var(--display); text-transform: uppercase; }
.podium small { color: var(--muted); font-size: .82rem; font-weight: 700; }
.podium b { margin-top: 6px; font: 800 1.8rem/1 var(--display); font-variant-numeric: tabular-nums; }
.me-rank { margin-top: 22px; color: var(--soft); }
.me-rank a { color: var(--t); font-weight: 700; }

/* Tournois */
.t-list { border-top: 1px solid var(--line); }
.t-row { display: grid; grid-template-columns: 4rem minmax(0, 1.5fr) minmax(8rem, .5fr) minmax(0, .8fr) 24px; align-items: center; gap: 22px; padding: 20px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .25s var(--ease); }
.t-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgb(240 178 74 / .07), transparent 60%); }
.t-row:hover .arrow { translate: 4px 0; color: var(--t); }
.t-date { display: grid; justify-items: center; padding: 8px 0; background: #141414; }
.t-date b { font: 800 1.8rem/1 var(--display); }
.t-date small { color: var(--muted); font-size: .74rem; font-weight: 800; }
.t-main strong { display: block; font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.t-main small { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; }
.t-fill { display: grid; gap: 6px; }
.t-fill small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.t-prize { color: var(--t); font-weight: 800; font-size: .9rem; }
.is-past .t-row { grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr) 24px; }
.is-past .t-date { background: none; box-shadow: inset 0 0 0 1px #222; }
.t-winner b { color: var(--t); }
.t-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(24px, 4vw, 56px); align-items: start; }
.t-facts { margin: 30px 0; border-top: 1px solid var(--line); }
.t-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.t-facts dt { color: var(--muted); font-weight: 700; }
.t-facts dd { font-weight: 700; }
.t-info .h3 { margin-top: 30px; }
.t-won { font: 800 2rem/1 var(--display); text-transform: uppercase; }
.t-won b { color: var(--t); }
.t-side { position: sticky; top: 96px; }
.t-signup { position: relative; padding: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px #222, inset 0 3px 0 var(--t); }
.t-signup .btn { margin-top: 14px; width: 100%; }
.stack { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--soft); font-weight: 700; font-size: .88rem; }
input:not([type=checkbox]):not([type=range]):not([type=search]), select, textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: #0f0f0f; border: 0; box-shadow: inset 0 0 0 1px #2a2a2a; font-weight: 600; font-size: .95rem; }
input:focus, select:focus, textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--t) !important; }
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 8px; }
.entries li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 14px 16px; background: var(--panel); box-shadow: inset 0 0 0 1px #1d1d1d; }
.entries strong { font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; }
.entries small { grid-column: 2; color: var(--muted); font-size: .82rem; }
.entries .rank { grid-row: span 2; }
.entries .is-winner { box-shadow: inset 0 0 0 1px var(--t); }
.entries .is-winner strong { color: var(--t); }

/* Nouveautés : la frise des versions */
.versions { position: relative; }
.versions::before { content: ""; position: absolute; left: 10.5rem; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.versions li { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 3rem; padding: 0 0 44px; }
.versions li::before { content: ""; position: absolute; left: calc(10.5rem - 5px); top: 10px; width: 11px; height: 11px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); transform: rotate(45deg); }
.versions .is-current::before { background: var(--t); box-shadow: none; }
.v-num b { display: block; font: 800 1.9rem/1 var(--display); }
.v-num time { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.v-now { display: inline-block; margin-top: 10px; padding: 3px 9px; color: #000; background: var(--t); font-size: .74rem; font-weight: 800; }
.v-body ul { display: grid; gap: 8px; color: var(--soft); }
.v-body li { display: block; padding: 0 0 0 18px; position: relative; }
.v-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--t); }

/* Le créateur */
.maker-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.live { position: relative; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; }
.live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
.live-wait img { margin-bottom: 10px; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.live-wait .muted { max-width: 26rem; }
.live-wait .cta { justify-content: center; margin-top: 12px; }
.live.is-on .live-wait, .live.is-on .hud { display: none; }
.net { display: grid; gap: 8px; margin-bottom: 36px; }
.net a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px #222; transition: box-shadow .2s; }
.net a:hover { box-shadow: inset 0 0 0 1px var(--t); }
.net .icon { width: 24px; height: 24px; }
.net b { display: block; }
.net small { display: block; color: var(--muted); font-weight: 700; }

/* Mon profil */
.me-banner .banner-in { grid-template-columns: minmax(0, 1fr) auto; }
.me-id { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; }
.me-pic { display: grid; place-items: center; width: 96px; height: 96px; flex: none; color: #000; background: var(--t); font: 800 2.2rem/1 var(--display); object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%); }
.me-coins { position: relative; z-index: 1; display: grid; justify-items: end; gap: 12px; text-align: right; }
.me-coins-n { font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.me-coins-n small { display: block; color: var(--t); font-size: .32em; letter-spacing: .04em; }
.me-rank-s { color: var(--muted); font-weight: 700; font-size: .9rem; }
.me-rank-s a { color: var(--ink); }
.me-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel { position: relative; padding: clamp(22px, 3vw, 30px); background: var(--panel); box-shadow: inset 0 0 0 1px #1d1d1d; scroll-margin-top: 96px; }
.panel > .muted { margin-bottom: 16px; }
.lab { display: inline-flex; align-items: center; gap: 8px; }
.gear { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gear .wide { grid-column: 1 / -1; }
.pro { margin-top: 22px; padding: 18px 20px; background: #121212; box-shadow: inset 3px 0 0 var(--ct); }
.pro-k { color: var(--muted); font-weight: 700; font-size: .86rem; }
.pro-name { font: 800 2rem/1.1 var(--display); text-transform: uppercase; }
.pro-hint { margin-top: 16px; }
.alerts { display: grid; margin-bottom: 18px; border-top: 1px solid var(--line); }
.alerts li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alerts a { text-decoration: none; }
.alerts a:hover b { color: var(--t); }
.alerts b { display: block; }
.alerts small { display: block; color: var(--muted); font-size: .84rem; }
.me-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; margin-top: 28px; }
.me-delete summary { color: var(--muted); font-weight: 700; cursor: pointer; }
.me-delete[open] { max-width: 30rem; }
.me-delete p { margin: 12px 0 14px; color: var(--soft); font-size: .92rem; }

/* Mentions légales */
.legal-page { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; }
.legal-nav a { padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--soft); font-weight: 700; font-size: .92rem; text-decoration: none; transition: color .2s, padding .2s; }
.legal-nav a:hover { color: #fff; padding-left: 12px; }
.legal-body { display: grid; gap: 12px; min-width: 0; }
.legal-block { padding: clamp(22px, 3.4vw, 38px); background: var(--panel); box-shadow: inset 0 0 0 1px #1d1d1d; scroll-margin-top: 96px; }
.legal-block .h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 18px; }
.legal-block > p { color: var(--soft); }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-facts div:last-child { border-bottom: 0; }
.legal-facts dt { color: var(--muted); font-weight: 700; }
.legal-facts dd { font-weight: 600; overflow-wrap: anywhere; }
.legal-facts a, .legal-points a { color: var(--t); }
.legal-points li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-points li:last-child { border-bottom: 0; }
.legal-points span { color: var(--soft); }
.legal-lead { font-weight: 700; }
.legal-table { display: grid; margin: 16px 0; box-shadow: inset 0 0 0 1px #242424; }
.legal-table > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 10rem; gap: 16px; padding: 14px 18px; border-top: 1px solid #1f1f1f; font-size: .92rem; color: var(--soft); }
.legal-table > .is-head { border-top: 0; background: #141414; color: var(--muted); font-weight: 800; font-size: .82rem; }
.legal-note { margin: 0 0 20px; color: var(--muted); font-size: .92rem; }

/* Pied de page */
.foot { margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
main:has(> .join:last-child) + .foot { margin-top: 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; padding: 32px 0 24px; }
.foot-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--muted); font-size: .86rem; line-height: 1.45; text-decoration: none; }
.foot-brand img { clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.foot-brand b { color: #fff; font: 800 1.1rem var(--display); text-transform: uppercase; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: .9rem; }
.foot-nav a { color: var(--soft); text-decoration: none; }
.foot-nav a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--soft); background: var(--panel); box-shadow: inset 0 0 0 1px #222; transition: color .2s, box-shadow .2s; }
.socials a:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--t); }
.socials .icon { width: 18px; height: 18px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 0 28px; border-top: 1px solid var(--line); color: #5f5f5f; font-size: .8rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: #fff; }

/* ---------- Mouvement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
html.after-nav [data-reveal] { transition: none !important; }

/* Arrivée sur l'accueil sans intro : le titre et le fil se posent */
.is-home .hero-text > * { animation: rise .8s var(--ease) both; }
.is-home .hero-text > :nth-child(2) { animation-delay: .06s; }
.is-home .hero-text > :nth-child(3) { animation-delay: .12s; }
.is-home .hero-text > :nth-child(4) { animation-delay: .18s; }
.is-home .hero-text > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
html.intro-play .hero-text > *, html.after-nav .hero-text > * { animation: none; }

/* ---------- Intro de l'accueil : la lunette d'un AWP ---------- */
/* La lunette s'ouvre sur l'image du bot, le nom arrive par les côtés, un tir, puis le cercle s'agrandit et dévoile la page. */
html.intro-on { background: #000; }
html.intro-on body { visibility: hidden; }
html.intro-play { overflow: hidden; }
html.intro-play .hero-text > *, html.intro-play .feed { opacity: 0; }
html.intro-play .hero-photo, html.intro-play .buddy, html.intro-play .ck, html.intro-play .ck-btn { visibility: hidden; }
html.intro-done .hero-title { animation: title-in .9s .1s var(--ease) both; }
html.intro-done .hero-text > :not(.hero-id) { animation: rise .7s var(--ease) both; }
html.intro-done .hero-text > :nth-child(2) { animation-delay: .3s; }
html.intro-done .hero-text > :nth-child(3) { animation-delay: .4s; }
html.intro-done .hero-text > :nth-child(4) { animation-delay: .5s; }
@keyframes title-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }
.intro { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: visible; }
.sc-base { position: absolute; inset: 0; background: #000; }
.sc-hold { position: absolute; inset: 0; will-change: transform; }
.sc-view { position: absolute; inset: 0; overflow: hidden; will-change: opacity; }
.sc-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; will-change: transform; }
/* Le trou de la lunette : un cercle, et tout autour une ombre noire immense */
.sc-ring { --d: min(62vmin, 560px); position: absolute; left: calc(50% - var(--d) / 2); top: calc(50% - var(--d) / 2); width: var(--d); height: var(--d); border-radius: 50%; box-shadow: 0 0 0 150vmax #000, inset 0 0 calc(var(--d) * .18) calc(var(--d) * .04) rgb(0 0 0 / .85); will-change: transform; transform: scale(.04); }
.sc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc-ring path { fill: none; stroke: #050505; stroke-width: .9; }
.sc-ring .sc-dots { stroke-width: 1.2; }
.sc-ring circle { fill: none; stroke: #111; stroke-width: 2; }
.sc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.sc-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.sc-name { display: flex; gap: .28em; font: 800 clamp(3rem, 9vw, 7.6rem)/.9 var(--display); text-transform: uppercase; text-shadow: 0 4px 30px rgb(0 0 0 / .7); }
.sc-name span { display: inline-block; opacity: 0; }
.sc-w2 { color: var(--t); }
.sc-sub { margin-top: 14px; opacity: 0; color: #fff; font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.1rem); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 10px #000; }
.sc-zoom { position: absolute; right: 26px; top: 22px; opacity: 0; color: var(--muted); font: 800 .9rem/1 var(--display); letter-spacing: .1em; }
.sc-zoom b { color: #fff; }
.intro-skip { position: absolute; left: 24px; bottom: 22px; padding: 6px 2px; color: rgb(255 255 255 / .7); background: none; border: 0; font-size: .875rem; cursor: pointer; opacity: 0; }
.intro-skip:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Changement de page : la lunette qui se ferme et se rouvre ---------- */
.pt { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; }
.pt.is-on { visibility: visible; }
html.pt-arrive body > :not(.pt):not(script) { visibility: hidden; }
html.pt-arrive { background: #050505; }
.pt-iris { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt-edge { fill: none; stroke: rgb(240 178 74 / .55); stroke-width: 2; }
.pt-cross { position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px; opacity: 0; }
.pt-cross path { fill: none; stroke: var(--t); stroke-width: 1.6; }
.pt-cross circle { fill: var(--t); }
.pt.is-settled .pt-cross { opacity: 1; }
.pt-stage { position: absolute; left: 0; right: 0; top: calc(50% + 70px); display: grid; justify-items: center; gap: 10px; padding: 0 20px; text-align: center; }
.pt-title { opacity: 0; font: 800 clamp(2.4rem, 7vw, 5rem)/1 var(--display); text-transform: uppercase; }
.pt-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; opacity: 0; color: var(--soft); font-weight: 700; font-size: .95rem; }
.pt-words span:first-child { color: var(--t); }
.pt-bar { width: min(280px, 70vw); height: 3px; margin-top: 8px; opacity: 0; background: #1d1d1d; overflow: hidden; }
.pt-bar i { display: block; height: 100%; background: var(--t); transform-origin: 0 50%; transform: scaleX(0); }
.pt-tip { display: flex; gap: 10px; align-items: baseline; max-width: 34rem; opacity: 0; color: var(--muted); font-size: .88rem; }
.pt-tip b { flex: none; padding: 2px 8px 1px; color: #000; background: #fff; font: 800 .74rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.pt.is-settled .pt-title, .pt.is-settled .pt-words, .pt.is-settled .pt-tip, .pt.is-settled .pt-bar { opacity: 1; }
.pt.is-settled .pt-bar i { transform: scaleX(1); }
.pt-cross { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.pt-stage { top: calc(50% + 78px); }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }

/* ---------- Le popup du prochain tournoi ---------- */
.promo { width: min(34rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: none; border: 0; overflow: visible; }
.promo::backdrop { background: rgb(0 0 0 / .72); backdrop-filter: blur(4px); }
.promo[open] { animation: promo-in .5s var(--ease) both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.promo-in:focus { outline: 0; }
.promo-in { position: relative; background: var(--panel); box-shadow: inset 0 0 0 1px #262626; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.promo-x { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #fff; background: rgb(0 0 0 / .5); border: 0; cursor: pointer; }
.promo-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.promo-banner { position: relative; padding: 28px 28px 24px; background: repeating-linear-gradient(120deg, rgb(255 255 255 / .025) 0 2px, transparent 2px 14px), linear-gradient(135deg, #1a1208, #0b0b0b 60%); overflow: hidden; }
.promo-banner::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 120px; background: var(--t); transform: skewX(-18deg); opacity: .9; }
.promo-banner img { position: relative; z-index: 1; width: 56px; height: 56px; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.promo-tag { position: relative; z-index: 1; margin-top: 16px; color: var(--t); font-weight: 800; font-size: .9rem; }
.promo-banner h2 { position: relative; z-index: 1; max-width: 80%; margin-top: 4px; font: 800 clamp(2.2rem, 7vw, 3.2rem)/.92 var(--display); text-transform: uppercase; }
.promo-body { display: grid; gap: 20px; padding: 24px 28px 28px; }
.promo-when { font-weight: 800; }
.promo-when span { color: var(--t); font-size: .92rem; }

/* ---------- Le perso, en bas à droite ---------- */
.buddy { position: fixed; right: 14px; bottom: 8px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.buddy > * { pointer-events: auto; }
.buddy-bot { width: 6.2rem; padding: 0; background: none; border: 0; cursor: pointer; transition: scale .2s; }
.buddy-bot:hover { scale: 1.06; }
.buddy-bot svg { display: block; width: 100%; height: auto; overflow: visible; }
.b-head { transform-box: view-box; transform-origin: 60px 90px; transition: transform .25s ease-out; }
.b-body { transform-box: view-box; transform-origin: 60px 140px; animation: bot-breathe 4.5s ease-in-out infinite; }
@keyframes bot-breathe { 50% { transform: scale(1.015, 1.02); } }
.b-pupils { transition: transform .12s ease-out; }
.b-pupils rect { filter: drop-shadow(0 0 2px rgb(240 178 74 / .9)); }
.b-eyes-real { transform-box: view-box; transform-origin: 58px 53px; animation: eye-blink 6s infinite; }
@keyframes eye-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.b-waves path { opacity: 0; }
.buddy.is-awake .b-mic { filter: drop-shadow(0 0 4px var(--t)); animation: bot-talk .3s ease-in-out infinite alternate; }
.buddy.is-awake .b-waves path { animation: bot-waves .9s ease-out infinite; }
.buddy.is-awake .b-waves path:nth-child(2) { animation-delay: .2s; }
@keyframes bot-talk { to { opacity: .45; } }
@keyframes bot-waves { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.buddy-bubble { position: relative; isolation: isolate; width: 16rem; margin-bottom: 6px; padding: 12px 14px 12px; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .6)); animation: promo-in .4s var(--ease) both; }
.buddy-bubble::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #191919, #0c0c0c); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.buddy-edge { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgb(240 178 74 / .55); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 0, 1px 1px, 1px calc(100% - 1px), calc(100% - 12.4px) calc(100% - 1px), calc(100% - 1px) calc(100% - 12.4px), calc(100% - 1px) 1px, 1px 1px); }
.buddy-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .86rem; }
.buddy-head img { width: 26px; height: 26px; border-radius: 50%; }
.buddy-head small { padding: 1px 5px; color: #fff; background: #5865f2; font-size: .6rem; font-weight: 800; border-radius: 3px; }
.buddy-say { position: relative; display: grid; padding-right: 10px; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.buddy-ghost, .buddy-typed { grid-area: 1 / 1; }
.buddy-ghost { visibility: hidden; }
.buddy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--t); font-size: .86rem; font-weight: 800; text-decoration: none; }
.buddy-link:hover { color: var(--t-2); }
.buddy-close { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: var(--muted); background: none; border: 0; cursor: pointer; }
.buddy-close:hover { color: var(--ink); }
.buddy-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.buddy.closed .buddy-bubble { display: none; }
@media (prefers-reduced-motion: reduce) { .b-body, .b-waves path, .b-mic, .b-eyes-real { animation: none !important; } }

/* ---------- Bandeau cookies et petit bouton ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(26rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 22px 18px; background: linear-gradient(160deg, #181818, #0c0c0c); box-shadow: inset 0 0 0 1px #2a2a2a, inset 0 3px 0 var(--t), 0 30px 60px -20px #000; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); animation: promo-in .5s var(--ease) both; }
.ck[hidden], .ck-btn[hidden], .ck-details[hidden], .ck-quick[hidden] { display: none !important; }
.ck-title { font: 800 1.4rem/1.1 var(--display); text-transform: uppercase; }
.ck-text { margin-top: 8px; color: var(--soft); font-size: .9rem; line-height: 1.55; }
.ck-text a { color: var(--t); font-weight: 700; }
.ck-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ck-b { flex: 1; padding: .8em 1em; color: var(--ink); background: #1f1f1f; border: 0; font: 800 .88rem var(--text); cursor: pointer; transition: background .2s, color .2s; }
.ck-b:hover, .ck-b.is-main { color: #000; background: #fff; }
.ck-link { width: 100%; padding: 6px 0 0; color: var(--soft); background: none; border: 0; font: 700 .86rem var(--text); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.ck-details .ck-link { width: auto; }
.ck-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; }
.ck-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--t); }
.ck-row b { display: block; color: var(--ink); font-size: .92rem; }
.ck-row small { display: block; color: var(--muted); font-size: .84rem; font-weight: 500; }
.ck-btn { position: fixed; left: 14px; bottom: 14px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; color: var(--soft); background: rgb(14 14 14 / .92); border: 0; box-shadow: inset 0 0 0 1px #2c2c2c; font: 700 .8rem var(--text); cursor: pointer; transition: color .2s, box-shadow .2s; }
.ck-btn:hover { color: var(--t); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .5); }
.ck-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ck-btn svg circle { fill: currentColor; stroke: none; }

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .theme-row { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .theme-cmds { grid-column: 2; }
  .theme-row > .arrow { grid-row: 1; grid-column: 3; }
  .t-row { grid-template-columns: 4rem minmax(0, 1fr) 24px; }
  .t-fill, .t-prize { grid-column: 2; }
  .t-row > .arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 980px) {
  .burger { position: relative; z-index: 2; display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; padding: 0; background: none; border: 0; cursor: pointer; }
  .burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s; }
  .burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu { position: fixed; inset: 0; z-index: 1; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 90px 32px 40px; background: rgb(5 5 5 / .98); font: 800 2rem/1 var(--display); text-transform: uppercase; }
  .menu.is-open { display: flex; }
  .menu > a[aria-current]::after { display: none; }
  .menu a[aria-current] { color: var(--t); }
  .menu-login, .menu-me { padding: 18px 0 0; border: 0; border-top: 1px solid var(--line-2); font: 700 1rem var(--text); text-transform: none; }
  .hero-in, .inspect-grid, .duo, .cap, .cmd-page, .t-page, .maker-page, .legal-page { grid-template-columns: minmax(0, 1fr); }
  .feed { align-items: stretch; min-height: 0; }
  .cmd-side, .t-side, .legal-nav { position: static; }
  .cmd-body { grid-template-columns: minmax(0, 1fr); }
  .places { grid-template-columns: minmax(0, 1fr); }
  .places li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .skin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-grid { grid-template-columns: minmax(0, 1fr); }
  .me-banner .banner-in { grid-template-columns: minmax(0, 1fr); }
  .me-coins { justify-items: start; text-align: left; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero-photo { inset: 0; }
  .round { gap: 10px; font-size: .82rem; }
  .round-clock { font-size: 1.15rem; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs div:nth-child(3) { padding-left: 0; }
  .figs div:nth-child(3)::before { display: none; }
  .figs div:nth-child(3)::after { left: 0; }
  .figs div { padding-bottom: 22px; }
  .figs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .banner-in { grid-template-columns: minmax(0, 1fr); }
  .banner-art { display: none; }
  .hide-s { display: none; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-main { border-right: 0; border-bottom: 1px dashed #2c2c2c; }
  .maker { grid-template-columns: minmax(0, 1fr); }
  .podium { gap: 6px; }
  .podium li { padding: 18px 8px 16px; }
  .podium strong { font-size: 1.1rem; }
  .podium b { font-size: 1.3rem; }
  .podium-pic { width: 48px; height: 48px; font-size: 1.1rem; }
  .podium-1 .podium-pic { width: 60px; height: 60px; }
  .versions::before { left: 5px; }
  .versions li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 30px; }
  .versions li::before { left: 0; }
  .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmd summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 12px; }
  .cmd-sum { grid-column: 1; font-size: .92rem; }
  .cmd-plus { grid-row: 1; grid-column: 2; }
  .legal-facts div, .legal-points li, .t-facts div { grid-template-columns: minmax(0, 1fr); }
  .legal-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .legal-table > .is-head { display: none; }
  .me-id { flex-direction: column; align-items: flex-start; }
  .buddy-bubble { width: min(16rem, calc(100vw - 36px)); }
  .buddy-bot { width: 4.8rem; }
  .ck-btn span { display: none; }
  .ck-btn { padding: 9px; }
  .skin-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .insp-sites { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Formulaire d'alerte : les champs sur une ligne, le skin prend la place qui reste */
.alert-row select, .alert-row .euro input { width: auto; }
.alert-row select[name=skin] { flex: 1 1 14rem; }
.alert-row .euro { flex: 0 0 auto; }

/* Téléphone : le menu ouvert passe au-dessus de tout, et le fil passe à la ligne au lieu de couper */
.top:has(.menu.is-open) { z-index: 80; backdrop-filter: none; }
@media (max-width: 980px) { .menu { background: var(--bg); } }
@media (max-width: 700px) {
  .k { flex-wrap: wrap; gap: 4px 8px; white-space: normal; }
  .k > * { overflow: visible; }
  .feed .k:nth-last-child(n+5) { display: none; }
}

/* ---------- Skins façon inventaire de CS:GO ---------- */
/* La case : fond dégradé, la silhouette de l'arme, la couleur de rareté en bande dessous avec sa lueur */
.skin-pick { gap: 6px; }
.skin-chip { position: relative; overflow: hidden; display: grid; align-content: end; gap: 1px; min-height: 92px; padding: 12px 14px 14px; background: radial-gradient(90% 80% at 50% 120%, color-mix(in srgb, var(--r) 26%, transparent), transparent 70%), linear-gradient(180deg, #232427, #141416); box-shadow: inset 0 0 0 1px #2a2b30; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.skin-chip::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; background: var(--r); }
.chip-weapon { position: absolute; right: 10px; top: 12px; width: 62%; height: auto; fill: #fff; opacity: .1; transition: opacity .2s, transform .3s var(--ease); }
.skin-chip span, .skin-chip b { position: relative; }
.skin-chip span { color: #9a9ba3; }
.skin-chip:hover { background: radial-gradient(90% 80% at 50% 120%, color-mix(in srgb, var(--r) 38%, transparent), transparent 70%), linear-gradient(180deg, #28292d, #17171a); }
.skin-chip:hover .chip-weapon { opacity: .18; transform: translateX(-4px); }
.skin-chip.is-on { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7); transform: translateY(-2px); }
.skin-chip.is-on .chip-weapon { opacity: .24; }

/* L'écran d'inspection : bande de rareté en haut, grande silhouette en fond, lueur dessous, étiquettes d'état */
.insp { overflow: hidden; background: radial-gradient(70% 55% at 60% 105%, color-mix(in srgb, var(--r) 22%, transparent), transparent 70%), linear-gradient(180deg, #1b1c20, #0d0d0f 70%); box-shadow: inset 0 0 0 1px #26272c; }
.insp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--r); transition: background .4s; }
.insp .hud { display: none; }
.insp-weapon { position: absolute; right: -4%; top: 20%; width: 78%; height: auto; fill: #fff; opacity: .05; pointer-events: none; }
.insp > :not(.insp-weapon) { position: relative; }
.insp-name small { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.insp-rar, .insp-wear { padding: 3px 9px 2px; font: italic 800 .82rem/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.insp-rar { color: #000; background: var(--r); }
.insp-wear { color: #fff; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.insp-sites div { padding-left: 12px; border-left: 1px solid #2c2d33; }

/* ---------- Les vraies images des skins ---------- */
/* Les cases : comme l'inventaire, l'image au centre sur sa lueur de rareté, le nom dessous */
.skin-chip { min-height: 0; padding: 8px 12px 12px; align-content: start; }
.chip-img { position: relative; display: block; width: 82%; height: auto; margin: 0 auto 2px; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .55)); transition: transform .35s var(--ease); }
.skin-chip:hover .chip-img { transform: translateY(-3px) scale(1.04); }
.skin-chip.is-on .chip-img { transform: scale(1.06); }
/* L'inspection : le skin en grand en haut du panneau, qui arrive en tournant légèrement comme dans le jeu */
.insp-weapon { display: none; }
.insp-stage { position: relative; display: flex; justify-content: center; margin: 4px 0 8px; height: clamp(150px, 15vw, 200px); }
.insp-stage::before { content: ""; position: absolute; inset: 10% 14%; background: radial-gradient(closest-side, color-mix(in srgb, var(--r) 30%, transparent), transparent); transition: background .4s; }
.insp-img { position: relative; height: 100%; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 18px 22px rgb(0 0 0 / .6)); }
.insp-img.is-in { animation: inspect-in .7s var(--ease) both; }
@keyframes inspect-in { from { opacity: 0; transform: perspective(700px) rotateY(-28deg) translateX(-18px) scale(.94); } }
/* Le tableau du marché : la vignette devant le nom */
.skin-link { display: flex; align-items: center; gap: 12px; }
.skin-link::before { display: none; }
.skin-thumb { width: 64px; height: 48px; object-fit: contain; flex: none; padding: 2px; background: radial-gradient(closest-side, color-mix(in srgb, var(--r) 35%, transparent), transparent); box-shadow: inset 0 -2px 0 var(--r); }
.skin-txt { display: grid; }
.card-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 6px; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .5)); }

/* ---------- Le perso : la C4 ---------- */
.buddy-bot { width: 8.6rem; margin-right: -6px; }
.b-body, .b-eyes-real { animation: none; }
.b-head { transform-box: view-box; transform-origin: 65px 94px; transition: transform .3s ease-out; }
.b-code { font: 700 9.5px/1 ui-monospace, Consolas, monospace; letter-spacing: 1.2px; fill: #7dff8a; opacity: .25; }
.buddy.is-awake .b-code { opacity: 1; animation: code-blink .5s steps(2) infinite; filter: drop-shadow(0 0 2px #7dff8a); }
@keyframes code-blink { 50% { opacity: .55; } }
.b-led { animation: led 1.4s steps(1) infinite; }
.b-halo { animation: led 1.4s steps(1) infinite; }
.buddy.is-awake .b-led, .buddy.is-awake .b-halo { animation-duration: .36s; }
@keyframes led { 0% { opacity: 1; } 50% { opacity: .15; } }
.buddy-bot:hover .b-head { transform: translateY(-3px) rotate(-2deg); }
@media (max-width: 700px) { .buddy-bot { width: 6.2rem; } }
@media (prefers-reduced-motion: reduce) { .b-led, .b-halo, .b-code { animation: none !important; } }
/* La bulle : un message radio du chat de CS */
.buddy-head { flex-wrap: wrap; gap: 4px 6px; font-size: .84rem; }
.buddy-head .radio { color: var(--t); font-weight: 800; }
.buddy-head b { color: var(--ct); }
.buddy-head .radio-to { width: 100%; color: var(--muted); font-size: .74rem; font-weight: 600; }

/* ---------- Accueil, sections dans l'esprit des menus de CS2 ---------- */
/* La photo du héros s'efface en douceur vers le bas, sans bord */
.hero-photo { -webkit-mask: linear-gradient(90deg, transparent, #000 36%, #000 72%, transparent), linear-gradient(#000 45%, transparent 92%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 36%, #000 72%, transparent) intersect, linear-gradient(#000 45%, transparent 92%); }

/* Les titres : un carré orange, le titre, une ligne qui file jusqu'au lien */
.sec-head { display: block; margin-bottom: 28px; }
.sec-line { display: flex; align-items: center; gap: 16px; }
.sec-head .h2 { position: relative; padding-left: 22px; }
.sec-head .h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -6px; background: var(--t); transform: rotate(45deg); }
.sec-head .h2::after { display: none; }
.sec-rule { flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-head .sec-lead { margin: 10px 0 0 22px; }
.sec-head .more { flex: none; padding: 8px 14px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .88rem; transition: background .2s, box-shadow .2s, color .2s; }
.sec-head .more:hover { color: #000; background: var(--t); box-shadow: none; }

/* Tout ce qu'il sait faire : cinq cartes comme des caisses d'armes */
.cases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.case { --c: var(--t); }
.case-ct { --c: var(--ct); }
.case a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 20px 18px 18px; overflow: hidden; text-decoration: none; background: radial-gradient(120% 70% at 50% 115%, color-mix(in srgb, var(--c) 20%, transparent), transparent 65%), linear-gradient(180deg, #1c1d21, #111214); box-shadow: inset 0 0 0 1px #26272c; transition: transform .3s var(--ease), box-shadow .3s; }
.case a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); }
.case a::before { content: ""; position: absolute; right: -30%; top: -30%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 18%, transparent), transparent); opacity: 0; transition: opacity .3s; }
.case-top { display: flex; align-items: flex-start; justify-content: space-between; }
.case-ic { width: 40px; height: 40px; fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.case-top small { color: var(--muted); font-size: .76rem; font-weight: 800; }
.case strong { margin-top: 22px; font: 800 1.45rem/1 var(--display); text-transform: uppercase; }
.case-lead { margin-top: 8px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.case-cmds { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 18px; }
.case-cmds code { font-size: .74rem; }
.case-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--c); font-weight: 800; font-size: .84rem; }
.case a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.case a:hover::before { opacity: 1; }
.case a:hover .arrow { translate: 3px 0; }

/* Le classement : le tableau des scores, médailles pour le podium */
.score { box-shadow: inset 0 0 0 1px #222; background: linear-gradient(180deg, #121316, #0c0c0e); }
.score-head, .score-row { display: grid; grid-template-columns: 3rem minmax(0, 1.2fr) minmax(0, 1fr) 7rem; align-items: center; gap: 12px; padding: 0 18px; }
.score-head { height: 40px; color: var(--muted); background: #17181b; font-size: .76rem; font-weight: 800; }
.score-row { position: relative; height: 56px; border-top: 1px solid #1c1d20; transition: background .15s; }
.score-row:nth-child(odd) { background: rgb(255 255 255 / .015); }
.score-row:hover { background: rgb(255 255 255 / .04); }
.score-row::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--t); }
.score-row.side-ct::before { background: var(--ct); }
.score-rank { display: grid; place-items: center; width: 28px; height: 28px; color: var(--soft); background: #1b1c1f; font: 800 1rem/1 var(--display); }
.medal-1 .score-rank { color: #1a1205; background: #e4ae39; }
.medal-2 .score-rank { color: #121316; background: #c3c7cf; }
.medal-3 .score-rank { color: #1a0f06; background: #c07a43; }
.score-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.score-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-av { display: grid; place-items: center; width: 32px; height: 32px; flex: none; color: #fff; background: #26272c; font: 800 .82rem/1 var(--display); }
.score-row .n, .score-head .n { text-align: right; }
.score-row .n { font: 800 1.25rem/1 var(--display); font-variant-numeric: tabular-nums; }

/* Le prochain tournoi : une carte de match */
.match { display: flex; flex-direction: column; text-decoration: none; background: linear-gradient(180deg, #16171a, #0e0e10); box-shadow: inset 0 0 0 1px #24252a; transition: box-shadow .25s, transform .3s var(--ease); }
.match:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .6); }
.match-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--t); color: #000; font-weight: 800; font-size: .86rem; }
.match-head b { font: italic 900 1.3rem/1 var(--display); }
.match-body { display: grid; gap: 16px; padding: 22px 20px 6px; }
.match-body strong { font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.match-maps { display: flex; flex-wrap: wrap; gap: 6px; }
.match-maps i { padding: 4px 9px; color: var(--soft); background: #1d1e22; font-style: normal; font-weight: 700; font-size: .78rem; }
.match-cd { gap: 6px; }
.match-cd > span { min-width: 0; flex: 1; padding: 10px 0 8px; background: #0a0a0b; box-shadow: inset 0 0 0 1px #222; }
.match-cd b { font-size: 1.8rem; }
.match-fill { display: grid; gap: 6px; }
.match-fill small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.match-prize { color: var(--t); font-weight: 800; font-size: .9rem; }
.match-go { display: flex; align-items: center; justify-content: space-between; margin: 16px 20px 20px; padding: 13px 16px; color: #000; background: #fff; font-weight: 800; transition: background .2s; }
.match:hover .match-go { background: var(--t); }

/* Le créateur : une carte de profil de joueur */
.player { position: relative; overflow: hidden; background: linear-gradient(180deg, #15161a, #0d0d0f); box-shadow: inset 0 0 0 1px #24252a; }
.player-banner { height: 92px; background: repeating-linear-gradient(115deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 12px), linear-gradient(100deg, #6a4210, var(--t) 45%, #1a1208 46%, #0f0f11 62%); }
.player-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 28px; padding: 0 28px 28px; margin-top: -52px; }
.player-pic { position: relative; }
.player-pic img { display: block; width: 132px; height: 132px; object-fit: cover; border: 4px solid #0d0d0f; box-shadow: 0 0 0 1px #2c2d33; }
.player-lvl { position: absolute; left: 50%; bottom: -10px; translate: -50% 0; padding: 3px 10px 2px; color: #000; background: var(--t); font: italic 800 .78rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.player-kicker { color: var(--muted); font-weight: 700; font-size: .86rem; }
.player-name { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); text-transform: uppercase; }
.player-bio { max-width: 36rem; margin-top: 8px; color: var(--soft); }
.player-links { display: grid; gap: 8px; }
.player-links a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 15rem; padding: 11px 14px; text-decoration: none; background: #1a1b1f; box-shadow: inset 0 0 0 1px #2a2b30; transition: box-shadow .2s, background .2s; }
.player-links a:hover { background: #202126; box-shadow: inset 0 0 0 1px var(--t); }
.player-links .icon { width: 20px; height: 20px; }
.player-links a > span:first-child { grid-column: 1 / 3; }
.player-links b { display: block; font-size: .92rem; }
.player-links small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }

/* L'appel final : les bandes orange en biais du pack */
.join-in { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 340px; padding: clamp(36px, 5vw, 64px); text-align: left; background: #111113; }
.join-art { position: absolute; inset: 0 0 0 48%; background: var(--t); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.join-art i { position: absolute; top: 0; bottom: 0; background: #ffd08a; transform: skewX(-24deg); opacity: .75; }
.join-art i:nth-child(1) { left: 18%; width: 5px; }
.join-art i:nth-child(2) { left: 22%; width: 14px; }
.join-art i:nth-child(3) { right: 12%; width: 40px; opacity: .35; }
.join-art::after { content: ""; position: absolute; right: 6%; bottom: 0; width: 28%; height: 40%; background: repeating-linear-gradient(115deg, rgb(0 0 0 / .18) 0 1.5px, transparent 1.5px 7px); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.join-text { position: relative; max-width: 34rem; }
.join-in p { margin: 16px 0 28px; }
.join-in .cta { justify-content: flex-start; }
.join .hud { display: none; }

@media (max-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } .player-in { grid-template-columns: auto minmax(0, 1fr); } .player-links { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
@media (max-width: 700px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-rule { display: none; }
  .sec-line { flex-wrap: wrap; }
  .score-head, .score-row { grid-template-columns: 2.4rem minmax(0, 1fr) 5.5rem; padding: 0 12px; }
  .player-in { grid-template-columns: minmax(0, 1fr); padding: 0 20px 22px; }
  .join-in { min-height: 0; }
  .join-art { inset: auto 0 0 0; height: 70px; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
  .join-text { padding-bottom: 70px; }
}

/* La carte du créateur : ses liens en ligne sous le profil */
.player-in { grid-template-columns: auto minmax(0, 1fr); }
.player-links { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-links a { min-width: 0; }
@media (max-width: 700px) { .player-links { grid-template-columns: minmax(0, 1fr); } }
/* Le code de la C4 tient dans son écran */
.b-code { font-size: 7.4px; letter-spacing: .6px; }
.player-in { align-items: start; }
.player-main { padding-top: 64px; }
@media (max-width: 700px) { .player-main { padding-top: 6px; } }

/* La bombe, version modèle : l'écran jaune-vert, le code en noir */
.buddy-bot { width: 7rem; margin-right: 0; }
@media (max-width: 700px) { .buddy-bot { width: 5.2rem; } }
.b-code { font: 700 11.5px/1 ui-monospace, Consolas, monospace; letter-spacing: 1px; fill: #141a05; opacity: 1; filter: none; }
.buddy.is-awake .b-code { animation: code-blink .5s steps(2) infinite; filter: none; }
@keyframes code-blink { 50% { opacity: .35; } }
.b-head { transform-origin: 100px 200px; }
/* Le reflet du sticker passe quand la bombe parle */
.b-shine { transform-box: view-box; animation: none; }
.buddy.is-awake .b-shine { animation: shine 1.6s ease-in-out infinite; }
@keyframes shine { 0% { transform: translateX(0); opacity: 0; } 30% { opacity: .5; } 70% { transform: translateX(30px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Accueil : le bot en direct dans Discord ---------- */
.hero-dc { min-height: 0; padding: 120px 0 56px; }
.hero-dc .hero-in { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-logo { display: block; width: 96px; height: 96px; margin-bottom: 22px; clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%); }
.hero-dc .hero-title { margin: 0; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.hero-dc .hero-title span { margin-left: 10px; color: var(--muted); font-size: .4em; letter-spacing: .04em; vertical-align: .35em; }
.hero-dc .hero-lead { margin: 16px 0 26px; font-size: 1.08rem; }
.btn-discord { color: #fff; background: #5865f2; box-shadow: none; }
.btn-discord:hover { color: #fff; background: #4752c4; box-shadow: none; }
.hero-dc .hero-meta { margin-top: 20px; }
.hero-dc .hero-meta b { color: #fff; font-variant-numeric: tabular-nums; }
.hero-live { position: relative; }
/* Le killfeed, posé sur le coin de la fenêtre comme en jeu */
.hero-live .feed { position: absolute; z-index: 2; right: -10px; top: -26px; min-height: 0; margin: 0; pointer-events: none; }
.hero-live .feed .k:nth-last-child(n+5) { display: none; }
.hero-live .k { box-shadow: inset 0 0 0 1px #2a2a2a, 0 8px 20px -8px #000; }

/* La fenêtre Discord */
.dc { display: grid; grid-template-columns: 64px 200px minmax(0, 1fr); height: 500px; color: #dbdee1; background: #313338; box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #3a3c42; overflow: hidden; font-size: .92rem; }
.dc-servers { display: grid; align-content: start; justify-items: center; gap: 8px; padding: 12px 0; background: #1e1f22; }
.dc-servers i { width: 44px; height: 44px; border-radius: 50%; background: #2f3136; }
.dc-servers i.on { border-radius: 14px; background: url(../img/logo-64.webp) center / cover; box-shadow: -10px 0 0 -6px #fff; }
.dc-chans { padding: 0 8px; background: #2b2d31; color: #949ba4; }
.dc-chans p { padding: 6px 8px; border-radius: 4px; }
.dc-chans .dc-guild { margin: 0 -8px 10px; padding: 14px 16px; color: #fff; font-weight: 700; border-bottom: 1px solid #1f2023; border-radius: 0; }
.dc-chans .on { color: #fff; background: #404249; }
.dc-chat { display: flex; flex-direction: column; min-width: 0; }
.dc-top { padding: 13px 18px; color: #fff; font-weight: 700; border-bottom: 1px solid #26282c; }
.dc-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 16px 18px 8px; overflow: hidden; }
.dc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; animation: dc-in .35s ease-out both; }
@keyframes dc-in { from { opacity: 0; transform: translateY(10px); } }
.dc-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #4f545c; font: 800 .86rem/1 var(--display); }
.dc-used { color: #949ba4; font-size: .78rem; }
.dc-used b { color: #c9cdfb; font-weight: 600; }
.dc-who { color: #fff; font-weight: 700; }
.dc-who small { margin-left: 6px; padding: 0 4px; color: #fff; background: #5865f2; border-radius: 3px; font-size: .6rem; vertical-align: 2px; }
.dc-who em { margin-left: 8px; color: #949ba4; font-style: normal; font-size: .72rem; font-weight: 500; }
.dc-emb { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 6px 16px; max-width: 470px; margin-top: 6px; padding: 12px 14px 14px; background: #2b2d31; border-left: 4px solid var(--r); border-radius: 4px; }
.dc-name { color: #fff; font-weight: 700; }
.dc-rar { color: var(--r); font-size: .8rem; font-weight: 700; }
.dc-emb img { grid-column: 2; grid-row: 1 / 4; width: 130px; height: auto; align-self: center; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .5)); }
.dc-emb dl { display: flex; gap: 18px; margin-top: 6px; }
.dc-emb dt { color: #b5bac1; font-size: .7rem; font-weight: 700; }
.dc-emb dd { color: #fff; font-weight: 700; white-space: nowrap; }
.dc-btns { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 4px; }
.dc-btns span { padding: 5px 12px; color: #fff; background: #4e5058; border-radius: 3px; font-size: .76rem; font-weight: 700; }
.dc-btns .red { background: #da373c; }
.dc-input { margin: 4px 18px 18px; padding: 12px 16px; min-height: 46px; color: #dbdee1; background: #383a40; border-radius: 8px; white-space: nowrap; overflow: hidden; }
.dc-slash { color: #c9cdfb; }
.dc-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; background: #fff; vertical-align: -3px; animation: dc-caret 1s steps(1) infinite; }
@keyframes dc-caret { 50% { opacity: 0; } }
html.intro-play .hero-live { opacity: 0; }
html.intro-done .hero-live { animation: rise .8s .45s var(--ease) both; }

/* ---------- Le menu d'achat ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); background: linear-gradient(180deg, #131417, #0d0d0f); box-shadow: inset 0 0 0 1px #24252a; }
.buy-cats { border-right: 1px solid #222; }
.buy-cat { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; color: var(--soft); background: none; border: 0; border-bottom: 1px solid #1c1d20; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.buy-cat kbd { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: var(--muted); background: none; box-shadow: inset 0 0 0 1px #3a3b40; font: 800 .9rem/1 var(--display); }
.buy-cat b { font: 800 1.2rem/1.05 var(--display); text-transform: uppercase; }
.buy-cat small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.buy-cat:hover { color: #fff; background: rgb(255 255 255 / .03); }
.buy-cat.is-on { color: #fff; background: linear-gradient(90deg, rgb(240 178 74 / .16), transparent); box-shadow: inset 3px 0 0 var(--t); }
.buy-cat.is-on kbd { color: #000; background: var(--t); box-shadow: none; }
.buy-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buy-panel[hidden] { display: none; }
.buy-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-content: start; padding: 20px 24px; border-bottom: 1px solid #1c1d20; border-right: 1px solid #1c1d20; text-decoration: none; transition: background .15s; animation: dc-in .3s ease-out both; }
.buy-item:nth-child(2) { animation-delay: .04s; } .buy-item:nth-child(3) { animation-delay: .08s; } .buy-item:nth-child(4) { animation-delay: .12s; } .buy-item:nth-child(n+5) { animation-delay: .16s; }
.buy-item:hover { background: rgb(255 255 255 / .03); }
.buy-item:hover code { color: #000; background: var(--t); box-shadow: none; }
.buy-item code { justify-self: start; font-size: .95rem; }
.buy-item kbd { grid-row: 1; grid-column: 2; padding: 0; color: var(--muted); background: none; box-shadow: none; font: 800 .8rem var(--display); }
.buy-sum { grid-column: 1 / -1; color: var(--soft); font-size: .9rem; }
.buy-ex { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 980px) {
  .hero-dc .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-live .feed { position: static; align-items: flex-end; margin: 0 0 10px; }
}
@media (max-width: 700px) {
  .hero-dc { padding-top: 100px; }
  .dc { grid-template-columns: minmax(0, 1fr); height: 470px; }
  .dc-servers, .dc-chans { display: none; }
  .dc-emb { grid-template-columns: minmax(0, 1fr) 84px; }
  .dc-emb img { width: 84px; }
  .dc-emb dl { gap: 10px; flex-wrap: wrap; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy-cats { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #222; }
  .buy-cat { grid-template-columns: auto auto; flex: none; width: auto; padding: 14px 16px; border-bottom: 0; }
  .buy-cat small { display: none; }
  .buy-panel { grid-template-columns: minmax(0, 1fr); }
}

/* La fenêtre garde sa hauteur : les anciens messages montent et disparaissent, la zone de saisie reste visible */
.dc-chat, .dc-msgs { min-height: 0; }
.dc-msgs { justify-content: flex-end; }
.dc-msg { flex: none; }
/* Le killfeed juste au-dessus de la fenêtre, aligné à droite, trois lignes */
.hero-live .feed { position: static; align-items: flex-end; margin: 0 0 10px; min-height: 92px; justify-content: flex-end; }
.hero-live .feed .k:nth-last-child(n+4) { display: none; }

/* ---------- Le killfeed, sous le bouton de l'accueil ---------- */
.hero-kills { margin-top: 30px; }
.hero-kills-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-weight: 700; font-size: .82rem; }
.hero-kills .feed { position: static; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; margin: 0; }
.hero-kills .feed .k:nth-last-child(n+5) { display: none; }
.hero-kills .k { gap: 8px; padding: 6px 10px; max-width: 100%; background: rgb(0 0 0 / .66); box-shadow: inset 0 0 0 1px #262626; font-size: .84rem; }
.k-who { flex: none; font-weight: 800; }
.k-who.t, .k-vic.t { color: var(--t); } .k-who.ct, .k-vic.ct { color: var(--ct); }
.k-gun { width: 40px; height: 14px; flex: none; fill: #e8e8e8; }
.k-flag { width: 15px; height: 15px; flex: none; fill: #e8e8e8; }
.k-vic { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.k-vic code { flex: none; padding: .15em .4em; color: #cfcfcf; background: #1c1c1c; box-shadow: none; font-size: .74rem; }
.hero-live .feed { display: none; }
.k.is-new { animation: k-in .4s var(--ease) both; }

/* ---------- Ce que répond /skin : des cases plus petites, sur trois colonnes ---------- */
.inspect-text .skin-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.inspect-text .skin-chip { padding: 6px 8px 9px; }
.inspect-text .chip-img { width: 92%; margin-bottom: 0; }
.inspect-text .skin-chip span { font-size: .68rem; }
.inspect-text .skin-chip b { font-size: .92rem; }
@media (max-width: 700px) { .inspect-text .skin-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Les logos en rond ; sur l'accueil, le logo à côté du titre */
.brand img, .foot-brand img { border-radius: 50%; clip-path: none; }
.hero-id { display: flex; align-items: center; gap: 20px; }
.hero-dc .hero-logo { width: 84px; height: 84px; margin: 0; flex: none; border-radius: 50%; clip-path: none; box-shadow: 0 0 0 3px #0d0d0d, 0 0 0 4px var(--t); }
@media (max-width: 700px) { .hero-id { gap: 14px; } .hero-dc .hero-logo { width: 60px; height: 60px; } }
.hero-dc .hero-title span { display: block; margin: 8px 0 0; font-size: .34em; vertical-align: 0; }

/* Le panneau d'inspection, plus compact */
.inspect-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.insp { padding: 18px 22px 18px; }
.insp-stage { height: clamp(110px, 10vw, 140px); margin: 0 0 6px; }
.insp-name { margin-top: 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.insp-name small { margin-top: 8px; }
.insp-row { margin-top: 14px; gap: 12px 22px; }
.insp-price { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.insp-sites dd { font-size: 1.05rem; }
.wear { margin-top: 16px; }
.insp-chart { height: 56px; margin-top: 14px; }
.insp-foot { margin-top: 4px; }
.inspect-text .skin-pick { max-width: 470px; }

/* ---------- Le menu d'achat, comme celui de CS2 : cinq colonnes, des cases d'armes, « Gratuit » en vert ---------- */
.bm { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bm-col { display: grid; align-content: start; gap: 6px; padding: 8px; background: rgb(10 10 12 / .7); box-shadow: inset 0 0 0 1px #1f2024; transition: box-shadow .25s, background .25s; }
.bm-col.is-on { background: rgb(18 18 21 / .9); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .45); }
.bm-head { display: flex; align-items: center; gap: 10px; padding: 6px 6px 10px; border-bottom: 1px solid #222; }
.bm-head kbd { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: var(--muted); background: none; box-shadow: inset 0 0 0 1px #3a3b40; font: 800 .82rem/1 var(--display); }
.bm-col.is-on .bm-head kbd { color: #000; background: var(--t); box-shadow: none; }
.bm-head b { font: 800 1rem/1.05 var(--display); text-transform: uppercase; }
.bm-item { position: relative; display: grid; gap: 2px; padding: 10px 10px 10px; overflow: hidden; text-decoration: none; background: linear-gradient(180deg, #1b1c20, #131417); box-shadow: inset 0 0 0 1px #26272c; transition: box-shadow .2s, background .2s; }
.bm-item img { position: absolute; right: -10%; top: 4px; width: 66%; height: auto; opacity: .55; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .5)); transition: opacity .25s, transform .3s var(--ease); }
.bm-item > :not(img) { position: relative; }
.bm-top { display: flex; align-items: center; justify-content: space-between; }
.bm-top kbd { padding: 0 5px; color: var(--muted); background: #0d0d0f; box-shadow: inset 0 0 0 1px #2c2d33; font: 800 .72rem/1.5 var(--display); }
.bm-price { color: #79e08a; font: 800 .82rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 2px #000; }
.bm-item strong { margin-top: 26px; font: 800 1.02rem/1.1 var(--display); text-transform: none; color: #fff; text-shadow: 0 1px 3px #000; }
.bm-sum { color: var(--muted); font-size: .76rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-item:hover { background: linear-gradient(180deg, #23242a, #17181c); box-shadow: inset 0 0 0 1px var(--t); }
.bm-item:hover img { opacity: .9; transform: translateX(-6px) scale(1.04); }

/* ---------- Le tableau des scores, comme la touche Tab ---------- */
.sb { display: grid; gap: 10px; }
.sb-team { background: rgb(10 10 12 / .78); box-shadow: inset 0 0 0 1px #1f2024; }
.sb-head, .sb-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: center; gap: 16px; padding: 0 18px; }
.sb-head { position: relative; grid-template-columns: auto minmax(0, 1fr) minmax(0, 30rem); height: 48px; padding-left: 0; }
.sb-ct .sb-head { background: linear-gradient(90deg, rgb(106 168 255 / .3), rgb(106 168 255 / .06) 60%); }
.sb-t .sb-head { background: linear-gradient(90deg, rgb(240 178 74 / .3), rgb(240 178 74 / .06) 60%); }
.sb-score { display: grid; place-items: center; height: 100%; min-width: 92px; padding: 0 14px; color: #000; font: 800 1.5rem/1 var(--display); }
.sb-ct .sb-score { background: var(--ct); } .sb-t .sb-score { background: var(--t); }
.sb-name { font: 800 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sb-ct .sb-name { color: #b9d4ff; } .sb-t .sb-name { color: #ffd894; }
.sb-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 8px; text-align: right; }
.sb-head .sb-cols { color: var(--muted); font-size: .72rem; font-weight: 800; }
.sb-row { height: 46px; border-top: 1px solid #18191c; font-weight: 700; }
.sb-row:nth-child(even) { background: rgb(255 255 255 / .02); }
.sb-row:hover { background: rgb(255 255 255 / .05); }
.sb-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sb-av { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: #fff; background: #26272c; font: 800 .78rem/1 var(--display); }
.sb-ct .sb-av { box-shadow: inset 0 -2px 0 var(--ct); } .sb-t .sb-av { box-shadow: inset 0 -2px 0 var(--t); }
.sb-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-who small { color: var(--muted); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.sb-row .sb-cols { color: var(--soft); font-variant-numeric: tabular-nums; }
.sb-mvp { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; color: #e4ae39; }
.sb-mvp svg { width: 14px; height: 14px; fill: currentColor; }
.sb-pts { color: #fff; font: 800 1.15rem/1 var(--display); }

/* Le prochain tournoi, en largeur : les infos à gauche, le compte à rebours et le bouton à droite */
.match-wide .match-body { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 24px; align-items: center; padding: 22px 22px 22px; }
.match-main, .match-side { display: grid; gap: 14px; }
.match-wide .match-go { margin: 0; }

/* ---------- La fenêtre Discord « Ajouter à un serveur » sur le panneau orange ---------- */
.auth { position: absolute; z-index: 1; right: 9%; top: 50%; width: min(330px, 74%); translate: 0 -50%; rotate: -3deg; padding: 22px 20px 18px; color: #dbdee1; background: #313338; border-radius: 8px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .2); font-size: .84rem; }
.auth-top { display: flex; align-items: center; gap: 12px; }
.auth-top img { width: 48px; height: 48px; border-radius: 50%; }
.auth-top b { color: #fff; font-size: 1.05rem; }
.auth-top small { margin-left: 6px; padding: 0 4px; color: #fff; background: #5865f2; border-radius: 3px; font-size: .62rem; vertical-align: 2px; }
.auth-q { margin-top: 12px; color: #b5bac1; }
.auth-lab { margin-top: 14px; color: #b5bac1; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.auth-select { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 10px; color: #fff; background: #1e1f22; border-radius: 4px; font-weight: 600; }
.auth-select svg { width: 16px; height: 16px; margin-left: auto; fill: none; stroke: #b5bac1; stroke-width: 2; }
.auth-guild { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #5865f2; font-size: .62rem; font-weight: 800; }
.auth-perms { display: grid; gap: 6px; margin-top: 8px; }
.auth-perms li { position: relative; padding-left: 24px; color: #dbdee1; }
.auth-perms li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #23a55a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3'/></svg>") center / 12px no-repeat; }
.auth-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.auth-btns span { padding: 8px 16px; border-radius: 3px; color: #dbdee1; font-weight: 600; }
.auth-btns .go { color: #fff; background: #5865f2; }

@media (max-width: 1100px) { .bm { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sb-head, .sb-row { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); } .sb-head { grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem); } }
@media (max-width: 760px) {
  .bm { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .bm-col { flex: 0 0 72%; scroll-snap-align: start; }
  .sb-head .sb-cols span:not(:last-child), .sb-row .sb-cols span:not(:last-child) { display: none; }
  .sb-cols { grid-template-columns: minmax(0, 1fr); }
  .sb-head, .sb-row { grid-template-columns: minmax(0, 1fr) 6rem; }
  .sb-head { grid-template-columns: auto minmax(0, 1fr) 6rem; }
  .sb-who small { display: none; }
  .match-wide .match-body { grid-template-columns: minmax(0, 1fr); }
  .auth { display: none; }
}

.bm-more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; color: var(--soft); font-weight: 800; font-size: .84rem; text-decoration: none; box-shadow: inset 0 0 0 1px #26272c; transition: color .2s, box-shadow .2s; }
.bm-more:hover { color: #000; background: var(--t); box-shadow: none; }
/* La fenêtre « Ajouter à un serveur » tient dans le panneau */
.join-in { min-height: 380px; }
.auth { width: min(300px, 70%); padding: 16px 16px 14px; font-size: .78rem; }
.auth-top img { width: 40px; height: 40px; }
.auth-top b { font-size: .98rem; }
.auth-q { margin-top: 8px; }
.auth-lab { margin-top: 10px; }
.auth-perms { gap: 4px; margin-top: 6px; }
.auth-btns { margin-top: 12px; }
.auth-btns span { padding: 6px 14px; }
.join-in .auth p { margin: 0; }
.join-in .auth-q { margin-top: 8px; }
.join-in .auth-lab { margin-top: 12px; }
.join-in .auth-select { margin-top: 6px; }
.join-in .auth-btns { margin-top: 12px; }
.join-in .auth p.auth-q { margin-top: 8px; }
.join-in .auth p.auth-lab { margin-top: 12px; }
.join-in .auth p.auth-select { margin-top: 6px; }
.join-in .auth p.auth-btns { margin-top: 12px; }

/* ---------- La barre de défilement, aux couleurs du site : fine, carrée, orange sur un rail sombre ---------- */
html { scrollbar-color: var(--t) #0a0a0b; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0b; box-shadow: inset 1px 0 0 #1d1d1d; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ffcd7a, var(--t) 40%, #c9862f); border: 2px solid #0a0a0b; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #ffcd7a; }
::-webkit-scrollbar-corner { background: #0a0a0b; }

/* ---------- Menu d'achat : l'icône de chaque commande ---------- */
.bm-ic { position: absolute; right: 10px; top: 30px; width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .22; transition: opacity .25s, transform .3s var(--ease), stroke .25s; }
.bm-item:hover .bm-ic, .bm-col.is-on .bm-item:hover .bm-ic { opacity: .9; stroke: var(--t); transform: translateX(-4px); }
.bm-col.is-on .bm-ic { opacity: .32; }
.bm-item strong { margin-top: 30px; }

/* ---------- Les avatars Discord ---------- */
.dav, .sb-av { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; }
.dav-default svg { width: 62%; height: 62%; }
.sb-av { box-shadow: none !important; }
.sb-ct .sb-row .sb-av { outline: 2px solid rgb(106 168 255 / .55); outline-offset: 1px; }
.sb-t .sb-row .sb-av { outline: 2px solid rgb(240 178 74 / .55); outline-offset: 1px; }

/* ---------- Le prochain tournoi : le choix des maps ---------- */
.veto { display: grid; grid-template-columns: auto minmax(0, 22rem) minmax(0, 1fr); gap: 0; min-height: 260px; text-decoration: none; background: linear-gradient(180deg, #141518, #0d0d0f); box-shadow: inset 0 0 0 1px #24252a; transition: box-shadow .25s; }
.veto:hover { box-shadow: inset 0 0 0 1px rgb(240 178 74 / .55); }
.veto-date { display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 120px; padding: 20px; border-right: 1px solid #222; text-transform: uppercase; }
.veto-date b { font: 800 4rem/.9 var(--display); }
.veto-date span { color: var(--t); font: 800 1.2rem/1 var(--display); letter-spacing: .08em; }
.veto-date small { margin-top: 10px; padding: 4px 10px; color: #fff; background: #1c1d21; font-weight: 800; font-size: .82rem; text-transform: none; }
.veto-info { display: grid; align-content: center; gap: 12px; padding: 24px 26px; border-right: 1px solid #222; }
.veto-info strong { font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.veto-meta { color: var(--muted); font-weight: 700; font-size: .88rem; }
.veto-cd { gap: 6px; }
.veto-cd > span { flex: 1; min-width: 0; padding: 8px 0 6px; background: #0a0a0b; box-shadow: inset 0 0 0 1px #222; }
.veto-cd b { font-size: 1.5rem; }
.veto-fill { display: grid; gap: 6px; }
.veto-fill small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.veto-go { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; color: #000; background: #fff; font-weight: 800; transition: background .2s; }
.veto:hover .veto-go { background: var(--t); }
/* Les maps : des cartes hautes en couleurs de la map, le nom en bas, comme l'écran de choix des maps */
.veto-maps { display: flex; gap: 6px; padding: 14px; overflow: hidden; }
.veto-map { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding: 12px 10px; overflow: hidden; background: linear-gradient(180deg, var(--m1), var(--m2)); transform: skewX(-6deg); transition: flex .4s var(--ease); }
.veto-map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / .06) 0 2px, transparent 2px 9px), linear-gradient(transparent 40%, rgb(0 0 0 / .65)); }
.veto-map > * { position: relative; transform: skewX(6deg); }
.veto-map small { color: rgb(255 255 255 / .7); font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.veto-map b { overflow: hidden; color: #fff; font: 800 1.25rem/1.05 var(--display); text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 2px 6px rgb(0 0 0 / .5); }
.veto-map:hover { flex: 1.8; }

/* ---------- Le créateur : une carte de streamer ---------- */
.streamer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.streamer-screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0e0e10; box-shadow: 0 0 0 1px #2a2b30, 0 30px 60px -30px #000; }
.streamer-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.72); transition: transform .6s var(--ease), filter .3s; }
.streamer-screen:hover > img { transform: scale(1.04); filter: brightness(.85); }
.streamer-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; color: #fff; background: #9146ff; font-weight: 800; font-size: .78rem; }
.streamer-badge .icon { width: 15px; height: 15px; }
.streamer-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgb(0 0 0 / .55); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .7); transition: background .2s, transform .3s var(--ease); }
.streamer-play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.streamer-screen:hover .streamer-play { background: #9146ff; transform: scale(1.06); }
.streamer-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .85)); }
.streamer-bar img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px #9146ff; }
.streamer-bar b { display: block; color: #fff; font-size: .92rem; }
.streamer-bar small { display: block; color: #bfbfc6; font-size: .76rem; font-weight: 600; }
.streamer-k { color: var(--muted); font-weight: 700; font-size: .88rem; }
.streamer-name { margin-top: 4px; font: 800 clamp(2.6rem, 5vw, 3.8rem)/.95 var(--display); text-transform: uppercase; }
.streamer-bio { max-width: 30rem; margin: 14px 0 24px; color: var(--soft); font-size: 1.02rem; }
.streamer-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn-twitch { color: #fff; background: #9146ff; box-shadow: none; }
.btn-twitch:hover { background: #772ce8; box-shadow: none; }
.streamer-btns .btn .icon { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .veto { grid-template-columns: auto minmax(0, 1fr); }
  .veto-maps { grid-column: 1 / -1; height: 150px; border-top: 1px solid #222; }
  .veto-info { border-right: 0; }
  .streamer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .veto { grid-template-columns: minmax(0, 1fr); }
  .veto-date { grid-template-columns: auto auto auto; justify-content: start; gap: 10px; border-right: 0; border-bottom: 1px solid #222; padding: 14px 20px; }
  .veto-date b { font-size: 2.4rem; }
  .veto-date small { margin: 0; }
  .veto-maps { height: 120px; }
}
.bm-item > .bm-ic { position: absolute; }

/* Le tir dans l'intro : l'impact au centre du réticule, le kill en haut à droite */
.sc-hit { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; opacity: 0; overflow: visible; }
.sc-hit path { fill: none; stroke: #ffcf7a; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px #f0b24a); }
.sc-hit circle { fill: #fff; }
.sc-kill { position: absolute; right: 26px; top: 56px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; opacity: 0; background: rgb(0 0 0 / .7); box-shadow: inset 0 0 0 1px #c7322a; font-weight: 800; font-size: .92rem; }
.sc-kill .t { color: var(--t); } .sc-kill .ct { color: var(--ct); }
.sc-kill .k-gun { width: 46px; height: 16px; fill: #eee; }
.sc-kill .k-flag { width: 17px; height: 17px; fill: #eee; }
.sc-hit { z-index: 2; }
.sc-kill { z-index: 3; }

/* ---------- La bulle de la bombe : le boîtier de la C4, son écran jaune-vert, ses vis, ses fils ---------- */
.buddy-bubble { width: 17rem; margin-bottom: 0; padding: 12px 14px 14px; filter: drop-shadow(0 16px 26px rgb(0 0 0 / .65)); }
.buddy-bubble::before { background: linear-gradient(180deg, #2c2e2c, #1b1c1b); clip-path: none; box-shadow: inset 0 0 0 1px #3a3d3a, inset 0 2px 0 #444845; }
.buddy-bubble::after { display: none; }
.buddy-edge { display: none; }
.buddy-screws i { position: absolute; z-index: 0; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9a9ea3, #4b4e52); box-shadow: 0 0 0 1px #111; }
.buddy-screws i:nth-child(1) { left: 6px; top: 6px; } .buddy-screws i:nth-child(2) { right: 6px; top: 6px; }
.buddy-screws i:nth-child(3) { left: 6px; bottom: 6px; } .buddy-screws i:nth-child(4) { right: 6px; bottom: 6px; }
.buddy-head { display: block; margin: 4px 22px 10px 6px; }
.buddy-lcd { display: flex; align-items: center; gap: 8px; padding: 6px 10px; color: #141a05; background: linear-gradient(180deg, #e4f77a, #c9e04f); box-shadow: inset 0 0 0 2px #121312, inset 0 3px 6px rgb(0 0 0 / .25); font: 700 .78rem/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.buddy-led { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 6px #ff3b30; animation: led 1.4s steps(1) infinite; }
.buddy.is-awake .buddy-led { animation-duration: .36s; }
.buddy-head .radio-to { display: block; width: auto; margin-top: 6px; color: #8d918c; font-size: .72rem; font-weight: 700; }
.buddy-say { margin: 0 6px; color: #f2f2f2; }
.buddy-link { margin: 10px 6px 0; color: var(--t); }
.buddy-close { right: 14px; top: 13px; z-index: 2; color: #141a05; }
.buddy-close:hover { color: #000; }
.buddy-wires { display: block; width: 60px; height: 34px; margin: -2px 34px -10px auto; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.buddy.closed .buddy-wires { display: none; }
.buddy-bubble .buddy-close { color: #9a9e99; }
.buddy-bubble .buddy-close:hover { color: #fff; }

/* ---------- La bulle de la bombe, comme une ligne radio du chat de CS : sobre, sans cadre ---------- */
.buddy-bubble { width: 17rem; margin-bottom: 4px; padding: 10px 30px 11px 12px; filter: none; animation: promo-in .3s var(--ease) both; }
.buddy-bubble::before { background: rgb(0 0 0 / .62); box-shadow: none; clip-path: none; backdrop-filter: blur(2px); }
.buddy-head { display: block; margin: 0 0 2px; font-size: .86rem; font-weight: 700; text-shadow: 0 1px 2px #000; }
.buddy-head .radio { color: var(--t); font-weight: 800; }
.buddy-head b { color: var(--ct); }
.buddy-say { margin: 0; color: #f2f2f2; font-size: .9rem; font-weight: 600; text-shadow: 0 1px 2px #000; }
.buddy-link { margin: 6px 0 0; color: var(--t); font-size: .82rem; }
.buddy-bubble .buddy-close { right: 6px; top: 6px; color: #8a8a8a; }

/* Les fils qui relient le message à la bombe */
.buddy-bubble { margin-bottom: 0; }
.buddy-wires { display: block; width: 60px; height: 34px; margin: -1px 34px -10px auto; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.buddy.closed .buddy-wires { display: none; }

/* ---------- Le popup du prochain tournoi, comme la fenêtre « Match trouvé » de CS2 ---------- */
.found { width: min(30rem, calc(100vw - 32px)); }
.found-in { display: grid; justify-items: center; gap: 0; padding: 34px 30px 22px; text-align: center; background: radial-gradient(90% 60% at 50% 0%, rgb(61 220 132 / .12), transparent 70%), linear-gradient(180deg, #17181b, #0c0c0e); box-shadow: inset 0 0 0 1px #2a2b30, inset 0 3px 0 #3ddc84; clip-path: none; }
.found .promo-x { background: none; color: var(--muted); }
.found .promo-x:hover { color: #fff; }
.found-k { color: #3ddc84; font: 800 .95rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.found-title { margin-top: 10px; font: 800 clamp(2rem, 6vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.found-when { margin-top: 8px; color: var(--soft); font-weight: 600; font-size: .92rem; }
.found-maps { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 18px; }
.found-maps span { padding: 5px 10px; color: #fff; background: linear-gradient(180deg, var(--m1), var(--m2)); font: 800 .78rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
/* Les cinq places : elles s'allument une à une, comme les joueurs qui acceptent le match */
.found-slots { display: flex; gap: 8px; margin-top: 22px; }
.found-slots i { width: 34px; height: 34px; border-radius: 50%; background: #1d1e22; box-shadow: inset 0 0 0 2px #2c2d33; }
.found-slots i.on { background: #3ddc84; box-shadow: 0 0 12px rgb(61 220 132 / .5); }
.promo[open] .found-slots i.on { animation: slot-on .3s calc(.35s + var(--k) * .14s) both; }
@keyframes slot-on { from { background: #1d1e22; box-shadow: inset 0 0 0 2px #2c2d33; transform: scale(.85); } }
.found-count { margin-top: 8px; color: var(--muted); font-weight: 700; font-size: .8rem; }
.found-go { display: block; width: 100%; margin-top: 22px; padding: 16px; color: #062b14; background: linear-gradient(180deg, #4be38f, #2fbf6e); font: 800 1.5rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: filter .2s, transform .2s; }
.found-go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.found-cd { margin-top: 10px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.found-cd b { color: #fff; font-variant-numeric: tabular-nums; }
.found-later { margin-top: 12px; padding: 4px; color: var(--muted); background: none; border: 0; font-weight: 700; font-size: .86rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.found-later:hover { color: #fff; }

/* ---------- Le popup du prochain tournoi : la ligne radio, et le compte à rebours sur l'écran de la C4 ---------- */
.planted { width: min(30rem, calc(100vw - 32px)); }
.planted-in { display: grid; gap: 0; padding: 26px 26px 22px; background: linear-gradient(180deg, #17181b, #0d0d0f); box-shadow: inset 0 0 0 1px #2a2b30, inset 0 3px 0 var(--t); clip-path: none; }
.planted .promo-x { background: none; color: var(--muted); }
.planted .promo-x:hover { color: #fff; }
.planted-radio { padding-right: 30px; color: #f2f2f2; font-weight: 700; font-size: .88rem; }
.planted-radio .radio { color: var(--t); font-weight: 800; }
.planted-radio b { color: var(--ct); }
.planted-title { margin-top: 12px; font: 800 clamp(2rem, 6vw, 2.7rem)/1 var(--display); text-transform: uppercase; }
.planted-when { margin-top: 8px; color: var(--soft); font-weight: 600; font-size: .92rem; }
/* L'écran de la bombe : le même jaune-vert, les chiffres d'écran, la LED rouge */
.planted-timer { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 10px 14px; background: #1d1f1d; box-shadow: inset 0 0 0 1px #2f322f; }
.planted-led { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; animation: led 1s steps(1) infinite; }
.planted-lcd { flex: 1; padding: 8px 12px 6px; background: linear-gradient(180deg, #e4f77a, #c9e04f); box-shadow: inset 0 0 0 2px #121312, inset 0 3px 8px rgb(0 0 0 / .25); }
.planted-digits { display: flex; justify-content: space-between; align-items: baseline; color: #141a05; font: 700 clamp(1.8rem, 6vw, 2.4rem)/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.planted-digits span { opacity: .55; }
.planted-units { display: flex; justify-content: space-between; margin-top: 4px; color: rgb(20 26 5 / .7); font: 700 .62rem/1 ui-monospace, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.planted-maps { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.planted-maps span { padding: 5px 10px; color: #fff; background: linear-gradient(180deg, var(--m1), var(--m2)); font: 800 .78rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.planted-fill { display: grid; gap: 6px; margin-top: 16px; }
.planted-fill small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.planted-btns { display: flex; gap: 10px; margin-top: 20px; }
.planted-btns .btn-main { flex: 1; color: #000; background: var(--t); }
.planted-btns .btn-main:hover { background: #ffcd7a; }

/* ---------- Le popup du prochain tournoi : une carte d'annonce esport, épurée ---------- */
.ev { width: min(28rem, calc(100vw - 32px)); }
.ev-in { overflow: hidden; background: #111214; box-shadow: 0 0 0 1px #26272c, 0 40px 80px -30px #000; clip-path: none; }
.ev-banner { position: relative; height: 200px; overflow: hidden; }
.ev-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.85) brightness(.8); }
.ev-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(17 18 20 / .2) 0%, rgb(17 18 20 / .35) 45%, #111214 100%), linear-gradient(90deg, rgb(240 178 74 / .18), transparent 60%); }
.ev-tag { position: absolute; z-index: 1; left: 18px; top: 16px; padding: 4px 9px; color: #000; background: var(--t); font: 800 .72rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ev .promo-x { z-index: 2; right: 12px; top: 12px; color: #fff; background: rgb(0 0 0 / .45); }
.ev .promo-x:hover { background: rgb(0 0 0 / .7); }
.ev-head { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 14px; }
.ev-head h2 { font: 800 clamp(1.9rem, 6vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.ev-head p { margin-top: 6px; color: #d6d6d6; font-weight: 600; font-size: .92rem; }
.ev-body { display: grid; gap: 16px; padding: 18px 20px 18px; }
.ev-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #232428; }
.ev-facts div { padding: 10px 12px; }
.ev-facts div + div { border-left: 1px solid #232428; }
.ev-facts dt { color: var(--muted); font-size: .72rem; font-weight: 700; }
.ev-facts dd { margin-top: 2px; font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-maps { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ev-progress { display: grid; gap: 8px; }
.ev-progress .fill { height: 3px; }
.ev-cd { color: var(--muted); font-size: .84rem; font-weight: 600; }
.ev-cd b { color: #fff; font-variant-numeric: tabular-nums; }
.ev-go { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; color: #000; background: var(--t); font-weight: 800; text-decoration: none; transition: background .2s; }
.ev-go:hover { background: #ffcd7a; }
.ev-go:hover .arrow { translate: 3px 0; }
.ev-later { justify-self: center; margin-top: -6px; padding: 4px; color: var(--muted); background: none; border: 0; font-weight: 700; font-size: .84rem; cursor: pointer; }
.ev-later:hover { color: #fff; }
.ev-facts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); }

/* ---------- Page des commandes : la liste « / » de Discord ---------- */
.cx-top { padding-top: clamp(28px, 4vw, 52px); }
.cx-top .lead { max-width: 46rem; }
.cx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cx-main { min-width: 0; }
/* La zone de saisie de Discord, collée en haut pendant qu'on fait défiler */
.cx-bar { position: sticky; top: 76px; z-index: 5; display: grid; gap: 10px; padding: 12px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.cx-input { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #383a40; border-radius: 8px; box-shadow: 0 10px 30px -18px #000; }
.cx-input:focus-within { box-shadow: 0 0 0 2px #5865f2; }
.cx-slash { color: #c9cdfb; font-weight: 800; font-size: 1.15rem; }
.cx-input input { flex: 1; min-width: 0; padding: 14px 0; color: #dbdee1; background: none; border: 0; outline: 0; box-shadow: none !important; font-weight: 600; font-size: 1rem; }
.cx-input input::placeholder { color: #80848e; }
.cx-input img { width: 24px; height: 24px; border-radius: 50%; }
.cx-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cx-tabs::-webkit-scrollbar { display: none; }
.cx-tabs button { flex: none; padding: 8px 12px; color: #b5bac1; background: #2b2d31; border: 0; border-radius: 4px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: background .15s, color .15s; }
.cx-tabs button small { margin-left: 4px; color: #80848e; font-weight: 800; }
.cx-tabs button:hover { color: #fff; background: #35373c; }
.cx-tabs button.is-on { color: #fff; background: #5865f2; }
.cx-tabs button.is-on small { color: #dfe2ff; }
/* La liste : le fond de Discord, une ligne par commande */
.cx-list { padding: 8px 0 10px; background: #2b2d31; border-radius: 8px; box-shadow: 0 0 0 1px #1f2023; }
.cx-from { display: flex; align-items: center; gap: 8px; padding: 6px 14px 10px; color: #b5bac1; font-size: .8rem; font-weight: 700; border-bottom: 1px solid #1f2023; }
.cx-from img { border-radius: 50%; }
.cx-from b { color: #fff; }
.cx-from span { padding: 0 4px; color: #fff; background: #5865f2; border-radius: 3px; font-size: .6rem; }
.cx-group[hidden], .cx-cmd[hidden] { display: none; }
.cx-gname { padding: 16px 14px 6px; color: #949ba4; font: 800 .74rem/1 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.cx-cmd { margin: 0 6px; border-radius: 4px; }
.cx-cmd summary { display: grid; grid-template-columns: 36px minmax(10rem, auto) minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 8px 10px; list-style: none; cursor: pointer; border-radius: 4px; transition: background .12s; }
.cx-cmd summary::-webkit-details-marker { display: none; }
.cx-cmd summary:hover, .cx-cmd[open] summary { background: #35373c; }
.cx-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1e1f22; }
.cx-ic .cmd-ic { width: 19px; height: 19px; fill: none; stroke: var(--t); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.cx-name b { color: #fff; font-size: .98rem; }
.cx-name i { padding: 1px 6px; color: #dbdee1; background: #1e1f22; border-radius: 3px; font-style: normal; font-weight: 600; font-size: .76rem; }
.cx-sum { overflow: hidden; color: #b5bac1; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.cx-theme { color: #80848e; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.cx-chev { width: 18px; height: 18px; fill: none; stroke: #80848e; stroke-width: 2; transition: transform .2s; }
.cx-cmd[open] .cx-chev { transform: rotate(180deg); }
.cx-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 14px 14px 18px 58px; color: #dbdee1; font-size: .92rem; }
.cx-ex { display: grid; gap: 6px; margin-top: 14px; }
.cx-ex span { color: #949ba4; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cx-ex code { justify-self: start; padding: 6px 10px; color: #dbdee1; background: #1e1f22; box-shadow: none; white-space: normal; font-size: .86rem; }
.cx-reply-k { margin-bottom: 8px; color: #949ba4; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cx-reply .reply-card { margin-left: 36px; background: #232428; }
.cx-empty { padding: 26px 14px; color: #b5bac1; }
/* La colonne de côté */
.cx-side { position: sticky; top: 96px; display: grid; gap: 12px; }
.cx-card { padding: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px #1f2024; }
.cx-steps { display: grid; gap: 14px; counter-reset: s; }
.cx-steps li { position: relative; display: grid; gap: 2px; padding-left: 40px; counter-increment: s; }
.cx-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; color: #000; background: var(--t); font: 800 1rem/1 var(--display); }
.cx-steps b { font-size: .92rem; }
.cx-steps span { color: var(--muted); font-size: .84rem; }
.cx-tips { display: grid; gap: 12px; color: var(--muted); font-size: .84rem; }
.cx-version { color: var(--muted); font-size: .84rem; }
.cx-version a { color: var(--ink); font-weight: 700; }
@media (max-width: 980px) {
  .cx { grid-template-columns: minmax(0, 1fr); }
  .cx-side { position: static; order: -1; }
  .cx-side .cx-card:nth-child(2), .cx-version { display: none; }
}
@media (max-width: 700px) {
  .cx-cmd summary { grid-template-columns: 32px minmax(0, 1fr) 18px; }
  .cx-sum { grid-column: 2; white-space: normal; }
  .cx-theme { display: none; }
  .cx-chev { grid-row: 1; grid-column: 3; }
  .cx-body { grid-template-columns: minmax(0, 1fr); padding-left: 14px; }
}

/* ---------- Pages intérieures, dans la direction de l'accueil ---------- */
.cx-top .backlink { margin: 0 0 14px; }

/* Classements : les onglets, le podium avec les avatars Discord, le tableau des scores */
.lb-tabs { margin-bottom: 26px; }
.lb-tabs a { flex: none; padding: 8px 12px; color: #b5bac1; background: #2b2d31; border-radius: 4px; font-weight: 700; font-size: .86rem; text-decoration: none; transition: background .15s, color .15s; }
.lb-tabs a:hover { color: #fff; background: #35373c; }
.lb-tabs a.is-on { color: #000; background: var(--t); }
.lb-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; margin-bottom: 16px; }
.lb-p { position: relative; display: grid; justify-items: center; gap: 4px; padding: 24px 14px 20px; text-align: center; background: linear-gradient(180deg, #17181b, #0e0e10); box-shadow: inset 0 0 0 1px #24252a; }
.lb-p1 { padding-top: 40px; background: radial-gradient(90% 70% at 50% 0%, rgb(228 174 57 / .16), transparent 70%), linear-gradient(180deg, #1a1a17, #0e0e10); box-shadow: inset 0 0 0 1px rgb(228 174 57 / .35); }
.lb-medal { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; color: #000; font: 800 .95rem/1 var(--display); }
.lb-p1 .lb-medal { background: #e4ae39; } .lb-p2 .lb-medal { background: #c3c7cf; } .lb-p3 .lb-medal { background: #c07a43; }
.lb-av { width: 64px; height: 64px; margin-bottom: 6px; }
.lb-p1 .lb-av { width: 84px; height: 84px; box-shadow: 0 0 0 3px #0e0e10, 0 0 0 5px #e4ae39; }
.lb-p strong { font: 800 1.35rem/1 var(--display); text-transform: uppercase; }
.lb-p small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.lb-p b { margin-top: 8px; font: 800 1.8rem/1 var(--display); font-variant-numeric: tabular-nums; }
.lb-p b em { display: block; margin-top: 2px; color: var(--muted); font: 700 .72rem/1 var(--text); font-style: normal; }
.lb .sb-team { background: rgb(10 10 12 / .78); }
.lb .sb-head { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 26rem); padding-left: 0; background: #17181b; }
.lb .sb-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 26rem); padding-left: 0; }
.lb .sb-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lb-h, .lb-rank { display: grid; place-items: center; color: var(--muted); font: 800 1rem/1 var(--display); }
.lb .medal-1 .lb-rank { color: #e4ae39; } .lb .medal-2 .lb-rank { color: #c3c7cf; } .lb .medal-3 .lb-rank { color: #c07a43; }
.lb .sb-cols .is-sorted { color: #fff; font: 800 1.15rem/1 var(--display); }
.lb .sb-head .sb-cols .is-sorted { color: var(--t); font: 800 .72rem var(--text); }
.lb .sb-row.side-ct .sb-av { outline: 2px solid rgb(106 168 255 / .55); outline-offset: 1px; }
.lb .sb-row.side-t .sb-av { outline: 2px solid rgb(240 178 74 / .55); outline-offset: 1px; }
.lb .sb-row.is-me { background: rgb(240 178 74 / .08); }

/* Marché : le tableau des skins au style du tableau des scores, les sites en cartes */
.table-wrap:has(.market) { background: rgb(10 10 12 / .78); box-shadow: inset 0 0 0 1px #1f2024; }
.board.market thead th { height: 44px; padding-top: 0; padding-bottom: 0; vertical-align: middle; background: #17181b; }
.board.market td { border-top-color: #18191c; }
.board.market tbody tr:nth-child(even) td { background: rgb(255 255 255 / .02); }
.board.market tbody tr:hover td { background: rgb(255 255 255 / .05); }
.places { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 0; }
.places li, .places li + li { position: relative; padding: 22px 20px 20px; border: 0; background: linear-gradient(180deg, #17181b, #0e0e10); box-shadow: inset 0 0 0 1px #24252a; }
.places li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--t); }
.places li:nth-child(2)::before { background: var(--ct); }
.places li:nth-child(3)::before { background: #66c0f4; }

/* Tournois : des cartes comme celle de l'accueil, plus compactes */
.tc-list { display: grid; gap: 10px; }
.tc { display: grid; grid-template-columns: auto minmax(0, 20rem) minmax(0, 1fr) auto; min-height: 150px; text-decoration: none; background: linear-gradient(180deg, #141518, #0d0d0f); box-shadow: inset 0 0 0 1px #24252a; transition: box-shadow .25s; }
.tc:hover { box-shadow: inset 0 0 0 1px rgb(240 178 74 / .55); }
.tc .veto-date b { font-size: 3rem; }
.tc-info { display: grid; align-content: center; gap: 10px; padding: 18px 22px; border-right: 1px solid #222; }
.tc-info strong { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.tc-meta { color: var(--muted); font-weight: 700; font-size: .86rem; }
.tc-win { color: var(--soft); font-weight: 700; }
.tc-win b { color: var(--t); }
.tc-maps { padding: 10px; }
.tc-maps .veto-map b { font-size: 1rem; }
.tc-go { display: flex; align-items: center; gap: 8px; padding: 0 24px; color: #000; background: #fff; font-weight: 800; white-space: nowrap; transition: background .2s; }
.tc:hover .tc-go { background: var(--t); }
.tc.is-past { opacity: .8; }
.tc.is-past .tc-go { color: var(--ink); background: #1c1d21; }
.tc.is-past .veto-map { filter: saturate(.5) brightness(.8); }

/* Nouveautés : le salon #annonces de Discord */
.nv { max-width: 54rem; }
.nv-chan { background: #313338; border-radius: 8px; box-shadow: 0 0 0 1px #26282c, 0 30px 60px -30px #000; overflow: hidden; }
.nv-top { display: flex; align-items: center; gap: 8px; padding: 14px 20px; color: #fff; font-weight: 700; border-bottom: 1px solid #26282c; }
.nv-top span { color: #80848e; font-size: 1.3rem; }
.nv-top small { padding-left: 12px; margin-left: 4px; border-left: 1px solid #3f4147; color: #949ba4; font-weight: 500; font-size: .84rem; }
.nv-msgs { padding: 8px 0 18px; }
.nv-day { display: flex; align-items: center; gap: 10px; margin: 14px 20px 6px; color: #949ba4; font-size: .74rem; font-weight: 700; }
.nv-day::before, .nv-day::after { content: ""; flex: 1; height: 1px; background: #3f4147; }
.nv-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 10px 20px; transition: background .12s; }
.nv-msg:hover { background: #2e3035; }
.nv-av { width: 40px; height: 40px; border-radius: 50%; }
.nv-who { color: #fff; font-weight: 700; }
.nv-who small { margin-left: 6px; padding: 0 4px; color: #fff; background: #5865f2; border-radius: 3px; font-size: .6rem; vertical-align: 2px; }
.nv-who time { margin-left: 8px; color: #949ba4; font-size: .74rem; font-weight: 500; }
.nv-emb { max-width: 520px; margin-top: 6px; padding: 12px 16px 14px; background: #2b2d31; border-left: 4px solid #4e5058; border-radius: 4px; }
.nv-msg.is-new .nv-emb { border-left-color: var(--t); }
.nv-ver { display: flex; align-items: center; gap: 8px; color: #b5bac1; font-weight: 800; font-size: .8rem; }
.nv-ver span { padding: 1px 6px; color: #000; background: var(--t); border-radius: 3px; font-size: .66rem; }
.nv-title { margin-top: 4px; color: #fff; font-size: 1.02rem; font-weight: 800; }
.nv-emb ul { display: grid; gap: 4px; margin-top: 8px; color: #dbdee1; font-size: .9rem; }
.nv-emb li { position: relative; padding-left: 16px; }
.nv-emb li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #949ba4; }

/* Le créateur : la carte de streamer en tête, le live dans l'écran */
.cr-head .streamer-screen { cursor: default; }
.cr-wait { display: grid; place-items: center; align-content: center; gap: 14px; }
.cr-wait .streamer-play { position: static; margin: 0; border: 0; cursor: pointer; }
.cr-note { max-width: 22rem; color: #d6d6d6; font-size: .82rem; font-weight: 600; text-align: center; text-shadow: 0 1px 3px #000; }
.live.is-on > img, .live.is-on .streamer-badge, .live.is-on .streamer-bar { display: none; }
.cr-stream { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.cr-detail { max-width: 34rem; color: var(--soft); }

@media (max-width: 980px) {
  .tc { grid-template-columns: auto minmax(0, 1fr); }
  .tc-maps { grid-column: 1 / -1; height: 110px; border-top: 1px solid #222; }
  .tc-go { grid-column: 1 / -1; justify-content: center; padding: 12px; }
  .tc-info { border-right: 0; }
  .cr-stream { grid-template-columns: minmax(0, 1fr); }
  .places { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .lb .sb-head, .lb .sb-row { grid-template-columns: 36px minmax(0, 1fr) 6rem; }
  .lb .sb-cols { grid-template-columns: minmax(0, 1fr); }
  .lb .sb-cols span:not(.is-sorted) { display: none; }
  .lb-podium { gap: 6px; }
  .lb-p strong { font-size: 1rem; }
  .lb-p b { font-size: 1.2rem; }
  .lb-av { width: 44px; height: 44px; }
  .lb-p1 .lb-av { width: 56px; height: 56px; }
  .nv-msg { padding: 10px 14px; gap: 12px; }
}
.lb-av { display: grid; place-items: center; border-radius: 50%; object-fit: cover; }
.lb-av.dav-default svg { width: 60%; height: 60%; }

/* Ta ligne, sous le tableau des scores */
.lb-me { display: grid; grid-template-columns: 48px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 8px; padding: 12px 16px 12px 0; background: linear-gradient(90deg, rgb(240 178 74 / .14), rgb(240 178 74 / .03) 60%), rgb(10 10 12 / .78); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .4), inset 3px 0 0 var(--t); }
.lb-me .lb-rank { color: var(--t); }
.lb-me .sb-who b { font-size: 1rem; }
.lb-me-txt { color: var(--soft); font-weight: 600; font-size: .92rem; }
.lb-ghost { display: block; background: repeating-linear-gradient(45deg, #26272c 0 4px, #1c1d21 4px 8px); box-shadow: inset 0 0 0 1px #3a3b40 !important; }
.lb-me .btn { padding: .75em 1.1em; }
@media (max-width: 700px) { .lb-me { grid-template-columns: 36px minmax(0, 1fr); padding-right: 12px; } .lb-me-txt, .lb-me .btn { grid-column: 1 / -1; margin-left: 12px; } }
.sb-who .you { padding: 2px 7px; color: #000; background: var(--t); font-size: .7rem; font-weight: 800; }

/* ---------- Notes de mise à jour, comme celles de CS:GO ---------- */
.pn { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.pn-side { position: sticky; top: 96px; display: grid; gap: 2px; }
.pn-side-k { margin-bottom: 8px; color: var(--muted); font: 800 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.pn-side a { display: grid; gap: 2px; padding: 10px 14px; text-decoration: none; background: rgb(255 255 255 / .02); box-shadow: inset 2px 0 0 #2a2b30; transition: background .15s, box-shadow .15s; }
.pn-side a b { font: 800 1.1rem/1 var(--display); }
.pn-side a small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.pn-side a:hover { background: rgb(255 255 255 / .05); }
.pn-side a.is-on { background: linear-gradient(90deg, rgb(240 178 74 / .14), transparent); box-shadow: inset 3px 0 0 var(--t); }
.pn-side a.is-on b { color: var(--t); }
.pn-list { display: grid; gap: 14px; min-width: 0; }
.pn-post { position: relative; overflow: hidden; background: linear-gradient(180deg, #141518, #0d0d0f); box-shadow: inset 0 0 0 1px #222327; scroll-margin-top: 96px; }
/* La dernière mise à jour : une bannière comme les visuels des mises à jour du jeu */
.pn-hero { position: relative; height: 180px; overflow: hidden; }
.pn-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.85) brightness(.75); }
.pn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, #141518), linear-gradient(90deg, rgb(240 178 74 / .2), transparent 55%); }
.pn-head { padding: 24px 28px 0; }
.is-latest .pn-head { margin-top: -54px; position: relative; }
.pn-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: .84rem; }
.pn-date span { padding: 3px 9px 2px; color: #000; background: var(--t); font: 800 .72rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.pn-ver { margin-top: 8px; font: 800 clamp(2.4rem, 5vw, 3.6rem)/.9 var(--display); text-transform: uppercase; }
.pn-post:not(.is-latest) .pn-ver { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.pn-title { margin-top: 6px; color: var(--soft); font-weight: 700; font-size: 1.05rem; }
.pn-body { padding: 18px 28px 26px; }
.pn-cat { color: var(--t); font: 800 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.pn-body ul { display: grid; gap: 8px; margin-top: 12px; }
.pn-body li { position: relative; padding-left: 20px; color: #dcdcdc; line-height: 1.55; }
.pn-body li::before { content: "–"; position: absolute; left: 2px; color: var(--muted); font-weight: 800; }
@media (max-width: 860px) {
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn-side { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .pn-side-k { display: none; }
  .pn-side a { flex: none; }
  .pn-head { padding: 20px 18px 0; }
  .pn-body { padding: 16px 18px 22px; }
}

/* Le profil dans le menu, comme en haut à droite du menu de CS2 */
.menu-me { gap: 10px; margin-left: 4px; padding: 5px 14px 5px 5px; border-left: 0; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px #2a2b30; transition: background .2s, box-shadow .2s; }
.menu-me:hover, .menu-me[aria-current] { background: rgb(240 178 74 / .1); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .5); }
.menu-me .me-av { width: 34px; height: 34px; border-radius: 50%; clip-path: none; box-shadow: 0 0 0 2px #0b0b0b, 0 0 0 3px var(--t); }
.me-txt { display: grid; gap: 1px; line-height: 1.1; }
.me-txt b { max-width: 9rem; overflow: hidden; color: #fff; font: 700 .86rem/1.15 var(--text); text-overflow: ellipsis; white-space: nowrap; }
.me-txt small { display: flex; align-items: center; gap: 4px; color: var(--t); font: 800 .82rem/1 var(--display); letter-spacing: .02em; }
.me-txt svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 980px) { .menu-me { margin: 0; padding: 8px 14px 8px 8px; } }
/* Le profil du menu, sans case autour */
.menu-me, .menu-me:hover, .menu-me[aria-current] { padding: 0 0 0 22px; background: none; box-shadow: none; border-left: 1px solid var(--line-2); }
.menu-me:hover .me-txt b { color: var(--t); }
.menu-me[aria-current]::after { display: none; }
@media (max-width: 980px) { .menu-me, .menu-me:hover { padding: 18px 0 0; border-left: 0; } }

/* ===== Mon espace : tableau de bord, comme celui d'un bot (menu à gauche, une page par partie) ===== */
.dash-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.dash-side { position: sticky; top: 96px; display: grid; gap: 6px; padding-right: clamp(18px, 2.4vw, 32px); border-right: 1px solid var(--line-2); }
.dash-me, .dash-guild { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dash-me b, .dash-guild b { display: block; font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.dash-me small, .dash-guild small { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--t); font: 700 .85rem/1 var(--text); }
.dash-guild small { color: var(--muted); }
.dash-me .coin { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.dash-av { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; }
.dash-k { margin: 18px 0 4px; padding-left: 12px; color: var(--muted); font: 700 .78rem/1 var(--text); letter-spacing: .02em; }
.dash-nav { display: grid; gap: 2px; }
.dash-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 12px; color: var(--soft); font-weight: 700; font-size: .93rem; text-decoration: none; transition: color .15s, background .15s; }
.dash-nav a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-nav a small { margin-left: auto; color: var(--muted); font-weight: 700; }
.dash-nav a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-nav a:hover { color: var(--ink); background: rgb(255 255 255 / .03); }
.dash-nav a.is-on { color: var(--ink); background: linear-gradient(90deg, rgb(240 178 74 / .14), transparent 85%); }
.dash-nav a.is-on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--t); }
.dash-nav a.is-on svg { color: var(--t); }
.dash-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--muted); font-weight: 700; font-size: .9rem; text-decoration: none; }
.dash-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.dash-back:hover { color: var(--ink); }
.dash-out { margin: 22px 0 0 12px; }
.dash-out .linklike { color: var(--muted); font-size: .88rem; }

/* Icônes des serveurs : la photo, ou les initiales */
.gico { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 30%; object-fit: cover; background: #1b1d24; color: var(--ink); font: 800 1rem/1 var(--display); text-transform: uppercase; }
.gico-s { width: 26px; height: 26px; font-size: .72rem; border-radius: 30%; }
.gico-l { width: 52px; height: 52px; }
.gico-xl { width: 72px; height: 72px; font-size: 1.5rem; }

.dash-main { min-width: 0; }
.dash-main > .notice { margin-bottom: 22px; }
.dash-head { margin-bottom: 28px; }
.dash-head .sec-lead { margin-top: 10px; }
.dash-head code, .dash-main .sec-lead code { padding: 1px 6px; color: var(--ink); background: #1a1a1a; font-size: .88em; }
.dash-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-note { max-width: 46rem; margin: -10px 0 26px; padding-left: 14px; color: var(--muted); font-size: .88rem; border-left: 2px solid var(--ct); }

/* Les chiffres de la vue d'ensemble : posés sur des lignes, sans boîte */
.dash-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.dash-card { display: grid; align-content: start; gap: 10px; padding: 22px 24px 24px 0; }
.dash-cards .dash-card + .dash-card { padding-left: 24px; border-left: 1px solid var(--line); }
.dash-card-k { color: var(--muted); font-weight: 700; font-size: .85rem; }
.dash-big { font: 800 clamp(2.2rem, 3.6vw, 3rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.dash-big sup { font-size: .45em; vertical-align: super; }
.dash-coins .dash-big { color: var(--t); }
.dash-card .btn, .dash-card .more { justify-self: start; }
.dash-card .muted { font-size: .9rem; }
.dash-pro, .dash-relog { margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line-2); }
.dash-relog .btn { justify-self: start; margin-top: 6px; }
.dash-block { margin-top: 40px; }
.dash-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dash-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dash-list a { display: grid; gap: 3px; min-width: 0; color: var(--ink); text-decoration: none; }
.dash-list a:hover b { color: var(--t); }
.dash-list small { color: var(--muted); font-size: .86rem; }
.dash-danger { margin-top: 48px; }

/* Les réglages : une ligne par réglage, le nom à gauche, le choix à droite */
.dash-form { display: grid; max-width: 54rem; border-top: 1px solid var(--line); }
.dash-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: center; gap: 12px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dash-row > div:first-child, .dash-row > span:first-child { display: grid; gap: 4px; min-width: 0; }
.dash-row b { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.dash-row b svg { width: 18px; height: 18px; }
.dash-row small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.dash-row textarea { min-height: 6.5rem; resize: vertical; font-family: var(--text); }
.dash-row-add { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 8rem auto; }
.dash-row .euro { position: relative; display: block; }
.dash-row .euro span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--muted); font-weight: 700; }
.dash-group { margin: 30px 0 0; padding-bottom: 10px; color: var(--t); font: 800 1.05rem/1 var(--display); text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.dash-form > .dash-group:first-of-type { margin-top: 10px; }
.dash-cmd { display: flex !important; align-items: center; gap: 14px; }
.dash-cmd > span { display: grid; gap: 3px; min-width: 0; }
.dash-cmd .cmd-ic, .dash-cmd svg:first-child { width: 22px; height: 22px; flex: none; }
.dash-save { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 18px 0; background: linear-gradient(transparent, var(--bg) 40%); }

/* L'interrupteur : orange quand c'est activé */
.dash-toggle { grid-template-columns: minmax(0, 1fr) auto; cursor: pointer; }
.dash-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sw { position: relative; width: 46px; height: 26px; background: #2a2a2a; border-radius: 26px; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #8a8a8a; border-radius: 50%; transition: translate .2s, background .2s; }
.dash-toggle input:checked + .sw { background: var(--t); }
.dash-toggle input:checked + .sw::after { translate: 20px 0; background: #000; }
.dash-toggle input:focus-visible + .sw { outline: 2px solid var(--ink); outline-offset: 3px; }
.dash-toggle:hover .sw { background: #353535; }
.dash-toggle:hover input:checked + .sw { background: var(--t-2); }

/* Mes serveurs : une tuile par serveur, l'icône floutée en fond (comme les tableaux de bord de bots) */
.glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.gcard { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 18px 20px; text-align: center; background: #0c0c0c; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; }
.gcard-bg { position: absolute; inset: 0 0 auto; height: 96px; z-index: -1; overflow: hidden; }
.gcard-bg .gico { width: 100%; height: 100%; border-radius: 0; filter: blur(22px) saturate(1.3); opacity: .45; scale: 1.4; font-size: 0; }
.gcard-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #0c0c0c); }
.gcard .gico-xl { margin-bottom: 8px; box-shadow: 0 0 0 4px #0c0c0c; }
.gcard b { max-width: 100%; font: 800 1.15rem/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.gcard small { color: var(--muted); font-size: .84rem; }
.gcard-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.gcard-btns .btn { padding: .8em 1.1em; font-size: .86rem; }

@media (max-width: 900px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-side { position: static; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .dash-nav:not(.dash-guilds) { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .dash-nav:not(.dash-guilds) a { flex: none; }
  .dash-nav a.is-on::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 2px; }
  .dash-guilds a:not(:first-child) { display: none; }
  .dash-k { margin-top: 10px; }
  .dash-cards { grid-template-columns: 1fr; }
  .dash-cards .dash-card + .dash-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dash-row, .dash-row-add { grid-template-columns: 1fr; }
  .dash-toggle { grid-template-columns: minmax(0, 1fr) auto; }
}
/* Espace : retouches (icônes des commandes, lignes à interrupteur, tuiles sans photo) */
.dash-cmd .cmd-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--t); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
label.dash-toggle { color: var(--ink); font-weight: 400; font-size: 1rem; }
label.dash-toggle small { font-weight: 400; }
.gcard-bg:has(.gico-ini) { background: radial-gradient(120% 100% at 50% 0, rgb(240 178 74 / .16), transparent 70%); }
.gcard-bg .gico-ini { display: none; }
.gcard .gico-ini { background: #17171a; box-shadow: 0 0 0 4px #0c0c0c, inset 0 0 0 1px #2c2c2c; }

/* ===== Mon espace, version visuelle : serveurs en grand, aperçu Discord, bannière du serveur ===== */
.dash-side, .dash-nav { grid-template-columns: minmax(0, 1fr); }
.dash-nav a .dash-count { margin-left: auto; padding: 1px 7px; color: var(--soft); background: #1c1c1c; font: 700 .76rem/1.5 var(--text); font-style: normal; border-radius: 10px; }
.nowrap { white-space: nowrap; }

/* L'en-tête de l'accueil : tes serveurs à gauche, Discord à droite */
.dh { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(24px, 3vw, 44px); align-items: center; padding: clamp(24px, 3vw, 40px); background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; }
.dh-bg { position: absolute; inset: 0; z-index: -1; display: flex; opacity: .32; filter: blur(60px) saturate(1.4); }
.dh-bg .gico { flex: 1; width: auto; height: 100%; border-radius: 0; font-size: 0; }
.dh-bg .gico-ini { background: radial-gradient(circle at 30% 30%, rgb(240 178 74 / .5), transparent 60%); }
.dh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 8 9 / .92) 30%, rgb(8 8 9 / .55)); }
.dh-guilds { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 26px; padding: 0; list-style: none; }
.dh-guilds a { display: grid; justify-items: center; gap: 10px; width: 88px; color: var(--soft); font-weight: 700; font-size: .8rem; line-height: 1.25; text-align: center; text-decoration: none; }
.dh-guilds a > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dh-guilds .gico-xl { border-radius: 50%; box-shadow: 0 0 0 2px #0b0b0c, 0 0 0 3px #2a2a2a; transition: border-radius .2s, box-shadow .2s, translate .2s; }
.dh-guilds a:hover { color: var(--ink); }
.dh-guilds a:hover .gico-xl { border-radius: 30%; box-shadow: 0 0 0 2px #0b0b0c, 0 0 0 4px var(--t); translate: 0 -3px; }
.dh-more .gico { color: var(--t); }
.dh .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-hint { margin-top: 12px; font-size: .88rem; }
.dh-dc .dcp-note { display: none; }

/* L'aperçu Discord */
.dcp { display: grid; gap: 10px; align-content: start; }
.dcp-k { color: var(--muted); font-weight: 700; font-size: .82rem; }
.dcp-win { color: #dbdee1; background: #313338; box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #3a3c42; font-size: .86rem; overflow: hidden; border-radius: 8px; }
.dcp.is-pulse .dcp-win { animation: dcp-pulse .5s ease-out; }
@keyframes dcp-pulse { 0% { box-shadow: 0 30px 60px -30px #000, 0 0 0 1px var(--t); } 100% { box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #3a3c42; } }
.dcp-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #2b2d31; border-bottom: 1px solid #1f2023; }
.dcp-top b { color: #fff; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.dcp-chan { margin-left: auto; color: #949ba4; font-weight: 600; white-space: nowrap; }
.dcp-gico .gico-s { width: 22px; height: 22px; border-radius: 50%; font-size: .6rem; }
.dcp-msgs { display: grid; gap: 14px; padding: 16px 14px 18px; }
.dcp .dc-msg { animation: none; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.dc-av-img { width: 36px; height: 36px; background: none; overflow: hidden; }
.dc-av-img img, .dcp-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.dcp .dc-emb { grid-template-columns: minmax(0, 1fr) 92px; max-width: none; padding: 10px 12px 12px; }
.dcp .dc-emb img { width: 92px; }
.dcp .dc-emb dl { flex-wrap: wrap; gap: 6px 14px; }
.dc-btns .blue { background: #5865f2; }
.dc-btns .green { background: #248046; }
.dc-btns .purple { background: #9146ff; }
.dc-btns [hidden], .dcp [hidden] { display: none !important; }
.dcp-sys { color: #949ba4; font-size: .76rem; padding-left: 48px; }
.dcp-sys b { color: #c9cdfb; font-weight: 600; }
.dcp-big { color: #fff; font: 800 1.9rem/1 var(--display); }
.dcp-small { grid-column: 1; color: #b5bac1; font-size: .78rem; }
.dcp-coins { grid-template-columns: 1fr !important; }
.dcp-ping { margin-top: 2px; color: #dbdee1; }
.dcp-role { padding: 0 3px; color: #c9cdfb; background: rgb(88 101 242 / .3); border-radius: 3px; font-weight: 600; }
.dcp-tour, .dcp-live { grid-template-columns: 1fr !important; }
.dcp-maps { display: flex; gap: 6px; margin-top: 4px; }
.dcp-maps span, .dmod-map i { flex: 1; padding: 18px 6px 6px; color: #fff; background: linear-gradient(160deg, var(--a), var(--b)); font: 800 .78rem/1 var(--display); font-style: normal; text-transform: uppercase; border-radius: 3px; text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
.dcp-livetag { justify-self: start; padding: 2px 6px; color: #fff; background: #eb0400; font: 800 .66rem/1.3 var(--text); border-radius: 3px; }
.dcp-thumb { position: relative; margin-top: 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.dcp .dcp-thumb img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.dcp-thumb span { position: absolute; left: 8px; top: 8px; padding: 1px 6px; color: #fff; background: #eb0400; font: 800 .66rem/1.4 var(--text); border-radius: 3px; }
.dcp-dm { display: flex; align-items: center; gap: 10px; margin-left: 48px; padding: 8px 10px; background: #232428; border-radius: 6px; }
.dcp-dm .dc-av-img, .dcp-dm img { width: 24px; height: 24px; }
.dcp-dm p { display: grid; color: #b5bac1; font-size: .76rem; }
.dcp-dm b { color: #fff; font-size: .8rem; }
.dcp-slash { background: #2b2d31; border-radius: 6px; overflow: hidden; }
.dcp-slash > p { padding: 9px 12px; color: #b5bac1; font-size: .72rem; font-weight: 700; border-bottom: 1px solid #1f2023; }
.dcp-slash ul { margin: 0; padding: 4px; list-style: none; }
.dcp-slash li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 6px 8px; border-radius: 4px; }
.dcp-slash li:first-child { background: #35373c; }
.dcp-slash .cmd-ic { width: 18px; height: 18px; fill: none; stroke: #b5bac1; stroke-width: 1.8; }
.dcp-slash b { color: #fff; font-size: .82rem; }
.dcp-slash small { color: #949ba4; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcp-note { color: var(--muted); font-size: .8rem; }

/* Les modules : ce qu'on règle, avec un aperçu pour chacun */
.dmods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.dmod a { display: grid; height: 100%; color: var(--ink); text-decoration: none; background: #0c0c0c; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, translate .2s; }
.dmod a:hover { box-shadow: inset 0 0 0 1px var(--t); translate: 0 -2px; }
.dmod-vis { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 116px; padding: 14px; overflow: hidden; background: radial-gradient(90% 120% at 50% 100%, #1d1a14, #0c0c0c 70%); border-bottom: 1px solid var(--line); }
.dmod-skin img { width: 86%; height: auto; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .7)); transition: scale .3s; }
.dmod a:hover .dmod-skin img, .dmod-skin a:hover img { scale: 1.06; }
.dmod-vis img { max-height: 100%; }
.dmod-skin .dmod-vis img { width: 86%; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .7)); }
.dmod-coin .dmod-vis { flex-direction: column; gap: 4px; }
.dmod-coin .dmod-vis b { color: var(--t); font: 800 2.4rem/1 var(--display); }
.dmod-coin .dmod-vis small { color: var(--muted); font-weight: 700; font-size: .78rem; }
.dmod-map .dmod-vis { align-items: stretch; padding: 22px 14px; }
.dmod-map i { display: flex; align-items: end; }
.dmod-live .dmod-vis { padding: 0; }
.dmod-live .dmod-vis img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.dmod-live .dmod-vis em { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 2px 7px; color: #fff; background: #eb0400; font: 800 .68rem/1.4 var(--text); font-style: normal; border-radius: 3px; }
.dmod-slash .dmod-vis { flex-direction: column; align-items: flex-start; gap: 6px; }
.dmod-slash code { padding: 3px 8px; color: #c9cdfb; background: rgb(88 101 242 / .18); font: 700 .82rem/1.3 var(--text); border-radius: 3px; }
.dmod-slash code:nth-child(2) { margin-left: 18px; }
.dmod-slash code:nth-child(3) { margin-left: 36px; }
.dmod-txt { display: grid; gap: 4px; padding: 14px 16px 16px; }
.dmod-txt b { font: 800 1.1rem/1.1 var(--display); text-transform: uppercase; }
.dmod-txt small { color: var(--muted); font-size: .84rem; line-height: 1.45; }

/* Mon profil joueur : une seule ligne */
.dme-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.dme-id { display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 0; }
.dme-id b { display: block; font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; }
.dme-id small { color: var(--muted); font-size: .84rem; }
.dme-id code { padding: 1px 5px; color: var(--ink); background: #1a1a1a; }
.dash-av-l { width: 56px; height: 56px; }
.dme-fig { display: grid; align-content: center; gap: 4px; padding: 18px 20px; border-left: 1px solid var(--line); }
.dme-fig small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.dme-fig > b { font: 800 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.dme-fig > b.is-t { color: var(--t); }
.dme-fig sup { font-size: .5em; }
.dme-fig .linklike, .dme-fig .muted { justify-self: start; font-size: .82rem; text-align: left; }

/* La bannière d'un serveur */
.gban { position: relative; display: flex; align-items: center; gap: 20px; margin-bottom: 34px; padding: 26px 28px; background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; }
.gban-bg { position: absolute; inset: 0; z-index: -1; opacity: .4; filter: blur(48px) saturate(1.5); }
.gban-bg .gico { width: 100%; height: 100%; border-radius: 0; font-size: 0; }
.gban-bg .gico-ini { background: radial-gradient(circle at 20% 50%, rgb(240 178 74 / .45), transparent 60%); }
.gban::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 8 9 / .5), rgb(8 8 9 / .9)); }
.gban .gico-xl { border-radius: 50%; box-shadow: 0 0 0 3px #0b0b0c, 0 0 0 4px #333; }
.gban-txt { display: grid; gap: 6px; min-width: 0; margin-right: auto; }
.gban-name { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.gban-state { display: flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 700; font-size: .86rem; }
.gban-state i { width: 8px; height: 8px; background: #80848e; border-radius: 50%; }

.dash-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.dash-split .dcp { position: sticky; top: 96px; }
.dash-split .dash-row { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 10px 20px; }
.dash-split .dash-toggle { grid-template-columns: minmax(0, 1fr) auto; }

@media (max-width: 1200px) {
  .dash-split { grid-template-columns: 1fr; }
  .dash-split .dcp { position: static; max-width: 440px; }
  .dh { grid-template-columns: 1fr; }
  .dh-dc { max-width: 440px; }
}
@media (max-width: 900px) {
  .dme-row { grid-template-columns: 1fr 1fr; }
  .dme-id { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .dme-fig:nth-child(2) { border-left: 0; padding-left: 0; }
  .dme-fig:nth-child(4) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .gban { flex-wrap: wrap; padding: 20px; }
  .dash-split .dash-row { grid-template-columns: 1fr; }
  .dash-split .dash-toggle { grid-template-columns: minmax(0, 1fr) auto; }
}
.dmods { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.dh .cta { flex-direction: row; align-items: center; }
@media (max-width: 600px) { .dmods { grid-template-columns: 1fr 1fr; } .dmod-vis { height: 96px; } }
.dh .cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* Accueil de l'espace : l'aperçu qui tourne sur plusieurs commandes */
.dh-dc { display: grid; gap: 10px; align-self: start; }
.dh-stack { display: grid; }
.dh-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .35s, translate .35s, visibility 0s .35s; }
.dh-slide.is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .35s, translate .35s, visibility 0s; }
.dh-slide .dcp-k { display: none; }
.dh-slide .dcp { gap: 0; }
.dh-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-tabs button { position: relative; padding: 6px 11px 8px; color: var(--muted); background: #141414; border: 0; box-shadow: inset 0 0 0 1px #262626; font: 700 .8rem/1 var(--text); cursor: pointer; overflow: hidden; border-radius: 4px; }
.dh-tabs button:hover { color: var(--ink); }
.dh-tabs button.is-on { color: var(--ink); box-shadow: inset 0 0 0 1px #3a3a3a; }
.dh-tabs i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--t); transform: scaleX(0); transform-origin: left; }
.dh-tabs button.is-on i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .dh-slide, .dh-slide.is-on { transition: none; translate: none; } }
/* Tuiles : le contour orange fait tout le tour (posé au-dessus de l'image) */
.dmod a { position: relative; }
.dmod a::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px transparent; pointer-events: none; transition: box-shadow .2s; }
.dmod a:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.dmod a:hover::after { box-shadow: inset 0 0 0 1px var(--t); }

/* Mes alertes : le choix du skin en images */
.skpick { margin: 0; padding: 22px 0 6px; border: 0; }
.skpick legend { padding: 0; margin-bottom: 14px; font-weight: 800; }
.skpick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.skpick-it { position: relative; display: grid; gap: 4px; padding: 10px 12px 12px; color: var(--ink); background: #0d0d0d; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 400; cursor: pointer; transition: box-shadow .15s, background .15s; }
.skpick-it::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--r); opacity: .7; }
.skpick-it input { position: absolute; opacity: 0; pointer-events: none; }
.skpick-img { display: grid; place-items: center; height: 74px; background: radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--r) 22%, transparent), transparent 70%); }
.skpick-img img { max-width: 100%; max-height: 74px; width: auto; height: auto; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .6)); transition: scale .2s; }
.skpick-name { display: grid; font-size: .8rem; line-height: 1.25; color: var(--soft); }
.skpick-name b { color: var(--ink); font: 800 .95rem/1.1 var(--display); text-transform: uppercase; }
.skpick-price { color: var(--muted); font-size: .78rem; font-weight: 700; }
.skpick-it:hover { background: #121212; box-shadow: inset 0 0 0 1px #3a3a3a; }
.skpick-it:hover img { scale: 1.06; }
.skpick-it:has(input:checked) { background: #15120c; box-shadow: inset 0 0 0 2px var(--t); }
.skpick-it:has(input:checked) .skpick-price { color: var(--t); }
.skpick-it:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.skpick-when { color: var(--soft); font-weight: 700; }
.dash-row-add { grid-template-columns: auto minmax(0, 11rem) 8rem auto; justify-content: start; border-top: 1px solid var(--line); }

/* La barre « modifications non enregistrées », comme dans Discord */
.dash-save-msg, .dash-save-undo { display: none; }
.has-bar .dash-save { position: fixed; left: 50%; bottom: 20px; z-index: 60; width: min(760px, calc(100% - 32px)); align-items: center; gap: 18px; padding: 12px 12px 12px 20px; background: #111; box-shadow: 0 20px 50px -10px #000, inset 0 0 0 1px #2c2c2c; translate: -50% 140%; opacity: 0; visibility: hidden; transition: translate .3s cubic-bezier(.2,.9,.3,1.2), opacity .2s, visibility 0s .3s; }
.has-bar .dash-save.is-dirty { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .3s cubic-bezier(.2,.9,.3,1.2), opacity .2s, visibility 0s; }
.has-bar .dash-save-msg { display: block; margin-right: auto; color: var(--ink); font-weight: 700; font-size: .92rem; }
.has-bar .dash-save-undo { display: inline; color: var(--soft); text-decoration: none; }
.has-bar .dash-save-undo:hover { text-decoration: underline; }
.has-bar .dash-save .btn { padding: .8em 1.3em; color: #000; background: var(--t); }
.has-bar .dash-save .btn:hover { background: var(--t-2); }
.has-bar .dash-save.is-shake { animation: dash-shake .5s; background: #3a1210; box-shadow: 0 20px 50px -10px #000, inset 0 0 0 1px #8c2a22; }
@keyframes dash-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@media (max-width: 600px) { .has-bar .dash-save { flex-wrap: wrap; gap: 10px; } .has-bar .dash-save-msg { width: 100%; } .dash-row-add { grid-template-columns: 1fr 1fr; } .skpick-when, .dash-row-add .btn { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .has-bar .dash-save.is-shake { animation: none; } }

/* ===== Mon espace : serveurs en icônes, déconnexion, recherche de skins, liste des serveurs ===== */
.dash-k-row { display: flex; align-items: baseline; justify-content: space-between; padding-right: 4px; }
.dash-k-row a { color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.dash-k-row a:hover, .dash-k-row a.is-on { color: var(--t); }
/* Les serveurs en ronds, comme la colonne de gauche de Discord : 15 serveurs tiennent en 3 lignes */
.dash-gicons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 4px 0 0; padding: 0 0 0 12px; list-style: none; }
.dash-gicons a { position: relative; display: block; aspect-ratio: 1; text-decoration: none; }
.dash-gicons .gico, .dash-gmore { width: 100%; height: 100%; border-radius: 50%; font-size: .72rem; transition: border-radius .2s, box-shadow .2s; }
.dash-gmore { display: grid; place-items: center; color: var(--t); background: #1a1a1a; font: 800 .8rem/1 var(--display); }
.dash-gicons a:hover .gico, .dash-gicons a:hover.dash-gmore { border-radius: 30%; box-shadow: 0 0 0 2px var(--t); }
.dash-gicons a:hover::after { content: attr(title); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 5; translate: -50% 0; padding: 5px 9px; color: #fff; background: #111214; font: 700 .76rem/1.2 var(--text); white-space: nowrap; border-radius: 4px; box-shadow: 0 6px 16px rgb(0 0 0 / .5); pointer-events: none; }
.dash-gnone { padding-left: 12px; font-size: .88rem; }
/* Se déconnecter : une vraie ligne du menu, rouge au survol */
.dash-out { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.dash-logout { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 8px 12px; color: var(--muted); background: none; border: 0; font: 700 .9rem/1 var(--text); text-align: left; cursor: pointer; transition: color .15s, background .15s; }
.dash-logout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s; }
.dash-logout:hover { color: #ff8a80; background: rgb(255 106 95 / .08); }
.dash-logout:hover svg { translate: -3px 0; }

/* La recherche de skins */
.sksearch { position: relative; display: flex; align-items: center; margin-bottom: 18px; }
.sksearch svg { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.sksearch input[type=search] { width: 100%; padding: 17px 130px 17px 52px; color: var(--ink); background: #0f0f0f; border: 0; box-shadow: inset 0 0 0 1px #2a2a2a; font: 600 1.02rem/1.2 var(--text); outline: none; transition: box-shadow .15s; }
.sksearch input[type=search]:focus { box-shadow: inset 0 0 0 1px var(--t); }
.sksearch input[type=search]::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.sksearch-n { position: absolute; right: 18px; color: var(--muted); font-size: .8rem; font-weight: 700; pointer-events: none; }
.gfilter input[type=search] { padding-right: 18px; }

.skres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 138px), 1fr)); gap: 8px; max-height: 452px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.skres-it { position: relative; display: grid; gap: 6px; align-content: start; padding: 10px 10px 12px; color: var(--soft); background: #0d0d0d; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .78rem; line-height: 1.3; cursor: pointer; transition: box-shadow .15s, background .15s, color .15s; }
.skres-it::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--r); opacity: .75; }
.skres-it input { position: absolute; opacity: 0; pointer-events: none; }
.skres-it img { width: 100%; height: 78px; object-fit: contain; background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--r) 20%, transparent), transparent 70%); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .6)); transition: scale .2s; }
.skres-it:hover { color: var(--ink); background: #131313; box-shadow: inset 0 0 0 1px #3a3a3a; }
.skres-it:hover img { scale: 1.06; }
.skres-it:has(input:checked) { color: var(--ink); background: #16120b; box-shadow: inset 0 0 0 2px var(--t); }
.skres-it:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.skres-none { grid-column: 1 / -1; padding: 20px 0; }

/* L'alerte en cours : le skin choisi, et la phrase à compléter */
.skset { --r: #3a3a3a; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 18px; padding: 18px 22px 18px 18px; background: linear-gradient(90deg, color-mix(in srgb, var(--r) 12%, #0c0c0c), #0c0c0c 55%); box-shadow: inset 0 0 0 1px var(--line-2), inset 3px 0 0 var(--r); transition: background .3s; }
.skset-skin { display: grid; place-items: center; height: 100px; }
.skset-skin img { max-width: 100%; max-height: 100px; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .7)); }
.skset.is-ready .skset-skin img { animation: sk-pop .35s cubic-bezier(.2,.9,.3,1.3); }
@keyframes sk-pop { from { scale: .8; opacity: 0; } }
.skset-empty { color: var(--muted); font-size: .82rem; text-align: center; }
.skset-name { font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; }
.skset-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 10px; color: var(--soft); font-weight: 600; }
.seg { display: inline-flex; padding: 3px; background: #161616; box-shadow: inset 0 0 0 1px #2a2a2a; }
.seg label { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 12px; color: var(--muted); font-weight: 700; font-size: .88rem; transition: color .15s, background .15s; }
.seg input:checked + span { color: #000; background: var(--t); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); }
.skset-price { position: relative; display: block; width: 8.5rem; }
.skset-price input { padding-right: 34px !important; font: 800 1.1rem/1 var(--display) !important; letter-spacing: .02em; }
.skset-price span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--muted); font-weight: 800; }
.skset-go { align-self: center; }

/* La liste de mes alertes */
.alist { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.alist li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px 10px 8px 8px; background: #0c0c0c; box-shadow: inset 0 0 0 1px var(--line); border-left: 3px solid var(--r); }
.alist-img { display: grid; place-items: center; height: 56px; }
.alist-img img { max-width: 100%; max-height: 56px; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .6)); }
.alist-txt { display: grid; gap: 3px; min-width: 0; }
.alist-txt b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alist-txt small { color: var(--muted); font-size: .84rem; }
.alist-txt strong { color: var(--t); }
.alist-del { display: grid; place-items: center; width: 36px; height: 36px; color: var(--muted); background: none; border: 0; cursor: pointer; border-radius: 50%; transition: color .15s, background .15s; }
.alist-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.alist-del:hover { color: #ff8a80; background: rgb(255 106 95 / .1); }

/* Mes serveurs : une liste, une ligne par serveur */
.grows { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.grows li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.grows li[hidden] { display: none; }
.grow-main { position: relative; display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; padding: 14px 14px 14px 12px; color: var(--ink); text-decoration: none; transition: background .15s; }
.grow-main::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--t); opacity: 0; transition: opacity .15s; }
.grow-main:hover { background: linear-gradient(90deg, rgb(240 178 74 / .08), transparent 70%); }
.grow-main:hover::before { opacity: 1; }
.grow-main .gico-l { border-radius: 50%; transition: border-radius .2s; }
.grow-main:hover .gico-l { border-radius: 30%; }
.grow-txt { display: grid; gap: 3px; min-width: 0; margin-right: auto; }
.grow-txt b { font: 800 1.1rem/1.15 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-txt small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.grow-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.grow-state i { width: 7px; height: 7px; background: #4a4a4a; border-radius: 50%; }
.grow-state.is-set { color: var(--soft); }
.grow-state.is-set i { background: var(--up); }
.grow-go { display: flex; align-items: center; gap: 4px; margin-left: 18px; color: var(--soft); font-weight: 800; font-size: .88rem; white-space: nowrap; }
.grow-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: translate .2s; }
.grow-main:hover .grow-go { color: var(--t); }
.grow-main:hover .grow-go svg { translate: 3px 0; }
.grow-add { display: flex; align-items: center; gap: 8px; margin-right: 6px; padding: 9px 12px; color: #c9cdfb; font-weight: 700; font-size: .84rem; text-decoration: none; white-space: nowrap; border-radius: 4px; transition: background .15s, color .15s; }
.grow-add svg { width: 18px; height: 18px; }
.grow-add:hover { color: #fff; background: #5865f2; }

@media (max-width: 900px) {
  .dash-gicons { grid-template-columns: repeat(8, 1fr); padding-left: 0; }
  .skset { grid-template-columns: 110px minmax(0, 1fr); }
  .skset-go { grid-column: 1 / -1; }
  .grow-state, .grow-add span { display: none; }
}
@media (max-width: 560px) {
  .dash-gicons { grid-template-columns: repeat(6, 1fr); }
  .sksearch input[type=search] { padding-right: 18px; }
  .sksearch-n { display: none; }
  .skset { grid-template-columns: 1fr; text-align: left; }
  .skset-skin { height: 80px; }
  .alist li { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .grow-go { display: none; }
}
.dash-gicons a.dash-gmore { display: grid; place-items: center; }

/* ===== Mon espace, plus simple : streamers en étiquettes, nombres avec - et +, commandes par thème ===== */
.dash-row-wide { grid-template-columns: 1fr !important; }
.chips { display: grid; gap: 10px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 10px; color: #fff; background: rgb(145 70 255 / .16); box-shadow: inset 0 0 0 1px rgb(145 70 255 / .45); border-radius: 4px; font-weight: 700; font-size: .9rem; animation: chip-in .2s ease-out; }
@keyframes chip-in { from { opacity: 0; scale: .9; } }
.chip svg { width: 15px; height: 15px; fill: #bf94ff; }
.chip a { color: inherit; text-decoration: none; }
.chip a:hover { text-decoration: underline; }
.chip button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; color: #cdb6ff; background: none; border: 0; border-radius: 3px; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.chip button:hover { color: #fff; background: rgb(255 106 95 / .4); }
.chips-empty { color: var(--muted); font-size: .88rem; }
.chips-add { display: flex; align-items: stretch; max-width: 30rem; box-shadow: inset 0 0 0 1px #2a2a2a; background: #0f0f0f; }
.chips-add:focus-within { box-shadow: inset 0 0 0 1px var(--t); }
.chips-at { display: flex; align-items: center; padding-left: 14px; color: var(--muted); font-weight: 700; font-size: .92rem; }
.chips-add input[type=text] { flex: 1; min-width: 0; padding-left: 2px !important; background: none !important; box-shadow: none !important; outline: none; }
.chips-add .btn { padding: .7em 1.1em; clip-path: none; }
.chips-msg { min-height: 1.2em; color: var(--muted); font-size: .84rem; }
.chips-msg.is-err { color: #ff8a80; }

.numin { display: flex; align-items: stretch; background: #0f0f0f; box-shadow: inset 0 0 0 1px #2a2a2a; }
.numin:focus-within { box-shadow: inset 0 0 0 1px var(--t); }
.numin input[type=number] { flex: 1; min-width: 0; text-align: right; background: none !important; box-shadow: none !important; outline: none; font: 800 1.05rem/1 var(--display) !important; -moz-appearance: textfield; }
.numin input::-webkit-outer-spin-button, .numin input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.numin-u { display: flex; align-items: center; padding-right: 10px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.numin-b { width: 40px; flex: none; color: var(--soft); background: #161616; border: 0; font: 700 1.15rem/1 var(--text); cursor: pointer; transition: color .15s, background .15s; }
.numin-b:hover { color: #000; background: var(--t); }

.cmdcount { margin: 6px 0 4px; color: var(--muted); font-size: .9rem; }
.cmdcount b { color: var(--t); font: 800 1.2rem/1 var(--display); }
div.dash-group { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dash-group-btns { display: flex; gap: 14px; text-transform: none; }
.dash-group-btns .linklike { color: var(--muted); font: 700 .8rem/1 var(--text); text-decoration: none; }
.dash-group-btns .linklike:hover { color: var(--ink); text-decoration: underline; }
.linked { margin-left: 8px; padding: 2px 7px; color: #000; background: var(--up); font: 800 .68rem/1.3 var(--text); font-style: normal; border-radius: 3px; vertical-align: 2px; }

/* ===== Mes alertes : une seule barre de défilement, images en fondu, bloc « Ton alerte » refait ===== */
.skres { max-height: none; overflow: visible; }
.skres-it img { opacity: 0; transition: opacity .25s, scale .2s; }
.skres-it img.is-in { opacity: 1; }
.skres-it img.is-err { opacity: .15; }
/* Pendant le chargement de l'image : un léger reflet qui passe */
.skres-it::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 78px; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .05) 50%, transparent 70%) 0 0 / 200% 100%; animation: sk-shine 1.2s linear infinite; pointer-events: none; }
.skres-it:has(img.is-in)::before { display: none; }
@keyframes sk-shine { to { background-position: -200% 0; } }
.sksearch.is-loading::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--t), transparent) 0 0 / 50% 100% no-repeat; animation: sk-bar 0.9s linear infinite; }
@keyframes sk-bar { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.skmore { display: block; width: 100%; margin-top: 8px; padding: 12px; color: var(--soft); background: none; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 700 .88rem/1 var(--text); cursor: pointer; transition: color .15s, box-shadow .15s; }
.skmore:hover { color: var(--ink); box-shadow: inset 0 0 0 1px #3a3a3a; }
.skmore[hidden] { display: none; }

.skset { --r: #6b6b6b; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0; align-items: stretch; margin-top: 26px; padding: 0; background: #0b0b0b; box-shadow: inset 0 0 0 1px var(--line-2); transition: none; }
.skset::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--r); transition: background .3s; }
.skset-form { display: grid; gap: 18px; padding: 24px; }
.skset-k { margin-bottom: 8px; color: var(--muted); font-weight: 700; font-size: .8rem; }
.skset-pick { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.skset-thumb { display: grid; place-items: center; width: 92px; height: 64px; flex: none; background: radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--r) 30%, transparent), transparent 75%), #121212; box-shadow: inset 0 0 0 1px var(--line-2); }
.skset-thumb img { max-width: 86px; max-height: 60px; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .6)); opacity: 0; transition: opacity .25s; }
.skset-thumb img.is-in { opacity: 1; }
.skset.is-pop .skset-thumb img { animation: sk-pop .35s cubic-bezier(.2,.9,.3,1.3); }
.skset-pick p { color: var(--muted); font-weight: 600; font-size: .92rem; }
.skset-pick p.is-set { color: var(--ink); font: 800 1.25rem/1.15 var(--display); text-transform: uppercase; }
.seg-full { display: flex; width: 100%; }
.seg-full label { flex: 1; }
.seg-full span { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 10px; text-align: center; }
.seg-full svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seg-full input[value=dessus]:checked + span { background: var(--up); }
.skset-price { width: 100%; max-width: 15rem; }
.skset-price input { padding: 14px 40px 14px 16px !important; font: 800 1.5rem/1 var(--display) !important; }
.skset-price span { right: 16px; font-size: 1.1rem; }
.skset-go { justify-self: start; padding: 1em 1.8em; }

/* Le message privé que le membre recevra, à droite */
.skset-dm { padding: 24px; background: #0e0e10; border-left: 1px solid var(--line-2); }
.skdm { background: #313338; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px -20px #000; font-size: .86rem; color: #dbdee1; }
.skdm-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #949ba4; background: #2b2d31; font-size: .78rem; border-bottom: 1px solid #1f2023; }
.skdm-top img { border-radius: 50%; }
.skdm-top b { color: #fff; }
.skdm-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 14px 16px; }
.skdm-av { border-radius: 50%; }
.skdm-emb { display: grid; gap: 4px; margin-top: 6px; padding: 10px 12px 12px; background: #2b2d31; border-left: 4px solid var(--r); border-radius: 4px; transition: border-color .3s; }
.skdm-tag { color: var(--t); font-size: .72rem; font-weight: 800; }
.skset.is-up .skdm-tag { color: var(--up); }
.skdm-name { color: #fff; font-weight: 700; }
.skdm-line { color: #b5bac1; font-size: .82rem; }
.skdm-line b { color: #fff; }
.skdm-emb img { justify-self: center; width: 150px; height: auto; margin: 4px 0; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .5)); opacity: 0; transition: opacity .25s; }
.skdm-emb img.is-in { opacity: 1; }
.skdm-emb .dc-btns { margin-top: 6px; }
@media (max-width: 1100px) { .skset { grid-template-columns: 1fr; } .skset-dm { border-left: 0; border-top: 1px solid var(--line-2); } .skdm { max-width: 380px; } }

/* ===== Le bandeau des cookies : plus net, interrupteurs comme dans l'espace ===== */
.ck { width: min(23rem, calc(100vw - 32px)); padding: 18px 18px 14px; background: #0f0f0f; box-shadow: inset 0 0 0 1px #262626, 0 24px 60px -16px #000; clip-path: none; border-top: 2px solid var(--t); }
.ck-head { display: flex; align-items: center; gap: 10px; }
.ck-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--t); stroke-width: 1.7; stroke-linejoin: round; }
.ck-ic circle { fill: var(--t); stroke: none; }
.ck-title { font: 800 1.2rem/1 var(--display); text-transform: uppercase; }
.ck-text { margin-top: 10px; font-size: .86rem; line-height: 1.5; }
.ck-text a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--t); }
.ck-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ck-b { padding: .85em 1em; color: var(--ink); background: #1a1a1a; box-shadow: inset 0 0 0 1px #2e2e2e; font: 800 .88rem/1 var(--text); }
.ck-b:hover { color: var(--ink); background: #242424; }
.ck-b.is-main { color: #000; background: var(--t); box-shadow: none; }
.ck-b.is-main:hover { background: var(--t-2); }
.ck-link { display: block; width: auto; margin: 10px auto 0; padding: 4px 0; color: var(--muted); font-size: .8rem; text-decoration: none; }
.ck-link:hover { color: var(--ink); text-decoration: underline; }
.ck-link[hidden] { display: none; }
.ck-details { margin-top: 4px; }
.ck-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid #1f1f1f; cursor: default; }
label.ck-row { cursor: pointer; }
.ck-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ck-row b { font-size: .9rem; }
.ck-row small { font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.ck-always { color: var(--up); font: 700 .74rem/1 var(--text); font-style: normal; white-space: nowrap; }
.ck-row input:checked + .sw { background: var(--t); }
.ck-row input:checked + .sw::after { translate: 20px 0; background: #000; }
.ck-row input:focus-visible + .sw { outline: 2px solid var(--ink); outline-offset: 3px; }
.ck-details .ck-quick { margin-top: 14px; }
/* Le popup du tournoi est ouvert : le bouton des cookies attend qu’il soit fermé */
html:has(dialog[open]) .ck-btn { display: none; }
/* Tournois : le bouton « S'inscrire » à taille normale, centré, plus un bloc blanc sur toute la hauteur */
.tc-go { align-self: center; margin: 0 22px; padding: 12px 18px; font-size: .9rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%); }
.tc-go svg { transition: translate .2s; }
.tc:hover .tc-go svg { translate: 3px 0; }
@media (max-width: 900px) { .tc-go { margin: 0 16px 16px; } }
/* Le lien vers le panel admin, seulement pour l'équipe */
.menu-admin { display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; padding: 7px 11px; color: var(--t); font-weight: 800; font-size: .84rem; text-decoration: none; box-shadow: inset 0 0 0 1px rgb(240 178 74 / .4); transition: background .15s, color .15s; }
.menu-admin svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-admin:hover { color: #000; background: var(--t); }
.dash-admin { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px; color: var(--ink); text-decoration: none; background: linear-gradient(90deg, rgb(240 178 74 / .12), transparent); box-shadow: inset 0 0 0 1px rgb(240 178 74 / .35); transition: box-shadow .15s; }
.dash-admin svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--t); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-admin span { display: grid; }
.dash-admin b { font-size: .9rem; }
.dash-admin small { color: var(--muted); font-size: .78rem; }
.dash-admin:hover { box-shadow: inset 0 0 0 1px var(--t); }
.dash-admin + .dash-out { margin-top: 10px; }
@media (max-width: 1100px) { .menu-admin span { display: none; } }
