:root {
  --gold: #e3bd5b;
  --gold-deep: #a8822a;
  --ink: #f6eedd;
  --muted: #bfae8c;
  --panel: rgba(22, 10, 6, 0.82);
  --panel-border: rgba(227, 189, 91, 0.35);
  --red: #ff5a4e;
  --green: #4ade80;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #120806;
  color: var(--ink);
  font-family: var(--sans);
}

#stage { position: fixed; inset: 0; }
#stage canvas { display: block; touch-action: none; }
.labels-layer { position: absolute; inset: 0; pointer-events: none; }

button { font: inherit; color: inherit; }

.btn {
  border: 1px solid var(--panel-border);
  background: linear-gradient(#3a1d10, #24110a);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.12s ease, filter 0.15s ease;
  user-select: none;
}
.btn:hover:not(:disabled) { filter: brightness(1.2); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.gold {
  background: linear-gradient(#f3d27a, var(--gold-deep));
  color: #2a1606;
  border-color: #ffe7a3;
}
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.ghost { background: rgba(255, 255, 255, 0.04); }
.btn.active { background: var(--gold); color: #2a1606; }

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------------- Lobby ---------------- */

#lobby {
  position: fixed;
  left: 32px;
  width: min(500px, calc(100vw - 32px)) !important;
  top: 50%;
  transform: translateY(-50%);
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 26px 26px 20px;
}
#lobby h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-shadow: 0 2px 0 #5a3a0a, 0 0 24px rgba(227, 189, 91, 0.35);
  line-height: 1;
}
#lobby h1 span {
  display: block;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-shadow: none;
  font-style: italic;
  margin-top: 6px;
  text-transform: uppercase;
}
.invite-note {
  background: rgba(227, 189, 91, 0.12);
  border: 1px solid var(--panel-border);
  padding: 10px 12px;
  border-radius: 10px;
  margin: 0 0 14px;
}
.field { display: block; margin-bottom: 14px; }
.field span, .field-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
input:focus { border-color: var(--gold); }

.picker { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: stretch; }
.preview {
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, rgba(227, 189, 91, 0.25), rgba(0, 0, 0, 0.3) 70%);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  min-height: 170px;
}
.characters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; align-content: start; }
.char {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease, background 0.15s;
}
.char:hover { background: rgba(255, 255, 255, 0.12); }
.char.selected { border-color: var(--c); background-color: color-mix(in srgb, var(--c) 25%, transparent); transform: scale(1.06); }
.blurb { margin: 8px 0 16px; color: var(--muted); font-size: 14px; min-height: 1.3em; }
.blurb b { color: var(--ink); }

.lobby-actions { display: grid; gap: 10px; }
.lobby-actions .gold { padding: 14px; font-size: 17px; }
.join { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.join input { text-transform: uppercase; letter-spacing: 0.3em; text-align: center; }
.error { color: var(--red); min-height: 1.2em; margin: 10px 0 0; font-size: 14px; }

/* ---------------- HUD ---------------- */

#hud { position: fixed; inset: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }

.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(rgba(10, 4, 2, 0.85), transparent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.room { display: flex; align-items: center; gap: 8px; }
.room-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
#room-code { font-family: var(--serif); font-size: 24px; letter-spacing: 0.2em; color: var(--gold); }
.status {
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
  text-shadow: 0 2px 6px #000;
}
.status b { color: var(--gold); }
.history { display: flex; gap: 4px; }
.history span {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--panel-border);
  font-weight: 700;
  font-size: 13px;
}
.history span.seven { background: #8b1a14; border-color: var(--red); }
.history span.point { background: var(--gold); color: #2a1606; }
.history span:nth-child(n + 8) { display: none; }

.banner {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 92px);
  font-weight: bold;
  color: var(--gold);
  text-shadow: 0 4px 0 #5a3a0a, 0 0 40px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none !important;
  white-space: nowrap;
  text-align: center;
}
.banner small { display: block; font-size: 0.35em; color: var(--ink); letter-spacing: 0.1em; }
.banner.bad { color: var(--red); text-shadow: 0 4px 0 #4a0a06, 0 0 40px rgba(0, 0, 0, 0.9); }
.banner.show { animation: banner 2.2s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards; }
@keyframes banner {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  12% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(0.95); }
}

/* Chat */
.chat {
  position: absolute;
  left: 14px;
  bottom: 104px;
  width: min(320px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-log {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  mask-image: linear-gradient(transparent, #000 30%);
  padding-top: 20px;
}
.chat-log div { text-shadow: 0 1px 3px #000, 0 0 8px #000; line-height: 1.35; }
.chat-log .sys { color: var(--gold); font-style: italic; }
.chat-log b { color: var(--c, var(--ink)); }
.reactions { display: flex; gap: 4px; }
.reactions button {
  border: 0; background: rgba(0, 0, 0, 0.45); border-radius: 8px;
  font-size: 18px; padding: 4px 6px; cursor: pointer;
  transition: transform 0.1s;
}
.reactions button:active { transform: scale(0.9); }
#chat-input { background: rgba(0, 0, 0, 0.55); padding: 8px 10px; font-size: 14px; }

/* Barra de abajo */
.bottombar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(10, 4, 2, 0.92) 35%);
}
.wallet { display: flex; flex-direction: column; min-width: 120px; }
.wallet-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
#bankroll { font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.on-table { font-size: 12px; color: var(--muted); }

.chips { display: flex; gap: 8px; margin: 0 auto; }
.chip {
  --c: #ccc;
  --e: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--e);
  background:
    radial-gradient(circle, var(--c) 0 52%, transparent 53%),
    repeating-conic-gradient(var(--e) 0 15deg, var(--c) 15deg 45deg);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25), 0 3px 0 rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s;
}
.chip.selected { transform: translateY(-8px) scale(1.08); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25), 0 0 0 3px var(--gold), 0 8px 16px rgba(0, 0, 0, 0.6); }

.tools { display: flex; gap: 6px; }
.btn.roll {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  background: linear-gradient(#f3d27a, var(--gold-deep));
  color: #2a1606;
  border-color: #ffe7a3;
  min-width: 170px;
}
.btn.roll:not(:disabled) { animation: pulse 1.6s ease-in-out infinite; }
.btn.roll:disabled { background: rgba(0, 0, 0, 0.5); color: var(--muted); border-color: var(--panel-border); font-size: 15px; font-family: var(--sans); letter-spacing: 0; }
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(227, 189, 91, 0.25), 0 0 30px rgba(227, 189, 91, 0.5); }
}

/* Etiquetas 3D sobre los personajes */
.nameplate {
  text-align: center;
  background: rgba(15, 6, 3, 0.78);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 4px 10px;
  white-space: nowrap;
  transform-origin: bottom center;
}
.nameplate .np-name { font-weight: 700; font-size: 14px; }
.nameplate .np-name span { color: var(--muted); font-weight: 400; font-size: 12px; }
.nameplate .np-money { font-family: var(--serif); color: var(--gold); font-size: 15px; font-variant-numeric: tabular-nums; }
.nameplate.you { border-color: var(--gold); }
.nameplate.shooter { box-shadow: 0 0 0 2px var(--gold), 0 0 20px rgba(227, 189, 91, 0.6); }
.nameplate.offline { opacity: 0.55; }

.bubble {
  background: #fff;
  color: #1a1a1a;
  border-radius: 14px;
  padding: 6px 12px;
  max-width: 200px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s, margin 0.2s;
  margin-top: 8px;
  position: relative;
}
.bubble::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -7px;
  border: 7px solid transparent;
  border-bottom: 0;
  border-top-color: #fff;
  transform: translateX(-50%);
}
.bubble.show { opacity: 1; margin-top: 0; }

.float-text {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: bold;
  text-shadow: 0 2px 4px #000, 0 0 12px #000;
  animation: floatup 2.2s ease-out forwards;
}
.float-text.win { color: var(--green); }
.float-text.lose { color: var(--red); }
@keyframes floatup {
  0% { opacity: 0; transform: translateY(10px); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-50px); }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 20px);
  background: rgba(20, 8, 4, 0.95);
  border: 1px solid var(--red);
  padding: 10px 16px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.info { border-color: var(--gold); }

/* Ayuda */
dialog {
  background: #1d0c06;
  color: var(--ink);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  max-width: 520px;
  padding: 22px 26px;
  line-height: 1.5;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
dialog h2 { font-family: var(--serif); color: var(--gold); margin-top: 0; }
dialog .muted { color: var(--muted); font-size: 14px; }
dialog form { text-align: right; }

/* ---------------- Primera persona ---------------- */

.crosshair {
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
  pointer-events: none !important;
}
.aim {
  position: absolute;
  left: 50%; top: calc(50% + 16px);
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--gold);
  text-shadow: 0 1px 3px #000;
  pointer-events: none !important;
  white-space: nowrap;
}
.hit {
  position: absolute;
  inset: 0;
  pointer-events: none !important;
  background: radial-gradient(circle, transparent 35%, rgba(200, 0, 0, 0.55));
  opacity: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 38px;
  color: #fff;
  text-shadow: 0 3px 10px #000;
}
.hit.show { animation: hit 2.4s ease-out forwards; }
@keyframes hit {
  0% { opacity: 1; filter: blur(2px); }
  70% { opacity: 0.8; filter: blur(0); }
  100% { opacity: 0; }
}

.actions {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.actions .group {
  display: flex;
  gap: 3px;
  background: rgba(10, 4, 2, 0.7);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 4px;
}
.actions button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
.actions button:hover:not(:disabled) { background: rgba(227, 189, 91, 0.2); }
.actions button:disabled { opacity: 0.35; cursor: not-allowed; }
.actions .emote { font-size: 19px; padding: 4px 6px; position: relative; }
.actions .emote kbd { position: absolute; right: 1px; bottom: 0; font-size: 9px; padding: 0 2px; }
kbd {
  font-family: var(--sans);
  font-size: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  padding: 0 4px;
  color: var(--muted);
}

.beg-prompt {
  position: absolute;
  right: 18px;
  top: 90px;
  width: 290px;
  padding: 14px 16px;
  animation: slidein 0.3s ease-out;
}
.beg-prompt p { margin: 0 0 10px; }
.beg-prompt small { color: var(--muted); }
.beg-amounts { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }

.bots-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bots-row .field-label { margin: 0; }
.segmented { display: flex; border: 1px solid var(--panel-border); border-radius: 10px; overflow: hidden; }
.segmented button {
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 700;
}
.segmented button.selected { background: var(--gold); color: #2a1606; }

.nameplate.aimed { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); transform: scale(1.08); }
.nameplate { border-left: 4px solid var(--c, var(--panel-border)); }
.bubble.dealer { background: #fff6dc; }
#mute.off { opacity: 0.5; }

.status .sep { color: var(--muted); margin: 0 4px; }
.status.closed b:first-of-type + .sep + b,
.status.closed { color: #ffd0c8; }
.btn.roll.urgent:not(:disabled) { background: linear-gradient(#ff8a7a, #c0392b); color: #fff; border-color: #ffb3a8; }

/* =================================================================
   Interfaz v2: marcos dorados, teclas, reloj y placa. Sin emojis.
   ================================================================= */
:root {
  --sans: 'Fredoka', system-ui, sans-serif;
  --gold: #e8c66a;
  --cream: #f6ecd6;
  --frame-bg: rgba(24, 14, 9, 0.86);
}
body, button, input { font-family: var(--sans); }

.frame {
  position: relative;
  background: var(--frame-bg);
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px rgba(24, 14, 9, 0.9), inset 0 0 0 4px rgba(232, 198, 106, 0.45), 0 10px 30px rgba(0, 0, 0, 0.45);
}
.frame::before,
.frame::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 10px; height: 10px;
  background: var(--frame-bg);
  border: 2px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.frame::before { top: -7px; }
.frame::after { bottom: -7px; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 5px;
  border: 2px solid rgba(246, 236, 214, 0.85);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
kbd.wide { min-width: 52px; }

/* Arriba a la izquierda: reloj de la ronda + mesa */
.corner-tl { position: absolute; top: 14px; left: 16px; display: flex; gap: 12px; align-items: center; }
.watch { position: relative; width: 86px; height: 86px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.watch svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.watch-bg { fill: var(--frame-bg); stroke: rgba(232, 198, 106, 0.3); stroke-width: 7; }
.watch-ring { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 264; transition: stroke-dashoffset 0.25s linear, stroke 0.3s; }
.watch.closed .watch-ring { stroke: #ff7a66; }
#watch-time { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 600; color: var(--cream); }
.room-box { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; text-shadow: 0 1px 3px #000; }
.room-box strong { color: var(--gold); letter-spacing: 0.18em; font-size: 18px; }
.links { display: flex; gap: 10px; }
.link { border: 0; background: none; color: var(--cream); padding: 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(232, 198, 106, 0.5); text-underline-offset: 3px; }
.link:hover { color: var(--gold); }
.link:disabled { opacity: 0.4; cursor: not-allowed; }
.link.off { opacity: 0.55; }

/* Arriba al centro: estado de la mesa */
.top-center { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.status {
  background: rgba(24, 14, 9, 0.78);
  padding: 7px 18px;
  border-radius: 0 0 8px 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
}
.status b { color: var(--gold); font-weight: 600; }
.status.closed { color: #ffd0c8; }
.status.closed b { color: #ff9a88; }
.history { position: static; }
.history span { width: 26px; height: 26px; font-size: 12px; font-family: var(--sans); }

/* Arriba a la derecha: placa con la plata */
.plaque {
  position: absolute;
  top: 16px;
  right: 18px;
  min-width: 170px;
  padding: 8px 22px;
  text-align: center;
  background: var(--frame-bg);
  border: 2px solid var(--gold);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
}
.plaque #bankroll { display: block; font-family: var(--sans); font-size: 24px; font-weight: 600; color: var(--gold); }
.plaque .on-table { font-size: 12px; color: var(--muted); }

/* Abajo a la izquierda: ayudas con teclas */
.hints { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 7px; transform: none; }
.hint {
  display: flex; align-items: center; gap: 9px;
  border: 0; background: none; padding: 0;
  color: var(--cream); font-size: 15px; font-weight: 500;
  text-shadow: 0 1px 3px #000, 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer; text-align: left;
}
div.hint { cursor: default; }
.hint:hover:not(:disabled) kbd { border-color: var(--gold); color: var(--gold); }
.hint:disabled { opacity: 0.4; cursor: not-allowed; }
.keys { display: flex; gap: 4px; }
.keys button { border: 0; background: none; padding: 0; cursor: pointer; }
.keys button:hover kbd { border-color: var(--gold); color: var(--gold); }

/* Abajo a la derecha: chat */
.chat { left: auto; right: 18px; bottom: 18px; width: 300px; }
.chat-log { font-family: var(--sans); font-size: 14px; }
.chat-log .tag { font-size: 10px; border: 1px solid var(--muted); border-radius: 3px; padding: 0 3px; margin-right: 4px; color: var(--muted); vertical-align: 1px; }
#chat-input { background: rgba(24, 14, 9, 0.75); border-color: rgba(232, 198, 106, 0.35); }

/* Abajo al centro: bandeja de fichas y tirar */
.tray {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
}
.tray .chips { margin: 0; gap: 6px; }
.tray .chip { width: 48px; height: 48px; font-size: 12px; font-family: var(--sans); font-weight: 700; }
.tray .tools { display: flex; flex-direction: column; gap: 4px; }
.tray .btn.small { padding: 4px 10px; font-size: 13px; }
.btn.roll {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 20px;
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 6px;
}
.btn.roll:disabled { font-family: var(--sans); font-size: 14px; }
.btn { font-family: var(--sans); }

/* Carteles y globitos */
.nameplate { font-family: var(--sans); border-radius: 6px; border: 1.5px solid rgba(232, 198, 106, 0.6); border-left-width: 1.5px; background: rgba(24, 14, 9, 0.8); }
.nameplate .np-name { font-weight: 600; font-size: 14px; }
.nameplate .badge { font-size: 10px; background: var(--gold); color: #2a1606; border-radius: 3px; padding: 0 4px; margin-right: 4px; vertical-align: 1px; }
.nameplate .np-money { font-family: var(--sans); font-weight: 500; }
.nameplate .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 5px; }
.bubble { font-family: var(--sans); font-weight: 500; border-radius: 10px; }
.toast { font-family: var(--sans); border-color: var(--gold); bottom: 110px; }
.aim { top: calc(50% + 14px); font-family: var(--sans); font-weight: 500; color: var(--cream); }
.banner, .banner small { font-family: var(--sans); font-weight: 700; }
.float-text { font-family: var(--sans); font-weight: 700; }
.beg-prompt { top: 120px; right: 18px; padding: 16px 18px; border-radius: 8px; }

/* Lobby: retratos 3D en vez de emojis */
#lobby h1, #lobby h1 span { font-family: var(--sans); }
.char { background-size: cover; background-position: center 20%; font-size: 0; aspect-ratio: 1; }
.char.selected { box-shadow: 0 0 0 2px var(--c); }
