/* ============================================================
   ViperClash – UI
   Idee: Das UI traegt die Hautfarbe der gewaehlten Skin.
   CSS-Vars --skin-* werden in game.js (applySkinTheme) gesetzt.
   Formensprache: Kapseln (Schlangenkörper), keine Karten-Kits.
   ============================================================ */

:root {
  --deep-ink: #0b1420;
  --panel: #141f30;
  --line: #26344a;
  --text: #e9eff8;
  --muted: #9fb0c7;
  --amber: #ffce3a;
  --red: #ff3b57;
  --font-display: "Fredoka", "Nunito Sans", -apple-system, system-ui, sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Skin – Fallback = Karmesin (Index 0), wird per JS ersetzt */
  --skin-a: #ff5252;
  --skin-b: #c62828;
  --skin-soft: rgba(255, 82, 82, 0.16);
  --skin-line: rgba(255, 82, 82, 0.55);
  --skin-glow: rgba(255, 82, 82, 0.35);
  --skin-btn: #ff5252;
  --skin-on: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--deep-ink);
  font-family: var(--font-body);
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}

button { font-family: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--skin-line);
  outline-offset: 2px;
  border-radius: 6px;
}

#game {
  position: fixed;
  inset: 0;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

/* ---------- HUD ---------- */
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* ---------- Spectator Bar ---------- */
#specBar {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 20, 32, 0.90);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  z-index: 25;
}

#specBar .specInfo {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

#specBar .specInfo b {
  color: var(--amber);
}

#specBar .specControls {
  display: flex;
  align-items: center;
  gap: 6px;
}

#scorebox {
  position: absolute;
  top: 16px;
  left: 18px;
  min-width: 150px;
  background: rgba(10, 17, 28, 0.62);
  border: 1px solid var(--line);
  border-left: 3px solid var(--skin-a);
  border-radius: 14px;
  padding: 12px 16px 11px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

#score {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 0.95;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
}

#score.pop { animation: scorePop 0.25s ease; }

@keyframes scorePop {
  40% { transform: scale(1.12); }
}

#segs {
  display: flex;
  gap: 3px;
  height: 7px;
  margin-top: 8px;
}

#segs span {
  flex: 1 1 0;
  min-width: 3px;
  height: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

#segs span.full {
  background: linear-gradient(180deg, var(--skin-a), var(--skin-b));
  box-shadow: 0 0 6px var(--skin-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

#sub {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
}

#sub2 {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

#power {
  min-height: 15px;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

#quickHud {
  position: absolute;
  top: 16px;
  right: 226px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
  z-index: 20;
}

.hudIconBtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 17, 28, 0.65);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}

.hudIconBtn:hover {
  transform: scale(1.1);
  border-color: var(--skin-line);
  background: rgba(18, 28, 44, 0.85);
}

#board {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 196px;
  background: rgba(10, 17, 28, 0.62);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  font-size: 13px;
}

#board .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

#board .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 7px;
  margin-top: 2px;
  border-radius: 8px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

#board .row.me {
  background: var(--skin-soft);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--skin-a);
}

#board .row .nm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#minimap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 130px;
  height: 130px;
  opacity: 0.9;
}

#hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(10, 17, 28, 0.5);
  padding: 5px 9px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

/* ---------- Kill-Feed ---------- */
#feed {
  position: absolute;
  top: 150px;
  right: 18px;
  width: 224px;
  text-align: right;
  font-size: 12px;
  pointer-events: none;
  z-index: 15;
}

#feed .item {
  margin-top: 5px;
  padding: 5px 9px;
  background: rgba(10, 17, 28, 0.6);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  opacity: 1;
  transition: opacity 0.6s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(6px);
}

#feed .item.me {
  color: #fff;
  border-color: var(--skin-line);
  background: var(--skin-soft);
}

#feed .item.out { opacity: 0; }

/* ---------- Menü: Ton + Steuerung ---------- */
#volRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  box-sizing: border-box;
}

#volRow .vol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}

#volRow .vol span {
  flex-shrink: 0;
  font-weight: 600;
}

#volRow .vol input[type="range"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 6px;
  cursor: pointer;
  accent-color: var(--skin-a);
}

#ctlRow {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

#ctlRow .vol {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

#ctlRow input {
  accent-color: var(--skin-a);
  margin: 0;
}

/* ---------- Hilfe ---------- */
#helpBox {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 90vw);
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(9, 15, 25, 0.97);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  z-index: 30;
  display: none;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

#helpBox.show { display: block; }

#helpBox .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 12px;
  text-align: center;
}

#helpBox .rows > div {
  font-size: 13.5px;
  color: var(--text);
  opacity: 0.86;
  line-height: 1.55;
  margin-bottom: 9px;
}

#helpBox .rows b { color: #fff; }

#helpBox .kbd {
  font-family: ui-monospace, monospace;
  background: #1b2530;
  border-radius: 5px;
  padding: 1px 5px;
}

#helpBox .ctlToggles {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

#helpBox .tog {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

#helpBox .tog:not(.off) {
  color: var(--text);
  background: var(--skin-soft);
  border-color: var(--skin-line);
}

#helpClose { margin: 16px auto 0; display: block; }

#boostBtn {
  display: none;
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid var(--skin-line);
  background: var(--skin-soft);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  pointer-events: auto;
  touch-action: none;
  backdrop-filter: blur(6px);
}

#boostBtn:active { background: var(--skin-line); }

/* ---------- Overlay + Menükarte ---------- */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(5, 9, 15, 0.55);
  backdrop-filter: blur(5px);
}

#overlay.show { display: flex; }

#overlay.show .panel { animation: panelPop 0.3s ease; }

@keyframes panelPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

.panel {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  background: linear-gradient(180deg, rgba(22, 36, 56, 0.97), rgba(13, 22, 34, 0.97));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px 24px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.panel h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 9vw, 50px);
  letter-spacing: 1px;
  color: var(--skin-a);
  text-shadow: 0 2px 30px var(--skin-glow);
}

.tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

#nameInput {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#nameInput:focus {
  border-color: var(--skin-line);
  box-shadow: 0 0 0 3px var(--skin-soft);
}

#nameInput:disabled { opacity: 0.6; }

.skinLabel {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

#skinPreviewBox {
  background: rgba(18, 22, 34, 0.65);
  border: 1px solid var(--skin-line);
  border-radius: 14px;
  padding: 8px 10px 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#skinPreviewCanvas {
  width: 280px;
  height: 75px;
  display: block;
}

#skinPreviewMeta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 4px;
}

#skinPreviewMeta .metaText {
  text-align: left;
}

#skinPreviewTitle {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

#skinPreviewBadge {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

#skinPreviewBtn {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--skin-btn);
  color: var(--skin-btn-text, #fff);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#skinPreviewBtn:disabled {
  opacity: 0.6;
  cursor: default;
}

#skins {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-bottom: 18px;
}

.skin {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.skin:hover { transform: scale(1.12); box-shadow: 0 0 12px rgba(255, 255, 255, 0.3); }

.skin.sel {
  border-color: #fff;
  transform: scale(1.18);
  box-shadow: 0 0 14px var(--skin-glow), 0 0 0 2px var(--skin-a);
}

.skin.locked { opacity: 0.55; }

.skin.locked:hover { opacity: 0.85; }

.skin .price {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 24px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.btn:active { transform: scale(0.98) translateY(0); }

.btn.primary {
  background: var(--skin-btn);
  border: none;
  color: var(--skin-on);
  font-size: 16px;
  padding: 13px 38px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--skin-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn.ghost {
  margin-top: 14px;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  padding: 8px 18px;
}

.btn.ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

.row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- Account ---------- */
#acBox {
  display: none;
  margin-top: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
}

#acBox.show { display: block; }

#acInner .note {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.45;
}

#acInner .who {
  font-size: 13px;
  color: #fff;
  margin-bottom: 5px;
}

#acInner .best {
  font-size: 12px;
  color: var(--amber);
  margin-bottom: 10px;
}

#acInner .acrow {
  display: flex;
  gap: 8px;
  margin-bottom: 9px;
}

#acInner .acrow input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}

#acInner .acrow input:focus { border-color: var(--skin-line); }

#acInner .acbtns { display: flex; gap: 8px; }

#acInner .acbtns .btn { flex: 1; padding: 10px 8px; }

#acInner .msg {
  min-height: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--red);
}

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  padding: 11px 26px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--amber);
  background: rgba(11, 20, 32, 0.9);
  border: 1px solid rgba(255, 206, 58, 0.5);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#toast.show { opacity: 1; }

/* ---------- Multiplayer-Row ---------- */
#mpRow {
  display: none;
  gap: 8px;
  margin-top: 10px;
}

#mpRow input {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}

#mpRow input:focus { border-color: var(--skin-line); }

/* ---------- Sektions-Titel (Welten / Hall of Fame / Erfolge) ---------- */
#lobby .title,
#boardMenu .title,
#achv .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}

/* ---------- Lobby (Welten) ---------- */
#lobby {
  margin-top: 16px;
  font-size: 13px;
  text-align: left;
}

#lobby .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 12px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.1s ease, background 0.1s ease;
}

#lobby .row .best {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
}

#lobby .row:hover { border-color: var(--skin-line); }

#lobby .row.sel {
  background: var(--skin-soft);
  border-color: var(--skin-line);
  color: #fff;
  font-weight: 700;
}

#lobby .row.sel .best { color: var(--amber); }

#lobby .row .cnt { color: var(--muted); font-size: 12px; white-space: nowrap; }

#lobby .row.sel .cnt { color: var(--text); }

/* ---------- Hall of Fame (Menü) ---------- */
#boardMenu {
  margin-top: 16px;
  font-size: 13px;
  text-align: left;
}

#boardMenu .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 6px;
  margin-top: 2px;
  border-radius: 6px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

#boardMenu .row .nm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Erfolge ---------- */
#achv {
  margin-top: 16px;
  font-size: 13px;
  text-align: left;
}

#achv .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#achv .achv {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

#achv .achv.got {
  color: var(--amber);
  border-color: rgba(255, 206, 58, 0.5);
  background: rgba(255, 206, 58, 0.08);
}

#bestLine {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Game Over ---------- */
.killer {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

#overTitle {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
  animation: overShake 0.5s ease;
}

@keyframes overShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

#overStats {
  font-size: 15px;
  color: var(--text);
  opacity: 0.9;
  line-height: 1.7;
}

#overStats .big {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  animation: bigPop 0.4s ease;
}

@keyframes bigPop {
  from { transform: scale(0.7); opacity: 0; }
}

#overStats .newbest {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 206, 58, 0.5);
  background: rgba(255, 206, 58, 0.08);
}

/* ---------- Pause ---------- */
#pauseBox {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  display: none;
  text-align: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fff;
  background: rgba(11, 20, 32, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 48px;
  backdrop-filter: blur(6px);
}

#pauseBox.show { display: block; }

#pauseBox .sub {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Mobile / schmal ---------- */
@media (max-width: 640px) {
  #scorebox { top: 10px; left: 10px; padding: 10px 12px; min-width: 0; }
  #score { font-size: 30px; }
  #quickHud { top: 10px; right: 168px; }
  .hudIconBtn { width: 32px; height: 32px; font-size: 13px; }
  #board { top: 10px; right: 10px; width: 152px; padding: 10px 11px; }
  #minimap { left: 10px; bottom: 10px; width: 104px; height: 104px; }
  #hint { display: none; }
  #feed { top: 128px; right: 10px; width: 168px; }
  #boostBtn { right: 14px; bottom: 14px; width: 78px; height: 78px; font-size: 12px; }
  .panel { padding: 24px 18px 20px; }
}

.legalLinks {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.legalLinks a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.legalLinks a:hover {
  color: var(--text);
  text-decoration: underline;
}
