:root {
  --cyan: #38e8ff;
  --magenta: #ff4fd8;
  --amber: #ffb02e;
  --red: #ff3b4f;
  --bg: #05060f;
  --panel: rgba(8, 14, 34, 0.78);
  --panel-solid: rgba(8, 14, 34, 0.96);
  --line: rgba(56, 232, 255, 0.35);
  --text: #dff6ff;
  --muted: #8aa3c2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, sans-serif;
  overflow: hidden;
  user-select: none;
}

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; outline: none; }

.hidden { display: none !important; }

kbd {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  padding: 2px 6px;
  margin-right: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(56, 232, 255, 0.08);
  color: var(--cyan);
}

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }

.hud-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  box-shadow: 0 0 24px rgba(56, 232, 255, 0.12);
}

.hud-player { top: 16px; left: 16px; display: flex; gap: 12px; align-items: center; }
.hud-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px currentColor inset;
}
.hud-name { font-family: 'Orbitron'; font-weight: 700; font-size: 16px; letter-spacing: 0.06em; }
.hud-stats { display: flex; gap: 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.hud-stats b { color: var(--amber); }
.hud-ox { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.hud-ox b { font-family: 'Orbitron'; font-size: 13px; }
.hud-ox.bump b { animation: ox-bump 0.6s ease-out; }
.ox-coin {
  display: inline-grid; place-items: center;
  width: 15px; height: 15px; border-radius: 50%;
  font-style: normal; font-size: 10px; font-weight: 700; line-height: 1;
  color: #1a1004; background: radial-gradient(circle at 35% 30%, #ffe2a0, var(--amber) 60%, #b86f00);
  box-shadow: 0 0 8px rgba(255, 176, 46, 0.55);
}
.ox-gain {
  position: absolute; left: 22px; top: -4px;
  font-family: 'Orbitron'; font-size: 13px; font-weight: 700; color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 176, 46, 0.8);
  animation: ox-float 1.8s ease-out forwards;
  pointer-events: none;
}
@keyframes ox-float { from { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; } to { opacity: 0; transform: translateY(-26px); } }
@keyframes ox-bump { 30% { color: #fff; text-shadow: 0 0 10px var(--amber); } }

.hud-online { color: #7dff5a; }
body.editing #help, body.editing #prompt { display: none; }

#panel-body .notice {
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255, 176, 46, 0.08); border: 1px solid rgba(255, 176, 46, 0.4);
}
#panel-body .notice .link-btn { margin: 0 0 0 6px; padding: 0; }

/* Portefeuille (pupitre) */
.wallet { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.wallet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wallet-balance { font-family: 'Orbitron'; font-size: 26px; font-weight: 700; color: var(--amber); }
.wallet-balance small { font-size: 13px; color: var(--muted); margin-left: 6px; }
.wallet-meta { color: var(--muted); font-size: 14px; }
.wallet-bar { height: 6px; margin: 10px 0 4px; border-radius: 3px; background: rgba(255, 176, 46, 0.14); overflow: hidden; }
.wallet-bar span { display: block; height: 100%; background: linear-gradient(90deg, #b86f00, var(--amber)); box-shadow: 0 0 10px var(--amber); }
.ledger { list-style: none; margin: 10px 0 0; padding: 0; max-height: 170px; overflow: auto; font-size: 14px; }
.ledger li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid rgba(56, 232, 255, 0.12); }
.ledger time { color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.ledger .plus { color: var(--amber); font-family: 'Orbitron'; font-size: 13px; }
.ledger .minus { color: var(--red); font-family: 'Orbitron'; font-size: 13px; }

.hud-right { position: absolute; top: 16px; right: 16px; display: flex; gap: 10px; align-items: flex-start; }
.hud-location { position: relative; text-align: right; }
.hud-gear {
  pointer-events: auto;
  width: 48px; height: 48px; padding: 11px;
  color: var(--cyan);
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.hud-gear:hover { background: rgba(56, 232, 255, 0.15); transform: rotate(30deg); }
.hud-gear svg { width: 100%; height: 100%; display: block; }

.fps {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  font-family: 'Orbitron'; font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 6px;
  background: var(--panel); border: 1px solid var(--line); color: #7dff5a;
}
.fps.warn { color: var(--amber); }
.fps.bad { color: var(--red); }
.hud-loc-name { font-family: 'Orbitron'; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--cyan); }
.hud-loc-sub { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }

.help { left: 16px; bottom: 16px; font-size: 14px; line-height: 2; color: var(--muted); }

.prompt {
  position: absolute; left: 50%; bottom: 20%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 18px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 0 30px rgba(56, 232, 255, 0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
.prompt kbd { font-size: 14px; padding: 3px 9px; }

@keyframes pulse { 50% { box-shadow: 0 0 40px rgba(56, 232, 255, 0.45); } }

#toasts {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(560px, calc(100vw - 32px));
}
.toast {
  padding: 10px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  font-size: 16px; font-weight: 600; text-align: center;
  animation: toast-in 0.35s ease-out;
  transition: opacity 0.5s, transform 0.5s;
}
.toast.out { opacity: 0; transform: translateY(-8px); }
.toast b { color: var(--cyan); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

.resume {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 12px 22px; font-size: 16px; font-weight: 600;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
}

/* ---------- Fenêtres ---------- */
.panel {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center;
  background: rgba(2, 4, 12, 0.55);
  backdrop-filter: blur(3px);
  user-select: text;
}
.panel-inner {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow: auto;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px 26px;
  box-shadow: 0 0 60px rgba(56, 232, 255, 0.2);
  animation: toast-in 0.25s ease-out;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-family: 'Orbitron'; font-size: 20px; letter-spacing: 0.1em; color: var(--cyan); }
.panel-close {
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 16px;
}
.panel-close:hover { background: rgba(56, 232, 255, 0.12); }
#panel-body { font-size: 17px; line-height: 1.5; }
#panel-body p { margin: 0 0 12px; }
#panel-body .muted { color: var(--muted); }

.dep-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.dep-table th { text-align: left; font-family: 'Orbitron'; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dep-table td { padding: 8px; border-bottom: 1px solid rgba(56, 232, 255, 0.1); }
.dep-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 8px currentColor; background: currentColor; }

.world-card { border-left: 4px solid var(--c, var(--cyan)); padding: 4px 0 4px 16px; margin-bottom: 16px; }
.world-card h3 { margin: 0 0 2px; font-family: 'Orbitron'; font-size: 22px; color: var(--c, var(--cyan)); }
.world-card .sector { color: var(--muted); letter-spacing: 0.1em; font-size: 14px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.stat { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.stat span { display: block; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.stat b { font-family: 'Orbitron'; font-size: 18px; }

.score-table { width: 100%; font-family: 'Orbitron'; font-size: 14px; border-collapse: collapse; margin-top: 8px; }
.score-table td { padding: 5px 8px; border-bottom: 1px dashed rgba(255, 176, 46, 0.2); color: var(--amber); }
.score-table td:last-child { text-align: right; }

.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn-primary, .btn-ghost {
  font-family: 'Orbitron'; font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  padding: 12px 20px; border-radius: 8px; cursor: pointer;
}
.btn-primary {
  border: none; color: #04121a;
  background: linear-gradient(90deg, var(--cyan), #7ff3ff);
  box-shadow: 0 0 22px rgba(56, 232, 255, 0.45);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(56, 232, 255, 0.1); }

/* ---------- Menu Paramètres ---------- */
.menu-inner { width: min(860px, calc(100vw - 32px)); }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab {
  font-family: 'Orbitron'; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 10px 16px; cursor: pointer;
  color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab:hover { color: var(--text); }

.preset-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.preset {
  position: relative;
  font-family: 'Orbitron'; font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  padding: 16px 8px; cursor: pointer; border-radius: 10px;
  color: var(--text); background: rgba(56, 232, 255, 0.05); border: 1px solid var(--line);
  transition: background 0.15s, box-shadow 0.15s;
}
.preset:hover { background: rgba(56, 232, 255, 0.12); }
.preset[aria-pressed="true"] {
  color: #04121a; background: linear-gradient(135deg, var(--cyan), #9ff6ff);
  box-shadow: 0 0 22px rgba(56, 232, 255, 0.45);
}
.preset em {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-family: 'Rajdhani'; font-size: 11px; letter-spacing: 0.08em;
  padding: 1px 8px; border-radius: 999px; background: var(--amber); color: #1a0e00; white-space: nowrap;
}
.preset-info { margin: 12px 0 6px; font-size: 14px; color: var(--muted); }
.preset-info b { color: var(--cyan); }

.opt-list { display: flex; flex-direction: column; }
.opt-row {
  display: grid; grid-template-columns: 1fr minmax(180px, 240px); gap: 16px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(56, 232, 255, 0.1);
}
.opt-label { font-size: 17px; font-weight: 600; }
.opt-label small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.opt-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.opt-ctrl select {
  width: 100%;
  font: 600 15px 'Rajdhani', sans-serif;
  color: var(--text);
  background: rgba(56, 232, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2338e8ff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 34px 8px 12px;
  appearance: none; cursor: pointer;
}
.opt-ctrl select:focus { outline: none; border-color: var(--cyan); }
.opt-ctrl option { background: #0a1230; }

.opt-ctrl input[type="range"] { flex: 1; accent-color: var(--cyan); cursor: pointer; }
.opt-ctrl output { min-width: 52px; text-align: right; font-family: 'Orbitron'; font-size: 13px; color: var(--cyan); }

.switch {
  position: relative; width: 52px; height: 28px; flex: none;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(138, 163, 194, 0.2); cursor: pointer; transition: background 0.2s;
}
.switch span {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform 0.2s, background 0.2s;
}
.switch[aria-checked="true"] { background: rgba(56, 232, 255, 0.35); }
.switch[aria-checked="true"] span { transform: translateX(24px); background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.gpu-info { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; margin-top: 18px; font-size: 15px; color: var(--muted); }

@media (max-width: 640px) {
  .preset-row { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .opt-row { grid-template-columns: 1fr; gap: 8px; }
  .opt-ctrl { justify-content: flex-start; }
}

/* ---------- Studio d'avatar ---------- */
.editor { position: fixed; inset: 0; z-index: 15; pointer-events: none; }
.editor-panel {
  pointer-events: auto;
  position: absolute; top: 16px; right: 16px; bottom: 16px;
  width: min(400px, calc(100vw - 32px));
  display: flex; flex-direction: column;
  background: var(--panel-solid);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 0 60px rgba(56, 232, 255, 0.18);
  animation: slide-in 0.3s ease-out;
  user-select: text;
}
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } }
.editor-head { padding: 18px 20px 6px; }
.editor-head h2 { margin: 0; font-family: 'Orbitron'; font-size: 18px; letter-spacing: 0.1em; color: var(--cyan); }
.editor-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.editor-head .editor-who { margin: 6px 0 0; font-size: 17px; font-weight: 700; color: var(--text); }
.editor-actions.first { grid-template-columns: 1fr 1.6fr; }
.editor-panel .field-error { padding: 4px 20px 0; }
.editor-panel .tabs { margin: 6px 20px 0; }
.editor-panel .tab { padding: 10px 10px; font-size: 11px; }
.editor-body { flex: 1; overflow-y: auto; padding: 4px 20px 12px; }
.editor-actions {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
  padding: 14px 20px 18px; border-top: 1px solid var(--line);
}
.editor-actions button { padding: 12px 8px; font-size: 11px; letter-spacing: 0.1em; }

.ed-row { padding: 12px 0 4px; }
.ed-label { margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: 600 14px 'Rajdhani', sans-serif; color: var(--text);
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(56, 232, 255, 0.05); border: 1px solid var(--line);
  transition: background 0.15s, box-shadow 0.15s;
}
.chip:hover { background: rgba(56, 232, 255, 0.14); }
.chip[aria-pressed="true"] { color: #04121a; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px rgba(56, 232, 255, 0.45); }

.cswatches { display: flex; flex-wrap: wrap; gap: 7px; }
.cswatch {
  position: relative; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: var(--c); border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.12s;
}
.cswatch:hover { transform: scale(1.1); }
.cswatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--cyan); }
.cswatch.custom {
  background: conic-gradient(#ff3b4f, #ffb02e, #ffe066, #7dff5a, #38e8ff, #a98bff, #ff4fd8, #ff3b4f);
  overflow: hidden;
}
.cswatch.custom::after {
  content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, 0.4);
}
.cswatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }

.ed-range { display: flex; align-items: center; gap: 12px; }
.ed-range input { flex: 1; accent-color: var(--cyan); }
.ed-range output { min-width: 60px; text-align: right; font-family: 'Orbitron'; font-size: 13px; color: var(--cyan); }

@media (max-width: 760px) {
  .editor-panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 55vh; }
}

/* ---------- Connexion ---------- */
#boot {
  position: fixed; inset: 0; z-index: 30;
  display: grid; place-items: center;
  padding: 16px;
  background: radial-gradient(ellipse at center, rgba(5, 6, 15, 0.25), rgba(5, 6, 15, 0.85));
  transition: opacity 0.6s;
}
#boot.fade { opacity: 0; pointer-events: none; }

.boot-card {
  width: min(460px, 100%);
  padding: 32px 30px 24px;
  text-align: center;
  background: rgba(6, 10, 26, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(56, 232, 255, 0.18);
  user-select: text;
}

.logo {
  font-family: 'Orbitron'; font-weight: 900;
  font-size: clamp(42px, 11vw, 70px);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  line-height: 1;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(56, 232, 255, 0.45));
}
.tagline { margin: 10px 0 26px; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }

.field-error { min-height: 18px; font-size: 14px; color: var(--red); }
#btn-enter { margin-top: 8px; }

.boot-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.boot-note:empty { display: none; }

.boot-status {
  font-family: 'Orbitron'; font-size: 13px; letter-spacing: 0.12em; color: var(--cyan);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

.boot-auth { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.boot-tabs { margin-bottom: 4px; }
.boot-tabs .tab { flex: 1; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.auth-form input {
  font: 600 17px 'Rajdhani', sans-serif; color: var(--text);
  padding: 10px 12px; border-radius: 8px;
  background: rgba(4, 8, 20, 0.7); border: 1px solid var(--line);
}
.auth-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 232, 255, 0.18); }
.auth-form small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); opacity: 0.85; }
.auth-form .field-error:empty { display: none; }
.auth-form .link-btn, #btn-guest { align-self: center; }
.auth-form button[type="submit"][aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.fine-print { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); text-align: center; }
.boot-message {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 8px;
  font-size: 15px; line-height: 1.4; text-align: left;
  color: var(--text); background: rgba(125, 255, 90, 0.08); border: 1px solid rgba(125, 255, 90, 0.35);
}
.boot-message.warn { background: rgba(255, 176, 46, 0.08); border-color: rgba(255, 176, 46, 0.4); }
.boot-lead { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.boot-lead b { color: var(--cyan); }

a.btn-primary, a.btn-ghost { display: inline-block; text-align: center; text-decoration: none; }
.btn-block { display: block; width: 100%; }

.link-btn {
  margin-top: 6px; padding: 4px;
  font: 600 14px 'Rajdhani', sans-serif; color: var(--muted);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--text); }

.account-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; margin-bottom: 6px;
  text-align: left;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(56, 232, 255, 0.06);
}
.account-avatar {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  font: 900 18px 'Orbitron'; color: var(--cyan);
  border: 2px solid currentColor; box-shadow: 0 0 12px currentColor inset;
}
.account-who { flex: 1; min-width: 0; }
.account-who small { display: block; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.account-who b { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip .link-btn { margin: 0; }

.boot-seq {
  width: min(560px, 100%);
  font-family: 'Orbitron'; font-size: 14px; line-height: 2.1; letter-spacing: 0.08em;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(56, 232, 255, 0.6);
}
.boot-seq .ok { color: #7dff5a; }

.flash {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: radial-gradient(circle, #ffffff, #b8f6ff 40%, #38e8ff);
  opacity: 0;
}
.flash.on { animation: flash 1.4s ease-in-out; }
@keyframes flash { 0% { opacity: 0; } 35% { opacity: 1; } 55% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 720px) {
  .help { display: none; }
  .hud-location { display: none; }
}
