/* FusPvP - site vitrine. Charte : blanc sur fond noir (Skyrim), Montserrat. */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Montserrat-Bold.ttf") format("truetype"); }

:root {
  --bg: #000;
  --bg-alt: #0a0a0a;
  --card: #121314;
  --line: #2a2a2a;
  --text: #f2f0eb;
  --muted: #a9a59c;
  --accent: #e8e4d8;
  --discord: #5865f2;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 16px/1.65 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
strong { font-weight: 700; color: #fff; }
kbd {
  display: inline-block; min-width: 1.6em; padding: 0 .4em; border: 1px solid #555; border-bottom-width: 2px;
  border-radius: 4px; font: 700 .85em/1.5 "Montserrat", sans-serif; text-align: center; background: #1a1a1a;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- En-tête (pas de menu burger : la nav défile horizontalement sur mobile) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
  background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c1c1c;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 8px 10px; text-decoration: none; color: var(--muted);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: color .15s;
}
.nav a:hover { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px;
  border-radius: 4px; border: 1px solid transparent; text-decoration: none;
  font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--text); /* <button> : pas le gris clair du navigateur */
  transition: background .15s, border-color .15s, color .15s, transform .15s; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-ghost { border-color: #bdb8ac; color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12px; flex: none; }
.btn-sm svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions.center { justify-content: center; margin-top: 48px; }

/* ---------- Accueil ---------- */
.hero {
  min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px 96px; position: relative;
  background: radial-gradient(ellipse at 50% 38%, #1c1c1c 0%, #080808 55%, #000 100%);
}
.hero-logo { width: min(240px, 52vw); filter: drop-shadow(0 0 40px rgba(232, 228, 216, .12)); }
.hero h1 {
  margin: 28px 0 0; font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 255, 255, .15);
}
.hero-lead { max-width: 640px; margin: 20px auto 0; font-size: clamp(17px, 2.2vw, 21px); color: var(--text); }
.hero-free {
  max-width: 620px; margin: 22px auto 0; padding: 14px 20px; border: 1px solid #3a3a3a; border-radius: 4px;
  background: rgba(255, 255, 255, .03); color: var(--muted);
}
.hero-free strong { display: block; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.hero .actions { justify-content: center; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--muted); text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-hint::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding: 112px 24px; }
.section.alt { background: var(--bg-alt); border-top: 1px solid #161616; border-bottom: 1px solid #161616; }
.container { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 12px;
  color: var(--muted); font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border: 1px solid #bdb8ac; transform: rotate(45deg); }
h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: .04em; }
h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: .03em; }
.lead { max-width: 780px; margin: 20px 0 0; font-size: 18px; color: #d9d6ce; }
.note { max-width: 780px; margin: 32px auto 0; text-align: center; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
p { margin: 0 0 14px; }

.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px;
  transition: border-color .2s;
}
.card:hover { border-color: #444; }
.card p { color: #cfcbc2; margin: 0; }
.card p + p, .card .list + p { margin-top: 14px; }
.tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 8px !important; }
.class-card h3 { font-size: 22px; }
.kit, .list { margin: 18px 0 0; padding: 0; list-style: none; }
.kit { border-top: 1px solid var(--line); padding-top: 14px; }
.kit li, .list li { position: relative; padding-left: 18px; margin: 6px 0; color: #e2ded5; font-size: 15px; }
.kit li::before, .list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border: 1px solid #bdb8ac; transform: rotate(45deg);
}
.lair h3 { font-size: 17px; }

/* Grades */
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.rank { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; }
.rank p { margin: 0; color: #cfcbc2; }
.rank-mark {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid #bdb8ac; border-radius: 50%; font-weight: 700; letter-spacing: .05em; color: #fff;
}

/* Capture */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: #cfcbc2; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.fact-value { flex: none; min-width: 84px; font-size: 30px; font-weight: 700; color: #fff; }
.fact-label { color: #cfcbc2; }

/* Points */
.score-table { max-width: 780px; margin: 48px auto 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.score-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; background: var(--card); }
.score-row + .score-row { border-top: 1px solid var(--line); }
.pts { font-size: 24px; font-weight: 700; color: #fff; flex: none; }

/* Comment jouer */
.steps { list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.steps li::before { content: counter(step); font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 16px; color: #fff; }
.steps p { color: #cfcbc2; }
.steps .btn { margin-top: auto; }
.steps .btn + p { margin-top: 10px; margin-bottom: 0; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .back { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal .back:hover { color: #fff; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; margin: 26px 0 10px; }
.legal p, .legal li { color: #d9d6ce; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin: 4px 0; }
.legal a { color: #fff; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--card); color: #fff; }
.table-wrap { overflow-x: auto; }
.placeholder { padding: 10px 14px; border: 1px dashed #8a6d2b; color: #d9a441 !important; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 32px 24px 40px; background: #050505; }
.footer-card {
  max-width: 820px; margin: 0 auto; padding: 32px 28px 24px; text-align: center;
  background: #16181b; border-radius: 12px;
}
.footer-title { margin: 0; font-size: 22px; font-weight: 700; }
.footer-tagline { margin: 12px 0 0; color: #d0d0d0; }
.footer-social { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.footer-social a { color: #cfcfcf; transition: color .15s; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 22px; height: 22px; display: block; }
.footer-card hr { border: 0; border-top: 1px solid #33363b; margin: 24px 0 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-small { margin: 14px 0 0; font-size: 13px; color: #d0d0d0; }
.footer-small a.ext { text-decoration: underline dotted; text-underline-offset: 3px; }
.footer-small a.ext svg { width: 11px; height: 11px; vertical-align: middle; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3, .grid-4, .ranks, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .site-header { gap: 12px; padding: 0 14px; }
  .brand span { display: none; }
  .btn-sm span { display: none; }
  .grid-2, .grid-3, .grid-4, .ranks, .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 18px; }
  .lead { font-size: 16px; }
  .rank { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Encadré « Gardez votre Skyrim et vos serveurs RP » (section Comment jouer) */
.callout {
  max-width: 860px; margin: 48px auto 0; padding: 28px 30px;
  border: 1px solid #3a3a3a; border-left: 3px solid #bdb8ac; border-radius: 6px; background: rgba(255, 255, 255, .03);
}
.callout p { color: #d9d6ce; }
.callout p:last-child { margin-bottom: 0; }
.callout em { font-style: normal; color: #fff; }

/* Questions fréquentes (accueil) : accordéon natif <details> */
.faq { max-width: 860px; margin: 32px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid #3a3a3a; border-radius: 6px; background: rgba(255, 255, 255, .03); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font-weight: 700; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #bdb8ac; font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid #bdb8ac; outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: #d9d6ce; }

/* ---------- Administration (/admin/) ---------- */
.admin { max-width: 860px; margin: 0 auto; padding: 56px 24px 96px; }
.admin h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 28px; }
.admin h2 { font-size: 20px; margin: 0 0 16px; }
.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; margin-bottom: 20px; }
.admin-card p { color: #d9d6ce; }
.admin-who { margin-left: auto; color: var(--muted); font-size: 14px; flex: none; }
.admin-error { color: #e07a7a !important; }
.admin-state { display: flex; align-items: center; gap: 16px; font-size: 20px; font-weight: 700; color: #fff !important; margin: 0 0 4px; overflow: hidden; }
.admin-state #state-text { display: inline-block; }
.admin-state #state-text.slide-in { animation: text-slide .45s ease-out; }
@keyframes text-slide { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Interrupteur d'état : le curseur glisse à droite (allumé) ou à gauche (éteint). */
.power { position: relative; width: 64px; height: 30px; border-radius: 15px; flex: none;
  background: #2b2b2b; border: 1px solid #444; transition: background .6s ease, border-color .6s ease; }
.power::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #8a8a8a; transition: left .6s cubic-bezier(.65, 0, .35, 1), background .6s ease, box-shadow .6s ease; }
.power.ok { background: #2f4a33; border-color: #a8d5a2; }
.power.ok::after { left: 37px; background: #a8d5a2; box-shadow: 0 0 10px #a8d5a2; }
.power.off { background: #3a2626; border-color: #f0a3a3; }
.power.off::after { left: 3px; background: #f0a3a3; }
.power.err { background: #3a2626; border-color: #e07a7a; }
.power.err::after { left: 3px; background: #e07a7a; box-shadow: 0 0 10px #e07a7a; }
.power.dev { background: #4a4126; border-color: #f2dc8a; }
.power.dev::after { left: 37px; background: #f2dc8a; box-shadow: 0 0 10px #f2dc8a; }
.power.neutral::after { left: 3px; }
.power.busy { border-color: #f2dc8a; }
.power.busy::after { left: 20px; background: #f2dc8a; animation: blink .8s infinite alternate; }
@keyframes blink { to { opacity: .35; } }

.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
/* Couleurs pastel des actions, texte foncé pour rester lisible. */
.btn-start, .btn-restart, .btn-stop { color: #151515; border-color: transparent; }
.btn-start { background: #a8d5a2; }
.btn-start:hover { background: #bfe3ba; }
.btn-restart { background: #f2dc8a; }
.btn-restart:hover { background: #f7e7ab; }
.btn-stop { background: #f0a3a3; }
.btn-stop:hover { background: #f6bdbd; }
/* Option indisponible (déjà l'état actuel, ou action en cours) : grisée. */
.btn[disabled], .btn[disabled]:hover { background: #2a2a2a; color: #777; border-color: #3a3a3a; cursor: not-allowed; transform: none; box-shadow: none; }
.admin-log { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-log th, .admin-log td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-log th { color: var(--muted); font-weight: 700; }
.admin-dialog p { color: #e8e4d8; margin: 0; line-height: 1.6; }
.admin-dialog { max-width: 460px; background: #121314; color: var(--text); border: 1px solid #3a3a3a; border-radius: 8px; padding: 24px; }
.admin-dialog::backdrop { background: rgba(0, 0, 0, .75); }
.admin-dialog .admin-actions { justify-content: flex-end; margin-bottom: 0; }
.admin-players { font-size: 16px; font-weight: 700; color: #fff !important; margin: 10px 0 0; }
.admin-score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 20px 0 12px; }
.admin-score label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted, #aaa); }
.admin-score input { width: 120px; padding: 10px 12px; background: #141414; border: 1px solid #333; border-radius: 6px; color: #fff; font: inherit; font-size: 16px; }
.admin-score input:focus { outline: 2px solid #f0c674; outline-offset: 1px; }
.admin-score input:disabled { opacity: .5; }

/* ---------- Carte topographique ---------- */
/* Fonds de section : vues de la carte (tuiles UESP, tools/gen-site-maps.ps1),
   floutées et assombries pour garder le texte lisible. */
.section.has-bg { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid #161616; border-bottom: 1px solid #161616; }
.section.has-bg::before {
  content: ""; position: absolute; inset: -30px; z-index: -2;
  background: center / cover no-repeat; filter: blur(3px) saturate(.8); opacity: .5;
}
.section.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .72) 16%, rgba(0, 0, 0, .72) 84%, #000 100%);
}
.section.bg-capture::before { background-image: url("/assets/maps/bg-capture.jpg"); }
.section.bg-creatures::before { background-image: url("/assets/maps/bg-creatures.jpg"); }
.section.bg-empire::before { background-image: url("/assets/maps/bg-empire.jpg"); }
.section.bg-sombrage::before { background-image: url("/assets/maps/bg-sombrage.jpg"); }
.section.bg-front::before { background-image: url("/assets/maps/bg-front.jpg"); }
/* Carte affichée en grand dans « Le projet ». */
.topo { max-width: 760px; margin: 56px auto 0; text-align: center; }
.topo img { display: block; width: 100%; height: auto; border: 1px solid #3a3a3a; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.topo figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Carte en direct (/admin/carte/) ---------- */
.map-page { height: 100vh; overflow: hidden; }
.map-layout { display: flex; height: calc(100vh - var(--header-h)); }
#map { flex: 1; background: #10140f; }
.map-side { width: 300px; flex: none; overflow-y: auto; padding: 20px; background: var(--card); border-left: 1px solid var(--line); }
.map-side h2 { font-size: 18px; margin: 0 0 10px; }
.map-side h3 { font-size: 15px; margin: 24px 0 8px; }
.map-players, .map-legend { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.map-players li, .map-legend li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #1f1f1f; color: #e2ded5; }
.map-players small { color: var(--muted); }
.leaflet-tooltip.poi-label { background: rgba(0, 0, 0, .7); color: #fff; border: 0; box-shadow: none; font: 600 12px "Montserrat", sans-serif; }
.leaflet-tooltip.poi-label::before { display: none; }
@media (max-width: 800px) {
  .map-layout { flex-direction: column; }
  .map-side { width: auto; height: 35vh; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Carte du front (page d'accueil, sans joueurs) ---------- */
.front-map { max-width: 900px; margin: 48px auto 0; }
.front-map img { display: block; width: 100%; height: auto; border: 1px solid #3a3a3a; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.front-map figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; font-size: 14px; color: #d9d6ce; }
.front-map .chip { display: inline-flex; align-items: center; gap: 8px; }
.front-map .credit { width: 100%; text-align: center; color: var(--muted); font-size: 12px; }
/* Pastilles de légende (aussi utilisées par la carte de l'admin) aux couleurs du jeu. */
.lg { width: 11px; height: 11px; border-radius: 50%; flex: none; border: 1px solid #000; display: inline-block; }
.lg.empire { background: #b3261e; }
.lg.sombrage { background: #2f5fa8; }
.lg.capture { background: #f2dc8a; }
.lg.clear { background: #c39be8; }
.lg.area { border-radius: 0; background: transparent; border: 1px dashed #f2f0eb; }

/* ---------- Maquettes de l'interface du jeu (copie du HUD, ui/hud.html) ---------- */
.hud-demo {
  position: relative; aspect-ratio: 16 / 9; margin: 0 0 18px; overflow: hidden;
  border: 1px solid #3a3a3a; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .55);
  background: #111 center / cover no-repeat; color: #fff; container-type: inline-size;
}
.hud-demo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .35) 100%); }
.hud-demo[data-demo="capture"] { background-image: url("/assets/maps/bg-capture.jpg"); }
.hud-demo[data-demo="clear"] { background-image: url("/assets/maps/bg-creatures.jpg"); }
.hud-demo[data-demo="score"] { background-image: url("/assets/maps/bg-front.jpg"); }
.hud-demo.wide { max-width: 760px; margin: 40px auto 0; }
.hud-demo.wide .hud-panel { width: 56%; font-size: clamp(12px, 3.2cqw, 22px); }
.hud-demo > * { position: absolute; }
.hud-tag { right: 10px; bottom: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .55); padding: 3px 8px; border-radius: 3px; }
/* Texte du jeu : contour sombre + ombre portée (identique au HUD). */
.skyrim-text { text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 0 5px rgba(0, 0, 0, .8), 2px 2px 4px rgba(0, 0, 0, .9); }
.hud-panel { top: 8%; left: 50%; transform: translateX(-50%); width: 68%; text-align: center; font-size: clamp(12px, 4.2cqw, 22px); letter-spacing: .05em; }
.hud-panel .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35em; }
.hud-panel .side { display: flex; align-items: center; gap: .45em; min-width: 3em; }
.hud-panel .side.right { justify-content: flex-end; }
.hud-panel .dot { width: .8em; height: .8em; border-radius: 50%; box-shadow: 0 0 3px rgba(0, 0, 0, .9); }
.hud-panel .dot.empire, .hud-panel .fill.empire { background: #b3261e; }
.hud-panel .dot.sombrage, .hud-panel .fill.sombrage { background: #2f5fa8; }
.hud-panel .bar { position: relative; height: 1.05em; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 4px rgba(0, 0, 0, .8); }
.hud-panel .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, .35); transition: width .9s linear; }
.hud-panel .time { position: absolute; inset: 0; font-size: .78em; line-height: 1.35em; }
.hud-panel .status { font-size: .78em; opacity: .85; margin-top: .3em; }
.hud-panel .occupancy { font-size: .72em; opacity: .7; margin-top: .2em; }
.hud-fx { top: 44%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(13px, 4.4cqw, 26px); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.hud-fx.show { opacity: 1; }
.hud-fx b { font-weight: 500; margin-left: .5em; }
.hud-respawns { top: 4%; left: 3%; font-size: clamp(10px, 2.2cqw, 14px); letter-spacing: .04em; }
.hud-respawns .row { display: flex; gap: 1em; }
.hud-corner { top: 4%; right: 4%; display: flex; align-items: flex-start; gap: .7em; font-size: clamp(12px, 3.6cqw, 20px); line-height: 1.3; }
.hud-score .row { display: flex; justify-content: flex-end; gap: .8em; }
.hud-score .points { min-width: 2.6em; text-align: right; }
.hud-brand { display: flex; flex-direction: column; align-items: center; }
.hud-brand img { width: 3.2em; height: 3.2em; opacity: .3; }
.hud-brand .latency { font-size: .75em; margin-top: .2em; }
.hud-protect { top: 58%; left: 50%; transform: translateX(-50%); text-align: center; font-size: clamp(11px, 3cqw, 17px); letter-spacing: .08em; opacity: 0; transition: opacity .4s; }
.hud-protect.show { opacity: .95; }
.hud-protect small { display: block; font-size: .7em; opacity: .75; margin-top: .2em; letter-spacing: .03em; }
.points-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 48px; }
.points-split .score-table { margin: 0; }
.points-split .hud-demo { margin: 0; }
@media (max-width: 900px) { .points-split { grid-template-columns: 1fr; } }
