/* La Liga del Recreativo — el bar del Camarero. Interfaz limpia por encima de la escena 3D: la personalidad la ponen
   el bar, la tele (teletexto), la pizarra (tiza) y la vitrina. */
@font-face { font-family: 'Caveat'; src: url('/liga/fuentes/caveat-latin-700.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; src: url('/liga/fuentes/caveat-latin-ext-700.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tinta: #120c0a;
  --tinta2: #1e1410;
  --papel: #f6eedb;
  --crema: #efe3c6;
  --ambar: #ffd23f;
  --ambar2: #ffb02e;
  --rojo: #d8392b;
  --verde: #3ddc84;
  --cian: #33f6ff;
  --borde: rgba(255, 228, 180, .16);
  --sombra: 0 10px 30px rgba(0, 0, 0, .45);
  --f-tiza: 'Caveat', 'Segoe Print', cursive;
  --abajo: env(safe-area-inset-bottom, 0px);
}

html, body { height: 100%; }
.liga [hidden] { display: none !important; }
body.liga { background: var(--tinta); color: var(--papel); overflow: hidden; overscroll-behavior: none; touch-action: manipulation; }
.mono { font-family: var(--f-pixel); letter-spacing: .02em; }
kbd { font-family: var(--f-pixel); font-size: .72em; border: 1px solid currentColor; border-radius: 4px; padding: 0 .3em; opacity: .7; }

#escena { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; image-rendering: pixelated; touch-action: none; }

/* ───────── carga */
.carga, .fallo { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; gap: 14px; text-align: center; background: radial-gradient(ellipse at 50% 40%, #2a1a10, #0b0705 70%); padding: 24px; transition: opacity .6s; }
.carga.fuera { opacity: 0; pointer-events: none; }
.carga-logo { font-family: var(--f-pixel); font-size: clamp(18px, 4vw, 30px); color: var(--ambar); text-shadow: 0 0 18px rgba(255, 176, 46, .6); margin: 0; }
.carga-persiana { width: min(280px, 70vw); height: 10px; margin: 0 auto; background: repeating-linear-gradient(0deg, #3a3330 0 3px, #2a2422 3px 5px); border: 1px solid #554a40; border-radius: 3px; overflow: hidden; }
.carga-persiana i { display: block; height: 100%; width: 0; background: var(--ambar); transition: width .3s; }
.carga-txt { margin: 0; color: #c9b89a; font-size: 14px; }
.fallo p { max-width: 460px; margin: 0 auto; }

/* ───────── cabecera */
.cabecera { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(rgba(10, 6, 4, .82), rgba(10, 6, 4, 0)); pointer-events: none; }
.cabecera > * { pointer-events: auto; }
.volver { color: var(--papel); text-decoration: none; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--borde); white-space: nowrap; }
.volver:hover { background: rgba(255, 255, 255, .16); }
.rotulo { margin: 0; display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.rotulo b { font-family: var(--f-pixel); font-weight: 400; color: var(--ambar); font-size: 15px; text-shadow: 0 0 10px rgba(255, 176, 46, .5); white-space: nowrap; }
.rotulo span { font-size: 12px; color: #d8c8a8; white-space: nowrap; }
.cab-der { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.en-bar { font-size: 12px; color: #d8c8a8; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .35); white-space: nowrap; }
.en-bar::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); margin-right: 6px; box-shadow: 0 0 6px var(--verde); }
.chip-mote { background: var(--papel); color: var(--tinta); border: 0; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 14px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-mote small { opacity: .6; }
.b-icono { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--borde); background: rgba(255, 255, 255, .08); color: var(--papel); }
.b-icono[aria-pressed="false"] .ondas { display: none; }
.b-icono[aria-pressed="false"] { opacity: .6; }

/* ───────── marcador de tu jornada */
.marcador { position: fixed; z-index: 9; top: 62px; left: 14px; display: flex; gap: 2px; background: rgba(14, 9, 7, .78); border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; box-shadow: var(--sombra); backdrop-filter: blur(4px); }
.m-celda { padding: 7px 12px; display: flex; flex-direction: column; min-width: 0; }
.m-celda + .m-celda { border-left: 1px solid var(--borde); }
.m-celda small { font-size: 11px; color: #c4b292; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.m-celda b { font-size: 15px; color: #fff; white-space: nowrap; }
.m-celda b.mono { font-weight: 400; font-size: 14px; color: var(--ambar); }
.m-jornada b { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

/* ───────── el bocadillo del Camarero: una libreta de comandas */
.bocadillo { position: fixed; z-index: 11; left: 14px; bottom: calc(118px + var(--abajo)); width: min(520px, calc(100vw - 28px)); background: var(--papel); color: #1d1410; border-radius: 4px 14px 14px 14px; padding: 12px 16px 14px 18px; box-shadow: var(--sombra); background-image: repeating-linear-gradient(transparent 0 25px, rgba(60, 90, 160, .15) 25px 26px); border-left: 4px solid var(--rojo); animation: entraBocadillo .3s ease-out; }
.b-quien { margin: 0 0 4px; font-family: var(--f-pixel); font-size: 11px; color: var(--rojo); letter-spacing: .08em; }
.b-texto { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 500; min-height: 1.45em; }
.b-opciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.b-opciones button { border: 2px solid #1d1410; background: transparent; color: #1d1410; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
.b-opciones button:hover { background: #1d1410; color: var(--papel); }
@keyframes entraBocadillo { from { transform: translateY(8px); opacity: 0; } }

/* ───────── acciones */
.acciones { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(12px + var(--abajo)); display: flex; align-items: flex-end; gap: 12px; justify-content: center; background: linear-gradient(rgba(10, 6, 4, 0), rgba(10, 6, 4, .85)); }
.a-jugar { display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ffe066, #ffb02e); color: #2a1604; box-shadow: 0 6px 0 #a85d0c, 0 12px 26px rgba(255, 150, 30, .35); text-align: left; transition: transform .12s, box-shadow .12s; }
.a-jugar b { display: block; font-size: 18px; font-weight: 800; }
.a-jugar small { display: block; font-size: 12px; opacity: .8; }
.a-jugar:hover { transform: translateY(-2px); }
.a-jugar:active { transform: translateY(4px); box-shadow: 0 2px 0 #a85d0c, 0 6px 16px rgba(255, 150, 30, .3); }
.a-jugar[disabled] { filter: grayscale(.8); opacity: .7; }
.moneda { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff7c2, #e7b23a 55%, #a8740f); box-shadow: inset 0 0 0 3px rgba(120, 70, 0, .45); position: relative; flex: none; }
.moneda::after { content: '25'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 11px; color: #6a4000; }
.a-jugar:hover .moneda { animation: gira 1s linear infinite; }
@keyframes gira { 50% { transform: scaleX(.15); } }
.a-sec { display: flex; gap: 6px; background: rgba(20, 13, 10, .8); border: 1px solid var(--borde); border-radius: 14px; padding: 5px; }
.a-sec button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 66px; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--papel); font-size: 12px; font-weight: 600; }
.a-sec button:hover, .a-sec button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); }
.ic { width: 22px; height: 18px; display: block; border-radius: 3px; }
.ic-tele { background: #2a2622; border: 2px solid #7a6a5a; box-shadow: inset 0 0 0 2px #1d2bd0; }
.ic-pizarra { background: #22302a; border: 2px solid #8a5a32; }
.ic-vitrina { background: linear-gradient(#ffd23f 0 0) center 70%/8px 7px no-repeat, rgba(200, 230, 255, .25); border: 2px solid #8a5a32; }
.ic-barra { background: linear-gradient(#f2b02e 0 0) 50% 100%/8px 12px no-repeat; border-bottom: 3px solid #b9bec4; border-radius: 0; }
.b-sala { position: fixed; z-index: 12; left: 50%; bottom: calc(18px + var(--abajo)); transform: translateX(-50%); border: 1px solid var(--borde); background: rgba(14, 9, 7, .9); color: var(--papel); border-radius: 999px; padding: 10px 18px; font-weight: 700; box-shadow: var(--sombra); }

/* etiquetas de la escena */
.etiquetas { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.etiqueta-vecino { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cosa { position: fixed; z-index: 12; pointer-events: none; font-size: 13px; font-weight: 700; background: var(--papel); color: var(--tinta); padding: 4px 10px; border-radius: 8px; box-shadow: var(--sombra); transform: translate(14px, 14px); }

/* ───────── paneles */
.panel { position: fixed; z-index: 20; inset: auto 14px calc(14px + var(--abajo)) auto; top: 70px; width: min(560px, calc(100vw - 28px)); overflow: auto; box-shadow: var(--sombra); animation: entraPanel .35s ease-out; }
@keyframes entraPanel { from { transform: translateY(14px); opacity: 0; } }
.cerrar { position: sticky; bottom: 0; display: block; margin: 14px 0 0 auto; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 7px 14px; font-weight: 700; }

/* la tele: teletexto */
.teletexto { background: #000; color: #fff; font-family: var(--f-pixel); padding: 12px 14px 14px; border-radius: 14px; border: 10px solid #2a2622; box-shadow: var(--sombra), inset 0 0 40px rgba(60, 80, 255, .15); }
.teletexto::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px); }
.tt-cab { display: flex; gap: 12px; font-size: 12px; justify-content: space-between; }
.tt-banda { margin: 8px -14px; padding: 8px 14px; background: #2233dd; color: #ffef33; font-weight: 400; font-size: clamp(18px, 4vw, 26px); letter-spacing: .02em; }
.tt-rojo { color: #ff3b3b; } .tt-verde { color: #3dff5a; } .tt-amarillo { color: #ffef33; } .tt-cian { color: #33f6ff; } .tt-magenta { color: #ff4dff; }
.tt-pestanas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tt-pestanas button { font-family: var(--f-pixel); font-size: 12px; background: #000; border: 1px solid currentColor; padding: 5px 9px; border-radius: 3px; }
.tt-pestanas button[aria-selected="true"] { color: #000 !important; }
.tt-pestanas button.tt-rojo[aria-selected="true"] { background: #ff3b3b; } .tt-pestanas button.tt-verde[aria-selected="true"] { background: #3dff5a; }
.tt-pestanas button.tt-amarillo[aria-selected="true"] { background: #ffef33; } .tt-pestanas button.tt-cian[aria-selected="true"] { background: #33f6ff; }
.tt-cuerpo { font-size: 14px; min-height: 120px; }
.tt-cuerpo h3 { margin: 0 0 8px; font-weight: 400; font-size: 14px; color: #33f6ff; }
.tt-cuerpo p { margin: 6px 0; }
.tt-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.tt-tabla td, .tt-tabla th { padding: 3px 4px; text-align: left; white-space: nowrap; }
.tt-tabla th { color: #fff; font-weight: 400; font-size: 11px; opacity: .8; }
.tt-tabla td.n { text-align: right; color: #3dff5a; }
.tt-tabla td.mote { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tt-tabla tr.yo td { background: #33f6ff; color: #000; }
.tt-tabla tr.lider td { color: #ffef33; }
.tt-tabla tr.sube td:first-child::after { content: ' ▲'; color: #3dff5a; } .tt-tabla tr.baja td:first-child::after { content: ' ▼'; color: #ff3b3b; }
.tt-tabla button.mote { all: unset; cursor: pointer; text-decoration: underline dotted; }
.tt-tabla button.mote:focus-visible { outline: 2px solid #ffef33; }
.tt-nota { color: #ff4dff; font-size: 12px; }
.tt-div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }

/* la pizarra: tiza */
.pizarra { background: #1c2722; color: #f2f0e6; border: 12px solid #7a4a26; border-radius: 6px; padding: 16px 20px; font-family: var(--f-tiza); font-size: 22px; line-height: 1.3; background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 60%); }
.pizarra h2 { margin: 0 0 8px; font-size: 34px; font-weight: 700; text-decoration: underline wavy rgba(242, 240, 230, .5) 2px; text-underline-offset: 6px; }
.pizarra .pz-juego { color: #ffe066; font-size: 34px; font-weight: 700; line-height: 1.1; }
.pizarra .pz-rosa { color: #ff9ec7; } .pizarra .pz-azul { color: #bfe3ff; } .pizarra .pz-verde { color: #b8f5c4; }
.pizarra ul { padding-left: 1.1em; margin: 6px 0; }
.pizarra p { margin: 6px 0; }
.pizarra .pz-pequeno { font-family: var(--f-texto); font-size: 14px; color: #c8d4cc; line-height: 1.45; }
.pizarra .cerrar { font-family: var(--f-texto); font-size: 14px; }

/* la vitrina */
.vitrina { background: linear-gradient(#3a2414, #24160c); color: var(--papel); border-radius: 12px; border: 1px solid rgba(255, 210, 140, .25); padding: 16px 18px; }
.vitrina h2 { margin: 0; font-size: 22px; }
.vt-sub { margin: 4px 0 12px; color: #d8c4a0; font-size: 14px; }
.vt-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vt-lista li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; background: rgba(255, 240, 210, .06); border: 1px solid rgba(255, 220, 160, .14); border-radius: 10px; padding: 8px 10px; }
.vt-lista b { display: block; font-size: 15px; }
.vt-lista span { display: block; font-size: 13px; color: #d8c4a0; }
.vt-lista time { font-size: 11px; color: #a89474; }
.vt-pieza { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 10px; color: #2a1604; background: radial-gradient(circle at 35% 30%, #fff3b0, #e0a92e 60%, #8a5a10); box-shadow: 0 0 14px rgba(255, 200, 80, .35); }
.vt-pieza.farolillo { background: radial-gradient(circle at 40% 35%, #ffb0a0, #ff3020 55%, #7a1008); box-shadow: 0 0 16px rgba(255, 60, 30, .6); color: #fff; }
.vt-pieza.medalla, .vt-pieza.monedas { background: radial-gradient(circle at 35% 30%, #ffffff, #c9cfd6 60%, #6a7078); }
.vt-pieza.placa { background: radial-gradient(circle at 35% 30%, #f0c090, #b06a32 60%, #5a3010); color: #fff; }
.vt-pieza.escudo { background: radial-gradient(circle at 35% 30%, #a0c0ff, #2a56c4 60%, #10245a); color: #fff; border-radius: 10px 10px 50% 50%; }
.vt-vacia { font-family: var(--f-tiza); font-size: 22px; color: #e8d8b8; padding: 10px 0; }

/* ───────── la máquina (el juego en el marco) */
.maquina { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.mq-marco { position: absolute; pointer-events: auto; display: flex; flex-direction: column; transition: opacity .35s; }
.mq-cab { position: absolute; left: 0; right: 0; bottom: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 0 8px; font-size: 13px; color: #fff; text-shadow: 0 1px 4px #000; }
.mq-titulo, .mq-datos { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-datos b { color: var(--ambar); font-weight: 400; }
.mq-salir { margin-left: auto; border: 0; border-radius: 999px; background: var(--papel); color: var(--tinta); padding: 6px 14px; font-weight: 800; white-space: nowrap; }
#juego { flex: 1; width: 100%; height: 100%; border: 0; background: #05040a; border-radius: 6px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 210, 63, .25); }
.mq-nota { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); max-width: min(560px, 92%); background: var(--papel); color: #1d1410; padding: 8px 14px; border-radius: 10px; border-left: 4px solid var(--rojo); box-shadow: var(--sombra); font-size: 15px; animation: entraBocadillo .3s ease-out; pointer-events: none; }
.mq-nota b { display: block; font-family: var(--f-pixel); font-size: 10px; color: var(--rojo); font-weight: 400; letter-spacing: .08em; }
/* en pantallas estrechas: el mueble entero en CSS, a pantalla completa */
.maquina.completa { background: #0a0610; }
.maquina.completa .mq-marco { inset: 0 !important; width: auto !important; height: auto !important; padding: 52px 8px calc(8px + var(--abajo)); background: linear-gradient(90deg, var(--mq-color, #ffd23f) 0 4px, transparent 4px calc(100% - 4px), var(--mq-color, #ffd23f) calc(100% - 4px)); }
.maquina.completa .mq-cab { bottom: auto; top: 0; padding: 8px 12px; background: linear-gradient(#1b1828, #0f0c18); border-bottom: 2px solid var(--mq-color, #ffd23f); }
.maquina.completa .mq-datos { display: none; }
.maquina.completa #juego { border-radius: 0; }

.jugando .acciones, .jugando .marcador, .jugando .bocadillo, .jugando .b-sala, .jugando .etiquetas { display: none !important; }
/* jugando, el cartel del récord y la nota del Camarero van debajo de la pantalla, sin tapar el juego */
.jugando .record { top: 58px; padding: 6px 18px; animation-duration: 4s; }
.jugando .record .r-mote { display: none; }
.jugando .record .r-puntos { font-size: clamp(22px, 5vw, 34px); }
.maquina:not(.completa) .mq-nota { top: calc(100% + 12px); }
.maquina.completa .mq-nota { top: 56px; }

/* ───────── ¡récord! */
.record { position: fixed; z-index: 40; left: 50%; top: 22%; transform: translateX(-50%); text-align: center; pointer-events: none; padding: 18px 30px; background: rgba(10, 6, 4, .82); border: 3px solid var(--ambar); border-radius: 18px; box-shadow: 0 0 60px rgba(255, 200, 60, .55); animation: record 4.5s ease-out forwards; }
.r-kicker { margin: 0; font-family: var(--f-pixel); color: var(--ambar); font-size: clamp(16px, 4.5vw, 30px); animation: parpadeo .3s steps(2) 8; }
.r-mote { margin: 6px 0 0; font-size: clamp(16px, 3.5vw, 22px); font-weight: 800; }
.r-puntos { margin: 2px 0 0; font-size: clamp(30px, 8vw, 56px); color: var(--cian); text-shadow: 0 0 18px rgba(51, 246, 255, .6); }
@keyframes record { 0% { transform: translateX(-50%) scale(.6); opacity: 0; } 8% { transform: translateX(-50%) scale(1.08); opacity: 1; } 14% { transform: translateX(-50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-20px); } }
@keyframes parpadeo { 50% { color: #fff; } }

/* ───────── el diálogo del mote */
.d-mote { border: 0; border-radius: 16px; padding: 0; background: var(--papel); color: var(--tinta); width: min(420px, calc(100vw - 28px)); box-shadow: var(--sombra); }
.d-mote::backdrop { background: rgba(0, 0, 0, .6); }
.d-mote form { padding: 18px 20px; }
.d-mote h2 { margin: 0 0 6px; font-size: 20px; }
.d-mote p { margin: 0 0 12px; font-size: 14px; color: #4a3a2a; }
.d-mote input { width: 100%; font-size: 18px; padding: 10px 12px; border: 2px solid #1d1410; border-radius: 10px; background: #fff; }
.dm-error { color: #b0201a !important; min-height: 1.2em; margin: 6px 0 !important; font-weight: 600; }
.dm-botones { display: flex; gap: 8px; }
.dm-nota { margin-top: 12px !important; font-size: 13px !important; }
.b-pri, .b-sec { border-radius: 999px; padding: 9px 16px; font-weight: 800; border: 2px solid #1d1410; }
.b-pri { background: #1d1410; color: var(--papel); }
.b-sec { background: transparent; color: inherit; }
.fallo .b-sec { color: var(--papel); border-color: var(--papel); }
.fallo .b-pri { background: var(--ambar); color: var(--tinta); border-color: var(--ambar); }

/* ───────── móvil */
@media (max-width: 700px) {
  .cabecera { padding: 8px 10px; gap: 8px; }
  .rotulo span { display: none; }
  .rotulo b { font-size: 12px; }
  .volver { padding: 6px 10px; font-size: 13px; }
  .en-bar { display: none; }
  .marcador { top: 54px; left: 10px; right: 10px; }
  .m-celda { padding: 6px 8px; flex: 1; }
  .m-celda small { font-size: 9.5px; }
  .m-celda b { font-size: 13px; }
  .m-celda b.mono { font-size: 12px; }
  .m-jornada { flex: 1.6; }
  .acciones { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 10px calc(10px + var(--abajo)); }
  .a-jugar { justify-content: center; padding: 10px 16px; }
  .a-sec { justify-content: space-between; }
  .a-sec button { min-width: 0; flex: 1; }
  .bocadillo { left: 10px; width: calc(100vw - 20px); bottom: calc(150px + var(--abajo)); padding: 10px 12px 12px 14px; }
  .b-texto { font-size: 15.5px; }
  .panel { inset: 56px 8px calc(8px + var(--abajo)) 8px; width: auto; top: 56px; }
  .pizarra { font-size: 20px; border-width: 8px; }
  .teletexto { border-width: 6px; padding: 10px; }
  .tt-cuerpo, .tt-tabla { font-size: 12px; }
}
@media (max-width: 440px) { .rotulo { display: none; } }
@media (max-height: 520px) and (orientation: landscape) {
  .acciones { flex-direction: row; padding-bottom: 6px; }
  .a-sec button { min-width: 54px; }
  .bocadillo { bottom: 84px; width: min(460px, 50vw); }
  .marcador { top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .record { animation: none; }
  .a-jugar:hover .moneda { animation: none; }
}
