/* ══════════════════════════════════════════════
   LA PLANTILLA — plantilla.css (2026-10-31)
   Diseño A «Edición de prensa» con el club/país oculto como «escudo vacío» (A1).
   Boceto: Artifact «La Plantilla: 4 diseños». Misma paleta que el resto de la web.

   La rueda se dibuja con CSS puro (conic-gradient + sin()/cos()) a una base de
   400 unidades; todo escala con la unidad --u = 1/400 del ancho del contenedor
   (container query units). Nada visible depende de que una animación corra.
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --np-paper:     #f4ead2;
  --np-paper2:    #ede0c0;
  --np-white:     #fffdf6;
  --np-ink:       #0f120e;
  --np-ink-mid:   rgba(var(--np-ink-rgb, 15,18,14), 0.62);
  --np-ink-soft:  rgba(var(--np-ink-rgb, 15,18,14), 0.15);
  --np-red:       #b5221e;
  --np-green:     #2d6a35;
  --np-gold:      #f3d980;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-mono:    'DM Mono', monospace;
  --font-display: 'Anton', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html, body {
  min-height: 100%;
  background-color: var(--np-paper);
  background-image: radial-gradient(rgba(60,40,10,.06) 1px, transparent 1.3px);
  background-size: 5px 5px;
  color: var(--np-ink);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Columnas de anuncio: la página aún no las usa, pero las pantallas dejan el hueco igual que las demás. */
@media (min-width: 760px) {
  #mode-screen, #game-screen { margin-left: var(--ad-col-w, 72px); margin-right: var(--ad-col-w, 72px); }
}

.eyebrow { display: flex; align-items: center; gap: 6px; }
.eyebrow-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; color: var(--np-ink-mid); text-transform: uppercase; }
.eyebrow-sep { font-family: var(--font-mono); font-size: 10px; color: var(--np-ink-mid); }
.eyebrow-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--np-red); text-transform: uppercase; }

/* ── Carga ─────────────────────────────────── */
#loading-screen { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100dvh; gap: 16px; color: var(--np-ink-mid); }
#loading-body { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
#loading-screen p { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
#loading-screen p.pl-fail { color: var(--np-red); max-width: 320px; text-align: center; line-height: 1.5; letter-spacing: .08em; }
.spin { width: 32px; height: 32px; border: 2px solid var(--np-ink-soft); border-top-color: var(--np-red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Menú ──────────────────────────────────── */
#mode-screen { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px 16px 70px; }
#mode-box { width: 100%; max-width: 400px; background: var(--np-white); border: 1px solid var(--np-ink-soft); box-shadow: var(--sh-x,3px) var(--sh-y,3px) var(--sh-b,0) var(--sh-c,var(--np-ink)); display: flex; flex-direction: column; }
#mode-art { width: 100%; aspect-ratio: 8 / 3; overflow: hidden; background: var(--np-paper2); border-bottom: 1px solid var(--np-ink-soft); position: relative; display: flex; align-items: center; justify-content: center; }
#mode-art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.25) contrast(1.05); }
#mode-art.mode-art--fallback::after { content: "LA PLANTILLA"; font-family: var(--font-display); font-size: 2rem; letter-spacing: .08em; color: var(--np-ink-mid); }
#mode-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--bd-c, var(--np-ink)); }
#mode-title { font-family: var(--font-serif); font-style: italic; font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1; letter-spacing: -.01em; }
#mode-desc { font-size: 12px; line-height: 1.5; color: var(--np-ink-mid); }
.mode-rule { height: 1px; background: var(--np-ink-soft); }
#start-game-btn { width: 100%; padding: 13px; background: var(--np-red); color: var(--np-paper); border: none; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .1em; cursor: pointer; }
@media (hover: hover) { #start-game-btn:hover { background: var(--np-ink); } }
.stats-link-btn { background: none; border: none; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--np-ink-mid); cursor: pointer; padding: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
@media (hover: hover) { .stats-link-btn:hover { color: var(--np-red); } }

/* ── Juego ─────────────────────────────────── */
#game-screen { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; padding: 0 16px 80px; }
#game-main { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
#top-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
#edition-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--np-ink-mid); }
#archive-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--np-red); border: 1px solid var(--np-red); padding: 2px 8px; }
.pl-masthead { border-top: 3px solid var(--np-ink); border-bottom: 1px solid var(--np-ink); padding: 6px 0 8px; text-align: center; }
.pl-masthead .pl-title { font-family: var(--font-serif); font-style: italic; font-weight: 900; font-size: clamp(2.2rem, 11vw, 3.1rem); line-height: 1; letter-spacing: -.01em; }
#question-title { text-align: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; line-height: 1.15; }
.fh-atrasado.hidden { display: none; }

/* La rueda ----------------------------------------------------------------- */
.pl-wheel-wrap { container-type: inline-size; width: min(100%, 420px); margin: 2px auto 0; }
.pl-wheel { --u: calc(100cqw / 400); --rc: calc(var(--u) * 154); position: relative; width: 100%; aspect-ratio: 1; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.pl-tk { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from -.2deg, var(--np-ink) 0 .45deg, transparent .45deg 3deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(var(--u) * 194), #000 calc(var(--u) * 195), #000 calc(var(--u) * 200), transparent calc(var(--u) * 200.5));
          mask: radial-gradient(circle closest-side, transparent calc(var(--u) * 194), #000 calc(var(--u) * 195), #000 calc(var(--u) * 200), transparent calc(var(--u) * 200.5)); }
.pl-ring { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(var(--u) * 117), #000 calc(var(--u) * 118), #000 calc(var(--u) * 190), transparent calc(var(--u) * 190.5));
          mask: radial-gradient(circle closest-side, transparent calc(var(--u) * 117), #000 calc(var(--u) * 118), #000 calc(var(--u) * 190), transparent calc(var(--u) * 190.5)); }
.pl-s { position: absolute; inset: 0; background: conic-gradient(from var(--a0), var(--fill, #fbf6e6) 0 var(--sp), transparent var(--sp)); }
.pl-s.h { --fill: #e3d6b2; }
.pl-sf { position: absolute; inset: 0;
  -webkit-mask-image: conic-gradient(from var(--a0), #000 0 var(--sp), transparent var(--sp));
          mask-image: conic-gradient(from var(--a0), #000 0 var(--sp), transparent var(--sp)); }
.pl-sf img { position: absolute; object-fit: cover; display: block; }
.pl-gl { position: absolute; inset: 0; background: conic-gradient(from calc(var(--a0) - .2deg), var(--np-ink) 0 .4deg, transparent .4deg); }
.pl-hl { position: absolute; inset: 0; background: conic-gradient(from var(--a0), rgba(243,217,128,.5) 0 var(--sp), transparent var(--sp)); pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.pl-hl.on { opacity: 1; }
.pl-e1 { position: absolute; inset: calc(var(--u) * 10); border-radius: 50%; border: 1.5px solid var(--np-ink); pointer-events: none; }
.pl-e2 { position: absolute; inset: calc(var(--u) * 82); border-radius: 50%; border: 1.5px solid var(--np-ink); pointer-events: none; }
@keyframes plEntra { from { opacity: 0; } to { opacity: 1; } }
.pl-c, .pl-i { position: absolute; pointer-events: none; }
.pl-c { width: var(--cs); height: var(--cs); object-fit: contain;
  left: calc(50% + var(--rc) * sin(var(--m)) - var(--cs) / 2); top: calc(50% - var(--rc) * cos(var(--m)) - var(--cs) / 2); }
.pl-i { width: var(--is); height: var(--is);
  left: calc(50% + var(--rc) * sin(var(--m)) - var(--is) / 2); top: calc(50% - var(--rc) * cos(var(--m)) - var(--is) / 2); }
.pl-i svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pl-center { position: absolute; left: calc(var(--u) * 96); top: calc(var(--u) * 96); width: calc(var(--u) * 208); height: calc(var(--u) * 208); border-radius: 50%; background: #f8f1dc;
  box-shadow: 0 0 0 calc(var(--u) * 5) var(--np-paper), 0 0 0 calc(var(--u) * 6.5) var(--np-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 6); text-align: center; padding: 0 calc(var(--u) * 14); pointer-events: none; }
.pl-c-k { font-family: var(--font-mono); font-size: max(8px, calc(var(--u) * 9.5)); letter-spacing: .22em; text-transform: uppercase; color: var(--np-ink-mid); }
.pl-c-big { font-family: var(--font-serif); font-weight: 900; font-size: calc(var(--u) * 33); line-height: 1.02; overflow-wrap: anywhere; }
.pl-c-big.largo { font-size: calc(var(--u) * 25); }
.pl-c-rule { width: calc(var(--u) * 34); height: 1px; background: var(--np-ink); }
.pl-c-p { font-family: var(--font-mono); font-size: max(9px, calc(var(--u) * 11)); letter-spacing: .14em; text-transform: uppercase; color: var(--np-red); }
.pl-c-img { width: calc(var(--u) * 78); height: calc(var(--u) * 78); object-fit: contain; }
.pl-c-img.flag { height: auto; width: calc(var(--u) * 86); border: 1px solid rgba(15,18,14,.35); }

/* Intentos y mensajes */
.vidas { display: flex; align-items: center; justify-content: center; gap: 9px; }
.vid { width: 22px; height: 22px; border: 1px solid var(--np-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; line-height: 1; }
.vid.cur { border-width: 2px; }
.vid.fail { background: var(--np-red); border-color: var(--np-red); color: var(--np-paper); }
.vid.win { background: var(--np-green); border-color: var(--np-green); color: #fff; }
.v-et { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--np-ink-mid); margin-left: 6px; }
.msg { font-family: var(--font-mono); font-size: 12px; color: var(--np-red); text-align: center; min-height: 1.3em; }

/* Entrada */
#input-area { position: relative; }
.search-row { display: flex; gap: 8px; }
#input-wrap { position: relative; flex: 1; min-width: 0; }
#ans-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--np-ink); background: #fff; font: 600 16px var(--font-body); color: var(--np-ink); outline: none; border-radius: 0; }
#ans-input:focus { box-shadow: 0 0 0 2px rgba(15,18,14,.18); }
#skip-btn { height: 50px; padding: 0 16px; border: 1px solid var(--np-ink); background: var(--np-ink); color: var(--np-paper); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; cursor: pointer; }
@media (hover: hover) { #skip-btn:hover { background: var(--np-red); border-color: var(--np-red); } }
#sug-box { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--np-ink); border-top: 0; max-height: 280px; overflow: auto; z-index: 20; display: none; }
#sug-box.open { display: block; }
#sug-box button { all: unset; display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 9px 12px; cursor: pointer; font: 600 .92rem var(--font-body); border-bottom: 1px solid var(--np-ink-soft); }
#sug-box button img { width: 30px; height: 24px; object-fit: contain; }
#sug-box button img.flag { height: 20px; object-fit: cover; border: 1px solid rgba(15,18,14,.3); }
#sug-box button.hl { background: rgba(246,217,122,.55); }
@media (hover: hover) { #sug-box button:hover { background: rgba(246,217,122,.55); } }
#sug-box .none { padding: 10px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--np-ink-mid); }
.pl-hint { text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 13.5px; line-height: 1.45; color: var(--np-ink-mid); }

/* Final */
#fin-box { display: none; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
#fin-box.show { display: flex; }
.sello { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--np-green); color: var(--np-green); padding: 6px 16px; }
.sello.no { border-color: var(--np-red); color: var(--np-red); }
#fin-sub { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 1.05rem; color: var(--np-ink-mid); }
.nombres { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.j { display: flex; align-items: center; gap: 7px; background: var(--np-white); border: 1px solid var(--np-ink-soft); padding: 3px 10px 3px 3px; font-size: .76rem; font-weight: 600; text-align: left; }
.j img { width: 28px; height: 28px; object-fit: contain; flex: none; background: #fff; }
.j img.flag { height: 20px; width: 28px; object-fit: cover; margin: 4px 0; }
.j small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .58rem; color: var(--np-ink-mid); }
#fin-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.btn-ink { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: var(--np-ink); color: var(--np-paper); border: none; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; box-shadow: 2px 2px 0 rgba(15,18,14,.3); }
@media (hover: hover) { .btn-ink:hover { opacity: .85; } }

/* Navegación de ediciones */
#day-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; background: var(--np-ink); color: var(--np-paper); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; height: 46px; }
#day-nav button { background: transparent; color: var(--np-paper); border: 1px solid rgba(244,234,210,.3); border-radius: var(--r-md, 0); font-family: var(--font-mono); font-size: 1rem; line-height: 1; padding: 5px 11px; cursor: pointer; min-width: 34px; transition: background .15s; }
@media (hover: hover) { #day-nav button:hover:not(:disabled) { background: rgba(244,234,210,.16); } }
#day-nav button:disabled { opacity: .28; cursor: not-allowed; }
#nav-label { font-family: var(--font-display); font-size: .95rem; letter-spacing: .05em; min-width: 96px; text-align: center; }


/* ══════════════════════════════════════════════
   2026-11-02 — ANIMACIONES, ESTADÍSTICAS Y DETALLES
   Reglas: animar solo lo nuevo; el estado escondido vive DENTRO del @keyframes (si no corre, todo se ve);
   tiempos por setTimeout en el JS; sin animationend ni requestAnimationFrame.
   ══════════════════════════════════════════════ */

/* La rueda al empezar y al fallar */
.pl-wheel.inicio { animation: plRueda .5s cubic-bezier(.2,.9,.3,1) backwards; }
@keyframes plRueda { from { opacity: 0; transform: scale(.93) rotate(-4deg); } to { opacity: 1; transform: none; } }
.pl-wheel.tiembla { animation: plTiembla .5s cubic-bezier(.36,.07,.19,.97); }
@keyframes plTiembla { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }

/* Lo que se destapa: el trozo se funde, la bandera se asienta, el escudo salta y todo da un destello dorado. */
.pl-s.entra { animation: plFundido .45s ease backwards; animation-delay: calc(var(--i, 0) * 90ms + var(--t, 0ms)); }
@keyframes plFundido { from { opacity: 0; } to { opacity: 1; } }
.pl-sf.entra { animation: plFundido .45s ease backwards; animation-delay: calc(var(--i, 0) * 90ms + var(--t, 0ms)); }
.pl-sf.entra img { animation: plBandera .75s cubic-bezier(.2,.9,.3,1) backwards; animation-delay: calc(var(--i, 0) * 90ms + var(--t, 0ms)); transform-origin: center; }
@keyframes plBandera { from { opacity: 0; transform: scale(1.35); filter: brightness(1.5); } to { opacity: 1; transform: none; filter: none; } }
.pl-c.entra { animation: plEscudo .7s cubic-bezier(.2,1.2,.35,1) backwards; animation-delay: calc(var(--i, 0) * 90ms + var(--t, 0ms)); }
@keyframes plEscudo { 0% { opacity: 0; transform: scale(.35) rotate(-14deg); } 55% { opacity: 1; transform: scale(1.16) rotate(3deg); } 100% { opacity: 1; transform: none; } }
.pl-fl { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: conic-gradient(from var(--a0), rgba(246,217,122,.85) 0 var(--sp), transparent var(--sp));
  animation: plDestello 1.1s ease-out backwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes plDestello { 0% { opacity: .95; } 100% { opacity: 0; } }
.pl-i.suave { animation: plFundido .5s ease backwards; animation-delay: calc(var(--i, 0) * 28ms + 150ms); }

/* Al acertar: una ola que recorre la rueda */
.pl-s.ola, .pl-sf.ola { animation: plOla .55s ease; animation-delay: calc(var(--o, 0) * 55ms); }
@keyframes plOla { 0%, 100% { opacity: 1; } 40% { opacity: .5; } }

/* El centro: la respuesta aparece con un pop */
.pl-c-img.entra { animation: plPop .7s cubic-bezier(.2,1.2,.35,1) .1s backwards; }
.pl-c-big.entra { animation: plFundido .5s ease .35s backwards; }
@keyframes plPop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.14); } 100% { opacity: 1; transform: none; } }

/* Intentos y fallos */
.vid.nuevo { animation: plPip .5s cubic-bezier(.2,1.3,.4,1) backwards; }
@keyframes plPip { 0% { opacity: 0; transform: scale(2); } 100% { opacity: 1; transform: none; } }
#malas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 0; }
#malas:empty { display: none; }
.mala { font-family: var(--font-mono); font-size: 11px; color: var(--np-red); border: 1px solid rgba(181,34,30,.4); background: rgba(181,34,30,.06); padding: 2px 8px; text-decoration: line-through; text-decoration-thickness: 1px; }
.mala.entra { animation: plFundido .35s ease backwards, plPip .4s cubic-bezier(.2,1.3,.4,1) backwards; }

/* El final */
.sello.vivo { animation: plSello .55s cubic-bezier(.2,1.2,.35,1) .45s backwards; }
@keyframes plSello { 0% { opacity: 0; transform: scale(1.5); } 100% { opacity: 1; transform: none; } }
#fin-resumen { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--np-ink-mid); }
#fin-cuenta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--np-ink-mid); text-align: center; }
#fin-cuenta:empty { display: none; }
#fin-cuenta strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; letter-spacing: .06em; color: var(--np-ink); }
.j.en { animation: plJugador .4s ease backwards; animation-delay: calc(var(--i, 0) * 40ms + 600ms); }
@keyframes plJugador { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Estadísticas (mismo diseño que La Carrera y En el Top; el marco lo pone css/panel-estadisticas.css) */
/* Base del modal: en los otros juegos vive en su style.css; aqui hay que ponerla (sin ella la caja y la X no existen) */
.overlay { position: fixed; inset: 0; background: rgba(var(--np-ink-rgb, 15,18,14), 0.72); display: flex; align-items: center; justify-content: center; z-index: 600; padding: 20px; backdrop-filter: blur(3px); animation: plFundido .18s ease; }
.np-modal { background: var(--np-paper); border: 2px solid var(--bd-c, var(--np-ink)); box-shadow: var(--sh-x,5px) var(--sh-y,5px) var(--sh-b,0) var(--sh-c,var(--np-ink)); padding: 28px 26px; max-width: 360px; width: 100%; position: relative; animation: plModal .22s cubic-bezier(.34,1.56,.64,1); }
.np-modal--wide { max-width: 460px; }
@keyframes plModal { from { transform: scale(.9) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.close-btn { position: absolute; top: 12px; right: 14px; background: none; border: 1px solid var(--np-ink-soft); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--np-ink-mid); cursor: pointer; transition: border-color .15s, color .15s; }
@media (hover: hover) { .close-btn:hover { border-color: var(--np-red); color: var(--np-red); } }#stats-heading { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: .08em; color: var(--np-ink); border-bottom: 2px solid var(--bd-c, var(--np-ink)); padding-bottom: 8px; margin: 6px 0 16px; text-transform: uppercase; font-style: normal; }
#stats-nums { display: flex; justify-content: space-around; gap: 4px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--np-ink-soft); }
.stat-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-val { font-family: var(--font-display); font-size: 1.8rem; color: var(--np-ink); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--np-ink-mid); text-align: center; line-height: 1.3; white-space: pre-line; }
#stats-hist-wrap { display: flex; flex-direction: column; }
#stats-hist-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.hist-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.hist-bar { width: 100%; background: rgba(15,18,14,.2); border-top: 2px solid rgba(15,18,14,.3); min-height: 4px; display: flex; align-items: flex-start; justify-content: center; padding-top: 3px; transition: height .6s cubic-bezier(.34,1.2,.64,1); }
.hist-bar.current { background: rgba(181,34,30,.12); border-top-color: var(--np-red); }
.hist-count { font-family: var(--font-display); font-size: 11px; color: rgba(15,18,14,.7); line-height: 1; }
.hist-bar.current .hist-count { color: var(--np-red); }
#stats-hist-labels { display: flex; gap: 6px; border-top: 1px solid var(--np-ink-soft); padding-top: 4px; margin-top: 2px; }
.hist-label { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 10px; color: var(--np-ink-mid); }
.hist-label.current { color: var(--np-red); font-weight: 500; }
.stats-countdown { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--np-ink-soft); font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--np-ink-mid); text-align: center; }
.stats-countdown strong { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; letter-spacing: .06em; color: var(--np-ink); }

@media (prefers-reduced-motion: reduce) {
  .pl-wheel.inicio, .pl-wheel.tiembla, .entra, .pl-sf.entra img, .pl-fl, .pl-i.suave, .ola, .vid.nuevo, .sello.vivo, .j.en, .overlay, .np-modal, .spin { animation: none !important; }
  .pl-fl { display: none; }
  .hist-bar { transition: none; }
}
