/* ==========================================================================
   Eternal Primal — style.css
   Feuille de style unique du site. Brutalisme sombre : noir, rouge sang, ambre.
   Sommaire : 1 polices & variables · 2 base · 3 composants (boutons, cadres, onglets)
   · 4 en-tête, menus, pied de page · 5 notifications & fenêtres · 6 accueil · 7 pages intérieures
   · 8 carte · 9 cinématique d'intro · 10 mobile
   ========================================================================== */

/* ------------------------------------------------------------ 1. polices & variables */
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("../fonts/cinzel-600.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 800; font-display: swap; src: url("../fonts/cinzel-800.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 400; font-display: swap; src: url("../fonts/rajdhani-400.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-500.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-600.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-700.woff2") format("woff2"); }

:root {
  --bg: #09090B; --bg2: #110C0E; --panel: #0E0A0C; --line: #34141a; --soft: rgba(255, 255, 255, .08);
  --red: #DC2626; --red-d: #991B1B; --amber: #F59E0B; --green: #22c55e;
  --text: #F4F4F5; --mute: #A1A1AA; --dim: #71717A;
  --display: "Bebas Neue", Impact, sans-serif; --serif: "Cinzel", Georgia, serif; --body: "Rajdhani", system-ui, sans-serif;
  --cut: 14px; --top: 64px;
}

/* ------------------------------------------------------------ 2. base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font: 500 16px/1.5 var(--body); color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.spin { animation: spin 1s linear infinite; }
.muted { color: var(--mute); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .035em; line-height: .92; }
.label { margin: 16px 0 8px; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.label.flat { display: block; margin: 0 0 8px; }
.zoom { animation: zoom 30s ease-in-out infinite alternate; will-change: transform; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .045; 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%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ping { position: relative; display: flex; width: 12px; height: 12px; flex: none; }
.ping i { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.ping i:first-child { opacity: .7; animation: ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.kicker { font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.notice { display: flex; align-items: center; gap: 8px; color: var(--mute); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.wide { max-width: 1680px; }
.page { display: block; min-height: 100vh; }
.page-enter { animation: enter .28s ease-out; }
/* Colonnes : .cols = 12 colonnes (.c7 + .c5), .cols.five = 5 colonnes (.c3 + .c2) */
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cols.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c3 { grid-column: span 3; } .c2 { grid-column: span 2; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes zoom { from { transform: scale(1.03); } to { transform: scale(1.15); } }
@keyframes wiggle { 0%, 25%, 100% { transform: rotate(0); } 5% { transform: rotate(-6deg); } 10% { transform: rotate(6deg); } 15% { transform: rotate(-4deg); } }

/* ------------------------------------------------------------ 3. composants */
/* Boutons : .btn + primary (rouge) | ghost (verre) | amber ; .lg = grand. Coins coupés et reflet au survol. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; overflow: hidden; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn.primary, .btn.ghost, .btn.amber { border: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn.primary::after, .btn.ghost::after, .btn.amber::after, .steam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s ease; }
.btn:hover::after, .steam:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: #ef4444; }
.btn.ghost { background: rgba(255, 255, 255, .07); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn.amber { background: var(--amber); color: var(--bg2); }
.btn.amber:hover { background: #fbbf24; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { opacity: .4; }
/* Petits boutons de la carte (outils, amis) */
.btn.sm { height: 28px; padding: 0 8px; gap: 6px; font-size: 10px; letter-spacing: .1em; }
.btn.dark { background: rgba(9, 9, 11, .85); border-color: rgba(255, 255, 255, .15); }
.btn.dark:hover { border-color: var(--red); background: rgba(220, 38, 38, .2); }
.btn.dark .ic { color: var(--red); }
.btn.dark.off .ic { color: var(--mute); }
.btn.line { border-color: rgba(220, 38, 38, .6); background: rgba(220, 38, 38, .1); }
.btn.line:hover { background: var(--red); }
.btn.ok { border-color: rgba(34, 197, 94, .6); background: rgba(34, 197, 94, .1); color: var(--green); }
.btn.ok:hover { background: var(--green); color: var(--bg); }
/* Bouton « Se connecter avec Steam » */
.steam { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 12px; overflow: hidden; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .15); background: linear-gradient(#2b2e35, #131519); transition: .2s; }
.steam > i { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); transition: width .2s; }
.steam .ic { width: 18px; height: 18px; color: var(--mute); transition: color .2s; }
.steam:hover { border-color: var(--red); background: linear-gradient(#3a1216, #160a0c); box-shadow: 0 0 24px rgba(220, 38, 38, .45); }
.steam:hover > i { width: 5px; }
.steam:hover .ic { color: #fff; }

/* Cadre à coins coupés : le fond du .panel dessine le filet (1 px), .pi porte le contenu */
.panel { --cut: 14px; padding: 1px; background: var(--line); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.panel.red { background: var(--red); }
.panel.full { height: 100%; }
.panel > .pi { position: relative; height: 100%; background: var(--panel); clip-path: inherit; }
.pi.pad { padding: 24px; }
.pi.glass { background: rgba(14, 10, 12, .85); }
.ptitle { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--soft); }
.ptitle > .ic { width: 16px; height: 16px; color: var(--red); }
.ptitle h2 { font: 400 24px/1 var(--display); letter-spacing: .035em; white-space: nowrap; }
.ptitle .right { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--dim); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-head.top { align-items: flex-start; margin-bottom: 16px; }
.card-head h3, .chest h3 { font-size: 30px; }
.card-sub { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.locked.left { display: grid; justify-items: start; gap: 12px; padding: 20px 16px; }
.locked.left p { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--mute); }
.locked.left p .ic { color: var(--dim); }
.input { width: 100%; padding: 0 12px; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); outline: none; }
.input:focus { border-color: var(--red); }
.input::placeholder { color: var(--dim); }

/* Titre de section et onglets */
.sect-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sect-head .kicker { margin-bottom: 8px; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.sect-head h2 { font-size: 60px; }
.sect-head .lead { margin-top: 8px; max-width: 576px; color: var(--mute); }
.sect-head .crown { width: 34px; height: 34px; color: var(--amber); }
.chips { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.chip { display: flex; align-items: center; flex: none; gap: 8px; height: 40px; padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: .15s; }
.chip .ic { width: 14px; height: 14px; }
.chip:hover { color: #fff; border-color: rgba(220, 38, 38, .6); }
.chip.active { color: #fff; background: var(--red); border-color: var(--red); }

/* ------------------------------------------------------------ 4. en-tête, menus, pied de page */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; background: linear-gradient(rgba(0, 0, 0, .85), transparent); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
body.scrolled .topbar, body:not(.page-accueil) .topbar { background: rgba(9, 9, 11, .97); border-bottom-color: var(--soft); }
.topbar-in { display: flex; align-items: center; gap: 12px; height: var(--top); max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.brand { flex: none; }
.brand img { height: 48px; width: auto; transition: transform .3s; }
.brand:hover img { transform: scale(1.05); }
.nav { display: flex; align-items: center; margin-left: 8px; }
.nav-group { position: relative; }
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; height: var(--top); padding: 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--mute); transition: color .15s; }
.nav-item .ic { width: 13px; height: 13px; transition: transform .2s; }
.nav-item:hover, .nav-item.active, .nav-group:has(.pop.open) .nav-item { color: #fff; }
.nav-group:has(.pop.open) .nav-item .ic, .langbtn:has(+ .pop.open) .ic:last-child { transform: rotate(180deg); }
.nav-item .mark { position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--red); box-shadow: 0 0 14px var(--red); }
.topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar-right > div { position: relative; display: flex; align-items: center; gap: 8px; }
/* Menus déroulants : .pop est caché, .pop.open est visible (EP.closePops les referme) */
.pop { display: none; }
.pop.open { display: block; animation: drop .16s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.nav-menu, .menu { position: absolute; z-index: 50; padding: 6px 0; background: var(--bg2); border: 1px solid rgba(255, 255, 255, .1); border-top: 2px solid var(--red); box-shadow: 0 25px 50px -12px #000; }
.nav-menu { left: 0; top: var(--top); min-width: 240px; }
.nav-menu.two.open { display: grid; grid-template-columns: repeat(2, 220px); }   /* longue catégorie : deux colonnes */
.menu { right: 0; top: 48px; width: 176px; }
.nav-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: .15s; }
.nav-sub .ic { width: 13px; height: 13px; color: var(--red); opacity: 0; transform: translateX(-4px); transition: .15s; }
.nav-sub:hover, .menu-item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-sub:hover .ic { opacity: 1; transform: none; }
.nav-sub.active, .menu-item.active { color: #fff; background: rgba(220, 38, 38, .15); }
.langbtn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); transition: .15s; }
.langbtn:hover { border-color: rgba(220, 38, 38, .7); }
.langbtn:has(+ .pop.open) { border-color: var(--red); background: rgba(220, 38, 38, .15); }
.langbtn .ic { width: 15px; height: 15px; color: var(--red); }
.langbtn .ic:last-child { width: 13px; height: 13px; color: var(--mute); transition: transform .2s; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-align: left; color: var(--mute); transition: .15s; }
.menu-item b { width: 24px; font-size: 11px; letter-spacing: .12em; color: var(--red); }
.menu-item span { flex: 1; }
.menu-item .ic { width: 14px; height: 14px; color: var(--red); }
/* Pièces et profil */
.coinframe { flex: none; padding: 1px; background: linear-gradient(135deg, var(--amber), var(--red-d), var(--amber)); box-shadow: 0 0 18px rgba(245, 158, 11, .22); }
.coinframe > div { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: var(--bg2); }
.coinframe .ic { width: 16px; height: 16px; color: var(--amber); }
.coinframe b { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--amber); }
.coinframe span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.coinframe.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.1); } }
.userbtn { display: flex; align-items: center; gap: 10px; transition: opacity .15s; }
.userbtn:hover { opacity: .85; }
.userbtn .who { display: none; text-align: left; line-height: 1.25; }
.userbtn .who b { display: block; font-size: 14px; }
.userbtn .who small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--green); }
.userbtn > .ic { width: 14px; height: 14px; color: var(--mute); }
.avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); font-size: calc(var(--s) * .36); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), #3a0d10); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.avatar i { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; background: var(--green); box-shadow: 0 0 0 2px var(--bg); }
.profile { position: absolute; right: 0; top: 48px; z-index: 50; width: 256px; padding: 16px; background: var(--bg2); border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 25px 50px -12px #000; }
.profile-head { display: flex; align-items: center; gap: 12px; }
.profile-head b { display: block; overflow: hidden; text-overflow: ellipsis; }
.profile-head small { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.profile-id { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .5); }
.profile-id code { overflow: hidden; text-overflow: ellipsis; font: 12px/1.4 ui-monospace, monospace; }
.profile-id button { display: flex; color: var(--mute); }
.profile-id button:hover { color: #fff; }
.profile-id .ic { width: 15px; height: 15px; }
.profile-out { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 36px; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); transition: .15s; }
.profile-out:hover { color: #fff; border-color: var(--red); }
.profile-out .ic { width: 14px; height: 14px; }
.footer { border-top: 1px solid rgba(255, 255, 255, .07); background: var(--bg2); }
.footer-in { display: flex; align-items: center; gap: 16px; max-width: 1280px; margin: 0 auto; padding: 32px 20px; }
.footer-in img { height: 56px; width: auto; opacity: .9; }
.footer-in span { flex: 1; font-size: 14px; color: var(--mute); }
.footer-in small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(161, 161, 170, .6); }
.tabbar { display: none; }

/* ------------------------------------------------------------ 5. notifications & fenêtres */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; max-width: 384px; padding: 12px 16px 12px 12px; font-size: 14px; font-weight: 600; background: var(--bg2); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--tone); box-shadow: 0 25px 50px -12px #000; animation: slide .25s ease-out; transition: opacity .3s, transform .3s; }
.toast .ic { width: 17px; height: 17px; color: var(--tone); }
.toast.ok { --tone: var(--green); } .toast.warn { --tone: var(--red); } .toast.coin { --tone: var(--amber); }
.toast.out { opacity: 0; transform: translateX(40px); }
@keyframes slide { from { opacity: 0; transform: translateX(40px); } }
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; overflow: hidden; background: rgba(0, 0, 0, .8); animation: fade .2s; }
.modal-sm { width: 100%; max-width: 384px; }
.connecting { padding: 28px; text-align: center; }
.connecting > .ic { width: 34px; height: 34px; color: var(--red); }
.connecting .display { margin-top: 16px; font-size: 30px; }
.connecting .muted { margin-top: 4px; font-size: 14px; }
.progress { height: 4px; margin-top: 20px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.progress i { display: block; height: 100%; background: var(--red); animation: grow 1.5s ease-in-out forwards; }
@keyframes grow { from { width: 0; } to { width: 100%; } }
.overlay.reward { background: rgba(0, 0, 0, .85); }
.reward-glow { position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .35), rgba(220, 38, 38, .18) 45%, transparent 70%); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.1); } }
.reward-box { position: relative; width: 100%; max-width: 448px; animation: pop .45s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes pop { from { opacity: 0; transform: scale(.8) translateY(30px); } }
.reward-in { padding: 32px 24px 28px; text-align: center; }
.reward-x { position: absolute; right: 16px; top: 12px; color: var(--mute); }
.reward-x:hover { color: #fff; }
.reward-kicker { font-size: 12px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--red); }
.reward-in h3 { margin-top: 8px; font-size: 48px; }
.reward-who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; font-size: 18px; }
.reward-sum { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; }
.reward-coin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--bg2); background: linear-gradient(135deg, #fbbf24, #b45309); box-shadow: 0 0 34px rgba(245, 158, 11, .7); animation: flip 2.2s ease-out; }
@keyframes flip { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.reward-coin .ic { width: 28px; height: 28px; }
.reward-sum .display { font-size: 96px; font-variant-numeric: tabular-nums; color: var(--amber); filter: drop-shadow(0 0 22px rgba(245, 158, 11, .55)); }
.reward-unit { font-size: 14px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); }
.reward-sub { max-width: 320px; margin: 12px auto 24px; font-size: 14px; color: var(--mute); }

/* ------------------------------------------------------------ 6. accueil */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 -144px 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 50%, rgba(0, 0, 0, .5)), linear-gradient(to right, var(--bg), rgba(9, 9, 11, .75) 50%, transparent); }
.hero-in { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: center; width: 100%; max-width: 1280px; margin: 0 auto; padding: 112px 20px 40px; }
.hero-text { max-width: 672px; }
.rise { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-kicker { animation-delay: .15s; } .hero h1 span:nth-child(1) { animation-delay: .26s; } .hero h1 span:nth-child(2) { animation-delay: .37s; } .hero h1 span:nth-child(3) { animation-delay: .48s; } .hero-sub { animation-delay: .59s; } .hero-cta { animation-delay: .7s; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 16px 6px 12px; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .26em; text-transform: uppercase; background: rgba(0, 0, 0, .5); border-left: 3px solid var(--red); }
.hero-kicker .ic { width: 13px; height: 13px; color: var(--amber); }
.hero h1 { font-size: 136px; }
.hero h1 span { display: block; }
.hero h1 .red { color: var(--red); filter: drop-shadow(0 0 34px rgba(220, 38, 38, .55)); }
.hero-sub { max-width: 512px; margin-top: 20px; font-size: 18px; line-height: 1.375; color: #D4D4D8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .ic { width: 16px; height: 16px; }
.hero-status { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px 24px; }
.status { display: grid; grid-template-columns: auto repeat(4, 1fr); }
.st { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-right: 1px solid rgba(255, 255, 255, .07); }
.st:last-child { border-right: 0; }
.st > .ic { width: 18px; height: 18px; color: var(--red); }
.st small { display: block; font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.st b { display: block; font-size: 18px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.st.on b { font-size: 24px; line-height: 32px; color: var(--green); text-transform: uppercase; }
.status-bar { height: 3px; background: rgba(255, 255, 255, .05); }
.status-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red-d), var(--red)); transition: width 1s; }
.home { display: grid; gap: 16px; max-width: 1280px; margin: 0 auto; padding: 24px 20px 64px; }
/* État de l'île */
.livetag { display: flex; align-items: center; gap: 8px; padding: 4px 10px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(220, 38, 38, .5); background: rgba(220, 38, 38, .1); }
.livetag i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.6s ease-in-out infinite; }
.radar-grid { display: grid; grid-template-columns: minmax(0, 210px) 1fr; gap: 20px; }
.radar { position: relative; width: 100%; max-width: 210px; aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 50%; border: 1px solid rgba(220, 38, 38, .4); background: radial-gradient(circle, #1c0d10, var(--bg) 75%); }
.radar .ring { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); border-radius: 50%; border: 1px solid rgba(220, 38, 38, .2); transform: translate(-50%, -50%); }
.radar .axis { position: absolute; background: rgba(220, 38, 38, .15); }
.radar .axis.v { left: 50%; top: 0; width: 1px; height: 100%; } .radar .axis.h { left: 0; top: 50%; width: 100%; height: 1px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(220, 38, 38, .55), rgba(220, 38, 38, 0) 28%); animation: spin 5s linear infinite; }
.blip { position: absolute; transform: translate(-50%, -50%); }
.blip i { position: absolute; inset: -6px; border-radius: 50%; background: var(--c); opacity: .7; animation: ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.blip b { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.radar small { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--mute); }
.radar-info { min-width: 0; }
.rstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rstat { --tone: var(--text); padding: 10px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.rstat .ic { display: block; width: 16px; height: 16px; color: var(--tone); }
.rstat small { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 700; line-height: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rstat b { display: block; font-size: 15px; line-height: 1.25; font-variant-numeric: tabular-nums; color: var(--tone); }
.mig { display: grid; gap: 6px; }
.mig li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 12px; border-left: 2px solid var(--c); background: rgba(255, 255, 255, .035); }
.mig div { min-width: 0; }
.mig p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.mig p .ic { width: 13px; height: 13px; color: var(--red); }
.mig small { display: block; font-size: 12px; line-height: 16px; color: var(--mute); }
.danger { display: flex; align-items: center; flex: none; gap: 4px; padding: 4px 8px; font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.danger .ic { width: 11px; height: 11px; }
/* Stockage de dinos */
.garage { display: flex; flex-direction: column; }
.counter { padding: 4px 8px; font-size: 12px; font-weight: 700; line-height: 16px; font-variant-numeric: tabular-nums; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); }
.slots-wrap { position: relative; flex: 1; }
.slots { display: grid; gap: 8px; }
.slots.veiled { opacity: .4; filter: blur(3px); pointer-events: none; user-select: none; }
.slots li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.slot-n { display: grid; place-items: center; flex: none; width: 40px; height: 40px; font-size: 20px; color: var(--mute); background: rgba(255, 255, 255, .06); }
.slot-main { flex: 1; min-width: 0; }
.slot-main p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.slot-main p b { font-variant-numeric: tabular-nums; color: var(--mute); }
.slot-main .bar { height: 4px; margin: 6px 0; background: rgba(255, 255, 255, .1); }
.slot-main .bar i { display: block; height: 100%; background: var(--red-d); }
.slot-main small { display: block; font-size: 11px; font-weight: 600; line-height: 16.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.slot-main.full p b, .slot-main.full .bar i { color: var(--amber); background-color: var(--amber); }
.slot-main.full p b { background: none; }
.slot-main.full small { color: var(--green); }
.slot-empty { flex: 1; font-size: 14px; font-weight: 600; color: rgba(161, 161, 170, .7); }
.deploy { flex: none; height: 36px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(220, 38, 38, .6); transition: .15s; }
.deploy:hover:not(:disabled) { background: var(--red); }
.deploy:disabled { color: rgba(161, 161, 170, .5); border-color: rgba(255, 255, 255, .1); }
.slots-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 12px; text-align: center; }
.slots-lock > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(220, 38, 38, .5); background: var(--bg2); }
.slots-lock > span .ic { width: 20px; height: 20px; color: var(--red); }
.slots-lock p { max-width: 280px; font-size: 15px; font-weight: 600; line-height: 1.375; }
.slot-more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border: 1px dashed rgba(255, 255, 255, .15); transition: .15s; }
.slot-more:hover { color: var(--amber); border-color: var(--amber); }
.slot-more .ic { width: 14px; height: 14px; }
/* Coffre quotidien */
.chest { display: flex; align-items: center; gap: 16px; }
.chest > div { flex: 1; min-width: 0; }
.chest p { font-size: 14px; color: var(--mute); }
.chest-ic { display: grid; place-items: center; flex: none; width: 56px; height: 56px; color: var(--amber); background: rgba(245, 158, 11, .12); box-shadow: 0 0 0 1px rgba(245, 158, 11, .4); }
.chest-ic .ic { width: 26px; height: 26px; }
.chest-ic.wiggle { animation: wiggle 3.2s infinite; }
.chest .btn .ic { width: 16px; height: 16px; }
/* Accès rapide */
.quick { padding-top: 32px; }
.qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qcard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.qcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease-out; }
.qcard:hover img { transform: scale(1.1); }
.qshade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(9, 9, 11, .55) 50%, transparent); transition: opacity .3s; }
.qcard:hover .qshade { opacity: .8; }
.qline { position: absolute; inset: auto 0 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.qcard:hover .qline { transform: scaleX(1); }
.qbody { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.qbody > .ic { width: 20px; height: 20px; margin-bottom: 8px; color: var(--red); }
.qbody b { display: flex; align-items: center; gap: 8px; font-size: 36px; color: #fff; }
.qbody b .ic { width: 18px; height: 18px; opacity: 0; transform: translateX(-8px); transition: .3s; }
.qcard:hover .qbody b .ic { opacity: 1; transform: none; }
.qbody small { margin-top: 4px; font-size: 13px; line-height: 1.375; color: #D4D4D8; }

/* ------------------------------------------------------------ 7. pages intérieures */
.shell { position: relative; }
.shell-bg { position: absolute; inset: 0 0 auto 0; height: 360px; overflow: hidden; }
.shell-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.shell-bg i { position: absolute; inset: 0; background: linear-gradient(rgba(9, 9, 11, .4), rgba(9, 9, 11, .8) 50%, var(--bg)); }
.shell-in { position: relative; max-width: 1280px; margin: 0 auto; padding: 112px 20px 64px; }
.narrow { max-width: 672px; }
/* Page en préparation */
.soon { display: flex; align-items: center; gap: 16px; }
.soon > span { display: grid; place-items: center; flex: none; width: 56px; height: 56px; color: var(--red); border: 1px solid rgba(220, 38, 38, .5); background: rgba(220, 38, 38, .1); }
.soon > span .ic { width: 26px; height: 26px; }
.soon h3 { font-size: 30px; }
.soon p { font-size: 14px; color: var(--mute); }
/* Étiquettes, barres, champs (pages Dinosaure et Mutation) — la couleur d'une étiquette se règle avec --c */
.tag { --c: var(--mute); display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.tag .ic { width: 11px; height: 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ribbon.amber { color: var(--bg2); background: var(--amber); }
.stat p { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; line-height: 18px; color: var(--mute); }
.stat b { font-variant-numeric: tabular-nums; color: var(--text); }
.bar { height: 4px; background: rgba(255, 255, 255, .1); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red-d), var(--red)); }
.bar.amber i { background: var(--amber); } .bar.white i { background: #D4D4D8; } .bar.green i { background: var(--green); }
.stack { display: grid; gap: 16px; align-content: start; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 16px; }
.search { position: relative; display: block; width: 280px; max-width: 100%; margin-bottom: 24px; }
.search .ic { position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.search .input { height: 40px; padding-left: 36px; }
.select { width: 100%; height: 40px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--text); background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .12); outline: none; cursor: pointer; }
.select:focus { border-color: var(--red); }
.select option { color: var(--text); background: var(--bg2); }
.toggle { display: flex; align-items: center; gap: 10px; height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle i { position: relative; flex: none; width: 40px; height: 22px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .5); transition: .15s; }
.toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; background: var(--mute); transition: .15s; }
.toggle input:checked + i { border-color: var(--amber); background: rgba(245, 158, 11, .15); }
.toggle input:checked + i::after { left: 21px; background: var(--amber); }
.toggle input:focus-visible + i { outline: 2px solid var(--amber); outline-offset: 2px; }
.empty { display: flex; align-items: center; gap: 10px; padding: 32px 0; color: var(--mute); }
.section { display: flex; align-items: center; gap: 10px; margin: 40px 0 6px; font-size: 36px; }
.section .ic { width: 22px; height: 22px; color: var(--amber); }
.section-sub { max-width: 720px; margin-bottom: 20px; font-size: 15px; color: var(--mute); }
.block-title { margin-bottom: 14px; font-size: 30px; }
.text { color: #D4D4D8; }
.flip { transform: scaleX(-1); }
/* Dinosaure : liste */
.dino-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dino-grid + .section { margin-bottom: 16px; }
.dino-in { display: flex; flex-direction: column; }
.dino-thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: radial-gradient(ellipse 70% 55% at 50% 88%, rgba(220, 38, 38, .5), rgba(153, 27, 27, .16) 55%, transparent 75%), linear-gradient(#150a0c, #0b0708); }
.dino-thumb::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--panel), transparent); }
.dino-thumb img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease-out; }
.dino-card:hover .dino-thumb img { transform: scale(1.07); }
.dino-thumb .ribbon { z-index: 1; }
.dino-body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.dino-body h3 { display: flex; align-items: center; justify-content: space-between; font-size: 28px; }
.dino-body h3 .ic { width: 16px; height: 16px; color: var(--red); opacity: 0; transform: translateX(-6px); transition: .2s; }
.dino-card:hover h3 .ic { opacity: 1; transform: none; }
.dino-card .panel { transition: background .2s; }
.dino-card:hover .panel { background: var(--red); }
.dino-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dino-meta small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--dim); }
.dino-soon { font-size: 13px; color: var(--mute); }
/* Dinosaure : fiche et visionneuse 3D */
.dino-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.dino-nav .btn { height: 40px; padding: 0 14px; font-size: 12px; }
/* Les deux colonnes finissent sur la même ligne : la visionneuse s'étire pour rattraper la colonne de droite */
.dino-cols .c7 { grid-template-rows: 1fr; grid-auto-rows: auto; }
.dino-cols .c5:has(> :only-child) { grid-template-rows: 1fr; }   /* espèce à venir : un seul cadre à droite, étiré */
.dino-view > .pi { display: flex; flex-direction: column; }
.dino-stage { flex: 1; min-height: 460px; }
.viewer3d { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 42% at 50% 86%, rgba(220, 38, 38, .55), rgba(153, 27, 27, .2) 52%, transparent 76%), radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, .12), transparent 60%), linear-gradient(#170a0d, #09090B); }
.viewer3d::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px); pointer-events: none; }
.viewer3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer3d canvas:active { cursor: grabbing; }
.viewer3d-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.viewer3d-msg .ic { width: 18px; height: 18px; color: var(--red); }
.dino-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--soft); }
.patterns { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.patterns small { margin-right: 4px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.patterns .pick { width: 32px; height: 28px; padding: 0; }
.abilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.abilities li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.abilities span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; color: var(--red); border: 1px solid rgba(220, 38, 38, .5); background: rgba(220, 38, 38, .1); }
.abilities b { font-size: 14px; line-height: 1.3; }
/* Statistiques : interrupteur Adulte / Elder Prime, une tuile par stat, jauge à crans */
.switch { display: flex; flex: none; border: 1px solid rgba(255, 255, 255, .12); }
.switch button { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: .15s; }
.switch button .ic { width: 13px; height: 13px; }
.switch button:hover { color: #fff; }
.switch button.active { color: #fff; background: var(--red); }
.switch button.gold.active { color: var(--bg2); background: var(--amber); }
.stiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stile { padding: 12px 14px 14px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.stile p { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.stile p .ic { width: 15px; height: 15px; color: var(--red); }
.stile em, .sweight em { margin-left: auto; padding: 1px 6px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--bg2); background: var(--amber); }
.stile b { display: block; margin: 8px 0 10px; font-size: 46px; line-height: .9; white-space: nowrap; }
.stile b u { margin-left: 6px; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--mute); }
.stile.none b { color: var(--dim); }
.stile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.switch button:disabled { opacity: .35; }
.sfood { margin-top: 10px; padding: 10px 14px 12px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.sfood span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sfood p { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.sfood i { padding: 2px 8px; font-style: normal; font-size: 12px; font-weight: 600; color: #D4D4D8; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.snote { display: grid; gap: 2px; margin-top: 10px; font-size: 11px; color: var(--dim); }
.snote b { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.snote b .ic { width: 13px; height: 13px; }
.stile.up b, .sweight.up b { color: var(--amber); }
.gauge { display: grid; grid-template-columns: repeat(20, 1fr); gap: 2px; }
.gauge i { height: 10px; background: rgba(255, 255, 255, .08); transform: skewX(-18deg); }
.gauge i.on { background: var(--red); }
.gauge i.gain { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, .6); }
.sweight { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.sweight span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sweight b { margin-left: auto; font-size: 26px; line-height: 1; }
.sweight em { margin-left: 0; }
.stats { display: grid; gap: 12px; }
.stats .stat p { font-size: 14px; line-height: 22px; }
.stats .bar { height: 6px; }
.advised { display: grid; gap: 8px; margin-bottom: 14px; }
.advised li { padding: 10px 12px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, .035); }
.advised b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 15px; }
.advised i, .mcard h4 i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--amber); }
.advised p { font-size: 13px; color: var(--mute); }
.pi.stack { gap: 8px; }
.pi.stack .block-title { margin-bottom: 6px; }
/* Mutation : build */
.pad { padding: 24px; }
.mform { display: grid; grid-template-columns: minmax(0, 360px) auto; align-items: end; gap: 16px 24px; }
.styles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.style { display: grid; gap: 2px; padding: 12px; text-align: left; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: .15s; }
.style .ic { width: 18px; height: 18px; margin-bottom: 4px; color: var(--mute); }
.style b { font: 400 22px/1 var(--display); letter-spacing: .035em; }
.style small { font-size: 12px; line-height: 1.3; color: var(--mute); }
.style:hover { border-color: rgba(220, 38, 38, .6); }
.style.active { border-color: var(--red); background: rgba(220, 38, 38, .15); }
.style.active .ic { color: var(--red); }
.mslots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.mslots.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mslot { display: grid; gap: 10px; align-content: start; padding: 14px; border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .4); }
.mslot.ok { border-top-color: var(--green); } .mslot.bad { border-top-color: var(--red); } .mslot.elder { border-color: rgba(245, 158, 11, .5); border-top-color: var(--amber); }
.mslot-head { display: flex; align-items: center; gap: 10px; }
.mslot-head span { display: grid; place-items: center; width: 30px; height: 30px; font-size: 20px; background: rgba(255, 255, 255, .08); }
.mslot-head b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.mslot-head small { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.mslot-head small .ic { width: 12px; height: 12px; }
.mslot-desc { font-size: 14px; line-height: 1.4; color: #D4D4D8; }
.mslot-desc.dim { color: var(--dim); }
.verdict { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--mute); background: rgba(255, 255, 255, .03); }
.verdict.ok { border-left-color: var(--green); } .verdict.bad { border-left-color: var(--red); }
.verdict-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.verdict-head b { display: flex; align-items: center; gap: 8px; font: 400 24px/1 var(--display); letter-spacing: .035em; }
.verdict.ok b { color: var(--green); } .verdict.bad b { color: var(--red); }
.verdict-head span { display: flex; gap: 8px; }
.verdict .btn { height: 36px; padding: 0 14px; font-size: 12px; }
.verdict .btn .ic { width: 14px; height: 14px; }
.verdict ul { display: grid; gap: 2px; margin-top: 10px; font-size: 14px; color: var(--mute); }
.verdict li::before { content: "· "; }
.verdict ul.bad { color: #fca5a5; }
/* Mutation : toutes les mutations */
.mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mcard { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--panel); }
.mcard.off { opacity: .5; }
.mcard header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.mcard h4 { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 400 24px/1 var(--display); letter-spacing: .035em; }
.mcard > p { font-size: 15px; line-height: 1.4; color: #D4D4D8; }
.mcard footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 12px; }
.mcard footer small { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.mcard footer span { display: flex; align-items: center; gap: 6px; color: var(--amber); }
.mcard footer .ic { width: 13px; height: 13px; }
/* Règlement */
.rules { display: grid; gap: 8px; max-width: 768px; }
.rule button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; text-align: left; }
.rule button span { flex: none; width: 40px; font-size: 36px; color: rgba(255, 255, 255, .2); transition: color .15s; }
.rule.open button span { color: var(--red); }
.rule button b { flex: 1; font-size: 18px; line-height: 28px; }
.rule button .ic { width: 18px; height: 18px; color: var(--mute); transition: transform .3s; }
.rule.open button .ic { transform: rotate(180deg); }
.rule-text { display: none; }
.rule.open .rule-text { display: block; animation: fade .25s; }
.rule-text p { padding: 0 20px 16px 72px; color: var(--mute); }
.rules-soon { display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(161, 161, 170, .7); }
.rules-soon .ic { width: 14px; height: 14px; }
/* Le serveur */
.address { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.address code { font-size: 36px; word-break: break-all; }
.address .ic { width: 15px; height: 15px; }
.how { margin: 32px 0 12px; font-size: 30px; }
.steps { display: grid; gap: 8px; }
.steps li { display: flex; align-items: flex-start; gap: 16px; padding: 14px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); }
.steps span { flex: none; width: 36px; font-size: 36px; line-height: 1; color: var(--red); }
.steps p { padding-top: 2px; color: #D4D4D8; }
.online { display: flex; align-items: center; gap: 10px; }
.online b { font-size: 30px; color: var(--green); text-transform: uppercase; }
.specs { margin-top: 16px; }
.specs div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.specs div:last-child { border-bottom: 0; }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.specs dd { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Cartes à image : événements et boutique */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-in { display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease-out; }
.card:hover .card-img img { transform: scale(1.1); }
.card-img .deep { position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), transparent); }
.card-img .deep.via { background: linear-gradient(to top, var(--panel), transparent 50%); }
.card-img > .ic { position: absolute; left: 16px; bottom: 12px; width: 22px; height: 22px; color: var(--red); }
.stripes { display: grid; place-items: center; height: 100%; background: repeating-linear-gradient(135deg, #150d0f 0 14px, var(--bg2) 14px 28px); }
.stripes span { font-size: 96px; color: var(--amber); filter: drop-shadow(0 0 24px rgba(245, 158, 11, .4)); }
.ribbon { position: absolute; left: 0; top: 12px; padding: 4px 10px; font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--red); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.card-body h3 { font-size: 30px; }
.card-body > p { flex: 1; margin-top: 4px; font-size: 14px; color: var(--mute); }
.event-time { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.event-time small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.event-time b { font-size: 18px; font-variant-numeric: tabular-nums; }
.event-time b.amber { color: var(--amber); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.price { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--amber); }
.price .ic { width: 17px; height: 17px; }
.owned { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.owned .ic { width: 15px; height: 15px; }
.balance { text-align: right; }
.balance small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.balance p { display: flex; align-items: center; gap: 8px; font-size: 36px; color: var(--amber); }
.balance .ic { width: 22px; height: 22px; }
/* Évènement : prochain évènement en grand, compte à rebours, fiches et inscription */
.event-hero { margin-bottom: 24px; }
.event-hero > .pi { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.eh-img { position: relative; min-height: 420px; overflow: hidden; }
.eh-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eh-img i { position: absolute; inset: 0; background: linear-gradient(to right, transparent 45%, var(--panel)), linear-gradient(to top, rgba(14, 10, 12, .7), transparent 45%); }
.eh-body { display: flex; flex-direction: column; justify-content: center; padding: 32px 32px 32px 8px; }
.eh-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); }
.eh-kicker .tag { letter-spacing: .12em; }
.eh-body h3 { margin: 12px 0 8px; font-size: 64px; }
.eh-text { color: #D4D4D8; }
.eh-meta, .event-meta { display: grid; gap: 6px; margin: 16px 0 20px; font-size: 15px; font-weight: 600; }
.eh-meta li, .event-meta li { display: flex; align-items: center; gap: 10px; }
.eh-meta .ic, .event-meta .ic { width: 16px; height: 16px; color: var(--red); }
.eh-meta .amber, .eh-meta .amber .ic, b.amber { color: var(--amber); }
.eh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.livetag.inline { display: inline-flex; margin-right: 10px; vertical-align: middle; }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.clock span { padding: 12px 8px 10px; text-align: center; border: 1px solid rgba(255, 255, 255, .1); border-bottom: 3px solid var(--red); background: rgba(0, 0, 0, .45); }
.clock b { display: block; font-size: 48px; font-variant-numeric: tabular-nums; }
.clock small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.event-filters .chips { margin-bottom: 10px; }
.event-filters { margin-bottom: 14px; }
.event-card.past { opacity: .62; }
.event-card h3 a:hover { color: var(--red); }
.event-card .card-body > .tags { margin-bottom: 8px; }
.event-card .card-body > p { flex: none; }
.event-meta { margin: 12px 0; font-size: 13px; color: #D4D4D8; }
.event-meta .ic { width: 14px; height: 14px; }
.ribbon.live { display: flex; align-items: center; gap: 6px; }
.ribbon.live i { position: static; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.ribbon.grey { color: #D4D4D8; background: #3f3f46; }
.seats { margin-top: auto; }
.seats p { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.seats b { font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--text); }
.seats .bar { margin-top: 4px; }
.event-time b.red { color: var(--red); }
.event-time .price { font-size: 18px; }
.event-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.btn.joined span:last-child, .btn.joined:hover span:first-of-type, .btn.joined:hover .ic { display: none; }
.btn.joined:hover span:last-child { display: inline; }
.btn.joined { color: var(--green); }
.btn.joined:hover { color: #fff; background: rgba(220, 38, 38, .35); }
.card-img.wide { aspect-ratio: 16 / 7; }
.event-info { margin: 20px 0 16px; }
.event-info div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.event-info dt { display: flex; align-items: center; gap: 8px; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.event-info dt .ic { width: 14px; height: 14px; color: var(--red); }
.event-info dd { font-size: 15px; font-weight: 700; text-align: right; }
.event-left { margin-top: 8px; font-size: 13px; color: var(--mute); }
.event-join { margin-top: 18px; }
.event-join .btn { display: flex; width: 100%; }
.event-over { font-size: 40px; color: var(--dim); }
.event-cols .c5 { grid-template-rows: 1fr; }   /* le cadre de droite descend jusqu'au bas de la colonne de gauche */
/* Top Server : vote, mes votes, podium et classement des votants */
.vote-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.vote-top h3 { font-size: 40px; }
.vote-top p { max-width: 460px; margin-top: 8px; color: #D4D4D8; }
.vote-gain { flex: none; padding: 10px 16px; text-align: center; border: 1px solid var(--amber); background: rgba(245, 158, 11, .08); }
.vote-gain b { display: flex; align-items: center; gap: 8px; font-size: 44px; color: var(--amber); }
.vote-gain b .ic { width: 22px; height: 22px; }
.vote-gain small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.vote-state { margin: 22px 0 18px; }
.vote-ready { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font: 400 28px/1 var(--display); letter-spacing: .035em; color: var(--green); border: 1px solid rgba(34, 197, 94, .4); border-left: 3px solid var(--green); background: rgba(34, 197, 94, .08); }
.vote-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vote-note { margin-top: 12px; font-size: 13px; color: var(--mute); }
.vote-how { margin-top: 16px; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.four li { flex-direction: column; gap: 8px; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.podium .pi { display: grid; gap: 4px; padding: 20px 22px; }
.podium .pod-n { font-size: 64px; color: var(--c); }
.podium .who { font-size: 20px; font-weight: 700; }
.podium .n { font-size: 14px; color: var(--mute); }
.podium .n b { font-size: 18px; color: var(--text); }
.podium .gain { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--soft); }
.podium .gain b { margin-left: auto; font-size: 18px; letter-spacing: 0; color: var(--amber); }
.podium .gain .ic { width: 15px; height: 15px; color: var(--amber); }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin: 40px 0 16px; }
.board-head h3 { font-size: 36px; }
.board-head p { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.board-head p b { margin-left: 8px; font-size: 16px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--amber); }
.board.votes td:nth-child(3) { color: var(--text); font-weight: 700; }
.board.votes td:last-child { color: var(--amber); }
/* Pagination des classements : boutons rouges 1 / 2 / 3… (EP.ui.paginate) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.pager button { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; border: 1px solid rgba(220, 38, 38, .6); background: rgba(220, 38, 38, .12); transition: .15s; }
.pager button:hover:not(:disabled) { background: rgba(220, 38, 38, .4); }
.pager button.active { border-color: var(--red); background: var(--red); box-shadow: 0 0 14px rgba(220, 38, 38, .5); }
.pager button:disabled { opacity: .3; }
.pager button .ic { width: 14px; height: 14px; }
.pager i { padding: 0 4px; font-style: normal; color: var(--dim); }
/* Profil : bannière, chiffres clés, dinos joués, parking, événements, votes, succès */
.pf-head > .pi { display: flex; flex-direction: column; }
.pf-banner { position: relative; height: 220px; overflow: hidden; }
.pf-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pf-banner i { position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), rgba(14, 10, 12, .2) 60%); }
.pf-banner button { position: absolute; right: 14px; top: 14px; }
.pf-id { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin-top: -46px; padding: 0 24px 22px; position: relative; }
.pf-id .avatar { box-shadow: 0 0 0 3px var(--panel), 0 0 0 4px var(--red); }
.pf-name { flex: 1; min-width: 220px; }
.pf-name h3 { font-size: 44px; }
.pf-name p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; font-size: 13px; color: var(--mute); }
.pf-name code { font: 12px/1 ui-monospace, monospace; color: #D4D4D8; }
.pf-level { width: 300px; max-width: 100%; }
.pf-level p { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.pf-level b { font: 400 30px/1 var(--display); letter-spacing: .035em; color: var(--amber); }
.pf-level small { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mute); }
.pf-level .bar { height: 8px; }
.pf-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.pf-tiles .stile b { font-size: 38px; margin-bottom: 0; }
.pf-tiles .stile.gold b { color: var(--amber); }
.pf-cols > div { grid-template-rows: auto 1fr; }   /* le dernier cadre de chaque colonne s'étire : les deux colonnes finissent ensemble */
.pf-sub { margin: -8px 0 14px; font-size: 13px; color: var(--mute); }
.pf-species { display: grid; gap: 10px; }
.pf-species a { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .4); transition: border-color .15s; }
.pf-species a:hover { border-color: var(--red); }
.pf-species img { flex: none; width: 110px; height: 74px; object-fit: contain; background: radial-gradient(ellipse 70% 55% at 50% 90%, rgba(220, 38, 38, .45), transparent 75%); }
.pf-species div { flex: 1; min-width: 0; }
.pf-species b { display: flex; align-items: baseline; justify-content: space-between; font: 400 26px/1 var(--display); letter-spacing: .035em; }
.pf-species b span { font: 700 14px/1 var(--body); letter-spacing: 0; color: var(--amber); }
.pf-species .bar { margin-top: 8px; }
.pf-species .ic { width: 16px; height: 16px; color: var(--dim); }
.pf-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pf-badge { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07); border-left: 2px solid var(--c); background: rgba(0, 0, 0, .4); }
.pf-badge b { display: block; font-size: 14px; line-height: 1.2; }
.pf-badge small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
/* ---------- Cartes d'objets en 3D (Achat Objet, Inventaire) ----------
   .icard pose la perspective ; .icard-in tourne (--rx, --ry posés par le script) ; chaque plan a sa profondeur (translateZ) :
   plaque 0 · pourcentage 22 · bandeau 30 · pied 38 · dinosaure 70. --c = couleur de la rareté, --mx / --my = position du curseur. */
.irow { display: flex; align-items: center; gap: 12px; margin: 44px 0 20px; font-size: 34px; }
.irow span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--red); border: 1px solid rgba(220, 38, 38, .5); background: rgba(220, 38, 38, .1); }
.irow .ic { width: 18px; height: 18px; }
.irow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(220, 38, 38, .5), transparent); }
.igap { margin-top: 34px; }
.icards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.icard { --c: #A1A1AA; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; --cut: 18px; position: relative; display: block; width: 100%; aspect-ratio: 5 / 7; perspective: 900px; text-align: left; color: #fff; }
.icard::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -14px; height: 26px; background: var(--c); filter: blur(22px); opacity: .22; transition: opacity .3s; }
.icard:hover::after, .icard.sel::after { opacity: .6; }
.icard-in { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.icard.move .icard-in { transition: transform .09s linear; }
.icard:hover .icard-in { transform: translateZ(18px) rotateX(var(--rx)) rotateY(var(--ry)); }
.icard-in > * { position: absolute; }
.icard-plate { inset: 0; overflow: hidden; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 25%, #1a0c0f) 38%, #34141a 62%, var(--c)); }
.icard-plate::before { content: ""; position: absolute; inset: 1.5px; clip-path: inherit; background: radial-gradient(ellipse 85% 46% at 50% 66%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%), radial-gradient(ellipse 120% 60% at 50% 0%, rgba(220, 38, 38, .2), transparent 70%), linear-gradient(#150a0d, #09090B 70%); }
.icard-plate > i { position: absolute; inset: 0; }
.icard-grid { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 5px); -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%); }
.icard-ring { inset: auto 6% 21% 6% !important; height: 20%; border-radius: 50%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 50%, transparent), transparent 68%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 0 9px rgba(9, 9, 11, .0), 0 0 0 10px rgba(9, 9, 11, 0), 0 0 0 11px color-mix(in srgb, var(--c) 22%, transparent); }
.icard-holo { opacity: 0; background: linear-gradient(115deg, transparent 22%, rgba(255, 60, 60, .5) 36%, rgba(255, 190, 70, .5) 44%, rgba(120, 220, 255, .45) 52%, rgba(190, 110, 255, .5) 60%, transparent 76%); background-size: 260% 260%; background-position: var(--mx) var(--my); mix-blend-mode: color-dodge; transition: opacity .3s; }
.icard-glare { opacity: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 34%, transparent 58%); mix-blend-mode: screen; transition: opacity .3s; }
.icard:hover .icard-glare { opacity: 1; }
.icard:hover .icard-holo { opacity: .18; }
.icard.t-legendaire:hover .icard-holo { opacity: .5; } .icard.t-mythique .icard-holo { opacity: .35; } .icard.t-mythique:hover .icard-holo { opacity: .75; }
.icard-pct { left: 9%; top: 15%; font-size: clamp(54px, 7.4vw, 104px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 80%, #fff); text-shadow: 0 0 34px color-mix(in srgb, var(--c) 55%, transparent); transform: translateZ(22px); }
.icard-pct small { font-size: .42em; margin-left: 3px; -webkit-text-stroke-width: 1px; }
.icard-pct .ic { width: .8em; height: .8em; color: color-mix(in srgb, var(--c) 80%, #fff); stroke-width: 1.2; filter: drop-shadow(0 0 16px var(--c)); }
.icard-dino { left: -9%; bottom: 24%; width: 118%; max-width: none; pointer-events: none; filter: drop-shadow(0 18px 12px rgba(0, 0, 0, .75)) drop-shadow(0 0 22px color-mix(in srgb, var(--c) 28%, transparent)); transform: translateZ(70px) scale(.9); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.icard:hover .icard-dino { transform: translateZ(70px) scale(.98); }
.icard-top { left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0 26px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transform: translateZ(30px); }
.icard-top span { display: flex; align-items: center; gap: 6px; color: #E4E4E7; } .icard-top .ic { width: 14px; height: 14px; color: var(--c); }
.icard-top em { font-style: normal; color: var(--c); }
.icard-qty { right: -8px; top: 12%; padding: 5px 10px 3px; font-size: 26px; color: #09090B; background: var(--amber); box-shadow: 0 6px 16px rgba(0, 0, 0, .6); transform: translateZ(84px); }
.icard-foot { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; padding: 0 22px 16px 16px; transform: translateZ(38px); }
.icard-foot b { grid-column: 1 / -1; font-size: clamp(22px, 2.3vw, 31px); line-height: 1; }
.icard-foot small { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #A1A1AA; }
.icard-foot .price { font-size: 17px; }
.icard.sel .icard-plate { box-shadow: none; } .icard.sel .icard-in { transform: translateZ(18px) rotateX(var(--rx)) rotateY(var(--ry)); }
.icard.sel::before { content: ""; position: absolute; left: 50%; top: -14px; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--c); border-bottom: 0; }
/* Vitrine : la carte choisie en grand, dinosaure en vrai 3D */
.ishow { --c: #EF4444; margin-bottom: 8px; }
.ishow > .pi { background: radial-gradient(ellipse 46% 80% at 27% 60%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), radial-gradient(ellipse 60% 70% at 25% 110%, rgba(220, 38, 38, .32), transparent 70%), linear-gradient(120deg, #150a0d, var(--panel) 60%); transition: background .4s; }
.ishow-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.ishow-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px 40px; padding: 46px 44px 34px; }
.ishow-stage { display: grid; justify-items: center; gap: 22px; }
.icard.big { --cut: 26px; width: min(350px, 78%); perspective: 1300px; }
.icard.big::after { bottom: -22px; height: 40px; opacity: .5; filter: blur(30px); }
.icard.big .icard-in, .icard.big:hover .icard-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.icard.big .icard-pct { font-size: clamp(90px, 9vw, 132px); top: 12%; }
.icard.big .icard-top { padding: 20px 22px 0 36px; font-size: 13px; }
.icard.big .icard-foot { padding: 0 34px 22px 24px; } .icard.big .icard-foot b { font-size: 40px; } .icard.big .icard-foot small { font-size: 15px; }
.icard-live { left: -42%; right: -42%; top: 11%; bottom: 9%; transform: translateZ(80px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
.icard-live.viewer3d { overflow: visible; background: none; } .icard-live.viewer3d::before { display: none; }
.ishow-hint { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); } .ishow-hint .ic { width: 14px; height: 14px; }
.ishow-info h3 { margin: 12px 0 10px; font-size: clamp(48px, 5.4vw, 78px); }
.ishow-effect { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--c); } .ishow-effect .ic { width: 20px; height: 20px; }
.ishow-about { max-width: 460px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--mute); }
.ishow-buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 34px; margin: 26px 0 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ishow-buy small { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.istep p { display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .5); }
.istep button { width: 42px; height: 46px; font-size: 22px; font-weight: 700; color: #fff; transition: background .15s; } .istep button:hover { background: var(--red); }
.istep b { min-width: 52px; font-size: 30px; text-align: center; }
.itotal p { display: flex; align-items: center; gap: 8px; height: 48px; font-size: 46px; color: var(--amber); } .itotal .ic { width: 26px; height: 26px; }
.ishow-info .btn.block { max-width: 460px; }
.ishow-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 460px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--mute); }
.ishow-stock .ic { width: 15px; height: 15px; } .ishow-stock b { color: #fff; font-size: 15px; }
.ishow-stock a { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; } .ishow-stock a:hover { color: var(--red); }
@media (hover: none) { .icard-glare { opacity: .5; } .icard.t-mythique .icard-holo, .icard.t-legendaire .icard-holo { opacity: .4; } }
@media (max-width: 1023px) { .icards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ishow-in { grid-template-columns: 1fr; padding: 34px 22px 26px; } .ishow-info { text-align: left; } .icard.big { width: min(320px, 70%); } }
@media (max-width: 639px) { .icards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .icard { --cut: 12px; } .icard-top em { display: none; } .icard-top { padding: 10px 10px 0 16px; font-size: 9.5px; } .icard-foot { padding: 0 12px 10px 10px; } .icard-foot small { font-size: 11px; } .icard-foot .price { font-size: 14px; grid-column: 1 / -1; } .icard-qty { right: -4px; font-size: 20px; } .irow { font-size: 26px; margin-top: 32px; } .icard.big { width: min(260px, 64%); } .icard-live { left: -30%; right: -30%; } .icard.big .icard-foot { padding: 0 20px 14px 16px; } .icard.big .icard-foot b { font-size: 26px; } .icard.big .icard-foot small { font-size: 12px; } .icard.big .icard-pct { font-size: 72px; } .icard.big .icard-top { padding: 14px 14px 0 26px; font-size: 10.5px; } .ishow-in { padding: 28px 16px 22px; } }
/* ---------- Classement : onglets, podium 3D, récompenses ---------- */
.rk-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.rk-tab { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-align: left; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 3px solid rgba(255, 255, 255, .1); background: rgba(14, 10, 12, .8); transition: .18s; }
.rk-tab .ic { flex: none; width: 24px; height: 24px; }
.rk-tab b { display: block; font-size: 30px; color: #fff; } .rk-tab small { font-size: 12.5px; font-weight: 600; }
.rk-tab:hover { border-color: rgba(220, 38, 38, .6); }
.rk-tab.active { color: #fff; border-color: var(--red); background: linear-gradient(180deg, rgba(220, 38, 38, .22), rgba(220, 38, 38, .05)); box-shadow: 0 0 26px -6px rgba(220, 38, 38, .7); } .rk-tab.active .ic { color: var(--red); }
.rk-stage > .pi { background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(220, 38, 38, .34), transparent 72%), radial-gradient(ellipse 90% 40% at 50% 0%, rgba(245, 158, 11, .1), transparent 70%), linear-gradient(#120709, #09090B 75%); }
.rk-3d { position: relative; height: clamp(300px, 40vw, 540px); }
.rk-3d::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px); pointer-events: none; }
.rk-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.rk-pods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; width: min(100%, 980px); margin: -26px auto 0; padding: 0 16px 22px; position: relative; }
.rk-pod { padding: 14px 16px 16px; text-align: center; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-top: 3px solid var(--c); background: rgba(9, 9, 11, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(18px); }
.rk-pods.in .rk-pod { animation: rk-in .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.rk-pods.in .rk-pod.p3 { animation-delay: .9s; } .rk-pods.in .rk-pod.p2 { animation-delay: 1.25s; } .rk-pods.in .rk-pod.p1 { animation-delay: 1.65s; }
@keyframes rk-in { to { opacity: 1; transform: none; } }
.rk-pod.p1 { padding-bottom: 26px; box-shadow: 0 0 34px -10px var(--c); } .rk-pod.me { background: rgba(60, 12, 16, .85); }
.rk-place { display: block; font-size: 44px; line-height: .9; color: var(--c); } .rk-pod.p1 .rk-place { font-size: 58px; }
.rk-name { margin-top: 6px; font-size: 19px; font-weight: 700; } .rk-pod.p1 .rk-name { font-size: 23px; }
.rk-sp { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.rk-val { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 10px; } .rk-val b { font-size: 40px; } .rk-val small { font-size: 12px; font-weight: 600; color: var(--mute); }
.rk-prize { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 10px; padding-top: 10px; font-size: 20px; font-weight: 700; color: var(--amber); border-top: 1px solid rgba(255, 255, 255, .08); }
.rk-prize .ic { width: 18px; height: 18px; }
.rk-prize.off { color: var(--dim); } .rk-prize.off s { font-size: 16px; } .rk-prize.off small { flex-basis: 100%; font-size: 12px; font-weight: 600; color: var(--mute); }
.c12 { grid-column: 1 / -1; }
.rk-cols { margin-top: 16px; } .rk-cols > div { display: grid; }
.rk-prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.rk-prizes div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-left: 3px solid var(--c); background: rgba(0, 0, 0, .4); }
.rk-prizes span { font-size: 30px; color: var(--c); } .rk-prizes b { display: flex; align-items: center; gap: 6px; font-size: 32px; color: var(--amber); } .rk-prizes .ic { width: 20px; height: 20px; }
.rk-rule { display: flex; gap: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.4; border-left: 2px solid var(--red); background: rgba(220, 38, 38, .08); } .rk-rule .ic { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--red); }
.rk-rule.soft { margin-top: 8px; color: var(--mute); border-left-color: rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .03); } .rk-rule.soft .ic { color: var(--mute); }
.rk-mine { display: grid; gap: 8px; }
.rk-mine button { --c: #52525B; display: flex; align-items: center; gap: 10px; padding: 11px 14px; text-align: left; border-left: 3px solid var(--c); background: rgba(0, 0, 0, .4); transition: background .15s; } .rk-mine button:hover { background: rgba(220, 38, 38, .14); }
.rk-mine .ic { width: 17px; height: 17px; color: var(--red); } .rk-mine span { flex: 1; font-size: 15px; font-weight: 700; } .rk-mine b { font-size: 28px; color: var(--c); } .rk-mine button:not([style]) b { color: #fff; }
.board.rk { min-width: 760px; } .board.rk td { font-variant-numeric: tabular-nums; } .board.rk td:nth-child(n+4), .board.rk th:nth-child(n+4) { text-align: right; }
.board.rk td:nth-child(4), .board.rk td:nth-child(n+5) { color: var(--mute); }
.board.rk.c3 td:nth-child(4), .board.rk.c5 td:nth-child(6), .board.rk.c6 td:nth-child(7) { color: var(--amber); font-size: 17px; font-weight: 700; }
.board.rk.c3 th:nth-child(4), .board.rk.c5 th:nth-child(6), .board.rk.c6 th:nth-child(7) { color: var(--amber); }
@media (max-width: 767px) { .rk-tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; } .rk-tab b { font-size: 22px; } .rk-tab small { display: none; } .rk-pods { gap: 6px; padding: 0 8px 14px; margin-top: -10px; } .rk-pod { padding: 10px 6px 12px; } .rk-name, .rk-pod.p1 .rk-name { font-size: 13px; word-break: break-word; } .rk-name .badges { display: flex; justify-content: center; margin: 4px 0 0; } .rk-val { flex-direction: column; align-items: center; gap: 0; } .rk-val b { font-size: 26px; } .rk-place { font-size: 30px; } .rk-pod.p1 .rk-place { font-size: 38px; } .rk-prize { font-size: 15px; } .rk-prizes { grid-template-columns: 1fr; } .rk-sp { font-size: 9px; letter-spacing: .08em; } }
/* ---------- Elder Prime : étapes en direct + activation directe ---------- */
.el-cols > div { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.el-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.el-num { display: grid; place-items: center; flex: none; width: 54px; height: 54px; font-size: 40px; color: #fff; background: var(--red); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.el-panel.give .el-num { color: #09090B; background: var(--amber); }
.el-head h3 { font-size: 40px; } .el-head p { margin-top: 2px; font-size: 14px; color: var(--mute); }
.el-live { display: flex; align-items: center; gap: 20px; padding: 16px 18px; margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--red); background: rgba(0, 0, 0, .45); }
.el-live.ok { border-left-color: var(--amber); background: linear-gradient(90deg, rgba(245, 158, 11, .12), rgba(0, 0, 0, .45) 60%); } .el-live.ko { border-left-color: #71717A; }
.el-ring { --p: 0; display: grid; place-items: center; align-content: center; flex: none; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(closest-side, #0b0809 78%, transparent 80% 100%), conic-gradient(var(--red) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); transition: background .4s; }
.el-live.ok .el-ring { background: radial-gradient(closest-side, #0b0809 78%, transparent 80% 100%), conic-gradient(var(--amber) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); box-shadow: 0 0 26px -4px rgba(245, 158, 11, .7); }
.el-ring b { font-size: 40px; line-height: .8; } .el-ring small { font-size: 12px; font-weight: 700; color: var(--mute); } .el-ring em { margin-top: 2px; font: 700 9px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.el-now { flex: 1; min-width: 0; }
.el-dino { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; } .el-dino b { font-size: 32px; }
.el-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.el-verdict { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; font-size: 15px; font-weight: 700; } .el-verdict .ic { width: 17px; height: 17px; color: var(--red); } .el-live.ok .el-verdict { color: var(--amber); } .el-live.ok .el-verdict .ic { color: var(--amber); }
.el-grow { position: relative; } .el-grow .bar { height: 10px; } .el-grow .bar i { transition: width 1s linear; }
.el-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: #fff; } .el-mark em { position: absolute; left: 50%; bottom: 100%; margin-bottom: 2px; transform: translateX(-50%); font: 700 10px/1 var(--body); letter-spacing: .08em; white-space: nowrap; }
.el-mark.peak { background: var(--amber); } .el-mark.peak em { color: var(--amber); }
.el-growtxt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--mute); } .el-growtxt b { color: #fff; font-variant-numeric: tabular-nums; }
.el-steps { display: grid; gap: 6px; }
.el-step { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-left: 3px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); transition: background .4s, border-color .4s; }
.el-n { flex: none; width: 26px; font-size: 22px; color: var(--dim); }
.el-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; color: var(--mute); border: 1px solid rgba(255, 255, 255, .14); } .el-ic .ic { width: 16px; height: 16px; }
.el-step > div { flex: 1; min-width: 0; } .el-step b { display: block; font-size: 15px; line-height: 1.2; } .el-step small { font-size: 12.5px; color: var(--mute); }
.el-chip { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 3px 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--mute); border: 1px solid rgba(255, 255, 255, .16); } .el-chip .ic { width: 12px; height: 12px; }
.el-step.s-done { border-left-color: var(--green); background: rgba(34, 197, 94, .07); } .el-step.fresh { animation: el-pop .95s ease-out; } .s-done .el-ic { color: var(--green); border-color: rgba(34, 197, 94, .6); background: rgba(34, 197, 94, .1); } .s-done .el-chip { color: #09090B; border-color: var(--green); background: var(--green); } .s-done .el-n { color: var(--green); }
.el-step.s-doing { border-left-color: var(--amber); } .s-doing .el-ic { color: var(--amber); border-color: rgba(245, 158, 11, .6); } .s-doing .el-chip { color: var(--amber); border-color: rgba(245, 158, 11, .6); }
.el-step.s-lost { opacity: .55; border-left-color: var(--red); } .s-lost .el-chip { color: var(--red); border-color: rgba(220, 38, 38, .6); } .s-lost b { text-decoration: line-through; }
.el-step.s-na { opacity: .45; }
@keyframes el-pop { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .0); } 30% { box-shadow: 0 0 26px 0 rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .22); } 100% { box-shadow: none; } }
.el-pips { display: flex; gap: 5px; margin-top: 6px; } .el-pips i { width: 26px; height: 5px; background: rgba(255, 255, 255, .12); } .el-pips i.on { background: var(--amber); } .s-done .el-pips i.on { background: var(--green); }
.el-diet { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; } .el-diet span { padding: 1px 7px; font-size: 11.5px; font-weight: 600; color: var(--mute); border: 1px solid rgba(255, 255, 255, .14); } .el-diet span.on { color: var(--green); border-color: rgba(34, 197, 94, .55); } .el-diet b { font-variant-numeric: tabular-nums; }
.el-note { display: flex; gap: 10px; margin-top: 14px; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; border-left: 2px solid var(--red); background: rgba(220, 38, 38, .08); } .el-note .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--red); }
.el-sim { margin-top: 12px; font-size: 12px; color: var(--dim); } .el-sim button { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; } .el-sim button:hover { color: #fff; }
.el-off { display: grid; justify-items: start; gap: 10px; padding: 16px; margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .45); } .el-off > .ic { width: 20px; height: 20px; color: var(--dim); } .el-off p { font-size: 14px; color: var(--mute); }
.el-stage { position: relative; flex: 1 1 250px; min-height: 250px; margin-bottom: 14px; border: 1px solid rgba(245, 158, 11, .3); background: radial-gradient(ellipse 60% 45% at 50% 88%, rgba(245, 158, 11, .32), rgba(220, 38, 38, .2) 50%, transparent 76%), linear-gradient(#170a0d, #09090B); overflow: hidden; }
.el-3d { position: absolute; inset: 0; } .el-3d.viewer3d { background: none; }
.el-crown { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; color: #09090B; background: var(--amber); pointer-events: none; } .el-crown .ic { width: 18px; height: 18px; }
.el-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, #fff, rgba(245, 158, 11, .8) 30%, transparent 70%); opacity: 0; pointer-events: none; }
.el-stage.flash::after { animation: el-flash 1.5s ease-out; }
@keyframes el-flash { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: .95; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.6); } }
.el-wallet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.el-wallet div { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .45); } .el-wallet .gold { border-color: rgba(245, 158, 11, .5); }
.el-wallet small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.el-wallet b { display: block; margin: 6px 0 2px; font-size: 46px; line-height: .9; } .el-wallet .gold b { color: var(--amber); } .el-wallet b span { margin-left: 6px; font-size: 22px; color: var(--dim); }
.el-wallet em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--mute); }
/* choix du paiement (abonnement ou carte) : une tuile cliquable, celle choisie est cochée */
.el-wallet .el-src { position: relative; display: block; width: 100%; min-width: 0; padding: 12px 14px; font: inherit; color: inherit; text-align: left; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .45); transition: border-color .15s, background .15s, opacity .15s; }
.el-wallet .el-src:hover:not(:disabled) { border-color: rgba(255, 255, 255, .32); }
.el-wallet .el-src.on { border-color: var(--amber); background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px var(--amber); }
.el-wallet .el-src:disabled { cursor: not-allowed; opacity: .5; }
.el-wallet .el-src:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.el-wallet .el-tick { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.el-wallet .el-src.on .el-tick { background: var(--amber); border-color: var(--amber); color: #120c02; } .el-wallet .el-tick .ic { width: 12px; height: 12px; }
.el-wallet .el-nosub a { color: var(--amber); }
.el-label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.el-none { padding: 10px 12px; font-size: 13.5px; color: var(--mute); border: 1px dashed rgba(255, 255, 255, .16); }
.el-go { margin-top: 14px; height: 60px; font-size: 16px; box-shadow: 0 0 30px -6px rgba(245, 158, 11, .8); } .el-go:disabled { box-shadow: none; opacity: .35; } .el-go.sure { background: var(--red); color: #fff; animation: blink 1s infinite; }
.el-panel.give .pi.pad.col > .el-go { margin-top: 14px; }
.el-cost { margin-top: 8px; font-size: 13px; text-align: center; color: var(--mute); }
.el-get { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.el-logt { margin: 18px 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .el-log { margin-bottom: 0; }
.el-panel.give .el-sim { margin-top: auto; padding-top: 14px; }
@media (max-width: 639px) { .el-live { flex-direction: column; align-items: stretch; } .el-ring { margin: 0 auto; } .el-step { flex-wrap: wrap; } .el-chip { margin-left: 72px; } .el-head h3 { font-size: 32px; } }
/* ---------- Parking : emplacements à gauche, fiche détaillée à droite ---------- */
.pk-cols > div { display: flex; flex-direction: column; min-width: 0; } .pk-cols #pk-detail > .panel { flex: 1; }
.pk-list { gap: 10px; align-self: start; position: sticky; top: 88px; }
.pk-slot { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; text-align: left; color: #fff; border: 1px solid rgba(255, 255, 255, .09); border-left: 3px solid rgba(255, 255, 255, .14); background: var(--panel); transition: .18s; }
button.pk-slot:hover { border-color: rgba(220, 38, 38, .6); }
.pk-slot.active { border-color: var(--red); background: linear-gradient(90deg, rgba(220, 38, 38, .2), var(--panel) 70%); box-shadow: 0 0 26px -8px rgba(220, 38, 38, .8); }
.pk-n { flex: none; width: 34px; font-size: 30px; color: var(--dim); } .pk-slot.active .pk-n { color: var(--red); }
.pk-slot img { flex: none; width: 118px; height: 80px; object-fit: contain; background: radial-gradient(ellipse 70% 55% at 50% 90%, rgba(220, 38, 38, .45), transparent 75%); }
.pk-slot > div { flex: 1; min-width: 0; }
.pk-slot b.display { display: block; font-size: 28px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-slot small { display: flex; align-items: center; gap: 6px; margin: 3px 0 8px; font-size: 12.5px; font-weight: 600; color: var(--mute); } .pk-slot small em { display: flex; color: var(--amber); } .pk-slot small .ic { width: 13px; height: 13px; }
.pk-slot p { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--mute); } .pk-slot p .ok { color: var(--green); } .pk-slot p b { color: #fff; font-variant-numeric: tabular-nums; }
.bar.ok i { background: var(--green); }
.pk-slot.empty { border-style: dashed; border-left-style: dashed; } .pk-slot.empty b { display: block; font-size: 15px; } .pk-slot.empty small { margin: 2px 0 0; }
.pk-more { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 12px 14px; min-height: 96px; padding: 16px; border: 1px dashed rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .05); }
.pk-more > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--amber); border: 1px solid rgba(245, 158, 11, .5); } .pk-more > span .ic { width: 18px; height: 18px; }
.pk-more > div { flex: 1; min-width: 150px; } .pk-more b { display: block; font-size: 16px; } .pk-more small { font-size: 12.5px; color: var(--mute); }
.pk-more .btn .ic { width: 15px; height: 15px; } .pk-more.done { border-color: rgba(255, 255, 255, .12); background: none; } .pk-more.done > span { color: var(--green); border-color: rgba(34, 197, 94, .5); }
.pk-detail > .pi { display: flex; flex-direction: column; }
.pk-stage { position: relative; height: 330px; background: radial-gradient(ellipse 60% 42% at 50% 86%, rgba(220, 38, 38, .55), rgba(153, 27, 27, .2) 52%, transparent 76%), radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, .12), transparent 60%), linear-gradient(#170a0d, #09090B); }
.pk-3d { position: absolute; inset: 0 14%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); } .pk-3d.viewer3d { background: none; }
.pk-slotn { position: absolute; left: 20px; top: 14px; font-size: 64px; color: rgba(255, 255, 255, .1); pointer-events: none; }
.pk-tags { position: absolute; right: 16px; top: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; pointer-events: none; } .pk-tags .tag { background: rgba(9, 9, 11, .75); }
.pk-body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 20px 24px 24px; }
.pk-title h3 { font-size: 54px; overflow-wrap: anywhere; }
.pk-title p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.pk-title p > * + *::before { content: "·"; margin-right: 10px; color: var(--dim); } .pk-title a { display: inline-flex; align-items: center; gap: 5px; color: #fff; } .pk-title a:hover { color: var(--red); } .pk-title a .ic { width: 13px; height: 13px; }
.pk-rename { display: flex; flex-wrap: wrap; gap: 8px; } .pk-rename input { flex: 1; min-width: 200px; height: 46px; padding: 0 14px; font-size: 20px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .5); border: 1px solid var(--red); outline: none; } .pk-rename .btn { height: 46px; }
.pk-growth > p:first-child { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); } .pk-growth > p b { font-size: 34px; letter-spacing: .035em; color: #fff; }
.pk-track { position: relative; } .pk-track .bar { height: 10px; } .pk-tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255, 255, 255, .7); }
.pk-stages { position: relative; height: 18px; margin-top: 6px; } .pk-stages span { position: absolute; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); } .pk-stages span.on { color: #fff; }
.pk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pk-block { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .4); }
.pk-bt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; } .pk-bt h4 { margin: 0; font-size: 26px; } .pk-bt small { font-size: 12.5px; color: var(--mute); }
.pk-bt a { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12.5px; font-weight: 700; color: #fff; } .pk-bt a:hover { color: var(--red); } .pk-bt a .ic { width: 13px; height: 13px; }
.pk-gauge + .pk-gauge { margin-top: 10px; } .pk-gauge p { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 13px; font-weight: 600; } .pk-gauge .ic { width: 15px; height: 15px; } .pk-gauge b { margin-left: auto; font-variant-numeric: tabular-nums; }
.pk-gauge.hp .ic { color: var(--green); } .pk-gauge.hp .bar i { background: var(--green); } .pk-gauge.food .ic { color: var(--amber); } .pk-gauge.food .bar i { background: var(--amber); } .pk-gauge.water .ic { color: #3B82F6; } .pk-gauge.water .bar i { background: #3B82F6; }
.pk-stats { display: grid; gap: 8px; } .pk-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); } .pk-stats div:last-child { border: 0; }
.pk-stats small { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .pk-stats b { font-size: 26px; }
.pk-mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pk-m { display: flex; align-items: center; gap: 8px; min-width: 0; height: 38px; padding: 0 10px 0 8px; text-align: left; color: var(--dim); border: 1px solid rgba(255, 255, 255, .07); border-left: 3px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02); }
.pk-m i { flex: none; font-size: 17px; font-style: normal; color: var(--dim); } .pk-m span { overflow: hidden; font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pk-m.on { color: #fff; border-left-color: var(--red); background: rgba(220, 38, 38, .08); transition: .15s; } .pk-m.on i { color: var(--red); } .pk-m.on span { font-weight: 700; }
.pk-m.on:hover { border-color: rgba(220, 38, 38, .7); } .pk-m.sel { border-color: var(--red); background: rgba(220, 38, 38, .28); box-shadow: 0 0 16px -4px rgba(220, 38, 38, .8); } .pk-m.sel i { color: #fff; }
.pk-minfo { min-height: 66px; margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--red); background: rgba(0, 0, 0, .45); }
.pk-minfo p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; } .pk-minfo b { font-size: 16px; } .pk-minfo em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--amber); }
.pk-minfo small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.pk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; } .pk-acts .btn { height: 52px; } .pk-acts .btn .ic { width: 16px; height: 16px; }
.pk-del { margin-left: auto; } .pk-del.primary { animation: blink 1s infinite; }
.pk-hint { display: flex; align-items: center; gap: 8px; margin-top: -6px; font-size: 13px; color: var(--mute); } .pk-hint .ic { width: 14px; height: 14px; }
@media (max-width: 1023px) { .pk-list { position: static; } }
@media (max-width: 639px) { .pk-two { grid-template-columns: 1fr; } .pk-title h3 { font-size: 40px; } .pk-stage { height: 290px; } .pk-3d { inset: 0 6%; } .pk-body { padding: 16px; } .pk-slot img { width: 84px; height: 58px; } .pk-acts .btn { flex: 1 1 100%; } .pk-del { margin-left: 0; } .pk-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Stockage en jeu : ton dinosaure en jeu, compte à rebours, nutriments, Elder Prime, 16 mutations (js/pages/parking.js) */
.pk-list .pk-slots { display: flex; flex-direction: column; gap: 10px; }
.pk-live .block-title { margin-bottom: 12px; } .pk-live .block-title .ic { color: var(--red); }
.pk-apex { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 12px; font-size: 13px; color: var(--mute); border-left: 2px solid var(--green); background: rgba(255, 255, 255, .03); }
.pk-apex .ic { width: 14px; height: 14px; color: var(--amber); } .pk-apex span { color: #fff; font-weight: 700; } .pk-apex small { font-size: 12px; }
.pk-apex.full { border-left-color: var(--amber); } .pk-apex.full small { color: #FCD34D; }
#pk-apex .pk-hint.warn { margin-top: 6px; }
.pk-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); } .pk-note .ic { width: 18px; height: 18px; flex: none; color: var(--amber); }
.pk-me { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pk-me img { flex: none; width: 110px; height: 74px; object-fit: contain; background: radial-gradient(ellipse 70% 55% at 50% 90%, rgba(220, 38, 38, .45), transparent 75%); }
.pk-me > div { flex: 1; min-width: 0; } .pk-me b.display { display: block; font-size: 30px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-me small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 3px 0 9px; font-size: 13px; font-weight: 600; color: var(--mute); }
.pk-me em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; color: var(--amber); } .pk-me em .ic { width: 13px; height: 13px; }
.pk-me .pk-track .bar { height: 8px; }
.pk-live .pk-hint { margin-top: 10px; align-items: flex-start; } .pk-live .pk-hint .ic { margin-top: 3px; }
.pk-count { display: flex; align-items: center; gap: 16px; }
.pk-count > b { flex: none; min-width: 86px; font-size: 76px; text-align: center; color: var(--amber); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(245, 158, 11, .45); }
.pk-count > div { flex: 1; min-width: 0; } .pk-count p { margin-bottom: 8px; font-size: 16px; font-weight: 700; } .pk-count .bar { height: 8px; }
.pk-count small { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; font-size: 13px; line-height: 1.35; color: var(--mute); } .pk-count small .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--amber); }
.pk-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; } .pk-row .btn .ic, .pk-run .btn .ic { width: 14px; height: 14px; }
.pk-run { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; } .pk-run > .ic { flex: none; width: 20px; height: 20px; color: var(--amber); } .pk-run .btn { margin-left: auto; }
.pk-run.col { flex-direction: column; align-items: stretch; gap: 10px; } .pk-run.col p { display: flex; align-items: center; gap: 10px; } .pk-run.col p .ic { width: 18px; height: 18px; color: var(--amber); }
.pk-run.col .bar { height: 8px; } .pk-run small { font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.pk-last { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.4; border-left: 3px solid; background: rgba(0, 0, 0, .4); }
.pk-last .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; } .pk-last.ok { color: #d9fbe5; border-color: var(--green); } .pk-last.ok .ic { color: var(--green); } .pk-last.ko { color: #fecaca; border-color: var(--red); } .pk-last.ko .ic { color: var(--red); }
.pk-slot.real { border-left-color: rgba(34, 197, 94, .7); } .pk-slot.real.active { border-left-color: var(--red); } .pk-slot.over { border-style: dashed; border-color: rgba(220, 38, 38, .55); }
.pk-gauge.stam .ic { color: #A855F7; } .pk-gauge.stam .bar i { background: #A855F7; }
.ds-delivery { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: #d9fbe5; border-left: 3px solid var(--green); background: rgba(34, 197, 94, .07); } .ds-delivery .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--green); }
.pk-callink { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--amber); } .pk-callink:hover { color: #fff; } .pk-callink .ic { width: 13px; height: 13px; }
.pk-cal { margin-top: 12px; padding: 12px; border: 1px dashed rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .05); } .pk-cal > p { font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.pk-cal-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; } .pk-cal-row label span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; color: var(--mute); } .pk-cal-row .input { width: 100%; height: 38px; }
.pk-gauge.raw { padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); } .pk-gauge.raw b { font-size: 15px; } .pk-nutnote { margin-top: 10px; font-size: 12px; color: var(--mute); }
.pk-gauge.prot .ic { color: #F87171; } .pk-gauge.prot .bar i { background: #F87171; } .pk-gauge.lip .ic { color: #FACC15; } .pk-gauge.lip .bar i { background: #FACC15; } .pk-gauge.carb .ic { color: var(--green); } .pk-gauge.carb .bar i { background: var(--green); }
.pk-mgroup { margin: 12px 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); } .pk-bt + .pk-mgroup { margin-top: 0; }
.pk-elder .pk-bt h4 { display: flex; align-items: center; gap: 8px; } .pk-elder .pk-bt .ic { width: 18px; height: 18px; color: var(--amber); }
.pk-big { margin-bottom: 10px; font-size: 18px; font-weight: 700; } .pk-elder.on { border-color: rgba(245, 158, 11, .45); background: linear-gradient(160deg, rgba(245, 158, 11, .12), rgba(0, 0, 0, .4) 60%); } .pk-elder.on .pk-big { color: var(--amber); }
.pk-conds { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; } .pk-conds i { height: 8px; background: rgba(255, 255, 255, .1); } .pk-conds i.on { background: var(--amber); box-shadow: 0 0 8px rgba(245, 158, 11, .6); }
.pk-elder small { font-size: 12.5px; color: var(--mute); }
.pk-entomb { margin-left: 10px; padding: 1px 8px; font-size: 12px; font-style: normal; letter-spacing: .08em; color: #09090B; background: var(--amber); vertical-align: 2px; } .pk-real { color: var(--green) !important; }
.pk-skin { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--mute); } .pk-skin .ic { width: 13px; height: 13px; color: var(--green); }
.pk-hint.ok { color: #bbf7d0; } .pk-hint.ok .ic { color: var(--green); } .pk-hint.warn { margin-top: 0; color: #fecaca; } .pk-hint.warn .ic { color: var(--red); }
#pk-acts { display: flex; flex-direction: column; gap: 14px; margin-top: auto; } #pk-acts .pk-hint { margin-top: 0; }
@media (max-width: 639px) { .pk-count > b { min-width: 64px; font-size: 58px; } .pk-me img { width: 84px; height: 58px; } .pk-run { flex-wrap: wrap; } .pk-run .btn { margin-left: 0; } }
/* ---------- Skin : atelier 3D (Skin, Skin Boost) ---------- */
.sk-cols .sk-left { align-self: start; position: sticky; top: 88px; } .sk-cols > div { min-width: 0; } .sk-cols .stack { grid-template-columns: minmax(0, 1fr); }
.sk-view > .pi { display: flex; flex-direction: column; }
.sk-stage { position: relative; height: clamp(360px, 46vw, 600px); background: radial-gradient(ellipse 60% 42% at 50% 86%, rgba(220, 38, 38, .5), rgba(153, 27, 27, .18) 52%, transparent 76%), radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, .12), transparent 60%), linear-gradient(#170a0d, #09090B); }
.sk-3d { position: absolute; inset: 0; } .sk-3d.viewer3d { background: none; }
.sk-name { position: absolute; left: 20px; top: 16px; font-size: 40px; pointer-events: none; text-shadow: 0 2px 12px #000; }
.sk-hint { position: absolute; left: 20px; bottom: 12px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); pointer-events: none; } .sk-hint .ic { width: 13px; height: 13px; }
.sk-zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .35); }
.sk-zone { display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 10px; color: #D4D4D8; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: .15s; }
.sk-zone i { flex: none; width: 20px; height: 20px; background: var(--zc); border: 1px solid rgba(255, 255, 255, .45); } .sk-zone.glow i { box-shadow: 0 0 10px 1px var(--zc); }
.sk-zone span { overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .sk-zone .ic { flex: none; width: 12px; height: 12px; margin-left: auto; color: var(--amber); }
.sk-zone:hover { border-color: rgba(220, 38, 38, .6); } .sk-zone.on { color: #fff; border-color: var(--red); background: rgba(220, 38, 38, .25); box-shadow: 0 0 16px -4px rgba(220, 38, 38, .8); }
.sk-label { display: flex; justify-content: space-between; margin: 16px 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .sk-label b { color: #fff; letter-spacing: 0; font-size: 12px; }
.sk-pats, .sk-seg, .sk-ptabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-pats button, .sk-seg button, .sk-ptabs button { flex: 1; min-width: 70px; height: 36px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); transition: .15s; }
.sk-pats button:hover, .sk-seg button:hover, .sk-ptabs button:hover { color: #fff; border-color: rgba(220, 38, 38, .6); }
.sk-pats button.on, .sk-seg button.on, .sk-ptabs button.on { color: #fff; border-color: var(--red); background: var(--red); }
.sk-seg.four button { min-width: 0; padding: 0 4px; font-size: 11.5px; letter-spacing: .04em; }
.sk-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .sk-row .btn { flex: 1; }
.sk-zhead { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .sk-zhead > i { flex: none; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); }
.sk-zhead > div { flex: 1; min-width: 0; } .sk-zhead small { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .sk-zhead h3 { font-size: 36px; }
.sk-ptabs { margin-bottom: 10px; }
.sk-swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; } .sk-swatches.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sk-swatches button { aspect-ratio: 1; background: var(--c); border: 1px solid rgba(255, 255, 255, .22); transition: transform .12s; } .sk-swatches button:hover { transform: scale(1.12); }
.sk-swatches button.on { outline: 2px solid #fff; outline-offset: 2px; }
.sk-free { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sk-free label { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 6px 0 12px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); cursor: pointer; }
.sk-free input[type="color"] { width: 44px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.sk-free input[type="text"], .sk-save input { height: 40px; padding: 0 12px; font: 600 14px/1 ui-monospace, monospace; color: #fff; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .5); outline: none; } .sk-free input[type="text"] { width: 104px; text-transform: uppercase; }
.sk-free input[type="text"]:focus, .sk-save input:focus { border-color: var(--red); }
.sk-warn { display: flex; gap: 8px; margin: 10px 0; padding: 8px 12px; font-size: 13px; line-height: 1.4; color: #D4D4D8; border-left: 2px solid var(--amber); background: rgba(245, 158, 11, .08); } .sk-warn .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--amber); }
.sk-warn.game { border-left-color: var(--green); background: rgba(34, 197, 94, .07); } .sk-warn.game .ic { color: var(--green); }
.sk-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 600; cursor: pointer; } .sk-check input { width: 18px; height: 18px; accent-color: var(--amber); }
.sk-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sk-presets button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); transition: .15s; } .sk-presets button:hover { border-color: var(--a); }
.sk-presets i { flex: none; width: 20px; height: 20px; background: linear-gradient(135deg, var(--a) 0 40%, var(--b) 40% 70%, var(--c) 70%); border: 1px solid rgba(255, 255, 255, .3); }
.sk-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 6px 0 10px; padding: 0; border: 0; background: transparent; cursor: pointer; --p: 50%; --rc: #84cc16; }
.sk-range.boost { --rc: #F59E0B; }
.sk-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--rc) 0 var(--p), rgba(255, 255, 255, .14) var(--p) 100%); }
.sk-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.sk-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--rc); }
.sk-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: #fff; border: 3px solid var(--rc); box-shadow: 0 0 10px rgba(0, 0, 0, .6); }
.sk-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--rc); }
.sk-range:focus { outline: none; } .sk-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(245, 158, 11, .45); }
.sk-save { display: flex; gap: 8px; } .sk-save input { flex: 1; min-width: 0; font-family: var(--body); font-size: 15px; }
.sk-list { display: grid; gap: 6px; }
.sk-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-left: 3px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); } .sk-list li.on { border-left-color: var(--green); }
.sk-dots { display: grid; grid-template-columns: repeat(2, 12px); gap: 2px; flex: none; } .sk-dots i { width: 12px; height: 12px; }
.sk-list li > div { flex: 1; min-width: 0; } .sk-list b { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .sk-list small { font-size: 12px; color: var(--mute); }
.sk-x { display: grid; place-items: center; flex: none; width: 28px; height: 28px; color: var(--mute); } .sk-x:hover { color: var(--red); } .sk-x .ic { width: 14px; height: 14px; }
@media (max-width: 1023px) { .sk-cols .sk-left { position: static; } }
@media (max-width: 639px) { .sk-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk-swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sk-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk-list li { flex-wrap: wrap; } .sk-name { font-size: 30px; } }
/* Carte : la liste des zones défile dans son cadre (hauteur posée par js/pages/carte.js) */
.zones { position: relative; overflow-y: auto; overscroll-behavior: contain; }
@supports not selector(::-webkit-scrollbar) { .zones { scrollbar-width: thin; scrollbar-color: var(--red) rgba(255, 255, 255, .06); } }
.zones::-webkit-scrollbar { width: 8px; } .zones::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); } .zones::-webkit-scrollbar-thumb { background: var(--red); }
/* ---------- Chasse : primes ---------- */
.el-num .ic { width: 24px; height: 24px; }
.hu-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 16px; padding: 16px 20px; border: 1px solid var(--red); background: linear-gradient(90deg, rgba(220, 38, 38, .3), rgba(220, 38, 38, .06)); box-shadow: 0 0 34px -10px rgba(220, 38, 38, .9); animation: hu-warn 2s infinite; }
@keyframes hu-warn { 50% { box-shadow: 0 0 44px -6px rgba(220, 38, 38, 1); } }
.hu-alert > span { display: grid; place-items: center; flex: none; width: 50px; height: 50px; color: #fff; background: var(--red); } .hu-alert > span .ic { width: 24px; height: 24px; }
.hu-alert > div:nth-child(2) { flex: 1; min-width: 200px; } .hu-alert b.display { font-size: 32px; } .hu-alert p { font-size: 14px; color: #E4E4E7; }
.hu-alert-r { text-align: right; } .hu-alert-r small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E4E4E7; } .hu-alert-r b { font-size: 46px !important; font-variant-numeric: tabular-nums; }
.hu-kills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hu-kills button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px 8px 6px; text-align: left; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .4); transition: .15s; }
.hu-kills button:hover { border-color: rgba(220, 38, 38, .6); } .hu-kills button.on { border-color: var(--red); background: rgba(220, 38, 38, .2); }
.hu-kills img { flex: none; width: 58px; height: 40px; object-fit: contain; } .hu-kills span { min-width: 0; } .hu-kills b { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .hu-kills small { display: block; overflow: hidden; font-size: 11.5px; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.hu-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .hu-two > div { min-width: 0; }
.hu-amount { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid rgba(245, 158, 11, .5); background: rgba(0, 0, 0, .5); } .hu-amount .ic { width: 22px; height: 22px; color: var(--amber); }
.hu-amount input { flex: 1; min-width: 0; font: 400 34px/1 var(--display); letter-spacing: .035em; color: var(--amber); background: none; border: 0; outline: none; -moz-appearance: textfield; } .hu-amount input::-webkit-outer-spin-button, .hu-amount input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hu-quick { display: flex; gap: 5px; margin-top: 6px; } .hu-quick button { flex: 1; height: 30px; font-size: 12px; font-weight: 700; color: var(--mute); border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); } .hu-quick button:hover { color: #fff; border-color: var(--amber); }
.hu-max { margin-top: 8px; font-size: 12.5px; color: var(--mute); }
.hu-recap { margin: 18px 0 12px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; border-left: 2px solid var(--amber); background: rgba(245, 158, 11, .08); }
.hu-steps { display: grid; gap: 8px; margin-bottom: 14px; } .hu-steps li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; background: rgba(255, 255, 255, .03); border-left: 3px solid rgba(220, 38, 38, .6); }
.hu-steps span { flex: none; width: 26px; font-size: 32px; color: var(--red); } .hu-steps b { display: block; font-size: 15px; } .hu-steps small { font-size: 13px; color: var(--mute); }
.hu-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hu-card { display: flex; flex-direction: column; border: 1px solid rgba(220, 38, 38, .45); background: linear-gradient(#170a0d, var(--panel) 45%); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: transform .2s, box-shadow .2s; }
.hu-card:hover { transform: translateY(-3px); } .hu-card.self { border-color: var(--amber); } .hu-card.mine { border-color: var(--red); background: linear-gradient(rgba(220, 38, 38, .22), var(--panel) 50%); }
.hu-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 6px 20px; color: #fff; background: var(--red); } .hu-card.self header { color: #09090B; background: var(--amber); }
.hu-card header span { font-size: 24px; letter-spacing: .12em; } .hu-card header em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hu-face { position: relative; height: 130px; background: radial-gradient(ellipse 70% 50% at 50% 88%, rgba(220, 38, 38, .45), transparent 75%); } .hu-face img { position: absolute; inset: 6px 8px; width: calc(100% - 16px); height: calc(100% - 12px); object-fit: contain; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .7)); }
.hu-cross { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border: 2px solid rgba(239, 68, 68, .9); border-radius: 50%; background: linear-gradient(rgba(239, 68, 68, .9), rgba(239, 68, 68, .9)) 50% 50% / 2px 100% no-repeat, linear-gradient(rgba(239, 68, 68, .9), rgba(239, 68, 68, .9)) 50% 50% / 100% 2px no-repeat; -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); animation: hu-aim 3s ease-in-out infinite; }
@keyframes hu-aim { 50% { transform: scale(1.14) rotate(8deg); opacity: .7; } }
.hu-body { flex: 1; display: flex; flex-direction: column; padding: 10px 16px 16px; }
.hu-name { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; } .hu-sp { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.hu-pot { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; font-size: 44px; line-height: 1; color: var(--amber); } .hu-pot .ic { width: 24px; height: 24px; }
.hu-time p { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 5px; } .hu-time span { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); } .hu-time b { font-size: 26px; font-variant-numeric: tabular-nums; } .hu-time .bar i { transition: width 1s linear; }
.hu-by { margin: 10px 0 12px; font-size: 12.5px; color: var(--mute); } .hu-by b { color: #D4D4D8; }
.hu-acts { display: flex; gap: 6px; margin-top: auto; } .hu-acts .btn { flex: 1; padding: 0 8px; }
.hu-done li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); } .hu-done li:last-child { border: 0; }
.hu-done li > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid; } .hu-done li > span .ic { width: 15px; height: 15px; }
.hu-done .kill > span { color: var(--red); } .hu-done .live > span { color: var(--green); }
.hu-done p { flex: 1; min-width: 0; font-size: 14.5px; } .hu-done b.display { display: flex; align-items: center; gap: 6px; font-size: 24px; color: var(--amber); } .hu-done b .ic { width: 15px; height: 15px; } .hu-done small { width: 48px; text-align: right; font-size: 12px; color: var(--dim); }
.ep-maplabel.ep-mapbounty { font-size: 13px; color: #fff; background: rgba(185, 28, 28, .95); border-left-color: #fff; box-shadow: 0 0 18px rgba(239, 68, 68, .8); } .ep-mapbounty::before { content: "☠ "; }
@media (max-width: 1279px) { .hu-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hu-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hu-kills, .hu-two { grid-template-columns: 1fr; } .hu-pot { font-size: 32px; } .hu-acts { flex-direction: column; } .hu-done li { flex-wrap: wrap; } .hu-done p { flex-basis: 70%; } }
/* ---------- Quêtes du jour ---------- */
.qu-top > .pi { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: radial-gradient(ellipse 50% 120% at 0% 50%, rgba(245, 158, 11, .16), transparent 70%), var(--panel); }
.qu-level { display: flex; align-items: center; gap: 22px; padding: 24px 28px; }
.qu-badge { display: grid; place-items: center; align-content: center; flex: none; width: 108px; height: 108px; color: #09090B; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.qu-badge small { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; } .qu-badge b { font-size: 56px; line-height: .85; }
.qu-xp { flex: 1; min-width: 0; } .qu-xp > p:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; font-size: 14px; color: var(--mute); } .qu-xp b { color: #fff; } .qu-xp .bar { height: 12px; } .qu-xp .bar i { transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.qu-sum { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.qu-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 20px 28px; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .3); }
.qu-bonus small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .qu-bonus b.display { font-size: 38px; color: var(--amber); }
.qu-pips { display: flex; flex: 1 1 100%; gap: 4px; order: 3; } .qu-pips i { flex: 1; height: 8px; background: rgba(255, 255, 255, .1); } .qu-pips i.on { background: var(--amber); }
.qu-bonus .btn { margin-left: auto; } .qu-bonus.ready { box-shadow: inset 0 0 40px -10px rgba(245, 158, 11, .7); }
.qu-got { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); } .qu-got .ic { width: 14px; height: 14px; }
.qu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qu-card { --c: #22c55e; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid var(--c); background: var(--panel); transition: .2s; }
.qu-card.done { border-color: var(--red); background: linear-gradient(90deg, rgba(220, 38, 38, .2), var(--panel) 70%); box-shadow: 0 0 24px -10px rgba(220, 38, 38, .9); } .qu-card.got { opacity: .55; }
.qu-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); } .qu-ic .ic { width: 22px; height: 22px; }
.qu-main { flex: 1; min-width: 0; } .qu-tags { display: flex; gap: 6px; margin-bottom: 4px; } .qu-main h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; line-height: 1.25; } .qu-card.got h4 { text-decoration: line-through; }
.qu-prog { display: flex; align-items: center; gap: 10px; } .qu-prog .bar { flex: 1; } .qu-prog .bar i { background: var(--c); } .qu-prog span { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mute); white-space: nowrap; }
.qu-side { display: grid; justify-items: end; gap: 8px; flex: none; } .qu-side b.display { font-size: 30px; color: var(--amber); } .qu-side b small { font-size: 14px; } .qu-side .qu-got { margin: 0; }
.qu-wait { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
a.pf-level { display: block; transition: opacity .15s; } a.pf-level:hover { opacity: .8; }
@media (max-width: 1023px) { .qu-top > .pi, .qu-list { grid-template-columns: minmax(0, 1fr); } .qu-bonus { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); } }
@media (max-width: 639px) { .qu-level { flex-direction: column; align-items: flex-start; padding: 18px; } .qu-xp { width: 100%; } .qu-bonus { padding: 16px 18px; } .qu-card { flex-wrap: wrap; padding: 14px; } .qu-side { flex: 1 1 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; } }
/* ---------- Entraînement : arène ---------- */
.tr-gap { margin-top: 16px; }
.tr-hero > .pi { background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(59, 130, 246, .2), transparent 62%), radial-gradient(ellipse 60% 120% at 100% 100%, rgba(220, 38, 38, .26), transparent 62%), var(--panel); }
.tr-hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 22px 34px; padding: 26px 30px; }
.tr-hero h3 { font-size: clamp(40px, 5vw, 68px); line-height: .92; } .tr-hero p { max-width: 640px; margin-top: 10px; font-size: 15px; line-height: 1.5; color: #D4D4D8; }
.tr-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .tr-rules li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .4); } .tr-rules .ic { width: 15px; height: 15px; color: var(--amber); }
.tr-arenas { display: grid; gap: 10px; }
.tr-arena { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .5); }
.tr-arena > i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(34, 197, 94, .18); } .tr-arena.busy > i { background: var(--red); box-shadow: 0 0 0 5px rgba(220, 38, 38, .2); animation: blink 1.4s infinite; }
.tr-arena b { display: block; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; } .tr-arena small { font-size: 12.5px; color: var(--mute); } .tr-arena > span { margin-left: auto; font-size: 28px; color: var(--amber); font-variant-numeric: tabular-nums; }
.tr-build { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.tr-stage { position: relative; min-height: 300px; border: 1px solid rgba(220, 38, 38, .35); background: radial-gradient(ellipse 60% 42% at 50% 86%, rgba(220, 38, 38, .5), rgba(153, 27, 27, .18) 52%, transparent 76%), linear-gradient(#170a0d, #09090B); overflow: hidden; }
.tr-3d { position: absolute; inset: 0; } .tr-3d.viewer3d { background: none; } .tr-stage .tag { position: absolute; left: 12px; top: 12px; background: rgba(9, 9, 11, .75); }
.tr-sp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tr-sp button { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px 6px 4px; text-align: left; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .4); transition: .15s; } .tr-sp button:hover { border-color: rgba(220, 38, 38, .6); } .tr-sp button.on { border-color: var(--red); background: rgba(220, 38, 38, .22); }
.tr-sp img { flex: none; width: 56px; height: 38px; object-fit: contain; } .tr-sp b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tr-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; } .tr-stats div { padding: 8px 12px; background: rgba(0, 0, 0, .4); border-left: 2px solid var(--amber); } .tr-stats small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); } .tr-stats b { font-size: 24px; }
.tr-link { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: var(--amber); } .tr-link:hover { color: #fff; } .tr-link .ic { width: 13px; height: 13px; }
.tr-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .tr-sizes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.tr-sizes button { padding: 10px 6px; text-align: center; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); transition: .15s; } .tr-sizes button:hover { border-color: var(--amber); }
.tr-sizes b { display: block; font-size: 24px; white-space: nowrap; } .tr-sizes small { font-size: 11px; color: var(--mute); } .tr-sizes button.on { border-color: var(--amber); background: rgba(245, 158, 11, .16); } .tr-sizes button.on b { color: var(--amber); }
.tr-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tr-room { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid #3B82F6; background: var(--panel); }
.tr-rt { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .tr-rt b { font-size: 32px; } .tr-host { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; } .tr-host > .ic { width: 15px; height: 15px; color: var(--amber); }
.tr-fill { display: flex; align-items: center; gap: 10px; } .tr-fill .bar { flex: 1; } .tr-fill span { font-size: 12px; font-weight: 700; color: var(--mute); }
.tr-rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 22px 0; } .tr-rhead h3 { margin-right: 6px; font-size: 38px; } .tr-rhead .btn { margin-left: auto; }
.tr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px 0; } .tr-why { font-size: 14px; color: var(--mute); }
.tr-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 16px 22px 0; }
.tr-steps li { padding: 8px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; color: var(--dim); border-top: 3px solid rgba(255, 255, 255, .12); }
.tr-steps li.ok { color: var(--green); border-top-color: var(--green); } .tr-steps li.cur { color: #fff; border-top-color: var(--amber); background: rgba(245, 158, 11, .1); }
.tr-now { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 12px 22px 0; padding: 14px 16px; border-left: 3px solid var(--amber); background: rgba(0, 0, 0, .45); }
.tr-now > div:first-child { flex: 1; min-width: 220px; } .tr-now small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); } .tr-now p { font-size: 16px; font-weight: 600; }
.tr-clock { text-align: right; } .tr-clock b { font-size: 40px; color: var(--amber); font-variant-numeric: tabular-nums; }
.tr-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px 22px 22px; } .tr-mid { align-self: center; font-size: 54px; color: var(--dim); }
.tr-team { border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: rgba(0, 0, 0, .35); }
.tr-team h4 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 14px; font-size: 24px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent), transparent); } .tr-team h4 small { font: 700 12px/1 var(--body); color: #D4D4D8; }
.tr-slot { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 8px 12px; border-top: 1px solid rgba(255, 255, 255, .06); } .tr-slot.me { background: color-mix(in srgb, var(--c) 14%, transparent); }
.tr-slot img, .tr-noimg { flex: none; width: 70px; height: 48px; object-fit: contain; } .tr-noimg { display: grid; place-items: center; color: var(--amber); border: 1px dashed rgba(245, 158, 11, .5); } .tr-noimg .ic { width: 18px; height: 18px; }
.tr-who { flex: 1; min-width: 0; } .tr-who b { display: flex; align-items: center; gap: 6px; font-size: 15px; } .tr-who b .ic { width: 14px; height: 14px; color: var(--amber); } .tr-who em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.tr-who small { display: block; font-size: 12.5px; color: var(--mute); } .tr-who small.ko { color: var(--amber); }
.tr-hp { margin-top: 6px; } .tr-hp i { background: var(--green); transition: width .9s linear; } .tr-hp.low i { background: var(--red); }
.tr-slot.empty { justify-content: space-between; color: var(--dim); font-size: 13px; font-weight: 600; border-top-style: dashed; }
.tr-friends { padding: 0 22px 22px; } .tr-friends > div { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-friends button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .4); } .tr-friends button:hover:not(:disabled) { border-color: var(--amber); } .tr-friends button:disabled { opacity: .5; } .tr-friends .ic { width: 13px; height: 13px; color: var(--amber); }
.tr-roomp .table-wrap { border-top: 1px solid rgba(255, 255, 255, .08); }
.board.rk.tr-table td:first-child, .board.rk.tr-table th:first-child { width: auto; font: 700 15px/1.2 var(--body); color: #fff; text-align: left; white-space: nowrap; } .tr-dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--c); }
.board.rk.tr-table td:nth-child(3) { color: var(--amber); font-weight: 700; } .board.rk.tr-table td:nth-child(2), .board.rk.tr-table th:nth-child(2) { text-align: left; }
.tr-mhead { align-items: center; } .tr-mhead > span:last-child { display: flex; gap: 16px; } .tr-link.dim { color: var(--mute); }
.tr-slots .pk-m.on { cursor: pointer; } .tr-slots .pk-m.on span { flex: 1; } .tr-slots .pk-m.on > .ic { flex: none; width: 12px; height: 12px; color: var(--dim); } .tr-slots .pk-m.on:hover > .ic { color: #fff; }
.tr-pick { margin-top: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .4); }
.tr-ptop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); } .tr-ptop .search { width: 220px; margin: 0 0 0 auto; } .tr-ptop .search .input { height: 34px; } .tr-ptop .search .ic { top: 9px; }
.tr-cats { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; min-width: 0; } .tr-cats button { height: 28px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); transition: .15s; } .tr-cats button:hover { color: #fff; } .tr-cats button.on { color: #fff; border-color: var(--red); background: var(--red); }
.tr-plist { height: 296px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(220, 38, 38, .7) rgba(255, 255, 255, .05); }
.tr-mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .05); transition: background .12s; } .tr-mrow[hidden] { display: none; } .tr-mrow:hover { background: rgba(255, 255, 255, .05); }
.tr-mrow > i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .25); } .tr-mrow > i .ic { width: 14px; height: 14px; opacity: 0; }
.tr-mrow > span { flex: 1; min-width: 0; } .tr-mrow b { display: flex; align-items: center; gap: 8px; font-size: 14px; } .tr-mrow b em { font-style: normal; font-size: 12px; color: var(--amber); } .tr-mrow small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--mute); }
.tr-mrow > u { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; color: var(--dim); }
.tr-mrow.on { background: rgba(220, 38, 38, .12); } .tr-mrow.on > i { border-color: var(--red); background: var(--red); } .tr-mrow.on > i .ic { opacity: 1; }
.tr-mrow.off { opacity: .45; cursor: not-allowed; } .tr-mrow.off:hover { background: none; } .tr-mrow.off > i .ic { opacity: .8; } .tr-mrow.off small { color: var(--amber); } .tr-mrow.off > u { color: var(--amber); }
.tr-plist.full .tr-mrow:not(.on) { opacity: .4; } .tr-pnone { padding: 24px; text-align: center; font-size: 14px; color: var(--mute); }
@media (max-width: 767px) { .tr-mrow > u { display: none; } .tr-ptop .search { width: 100%; } }
.tr-recaps { display: grid; gap: 8px; }
.tr-recap { border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); }
.tr-recap summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 18px; cursor: pointer; list-style: none; } .tr-recap summary::-webkit-details-marker { display: none; }
.tr-recap summary b { font-size: 26px; } .tr-recap summary span { flex: 1; min-width: 160px; font-size: 13px; color: var(--mute); } .tr-recap summary em { font-style: normal; font-size: 26px; color: var(--amber); } .tr-recap summary em small { font: 600 12px/1 var(--body); color: var(--mute); }
.tr-recap summary > .ic { width: 16px; height: 16px; color: var(--mute); transition: transform .2s; } .tr-recap[open] summary > .ic { transform: rotate(180deg); }
@media (max-width: 1023px) { .tr-hero-in, .tr-build { grid-template-columns: minmax(0, 1fr); } .tr-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-stage { min-height: 260px; } }
@media (max-width: 767px) { .tr-vs { grid-template-columns: minmax(0, 1fr); padding: 14px; } .tr-mid { justify-self: center; font-size: 34px; } .tr-rooms { grid-template-columns: minmax(0, 1fr); } .tr-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-hero-in { padding: 18px; } .tr-rhead, .tr-bar { padding-left: 14px; padding-right: 14px; } .tr-now { margin-left: 14px; margin-right: 14px; } .tr-slot img, .tr-noimg { width: 52px; height: 36px; } }
/* Entraînement branché sur le serveur : messages, pastille « en jeu », actions de l'hôte, panneau admin */
.tr-msg { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; padding: 10px 14px; font-size: 14px; line-height: 1.45; color: #D4D4D8; border-left: 3px solid var(--mute); background: rgba(0, 0, 0, .5); }
.tr-msg > .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--mute); } .tr-msg > div { flex: 1; min-width: 0; }
.tr-msg.ok { border-left-color: var(--green); } .tr-msg.ok > .ic { color: var(--green); }
.tr-msg.warn { border-left-color: var(--amber); } .tr-msg.warn > .ic { color: var(--amber); }
.tr-msg.ko { border-left-color: var(--red); } .tr-msg.ko > .ic { color: var(--red); }
.tr-msg .tr-link { margin-left: 8px; }
.tr-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #52525B; } .tr-live.on { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.tr-acts { display: flex; flex: none; gap: 4px; } .tr-num { color: var(--amber) !important; font-weight: 700; }
.tr-slot.out { opacity: .5; } .tr-out { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tr-now p + .tr-link { margin-top: 8px; }
.tr-adm .pad { padding: 0 18px 16px; } .tr-admlist { display: grid; gap: 4px; margin: 6px 0 10px; font-size: 13px; color: #D4D4D8; }
.tr-admlist li { padding: 6px 10px; background: rgba(0, 0, 0, .35); } .tr-admlist small { color: var(--mute); font-variant-numeric: tabular-nums; }
.tr-admlog { max-height: 320px; overflow-y: auto; }
/* ---------- La bonne affaire : petites annonces ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 16px; }
.ba-tab { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 3px solid rgba(255, 255, 255, .1); background: rgba(14, 10, 12, .8); transition: .15s; }
.ba-tab .ic { width: 16px; height: 16px; } .ba-tab:hover { color: #fff; border-color: rgba(245, 158, 11, .6); } .ba-tab.active { color: #fff; border-color: var(--amber); background: linear-gradient(180deg, rgba(245, 158, 11, .2), rgba(245, 158, 11, .04)); } .ba-tab.active .ic { color: var(--amber); }
.ba-tab b { min-width: 22px; padding: 2px 6px; font-size: 12px; letter-spacing: 0; text-align: center; color: #fff; background: rgba(255, 255, 255, .12); } .ba-tab b.hot { color: #09090B; background: var(--amber); animation: blink 1.4s infinite; }
.ba-post { height: 46px; margin-left: auto; padding: 0 20px; } .ba-post .ic { width: 16px; height: 16px; }
.ba-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(14, 10, 12, .85); }
.ba-filters .search { flex: 1 1 240px; width: auto; margin: 0; } .ba-filters .input { height: 40px; }
.ba-sel { width: auto; min-width: 170px; padding-right: 8px; color-scheme: dark; } .ba-sel:disabled { opacity: .4; }
.ba-max { position: relative; width: 140px; } .ba-max .ic { position: absolute; left: 10px; top: 12px; width: 16px; height: 16px; color: var(--amber); pointer-events: none; } .ba-max .input { padding-left: 32px; -moz-appearance: textfield; } .ba-max .input::-webkit-outer-spin-button, .ba-max .input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ba-seg { display: flex; } .ba-seg button, .ba-tog { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: .15s; }
.ba-seg button + button { border-left: 0; } .ba-seg .ic, .ba-tog .ic { width: 14px; height: 14px; } .ba-seg button:hover, .ba-tog:hover { color: #fff; } .ba-seg button.on { color: #fff; border-color: var(--red); background: var(--red); } .ba-tog.on { color: var(--amber); border-color: var(--amber); background: rgba(245, 158, 11, .12); }
.ba-count { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ba-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ba-card { position: relative; border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); transition: transform .18s, border-color .18s, box-shadow .18s; } .ba-card:hover { transform: translateY(-3px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 14px 30px -14px rgba(245, 158, 11, .55); }
.ba-card.mine { border-color: rgba(59, 130, 246, .5); } .ba-link { display: block; height: 100%; }
.ba-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 88%, color-mix(in srgb, var(--c) 55%, transparent), transparent 72%), linear-gradient(#16161a, #09090B); border-bottom: 2px solid var(--c); }
.ba-pic img { position: absolute; inset: 6% 8% 2%; width: 84%; height: 92%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .7)); transition: transform .3s; } .ba-card:hover .ba-pic img { transform: scale(1.06); }
.ba-pct { position: absolute; right: 10px; bottom: 6px; font-size: 44px; color: #fff; text-shadow: 0 2px 12px #000; } .ba-pct small { font-size: .5em; } .ba-pct .ic { width: 34px; height: 34px; } .ba-pct.big { right: 22px; bottom: 16px; font-size: 96px; } .ba-pct.big .ic { width: 72px; height: 72px; }
.ba-flags { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 52px); } .ba-flags .tag { background: rgba(9, 9, 11, .82); }
.ba-fav { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(9, 9, 11, .75); transition: .15s; } .ba-fav .ic { width: 16px; height: 16px; } .ba-fav:hover { border-color: var(--red); transform: scale(1.1); } .ba-fav.on { color: var(--red); border-color: var(--red); } .ba-fav.on .ic { fill: currentColor; }
.ba-body { display: grid; gap: 4px; padding: 12px 14px 12px; } .ba-title { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; } .ba-body .price { font-size: 22px; } .ba-body .price em { margin-left: 6px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ba-body > small, .ba-rowtop small { overflow: hidden; font-size: 12.5px; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.ba-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 8px; font-size: 12px; color: var(--dim); border-top: 1px solid rgba(255, 255, 255, .07); } .ba-foot span { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; } .ba-foot .ic { width: 12px; height: 12px; }
.ba-none { display: grid; justify-items: center; gap: 12px; padding: 54px 20px; text-align: center; color: var(--mute); border: 1px dashed rgba(255, 255, 255, .14); } .ba-none > .ic { width: 34px; height: 34px; color: var(--dim); } .ba-none.sm { padding: 22px 16px; } .ba-none.sm > .ic { width: 24px; height: 24px; }
.ba-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); } .ba-back:hover { color: #fff; } .ba-back .ic { width: 14px; height: 14px; }
.ba-stage { position: relative; height: 380px; overflow: hidden; background: radial-gradient(ellipse 60% 42% at 50% 86%, color-mix(in srgb, var(--c) 55%, transparent), transparent 76%), linear-gradient(#141418, #09090B); border-bottom: 2px solid var(--c); }
.ba-3d { position: absolute; inset: 0 14%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); } .ba-3d.viewer3d { background: none; } .ba-stage .ba-flags { left: 14px; top: 14px; }
.ba-in { padding: 6px 24px 24px; } .ba-h { margin: 22px 0 10px; font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.ba-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ba-facts div { padding: 10px 12px; border-left: 2px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); } .ba-facts dt { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); } .ba-facts dd { margin-top: 3px; font-size: 15px; font-weight: 700; }
.ba-text { font-size: 15px; line-height: 1.55; color: #D4D4D8; overflow-wrap: anywhere; } .ba-text em { color: var(--dim); }
.ba-seller { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .4); } .ba-seller > div { flex: 1; min-width: 180px; } .ba-seller b { display: flex; align-items: center; gap: 6px; font-size: 17px; } .ba-seller small { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.ba-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--mute); } .ba-meta span { display: flex; align-items: center; gap: 5px; } .ba-meta .ic { width: 13px; height: 13px; }
.ba-side h3 { margin-top: 10px; font-size: 40px; } .ba-sub { margin-top: 4px; font-size: 14px; color: var(--mute); }
.ba-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-size: 62px; color: var(--amber); } .ba-price > .ic { width: 36px; height: 36px; } .ba-price .tag { font-family: var(--body); }
.ba-gauge { margin: 12px 0 16px; padding: 10px 12px; border-left: 3px solid var(--c); background: rgba(0, 0, 0, .45); } .ba-gauge p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13px; color: var(--mute); } .ba-gauge b { color: var(--c); }
.ba-gauge > div { position: relative; height: 6px; margin-top: 10px; background: linear-gradient(90deg, #22C55E 0 35%, #F59E0B 35% 60%, #DC2626 60%); } .ba-gauge i { position: absolute; top: -5px; width: 4px; height: 16px; margin-left: -2px; background: #fff; box-shadow: 0 0 8px #000; }
.ba-state { display: flex; align-items: flex-start; gap: 12px; margin: 10px 0; padding: 12px 14px; border-left: 3px solid var(--c, var(--amber)); background: rgba(0, 0, 0, .5); } .ba-state > .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--c, var(--amber)); } .ba-state > div { flex: 1; min-width: 0; } .ba-state b { display: block; font-size: 15px; } .ba-state small { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.ba-state.ok { --c: #22C55E; } .ba-state.ko { --c: #DC2626; } .ba-state.info { --c: #3B82F6; } .ba-two { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .ba-two .btn .ic { width: 14px; height: 14px; }
.ba-offer { margin-top: 14px; padding: 14px; border: 1px solid rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .05); } .ba-offer .btn { margin-top: 10px; }
.ba-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; } .ba-quick button { padding: 7px 4px; font-size: 14px; font-weight: 700; text-align: center; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .4); transition: .15s; } .ba-quick button:hover { border-color: var(--amber); color: var(--amber); } .ba-quick small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.ba-firm { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--mute); } .ba-firm .ic { flex: none; width: 15px; height: 15px; }
.ba-thread { display: grid; gap: 6px; max-height: 240px; margin-top: 14px; padding: 10px; overflow-y: auto; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .35); scrollbar-width: thin; }
.ba-thread p { max-width: 86%; padding: 8px 12px; font-size: 14px; background: rgba(255, 255, 255, .07); } .ba-thread p.me { justify-self: end; background: rgba(245, 158, 11, .16); } .ba-thread p.ok { box-shadow: inset 3px 0 #22C55E; } .ba-thread p.ko { box-shadow: inset 3px 0 #DC2626; } .ba-thread small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ba-ask { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .ba-ask button, .ba-more button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; font-size: 12.5px; font-weight: 600; color: #D4D4D8; border: 1px solid rgba(255, 255, 255, .12); transition: .15s; } .ba-ask button:hover:not(:disabled), .ba-more button:hover { color: #fff; border-color: rgba(255, 255, 255, .4); } .ba-ask button:disabled { opacity: .4; } .ba-ask .ic, .ba-more .ic { width: 13px; height: 13px; }
.ba-more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); } .ba-more button.on { color: var(--red); border-color: var(--red); } .ba-more button.on .ic { fill: currentColor; }
.ba-safe { display: flex; gap: 8px; margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--mute); } .ba-safe .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--green); }
.ba-step { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 16px; font-weight: 700; } .ba-step i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; font-size: 20px; font-style: normal; color: #09090B; background: var(--amber); } .ba-step b { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--mute); }
.ba-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 232px; overflow-y: auto; scrollbar-width: thin; }
.ba-choice { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 6px; text-align: left; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .4); transition: .15s; } .ba-choice:hover { border-color: rgba(245, 158, 11, .6); } .ba-choice.on { border-color: var(--amber); background: rgba(245, 158, 11, .14); }
.ba-choice img { flex: none; width: 70px; height: 48px; object-fit: contain; } .ba-choice span { min-width: 0; } .ba-choice b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; } .ba-choice b .ic { width: 13px; height: 13px; color: var(--amber); } .ba-choice small { display: block; overflow: hidden; font-size: 12px; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.ba-qty { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .14); } .ba-qty button { width: 44px; height: 44px; font-size: 22px; background: rgba(255, 255, 255, .05); } .ba-qty button:disabled { opacity: .3; } .ba-qty b { min-width: 64px; font-size: 30px; text-align: center; }
.ba-advice { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; color: var(--mute); } .ba-advice .ic { flex: none; width: 15px; height: 15px; color: var(--amber); }
.ba-net { display: grid; gap: 4px; margin-top: 10px; padding: 10px 14px; background: rgba(0, 0, 0, .45); border-left: 3px solid var(--green); } .ba-net span { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--mute); } .ba-net b { color: #fff; } .ba-net b.display { display: flex; align-items: center; gap: 6px; font-size: 30px; color: var(--green); } .ba-net b .ic { width: 20px; height: 20px; }
.ba-area { height: 110px; padding: 10px 12px; line-height: 1.45; resize: vertical; font-family: inherit; }
.ba-prev { max-width: 320px; } .ba-prev .ba-link { pointer-events: none; } .ba-rules { display: grid; gap: 8px; } .ba-rules li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.45; color: #D4D4D8; } .ba-rules .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--green); }
.ba-rows { display: grid; gap: 12px; }
.ba-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); } .ba-rowpic .ba-pic { height: 100%; min-height: 150px; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--c); } .ba-rowin { min-width: 0; padding: 16px 18px; }
.ba-rowtop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .ba-rowtop > div { min-width: 0; } .ba-rowtop .ba-title { display: block; font-size: 20px; } .ba-rowtop small { display: flex; align-items: center; gap: 5px; } .ba-rowtop small .ic { width: 12px; height: 12px; } .ba-row .ba-meta { margin-top: 8px; }
.ba-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; } .hu-amount.sm { width: 170px; height: 40px; padding: 0 10px; } .hu-amount.sm input { font-size: 24px; } .hu-amount.sm .ic { width: 16px; height: 16px; } .ba-edit .btn .ic { width: 14px; height: 14px; }
.ba-dealline { margin-top: 8px; font-size: 14.5px; font-weight: 600; }
.ba-offers { display: grid; gap: 6px; margin-top: 14px; } .ba-o { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border-left: 3px solid var(--amber); background: rgba(245, 158, 11, .07); } .ba-o > div:first-child { flex: 1; min-width: 150px; } .ba-o b { display: flex; align-items: center; gap: 6px; } .ba-o small { font-size: 12.5px; color: var(--mute); }
.ba-oacts { display: flex; flex-wrap: wrap; gap: 6px; } .ba-oacts .btn .ic { width: 14px; height: 14px; } .ba-co { display: flex; } .ba-co .input { width: 96px; height: 36px; -moz-appearance: textfield; } .ba-co .input::-webkit-outer-spin-button, .ba-co .input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ba-owait { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--amber); } .ba-owait .ic { width: 15px; height: 15px; }
.ba-log td.plus { color: var(--green); font-weight: 700; } .ba-log td.minus { color: #F87171; font-weight: 700; } .ba-log td small { display: block; font-size: 11.5px; font-weight: 500; color: var(--mute); } .ba-log td:last-child, .ba-log th:last-child { text-align: right; }
@media (max-width: 1279px) { .ba-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ba-stage { height: 300px; } .ba-post { margin-left: 0; } }
@media (max-width: 767px) { .ba-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ba-3d { inset: 0 4%; } .ba-row { grid-template-columns: minmax(0, 1fr); } .ba-rowpic .ba-pic { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--c); } .ba-in { padding: 4px 14px 16px; } .ba-price { font-size: 48px; } .ba-choices { grid-template-columns: minmax(0, 1fr); } .ba-tab span { display: none; } .ba-tab.active span { display: inline; } .ba-sel, .ba-max { flex: 1 1 140px; width: auto; min-width: 0; } .ba-body { padding: 10px; } .ba-body .price { font-size: 19px; } .ba-foot span:last-child { display: none; } }
/* ---------- La bonne affaire : conversations privées (backend/marche.js) ---------- */
.hdr-msgs { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .14); background: var(--bg2); color: var(--mute); transition: color .15s, border-color .15s; }
.hdr-msgs .ic { width: 18px; height: 18px; } .hdr-msgs:hover { color: #fff; border-color: rgba(245, 158, 11, .6); } .hdr-msgs.hot { color: var(--amber); border-color: rgba(245, 158, 11, .7); }
.hdr-msgs b { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; font-size: 11px; line-height: 19px; text-align: center; color: #09090B; background: var(--amber); border-radius: 10px; }
.ba-state.counter { --c: var(--amber); } .ba-state.wait { --c: #A1A1AA; } .ba-state .ba-co { margin-top: 8px; gap: 6px; } .ba-state .btn.block { margin-top: 10px; }
.ba-state > .ic.spin, .ba-state .ic.spin { animation: spin 1.2s linear infinite; }
.ba-chathead { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .ba-chathead a { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; color: var(--amber); } .ba-chathead a .ic { width: 13px; height: 13px; }
.ba-chat { display: grid; gap: 8px; }
.ba-msgs { display: flex; flex-direction: column; gap: 8px; height: 300px; padding: 12px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .45); scrollbar-width: thin; }
.ba-convpanel .ba-msgs { height: min(56vh, 520px); }
.ba-msg { max-width: 82%; } .ba-msg p { padding: 9px 13px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; background: rgba(255, 255, 255, .08); border-left: 2px solid rgba(255, 255, 255, .18); }
.ba-msg small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--dim); }
.ba-msg.me { align-self: flex-end; text-align: right; } .ba-msg.me p { text-align: left; background: rgba(220, 38, 38, .2); border-left: 0; border-right: 2px solid var(--red); }
.ba-msg.them { align-self: flex-start; }
.ba-msg.deal p { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--amber); background: rgba(245, 158, 11, .1); border-color: var(--amber); }
.ba-msg.deal p .ic { width: 15px; height: 15px; } .ba-msg.accepte p { color: var(--green); background: rgba(34, 197, 94, .1); border-color: var(--green); } .ba-msg.refuse p { color: #F87171; background: rgba(220, 38, 38, .1); border-color: #F87171; }
.ba-msg.sys { align-self: center; max-width: 92%; } .ba-msg.sys span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; font-size: 12.5px; color: var(--mute); background: rgba(255, 255, 255, .05); }
.ba-msg.sys .ic { width: 14px; height: 14px; } .ba-msg.sys.achat span { color: var(--green); background: rgba(34, 197, 94, .08); }
.ba-day { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ba-day::before, .ba-day::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .08); }
.ba-chat-empty { display: flex; align-items: flex-start; gap: 10px; margin: auto 0; padding: 12px; font-size: 13.5px; line-height: 1.5; color: var(--mute); } .ba-chat-empty .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--amber); }
.ba-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.ba-compose textarea { min-height: 48px; max-height: 160px; padding: 10px 12px; line-height: 1.4; resize: vertical; font-family: inherit; }
.ba-compose .btn { height: auto; min-height: 48px; } .ba-compose small { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--dim); }
.ba-compose small b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ba-closed { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13.5px; color: var(--mute); background: rgba(0, 0, 0, .4); } .ba-closed .ic { width: 15px; height: 15px; }
.ba-chattop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; } .ba-chattop > div { flex: 1; min-width: 0; } .ba-chattop b { display: block; font-size: 18px; }
.ba-chattop small { display: block; overflow: hidden; font-size: 13px; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.ba-convs { display: grid; gap: 6px; } .ba-convs.big { gap: 8px; }
.ba-convrow { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); transition: border-color .15s, background .15s; }
.ba-convrow:hover { border-color: rgba(245, 158, 11, .5); } .ba-convrow.unread { border-left: 3px solid var(--amber); background: rgba(245, 158, 11, .06); }
.ba-convpic { flex: none; width: 76px; height: 52px; background: radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); } .ba-convpic img { width: 100%; height: 100%; object-fit: contain; }
.ba-convin { display: grid; gap: 2px; flex: 1; min-width: 0; } .ba-convtop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; } .ba-convtop b { font-size: 15.5px; } .ba-convtop small { margin-left: auto; font-size: 12px; color: var(--dim); }
.ba-convad { overflow: hidden; font-size: 12.5px; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; } .ba-convad .ic { width: 12px; height: 12px; color: var(--amber); vertical-align: -1px; }
.ba-convlast { overflow: hidden; font-size: 13.5px; color: #D4D4D8; text-overflow: ellipsis; white-space: nowrap; } .ba-convrow.unread .ba-convlast { font-weight: 700; color: #fff; }
.ba-badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; line-height: 22px; text-align: center; color: #09090B; background: var(--amber); border-radius: 11px; } .ba-badge.sm { min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; }
.ba-mini { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ba-mini .ba-pic { aspect-ratio: 16 / 11; } .ba-mini > span { display: grid; gap: 4px; min-width: 0; } .ba-mini .ba-title { font-size: 18px; } .ba-mini small { font-size: 12.5px; color: var(--mute); }
.ba-mini .price { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--amber); } .ba-mini .price em { font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ba-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; } .ba-stats .pk-gauge + .pk-gauge { margin-top: 0; }
.pk-m em { flex: none; margin-left: auto; padding-left: 6px; font-size: 11px; font-style: normal; white-space: nowrap; color: var(--amber); }
@media (max-width: 767px) {
  .hdr-msgs { width: 36px; height: 36px; } .ba-msgs, .ba-convpanel .ba-msgs { height: 52vh; } .ba-msg { max-width: 92%; }
  .ba-convpic { width: 56px; height: 40px; } .ba-convtop small { margin-left: 0; width: 100%; } .ba-stats { grid-template-columns: minmax(0, 1fr); }
  .ba-mini { grid-template-columns: 96px minmax(0, 1fr); } .ba-compose .btn span { display: none; } .ba-chattop .btn { width: 100%; }
}
/* ---------- Centre de notifications : cloche de l'en-tête + page #/notifications (EP.notifs, backend/notifs.js) ---------- */
.nc-wrap { position: relative; flex: none; }
.nc-pop { position: absolute; right: 0; top: 50px; z-index: 60; width: 420px; max-width: calc(100vw - 24px); background: var(--bg2); border: 1px solid rgba(255, 255, 255, .12); border-top: 2px solid var(--amber); box-shadow: 0 25px 50px -12px #000, 0 0 0 1px rgba(0, 0, 0, .4); }
.nc-pop.open { display: flex; flex-direction: column; max-height: min(78vh, 640px); }
.nc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; } .nc-head b { display: block; font-size: 26px; line-height: 1; letter-spacing: .02em; }
.nc-head small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); } .nc-head .btn { flex: none; } .nc-head .btn .ic { width: 14px; height: 14px; }
.nc-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nc-cat { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .35); transition: color .15s, border-color .15s; }
.nc-cat:hover { color: #fff; } .nc-cat.on { color: #09090B; background: var(--c, var(--amber)); border-color: var(--c, var(--amber)); }
.nc-cat b { min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 16px; text-align: center; color: #09090B; background: var(--c, var(--amber)); border-radius: 8px; } .nc-cat.on b { color: #fff; background: rgba(0, 0, 0, .35); }
.nc-list { flex: 1; display: grid; align-content: start; gap: 6px; min-height: 0; padding: 10px 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.nc-row { position: relative; display: flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); transition: border-color .15s, background .15s; }
.nc-row:hover { border-color: rgba(245, 158, 11, .5); } .nc-row.unread { border-left: 3px solid var(--c, var(--amber)); background: color-mix(in srgb, var(--c, #F59E0B) 7%, var(--panel)); }
.nc-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 10px 6px 10px 12px; color: inherit; cursor: pointer; }
.nc-pic { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; color: var(--c); background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 28%, transparent), transparent 72%); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.nc-pic > .ic { width: 20px; height: 20px; } .nc-pic.dino { width: 66px; border: 0; } .nc-pic.dino img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px #000); }
.nc-pic.dino i { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 22px; height: 22px; color: #09090B; background: var(--c); border-radius: 50%; } .nc-pic.dino i .ic { width: 12px; height: 12px; }
.nc-in { display: grid; gap: 2px; flex: 1; min-width: 0; } .nc-top { display: flex; align-items: baseline; gap: 8px; } .nc-top b { flex: 1; min-width: 0; overflow: hidden; font-size: 14.5px; text-overflow: ellipsis; white-space: nowrap; }
.nc-top small { flex: none; font-size: 11.5px; color: var(--dim); } .nc-row.unread .nc-top b { color: #fff; } .nc-row:not(.unread) .nc-top b { color: #D4D4D8; font-weight: 600; }
.nc-txt { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--mute); overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nc-tag { justify-self: start; margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.nc-x { flex: none; display: grid; place-items: center; width: 34px; color: var(--dim); opacity: 0; transition: opacity .15s, color .15s; } .nc-row:hover .nc-x, .nc-x:focus-visible { opacity: 1; } .nc-x:hover { color: #F87171; } .nc-x .ic { width: 14px; height: 14px; }
.nc-none { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 34px 12px; font-size: 14px; color: var(--mute); text-align: center; } .nc-none .ic { width: 18px; height: 18px; color: var(--amber); }
.nc-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nc-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); } .nc-foot a:hover { color: #fff; } .nc-foot a:first-child { color: var(--amber); } .nc-foot .ic { width: 13px; height: 13px; }
.nc-foot b { min-width: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; text-align: center; color: #09090B; background: var(--amber); border-radius: 9px; letter-spacing: 0; }
.nc-page { display: grid; gap: 14px; } .nc-pagebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nc-pagebar .nc-cats { padding: 0; border: 0; } .nc-pagebar .nc-cat { height: 36px; padding: 0 14px; font-size: 12px; } .nc-pacts { display: flex; flex-wrap: wrap; gap: 8px; } .nc-pacts .btn .ic { width: 15px; height: 15px; }
.nc-list.big { padding: 0; gap: 8px; overflow: visible; } .nc-list.big .nc-link { padding: 14px 8px 14px 16px; } .nc-list.big .nc-pic { width: 54px; height: 54px; } .nc-list.big .nc-pic.dino { width: 86px; }
.nc-list.big .nc-top b { font-size: 16px; } .nc-list.big .nc-txt { font-size: 14px; -webkit-line-clamp: 3; } .nc-list.big .nc-x { opacity: .6; width: 42px; }
@media (max-width: 767px) {
  .nc-wrap { position: static; } .nc-pop { position: fixed; left: 8px; right: 8px; top: calc(var(--top) + 4px); width: auto; max-width: none; }
  .nc-pop.open { max-height: calc(100vh - var(--top) - 90px); } .nc-x { opacity: .7; } .nc-pagebar { align-items: stretch; } .nc-pacts .btn { flex: 1; }
}
/* ---------- Objets utilisables en jeu (Inventaire, Elder Prime : EP.objets, backend/objets.js) ---------- */
.obj-run { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--amber); background: rgba(245, 158, 11, .08); }
.obj-run > .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--amber); } .obj-run > div { flex: 1; min-width: 0; } .obj-run b { display: block; font-size: 16px; }
.obj-run .bar { height: 6px; margin: 8px 0 6px; } .obj-run .bar i { background: var(--amber); transition: width .9s linear; } .obj-run small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.obj-why, .obj-tip { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 13.5px; line-height: 1.45; } .obj-why { color: var(--amber); } .obj-tip { color: var(--mute); }
.obj-why .ic, .obj-tip .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.obj-jet { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .15s; }
.obj-jet:hover { color: #F87171; } .obj-jet .ic { width: 13px; height: 13px; }
.obj-jetbox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(220, 38, 38, .35); background: rgba(220, 38, 38, .06); }
.obj-jetbox > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); } .obj-jetbox .istep { margin: 0; } .obj-jetbox .btn .ic { width: 14px; height: 14px; }
.obj-jetbox small { flex-basis: 100%; font-size: 12px; color: var(--dim); }
.obj-rules { display: grid; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); } .obj-rules li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.obj-rules .ic { flex: none; width: 13px; height: 13px; margin-top: 2px; color: var(--green); }
/* ---------- Petit jeu : mini-jeux 3D ---------- */
.pj-cap { font-size: .5em; color: var(--mute); }
.pj-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pj-card { position: relative; grid-column: span 6; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: var(--panel); overflow: hidden; transition: transform .2s, box-shadow .2s; } .pj-card { grid-column: span 6; flex-direction: row; }
.pj-card:not(.wip):hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px var(--c); }
.pj-art { position: relative; min-height: 190px; overflow: hidden; background: radial-gradient(ellipse 70% 70% at 50% 100%, color-mix(in srgb, var(--c) 60%, transparent), transparent 70%), linear-gradient(#17171b, #09090B); border-bottom: 2px solid var(--c); } .pj-card .pj-art { flex: 0 0 52%; min-height: 300px; border-bottom: 0; border-right: 2px solid var(--c); }
.pj-art img { position: absolute; bottom: 4%; width: 62%; height: 84%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .75)); transition: transform .35s; } .pj-art img.d0 { left: -4%; } .pj-art img.d1 { right: 0; width: 40%; height: 56%; } .pj-card:not(.wip):hover .pj-art img.d0 { transform: translateX(3%) scale(1.04); }
.pj-art .tag { position: absolute; right: 10px; top: 10px; background: rgba(9, 9, 11, .8); } .pj-n { position: absolute; left: 14px; top: 8px; font-size: 64px; color: rgba(255, 255, 255, .1); }
.pj-cin { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; } .pj-cin h3 { font-size: 34px; } .pj-card .pj-cin { justify-content: center; padding: 28px 32px; } .pj-card h3 { font-size: clamp(40px, 5vw, 66px); } .pj-cin > p { font-size: 14.5px; line-height: 1.5; color: #D4D4D8; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 6px; } .pj-tags span { padding: 3px 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.pj-cfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; } .pj-cfoot small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); } .pj-cfoot b { font-size: 30px; color: var(--amber); }
.pj-wip { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); } .pj-wip .ic { width: 15px; height: 15px; } .pj-card.wip .pj-art img { filter: grayscale(.85) brightness(.55); }
.pj-rule { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--mute); } .pj-rule .ic { flex: none; width: 15px; height: 15px; color: var(--amber); } .pj-rule.in { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pj-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; overflow: hidden; background: #0d0706; border: 1px solid rgba(220, 38, 38, .5); box-shadow: 0 30px 80px -40px rgba(220, 38, 38, .7); outline: none; touch-action: none; user-select: none; } .pj-frame:fullscreen { max-height: none; border: 0; }
.pj-frame canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.pj-over { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 40%, rgba(9, 9, 11, .5), rgba(9, 9, 11, .9)); } .pj-over[hidden] { display: none; }
.pj-screen { display: grid; justify-items: center; gap: 10px; max-width: 620px; text-align: center; } .pj-kick { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--red); } .pj-screen h2 { font-size: clamp(44px, 8vw, 96px); text-shadow: 0 6px 30px rgba(220, 38, 38, .6); } .pj-screen > p { font-size: 15px; line-height: 1.5; color: #D4D4D8; }
.pj-best, .pj-load, .pj-gain { display: flex; align-items: center; gap: 8px; } .pj-best .ic, .pj-load .ic, .pj-gain .ic { width: 16px; height: 16px; color: var(--amber); } .pj-best b { color: var(--amber); } .pj-go { min-width: 220px; margin-top: 8px; height: 56px; font-size: 17px; } .pj-screen small { font-size: 12px; color: var(--mute); }
.pj-score { color: var(--amber); text-shadow: 0 6px 30px rgba(245, 158, 11, .5) !important; } .pj-detail { display: flex; gap: 26px; } .pj-detail span { display: grid; } .pj-detail b { font-size: 20px; color: #fff; } .pj-gain { font-weight: 700; color: var(--amber); } .pj-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pj-fs { position: absolute; right: 10px; bottom: 10px; z-index: 5; display: grid; place-items: center; width: 36px; height: 36px; color: #fff; border: 1px solid rgba(255, 255, 255, .2); background: rgba(9, 9, 11, .6); } .pj-fs:hover { border-color: var(--amber); } .pj-fs .ic { width: 16px; height: 16px; }
.pj-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 22px; padding: 14px 18px; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .55), transparent); } .pj-hud[hidden] { display: none; }
.pj-stat small, .pj-gap small { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #D4D4D8; } .pj-stat b { font-size: 40px; text-shadow: 0 2px 10px #000; } .pj-stat.egg b { color: var(--amber); }
.pj-gap { flex: 1; max-width: 360px; margin-left: auto; } .pj-gap small .ic { width: 12px; height: 12px; } .pj-gap > div { height: 12px; margin-top: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .5); } .pj-gap i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, #DC2626); transition: width .25s; } .pj-gap.hot small { color: #F87171; animation: blink .5s infinite; }
.pj-flash { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(220, 38, 38, .75)); } .pj-flash.on { animation: pj-flash .6s ease-out; } @keyframes pj-flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.pj-big { position: absolute; left: 0; right: 0; top: 34%; z-index: 3; font-size: clamp(60px, 13vw, 170px); text-align: center; color: #fff; pointer-events: none; text-shadow: 0 8px 40px rgba(220, 38, 38, .9); } .pj-big[hidden] { display: none; } .pj-big.go { animation: pj-big .9s ease-out both; } @keyframes pj-big { 0% { opacity: 0; transform: scale(2.2); } 20% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(.94); } }
.pj-stat.lvl b { color: #F87171; }
.pj-duel { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 18px; padding: 14px 18px 22px; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .6), transparent); } .pj-duel[hidden] { display: none; }
.pj-fighter small { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E4E4E7; } .pj-fighter.foe small { justify-content: flex-end; } .pj-fighter em { padding: 1px 7px; font-style: normal; letter-spacing: .1em; color: #09090B; background: var(--amber); animation: blink .35s infinite; } .pj-fighter em[hidden] { display: none; }
.pj-life { height: 16px; margin-top: 6px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .55); } .pj-life i { display: block; height: 100%; background: linear-gradient(90deg, #991B1B, #EF4444); transition: width .2s; } .pj-fighter.foe .pj-life { display: flex; justify-content: flex-end; } .pj-fighter.foe .pj-life i { background: linear-gradient(270deg, #166534, #22C55E); }
.pj-stam { height: 6px; margin-top: 4px; background: rgba(0, 0, 0, .55); } .pj-stam i { display: block; height: 100%; background: var(--amber); transition: width .1s; }
.pj-mid { display: grid; justify-items: center; gap: 2px; } .pj-mid small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #D4D4D8; } .pj-mid small b { color: var(--amber); font-size: 13px; } .pj-mid > b { font-size: 38px; text-shadow: 0 2px 10px #000; }
@media (max-width: 767px) { .pj-duel { gap: 8px; padding: 10px; } .pj-mid > b { font-size: 24px; } .pj-fighter small { font-size: 9px; letter-spacing: .06em; } }
.pj-hearts.eggs i { width: 13px; height: 17px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: none; border-color: rgba(255, 255, 255, .25); } .pj-hearts.eggs i.on { border-color: #f1e3c4; background: #f1e3c4; box-shadow: 0 0 8px rgba(245, 158, 11, .7); } .pj-hearts.eggs i.out { border-color: var(--amber); background: none; animation: blink .5s infinite; }
.pj-pad { position: absolute; right: 56px; bottom: 12px; z-index: 4; display: flex; gap: 8px; } .pj-pad[hidden] { display: none; }
.pj-pad button { position: relative; display: grid; justify-items: center; gap: 3px; width: 76px; padding: 8px 4px 7px; overflow: hidden; color: var(--mute); border: 1px solid rgba(255, 255, 255, .2); background: rgba(9, 9, 11, .72); touch-action: none; } .pj-pad button.ready { color: #fff; border-color: var(--amber); }
.pj-pad button > i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: rgba(220, 38, 38, .45); pointer-events: none; } .pj-pad kbd { position: relative; font: 700 13px/1 var(--body); color: var(--amber); } .pj-pad span { position: relative; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 767px) { .pj-pad { right: 8px; bottom: 54px; } .pj-pad button { width: 66px; padding: 12px 4px; } }
.pj-stat.time b { min-width: 2.6em; color: #7DD3FC; font-variant-numeric: tabular-nums; } .pj-stat.time.hot b { color: #F87171; animation: blink .5s infinite; } .pj-hud { flex-wrap: wrap; }
.pj-arrow { position: absolute; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; color: #09090B; background: var(--amber); border-radius: 50%; box-shadow: 0 0 26px rgba(245, 158, 11, .9); pointer-events: none; } .pj-arrow[hidden] { display: none; } .pj-arrow .ic { width: 28px; height: 28px; }
.pj-plus { position: absolute; left: 0; right: 0; top: 24%; z-index: 3; font-size: clamp(22px, 3.4vw, 44px); text-align: center; color: var(--amber); pointer-events: none; text-shadow: 0 3px 16px #000; } .pj-plus[hidden] { display: none; } .pj-plus.go { animation: pj-plus 1.1s ease-out both; } @keyframes pj-plus { 0% { opacity: 0; transform: translateY(18px) scale(1.3); } 15% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
.pj-hearts { display: flex; gap: 5px; margin-top: 9px; } .pj-hearts i { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); transform: rotate(45deg); } .pj-hearts i.on { border-color: var(--red); background: var(--red); box-shadow: 0 0 10px var(--red); }
.pj-airl { margin-top: 8px; } .pj-gap > .pj-air { height: 7px; margin-top: 5px; } .pj-air i { background: linear-gradient(90deg, #0EA5E9, #7DD3FC) !important; transition: width .15s !important; } .pj-air.out { border-color: #F87171; animation: blink .4s infinite; }
.pj-gap.food i { background: linear-gradient(90deg, #DC2626, #F59E0B 45%, #22C55E); } .pj-day { font-size: 12.5px; color: var(--mute); }
.pj-cfoot b i { font: 600 13px/1 var(--body); font-style: normal; color: var(--mute); } .pj-cfoot > span + span { margin-left: 18px; margin-right: auto; }
.pj-dbg { position: absolute; left: 10px; bottom: 10px; z-index: 5; max-width: 80%; padding: 4px 8px; font: 600 11px/1.3 ui-monospace, monospace; color: #A7F3D0; background: rgba(0, 0, 0, .7); pointer-events: none; } .pj-dbg[hidden] { display: none; }
.pj-warn { position: absolute; top: 20%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; margin-left: -27px; font: 700 34px/1 var(--display); color: #fff; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 14px; pointer-events: none; animation: blink .35s infinite; } .pj-warn[hidden] { display: none; }
.pj-skip { position: absolute; right: 56px; bottom: 16px; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); pointer-events: none; } .pj-skip[hidden] { display: none; }
.pj-pause { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 6px; background: rgba(9, 9, 11, .7); } .pj-pause[hidden] { display: none; } .pj-pause b { font-size: 80px; } .pj-pause small { color: var(--mute); }
.pj-under { margin-top: 16px; } .pj-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .pj-keys li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(0, 0, 0, .4); border-left: 2px solid var(--red); } .pj-keys kbd { flex: none; min-width: 92px; padding: 5px 8px; font: 700 13px/1 var(--body); text-align: center; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-bottom-width: 3px; background: rgba(255, 255, 255, .06); } .pj-keys span { font-size: 14px; font-weight: 600; } .pj-tips { margin-top: 16px; }
.board.rk.pj-board td:nth-child(2), .board.rk.pj-board th:nth-child(2) { text-align: left; } .board.rk.pj-board td:last-child { color: var(--amber); font-weight: 700; }
@media (max-width: 1023px) { .pj-card { flex-direction: column; } .pj-card .pj-art { flex: none; min-height: 220px; border-right: 0; border-bottom: 2px solid var(--c); } }
@media (max-width: 767px) { .pj-card { grid-column: span 6; } .pj-keys { grid-template-columns: minmax(0, 1fr); } .pj-frame { aspect-ratio: 3 / 4; max-height: 82vh; } .pj-stat b { font-size: 28px; } .pj-hud { gap: 14px; padding: 10px 12px; } .pj-gap { max-width: 150px; } .pj-detail { gap: 16px; } }
/* ---------- Skins : prix de création, et rayons de l'inventaire ---------- */
.rk-tabs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk-tab .sk-cost { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px 9px; font: 400 20px/1 var(--display); font-style: normal; letter-spacing: .04em; color: var(--amber); border: 1px solid rgba(245, 158, 11, .45); background: rgba(0, 0, 0, .45); } .rk-tab .sk-cost .ic { width: 14px; height: 14px; }
.sk-price { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; padding: 10px 14px; border-left: 3px solid var(--amber); background: rgba(245, 158, 11, .08); } .sk-price .ic { width: 20px; height: 20px; color: var(--amber); } .sk-price b { font-size: 30px; line-height: 1; color: var(--amber); } .sk-price span { font-size: 13px; color: #D4D4D8; }
.isk-stage { height: 340px; } .isk-info { display: grid; gap: 10px; padding: 16px; } .isk-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); } .isk-meta .ic { width: 16px; height: 16px; color: var(--amber); } .isk-meta b { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.isk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .isk-row .btn { height: 40px; padding: 0 10px; font-size: 11px; } .isk-row .btn .ic { width: 14px; height: 14px; }
.isk-shelf { --k: #A1A1AA; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-top: 3px solid var(--k); background: rgba(9, 9, 11, .78); } .isk-shelf.m-boost { --k: #F59E0B; }
.isk-shelf header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .isk-shelf header > .ic { width: 20px; height: 20px; color: var(--k); } .isk-shelf h3 { font-size: 26px; line-height: 1; } .isk-shelf header > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--mute); } .isk-shelf header .btn { margin-left: auto; } .isk-shelf header .btn .ic { width: 13px; height: 13px; }
.isk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.isk-card { position: relative; display: grid; gap: 2px; padding: 10px 12px; text-align: left; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s; } .isk-card:hover { border-color: rgba(255, 255, 255, .3); } .isk-card.on { border-color: var(--k); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--k); }
.isk-dots { display: flex; height: 22px; margin-bottom: 6px; } .isk-dots i { flex: 1; } .isk-card b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .isk-card small { font-size: 12px; color: var(--mute); } .isk-card em { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); } .isk-card em .ic { width: 11px; height: 11px; }
@media (max-width: 899px) { .rk-tab .sk-cost { font-size: 15px; padding: 3px 6px; } .isk-shelf header { flex-wrap: wrap; } .isk-stage { height: 260px; } }
/* ---------- Pièce : achat de pièces ---------- */
.cs-h { margin-bottom: 12px; font-size: 30px; }
.cs-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cs-pack { position: relative; display: grid; justify-items: center; gap: 2px; padding: 22px 12px 0; overflow: hidden; text-align: center; border: 1px solid rgba(255, 255, 255, .1); background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, calc(.05 + var(--lv) * .025)), transparent 70%), rgba(9, 9, 11, .82); transition: transform .18s, border-color .18s, box-shadow .18s; }
.cs-pack:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .55); } .cs-pack.on { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber), 0 12px 40px rgba(245, 158, 11, .18); } .cs-pack.star { border-color: rgba(245, 158, 11, .4); }
.cs-tag { position: absolute; top: 0; left: 0; right: 0; padding: 4px 6px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #09090B; background: var(--amber); } .cs-pack.star { padding-top: 34px; }
.cs-stack { display: flex; align-items: flex-end; justify-content: center; height: 54px; margin-bottom: 6px; } .cs-stack i { width: 34px; height: 34px; margin: 0 -9px; border-radius: 50%; border: 3px solid #b45309; background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 55%, #b45309); box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 4px rgba(255, 255, 255, .12); } .cs-stack i:nth-child(even) { transform: translateY(-9px); } .cs-stack i:nth-child(3n) { transform: translateY(-16px); }
.cs-pack b { font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: var(--amber); } .cs-pack small { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.cs-bonus { margin-top: 8px; padding: 3px 9px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #86efac; border: 1px solid rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); } .cs-bonus.none { color: var(--mute); border-color: rgba(255, 255, 255, .12); background: none; }
.cs-price { display: block; width: calc(100% + 24px); margin-top: 14px; padding: 10px 0; font-size: 26px; color: #fff; background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .1); } .cs-pack.on .cs-price, .cs-pack:hover .cs-price { color: #09090B; background: var(--amber); }
.cs-custom.on { box-shadow: 0 12px 40px rgba(245, 158, 11, .14); }
.cs-amount { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 16px 0 14px; }
.cs-field { display: flex; align-items: center; width: 210px; height: 72px; padding: 0 16px; border: 1px solid rgba(245, 158, 11, .55); background: rgba(0, 0, 0, .55); } .cs-field input { flex: 1; min-width: 0; font: 400 46px/1 var(--display); color: #fff; background: none; border: 0; outline: 0; -moz-appearance: textfield; appearance: textfield; } .cs-field input::-webkit-outer-spin-button, .cs-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .cs-field input::placeholder { color: rgba(255, 255, 255, .25); } .cs-field span { font: 400 36px/1 var(--display); color: var(--amber); } .cs-field:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
.cs-eq { display: flex; align-items: center; gap: 14px; } .cs-eq > .ic { width: 22px; height: 22px; color: var(--mute); } .cs-eq b { display: block; font-size: 46px; line-height: 1; color: var(--amber); } .cs-eq small { font-size: 12px; color: var(--mute); }
.cs-range { width: 100%; accent-color: var(--amber); }
.cs-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .cs-quick button { padding: 7px 14px; font-size: 13px; font-weight: 700; color: #D4D4D8; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); } .cs-quick button:hover { border-color: rgba(245, 158, 11, .6); color: #fff; } .cs-quick button.on { color: #09090B; background: var(--amber); border-color: var(--amber); }
.cs-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #D4D4D8; } .cs-hint .ic { flex: none; width: 15px; height: 15px; color: var(--amber); }
.cs-side { align-self: start; position: sticky; top: 88px; }
.cs-total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; } .cs-total .ic { align-self: center; width: 28px; height: 28px; color: var(--amber); } .cs-total b { font-size: 56px; line-height: 1; color: var(--amber); text-shadow: 0 4px 24px rgba(245, 158, 11, .4); } .cs-total span { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.cs-lines { display: grid; margin-bottom: 14px; } .cs-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; color: #D4D4D8; border-bottom: 1px solid rgba(255, 255, 255, .07); } .cs-lines b { color: #fff; white-space: nowrap; } .cs-lines .plus b, .cs-lines .plus span { color: #86efac; } .cs-lines .dim { color: var(--mute); } .cs-lines .dim b { color: var(--mute); } .cs-lines .pay { align-items: baseline; padding-top: 12px; border-bottom: 0; font-weight: 700; color: #fff; } .cs-lines .pay b { font-size: 34px; line-height: 1; }
.cs-safe { display: flex; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--mute); } .cs-safe .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--green); }
.cs-tiers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; } .cs-tiers button { display: grid; gap: 2px; padding: 10px 4px; text-align: center; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); } .cs-tiers button:hover { border-color: rgba(245, 158, 11, .5); } .cs-tiers small { font-size: 11px; color: var(--mute); } .cs-tiers b { font-size: 26px; line-height: 1; color: #86efac; } .cs-tiers button.on { border-color: var(--amber); background: rgba(245, 158, 11, .12); }
.cs-free { display: grid; gap: 6px; margin-top: 12px; } .cs-free a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 14px; color: #D4D4D8; background: rgba(255, 255, 255, .03); border-left: 3px solid rgba(34, 197, 94, .6); } .cs-free a:hover { color: #fff; background: rgba(255, 255, 255, .07); } .cs-free .ic { flex: none; width: 15px; height: 15px; color: var(--green); } .cs-free span { flex: 1; } .cs-free .ic:last-child { color: var(--mute); }
.cs-hist { display: grid; gap: 4px; margin-top: 4px; } .cs-hist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: var(--mute); border-bottom: 1px solid rgba(255, 255, 255, .06); } .cs-hist b { margin-left: auto; color: var(--amber); } .cs-hist em { width: 62px; font-style: normal; text-align: right; color: #fff; }
@media (max-width: 899px) { .cs-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cs-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cs-side { position: static; } .cs-field { width: 100%; } .cs-eq b { font-size: 38px; } }
/* ---------- Abonnement ---------- */
.ab-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0; align-items: stretch; }
.ab-card { --c: var(--amber); position: relative; display: flex; flex-direction: column; padding: 26px 18px 18px; border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--c); background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 62%), rgba(9, 9, 11, .86); transition: transform .18s, box-shadow .18s; }
.ab-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0, 0, 0, .5); } .ab-card.star, .ab-card.on { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); } .ab-card.star, .ab-card.on { padding-top: 40px; }
.ab-tag { position: absolute; top: 0; left: 0; right: 0; padding: 5px 6px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .18em; text-align: center; text-transform: uppercase; color: #09090B; background: var(--c); }
.ab-card header { text-align: center; } .ab-crown { display: inline-grid; place-items: center; width: 50px; height: 50px; color: #09090B; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); } .ab-crown .ic { width: 24px; height: 24px; }
.ab-card h3 { margin-top: 10px; font-size: 38px; line-height: 1; color: var(--c); } .ab-price { margin: 8px 0 16px; } .ab-price b { font-size: 44px; line-height: 1; color: #fff; } .ab-price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.ab-perks { display: grid; gap: 7px; flex: 1; align-content: start; margin-bottom: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); } .ab-perks li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.35; color: #E4E4E7; } .ab-perks .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--c); } .ab-perks small { display: block; font-size: 11.5px; color: var(--mute); }
.ab-st-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; } .ab-st-head > div { flex: 1; min-width: 200px; } .ab-st-head small { font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); } .ab-st-head h3 { font-size: 34px; line-height: 1; color: var(--c); } .ab-st-head p { font-size: 13px; color: #D4D4D8; }
.ab-credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; } .ab-credits a { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--amber); } .ab-credits a:hover { background: rgba(255, 255, 255, .08); } .ab-credits .ic { grid-row: span 2; width: 22px; height: 22px; color: var(--amber); } .ab-credits b { font-size: 30px; line-height: 1; color: #fff; } .ab-credits b i { font-size: 18px; font-style: normal; color: var(--mute); } .ab-credits small { font-size: 12px; color: var(--mute); }
.ab-scroll { overflow-x: auto; } .ab-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; } .ab-table th, .ab-table td { padding: 9px 10px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .07); } .ab-table th { font: 400 20px/1 var(--display); letter-spacing: .04em; color: var(--c, #A1A1AA); } .ab-table td:first-child { text-align: left; color: #D4D4D8; white-space: nowrap; } .ab-table td:first-child .ic { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; color: var(--amber); } .ab-table td { color: var(--mute); } .ab-table td b { color: #fff; } .ab-table td .ic { width: 16px; height: 16px; color: var(--green); } .ab-table .on { background: rgba(245, 158, 11, .09); } .ab-prow td { border-bottom: 0; font-weight: 700; }
.sub-badge { --c: var(--amber); display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 6px; padding: 4px 12px 4px 9px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #09090B; background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent); } .sub-badge .ic { width: 14px; height: 14px; }
.sk-price.inc { border-left-color: var(--green); background: rgba(34, 197, 94, .08); } .sk-price.inc .ic, .sk-price.inc b { color: #86efac; }
@media (max-width: 1180px) { .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ab-cards { grid-template-columns: minmax(0, 1fr); } .ab-credits { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Achat Dinosaure ---------- */
.ds-stage { height: 380px; } .ds-side { align-self: start; position: sticky; top: 88px; }
.ds-kick { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); } .ds-name { margin-bottom: 4px; font-size: 44px; line-height: 1; }
.ds-config .sk-label b { margin-left: auto; color: var(--amber); } .ds-config .sk-label { display: flex; } .ds-config .sk-seg button:disabled { opacity: .35; cursor: not-allowed; }
.ds-lines { margin-top: 16px; } .ds-lines .pay b { display: flex; align-items: center; gap: 8px; color: var(--amber); } .ds-lines .pay .ic { width: 22px; height: 22px; }
.ds-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .ds-filter button { padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .12); } .ds-filter button:hover { color: #fff; } .ds-filter button.on { color: #fff; background: var(--red); border-color: var(--red); }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; max-height: 318px; padding: 2px 6px 2px 2px; overflow-y: auto; scrollbar-width: thin; }
.ds-sp { display: grid; gap: 1px; padding: 0 0 8px; overflow: hidden; text-align: left; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: border-color .15s, transform .15s; } .ds-sp:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, .5); } .ds-sp.on { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.ds-sp img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; background: #111; } .ds-sp b, .ds-sp small, .ds-sp em { padding: 0 9px; } .ds-sp b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; } .ds-sp small { font-size: 11px; color: var(--mute); } .ds-sp em { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; font-style: normal; font-weight: 700; color: var(--amber); } .ds-sp em .ic { width: 12px; height: 12px; }
.pk-m.need { border-style: dashed; border-color: rgba(245, 158, 11, .5); } .pk-m.need span { color: var(--amber); }
@media (max-width: 899px) { .ds-side { position: static; } .ds-stage { height: 280px; } }
/* ---------- Pass de combat ---------- */
.bp-hero-in { --c: var(--amber); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; align-items: center; padding: 28px; background-size: cover; background-position: center; }
.bp-kick { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--c); } .bp-kick .ic { width: 16px; height: 16px; }
.bp-hl h3 { margin: 8px 0; font-size: clamp(40px, 5vw, 72px); line-height: .92; text-shadow: 0 6px 30px color-mix(in srgb, var(--c) 45%, transparent); } .bp-text { max-width: 520px; font-size: 15px; line-height: 1.5; color: #D4D4D8; }
.bp-ev { --c: var(--amber); display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #09090B; background: var(--c); } .bp-ev .ic { width: 14px; height: 14px; }
#bp-hero, #bp-track { margin-bottom: 16px; }
.bp-scroll { scrollbar-color: rgba(245, 158, 11, .7) rgba(255, 255, 255, .06); } .bp-scroll::-webkit-scrollbar { height: 8px; } .bp-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); } .bp-scroll::-webkit-scrollbar-thumb { background: rgba(245, 158, 11, .7); }
.bp-reset { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #D4D4D8; } .bp-reset .ic { width: 15px; height: 15px; color: var(--c); }
.bp-how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-hr { padding: 18px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .1); } .bp-level { display: flex; align-items: baseline; justify-content: space-between; } .bp-level small { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); } .bp-level b { font-size: 54px; line-height: 1; color: #fff; } .bp-level i { font-size: 24px; font-style: normal; color: var(--mute); }
.bp-bar { height: 8px; margin: 10px 0 6px; overflow: hidden; background: rgba(255, 255, 255, .12); } .bp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), #fff); } .bp-xp { margin-bottom: 14px; font-size: 12px; color: var(--mute); }
.bp-prem.on { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #09090B; background: var(--amber); } .bp-prem .ic { width: 16px; height: 16px; }
.bp-thead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .bp-thead .btn .ic { width: 15px; height: 15px; }
.bp-rows { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; } .bp-labels { display: grid; grid-template-rows: 118px 30px 118px; gap: 6px; } .bp-labels span { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); } .bp-labels .prem { color: var(--amber); } .bp-labels .ic { width: 14px; height: 14px; }
.bp-scroll { overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; } .bp-track { display: flex; gap: 6px; width: max-content; }
.bp-col { display: grid; grid-template-rows: 118px 30px 118px; gap: 6px; width: 118px; } .bp-n { display: grid; place-items: center; font-size: 20px; color: var(--mute); background: rgba(255, 255, 255, .05); } .bp-col.have .bp-n { color: #09090B; background: var(--amber); } .bp-col.next .bp-n { color: #fff; box-shadow: inset 0 0 0 1px var(--amber); }
.bp-cell { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center; align-content: start; gap: 1px; padding: 9px 6px 0; overflow: hidden; text-align: center; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); } .bp-cell.prem { border-color: rgba(245, 158, 11, .28); background: rgba(245, 158, 11, .05); }
.bp-ric { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 3px; color: #D4D4D8; background: rgba(255, 255, 255, .07); border-radius: 50%; } .bp-ric .ic { width: 17px; height: 17px; } .bp-cell.prem .bp-ric { color: var(--amber); } .bp-cell.big { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); } .bp-cell.big .bp-ric { color: #09090B; background: var(--amber); }
.bp-cell b { max-width: 100%; overflow: hidden; font-size: 12.5px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; color: #fff; } .bp-cell small { font-size: 10px; color: var(--mute); }
.bp-cell em { display: flex; align-items: center; justify-content: center; gap: 4px; align-self: end; width: calc(100% + 12px); margin-top: 6px; padding: 5px 2px; font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: rgba(0, 0, 0, .45); } .bp-cell em .ic { width: 10px; height: 10px; }
.bp-cell.ready { border-color: var(--green); cursor: pointer; animation: bp-pulse 1.6s ease-in-out infinite; } .bp-cell.ready em { color: #09090B; background: var(--green); } .bp-cell.done { opacity: .55; } .bp-cell.done em { color: #86efac; } .bp-cell.wait b, .bp-cell.lock b { color: #A1A1AA; } @keyframes bp-pulse { 50% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .28); } }
.bp-seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; } .bp-season { --c: var(--amber); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-left: 3px solid var(--c); background: rgba(255, 255, 255, .03); } .bp-season.on { background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px var(--c); }
.bp-sicon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: #09090B; background: var(--c); } .bp-sicon .ic { width: 18px; height: 18px; } .bp-season div { flex: 1; min-width: 0; } .bp-season b { display: block; font-size: 22px; line-height: 1; } .bp-season small { font-size: 12px; color: var(--mute); } .bp-season em, .bp-events em { font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-align: right; text-transform: uppercase; color: var(--c); }
.bp-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .bp-events li { --c: var(--amber); display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255, 255, 255, .03); border-left: 3px solid var(--c); } .bp-events li.on { background: color-mix(in srgb, var(--c) 16%, transparent); } .bp-events .ic { flex: none; width: 16px; height: 16px; color: var(--c); } .bp-events div { flex: 1; min-width: 0; } .bp-events b { display: block; font-size: 14px; } .bp-events small { font-size: 12px; color: var(--mute); }
.bp-how a { border-left-color: rgba(245, 158, 11, .7); } .bp-how .ic { color: var(--amber); }
@media (max-width: 899px) { .bp-hero-in { grid-template-columns: minmax(0, 1fr); padding: 18px; } .bp-rows { grid-template-columns: minmax(0, 1fr); } .bp-labels { display: none; } .bp-how { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Backend : avatar Steam, statut hors ligne, « En jeu maintenant » ---------- */
.avatar.pic { overflow: hidden; padding: 0; } .avatar.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st.off { color: #F87171; } .st.off .ic { width: 16px; height: 16px; }
#pf-live:empty { display: none; } .block-title .ic { width: 18px; height: 18px; margin-right: 8px; vertical-align: -2px; color: var(--green); }
.pf-live { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .pf-live img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; flex: none; background: #111; }
.pf-live b { display: block; font-size: 28px; line-height: 1; } .pf-live small { font-size: 13px; color: var(--mute); } .pf-live p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .pf-live .tag .ic { width: 12px; height: 12px; }
.pf-lbar { margin-bottom: 8px; } .pf-lbar p { display: flex; justify-content: space-between; font-size: 12px; color: #D4D4D8; } .pf-lbar i { display: block; height: 6px; margin-top: 3px; background: rgba(255, 255, 255, .08); } .pf-lbar u { display: block; height: 100%; text-decoration: none; }
/* ---------- Parrainage ---------- */
.rf-code { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; border: 1px dashed rgba(245, 158, 11, .6); background: radial-gradient(ellipse at 0% 50%, rgba(245, 158, 11, .16), transparent 70%), rgba(0, 0, 0, .45); }
.rf-code b { flex: 1; min-width: 200px; font-size: clamp(44px, 6vw, 76px); letter-spacing: .08em; color: var(--amber); text-shadow: 0 4px 24px rgba(245, 158, 11, .45); user-select: all; } .rf-code .btn .ic { width: 16px; height: 16px; }
.rf-link { display: flex; gap: 8px; } .rf-link .input { flex: 1; min-width: 0; height: 42px; font-family: ui-monospace, monospace; font-size: 13px; } .rf-link .btn { height: 42px; white-space: nowrap; } .rf-link .btn .ic { width: 14px; height: 14px; }
.rf-by { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; font-size: 14px; color: #D4D4D8; border-left: 3px solid var(--amber); background: rgba(0, 0, 0, .4); } .rf-by .ic { flex: none; width: 16px; height: 16px; color: var(--amber); }
.rf-steps { display: grid; gap: 10px; } .rf-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(0, 0, 0, .4); } .rf-steps i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; font-size: 24px; font-style: normal; color: #09090B; background: var(--amber); } .rf-steps b { display: block; font-size: 15px; } .rf-steps small { font-size: 13px; color: var(--mute); }
.rf-gifts { display: grid; gap: 6px; } .rf-gifts li { --c: var(--amber); display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-left: 3px solid var(--c); background: rgba(0, 0, 0, .4); } .rf-gifts .ic { flex: none; width: 18px; height: 18px; color: var(--c); } .rf-gifts b { font-size: 15px; } .rf-gifts b.display { font-size: 28px; color: var(--amber); } .rf-gifts span { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-align: right; text-transform: uppercase; color: var(--mute); }
/* ---------- Cinématique d'accueil du nouveau joueur ---------- */
body.wl-open { overflow: hidden; }
.wl { position: fixed; inset: 0; z-index: 70; overflow: hidden; color: #fff; background: #050506; animation: fade .6s; }
.wl-bg i { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0; filter: saturate(.85) brightness(.5); transition: opacity 1.4s ease; } .wl-bg i.on { opacity: 1; animation: wl-zoom 16s linear both; } @keyframes wl-zoom { from { transform: scale(1); } to { transform: scale(1.14) translateX(-2%); } }
.wl::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 5, 6, .94) 0%, rgba(5, 5, 6, .62) 46%, rgba(5, 5, 6, .2) 100%), radial-gradient(ellipse at 70% 60%, transparent 30%, rgba(5, 5, 6, .8) 100%); }
.wl-embers { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.wl-bar { position: absolute; left: 0; right: 0; z-index: 3; height: 7vh; background: #000; } .wl-bar.top { top: 0; animation: wl-bar-t .9s ease both; } .wl-bar.bottom { bottom: 0; animation: wl-bar-b .9s ease both; } @keyframes wl-bar-t { from { transform: translateY(-100%); } } @keyframes wl-bar-b { from { transform: translateY(100%); } }
.wl-stage { position: absolute; inset: calc(7vh + 10px) 0 calc(7vh + 86px); z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 0 clamp(20px, 6vw, 110px); }
.wl-text { grid-column: 1; grid-row: 1; max-width: 720px; max-height: 100%; padding-bottom: 28px; overflow-y: auto; scrollbar-width: thin; } .wl-dino { grid-column: 2; grid-row: 1; position: relative; height: min(64vh, 620px); } .wl-3d { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, transparent 76%); mask-image: radial-gradient(ellipse at center, #000 52%, transparent 76%); } .wl-3d.viewer3d { background: none; }
.wl-kick { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: #FF4D4D; text-shadow: 0 1px 10px rgba(0, 0, 0, .9); } .wl-kick .ic { width: 18px; height: 18px; }
.wl-text h2 { margin-top: 10px; font-size: clamp(36px, 4.4vw, 70px); line-height: .9; text-shadow: 0 8px 44px rgba(220, 38, 38, .55); } .wl-lead { max-width: 600px; margin-top: 12px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: #E4E4E7; }
.wl-text ul { display: grid; gap: 9px; margin-top: 22px; } .wl-text li { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(14px, 1.2vw, 16.5px); line-height: 1.45; color: #D4D4D8; } .wl-text li .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--amber); }
.wl-text.in .wl-kick { animation: wl-in .6s ease both; } .wl-text.in h2 { animation: wl-in .7s .12s ease both; } .wl-text.in .wl-lead { animation: wl-in .7s .3s ease both; } .wl-text.in li, .wl-text.in .wl-code, .wl-text.in > .btn, .wl-text.in .wl-err { animation: wl-in .6s ease both; animation-delay: .5s; } @keyframes wl-in { from { opacity: 0; transform: translateY(26px); } }
.wl-nav { position: absolute; left: 0; right: 0; bottom: 7vh; z-index: 4; display: grid; gap: 14px; padding: 0 clamp(20px, 6vw, 110px) 18px; } .wl-nav[hidden] { display: none; }
.wl-dots { display: flex; gap: 6px; } .wl-dots span { flex: 1; height: 4px; overflow: hidden; background: rgba(255, 255, 255, .18); } .wl-dots i { display: block; width: 0; height: 100%; background: var(--amber); } .wl-dots .done i { width: 100%; } .wl-dots .cur i { animation: wl-fill linear both; } @keyframes wl-fill { from { width: 0; } to { width: 100%; } }
.wl-btns { display: flex; align-items: center; gap: 10px; } .wl-btns .btn { height: 46px; padding: 0 22px; } .wl-btns .btn .ic { width: 16px; height: 16px; } .wl-btns .btn:disabled { opacity: .3; } .wl-skip { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); } .wl-skip:hover { color: #fff; }
.wl-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #09090B; background: var(--amber); animation: wl-in .6s .2s ease both; } .wl-tag .ic { width: 15px; height: 15px; }
.wl-text .wl-points { gap: 6px; margin-top: 16px; } .wl-text .wl-points li { align-items: center; gap: 14px; padding: 7px 14px; border-left: 3px solid var(--amber); background: rgba(0, 0, 0, .46); } .wl-points i { flex: none; width: 26px; font-size: 30px; font-style: normal; line-height: 1; text-align: center; color: var(--amber); } .wl-points b { display: block; font-size: clamp(14.5px, 1.2vw, 17px); color: #fff; } .wl-points span { display: block; margin-top: 2px; font-size: clamp(13px, 1.02vw, 14.5px); line-height: 1.4; color: #C4C4CC; }
.wl-text.code { max-width: 640px; } .wl-code { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; } .wl-code .input { flex: 1; min-width: 220px; height: 60px; padding: 0 18px; font: 400 36px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); border-color: rgba(245, 158, 11, .6); background: rgba(0, 0, 0, .6); } .wl-code .btn { height: 60px; }
.wl-err { min-height: 22px; margin: 8px 0 10px; font-size: 14px; font-weight: 600; color: #F87171; }
.wl-gifts { margin-top: 20px !important; } .wl-gifts li { align-items: center !important; padding: 10px 14px; border-left: 3px solid var(--amber); background: rgba(0, 0, 0, .5); } .wl-gifts b { font-size: 16px; color: #fff; } .wl-gifts b.display { font-size: 30px; color: var(--amber); } .wl-gifts li.dim { border-left-color: rgba(255, 255, 255, .25); color: var(--mute); } .wl-gifts + .btn { margin-top: 22px; }
@media (max-height: 800px) and (min-width: 900px) { .wl-bar { height: 4vh; } .wl-stage { inset: calc(4vh + 8px) 0 calc(4vh + 80px); } .wl-nav { bottom: 4vh; padding-bottom: 10px; } .wl-text h2 { font-size: clamp(32px, 3.4vw, 50px); } .wl-lead { font-size: 15px; } .wl-text .wl-points { margin-top: 12px; gap: 5px; } .wl-text .wl-points li { padding: 5px 12px; } .wl-points i { font-size: 24px; } .wl-tag { margin-top: 8px; padding: 5px 12px; } }
@media (max-width: 899px) { .wl-stage { grid-template-columns: minmax(0, 1fr); align-content: center; padding: 0 20px; } .wl-bar { height: 3vh; } .wl-stage { inset: 3vh 0 calc(3vh + 96px); } .wl-nav { bottom: 3vh; } .wl-lead { margin-top: 10px; font-size: 14.5px; } .wl-dino { display: none; } .wl::after { background: rgba(5, 5, 6, .78); } .wl-nav { padding: 0 20px 12px; } .wl-skip { letter-spacing: .06em; } .rf-link { flex-wrap: wrap; } .rf-gifts span { display: none; } }
/* Badges : losange à la couleur de la rareté (--c). Petit à côté d'un pseudo, lg / xl dans les pages. */
a.who-name { transition: color .15s; } a.who-name:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.pf-banner .pf-acts { position: absolute; right: 14px; top: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; } .pf-banner .pf-acts button { position: static; }
.pf-vis { margin: -6px 24px 20px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #D4D4D8; border-left: 2px solid var(--c); background: rgba(255, 255, 255, .035); } .pf-vis .ic { width: 16px; height: 16px; color: var(--c); flex: none; }
.pf-gap { margin-top: 16px; }
.pf-private { padding: 44px 24px; text-align: center; } .pf-private > .ic { width: 38px; height: 38px; color: var(--red); }
.pf-private h3 { margin: 12px 0 6px; font-size: 34px; } .pf-private p { max-width: 460px; margin: 0 auto; font-size: 14px; color: var(--mute); }
.pf-badges.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-his { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.badges { display: inline-flex; align-items: center; gap: 5px; margin-left: 9px; vertical-align: middle; }
.badge { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; color: var(--c); background: color-mix(in srgb, var(--c) 22%, #0b0809); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); position: relative; }
.badge::before { content: ""; position: absolute; inset: 0; background: var(--c); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%, 50% 0, 50% 9%, 9% 50%, 50% 91%, 91% 50%, 50% 9%); }
.badge .ic { width: 10px; height: 10px; stroke-width: 2.6; position: relative; }
.badge.lg { width: 40px; height: 40px; } .badge.lg .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.badge.xl { width: 58px; height: 58px; } .badge.xl .ic { width: 23px; height: 23px; stroke-width: 2; }
.badge.lg::before, .badge.xl::before { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%, 50% 0, 50% 6%, 6% 50%, 50% 94%, 94% 50%, 50% 6%); }
.badge[data-badge] { cursor: help; outline: 0; }
#badge-tip { position: fixed; z-index: 300; left: 0; top: 0; width: max-content; max-width: 260px; padding: 10px 14px 11px; border: 1px solid var(--c); border-top-width: 3px; background: #0b0809; box-shadow: 0 10px 30px rgba(0, 0, 0, .7); pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .12s, transform .12s; }
#badge-tip.open { opacity: 1; visibility: visible; transform: none; }
#badge-tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #0b0809; border-right: 1px solid var(--c); border-bottom: 1px solid var(--c); transform: rotate(45deg); }
#badge-tip.below::after { bottom: auto; top: -7px; border: 0; border-left: 1px solid var(--c); border-top: 3px solid var(--c); }
#badge-tip b { display: block; font-size: 15px; line-height: 1.2; color: #fff; }
#badge-tip span { display: block; margin: 3px 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
#badge-tip p { font-size: 13px; line-height: 1.35; color: #D4D4D8; }
.badge.none, .badge.locked { --c: #3f3f46; color: #52525B; }
.pf-name h3 .badges { gap: 7px; margin-left: 14px; } .pf-name h3 .badge { width: 30px; height: 30px; } .pf-name h3 .badge .ic { width: 14px; height: 14px; }
.ach-bar { height: 8px; margin-bottom: 16px; }
.ach-mine { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(220, 38, 38, .35); background: rgba(220, 38, 38, .07); }
.ach-mine b { display: block; font-size: 14px; } .ach-mine small { font-size: 12px; color: var(--mute); }
.ach-slots { display: flex; gap: 10px; }
.ach-slots.big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ach-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; text-align: center; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .4); transition: border-color .15s; }
button.ach-slot:hover { border-color: var(--red); }
.ach-slot small { font-size: 12px; font-weight: 600; line-height: 1.2; }
.ach-slot.free small { color: var(--dim); }
.ach-preview { margin-top: 14px; font-size: 13px; color: var(--mute); } .ach-preview b { font-size: 15px; color: #fff; }
.ach-top { margin-bottom: 16px; } .ach-top > div { display: grid; }
.ach-rar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ach-rar div { padding: 12px; border-top: 2px solid var(--c); background: rgba(0, 0, 0, .4); }
.ach-rar b { font-size: 34px; line-height: 1; color: var(--c); } .ach-rar b span { font-size: 18px; color: var(--dim); }
.ach-rar small { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ach { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid rgba(255, 255, 255, .07); border-left: 3px solid var(--c); background: var(--panel); }
.ach:not(.done) { border-left-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ach:not(.done) .ach-txt b { color: #A1A1AA; }
.ach.on { border-color: var(--c); box-shadow: 0 0 22px -8px var(--c); }
.ach-txt { flex: 1; min-width: 0; }
.ach-txt p { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ach-txt b { font-size: 16px; line-height: 1.2; }
.ach-r { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.ach-txt small { display: block; margin: 3px 0 10px; font-size: 13px; line-height: 1.35; color: var(--mute); }
.ach-prog { display: flex; align-items: center; gap: 10px; } .ach-prog .bar { flex: 1; }
.ach-prog span { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mute); }
.profile-link { display: flex; align-items: center; gap: 8px; height: 36px; margin-top: 8px; padding: 0 10px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .1); transition: .15s; }
.profile-link:hover { border-color: var(--red); } .profile-link .ic { width: 15px; height: 15px; color: var(--red); }
.pf-list { display: grid; gap: 8px; margin-bottom: 14px; }
.pf-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, .035); }
.pf-list li.free { border-left-color: rgba(255, 255, 255, .15); color: var(--dim); }
.pf-list b { font-size: 15px; }
.pf-list small { font-size: 12px; font-weight: 600; color: var(--mute); }
.pf-list small.ok { color: var(--green); }
.pf-list a:hover b { color: var(--red); }
.pf-empty { margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.pf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pi.pad.col { display: flex; flex-direction: column; }
.pi.pad.col > .btn { margin-top: auto; }
/* Top survivants */
.table-wrap { overflow-x: auto; scrollbar-width: none; }
.board { width: 100%; min-width: 540px; border-collapse: collapse; text-align: left; }
.board th { padding: 12px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.board td { padding: 12px; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.board tr:last-child td { border-bottom: 0; }
.board th:first-child, .board td:first-child { width: 56px; padding-left: 20px; }
.board th:last-child, .board td:last-child { padding-right: 20px; text-align: right; }
.board td:first-child { font-size: 24px; }
.board td:nth-child(2) { font-weight: 700; }
.board td:nth-child(3) { color: var(--mute); }
.board td:nth-child(4), .board td:last-child { font-variant-numeric: tabular-nums; }
.board td:last-child { color: var(--red); }
.board tbody tr { transition: background .15s; }
.board tbody tr:hover { background: rgba(255, 255, 255, .04); }
.board tr.me { background: rgba(220, 38, 38, .1); }
.you { margin-left: 8px; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); }
/* Support */
.discord { display: flex; flex-direction: column; }
.discord-ic { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--red); }
.discord-ic .ic { width: 22px; height: 22px; }
.discord h3 { margin-top: 16px; font-size: 36px; }
.discord-desc { margin-top: 4px; color: var(--mute); }
.discord-stats { display: flex; gap: 24px; margin: 20px 0; }
.discord-stats p { font-size: 36px; }
.discord-stats .green { color: var(--green); }
.discord-stats small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.discord .btn .ic { width: 17px; height: 17px; }
.ticket-title { font-size: 36px; }
.ticket { display: grid; gap: 16px; justify-items: start; margin-top: 16px; }
.ticket > * { width: 100%; }
.ticket > .btn { width: auto; }
.ticket .btn .ic { width: 15px; height: 15px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { height: 36px; padding: 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); transition: .15s; }
.pick:hover { color: #fff; }
.pick.active { color: #fff; border-color: var(--red); background: rgba(220, 38, 38, .15); }
.ticket textarea { display: block; width: 100%; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--text); background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .1); outline: none; resize: none; transition: border-color .15s; }
.ticket textarea:focus { border-color: var(--red); }
.ticket textarea::placeholder { color: rgba(161, 161, 170, .5); }

/* ------------------------------------------------------------ 8. carte */
.mapage { padding-top: calc(var(--top) + 14px); padding-bottom: 20px; }
.map-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.map-head h1 { font: 400 46px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.map-head small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--mute); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; height: calc(100vh - var(--top) - 96px); min-height: 600px; }
.map-frame > .pi { padding: 0; overflow: hidden; background: #b7cbd6; }
.map-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.map-frame canvas:active { cursor: grabbing; }
.map-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.map-tools { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.map-tools::-webkit-scrollbar { height: 0; }
.map-tools .btn { flex: none; height: 36px; padding: 0 12px; gap: 8px; font-size: 11px; letter-spacing: .12em; }
.map-tools .btn .ic { width: 14px; height: 14px; }
.map-hint, .map-legend { position: absolute; bottom: 12px; padding: 6px 12px; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; background: rgba(9, 9, 11, .8); pointer-events: none; }
.map-hint { left: 12px; color: #d4d4d8; }
.map-legend { right: 12px; display: grid; gap: 4px; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 16px; height: 10px; }
.map-wait { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--bg); }
.map-wait p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.map-wait .ic { color: var(--red); width: 18px; height: 18px; }
.map-wait small { flex-basis: 100%; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute); }
/* Noms des lieux et repères d'amis posés par le moteur (js/pages/carte3d.js) */
.ep-maplabel { position: absolute; left: 0; top: 0; padding: 3px 9px 3px 8px; font: 700 11px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--text); background: rgba(9, 9, 11, .78); border-left: 2px solid var(--red); pointer-events: auto; will-change: transform; }
.ep-maplabel:hover { background: var(--red); }
.ep-maplabel[data-tier="0"] { font-size: 13px; color: var(--amber); border-left-color: var(--amber); }
.ep-maplabel[data-tier="0"]:hover { color: #fff; }
.ep-maplabel[data-tier="2"] { padding: 2px 7px 2px 6px; font-size: 10px; color: #d4d4d8; background: rgba(9, 9, 11, .66); border-left-color: var(--mute); }
.ep-mappin { font-size: 12px; color: var(--green); background: rgba(9, 9, 11, .9); border-left-color: var(--green); }
.ep-mappin:hover { color: #fff; background: #16a34a; }
/* Colonne de droite : zones (hauteur de son contenu) puis amis (prend le reste et défile) */
.map-side { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
#friends { flex: 1; min-height: 0; }
#friends > .panel { height: 100%; }
#friends .pi { display: flex; flex-direction: column; }
.zones li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.zones li.off .zone-main { opacity: .45; }
.zone-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.zone-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; }
.zone-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; color: var(--c); border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.zone-txt { flex: 1; min-width: 0; }
.zone-txt b, .zone-txt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zone-txt b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.zone-txt small { font-size: 11px; color: var(--mute); }
.zone-n { font-size: 11px; font-weight: 700; color: var(--dim); }
.zone-main > .ic { color: var(--dim); transition: transform .2s; }
.zones li.open .zone-main > .ic { transform: rotate(180deg); }
.check { display: grid; place-items: center; flex: none; width: 24px; height: 24px; color: var(--bg); border: 1px solid var(--c); }
.check[aria-checked="true"] { background: var(--c); }
.zone-places { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px 54px; }
.place { padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d4d4d8; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.place:hover:not(:disabled) { color: #fff; border-color: rgba(255, 255, 255, .4); }
.place:disabled { opacity: .4; }
#friend-search { flex: none; width: auto; margin: 12px 12px 8px; height: 36px; }
.friends { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.friends::-webkit-scrollbar { width: 6px; }
.friends::-webkit-scrollbar-thumb { background: #3f3f46; }
.friend { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.friend.off { opacity: .45; }
.friend .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--green); }
.friend.off .dot { background: #52525b; }
.friend div { flex: 1; min-width: 0; line-height: 1.2; }
.friend b, .friend small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend b { font-size: 14px; }
.friend small { font-size: 11px; color: var(--mute); }
.friend .btn.sm { height: 28px; }
.friends .none { padding: 16px; font-size: 14px; color: var(--dim); }
.fstate { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fstate.wait { color: var(--amber); }

/* ------------------------------------------------------------ 9. cinématique d'intro */
/* L'étape en cours est portée par data-beat : load · card · film · title · tag · lang */
.intro { position: fixed; inset: 0; z-index: 80; overflow: hidden; background: #000; transition: opacity .8s ease-in-out, transform .8s ease-in-out; }
.intro.out { opacity: 0; transform: scale(1.05); pointer-events: none; }
.intro > * { position: absolute; }
.intro-canvas { inset: 0; width: 100%; height: 100%; }
.intro-vignette { inset: 0; background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, .8) 100%); pointer-events: none; }
.intro-black { inset: 0; background: #000; pointer-events: none; }
.intro-flash { inset: 0; background: #ffd0c8; opacity: 0; pointer-events: none; }
.intro.fallback { background: #000 url("../img/dinos/austro.jpg") center / cover; }
.intro.fallback .intro-black { opacity: .55 !important; }
.intro-bar { left: 0; right: 0; z-index: 1; height: clamp(6vh, calc((100vh - 100vw / 2.39) / 2), 21vh); background: #000; transition: height .7s; }
.intro-bar.top { top: 0; } .intro-bar.bottom { bottom: 0; }
.intro[data-beat="lang"] .intro-bar { height: 0; }
.intro-stage { inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; text-align: center; }
.intro-wait { display: none; width: 96px; height: 1px; background: var(--red); animation: blink 1.2s infinite; }
.intro[data-beat="load"] .intro-wait { display: block; }
.intro-card { display: none; max-width: 36rem; font: 600 clamp(18px, 2.4vw, 24px)/1.4 var(--serif); letter-spacing: .08em; color: rgba(244, 244, 245, .9); animation: fade 1.2s; }
.intro[data-beat="card"] .intro-card { display: block; }
.intro-logo { display: none; width: min(86vw, 620px); user-select: none; filter: drop-shadow(0 0 60px rgba(220, 38, 38, .55)); transition: width .7s ease-out; animation: logo .55s .3s cubic-bezier(.16, 1, .3, 1) backwards; }
.intro[data-beat="title"] .intro-logo, .intro[data-beat="tag"] .intro-logo, .intro[data-beat="lang"] .intro-logo { display: block; }
.intro[data-beat="lang"] .intro-logo { width: min(70vw, 330px); }
@keyframes logo { from { opacity: 0; transform: scale(1.9); } }
.intro-below { width: 100%; max-width: 28rem; animation: enter .6s; }
.intro-tag { margin-top: 20px; font: 600 clamp(20px, 3vw, 30px)/1.3 var(--serif); }
.intro-tag.small { font-size: 15px; color: #d4d4d8; }
.intro-sub { margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.intro-choose { margin: 24px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--amber); }
.intro-langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.intro-langs button { height: 64px; font: 400 30px/1 var(--display); color: var(--mute); background: rgba(0, 0, 0, .7); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: .2s; }
.intro-langs button:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.intro-langs button.active { color: #fff; background: var(--red); }
.intro-below .btn { margin-top: 20px; font-size: 16px; }
.intro-below .btn .ic { width: 18px; height: 18px; }
.intro-sound, .intro-skip { bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.intro-sound { left: 20px; color: var(--amber); pointer-events: none; animation: blink 1.6s infinite; }
.intro-skip { right: 20px; color: rgba(161, 161, 170, .8); }
.intro-skip:hover { color: #fff; }
.intro.sound .intro-sound, .intro.fallback .intro-sound, .intro[data-beat="load"] .intro-sound, .intro[data-beat="lang"] .intro-sound, .intro[data-beat="lang"] .intro-skip { display: none; }

/* ------------------------------------------------------------ 10. écrans étroits */
@media (min-width: 1400px) { .userbtn .who { display: block; } }
@media (max-width: 1279px) {
  /* Le menu du haut laisse place à la barre d'onglets en bas ; une catégorie ouvre une feuille avec ses pages */
  .nav { display: none; }
  .page { padding-bottom: 60px; }
  .toasts { left: 12px; right: 12px; bottom: 76px; }
  .tabbar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(9, 9, 11, .97); border-top: 1px solid rgba(255, 255, 255, .1); }
  .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
  .tab .ic { width: 19px; height: 19px; }
  .tab span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tab.active { color: #fff; }
  .tab.active .ic { color: var(--red); }
  .tab.active::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px; background: var(--red); }
  .sheet { position: fixed; inset: auto 0 60px 0; max-height: calc(100vh - 140px); overflow-y: auto; padding: 6px 0; background: var(--bg2); border-top: 2px solid var(--red); }
  .sheet-title { padding: 8px 20px 4px; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
  .sheet .nav-sub { padding: 12px 20px; font-size: 14px; color: #D4D4D8; }
  .sheet .nav-sub .ic { width: 14px; height: 14px; opacity: 1; transform: none; }
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-frame { height: 62vh; min-height: 420px; }
  .friends { max-height: 340px; }
}
@media (max-width: 1023px) {
  .hero h1 { font-size: 112px; }
  .cols, .cols.five { grid-template-columns: 1fr; }
  .event-hero > .pi { grid-template-columns: 1fr; }
  .eh-img { min-height: 240px; }
  .eh-img i { background: linear-gradient(to top, var(--panel), transparent 60%); }
  .eh-body { padding: 8px 24px 28px; }
  .c7, .c5, .c3, .c2 { grid-column: auto; }
  .dino-stage { flex: none; height: 460px; min-height: 0; }
  .status { grid-template-columns: repeat(2, 1fr); }
  .st.on { grid-column: span 2; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .st:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .st:nth-child(odd) { border-right: 0; }
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qcard { aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dino-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mslots, .mslots.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .abilities { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .coinframe span, .footer-in small { display: none; }
  .footer-in { flex-direction: column; text-align: center; }
  .footer-in small { display: block; }
  .map-hint { display: none; }
  .map-head small { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 639px) {
  .topbar-in { gap: 8px; padding: 0 12px; }
  .wrap { padding-left: 12px; padding-right: 12px; }
  .topbar-right { gap: 6px; }
  .brand img { height: 44px; }
  .steam.compact span, .userbtn > .ic { display: none; }
  .hero h1 { font-size: 19vw; }
  .hero-kicker { font-size: 11px; }
  .sect-head h2 { font-size: 48px; }
  .pi.pad { padding: 20px; }
  .radar-grid, .cards, .mcards, .mslots, .mslots.four, .mform { grid-template-columns: 1fr; }
  .dino-grid, .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dino-stage { height: 380px; }
  .pad { padding: 16px; }
  .ptitle .right { display: none; }
  .card-head { flex-wrap: wrap; }
  .stile b { font-size: 36px; }
  .search { width: 100%; }
  .patterns { margin-left: 0; }
  .rstat b { font-size: 14px; }
  .chest { flex-direction: column; align-items: flex-start; }
  .chest .btn { width: 100%; }
  .qcard { aspect-ratio: 4 / 5; }
  .qbody b { font-size: 30px; }
  .address code { font-size: 30px; }
  .eh-body h3 { font-size: 44px; }
  .vote-top { flex-direction: column; }
  .pf-tiles, .pf-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ach-grid { grid-template-columns: 1fr; }
  .ach-rar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-banner { height: 150px; }
  .pf-name h3 { font-size: 34px; }
  .pf-species img { width: 80px; height: 54px; }
  .steps.four { grid-template-columns: 1fr; }
  .vote-top h3 { font-size: 32px; }
  .podium { grid-template-columns: 1fr; }
  .clock b { font-size: 36px; }
  .reward-sum .display { font-size: 72px; }
  .ticket > .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ===================================================================
   Admin (#/admin) — js/pages/admin.js
   =================================================================== */
.pa-cols .block-title { margin-bottom: 12px; }
.pa-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pa-status code { font-size: 12px; color: var(--dim); }
.pa-status small { font-size: 12px; color: var(--dim); }
.pa-err { margin-top: 10px; padding: 8px 10px; font-size: 13px; color: #FCA5A5; background: rgba(220, 38, 38, .1); border-left: 2px solid var(--red); }
.pa-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 12px 0; }
.pa-kv p { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); padding-bottom: 4px; }
.pa-kv span { color: var(--dim); } .pa-kv b { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 10px; }
.pa-row.grow > .input { flex: 1 1 160px; height: 36px; }
.pa-row select.input { flex: 0 0 170px; height: 36px; }
.pa-form { display: grid; gap: 4px; }
.pa-form label .input, .pa-mini .input { height: 36px; }
.pa-mini { display: grid; gap: 4px; flex: 1 1 120px; }
.pa-danger { color: #fff; background: #7F1D1D; border: 1px solid var(--red); }
/* Admin : onglets Serveur / Map, et éditeur des zones de la carte (js/pages/admin-carte.js) */
.pa-tabs { margin-bottom: 16px; }
.amap .c8 { grid-column: span 8; } .amap .c4 { grid-column: span 4; } .amap > * { min-width: 0; } .amap .stack { grid-template-columns: minmax(0, 1fr); }
.amap-frame > .pi { position: relative; padding: 0; overflow: hidden; }
.amap-frame canvas { display: block; width: 100%; max-width: 100%; touch-action: none; outline: none; background: #0a0c0b; }
.amap-zoom { position: absolute; top: 12px; right: 12px; display: grid; gap: 6px; }
.amap-zoom button { display: grid; place-items: center; width: 36px; height: 36px; font: 700 20px/1 var(--body); color: #fff; background: rgba(9, 9, 11, .82); border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; }
.amap-zoom button:hover { border-color: var(--amber); }
.amap-coord { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; font: 600 13px/1.4 var(--body); color: #fff; background: rgba(9, 9, 11, .78); pointer-events: none; }
.amap-coord:empty { display: none; }
.amap-hint { position: absolute; left: 12px; right: 60px; top: 12px; max-width: 520px; padding: 8px 12px; font-size: 13px; line-height: 1.35; color: var(--text); background: rgba(9, 9, 11, .78); border-left: 2px solid var(--amber); pointer-events: none; }
.amap-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.amap-tool { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 600 14px/1.2 var(--body); color: var(--text); text-align: left; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
.amap-tool:hover { border-color: rgba(255, 255, 255, .3); }
.amap-tool.on { color: #fff; background: rgba(220, 38, 38, .16); border-color: var(--red); }
.amap-tool .ic { width: 18px; height: 18px; color: var(--amber); }
.amap-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.amap-types.small { margin-bottom: 12px; }
.amap-type { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; font: 600 13px/1.2 var(--body); color: var(--text); text-align: left; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--c); cursor: pointer; }
.amap-type span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amap-type .ic { flex: none; width: 16px; height: 16px; color: var(--c); }
.amap-type.on { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: var(--c); }
.amap-name { display: block; margin-bottom: 12px; } .amap-name .input, .amap-num .input { height: 36px; }
.amap-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amap-num span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.amap-info { margin-top: 10px; font-size: 13px; color: var(--mute); }
.amap-grp + .amap-grp { margin-top: 14px; }
.amap-grp-t { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; }
.amap-grp-t .ic { width: 16px; height: 16px; color: var(--c); } .amap-grp-t span { margin-left: auto; color: var(--mute); font-weight: 700; }
.amap-item { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; padding: 6px 10px; font: 600 14px/1.3 var(--body); color: var(--text); text-align: left; background: transparent; border: 0; border-left: 2px solid transparent; cursor: pointer; }
.amap-item:hover { background: rgba(255, 255, 255, .05); } .amap-item.on { background: color-mix(in srgb, var(--c) 16%, transparent); border-left-color: var(--c); }
.amap-item small { flex: none; font-size: 11.5px; color: var(--dim); }
.amap-dirty, .amap-ok { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; font-size: 13.5px; }
.amap-gw { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); } .amap-gw small { font-size: 12px; color: var(--dim); }
.amap-dirty { color: var(--amber); } .amap-ok { color: #86EFAC; } .amap-dirty .ic, .amap-ok .ic { flex: none; width: 16px; height: 16px; }
@media (max-width: 1023px) { .amap { grid-template-columns: minmax(0, 1fr); } .amap .c8, .amap .c4 { grid-column: auto; } .amap-hint { display: none; } }
.btn.armed { color: #000; background: #F59E0B; border-color: #F59E0B; }
.pa-tog { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pa-tog small { font-size: 11px; color: var(--dim); }
.pa-table td small { display: block; font-size: 11px; color: var(--dim); font-family: monospace; }
.pa-table tr.on td { background: rgba(220, 38, 38, .12); }
.pa-table .dim { color: var(--dim); font-style: normal; font-size: 12px; }
.pa-table .ic { width: 13px; height: 13px; color: #F59E0B; vertical-align: -2px; margin-right: 3px; }
.pa-log { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.pa-log p { display: grid; grid-template-columns: 90px 130px 1fr; gap: 2px 10px; font-size: 12.5px; padding: 6px 8px; background: rgba(255, 255, 255, .03); border-left: 2px solid #22C55E; }
.pa-log p.ko { border-left-color: var(--red); }
.pa-log time { color: var(--dim); } .pa-log span { overflow-wrap: anywhere; }
.pa-log small { grid-column: 2 / -1; color: var(--dim); overflow-wrap: anywhere; }
.pa-out { margin-top: 10px; min-height: 38px; max-height: 260px; overflow: auto; padding: 8px 10px; font: 12px/1.45 monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #D4D4D8; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .08); }
.pa-out.ko { color: #FCA5A5; border-color: rgba(220, 38, 38, .5); }
.pa-rawbox summary { margin-top: 10px; font-size: 12px; color: var(--dim); cursor: pointer; }
@media (max-width: 720px) { .pa-kv { grid-template-columns: 1fr; } .pa-log p { grid-template-columns: 1fr; } .pa-log small { grid-column: auto; } }

/* Profil : choix des badges affichés à côté du pseudo (js/pages/profil.js) */
.pf-pick { max-height: 238px; overflow-y: auto; padding-right: 4px; }
.pf-pick .pf-badge { position: relative; width: 100%; text-align: left; cursor: pointer; color: inherit; font: inherit; transition: border-color .15s, background .15s; }
.pf-pick .pf-badge:hover { border-color: var(--c); }
.pf-pick .pf-badge.sel { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, rgba(0, 0, 0, .4)); }
.pf-pick .pf-badge > .ic { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; color: var(--c); }
.pf-slot { padding: 0; border: 0; background: none; cursor: pointer; transition: transform .15s; }
.pf-slot:hover { transform: scale(1.08); }
/* Classement : règle des juvéniles (js/pages/classement.js) */
.rk-rule.juv { margin-top: 8px; border-left-color: #F59E0B; background: rgba(245, 158, 11, .08); } .rk-rule.juv .ic { color: #F59E0B; }
.rk-mine + .rk-rule.juv { margin-top: 12px; font-size: 13px; }
.rk-empty { margin: 18px 0; }
.rk-none { padding: 22px 14px !important; text-align: center; color: var(--mute); }
/* Inventaire › Skins : état du skin dans le jeu (mod EternalSkins) */
.isk-game { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 9px 11px; font-size: 13px; line-height: 1.4; background: rgba(255, 255, 255, .04); border-left: 2px solid #71717A; }
.isk-game .ic { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; color: #A1A1AA; }
.isk-game .applique { color: #86EFAC; } .isk-game:has(.applique) { border-left-color: #22C55E; } .isk-game:has(.applique) .ic { color: #22C55E; }
.isk-game .erreur { color: #FCA5A5; } .isk-game:has(.erreur) { border-left-color: #DC2626; } .isk-game:has(.erreur) .ic { color: #DC2626; }

/* Amis (js/pages/amis.js) : recherche, demandes, demandes de position, liste d'amis ; cadre Amis de la carte */
.ami-cols { align-items: start; }
.ami-panel .pi.pad { padding: 0 16px 16px; }
.ami-panel .pi.pad > .ptitle { margin: 0 -16px 12px; }
.ami-panel.hot .ptitle > .ic { color: var(--amber); }
.ami-search .input, .ami-filter { height: 44px; font-size: 15px; }
.ami-filter { height: 40px; margin-bottom: 4px; }
.ami-hint { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 4px; font-size: 13px; line-height: 1.35; color: var(--dim); }
.ami-hint .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.ami-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ami-h.first { margin-top: 2px; }
.ami-h .ic { width: 14px; height: 14px; color: var(--red); }
.ami-h b { padding: 0 6px; color: var(--text); background: rgba(255, 255, 255, .08); }
.ami-list > li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.ami-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; }
.ami-row.tall { min-height: 64px; }
.ami-who { flex: 1; min-width: 0; line-height: 1.3; }
.ami-who b, .ami-who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ami-who b { font-size: 15px; }
.ami-who small { font-size: 12px; color: var(--mute); }
.ami-row.tall .ami-who b, .ami-row.tall .ami-who small { white-space: normal; }
.ami-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #52525b; vertical-align: 1px; }
.ami-dot.jeu { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, .7); }
.ami-dot.serveur { background: var(--amber); }
.ami-dot.site { background: #06B6D4; }
.ami-acts { display: flex; flex: none; align-items: center; gap: 6px; }
.ami-none { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 14px; color: var(--dim); }
.ami-warn { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 8px 10px; font-size: 13px; color: #FCD34D; background: rgba(245, 158, 11, .08); border-left: 2px solid var(--amber); }
.ami-warn .ic { flex: none; width: 15px; height: 15px; }
.ami-friend { padding: 2px 0 10px; }
.ami-friend.off .ami-row > .avatar { opacity: .5; }
.ami-friend .ami-row { padding-bottom: 4px; }
.ami-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px 56px; }
.ami-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 12px; font-weight: 600; border: 1px solid; }
.ami-tag .ic { width: 13px; height: 13px; }
.ami-tag.ok { color: var(--green); border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.ami-tag.amber { color: var(--amber); border-color: rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .08); }
.ami-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-left: 56px; }
.ami-more .toggle { height: 28px; gap: 8px; font-size: 13px; font-weight: 500; color: var(--mute); }
.toggle.sm i { width: 32px; height: 18px; } .toggle.sm i::after { width: 10px; height: 10px; } .toggle.sm input:checked + i::after { left: 17px; }
.toggle.sm input:disabled + i { opacity: .5; }
.ami-since { margin-left: auto; font-size: 11px; }
.fstate.ok { color: var(--green); }
.friends-manage { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; color: var(--amber); }
.friends-manage .ic { width: 13px; height: 13px; }
.friends-manage:hover { color: #fff; }
.friends-warn { display: flex; flex: none; align-items: center; gap: 6px; margin: 0 12px 8px; font-size: 12px; line-height: 1.3; color: #FCD34D; }
.friends-warn .ic { flex: none; width: 13px; height: 13px; }
.friend.me .dot { background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, .8); }
.friend.me b { color: #93C5FD; }
.friends .none a { color: var(--amber); text-decoration: underline; }
.ep-maplabel.ep-mapme { color: #DBEAFE; border-left-color: #3b82f6; } .ep-maplabel.ep-mapme:hover { color: #fff; background: #2563eb; }
@media (max-width: 639px) {
  .ami-row { flex-wrap: wrap; }
  .ami-acts { width: 100%; justify-content: flex-end; }
  .ami-tags, .ami-more { margin-left: 0; }
  .ami-since { width: 100%; margin-left: 0; }
}

/* Téléportation (js/pages/teleportation.js) */
.tp-cols { align-items: start; }
.tp-panel .pi.pad { padding: 0 16px 16px; }
.tp-panel .pi.pad > .ptitle { margin: 0 -16px 14px; }
.tp-st { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, rgba(0, 0, 0, .35)); }
.tp-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--c) 25%, transparent), transparent 70%); }
.tp-ic .ic { width: 24px; height: 24px; }
.tp-st b { display: block; font-size: 30px; line-height: 1; color: var(--c); }
.tp-st small { display: block; margin-top: 4px; font-size: 14px; color: var(--mute); }
.tp-st.ready .tp-ic { box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent); }
.tp-bar { height: 6px; margin-top: 10px; background: rgba(255, 255, 255, .06); }
.tp-bar i { display: block; height: 100%; background: var(--c); transition: width .9s linear; }
.tp-cancel { margin-top: 10px; }
.tp-fin { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.tp-fin .ic { flex: none; width: 15px; height: 15px; }
.tp-fin.ok { color: var(--green); } .tp-fin.ko { color: #FCA5A5; }
.tp-allow { margin-top: 12px; color: var(--mute); }
.tp-rules { display: grid; gap: 10px; }
.tp-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--mute); }
.tp-rules .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--amber); }
.tp-row.off .avatar { opacity: .5; }
.tp-row .btn:disabled { opacity: .45; }
.tp-h { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; }
.tp-h > .ic { flex: none; width: 15px; height: 15px; color: #06B6D4; }
.tp-h span { flex: 1; min-width: 0; }
.tp-h small { flex: none; font-size: 12px; }
.ami-none a { color: var(--amber); text-decoration: underline; }
@media (max-width: 639px) { .tp-st b { font-size: 26px; } }
/* Chasse avec le vrai serveur : pose de prime fermée en attendant les primes réelles */
.hu-soon { display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--mute); background: rgba(220, 38, 38, .06); border-left: 2px solid var(--red); }
.hu-soon .ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--red); }
/* Chasse réelle : mises rendues (historique) */
.hu-done li.back > span { color: var(--amber); }
.hu-done li.back > span .ic { color: var(--amber); }
/* Admin › Map : calibrer les positions (js/pages/admin-carte.js, backend/calibration.js) */
.amap-csteps { display: grid; gap: 4px; margin: 6px 0 10px; padding-left: 18px; list-style: decimal; font-size: 13px; line-height: 1.4; color: var(--mute); }
.amap-cbtn { margin: 8px 0 10px; color: #fff; background: #2563EB; border-color: #3B82F6; }
.amap-cbtn:hover:not(:disabled) { background: #1D4ED8; }
.amap-placing { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #93C5FD; }
.amap-placing .ic { width: 15px; height: 15px; }
.amap-cpts { display: grid; gap: 4px; margin: 4px 0 10px; }
.amap-cpt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 26px; align-items: center; gap: 8px; padding: 5px 6px; font-size: 13px; background: rgba(37, 99, 235, .1); border-left: 2px solid #3B82F6; }
.amap-cpt > b { display: grid; place-items: center; width: 22px; height: 22px; font-size: 12px; color: #fff; background: #2563EB; border-radius: 50%; }
.amap-cpt span small { display: block; color: #FCA5A5; }
.amap-cpt.bad { background: rgba(220, 38, 38, .1); border-left-color: #EF4444; } .amap-cpt.bad > b { background: #B91C1C; }
.amap-cx { display: grid; place-items: center; width: 24px; height: 24px; color: var(--mute); }
.amap-cx:hover { color: #fff; background: rgba(220, 38, 38, .4); }
.amap-cx .ic { width: 13px; height: 13px; }
.amap-ctog { margin: 2px 0 8px; color: var(--mute); }
/* Chasse : prime en pause (cible déconnectée) */
.hu-card.paused { filter: saturate(.55); }
.hu-card.paused .hu-face img { opacity: .6; }
.hu-card .hu-paused { color: #09090B; background: var(--amber); }
.hu-pause { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--amber); }
.hu-pause .ic { flex: none; width: 13px; height: 13px; margin-top: 1px; }
.hu-alert.paused { border-color: var(--amber); }
.hu-alert.paused > span { color: var(--amber); }
/* Live (js/pages/live.js) : chiffres, fil en direct, joueurs en jeu, chasseurs du jour */
.lv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(220, 38, 38, .9); }
.lv-badge i, .lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lv-pulse 1.4s ease-in-out infinite; }
.lv-dot { display: inline-block; background: #EF4444; }
@keyframes lv-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.lv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.lv-stat { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; background: rgba(14, 10, 12, .92); border: 1px solid var(--line); border-left: 3px solid var(--c, #52525b); }
.lv-stat > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: var(--c, var(--mute)); background: rgba(255, 255, 255, .04); }
.lv-stat > span .ic { width: 20px; height: 20px; }
.lv-stat div { min-width: 0; }
.lv-stat small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.lv-stat b { display: block; font-size: 30px; line-height: 1.05; }
.lv-stat b small { display: inline; font-size: 18px; letter-spacing: 0; color: var(--dim); }
.lv-stat em { display: block; overflow: hidden; font-size: 12px; font-style: normal; color: var(--mute); text-overflow: ellipsis; white-space: nowrap; }
.lv-stat.on { --c: #22C55E; } .lv-stat.off { --c: #71717A; } .lv-stat.red { --c: #EF4444; } .lv-stat.amber { --c: #F59E0B; }
.lv-panel .pi.pad { padding: 0 16px 16px; } .lv-panel .pi.pad > .ptitle { margin: 0 -16px 12px; }
.lv-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.lv-chips .chip { height: 32px; padding: 0 12px; font-size: 11px; }
.lv-chips .chip b { color: var(--text); }
.lv-chips .chip.active { color: var(--text); border-color: var(--red); background: rgba(220, 38, 38, .12); }
.lv-fil { max-height: 640px; overflow-y: auto; padding: 8px 0; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.lv-ev { display: grid; grid-template-columns: 76px 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 16px; font-size: 14px; line-height: 1.35; border-left: 2px solid transparent; }
.lv-ev + .lv-ev { border-top: 1px solid rgba(255, 255, 255, .05); }
.lv-ev time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dim); }
.lv-ic { display: grid; place-items: center; width: 28px; height: 28px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.lv-ic .ic { width: 15px; height: 15px; }
.lv-ev p { min-width: 0; overflow-wrap: anywhere; }
.lv-ev.new { border-left-color: var(--c); animation: lv-new 2.4s ease-out; }
@keyframes lv-new { from { background: color-mix(in srgb, var(--c) 22%, transparent); } to { background: transparent; } }
.lv-tag { margin-left: 4px; padding: 1px 6px; font-size: 11px; font-style: normal; color: var(--amber); border: 1px solid rgba(245, 158, 11, .4); }
.lv-none { padding: 18px 16px; font-size: 14px; color: var(--dim); }
.lv-diet { display: flex; gap: 2px; height: 10px; overflow: hidden; }
.lv-diet i { display: block; min-width: 4px; }
.lv-diet .carnivore, .lv-dietleg .carnivore i { background: #DC2626; } .lv-diet .herbivore, .lv-dietleg .herbivore i { background: #22C55E; } .lv-diet .omnivore, .lv-dietleg .omnivore i { background: #F59E0B; }
.lv-dietleg { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; font-size: 12px; color: var(--mute); }
.lv-dietleg span { display: inline-flex; align-items: center; gap: 5px; }
.lv-dietleg i { width: 8px; height: 8px; }
.lv-players { max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.lv-players li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.lv-players li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.lv-players img, .lv-noimg { flex: none; width: 46px; height: 32px; object-fit: contain; }
.lv-noimg { display: grid; place-items: center; color: var(--dim); }
.lv-players div { min-width: 0; line-height: 1.25; }
.lv-players b, .lv-players small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-players small { font-size: 12px; color: var(--mute); }
.lv-top { display: grid; gap: 6px; }
.lv-top li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lv-top li > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; font-size: 16px; color: #09090B; background: var(--amber); }
.lv-top li:nth-child(n+2) > span { color: var(--text); background: rgba(255, 255, 255, .1); }
.lv-top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-top em { font-style: normal; font-size: 12px; color: var(--mute); }
@media (max-width: 1023px) { .lv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .lv-ev { grid-template-columns: 28px minmax(0, 1fr); } .lv-ev time { grid-column: 2; grid-row: 2; } .lv-ev .lv-ic { grid-row: 1 / span 2; } .lv-stat b { font-size: 24px; } }

/* ------------------------------------------------------------ Streamers (Gameplay › Live, accueil, Admin › Streamers) */
.st-panel { margin-bottom: 16px; }
.st-lives { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.st-live { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--p) 16%, transparent), rgba(14, 10, 12, .92) 55%); border: 1px solid color-mix(in srgb, var(--p) 45%, transparent); border-top: 3px solid var(--p); }
.st-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-on { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #DC2626; }
.st-on i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: lv-pulse 1.4s ease-in-out infinite; }
.st-plat { padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--p); border: 1px solid color-mix(in srgb, var(--p) 55%, transparent); }
.st-view { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; color: var(--mute); }
.st-view .ic { width: 14px; height: 14px; }
.st-live h4 { margin: 2px 0 0; font-size: 26px; line-height: 1; }
.st-title { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14px; color: var(--mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.st-foot small { font-size: 12px; color: var(--dim); }
.st-none { display: flex; align-items: center; gap: 12px; padding: 6px 0 2px; color: var(--mute); }
.st-none > .ic { flex: none; width: 26px; height: 26px; color: var(--dim); }
.st-none small { display: block; font-size: 12.5px; color: var(--dim); }
.st-team { margin-top: 14px; }
.st-team ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.st-team li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.st-link { padding: 1px 7px; font-size: 11.5px; font-weight: 700; color: var(--p, var(--text)); border: 1px solid color-mix(in srgb, var(--p, #fff) 40%, transparent); overflow-wrap: anywhere; }
.st-link:hover { background: color-mix(in srgb, var(--p, #fff) 14%, transparent); }
.st-moi { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--mute); }
.st-moi .ic { flex: none; width: 16px; height: 16px; }
.st-moi.ok { color: #4ADE80; } .st-moi.wait { color: var(--amber); } .st-moi.ko { color: #F87171; }
.st-moi em { color: var(--mute); }
.st-form { margin-top: 14px; padding: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); }
.st-form h4 { font-size: 24px; }
.st-help { margin: 4px 0 12px; font-size: 13.5px; color: var(--mute); }
.st-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-field { display: block; min-width: 0; }
.st-field .label { color: var(--p, var(--mute)); }
.st-field .input { width: 100%; }
.st-field.wide { margin-top: 10px; }
.st-field textarea { resize: vertical; min-height: 70px; }
.st-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.home-live-zone { min-height: 0; margin-top: 18px; }
.home-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px; font-size: 13px; color: var(--text); background: rgba(9, 9, 11, .55); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: .18s; animation: hl-in .5s ease-out; }
.home-live:hover { border-color: rgba(220, 38, 38, .7); }
.home-live b { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #F87171; }
.home-live span { max-width: 160px; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.home-live em { font-size: 12px; font-style: normal; font-weight: 700; }
.home-live small { font-size: 12px; color: var(--mute); }
.home-live .ic { width: 14px; height: 14px; color: var(--mute); }
.hl-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: hl-pulse 1.8s ease-out infinite; }
@keyframes hl-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } }
@keyframes hl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ast-list > li { padding: 12px 0; }
.ast-list > li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.ast-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ast-who small { font-size: 12px; color: var(--dim); }
.ast-tag { padding: 1px 6px; font-size: 11px; font-style: normal; color: var(--amber); border: 1px solid rgba(245, 158, 11, .4); }
.ast-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.ast-msg { margin-bottom: 8px; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }
.ast-str.on { padding-left: 10px; border-left: 3px solid #DC2626; }
.ast-hist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 7px 0; font-size: 13.5px; }
.ast-hist li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.ast-hist li span { color: #4ADE80; } .ast-hist li.ko span { color: #F87171; }
.ast-hist em { color: var(--mute); } .ast-hist small { margin-left: auto; font-size: 12px; color: var(--dim); }
.rk-tabs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .st-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .rk-tabs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ Admin › IA */
.aia-stats { margin-bottom: 10px; }
.aia-days { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin: 0 0 16px; padding: 6px 8px; background: rgba(14, 10, 12, .92); border: 1px solid var(--line); }
.aia-days i { flex: 1 1 0; min-width: 4px; max-width: 36px; background: linear-gradient(#DC2626, #7f1d1d); }
.aia-list > li { padding: 10px 0; }
.aia-list > li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.aia-list.small > li { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.aia-q { font-size: 14px; overflow-wrap: anywhere; }
.aia-q small { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); }
.aia-list .pa-row { margin-top: 8px; }
.aia-hist li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 24px; align-items: baseline; gap: 4px 10px; padding: 6px 0; font-size: 13px; }
.aia-hist li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.aia-hist time { font-size: 11.5px; color: var(--dim); }
.aia-hist span { overflow-wrap: anywhere; }
.aia-hist em { font-size: 12px; font-style: normal; color: var(--mute); }
.aia-hist small { grid-column: 2 / -1; font-size: 11.5px; color: var(--dim); }
.aia-hist .ty-inconnu em, .aia-hist .ty-hors em { color: #F87171; } .aia-hist .ty-suggestion em { color: var(--amber); } .aia-hist .ty-reponse em, .aia-hist .ty-espece em { color: #4ADE80; }
.aia-f { display: block; margin-top: 10px; }
.aia-f .input { width: 100%; }
.aia-f textarea { resize: vertical; }
.aia-fmt { margin-top: 6px; font-size: 12px; color: var(--dim); }
.aia-base { margin-top: 8px; font-size: 13px; color: var(--mute); }
.aia-base summary { cursor: pointer; color: var(--text); }
.aia-base p, .aia-base ul { margin-top: 6px; padding: 8px 10px; white-space: pre-wrap; background: rgba(255, 255, 255, .03); }
.aia-base li { padding: 2px 0; }
.aia-fiches { max-height: 460px; margin-top: 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; }
.aia-fiches li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 7px 0; font-size: 13.5px; }
.aia-fiches li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.aia-fiches b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aia-fiches small { grid-column: 1; font-size: 11.5px; color: var(--dim); }
.aia-fiches .btn { grid-column: 2; grid-row: 1 / span 2; }
.aia-src { justify-self: start; grid-column: 1; padding: 0 6px; font-size: 10.5px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid rgba(255, 255, 255, .15); }
.aia-src.admin { color: #60A5FA; border-color: rgba(96, 165, 250, .4); } .aia-src.corrigee { color: var(--amber); border-color: rgba(245, 158, 11, .4); } .aia-src.jeu { color: #4ADE80; border-color: rgba(74, 222, 128, .35); }
#aia-filtre { width: 100%; margin-top: 4px; }
@media (max-width: 639px) { .aia-hist li { grid-template-columns: minmax(0, 1fr) auto; } .aia-hist time { grid-column: 1 / -1; } .aia-hist small { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ l'assistant (bonhomme + chat, js/assistant.js) */
.ia-root { position: fixed; right: 16px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; font-family: inherit; }
.ia-root > * { pointer-events: auto; }
.ia-perso { position: relative; display: flex; align-items: flex-end; }
.ia-bonhomme { position: relative; display: block; width: 104px; height: 150px; padding: 0; background: none; border: 0; cursor: pointer; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); transition: transform .2s; }
.ia-bonhomme:hover { transform: translateY(-3px); }
.ia-bonhomme:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ia-3d { position: absolute; inset: 0; display: block; }
.ia-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.ia-rond { position: absolute; right: 6px; bottom: 6px; display: none; place-items: center; width: 58px; height: 58px; color: #fff; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b); box-shadow: 0 0 0 3px rgba(220, 38, 38, .25), 0 10px 24px rgba(0, 0, 0, .5); }
.ia-rond .ic { width: 28px; height: 28px; }
.ia-root:not(.a-3d) .ia-rond, .ia-root.sans-3d .ia-rond { display: grid; }
.ia-root:not(.a-3d) .ia-bonhomme, .ia-root.sans-3d .ia-bonhomme { width: 70px; height: 70px; }
.ia-root.sans-3d .ia-3d { display: none; }
.ia-mini { position: absolute; top: 0; right: -4px; display: none; place-items: center; width: 22px; height: 22px; color: var(--mute); border-radius: 50%; background: rgba(9, 9, 11, .9); border: 1px solid rgba(255, 255, 255, .15); cursor: pointer; }
.ia-mini .ic { width: 12px; height: 12px; }
.ia-perso:hover .ia-mini, .ia-mini:focus-visible { display: grid; }
.ia-root.reduit .ia-bonhomme { width: 46px; height: 46px; }
.ia-root.reduit .ia-3d, .ia-root.reduit .ia-mini { display: none; }
.ia-root.reduit .ia-rond { display: grid; right: 0; bottom: 0; width: 46px; height: 46px; }
.ia-root.reduit .ia-rond .ic { width: 22px; height: 22px; }
.ia-bulle-txt { position: absolute; right: calc(100% - 6px); bottom: 92px; padding: 8px 12px; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: #09090B; background: #fff; opacity: 0; transform: translateY(6px); transition: .3s; pointer-events: none; }
.ia-bulle-txt::after { content: ""; position: absolute; right: -6px; bottom: 10px; border: 6px solid transparent; border-left-color: #fff; border-right: 0; }
.ia-root.bulle .ia-bulle-txt { opacity: 1; transform: none; }
.ia-root.sans-3d .ia-bulle-txt, .ia-root:not(.a-3d) .ia-bulle-txt { bottom: 24px; }
.ia-root.ouvert .ia-bulle-txt { display: none; }
.ia-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 210px)); min-height: 320px; background: #0C090B; isolation: isolate; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); animation: ia-in .22s ease-out; }
.ia-panel[hidden] { display: none; }
@keyframes ia-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.ia-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ia-ava { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b); }
.ia-ava .ic { width: 20px; height: 20px; }
.ia-head div { flex: 1; min-width: 0; line-height: 1.1; }
.ia-head b { display: block; font-size: 24px; }
.ia-head small { display: block; overflow: hidden; font-size: 11.5px; color: var(--dim); text-overflow: ellipsis; white-space: nowrap; }
.ia-head button { display: grid; place-items: center; width: 32px; height: 32px; color: var(--mute); background: none; border: 1px solid transparent; cursor: pointer; }
.ia-head button:hover { color: #fff; border-color: rgba(255, 255, 255, .15); }
.ia-head button .ic { width: 16px; height: 16px; }
.ia-msgs { flex: 1; overflow-y: auto; padding: 12px; scrollbar-width: thin; scrollbar-color: #3f3f46 transparent; overscroll-behavior: contain; }
.ia-msg { display: flex; flex-direction: column; margin-bottom: 10px; }
.ia-msg.moi { align-items: flex-end; }
.ia-txt { max-width: 92%; padding: 9px 12px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.ia-msg.bot .ia-txt { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-left: 2px solid var(--red); }
.ia-msg.bot.hors .ia-txt { border-left-color: var(--amber); }
.ia-msg.moi .ia-txt { color: #fff; background: #7f1d1d; }
.ia-txt p + p, .ia-txt p + ul, .ia-txt ul + p { margin-top: 6px; }
.ia-txt ul { display: grid; gap: 3px; margin: 4px 0 0; padding-left: 16px; list-style: disc; }
.ia-txt li::marker { color: var(--red); }
.ia-txt a { color: #FCA5A5; text-decoration: underline; text-underline-offset: 2px; }
.ia-txt a:hover { color: #fff; }
.ia-txt b { color: #fff; }
.ia-txt em { color: var(--mute); }
.ia-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 92%; margin-top: 6px; }
.ia-chip { padding: 5px 10px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--text); background: rgba(220, 38, 38, .1); border: 1px solid rgba(220, 38, 38, .45); cursor: pointer; transition: .15s; }
.ia-chip:hover { background: rgba(220, 38, 38, .25); }
.ia-avis { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.ia-avis small { margin-right: 2px; font-size: 11.5px; color: var(--dim); }
.ia-avis button { display: grid; place-items: center; width: 26px; height: 26px; color: var(--dim); background: none; border: 1px solid transparent; cursor: pointer; }
.ia-avis button:hover { color: #fff; border-color: rgba(255, 255, 255, .15); }
.ia-avis .ic { width: 14px; height: 14px; }
.ia-merci { margin-top: 4px; font-size: 11.5px; color: var(--dim); }
.ia-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.ia-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: ia-dot 1.1s ease-in-out infinite; }
.ia-dots i:nth-child(2) { animation-delay: .15s; } .ia-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ia-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ia-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ia-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.ia-form input:focus { outline: none; border-color: var(--red); }
.ia-form button { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--red); border: 0; cursor: pointer; }
.ia-form button .ic { width: 17px; height: 17px; }
.ia-foot { display: flex; align-items: center; gap: 6px; padding: 0 12px 8px; font-size: 11px; color: var(--dim); }
.ia-foot .ic { width: 12px; height: 12px; color: var(--red); }
@media (max-width: 1279px) { .ia-root { bottom: 68px; } .ia-panel { height: min(520px, calc(100vh - 270px)); } }
@media (max-width: 639px) {
  .ia-root { right: 10px; }
  .ia-bonhomme { width: 74px; height: 106px; }
  .ia-bulle-txt { bottom: 64px; }
  .ia-root.ouvert .ia-perso { display: none; }
  .ia-panel { width: calc(100vw - 20px); height: calc(100vh - 150px); }
}
@media (prefers-reduced-motion: reduce) { .ia-panel, .home-live, .hl-dot, .st-on i, .ia-dots i { animation: none; } }

/* ------------------------------------------------------------ Admin › IA : le bonhomme 3D */
.aia-bh-msg { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 13px; line-height: 1.4; color: var(--mute); }
.aia-bh-msg .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.aia-bh-msg.ok .ic { color: #4ADE80; } .aia-bh-msg.ko { color: #FCA5A5; } .aia-bh-msg.ko .ic { color: #F87171; }
.aia-bh-sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 6px; }
.aia-bh-sliders label { display: block; min-width: 0; }
.aia-bh-sliders input[type="range"] { width: 100%; accent-color: var(--red); }
.aia-bh-sliders b { color: var(--text); }
.aia-bh-roles { display: grid; gap: 8px; margin-top: 10px; }
.aia-bh-role { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px auto; align-items: end; gap: 6px; }
.aia-bh-role .label { grid-column: 1 / -1; margin-bottom: -2px; }
.aia-bh-role .input { min-width: 0; height: 34px; padding: 0 8px; font-size: 13px; }
.aia-bh-clips li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.aia-bh-clips span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.aia-bh-temps { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; font-variant-numeric: tabular-nums; color: #C4B5FD; }
.aia-lg { padding: 0 4px; font-size: 10px; font-style: normal; font-weight: 700; color: #93C5FD; border: 1px solid rgba(147, 197, 253, .4); }
@media (max-width: 639px) { .aia-bh-sliders { grid-template-columns: minmax(0, 1fr); } .aia-bh-role { grid-template-columns: minmax(0, 1fr) 56px 56px; } .aia-bh-role .btn { grid-column: 1 / -1; } }

/* listes déroulantes : options lisibles sur le thème sombre (Windows affichait du gris clair sur blanc) */
select.input option, select.input optgroup { color: #F4F4F5; background: #17121A; }
.aia-bh-auto { margin-left: 4px; font-style: normal; letter-spacing: 0; text-transform: none; color: #C4B5FD; }
.aia-bh-conseil { margin: 4px 0 2px; }
.aia-bh-fige { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); cursor: pointer; }
.aia-bh-fige input { accent-color: var(--red); }
.aia-bh-role input:disabled { opacity: .35; }

/* Admin › IA : le cerveau Claude */
.aia-sous { margin: 18px 0 4px; font-size: 15px; font-weight: 700; color: var(--text, #F4F4F5); }
.aia-stats .lv-stat b small { font-size: .55em; }
.aia-cerveau .lv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
@media (max-width: 520px) { .aia-cerveau .lv-stats { grid-template-columns: minmax(0, 1fr); } }

/* Top Server (votes Top-Serveurs) */
.vote-gain .vt-xp { display: block; margin-top: 4px; color: #A855F7; }
.vote-gain .vt-sub { display: block; margin-top: 6px; font-size: 11px; color: var(--amber); text-decoration: underline; }
.vt-off { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #FCD34D; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); }
.vt-off .ic { width: 18px; height: 18px; flex: none; }
.vt-msg { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .35); }
.vt-msg .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.vt-msg.ok { color: #FCD34D; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); }
.vt-msg.wait { color: #D4D4D8; }
.vt-msg.info { color: #93C5FD; border-color: rgba(59, 130, 246, .35); }
.vt-msg.err { color: #FCA5A5; border-color: rgba(220, 38, 38, .45); }
.vote-note .btn { margin-top: 10px; }
.vt-pseudo { margin-top: 16px; }
.vt-pseudo .pa-row { margin: 6px 0; }
.vt-pseudo small { display: block; font-size: 12px; line-height: 1.45; color: var(--mute); }
.vt-src { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; font-size: 13px; color: #FCD34D; }
.vt-src .ic { width: 15px; height: 15px; flex: none; }
.vt-winners { margin-top: 16px; }
.vt-winners ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.vt-winners li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .07); border-left: 3px solid var(--c); background: rgba(0, 0, 0, .35); }
.vt-winners li > span { font-size: 28px; color: var(--c); }
.vt-winners li b { font-size: 16px; }
.vt-winners li em { font-style: normal; font-size: 13px; color: var(--mute); }
.vt-winners li small { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--amber); }
.vt-winners li small .ic { width: 14px; height: 14px; }
.vt-admin { margin-top: 16px; }
.vt-code { display: block; margin: 6px 0 4px; padding: 10px 12px; overflow-wrap: anywhere; font: 13px/1.4 ui-monospace, monospace; color: #E4E4E7; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .08); }
.vt-give { margin-top: 10px; }
.vt-give p { margin-bottom: 6px; font-size: 14px; }
@media (max-width: 760px) { .vt-winners ol { grid-template-columns: minmax(0, 1fr); } .vote-top { flex-direction: column; } }
.vote-actions .btn { max-width: 100%; }
@media (max-width: 640px) { .vote-actions .btn { flex: 1 1 100%; white-space: normal; justify-content: center; text-align: center; } }
.vt-pseudo .vt-auto, .vt-pseudo .vt-partage { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 4px; font-size: 12px; }
.vt-pseudo .vt-auto { color: #86EFAC; }
.vt-pseudo .vt-partage { color: #FCD34D; }
.vt-pseudo .vt-auto .ic, .vt-pseudo .vt-partage .ic { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* ------------------------------------------------------------ Admin › Décor (js/pages/admin-decor.js) */
.rk-tabs.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rk-tabs.five .rk-tab { padding: 12px 14px; gap: 10px; } .rk-tabs.five .rk-tab b { font-size: 26px; }
@media (max-width: 1180px) { .rk-tabs.five .rk-tab small { display: none; } }
@media (max-width: 767px) { .rk-tabs.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dc-band { margin: 12px 0 16px; }
.dc-band .pa-kv { margin-bottom: 0; }
.dc-me { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; padding: 9px 12px; font-size: 14px; color: #FCD34D; background: rgba(245, 158, 11, .08); border-left: 3px solid var(--amber); }
.dc-me.on { color: #86EFAC; background: rgba(34, 197, 94, .08); border-left-color: var(--green); }
.dc-me .ic { width: 15px; height: 15px; flex: none; } .dc-me small { font-size: 12px; color: var(--mute); font-family: monospace; }
.dc-choix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; background: rgba(255, 255, 255, .03); border-left: 3px solid var(--red); }
.dc-choix b { font-size: 16px; } .dc-choix code { flex: 1 1 100%; font-size: 11.5px; color: var(--dim); overflow-wrap: anywhere; }
.dc-choix .pf-sub { margin: 0; }
.dc-hint { margin: 6px 0 0; font-size: 12px; color: var(--dim); }
.dc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 8px; margin-top: 12px; }
.dc-label { margin-top: 8px; }
.dc-go { height: 36px; padding: 0 16px; font-size: 12px; }
.dc-tabs { flex-wrap: wrap; margin-bottom: 12px; } .dc-tabs .chip { height: 34px; padding: 0 12px; font-size: 11px; }
.dc-group { margin: 14px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.dc-group:first-child { margin-top: 0; }
#dc-cat { max-height: 680px; overflow-y: auto; padding-right: 4px; }
.dc-list li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); } .dc-list li > .btn { flex: none; }
.dc-list li.on { background: rgba(220, 38, 38, .12); }
.dc-n { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; flex: 1 1 auto; min-width: 0; }
.dc-n b { font-size: 14.5px; } .dc-n small { flex: 1 1 100%; font-size: 11px; color: var(--dim); font-family: monospace; overflow-wrap: anywhere; }
.dc-n small.dc-note { font-family: inherit; color: var(--mute); }
.dc-tools { margin-top: 0; } .dc-tools .dc-q { flex: 1 1 180px; height: 36px; }
.dc-step { display: flex; align-items: center; gap: 6px; } .dc-step .label { margin: 0; } .dc-step > span:last-child { display: flex; gap: 4px; }
.dc-objs { margin-top: 10px; }
.dc-obj { padding: 10px 0 10px 12px; border-left: 3px solid var(--green); }
.dc-obj + .dc-obj { margin-top: 8px; }
.dc-obj.ko { border-left-color: var(--amber); }
.dc-otop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; } .dc-otop b { font-size: 16px; }
.dc-oinfo small { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.dc-oinfo small.dc-path { font-family: monospace; font-size: 11px; color: var(--dim); overflow-wrap: anywhere; }
.dc-octl summary { display: inline-block; margin-top: 8px; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); cursor: pointer; border: 1px solid rgba(255, 255, 255, .15); }
.dc-octl[open] summary { color: #fff; border-color: var(--red); background: rgba(220, 38, 38, .15); }
.dc-pad { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: 6px; margin-top: 10px; }
.dc-pad .btn { width: 100%; }
.dc-octl .pa-row { align-items: center; } .dc-octl .pa-row .label { margin: 0 4px 0 0; }
.dc-num { width: 84px; height: 28px; padding: 0 8px; font-size: 13px; }
.pa-log p.dc-wait { border-left-color: var(--amber); }
#dc-log .pa-log p { grid-template-columns: 70px 190px 1fr; }
.dc-me small.dc-first { flex: 1 1 100%; font-family: inherit; font-size: 13px; color: #FCD34D; }
@media (max-width: 720px) { .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dc-step { flex: 1 1 100%; } }

/* ------------------------------------------------------------ Admin › Apex (js/pages/admin-apex.js) */
.rk-tabs.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rk-tabs.six .rk-tab { padding: 12px 12px; gap: 8px; } .rk-tabs.six .rk-tab b { font-size: 24px; }
@media (max-width: 1320px) { .rk-tabs.six .rk-tab small { display: none; } }
@media (max-width: 767px) { .rk-tabs.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ax-band { margin: 12px 0 16px; }
.ax-band .pa-kv { margin-bottom: 0; }
.ax-table td small { font-family: inherit; }
.ax-table tr.ax-over td { background: rgba(220, 38, 38, .08); }
.ax-st small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--mute); }
.ax-st small.ax-ko { color: #FCA5A5; }
.ax-table td { padding: 10px 8px; } .ax-table td.ax-acts { width: 1%; }
.ax-btns { display: flex; flex-direction: column; align-items: stretch; gap: 4px; } .ax-btns .btn { white-space: nowrap; justify-content: center; }
.ax-sub { margin: 16px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.ax-abs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 6px 8px; font-size: 13px; border-left: 2px solid var(--amber); background: rgba(255, 255, 255, .03); }
.ax-abs li + li { margin-top: 4px; } .ax-abs small { flex: 1 1 100%; color: var(--dim); }
.ax-check { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 0; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); cursor: pointer; }
.ax-check span { flex: 1 1 0; min-width: 0; }
.ax-def { font-size: 11px; color: var(--dim); }
.ax-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 8px; margin-top: 12px; }
.ax-sptitle { margin-top: 14px; }
.ax-sp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; margin: 6px 0 4px; }
.ax-sp label { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 13px; cursor: pointer; }
.ax-kv1 { margin-top: 0; }
.ax-base { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 12px; }
.ax-base span { padding: 1px 6px; color: var(--mute); border: 1px solid rgba(255, 255, 255, .1); }
.ax-base span.off { color: #FCA5A5; border-color: rgba(220, 38, 38, .5); text-decoration: line-through; }
.ax-log p.am { border-left-color: var(--amber); } .ax-log p.bl { border-left-color: #3B82F6; }
@media (max-width: 720px) { .ax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax-sp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Entraînement : « Ouvrir un salon » garde sa hauteur (plus d'énorme vide sous le texte quand le choix du dino, à côté, est long) et suit le défilement */
.el-cols > .tr-create { align-self: start; position: sticky; top: 90px; }
/* Entraînement : mode DUEL (choix du mode, espèces nombreuses, résultats, classement des duels) */
.tr-modes { margin-bottom: 0; } .tr-modes button { display: grid; justify-items: center; gap: 2px; padding: 10px 8px; } .tr-modes .ic { width: 18px; height: 18px; color: var(--mute); } .tr-modes button.on .ic { color: var(--amber); }
.tr-modes b { font-size: 22px; } .tr-modes small { line-height: 1.3; }
.tr-sp.many { max-height: 236px; padding-right: 4px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(220, 38, 38, .7) rgba(255, 255, 255, .05); }
.tr-femnote { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--amber); } .tr-femnote[hidden] { display: none; } .tr-femnote .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.tag.tr-mtag { --c: #3B82F6; } .tag.tr-mtag.duel { --c: #EF4444; } .tr-recap summary span.tag { flex: none; min-width: 0; font-size: 10px; color: var(--c); }
.tr-room.duel { border-left-color: var(--red); }
.tr-now.win { border-left-color: var(--green); background: rgba(34, 197, 94, .1); } .tr-now.lose { border-left-color: var(--red); background: rgba(220, 38, 38, .1); } .tr-now.draw { background: rgba(245, 158, 11, .08); }
.tr-res { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } .tr-res .ic { width: 15px; height: 15px; }
.tr-res.win { color: var(--green); } .tr-res.lose { color: var(--red); } .tr-res.draw { color: var(--amber); }
.tr-recap.win { border-left: 3px solid var(--green); } .tr-recap.lose { border-left: 3px solid var(--red); } .tr-recap.draw { border-left: 3px solid var(--amber); }
.tr-winner { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px; font-size: 14px; font-weight: 700; color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(245, 158, 11, .08); } .tr-winner .ic { width: 16px; height: 16px; color: var(--amber); }
.tr-rkhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 18px; } .tr-rktabs { flex: none; width: 320px; max-width: 100%; } .tr-rktabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .tr-rktabs .ic { width: 14px; height: 14px; }

/* Renseignement › Commandes (js/pages/commandes.js) : les commandes joueur du chat en jeu */
.cmd-how { margin-bottom: 24px; }
.cmd-how ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmd-how li { display: flex; align-items: flex-start; gap: 12px; }
.cmd-how li > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--red); border: 1px solid rgba(220, 38, 38, .5); background: rgba(220, 38, 38, .1); }
.cmd-how li > span .ic { width: 20px; height: 20px; }
.cmd-how b { display: block; font-size: 16px; } .cmd-how p { font-size: 14px; line-height: 1.4; color: var(--mute); }
.cmd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cmd-card { display: flex; flex-direction: column; } .cmd-card > .pi { flex: 1; }
.cmd-card .pi { padding: 18px 20px; }
.cmd-top { display: flex; align-items: center; gap: 12px; }
.cmd-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.cmd-ic .ic { width: 20px; height: 20px; }
.cmd-top h3 { flex: 1; min-width: 0; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.cmd-top h3 code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: #fff; }
.cmd-top h3 em { font-family: ui-monospace, Consolas, monospace; font-size: 17px; font-style: normal; color: var(--amber); }
.cmd-top .btn { flex: none; } .cmd-top .btn .ic { width: 14px; height: 14px; }
.cmd-d { margin-top: 12px; font-size: 16px; color: var(--text); }
.cmd-li { display: grid; gap: 4px; margin-top: 10px; }
.cmd-li li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.4; color: var(--mute); }
.cmd-li li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; background: var(--red); }
.cmd-ex, .cmd-alias { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; }
.cmd-ex .label, .cmd-alias .label { margin: 0; }
.cmd-ex code, .cmd-alias code { padding: 2px 8px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: #fff; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.cmd-foot { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--dim); } .cmd-foot .ic { width: 14px; height: 14px; }
@media (max-width: 860px) { .cmd-how ul, .cmd-grid { grid-template-columns: minmax(0, 1fr); } .cmd-top .btn span { display: none; } }

/* ===================================================================
   Admin › Logs (#/admin/logs) — js/pages/admin-logs.js : journal, joueurs, fiche technique, légal
   =================================================================== */
.rk-tabs.seven { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rk-tabs.seven .rk-tab { padding: 12px 10px; gap: 8px; } .rk-tabs.seven .rk-tab b { font-size: 22px; }
@media (max-width: 1440px) { .rk-tabs.seven .rk-tab small { display: none; } }
@media (max-width: 1023px) { .rk-tabs.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rk-tabs.seven { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lg-subtabs { margin-bottom: 16px; flex-wrap: wrap; }
.lg-none { margin: 4px 0 0; }
.lg-warn { color: var(--amber); }
/* journal : catégories, filtres, lignes */
.lg-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lg-cats .chip { height: 30px; padding: 0 10px; gap: 6px; font-size: 10.5px; }
.lg-cats .chip i { width: 8px; height: 8px; background: var(--c); }
.lg-cats .chip[style].active { color: #fff; background: color-mix(in srgb, var(--c) 24%, transparent); border-color: var(--c); }
.lg-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: end; gap: 8px; }
.lg-filters .pa-mini { flex: none; }
.lg-fbtn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; grid-column: span 2; min-height: 36px; }
@media (max-width: 767px) { .lg-fbtn { grid-column: 1 / -1; } }
.lg-filters + .dc-hint { margin: 12px 0 8px; }
.lg-list { display: grid; gap: 5px; }
.lg-l { padding: 7px 10px; border-left: 3px solid var(--c); background: rgba(255, 255, 255, .03); }
.lg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
.lg-top time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dim); }
.lg-k { font: 11.5px/1.4 monospace; color: var(--mute); }
.lg-who { font-weight: 700; color: #fff; } a.lg-who:hover { color: var(--red); }
.lg-also { font-size: 12px; color: var(--dim); } .lg-also a { color: var(--mute); } .lg-also a:hover { color: var(--red); }
.lg-ip { margin-left: auto; padding: 0; font: 12px/1.4 monospace; color: var(--dim); background: none; border: 0; }
button.lg-ip { cursor: pointer; } button.lg-ip:hover { color: var(--amber); }
.lg-x { margin-top: 3px; font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.lg-det summary { margin-top: 4px; font-size: 11px; color: var(--dim); cursor: pointer; } .lg-det summary:hover { color: var(--text); }
.lg-det .pa-out { margin-top: 6px; }
/* joueurs : filtres à compteurs, recherche, tableau */
.lg-pfilters { display: flex; flex-wrap: wrap; gap: 6px; }
.lg-pfilters .chip { height: 34px; padding: 0 12px; font-size: 11px; }
.lg-pfilters .chip em { padding: 1px 6px; font-style: normal; letter-spacing: 0; color: var(--amber); background: rgba(0, 0, 0, .35); }
.lg-pfilters .chip.active em { color: #fff; }
.lg-ptools { align-items: flex-end; margin-top: 12px; }
.lg-psearch { flex: 1 1 260px; width: auto; margin: 0; }
.lg-sort { display: grid; gap: 4px; flex: 0 0 210px; } .lg-sort .select { height: 40px; }
.lg-ptools + .dc-hint { margin: 10px 0 6px; }
.board.lg-ptable { min-width: 1000px; }
.lg-ptable th:first-child, .lg-ptable td:first-child { width: 46px; padding-left: 12px; font-size: 13px; }
.lg-ptable td { padding: 9px 10px; font-size: 13.5px; vertical-align: middle; } .lg-ptable td:nth-child(3) { color: var(--text); }
.lg-ptable td:last-child, .lg-ptable th:last-child { color: var(--mute); text-align: left; }
.lg-ptable td small { margin-top: 2px; font-family: inherit; }
.lg-ptable code { font-size: 12px; }
.lg-prow { cursor: pointer; } .lg-prow a { color: #fff; } .lg-prow:hover a { color: var(--red); }
.lg-prow.lg-gone { opacity: .55; }
.lg-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
/* fiche technique */
.lg-head { margin-bottom: 16px; }
.lg-id { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.lg-idt { flex: 1 1 320px; min-width: 0; }
.lg-idt h3 { font-size: 44px; line-height: 1; overflow-wrap: anywhere; }
.lg-idt > p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.lg-idt code { font-size: 13px; color: var(--mute); }
.lg-idn { display: flex; gap: 22px; }
.lg-idn small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.lg-idn b { display: flex; align-items: center; gap: 6px; font-size: 32px; line-height: 1.1; } .lg-idn .ic { width: 20px; height: 20px; color: var(--amber); }
.lg-blocks { display: grid; gap: 16px; }
.lg-ua { margin-top: 8px; } .lg-ua code { display: block; font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }
.board.lg-mini { min-width: 440px; }
.lg-mini th:first-child, .lg-mini td:first-child { width: auto; padding-left: 10px; font-size: 13px; }
.lg-mini td { padding: 7px 10px; font-size: 13px; } .lg-mini td:last-child { color: var(--text); }
.lg-ul li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; padding: 5px 8px; font-size: 13px; border-left: 2px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.lg-ul li + li { margin-top: 4px; }
.lg-ul time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dim); } .lg-ul b { color: #fff; } .lg-ul small { color: var(--dim); }
.lg-ul li.lg-unread { border-left-color: #F472B6; }
.lg-inv { display: flex; flex-wrap: wrap; gap: 6px; } a.tag:hover { color: #fff; }
.lg-dinos li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-left: 2px solid #14B8A6; background: rgba(255, 255, 255, .03); }
.lg-dinos li + li { margin-top: 5px; }
.lg-dinos li > div { min-width: 0; } .lg-dinos b { margin-right: 6px; font-size: 15px; } .lg-dinos .tag { margin: 0 4px 2px 0; }
.lg-dinos small { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); } .lg-dinos small.lg-muts { color: var(--mute); }
.lg-notes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 10px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, .03); }
.lg-notes li + li { margin-top: 5px; }
.lg-notes p { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; } .lg-notes small { font-size: 12px; color: var(--dim); }
.lg-notes .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
/* fiche : actions */
.lg-act + .lg-act { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.lg-act .ax-sub { margin-top: 0; }
.lg-act .pa-row { align-items: flex-end; }
.lg-act .select { height: 36px; }
.lg-ta { height: auto; min-height: 72px; padding: 8px 12px; font: inherit; font-size: 14px; resize: vertical; }
.lg-dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lg-dgrid .pa-mini { flex: none; } .lg-elder { grid-column: 1 / -1; }
.lg-elder input:disabled + span { color: var(--dim); }
.lg-mhead { margin-top: 10px; } .lg-mhead b { margin-left: 6px; letter-spacing: .06em; color: var(--amber); }
.lg-muts-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .3); }
.lg-muts-pick label { display: flex; align-items: center; gap: 6px; padding: 3px 6px; font-size: 12.5px; color: var(--mute); cursor: pointer; }
.lg-muts-pick label.on { color: #fff; background: rgba(245, 158, 11, .14); }
.lg-danger .pa-row.grow > .input { height: 36px; }
.lg-danger .btn:disabled { opacity: .45; cursor: not-allowed; }
/* légal */
.lg-lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lg-lgrid .pa-mini, #lg-lform .pa-mini { flex: none; }
#lg-lform .c5 .pi > .pa-mini + .pa-mini { margin-top: 10px; }
#lg-lform .ax-sub { margin-top: 18px; }
#lg-lform .lg-lgrid.two { margin-top: 10px; }
.pa-mini.lg-miss .label { color: #FCA5A5; } .pa-mini.lg-miss .input { border-color: var(--red); background: rgba(220, 38, 38, .08); }
.lg-miss-list { display: grid; gap: 3px; margin-top: 10px; }
.lg-miss-list li { padding: 4px 10px; font-size: 13px; color: #FCA5A5; border-left: 2px solid var(--red); background: rgba(220, 38, 38, .08); }
.lg-newv { margin-top: 12px; border-bottom: 0; }
@media (max-width: 767px) {
  .lg-idt h3 { font-size: 34px; } .lg-idn b { font-size: 24px; }
  .lg-dgrid, .lg-lgrid, .lg-muts-pick { grid-template-columns: minmax(0, 1fr); }
  .lg-sort { flex: 1 1 100%; }
  .lg-ip { margin-left: 0; }
  .lg-dinos li { flex-wrap: wrap; }
}

/* ------------------------------------------------------------ 02/12/2026 — barres de défilement, heures de live, codes promo, Admin › Boutique */
/* BARRES DE DÉFILEMENT : partout sur le site, fines et aux couleurs du site (plus jamais la barre blanche du système avec
   ses flèches). Chrome / Edge / Firefox récents : scrollbar-color, hérité par tous les éléments (y compris ceux qui ne
   mettaient que « scrollbar-width: thin ») ; anciens navigateurs WebKit : ::-webkit-scrollbar. */
* { scrollbar-width: thin; scrollbar-color: rgba(220, 38, 38, .75) rgba(255, 255, 255, .04); }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
*::-webkit-scrollbar-thumb { background: rgba(220, 38, 38, .7); border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--red); background-clip: padding-box; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
html { scrollbar-color: rgba(220, 38, 38, .75) #0b0809; }
.friends, .lv-fil { scrollbar-color: rgba(220, 38, 38, .6) transparent; }
.chips, .table-wrap, .map-tools { scrollbar-width: none; }   /* barres cachées volontairement (défilement au doigt / à la molette) */

/* Onglets admin : 8 onglets */
.rk-tabs.seven.eight { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1023px) { .rk-tabs.seven.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Live : heures de live */
.lv-hpanel { margin-top: 20px; }
.lv-hchips { display: inline-flex; gap: 4px; }
.lv-hchips button { padding: 5px 12px; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--soft); background: rgba(255, 255, 255, .03); cursor: pointer; }
.lv-hchips button:hover { color: #fff; }
.lv-hchips button.on { color: #fff; border-color: var(--red); background: rgba(220, 38, 38, .18); }
.lv-htable td, .lv-htable th { padding: 9px 12px; }
.board.lv-htable td.num, .lv-htable th.num { text-align: right; white-space: nowrap; color: var(--mute); }
.board.lv-htable td.num.on { color: #fff; font-weight: 700; }
.lv-htable td:first-child { width: 36px; color: var(--dim); }
.lv-htable .st-on { margin-left: 6px; vertical-align: middle; }

/* Admin › Streamers : heures */
.ast-hours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ast-hours span { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--soft); background: rgba(255, 255, 255, .03); }
.ast-hours small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ast-hours b { font: 400 22px/1 var(--display); color: #fff; }
.ast-next { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--mute); } .ast-next .ic { width: 14px; height: 14px; color: var(--amber); }
.ast-hform .input { height: 36px; }

/* Code promo (Pièce, Abonnement, Pass) */
.pr-box.on .pi { box-shadow: inset 3px 0 0 var(--green); }
.pr-on { display: flex; align-items: center; gap: 10px; margin: 0; }
.pr-on > .ic { width: 18px; height: 18px; color: var(--green); }
.pr-on span { flex: 1; display: grid; } .pr-on b { font-size: 18px; letter-spacing: .06em; color: #fff; } .pr-on small { color: var(--dim); }
.pr-row .input { text-transform: uppercase; letter-spacing: .08em; }
.pr-old { margin-right: 8px; font-size: .7em; color: var(--dim); text-decoration-thickness: 2px; }
.ab-promo, .bp-promo { margin: 20px 0; max-width: 560px; }

/* Admin › Boutique */
.bq-demonote { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.bq-tot { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.bq-tile { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--soft); background: rgba(255, 255, 255, .03); }
.bq-tile small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.bq-tile b { font: 400 30px/1 var(--display); color: #fff; }
.bq-tile span { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--mute); } .bq-tile .ic { width: 13px; height: 13px; color: var(--amber); }
.bq-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.bq-filters > .input { flex: 1 1 180px; height: 36px; } .bq-filters select.input { flex: 0 0 150px; } .bq-filters .pa-mini { flex: 0 0 150px; } .bq-filters .pa-mini .input { height: 36px; }
.bq-scroll { max-height: 640px; overflow: auto; scrollbar-width: thin; }
.bq-table td, .bq-table th { padding: 8px 10px; vertical-align: top; }
.bq-table td:first-child { white-space: nowrap; } .bq-table td:first-child small { font-size: 13px; color: var(--mute); }
.bq-table .num { text-align: right; white-space: nowrap; }
.bq-table td .tag { margin-right: 4px; }
.bq-code, .bq-demo { display: block; font-size: 12px; color: var(--mute); } .bq-code .ic { width: 11px; height: 11px; color: var(--green); } .bq-code s { color: var(--dim); }
.bq-demo { color: var(--dim); letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.bq-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.bq-form label { display: grid; gap: 4px; align-content: end; } .bq-form .wide { grid-column: 1 / -1; } .bq-form .input { height: 36px; }
#bq-code { text-transform: uppercase; letter-spacing: .08em; }
.bq-codes { list-style: none; margin: 0; padding: 0; max-height: 620px; overflow-y: auto; }
.bq-codes > li { padding: 12px 0; } .bq-codes > li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.bq-codes > li.off { opacity: .6; }
.bq-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bq-cname { font-size: 17px; letter-spacing: .08em; color: #fff; }
.bq-pct { font: 400 22px/1 var(--display); color: var(--green); }
.bq-cinfo, .bq-cnote { margin: 4px 0 0; font-size: 13px; color: var(--mute); } .bq-cnote { color: var(--dim); }
@media (max-width: 1200px) { .bq-tot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bq-tot, .bq-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ast-hours { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* SEO (02/12/2026) : présentation du serveur en bas de l'accueil (index.html, .seo-wrap). Visible, discrète, dans le thème. */
.seo-wrap { display: none; }
body.page-accueil .seo-wrap { display: block; max-width: 1240px; margin: 0 auto; padding: 8px 24px 40px; }
.seo-intro { padding: 22px 26px; border: 1px solid var(--soft); border-left: 3px solid var(--red); background: rgba(255, 255, 255, .02); color: var(--mute); font-size: 14px; line-height: 1.6; }
.seo-intro h1, .seo-intro h2 { margin: 0 0 8px; font: 400 26px/1.1 var(--display); letter-spacing: .02em; color: var(--text); }
.seo-intro h2 { margin-top: 16px; font-size: 20px; color: #fff; }
.seo-intro p { margin: 0 0 8px; } .seo-intro strong { color: var(--text); font-weight: 700; }
.seo-intro ul { margin: 0 0 10px; padding-left: 18px; } .seo-intro li { margin: 3px 0; } .seo-intro li::marker { color: var(--red); }

.seo-links { line-height: 2; } .seo-links a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; } .seo-links a:hover { color: var(--red); }
