:root {
  --bg: #0e1116;
  --panel: rgba(20, 24, 31, 0.94);
  --panel-2: #1c222c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f5;
  --muted: #98a2b3;
  --orange: #ff8a2b;
  --orange-2: #e8742a;
  --hazard: #ffc93c;
  --money: #5fe08f;
  --token: #b79cff;
  --danger: #ff5d5d;
  --blue: #5bb4ff;
  --radius: 12px;
  --font-title: 'Russo One', 'Rubik', system-ui, sans-serif;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--font); }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }
#app { position: fixed; inset: 0; }
#app canvas { display: block; }
.labels { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Site ---------- */
#site { position: fixed; inset: 0; display: flex; flex-direction: column; z-index: 10;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(5,7,10,.75) 100%), linear-gradient(180deg, rgba(5,7,10,.55), rgba(5,7,10,0) 22%, rgba(5,7,10,0) 70%, rgba(5,7,10,.8)); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; gap: 24px; }
.logo { font-family: var(--font-title); font-size: 22px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo b { color: var(--orange); margin-left: 4px; }
.logo .bars { width: 22px; height: 22px; background: repeating-linear-gradient(90deg, #222 0 3px, var(--orange) 3px 7px); border-radius: 4px; }
.nav nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 8px; color: #cfd6e1; font-weight: 600; font-size: 14px; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
.season { font-weight: 700; letter-spacing: 3px; font-size: 12px; color: var(--hazard); background: rgba(0,0,0,.45); border: 1px solid rgba(255,201,60,.35); padding: 6px 14px; border-radius: 99px; }
.title { font-family: var(--font-title); font-size: clamp(56px, 11vw, 132px); margin: 14px 0 0; line-height: .95; letter-spacing: 2px;
  text-shadow: 0 6px 0 #6b2e09, 0 12px 40px rgba(0,0,0,.6); }
.title span { color: var(--orange); }
.subtitle { font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; margin: 18px 0 4px; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.pitch { color: #d5dbe5; margin: 0 0 26px; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.btn-play { font-family: var(--font-title); font-size: 24px; letter-spacing: 1px; padding: 18px 46px; border: 0; border-radius: 14px; color: #1b1104;
  background: linear-gradient(180deg, #ffb35a, var(--orange) 55%, #e2661a); box-shadow: 0 6px 0 #8a3b0c, 0 16px 40px rgba(255,138,43,.35); transition: transform .12s; }
.btn-play:hover { transform: translateY(-2px) scale(1.02); }
.btn-play:active { transform: translateY(3px); box-shadow: 0 2px 0 #8a3b0c; }
.browser-note { color: #b8c1cf; font-size: 13px; margin: 14px 0 26px; text-shadow: 0 2px 8px #000; }
.main-menu { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 760px; }
.main-menu button { background: rgba(14,17,22,.72); color: #fff; border: 1px solid var(--line); padding: 12px 20px; border-radius: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: 13px; backdrop-filter: blur(6px); }
.main-menu button:hover { border-color: var(--orange); color: var(--orange); }
.ribbon { display: flex; justify-content: center; gap: 1px; background: rgba(0,0,0,.5); border-top: 1px solid var(--line); backdrop-filter: blur(8px); flex-wrap: wrap; }
.ribbon > div { padding: 12px 26px; display: flex; flex-direction: column; align-items: center; min-width: 140px; }
.ribbon small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.ribbon b { font-size: 16px; margin-top: 2px; }
#st-online { color: var(--money); }

/* ---------- Modal ---------- */
#modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(4,6,9,.6); backdrop-filter: blur(3px); padding: 16px; }
.modal-card { position: relative; width: min(760px, 100%); max-height: 88vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal-x { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.06); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; }
.modal-body h2 { font-family: var(--font-title); margin: 0 0 6px; font-size: 26px; letter-spacing: .5px; }
.modal-body h3 { margin: 18px 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--hazard); }
.modal-body p { color: #cdd4de; line-height: 1.55; }
.lead { color: var(--muted) !important; margin-top: 0; }
.server-row { display: flex; align-items: center; gap: 16px; background: var(--panel-2); padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); margin-top: 10px; }
.server-row .grow { flex: 1; }
.server-row b { font-size: 16px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); }
.pill.green { background: rgba(95,224,143,.15); color: var(--money); }
.pill.orange { background: rgba(255,138,43,.15); color: var(--orange); }
.pill.purple { background: rgba(183,156,255,.15); color: var(--token); }
.btn { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; color: #1b1104; background: var(--orange); letter-spacing: .3px; }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { background: #3a414d; color: #8a93a3; cursor: not-allowed; filter: none; }
.btn.ghost { background: rgba(255,255,255,.07); color: #fff; }
.btn.green { background: var(--money); color: #06200f; }
.btn.purple { background: var(--token); color: #170a35; }
.btn.small { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs button { background: rgba(255,255,255,.06); color: #cfd6e1; border: 1px solid transparent; padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.tabs button.active { border-color: var(--orange); color: var(--orange); }
table.lb { width: 100%; border-collapse: collapse; font-size: 14px; }
table.lb td, table.lb th { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.lb th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
table.lb td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
table.lb tr:nth-child(1) td:first-child { color: var(--hazard); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--money); margin-left: 6px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.card .ic { font-size: 26px; }
.card b { display: block; margin: 6px 0 4px; }
.card small { color: var(--muted); }
.news { border-left: 3px solid var(--orange); padding: 2px 0 2px 14px; margin: 16px 0; }
.news small { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field select { background: #0f1319; border: 1px solid var(--line); color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 16px; font-family: inherit; }
.field input:focus { outline: 2px solid var(--orange); border-color: transparent; }
.err { color: var(--danger); font-size: 14px; min-height: 18px; }

/* ---------- Chargement ---------- */
#loading { position: fixed; inset: 0; z-index: 60; background: radial-gradient(ellipse at center, #1a1f28, #07090c); display: flex; align-items: center; justify-content: center; transition: opacity .8s; }
#loading.fade { opacity: 0; pointer-events: none; }
.load-inner { text-align: center; width: min(420px, 90vw); }
.load-bars { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.load-bars i { width: 10px; height: 70px; background: linear-gradient(#4b5260, #2b3039); border-radius: 5px; animation: barPulse 1.2s infinite ease-in-out; }
.load-bars i:nth-child(2) { animation-delay: .1s } .load-bars i:nth-child(3) { animation-delay: .2s } .load-bars i:nth-child(4) { animation-delay: .3s } .load-bars i:nth-child(5) { animation-delay: .4s }
@keyframes barPulse { 50% { background: linear-gradient(#ffb35a, #e2661a); transform: scaleY(1.08); } }
.load-title { font-family: var(--font-title); font-size: 40px; letter-spacing: 2px; }
.load-msg { margin: 10px 0 18px; color: #d7dde6; font-weight: 600; min-height: 22px; }
.load-progress { height: 8px; background: #20262f; border-radius: 99px; overflow: hidden; }
.load-progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--hazard)); transition: width .4s; }
.load-tip { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ================= JEU — panneaux anthracite, accent orange unique, sans halos (rond, épais, lisible) ================= */
:root {
  --n-bg: rgba(18,20,24,.88); --n-bg2: rgba(24,27,32,.94); --n-solid: #111317; --n-card: #1d2128; --n-card2: #252a33;
  --n-line: rgba(255,255,255,.09); --n-line2: rgba(255,255,255,.2); --n-cyan: #ff9f43; --n-pink: #ffc93c; --n-gold: #ffc93c; --n-green: #5fd68a; --n-red: #ef5350;
  --n-text: #eef1f5; --n-dim: #aab2be; --n-mute: #737c89; --n-r: 16px;
  --f-head: 'Fredoka', 'Nunito', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif;
}
#hud { position: fixed; inset: 0; z-index: 20; pointer-events: none; user-select: none; font-family: var(--f-body); color: var(--n-text); }
#hud img.ico { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
#hud img.ico.inl { width: 18px; height: 18px; }
.glass, .note, .hud-bar, .clock, .hud-event, .toast, .hud-prompt, .dialog, .sheet, .g-form, .plan, .emo { background: var(--n-bg); border: 2px solid var(--n-line); border-radius: var(--n-r); backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.gauge { height: 7px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.gauge > div { height: 100%; border-radius: 99px; background: #5b9cf0;  transition: width .3s; }
.gauge.hp > div { background: #ef5350;  }
.gauge.food > div { background: #f5a524;  }
.gauge.bag > div { background: var(--n-green); }
.gauge.ink > div { background: var(--n-cyan); }
.gauge.big { height: 13px; }
.gauge.low > div { animation: lowPulse 1s infinite; }
@keyframes lowPulse { 50% { opacity: .35; } }

/* Objectif (haut gauche) */
.hud-tl { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: opacity .25s; }
.note { position: relative; pointer-events: auto; padding: 12px 14px; font-size: 12.5px; line-height: 1.4; }
.note .pin { display: none; }
.n-lbl { font-family: var(--f-head); font-size: 11px; color: var(--n-cyan); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.n-main { font-family: var(--f-head); font-weight: 600; font-size: 16px; margin: 2px 0 8px; display: flex; justify-content: space-between; gap: 6px; }
.n-main span { color: var(--n-dim); font-size: 13px; white-space: nowrap; }
.n-desc { color: var(--n-dim); margin-top: 7px; font-size: 12px; }
.n-rew { margin-top: 7px; font-weight: 800; color: var(--n-gold); }
.n-hint { margin-top: 8px; background: rgba(255,159,67,.1); border: 1px solid rgba(255,159,67,.3); border-radius: 10px; padding: 5px 8px; font-size: 12px; }
.n-sep { margin-top: 10px; padding-top: 7px; border-top: 1px solid var(--n-line); font-family: var(--f-head); font-size: 11px; color: var(--n-mute); text-transform: uppercase; letter-spacing: 1px; }
.n-day { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; margin-top: 4px; } .n-day b { color: var(--n-cyan); white-space: nowrap; }

/* Minicarte + horloge */
.hud-tr { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .25s; }
.mm-frame { position: relative; width: 176px; height: 176px; border-radius: 50%; padding: 4px; background: var(--n-solid); border: 2px solid var(--n-line2); box-shadow:, 0 10px 26px rgba(0,0,0,.5); pointer-events: auto; }
.mm-frame canvas { width: 164px; height: 164px; border-radius: 50%; display: block; }
.mm-n { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); font-family: var(--f-head); font-weight: 700; font-size: 11px; color: var(--n-solid); background: var(--n-cyan); border-radius: 99px; padding: 0 6px; }
#hud.inside .mm-frame { display: none; }
.clock { padding: 4px 14px; font-size: 11px; display: flex; gap: 8px; align-items: baseline; text-transform: uppercase; letter-spacing: 1px; color: var(--n-dim); font-weight: 700; }
.clock b { font-family: var(--f-head); font-size: 17px; color: var(--n-text); letter-spacing: 0; }
.clock.night b { color: #b9c8ff; text-shadow:; }
.clock[data-place]:not([data-place=""])::before { content: attr(data-place); color: var(--n-cyan); font-family: var(--f-head); font-size: 13px; letter-spacing: .5px; }

.hud-event { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 8px 24px; text-align: center; border-color: rgba(255,201,60,.6);  pointer-events: auto; }
.hud-event small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--n-pink); text-transform: uppercase; font-weight: 800; }
.hud-event b { display: block; font-family: var(--f-head); font-size: 18px; } .hud-event span { font-size: 12px; color: var(--n-dim); }
.toasts { position: absolute; top: 236px; right: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; width: 270px; }
.toast { padding: 10px 14px; font-size: 13px; font-weight: 700; width: 100%; animation: toastIn .25s ease-out; border-left: 4px solid var(--n-cyan); }
.toast.warn { border-left-color: var(--n-red); } .toast.good { border-left-color: var(--n-green); } .toast.event { border-left-color: var(--n-gold); }
@keyframes toastIn { from { transform: translateX(30px); opacity: 0; } }
.speakers { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.spk { background: var(--n-bg); border: 1px solid rgba(75,227,138,.5); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 3px 12px 3px 8px; display: flex; gap: 6px; align-items: center; }
.hud-prompt { position: absolute; bottom: 114px; left: 50%; transform: translateX(-50%); padding: 7px 16px 7px 8px; font-size: 14px; font-weight: 800; white-space: nowrap; display: flex; align-items: center; gap: 10px; border-radius: 99px; }
.hud-prompt kbd, .hud-keys kbd, .qslot kbd { font-family: var(--f-head); font-weight: 700; background: var(--n-cyan); color: var(--n-solid); border-radius: 8px; padding: 1px 8px; font-size: 13px; box-shadow: 0 3px 0 #a3621a; }

/* Barre basse */
.hud-bar { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; pointer-events: auto; padding: 6px 4px; border-radius: 16px; transition: opacity .25s; }
.hud-bar > div { padding: 0 10px; border-right: 1px solid var(--n-line); display: flex; flex-direction: column; justify-content: center; }
.hud-bar > div:last-child { border: 0; }
.b-id { flex-direction: row !important; gap: 10px; align-items: center; }
.polaroid { position: relative; border-radius: 14px; padding: 3px; background: var(--n-line2); }
.polaroid img { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 11px; background: #2a2f37; }
.b-emb { position: absolute; right: -10px; bottom: -8px; }
.b-name { font-family: var(--f-head); font-weight: 600; font-size: 14px; line-height: 1; }
.b-tag { font-size: 10.5px; color: var(--n-dim); margin: 3px 0 5px; font-weight: 700; } .b-tag .vip { font-family: var(--f-head); }
.b-vit { display: flex; align-items: center; gap: 5px; width: 128px; margin-top: 3px; } .b-vit .gauge { flex: 1; } .b-vit b { font-size: 11px; width: 24px; text-align: right; }
#hud .b-vit img.ico { width: 16px; height: 16px; }
.b-money { display: flex; align-items: center; gap: 6px; } .b-money b { font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--n-green); text-shadow:; }
.b-money b.bump { animation: bump .25s; } @keyframes bump { 50% { transform: scale(1.14); } }
.b-sub { display: flex; gap: 12px; font-weight: 800; font-size: 13px; } .b-sub span { display: flex; align-items: center; gap: 3px; }
#hud .b-sub img.ico { width: 18px; height: 18px; }
.b-inc { display: flex; flex-direction: column; font-size: 10.5px; color: var(--n-mute); margin-top: 2px; font-weight: 700; }
.b-cur { gap: 3px; }
.b-boosts { display: flex; gap: 4px; flex-wrap: wrap; }
.b-boosts:empty { display: none; }
.b-boosts span { display: flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 800; background: rgba(75,227,138,.14); border-radius: 99px; padding: 0 6px; }
#hud .b-boosts img.ico { width: 14px; height: 14px; }
.b-bag { width: 200px; } .b-bag-h { display: flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.b-bag-h b { margin-left: auto; font-family: var(--f-body); font-size: 11px; color: var(--n-dim); }
.b-bag .gauge { margin: 5px 0 6px; height: 7px; } .b-bag.full .gauge > div { background: var(--n-red); }
.b-slots { display: flex; gap: 5px; } .b-slots .slot { width: 34px; height: 32px; border-radius: 9px; }
.slot { position: relative; width: 64px; height: 60px; background: rgba(255,255,255,.05); border: 2px solid var(--n-line); border-radius: 12px; display: grid; place-items: center; transition: border-color .15s, box-shadow .15s; }
.slot:hover { border-color: var(--n-cyan);  }
.slot img.ico { width: 36px !important; height: 36px !important; } .b-slots .slot img.ico { width: 20px !important; height: 20px !important; }
.slot b { position: absolute; right: 4px; bottom: 1px; font-size: 11px; font-weight: 800; text-shadow: 0 1px 2px #000; } .slot em { display: none; }
.slot.empty { opacity: .45; } .slot.more { font-weight: 800; font-size: 12px; }
.b-quick { flex-direction: row !important; gap: 8px; align-items: center; }
.qslot { position: relative; width: 40px; height: 40px; background: rgba(255,255,255,.05); border: 2px solid var(--n-line); border-radius: 12px; display: grid; place-items: center; } .qslot.empty { opacity: .45; }
.qslot img.ico { width: 24px !important; height: 24px !important; } .qslot b { position: absolute; right: 3px; bottom: 0; font-size: 11px; font-weight: 800; }
.qslot kbd { position: absolute; top: -10px; left: -6px; font-size: 10px !important; padding: 0 5px !important; }

.hud-chat { position: absolute; left: 16px; bottom: 16px; width: 300px; pointer-events: auto; transition: opacity .25s; }
.chat-log { max-height: 140px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-size: 13px; padding: 6px 2px; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
.chat-log div { text-shadow: 0 1px 3px #000, 0 0 2px #000; line-height: 1.35; word-wrap: break-word; font-weight: 600; }
.chat-log .g { color: var(--n-cyan); font-size: 11px; } .chat-log .n { font-weight: 800; cursor: pointer; pointer-events: auto; } .chat-log .sys { color: var(--n-gold); }
.chat-input { width: 100%; background: var(--n-bg); border: 2px solid var(--n-line); border-radius: 12px; color: var(--n-text); padding: 7px 10px; font-family: var(--f-body); font-weight: 700; font-size: 13px; }
.chat-input:focus { outline: 0; border-color: var(--n-cyan);  }
.hud-keys { position: absolute; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; font-size: 11px; font-weight: 700; color: var(--n-dim); text-shadow: 0 1px 2px #000; transition: opacity .25s; }
.crosshair { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: #fff; border-radius: 2px; box-shadow: 0 0 3px #000; }
.crosshair::before { left: 7px; top: 0; width: 2px; height: 16px; } .crosshair::after { top: 7px; left: 0; height: 2px; width: 16px; }
.quest-arrow { position: absolute; color: var(--n-gold); font-size: 30px; text-shadow:; display: flex; align-items: center; gap: 4px; }
.quest-arrow span { font-size: 12px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000; }
.mine-ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.vignette { position: absolute; inset: 0; box-shadow: inset; }
.hurt-flash { position: absolute; inset: 0; opacity: 0; box-shadow: inset; } .hurt-flash.on { animation: hurt .6s ease-out; }
@keyframes hurt { 0% { opacity: 1; } 100% { opacity: 0; } }
#hud.fp .hud-prompt { bottom: 140px; }
.disconnected { position: fixed; inset: 0; z-index: 80; background: rgba(5,6,8,.88); display: grid; place-items: center; text-align: center; color: var(--n-text); font-family: var(--f-body); }
#fade { position: fixed; inset: 0; z-index: 70; background: #05070c; pointer-events: none; opacity: 0; }
#fade.on { animation: fadeIO .55s ease; } @keyframes fadeIO { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

/* Mode concentration : pendant un échange avec un PNJ */
#hud.focus .hud-tl, #hud.focus .hud-tr, #hud.focus .hud-hotbar, #hud.focus .hud-chat, #hud.focus .hud-keys, #hud.focus .speakers, #hud.focus .hud-event, #hud.focus .quest-arrow, #hud.focus .toasts { opacity: 0; pointer-events: none; }
#hud.focus .vignette { box-shadow: inset; }

/* Annonces : lueur et ligne qui s'étire */
.cine-bars { display: none; }
.cine { position: absolute; top: 28%; left: 50%; transform: translate(-50%, -50%); text-align: center; animation: cineIn 3.4s ease forwards; width: min(760px, 90vw); }
.cine .c0 { font-family: var(--f-head); font-size: 13px; letter-spacing: 6px; text-transform: uppercase; color: var(--n-dim); font-weight: 600; }
.cine .c1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(36px, 5.5vw, 66px); margin: 2px 0; color: var(--n-cyan); text-shadow:, 0 4px 0 rgba(0,0,0,.4); }
.cine .c2 { font-size: 16px; font-weight: 700; margin-top: 6px; text-shadow: 0 2px 8px #000; }
.cine .c-rule { height: 2px; background: linear-gradient(90deg, transparent, var(--n-cyan), var(--n-pink), transparent); margin: 6px auto; width: 0; animation: rule 3.4s ease forwards;  }
.cine .c-rule:first-of-type { display: none; }
@keyframes cineIn { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.9); } 10% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); } 16% { transform: translate(-50%, -50%) scale(1); } 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rule { 0% { width: 0; } 20% { width: 70%; } 100% { width: 70%; } }

/* Dialogues PNJ */
.dialog { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); width: min(680px, 92vw); display: flex; gap: 16px; pointer-events: auto; padding: 16px; border-color: var(--n-line2); }
.d-face img { width: 96px; height: 96px; border-radius: 50%; background: #2a2f37; border: 3px solid var(--n-cyan);  }
.d-who { font-family: var(--f-head); font-weight: 600; color: var(--n-cyan); font-size: 15px; }
.dialog p { margin: 6px 0 12px; font-size: 15px; line-height: 1.5; font-weight: 600; } .d-actions { display: flex; gap: 8px; }

/* Boutons */
.stamp { font-family: var(--f-head); font-weight: 600; font-size: 14px; background: linear-gradient(180deg, #ffb35a, #f08a24); color: #241302; border: 0; border-radius: 12px; padding: 8px 16px; cursor: pointer; box-shadow: 0 4px 0 #9a4e10; transition: transform .08s, filter .1s; }
.stamp:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.stamp:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #9a4e10; }
.stamp.green { background: linear-gradient(180deg, #6df0a4, #22c06b); color: #06200f; box-shadow: 0 4px 0 #147a43; }
.stamp.blue { background: linear-gradient(180deg, #6aa8f5, #3f7fd6); color: #fff; box-shadow: 0 4px 0 #24508f; }
.stamp.ghost { background: rgba(255,255,255,.06); color: var(--n-text); box-shadow: inset 0 0 0 2px var(--n-line); }
.stamp.ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--n-cyan); }
.stamp.sm { font-size: 12px; padding: 5px 10px; border-radius: 10px; }
.stamp:disabled { filter: grayscale(.8) brightness(.6); cursor: not-allowed; box-shadow: none; }

/* Panneaux plein écran : colonne à gauche, jeu flouté derrière */
.panel-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: auto; background: rgba(4,7,14,.5); backdrop-filter: blur(6px); padding: 16px; }
.panel-wrap.full { background: rgba(4,7,14,.62); }
.scroll { overflow: auto; } .scroll::-webkit-scrollbar { width: 8px; } .scroll::-webkit-scrollbar-thumb { background: var(--n-line2); border-radius: 8px; }
.muted { color: var(--n-mute); font-size: 12.5px; } .center { text-align: center; } .red { color: var(--n-red); } .green { color: var(--n-green); }
.row-end { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin: 12px 0; flex-wrap: wrap; }
.row-start { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.dossier { width: min(1180px, 96vw); height: min(780px, 92vh); display: flex; gap: 14px; }
.ftabs { display: flex; flex-direction: column; gap: 6px; width: 210px; flex-shrink: 0; }
.ftab { position: relative; display: flex; align-items: center; gap: 10px; background: var(--n-bg); color: var(--n-dim); border: 2px solid var(--n-line); border-radius: 14px; padding: 10px 12px; font-family: var(--f-head); font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; transition: all .12s; }
.ftab img.ico { width: 28px; height: 28px; }
.ftab:hover:not(:disabled) { color: var(--n-text); border-color: var(--n-line2); }
.ftab.on { background: linear-gradient(90deg, rgba(255,159,67,.22), rgba(255,159,67,.05)); color: #fff; border-color: var(--n-cyan);  }
.ftab.locked { opacity: .45; cursor: not-allowed; } .ftab em { font-style: normal; font-family: var(--f-body); font-size: 10px; color: var(--n-mute); margin-left: auto; }
.ftab .badge { position: absolute; top: -6px; right: -6px; background: var(--n-pink); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px;  }
.ftabs-end { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.sheet { flex: 1; min-width: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; font-family: var(--f-head); font-size: 12px; color: var(--n-mute); padding: 12px 20px; border-bottom: 1px solid var(--n-line); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.sheet > .scroll { flex: 1; padding: 18px 24px; font-size: 14px; }
.sheet h2, .guichet h2 { font-family: var(--f-head); font-weight: 700; font-size: 28px; margin: 0 0 6px; }
.sheet h3, .guichet h3 { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--n-cyan); margin: 20px 0 10px; letter-spacing: .5px; }
.subtabs { display: flex; gap: 6px; margin: 8px 0 14px; flex-wrap: wrap; }
.subtabs button { font-family: var(--f-head); font-weight: 600; background: rgba(255,255,255,.05); border: 2px solid var(--n-line); border-radius: 99px; padding: 6px 16px; color: var(--n-dim); cursor: pointer; font-size: 14px; }
.subtabs button.on { background: var(--n-cyan); border-color: var(--n-cyan); color: var(--n-solid);  }
.frow { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px; margin-bottom: 8px; background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; }
.frow.locked { opacity: .5; }
.f-ic { width: 54px; height: 54px; border-radius: 12px; background: rgba(255,255,255,.05); display: grid; place-items: center; } .f-ic img.ico { width: 44px !important; height: 44px !important; }
.f-title { font-family: var(--f-head); font-weight: 600; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.f-lv { font-family: var(--f-body); font-size: 11px; font-weight: 800; background: rgba(255,159,67,.15); color: var(--n-cyan); padding: 1px 8px; border-radius: 99px; }
.f-desc { color: var(--n-dim); font-size: 12.5px; margin-top: 2px; }
.f-ba { font-weight: 800; font-size: 13px; margin-top: 4px; } .f-ba s { color: var(--n-mute); } .f-ba i { color: var(--n-cyan); margin: 0 6px; font-style: normal; } .f-ba b { color: var(--n-green); }
.f-act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 140px; }
.f-cost { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 14px; } .f-cost img.ico { width: 20px !important; height: 20px !important; }
table.ledger { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
table.ledger th { text-align: left; font-family: var(--f-head); font-weight: 600; font-size: 12px; color: var(--n-mute); padding: 0 10px; }
table.ledger td { padding: 10px; background: var(--n-card); font-weight: 700; } table.ledger td:first-child { border-radius: 12px 0 0 12px; } table.ledger td:last-child { border-radius: 0 12px 12px 0; }
table.ledger .num { text-align: right; font-variant-numeric: tabular-nums; } table.ledger tr.total td { background: rgba(255,159,67,.12); color: var(--n-cyan); }
table.ledger tr.top td:first-child { color: var(--n-gold); font-family: var(--f-head); font-size: 16px; }
table.ledger .ic-cell img.ico { width: 26px !important; height: 26px !important; }
.lb-n { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } .lb-n:hover { color: var(--n-cyan); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--n-green);  }
.slots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .slot-act { margin-left: 6px; }
.inv { display: grid; grid-template-columns: 240px 1fr; gap: 24px; } .inv-id { text-align: center; }
.polaroid.big { display: inline-block; padding: 4px; border-radius: 22px; } .polaroid.big img { width: 200px; height: 250px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #3a4049, #16191e); }
.pl-cap { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-family: var(--f-head); font-weight: 600; font-size: 12px; background: var(--n-solid); border: 1px solid var(--n-line2); border-radius: 99px; padding: 1px 10px; white-space: nowrap; }
.inv-name { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin-top: 12px; display: flex; gap: 6px; justify-content: center; align-items: center; } .inv-grade { font-size: 12px; color: var(--n-dim); font-weight: 700; }
.equip { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
/* Objectifs : frise */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { position: relative; background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; padding: 10px 4px; text-align: center; font-size: 11.5px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.day img.ico { width: 34px !important; height: 34px !important; } .day small { color: var(--n-mute); }
.day.today { border-color: var(--n-cyan);  } .day.got { opacity: .5; }
.day .ok, .pt .ok { position: absolute; top: 6px; right: 6px; background: var(--n-green); color: #04240f; font-style: normal; font-size: 10px; font-weight: 900; border-radius: 99px; padding: 0 6px; }
.checklist { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 22px; }
.checklist::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--n-cyan), var(--n-pink));  }
.chk { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; }
.chk .box { position: absolute; left: -22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--n-solid); border: 3px solid var(--n-cyan); font-size: 0; }
.chk.done .box { background: var(--n-green); border-color: var(--n-green); } .chk.done { opacity: .6; } .chk.done .t { text-decoration: line-through; }
.chk .t { font-weight: 800; } .chk .p { font-weight: 800; color: var(--n-cyan); } .chk .r { color: var(--n-gold); font-size: 12px; font-weight: 800; }
.horizons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.horizons div { background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; padding: 10px 12px; font-weight: 700; }
.horizons small { display: block; font-family: var(--f-head); color: var(--n-pink); font-size: 12px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; margin: 8px 0; }
.fact { background: var(--n-card); border-radius: 12px; padding: 8px 12px; } .fact small { display: block; color: var(--n-mute); font-size: 11px; font-weight: 700; } .fact b { font-size: 15px; font-family: var(--f-head); font-weight: 600; }
.fiche { display: grid; grid-template-columns: 240px 1fr; gap: 24px; } .fiche-side { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.banner-prev { width: 230px; display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; color: #fff; } .banner-prev b { display: block; font-family: var(--f-head); font-weight: 600; } .banner-prev span { font-size: 11px; opacity: .8; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.field label, .emb-edit label { font-size: 12px; font-weight: 800; color: var(--n-dim); }
.field textarea, .line select { font-family: var(--f-body); font-weight: 700; background: var(--n-solid); border: 2px solid var(--n-line); border-radius: 12px; padding: 8px 10px; color: var(--n-text); font-size: 13px; resize: vertical; }
.emb-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; } .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.chip-emb { background: var(--n-card); border: 2px solid transparent; border-radius: 12px; padding: 3px; cursor: pointer; } .chip-emb.on { border-color: var(--n-cyan);  }
.swatch { width: 30px; height: 30px; border-radius: 10px; border: 2px solid var(--n-solid); box-shadow: 0 0 0 2px var(--n-line); cursor: pointer; } .swatch.on { box-shadow: 0 0 0 3px var(--n-cyan); }
.perks { margin: 6px 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; font-weight: 600; color: var(--n-dim); }
.lines { display: flex; flex-direction: column; gap: 6px; }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--n-card); border-radius: 12px; font-weight: 700; } .line label { display: flex; gap: 8px; align-items: center; }
.range { width: 260px; accent-color: var(--n-cyan); } .range.sm { width: 160px; }
.key { font-family: var(--f-head); font-weight: 600; min-width: 110px; background: var(--n-solid); border: 2px solid var(--n-line2); border-radius: 10px; padding: 5px 12px; cursor: pointer; color: var(--n-text); box-shadow: 0 3px 0 rgba(0,0,0,.4); }
.key.wait { background: var(--n-cyan); color: var(--n-solid); } .key:disabled { opacity: .6; cursor: default; }
.vu { width: 80px; height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; display: inline-block; } .vu i { display: block; height: 100%; width: 0; background: var(--n-green); }
.tag-stamp { font-family: var(--f-head); font-weight: 600; font-size: 12px; background: rgba(255,255,255,.07); color: var(--n-dim); border-radius: 99px; padding: 2px 10px; display: inline-block; }
.tag-stamp.green { background: rgba(75,227,138,.15); color: var(--n-green); } .tag-stamp.orange { background: rgba(255,170,60,.15); color: #ffb347; } .tag-stamp.red { background: rgba(255,93,108,.15); color: var(--n-red); }
.owned { font-family: var(--f-head); font-weight: 600; background: rgba(75,227,138,.15); color: var(--n-green); border-radius: 99px; padding: 3px 12px; font-size: 12px; }
.empty-state { text-align: center; padding: 30px; } .empty-state img.ico { width: 70px !important; height: 70px !important; }
.levels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 8px 0; }
.lvl { background: var(--n-card); border: 2px solid var(--n-line); border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 11px; font-weight: 700; opacity: .5; } .lvl b { display: block; font-family: var(--f-head); font-size: 20px; }
.lvl.on { opacity: 1; } .lvl.cur { border-color: var(--n-cyan);  }
.biz { background: var(--n-card); border: 2px solid var(--n-line); border-radius: 16px; padding: 14px; margin: 10px 0; }
.biz-h { display: flex; gap: 12px; align-items: center; } .biz-h img.ico { width: 50px !important; height: 50px !important; } .biz-h .tag-stamp { margin-left: auto; }
.biz-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 12px 0; } .biz-grid div { background: rgba(255,255,255,.04); border-radius: 10px; padding: 6px 8px; }
.biz-grid small { display: block; font-size: 10px; color: var(--n-mute); font-weight: 800; } .biz-grid b { font-size: 13px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; padding: 10px; border: 2px dashed var(--n-pink); border-radius: 14px; }
.spec-lbl { grid-column: 1 / -1; font-family: var(--f-head); color: var(--n-pink); font-weight: 600; }
.spec { background: var(--n-solid); border: 2px solid var(--n-line); border-radius: 12px; padding: 8px; text-align: left; cursor: pointer; color: var(--n-text); font-family: var(--f-body); }
.spec:hover { border-color: var(--n-pink); } .spec b { display: block; font-family: var(--f-head); font-weight: 600; } .spec span { font-size: 11px; color: var(--n-dim); }
.emps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 10px; }
.emp { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.04); border-radius: 12px; padding: 8px; } .emp img.ico { width: 36px !important; height: 36px !important; border-radius: 50%; }
.emp div { flex: 1; } .emp b { display: block; } .emp span { font-size: 11px; color: var(--n-dim); font-weight: 700; }
.vac { width: 36px; height: 36px; display: grid; place-items: center; border: 2px dashed var(--n-line2); border-radius: 50%; font-family: var(--f-head); font-size: 18px; color: var(--n-mute); }
.decl { background: rgba(255,159,67,.08); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-weight: 700; }
/* Passe : deux pistes défilantes */
.pass-head { display: flex; gap: 16px; align-items: center; margin: 10px 0; background: var(--n-card); border-radius: 16px; padding: 12px 16px; } .pass-head .grow { flex: 1; }
.pass-head small { display: block; font-size: 11px; color: var(--n-mute); font-weight: 800; } .pass-head b { font-family: var(--f-head); font-weight: 700; font-size: 30px; color: var(--n-cyan); }
.pass { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; }
.pass-row.lbl { display: flex; flex-direction: column; justify-content: space-around; font-family: var(--f-head); font-weight: 600; font-size: 12px; writing-mode: vertical-rl; transform: rotate(180deg); padding-top: 24px; color: var(--n-dim); }
.pass-col { display: flex; flex-direction: column; gap: 8px; min-width: 110px; }
.pt-n { text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--n-mute); }
.pass-col.reached .pt-n { color: var(--n-cyan); text-shadow:; }
.pt { position: relative; height: 124px; background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px 5px; text-align: center; font-size: 11px; font-weight: 700; }
.pt.prem { background: linear-gradient(180deg, rgba(255,201,60,.14), var(--n-card)); border-color: rgba(255,201,60,.5); }
.pt img.ico { width: 42px !important; height: 42px !important; } .pt.ready { border-color: var(--n-cyan);  } .pt.got { opacity: .5; } .pt.locked { opacity: .45; }
.pt .lk { font-style: normal; font-size: 10px; color: var(--n-mute); }
/* Boutique : offre du jour + vitrine */
.featured { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; background: linear-gradient(120deg, color-mix(in srgb, var(--rc) 28%, var(--n-card)), var(--n-card)); border: 2px solid color-mix(in srgb, var(--rc) 70%, transparent); border-radius: 20px; padding: 16px; margin-bottom: 16px; box-shadow: 0 0 30px color-mix(in srgb, var(--rc) 25%, transparent); }
.featured .cat-img { border-radius: 16px; } .featured small { color: var(--n-pink); font-family: var(--f-head); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.featured h3 { margin: 4px 0 6px !important; font-size: 26px !important; color: #fff !important; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cat-card { position: relative; background: var(--n-card); border: 2px solid color-mix(in srgb, var(--rc) 55%, transparent); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 0 24px color-mix(in srgb, var(--rc) 40%, transparent); }
.cat-card .tape { display: none; }
.cat-img { position: relative; aspect-ratio: 1; border-radius: 14px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rc) 40%, #262b33), #0d1220 75%); display: grid; place-items: center; overflow: hidden; }
.cat-img img { width: 92%; height: 92%; object-fit: contain; }
.cat-card.r-legendaire .cat-img::after, .cat-card.r-mythique .cat-img::after, .featured .cat-img::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); animation: shine 3.2s infinite; }
@keyframes shine { 0% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }
.cat-rar { font-family: var(--f-head); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--rc); }
.cat-name { font-family: var(--f-head); font-weight: 600; font-size: 16px; } .cat-desc { font-size: 12px; color: var(--n-dim); min-height: 30px; font-weight: 600; } .cat-desc .perks { font-size: 11.5px; }
.cat-buy { display: flex; justify-content: space-between; align-items: center; margin-top: auto; } .price { display: flex; align-items: center; gap: 4px; font-weight: 800; color: #c9a4ff; } .price small { display: block; font-size: 9px; color: var(--n-mute); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pack { display: flex; align-items: center; gap: 8px; background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; padding: 10px; font-weight: 800; } .pack i { font-style: normal; color: var(--n-green); font-size: 11px; } .pack span { margin-left: auto; font-size: 12px; color: var(--n-dim); }
/* Guichets : portrait rond + liste d'offres */
.guichet { width: min(720px, 94vw); max-height: 92vh; display: flex; flex-direction: column; gap: 0; }
.g-window { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px 12px; background: linear-gradient(120deg, rgba(255,159,67,.18), rgba(255,201,60,.1)); border: 2px solid var(--n-line2); border-bottom: 0; border-radius: 20px 20px 0 0; }
.g-face img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #2a2f37; border: 3px solid var(--n-cyan);  }
.g-bars { display: none; }
.g-plate { font-family: var(--f-head); font-weight: 700; font-size: 24px; } .g-plate small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--n-cyan); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.g-line { padding: 0 18px 12px 130px; margin-top: -40px; font-size: 14px; color: var(--n-dim); font-weight: 700; background: transparent; position: relative; }
.g-form { border-radius: 0 0 20px 20px; border-top: 1px solid var(--n-line); padding: 14px 18px 16px; display: flex; flex-direction: column; min-height: 0; font-size: 14px; }
.g-form > .scroll { max-height: 52vh; }
.g-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 600; font-size: 12px; color: var(--n-mute); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; }
.x { background: rgba(255,255,255,.06); border: 2px solid var(--n-line); border-radius: 10px; color: var(--n-text); width: 32px; height: 32px; cursor: pointer; font-weight: 800; }
.x:hover { border-color: var(--n-red); color: var(--n-red); }
.guichet.profile .pf-banner { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; color: #fff; border-radius: 20px 20px 0 0; }
.pf-banner b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 26px; } .pf-banner span { font-size: 12px; font-weight: 700; } .pf-banner i { font-style: normal; }
.pf-banner .online { position: absolute; right: 56px; top: 20px; background: rgba(75,227,138,.2); color: var(--n-green); border-radius: 99px; padding: 2px 10px; font-family: var(--f-head); font-size: 12px; }
.pf-banner .x { position: absolute; top: 12px; right: 12px; }
.pf-body { display: grid; grid-template-columns: 210px 1fr; gap: 18px; } .pf-body .polaroid.big img { width: 170px; height: 210px; }
.pf-bio { font-family: var(--f-head); font-size: 16px; color: var(--n-dim); }
.plan { padding: 14px 18px 18px; } .plan-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 700; font-size: 18px; margin-bottom: 10px; gap: 20px; }
.map-wrap { display: flex; justify-content: center; } .map-wrap canvas { max-width: min(720px, 86vw); max-height: 74vh; image-rendering: pixelated; border-radius: 16px; border: 2px solid var(--n-line2);  }
.emote-wheel { position: absolute; bottom: 130px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; pointer-events: auto; }
.emo { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--n-text); cursor: pointer; }
.emo:hover:not(:disabled) { border-color: var(--n-cyan);  } .emo img.ico { width: 46px !important; height: 46px !important; border-radius: 50%; } .emo.locked { opacity: .45; } .emo em { font-style: normal; font-size: 10px; color: var(--n-pink); }
.speak { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; vertical-align: middle; }
.speak i { width: 3px; background: var(--n-green); border-radius: 2px; animation: wave .6s infinite ease-in-out; height: 4px;  }
.speak i:nth-child(2) { animation-delay: .15s; } .speak i:nth-child(3) { animation-delay: .3s; } @keyframes wave { 50% { height: 12px; } }
.tag .speak { display: inline-flex; margin-bottom: 2px; }
@media (max-width: 1000px) {
  .hud-chat, .hud-keys { display: none; } .b-bag { width: 180px; } .b-vit { width: 120px; } .b-inc { display: none; }
  .mm-frame { width: 124px; height: 124px; } .mm-frame canvas { width: 112px; height: 112px; }
  .inv, .fiche, .pf-body, .featured { grid-template-columns: 1fr; } .biz-grid { grid-template-columns: repeat(3, 1fr); } .specs { grid-template-columns: 1fr 1fr; }
  .dossier { flex-direction: column; } .ftabs { flex-direction: row; width: auto; overflow-x: auto; } .ftab span { display: none; } .ftabs-end { flex-direction: row; margin: 0 0 0 auto; }
}

/* ================= SITE — navigation, profil, pages dédiées (Néon nocturne) ================= */
.nav-right { position: relative; display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav nav a { text-decoration: none; }
.profile-btn { display: flex; align-items: center; gap: 8px; background: rgba(14,17,22,.75); border: 2px solid rgba(255,255,255,.16); color: #eaf4ff; border-radius: 99px; padding: 3px 14px 3px 3px; font-family: 'Fredoka', var(--font); font-weight: 600; font-size: 14px; backdrop-filter: blur(8px); transition: border-color .15s, box-shadow .15s; }
.profile-btn:hover { border-color: #ff8a2b; box-shadow: 0 0 16px rgba(255,138,43,.35); }
.pb-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #232a35; color: #9fb3d1; overflow: hidden; }
.profile-btn.on .pb-avatar { background: transparent; }
.profile-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 260px; z-index: 30; background: rgba(14,17,22,.96); border: 2px solid rgba(255,255,255,.16); border-radius: 18px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.pm-head { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; color: #fff; }
.pm-head b { display: block; font-family: 'Fredoka', var(--font); font-size: 17px; } .pm-head span { font-size: 12px; opacity: .85; }
.pm-meta { font-size: 12px; color: #9fb3d1; padding: 8px 10px; } .pm-meta i { color: #4be38a; font-style: normal; }
.profile-menu button { display: block; width: 100%; text-align: left; background: transparent; border: 0; color: #eaf4ff; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.profile-menu button:hover { background: rgba(255,138,43,.12); color: #ff8a2b; } .profile-menu .pm-out { color: #ff5d6c; }
.studio { margin-top: 4px; display: flex; align-items: center; gap: 12px; background: rgba(10,14,26,.7); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 8px 18px 8px 8px; backdrop-filter: blur(8px); font-size: 14px; color: #cfd6e1; }
.studio img { border-radius: 10px; display: block; } .studio b { color: #fff; }
.biz-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.acc-banner { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; color: #fff; margin-bottom: 10px; }
.acc-banner b { display: block; font-family: var(--font-title); font-size: 24px; } .acc-banner span { font-size: 13px; opacity: .85; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.acc-stats div { background: var(--panel-2); border-radius: 10px; padding: 8px 12px; } .acc-stats small { display: block; color: var(--muted); font-size: 11px; } .acc-stats b { font-size: 15px; }
.oauth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; padding: 11px 12px; font-weight: 800; font-size: 14px; color: #fff; transition: transform .1s, filter .1s; }
.oauth-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.o-google { background: #fff; color: #1f2937; } .o-discord { background: #5865f2; } .o-meta { background: #0866ff; } .o-twitch { background: #9146ff; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Pages dédiées : identité du site (sombre, orange, Russo One / Rubik) */
#site.on-page { background: rgba(9,11,15,.93); }
.page { flex: 1; overflow-y: auto; font-family: var(--font); color: var(--text); }
.page::-webkit-scrollbar { width: 10px; } .page::-webkit-scrollbar-thumb { background: #2c3340; border-radius: 10px; }
.page .hidden { display: none !important; }
.pg-in { width: min(1200px, 100%); margin: 0 auto; padding: 0 24px 70px; animation: pgIn .3s ease; }
@keyframes pgIn { from { opacity: 0; transform: translateY(8px); } }
.page img[data-shop], .page img[data-ico] { opacity: 0; transition: opacity .25s; } .page img.in { opacity: 1; }
.page img.ico { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }
.page .center { text-align: center; } .page .green { color: var(--money); }
.sp-head { text-align: center; padding: 26px 0 22px; }
.sp-head small { font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); font-size: 12px; }
.sp-head h1 { font-family: var(--font-title); font-size: clamp(38px, 6vw, 62px); margin: 6px 0; letter-spacing: 1px; text-shadow: 0 5px 0 #6b2e09; }
.sp-head p { color: var(--muted); font-size: 16px; margin: 0; }
.sp-h2 { font-family: var(--font-title); font-size: 30px; letter-spacing: .5px; margin: 56px 0 6px; }
.sp-sub { color: var(--muted); margin: 0 0 20px; max-width: 760px; line-height: 1.55; }
.sp-btn { border: 0; border-radius: 12px; padding: 11px 20px; font-family: var(--font); font-weight: 800; font-size: 15px; color: #1b1104; background: linear-gradient(180deg, #ffb35a, var(--orange) 60%, #e2661a); box-shadow: 0 4px 0 #8a3b0c; transition: transform .1s, filter .1s; white-space: nowrap; }
.sp-btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); } .sp-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #8a3b0c; }
.sp-btn.wide { width: 100%; } .sp-btn.ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; }
.sp-btn:disabled { background: #2a303b; color: #8a93a3; box-shadow: none; cursor: default; }
.sp-gems { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #e7b9ff; } .sp-gems.big { font-family: var(--font-title); font-size: 26px; font-weight: 400; } .sp-gems.big img.ico { width: 28px; height: 28px; } .sp-gems.hot { color: #ffb35a; }
.sp-price { display: flex; align-items: baseline; gap: 8px; } .sp-price s { color: #7d8696; font-weight: 700; }
.sp-owned { display: inline-block; font-weight: 800; font-size: 13px; color: var(--money); background: rgba(95,224,143,.12); border-radius: 99px; padding: 6px 14px; }
.sp-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #2a303b; color: #fff; font-weight: 900; font-size: 12px; border-radius: 8px; padding: 4px 9px; }
.sp-badge.hot { background: #ff3d4f; box-shadow: 0 4px 14px rgba(255,61,79,.4); }
.sp-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--orange); color: #1b1104; font-weight: 900; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border-radius: 99px; padding: 4px 12px; white-space: nowrap; }
.sp-flag.gold { background: var(--hazard); }
.sp-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
/* Portefeuille collant */
.sp-wallet { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 0 -24px; padding: 10px 24px; background: rgba(14,17,22,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); font-weight: 700; flex-wrap: wrap; }
.sp-wallet em { font-style: normal; font-family: var(--font-title); font-size: 13px; }
.sp-head-ic { width: 34px; height: 34px; border-radius: 10px; background: #232a35; }
.sp-wallet nav { margin-left: auto; display: flex; gap: 4px; }
.sp-wallet nav button { background: transparent; border: 0; color: #cfd6e1; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.sp-wallet nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
/* Offre du jour */
.sp-deal { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.sp-deal-main { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 22px; border-radius: 20px; background: radial-gradient(circle at 25% 50%, color-mix(in srgb, var(--rc) 30%, #161b24), #12161d 70%); border: 2px solid color-mix(in srgb, var(--rc) 60%, transparent); overflow: hidden; }
.sp-deal-img { aspect-ratio: 1; display: grid; place-items: center; } .sp-deal-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); }
.sp-deal-info small, .sp-mini small, .sp-card small { font-weight: 900; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.sp-deal-info h2 { font-family: var(--font-title); font-size: 34px; margin: 4px 0 8px; line-height: 1.05; } .sp-deal-info p { color: #c3cad6; margin: 0 0 16px; }
.sp-deal-info .sp-gems { font-family: var(--font-title); font-weight: 400; font-size: 32px; } .sp-deal-info .sp-gems img.ico { width: 32px; height: 32px; } .sp-deal-info .sp-price s { font-size: 18px; }
.sp-timer { color: #ffb35a; font-size: 13px; font-weight: 700; } .sp-timer b { font-variant-numeric: tabular-nums; }
.sp-deal-side { display: flex; flex-direction: column; gap: 12px; }
.sp-mini { position: relative; flex: 1; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: #161b24; border: 2px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.sp-mini-img { aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 30%, #1c222c), #12161d 75%); display: grid; place-items: center; } .sp-mini-img img { width: 92%; }
.sp-mini b { display: block; font-size: 17px; margin: 2px 0 6px; }
.sp-note { color: var(--muted); font-size: 12px; margin: 0; text-align: center; }
/* Grades */
.sp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; padding-top: 12px; }
.sp-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: #161b24; border: 2px solid #252c38; transition: transform .15s, border-color .15s; }
.sp-plan:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gc) 70%, transparent); }
.sp-plan.hl { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,43,.12), 0 20px 40px rgba(0,0,0,.35); transform: scale(1.02); }
.sp-plan.have { opacity: .65; }
.sp-plan-img { height: 140px; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--gc) 25%, #1c222c), #12161d 75%); } .sp-plan-img img { height: 100%; }
.sp-plan h3 { font-family: var(--font-title); font-size: 26px; margin: 0; letter-spacing: 1px; }
.sp-plan-price span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.sp-plan ul { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #d5dbe5; flex: 1; }
.sp-plan li { position: relative; padding-left: 22px; } .sp-plan li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 10px; height: 6px; border-left: 3px solid var(--money); border-bottom: 3px solid var(--money); transform: rotate(-45deg); }
.sp-perm { color: var(--muted); font-size: 11px; text-align: center; }
/* Passe */
.sp-pass { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: center; margin-top: 56px; padding: 24px; border-radius: 22px; background: linear-gradient(110deg, #2a1d0f, #161b24 55%); border: 2px solid rgba(255,201,60,.4); }
.sp-pass-info small { color: var(--hazard); font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 11px; }
.sp-pass-info h2 { font-family: var(--font-title); font-size: 30px; margin: 4px 0 8px; } .sp-pass-info p { color: #c3cad6; margin: 0 0 14px; }
.sp-value { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .sp-value small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; } .sp-value i { color: var(--muted); font-style: normal; }
.sp-pass-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; }
.sp-tier { min-width: 130px; padding: 10px; border-radius: 14px; background: #12161d; border: 2px solid color-mix(in srgb, var(--rc) 50%, transparent); text-align: center; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.sp-tier b { color: var(--hazard); font-size: 12px; } .sp-tier img { width: 100%; aspect-ratio: 1; object-fit: contain; }
/* Objets */
.sp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; }
.sp-tabs button { display: inline-flex; align-items: center; gap: 6px; background: #161b24; border: 2px solid #252c38; color: #cfd6e1; border-radius: 99px; padding: 7px 16px; font-weight: 800; font-size: 14px; }
.sp-tabs button:hover { border-color: #3a4352; color: #fff; } .sp-tabs button.on { background: var(--orange); border-color: var(--orange); color: #1b1104; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.sp-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; background: #161b24; border: 2px solid color-mix(in srgb, var(--rc) 40%, #252c38); transition: transform .15s, box-shadow .15s; }
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--rc) 60%, transparent); }
.sp-card-img { position: relative; aspect-ratio: 1; border-radius: 12px; margin-bottom: 6px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rc) 32%, #1c222c), #12161d 75%); display: grid; place-items: center; overflow: hidden; }
.sp-card-img img { width: 92%; }
.sp-card.r-legendaire .sp-card-img::after, .sp-card.r-mythique .sp-card-img::after, .sp-deal-main::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%); animation: shine 3.4s infinite; pointer-events: none; }
.sp-card b { font-size: 16px; } .sp-card p { color: var(--muted); font-size: 12.5px; margin: 0; flex: 1; }
.sp-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
/* Gemmes */
.sp-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 12px; }
.sp-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 20px 14px 14px; border-radius: 18px; background: #161b24; border: 2px solid #252c38; }
.sp-pack.best { border-color: var(--hazard); background: linear-gradient(180deg, #2a2310, #161b24); }
.sp-pack-img img.ico.big { width: 64px; height: 64px; } .sp-pack b { font-family: var(--font-title); font-size: 22px; font-weight: 400; }
.sp-pack i { font-style: normal; font-weight: 800; color: var(--money); font-size: 13px; } .sp-pack i.dim { color: var(--muted); font-weight: 600; }
.sp-pack-rate { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.sp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.sp-trust div { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 14px; border-radius: 14px; background: #12161d; border: 1px solid var(--line); }
.sp-trust img.ico { grid-row: span 2; width: 40px; height: 40px; } .sp-trust span { color: var(--muted); font-size: 12.5px; }
/* Wiki */
.w-search { max-width: 560px; margin: 0 auto 18px; }
.w-search input { width: 100%; background: #161b24; border: 2px solid #252c38; border-radius: 14px; color: #fff; padding: 13px 16px; font-size: 16px; font-family: inherit; }
.w-search input:focus { outline: 0; border-color: var(--orange); }
.w-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 34px; }
.w-qcard { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; align-items: center; text-align: left; padding: 14px; border-radius: 16px; background: #161b24; border: 2px solid #252c38; color: #fff; transition: border-color .15s, transform .15s; }
.w-qcard:hover { border-color: var(--orange); transform: translateY(-2px); } .w-qcard img.ico { grid-row: span 2; width: 44px; height: 44px; }
.w-qcard b { font-size: 15px; } .w-qcard span { color: var(--muted); font-size: 12.5px; }
.w-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.w-toc { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 2px; }
.w-toc button { display: flex; align-items: center; gap: 10px; text-align: left; background: transparent; border: 0; color: #aeb7c5; font-weight: 700; font-size: 14px; padding: 7px 10px; border-radius: 10px; }
.w-toc button:hover { background: #161b24; color: #fff; } .w-toc img.ico { width: 24px; height: 24px; }
.w-sec { scroll-margin-top: 12px; margin-bottom: 44px; }
.w-sec h2 { font-family: var(--font-title); font-size: 28px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #232a35; }
.w-sec > p { color: #c9d0db; font-size: 15px; line-height: 1.65; }
.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; } .w-grid.two { grid-template-columns: 1fr 1fr; } .w-grid.three { grid-template-columns: repeat(3, 1fr); }
.w-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.w-card { position: relative; padding: 16px; border-radius: 16px; background: #161b24; border: 2px solid color-mix(in srgb, var(--rc, #252c38) 50%, #252c38); }
.w-card > img.ico { width: 52px; height: 52px; display: block; margin-bottom: 8px; }
.w-card > b { display: block; font-size: 17px; } .w-card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 6px 0 0; }
.w-card.evo strong { display: block; font-family: var(--font-title); font-size: 38px; color: var(--rc); margin-top: 4px; }
.w-card.place b { color: var(--orange); }
.w-n { position: absolute; top: 12px; right: 12px; font-style: normal; font-weight: 900; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,138,43,.15); color: var(--orange); }
.w-tip { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,201,60,.08); border: 1px solid rgba(255,201,60,.3); color: #e9e2cc; } .w-tip b { color: var(--hazard); margin-right: 8px; }
.w-mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .w-mh b { font-size: 17px; }
.w-pill { font-size: 12px; font-weight: 800; background: rgba(255,138,43,.14); color: var(--orange); border-radius: 99px; padding: 2px 10px; }
.w-comp { display: flex; flex-direction: column; gap: 6px; }
.w-comp > div { display: grid; grid-template-columns: 105px 1fr 40px; gap: 8px; align-items: center; font-size: 13px; }
.w-comp span { display: flex; align-items: center; gap: 4px; } .w-comp b { text-align: right; font-size: 12px; color: var(--muted); }
.w-bar { height: 8px; border-radius: 99px; background: #232a35; overflow: hidden; } .w-bar div { height: 100%; border-radius: 99px; }
.w-ores { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.w-ore { padding: 12px; border-radius: 14px; background: #161b24; border: 2px solid #252c38; text-align: center; }
.w-ore img.ico { width: 46px; height: 46px; display: block; margin: 0 auto 6px; } .w-ore b { display: block; } .w-ore span { color: var(--money); font-size: 13px; font-weight: 700; }
.w-line { display: flex; flex-direction: column; gap: 8px; }
.w-step { display: grid; grid-template-columns: 34px 200px 170px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #161b24; border: 2px solid #252c38; }
.w-step i { font-style: normal; font-weight: 900; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1b1104; }
.w-step span { color: var(--money); font-size: 13px; font-weight: 700; } .w-step p { margin: 0; color: var(--muted); font-size: 13px; }
.w-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.w-facts div { background: #12161d; border-radius: 10px; padding: 7px 10px; } .w-facts small { display: block; color: var(--muted); font-size: 11px; } .w-facts b { font-size: 14px; }
.w-perks { margin: 8px 0 0; padding-left: 18px; color: #c9d0db; font-size: 13px; line-height: 1.65; }
.w-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.w-keys div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #161b24; }
.w-keys kbd { font-family: var(--font); font-weight: 800; background: #2c3340; border-bottom: 3px solid #1a1f27; color: #fff; border-radius: 8px; padding: 3px 10px; white-space: nowrap; }
.w-muted { color: var(--muted); font-size: 13px; } .w-link { color: var(--orange); font-weight: 800; text-decoration: none; }
.w-empty { text-align: center; color: var(--muted); padding: 30px; }
/* Classements */
.sp-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 6px; }
.sp-stats div { min-width: 150px; text-align: center; padding: 10px 20px; border-radius: 14px; background: #161b24; border: 2px solid #252c38; }
.sp-stats div.me { border-color: var(--orange); }
.sp-stats small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; } .sp-stats b { font-family: var(--font-title); font-size: 21px; font-weight: 400; }
.page .sp-tabs { justify-content: center; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; max-width: 760px; margin: 30px auto 24px; }
.pod { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pod-head { position: relative; } .pod-img { width: 96px; height: 96px; border-radius: 22px; background: #1c222c; border: 3px solid #2c3340; transition: transform .15s; }
.p1 .pod-img { width: 120px; height: 120px; border-color: var(--hazard); box-shadow: 0 0 30px rgba(255,201,60,.35); } .p2 .pod-img { border-color: #c8d3e3; } .p3 .pod-img { border-color: #d98c50; }
.pod:hover .pod-img { transform: translateY(-4px) scale(1.04); }
.pod-crown { position: absolute; top: -20px; left: 50%; margin-left: -18px; width: 36px; height: 24px; background: var(--hazard); clip-path: polygon(0 100%, 0 20%, 25% 60%, 50% 0, 75% 60%, 100% 20%, 100% 100%); }
.pod-name { font-weight: 800; font-size: 17px; margin-top: 6px; } .pod-g { color: var(--muted); font-size: 12px; } .pod-v { font-family: var(--font-title); color: var(--money); font-size: 18px; }
.pod-step { width: 100%; margin-top: 8px; border-radius: 16px 16px 6px 6px; display: grid; place-items: center; font-family: var(--font-title); font-size: 46px; color: rgba(255,255,255,.85); }
.p1 .pod-step { height: 150px; background: linear-gradient(180deg, rgba(255,201,60,.5), rgba(255,201,60,.06)); }
.p2 .pod-step { height: 110px; background: linear-gradient(180deg, rgba(200,211,227,.4), rgba(200,211,227,.05)); }
.p3 .pod-step { height: 84px; background: linear-gradient(180deg, rgba(217,140,80,.45), rgba(217,140,80,.05)); }
.lb-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 44px 44px 1fr auto; gap: 14px; align-items: center; padding: 8px 16px; border-radius: 14px; background: #161b24; border: 2px solid transparent; cursor: pointer; transition: border-color .12s, background .12s; }
.lb-row:hover { background: #1b212c; border-color: #2c3340; } .lb-row.me { border-color: var(--orange); }
.lb-row .rk { font-family: var(--font-title); color: var(--muted); font-size: 18px; text-align: center; }
.lb-head { width: 40px; height: 40px; border-radius: 10px; background: #232a35; }
.lb-row .nm { font-weight: 800; } .lb-row .nm small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.lb-row > b { font-family: var(--font-title); font-weight: 400; color: var(--money); font-size: 17px; }
.lb-on { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--money); vertical-align: middle; }
.pg-profile .pf-banner { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; color: #fff; position: relative; margin-bottom: 14px; }
.pg-profile .pf-banner b { display: block; font-family: var(--font-title); font-size: 26px; font-weight: 400; } .pg-profile .pf-banner span { font-size: 13px; } .pg-profile .pf-banner i { font-style: normal; }
.pg-profile .online { position: absolute; right: 16px; top: 16px; background: rgba(95,224,143,.2); color: var(--money); border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.pg-profile .pf-body { display: grid; grid-template-columns: 180px 1fr; gap: 18px; } .pf-full { width: 180px; height: 220px; object-fit: contain; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #2a3140, #12161d); }
.pf-bio { font-style: italic; color: #d5dbe5; }
@media (max-width: 1000px) {
  .sp-deal, .sp-pass { grid-template-columns: 1fr; } .sp-plans, .sp-packs { grid-template-columns: 1fr 1fr; } .sp-plan.hl { transform: none; }
  .w-quick { grid-template-columns: 1fr 1fr; } .sp-trust { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { padding: 12px 16px; flex-wrap: wrap; } .nav-right { gap: 6px; } .nav a { padding: 6px 8px; font-size: 12px; } .pb-name { display: none; } .profile-btn { padding: 3px; }
  .w-wrap { grid-template-columns: 1fr; } .w-toc { position: static; flex-direction: row; flex-wrap: wrap; } .w-steps, .w-grid.three, .w-grid.two { grid-template-columns: 1fr 1fr; }
  .w-step { grid-template-columns: 34px 1fr; } .w-step span, .w-step p { grid-column: 2; } .pg-in { padding: 0 16px 40px; } .sp-wallet { margin: 0 -16px; padding: 10px 16px; } .sp-wallet nav { display: none; }
  .oauth { grid-template-columns: 1fr; } .acc-stats { grid-template-columns: 1fr 1fr; } .sp-deal-main { grid-template-columns: 1fr; } .pg-profile .pf-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sp-plans, .sp-packs, .w-steps { grid-template-columns: 1fr; } .sp-mini { grid-template-columns: 80px 1fr; } }
body:has(#site.on-page) .labels { display: none; }

/* ================= Étiquettes du monde (noms, lieux, mines) ================= */
#app.in-menu .labels { display: none; }
#app.hide-names .tag:not(.self) { display: none; }
.labels { font-family: 'Nunito', var(--font); }
.labels > div { will-change: transform; }
.tag { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.1; pointer-events: none; white-space: nowrap; transition: opacity .2s; }
.tag .g { font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #c9d3e0; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.tag .g .vip { font-weight: 900; }
.tag .n { font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000, 0 0 4px rgba(0,0,0,.9); }
.tag.self .n { color: #ffe08a; }
.tag.guard .g { color: #7fb4ff; } .tag.guard .n { color: #d6e6ff; }
.tag.npc .g { color: #ffc93c; } .tag.npc .n { color: #fff3cf; }
.tag .bubble { max-width: 220px; white-space: normal; background: rgba(255,255,255,.95); color: #1b2230; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 12px; margin-bottom: 4px; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.tag .bubble::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: rgba(255,255,255,.95); }
.tag .mark { width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #ffc93c; color: #3a2600; font-weight: 900; font-size: 15px; margin-bottom: 3px; box-shadow: 0 0 10px rgba(255,201,60,.8); animation: markBob 1.2s ease-in-out infinite; }
@keyframes markBob { 50% { transform: translateY(-4px); } }
.zlabel { pointer-events: none; white-space: nowrap; text-align: center; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px #000, 0 0 6px rgba(0,0,0,.8); transition: opacity .2s; }
.zlabel small { display: block; font-size: 10px; letter-spacing: .5px; text-transform: none; font-weight: 800; color: #ffd36b; margin-top: 1px; }
.zlabel.zone { font-size: 15px; letter-spacing: 3px; color: #f2f5fa; }
.zlabel.building { color: #e9edf3; }
.zlabel.danger { color: #ff6b6b; letter-spacing: 2px; }
.zlabel.exit { font-size: 15px; color: #6dff9e; letter-spacing: 3px; }
.zlabel.mine { background: rgba(10,14,22,.72); border: 2px solid rgba(255,255,255,.18); border-radius: 10px; padding: 4px 10px; text-shadow: none; }
.zlabel.mine.open { border-color: rgba(75,227,138,.7); } .zlabel.mine.open small { color: #6df0a4; }
.zlabel.mine.locked { border-color: rgba(255,93,108,.6); color: #e7ecf3; } .zlabel.mine.locked small { color: #ff8d96; }
.zlabel.gate { background: rgba(10,14,22,.72); border: 2px solid rgba(255,201,60,.6); border-radius: 10px; padding: 4px 10px; font-size: 11px; text-shadow: none; }
.zlabel.gate small { color: #c9d3e0; }
.zlabel.evo { font-size: 13px; color: #fff; background: rgba(10,14,22,.65); border-radius: 99px; padding: 2px 10px; }
.qmarker { pointer-events: none; text-align: center; white-space: nowrap; }
.qmarker b { display: block; font-size: 13px; font-weight: 900; color: #ffc93c; text-shadow: 0 1px 3px #000, 0 0 8px rgba(255,201,60,.6); }
.qmarker span { font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.pb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pm-head img { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,0,0,.25); }

/* Chat au-dessus de la barre seulement quand l'écran est trop étroit pour les deux */
@media (max-width: 1180px) { .hud-chat { bottom: 132px; } }

/* ================= Chiffres flottants, combat, menu admin ================= */
.float { pointer-events: none; white-space: nowrap; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: 15px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 6px rgba(0,0,0,.6); }
.float.money { color: #5fd68a; font-size: 17px; } .float.tok { color: #c9a4ff; } .float.evo { color: #ffc93c; font-size: 18px; }
.float.dmg { color: #fff1d6; font-size: 18px; } .float.crit { color: #ffb23f; font-size: 22px; } .float.hurt { color: #ff6b6b; font-size: 19px; }
.tag.foe .g { color: #ff9f43; } .tag.foe .n { color: #ffe1c2; }
.hpbar { display: none; width: 64px; height: 6px; margin: 3px auto 0; background: rgba(0,0,0,.6); border: 1px solid rgba(0,0,0,.7); border-radius: 99px; overflow: hidden; }
.hpbar i { display: block; height: 100%; width: 100%; background: #5fd68a; transition: width .2s; }
.adm-lock { background: var(--n-card); border: 2px solid var(--n-line); border-radius: 14px; padding: 14px 16px; }
.adm-input { font-family: var(--f-body); font-weight: 700; background: var(--n-solid); border: 2px solid var(--n-line); border-radius: 10px; padding: 6px 10px; color: var(--n-text); font-size: 14px; width: 150px; }
.adm-input.sm { width: 110px; padding: 4px 8px; font-size: 13px; } .adm-input.wide { width: min(460px, 60vw); }
.adm-input:focus { outline: 0; border-color: var(--n-cyan); }
.adm-target { background: rgba(255,159,67,.08); border: 1px solid rgba(255,159,67,.3); border-radius: 12px; padding: 8px 12px; flex-wrap: wrap; }
.adm-target label { font-weight: 800; }
.adm-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .adm-row.wrap { justify-content: flex-start; }
.adm-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.adm-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; background: var(--n-card); border: 2px solid color-mix(in srgb, var(--rc) 40%, transparent); border-radius: 12px; text-align: center; font-size: 12px; font-weight: 700; }
.adm-item img { width: 64px; height: 64px; object-fit: contain; }

/* ================= Site : compte, support, légal, consentement, pied de page ================= */
.acc-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.acc-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.acc-side nav { display: flex; flex-direction: column; gap: 2px; background: #161b24; border: 2px solid #252c38; border-radius: 16px; padding: 8px; }
.acc-side nav a { padding: 9px 12px; border-radius: 10px; color: #aeb7c5; font-weight: 700; text-decoration: none; font-size: 14px; }
.acc-side nav a:hover { background: #1c222c; color: #fff; } .acc-side nav a.on { background: rgba(255,138,43,.14); color: var(--orange); }
.acc-id { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; color: #fff; }
.acc-id b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 18px; } .acc-id span { font-size: 12px; opacity: .9; } .acc-id i { font-style: normal; }
.acc-head { width: 52px !important; height: 52px !important; border-radius: 12px; background: rgba(0,0,0,.25); }
.acc-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.acc-card { background: #161b24; border: 2px solid #252c38; border-radius: 18px; padding: 18px 20px; }
.acc-card.danger { border-color: rgba(239,83,80,.45); }
.acc-card h3 { font-family: var(--font-title); font-weight: 400; font-size: 18px; margin: 0 0 10px; }
.acc-card p { color: #c9d0db; line-height: 1.55; margin: 0 0 10px; }
.acc-card .field label { color: #aeb7c5; } .acc-card input, .acc-card select, .acc-card textarea, .sup-wrap input, .sup-wrap select, .sup-wrap textarea { width: 100%; background: #0f1319; border: 2px solid #252c38; color: #fff; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-family: inherit; }
.acc-card input:focus, .acc-card select:focus, .acc-card textarea:focus { outline: 0; border-color: var(--orange); }
.acc-card .sp-row input { width: auto; flex: 1; min-width: 180px; }
.acc-form { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin-bottom: 6px; }
.acc-emb { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 10px 0; } .acc-emb label { font-size: 12px; font-weight: 800; color: #aeb7c5; }
.acc-emb .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.acc-emb .chip-emb { background: #0f1319; border: 2px solid transparent; border-radius: 10px; padding: 3px; } .acc-emb .chip-emb.on { border-color: var(--orange); }
.acc-emb .swatch { width: 30px; height: 30px; border-radius: 8px; border: 2px solid #0f1319; box-shadow: 0 0 0 2px #252c38; } .acc-emb .swatch.on { box-shadow: 0 0 0 3px var(--orange); }
.ok-msg { color: var(--money); font-weight: 700; } .acc-card .err { min-height: 0; }
.acc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.acc-kpis div { background: #161b24; border: 2px solid #252c38; border-radius: 14px; padding: 12px 14px; } .acc-kpis small { display: block; color: var(--muted); font-size: 12px; } .acc-kpis b { font-family: var(--font-title); font-weight: 400; font-size: 20px; }
.acc-prog { height: 14px; border-radius: 99px; background: #0f1319; overflow: hidden; margin-bottom: 8px; } .acc-prog div { height: 100%; background: linear-gradient(90deg, #e2661a, var(--orange)); border-radius: 99px; }
.acc-ranks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; } .acc-ranks span { background: #0f1319; border-radius: 8px; padding: 2px 8px; } .acc-ranks i { color: var(--muted); font-style: normal; }
.mini-chart { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; height: 120px; align-items: end; }
.mc-col { height: 100%; display: flex; align-items: flex-end; } .mc-col i { display: block; width: 100%; min-height: 2px; background: #3987e5; border-radius: 4px 4px 0 0; } .mc-col:hover i { background: var(--orange); }
.mc-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 4px; }
.acc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; } .acc-link { display: flex; justify-content: space-between; align-items: center; background: #0f1319; border-radius: 12px; padding: 10px 12px; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; } .acc-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 8px; } .acc-table td { padding: 8px; border-top: 1px solid #252c38; } .acc-table .num { text-align: right; }
.acc-ticket { border-top: 1px solid #252c38; padding: 10px 0; } .acc-ticket summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.acc-thread div { background: #0f1319; border-radius: 10px; padding: 10px 12px; margin: 8px 0; } .acc-thread div.staff { background: rgba(255,138,43,.1); } .acc-thread small { color: var(--muted); }
.sp-card.locked { opacity: .55; } .sp-btn.danger { background: #ef5350; color: #fff; box-shadow: 0 4px 0 #8f2a28; }
.acc-empty { text-align: center; padding: 30px; }
.sup-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; } .sup-wrap > div { display: flex; flex-direction: column; gap: 14px; }
.faq { border-top: 1px solid #252c38; padding: 10px 0; } .faq summary { cursor: pointer; font-weight: 700; } .faq p { margin: 8px 0 0; color: var(--muted); }
.legal h2 { font-family: var(--font-title); font-weight: 400; font-size: 20px; margin: 22px 0 8px; } .legal p, .legal li { color: #c9d0db; line-height: 1.65; } .legal a { color: var(--orange); }
.legal { background: #161b24; border: 2px solid #252c38; border-radius: 18px; padding: 8px 26px 22px; display: block; }
mark.todo { background: rgba(255,201,60,.2); color: var(--hazard); border-radius: 4px; padding: 0 4px; }
.site-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; width: min(1200px, 100%); margin: 0 auto; padding: 18px 24px 26px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.site-foot nav { display: flex; gap: 14px; flex-wrap: wrap; } .site-foot a { color: #aeb7c5; text-decoration: none; } .site-foot a:hover { color: var(--orange); }
.site-foot.home { border: 0; justify-content: center; padding: 10px 16px; text-shadow: 0 1px 4px #000; }
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; width: min(760px, calc(100% - 32px)); display: flex; gap: 16px; align-items: center; background: #161b24; border: 2px solid #2c3340; border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.5); color: #d5dbe5; font-size: 14px; }
.consent p { margin: 0; line-height: 1.5; flex: 1; } .consent a { color: var(--orange); } .consent > div { display: flex; gap: 8px; flex-shrink: 0; }
.profile-menu .pm-link { display: block; padding: 10px 12px; border-radius: 10px; color: #eaf4ff; text-decoration: none; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { .acc-wrap, .sup-wrap { grid-template-columns: 1fr; } .acc-side { position: static; } .acc-emb { grid-template-columns: 1fr; } .consent { flex-direction: column; align-items: stretch; } .mini-chart { height: 90px; } }

/* ================= Commandes tactiles ================= */
body.is-touch .hud-keys, body.is-touch .hud-chat .chat-input { display: none; }
body.is-touch .hud-keys { display: none; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #c9d0db; margin: 8px 0; line-height: 1.45; } .check input { margin-top: 3px; width: auto !important; }
.acc-warn { background: rgba(255,201,60,.1); border: 1px solid rgba(255,201,60,.35); border-radius: 12px; padding: 10px 14px; margin: -8px 0 16px; color: #e9e2cc; }
.acc-warn button.w-link, .acc-card button.w-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.acc-promo { background: rgba(255,138,43,.12); border: 1px solid rgba(255,138,43,.4); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.acc-ok { background: rgba(95,224,143,.12); border: 1px solid rgba(95,224,143,.4); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; color: var(--money); font-weight: 700; }
.acc-consent { margin: 14px 0 6px; padding: 10px 14px; background: #0f1319; border-radius: 12px; }

/* ================= Saison 1 : bandeaux, chat, réputation ================= */
.esc-banner, .live-banner { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 14px; background: var(--n-bg); border: 2px solid; pointer-events: auto; font-weight: 700; z-index: 3; }
.esc-banner { top: 74px; border-color: #ef5350; } .esc-banner b { color: #ef5350; letter-spacing: 1px; font-family: var(--f-head); }
.live-banner { top: 128px; border-color: #ffc93c; } .live-banner b { color: #ffc93c; font-family: var(--f-head); letter-spacing: 1px; }
.esc-banner em, .live-banner em { font-style: normal; font-family: var(--f-head); font-size: 18px; font-variant-numeric: tabular-nums; }
.invite-box { position: absolute; right: 16px; top: 250px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--n-bg2); border: 2px solid var(--n-cyan); pointer-events: auto; font-weight: 700; max-width: 340px; }
.chat-log .pm { color: #c9a4ff; } .chat-log .ch-gang b { color: #ff9f43; } .chat-log .ch-groupe b { color: #5b9cf0; }
.rep { position: relative; display: block; width: 180px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .rep i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.zlabel.terr { font-size: 12px; color: #fff; background: rgba(18,20,24,.7); border-radius: 8px; padding: 2px 8px; } .zlabel.terr small { color: #ffc93c; }
.tag.foe .hpbar { display: block; }

/* ================= Site : actualités, fiche publique, carte du wiki ================= */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.news-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: #161b24; border: 2px solid #252c38; color: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.news-card:hover { border-color: var(--orange); transform: translateY(-3px); } .news-card.first { grid-column: 1 / -1; background: linear-gradient(120deg, #2a1d0f, #161b24 60%); }
.news-card b { font-family: var(--font-title); font-weight: 400; font-size: 22px; } .news-card p { color: #c9d0db; margin: 0; } .news-card small { color: var(--muted); }
.news-article { max-width: 760px; margin: 0 auto; } .news-article h1 { font-family: var(--font-title); font-weight: 400; font-size: clamp(30px, 5vw, 46px); margin: 10px 0 4px; }
.news-lead { font-size: 18px; color: #e3e8ef; } .news-body p, .news-body li { color: #c9d0db; line-height: 1.7; font-size: 16px; }
.pp-banner { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 18px; color: #fff; position: relative; margin-top: 24px; }
.pp-banner b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 34px; } .pp-banner span { font-weight: 700; } .pp-banner i { font-style: normal; } .pp-banner .online { position: absolute; right: 18px; top: 18px; background: rgba(95,224,143,.2); color: var(--money); border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.pp-body { display: grid; grid-template-columns: 220px 1fr; gap: 22px; margin-top: 18px; } .pp-body .pf-full { width: 220px; height: 270px; }
.acc-kpis.status { max-width: 900px; margin: 0 auto 16px; }
.w-map { width: 100%; max-width: 640px; aspect-ratio: 1; border-radius: 16px; border: 2px solid #252c38; image-rendering: pixelated; display: block; }
@media (max-width: 900px) { .pp-body { grid-template-columns: 1fr; } .home-news a { min-width: 0; } }
.lang-switch { background: rgba(14,17,22,.75); border: 2px solid rgba(255,255,255,.16); color: #eaf4ff; border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: 12px; }
.lang-switch:hover { border-color: var(--orange); }
.lang-note { position: fixed; left: 16px; bottom: 16px; z-index: 20; background: rgba(14,17,22,.9); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: #c9d0db; max-width: 320px; }

/* ---------- Coffres : inventaire ---------- */
.key-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
.key-pill { display: flex; align-items: center; gap: 8px; background: var(--n-card); border: 2px solid color-mix(in srgb, var(--kc) 60%, transparent); border-radius: 14px; padding: 6px 12px; }
.key-pill img { width: 26px; height: 26px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--kc) 60%, transparent)); }
.key-pill b { font-family: var(--f-head); font-size: 20px; color: var(--kc); }
.crate-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.crate-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--kc) 22%, transparent), var(--n-card) 70%); border: 2px solid color-mix(in srgb, var(--kc) 50%, transparent); border-radius: 18px; }
.crate-item img { width: 150px; height: 150px; object-fit: contain; }
.crate-item b { font-family: var(--f-head); font-size: 17px; }

/* ---------- Coffres : cinématique ---------- */
.crate-fx { position: fixed; inset: 0; z-index: 900; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s; }
.crate-fx.on { opacity: 1; pointer-events: auto; }
.crate-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.crate-ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; font-family: var(--f-head); color: #fff; }
.crate-ui button { pointer-events: auto; }
.crate-title { margin-top: 28px; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; text-shadow: 0 2px 12px #000; }
.crate-card-slot { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); }
.crate-row { position: absolute; bottom: 92px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.crate-hint { position: absolute; bottom: 28px; font-size: 13px; opacity: .6; }
.crate-hint .crate-actions { display: flex; gap: 10px; opacity: 1; }
.crate-hint:has(.crate-actions) { opacity: 1; }
.crate-card { width: 150px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 30%, #14161c), #0d0f13); border: 2px solid var(--rc); box-shadow: 0 0 22px color-mix(in srgb, var(--rc) 45%, transparent); text-align: center; animation: ccIn .45s cubic-bezier(.2,1.4,.4,1); }
.crate-card.big { width: 260px; padding: 16px; box-shadow: 0 0 60px color-mix(in srgb, var(--rc) 70%, transparent), 0 20px 50px #000; animation: ccBig .6s cubic-bezier(.2,1.5,.4,1); }
.crate-card .cc-rar { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rc); }
.crate-card .cc-img { height: 96px; display: grid; place-items: center; overflow: hidden; }
.crate-card.big .cc-img { height: 180px; } .crate-card.big .cc-img img { width: 170px; height: 170px; }
.crate-card .cc-img img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--rc) 60%, transparent)); }
.crate-card .cc-name { font-size: 14px; line-height: 1.2; }
.crate-card.big .cc-name { font-size: 20px; }
.crate-card .cc-dup { font-family: var(--f-body); font-size: 11px; opacity: .7; margin-top: 2px; }
.crate-card.t-legendaire.big, .crate-card.t-mythique.big { animation: ccBig .6s cubic-bezier(.2,1.5,.4,1), ccPulse 1.4s ease-in-out .6s infinite; }
@keyframes ccIn { from { transform: translateY(-40px) scale(.6); opacity: 0; } }
@keyframes ccBig { from { transform: translateY(120px) scale(.2) rotate(-8deg); opacity: 0; } }
@keyframes ccPulse { 50% { box-shadow: 0 0 90px color-mix(in srgb, var(--rc) 90%, transparent), 0 20px 50px #000; } }

/* ---------- Armes à feu ---------- */
.gun-hud { position: fixed; right: 18px; bottom: 210px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 8px 14px; border-radius: 14px; background: var(--n-bg); border: 1px solid var(--n-line); font-family: var(--f-head); color: #fff; min-width: 150px; }
.gun-hud.hidden { display: none; }
.gun-hud b { font-size: 13px; opacity: .8; }
.gun-hud .ammo { font-size: 32px; line-height: 1; } .gun-hud .ammo small { font-size: 15px; opacity: .6; }
.gun-hud .ammo.empty { color: var(--n-red); animation: ccPulse 1s infinite; }
.gun-hud .res { font-family: var(--f-body); font-size: 12px; opacity: .7; }
.gun-hud em { font-style: normal; font-size: 12px; color: var(--n-gold); }
.gun-hud .rl { display: block; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--n-gold) calc(var(--p) * 100%), rgba(255,255,255,.12) 0); }
.gun-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.gun-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--n-card); border: 2px solid color-mix(in srgb, var(--rc) 45%, transparent); border-radius: 14px; }
.gun-row img { width: 84px; height: 64px; object-fit: contain; }
.gun-row > div { display: flex; flex-direction: column; gap: 2px; }
img.mini { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; }

/* ---------- HUD : carte du joueur (haut gauche) ---------- */
.pcard { display: flex; align-items: center; gap: 10px; padding: 8px 10px; pointer-events: auto; background: var(--n-bg); border: 2px solid var(--n-line); border-radius: 16px; }
.pcard .polaroid img { width: 44px; height: 44px; }
.pc-main { min-width: 150px; }
.pc-cur { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-cur > span { display: flex; align-items: center; gap: 4px; padding: 3px 9px 3px 5px; background: var(--n-bg); border: 1px solid var(--n-line); border-radius: 99px; font-weight: 800; font-size: 13px; }
.pc-cur img.ico { width: 18px !important; height: 18px !important; }
.pc-cur .b-money b { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--n-green); }

/* ---------- HUD : barre d'objets (bas centre) et défis au-dessus ---------- */
.hud-hotbar { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .25s; }
.hb-quests { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: min(560px, 92vw); text-align: center; color: #fff; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0,0,0,.6); pointer-events: none; }
.q-line { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.q-line img.ico { width: 18px !important; height: 18px !important; filter: drop-shadow(0 1px 2px #000); }
.q-line.main { font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.q-line.qday { font-size: 12px; opacity: .88; }
.q-line b { color: var(--n-gold); font-weight: 800; }
.q-bar { display: inline-block; width: 64px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.18); overflow: hidden; } .q-bar > i { display: block; height: 100%; background: var(--n-cyan); }
.q-desc { font-size: 12px; opacity: .85; max-width: 520px; }
.q-hint { font-size: 11.5px; color: var(--n-gold); }
.hb-name { height: 18px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #fff; text-shadow: 0 1px 3px #000; opacity: 0; }
.hb-name.show { animation: hbName 1.8s ease forwards; }
@keyframes hbName { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.hb-bag { display: flex; align-items: center; gap: 6px; width: calc(var(--hb) * 9 + 32px); pointer-events: auto; cursor: pointer; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.hb-bag img.ico { width: 18px !important; height: 18px !important; }
.hb-bag .gauge { flex: 1; height: 6px; } .hb-bag.full .gauge > div { background: var(--n-red); } .hb-bag.full b { color: var(--n-red); }
.hud-hotbar { --hb: 54px; }
.hb-slots { display: flex; gap: 4px; padding: 4px; background: rgba(12,14,18,.86); border: 2px solid var(--n-line); border-radius: 14px; pointer-events: auto; }
.hb-slot { position: relative; width: var(--hb); height: var(--hb); border-radius: 10px; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .08s, border-color .08s; touch-action: manipulation; }
.hb-slot img { width: 92%; height: 92%; object-fit: contain; image-rendering: auto; pointer-events: none; }
.hb-slot b { position: absolute; right: 4px; bottom: 2px; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.hb-slot kbd { position: absolute; left: 4px; top: 2px; font-size: 10px; font-weight: 800; color: var(--n-dim); font-family: var(--f-head); }
.hb-slot.on { border-color: var(--n-cyan); background: rgba(255,159,67,.16); transform: translateY(-3px); box-shadow: 0 0 0 2px rgba(255,159,67,.25), 0 6px 14px rgba(0,0,0,.4); }
.hb-slot.on kbd { color: var(--n-cyan); }
.hb-slot.empty img { display: none; }
.hud-hotbar .hud-prompt { position: static; transform: none; margin-bottom: 4px; pointer-events: auto; }
@media (max-width: 760px) { .hud-hotbar { --hb: 42px; } .q-desc { display: none; } .pc-main { min-width: 120px; } }
@media (max-width: 440px) { .hud-hotbar { --hb: 34px; bottom: 8px; } .hb-slot kbd { display: none; } .pcard .polaroid { display: none; } .q-line { font-size: 11px; } .q-line.main { font-size: 13px; } }
body.is-touch .hud-hotbar { --hb: 46px; }
@media (max-width: 440px) { body.is-touch .hud-hotbar { --hb: 36px; } }

/* ---------- Inventaire : grilles d'objets ---------- */
.igrid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.inv-main { min-width: 0; }
.islot { position: relative; aspect-ratio: 1; border-radius: 10px; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); display: grid; place-items: center; cursor: pointer; user-select: none; }
.islot img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; }
.islot b { position: absolute; right: 4px; bottom: 2px; font-size: 11px; font-weight: 800; text-shadow: 0 1px 2px #000; }
.islot kbd { position: absolute; left: 4px; top: 2px; font-size: 10px; color: var(--n-dim); font-family: var(--f-head); font-weight: 700; }
.islot.held { border-color: rgba(255,159,67,.6); }
.islot.sel, .islot.over { border-color: var(--n-cyan); background: rgba(255,159,67,.18); }
.islot.drag { opacity: .4; }
.islot.locked { opacity: .45; cursor: not-allowed; }
.igrid.hot { padding: 6px; background: rgba(0,0,0,.25); border-radius: 12px; }
.isel { margin-top: 8px; background: rgba(255,159,67,.1); border: 1px solid rgba(255,159,67,.35); border-radius: 12px; padding: 6px 10px; }
@media (max-width: 760px) { .igrid { gap: 4px; } }
.bp-list { display: flex; flex-direction: column; gap: 8px; }
.bp-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--n-card); border: 2px solid color-mix(in srgb, var(--rc) 45%, transparent); border-radius: 14px; }
.bp-row img { width: 70px; height: 70px; object-fit: contain; }
.bp-row > div { display: flex; flex-direction: column; gap: 2px; }

.pt img.pt-img { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto; }

/* ---------- Mini-jeu de musculation ---------- */
.gym-fx { position: absolute; inset: 0; z-index: 40; pointer-events: auto; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 9vw 150px 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,.45)); cursor: pointer; user-select: none; touch-action: manipulation; }
.gym-fx.hidden { display: none; }
.gy-card { width: 250px; padding: 14px 16px; border-radius: 18px; background: var(--n-bg); border: 2px solid var(--n-line); color: #fff; display: grid; grid-template-columns: 1fr 44px; grid-template-areas: 'head head' 'row bar' 'tap bar'; gap: 10px 12px; }
.gy-head { grid-area: head; display: flex; gap: 10px; align-items: center; } .gy-head b { font-family: var(--f-head); font-size: 18px; display: block; } .gy-head small { color: var(--n-dim); font-size: 12px; }
.gy-ic { font-size: 30px; }
.gy-bar { grid-area: bar; position: relative; height: 150px; border-radius: 12px; background: rgba(255,255,255,.08); overflow: hidden; border: 2px solid var(--n-line); }
.gy-bar > i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, #f08a24, #ffc93c); transition: height .05s linear; }
.gy-bar > em { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #5fd68a; }
.gy-bar.hot { box-shadow: 0 0 18px rgba(255,201,60,.6); }
.gy-row { grid-area: row; display: flex; align-items: baseline; gap: 6px; font-weight: 800; color: var(--n-dim); }
.gy-reps { font-family: var(--f-head); font-size: 46px; line-height: 1; color: #fff; } .gy-reps.bump { animation: bump .25s; }
.gy-time { margin-left: auto; color: var(--n-gold); }
.gy-tap { grid-area: tap; font-family: var(--f-head); font-size: 22px; color: var(--n-cyan); animation: gyTap .5s ease-in-out infinite alternate; }
.gy-card.end .gy-tap { animation: none; font-size: 16px; color: var(--n-green); }
@keyframes gyTap { to { transform: scale(1.08); } }
@media (max-width: 560px) { .gym-fx { justify-content: center; padding: 0 0 170px; } }

/* ---------- Territoires de gang ---------- */
.hud-terr { position: absolute; top: 74px; left: 50%; transform: translateX(-50%); width: min(420px, 90vw); padding: 10px 14px; border-radius: 14px; background: var(--n-bg); border: 2px solid var(--n-line); color: #fff; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.hud-terr.hidden { display: none; }
.ht-top { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 16px; }
.ht-st { font-size: 10px; letter-spacing: .1em; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.12); }
.ht-st.st-capture { background: rgba(255,201,60,.22); color: var(--n-gold); } .ht-st.st-conteste { background: rgba(239,83,80,.25); color: #ff8a80; }
.ht-st.st-controle { background: rgba(95,214,138,.2); color: var(--n-green); } .ht-st.st-defense { background: rgba(91,180,255,.22); color: #8cc8ff; } .ht-st.st-protege { background: rgba(183,156,255,.22); color: #cdbcff; }
.ht-own { font-size: 12px; color: var(--n-dim); }
.ht-bar { position: relative; height: 14px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; } .ht-bar i { position: absolute; inset: 0 auto 0 0; }
.ht-bar span { position: relative; display: block; text-align: center; font-size: 10px; font-weight: 800; line-height: 14px; text-shadow: 0 1px 2px #000; }
.ht-tip { font-size: 12px; color: var(--n-gold); }
.terr-rules { display: grid; gap: 6px; margin: 8px 0 12px; } .terr-rules > div { display: flex; gap: 10px; align-items: flex-start; background: var(--n-card); border-radius: 12px; padding: 8px 10px; font-size: 13px; }
.terr-rules b:first-child { font-family: var(--f-head); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--n-cyan); color: var(--n-solid); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; width: 84px; border-radius: 12px; border: 2px solid var(--n-line); background: var(--n-card); color: var(--n-text); cursor: pointer; font-size: 11px; font-weight: 700; }
.swatch i { width: 44px; height: 30px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch.on { border-color: var(--n-cyan); background: rgba(255,159,67,.12); }

/* ---------- Roue d'emotes ---------- */
.ewheel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(circle, rgba(0,0,0,.25), rgba(0,0,0,.55)); pointer-events: auto; }
.ew-pages { display: flex; gap: 6px; }
.ew-pg { font-family: var(--f-head); font-weight: 600; font-size: 13px; padding: 5px 14px; border-radius: 99px; border: 2px solid var(--n-line); background: var(--n-bg); color: var(--n-dim); cursor: pointer; }
.ew-pg.on { color: var(--n-solid); background: var(--n-cyan); border-color: var(--n-cyan); }
.ew-ring { position: relative; width: 300px; height: 300px; }
.ew-ring svg { display: block; cursor: pointer; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.ew-s { fill: rgba(18,20,24,.88); stroke: rgba(255,255,255,.12); stroke-width: 2; transition: fill .1s; }
.ew-s.on { fill: rgba(255,159,67,.9); stroke: #ffc56b; }
.ew-s.locked { fill: rgba(18,20,24,.6); } .ew-s.on.locked { fill: rgba(120,120,130,.75); }
.ew-s.none { fill: rgba(18,20,24,.45); pointer-events: none; }
.ew-ic { font-size: 30px; pointer-events: none; } .ew-ic.locked { opacity: .35; }
.ew-k { font-size: 11px; font-weight: 800; fill: rgba(255,255,255,.55); pointer-events: none; font-family: var(--f-head); }
.ew-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 104px; text-align: center; color: #fff; pointer-events: none; display: flex; flex-direction: column; gap: 2px; }
.ew-mid b { font-family: var(--f-head); font-size: 13px; line-height: 1.15; } .ew-mid span { font-size: 10.5px; color: var(--n-gold); }
.ew-help { font-size: 12px; color: #fff; text-shadow: 0 1px 3px #000; opacity: .85; }

/* ---------- Étoiles de recherche ---------- */
.wanted { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 10px; border-radius: 12px; background: var(--n-bg); border: 2px solid rgba(239,83,80,.5); }
.wanted.hidden { display: none; }
.w-stars i { font-style: normal; font-size: 20px; color: rgba(255,255,255,.2); text-shadow: 0 1px 2px #000; }
.w-stars i.on { color: #ffd23c; text-shadow: 0 0 8px rgba(255,210,60,.7), 0 1px 2px #000; }
.w-stars.blink i.on { animation: wBlink .7s steps(2) infinite; }
@keyframes wBlink { 50% { color: rgba(255,255,255,.35); text-shadow: none; } }
.wanted small { font-size: 10.5px; color: #ffb4b0; font-weight: 700; }

/* Infos de l'arme : collées à droite de la barre d'objets, compactes */
.hud-hotbar .gun-hud { position: absolute; left: calc(100% + 8px); right: auto; bottom: 4px; min-width: 0; width: max-content; padding: 5px 10px; gap: 1px; border-radius: 12px; align-items: flex-start; }
.hud-hotbar .gun-hud b { font-size: 11px; white-space: nowrap; }
.hud-hotbar .gun-hud .ammo { font-size: 22px; } .hud-hotbar .gun-hud .ammo small { font-size: 12px; }
.hud-hotbar .gun-hud .res { font-size: 10.5px; white-space: nowrap; } .hud-hotbar .gun-hud em { font-size: 10.5px; white-space: nowrap; }
.hud-hotbar .gun-hud .rl { min-width: 70px; }
@media (max-width: 760px) { .hud-hotbar .gun-hud { left: auto; right: 0; bottom: calc(var(--hb) + 34px); } }

/* Pêche au port */
.fish-hud { position: fixed; left: 50%; top: 17vh; transform: translateX(-50%); z-index: 30; pointer-events: none; display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 14px; background: rgba(12,18,26,.82); border: 2px solid rgba(127,216,255,.45); color: #f4f1ea; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.fish-hud.hidden { display: none; }
.fish-hud b { font-family: var(--f-head, inherit); font-size: 17px; } .fish-hud span { font-size: 13px; color: #c9d4dc; }
.fish-hud kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 6px; background: #f4f1ea; color: #1d2128; font: 800 12px var(--f-head, inherit); text-align: center; }
.fish-hud.bite { border-color: #ffc93c; animation: fishPulse .35s ease-in-out infinite alternate; } .fish-hud .bite { color: #ffc93c; font-size: 22px; }
.fish-hud.catch { border-color: #5fd68a; } .fish-hud.catch span { color: #5fd68a; font-size: 16px; font-weight: 800; }
.fish-hud.miss { border-color: #ff5d5d; }
.fish-ic { width: 34px; height: 18px; border-radius: 50% 40% 40% 50%; background: var(--fc); position: relative; box-shadow: inset -4px -3px 0 rgba(0,0,0,.2); }
.fish-ic::after { content: ''; position: absolute; right: -9px; top: 2px; border: 7px solid transparent; border-left: 10px solid var(--fc); }
@keyframes fishPulse { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.08); } }

/* Départ en ferry (prestige) */
.ferry-fx { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; pointer-events: none;
  background: linear-gradient(#f7b267 0%, #f4845f 38%, #6a4c93 62%, #1d3557 100%); animation: ffIn .8s ease both; }
.ferry-fx.out { animation: ffOut .8s ease both; }
.ff-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: repeating-linear-gradient(0deg, #1d3557 0 10px, #24426b 10px 14px); }
.ff-boat { position: absolute; bottom: 36%; left: -30%; width: 220px; height: 70px; animation: ffBoat 5s linear forwards;
  background: linear-gradient(#f4f1ea 0 40%, #b3261e 40% 55%, #2b2f36 55%); clip-path: polygon(0 40%, 18% 40%, 18% 0, 62% 0, 62% 40%, 100% 40%, 90% 100%, 6% 100%); }
.ff-txt { position: relative; text-align: center; color: #fff; text-shadow: 0 3px 12px rgba(0,0,0,.4); margin-bottom: 18vh; }
.ff-txt small { display: block; font-size: 18px; font-weight: 700; opacity: .9; } .ff-txt b { display: block; font: 900 64px var(--f-head, inherit); letter-spacing: 2px; } .ff-txt span { font-size: 16px; font-weight: 700; }
@keyframes ffIn { from { opacity: 0; } to { opacity: 1; } } @keyframes ffOut { to { opacity: 0; } }
@keyframes ffBoat { to { left: 110%; } }

/* ---------- Choix du serveur ---------- */
.srv h2 { font-family: 'Russo One', sans-serif; font-size: 28px; margin: 0 0 4px; letter-spacing: .5px; }
.srv .lead { margin: 0 0 16px; }
.flag { display: inline-block; width: 26px; height: 18px; border-radius: 4px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 2px 4px rgba(0,0,0,.3); }
.flag-fr { background: linear-gradient(90deg, #2350a8 0 33.3%, #f4f4f4 33.3% 66.6%, #e1323b 66.6%); }
.flag-en { background:
  linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
  linear-gradient(0deg, transparent 38%, #c8102e 38% 62%, transparent 62%),
  linear-gradient(90deg, transparent 38%, #fff 38% 62%, transparent 62%),
  linear-gradient(0deg, transparent 30%, #fff 30% 70%, transparent 70%), #012169; }
.flag-all { background: conic-gradient(#2350a8 0 25%, #f4f4f4 0 50%, #012169 0 75%, #e1323b 0); border-radius: 50%; width: 18px; }
.srv-langs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.srv-lang { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel-2); color: #fff; font: 700 14px Rubik, sans-serif; cursor: pointer; }
.srv-lang.on { border-color: #ff9f43; background: rgba(255,159,67,.14); }
.srv-list { display: flex; flex-direction: column; gap: 10px; }
.srv-card { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: linear-gradient(120deg, #222935, #1a1f28); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .12s, border-color .12s, box-shadow .12s; }
.srv-card:not(.off):hover { transform: translateY(-2px); border-color: #ff9f43; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.srv-card.last { border-color: rgba(255,159,67,.55); }
.srv-card.off { cursor: default; opacity: .55; }
.srv-flag .flag { width: 48px; height: 34px; border-radius: 7px; }
.srv-main { flex: 1; min-width: 0; }
.srv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .srv-top b { font: 700 19px Rubik, sans-serif; }
.srv-sub { color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.srv-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; } .srv-tags span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: #cfd6e0; }
.srv-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; min-width: 150px; }
.srv-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #cfd6e0; }
.srv-pill.green { background: rgba(95,214,138,.15); color: #5fd68a; } .srv-pill.green i { width: 8px; height: 8px; border-radius: 50%; background: #5fd68a; box-shadow: 0 0 8px #5fd68a; }
.srv-pill.red { background: rgba(255,93,93,.15); color: #ff8a8a; } .srv-pill.last { background: rgba(255,159,67,.16); color: #ffb36b; }
.srv-pop { font-size: 12px; color: var(--muted); text-align: right; } .srv-pop b { color: #fff; font-size: 14px; }
.srv-bar { width: 140px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 4px; } .srv-bar i { display: block; height: 100%; background: #5fd68a; }
.srv-ping { font-size: 12px; font-weight: 800; } .srv-ping.good { color: #5fd68a; } .srv-ping.mid { color: #ffc93c; } .srv-ping.bad { color: #ff8a8a; }
.srv-go { font: 800 14px Rubik, sans-serif; color: #ff9f43; }
.srv-soon { color: var(--muted); font-size: 12px; }
.srv-load { padding: 30px; text-align: center; color: var(--muted); font-weight: 700; }
.srv-foot { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }
@media (max-width: 600px) { .srv-card { flex-wrap: wrap; } .srv-side { align-items: flex-start; min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; } .srv-flag .flag { width: 38px; height: 27px; } }

/* Bouton du chat vocal : rond ; gris barré coupé, vert actif, plein vert avec halo quand tu parles */
.mic { --lvl: 0; position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; align-self: center;
  color: #5fd68a; background: rgba(95,214,138,.12); border: 2px solid rgba(95,214,138,.55); transition: background .15s, color .15s, border-color .15s, box-shadow .08s; }
.mic svg { width: 18px; height: 18px; } .mic .slash { display: none; }
.mic:hover { background: rgba(95,214,138,.2); }
.mic.off { color: #8b9199; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); } .mic.off .slash { display: inline; color: #ff6b6b; }
.mic.off:hover { color: #cfd6e0; border-color: rgba(255,255,255,.3); }
.mic.talk { color: #fff; background: #3fbf6f; border-color: #5fd68a; box-shadow: 0 0 0 calc(2px + var(--lvl) * 7px) rgba(95,214,138,.35), 0 0 14px rgba(95,214,138,.6); }

/* ---------- Accueil : présentation et FAQ (sous l'écran d'accueil) ---------- */
.home-info { position: relative; z-index: 2; max-width: 1060px; margin: 0 auto; padding: 40px 24px 70px; color: #e9e6dd; }
.home-info h2 { font-family: 'Russo One', sans-serif; font-size: 26px; margin: 28px 0 12px; color: #fff; }
.hi-lead { font-size: 16.5px; line-height: 1.6; max-width: 760px; color: #d6d2c7; }
.hi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.hi-grid > div { padding: 16px; border-radius: 14px; background: rgba(20,24,31,.86); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.hi-grid b { display: block; font: 700 16px Rubik, sans-serif; color: #ff9f43; margin-bottom: 4px; } .hi-grid p { margin: 0; font-size: 14px; line-height: 1.5; color: #c9c5bb; }
.hi-faq details { padding: 12px 16px; border-radius: 12px; background: rgba(20,24,31,.86); border: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.hi-faq summary { cursor: pointer; font: 700 15.5px Rubik, sans-serif; color: #fff; } .hi-faq p { margin: 8px 0 0; color: #c9c5bb; line-height: 1.55; font-size: 14.5px; }
@media (max-width: 760px) { .hi-grid { grid-template-columns: 1fr; } }
/* L'accueil défile : l'écran principal garde toute la hauteur, la présentation et la FAQ suivent */
#site { overflow-y: auto; overflow-x: hidden; }
#site .hero { flex: 1 0 auto; min-height: calc(100svh - 150px); }
