/* =====================================================================
   Juegos de Mal Bicho — estilos comunes (runner, flota y ruleta)
   ===================================================================== */

/* ---------- juegos a pantalla completa ---------- */
html.mbj-html, html.mbj-html body {
  height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none;
  background: var(--mb-abismo);
}
html.mbj-html body {
  position: fixed; inset: 0;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.mbj-raiz {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
  overflow: hidden; touch-action: none;
}
.mbj-lienzo { position: absolute; inset: 0; display: block; touch-action: none; }
.mbj-raiz button, .mbj-raiz a, .mbj-raiz input { touch-action: manipulation; }

/* HUD */
.mbj-hud {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) calc(env(safe-area-inset-right, 0px) + 12px) 0 calc(env(safe-area-inset-left, 0px) + 12px);
  pointer-events: none;
}
.mbj-hud > * { pointer-events: auto; }
.mbj-hud[hidden] { display: none; }
.mbj-icono {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: rgba(255,255,255,.78); color: var(--mb-azul);
  box-shadow: 0 2px 8px rgba(15,42,79,.18);
}
.mbj-icono svg { width: 22px; height: 22px; fill: currentColor; }
.mbj-icono:active { transform: scale(.94); }
.mbj-marcador { text-align: center; pointer-events: none; line-height: 1; }
.mbj-score {
  display: inline-block; font: 400 3.4rem/1 var(--mb-font-titulo); color: #fff;
  -webkit-text-stroke: 1.5px var(--mb-azul);
  text-shadow: 0 3px 0 var(--mb-azul), 0 6px 14px rgba(15,42,79,.35);
}
.mbj-score.pop { animation: mbj-pop .22s ease-out; }
@keyframes mbj-pop { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
.mbj-hud-record { display: block; font: 800 .78rem var(--mb-font); color: #fff; text-shadow: 0 1px 3px rgba(15,42,79,.6); margin-top: 4px; letter-spacing: .02em; }

/* Aviso de red */
.mbj-aviso {
  position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
  top: calc(env(safe-area-inset-top, 0px) + 66px);
  max-width: min(92vw, 420px); text-align: center;
  background: var(--mb-abismo); color: #fff; font: 700 .85rem/1.3 var(--mb-font);
  padding: .55em 1em; border-radius: 14px; box-shadow: var(--mb-sombra);
  pointer-events: none; animation: mbj-entra .25s ease-out;
}
.mbj-aviso[hidden] { display: none; }

/* Capas (pantallas) */
.mbj-capa {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px calc(env(safe-area-inset-bottom, 0px) + 34px);
  background: radial-gradient(ellipse at center, rgba(15,42,79,.10), rgba(15,42,79,.38));
}
.mbj-capa[hidden] { display: none; }
.mbj-capa[data-pantalla="pausa"] { background: rgba(15,42,79,.45); }

.mbj-panel {
  position: relative; width: min(100%, 400px); max-height: 100%;
  overflow: auto; overscroll-behavior: contain;
  background: rgba(255,255,255,.95); border-radius: 24px;
  box-shadow: 0 14px 40px rgba(15,42,79,.32), inset 0 0 0 3px rgba(143,195,220,.45);
  padding: 22px 20px 18px; text-align: center;
  animation: mbj-entra .28s cubic-bezier(.2,1.4,.4,1);
  -webkit-user-select: none; user-select: none;
}
@keyframes mbj-entra { from { transform: translateY(14px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.mbj-panel--chico { width: min(100%, 360px); }
.mbj-logo { width: 116px; height: auto; margin: -6px auto 0; animation: mbj-baila 1.6s ease-in-out infinite; }
@keyframes mbj-baila { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-4px); } }
.mbj-titulo { margin: 4px 0 2px; font-size: 3rem; color: var(--mb-azul); }
h2.mbj-titulo { font-size: 2.4rem; }
.mbj-instr { margin: 0 0 12px; font-weight: 700; color: var(--mb-oceano); }
.mbj-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 14px; }
.mbj-chip { background: var(--mb-bruma); color: var(--mb-abismo); padding: .3em .85em; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.mbj-chip b { font-weight: 800; color: var(--mb-azul); }
.mbj-btn-grande { font-size: 1.35rem; padding: .6em 2.2em; min-height: 56px; box-shadow: 0 5px 0 var(--mb-coral-osc); }
.mbj-btn-grande:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--mb-coral-osc); }
.mbj-apodo { margin: 12px 0 0; font-size: .92rem; color: var(--mb-abismo); min-height: 1.4em; }
.mbj-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--mb-oceano); text-decoration: underline; cursor: pointer; }
.mbj-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.mbj-links .mb-btn { font-size: .92rem; padding: .5em 1em; }
/* Con el dedo: "cambiar" y "Salir" son texto chico; se agranda la zona que se puede tocar sin mover nada */
@media (pointer: coarse) { .mbj-link { padding: 10px 8px; margin: -10px -8px; } }
.mbj-tecla { margin: 10px 0 0; font-size: .78rem; color: #6a7f95; }
@media (hover: none) { .mbj-tecla { display: none; } }
.mbj-botones { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.mbj-botones .mb-btn { flex: 1 1 auto; }
.mb-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Fin de partida */
.mbj-fin-motivo { margin: 0; font: 400 1.7rem/1.1 var(--mb-font-titulo); color: var(--mb-coral-osc); }
.mbj-fin-score { margin: 6px 0 2px; }
.mbj-fin-score span { display: block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mb-oceano); }
.mbj-fin-score strong { display: block; font: 400 4.6rem/1 var(--mb-font-titulo); color: var(--mb-azul); }
.mbj-nuevo-record { display: inline-block; margin: 0 0 4px; background: var(--mb-sol); color: var(--mb-abismo); font-weight: 800; padding: .15em .8em; border-radius: 999px; animation: mbj-latido 1s ease-in-out infinite; }
.mbj-nuevo-record[hidden] { display: none; }
@keyframes mbj-latido { 50% { transform: scale(1.08); } }
.mbj-fin-nota { margin: -6px 0 6px; font-size: .88rem; color: #4d6580; min-height: 1.3em; }
.mbj-panel--fin { width: min(100%, 420px); padding-bottom: 14px; }
.mbj-ranking { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--mb-espuma); }
.mbj-ranking h3 { margin: 0 0 6px; font-size: 1.5rem; }

/* Lista de ranking */
.mbj-lista { list-style: none; margin: 0; padding: 0; text-align: left; touch-action: pan-y; }
.mbj-lista li { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 10px; font-weight: 700; }
.mbj-lista li:nth-child(odd) { background: var(--mb-bruma); }
.mbj-lista li.yo { background: #fff3d6; box-shadow: inset 0 0 0 2px var(--mb-sol); }
.mbj-lista .pos { width: 1.7em; height: 1.7em; display: grid; place-items: center; border-radius: 50%; background: var(--mb-espuma); color: var(--mb-azul); font-size: .82rem; flex: none; }
.mbj-lista li:nth-child(1) .pos { background: var(--mb-sol); color: var(--mb-abismo); }
.mbj-lista li:nth-child(2) .pos { background: #d5dde6; }
.mbj-lista li:nth-child(3) .pos { background: #f1c9a5; }
.mbj-lista .nom { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbj-lista .pts { font-weight: 800; color: var(--mb-azul); }
.mbj-lista .mbj-vacio { justify-content: center; color: #6a7f95; font-weight: 600; background: none; text-align: center; }

/* Apodo */
.mbj-input {
  width: 100%; font: 700 1.2rem var(--mb-font); text-align: center; color: var(--mb-abismo);
  padding: .65em .8em; border-radius: 14px; border: 2px solid var(--mb-agua); background: #fff;
  -webkit-user-select: text; user-select: text;
}
.mbj-input:focus { outline: none; border-color: var(--mb-azul); box-shadow: 0 0 0 4px rgba(29,90,146,.15); }
.mbj-error { color: var(--mb-error); font-weight: 700; min-height: 1.4em; margin: 6px 0 0; }

/* Celular acostado: todo más compacto y el fin en dos columnas */
@media (max-height: 520px) {
  .mbj-capa { padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 8px); }
  .mbj-panel { padding: 12px 16px 12px; border-radius: 20px; }
  .mbj-logo { display: none; }
  .mbj-titulo { font-size: 2.3rem; }
  h2.mbj-titulo { font-size: 1.9rem; }
  .mbj-instr { margin-bottom: 6px; }
  .mbj-chips { margin: 4px 0 8px; }
  .mbj-btn-grande { min-height: 48px; font-size: 1.2rem; }
  .mbj-apodo { margin-top: 6px; }
  .mbj-tecla { display: none; }
  .mbj-panel--fin { width: min(100%, 760px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .mbj-panel--fin .mbj-ranking { margin: 0; padding: 0 0 0 16px; border-top: 0; border-left: 2px dashed var(--mb-espuma); }
  .mbj-fin-score strong { font-size: 3.4rem; }
  .mbj-lista li { padding: 2px 8px; font-size: .9rem; }
  .mbj-score { font-size: 2.6rem; }
}

/* =====================================================================
   Ruleta
   ===================================================================== */
html.mbr-html { -webkit-tap-highlight-color: transparent; }
body.mbr {
  min-height: 100vh; min-height: 100dvh; margin: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, #fff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--mb-bruma) 0%, var(--mb-espuma) 55%, var(--mb-arena) 100%);
  overflow-x: hidden;
}
.mbr-cab {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 4px; max-width: 980px; margin: 0 auto;
}
.mbr-cab a.mb-btn { font-size: .9rem; padding: .45em 1em; min-height: 40px; }
.mbr-cab .mbj-icono { flex: none; }
.mbr-main {
  max-width: 980px; margin: 0 auto; padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 50px);
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
.mbr-escena { text-align: center; }
.mbr-titulo { margin: 0; font-size: 3rem; }
.mbr-sub { margin: 0 0 6px; font-weight: 700; color: var(--mb-oceano); }
.mbr-rueda-caja { position: relative; width: min(92vw, 440px, 58vh); aspect-ratio: 1; margin: 6px auto 0; }
.mbr-rueda-caja canvas { width: 100%; height: 100%; display: block; touch-action: manipulation; }
.mbr-acciones { display: grid; gap: 10px; justify-items: center; margin-top: 10px; }
.mbr-saldo { font-weight: 800; font-size: 1.1rem; }
.mbr-saldo b { font: 400 2.2rem/1 var(--mb-font-titulo); color: var(--mb-azul); vertical-align: -3px; margin: 0 .1em; }
.mbr-tirar { font-size: 1.3rem; min-height: 56px; padding: .6em 2em; box-shadow: 0 5px 0 var(--mb-coral-osc); }
.mbr-tirar:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--mb-coral-osc); }
.mbr-falta { margin: 0; color: #4d6580; font-weight: 600; }
.mbr-falta a { font-weight: 800; }
.mbr-error { color: var(--mb-error); font-weight: 700; margin: 0; min-height: 1.3em; }
.mbr-lado { display: grid; gap: 14px; align-content: start; }
.mbr-lado h2 { margin: 0 0 8px; font-size: 1.9rem; }
.mbr-chances { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mbr-chances li { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mbr-chances i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.mbr-chances span { flex: 1; }
.mbr-chances small { color: #4d6580; font-weight: 700; }
.mbr-premios { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mbr-premio {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; text-align: left;
  background: var(--mb-bruma); border: 0; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit;
}
.mbr-premio:hover { background: var(--mb-espuma); }
.mbr-premio strong { font-size: 1.05rem; }
.mbr-premio code { font: 800 1rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--mb-azul); letter-spacing: .06em; }
.mbr-premio small { color: #4d6580; }
.mbr-estado { font-size: .75rem; font-weight: 800; padding: .1em .6em; border-radius: 999px; background: var(--mb-ok); color: #fff; justify-self: end; }
.mbr-estado.usado { background: #9aa9b8; }
.mbr-estado.pend { background: var(--mb-sol); color: var(--mb-abismo); }
.mbr-vacio { color: #4d6580; margin: 0; }
.mbr-juegos { display: flex; gap: 8px; flex-wrap: wrap; }

@media (min-width: 860px) {
  .mbr-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; padding-top: 10px; }
  .mbr-rueda-caja { width: min(46vw, 470px, 64vh); }
}

/* Resultado del premio */
.mbr-resultado {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: radial-gradient(ellipse at center, rgba(29,90,146,.85), rgba(15,42,79,.95));
}
.mbr-resultado[hidden] { display: none; }
.mbr-confeti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mbr-tarjeta {
  position: relative; width: min(100%, 420px); max-height: 100%; overflow: auto;
  background: #fff; border-radius: 28px; padding: 22px 20px 20px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: mbr-aparece .55s cubic-bezier(.2,1.5,.4,1);
}
@keyframes mbr-aparece { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.mbr-tarjeta img { width: 120px; margin: -4px auto 0; animation: mbj-baila 1.2s ease-in-out infinite; }
.mbr-gano { margin: 0; font: 400 2.2rem/1 var(--mb-font-titulo); color: var(--mb-coral-osc); }
.mbr-premio-grande { margin: 4px 0 10px; font: 400 4.2rem/1 var(--mb-font-titulo); color: var(--mb-azul); }
.mbr-codigo {
  display: block; margin: 0 auto; padding: .35em .5em; border-radius: 16px;
  background: var(--mb-abismo); color: #fff; letter-spacing: .1em;
  font: 800 clamp(1.7rem, 9vw, 2.5rem)/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  -webkit-user-select: all; user-select: all;
}
.mbr-mostrale { margin: 12px 0 2px; font-weight: 800; font-size: 1.1rem; }
.mbr-fecha { margin: 0 0 14px; color: #4d6580; font-weight: 600; }
.mbr-tarjeta .mbr-estado { display: inline-block; margin-bottom: 8px; }
.mbr-estado[hidden], .mbr-tarjeta .mbr-estado[hidden] { display: none; }
@media (max-height: 560px) {
  .mbr-tarjeta { padding: 12px 16px; }
  .mbr-tarjeta img { width: 70px; }
  .mbr-premio-grande { font-size: 3rem; margin-bottom: 6px; }
}

/* ---------- v2: cuenta de Google ---------- */
.mbj-cuenta { margin: 12px 0 0; }
.mbj-cuenta:empty { display: none; }
.mbj-google {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; max-width: 100%;
  font: 700 .98rem var(--mb-font); color: #1f1f1f; background: #fff; cursor: pointer;
  border: 1.5px solid #dadce0; border-radius: 999px; padding: .55em 1.1em; min-height: 44px;
  box-shadow: 0 1px 3px rgba(15,42,79,.12);
}
.mbj-google:hover { background: #f7f9fb; }
.mbj-google svg { flex: none; }
.mbj-cuenta-txt { margin: 6px 0 0; font-size: .82rem; color: #4d6580; }
.mbj-usuario { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--mb-bruma); border-radius: 14px; padding: 8px 10px; }
.mbj-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; }
.mbj-avatar--ini { display: grid; place-items: center; background: var(--mb-azul); color: #fff; font-weight: 800; font-size: 1.1rem; }
.mbj-usuario-txt { flex: 1; min-width: 0; line-height: 1.25; }
.mbj-usuario-txt > b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbj-usuario-txt small { font-size: .8rem; color: #4d6580; }
.mbj-salir { flex: none; font-size: .85rem; }
.mbj-chip[hidden] { display: none; }
@media (max-height: 520px) { .mbj-cuenta { margin-top: 6px; } .mbj-cuenta-txt { display: none; } }
/* la pastilla de MODO DEMO no tapa los botones del juego */
html.mbj-html .mb-demo-aviso, html.mbr-html .mb-demo-aviso { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); right: auto; left: 8px; transform: none; opacity: .85; }

/* ---------- v2: ruleta y cupones ---------- */
.mbr-cab-der { display: flex; align-items: center; gap: 8px; }
.mbc-cuenta { display: flex; align-items: center; gap: 8px; }
.mbc-cuenta .mbj-google { min-height: 40px; padding: .4em .9em; font-size: .9rem; }
.mbc-usuario { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--mb-abismo); }
.mbc-usuario .mbj-avatar { width: 32px; height: 32px; font-size: .95rem; }
.mbc-nombre { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbr-condiciones { margin: 10px auto 0; max-width: 34em; font-size: .78rem; color: #4d6580; line-height: 1.35; }
.mbr-18 { display: block; margin: 6px 0 0; font-size: .8rem; font-weight: 800; color: var(--mb-error); }
p.mbr-18[hidden], .mbr-18[hidden] { display: none; }
.mbr-premio-grande.mbr-premio-largo { font-size: 2.3rem; line-height: 1.05; margin: 6px 0 12px; }
.mbr-chances .mbr-oro span { font-weight: 800; color: #8a6400; }
.mbr-chances em { font-style: normal; font-size: .72rem; font-weight: 800; color: var(--mb-error); }
.mbr-chances small { white-space: nowrap; }
.mbr-ver-todos { margin: 10px 0 0; font-weight: 800; }
#entrar-ruleta { text-align: center; }
#entrar-ruleta[hidden], #btn-tirar[hidden], #caja-saldo[hidden] { display: none; }
.mbc-cupon {
  width: 100%; display: grid; gap: 4px; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: var(--mb-bruma); border: 2px dashed var(--mb-agua); border-radius: 14px; padding: 12px 14px;
}
.mbc-cupon:hover { background: var(--mb-espuma); }
.mbc-cupon-cab { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.mbc-codigo { display: block; font: 800 clamp(1.5rem, 7.5vw, 2rem)/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--mb-abismo); }
.mbc-cupon small { color: #4d6580; }
.mbc-cupon--usado { opacity: .62; border-style: solid; border-color: #c9d3dc; }
.mbc-cupon--usado .mbc-codigo { text-decoration: line-through; text-decoration-thickness: 2px; }
.mbc-main { max-width: 640px; margin: 0 auto; padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 50px); display: grid; gap: 14px; text-align: center; }
.mbc-main .mb-tarjeta { text-align: left; }
.mbc-main h2 { margin: 0 0 10px; font-size: 1.9rem; }
.mbc-main h2 small { font: 700 1rem var(--mb-font); color: #4d6580; }
.mbc-acciones { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mbc-entrar { text-align: center !important; }
.mbc-entrar p:first-child { font-weight: 700; margin-top: 0; }
.mbj-usuario-nom { color: inherit; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbj-usuario-nom:hover { text-decoration: underline; }

/* ---------- perfil ---------- */
.mbp-cabeza { display: flex; gap: 14px; align-items: flex-start; }
.mbp-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; font-size: 1.8rem; font-weight: 800; }
.mbp-avatar.mbcb-ini { display: grid; place-items: center; background: var(--mb-azul); color: #fff; }
.mbp-quien { flex: 1; min-width: 0; }
.mbp-nombre { margin: 0; font-size: 2.1rem; overflow-wrap: anywhere; }
.mbp-mail { margin: 0 0 8px; color: #4d6580; font-size: .88rem; overflow-wrap: anywhere; }
.mbp-alias label { font-weight: 800; font-size: .85rem; }
.mbp-alias-fila { display: flex; gap: 8px; margin-top: 4px; }
.mbp-alias-fila .mbj-input { font-size: 1rem; padding: .5em .7em; text-align: left; min-width: 0; }
.mbp-alias-fila .mb-btn { flex: none; }
.mbp-ok { color: var(--mb-ok) !important; }
.mbp-puntos { text-align: center !important; }
.mbp-saldo { margin: 0 0 10px; font-weight: 800; }
.mbp-saldo b { font: 400 3.4rem/1 var(--mb-font-titulo); color: var(--mb-azul); vertical-align: -6px; }
.mbp-puntos .mbc-acciones { margin-top: 12px; }
.mbp-records { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mbp-record { background: var(--mb-bruma); border-radius: 14px; padding: 10px; text-align: center; }
.mbp-record span { display: block; font-weight: 800; font-size: .85rem; color: var(--mb-oceano); }
.mbp-record strong { display: block; font: 400 1.9rem/1.1 var(--mb-font-titulo); color: var(--mb-azul); }
.mbp-sub { margin: 16px 0 8px; font-size: 1.4rem; }
.mbp-izq { text-align: left; margin-top: -4px; }
.mbp-partidas { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mbp-partidas li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 6px 10px; border-radius: 10px; }
.mbp-partidas li:nth-child(odd) { background: var(--mb-bruma); }
.mbp-partidas b { color: var(--mb-azul); }
.mbp-partidas small { grid-column: 1 / -1; color: #4d6580; font-size: .78rem; }
.mbp-cangrejo { width: 110px; height: auto; margin: 0 auto 6px; }

/* Cupones: tope de 5 sin usar y "cambiar por puntos" */
.mbc-tope { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fff4d6; border: 1.5px solid var(--mb-sol); color: var(--mb-abismo); font-size: .88rem; font-weight: 700; line-height: 1.35; list-style: none; }
.mbc-cambio { margin: 12px auto 0; max-width: 22rem; }
.mbc-cambiar { background: none; border: 0; padding: 6px 4px; color: var(--mb-oceano); font: inherit; font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mbc-cambiar:hover { color: var(--mb-azul); }
.mbc-cambiar-preg { margin: 0 0 8px; font-size: .9rem; color: var(--mb-abismo); line-height: 1.35; }
.mbc-cambiar-btns { display: flex; gap: 8px; justify-content: center; }
.mbc-cambiar-btns .mb-btn { padding: .55em 1.1em; font-size: .95rem; }
.mbc-cambiar-ok { margin: 0; color: #1f7a4d; font-weight: 800; }
