/* WordFever — interfaz en 3 colores: claro, oscuro (paleta) y acento (mineral de la zona). Móvil primero. */
:root {
  --light: #efe6d2;
  --dark: #141118;
  --acc: #d9915a;
  --pixel: 'Press Start 2P', monospace;
  --body: 'VT323', monospace;
  --kb: 0px;
  --vvh: 100vh;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--body);
  font-size: 21px;
  line-height: 1.15;
  -webkit-font-smoothing: none;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
button { touch-action: manipulation; }
::selection { background: var(--acc); color: var(--dark); }

#mine { position: fixed; left: 0; top: 0; image-rendering: pixelated; image-rendering: crisp-edges; z-index: 0; }
#mineUI { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* Iconos pixel (SVG con currentColor) */
.px { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; shape-rendering: crispEdges; }

/* Marco doble típico del estilo: borde claro, filo oscuro y otro filo claro */
.frame { border: 3px solid var(--light); box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--light); }

/* ---------- HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) 12px 8px;
}
.logo {
  font-family: var(--pixel); font-size: 10px; color: var(--light);
  background: var(--dark); border: 0; cursor: pointer; padding: 6px 4px; letter-spacing: 1px;
}
.logo span { color: var(--acc); }
.hud-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.icon-btn {
  min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 6px;
  font-family: var(--pixel); font-size: 14px; color: var(--light); cursor: pointer;
  background: var(--dark); border: 2px solid var(--light);
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--light); color: var(--dark); outline: none; }
.icon-btn.on { color: var(--acc); }
.stats { order: 3; width: 100%; display: flex; gap: 6px; }
.stat { flex: 1; min-width: 0; padding: 3px 8px; background: var(--dark); border: 2px solid var(--light); }
.stat small { display: block; font-size: 14px; opacity: 0.8; }
.stat b { font-family: var(--pixel); font-size: 10px; font-weight: normal; color: var(--acc); }
select {
  font-family: var(--body); font-size: 18px; color: var(--light); height: 36px;
  background: var(--dark); border: 2px solid var(--light); padding: 0 4px;
}

/* ---------- Panel ---------- */
.panel {
  position: fixed; z-index: 5;
  left: 8px; right: 8px; bottom: calc(10px + var(--kb) + env(safe-area-inset-bottom));
  max-height: min(60vh, calc(var(--vvh) - 150px));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 14px 14px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--dark);
  border: 3px solid var(--light); box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--light);
  scrollbar-width: thin; scrollbar-color: var(--light) var(--dark);
}
.panel h1, .panel h2, .panel h3 { font-family: var(--pixel); font-weight: normal; margin: 0; line-height: 1.5; }
.panel h1 { font-size: 16px; }
.panel h1 span { color: var(--acc); }
.panel h2 { font-size: 11px; color: var(--acc); }
.panel h3 { font-size: 9px; opacity: 0.8; }
.panel p { margin: 0; }
.muted { opacity: 0.75; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  font-family: var(--pixel); font-size: 10px; line-height: 1.4; min-height: 44px;
  color: var(--dark); background: var(--acc);
  border: 3px solid var(--dark); box-shadow: 0 0 0 3px var(--acc);
  padding: 11px 14px; cursor: pointer; margin: 3px;
}
.btn:hover { background: var(--light); box-shadow: 0 0 0 3px var(--light); }
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { color: var(--light); background: var(--dark); border: 2px solid var(--light); box-shadow: none; margin: 0; }
.btn-ghost:hover { color: var(--dark); background: var(--light); box-shadow: none; }
.btn-premium { min-height: 36px; padding: 7px 9px; font-size: 9px; margin: 0; color: var(--dark); background: var(--light); border: 2px solid var(--light); box-shadow: none; }
.btn-premium:hover { background: var(--acc); border-color: var(--acc); box-shadow: none; }
.btn-block { width: calc(100% - 6px); }
.btn-ghost.btn-block { width: 100%; }
a.btn { display: block; text-align: center; text-decoration: none; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }

/* ---------- Menú ---------- */
.mode {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px;
  width: 100%; text-align: left; cursor: pointer; min-height: 62px;
  color: var(--light); background: var(--dark); padding: 10px 12px;
  font-family: var(--body); font-size: 19px;
  border: 2px solid var(--light);
}
.mode:hover, .mode:focus-visible { background: var(--light); color: var(--dark); outline: none; }
.mode:hover .tag { box-shadow: 0 0 0 2px var(--dark); }
.mode .ico { font-size: 26px; text-align: center; color: var(--acc); }
.mode:hover .ico { color: var(--dark); }
.mode b { font-family: var(--pixel); font-size: 10px; font-weight: normal; display: block; margin-bottom: 4px; }
.mode small { font-size: 17px; opacity: 0.85; }
.tag { font-family: var(--pixel); font-size: 7px; padding: 5px 6px; background: var(--acc); color: var(--dark); white-space: nowrap; }
.tag.free { background: var(--light); }
.tag.none { background: var(--dark); color: var(--light); border: 1px solid var(--light); }

.streak { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px dashed var(--light); }
.streak .lamp { width: 30px; height: 30px; flex: none; color: var(--acc); }
.streak.off .lamp { color: var(--light); opacity: 0.4; }
.streak b { font-family: var(--pixel); font-size: 10px; color: var(--acc); }
.streak.off b { color: var(--light); }

details { border: 2px solid var(--light); padding: 10px 12px; }
summary { cursor: pointer; font-family: var(--pixel); font-size: 9px; }
details p { margin-top: 10px; opacity: 0.85; }

/* ---------- Pregunta: letrero claro con texto oscuro ---------- */
.qhead { display: flex; justify-content: space-between; align-items: center; }
.sign {
  position: relative; margin-top: 12px; padding: 12px;
  background: var(--light); color: var(--dark);
  border: 2px solid var(--dark); box-shadow: 0 0 0 2px var(--light);
  animation: swing 0.6s steps(6);
  transform-origin: 50% -14px;
}
.sign::before, .sign::after {
  content: ''; position: absolute; top: -14px; width: 2px; height: 12px;
  background: repeating-linear-gradient(180deg, var(--light) 0 2px, transparent 2px 4px);
}
.sign::before { left: 18%; }
.sign::after { right: 18%; }
@keyframes swing { 0% { transform: rotate(-3deg); } 50% { transform: rotate(2deg); } }
.prompt { font-family: var(--pixel); font-size: 12px; line-height: 1.75; }

.timer { height: 10px; background: var(--dark); border: 2px solid var(--light); }
.timer > i { display: block; height: 100%; width: 100%; background: var(--acc); transition: width 0.2s linear; }
.timer.low > i { background: repeating-linear-gradient(90deg, var(--acc) 0 4px, var(--light) 4px 8px); }
form.answer { display: flex; gap: 8px; align-items: center; }
input[type=text], input[type=email] {
  flex: 1; min-width: 0; min-height: 46px;
  font-family: var(--body); font-size: 24px; color: var(--light);
  background: var(--dark); border: 2px solid var(--light); padding: 6px 10px; outline: none;
}
input[type=email] { font-size: 21px; }
input:focus { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); }
input::placeholder { color: var(--light); opacity: 0.45; }
#codeInput { letter-spacing: 8px; font-size: 30px; text-align: center; }
.retry { color: var(--acc); font-size: 20px; }

/* ---------- Resultado ---------- */
.result { border: 2px solid var(--light); padding: 12px; display: flex; flex-direction: column; gap: 8px; animation: rise 0.35s steps(5); }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.result.ok { border: 3px solid var(--acc); }
.result.bad { border-style: dashed; }
.result .big { font-family: var(--pixel); font-size: 12px; line-height: 1.6; word-break: break-word; }
.result .meters { font-family: var(--pixel); font-size: 15px; color: var(--acc); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border: 2px solid var(--acc); font-size: 18px; }
.top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.top li { display: flex; justify-content: space-between; gap: 10px; align-items: center; opacity: 0.9; }
.top li .bar { flex: 1; height: 6px; align-self: center; border: 1px solid var(--light); }
.top li .bar i { display: block; height: 100%; background: var(--light); }

.tier-badge {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--pixel); font-size: 11px; line-height: 1.4;
  color: var(--dark); background: var(--acc); padding: 6px 10px;
  border: 2px solid var(--dark); box-shadow: 0 0 0 2px var(--acc);
  animation: stamp 0.5s steps(7) both;
}
.tier-badge .pips { letter-spacing: 2px; }
@keyframes stamp { 0% { transform: scale(2.6) rotate(-8deg); opacity: 0; } 55% { transform: scale(0.9) rotate(2deg); opacity: 1; } 75% { transform: scale(1.08); } }
.ladder { display: flex; flex-direction: column-reverse; gap: 3px; margin-top: 6px; }
.rung { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 8px; border: 1px solid var(--light); font-size: 17px; opacity: 0.55; }
.rung .rung-name { display: inline-flex; align-items: center; gap: 6px; }
.rung.on { opacity: 1; background: var(--acc); color: var(--dark); border-color: var(--acc); }
.rung-m { font-family: var(--pixel); font-size: 9px; }
details .ladder .rung { opacity: 1; }

.history { display: flex; gap: 4px; flex-wrap: wrap; }
.tier-ico { image-rendering: pixelated; width: 21px; height: 21px; vertical-align: middle; }
.rung .tier-ico, .top .tier-ico { width: 14px; height: 14px; }
.bignum { font-family: var(--pixel); font-size: 18px; color: var(--acc); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.box { border: 2px solid var(--light); padding: 10px; }

/* ---------- Colección y paletas ---------- */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.mineral { border: 2px solid var(--light); padding: 8px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mineral canvas { image-rendering: pixelated; width: 48px; height: 48px; outline: 2px solid var(--light); }
.mineral small { font-size: 15px; line-height: 1; }
.mineral b { font-family: var(--pixel); font-size: 9px; color: var(--acc); }
.mineral.locked { border-style: dashed; opacity: 0.6; }
.mineral.locked canvas { filter: brightness(0); }
.pal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pal { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 10px; cursor: pointer; text-align: left; font-family: var(--body); font-size: 17px; color: var(--light); background: var(--dark); border: 2px solid var(--light); }
.pal b { font-family: var(--pixel); font-size: 9px; font-weight: normal; }
.pal .sws { display: flex; gap: 0; border: 2px solid var(--light); }
.pal .sws i { width: 22px; height: 22px; display: block; }
.pal.on { border: 3px solid var(--acc); box-shadow: 0 0 0 2px var(--acc); }
.pal.locked { border-style: dashed; cursor: not-allowed; opacity: 0.7; }
.pal .req { font-size: 15px; opacity: 0.8; }

/* ---------- Multijugador ---------- */
.code { font-family: var(--pixel); font-size: 24px; letter-spacing: 6px; color: var(--acc); text-align: center; }
.players { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.players li { display: flex; align-items: center; gap: 10px; border: 2px solid var(--light); padding: 6px 10px; }
.players .dot { width: 12px; height: 12px; flex: none; background: var(--light) !important; }
.players li:first-child .dot { background: var(--acc) !important; }
.players .grow { flex: 1; }
.players .off { opacity: 0.45; }

/* ---------- Publicidad ---------- */
.ad { border: 2px dashed var(--light); padding: 10px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.ad small { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; align-self: flex-start; opacity: 0.7; }
.ad .house { display: flex; flex-direction: column; gap: 8px; align-items: center; }

/* ---------- Cartel de nueva capa / avisos ---------- */
.biome-banner {
  position: fixed; z-index: 7; left: 50%; top: 110px; transform: translateX(-50%);
  padding: 10px 16px; text-align: center; pointer-events: none; white-space: nowrap;
  background: var(--light); color: var(--dark); border: 2px solid var(--dark); box-shadow: 0 0 0 2px var(--light);
  animation: banner 2.6s steps(12) forwards;
}
.biome-banner small { display: block; font-size: 16px; }
.biome-banner b { font-family: var(--pixel); font-size: 12px; color: var(--dark); }
.biome-banner .swatch { display: inline-block; width: 10px; height: 10px; background: var(--c); border: 2px solid var(--dark); margin-right: 6px; vertical-align: -1px; }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -16px); } 12%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }

.modal { position: fixed; inset: 0; z-index: 20; background: var(--dark); background: color-mix(in srgb, var(--dark) 82%, transparent); display: grid; place-items: center; padding: 16px; }
.modal-card {
  width: min(440px, 100%); max-height: 90vh; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px;
  background: var(--dark); border: 3px solid var(--light); box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--light);
}
.modal-card h2 { font-family: var(--pixel); font-size: 12px; font-weight: normal; color: var(--acc); margin: 0; line-height: 1.6; }
.modal-card img { width: 100%; image-rendering: pixelated; border: 2px solid var(--light); }
.price { font-family: var(--pixel); font-size: 17px; color: var(--acc); }
.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.perks li::before { content: '◆ '; color: var(--acc); }
.toast {
  position: fixed; z-index: 30; left: 50%; top: 100px; transform: translateX(-50%); max-width: calc(100% - 32px);
  background: var(--light); color: var(--dark); border: 2px solid var(--dark); box-shadow: 0 0 0 2px var(--light); padding: 8px 14px; font-size: 21px;
}
.warn-box { border: 2px dashed var(--acc); padding: 10px; color: var(--acc); }

/* ---------- Mientras se cava ---------- */
.digging { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 14px; border: 2px solid var(--light); }
.dig-answer { font-family: var(--pixel); font-size: 12px; line-height: 1.5; word-break: break-word; }
.dig-meters { font-family: var(--pixel); font-size: 26px; color: var(--acc); }
.dig-bar { width: 100%; height: 10px; border: 2px solid var(--light); }
.dig-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--acc) 0 6px, var(--dark) 6px 8px); }

/* ---------- Animaciones de interfaz ---------- */
.panel > * { animation: enter 0.32s steps(6) both; }
.panel > *:nth-child(2) { animation-delay: 40ms; }
.panel > *:nth-child(3) { animation-delay: 80ms; }
.panel > *:nth-child(4) { animation-delay: 120ms; }
.panel > *:nth-child(5) { animation-delay: 160ms; }
.panel > *:nth-child(n+6) { animation-delay: 200ms; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.bump { animation: bump 0.28s steps(4); display: inline-block; }
@keyframes bump { 40% { transform: scale(1.3); } }
.shake { animation: shake 0.36s steps(6); }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.result.ok.million { animation: rise 0.35s steps(5), invertFlash 0.7s steps(6); }
@keyframes invertFlash { 0%, 33%, 66% { background: var(--light); color: var(--dark); } 16%, 50%, 83% { background: var(--dark); color: var(--light); } }
.history .pop { display: inline-block; animation: popIn 0.35s steps(5) both; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.35); } }

/* Últimos 5 segundos: el marco del panel late en el color de acento */
body.panic .panel { animation: panicFrame 0.5s steps(2) infinite; }
body.panic .timer { border-color: var(--acc); }
@keyframes panicFrame { 50% { border-color: var(--acc); box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--acc); } }

/* ---------- Escritorio ---------- */
@media (min-width: 900px) {
  body { font-size: 22px; }
  .hud { flex-wrap: nowrap; gap: 14px; padding: 12px 18px; }
  .logo { font-size: 13px; }
  .stats { order: 0; width: auto; }
  .stat { flex: none; min-width: 104px; }
  .stat b { font-size: 12px; }
  .panel { left: auto; right: 22px; top: 80px; bottom: 22px; width: min(470px, 42vw); max-height: none; padding: 20px 18px; }
  .panel h1 { font-size: 19px; }
  .prompt { font-size: 13px; }
  .btn { font-size: 11px; }
  .mode b { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   ESTRUCTURA B — viga arriba, letrero colgante, tablones laterales, panel abajo
   ===================================================================== */
.hud.beam {
  background: var(--light); color: var(--dark);
  border-bottom: 3px solid var(--dark); box-shadow: 0 3px 0 var(--light);
  padding: max(6px, env(safe-area-inset-top)) 12px 6px; gap: 8px;
}
.beam .logo { background: transparent; color: var(--dark); }
.beam .logo span { background: var(--dark); color: var(--acc); padding: 2px 4px; }
.beam .hud-info { font-family: var(--pixel); font-size: 9px; white-space: nowrap; }
.beam .icon-btn, .beam select { background: var(--light); color: var(--dark); border-color: var(--dark); }
.beam .icon-btn:hover { background: var(--dark); color: var(--light); }
.beam .btn-premium { background: var(--dark); color: var(--light); border-color: var(--dark); }
.beam .btn-premium:hover { background: var(--acc); color: var(--dark); border-color: var(--dark); }
.beam .stat { background: transparent; border: 2px solid var(--dark); padding: 1px 8px; }
.beam .stat b { color: var(--dark); }
.beam .stat small { opacity: 0.75; }

/* Letrero con la pregunta, colgado de la viga */
.hang { position: fixed; z-index: 5; left: 50%; transform: translateX(-50%); top: calc(var(--beam-h, 52px) + 30px); width: min(540px, calc(100% - 28px)); pointer-events: none; }
.hang .sign { margin-top: 0; padding: 12px 14px; text-align: center; }
.hang .sign::before, .hang .sign::after { top: -32px; height: 30px; width: 3px; }
.hang .prompt { font-size: 12px; }
/* Dentro del panel, la pregunta y su encabezado ya viven en el letrero y la viga */
.panel .sign, .panel .qhead h3:first-child { display: none; }
.panel .qhead { justify-content: flex-end; }

/* Tablones laterales (solo en pantallas anchas) */
.board {
  position: fixed; z-index: 4; top: calc(var(--beam-h, 52px) + 30px); width: 200px;
  display: none; flex-direction: column; gap: 8px; padding: 12px;
  background: var(--dark); border: 2px solid var(--light); box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--light);
  font-size: 18px; max-height: calc(100vh - var(--beam-h, 52px) - 60px); overflow: auto;
}
.board-left { left: 20px; }
.board-right { right: 20px; }
.board h3 { font-family: var(--pixel); font-size: 8px; font-weight: normal; color: var(--acc); margin: 4px 0 0; }
.board .r { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.board .r b { font-weight: normal; color: var(--acc); font-family: var(--pixel); font-size: 9px; }
.board .r.you { background: var(--light); color: var(--dark); padding: 0 4px; }
.board .r.you b { color: var(--dark); }
.board .r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .slots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.board .slots.c7 { grid-template-columns: repeat(7, 1fr); }
.board .slots i { aspect-ratio: 1; border: 2px solid var(--light); display: grid; place-items: center; }
.board .slots i.on { background: var(--c, var(--acc)); border-color: var(--c, var(--acc)); }
.board .slots i img { width: 100%; height: 100%; image-rendering: pixelated; }
.board .slots i.miss { border-style: dashed; }
.board .link { background: none; border: 0; color: var(--light); font-family: var(--body); font-size: 16px; text-decoration: underline; cursor: pointer; padding: 0; text-align: left; }
.board .muted { font-size: 16px; }

/* Panel: abajo y centrado en escritorio */
@media (min-width: 900px) {
  .panel {
    left: 50%; right: auto; top: auto; transform: translateX(-50%);
    bottom: 18px; width: min(600px, calc(100% - 40px)); max-height: min(58vh, calc(100vh - var(--beam-h, 52px) - 150px));
  }
  .hud.beam { padding: 8px 18px; }
}
@media (min-width: 1100px) {
  .board { display: flex; }
}
/* Resultado compacto: la insignia ya muestra la categoría (◆◆◆◇◇); la escalera completa queda en "Cómo se juega" */
.panel .result .ladder { display: none; }
.panel .top li { font-size: 18px; }

/* Viga compacta en el celular: 1 fila en los menús, 2 durante la partida */
@media (max-width: 899px) {
  .hud.beam {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    column-gap: 6px; row-gap: 3px; padding: max(5px, env(safe-area-inset-top)) 8px 5px;
  }
  .beam .logo { grid-column: 1; grid-row: 1; font-size: 8px; padding: 4px 0; justify-self: start; }
  .beam .hud-right { grid-column: 2; grid-row: 1; gap: 4px; margin-left: 0; }
  .beam .hud-info { grid-column: 1; grid-row: 2; font-size: 8px; }
  .beam .hud-info:empty { display: none; }
  .beam .stats { grid-column: 2; grid-row: 2; order: 0; width: auto; gap: 10px; justify-content: flex-end; }
  .beam .stat { flex: none; border: 0; padding: 0; display: flex; align-items: baseline; gap: 4px; }
  .beam .stat small { display: none; }
  .beam .stat b { font-size: 9px; }
  .beam .stat:nth-child(2) b::after { content: ' pts'; }
  .beam .icon-btn { min-width: 30px; height: 30px; font-size: 12px; padding: 0 4px; }
  .beam .btn-premium { min-height: 30px; padding: 4px 7px; }
  .beam .btn-premium .lbl { display: none; }
  .beam select { height: 30px; width: 62px; font-size: 15px; padding: 0 2px; }
}

/* Pie legal y acciones peligrosas */
.legal { font-size: 12px; margin-top: 14px; }
.legal a { color: inherit; text-decoration: underline; }
p.legal .legal { display: inline; margin: 0; }
.btn.danger { color: var(--acc); border-color: currentColor; border-style: dashed; }
