/* Nexora Esport : noir, rose du logo et blanc. Formes tirées de l'emblème (couronne, bras du N, traits penchés). */
@font-face { font-family: "Chakra Petch"; src: url(../fonts/chakra-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(../fonts/chakra-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(../fonts/chakra-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #060507; --panel: #0d0b0e; --ink: #f6f1f4; --soft: #c8bfc5; --muted: #8b8389; --line: #1f1a1e; --line-2: #2c252a;
  --pink: #ff2d95; --pink-2: #ff6fb5; --pink-d: #b0105f; --pk: 255 45 149; --pk2: 255 111 181;
  --d: "Chakra Petch", sans-serif; --t: Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { color: var(--ink); font: 400 1rem/1.6 var(--t); background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; background: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; color: #fff; background: var(--pink); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* Le fond : un grain très fin et deux lueurs roses discrètes ; les éclats qui flottent sont dans le canvas #air */
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(55% 50% at 0% 0%, rgb(var(--pk) / .05), transparent 70%), radial-gradient(45% 50% at 100% 100%, rgb(var(--pk) / .04), transparent 70%); }
#air { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
main, footer { position: relative; z-index: 1; }

/* =================== Boutons : penchés comme le N, le balayage rose au survol =================== */
.btn { --shape: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); --edge: #3a2d37; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 28px; overflow: hidden; color: var(--ink); font: 700 .95rem/1 var(--t); white-space: nowrap; background: var(--edge); border: 0; cursor: pointer; clip-path: var(--shape); }
.btn::after { content: ""; position: absolute; inset: 1px; z-index: -2; background: #19121a; clip-path: var(--shape); }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8%; z-index: -1; width: 0; background: rgb(255 255 255 / .12); transform: skewX(-20deg); transition: width .45s var(--ease); }
.btn:hover::before { width: 125%; }
.btn-pink { --edge: rgb(var(--pk) / .75); }
.btn-pink::before { background: var(--pink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn .arr, .more .arr, .tier .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: translate .2s; }
.btn:hover .arr, a:hover > .arr { translate: 3px 0; }
.linklike { padding: 0; color: var(--soft); background: none; border: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: .2em; cursor: pointer; }

/* =================== L'en-tête =================== */
.top { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, box-shadow .3s; }
.top.is-solid { background: rgb(6 5 7 / .94); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font: 700 1.25rem/1 var(--d); letter-spacing: .04em; }
.brand img { width: 38px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: .92rem; color: var(--soft); }
.menu > a:not(.menu-login):not(.menu-me) { position: relative; padding: 6px 0; transition: color .2s; }
.menu > a:not(.menu-login):not(.menu-me)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--pink); transition: right .25s; }
.menu > a:hover, .menu > a[aria-current] { color: var(--ink); }
.menu > a:hover::after, .menu > a[aria-current]::after { right: 0 !important; }
.menu-login, .menu-me { display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line-2); color: var(--soft); }
.menu-login svg { width: 18px; height: 18px; fill: currentColor; }
.menu-me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.menu-login:hover, .menu-me:hover { color: var(--ink); }
.top-cta { padding: 12px 24px; }
.burger { display: none; width: 42px; height: 42px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .3s; }

/* =================== Le héros : la silhouette de l'emblème, le diaporama, l'emblème et ses éclats =================== */
.hero { position: relative; padding: 92px clamp(12px, 2.6vw, 36px) 0; }
.hero-panel { position: relative; height: clamp(640px, 80vh, 780px); overflow: hidden; isolation: isolate; background: #09070a; clip-path: var(--shape); }
.slides { position: absolute; inset: -2%; z-index: 0; overflow: hidden; transition: translate 1.2s var(--ease); }
.slide { position: absolute; inset: 0; background: center / cover; filter: brightness(.6) saturate(.95); opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease, transform 7.6s linear; will-change: opacity, transform; }
.slide.is-on { opacity: 1; transform: scale(1.12); }
.slides::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(36% 46% at 50% 44%, rgb(9 7 10 / .82), rgb(9 7 10 / .25) 70%, transparent), linear-gradient(0deg, #09070a 2%, transparent 38%), linear-gradient(180deg, rgb(9 7 10 / .55), transparent 26%); }
.hero-shards { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-edge { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero-edge polygon { fill: none; stroke: url(#edge); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.hero-in { position: relative; z-index: 2; height: 100%; display: grid; place-items: start center; align-content: start; text-align: center; padding: 80px 20px 0; }
.emblem { width: clamp(160px, 18vw, 220px); height: auto; margin: 0 auto; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.kicker { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--pink-2); font-weight: 700; font-size: .85rem; }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--pink); transform: rotate(45deg); }
.hero h1 { margin-top: 8px; font: 600 clamp(2.4rem, 5vw, 3.8rem)/1 var(--d); letter-spacing: .01em; }
.hero .lead { max-width: 30rem; margin: 12px auto 0; color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.figs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 46px; display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3vw, 40px); margin: 0; }
.figs div { display: flex; flex-direction: column; text-align: center; }
.figs dd { margin: 0; font: 600 clamp(1.8rem, 3vw, 2.5rem)/1 var(--d); }
.figs dd.is-pink { color: var(--pink); }
.figs dt { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.figs i { width: 7px; height: 7px; margin-bottom: 18px; background: var(--pink); transform: rotate(45deg); }
.slide-dots { position: absolute; z-index: 6; right: 5%; bottom: 40px; display: flex; gap: 6px; }
.slide-dots button { width: 22px; height: 14px; padding: 0; background: none; border: 0; cursor: pointer; }
.slide-dots i { position: relative; display: block; height: 3px; overflow: hidden; background: rgb(255 255 255 / .22); transform: skewX(-20deg); }
.slide-dots i::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.slide-dots .is-on i::after { animation: dotfill 6s linear forwards; }
.slide-dots button:hover i { background: rgb(255 255 255 / .45); }
@keyframes dotfill { to { transform: scaleX(1); } }

/* =================== Les sections =================== */
.sec { padding: 110px 0 0; }
.sec-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.h2 { display: flex; align-items: center; gap: 14px; font: 600 clamp(2rem, 3.4vw, 2.7rem)/1.05 var(--d); }
.crown { width: 30px; height: 18px; flex: none; fill: var(--pink); }
.sec-lead { max-width: 34rem; margin-top: 14px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.more:hover { color: var(--pink-2); }
[data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .7s, translate .7s var(--ease); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Le roster : des cristaux, pointus en haut et en bas */
.roster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.pl { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(180deg, #17101a, #0a080b); clip-path: polygon(50% 0, 100% 7%, 100% 90%, 50% 100%, 0 90%, 0 7%); }
.pl::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, rgb(255 255 255 / .05) 0 50%, transparent 50%); }
.pl::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(9 7 10 / .95) 12%, transparent 48%); }
.pl-img { position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 38%, rgb(var(--pk) / .22), transparent 70%); transition: background .3s; }
.pl-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-img svg { position: absolute; left: 50%; bottom: 0; width: 76%; translate: -50% 0; fill: #2b1b25; transition: scale .35s; }
.pl:hover .pl-img { background: radial-gradient(60% 45% at 50% 38%, rgb(var(--pk) / .38), transparent 70%); }
.pl:hover .pl-img svg { scale: 1.04; }
.pl-flag { position: absolute; z-index: 3; left: 50%; top: 16px; translate: -50% 0; color: var(--muted); font-size: .74rem; font-weight: 700; }
.pl-txt { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 34px; text-align: center; }
.pl-txt small { display: block; color: var(--pink-2); font-weight: 700; font-size: .76rem; }
.pl-txt b { display: block; font: 600 1.3rem/1.1 var(--d); }
.staff { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.staff b { color: var(--ink); }

/* Le prochain tournoi et l'arbre */
.tour { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; align-items: stretch; }
.tour-card { position: relative; padding: 32px 32px 40px; overflow: hidden; background: radial-gradient(70% 80% at 100% 0, rgb(var(--pk) / .12), transparent 60%), linear-gradient(115deg, #120d13 0 50%, #0e0a0f 50%); clip-path: polygon(0 0, 100% 0, 100% 94%, 97% 100%, 3% 100%, 0 94%); }
.tag { display: inline-block; padding: 4px 10px; color: #fff; background: var(--pink); font-weight: 800; font-size: .74rem; border-radius: 3px; }
.tour-card h3 { margin-top: 14px; font: 600 1.9rem/1.1 var(--d); }
.tour-card .date { color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .76rem; font-weight: 700; }
.facts dd { margin: 2px 0 0; font: 600 1.2rem var(--d); }
.fill { height: 6px; overflow: hidden; background: #22191f; transform: skewX(-20deg); }
.fill i { display: block; height: 100%; background: linear-gradient(90deg, #e5137f, #ff5aaa); }
.fill-t { margin: 8px 0 22px; color: var(--muted); font-size: .85rem; }
.fill-t b { color: var(--ink); }
.bracket-box { display: grid; align-content: center; gap: 14px; }
.bracket-note { color: var(--muted); font-size: .8rem; }
.bracket { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: center; }
.round { display: grid; gap: 12px; }
.round > p { color: var(--muted); font-size: .76rem; font-weight: 700; }
.m { display: grid; overflow: hidden; background: #141015; box-shadow: inset 0 0 0 1px var(--line-2); transform: skewX(-12deg); }
.m span { display: flex; justify-content: space-between; gap: 10px; padding: 7px 11px; color: var(--soft); font-weight: 600; font-size: .86rem; transform: skewX(12deg); }
.m span + span { border-top: 1px solid var(--line-2); }
.m .w { color: #fff; background: linear-gradient(90deg, rgb(var(--pk) / .16), transparent); }
.m b { font-family: var(--d); }
.m .w b { color: var(--pink-2); }
.champ { display: grid; justify-items: center; gap: 4px; padding: 16px 0; text-align: center; }
.champ svg { width: 40px; fill: var(--pink); }
.champ small { color: var(--muted); font-size: .76rem; font-weight: 700; }
.champ b { font: 600 1.25rem var(--d); }

/* Les actus */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nc-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #140f15 center / cover; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); transition: filter .4s; }
.nc:hover .nc-img { filter: brightness(1.1); }
.nc-badge { position: absolute; z-index: 1; left: 9%; bottom: 14px; padding: 4px 10px; color: #fff; background: var(--pink); font: 700 .78rem var(--t); border-radius: 3px; }
.nc-meta { margin-top: 14px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.nc h3 { margin-top: 4px; font: 600 1.15rem/1.3 var(--d); transition: color .2s; }
.nc:hover h3 { color: var(--pink-2); }
.nc p:not(.nc-meta) { margin-top: 4px; color: var(--muted); font-size: .9rem; }

/* Postuler */
.join { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px; min-height: 380px; padding: 50px clamp(24px, 5vw, 70px) 60px; overflow: hidden; background: linear-gradient(90deg, #0c090d 40%, rgb(12 9 13 / .35)), url(../img/fond-4.webp) right center / auto 130% no-repeat, #0c090d; clip-path: polygon(0 0, 100% 0, 100% 92%, 97.5% 100%, 2.5% 100%, 0 92%); }
.join-k { color: var(--pink-2); font-weight: 700; font-size: .88rem; }
.join h2 { margin-top: 10px; font: 600 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 var(--d); }
.join p:not(.join-k) { max-width: 30rem; margin-top: 12px; color: var(--soft); }
.join .btn { margin-top: 24px; }
.join img { justify-self: center; width: min(260px, 80%); height: auto; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .6)); }

/* Soutenir */
.don { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.goal { margin-top: 24px; }
.goal-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; color: var(--soft); font-weight: 700; }
.goal-t b { color: var(--ink); font: 600 1.4rem var(--d); white-space: nowrap; }
.goal-t small { color: var(--muted); font: 600 .9rem var(--t); }
.tiers { display: grid; gap: 10px; }
.tier { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 10px; background: #0d0a0e; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.tier:hover { background: #140e13; box-shadow: inset 0 0 0 1px var(--pink); }
.tier-n { min-width: 4.6rem; color: var(--pink-2); font: 600 1.4rem var(--d); }
.tier span:nth-child(2) { flex: 1; }
.tier b { display: block; }
.tier small { color: var(--muted); }

/* =================== Le pied de page =================== */
.foot { margin-top: 120px; padding: 34px 0 26px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--muted); font-size: .86rem; }
.foot-brand img { width: 40px; height: auto; }
.foot-nav { display: flex; gap: 22px; color: var(--soft); font-weight: 700; font-size: .9rem; }
.foot-nav a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, box-shadow .2s; }
.socials a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--pink); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a:hover { color: var(--ink); }
.foot-links span a { text-decoration: underline; text-underline-offset: .2em; }
.foot-pink { color: var(--pink-2); font-weight: 700; }

/* =================== Les cookies =================== */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(23rem, calc(100vw - 32px)); padding: 18px 18px 14px; background: #0f0c10; box-shadow: inset 0 0 0 1px #2a2128, 0 24px 60px -16px #000; border-top: 2px solid var(--pink); }
.ck[hidden], .ck-btn[hidden], .ck-details[hidden], .ck-quick[hidden] { display: none !important; }
.ck-title { font: 600 1.15rem/1 var(--d); }
.ck-text { margin-top: 10px; color: var(--soft); font-size: .86rem; line-height: 1.5; }
.ck-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: .2em; }
.ck-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ck-b { flex: 1; padding: .85em 1em; color: var(--ink); background: #1b141a; border: 0; box-shadow: inset 0 0 0 1px #33282f; font: 700 .86rem/1 var(--t); cursor: pointer; }
.ck-b:hover, .ck-b.is-main { color: #fff; background: var(--pink); box-shadow: none; }
.ck-link { width: 100%; margin-top: 4px; padding: 4px 0; color: var(--muted); background: none; border: 0; font: 700 .8rem var(--t); cursor: pointer; }
.ck-link:hover { color: var(--ink); text-decoration: underline; }
.ck-details .ck-link { width: auto; }
.ck-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; cursor: pointer; }
.ck-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.ck-row b { display: block; font-size: .9rem; }
.ck-row small { display: block; color: var(--muted); font-size: .8rem; }
.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 11 15 / .92); border: 0; box-shadow: inset 0 0 0 1px #2c242a; font: 700 .8rem var(--t); cursor: pointer; }
.ck-btn:hover { color: var(--pink-2); }
.ck-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ck-btn svg circle { fill: currentColor; stroke: none; }
.notice { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--pink); background: rgb(var(--pk) / .06); font-weight: 600; }
.notice-error { border-color: #ff6a5f; background: rgb(255 106 95 / .08); }

/* =================== Téléphone et tablette =================== */
@media (max-width: 1000px) {
  .roster { grid-template-columns: repeat(3, 1fr); }
  .tour, .don, .join { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .menu { position: fixed; inset: 76px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; background: rgb(6 5 7 / .98); box-shadow: 0 1px 0 var(--line); }
  .menu.is-open { display: flex; }
  .menu > a { padding: 14px 0 !important; border-bottom: 1px solid var(--line); }
  .menu-login, .menu-me { padding-left: 0; border-left: 0; }
  .burger { display: block; order: 3; }
  .top-cta { padding: 11px 18px; }
  .slide-dots { right: 50%; translate: 50% 0; bottom: 16px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .top-cta span { display: none; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .figs { bottom: 52px; gap: 14px; }
  .figs i { display: none; }
  .figs dd { font-size: 1.6rem; }
  .bracket { grid-template-columns: 1fr; }
  .sec { padding-top: 80px; }
  .sec-top { flex-direction: column; align-items: flex-start; }
  .goal-t { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .emblem { animation: none; }
  .slide { transition: opacity .3s; transform: none !important; }
  .slide-dots .is-on i::after { animation: none; transform: scaleX(1); }
  [data-reveal] { opacity: 1; translate: none; }
}

/* =================== L'intro (accueil) =================== */
html.intro-on { background: #000; }
html.intro-on body { visibility: hidden; }
html.intro-play { overflow: hidden; }
html.intro-fly .hero .emblem { visibility: hidden; }
.intro { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: visible; }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(45% 45% at 50% 50%, rgb(var(--pk) / .1), transparent 70%), #050405; }
.intro-bg::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.intro-line { position: absolute; left: -10%; right: -10%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--pink) 20%, #fff 50%, var(--pink) 80%, transparent); transform: rotate(-24deg) scaleX(0); }
.intro-words { position: absolute; inset: 0; display: grid; place-items: center; }
.intro-words span { grid-area: 1 / 1; padding: 0 20px; opacity: 0; color: var(--ink); font: 600 clamp(2rem, 7vw, 5.6rem)/1.1 var(--d); letter-spacing: .01em; text-align: center; }
.intro-words span:nth-child(2) { color: var(--pink); }
.intro-logo { position: absolute; left: 50%; top: 50%; width: min(19rem, 60vw); aspect-ratio: 512 / 542; translate: -50% -50%; will-change: transform; }
.intro-piece { position: absolute; inset: 0; background: center / 100% 100% no-repeat; opacity: 0; will-change: transform, opacity; }
.intro-full { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.intro-glint { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .85) 50%, transparent 60%) 0 0 / 250% 100% no-repeat; background-position: -60% 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; mix-blend-mode: overlay; pointer-events: none; }
.intro-skip { position: absolute; right: 20px; bottom: 18px; padding: 6px 2px; color: var(--muted); background: none; border: 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; opacity: 0; }
.intro-skip:hover { color: var(--ink); }
/* À la fin de l'intro : le contour rose du cadre se dessine, le contenu apparaît */
html.intro-done:not(.intro-fly) .hero-edge polygon { stroke-dasharray: 1; animation: edge-draw 1.3s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes edge-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.intro-done .hero .kicker, html.intro-done .hero h1, html.intro-done .hero .lead, html.intro-done .hero .cta, html.intro-done .hero .figs { animation: hero-up .8s var(--ease) both; }
html.intro-done .hero h1 { animation-delay: .08s; } html.intro-done .hero .lead { animation-delay: .16s; } html.intro-done .hero .cta { animation-delay: .24s; } html.intro-done .hero .figs { animation-delay: .34s; }
@keyframes hero-up { from { opacity: 0; translate: 0 18px; } }
/* Sans intro (en revenant d'une autre page) : le cadre s'allume simplement */
html.js:not(.intro-play):not(.intro-done) .hero-panel { animation: panel-in .9s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; scale: .985; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } html.intro-done .hero-edge polygon { animation: none; } }

/* =================== L'intro, version 2 : plus de détails =================== */
.intro-bg { display: none; }
/* Le noir en deux moitiés, coupées le long de la diagonale du N : elles s'écartent à la fin */
.intro-half { position: absolute; inset: -20%; background: radial-gradient(45% 45% at 50% 50%, rgb(var(--pk) / .1), transparent 70%), #050405; will-change: transform; }
.intro-half::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.intro-half-a { clip-path: polygon(0 0, 100% 0, 100% 27.7%, 0 72.3%); }
.intro-half-b { clip-path: polygon(0 72.3%, 100% 27.7%, 100% 100%, 0 100%); }
.intro-half-a { box-shadow: none; }
/* « Counter-Strike 2 » en haut */
.intro-sub { position: absolute; left: 0; right: 0; top: 13%; color: var(--pink-2); font: 600 .9rem/1 var(--d); letter-spacing: .32em; text-align: center; text-transform: uppercase; opacity: 0; }
/* Les phrases : un trait rose sous chacune */
.intro-words span { padding-bottom: .2em; background: linear-gradient(var(--pink), var(--pink)) left bottom / 0% 3px no-repeat; }
/* Les rayons de lumière derrière l'emblème */
.intro-rays { position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; opacity: 0; background: repeating-conic-gradient(from 0deg, rgb(var(--pk) / .16) 0deg 4deg, transparent 4deg 18deg); -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 72%); mask: radial-gradient(closest-side, #000 18%, transparent 72%); transform: translate(-50%, -50%); pointer-events: none; }
/* L'éclair horizontal */
.intro-flare { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; opacity: 0; background: linear-gradient(90deg, transparent, rgb(var(--pk) / .7) 30%, #fff 50%, rgb(var(--pk) / .7) 70%, transparent); box-shadow: 0 0 18px 4px rgb(var(--pk) / .45); transform: scaleX(0); pointer-events: none; }
/* Les étincelles, qui partent du centre de l'emblème */
.intro-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.intro-spark { position: absolute; left: -1.5px; top: -9px; width: 3px; height: 18px; opacity: 0; background: linear-gradient(#fff, var(--pink)); border-radius: 2px; }
/* « NEXORA » qui s'écrit sous l'emblème */
.intro-name { position: absolute; left: 0; right: 0; top: calc(50% + min(10.5rem, 33vw)); display: flex; justify-content: center; gap: .32em; color: var(--ink); font: 700 clamp(1.2rem, 3vw, 2rem)/1 var(--d); letter-spacing: .1em; }
.intro-name span { opacity: 0; }

/* =================== L'intro, version cinéma =================== */
html.intro-fly .hero .emblem { visibility: hidden; }
.cin { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: visible; background: transparent; }
.cin-black { position: absolute; inset: 0; background: #030203; }
.cin-reel { position: absolute; inset: 0; }
.cin-shot { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; visibility: hidden; filter: saturate(1.05) contrast(1.08); will-change: transform, opacity; }
.cin-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 2 3 / .35), transparent 35%, transparent 65%, rgb(3 2 3 / .5)); }
.cin-card { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: #030203; }
.cin-card span { padding: 0 24px; color: var(--ink); font: 600 clamp(1.8rem, 5.5vw, 4.6rem)/1 var(--d); letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.cin-leak { position: absolute; inset: -20%; opacity: 0; pointer-events: none; background: radial-gradient(30% 50% at 20% 40%, rgb(var(--pk) / .45), transparent 70%), radial-gradient(20% 35% at 80% 70%, rgb(255 140 190 / .3), transparent 70%); mix-blend-mode: screen; will-change: transform, opacity; }
.cin-grain { position: absolute; inset: 0; opacity: 1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .5s steps(3) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-18px, 9px); } 66% { transform: translate(11px, -14px); } 100% { transform: translate(0, 0); } }
.cin-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(75% 70% at 50% 50%, transparent 55%, rgb(0 0 0 / .75)); }
.cin-flash { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, #fff, #ffd1e8 40%, var(--pink) 100%); }
.cin-bar { position: absolute; left: 0; right: 0; z-index: 4; height: 11vh; background: #000; }
.cin-bar-top { top: 0; }
.cin-bar-bot { bottom: 0; }
/* La révélation du logo */
.cin-reveal { position: absolute; inset: 0; z-index: 3; opacity: 0; }
.cin-back { position: absolute; left: 50%; top: 46%; width: 90vmin; height: 90vmin; background: radial-gradient(closest-side, rgb(var(--pk) / .55), rgb(var(--pk) / .15) 45%, transparent 75%); transform: translate(-50%, -50%); will-change: transform, opacity; }
.cin-logo { position: absolute; left: 50%; top: 46%; width: min(20rem, 56vw); aspect-ratio: 512 / 542; translate: -50% -50%; will-change: transform; }
.cin-logo img { width: 100%; height: 100%; }
.cin-shade { position: absolute; inset: -2%; background: #030203; -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent); will-change: opacity; }
.cin-glint { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / .9) 50%, transparent 58%) 0 0 / 260% 100% no-repeat; background-position: -80% 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; mix-blend-mode: overlay; }
.cin-streak { position: absolute; left: 0; right: 0; top: 46%; height: 2px; margin-top: -1px; opacity: 0; background: linear-gradient(90deg, transparent, rgb(var(--pk) / .6) 25%, #fff 50%, rgb(var(--pk) / .6) 75%, transparent); box-shadow: 0 0 24px 6px rgb(var(--pk) / .35); will-change: transform, opacity; }
.cin-name { position: absolute; left: 0; right: 0; top: calc(46% + min(11.5rem, 33vw)); padding-left: .42em; color: var(--ink); font: 700 clamp(1.4rem, 3.4vw, 2.4rem)/1 var(--d); letter-spacing: .42em; text-align: center; opacity: 0; }
.cin-tag { position: absolute; left: 0; right: 0; top: calc(46% + min(11.5rem, 33vw) + 3rem); color: var(--pink-2); font: 600 .85rem/1 var(--d); letter-spacing: .6em; text-align: center; text-transform: uppercase; opacity: 0; }
.cin-skip { position: absolute; right: 20px; bottom: calc(11vh + 14px); z-index: 5; padding: 6px 2px; color: var(--muted); background: none; border: 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; opacity: 0; }
.cin-skip:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .cin { display: none; } }

/* Intro cinéma, version légère : rien qui oblige le navigateur à tout redessiner */
.cin-shot { filter: none; will-change: auto; }
.cin-leak { mix-blend-mode: normal; background: radial-gradient(30% 50% at 20% 40%, rgb(var(--pk) / .22), transparent 70%), radial-gradient(20% 35% at 80% 70%, rgb(255 140 190 / .14), transparent 70%); will-change: transform, opacity; }
.cin-grain { animation: none; }
.cin-card span { letter-spacing: .3em; padding-left: .3em; will-change: transform, opacity; }
.cin-name { letter-spacing: .42em; will-change: transform, opacity; }
.cin-logo { opacity: 1; }
.cin-glint { overflow: hidden; mix-blend-mode: normal; background: none; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; opacity: .55; }
.cin-glint i { position: absolute; top: -10%; bottom: -10%; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .9), transparent); transform: translateX(-120%) skewX(-18deg); will-change: transform; }
.cin-skip { bottom: 18px; }

/* Intro : un mot sur chaque plan, la rafale finale */
.cin-reel { perspective: 1600px; }
.cin-shot { backface-visibility: hidden; display: grid; place-items: center; }
.cin-word { position: relative; z-index: 1; color: #fff; font: 700 clamp(3rem, 11vw, 9rem)/1 var(--d); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 6px 30px rgb(0 0 0 / .55); opacity: 0; will-change: transform, opacity; }
.cin-shot:nth-child(3n + 2) .cin-word { color: transparent; -webkit-text-stroke: 2px #fff; }
.cin-shot:nth-child(4n) .cin-word { color: var(--pink); }
.cin-rush { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, #3a0820, #0b0408 75%); }
.cin-rush span { color: #fff; font: 700 clamp(3.4rem, 13vw, 11rem)/1 var(--d); letter-spacing: .03em; text-transform: uppercase; will-change: transform; }
.cin-rush:nth-child(even) span { color: var(--pink); }
/* Pendant l'intro, l'image de fond du cadre ne zoome pas (moins de travail pendant le vol du logo) */
html.intro-fly .slide { transition: none; transform: scale(1.06); }
.cin-black { will-change: opacity; }
/* Intro : moins de couches lourdes pendant la rafale et la révélation */
.cin-rushbg { position: absolute; inset: 0; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, #3a0820, #0b0408 75%); }
.cin-rushwords { position: absolute; inset: 0; }
.cin-rush { background: none; }
.cin-back { will-change: opacity; }
.cin-logo { will-change: transform, opacity; }
/* Le trait de lumière : sa lueur est un dégradé dessiné une fois (plus d'ombre floue recalculée) */
.cin-streak { height: 40px; margin-top: -20px; box-shadow: none; background: linear-gradient(90deg, transparent, rgb(var(--pk) / .6) 25%, #fff 50%, rgb(var(--pk) / .6) 75%, transparent) center / 100% 2px no-repeat, radial-gradient(50% 50% at 50% 50%, rgb(var(--pk) / .35), transparent 70%); }

/* =================== Le roster, version 2 =================== */
.roster { gap: 16px; }
.pl { transition: translate .35s var(--ease); }
.pl:hover { translate: 0 -6px; }
.pl-img img { object-position: center 25%; transition: scale .6s var(--ease), filter .4s; filter: saturate(.9) brightness(.9); }
.pl:hover .pl-img img { scale: 1.07; filter: saturate(1.05) brightness(1); }
.pl::after { background: linear-gradient(0deg, rgb(9 7 10 / .96) 10%, rgb(9 7 10 / .5) 34%, transparent 58%), linear-gradient(180deg, rgb(9 7 10 / .55), transparent 22%); }
/* Le liseré qui suit la forme du cristal : discret, rose au survol */
.pl-edge { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.pl-edge polygon { fill: none; stroke: rgb(255 255 255 / .12); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.pl:hover .pl-edge polygon { stroke: var(--pink); }
.pl.is-cap .pl-edge polygon { stroke: rgb(var(--pk) / .5); }
/* Un reflet qui traverse la carte au survol */
.pl-sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.pl-sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .16), transparent); transform: translateX(-160%) skewX(-18deg); }
.pl:hover .pl-sweep::before { transform: translateX(330%) skewX(-18deg); transition: transform .9s var(--ease); }
/* Numéro en contour, pays en étiquette, couronne du capitaine */
.pl-num { position: absolute; z-index: 3; right: 10%; top: 9%; color: transparent; font: 700 2.6rem/1 var(--d); -webkit-text-stroke: 1px rgb(255 255 255 / .45); }
.pl-flag { left: 10%; top: 10%; translate: none; padding: 3px 7px; color: var(--ink); background: rgb(9 7 10 / .7); font-size: .7rem; letter-spacing: .05em; border-radius: 3px; }
.pl-crown { position: absolute; z-index: 3; left: 50%; top: 1.6%; width: 24px; height: 14px; translate: -50% 0; fill: var(--pink); }
.pl-txt { bottom: 30px; }
.pl-txt small { display: inline-block; margin-bottom: 4px; padding: 2px 8px; color: #fff; background: rgb(var(--pk) / .85); font-size: .7rem; border-radius: 3px; }
.pl-txt b { font-size: 1.45rem; }
/* Le staff : des étiquettes avec une icône */
.staff { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.staff-k { margin-right: 8px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.staff-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: #0f0b10; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 8px; }
.staff-chip svg { width: 20px; height: 20px; fill: none; stroke: var(--pink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.staff-chip span { display: grid; line-height: 1.2; }
.staff-chip small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.staff-chip b { color: var(--ink); font: 600 1rem var(--d); }
@media (prefers-reduced-motion: reduce) { .pl:hover { translate: none; } .pl:hover .pl-img img { scale: 1; } }

/* =================== Le staff, version 2 =================== */
.staff { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 34px; padding: 0; border-top: 0; }
.staff-head { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--pink); }
.staff-k { margin: 0; color: var(--ink); font: 600 1.3rem/1.1 var(--d); }
.staff-lead { color: var(--muted); font-size: .85rem; }
.staff-list { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
/* Une carte penchée comme les boutons, un petit cristal pour la photo */
.sm { --shape: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); position: relative; display: flex; align-items: center; gap: 16px; min-width: 250px; padding: 12px 34px 12px 26px; background: linear-gradient(115deg, #17111a 0 55%, #110c12 55%); clip-path: var(--shape); transition: background .3s; }
.sm::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--pk) / .16), transparent 60%); opacity: 0; transition: opacity .3s; }
.sm:hover::before { opacity: 1; }
.sm-pic { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 64px; overflow: hidden; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); }
.sm-pic img { width: 100%; height: 100%; object-fit: cover; }
.sm-pic b { color: #fff; font: 700 1.1rem var(--d); }
.sm-txt { position: relative; display: grid; line-height: 1.15; }
.sm-txt small { color: var(--pink-2); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.sm-txt b { color: var(--ink); font: 600 1.35rem/1.1 var(--d); }
@media (max-width: 640px) { .sm { min-width: 0; width: 100%; } .staff { gap: 14px; } }

/* =================== Prochain tournoi, version 2 : une affiche + un vrai arbre =================== */
.poster { position: relative; display: grid; gap: 34px; padding: 54px clamp(24px, 5vw, 64px) 46px; overflow: hidden; background: linear-gradient(90deg, #0b080c 30%, rgb(11 8 12 / .55) 65%, rgb(11 8 12 / .2)), linear-gradient(0deg, #0b080c, transparent 45%), url(../img/fond-7.webp) right 30% / cover no-repeat, #0b080c; clip-path: polygon(0 0, 100% 0, 100% 92%, 97.5% 100%, 2.5% 100%, 0 92%); }
.poster-date { color: var(--pink-2); font-weight: 700; }
.poster h3 { max-width: 14ch; margin-top: 10px; font: 700 clamp(2.2rem, 5vw, 3.8rem)/1 var(--d); }
.poster-sum { max-width: 34rem; margin-top: 14px; color: var(--soft); font-size: 1.05rem; }
.cd { display: flex; gap: clamp(14px, 3vw, 34px); margin-top: 30px; }
.cd span { display: grid; gap: 2px; }
.cd b { color: #fff; font: 600 clamp(2rem, 4vw, 3rem)/1 var(--d); font-variant-numeric: tabular-nums; }
.cd span + span { padding-left: clamp(14px, 3vw, 34px); border-left: 1px solid rgb(255 255 255 / .12); }
.cd small { color: var(--muted); font-size: .8rem; }
.poster .cta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 32px; }
.slots { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .08); }
.slots p { color: var(--soft); }
.slots p b { color: #fff; font-family: var(--d); }
.slot-row { display: flex; flex-wrap: wrap; gap: 7px; }
.slot-row i { width: 16px; height: 20px; background: rgb(255 255 255 / .1); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); }
.slot-row i.on { background: linear-gradient(160deg, var(--pink-2), var(--pink)); }

.tree { margin-top: 26px; overflow-x: auto; padding-bottom: 6px; }
.tree-note { margin-bottom: 18px; color: var(--muted); font-size: .85rem; }
.bracket { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)) minmax(140px, .7fr); gap: 0 44px; align-items: stretch; min-width: 760px; }
.round { display: flex; flex-direction: column; }
.round > p { margin-bottom: 10px; color: var(--muted); font-weight: 700; font-size: .8rem; }
.pair { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; padding: 6px 0; }
.pair .m { margin: 6px 0; }
/* Les traits qui relient deux matchs au suivant */
.round:not(:nth-last-child(-n+2)) .pair::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: -22px; width: 22px; border: 1px solid rgb(255 255 255 / .16); border-left: 0; }
.round:not(:nth-last-child(-n+2)) .pair::before { content: ""; position: absolute; top: 50%; right: -44px; width: 22px; border-top: 1px solid rgb(255 255 255 / .16); }
.pair.one::after { content: ""; position: absolute; top: 50%; right: -44px; width: 44px; border-top: 1px solid rgb(var(--pk) / .5); }
.round .champ { display: grid; justify-items: start; gap: 6px; margin: auto 0; padding: 0; text-align: left; }
.round .champ svg { width: 30px; height: 30px; fill: var(--pink); }
.round .champ b { font: 600 1.4rem/1 var(--d); }

/* =================== Soutenir la team, version 2 =================== */
.don-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.don-sum { display: grid; justify-items: end; text-align: right; }
.don-sum b { color: #fff; font: 700 clamp(2.8rem, 6vw, 4.4rem)/1 var(--d); }
.don-sum span { margin-top: 6px; color: var(--muted); }
.gauge { display: flex; gap: 6px; margin-top: 26px; }
.gauge i { flex: 1; height: 14px; background: rgb(255 255 255 / .08); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.gauge i.on { background: linear-gradient(90deg, var(--pink-d), var(--pink)); }
.gifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.gift { --shape: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); position: relative; isolation: isolate; display: grid; gap: 4px; padding: 26px 40px 28px; overflow: hidden; background: rgb(255 255 255 / .09); clip-path: var(--shape); }
.gift::after { content: ""; position: absolute; inset: 1px; z-index: -2; background: linear-gradient(115deg, #151017 0 60%, #100c11 60%); clip-path: var(--shape); }
.gift::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10%; z-index: -1; width: 0; background: linear-gradient(90deg, rgb(var(--pk) / .22), rgb(var(--pk) / .05)); transform: skewX(-20deg); transition: width .45s var(--ease); }
.gift:hover::before { width: 125%; }
.gift b { margin-bottom: 8px; color: var(--pink-2); font: 700 2.4rem/1 var(--d); }
.gift span { color: #fff; font-weight: 700; }
.gift small { color: var(--muted); }
@media (max-width: 760px) {
  .gifts { grid-template-columns: 1fr; gap: 10px; }
  .gift { grid-template-columns: 5.2rem 1fr; gap: 2px 14px; align-items: center; padding: 16px 30px; }
  .gift b { grid-row: span 2; margin: 0; font-size: 1.7rem; }
  .don-sum { justify-items: start; text-align: left; }
  .poster { padding-top: 40px; }
}

/* =================== Le staff, version 3 : les mêmes cristaux que les joueurs, en plus petit =================== */
.staff { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: center; margin-top: 30px; padding: 0; border: 0; }
.staff-t { color: var(--ink); font: 600 1.5rem/1.1 var(--d); text-align: right; padding-right: 10px; }
.staff-list { display: contents; }
.staff-list li { list-style: none; }
.pl-staff { aspect-ratio: 1 / 1; }
.pl-staff .pl-txt { bottom: 22px; }
.pl-staff .pl-txt b { font-size: 1.2rem; }
.pl-staff .pl-img img { object-position: center 30%; }
@media (max-width: 1000px) { .staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } .staff-t { grid-column: 1 / -1; text-align: left; } }

/* =================== Prochain tournoi, version 3 : l'affiche et l'arbre côte à côte, compacts =================== */
.tourbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: center; }
.poster { gap: 22px; padding: 34px 34px 30px; background: linear-gradient(90deg, #0b080c 35%, rgb(11 8 12 / .6) 75%, rgb(11 8 12 / .35)), linear-gradient(0deg, #0b080c, transparent 50%), url(../img/fond-7.webp) right 30% / cover no-repeat, #0b080c; clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%); }
.poster h3 { margin-top: 6px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.poster-sum { margin-top: 8px; font-size: .95rem; }
.cd { gap: 18px; margin-top: 20px; }
.cd span + span { padding-left: 18px; }
.cd b { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cd small { font-size: .72rem; }
.poster .cta { margin-top: 22px; }
.poster .btn { padding: 12px 22px; font-size: .88rem; }
.slots { gap: 8px; padding-top: 16px; }
.slots p { font-size: .85rem; }
.slot-row { gap: 5px; }
.slot-row i { width: 12px; height: 15px; }

.tree { margin-top: 0; }
.tree-note { margin-bottom: 12px; font-size: .78rem; }
.bracket { grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 0 28px; min-width: 470px; }
.round > p { margin-bottom: 4px; font-size: .74rem; }
.m span { padding: 5px 10px; font-size: .78rem; }
.pair { padding: 3px 0; }
.pair .m { margin: 4px 0; }
.round:not(:nth-last-child(-n+2)) .pair::after { content: none; }
.round:not(:last-child) .pair::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: -14px; width: 14px; border: 1px solid rgb(255 255 255 / .16); border-left: 0; }
.round:not(:last-child) .pair::before { content: ""; position: absolute; top: 50%; right: -28px; width: 14px; border-top: 1px solid rgb(255 255 255 / .16); }
.pair.one { justify-content: center; }
.pair.one::after { content: none; }
.pair .champ { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 0; color: #fff; font: 600 .9rem var(--d); text-align: left; }
.pair .champ svg { width: 18px; height: 11px; fill: var(--pink); }
@media (max-width: 1000px) { .tourbox { grid-template-columns: 1fr; } }

/* =================== Soutenir la team, version 3 : une bande sobre =================== */
.don3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px 60px; align-items: center; padding: 38px clamp(24px, 4vw, 48px); background: linear-gradient(115deg, #120d13 0 55%, #0e0a0f 55%); clip-path: polygon(0 0, 100% 0, 100% 86%, 97.5% 100%, 0 100%); }
.don3 .sec-lead { max-width: 34rem; }
.don3-r { display: grid; gap: 14px; justify-items: start; }
.don3-goal { color: var(--muted); }
.don3-goal b { margin-right: 6px; color: #fff; font: 700 2rem/1 var(--d); }
.don3 .gauge { width: 100%; margin: 0 0 6px; }
.don3 .gauge i { height: 10px; }
@media (max-width: 760px) { .don3 { grid-template-columns: 1fr; } }
/* Le titre du staff au-dessus des cartes, aligné à gauche */
.staff { row-gap: 14px; margin-top: 40px; }
.staff-t { grid-column: 1 / -1; padding: 0; text-align: left; font-size: 1.35rem; }

/* L'arbre tient en entier sur ordi : pas de barre de défilement. Sur téléphone, une barre fine et rose */
.tree { overflow: visible; padding-bottom: 0; }
.bracket { min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .tree { overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
  .tree::-webkit-scrollbar { height: 4px; }
  .tree::-webkit-scrollbar-thumb { background: var(--pink); }
  .bracket { min-width: 470px; }
}

/* =================== Soutenir la team, version 4 : une image, les visages de l'équipe =================== */
.don4 { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: 50px clamp(24px, 5vw, 60px) 46px; overflow: hidden; background: linear-gradient(90deg, #0b080c 38%, rgb(11 8 12 / .55) 70%, rgb(11 8 12 / .25)), linear-gradient(0deg, rgb(11 8 12 / .9), transparent 50%), url(../img/fond-10.webp) right center / cover no-repeat, #0b080c; clip-path: polygon(0 0, 100% 0, 100% 90%, 97.5% 100%, 2.5% 100%, 0 90%); }
.don4-big { max-width: 18ch; margin-top: 18px; color: #fff; font: 600 clamp(1.6rem, 2.8vw, 2.2rem)/1.15 var(--d); }
.don4 .sec-lead { max-width: 32rem; margin-top: 12px; }
.don4-goal { display: grid; gap: 10px; max-width: 30rem; margin: 26px 0 24px; }
.don4-goal p { color: var(--muted); }
.don4-goal b { margin-right: 4px; color: #fff; font: 700 1.6rem/1 var(--d); }
.don4 .gauge { margin: 0; }
.don4 .gauge i { height: 10px; }
.don4-r { display: grid; justify-items: end; gap: 14px; }
.faces { display: flex; }
.face { display: grid; place-items: center; width: 74px; height: 86px; margin-left: -12px; overflow: hidden; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 16%, 100% 84%, 50% 100%, 0 84%, 0 16%); transition: translate .3s var(--ease); }
.face img { width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; object-position: center 25%; clip-path: inherit; }
.face b { color: #fff; font: 700 1rem var(--d); }
.faces:hover .face { translate: 0 -4px; }
.faces .face:nth-child(2) { transition-delay: .03s; } .faces .face:nth-child(3) { transition-delay: .06s; } .faces .face:nth-child(4) { transition-delay: .09s; } .faces .face:nth-child(5) { transition-delay: .12s; }
.don4-thx { color: #fff; font-weight: 700; text-align: right; }
@media (max-width: 860px) {
  .don4 { grid-template-columns: 1fr; background-position: 70% center; }
  .don4-r { justify-items: start; }
  .face { width: 58px; height: 68px; }
  .don4-thx { text-align: left; }
}

/* =================== La barre de défilement aux couleurs de Nexora =================== */
html { scrollbar-color: #4a2a3d var(--bg); }
@supports selector(::-webkit-scrollbar) { html { scrollbar-color: auto; } }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--pink), var(--pink-d)); border: 3px solid var(--bg); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); border-width: 2px; }
::-webkit-scrollbar-corner { background: var(--bg); }
::selection { color: #fff; background: var(--pink); }

/* =================== Postuler + Soutenir : un seul bloc coupé en diagonale =================== */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.duo-p { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 440px; padding: 46px 48px 44px; overflow: hidden; }
.duo-join { padding-right: 90px; background: linear-gradient(90deg, rgb(11 8 12 / .95) 25%, rgb(11 8 12 / .55)), linear-gradient(0deg, rgb(11 8 12 / .85), transparent 55%), url(../img/fond-4.webp) 70% center / cover no-repeat, #0b080c; clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 2.5% 100%, 0 92%); }
.duo-don { margin-left: -42px; padding-left: 96px; background: linear-gradient(90deg, rgb(11 8 12 / .95) 30%, rgb(11 8 12 / .55)), linear-gradient(0deg, rgb(11 8 12 / .85), transparent 55%), url(../img/fond-10.webp) 65% center / cover no-repeat, #0b080c; clip-path: polygon(56px 0, 100% 0, 100% 92%, 97.5% 100%, 0 100%); }
.duo-logo { position: absolute; right: 70px; top: 30px; width: 120px; height: auto; opacity: .9; filter: drop-shadow(0 10px 24px rgb(0 0 0 / .6)); }
.duo-k { color: var(--pink-2); font-weight: 700; font-size: .88rem; }
.duo-p h2 { max-width: 15ch; margin-top: 10px; color: #fff; font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1.12 var(--d); }
.duo-t { max-width: 28rem; margin-top: 12px; color: var(--soft); }
.duo .don4-goal { width: 100%; max-width: 26rem; margin: 22px 0 0; }
.duo .don4-goal b { font-size: 1.35rem; }
.duo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; padding-top: 26px; }
.duo .face { width: 44px; height: 52px; margin-left: -8px; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: 14px; }
  .duo-p { min-height: 0; padding: 36px 26px; }
  .duo-join { padding-right: 26px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .duo-don { margin-left: 0; padding-left: 26px; clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 0 100%); }
  .duo-logo { right: 20px; top: 20px; width: 70px; }
  .duo-p h2 { padding-right: 70px; }
  .duo-don h2 { padding-right: 0; }
}
.duo .gauge { margin: 0; }
.duo-logo { top: auto; bottom: 34px; right: 84px; width: 110px; }
@media (max-width: 900px) { .duo-logo { top: 20px; bottom: auto; right: 20px; width: 70px; } .duo .faces { margin-left: 8px; } }

/* =================== Le cristal des annonces, en bas à droite =================== */
.bud { position: fixed; right: 18px; bottom: 16px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.bud > * { pointer-events: auto; }
html.intro-on .bud, html.intro-play .bud, html.intro-fly .bud { opacity: 0; visibility: hidden; }
.bud-bubble { --shape: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); position: relative; width: min(19rem, calc(100vw - 36px)); padding: 14px 40px 14px 16px; background: #120d13; clip-path: var(--shape); border-left: 2px solid var(--pink); box-shadow: inset 0 0 0 1px #2a2128; transform-origin: 85% 100%; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.bud.closed .bud-bubble { opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); }
.bud-head { display: flex; align-items: center; gap: 8px; color: var(--pink-2); font: 600 .95rem/1 var(--d); }
.bud-count { color: var(--muted); font: 600 .72rem var(--t); }
.bud-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; color: var(--muted); background: none; border: 0; cursor: pointer; }
.bud-close:hover { color: #fff; }
.bud-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.bud-say { position: relative; margin-top: 8px; color: var(--ink); font-size: .9rem; line-height: 1.45; }
.bud-ghost { visibility: hidden; }
.bud-typed { position: absolute; inset: 0; }
.bud-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--pink-2); font-weight: 700; font-size: .85rem; }
.bud-link:hover { color: #fff; }
.bud-gem { position: relative; width: 46px; height: 76px; padding: 0; background: none; border: 0; cursor: pointer; }
.bud-gem svg { width: 100%; height: 100%; overflow: visible; }
.bud-body { transform-box: fill-box; transform-origin: 50% 50%; animation: bud-float 3.2s ease-in-out infinite; }
.bud-shadow { transform-box: fill-box; transform-origin: 50% 50%; animation: bud-shadow 3.2s ease-in-out infinite; }
@keyframes bud-float { 50% { transform: translateY(-6px) rotate(4deg); } }
@keyframes bud-shadow { 50% { transform: scaleX(.7); opacity: .18; } }
.bud-shine { opacity: .5; transition: opacity .3s; }
/* Quand il parle : il s'illumine et vibre un peu */
.bud.is-awake .bud-body { animation: bud-float 3.2s ease-in-out infinite, bud-talk .5s ease-in-out infinite; }
.bud.is-awake .bud-gem svg { filter: drop-shadow(0 0 10px rgb(var(--pk) / .65)); }
.bud.is-awake .bud-shine { opacity: .95; }
@keyframes bud-talk { 50% { scale: 1.06 .97; } }
.bud-gem:hover .bud-body { scale: 1.08; }
/* Fermé : un petit point rappelle qu'il y a des annonces */
.bud-dot { position: absolute; top: 4px; right: 2px; width: 9px; height: 9px; background: #fff; border: 2px solid var(--pink); border-radius: 50%; opacity: 0; transition: opacity .3s; }
.bud.closed .bud-dot { opacity: 1; }
@media (max-width: 640px) { .bud { right: 10px; bottom: 10px; } .bud-gem { width: 38px; height: 62px; } }
@media (prefers-reduced-motion: reduce) { .bud-body, .bud-shadow, .bud.is-awake .bud-body { animation: none; } }
.bud-link { white-space: nowrap; } .bud-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* =================== La smoke rose (remplace le cristal) =================== */
.bud-gem { width: 52px; height: 84px; }
.bud.is-awake .bud-gem svg { filter: none; }
.bud-body { animation: bud-wobble 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bud-wobble { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
.bud.is-awake .bud-body { animation: bud-wobble 3.4s ease-in-out infinite, bud-shake .18s linear infinite; }
@keyframes bud-shake { 50% { translate: .6px -.4px; } }
.bud-pin { transform-box: fill-box; transform-origin: 100% 50%; animation: bud-pin 3.4s ease-in-out infinite; }
@keyframes bud-pin { 50% { transform: rotate(14deg); } }
/* La fumée : invisible au repos, des bouffées qui montent quand elle parle */
.bud-puffs circle { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
.bud.is-awake .bud-puffs circle { animation: bud-puff 1.4s ease-out infinite; }
.bud.is-awake .bud-puffs circle:nth-child(2) { animation-delay: .35s; }
.bud.is-awake .bud-puffs circle:nth-child(3) { animation-delay: .7s; }
.bud.is-awake .bud-puffs circle:nth-child(4) { animation-delay: 1.05s; }
@keyframes bud-puff { 0% { opacity: 0; transform: translate(0, 8px) scale(.3); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(-6px, -22px) scale(1.6); } }
.bud-gem:hover .bud-body { scale: 1.06; }
@media (max-width: 640px) { .bud-gem { width: 44px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .bud-pin, .bud.is-awake .bud-puffs circle { animation: none; } }
@keyframes bud-puff { 0% { opacity: 0; transform: translate(0, 10px) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-8px, -30px) scale(2.3); } }
.bud-gem svg { overflow: visible; filter: drop-shadow(0 0 8px rgb(var(--pk) / .18)); }
.bud-gem { width: 54px; height: 84px; } .bud-gem svg { filter: drop-shadow(0 6px 10px rgb(0 0 0 / .55)); } .bud-pin { transform-origin: 80% 80%; } @media (max-width: 640px) { .bud-gem { width: 46px; height: 72px; } }

/* =================== La bulle en nuage de smoke =================== */
.bud { gap: 0; }
.bud-bubble { isolation: isolate; width: min(19.5rem, calc(100vw - 40px)); margin: 0 10px 4px 0; padding: 18px 44px 18px 22px; background: radial-gradient(110% 90% at 15% 0%, rgb(var(--pk2) / .16), transparent 60%), radial-gradient(80% 90% at 100% 100%, rgb(210 200 215 / .09), transparent 60%), rgb(30 22 32 / .94); border: 0; border-radius: 34px 40px 30px 38px / 38px 30px 40px 32px; clip-path: none; box-shadow: 0 18px 50px -14px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .05); transform-origin: 90% 110%; transition: opacity .45s, transform .5s var(--ease), filter .5s, visibility .45s; }
/* Les bords en bouffées de fumée, autour du nuage */
.bud-bubble::before { content: ""; position: absolute; inset: -9px -8px -8px -9px; z-index: -1; border-radius: inherit; background:
  radial-gradient(circle at 8% 22%, rgb(38 28 40 / .95) 0 20px, transparent 21px),
  radial-gradient(circle at 26% 2%, rgb(38 28 40 / .95) 0 18px, transparent 19px),
  radial-gradient(circle at 55% 0%, rgb(42 30 44 / .95) 0 20px, transparent 21px),
  radial-gradient(circle at 84% 4%, rgb(38 28 40 / .95) 0 19px, transparent 20px),
  radial-gradient(circle at 99% 45%, rgb(38 28 40 / .95) 0 18px, transparent 19px),
  radial-gradient(circle at 90% 96%, rgb(38 28 40 / .95) 0 20px, transparent 21px),
  radial-gradient(circle at 50% 100%, rgb(36 26 38 / .95) 0 19px, transparent 20px),
  radial-gradient(circle at 14% 94%, rgb(38 28 40 / .95) 0 18px, transparent 19px),
  radial-gradient(circle at 1% 62%, rgb(38 28 40 / .95) 0 17px, transparent 18px);
  filter: blur(4px); opacity: .9; }
.bud-bubble::after { content: none; }
/* La fumée qui dérive doucement dedans */
.bud-haze { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.bud-haze::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 220%; background: radial-gradient(30% 45% at 25% 40%, rgb(var(--pk2) / .13), transparent 70%), radial-gradient(25% 40% at 60% 65%, rgb(230 220 235 / .08), transparent 70%), radial-gradient(28% 40% at 85% 30%, rgb(var(--pk2) / .1), transparent 70%); animation: bud-drift 14s ease-in-out infinite alternate; }
@keyframes bud-drift { to { transform: translateX(22%); } }
.bud-head { gap: 10px; font-size: 1rem; }
.bud-say { color: #f3e9f0; }
.bud-close { top: 12px; right: 14px; }
/* Fermé : le nuage se dissipe */
.bud.closed .bud-bubble { opacity: 0; visibility: hidden; transform: translate(14px, 18px) scale(.7); filter: blur(10px); }
/* La traînée de fumée entre le nuage et la grenade */
.bud-trail { position: relative; width: 60px; height: 26px; margin-right: 6px; }
.bud-trail i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgb(70 52 72 / .95) 40%, rgb(70 52 72 / 0) 72%); transition: opacity .4s; animation: bud-bob 3s ease-in-out infinite; }
.bud-trail i:nth-child(1) { right: 34px; top: 0; width: 18px; height: 18px; }
.bud-trail i:nth-child(2) { right: 22px; top: 10px; width: 13px; height: 13px; animation-delay: .4s; }
.bud-trail i:nth-child(3) { right: 14px; top: 18px; width: 9px; height: 9px; animation-delay: .8s; }
@keyframes bud-bob { 50% { transform: translate(-2px, -3px) scale(1.12); } }
.bud.closed .bud-trail i { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .bud-haze::before, .bud-trail i { animation: none; } }
.bud-bubble { background: radial-gradient(110% 90% at 15% 0%, rgb(var(--pk2) / .16), transparent 60%), radial-gradient(80% 90% at 100% 100%, rgb(210 200 215 / .09), transparent 60%), rgb(30 22 32); } .bud-bubble::before { opacity: 1; }
.bud-bubble { border-radius: 46px 52px 44px 50px / 50px 44px 52px 46px; padding: 20px 46px 20px 26px; }
.bud-bubble::before { inset: -16px -14px -14px -16px; border-radius: 0; filter: blur(1.5px); background:
  radial-gradient(circle at 10% 24%, rgb(30 22 32) 0 26px, transparent 27px),
  radial-gradient(circle at 24% 9%, rgb(32 23 34) 0 26px, transparent 27px),
  radial-gradient(circle at 45% 7%, rgb(34 24 36) 0 30px, transparent 31px),
  radial-gradient(circle at 68% 8%, rgb(32 23 34) 0 27px, transparent 28px),
  radial-gradient(circle at 88% 14%, rgb(30 22 32) 0 26px, transparent 27px),
  radial-gradient(circle at 93% 50%, rgb(30 22 32) 0 26px, transparent 27px),
  radial-gradient(circle at 86% 88%, rgb(30 22 32) 0 28px, transparent 29px),
  radial-gradient(circle at 62% 92%, rgb(30 22 32) 0 26px, transparent 27px),
  radial-gradient(circle at 36% 91%, rgb(30 22 32) 0 28px, transparent 29px),
  radial-gradient(circle at 12% 84%, rgb(30 22 32) 0 26px, transparent 27px),
  radial-gradient(circle at 6% 55%, rgb(30 22 32) 0 24px, transparent 25px); }
.bud-trail i { background: radial-gradient(circle, rgb(30 22 32) 55%, rgb(30 22 32 / 0) 72%); }
/* Le contour du nuage : des ronds de fumée de la même couleur que la bulle */
.bud-bubble { background: radial-gradient(70% 70% at 40% 45%, rgb(var(--pk2) / .12), transparent 70%), rgb(30 22 32); box-shadow: none; filter: drop-shadow(0 16px 30px rgb(0 0 0 / .65)); }
.bud.closed .bud-bubble { filter: blur(10px); }
.bud-bubble::before { content: none; }
.bud-cloud { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.bud-cloud i { position: absolute; width: var(--s); height: var(--s); translate: -50% -50%; border-radius: 50%; background: rgb(30 22 32); }
.bud-cloud i:nth-child(1) { left: 9%; top: 18%; --s: 54px; }
.bud-cloud i:nth-child(2) { left: 25%; top: 5%; --s: 58px; }
.bud-cloud i:nth-child(3) { left: 46%; top: 3%; --s: 64px; }
.bud-cloud i:nth-child(4) { left: 68%; top: 5%; --s: 56px; }
.bud-cloud i:nth-child(5) { left: 88%; top: 14%; --s: 52px; }
.bud-cloud i:nth-child(6) { left: 97%; top: 50%; --s: 46px; }
.bud-cloud i:nth-child(7) { left: 88%; top: 90%; --s: 56px; }
.bud-cloud i:nth-child(8) { left: 63%; top: 97%; --s: 54px; }
.bud-cloud i:nth-child(9) { left: 37%; top: 96%; --s: 60px; }
.bud-cloud i:nth-child(10) { left: 13%; top: 87%; --s: 52px; }
.bud-cloud i:nth-child(11) { left: 3%; top: 52%; --s: 46px; }

/* =================== Une vraie fumée (dessinée en direct) autour du message =================== */
.bud-smoke { position: absolute; left: -70px; right: -14px; top: -70px; bottom: -6px; z-index: 0; pointer-events: none; }
.bud-bubble, .bud-gem { z-index: 1; }
.bud.has-smoke .bud-cloud, .bud.has-smoke .bud-trail, .bud.has-smoke .bud-haze { display: none; }
.bud.has-smoke .bud-bubble { background: radial-gradient(ellipse 72% 78% at 50% 50%, rgb(18 13 20 / .93) 58%, rgb(18 13 20 / 0) 100%); border-radius: 0; filter: none; padding: 22px 46px 22px 28px; }
.bud.has-smoke.closed .bud-bubble { filter: blur(8px); }
.bud.has-smoke .bud-close { top: 16px; right: 18px; }
.bud.has-smoke .bud-bubble { background: rgb(16 12 18 / .9); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); padding: 30px 52px 30px 36px; }
.bud.has-smoke .bud-close { top: 22px; right: 26px; }
/* Le fond sombre du message se fond dans la fumée, le texte reste net */
.bud.has-smoke .bud-bubble { background: none; -webkit-mask-image: none; mask-image: none; }
.bud.has-smoke .bud-bubble::before { content: ""; position: absolute; inset: -6px; z-index: -1; background: rgb(16 12 18 / .9); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); filter: none; opacity: 1; border-radius: 0; }
.bud-smoke { left: -120px; top: -130px; right: -14px; bottom: -6px; }
.bud.has-smoke .bud-bubble::before { inset: -16px; background: rgb(16 12 18 / .95); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%); }
.bud.has-smoke .bud-bubble::before { inset: -8px; background: rgb(16 12 18); -webkit-mask-image: none; mask-image: none; border-radius: 44px; filter: blur(12px); }

/* =================== Le message en smoke, version stable : fond sombre, bords en fumée (filtre de bruit) =================== */
.bud-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.bud-cloud, .bud-trail { display: none; }
.bud-bubble { isolation: isolate; margin: 0 12px 6px 0; padding: 22px 46px 22px 28px; background: none; border: 0; border-radius: 0; clip-path: none; box-shadow: none; filter: none; -webkit-mask-image: none; mask-image: none; }
/* Le corps du nuage : sombre au centre, gris rosé sur les bords, déformé en fumée */
.bud-bubble::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 15 22); border-radius: 46px; box-shadow: 0 0 0 7px rgb(58 46 62 / .95), 0 0 18px 14px rgb(132 116 140 / .5), 0 0 40px 22px rgb(var(--pk2) / .12); filter: url(#nx-smoke); opacity: 1; -webkit-mask-image: none; mask-image: none; }
/* Des volutes plus légères qui débordent et bougent doucement */
.bud-haze { display: block; position: absolute; inset: -18px -14px; z-index: -2; overflow: visible; border-radius: 0; pointer-events: none; }
.bud-haze::before { content: ""; position: absolute; inset: 0; left: 0; width: auto; top: 0; bottom: 0; background: radial-gradient(40% 50% at 18% 20%, rgb(170 155 178 / .55), transparent 70%), radial-gradient(45% 50% at 80% 12%, rgb(255 120 190 / .35), transparent 70%), radial-gradient(40% 50% at 92% 85%, rgb(170 155 178 / .5), transparent 70%), radial-gradient(45% 45% at 15% 90%, rgb(150 135 160 / .45), transparent 70%); filter: url(#nx-wisp); animation: bud-wisp 7s ease-in-out infinite alternate; }
@keyframes bud-wisp { to { transform: translate(6px, -5px) scale(1.04); } }
.bud.closed .bud-bubble { filter: blur(10px); }
.bud-close { top: 14px; right: 18px; }
@media (prefers-reduced-motion: reduce) { .bud-haze::before { animation: none; } }
.bud-bubble::before { box-shadow: 0 0 0 6px rgb(58 46 62 / .9), 0 0 22px 16px rgb(140 124 150 / .45), 0 0 44px 24px rgb(var(--pk2) / .12); }

/* =================== Apparition du message : il jaillit de la smoke =================== */
.bud-bubble { transform-origin: 94% 104%; transition: opacity .45s ease, transform .8s cubic-bezier(.16, 1.12, .3, 1), filter .7s ease, visibility .45s; }
/* Le départ : minuscule et flou, sur la tête de la grenade (sans transition) */
.bud.is-spawn .bud-bubble { opacity: 0; transform: translate(26px, 74px) scale(.1); filter: blur(16px); transition: none !important; }
/* La fermeture : le nuage s'élève un peu et se dissipe */
.bud.closed .bud-bubble { opacity: 0; visibility: hidden; transform: translateY(-16px) scale(1.07); filter: blur(14px); transition: opacity .55s ease, transform .7s ease-out, filter .55s ease, visibility .55s; }
/* Le contenu arrive après le nuage : le titre, puis le message, puis le lien */
.bud-head, .bud-say, .bud-link, .bud-close { transition: opacity .4s ease, translate .5s var(--ease), filter .3s ease; }
.bud-head { transition-delay: .32s; } .bud-close { transition-delay: .4s; } .bud-say { transition-delay: .42s; } .bud-link { transition-delay: .6s; }
.bud.is-spawn :is(.bud-head, .bud-say, .bud-link, .bud-close), .bud.closed :is(.bud-head, .bud-say, .bud-link, .bud-close) { opacity: 0; translate: 0 8px; transition-delay: 0s; }
/* Entre deux annonces : le texte se brouille en fumée */
.bud.is-swap :is(.bud-say, .bud-link) { opacity: 0; filter: blur(6px); translate: -6px -2px; transition-delay: 0s; transition-duration: .25s; }
/* Le pschht de la grenade */
.bud.is-burst .bud-puffs circle { animation: bud-burst .85s ease-out both !important; }
.bud.is-burst .bud-puffs circle:nth-child(2) { animation-delay: .06s !important; }
.bud.is-burst .bud-puffs circle:nth-child(3) { animation-delay: .12s !important; }
.bud.is-burst .bud-puffs circle:nth-child(4) { animation-delay: .18s !important; }
@keyframes bud-burst { 0% { opacity: 0; transform: translate(0, 6px) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-22px, -46px) scale(3.4); } }
.bud.is-burst .bud-body { animation: bud-kick .4s ease-out; }
@keyframes bud-kick { 30% { transform: translateY(3px) rotate(-6deg) scale(1.05, .95); } }

/* Plus de profondeur dans la fumée : l'intérieur un peu éclairé, une deuxième couche de volutes */
.bud-bubble::before { background: radial-gradient(70% 90% at 22% 0%, rgb(var(--pk2) / .1), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgb(200 185 210 / .07), transparent 60%), rgb(20 15 22); }
.bud-haze::after { content: ""; position: absolute; inset: -6px; background: radial-gradient(35% 45% at 50% 4%, rgb(190 175 198 / .45), transparent 70%), radial-gradient(30% 45% at 4% 55%, rgb(255 120 190 / .3), transparent 70%), radial-gradient(35% 40% at 62% 98%, rgb(180 165 190 / .4), transparent 70%); filter: url(#nx-wisp); animation: bud-wisp2 9s ease-in-out infinite alternate; }
@keyframes bud-wisp2 { to { transform: translate(-7px, 4px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .bud-haze::after { animation: none; } }
.bud.is-spawn.closed .bud-bubble, .bud.is-spawn .bud-bubble { opacity: 0; visibility: visible; transform: translate(26px, 74px) scale(.1); filter: blur(16px); transition: none !important; }

/* =================== Le staff, façon Discord : une photo ronde, le nom dessous =================== */
.staff { display: block; margin-top: 44px; }
.staff-t { margin-bottom: 18px; }
.staff-list { display: flex; flex-wrap: wrap; gap: 26px 34px; margin: 0; padding: 0; }
.dc { display: grid; justify-items: center; gap: 4px; width: 96px; text-align: center; list-style: none; }
.dc-pic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 50%; background: linear-gradient(160deg, var(--pink), var(--pink-d)); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgb(255 255 255 / .08); transition: box-shadow .25s, translate .25s var(--ease); }
.dc-pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 30%; }
.dc-pic b { color: #fff; font: 700 1.4rem var(--d); }
/* La pastille verte « en ligne », comme sur Discord */
.dc-on { position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 4px var(--bg); }
.dc:hover .dc-pic { translate: 0 -3px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--pink); }
.dc-name { color: #fff; font: 600 1.05rem/1.1 var(--d); }
.dc-role { padding: 2px 8px; color: var(--pink-2); background: rgb(var(--pk) / .12); border-radius: 999px; font-weight: 700; font-size: .72rem; }
@media (max-width: 640px) { .staff-list { justify-content: flex-start; gap: 20px 24px; } }

/* L'icône du grade à la place de la pastille « en ligne » */
.dc-on { display: none; }
.dc-grade { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(160deg, var(--pink-2), var(--pink)); box-shadow: 0 0 0 4px var(--bg); }
.dc-grade svg { width: 15px; height: 15px; fill: #fff; }
.dc-grade { width: 30px; height: 30px; } .dc-grade svg { width: 17px; height: 17px; }

/* =================== Le bandeau des pages intérieures =================== */
.pb { padding-top: 104px; }
.pb-panel { --cut: 18px; position: relative; display: flex; align-items: flex-end; min-height: 340px; padding: 70px clamp(24px, 5vw, 64px) 52px; overflow: hidden; background: linear-gradient(90deg, rgb(9 7 10 / .96) 28%, rgb(9 7 10 / .55) 65%, rgb(9 7 10 / .3)), linear-gradient(0deg, rgb(9 7 10 / .9), transparent 60%), var(--img) center 35% / cover no-repeat, #0b080c; clip-path: polygon(0 0, 30% var(--cut), 40% calc(var(--cut) / 2), 45% calc(var(--cut) * .9), 50% 0, 55% calc(var(--cut) * .9), 60% calc(var(--cut) / 2), 70% var(--cut), 100% 0, 100% calc(100% - 24px), 97.5% 100%, 2.5% 100%, 0 calc(100% - 24px)); }
.pb-in { position: relative; max-width: 40rem; }
.pb-k { color: var(--pink-2); font-weight: 700; }
.pb h1 { margin-top: 8px; font: 700 clamp(2.6rem, 6vw, 4.4rem)/1 var(--d); }
.pb-lead { max-width: 34rem; margin-top: 14px; color: var(--soft); font-size: 1.05rem; }
.pb-figs { display: flex; gap: 28px; margin: 26px 0 0; }
.pb-figs div { display: flex; flex-direction: column; }
.pb-figs div + div { padding-left: 28px; border-left: 1px solid rgb(255 255 255 / .12); }
.pb-figs dd { margin: 0; color: #fff; font: 700 1.9rem/1 var(--d); }
.pb-figs dt { margin-top: 4px; color: var(--muted); font-size: .82rem; }

/* =================== Page équipe =================== */
.roster-team { gap: 20px; }
.pl-stat { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-top: 6px; color: #fff; font: 600 .95rem var(--d); font-style: normal; }
.pl-stat span { color: var(--muted); font: 600 .72rem var(--t); }
.roster-team .pl-txt { bottom: 26px; }
.staff-big { gap: 30px 44px; }
.staff-big .dc { width: 120px; }
.staff-big .dc-pic { width: 104px; height: 104px; }
.staff-big .dc-name { font-size: 1.2rem; }
.join { margin-top: 0; }

/* =================== Profil d'un joueur =================== */
.ph-sec { padding-top: 100px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.ph-top a { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 700; font-size: .9rem; transition: color .2s; }
.ph-top a:hover { color: #fff; }
.ph-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ph-step { display: flex; gap: 22px; }
.ph { position: relative; display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 54px); overflow: hidden; background: radial-gradient(60% 80% at 15% 30%, rgb(var(--pk) / .16), transparent 65%), linear-gradient(115deg, #120d13 0 52%, #0d0a0e 52%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 97.5% 100%, 2.5% 100%, 0 calc(100% - 26px)); }
/* Le pseudo en très grand, en contour, derrière */
.ph-ghost { position: absolute; right: -2%; bottom: -6%; color: transparent; font: 700 clamp(6rem, 17vw, 15rem)/.8 var(--d); white-space: nowrap; -webkit-text-stroke: 1px rgb(255 255 255 / .07); pointer-events: none; user-select: none; }
.ph-pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(180deg, #1c121e, #0a080b); clip-path: polygon(50% 0, 100% 7%, 100% 90%, 50% 100%, 0 90%, 0 7%); }
.ph-img { position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 38%, rgb(var(--pk) / .3), transparent 70%); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.ph-img svg { position: absolute; left: 50%; bottom: 0; width: 76%; translate: -50% 0; fill: #2b1b25; }
.ph-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(9 7 10 / .7), transparent 35%); }
.ph-pic .pl-edge polygon { stroke: rgb(var(--pk) / .55); stroke-width: 1.5; }
.ph-num { position: absolute; z-index: 2; right: 9%; top: 9%; color: transparent; font: 700 3.6rem/1 var(--d); -webkit-text-stroke: 1px rgb(255 255 255 / .55); }
.ph-crown { position: absolute; z-index: 2; left: 50%; top: 1.6%; width: 30px; height: 18px; translate: -50% 0; fill: var(--pink); }
.ph-info { position: relative; }
.ph-role { color: var(--soft); }
.ph-role span { display: inline-block; margin-right: 4px; padding: 3px 10px; color: #fff; background: rgb(var(--pk) / .85); border-radius: 3px; font-weight: 700; font-size: .82rem; }
.ph-role a { color: #fff; font-weight: 700; }
.ph-role a:hover { color: var(--pink-2); }
.ph h1 { margin-top: 14px; font: 700 clamp(3rem, 7vw, 5.6rem)/.95 var(--d); }
.ph-who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; color: var(--soft); font-size: 1.05rem; }
.ph-flag { display: inline-flex; align-items: center; gap: 8px; }
.ph-flag b { padding: 2px 7px; color: var(--ink); background: rgb(255 255 255 / .1); border-radius: 3px; font-size: .72rem; letter-spacing: .05em; }
.ph-stats { display: flex; flex-wrap: wrap; gap: 18px 0; margin: 34px 0 0; }
.ph-stats div { display: flex; flex-direction: column; padding: 0 clamp(16px, 2.4vw, 30px); }
.ph-stats div:first-child { padding-left: 0; }
.ph-stats div + div { border-left: 1px solid rgb(255 255 255 / .12); }
.ph-stats dd { margin: 0; color: #fff; font: 700 clamp(1.7rem, 3vw, 2.4rem)/1 var(--d); }
.ph-stats dd.is-long { font-size: 1.4rem; }
.ph-stats div:first-child dd { color: var(--pink-2); }
.ph-stats dt { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.ph-nets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ph-net { padding: 11px 20px; font-size: .88rem; }
.ph-net .icon { width: 17px; height: 17px; }

.ph-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); }
.ph-about.is-single { grid-template-columns: minmax(0, 46rem); }
.ph-bio { margin-top: 18px; color: var(--soft); font-size: 1.05rem; line-height: 1.7; }
.ph-bio p + p { margin-top: 12px; }
.ph-setup dl { margin: 18px 0 0; }
.ph-setup dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.ph-setup dt { color: var(--muted); font-weight: 700; font-size: .9rem; }
.ph-setup dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.roster-mates { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .ph { grid-template-columns: 1fr; }
  .ph-pic { width: min(300px, 80%); justify-self: center; }
  .ph-about { grid-template-columns: 1fr; }
  .roster-mates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-ghost { display: none; }
}
@media (max-width: 640px) {
  .pb-panel { min-height: 280px; padding: 54px 22px 40px; }
  .pb-figs { gap: 18px; }
  .pb-figs div + div { padding-left: 18px; }
  .ph-step a:first-child { display: none; }
  .ph-stats div { padding: 0 14px; }
  .ph-stats div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .ph-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 0; }
  .ph-stats div, .ph-stats div:first-child { padding: 0 0 0 14px; border-left: 1px solid rgb(255 255 255 / .12); }
  .ph-stats div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .join img { width: 120px; justify-self: start; }
}

/* =================== Page Tournois =================== */
.pb .cd { margin-top: 24px; }
.poster-wide { gap: 26px; }
.poster-wide h3 a:hover { color: var(--pink-2); }
.tl { display: grid; gap: 10px; }
.tl-row { --shape: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto 18px; align-items: center; gap: 22px; padding: 16px 34px 16px 30px; background: rgb(255 255 255 / .08); clip-path: var(--shape); }
.tl-row::after { content: ""; position: absolute; inset: 1px; z-index: -2; background: linear-gradient(115deg, #151017 0 60%, #100c11 60%); clip-path: var(--shape); }
.tl-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10%; z-index: -1; width: 0; background: linear-gradient(90deg, rgb(var(--pk) / .16), rgb(var(--pk) / .03)); transform: skewX(-20deg); transition: width .45s var(--ease); }
.tl-row:hover::before { width: 125%; }
.tl-date { display: grid; justify-items: center; line-height: 1; }
.tl-date b { color: #fff; font: 700 1.9rem var(--d); }
.tl-date small { margin-top: 4px; color: var(--pink-2); font-weight: 700; font-size: .78rem; text-transform: capitalize; }
.tl-main { display: grid; gap: 4px; min-width: 0; }
.tl-main strong { color: #fff; font: 600 1.2rem/1.2 var(--d); }
.tl-main em { color: var(--muted); font-style: normal; font-size: .88rem; }
.tl-places { color: var(--soft); font-size: .9rem; white-space: nowrap; }
.tl-places b { color: #fff; font-family: var(--d); }
.tl-tag { padding: 4px 10px; color: var(--soft); background: rgb(255 255 255 / .07); border-radius: 3px; font-weight: 700; font-size: .75rem; white-space: nowrap; }
.tl-tag.is-open { color: #fff; background: rgb(var(--pk) / .85); }
.tl-row > .arr { width: 18px; height: 18px; fill: none; stroke: var(--soft); stroke-width: 2; transition: translate .2s; }
.tl-row:hover > .arr { translate: 3px 0; stroke: #fff; }
.tl-win { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 600 1rem var(--d); white-space: nowrap; }
.tl-win svg { width: 22px; height: 13px; fill: var(--pink); }
.tl-empty { padding: 26px 30px; color: var(--soft); background: #120d13; border-left: 2px solid var(--pink); }
.tl-empty a { color: var(--pink-2); font-weight: 700; }
.weekly2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 40px; background: linear-gradient(115deg, #151017 0 60%, #100c11 60%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 98% 100%, 0 100%); }
.weekly2 h2 { margin-top: 6px; font: 600 1.8rem/1.1 var(--d); }

/* =================== Page d'un tournoi =================== */
.tp-champ { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--soft); font-size: 1.05rem; }
.tp-champ svg { width: 30px; height: 18px; fill: var(--pink); }
.tp-champ b { color: #fff; font: 700 1.3rem var(--d); }
.tp-sec { padding-top: 60px; }
.tp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(30px, 5vw, 64px); align-items: start; }
.tp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0; border-top: 1px solid rgb(255 255 255 / .08); border-bottom: 1px solid rgb(255 255 255 / .08); }
.tp-facts div { padding: 18px 18px 18px 0; }
.tp-facts div + div { padding-left: 18px; border-left: 1px solid rgb(255 255 255 / .08); }
.tp-facts dt { color: var(--muted); font-weight: 700; font-size: .8rem; }
.tp-facts dd { margin: 6px 0 0; color: #fff; font: 600 1.1rem/1.25 var(--d); }
.tp-facts dd small { color: var(--muted); font: 600 .8rem var(--t); }
.tp-facts dd.is-pink { color: var(--pink-2); }
.tp-desc { margin-top: 26px; color: var(--soft); font-size: 1.05rem; line-height: 1.7; }
.tp-how { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: how; }
.tp-how li { position: relative; display: grid; gap: 3px; padding-left: 54px; counter-increment: how; }
.tp-how li::before { content: counter(how); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 44px; color: #fff; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); font: 700 1rem var(--d); }
.tp-how b { color: #fff; font: 600 1.05rem var(--d); }
.tp-how span { color: var(--muted); font-size: .92rem; }
.tp-rules { margin-top: 28px; border-top: 1px solid rgb(255 255 255 / .08); }
.tp-rules summary { padding: 16px 0; color: #fff; font: 600 1.05rem var(--d); cursor: pointer; }
.tp-rules .prose { color: var(--soft); }

.tp-panel { position: sticky; top: 90px; padding: 30px 30px 32px; background: radial-gradient(80% 60% at 100% 0, rgb(var(--pk) / .12), transparent 60%), linear-gradient(160deg, #161018, #0f0b10); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); scroll-margin-top: 100px; }
.tp-k { color: var(--pink-2); font-weight: 700; font-size: .85rem; }
.tp-panel h2 { margin: 6px 0 12px; color: #fff; font: 600 1.6rem/1.15 var(--d); }
.tp-muted { margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.tp-muted.small { font-size: .82rem; }
.tp-muted b { color: var(--soft); }
.tp-tag { display: inline-block; margin-right: 10px; padding: 2px 8px; color: #fff; background: var(--pink); border-radius: 3px; font-size: .95rem; vertical-align: 3px; }
.tp-leave { padding: 0; color: var(--muted); background: none; border: 0; font: 700 .85rem var(--t); text-decoration: underline; cursor: pointer; }
.tp-leave:hover { color: #ff6b6b; }
.tp-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: st; }
.tp-steps li { flex: 1; padding-top: 10px; color: var(--muted); border-top: 3px solid rgb(255 255 255 / .1); font-weight: 700; font-size: .78rem; counter-increment: st; }
.tp-steps li::before { content: counter(st) ". "; }
.tp-steps li.is-on { color: #fff; border-color: var(--pink); }
.tp-steps li.is-done { color: var(--pink-2); border-color: var(--pink-d); }
.tp-me { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 12px 14px; background: rgb(255 255 255 / .04); border-radius: 6px; }
.tp-me-pic { display: grid; place-items: center; flex: none; width: 40px; height: 46px; color: #fff; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); font: 700 .85rem var(--d); }
.tp-me-txt { display: grid; flex: 1; min-width: 0; }
.tp-me-txt b { color: #fff; font: 600 1.05rem var(--d); }
.tp-me-txt small { color: var(--muted); font-size: .8rem; }
.tp-me a { color: var(--pink-2); font-weight: 700; font-size: .82rem; }

/* Les formulaires */
.tf { display: grid; gap: 14px; }
.tf label { display: grid; gap: 6px; color: var(--soft); font-weight: 700; font-size: .82rem; }
.tf label small { color: var(--muted); font-weight: 600; }
.tf input, .tf select { width: 100%; padding: 12px 14px; color: #fff; background: #0b080c; border: 1px solid rgb(255 255 255 / .12); border-radius: 4px; font: 600 .95rem var(--t); transition: border-color .2s; }
.tf input:focus, .tf select:focus { outline: none; border-color: var(--pink); }
.tf input::placeholder { color: #5d5260; }
.tf select { appearance: none; background: #0b080c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ff6fb5' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 36px; }
.tf-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-name { grid-template-columns: 1fr 90px; }
.tf .btn { justify-self: start; margin-top: 4px; }
.tf-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tf-kind > input { position: absolute; opacity: 0; pointer-events: none; }
.tf-kind > label { padding: 11px 10px; color: var(--muted); background: rgb(255 255 255 / .04); border-bottom: 2px solid rgb(255 255 255 / .08); font-weight: 700; font-size: .88rem; text-align: center; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.tf-kind > input:checked + label { color: #fff; background: rgb(var(--pk) / .1); border-color: var(--pink); }
.tf-kind > input:focus-visible + label { outline: 2px solid var(--pink); outline-offset: 2px; }
.tf-kind > input:disabled + label { opacity: .45; cursor: not-allowed; }
.tf-kind .tf { grid-column: 1 / -1; display: none; padding-top: 18px; }
#k-team:checked ~ .tf-team, #k-solo:checked ~ .tf-solo { display: grid; }

/* L'arbre */
.bk-scroll { overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.bk-scroll::-webkit-scrollbar { height: 4px; }
.bk-scroll::-webkit-scrollbar-thumb { background: var(--pink); }
.bk { display: grid; grid-template-columns: repeat(var(--rounds), minmax(176px, 1fr)) minmax(150px, .8fr); gap: 0 40px; min-width: calc(var(--rounds) * 216px + 190px); }
.bk-round { display: flex; flex-direction: column; }
.bk-name { margin-bottom: 8px; color: var(--muted); font-weight: 700; font-size: .78rem; }
.bk-col { flex: 1; display: flex; flex-direction: column; }
.bk-pair { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; padding: 4px 0; }
.bk-pair .bm { margin: 5px 0; }
.bk-round:not(.bk-end) .bk-pair::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: -20px; width: 20px; border: 1px solid rgb(255 255 255 / .16); border-left: 0; }
.bk-round:not(.bk-end) .bk-pair::before { content: ""; position: absolute; top: 50%; right: -40px; width: 20px; border-top: 1px solid rgb(255 255 255 / .16); }
.bk-pair.one { justify-content: center; }
.bk-pair.one::after { content: none !important; }
.bk-pair.one::before { right: -40px !important; width: 40px !important; border-color: rgb(var(--pk) / .55) !important; }
.bm { position: relative; display: grid; overflow: hidden; background: #141015; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); transform: skewX(-10deg); }
.bm span { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; padding: 6px 12px; color: var(--soft); font-weight: 600; font-size: .86rem; transform: skewX(10deg); }
.bm span + span { border-top: 1px solid rgb(255 255 255 / .08); }
.bm span b { min-width: 1.2em; color: var(--muted); font-family: var(--d); text-align: right; }
.bm span.w { color: #fff; background: linear-gradient(90deg, rgb(var(--pk) / .18), transparent); }
.bm span.w b { color: var(--pink-2); }
.bm span.tbd i { color: #54495a; font-style: normal; }
.bm-map { position: absolute; right: 8px; top: 50%; translate: 0 -50%; padding: 1px 6px; color: var(--muted); background: #141015; border: 1px solid rgb(255 255 255 / .08); border-radius: 3px; font-size: .62rem; font-weight: 700; transform: skewX(10deg); opacity: 0; transition: opacity .2s; }
.bm:hover .bm-map { opacity: 1; }
.bk-end .bk-col { justify-content: center; }
.bk-champ { display: grid; justify-items: start; gap: 8px; padding-left: 4px; }
.bk-champ svg { width: 34px; height: 20px; fill: var(--pink); filter: drop-shadow(0 0 10px rgb(var(--pk) / .5)); }
.bk-champ b { color: #fff; font: 700 1.5rem/1.1 var(--d); }
.bk-champ.tbd svg { fill: #3a2d37; filter: none; }
.bk-champ.tbd b { color: #54495a; font-size: 1.1rem; }

/* Les inscrits */
.tteams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tteam { display: flex; gap: 14px; padding: 16px 18px; background: #120d13; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.tteam-tag { display: grid; place-items: center; flex: none; width: 52px; height: 60px; color: #fff; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); font: 700 .8rem var(--d); letter-spacing: .03em; }
.tteam b { display: block; color: #fff; font: 600 1.1rem/1.2 var(--d); }
.tteam small { color: var(--pink-2); font-weight: 700; font-size: .78rem; }
.tteam p { margin-top: 6px; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.tsolo-t { display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; color: #fff; font: 600 1.25rem var(--d); }
.tsolo-t span { padding: 1px 8px; color: var(--pink-2); background: rgb(var(--pk) / .12); border-radius: 999px; font-size: .85rem; }
.tsolos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tsolos li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #120d13; border-radius: 6px; }
.tsolos b { display: block; color: #fff; font: 600 .95rem var(--d); }
.tsolos small { color: var(--muted); font-size: .75rem; }

@media (max-width: 980px) {
  .tp { grid-template-columns: 1fr; }
  .tp-panel { position: static; }
}
@media (max-width: 760px) {
  .tl-row { grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 6px 16px; padding: 14px 26px 14px 22px; }
  .tl-places, .tl-tag, .tl-win { grid-column: 2; justify-self: start; }
  .tl-row > .arr { grid-column: 3; grid-row: 1; }
  .tl-date { grid-row: span 3; }
  .tf-2 { grid-template-columns: 1fr; }
  .tf-name { grid-template-columns: 1fr 80px; }
  .tp-panel { padding: 24px 20px; }
}
@media (max-width: 980px) {
  .tp-panel { order: -1; }
  .tp-info { order: 0; }
}
@media (max-width: 640px) {
  .tp-facts { grid-template-columns: 1fr 1fr; }
  .tp-facts div, .tp-facts div + div { padding: 14px 12px 14px 0; border-left: 0; }
  .tp-facts div:nth-child(even) { padding-left: 14px; border-left: 1px solid rgb(255 255 255 / .08); }
  .tp-facts div:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / .08); }
}

/* =================== Moins de couronnes : des marqueurs qui ont un sens =================== */
/* Les titres de section : un trait rose penché, comme les boutons */
.h2 .crown { display: none; }
.h2::before { content: ""; flex: none; width: 7px; height: .85em; background: linear-gradient(180deg, var(--pink-2), var(--pink)); transform: skewX(-16deg); }
/* Le capitaine : le brassard « C » */
.pl-crown { display: none; }
.pl-cap { position: absolute; z-index: 3; left: calc(10% + 30px); top: 10%; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--pink); border-radius: 3px; font: 700 .78rem/1 var(--d); }
.pl:not(:has(.pl-flag)) .pl-cap { left: 10%; }
.ph-cap { position: absolute; z-index: 2; left: 10%; top: 9%; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--pink); border-radius: 4px; font: 700 1.1rem/1 var(--d); }
/* Les vainqueurs : un trophée */
svg.trophy { fill: var(--pink); }
.tl-win svg.trophy { width: 18px; height: 18px; }
.tp-champ svg.trophy { width: 24px; height: 24px; }
.bk-champ svg.trophy { width: 30px; height: 30px; }
.pair .champ svg.trophy { width: 15px; height: 15px; }
.h2::before { content: none; display: none; }

/* Le champion, comme le staff : un rond avec le tag, le trophée en pastille */
.bk-champ { display: grid; justify-items: center; gap: 6px; padding: 0; text-align: center; }
.bk-champ > svg { display: none; }
.bk-champ-pic { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 6px; border-radius: 50%; background: linear-gradient(160deg, var(--pink-2), var(--pink-d)); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgb(var(--pk) / .45), 0 0 34px rgb(var(--pk) / .35); }
.bk-champ-pic > b { color: #fff; font: 700 1.5rem/1 var(--d); letter-spacing: .03em; }
.bk-champ-cup { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--bg); }
.bk-champ-cup svg.trophy { width: 17px; height: 17px; fill: var(--pink); }
.bk-champ-name { color: #fff; font: 700 1.3rem/1.1 var(--d); }
.bk-champ.tbd .bk-champ-pic { background: #1c151d; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgb(255 255 255 / .08); }
.bk-champ.tbd .bk-champ-pic > b { color: #54495a; }
.bk-champ.tbd .bk-champ-cup { background: #2a2128; }
.bk-champ.tbd .bk-champ-cup svg.trophy { fill: #54495a; }
.bk-champ.tbd .bk-champ-name { color: #54495a; font-size: 1.05rem; }
.bk-champ.tbd .dc-role { opacity: .4; }
.bk-end .bk-col { align-items: flex-start; } .bk-champ { min-width: 110px; }

/* =================== Les cartes d'actu (communes) =================== */
.nc { display: block; }
.nc-body { display: grid; gap: 4px; margin-top: 14px; }
.nc-meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.nc-meta b { color: var(--pink-2); font-weight: 700; }
.nc-title { color: #fff; font: 600 1.15rem/1.3 var(--d); transition: color .2s; }
.nc:hover .nc-title { color: var(--pink-2); }
.nc-ex { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.nc-img { background-size: cover; background-position: center; transition: filter .4s, transform .5s var(--ease); }
.nc:hover .nc-img { filter: brightness(1.12); }
.nc-badge.is-loss { color: #fff; background: #3a2d37; }

/* =================== Page Actus =================== */
.tabs { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.tabs a { margin-bottom: -1px; padding: 12px 18px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 700; font-size: .92rem; transition: color .2s, border-color .2s; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current] { color: #fff; border-color: var(--pink); }
.ntop { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 46px; }
.ntop-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #140f15 center / cover; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); transition: filter .4s; }
.ntop:hover .ntop-img { filter: brightness(1.12); }
.ntop-img .nc-badge { left: 7%; bottom: 18px; font-size: .9rem; }
.ntop-txt { display: grid; gap: 10px; }
.ntop-title { color: #fff; font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--d); transition: color .2s; }
.ntop:hover .ntop-title { color: var(--pink-2); }
.ntop-ex { color: var(--soft); font-size: 1.05rem; line-height: 1.6; }
.ntop-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: #fff; font-weight: 700; }
.ntop-go .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: translate .2s; }
.ntop:hover .ntop-go .arr { translate: 3px 0; }
.news-page { gap: 34px 24px; }
.pager2 { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }

/* =================== Page d'un article =================== */
.art-sec { padding-top: 40px; }
.art { max-width: 820px; }
.art-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--soft); font-weight: 700; font-size: .9rem; }
.art-back:hover { color: #fff; }
.art-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
/* Le score d'un match */
.mt { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-bottom: 40px; padding: 30px 26px; background: radial-gradient(60% 100% at 50% 0, rgb(var(--pk) / .14), transparent 70%), linear-gradient(160deg, #161018, #0f0b10); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.mt.is-loss { background: linear-gradient(160deg, #141015, #0f0b10); }
.mt-side { display: grid; justify-items: center; gap: 10px; text-align: center; }
.mt-side > b { color: #fff; font: 600 1.15rem/1.2 var(--d); }
.mt-pic { display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border-radius: 50%; background: #0b080c; box-shadow: 0 0 0 2px rgb(var(--pk) / .5); }
.mt-pic img { width: 64%; height: auto; }
.mt-them { background: #1c151d; box-shadow: 0 0 0 2px rgb(255 255 255 / .1); }
.mt-them b { color: var(--soft); font: 700 1.2rem var(--d); }
.mt-mid { display: grid; justify-items: center; gap: 4px; text-align: center; }
.mt-score { display: flex; align-items: center; gap: 14px; margin: 0; }
.mt-score b { color: var(--muted); font: 700 clamp(2.6rem, 6vw, 3.8rem)/1 var(--d); }
.mt-score b.is-hi { color: #fff; }
.mt.is-win .mt-score b.is-hi { color: var(--pink-2); }
.mt-score i { color: var(--muted); font: 700 2rem var(--d); font-style: normal; }
.mt-word { color: #fff; font-weight: 700; }
.mt.is-win .mt-word { color: var(--pink-2); }
.mt-event { color: var(--muted); font-size: .85rem; }
.art-time { margin-bottom: 18px; color: var(--muted); font-weight: 700; font-size: .82rem; }
.art-prose { color: #ddd3da; font-size: 1.12rem; line-height: 1.8; }
.art-prose p + p { margin-top: 1.1em; }
.art-prose p:first-child::first-line { color: #fff; }
.art-prose strong { color: #fff; }
.art-prose a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .ntop { grid-template-columns: 1fr; }
  .news-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-page { grid-template-columns: 1fr; }
  .tabs a { padding: 10px 12px; }
  .mt { gap: 10px; padding: 24px 12px; }
  .mt-pic { width: 58px; height: 58px; }
  .mt-side > b { font-size: .95rem; }
  .art-prose { font-size: 1.04rem; }
}

/* =================== Page Soutenir =================== */
.sg { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 40px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(60% 90% at 0 0, rgb(var(--pk) / .14), transparent 65%), linear-gradient(115deg, #151017 0 58%, #100c11 58%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 97.5% 100%, 0 100%); }
.sg-k { color: var(--pink-2); font-weight: 700; font-size: .88rem; }
.sg h2 { margin-top: 6px; color: #fff; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--d); }
.sg-sum { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.sg-sum b { color: #fff; font: 700 1.5rem var(--d); }
.sg-pct { display: flex; align-items: baseline; color: #fff; line-height: .9; }
.sg-pct b { font: 700 clamp(4rem, 9vw, 6.5rem) var(--d); }
.sg-pct span { color: var(--pink-2); font: 700 2rem var(--d); }
.sg-gauge { grid-column: 1 / -1; margin: 0; }
.sg-gauge i { height: 16px; }
.sg-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 6px; }
.sg-note { max-width: 30rem; color: var(--muted); font-size: .9rem; }
.sg-note a { color: var(--pink-2); font-weight: 700; }
.sg-thx { display: flex; align-items: center; gap: 14px; }
.sg-thx p { color: var(--soft); font-weight: 700; font-size: .9rem; }
.sg-thx .face { width: 44px; height: 52px; margin-left: -8px; }
/* Ce que permet un don : des montants en grand, séparés par des traits */
.sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgb(255 255 255 / .08); }
.sw div { padding: 26px 26px 6px 0; }
.sw div + div { padding-left: 26px; border-left: 1px solid rgb(255 255 255 / .08); }
.sw dd { margin: 0; color: var(--pink-2); font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--d); }
.sw dt { margin-top: 12px; color: var(--soft); line-height: 1.5; }
/* Aider sans payer */
.sf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.sf li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 6px 26px 6px 0; }
.sf li + li { padding-left: 26px; border-left: 1px solid rgb(255 255 255 / .08); }
.sf-ic { display: grid; place-items: center; width: 46px; height: 52px; margin-bottom: 6px; background: linear-gradient(160deg, var(--pink), var(--pink-d)); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); }
.sf-ic svg { width: 22px; height: 22px; fill: #fff; }
.sf b { color: #fff; font: 600 1.15rem var(--d); }
.sf p { flex: 1; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.sf li > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #fff; font-weight: 700; font-size: .9rem; }
.sf li > a:hover { color: var(--pink-2); }
.sf .arr { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.sf-nets { display: flex; gap: 10px; margin-top: 4px; }
.sf-nets a { color: var(--soft); }
.sf-nets a:hover { color: var(--pink-2); }
.sf-nets .icon { width: 20px; height: 20px; }
/* Les questions */
.sq-wrap { max-width: 860px; }
.sq details { border-bottom: 1px solid rgb(255 255 255 / .08); }
.sq details:first-child { border-top: 1px solid rgb(255 255 255 / .08); }
.sq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; color: #fff; font: 600 1.1rem var(--d); cursor: pointer; list-style: none; }
.sq summary::-webkit-details-marker { display: none; }
.sq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--pink-2); border-bottom: 2px solid var(--pink-2); transform: rotate(45deg); transition: transform .25s; }
.sq details[open] summary::after { transform: rotate(-135deg); }
.sq details p { padding: 0 0 22px; color: var(--soft); line-height: 1.7; }
@media (max-width: 900px) {
  .sw, .sf { grid-template-columns: 1fr 1fr; }
  .sw div:nth-child(3), .sf li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sf li { padding-bottom: 26px; }
}
@media (max-width: 560px) {
  .sg { grid-template-columns: 1fr; }
  .sw, .sf { grid-template-columns: 1fr; }
  .sw div, .sw div + div, .sf li, .sf li + li { padding-left: 0; border-left: 0; }
  .sw div + div { border-top: 1px solid rgb(255 255 255 / .08); }
}
.sf-ic { width: auto; height: auto; margin-bottom: 4px; background: none; clip-path: none; } .sf-ic svg, .sf-ic .icon { width: 30px; height: 30px; fill: var(--pink-2); }

/* =================== L'objectif : le maillot qui se remplit =================== */
.sg2 { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 54px); overflow: hidden; background: radial-gradient(50% 70% at 78% 45%, rgb(var(--pk) / .22), transparent 70%), linear-gradient(115deg, #151017 0 55%, #0f0b10 55%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 97.5% 100%, 0 100%); }
.sg2 h2 { margin-top: 6px; color: #fff; font: 700 clamp(2rem, 4vw, 3rem)/1.05 var(--d); }
.sg2-lead { max-width: 30rem; margin-top: 12px; color: var(--soft); font-size: 1.05rem; line-height: 1.6; }
.sg2-nums { display: flex; gap: 30px; margin-top: 26px; }
.sg2-nums div { display: grid; }
.sg2-nums div + div { padding-left: 30px; border-left: 1px solid rgb(255 255 255 / .12); }
.sg2-nums b { color: #fff; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--d); }
.sg2-nums div:first-child b { color: var(--pink-2); }
.sg2-nums span { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.sg2-gauge { max-width: 30rem; margin: 22px 0 26px; }
.sg2-gauge i { height: 10px; }
/* Le bouton plein, pour le don */
.btn-fill { --edge: var(--pink); padding: 16px 30px; font-size: 1rem; }
.btn-fill::after { background: linear-gradient(90deg, var(--pink-d), var(--pink)); }
.btn-fill::before { background: rgb(255 255 255 / .18); }
.btn-fill.is-off { --edge: #3a2d37; color: var(--soft); cursor: default; }
.btn-fill.is-off::after { background: #1c151d; }
.btn-fill.is-off::before { display: none; }
.sg2 .sg-note { margin-top: 14px; }
.sg2-art { display: grid; justify-items: center; gap: 20px; }
.jersey { width: min(100%, 320px); height: auto; overflow: visible; filter: drop-shadow(0 24px 40px rgb(0 0 0 / .6)); }
.jersey-name { fill: #fff; font: 700 22px var(--d); letter-spacing: .14em; }
.jersey-pct { fill: #fff; font: 700 42px var(--d); }
.jersey-wave { animation: jwave 3.2s linear infinite; }
@keyframes jwave { to { transform: translateX(-150px); } }
.sg2-art .sg-thx { flex-direction: column; text-align: center; }
@media (max-width: 860px) {
  .sg2 { grid-template-columns: 1fr; }
  .sg2-art { order: -1; }
  .jersey { width: min(70%, 260px); }
}
@media (prefers-reduced-motion: reduce) { .jersey-wave { animation: none; } }

/* =================== L'objectif, version générale : le logo se remplit de couleur =================== */
.sg2-goal { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.sg2-goal b { color: #fff; }
.lg-fill { position: relative; width: min(100%, 300px); aspect-ratio: 512 / 542; }
.lg-fill img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Le logo éteint en dessous, le logo en couleur qui monte avec les dons */
.lg-base { filter: grayscale(1) brightness(.32); }
.lg-top { clip-path: inset(calc(100% - var(--p)) 0 0 0); filter: drop-shadow(0 0 30px rgb(var(--pk) / .45)); transition: clip-path 1.2s var(--ease); }
.lg-pct { position: absolute; left: 50%; bottom: -8px; translate: -50% 0; padding: 4px 14px; color: #fff; background: rgb(11 8 12 / .85); border: 1px solid rgb(var(--pk) / .5); border-radius: 999px; font: 600 .9rem var(--d); white-space: nowrap; }
.lg-pct b { font-size: 1.15rem; }
@media (max-width: 860px) { .lg-fill { width: min(60%, 220px); } }
.lg-top { filter: none; } .lg-fill::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--pk) / .28), transparent); }
.sg2-amount { margin-top: 26px; color: var(--muted); font-size: 1.05rem; } .sg2-amount b { color: #fff; font: 700 2.2rem/1 var(--d); margin-right: 4px; } .sg2-gauge { margin-top: 14px; }
/* L'objectif, plus compact, avec une image derrière le texte */
.sg2 { gap: 30px; padding: 0; background: #0f0b10; align-items: stretch; }
.sg2-txt { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px clamp(24px, 4vw, 48px); background: linear-gradient(90deg, rgb(11 8 12 / .92) 35%, rgb(11 8 12 / .6)), linear-gradient(0deg, rgb(11 8 12 / .7), transparent 60%), url(../img/fond-5.webp) center 40% / cover no-repeat; clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); }
.sg2 h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.sg2-lead { margin-top: 10px; font-size: .98rem; }
.sg2-amount { margin-top: 18px; }
.sg2-amount b { font-size: 1.8rem; }
.sg2-gauge { width: 100%; max-width: 26rem; margin: 12px 0 20px; }
.sg2-art { align-content: center; gap: 14px; padding: 30px 30px 30px 0; background: radial-gradient(55% 60% at 50% 45%, rgb(var(--pk) / .2), transparent 70%); }
.lg-fill { width: min(100%, 200px); }
.sg2-art .sg-thx { gap: 8px; }
.sg2-art .sg-thx .face { width: 36px; height: 42px; }
.sg2-art .sg-thx p { font-size: .82rem; }
@media (max-width: 860px) {
  .sg2-txt { clip-path: none; }
  .sg2-art { padding: 26px 20px 0; }
  .lg-fill { width: min(50%, 170px); }
}

/* =================== Page Postuler =================== */
.rc { grid-template-columns: minmax(0, 1fr) minmax(340px, 470px); }
.rc-want { margin: 18px 0 0; border-top: 1px solid rgb(255 255 255 / .08); }
.rc-want div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.rc-want dt { color: #fff; font: 600 1.2rem var(--d); }
.rc-want dd { margin: 0; color: var(--soft); line-height: 1.6; }
.rc-h { margin-top: 50px; }
.rc-steps { display: grid; gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: rc; }
.rc-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; counter-increment: rc; }
.rc-steps li::before { content: "0" counter(rc); grid-row: span 2; color: var(--pink-2); font: 700 1.6rem/1.1 var(--d); }
.rc-steps b { color: #fff; font: 600 1.08rem var(--d); }
.rc-steps span { color: var(--muted); font-size: .94rem; }
.rc-privacy { margin-top: 30px; color: var(--muted); font-size: .88rem; }
.tf label i { color: var(--pink-2); font-style: normal; }
.tf textarea { width: 100%; padding: 12px 14px; color: #fff; background: #0b080c; border: 1px solid rgb(255 255 255 / .12); border-radius: 4px; font: 500 .95rem/1.5 var(--t); resize: vertical; transition: border-color .2s; }
.tf textarea:focus { outline: none; border-color: var(--pink); }
.tf textarea::placeholder { color: #5d5260; }
.tf input:disabled { color: var(--muted); background: #141015; }
.rc-panel .btn-fill { justify-self: stretch; }
.rc-mine { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .08); }
.rc-mine ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.rc-mine li { display: flex; justify-content: space-between; color: var(--soft); font-size: .9rem; }
.rc-st { padding: 2px 9px; border-radius: 3px; font-size: .75rem; }
.rc-nouvelle { color: var(--soft); background: rgb(255 255 255 / .08); }
.rc-acceptee { color: #fff; background: var(--pink); }
.rc-refusee { color: var(--muted); background: rgb(255 255 255 / .04); }
@media (max-width: 980px) { .rc { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rc-want div { grid-template-columns: 1fr; gap: 6px; } }

/* =================== Page Postuler, version 2 =================== */
.rc2-top { padding-top: 70px; }
/* Le manifeste : trois mots en grand, une phrase dessous */
.rc2-man { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.rc2-man div { padding: 0 30px 0 0; }
.rc2-man div + div { padding-left: 30px; border-left: 1px solid rgb(255 255 255 / .08); }
.rc2-man dt { color: #fff; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--d); }
.rc2-man div:nth-child(2) dt { color: var(--pink-2); }
.rc2-man dd { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.rc2-sec { padding-top: 70px; scroll-margin-top: 80px; }
.rc2-wrap { max-width: 900px; }
.rc2 { padding: clamp(24px, 4vw, 44px); background: radial-gradient(70% 50% at 100% 0, rgb(var(--pk) / .12), transparent 60%), linear-gradient(170deg, #161018, #0e0a0f); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.rc2-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.rc2-head h2 { color: #fff; font: 700 clamp(1.6rem, 3vw, 2.1rem)/1 var(--d); }
.rc2-me { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; background: rgb(88 101 242 / .14); border: 1px solid rgb(88 101 242 / .35); border-radius: 999px; }
.rc2-me .icon { width: 22px; height: 22px; color: #8c96ff; }
.rc2-me span { display: grid; line-height: 1.15; }
.rc2-me small { color: var(--muted); font-size: .7rem; }
.rc2-me b { color: #fff; font-size: .9rem; }
.rc2-form { gap: 0; }
.rc2-form fieldset { display: grid; gap: 14px; margin: 0; padding: 26px 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.rc2-form legend { float: left; display: flex; align-items: baseline; gap: 12px; width: 100%; margin-bottom: 6px; padding: 0; color: #fff; font: 600 1.15rem var(--d); }
.rc2-form legend b { color: var(--pink-2); font: 700 .95rem var(--d); }
.rc2-form legend + * { clear: both; }
/* Le rôle en boutons penchés */
.rc2-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rc2-lab { width: 100%; margin-bottom: 2px; color: var(--soft); font-weight: 700; font-size: .82rem; }
.rc2-lab i { color: var(--pink-2); font-style: normal; }
.rc2-role { --shape: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); position: relative; display: block !important; cursor: pointer; }
.rc2-role input { position: absolute; opacity: 0; pointer-events: none; }
.rc2-role span { display: block; padding: 10px 20px; color: var(--soft); background: rgb(255 255 255 / .06); clip-path: var(--shape); font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.rc2-role:hover span { color: #fff; background: rgb(255 255 255 / .1); }
.rc2-role input:checked + span { color: #fff; background: linear-gradient(90deg, var(--pink-d), var(--pink)); }
.rc2-role input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }
.rc2-send { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; padding-top: 26px; }
.rc2-send p { max-width: 24rem; color: var(--muted); font-size: .85rem; }
.rc2-gate { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.rc2-dc { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #5865f2; }
.rc2-dc .icon { width: 30px; height: 30px; color: #fff; }
.rc2-gate h2 { color: #fff; font: 600 1.4rem/1.2 var(--d); }
.rc2-gate p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.rc2-done { display: grid; justify-items: center; gap: 10px; padding: 20px 0; text-align: center; }
.rc2-done svg { width: 54px; height: 54px; padding: 12px; color: #fff; background: var(--pink); border-radius: 50%; }
.rc2-done h2 { color: #fff; font: 700 1.6rem/1.2 var(--d); }
.rc2-done p { color: var(--soft); }
.rc2-done p b { color: #fff; }
/* Les étapes, sous le formulaire */
.rc2-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.rc2-steps li { display: flex; gap: 12px; }
.rc2-steps b { color: var(--pink-2); font: 700 1.3rem/1.1 var(--d); }
.rc2-steps span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.rc2-steps strong { display: block; color: #fff; font: 600 1rem var(--d); }
@media (max-width: 760px) {
  .rc2-man { grid-template-columns: 1fr; gap: 22px; }
  .rc2-man div, .rc2-man div + div { padding: 0; border: 0; }
  .rc2-gate { grid-template-columns: 1fr; justify-items: start; }
  .rc2-steps { grid-template-columns: 1fr; }
  .rc2-send .btn { width: 100%; }
}

/* =================== Postuler, version 3 : ambiance CS =================== */
.rc2-wrap { max-width: 1120px; }
.rc2:has(.rc3) { padding: 0; }
.rc3 { display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.rc3-main { padding: clamp(24px, 3.5vw, 40px); }
/* La colonne image : un agent dans la fumée, la carte qui se remplit */
.rc3-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 30px; overflow: hidden; background: linear-gradient(180deg, rgb(11 8 12 / .55), rgb(11 8 12 / .9)), radial-gradient(70% 50% at 50% 45%, rgb(var(--pk) / .25), transparent 70%), url(../img/art-fumee.webp) center / cover no-repeat; }
.rc3-side::after { content: ""; position: absolute; inset: 14px; pointer-events: none; background:
  linear-gradient(var(--pink), var(--pink)) left top / 18px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) left top / 2px 18px no-repeat,
  linear-gradient(var(--pink), var(--pink)) right top / 18px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) right top / 2px 18px no-repeat,
  linear-gradient(var(--pink), var(--pink)) left bottom / 18px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) left bottom / 2px 18px no-repeat,
  linear-gradient(var(--pink), var(--pink)) right bottom / 18px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) right bottom / 2px 18px no-repeat; opacity: .7; }
.rc3-k { color: var(--pink-2); font-weight: 700; font-size: .85rem; }
.rc3-card { width: 220px; flex: none; }
.rc3-card .pl-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc3-card .pl-stat { color: var(--soft); font: 600 .78rem var(--t); }
.rc3-card .pl-edge polygon { stroke: rgb(var(--pk) / .6); }
.rc3-card.is-bump { animation: rc3-bump .35s ease; }
@keyframes rc3-bump { 40% { transform: scale(1.03); } }
.rc3-hint { max-width: 16rem; color: var(--muted); font-size: .82rem; text-align: center; }
/* Les rôles avec leur icône */
.rc2-role span { display: inline-flex; align-items: center; gap: 8px; }
.rc2-role svg { width: 16px; height: 16px; fill: currentColor; opacity: .8; }
.rc2-role input:checked + span svg { opacity: 1; }
/* Les champs : des coins de viseur quand on clique dedans */
.rc3-main .tf label { position: relative; }
.rc3-main .tf input:focus, .rc3-main .tf select:focus, .rc3-main .tf textarea:focus { border-color: rgb(var(--pk) / .6); box-shadow: 0 0 0 3px rgb(var(--pk) / .12); }
.rc3-main .tf label:focus-within > span { color: var(--pink-2); }
.rc2-form legend b { padding: 2px 7px; color: #fff; background: var(--pink); border-radius: 3px; font-size: .78rem; }
@media (max-width: 900px) {
  .rc3 { grid-template-columns: 1fr; }
  .rc3-side { padding: 30px 20px; }
  .rc3-card { width: 180px; }
}
.rc2:has(.rc3) > :not(.rc3) { margin: 20px 30px; }
.rc3-side { background: linear-gradient(180deg, rgb(11 8 12 / .3), rgb(11 8 12 / .82)), radial-gradient(70% 50% at 50% 45%, rgb(var(--pk) / .25), transparent 70%), url(../img/art-fumee.webp) center / cover no-repeat; } .rc3-card .pl-img svg { fill: rgb(255 255 255 / .14); }

/* =================== La future carte, version 2 : la photo Discord, façon carte collector =================== */
.rc3-side { background: linear-gradient(180deg, rgb(11 8 12 / .25), rgb(11 8 12 / .85)), url(../img/fond-9.webp) 62% center / cover no-repeat; }
.rc3-card { position: relative; width: 236px; aspect-ratio: 3 / 4.1; flex: none; overflow: hidden; background: linear-gradient(180deg, #2a1a2b, #0b080c); clip-path: polygon(50% 0, 100% 7%, 100% 90%, 50% 100%, 0 90%, 0 7%); box-shadow: 0 30px 60px -20px #000; }
.rc3-pic { position: absolute; inset: 0; display: grid; place-items: end center; }
.rc3-pic img { width: 100%; height: 100%; object-fit: cover; }
.rc3-pic svg { width: 76%; fill: rgb(255 255 255 / .14); }
/* Le dégradé du bas pour lire le texte, une teinte rose en haut */
.rc3-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(9 7 10 / .97) 14%, rgb(9 7 10 / .55) 38%, transparent 60%), linear-gradient(180deg, rgb(var(--pk) / .25), transparent 30%); }
.rc3-logo { position: absolute; z-index: 2; left: 14%; top: 10%; width: 30px; height: auto; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); }
.rc3-num { position: absolute; z-index: 2; right: 12%; top: 9%; color: transparent; font: 700 2.4rem/1 var(--d); -webkit-text-stroke: 1px rgb(255 255 255 / .7); }
.rc3-edge { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.rc3-edge polygon { fill: none; stroke: var(--pink); stroke-width: 2; vector-effect: non-scaling-stroke; }
/* Le reflet qui passe de temps en temps */
.rc3-shine { position: absolute; z-index: 2; top: -20%; bottom: -20%; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .22), transparent); transform: translateX(-180%) skewX(-18deg); animation: rc3-shine 4.5s ease-in-out infinite; }
@keyframes rc3-shine { 0%, 60% { transform: translateX(-180%) skewX(-18deg); } 85%, 100% { transform: translateX(420%) skewX(-18deg); } }
.rc3-txt { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 13%; display: grid; justify-items: center; gap: 4px; text-align: center; }
.rc3-role { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; color: #fff; background: var(--pink); border-radius: 3px; font-weight: 700; font-size: .75rem; }
.rc3-role svg { width: 13px; height: 13px; fill: #fff; }
.rc3-txt b { max-width: 100%; overflow: hidden; color: #fff; font: 700 1.5rem/1.1 var(--d); text-overflow: ellipsis; white-space: nowrap; }
.rc3-txt em { color: var(--soft); font: 600 .78rem var(--t); font-style: normal; }
.rc3-card.is-bump { animation: rc3-bump .35s ease; }
@media (prefers-reduced-motion: reduce) { .rc3-shine { animation: none; display: none; } }
@media (max-width: 900px) { .rc3-card { width: 190px; } }

/* =================== Mon espace =================== */
.me2-sec { padding-top: 104px; }
.me2 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); background: linear-gradient(90deg, rgb(11 8 12 / .92) 30%, rgb(11 8 12 / .65)), radial-gradient(40% 70% at 12% 50%, rgb(var(--pk) / .3), transparent 70%), url(../img/fond-2.webp) center 35% / cover no-repeat, #0b080c; clip-path: polygon(0 0, 30% 18px, 40% 9px, 45% 16px, 50% 0, 55% 16px, 60% 9px, 70% 18px, 100% 0, 100% calc(100% - 24px), 97.5% 100%, 2.5% 100%, 0 calc(100% - 24px)); }
.me2-cardcol .rc3-card { width: 230px; }
.me2-flag { position: absolute; z-index: 2; right: 13%; top: 10%; padding: 2px 7px; color: #fff; background: rgb(9 7 10 / .7); border-radius: 3px; font-size: .7rem; font-weight: 700; }
.me2-main { display: grid; justify-items: start; gap: 14px; }
.me2-main h1 { color: #fff; font: 700 clamp(2.4rem, 5vw, 3.8rem)/1 var(--d); }
.me2-stats { display: flex; gap: 0; margin: 6px 0 0; }
.me2-stats div { display: flex; flex-direction: column; padding: 0 26px; }
.me2-stats div:first-child { padding-left: 0; }
.me2-stats div + div { border-left: 1px solid rgb(255 255 255 / .12); }
.me2-stats dd { margin: 0; color: #fff; font: 700 2rem/1 var(--d); }
.me2-stats div:first-child dd { color: var(--pink-2); }
.me2-stats dt { margin-top: 6px; color: var(--muted); font-size: .82rem; }
.me2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.me2-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.me2-form { gap: 16px; margin-top: 22px; }
.me2-form .btn-fill { justify-self: start; }
.me2-lists { display: grid; gap: 44px; }
.me2-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.me2-list li > a, .me2-list li:not(:has(a)) { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; background: #120d13; border-left: 2px solid rgb(var(--pk) / .5); transition: background .2s; }
.me2-list li > a:hover { background: #1a131b; }
.me2-list span { display: grid; gap: 2px; min-width: 0; }
.me2-list b { color: #fff; font: 600 1rem var(--d); }
.me2-list small { color: var(--muted); font-size: .82rem; }
.me2-list em { flex: none; font-style: normal; }
.me2-empty { margin-top: 16px; color: var(--muted); }
.me2-empty a { color: var(--pink-2); font-weight: 700; }
.me2-del-sec { padding-top: 60px; }
.me2-del { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .08); }
.me2-del p { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .me2 { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .me2-main { justify-items: center; }
  .me2-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .me2-stats div { padding: 0 14px; } .me2-stats dd { font-size: 1.6rem; } }

/* =================== Mon espace : les onglets =================== */
.me2-body { padding-top: 50px; scroll-margin-top: 70px; }
.me2-tabs a span { margin-left: 6px; padding: 1px 7px; color: var(--soft); background: rgb(255 255 255 / .08); border-radius: 999px; font-size: .75rem; }
.me2-tabs a[aria-current] span { color: #fff; background: var(--pink); }
.me2-pane { max-width: 780px; }
.me2-intro { color: var(--muted); }
.me2-pane .me2-form { margin-top: 22px; }
.me2-pane .me2-del { margin-top: 50px; }
.me2-none { display: grid; justify-items: start; gap: 8px; padding: 30px 0; }
.me2-none b { color: #fff; font: 600 1.3rem var(--d); }
.me2-none p { margin-bottom: 10px; color: var(--muted); }
.me2-del-sec { display: none; }

/* =================== Mon profil, façon loadout CS =================== */
.lo { display: grid; gap: 18px; }
.lo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.me2-pane:has(.lo) { max-width: none; }
.lo-box { position: relative; display: grid; align-content: start; gap: 16px; padding: 24px; background:
  linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(160deg, #161018, #0f0b10); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
/* Les coins de viseur */
.lo-box::before { content: ""; position: absolute; inset: 8px; pointer-events: none; background:
  linear-gradient(var(--pink), var(--pink)) left top / 12px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) left top / 2px 12px no-repeat,
  linear-gradient(var(--pink), var(--pink)) right bottom / 12px 2px no-repeat, linear-gradient(var(--pink), var(--pink)) right bottom / 2px 12px no-repeat; opacity: .8; }
.lo-box header small { color: var(--pink-2); font-weight: 700; font-size: .78rem; }
.lo-box header h3 { margin-top: 2px; color: #fff; font: 600 1.3rem var(--d); }
.lo-field { display: grid; gap: 8px; }
.lo-field > span { color: var(--soft); font-weight: 700; font-size: .8rem; }
.lo-field > span small { color: var(--muted); font-weight: 600; }
.lo-field input { width: 100%; padding: 12px 14px; color: #fff; background: rgb(9 7 10 / .8); border: 1px solid rgb(255 255 255 / .12); border-radius: 3px; font: 600 1rem var(--d); letter-spacing: .02em; transition: border-color .2s, box-shadow .2s; }
.lo-field input:focus { outline: none; border-color: rgb(var(--pk) / .6); box-shadow: 0 0 0 3px rgb(var(--pk) / .12); }
.lo-field input::placeholder { color: #5d5260; font-family: var(--t); }
/* Les petits choix (pays, Premier) */
.lo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lo-chip { position: relative; cursor: pointer; }
.lo-chip input, .lo-lvl input, .lo-tile input { position: absolute; opacity: 0; pointer-events: none; }
.lo-chip span { display: block; padding: 6px 11px; color: var(--soft); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); border-radius: 3px; font-weight: 700; font-size: .8rem; transition: all .2s; }
.lo-chip:hover span { color: #fff; border-color: rgb(255 255 255 / .2); }
.lo-chip input:checked + span { color: #fff; background: var(--pink); border-color: var(--pink); }
.lo-chip input:focus-visible + span, .lo-lvl input:focus-visible + span, .lo-tile input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }
/* Les niveaux FACEIT, à leurs couleurs */
.lo-levels { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.lo-lvl { cursor: pointer; }
.lo-lvl span { display: grid; place-items: center; aspect-ratio: 1; color: var(--c); background: rgb(9 7 10 / .8); border: 2px solid color-mix(in srgb, var(--c) 35%, transparent); border-radius: 50%; font: 700 .95rem var(--d); transition: all .2s; }
.lo-lvl:hover span { border-color: var(--c); }
.lo-lvl input:checked + span { color: #0b080c; background: var(--c); border-color: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 55%, transparent); }
/* Les postes en tuiles */
.lo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lo-tile { cursor: pointer; }
.lo-tile span { display: grid; gap: 4px; height: 100%; padding: 16px; background: rgb(9 7 10 / .7); border: 1px solid rgb(255 255 255 / .08); transition: all .2s; }
.lo-tile svg { width: 26px; height: 26px; margin-bottom: 6px; fill: var(--soft); transition: fill .2s; }
.lo-tile b { color: #fff; font: 600 1.05rem var(--d); }
.lo-tile small { color: var(--muted); font-size: .8rem; }
.lo-tile:hover span { border-color: rgb(255 255 255 / .2); }
.lo-tile input:checked + span { background: linear-gradient(160deg, rgb(var(--pk) / .25), rgb(var(--pk) / .06)); border-color: var(--pink); box-shadow: inset 0 0 24px rgb(var(--pk) / .15); }
.lo-tile input:checked + span svg { fill: var(--pink-2); }
.lo-save { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding-top: 6px; }
.lo-save p { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) {
  .lo-grid { grid-template-columns: 1fr; }
  .lo-levels { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lo-save .btn { width: 100%; }
}
.me2-tabs { overflow-x: auto; scrollbar-width: none; } .me2-tabs::-webkit-scrollbar { display: none; } .me2-tabs a { flex: none; white-space: nowrap; }

/* =================== Mon espace, façon écran de jeu =================== */
.lb { padding-top: 64px; }
.lb-scene { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: calc(100vh - 64px); background: linear-gradient(90deg, rgb(9 7 10 / .96) 0 92px, rgb(9 7 10 / .55) 40%, rgb(9 7 10 / .2) 75%, rgb(9 7 10 / .55)), linear-gradient(0deg, rgb(9 7 10 / .95), transparent 45%), url(../img/fond-1.webp) 70% 30% / cover no-repeat, #09070a; }
/* La barre d'icônes */
.lb-rail { position: sticky; top: 64px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; height: calc(100vh - 64px); padding: 18px 0; background: rgb(9 7 10 / .82); border-right: 1px solid rgb(255 255 255 / .06); }
.lb-rail a, .lb-rail button { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 4px; color: var(--muted); background: none; border: 0; font: 700 .68rem var(--t); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: color .2s, background .2s; }
.lb-rail svg { width: 24px; height: 24px; fill: currentColor; }
.lb-rail a:hover, .lb-rail button:hover { color: #fff; background: rgb(255 255 255 / .04); }
.lb-rail a[aria-current] { color: #fff; background: linear-gradient(90deg, rgb(var(--pk) / .22), transparent); }
.lb-rail a[aria-current]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--pink); }
.lb-rail a[aria-current] svg { fill: var(--pink-2); }
.lb-rail-gap { flex: 1; }
.lb-rail form { margin: 0; }
.lb-rail button { width: 100%; }
/* La scène */
.lb-stage { display: flex; flex-direction: column; gap: 22px; padding: 26px clamp(20px, 3vw, 44px) 40px; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-where { color: #fff; font: 700 1.6rem var(--d); letter-spacing: .04em; text-transform: uppercase; }
.lb-lobby { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-rows: 1fr auto; gap: 24px 40px; }
.lb-me { display: grid; justify-items: center; align-content: center; gap: 14px; }
.lb-card { width: clamp(220px, 22vw, 300px); }
.lb-card .rc3-txt b { font-size: 1.8rem; }
.lb-edit { color: var(--soft); font-weight: 700; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.lb-edit:hover { color: var(--pink-2); }
/* L'équipe : 5 places */
.lb-party { align-self: center; padding: 18px; background: rgb(9 7 10 / .78); border: 1px solid rgb(255 255 255 / .07); }
.lb-k { margin-bottom: 12px; color: var(--soft); font: 700 .72rem var(--t); letter-spacing: .08em; text-transform: uppercase; }
.lb-slots { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lb-slots li { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; background: rgb(255 255 255 / .035); border-left: 2px solid transparent; }
.lb-slots li.is-me { background: linear-gradient(90deg, rgb(var(--pk) / .18), rgb(255 255 255 / .03)); border-color: var(--pink); }
.lb-slots li.is-empty { opacity: .55; }
.lb-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden; color: #fff; background: #1c151d; border-radius: 3px; font: 700 .95rem var(--d); }
.lb-av img { width: 100%; height: 100%; object-fit: cover; }
.lb-slots .is-empty .lb-av { color: var(--muted); background: none; border: 1px dashed rgb(255 255 255 / .2); font-size: 1.3rem; }
.lb-who { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.lb-who b { overflow: hidden; color: #fff; font: 600 .98rem var(--d); text-overflow: ellipsis; white-space: nowrap; }
.lb-who small { color: var(--muted); font-size: .75rem; }
.lb-ready { color: #3ee08a; font: 700 .7rem var(--t); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
/* En bas : les chiffres, et le bouton JOUER */
.lb-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lb-stats { display: flex; gap: 28px; margin: 0; }
.lb-stats div { display: flex; flex-direction: column; }
.lb-stats dd { margin: 0; color: #fff; font: 700 1.8rem/1 var(--d); }
.lb-stats dt { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.lb-play { display: flex; align-items: center; gap: 22px; }
.lb-play p { display: grid; text-align: right; line-height: 1.3; }
.lb-play p b { color: #fff; font: 600 1.05rem var(--d); }
.lb-play p span { color: var(--muted); font-size: .85rem; }
.lb-go { --shape: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%); position: relative; display: grid; justify-items: start; min-width: 240px; padding: 14px 44px 16px 36px; overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--pink-d), var(--pink)); border: 0; clip-path: var(--shape); font: 700 2rem/1 var(--d); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 40px rgb(var(--pk) / .35); transition: filter .2s; }
.lb-go small { margin-bottom: 4px; color: rgb(255 255 255 / .75); font: 700 .68rem var(--t); letter-spacing: .1em; }
.lb-go::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent); transform: translateX(-160%) skewX(-18deg); animation: rc3-shine 3.5s ease-in-out infinite; }
.lb-go:hover { filter: brightness(1.12); }
.lb-go.is-in { background: linear-gradient(90deg, #1f6b45, #2bb673); font-size: 1.5rem; }
/* Les panneaux des autres onglets */
.lb-panel { max-width: 1000px; padding: 24px; background: rgb(9 7 10 / .82); border: 1px solid rgb(255 255 255 / .07); }
.lb-loadout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 34px; }
.lo-col { display: grid; align-content: start; gap: 20px; }
.lb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-save { min-width: 200px; font-size: 1.5rem; }
.lb .me2-del { max-width: 1000px; margin-top: 10px; }
.lb .me2-list li > a, .lb .me2-list li:not(:has(a)) { background: rgb(255 255 255 / .035); }
.lb .notice { margin: 0; }
/* Le pied de page n'a pas sa place dans l'écran de jeu */
.lb ~ .foot, body:has(.lb) .site-foot { margin-top: 0; }
@media (max-width: 980px) {
  .lb-lobby { grid-template-columns: 1fr; }
  .lb-party { align-self: auto; }
  .lb-loadout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .lb-scene { grid-template-columns: 1fr; }
  .lb-rail { position: fixed; z-index: 60; top: auto; bottom: 0; left: 0; right: 0; flex-direction: row; justify-content: space-around; height: auto; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid rgb(255 255 255 / .08); }
  .lb-rail a, .lb-rail button { flex: 1; padding: 8px 2px; font-size: .58rem; }
  .lb-rail-gap { display: none; }
  .lb-rail a[aria-current]::before { left: 10px; right: 10px; top: 0; bottom: auto; width: auto; height: 3px; }
  .lb-stage { padding-bottom: 90px; }
  .lb-bottom { flex-direction: column; align-items: stretch; }
  .lb-play { flex-direction: column; align-items: stretch; gap: 12px; }
  .lb-play p { text-align: left; }
  .lb-go { width: 100%; }
  .lb-where { font-size: 1.2rem; }
}
@media (min-width: 701px) { .lb-scene { grid-template-columns: 104px minmax(0, 1fr); background-size: auto, auto, cover, auto; } .lb-rail a, .lb-rail button { font-size: .62rem; letter-spacing: .04em; } }
@media (max-width: 700px) { .lb-rail a, .lb-rail button { font-size: .52rem; letter-spacing: 0; } .lb-rail svg { width: 20px; height: 20px; } body:has(.lb) .bud { bottom: 76px; } }
/* Mon espace : rien ne flotte par-dessus l'écran de jeu, le contenu reste groupé sur les grands écrans */
body:has(.lb) .bud, body:has(.lb) .ck-btn { display: none !important; }
.lb-stage { width: 100%; max-width: 1360px; margin: 0 auto; }
.lb-lobby { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-items: center; }
@media (min-width: 1500px) { .lb-card { width: 320px; } .lb-card .rc3-txt b { font-size: 2rem; } }

/* =================== Les agents 3D =================== */
.a3d { position: relative; display: grid; place-items: center; touch-action: pan-y; cursor: grab; user-select: none; }
.a3d.is-drag { cursor: grabbing; }
.a3d-poster { width: auto; height: 100%; max-height: 100%; object-fit: contain; transition: opacity .4s; pointer-events: none; }
.a3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.a3d.is-3d .a3d-poster { opacity: 0; }
.lb-agent { width: min(100%, 460px); height: min(58vh, 560px); }
.lb-plate { display: grid; justify-items: center; gap: 6px; margin-top: -6px; text-align: center; }
.lb-plate b { color: #fff; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--d); }
.lb-plate > span { color: var(--soft); font-size: .9rem; }
.lb-plate .lb-edit { margin-top: 6px; }
/* Le choix de l'agent dans le loadout */
.lb-agents { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.lb-agent-sm { height: 320px; background: radial-gradient(60% 50% at 50% 70%, rgb(var(--pk) / .18), transparent 70%); }
.ag-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ag-tile { cursor: pointer; }
.ag-tile input { position: absolute; opacity: 0; pointer-events: none; }
.ag-tile span { position: relative; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px 12px 8px 6px; background: rgb(9 7 10 / .7); border: 1px solid rgb(255 255 255 / .08); transition: all .2s; }
.ag-tile img { grid-row: span 2; width: 54px; height: 72px; object-fit: cover; object-position: center top; }
.ag-tile b { align-self: end; color: #fff; font: 600 1.05rem var(--d); }
.ag-tile small { align-self: start; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.ag-tile:hover span { border-color: rgb(255 255 255 / .2); }
.ag-tile input:checked + span { background: linear-gradient(160deg, rgb(var(--pk) / .25), rgb(var(--pk) / .06)); border-color: var(--pink); }
.ag-tile input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }
@media (max-width: 980px) { .lb-agents { grid-template-columns: 1fr; } .lb-agent-sm { height: 280px; } .ag-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .lb-agent { height: 46vh; } }
/* Le lobby : un décor de map sans personnage, l'agent est la star */
.lb-scene { background: linear-gradient(90deg, rgb(9 7 10 / .96) 0 104px, rgb(9 7 10 / .72) 40%, rgb(9 7 10 / .55) 75%, rgb(9 7 10 / .8)), linear-gradient(0deg, rgb(9 7 10 / .97), transparent 55%), radial-gradient(40% 50% at 42% 55%, rgb(var(--pk) / .16), transparent 70%), url(../img/photo-map.webp) center 40% / cover no-repeat, #09070a; }
.lb-agent { height: min(64vh, 620px); }
@media (max-height: 1000px) { .lb-agent { height: min(50vh, 520px); } .lb-plate b { font-size: 1.8rem; } }
.ag-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* =================== Lobby v2 : ta carte collector en grand, le poulet mascotte à côté =================== */
.lb-duo { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.lb-tilt { perspective: 900px; }
.lb-tilt .lb-card { width: clamp(240px, 21vw, 300px); transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform .25s ease-out; box-shadow: 0 40px 80px -30px #000, 0 0 60px -10px rgb(var(--pk) / .35); }
.lb-tilt .lb-card .rc3-txt b { font-size: 1.9rem; }
/* Le reflet holographique qui suit la souris */
.lb-holo { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .55; background: linear-gradient(115deg, transparent 20%, rgb(255 120 200 / .45) calc(var(--hx, 40%) - 8%), rgb(140 200 255 / .35) var(--hx, 40%), rgb(255 255 255 / .3) calc(var(--hx, 40%) + 4%), transparent calc(var(--hx, 40%) + 18%)); }
.lb-poulet { width: clamp(170px, 15vw, 230px); height: clamp(190px, 17vw, 260px); margin: 0 0 -6px -46px; }
.lb-me .lb-edit { margin-top: 18px; }
@media (max-width: 700px) {
  .lb-tilt .lb-card { width: 210px; }
  .lb-poulet { width: 140px; height: 160px; margin-left: -50px; }
}

/* =================== Mon espace, version tableau de bord =================== */
.lb-scene { background: radial-gradient(60% 40% at 70% 0%, rgb(var(--pk) / .1), transparent 70%), linear-gradient(rgb(255 255 255 / .018) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgb(255 255 255 / .018) 1px, transparent 1px) 0 0 / 40px 40px, #09070a; }
.lb-stage { gap: 18px; }
/* La bannière de profil, avec le poulet dans le coin */
.hq-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 230px; padding: 30px 34px 0; overflow: hidden; background: linear-gradient(90deg, rgb(11 8 12 / .95) 30%, rgb(11 8 12 / .5)), linear-gradient(0deg, rgb(11 8 12 / .9), transparent 60%), url(../img/fond-3.webp) center 30% / cover no-repeat, #120d13; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.hq-id { display: flex; align-items: center; gap: 24px; padding-bottom: 30px; }
.hq-av { display: grid; place-items: center; flex: none; width: 112px; height: 112px; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--pink), var(--pink-d)); border-radius: 14px; box-shadow: 0 0 0 3px #0b080c, 0 0 0 5px rgb(var(--pk) / .6); font: 700 2rem var(--d); }
.hq-av img { width: 100%; height: 100%; object-fit: cover; }
.hq-k { color: var(--pink-2); font-weight: 700; font-size: .82rem; }
.hq-id h1 { margin-top: 2px; color: #fff; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--d); }
.hq-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hq-tags > span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; color: var(--soft); background: rgb(255 255 255 / .07); border-radius: 4px; font-weight: 700; font-size: .78rem; }
.hq-tags .hq-role { color: #fff; background: var(--pink); }
.hq-tags svg, .hq-tags .icon { width: 13px; height: 13px; fill: currentColor; }
.hq-tags .hq-dc { color: #c5caff; background: rgb(88 101 242 / .22); }
.hq-edit { display: inline-block; margin-top: 12px; color: var(--soft); font-weight: 700; font-size: .82rem; text-decoration: underline; text-underline-offset: 4px; }
.hq-edit:hover { color: var(--pink-2); }
.hq-poulet { flex: none; width: 210px; height: 230px; align-self: flex-end; margin-right: 10px; }
/* Les chiffres */
.hq-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; background: #110c12; border: 1px solid rgb(255 255 255 / .06); }
.hq-stats div { padding: 18px 22px; }
.hq-stats div + div { border-left: 1px solid rgb(255 255 255 / .06); }
.hq-stats dd { margin: 0; color: #fff; font: 700 2rem/1 var(--d); }
.hq-stats div:first-child dd { color: var(--pink-2); }
.hq-stats dt { margin-top: 6px; color: var(--muted); font-size: .8rem; }
/* Les deux panneaux */
.hq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.hq-panel { padding: 24px 26px; background: #110c12; border: 1px solid rgb(255 255 255 / .06); }
.hq-ptitle { margin-bottom: 14px; color: var(--muted); font: 700 .74rem var(--t); letter-spacing: .08em; text-transform: uppercase; }
.hq-next h2 { color: #fff; font: 700 1.6rem/1.15 var(--d); }
.hq-muted { margin-top: 6px; color: var(--muted); font-size: .9rem; }
/* Le compte à rebours, façon chrono de round */
.hq-timer { display: flex; gap: 6px; margin: 20px 0 22px; }
.hq-timer span { display: grid; justify-items: center; min-width: 64px; padding: 10px 8px 8px; background: #0b080c; border: 1px solid rgb(var(--pk) / .25); border-radius: 4px; }
.hq-timer b { color: var(--pink-2); font: 700 1.9rem/1 var(--d); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgb(var(--pk) / .5); }
.hq-timer small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.hq-team { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.hq-team li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; color: var(--soft); background: rgb(255 255 255 / .05); border-radius: 4px; font-weight: 700; font-size: .8rem; }
.hq-team li span { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: #2a2128; border-radius: 3px; font-size: .65rem; }
.hq-team li.is-me span { background: var(--pink); }
/* Le fil d'activité, façon kill feed */
.kf { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kf li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgb(0 0 0 / .45); border: 1px solid transparent; border-radius: 3px; font-size: .86rem; }
.kf li:first-child { border-color: rgb(var(--pk) / .7); background: rgb(var(--pk) / .08); }
.kf b { color: var(--pink-2); font-weight: 700; white-space: nowrap; }
.kf svg { flex: none; width: 18px; height: 18px; fill: #fff; opacity: .85; }
.kf span { color: var(--soft); white-space: nowrap; }
.kf em { overflow: hidden; color: #fff; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.kf small { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: .72rem; white-space: nowrap; }
@media (max-width: 980px) { .hq-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .hq-head { flex-direction: column; align-items: stretch; padding: 24px 20px 0; }
  .hq-id { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 0; }
  .hq-av { width: 84px; height: 84px; }
  .hq-poulet { align-self: flex-end; width: 150px; height: 170px; margin: -40px 0 0; }
  .hq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq-stats div:nth-child(3) { border-left: 0; }
  .hq-stats div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .06); }
  .kf li { flex-wrap: wrap; }
  .kf small { margin-left: 0; padding-left: 0; width: 100%; }
}
/* Mon espace : fond sans quadrillage, juste une lueur rose douce */
.lb-scene { background: radial-gradient(55% 40% at 72% 0%, rgb(var(--pk) / .1), transparent 70%), radial-gradient(40% 35% at 10% 100%, rgb(var(--pk) / .05), transparent 70%), #09070a; }
/* Mon espace : les mêmes formes flottantes que sur les autres pages (le fond laisse voir les éclats) */
.lb-scene { background: radial-gradient(55% 40% at 72% 0%, rgb(var(--pk) / .08), transparent 70%); }
.lb-rail { background: rgb(9 7 10 / .7); }

/* =================== Mon espace : titre des onglets, loadout en réglages =================== */
.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / .07); }
.pg-head h1 { color: #fff; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--d); }
.pg-head p { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.st { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.st-form { display: grid; gap: 0; background: #110c12; border: 1px solid rgb(255 255 255 / .06); }
.st-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 22px 24px; }
.st-row + .st-row { border-top: 1px solid rgb(255 255 255 / .06); }
.st-lab h3 { color: #fff; font: 600 1.05rem var(--d); }
.st-lab p { margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.st-ctl { display: grid; gap: 12px; align-content: start; }
.st-two { grid-template-columns: 1fr 1fr; }
/* Les postes : des boutons compacts avec leur icône */
.st-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.st-role { cursor: pointer; }
.st-role input { position: absolute; opacity: 0; pointer-events: none; }
.st-role span { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 10px 12px; background: #0b080c; border: 1px solid rgb(255 255 255 / .08); border-radius: 4px; transition: all .2s; }
.st-role svg { grid-row: span 2; width: 18px; height: 18px; fill: var(--muted); transition: fill .2s; }
.st-role b { color: #fff; font: 600 .92rem var(--d); }
.st-role small { color: var(--muted); font-size: .7rem; }
.st-role:hover span { border-color: rgb(255 255 255 / .2); }
.st-role input:checked + span { background: rgb(var(--pk) / .12); border-color: var(--pink); }
.st-role input:checked + span svg { fill: var(--pink-2); }
.st-role input:focus-visible + span { outline: 2px solid var(--pink-2); outline-offset: 2px; }
.st-levels { max-width: 460px; }
.st-save { display: flex; justify-content: flex-end; padding: 18px 24px; border-top: 1px solid rgb(255 255 255 / .06); background: rgb(0 0 0 / .2); }
/* L'aperçu à droite */
.st-side { position: sticky; top: 90px; display: grid; gap: 14px; padding: 22px; background: #110c12; border: 1px solid rgb(255 255 255 / .06); }
.st-prev { display: flex; align-items: center; gap: 14px; padding: 14px; background: #0b080c; border-left: 2px solid var(--pink); }
.st-av { width: 56px; height: 56px; border-radius: 8px; box-shadow: none; font-size: 1.1rem; }
.st-prev b { color: #fff; font: 700 1.2rem var(--d); }
.st-prev .hq-tags { margin-top: 6px; gap: 5px; }
.st-prev .hq-tags > span { padding: 2px 8px; font-size: .72rem; }
.st-note { color: var(--muted); font-size: .8rem; }
.st-del { display: grid; gap: 6px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .06); }
.st-del p { color: var(--muted); font-size: .78rem; }
.st-del .tp-leave { justify-self: start; }
@media (max-width: 1100px) { .st { grid-template-columns: 1fr; } .st-side { position: static; } }
@media (max-width: 700px) {
  .st-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 16px; }
  .st-two { grid-template-columns: 1fr; }
  .pg-head { flex-direction: column; align-items: flex-start; }
}
/* Mon espace : les onglets ont un bandeau comme les autres pages (image, forme découpée) */
.pg-head { align-items: flex-end; min-height: 200px; padding: 34px 34px 30px; border: 0; background: linear-gradient(90deg, rgb(11 8 12 / .96) 30%, rgb(11 8 12 / .55) 70%, rgb(11 8 12 / .3)), linear-gradient(0deg, rgb(11 8 12 / .9), transparent 60%), var(--img) center 35% / cover no-repeat, #120d13; clip-path: polygon(0 0, 30% 14px, 40% 7px, 45% 12px, 50% 0, 55% 12px, 60% 7px, 70% 14px, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.pg-head h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.pg-head p { max-width: 34rem; color: var(--soft); font-size: 1rem; }
@media (max-width: 700px) { .pg-head { min-height: 170px; padding: 28px 20px 22px; } }
/* Accueil de Mon espace : la même forme découpée que les autres bandeaux */
.hq-head { padding-top: 40px; clip-path: polygon(0 0, 30% 14px, 40% 7px, 45% 12px, 50% 0, 55% 12px, 60% 7px, 70% 14px, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }

/* =================== La pastille de niveau façon FACEIT =================== */
.rk { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.rk-c { width: 26px; height: 26px; flex: none; }
.rk-c text { font: 700 15px var(--d); }
.rk-t { color: var(--soft); font: 700 .7rem var(--t); letter-spacing: .04em; }
.rk-premier { padding: 2px 8px 2px 3px; color: #fff; background: rgb(255 255 255 / .07); border-radius: 4px; font-weight: 700; font-size: .74rem; }
.rk-premier b { padding: 1px 5px; color: #0b080c; background: #9ec1ff; border-radius: 3px; font-size: .64rem; }
.hq-tags > .rk { padding: 2px 10px 2px 3px; background: rgb(255 255 255 / .07); border-radius: 4px; }
.hq-tags .rk-c { width: 24px; height: 24px; }
.st-prev .rk-c { width: 22px; height: 22px; }
.pv-rank { display: inline-flex; }
.rk-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rk-line .rk-c { width: 20px; height: 20px; }

/* =================== Mon espace : onglets Tournois et Candidatures =================== */
.mt-tabs { display: grid; gap: 30px; }
.mt-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font: 600 1.2rem var(--d); }
.mt-h span { padding: 1px 8px; color: var(--pink-2); background: rgb(var(--pk) / .12); border-radius: 999px; font-size: .8rem; }
.mt-empty { padding: 18px 20px; color: var(--muted); background: #110c12; border-left: 2px solid rgb(var(--pk) / .5); }
.ca-form .lo-field i { color: var(--pink-2); font-style: normal; }
.ca-select, .ca-text { width: 100%; padding: 12px 14px; color: #fff; background: rgb(9 7 10 / .8); border: 1px solid rgb(255 255 255 / .12); border-radius: 3px; font: 600 .95rem var(--t); }
.ca-text { font-weight: 500; line-height: 1.5; resize: vertical; }
.ca-select:focus, .ca-text:focus { outline: none; border-color: rgb(var(--pk) / .6); box-shadow: 0 0 0 3px rgb(var(--pk) / .12); }
.ca-select { appearance: none; background: rgb(9 7 10 / .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ff6fb5' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 36px; }
.ca-form .st-roles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.ca-form .st-role span { grid-template-rows: auto; }
.ca-wait { display: flex; gap: 16px; align-items: flex-start; }
.ca-wait svg { flex: none; width: 34px; height: 34px; fill: var(--pink-2); }
.ca-wait b { color: #fff; font: 600 1.15rem var(--d); }
.ca-wait p { margin-top: 6px; color: var(--soft); }
.ca-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ca-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #0b080c; border-left: 2px solid rgb(var(--pk) / .5); }
.ca-list span { display: grid; }
.ca-list b { color: #fff; font: 600 .95rem var(--d); }
.ca-list small { color: var(--muted); font-size: .76rem; }
.ca-list em { flex: none; font-style: normal; }
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 700px) { .st-two { grid-template-columns: 1fr; } }

/* =================== Les annonces : image dans la smoke, fenêtre d'annonce =================== */
.bud-img { display: block; width: 100%; aspect-ratio: 16 / 7; margin: 8px 0 10px; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.bud-img[hidden] { display: none; }
.pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.pop[hidden] { display: none; }
.pop-back { position: absolute; inset: 0; background: rgb(4 3 5 / .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.pop-card { position: relative; width: min(30rem, 100%); max-height: calc(100vh - 36px); overflow: auto; background: #110c12; border: 0; clip-path: polygon(0 0, 30% 12px, 40% 6px, 45% 10px, 50% 0, 55% 10px, 60% 6px, 70% 12px, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); box-shadow: 0 30px 80px rgb(0 0 0 / .6); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.pop.is-open .pop-back { opacity: 1; }
.pop.is-open .pop-card { opacity: 1; transform: none; }
.pop-img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.pop-img img { width: 100%; height: 100%; object-fit: cover; }
.pop-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #110c12, transparent 55%); }
.pop-x { position: absolute; right: 12px; top: 18px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: rgb(9 7 10 / .7); border: 0; border-radius: 50%; cursor: pointer; }
.pop-x:hover { background: var(--pink); }
.pop-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pop-in { position: relative; display: grid; gap: 10px; padding: 8px 28px 28px; }
.pop-card > .pop-in:first-child, .pop-x + .pop-in { padding-top: 34px; }
.pop-k { display: flex; align-items: center; gap: 8px; color: var(--pink-2); font-weight: 700; font-size: .85rem; }
.pop-k img { width: 20px; height: auto; }
.pop-in h2 { color: #fff; font: 700 clamp(1.4rem, 3.4vw, 1.85rem)/1.12 var(--d); }
.pop-t { color: var(--soft); line-height: 1.6; }
.pop-in .btn { justify-self: start; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .pop-card, .pop-back { transition: none; } }

/* =================== Mon espace : la conversation avec le staff =================== */
.lb-rail a { position: relative; }
.lb-badge { position: absolute; top: 6px; right: 10px; min-width: 18px; padding: 0 5px; color: #fff; background: var(--pink); border-radius: 99px; font: 800 .68rem/18px var(--t); font-style: normal; text-align: center; box-shadow: 0 0 12px rgb(var(--pk) / .6); }
.cv { display: grid; background: #110c12; border: 1px solid rgb(255 255 255 / .06); }
.cv-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid rgb(255 255 255 / .06); }
.cv-logo { display: grid; place-items: center; flex: none; width: 46px; height: 46px; background: rgb(var(--pk) / .12); border-radius: 50%; }
.cv-logo img { width: 26px; height: auto; }
.cv-head b { display: block; color: #fff; font: 600 1.1rem var(--d); }
.cv-head small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.cv-list { display: grid; gap: 14px; max-height: 32rem; margin: 0; padding: 22px; overflow-y: auto; list-style: none; }
.cv-m { display: grid; gap: 4px; max-width: 82%; }
.cv-m p { margin: 0; padding: 12px 15px; color: var(--ink); line-height: 1.55; overflow-wrap: anywhere; background: #1a131b; border-radius: 4px 14px 14px 14px; }
.cv-m p a { color: var(--pink-2); }
.cv-m small { padding: 0 4px; color: var(--muted); font-size: .74rem; }
.cv-me { justify-self: end; justify-items: end; }
.cv-me p { color: #fff; background: linear-gradient(135deg, var(--pink-d), var(--pink)); border-radius: 14px 4px 14px 14px; }
.cv-me p a { color: #fff; }
.cv-first p { background: #0b080c; border: 1px dashed rgb(var(--pk) / .4); color: var(--soft); }
.cv-first p b { display: block; margin-bottom: 4px; color: #fff; font: 600 .9rem var(--d); }
.cv-empty { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: .86rem; }
.cv-form { display: flex; gap: 10px; align-items: flex-end; padding: 14px 16px; background: rgb(0 0 0 / .25); border-top: 1px solid rgb(255 255 255 / .06); }
.cv-form textarea { flex: 1; min-height: 46px; max-height: 12rem; padding: 12px 14px; color: #fff; background: rgb(9 7 10 / .8); border: 1px solid rgb(255 255 255 / .12); border-radius: 3px; font: 500 .95rem/1.4 var(--t); resize: vertical; }
.cv-form textarea:focus { outline: none; border-color: rgb(var(--pk) / .6); box-shadow: 0 0 0 3px rgb(var(--pk) / .12); }
.cv-form .btn { flex: none; }
.cv + .st-form, .cv + .ca-new { margin-top: 26px; }
.ca-new { color: #fff; font: 600 1.2rem var(--d); margin-bottom: 12px; }
@media (max-width: 700px) { .cv-m { max-width: 92%; } .cv-form { flex-direction: column; align-items: stretch; } }

.pop-card { outline: none; }
.pop-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--pink), transparent 70%); }

/* ---------- Le fil de conversation (panel et Mon espace) ---------- */
.ch { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 16px 16px 12px; max-height: 32rem; overflow-y: auto; list-style: none; background: radial-gradient(80% 60% at 100% 0%, rgb(var(--pk) / .05), transparent 70%), #0a080b; border: 1px solid rgb(255 255 255 / .06); border-radius: 8px; overscroll-behavior: contain; }
.ch-day { align-self: center; margin: 12px 0 6px; }
.ch-day:first-child { margin-top: 0; }
.ch-day span { padding: 3px 12px; color: #a59ca3; font: 700 .72rem var(--t); background: rgb(255 255 255 / .05); border-radius: 99px; }
.ch-sys { align-self: center; display: flex; align-items: center; gap: 8px; max-width: 90%; margin: 6px 0; padding: 6px 12px; color: #c8bfc5; font-size: .8rem; text-align: center; border: 1px dashed rgb(255 255 255 / .1); border-radius: 99px; }
.ch-sys svg { flex: none; width: 14px; height: 14px; fill: #a59ca3; stroke: #a59ca3; stroke-width: 0; }
.ch-sys.is-ok { color: #b6f5d8; border-color: rgb(61 220 151 / .35); background: rgb(61 220 151 / .06); }
.ch-sys.is-ok svg { fill: #3ddc97; }
.ch-sys.is-no { color: #ffc2c8; border-color: rgb(255 90 106 / .3); }
.ch-sys.is-no svg { fill: none; stroke: #ff5a6a; stroke-width: 2.4; stroke-linecap: round; }
.ch-sys time, .ch-who time { color: #6f666d; font-size: .7rem; }
.ch-g { display: flex; align-items: flex-end; gap: 10px; max-width: 84%; margin-top: 10px; }
.ch-mine { align-self: flex-end; flex-direction: row-reverse; }
.ch-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; color: var(--pink-2); background: #1f1720; border-radius: 50%; font: 700 .78rem var(--t); }
.ch-av img { width: 100%; height: 100%; object-fit: cover; }
.ch-av.is-team { background: rgb(var(--pk) / .16); box-shadow: inset 0 0 0 1px rgb(var(--pk) / .35); }
.ch-av.is-team img { width: 17px; height: auto; object-fit: contain; }
.ch-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.ch-mine .ch-stack { align-items: flex-end; }
.ch-who { display: flex; gap: 8px; align-items: baseline; margin: 0 0 1px; padding: 0 6px; font-size: .74rem; }
.ch-who b { color: #c8bfc5; font-weight: 700; }
.ch-b { max-width: 100%; padding: 9px 14px; color: #f6f1f4; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; background: #1f1720; border-radius: 18px; }
.ch-g:not(.ch-mine) .ch-b { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.ch-g:not(.ch-mine) .ch-b:first-of-type { border-top-left-radius: 18px; }
.ch-g:not(.ch-mine) .ch-b:last-child { border-bottom-left-radius: 4px; }
.ch-mine .ch-b { color: #fff; background: linear-gradient(135deg, var(--pink-d), var(--pink)); border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.ch-mine .ch-b:first-of-type { border-top-right-radius: 18px; }
.ch-mine .ch-b:last-child { border-bottom-right-radius: 4px; }
.ch-b a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ch-intro { display: block; margin-bottom: 4px; font: 700 .78rem var(--t); opacity: .85; }
.ch-seen { align-self: flex-end; margin: 2px 46px 0 0; color: #8b8389; font-size: .72rem; }
.ch-form { display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; padding: 5px 5px 5px 16px; background: #0a080b; border: 1px solid rgb(255 255 255 / .1); border-radius: 26px; transition: border-color .15s, box-shadow .15s; }
.ch-form:focus-within { border-color: rgb(var(--pk) / .6); box-shadow: 0 0 0 3px rgb(var(--pk) / .12); }
textarea.ch-in { flex: 1; min-height: 24px; max-height: 10rem; margin: 0 !important; padding: 9px 0 !important; color: #fff; background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: none; resize: none; font: 500 .93rem/1.4 var(--t); }
.ch-send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #fff; background: linear-gradient(135deg, var(--pink-d), var(--pink)); border: 0; border-radius: 50%; cursor: pointer; transition: transform .15s, filter .15s; }
.ch-send:hover { transform: scale(1.06); filter: brightness(1.1); }
.ch-send svg { width: 17px; height: 17px; fill: currentColor; translate: 1px 0; }
.ch-hint { margin: 6px 6px 0; color: #6f666d; font-size: .72rem; }
@media (max-width: 700px) { .ch-g { max-width: 94%; } .ch { max-height: 26rem; padding: 12px 10px; } }
.cv-body { padding: 16px; }
.cv-body .ch { max-height: 30rem; }
.cv-empty { padding: 12px 4px 0; }
@media (max-width: 700px) { .cv-body { padding: 10px; } .cv-body .ch { max-height: none; overflow: visible; } }

.ch-closed { margin: 12px 4px 0; padding: 12px 14px; color: var(--muted); font-size: .88rem; border: 1px dashed rgb(255 255 255 / .12); border-radius: 8px; text-align: center; }
.rc-archivee { color: var(--muted); background: rgb(255 255 255 / .05); }

/* =================== Mon espace : les conversations fermées, repliées =================== */
.cv-olds { display: grid; gap: 10px; }
.cv + .cv-olds { margin-top: 22px; }
.cv-olds-t { color: var(--muted); font: 600 .95rem var(--d); }
.cv-old { background: #0d0a0e; border: 1px dashed rgb(255 255 255 / .12); border-radius: 6px; }
.cv-old[open] { border-style: solid; border-color: rgb(255 255 255 / .08); }
.cv-old summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.cv-old summary::-webkit-details-marker { display: none; }
.cv-lock { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: rgb(255 255 255 / .05); border-radius: 50%; }
.cv-lock svg { width: 17px; height: 17px; fill: var(--muted); }
.cv-old-txt { display: grid; flex: 1; min-width: 0; }
.cv-old-txt b { color: var(--soft); font: 600 1rem var(--d); }
.cv-old-txt small { color: var(--muted); font-size: .8rem; }
.cv-old em { flex: none; font-style: normal; }
.cv-old-btn { flex: none; padding: 7px 14px; color: #fff; font-size: .82rem; font-weight: 700; background: rgb(255 255 255 / .06); border-radius: 99px; transition: background .15s; }
.cv-old summary:hover .cv-old-btn { background: rgb(var(--pk) / .3); }
.cv-old summary:focus-visible { outline: 2px solid var(--pink-2); outline-offset: -2px; }
.cv-old .when-open, .cv-old[open] .when-closed { display: none; }
.cv-old[open] .when-open { display: inline; }
.cv-old .cv-body { padding-top: 0; }
.cv-old .ch { opacity: .85; }
@media (max-width: 700px) { .cv-old summary { flex-wrap: wrap; } .cv-old-btn { width: 100%; text-align: center; } }

/* =================== Transitions entre les pages (assets/js/transitions.js) : « la coupe » =================== */
html.pt-on { background: linear-gradient(#000 0 11vh, transparent 11vh calc(100% - 11vh), #000 calc(100% - 11vh)) fixed, radial-gradient(75% 65% at 50% 50%, rgb(7 5 8 / .35), rgb(7 5 8 / .88)) fixed, linear-gradient(0deg, rgb(var(--pk) / .2), transparent 45%) fixed, var(--pt-img, none) center / cover no-repeat fixed, #070508; }
html.pt-on body { visibility: hidden; }
html.pt-on::after { content: attr(data-pt); position: fixed; left: 50%; top: 50%; z-index: 200; translate: -50% -50%; color: #fff; font: 700 clamp(3rem, 9vw, 7.5rem)/1 var(--d); white-space: nowrap; text-shadow: 0 0 40px rgb(var(--pk) / .35); }
.pt { position: fixed; inset: 0; z-index: 150; overflow: hidden; visibility: visible; pointer-events: all; }
/* Les éclats : des lames penchées qui se croisent, bordées de rose */
.pt-shards { position: absolute; inset: 0; }
.pt-shard { position: absolute; top: 0; height: 100%; overflow: hidden; background: linear-gradient(180deg, #0c080e, #070508 55%, #0b070c); transform: translate3d(0, -112%, 0) skewX(-14deg); will-change: transform; backface-visibility: hidden; }
.pt-shard:nth-child(even) { background: linear-gradient(180deg, #08060a, #0b080d 50%, #070508); }
.pt-shard::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 2px; background: linear-gradient(180deg, rgb(var(--pk) / .2), var(--pink) 25%, var(--pink-2) 50%, var(--pink) 75%, rgb(var(--pk) / .2)); }
.pt-shard::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 46px; background: linear-gradient(90deg, rgb(var(--pk) / .16), transparent); }
/* La bande-annonce */
.pt-stage { position: absolute; inset: 0; overflow: hidden; background: #070508; opacity: 0; }
.pt-calm { opacity: 1; }
.pt-film { position: absolute; inset: 0; }
.pt-shot, .pt-still-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.pt-b { opacity: 0; }
.pt-veil { position: absolute; inset: 0; background: radial-gradient(75% 65% at 50% 50%, rgb(7 5 8 / .35), rgb(7 5 8 / .88)), linear-gradient(0deg, rgb(var(--pk) / .2), transparent 45%); }
.pt-bars i { position: absolute; left: 0; right: 0; height: 11vh; background: #000; will-change: transform; }
.pt-bars i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--pk) / .7) 30%, rgb(var(--pk) / .7) 70%, transparent); }
.pt-bars i:first-child::after { bottom: 0; }
.pt-bars i:last-child::after { top: 0; }
.pt-bars i:first-child { top: 0; transform-origin: top; }
.pt-bars i:last-child { bottom: 0; transform-origin: bottom; }
.pt-flash { position: absolute; inset: 0; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, rgb(255 210 232 / .9), rgb(var(--pk) / .5) 45%, transparent 75%); }
.pt-text { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; text-align: center; }
.pt-k { position: absolute; left: 50%; bottom: calc(100% + 14px); translate: -50% 0; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--pink-2); font: 700 .95rem var(--t); white-space: nowrap; }
.pt-k img { width: 20px; height: auto; }
.pt-tw { position: relative; }
.pt-title { margin: 0; color: #fff; font: 700 clamp(3rem, 9vw, 7.5rem)/1 var(--d); white-space: nowrap; text-shadow: 0 0 24px rgb(var(--pk) / .3); }
.pt-glint { position: absolute; inset: 0; color: transparent; text-shadow: none; background: linear-gradient(100deg, transparent 42%, rgb(255 255 255 / .95) 48.5%, var(--pink-2) 51%, transparent 57%) 130% 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; pointer-events: none; }
.pt-l { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pt-l > span { display: inline-block; will-change: transform; }
.pt-calm::after { display: none; }
.pt-text { z-index: 3; }
.pt-line { display: block; width: 150px; height: 2px; margin: 10px auto 0; overflow: hidden; background: rgb(255 255 255 / .1); }
.pt-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink-d), var(--pink-2)); transform: scaleX(0); transform-origin: left; }
.pt-sub { margin: 0; color: var(--soft); font: 600 clamp(.95rem, 1.5vw, 1.15rem) var(--t); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }
html.pt-busy #air, html.pt-busy .bud, html.pt-busy .hero-shards, html.pt-busy .ck { visibility: hidden; }
html.pt-run .bud *, html.pt-run .ck { animation-play-state: paused !important; }
.pt-stage { contain: strict; }

/* L'arrivée : chaque lame porte sa tranche du dernier plan, redressée et alignée sur l'écran */
.pt-arrive .pt-shard { transform: translate3d(0, 0, 0) skewX(-14deg); background: #070508; }
.pt-slice { position: absolute; top: 0; transform: skewX(14deg); }
.pt-slice .pt-text { z-index: 1; }
.pt-arrive .pt-shard::before, .pt-arrive .pt-shard::after { opacity: 0; transition: opacity .35s ease-out; }
.pt-arrive.is-go .pt-shard::before, .pt-arrive.is-go .pt-shard::after { opacity: 1; }
.pt-stage.is-end::after { opacity: 0; transition: opacity .17s; }
.pt-under { position: absolute; left: 50%; top: calc(100% + 12px); translate: -50% 0; }
.pt-shard::before, .pt-shard::after { transition: opacity .24s ease-out; }
.pt.is-merge .pt-shard::before, .pt.is-merge .pt-shard::after { opacity: 0; }
html.pt-on::after { line-height: 1; }

/* Postuler : la dernière candidature, en une ligne qui mène à Mon espace */
.rc-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 26px; padding: 14px 18px; color: var(--soft); font-size: .9rem; text-decoration: none; background: rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .07); border-radius: 6px; transition: border-color .2s, background .2s; }
.rc-mine:hover { border-color: rgb(var(--pk) / .45); background: rgb(var(--pk) / .06); }
.rc-mine b { font-style: normal; }
.rc-mine-go { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--pink-2); font-weight: 700; }
.rc-mine-go .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.rc-mine:hover .arr { translate: 3px 0; }
.rc2 > .rc-mine { margin: 22px clamp(18px, 3vw, 34px) 22px; }
.rc2:has(> .rc-mine) { display: flow-root; }
