/* La batalla ocupa el viewport disponible. Los contenidos opcionales se abren aparte. */
html:has(body[data-battle="true"]){height:100%;overflow:hidden}
body[data-battle="true"]{height:100dvh;height:var(--battle-height,100dvh);overflow:hidden}
body[data-battle="true"]>.topbar,body[data-battle="true"]>.page-footer{display:none}
body[data-battle="true"]>main{height:100%;min-height:0;max-width:none;padding:8px 12px;display:flex;flex-direction:column;gap:6px}
body[data-battle="true"]>main>.message{margin:0;flex-shrink:0;padding:7px 12px;font-size:12px;max-height:20dvh;overflow:auto}
body[data-battle="true"] #battle{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}
body[data-battle="true"] .room-heading{flex-shrink:0;min-height:44px;margin:0;align-items:center;gap:12px}
body[data-battle="true"] .room-identity{gap:10px;overflow:hidden}
body[data-battle="true"] .room-guide{height:40px;width:40px;border-radius:12px}
body[data-battle="true"] .room-heading h1{font-size:19px;letter-spacing:-.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-battle="true"] .room-heading .eyebrow{font-size:8px;margin:0 0 3px;letter-spacing:1px}
body[data-battle="true"] .battle-actions{display:flex;gap:6px;align-items:center;max-width:none;flex-shrink:0}
body[data-battle="true"] .battle-actions .btn{margin:0;padding:8px 12px;min-height:40px;font-size:12px;gap:7px}
body[data-battle="true"] #audio-button[aria-pressed="true"]{background:#e0f0df;border-color:#76a96f;color:#2c6328}
body[data-battle="true"] .battle-layout{flex:1;min-height:0;display:grid;gap:10px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) clamp(148px,23dvh,192px);grid-template-areas:"question" "ranking"}
body[data-battle="true"] .play-column{grid-area:question;display:flex;flex-direction:column;gap:10px;min-height:0;min-width:0}
body[data-battle="true"] .question-panel{grid-area:question;min-height:0;padding:16px 22px;display:grid;gap:10px;grid-template-rows:30px var(--prompt-space,100px) var(--answer-space,160px) 22px;border-radius:22px;overflow:visible}
body[data-battle="true"] .question-track{border-radius:22px 22px 0 0;overflow:hidden}
body[data-battle="true"] .question-meta{margin:0;min-width:0;gap:12px;font-size:11px;align-self:center}
body[data-battle="true"] .question-meta>span{padding:5px 9px}
body[data-battle="true"] #clock{height:32px;min-width:40px;font-size:18px;border-width:2px;border-radius:12px}
body[data-battle="true"] .question-prompt{min-height:0;min-width:0;display:flex;gap:12px;align-items:stretch}
body[data-battle="true"] .question-text{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:8px}
body[data-battle="true"] #topic{margin:0;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;letter-spacing:1px}
body[data-battle="true"] #question{font-size:var(--question-font,28px);line-height:1.22;letter-spacing:-.4px;margin:0;min-height:0;overflow-wrap:anywhere;font-weight:750;flex-shrink:0}
body[data-battle="true"] .question-image{width:clamp(70px,18vw,230px);max-width:35%;height:100%;max-height:100%;min-height:0;object-fit:contain;margin:0;border-radius:12px}
body[data-battle="true"] .answers{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:10px}
body[data-battle="true"] .answer-cell{min-height:0;min-width:0;display:flex;gap:4px}
body[data-battle="true"] .answer{width:100%;height:100%;min-width:0;min-height:40px;padding:10px 13px;gap:10px;font-size:var(--answer-font,18px);line-height:1.22;border-radius:14px;overflow:visible}
body[data-battle="true"] .answer>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
body[data-battle="true"] .answer-letter{width:28px;height:28px;font-size:12px;border-radius:8px}
body[data-battle="true"] .answer img{width:clamp(35px,7vw,90px);max-width:26%;height:100%;max-height:100%;object-fit:contain}
/* La aclaración forma parte de la línea del enunciado; texto y mono viajan siempre juntos. */
body[data-battle="true"] #question .explain-button{display:inline-flex;vertical-align:middle;width:auto;min-width:0;min-height:30px;padding:3px 8px;gap:5px;font-size:13px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap;margin:0 0 0 4px;border-radius:9px}
body[data-battle="true"] .explain-button img{width:24px;height:24px}
body[data-battle="true"] #confirmation{grid-row:4;align-self:center;margin:0;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-battle="true"] .activity-status{position:absolute;right:70px;top:19px;margin:0;padding:0;border:0;background:transparent;max-width:40%;font-size:10px;line-height:1.1}
body[data-battle="true"] .activity-status p,body[data-battle="true"] #activity-clock{display:none}
body[data-battle="true"] #waiting{position:absolute;right:16px;bottom:8px;margin:0;padding:0;border:0;font-size:11px;max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-battle="true"] #audio-status{position:absolute;z-index:2;right:12px;top:48px;margin:0;max-width:min(420px,85%);padding:8px 12px;background:#fff6df;border:1px solid #e7d1a4;border-radius:10px;font-size:12px;box-shadow:0 3px 12px #213a3110}
/* Clasificación desplazable; los números conservan el orden de VB. */
body[data-battle="true"] .ranking-panel{grid-area:ranking;min-height:0;padding:10px 12px;display:flex;flex-direction:column;gap:7px;border-radius:20px;background:#f0f4ed}
body[data-battle="true"] .ranking-panel .section-title{margin:0;min-height:26px;flex-shrink:0}
body[data-battle="true"] .ranking-panel h2{font-size:14px;letter-spacing:-.2px}
body[data-battle="true"] #ranking-all{font-size:10px;padding:4px 8px;min-height:28px;border-radius:8px}
body[data-battle="true"] .ranking{flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--ranking-columns,3),minmax(0,1fr));grid-auto-rows:var(--ranking-row,48px);align-content:start;gap:5px;padding:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-width:thin;overflow-anchor:none}
body[data-battle="true"] .rank-card{display:grid;grid-template-columns:20px 32px minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;min-height:0;padding:6px;border-radius:10px;text-align:left;background:#fffefa}
body[data-battle="true"] .rank-place{font-size:11px;font-weight:700;color:#6c7c70}
body[data-battle="true"] .rank-card .avatar{width:32px;height:32px;margin:0;border:0;font-size:10px}
body[data-battle="true"] .rank-card .nick{font-size:11px;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-battle="true"] .rank-card .rank-points{font-size:15px;line-height:1.2}
body[data-battle="true"] .rank-card .result-label{display:none}
/* El resultado recibido prevalece sobre el fondo compacto, también para el jugador propio. */
body[data-battle="true"] .rank-card.correct{background:#def0d2;border-color:#85b871}
body[data-battle="true"] .rank-card.incorrect{background:#f8dcd5;border-color:#cf8677}
body[data-battle="true"] .rank-card.is-self{border:2px solid #438479}
body[data-battle="true"] .rank-card.is-self::after{display:none}
/* Elevación breve durante el cambio de puesto; no afecta a las medidas del panel. */
body[data-battle="true"] .rank-card.is-moving{z-index:2;box-shadow:0 5px 12px #16373d26}
body[data-battle="true"] .ranking-own{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-shrink:0;padding-top:4px;border-top:1px solid #dce5d6;font-size:11px;font-weight:650;color:#246e64}
body[data-battle="true"] .ranking-own .points-total{padding:0;background:none;font-size:12px}
/* Resumen personal junto al enunciado, con los tres iconos originales de Titanium. */
body[data-battle="true"] .own-stats{display:flex;align-items:center;gap:22px;min-height:34px;flex-shrink:0;margin:0 0 4px;font-variant-numeric:tabular-nums}
body[data-battle="true"] .personal-stat{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
body[data-battle="true"] .personal-stat img{width:26px;height:26px;object-fit:contain}
body[data-battle="true"] .personal-stat strong{font-size:21px;line-height:1.2}
body[data-battle="true"] .personal-stat .stat-name{font-size:11px;color:var(--muted)}
body[data-battle="true"] .personal-score img{width:31px;height:31px}
body[data-battle="true"] .rank-empty{grid-column:1/-1;align-self:center;text-align:center;margin:0;font-size:12px;color:var(--muted)}
/* Final y votación sustituyen la pregunta cuando el servidor abre el descanso. */
.round-stage{display:none}
body[data-battle="true"] .battle-layout[data-intermission="true"]>.play-column>.question-panel{display:none}
body[data-battle="true"] .battle-layout[data-intermission="true"] .round-stage{flex:1;display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0}
body[data-battle="true"] .round-stage .panel{padding:18px}
body[data-battle="true"] .round-stage h2{font-size:22px;margin-bottom:12px}
body[data-battle="true"] .round-stage .finish-heading>img{height:40px;width:40px}
/* Salón complementario y participantes: ventanas independientes del espacio de competición. */
.salon-drawer{width:min(560px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:18px;border:1px solid var(--line);border-radius:22px;background:#fcf9f2;color:var(--ink);overflow:auto}
.salon-drawer::backdrop{background:#16373d85;backdrop-filter:blur(4px)}
.drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.drawer-heading h2{font-size:20px;margin:0}
.drawer-heading .btn{font-size:12px;padding:9px 12px}
.salon-drawer .social-column{display:flex;gap:14px}
.salon-drawer .panel{padding:18px}
body[data-battle="true"] .salon-activity{position:absolute;bottom:10px;left:50%;padding:6px 12px;max-height:34px;max-width:70%;font-size:11px;line-height:1.5;border-radius:10px;z-index:3}
body[data-battle="true"] .streaks{top:58px;bottom:auto;max-height:15dvh;pointer-events:none}
@media(min-width:1000px),(min-aspect-ratio:13/10) and (max-height:650px){
  body[data-battle="true"] .battle-layout{grid-template-columns:minmax(0,1fr) clamp(180px,25vw,290px);grid-template-rows:minmax(0,1fr);grid-template-areas:"question ranking"}
}
@media(max-width:999px) and (min-height:651px),(max-aspect-ratio:13/10) and (max-width:999px){
  body[data-battle="true"] .rank-card{grid-template-columns:12px 26px minmax(0,1fr);grid-template-rows:26px 12px;column-gap:3px;row-gap:1px;padding:4px 5px}
  body[data-battle="true"] .rank-card .rank-place{grid-column:1;grid-row:1;font-size:10px}
  body[data-battle="true"] .rank-card .avatar{display:flex;grid-column:2;grid-row:1;width:26px;height:26px}
  body[data-battle="true"] .rank-card .nick{grid-column:1/-1;grid-row:2;font-size:10px;line-height:12px}
  body[data-battle="true"] .rank-card .rank-points{grid-column:3;grid-row:1;font-size:12px;justify-self:end;max-width:100%;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:560px){
  body[data-battle="true"]>main{padding:5px 7px;gap:4px}
  body[data-battle="true"] #battle{gap:5px}
  body[data-battle="true"] .room-heading{gap:5px;min-height:42px}
  body[data-battle="true"] .room-guide{height:32px;width:32px}
  body[data-battle="true"] .room-heading h1{font-size:15px;max-width:22vw}
  body[data-battle="true"] .room-heading .eyebrow{display:none}
  body[data-battle="true"] .room-identity{gap:5px}
  body[data-battle="true"] .battle-actions{gap:4px}
  body[data-battle="true"] .battle-actions .btn{padding:6px 9px;min-height:40px;font-size:11px;border-radius:10px}
  body[data-battle="true"] #audio-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  body[data-battle="true"] #audio-button{width:40px;font-size:19px}
  body[data-battle="true"] .battle-layout{gap:7px}
  body[data-battle="true"] .question-panel{padding:12px;gap:8px;grid-template-rows:28px var(--prompt-space,100px) var(--answer-space,160px) 18px;border-radius:18px}
  body[data-battle="true"] .answers{grid-template-columns:minmax(0,1fr);gap:7px}
  body[data-battle="true"] .answer{padding:8px 10px;gap:9px;border-radius:11px}
  body[data-battle="true"] .ranking-panel{padding:7px 9px;gap:4px;border-radius:16px}
  body[data-battle="true"] .ranking-panel h2{font-size:12px}
  body[data-battle="true"] .activity-status{right:60px;top:19px;font-size:9px}
}
@media(max-height:500px){
  body[data-battle="true"]>main{padding:4px 8px}
  body[data-battle="true"] #battle{gap:4px}
  body[data-battle="true"] .room-heading{min-height:40px}
  body[data-battle="true"] .room-guide{height:30px;width:30px}
  body[data-battle="true"] .room-heading .eyebrow{display:none}
  body[data-battle="true"] .question-panel{padding:8px 12px;gap:5px;grid-template-rows:24px var(--prompt-space,100px) var(--answer-space,160px) 16px;border-radius:16px}
  body[data-battle="true"] #clock{height:26px;min-width:32px;font-size:15px}
  body[data-battle="true"] .question-meta>span{padding:3px 7px}
  body[data-battle="true"] #topic{font-size:8px}
  body[data-battle="true"] .question-text{gap:4px}
  body[data-battle="true"] .answers{gap:5px}
  body[data-battle="true"] .answer{padding:6px 9px;gap:7px;border-radius:9px}
  body[data-battle="true"] .answer-letter{width:22px;height:22px;font-size:10px}
  body[data-battle="true"] #confirmation{font-size:10px}
  body[data-battle="true"] .activity-status{right:55px;top:13px;font-size:9px}
  body[data-battle="true"] .ranking-panel{padding:8px;gap:5px}
  body[data-battle="true"] .rank-card{grid-template-columns:18px minmax(0,1fr) auto;gap:4px;padding:5px}
  body[data-battle="true"] .rank-card .avatar{display:none}
}
@media(prefers-reduced-motion:reduce){body[data-battle="true"] .answer{transition:none}}
/* Con altura escasa se retiran datos secundarios antes de reducir el texto de juego. */
body[data-battle="true"] #battle[data-density="tight"][data-axis="stack"] .battle-layout{grid-template-rows:minmax(0,1fr) 112px}
body[data-battle="true"] #battle[data-density="tight"] .question-panel{padding:8px 12px;gap:5px;grid-template-rows:24px var(--prompt-space,100px) var(--answer-space,160px) 16px}
body[data-battle="true"] #battle[data-density="tight"] #topic{display:none}
body[data-battle="true"] #battle[data-density="tight"] .answers{gap:5px}
body[data-battle="true"] #battle[data-density="tight"] .answer{padding:6px 9px;gap:7px}
body[data-battle="true"] #battle[data-density="tight"] .ranking-panel{padding:6px 8px;gap:3px}
body[data-battle="true"] #battle[data-density="tight"] .ranking-own{font-size:10px;padding-top:2px}
@media(max-height:360px) and (min-width:561px) and (max-width:700px){
  body[data-battle="true"] .battle-layout{grid-template-columns:minmax(0,1fr) 140px}
  body[data-battle="true"] .answer-letter{display:none}
  body[data-battle="true"] .rank-card{grid-template-columns:13px minmax(0,1fr) auto;font-size:10px}
  body[data-battle="true"] .rank-card .nick{font-size:10px}
  body[data-battle="true"] .rank-card .rank-points{font-size:12px}
  body[data-battle="true"] .ranking-panel .section-title{flex-wrap:wrap;gap:3px}
}

/* Contenido compacto arriba; el hueco restante permite conversar sin abandonar el juego. */
body[data-battle="true"] .question-panel{flex:1;align-content:start;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
body[data-battle="true"] #battle[data-chat-docked="true"] .question-panel{flex:0 0 var(--question-height)}
/* El navegador decide si hace falta scroll, incluso tras cargar imágenes o cambiar el texto. */
body[data-battle="true"] #battle .question-panel{overflow:auto;touch-action:pan-x pan-y}
body[data-battle="true"] .question-prompt{align-items:flex-start}
body[data-battle="true"] .question-image{height:var(--prompt-space)}
body[data-battle="true"] .play-column>.chat-panel{flex:1;min-height:0;padding:14px 20px;display:flex;flex-direction:column;gap:8px;border-radius:20px;background:#fffdf7;overflow:hidden}
body[data-battle="true"] .play-column>.chat-panel h2{font-size:14px;margin:0;flex-shrink:0}
body[data-battle="true"] .play-column>.chat-panel .chat{flex:1;height:0;min-height:0;margin:0;overflow:auto;overscroll-behavior:contain}
body[data-battle="true"] .play-column>.chat-panel .chat li{padding:5px 0;line-height:1.4}
body[data-battle="true"] .chat-panel #chat-form{flex-shrink:0;margin:0}
body[data-battle="true"] .chat-panel #chat-form input{min-width:0;margin:0;min-height:36px;padding:8px 12px}
body[data-battle="true"] .chat-panel #chat-form .btn{min-height:36px;padding:8px 15px;margin:0}
.salon-drawer .social-column{flex-direction:column}
.salon-drawer .chat-panel{order:-1}
.salon-drawer .chat-panel h2{font-size:18px;margin:0 0 8px}
.players-drawer .players{max-height:55dvh}
.players-drawer>.panel{padding:12px;border:0;background:transparent}
body[data-battle="true"] .battle-actions .shortcut-label{white-space:nowrap}
@media(max-width:560px){
  body[data-battle="true"] .room-heading{flex-wrap:wrap;gap:4px}
  body[data-battle="true"] .room-heading h1{max-width:none;font-size:15px}
  body[data-battle="true"] .room-guide{width:26px;height:26px}
  body[data-battle="true"] .battle-actions{width:100%;justify-content:space-between}
  body[data-battle="true"] .battle-actions .btn{min-height:34px;padding:5px 8px}
  body[data-battle="true"] #audio-button{width:34px}
  body[data-battle="true"] .play-column{gap:7px}
  body[data-battle="true"] .play-column>.chat-panel{padding:10px 12px;gap:5px;border-radius:16px}
}

@media(max-height:360px){body[data-battle="true"] #battle[data-density="tight"] .question-panel{gap:4px}}

/* Opciones compactas: el mismo tamaño y trazo en toda la barra, con nombre accesible. */
body[data-battle="true"] #battle .battle-actions{flex-wrap:wrap;gap:6px}
body[data-battle="true"] #battle .battle-actions .battle-option{width:42px;height:42px;min-height:42px;flex:0 0 42px;padding:9px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;position:relative}
body[data-battle="true"] #battle .battle-option svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body[data-battle="true"] #battle .battle-option[aria-pressed="true"]{color:#2c6328;background:#e0f0df;border-color:#76a96f}
body[data-battle="true"] #battle .battle-option:focus-visible{outline:3px solid #297586;outline-offset:2px}
body[data-battle="true"] #sound-status:not([hidden]){margin:0;font-size:12px}
/* El mono vuelve al juego; la medición lo retira antes de reducir el texto de la pregunta. */
body[data-battle="true"] .battle-mascot{position:static;flex:0 0 84px;width:84px;height:88px;object-fit:contain;pointer-events:none;align-self:flex-start}
@media(max-width:700px){
  body[data-battle="true"] .own-stats{gap:14px;min-height:28px;margin:0}
  body[data-battle="true"] .personal-stat{gap:4px}
  body[data-battle="true"] .personal-stat img{width:23px;height:23px}
  body[data-battle="true"] .personal-score img{width:27px;height:27px}
  body[data-battle="true"] .personal-stat strong{font-size:18px}
  body[data-battle="true"] .personal-stat .stat-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  body[data-battle="true"] .battle-mascot{flex-basis:48px;width:48px;height:58px}
}
@media(max-width:560px){
  body[data-battle="true"] #battle .battle-actions{gap:2px;justify-content:flex-end}
  body[data-battle="true"] #battle .battle-actions .battle-option{width:36px;height:36px;min-height:36px;flex-basis:36px;padding:7px;border-radius:10px}
  body[data-battle="true"] #battle .battle-option svg{width:20px;height:20px}
}

/* Las respuestas crecen con su contenido; solo su contenedor puede desplazarse. */
body[data-battle="true"] .answers{overflow-y:auto;overflow-x:hidden;touch-action:pan-y;grid-auto-rows:max-content;align-content:start;scrollbar-width:thin}
body[data-battle="true"] .answer{height:auto;min-height:48px;overflow:visible}
body[data-battle="true"] .answer>span:nth-child(2){max-height:none;overflow:visible}
body[data-battle="true"] .answer img{height:auto;max-height:80px}
body[data-battle="true"] .ranking-panel{min-width:0}
body[data-battle="true"] .ranking.is-dragging,body[data-battle="true"] .ranking.is-dragging *{cursor:grabbing;user-select:none}

/* En pantallas estrechas solo quedan el menú de opciones y la salida en la cabecera. */
body[data-battle="true"] #battle-options-toggle{display:none!important}
.battle-options-menu{display:contents}
@media(max-width:760px){
  body[data-battle="true"] #battle .room-heading{flex-wrap:nowrap;gap:8px}
  body[data-battle="true"] #battle .room-identity{flex:1;min-width:0}
  body[data-battle="true"] #battle .room-identity>div{min-width:0;flex:1;overflow:hidden}
  body[data-battle="true"] #battle .room-heading h1{max-width:none}
  body[data-battle="true"] #battle .battle-actions{width:auto;flex-wrap:nowrap;position:relative;gap:5px}
  body[data-battle="true"] #battle #battle-options-toggle{display:inline-flex!important}
  body[data-battle="true"] #battle .battle-options-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:240px;max-width:calc(100vw - 20px);max-height:70dvh;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fffdf7;box-shadow:0 8px 28px #16373d30}
  body[data-battle="true"] #battle .battle-options-menu.is-open{display:flex;flex-direction:column;gap:4px}
  body[data-battle="true"] #battle .battle-options-menu .battle-option{width:100%;flex:0 0 auto;justify-content:flex-start;gap:10px}
  body[data-battle="true"] #battle .battle-options-menu .sr-only{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
  body[data-battle="true"] #battle .current-player bdi{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* Una sola fila: altura de tarjeta y margen inferior separados de la barra de scroll. */
body[data-battle="true"] #battle[data-axis="stack"] .ranking{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;align-items:flex-start;padding-bottom:10px}
body[data-battle="true"] #battle[data-axis="stack"] .rank-card{flex:0 0 120px;height:52px;min-height:52px;align-content:center}
body[data-battle="true"] #battle[data-axis="stack"] .battle-layout{grid-template-rows:minmax(0,1fr) 158px}

/* Ronda y número de pregunta legibles sin aumentar la altura reservada a la cabecera. */
body[data-battle="true"] #question-meta{font-size:15px;font-weight:400;line-height:1.2;letter-spacing:.2px;color:var(--ink);padding:4px 9px;font-variant-numeric:tabular-nums}
@media(max-width:560px),(max-height:500px){
  body[data-battle="true"] #question-meta{font-size:14px;padding:3px 7px}
}

/* Móvil y pantalla mediana comparten una mascota pequeña: el enunciado tiene prioridad. */
@media(max-width:1000px){body[data-battle="true"] .battle-mascot{flex-basis:48px;width:48px;height:58px}}

/* Reserva dos píxeles dentro del área desplazable para que hover no recorte el borde superior. */
body[data-battle="true"] .answers{padding-top:2px}
