/* ============================================================
   css/numeros.css — "Los números que más salieron" (js/numeros.js): página numeros.php, hoja en Jugar y bloque en
   Resultados. Estilo del inicio: tarjetas blancas con borde #d7e8df, verde #0d5c35, naranja para jugar.
   ============================================================ */
@font-face { font-family: 'Figtree'; src: url('fuentes/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
.nm { font-family: 'Figtree', var(--fuente); color: #10241a; display: flex; flex-direction: column; gap: 14px; }
.nm > * { flex-shrink: 0; }   /* en la hoja (con scroll) nada se aplasta */
.nm-intro { margin: 0; font-size: calc(16px * var(--lg, 1)); line-height: 1.45; color: #4b6357; }
.nm-intro b { color: #10241a; }
.nm-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.nm-chips::-webkit-scrollbar { display: none; }
.nm-chip { flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid #cfe0d6; background: #fff; color: #10241a;
  font: 800 calc(15px * var(--lg, 1)) 'Figtree', var(--fuente); white-space: nowrap; cursor: pointer; }
.nm-chip[aria-pressed="true"] { background: #0d5c35; border-color: #0d5c35; color: #fff; }
.nm-chip:focus-visible, .nm-bola:focus-visible, .nm-jugar:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

.nm-card { background: #fff; border: 1px solid #d7e8df; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nm-tit { display: flex; align-items: center; gap: 10px; }
.nm-tit h3 { margin: 0; font-size: calc(20px * var(--lg, 1)); font-weight: 900; line-height: 1.2; }
.nm-ico { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: #0d5c35; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nm-ico-fuego { stroke: #ea580c; }
.nm-ico-frio { stroke: #2f6aa3; }
.nm-sub { margin: -4px 0 2px; font-size: calc(14px * var(--lg, 1)); color: #4b6357; }

.nm-bola { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid #d7e8df; box-shadow: inset 0 -5px 0 rgba(13,92,53,.07);
  display: inline-flex; align-items: center; justify-content: center; font: 900 calc(20px * var(--lg, 1)) 'Figtree', var(--fuente); color: #10241a;
  text-decoration: none; padding: 0; cursor: pointer; font-variant-numeric: tabular-nums; }
a.nm-bola:hover, button.nm-bola:hover { border-color: #0d5c35; }
.nm-bola.cab { background: #0d5c35; border-color: #0d5c35; color: #fff; }
.nm-bola.frio { background: #e0ecf7; border-color: #9fbfdc; color: #173a5e; }
.nm-bola.oro { width: 64px; height: 64px; font-size: calc(22px * var(--lg, 1)); background: #fbbf24; border-color: #b45309; color: #3b2a00; }
.nm-fila { display: flex; align-items: center; gap: 12px; }
.nm-barra-w { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nm-veces { font-size: calc(15px * var(--lg, 1)); font-weight: 800; }
.nm-barra { display: block; height: 10px; border-radius: 999px; background: #eef5f1; overflow: hidden; }
.nm-barra i { display: block; height: 100%; border-radius: 999px; background: #f97316; }
.nm-jugar { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0;
  background: #ea580c; color: #fff; font: 900 calc(15px * var(--lg, 1)) 'Figtree', var(--fuente); text-decoration: none; cursor: pointer; }
.nm-jugar:hover { background: #f97316; color: #fff; }
.nm-jugar-gr { min-height: 52px; font-size: calc(18px * var(--lg, 1)); }
.nm-bolas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; justify-items: center; }
@media (min-width: 480px) { .nm-bolas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.nm-bola-c { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 52px; }
.nm-bola-c small { font-size: calc(12px * var(--lg, 1)); font-weight: 700; color: #4b6357; white-space: nowrap; }
.nm-nota { margin: 0; font-size: calc(14px * var(--lg, 1)); color: #4b6357; }
.nm-nota b { color: #10241a; }
.nm-tuyo { background: #fff7ed; border: 2px solid #f97316; gap: 10px; }
.nm-tuyo-l { font-size: calc(13px * var(--lg, 1)); font-weight: 900; letter-spacing: .08em; color: #9a3412; }
.nm-tuyo-fila { display: flex; align-items: center; gap: 12px; }
.nm-tuyo-fila strong { display: block; font-size: calc(19px * var(--lg, 1)); font-weight: 900; }
.nm-tuyo-fila span { display: block; font-size: calc(15px * var(--lg, 1)); line-height: 1.4; color: #4b6357; }
.nm-tuyo-fila b { color: #10241a; }
.nm-leyenda { margin: 0; font-size: calc(13px * var(--lg, 1)); line-height: 1.45; color: #4b6357; text-align: center; }
.nm-vacio, .nm-cargando { margin: 0; padding: 18px 4px; text-align: center; color: #4b6357; font-size: calc(16px * var(--lg, 1)); }

/* Hoja que sube desde abajo (Jugar, paso del número) */
#nm-ov { position: fixed; inset: 0; background: rgba(6,32,20,.55); z-index: 900; display: flex; align-items: flex-end; }
.nm-hoja { background: #eef5f1; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; }
.nm-hoja-cab { position: relative; padding: 18px 18px 12px; background: #fff; border-radius: 22px 22px 0 0; border-bottom: 1px solid #d7e8df; font-family: 'Figtree', var(--fuente); }
.nm-hoja-cab h2 { margin: 0; font-size: calc(22px * var(--lg, 1)); font-weight: 900; color: #10241a; }
.nm-hoja-cab p { margin: 4px 52px 0 0; font-size: calc(15px * var(--lg, 1)); color: #4b6357; line-height: 1.4; }
.nm-hoja-x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f1f5f9; color: #475569;
  font-size: 24px; font-weight: 900; cursor: pointer; }
.nm-hoja-cuerpo { overflow-y: auto; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
html.nm-hoja-abierta, html.nm-hoja-abierta body { overflow: hidden; }
@media (min-width: 700px) {
  #nm-ov { align-items: center; justify-content: center; }
  .nm-hoja { max-width: 560px; border-radius: 22px; }
}
