/* ==========================================================================
   NUEVARIFA.COM — PORTADA REDISEÑADA DESDE CERO (Editorial + Bento + Cinema)
   Se carga después de home.css y reemplaza por completo la estética de <main>.
   ========================================================================== */

:root {
  --nr-ink: #0f172a;
  --nr-ink-2: #334155;
  --nr-muted: #64748b;
  --nr-paper: #fdfcf9;
  --nr-surface: #ffffff;
  --nr-stone: #f3f1ec;
  --nr-border: #e2e0d8;
  --nr-emerald: #0b6e4f;
  --nr-emerald-deep: #064e3b;
  --nr-emerald-bright: #10b981;
  --nr-emerald-tint: #ecfdf5;
  --nr-gold: #f59e0b;
  --nr-gold-tint: #fef3c7;
  --nr-coral: #dc2626;
  --nr-coral-tint: #fef2f2;
  --nr-slate-950: #090d16;
  --nr-slate-900: #111827;
  --nr-slate-800: #1e293b;
}

html {
  overflow-x: clip;
}

body {
  background: var(--nr-paper);
  color: var(--nr-ink);
}

/* Cabecera refinada con efecto vidrio limpio */
.site-header {
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nr-border);
}

/* Utilidades de sección */
.nr-wrap {
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.nr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nr-emerald);
  margin-bottom: 0.85rem;
}

.nr-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--nr-emerald);
  border-radius: 2px;
}

.nr-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.95rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--nr-ink);
  margin-bottom: 0.85rem;
}

.nr-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: var(--nr-ink-2);
  max-width: 60ch;
}

/* ==========================================================================
   1. HERO ASIMÉTRICO CON DISPOSITIVO MÓVIL EN VIVO
   ========================================================================== */
.nr-hero {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 55% at 88% 15%, rgba(16, 185, 129, 0.14), transparent 70%),
    radial-gradient(45% 45% at 5% 80%, rgba(245, 158, 11, 0.08), transparent 70%),
    var(--nr-paper);
  border-bottom: 1px solid var(--nr-border);
}

.nr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.nr-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--nr-ink);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.35rem;
}

.nr-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nr-emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28);
}

.nr-h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--nr-ink);
  margin-bottom: 1.25rem;
}

.nr-h1 span {
  color: var(--nr-emerald);
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.35);
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

.nr-hero-sub {
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.55;
  color: var(--nr-ink-2);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.nr-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.9rem;
}

.nr-hero-cta .btn-primary.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
  font-weight: 800;
  border-radius: 14px;
  background: var(--nr-emerald);
  box-shadow: 0 12px 28px -8px rgba(11, 110, 79, 0.48);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.nr-hero-cta .btn-primary.btn-lg:hover {
  background: var(--nr-emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(11, 110, 79, 0.55);
}

.nr-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--nr-border);
  background: var(--nr-surface);
  color: var(--nr-ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nr-btn-secondary:hover {
  border-color: var(--nr-emerald);
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
}

.nr-btn-secondary svg {
  width: 18px;
  height: 18px;
  color: var(--nr-emerald);
}

.nr-hero-note {
  font-size: 0.875rem;
  color: var(--nr-muted);
  margin-bottom: 1.65rem;
}

.nr-hero-note strong {
  color: var(--nr-ink);
}

/* RF-050: la primera rifa gratis, destacada en el hero y en la tarjeta de precios. */
.nr-hero-free {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  margin-bottom: 0.85rem;
  border: 2px solid var(--nr-emerald);
  border-radius: 14px;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  font-size: 1rem;
  line-height: 1.4;
}

.nr-hero-free strong {
  color: var(--nr-emerald-deep);
  font-weight: 800;
}

.nr-hero-free-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nr-gold);
  color: var(--nr-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nr-tier-free {
  padding: 10px 14px;
  margin-bottom: 1.35rem;
  border-radius: 12px;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  font-size: 0.95rem;
}

.nr-tier-free strong {
  font-weight: 800;
}

.nr-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 1.35rem;
  border-top: 1px solid var(--nr-border);
  margin-bottom: 1.25rem;
}

.nr-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nr-ink-2);
}

.nr-hero-facts svg {
  width: 16px;
  height: 16px;
  color: var(--nr-emerald);
  flex-shrink: 0;
}

.hero-nature {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--nr-muted);
  max-width: 62ch;
}

/* Mockup de Teléfono Interactivo (Hero derecha) */
.nr-stage {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  isolation: isolate;
}

.nr-stage::before {
  content: '';
  position: absolute;
  inset: 8% 10% 4%;
  border-radius: 56px;
  background: radial-gradient(circle at 50% 42%, rgba(11, 110, 79, 0.24), rgba(15, 23, 42, 0.08) 58%, transparent 76%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.nr-phone {
  position: relative;
  width: 100%;
  max-width: min(358px, calc(100% - 8px));
  margin-inline: auto;
  background: linear-gradient(145deg, #273244 0%, #0f172a 38%, #090d16 100%);
  border-radius: 48px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 44px 84px -18px rgba(15, 23, 42, 0.46),
    0 22px 42px -14px rgba(15, 23, 42, 0.32),
    0 6px 14px -4px rgba(15, 23, 42, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.32),
    inset 0 0 0 2px #050811;
}

/* Botones metálicos laterales del smartphone */
.nr-phone-btn-vol,
.nr-phone-btn-pwr {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #64748b, #1e293b);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.nr-phone-btn-vol { left: -3px; }
.nr-phone-vol-up { top: 104px; height: 38px; }
.nr-phone-vol-dn { top: 150px; height: 38px; }
.nr-phone-btn-pwr { right: -3px; top: 122px; height: 56px; }

.nr-phone-screen {
  margin: 0;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
  border-radius: 38px;
  padding: 12px 15px 12px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    inset 0 2px 6px rgba(15, 23, 42, 0.04);
}

/* Barra de estado realista + Dynamic Island */
.nr-phone-statusbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 8px;
}

.nr-phone-time {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nr-ink);
  letter-spacing: -0.02em;
  padding-left: 6px;
}

.nr-phone-island {
  position: relative;
  width: 84px;
  height: 22px;
  background: #090d16;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nr-phone-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #1e3a8a 45%, #020617 85%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nr-phone-sys {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding-right: 4px;
}

.nr-phone-net {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--nr-ink);
}

.nr-phone-batt {
  position: relative;
  width: 18px;
  height: 9px;
  border: 1.2px solid rgba(15, 23, 42, 0.45);
  border-radius: 3px;
  padding: 1px;
  display: inline-flex;
}

.nr-phone-batt i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: 1.5px;
  background: var(--nr-emerald);
}

/* Barra mini navegador */
.nr-phone-browser {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--nr-border);
  margin-bottom: 9px;
  font-size: 0.68rem;
}

.nr-phone-lock {
  font-size: 0.64rem;
  line-height: 1;
}

.nr-phone-url {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: var(--nr-ink-2);
}

.nr-phone-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nr-phone .board-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nr-emerald-bright);
  animation: nrLivePulse 1.8s ease-in-out infinite;
}

/* Tarjeta superior fiel a publico.html */
.nr-phone-raffle-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 10px 22px -8px rgba(15, 23, 42, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
}

.nr-phone-thumb {
  position: relative;
  width: 82px;
  height: 66px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  box-shadow: 0 4px 10px -2px rgba(15, 23, 42, 0.18);
}

.nr-phone-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nr-phone-verif {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 800;
}

.nr-phone-raffle-meta {
  flex: 1;
  min-width: 0;
}

.nr-phone-org {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--nr-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nr-phone .board-title {
  display: block;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--nr-ink);
  line-height: 1.18;
  margin-top: 1px;
}

.nr-phone-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.nr-phone .board-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  white-space: nowrap;
}

.nr-phone-direct {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--nr-emerald);
}

.nr-phone-board-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.nr-phone-board-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--nr-ink);
}

.nr-phone .board-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 11px;
}

.nr-phone .cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--nr-surface);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--nr-ink);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nr-phone .cell.is-reserved {
  background: var(--nr-gold-tint);
  border-color: #fcd34d;
  color: #92400e;
}

.nr-phone .cell.is-paid {
  background: var(--nr-emerald-tint);
  border-color: rgba(11, 110, 79, 0.32);
  color: var(--nr-emerald-deep);
}

.nr-phone .cell.is-scan {
  background: var(--nr-emerald-bright);
  border-color: var(--nr-emerald-bright);
  color: #ffffff;
  transform: scale(1.08);
}

.nr-phone .cell.is-winner {
  background: var(--nr-gold);
  border-color: #d97706;
  color: #111827;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
  transform: scale(1.08);
}

.nr-phone .board-progress {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 6px;
}

.nr-phone .board-progress span {
  display: block;
  height: 100%;
  width: calc(var(--sold, 0.6) * 100%);
  background: linear-gradient(90deg, var(--nr-emerald) 0%, var(--nr-emerald-bright) 100%);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nr-phone .board-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--nr-ink-2);
  margin-bottom: 8px;
}

.nr-phone .board-status .is-win {
  color: var(--nr-emerald);
  font-weight: 800;
}

.nr-phone .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--nr-muted);
  margin: 0;
}

.nr-phone .legend span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nr-phone .legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  border: 1px solid var(--nr-border);
  background: #ffffff;
  display: inline-block;
}

.nr-phone .legend i.lg-reserved { background: var(--nr-gold-tint); border-color: #fcd34d; }
.nr-phone .legend i.lg-paid { background: var(--nr-emerald-tint); border-color: rgba(11, 110, 79, 0.38); }
.nr-phone .legend i.lg-winner { background: var(--nr-gold); border-color: #d97706; }

.nr-phone-bizum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  padding: 9px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(11, 110, 79, 0.24);
  box-shadow: 0 8px 18px -6px rgba(11, 110, 79, 0.22);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--nr-emerald-deep);
}

.nr-phone-bizum strong {
  font-family: var(--font-mono);
  white-space: nowrap;
}

.nr-phone-homebar {
  width: 108px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  margin: 10px auto 0;
}

/* ==========================================================================
   2. BANDA DE MÉTRICAS EN OSCURO (CONTRASTE DE MARCA)
   ========================================================================== */
.nr-stats {
  background: var(--nr-slate-950);
  color: #ffffff;
  padding: 28px 0;
}

.nr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.nr-stat {
  border-left: 2px solid rgba(16, 185, 129, 0.45);
  padding-left: 16px;
}

.nr-stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #6ee7b7;
  line-height: 1.1;
  margin-bottom: 4px;
}

.nr-stat-lbl {
  display: block;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.38;
}

/* ==========================================================================
   3. BENTO DE PROBLEMA Y SOLUCIÓN (ADIÓS FOLIO, HOLA DIGITAL)
   ========================================================================== */
.nr-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.nr-section-alt {
  background: var(--nr-surface);
  border-top: 1px solid var(--nr-border);
  border-bottom: 1px solid var(--nr-border);
}

.nr-sec-head {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.nr-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.nr-bento-card {
  border-radius: 22px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid var(--nr-border);
  background: var(--nr-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.nr-bento-bizum {
  grid-column: span 12;
  background: var(--nr-emerald-deep);
  border-color: var(--nr-emerald-deep);
  color: #ffffff;
}

.nr-bento-bars {
  grid-column: span 4;
}

.nr-bento-clubs {
  grid-column: span 4;
}

.nr-bento-shield {
  grid-column: span 4;
}

.nr-bento-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  margin-bottom: 8px;
}

.nr-bento-bizum .nr-bento-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #a7f3d0;
}

.nr-bento-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.nr-bento-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--nr-ink-2);
}

.nr-bento-bizum p {
  color: #d1fae5;
}

.nr-bizum-mock {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.nr-bizum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.nr-bizum-row > span:first-child {
  min-width: 0;
}

.nr-bizum-row strong {
  font-family: var(--font-mono);
  color: #6ee7b7;
  white-space: nowrap;
  flex-shrink: 0;
}

.nr-bizum-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #10b981;
  color: #022c22;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.nr-sellers-mini {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--nr-stone);
  border: 1px solid var(--nr-border);
}

.nr-sellers-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--nr-ink-2);
}

.nr-sellers-mini-row strong {
  font-family: var(--font-mono);
  color: var(--nr-emerald-deep);
  white-space: nowrap;
}

.nr-math-pill {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--nr-stone);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nr-emerald-deep);
}

/* ==========================================================================
   4. PROCESO EN 3 PASOS (RECORRIDO ANIMADO INTERACTIVO)
   ========================================================================== */
#como-organizador .nr-h2 {
  text-wrap: balance;
}

.nr-steps-cta {
  margin-top: clamp(22px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.nr-steps-cta .btn {
  min-height: 44px;
}

.nr-steps-note {
  font-size: 0.85rem;
  color: var(--nr-muted);
  font-weight: 500;
}

/* ==========================================================================
   5. ESCENARIO MODO PANTALLA 24/7 (TV · TABLET · MÓVIL) (#pantalla)
   ========================================================================== */
.nr-cinema {
  background: radial-gradient(85% 65% at 50% 0%, #17253d 0%, var(--nr-slate-950) 72%);
  color: #ffffff;
  padding: clamp(3.75rem, 7.5vw, 6.5rem) 0;
}

.nr-cinema .nr-kicker {
  color: #6ee7b7;
}
.nr-cinema .nr-kicker::before {
  background: #6ee7b7;
}
.nr-cinema .nr-h2 {
  color: #ffffff;
}
.nr-cinema .nr-lead {
  color: #cbd5e1;
}

.nr-tv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.72fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: center;
}

.nr-disp-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

/* Barra selector de dispositivo (Smart TV · Tablet · Móvil) */
.nr-device-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.nr-device-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.nr-device-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nr-device-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nr-device-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nr-device-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nr-device-btn.is-active {
  background: #ffffff;
  color: var(--nr-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Marco del dispositivo simulado (Smart TV · Tablet · Móvil) */
.nr-disp-frame {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #1e293b 0%, #090d16 42%, #020617 100%);
  border-radius: clamp(10px, 1.8vw, 16px);
  padding: clamp(6px, 1.1vw, 10px) clamp(6px, 1.1vw, 10px) 0;
  border: 1.5px solid rgba(148, 163, 184, 0.34);
  box-shadow:
    0 32px 70px -15px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: max-width 0.28s ease, border-radius 0.28s ease, padding 0.28s ease;
}

/* Elementos hardware específicos por dispositivo (ocultos por defecto) */
.nr-hw-tab-pwr,
.nr-hw-tab-cam,
.nr-hw-btn,
.nr-hw-phone-status,
.nr-hw-phone-home {
  display: none;
}

/* Smart TV: barbilla inferior + LED de encendido + peana metálica 2 piezas */
.nr-hw-tv-chin {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(10px, 1.6vw, 15px);
  position: relative;
}

.nr-hw-tv-chin::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}

.nr-hw-tv-led {
  position: absolute;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}

.nr-disp-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  margin-bottom: 4px;
}

.nr-disp-stand-neck {
  display: block;
  width: clamp(38px, 10vw, 66px);
  height: clamp(12px, 2.4vw, 22px);
  background: linear-gradient(180deg, #1e293b 0%, #64748b 55%, #475569 100%);
  clip-path: polygon(16% 0%, 84% 0%, 100% 100%, 0% 100%);
}

.nr-disp-stand-base {
  display: block;
  width: clamp(118px, 34%, 210px);
  height: clamp(6px, 1vw, 8px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(71, 85, 105, 0.7), #cbd5e1 35%, #f8fafc 50%, #cbd5e1 65%, rgba(71, 85, 105, 0.7));
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Tablet de barra: aluminio cepillado, cámara frontal, botón superior y formato 4:3 */
.nr-disp-stage[data-device="tablet"] .nr-disp-frame {
  background: linear-gradient(145deg, #334155 0%, #0f172a 55%, #1e293b 100%);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(14px, 2.4vw, 20px) clamp(11px, 2vw, 18px);
  border: 1.5px solid rgba(203, 213, 225, 0.36);
  max-width: 580px;
  margin-top: 5px;
  margin-inline: auto;
  box-shadow:
    0 28px 60px -14px rgba(2, 6, 23, 0.78),
    inset 0 0 0 2px #020617,
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.nr-disp-stage[data-device="tablet"] .nr-hw-tab-pwr {
  display: block;
  position: absolute;
  top: -4px;
  right: 36px;
  width: 28px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #64748b, #cbd5e1, #64748b);
}

.nr-disp-stage[data-device="tablet"] .nr-hw-tab-cam {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: clamp(4px, 0.8vw, 7px);
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.nr-disp-stage[data-device="tablet"] .nr-hw-tab-cam i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8, #0f172a);
}

.nr-disp-stage[data-device="tablet"] .nr-hw-tv-chin,
.nr-disp-stage[data-device="tablet"] .nr-disp-stand {
  display: none;
}

/* Móvil puesto: chasis vertical titanio, botones laterales, Dynamic Island y Home bar */
.nr-disp-stage[data-device="phone"] .nr-disp-frame {
  background: linear-gradient(150deg, #334155 0%, #0f172a 48%, #1e293b 100%);
  border-radius: 42px;
  padding: 9px;
  border: 1.5px solid rgba(226, 232, 240, 0.32);
  max-width: min(312px, calc(100% - 10px));
  margin-inline: auto;
  box-shadow:
    0 30px 64px -14px rgba(2, 6, 23, 0.85),
    inset 0 0 0 2px #020617;
}

.nr-disp-stage[data-device="phone"] .nr-hw-btn {
  display: block;
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #94a3b8, #334155);
}
.nr-disp-stage[data-device="phone"] .nr-hw-vol-up { left: -4px; top: 92px; height: 32px; }
.nr-disp-stage[data-device="phone"] .nr-hw-vol-dn { left: -4px; top: 134px; height: 32px; }
.nr-disp-stage[data-device="phone"] .nr-hw-pwr { right: -4px; top: 108px; height: 48px; }

.nr-disp-stage[data-device="phone"] .nr-hw-phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 14px 4px;
  background: rgba(15, 23, 42, 0.96);
  flex-shrink: 0;
}

.nr-hw-time {
  font-size: 0.66rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.nr-hw-island {
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.nr-hw-island i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8, #1e3a8a 50%, #020617);
}

.nr-hw-sys {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.58rem;
  font-weight: 800;
  color: #f8fafc;
}

.nr-hw-batt {
  width: 16px;
  height: 8px;
  border: 1px solid rgba(248, 250, 252, 0.55);
  border-radius: 2.5px;
  padding: 1px;
  display: inline-flex;
}

.nr-hw-batt b {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: 1px;
  background: #34d399;
}

.nr-disp-stage[data-device="phone"] .nr-hw-phone-home {
  display: block;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.35);
  margin: 4px auto 6px;
  flex-shrink: 0;
}

.nr-disp-stage[data-device="phone"] .nr-hw-tv-chin,
.nr-disp-stage[data-device="phone"] .nr-disp-stand {
  display: none;
}

/* Pantalla interna + Container Queries para TV (16:9) y Tablet (4:3) */
.nr-disp-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(6px, 1vw, 10px);
  overflow: hidden;
  background: linear-gradient(180deg, #0b1120 0%, #070b14 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  color: #f8fafc;
  container-type: inline-size;
  container-name: nrdisp;
}

.nr-disp-stage[data-device="tablet"] .nr-disp-screen {
  aspect-ratio: 4 / 3;
  border-radius: clamp(10px, 1.5vw, 14px);
}

.nr-disp-stage[data-device="phone"] .nr-disp-screen {
  aspect-ratio: auto;
  min-height: 460px;
  border-radius: 32px;
  container-type: normal;
}

.nr-disp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.nr-disp-logo {
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}
.nr-disp-brand { color: #34d399; }

.nr-disp-raffle-title {
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.nr-disp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nr-disp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: nrLivePulse 1.8s ease-in-out infinite;
}

.nr-disp-views {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}

.nr-disp-view {
  display: none;
  width: 100%;
  padding: 13px 15px;
  gap: 14px;
  align-items: stretch;
}

.nr-disp-view.is-active {
  display: flex;
  animation: nrSlideIn 0.35s ease;
}

/* Vista 1: Tablero */
.nr-disp-board {
  flex: 1.35;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.nr-disp-board-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.nr-disp-range {
  font-weight: 700;
  color: #f1f5f9;
}

.nr-disp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nr-disp-leg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nr-disp-sw {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}
.nr-disp-sw-free { background: #1e293b; border: 1px solid #475569; }
.nr-disp-sw-res { background: #f59e0b; }
.nr-disp-sw-sold { background: #10b981; }

.nr-disp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  flex: 1;
  align-content: stretch;
}

.nr-disp-cell {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: #172033;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.22s ease;
}

.nr-disp-cell.is-sold {
  background: #065f46;
  border-color: rgba(52, 211, 153, 0.4);
  color: #ecfdf5;
}

.nr-disp-cell.is-res {
  background: #b45309;
  border-color: rgba(251, 191, 36, 0.55);
  color: #fffbeb;
}

.nr-disp-cell.is-hit {
  background: #f59e0b;
  border-color: #fde68a;
  color: #111827;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.nr-disp-cell.is-flash {
  transform: scale(1.08);
  animation: nrCellPulse 0.75s ease;
}

.nr-disp-side {
  flex: 0.92;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
}

.nr-disp-prize-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nr-disp-prize-thumb {
  position: relative;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  background: #1e293b;
}

.nr-disp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nr-disp-thumb-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.92);
  color: #ecfdf5;
  border: 1px solid rgba(52, 211, 153, 0.45);
  white-space: nowrap;
}

.nr-disp-prize-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.nr-disp-prize-desc {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.3;
}

.nr-disp-meter-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nr-disp-facts {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.nr-disp-stat-box,
.nr-disp-price-box {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nr-disp-price-box {
  text-align: right;
}

.nr-disp-stat-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #6ee7b7;
}

.nr-disp-price-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.nr-disp-stat-lbl,
.nr-disp-price-lbl {
  font-size: 0.66rem;
  color: #94a3b8;
}

.nr-disp-meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.nr-disp-meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.35s ease;
}

.nr-disp-qr-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--nr-ink);
  padding: 6px 8px;
  border-radius: 9px;
}

.nr-disp-qr-box {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nr-disp-qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nr-disp-qr-txt { min-width: 0; }
.nr-disp-qr-cta { font-size: 0.68rem; font-weight: 800; line-height: 1.15; color: var(--nr-ink); }
.nr-disp-qr-sub { font-size: 0.6rem; color: var(--nr-muted); display: block; }

/* Vista 2: Premio */
.nr-disp-prize-hero {
  flex: 1.02;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #1e293b;
}

.nr-disp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nr-disp-hero-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(6, 78, 59, 0.92);
  color: #ecfdf5;
  border: 1px solid rgba(52, 211, 153, 0.45);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.nr-disp-prize-info,
.nr-disp-qr-steps,
.nr-disp-winner-info-card {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.nr-disp-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #6ee7b7;
  text-transform: uppercase;
}

.nr-disp-slide-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.nr-disp-slide-sub {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.nr-disp-prize-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.nr-disp-pill-stat {
  display: flex;
  flex-direction: column;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nr-disp-pill-stat strong {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #ffffff;
}

.nr-disp-pill-stat.is-accent strong {
  color: #6ee7b7;
}

.nr-disp-pill-stat span {
  font-size: 0.66rem;
  color: #94a3b8;
}

/* Vista 3: QR gigante */
.nr-disp-qr-hero-card,
.nr-disp-winner-badge-card {
  flex: 0.88;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  gap: 10px;
  text-align: center;
}

.nr-disp-qr-big-box {
  position: relative;
  width: 112px;
  height: 112px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.nr-disp-qr-big-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nr-disp-scanline {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(16, 185, 129, 0.85);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: nrQrScan 2.6s ease-in-out infinite;
}

.nr-disp-qr-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #10b981;
  color: #022c22;
  font-size: 0.68rem;
  font-weight: 800;
}

.nr-disp-url-chip {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #6ee7b7;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.nr-disp-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nr-disp-steps-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: #e2e8f0;
}

.nr-disp-step-n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  font-size: 0.68rem;
  font-weight: 800;
}

/* Vista 4: Ganador + Acta */
.nr-disp-winner-ring {
  padding: 12px 22px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(251, 191, 36, 0.45);
  animation: nrWinnerGlow 2.4s ease-in-out infinite;
}

.nr-disp-winner-big-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.nr-disp-winner-caption {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fde68a;
}

.nr-disp-winner-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.nr-disp-winner-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-size: 0.7rem;
  color: #d1fae5;
}

.nr-disp-next-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

/* Notificación flotante segura (no pisa cifras ni tarjetas inferiores) */
.nr-disp-alert {
  position: absolute;
  top: 44px;
  right: 12px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nr-disp-alert.is-on {
  opacity: 1;
  transform: translateY(0);
}

.nr-disp-alert-bubble {
  background: #10b981;
  color: #022c22;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.nr-disp-ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  padding: 7px 14px;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: #94a3b8;
  flex-shrink: 0;
}

.nr-disp-ticker-nums {
  font-family: var(--font-mono);
  color: #e2e8f0;
  font-weight: 700;
}

.nr-disp-ticker-alert {
  color: #6ee7b7;
  font-weight: 700;
}

/* Vista teléfono dentro del visor (vertical siempre) */
.nr-disp-stage[data-device="phone"] .nr-disp-raffle-title {
  display: none;
}

.nr-disp-stage[data-device="phone"] .nr-disp-view {
  flex-direction: column;
  padding: 12px;
  gap: 10px;
}

.nr-disp-stage[data-device="phone"] .nr-disp-prize-mini {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.nr-disp-stage[data-device="phone"] .nr-disp-prize-thumb {
  width: 68px;
  height: 52px;
  flex-shrink: 0;
}

.nr-disp-stage[data-device="phone"] .nr-disp-thumb-tag {
  display: none;
}

.nr-disp-stage[data-device="phone"] .nr-disp-prize-hero {
  flex: none;
  height: 155px;
}

/* Escalado proporcional con Container Queries para Smart TV (16:9) y Tablet (4:3) */
@container nrdisp (max-width: 520px) {
  .nr-disp-bar {
    padding: clamp(3px, 1.3cqw, 9px) clamp(6px, 2.2cqw, 14px);
    font-size: clamp(7.5px, 1.45cqw, 12px);
    gap: clamp(4px, 1.4cqw, 8px);
  }
  .nr-disp-live-pill {
    padding: clamp(2px, 0.5cqw, 3px) clamp(5px, 1.5cqw, 9px);
    font-size: clamp(6.5px, 1.25cqw, 11px);
    gap: 4px;
  }
  .nr-disp-live-dot {
    width: clamp(5px, 1.1cqw, 7px);
    height: clamp(5px, 1.1cqw, 7px);
  }
  .nr-disp-raffle-title {
    display: none;
  }
  .nr-disp-view {
    padding: clamp(5px, 2.1cqw, 13px) clamp(6px, 2.3cqw, 15px);
    gap: clamp(6px, 2.2cqw, 14px);
    min-height: 0;
  }
  .nr-disp-board-head {
    font-size: clamp(6.5px, 1.25cqw, 11px);
    margin-bottom: clamp(3px, 1.1cqw, 8px);
    gap: clamp(3px, 1cqw, 6px);
  }
  .nr-disp-legend {
    gap: clamp(4px, 1.4cqw, 8px);
  }
  .nr-disp-grid {
    gap: clamp(2px, 0.8cqw, 5px);
  }
  .nr-disp-cell {
    min-height: 0;
    font-size: clamp(7px, 1.35cqw, 11.5px);
    border-radius: clamp(3px, 1cqw, 6px);
  }
  .nr-disp-side {
    padding: clamp(4px, 1.7cqw, 10px);
    gap: clamp(3px, 1.2cqw, 8px);
    border-radius: clamp(6px, 1.8cqw, 12px);
  }
  .nr-disp-prize-mini {
    gap: clamp(2px, 0.8cqw, 6px);
  }
  .nr-disp-prize-thumb {
    height: clamp(24px, 9.5cqw, 64px);
    border-radius: clamp(4px, 1.2cqw, 8px);
  }
  .nr-disp-thumb-tag,
  .nr-disp-prize-desc,
  .nr-disp-qr-sub {
    display: none;
  }
  .nr-disp-prize-name {
    font-size: clamp(7.5px, 1.45cqw, 13px);
  }
  .nr-disp-stat-num {
    font-size: clamp(10px, 2.1cqw, 17px);
  }
  .nr-disp-price-num {
    font-size: clamp(8.5px, 1.7cqw, 15px);
  }
  .nr-disp-stat-lbl,
  .nr-disp-price-lbl {
    font-size: clamp(6px, 1.15cqw, 10.5px);
  }
  .nr-disp-meter {
    height: clamp(3px, 0.8cqw, 5px);
  }
  .nr-disp-qr-card {
    padding: clamp(3px, 1cqw, 6px) clamp(4px, 1.2cqw, 8px);
    gap: clamp(4px, 1.2cqw, 8px);
    border-radius: clamp(5px, 1.4cqw, 9px);
  }
  .nr-disp-qr-box {
    width: clamp(18px, 5.5cqw, 34px);
    height: clamp(18px, 5.5cqw, 34px);
  }
  .nr-disp-qr-cta {
    font-size: clamp(6.5px, 1.25cqw, 11px);
  }
  .nr-disp-kicker {
    font-size: clamp(6px, 1.15cqw, 10.5px);
  }
  .nr-disp-slide-title {
    font-size: clamp(9.5px, 2.1cqw, 17px);
  }
  .nr-disp-slide-sub {
    font-size: clamp(7px, 1.35cqw, 12px);
    line-height: 1.32;
  }
  .nr-disp-pill-stat {
    padding: clamp(3px, 1cqw, 7px) clamp(5px, 1.6cqw, 11px);
  }
  .nr-disp-pill-stat strong {
    font-size: clamp(8px, 1.7cqw, 14px);
  }
  .nr-disp-pill-stat span {
    font-size: clamp(6px, 1.15cqw, 10.5px);
  }
  .nr-disp-qr-hero-card,
  .nr-disp-winner-badge-card {
    padding: clamp(6px, 2cqw, 14px);
    gap: clamp(4px, 1.4cqw, 10px);
    border-radius: clamp(8px, 2cqw, 14px);
  }
  .nr-disp-qr-big-box {
    width: clamp(54px, 18cqw, 112px);
    height: clamp(54px, 18cqw, 112px);
    padding: clamp(3px, 1.2cqw, 8px);
  }
  .nr-disp-qr-hero-tag,
  .nr-disp-url-chip {
    font-size: clamp(6.5px, 1.25cqw, 11px);
    padding: clamp(2px, 0.7cqw, 4px) clamp(5px, 1.5cqw, 10px);
  }
  .nr-disp-steps-list {
    gap: clamp(3px, 1cqw, 6px);
  }
  .nr-disp-steps-list li {
    font-size: clamp(6.8px, 1.3cqw, 11.5px);
    gap: clamp(4px, 1.2cqw, 8px);
  }
  .nr-disp-step-n {
    width: clamp(13px, 3cqw, 18px);
    height: clamp(13px, 3cqw, 18px);
    font-size: clamp(6.5px, 1.2cqw, 10.5px);
  }
  .nr-disp-winner-ring {
    padding: clamp(5px, 1.8cqw, 12px) clamp(8px, 3cqw, 22px);
  }
  .nr-disp-winner-big-num {
    font-size: clamp(18px, 5.2cqw, 38px);
  }
  .nr-disp-winner-caption {
    font-size: clamp(6px, 1.15cqw, 10px);
  }
  .nr-disp-winner-info-card {
    padding: clamp(6px, 2cqw, 14px);
    gap: clamp(3px, 1.2cqw, 8px);
  }
  .nr-disp-winner-next {
    font-size: clamp(6.5px, 1.2cqw, 11px);
    padding: clamp(3px, 0.9cqw, 6px) clamp(5px, 1.4cqw, 10px);
  }
  .nr-disp-hero-badge {
    top: clamp(4px, 1.4cqw, 10px);
    left: clamp(4px, 1.4cqw, 10px);
    font-size: clamp(6.5px, 1.25cqw, 10.5px);
    padding: clamp(2px, 0.6cqw, 4px) clamp(5px, 1.4cqw, 10px);
  }
  .nr-disp-alert {
    top: clamp(22px, 6cqw, 44px);
    right: clamp(6px, 1.8cqw, 12px);
  }
  .nr-disp-alert-bubble {
    font-size: clamp(6.8px, 1.25cqw, 11px);
    padding: clamp(2px, 0.7cqw, 5px) clamp(6px, 1.6cqw, 11px);
  }
  .nr-disp-ticker {
    flex-wrap: nowrap;
    padding: clamp(3px, 1.1cqw, 7px) clamp(6px, 2.2cqw, 14px);
    font-size: clamp(6.8px, 1.25cqw, 11px);
    gap: 6px;
  }
  .nr-disp-ticker-left,
  .nr-disp-ticker-alert {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
}

@container nrdisp (max-width: 340px) {
  .nr-disp-qr-sub,
  .nr-disp-hero-badge,
  .nr-disp-winner-next {
    display: none;
  }
  .nr-disp-prize-stats {
    gap: 4px;
  }
}

.nr-disp-stage[data-device="phone"] .nr-disp-alert {
  top: 38px;
  right: 10px;
}

.nr-disp-stage[data-device="phone"] .nr-disp-alert-bubble {
  font-size: 0.64rem;
  padding: 4px 9px;
}

/* Controles de escenas con indicador de progreso */
.nr-disp-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.nr-disp-controls .tv-ctrl-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nr-disp-controls .tv-ctrl-btn.is-active {
  background: var(--nr-emerald-bright);
  border-color: var(--nr-emerald-bright);
  color: #022c22;
}

.nr-ctrl-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(2, 44, 34, 0.42);
  transform-origin: left center;
  transform: scaleX(0);
}

.nr-disp-controls .tv-ctrl-btn.is-active .nr-ctrl-bar {
  animation: nrCtrlProgress 4s linear forwards;
}

.nr-disp-stage.is-paused .nr-disp-controls .tv-ctrl-btn.is-active .nr-ctrl-bar {
  animation-play-state: paused;
}

.nr-disp-controls .nr-ctrl-pause {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nr-disp-controls .nr-ctrl-pause:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Columna derecha de beneficios + CTA */
.nr-tv-callouts {
  display: grid;
  gap: 12px;
}

.nr-tv-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nr-callout-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-size: 1.05rem;
}

.nr-tv-callout h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.nr-tv-callout p {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.nr-tv-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.nr-tv-cta-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

@keyframes nrLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); opacity: 0.72; }
}

@keyframes nrSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nrCellPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes nrQrScan {
  0%, 100% { top: 10px; opacity: 0.35; }
  50% { top: calc(100% - 12px); opacity: 1; }
}

@keyframes nrWinnerGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.25); }
  50% { box-shadow: 0 0 26px 4px rgba(245, 158, 11, 0.35); }
}

@keyframes nrCtrlProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ==========================================================================
   6. PRECIOS + CALCULADORA DE RECAUDACIÓN (#precios)
   ========================================================================== */
.nr-calc {
  background: var(--nr-surface);
  border: 1px solid var(--nr-border);
  border-radius: 24px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.08);
}

.nr-calc h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.nr-calc-sub {
  font-size: 0.9375rem;
  color: var(--nr-muted);
  margin-bottom: 1.25rem;
}

.nr-calc-group {
  margin-bottom: 1rem;
}

.nr-calc-lbl {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nr-ink);
  margin-bottom: 7px;
}

.roi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roi-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--nr-border);
  background: var(--nr-paper);
  color: var(--nr-ink);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.roi-pill.is-active {
  background: var(--nr-ink);
  border-color: var(--nr-ink);
  color: #ffffff;
}

.nr-calc-out {
  background: linear-gradient(150deg, var(--nr-emerald-deep) 0%, var(--nr-emerald) 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px;
}

.nr-calc-out-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin-bottom: 4px;
}

.nr-calc-net {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}

.nr-calc-rows {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.nr-calc-row {
  display: flex;
  justify-content: space-between;
  color: #ecfdf5;
}

.nr-calc-row strong {
  font-family: var(--font-mono);
}

.nr-calc-out .btn {
  width: 100%;
  justify-content: center;
  background: #ffffff;
  color: var(--nr-emerald-deep);
  font-weight: 800;
  border-radius: 12px;
}

/* Grid de tarifas + garantía de sorteo oficial */
.nr-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 22px;
  align-items: start;
}

.nr-tier-card {
  background: var(--nr-surface);
  border: 1px solid var(--nr-border);
  border-radius: 24px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.nr-tier-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.nr-tier-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.nr-tier-sub {
  font-size: 0.95rem;
  color: var(--nr-ink-2);
  margin-bottom: 1.35rem;
}

.price-table {
  display: grid;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--nr-paper);
  border: 1px solid var(--nr-border);
}

.price-row dt {
  font-weight: 700;
  color: var(--nr-ink);
  min-width: 0;
}

.price-row dd {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--nr-emerald);
  white-space: nowrap;
  flex-shrink: 0;
}

.price-row dd.is-quote {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--nr-muted);
  white-space: normal;
  text-align: right;
}

.nr-packs-wrap {
  padding-top: 1.25rem;
  border-top: 1px solid var(--nr-border);
  margin-bottom: 1.25rem;
}

.nr-packs-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.nr-packs-wrap h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.nr-packs-note {
  font-size: 0.875rem;
  color: var(--nr-muted);
  margin: 0;
  max-width: 44ch;
}

.nr-packs-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--nr-stone);
  border: 1px solid var(--nr-border);
}

.nr-pack-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--nr-ink-2);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nr-pack-tab em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.1);
  color: var(--nr-emerald-deep);
}

.nr-pack-tab.is-active {
  background: #ffffff;
  color: var(--nr-ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.nr-pack-tab.is-active em {
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
}

.nr-packs-subhint {
  font-size: 0.8rem;
  color: var(--nr-ink-2);
  background: var(--nr-paper);
  border: 1px solid var(--nr-border);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 8px 0 0;
  line-height: 1.45;
}

.nr-packs-scroll {
  overflow-x: auto;
}

.nr-packs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.nr-packs-table th,
.nr-packs-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--nr-border);
  text-align: left;
  vertical-align: top;
}

.nr-packs-table th em {
  display: inline-block;
  font-style: normal;
  background: var(--nr-emerald-tint);
  color: var(--nr-emerald-deep);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.nr-packs-table td {
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}

.nr-pack-unit {
  display: block;
  margin-top: 2px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--nr-muted);
  letter-spacing: 0;
}

.price-foot {
  font-size: 0.84rem;
  color: var(--nr-muted);
  line-height: 1.5;
}

.nr-trust-card {
  background: var(--nr-emerald-tint);
  border: 1.5px solid rgba(11, 110, 79, 0.25);
  border-radius: 24px;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.nr-trust-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nr-ink);
  margin-bottom: 8px;
}

.nr-trust-card p {
  font-size: 0.9375rem;
  color: var(--nr-ink-2);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.nr-trust-list {
  display: grid;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.nr-trust-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--nr-ink);
  font-weight: 600;
}

.nr-trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--nr-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.nr-trust-card .btn-primary {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
}

/* ==========================================================================
   7. FAQ EDITORIAL Y CIERRE
   ========================================================================== */
.nr-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.nr-faq-list {
  display: grid;
  gap: 10px;
}

.nr-faq-item {
  border: 1px solid var(--nr-border);
  border-radius: 16px;
  background: var(--nr-paper);
}

.nr-faq-item[open] {
  background: var(--nr-surface);
  border-color: var(--nr-emerald);
}

.nr-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--nr-ink);
}

.nr-faq-item summary::-webkit-details-marker {
  display: none;
}

.nr-faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--nr-emerald);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nr-faq-item[open] .nr-faq-chevron {
  transform: rotate(180deg);
}

.nr-faq-body {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--nr-ink-2);
}

.nr-closing {
  background: linear-gradient(135deg, var(--nr-emerald-deep) 0%, var(--nr-slate-950) 100%);
  color: #ffffff;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.nr-closing-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nr-closing-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 6px;
}

.nr-closing h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  max-width: 26ch;
}

.nr-closing p {
  color: #d1fae5;
  font-size: 0.98rem;
}

/* Fila «Síguenos» del cierre de la portada: botones redondos solo con el icono (el nombre va en aria-label). */
.nr-closing-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.nr-closing-social-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-right: 4px;
}

.nr-closing-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nr-closing-social .social-link::before {
  width: 20px;
  height: 20px;
}

.nr-closing-social .social-link:focus-visible {
  outline: 2px solid #6ee7b7;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .nr-closing-social .social-link:hover {
    background: #ffffff;
    color: var(--nr-emerald-deep);
  }
}

.nr-closing .btn-light {
  background: #ffffff;
  color: var(--nr-emerald-deep);
  font-weight: 800;
  border-radius: 14px;
  padding: 16px 28px;
}

/* Barra CTA fija en móvil */
.mobile-sticky-cta {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets y Móviles hasta 320px)
   ========================================================================== */
/* Seguridad estructural global frente a desbordamientos horizontales en rejillas */
.nr-hero-grid > *,
.nr-stats-grid > *,
.nr-bento-grid > *,
.nr-tv-layout > *,
.nr-pricing-grid > *,
.nr-calc > *,
.nr-faq-grid > * {
  min-width: 0;
  max-width: 100%;
}

.site-header .wrap,
.site-footer .wrap,
.footer-bottom,
.footer-copy {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .nr-bento-bizum,
  .nr-bento-bars,
  .nr-bento-clubs,
  .nr-bento-shield {
    grid-column: span 12;
  }
  .nr-pricing-grid,
  .nr-calc,
  .nr-tv-layout,
  .nr-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .nr-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .nr-hero-copy {
    display: contents;
  }
  .nr-badge-pill {
    order: 1;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .nr-h1 { order: 2; margin-bottom: 0.9rem; }
  .nr-hero-sub { order: 3; margin-bottom: 1.25rem; }
  .nr-hero-cta { order: 4; margin-bottom: 0.75rem; }
  .nr-hero-free { order: 4; }
  .nr-hero-note { order: 5; margin-bottom: 1.45rem; }
  .nr-stage { order: 6; margin-bottom: 1.75rem; }
  .nr-hero-facts { order: 7; margin-bottom: 1.1rem; }
  .hero-nature { order: 8; }
  .nr-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nr-buyer-banner {
    grid-template-columns: minmax(0, 1fr);
  }
  .nr-buyer-actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nr-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .nr-steps-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .nr-steps-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .nr-hero-cta .btn,
  .nr-btn-secondary {
    justify-content: center;
  }
  .nr-device-bar {
    gap: 8px;
  }
  .nr-device-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  /* Mantenemos en móvil la estética diferenciada: TV (16:9 + peana), Tablet (4:3 + cámara) y Móvil vertical */
  .nr-disp-stage[data-device="phone"] .nr-disp-frame {
    max-width: min(312px, calc(100% - 10px));
    border-radius: 36px;
    padding: 8px;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-screen {
    min-height: 430px;
    border-radius: 28px;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-view {
    padding: 10px;
    gap: 10px;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-cell {
    min-height: 28px;
    font-size: 0.7rem;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-qr-big-box {
    width: 96px;
    height: 96px;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-alert {
    top: 38px;
    right: 8px;
    left: 8px;
    display: flex;
    justify-content: flex-end;
  }
  .nr-disp-stage[data-device="phone"] .nr-disp-alert-bubble {
    font-size: 0.62rem;
    padding: 3px 8px;
  }
  .nr-packs-tabs {
    width: 100%;
  }
  .nr-packs-table {
    font-size: 0.72rem;
  }
  .nr-packs-table th,
  .nr-packs-table td {
    padding: 9px 4px;
  }
  .nr-packs-table th:first-child,
  .nr-packs-table td:first-child {
    padding-left: 0;
  }
  .nr-packs-table th:last-child,
  .nr-packs-table td:last-child {
    padding-right: 0;
  }
  .nr-pack-unit {
    font-size: 0.64rem;
  }
  .nr-phone-btn-vol,
  .nr-phone-btn-pwr,
  .nr-disp-stage[data-device="phone"] .nr-hw-btn {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-copy,
  .footer-copy p {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--nr-border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }
  .mobile-sticky-text {
    font-size: 0.78rem;
    line-height: 1.25;
    color: var(--nr-ink-2);
    min-width: 0;
  }
  .mobile-sticky-text strong {
    display: block;
    color: var(--nr-ink);
    font-size: 0.875rem;
  }
  .mobile-sticky-cta .btn {
    padding: 10px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .site-footer {
    padding-bottom: 78px;
  }
}

@media (max-width: 440px) {
  .nr-device-bar {
    gap: 8px;
  }
  .nr-device-pills {
    width: 100%;
    border-radius: 16px;
    justify-content: space-between;
    padding: 4px;
    gap: 4px;
  }
  .nr-device-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 6px 6px;
    font-size: 0.69rem;
    gap: 4px;
    white-space: nowrap;
  }
  .nr-device-btn svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 400px) {
  .nr-badge-pill {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  .nr-phone {
    max-width: 100%;
    padding: 8px;
    border-radius: 36px;
  }
  .nr-phone-screen {
    border-radius: 28px;
    padding: 9px 11px;
  }
  .nr-phone-raffle-card {
    gap: 8px;
    padding: 7px;
  }
  .nr-phone-thumb {
    width: 60px;
    height: 50px;
  }
  .nr-phone-bizum {
    padding: 7px 9px;
    font-size: 0.68rem;
    gap: 4px 6px;
  }
  .nr-pack-tab {
    padding: 7px 6px;
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.2;
  }
  .nr-stat {
    padding: 12px 10px;
  }
  .nr-stat-lbl {
    font-size: 0.74rem;
    overflow-wrap: anywhere;
  }
  .nr-calc {
    padding: 16px 14px;
  }
  .nr-packs-wrap {
    padding: 16px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nr-hero-cta .btn-primary.btn-lg,
  .nr-btn-secondary,
  .nr-phone .cell,
  .nr-faq-chevron,
  .nr-disp-cell,
  .nr-disp-meter-fill {
    transition: none;
  }
  .nr-phone .board-live-dot,
  .nr-disp-live-dot,
  .nr-disp-view.is-active,
  .nr-disp-cell.is-flash,
  .nr-disp-scanline,
  .nr-disp-winner-ring,
  .nr-disp-controls .tv-ctrl-btn.is-active .nr-ctrl-bar {
    animation: none;
  }
}

/* ---------- 5b. MAPA DE RIFAS PÚBLICAS (#mapa-rifas) ---------- */
.nr-section-map {
  background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
  border-top: 1px solid var(--nr-border);
  border-bottom: 1px solid var(--nr-border);
}

.nr-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nr-map-head .nr-sec-lead {
  max-width: 68ch;
}

.nr-map-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.24);
  color: #065f46;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.nr-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.nr-map-search-wrap {
  position: relative;
  flex: 1 1 300px;
  min-width: 240px;
}

.nr-map-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
}

.nr-map-search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: var(--nr-ink);
  font-size: 0.94rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nr-map-search-input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.nr-map-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nr-map-filter-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nr-map-filter-btn:hover {
  border-color: #94a3b8;
  color: var(--nr-ink);
}

.nr-map-filter-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.nr-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.nr-map-stage {
  position: relative;
  min-height: 460px;
  border-radius: 20px;
  background: radial-gradient(circle at 20% 20%, #f1f7f4 0%, #e7eff2 100%);
  border: 1px solid #cbd5e1;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.nr-map-stage.is-dragging {
  cursor: grabbing;
}

.nr-map-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.nr-map-stage.is-dragging .nr-map-viewport {
  transition: none;
}

.nr-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

.nr-map-inset-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: #475569;
}

.nr-map-cities circle {
  fill: #64748b;
}

.nr-map-cities text {
  font-size: 9.5px;
  font-weight: 600;
  fill: #475569;
  font-family: inherit;
}

.nr-map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nr-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.nr-map-pin:hover,
.nr-map-pin:focus-visible {
  transform: translate(-50%, -106%) scale(1.06);
  z-index: 4;
}

.nr-map-pin.is-selected {
  background: #059669;
  transform: translate(-50%, -108%) scale(1.1);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.38);
  z-index: 5;
}

.nr-map-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.nr-map-pin.is-selected .nr-map-pin-dot {
  background: #ffffff;
}

.nr-map-pin-pulse {
  position: absolute;
  left: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.45);
  transform: translateY(-50%);
  animation: nrPinPulse 2.1s ease-out infinite;
  pointer-events: none;
}

@keyframes nrPinPulse {
  0% { transform: translateY(-50%) scale(1); opacity: 0.75; }
  100% { transform: translateY(-50%) scale(2.6); opacity: 0; }
}

.nr-map-zoom-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nr-map-zoom-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.94);
  color: var(--nr-ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}

.nr-map-zoom-reset {
  font-size: 0.72rem;
}

.nr-map-legend {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  backdrop-filter: blur(6px);
}

.nr-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nr-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0f172a;
}

.nr-legend-dot.is-selected {
  background: #059669;
}

.nr-map-pop {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  width: min(320px, calc(100% - 28px));
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
}

.nr-map-pop.hidden {
  display: none;
}

.nr-map-pop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.nr-map-pop-zone {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 3px;
}

.nr-map-pop-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--nr-ink);
  line-height: 1.25;
}

.nr-map-pop-price {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 800;
}

.nr-map-pop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #475569;
}

.nr-map-pop-meter {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  margin: 10px 0 8px;
  overflow: hidden;
}

.nr-map-pop-meter span {
  display: block;
  height: 100%;
  background: #059669;
  border-radius: inherit;
}

.nr-map-pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nr-map-pop-avail {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
}

.nr-map-sidebar {
  display: flex;
  flex-direction: column;
  max-height: 492px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--nr-border);
  overflow: hidden;
}

.nr-map-list {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.nr-map-card {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.nr-map-card:hover {
  border-color: #94a3b8;
}

.nr-map-card.is-selected {
  border-color: #059669;
  background: #f0fdf4;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12);
}

.nr-map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.nr-map-card-zone {
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
}

.nr-map-card-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nr-ink);
}

.nr-map-card-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--nr-ink);
  line-height: 1.3;
}

.nr-map-card-org {
  margin: 4px 0 8px;
  font-size: 0.78rem;
  color: #475569;
}

.nr-map-card-bar {
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 8px;
}

.nr-map-card-bar span {
  display: block;
  height: 100%;
  background: #059669;
}

.nr-map-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: #475569;
}

.nr-map-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nr-map-card-locate {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.nr-map-card-locate:hover {
  color: #059669;
}

.nr-map-card-link {
  font-weight: 700;
  color: #047857;
  text-decoration: none;
}

.nr-map-card-link:hover {
  text-decoration: underline;
}

.nr-map-empty {
  padding: 28px 18px;
  text-align: center;
  color: #475569;
}

.nr-map-empty strong {
  display: block;
  color: var(--nr-ink);
  margin-bottom: 6px;
}

.nr-map-empty p {
  margin: 0 0 14px;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .nr-map-shell {
    grid-template-columns: 1fr;
  }
  .nr-map-stage {
    min-height: 360px;
  }
  .nr-map-svg {
    min-height: 360px;
  }
  .nr-map-sidebar {
    max-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nr-map-viewport,
  .nr-map-pin {
    transition: none;
  }
  .nr-map-pin-pulse {
    animation: none;
  }
}

/* ==========================================================================
   1b. DEL FOLIO AL MÓVIL (hero): el folio de papel de la barra se tacha y el
   tablero de números toma el relevo. Solo CSS; landing.js pausa la escena
   hasta que se ve. Sin movimiento reducido o sin JS, se ve el estado final.
   ========================================================================== */
.nr-shift {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.nr-shift-title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(1.7rem, 2.9vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--nr-ink);
}

.nr-shift-old {
  position: relative;
  display: inline-block;
  font-family: 'Segoe Print', 'Bradley Hand', 'Marker Felt', 'Comic Sans MS', cursive;
  font-weight: 700;
  letter-spacing: 0;
  color: #475569;
}

/* Tachón a mano sobre «Del folio» */
.nr-shift-old::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 0.14em;
  border-radius: 999px;
  background: var(--nr-coral);
  transform: rotate(-4deg) scaleX(1);
  transform-origin: left center;
}

.nr-shift-new {
  color: var(--nr-emerald);
}

.nr-shift-sub {
  margin: 0 auto 1.4rem;
  max-width: 38ch;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--nr-ink-2);
}

/* Escena: folio, flecha, chips y teléfono comparten una sola celda de rejilla */
.nr-shift-scene {
  position: relative;
  display: grid;
  grid-template-areas: 'scene';
  align-items: start;
}

.nr-shift-scene > * {
  grid-area: scene;
}

/* --- El folio --- */
.nr-folio {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: min(47%, 252px);
  margin-top: 2.4rem;
  transform: rotate(-7deg) translate(-4px, 6px) scale(0.96);
  transform-origin: 60% 40%;
}

.nr-folio-sheet {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  padding: 7% 6% 5%;
  border-radius: 3px;
  background:
    linear-gradient(115deg, rgba(120, 100, 60, 0.07) 0%, transparent 22%, transparent 70%, rgba(120, 100, 60, 0.09) 100%),
    radial-gradient(120% 80% at 10% 100%, rgba(146, 110, 50, 0.14), transparent 55%),
    #fbfaf4;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.06),
    0 18px 34px -16px rgba(15, 23, 42, 0.38),
    0 6px 12px -6px rgba(15, 23, 42, 0.2);
  color: #1f3a93;
}

/* Velo que «apaga» el folio cuando se tacha */
.nr-folio-sheet::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(226, 224, 216, 0.38);
  pointer-events: none;
}

.nr-folio-tape {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 34%;
  height: 7%;
  translate: -50% 0;
  rotate: 3deg;
  background: rgba(253, 230, 138, 0.55);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.nr-folio-head,
.nr-folio-date,
.nr-folio-cell i,
.nr-folio-note,
.nr-folio-foot {
  font-family: 'Segoe Print', 'Bradley Hand', 'Marker Felt', 'Comic Sans MS', cursive;
}

.nr-folio-head {
  margin: 0 0 1%;
  font-size: 8.6cqi;
  font-weight: 700;
  line-height: 1.02;
  color: #1e293b;
  rotate: -2deg;
}

.nr-folio-date {
  margin: 0 0 4%;
  padding-bottom: 1%;
  font-size: 5.6cqi;
  line-height: 1.1;
  color: #2b4bb8;
  border-bottom: 1px solid rgba(43, 75, 184, 0.45);
  rotate: -1deg;
}

.nr-folio-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  border-top: 1px solid rgba(15, 23, 42, 0.55);
  border-left: 1px solid rgba(15, 23, 42, 0.55);
}

.nr-folio-cell {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(15, 23, 42, 0.55);
  border-bottom: 1px solid rgba(15, 23, 42, 0.55);
}

.nr-folio-cell b {
  position: absolute;
  top: 3%;
  left: 5%;
  font-family: var(--font);
  font-size: 2.5cqi;
  font-weight: 700;
  line-height: 1;
  color: #1e293b;
}

.nr-folio-cell i {
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: 10%;
  font-size: 2.9cqi;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  color: #2b4bb8;
  rotate: -8deg;
}

.nr-folio-cell:nth-child(3n) i { rotate: 6deg; color: #1d3594; }
.nr-folio-cell:nth-child(4n) i { bottom: 22%; }

.nr-folio-cell.is-struck i {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #1d3594;
}

.nr-folio-cell.is-doubt i {
  color: var(--nr-coral);
  font-weight: 700;
}

.nr-folio-foot {
  margin: 3% 0 0;
  font-size: 3.6cqi;
  color: #334155;
}

.nr-folio-note {
  position: absolute;
  right: 3%;
  top: 19%;
  font-size: 5.2cqi;
  font-weight: 700;
  color: var(--nr-coral);
  rotate: 12deg;
}

/* Tachón rojo a rotulador sobre todo el folio */
.nr-folio-strike {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}

.nr-folio-strike path {
  fill: none;
  stroke: var(--nr-coral);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.88;
}

/* --- Chips «Antes» y «Ahora» --- */
.nr-shift-chip {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.45);
}

.nr-shift-chip.is-old {
  position: absolute;
  top: -14px;
  left: 10%;
  background: var(--nr-coral-tint);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.3);
  rotate: 4deg;
}

.nr-shift-chip.is-new {
  justify-self: end;
  align-self: start;
  margin: -14px 14px 0 0;
  background: var(--nr-emerald);
  color: #ffffff;
}

/* --- Flecha a mano del folio al teléfono --- */
.nr-shift-arrow {
  position: relative;
  z-index: 3;
  justify-self: start;
  align-self: end;
  width: clamp(72px, 22%, 112px);
  height: auto;
  margin: 0 0 18% 20%;
  overflow: visible;
}

.nr-shift-arrow path {
  fill: none;
  stroke: var(--nr-emerald);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* --- El teléfono, a la derecha y encendido --- */
.nr-stage.nr-shift .nr-phone {
  z-index: 2;
  justify-self: end;
  width: min(64%, 322px);
  max-width: none;
  margin-inline: 0;
}

.nr-stage.nr-shift .nr-phone::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 54px;
  border: 2px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 34px rgba(16, 185, 129, 0.32);
  pointer-events: none;
}

/* --- Animación (solo si el usuario no pide movimiento reducido) --- */
@media (prefers-reduced-motion: no-preference) {
  .nr-shift-old::after { animation: nrShiftWordStrike 0.45s ease-out 1.1s both; }
  .nr-folio { animation: nrFolioLife 2.5s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
  .nr-folio-sheet::after { animation: nrFadeIn 0.6s ease 1.9s both; }
  .nr-folio-strike path:first-child { animation: nrDraw 0.38s ease-in 0.9s both; }
  .nr-folio-strike path:last-child { animation: nrDraw 0.38s ease-in 1.3s both; }
  .nr-shift-chip.is-old { animation: nrFadeIn 0.4s ease 0.35s both; }
  .nr-shift-arrow path:first-child { animation: nrDraw 0.45s ease-out 2.05s both; }
  .nr-shift-arrow path:last-child { animation: nrDraw 0.2s ease-out 2.5s both; }
  .nr-shift-chip.is-new { animation: nrChipPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 2.55s both; }
  .nr-stage.nr-shift .nr-phone { animation: nrPhoneWake 0.7s ease 0.1s both; }
  .nr-stage.nr-shift .nr-phone::after { animation: nrPhoneGlow 1.6s ease 2.4s both; }

  /* landing.js la deja en pausa mientras la escena no se ve (en móvil queda bajo el pliegue). */
  .nr-shift.is-waiting *,
  .nr-shift.is-waiting *::after {
    animation-play-state: paused;
  }

  /* Bucle (landing.js): el folio, la flecha y las etiquetas se desvanecen (is-rewind) y la escena vuelve a
     empezar (is-replay quita las animaciones un fotograma). El teléfono se queda; solo repite su brillo. */
  .nr-shift.is-rewind .nr-folio,
  .nr-shift.is-rewind .nr-shift-chip,
  .nr-shift.is-rewind .nr-shift-old::after {
    animation: nrFadeOut 0.45s ease both;
  }
  .nr-shift.is-rewind .nr-shift-arrow {
    animation: nrFadeOut 0.45s ease both;
  }
  .nr-shift.is-replay .nr-folio,
  .nr-shift.is-replay .nr-folio-sheet::after,
  .nr-shift.is-replay .nr-folio-strike path,
  .nr-shift.is-replay .nr-shift-arrow path,
  .nr-shift.is-replay .nr-shift-chip,
  .nr-shift.is-replay .nr-shift-old::after,
  .nr-shift.is-replay .nr-phone::after {
    animation: none;
  }
}

@keyframes nrFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes nrFolioLife {
  0% { opacity: 0; transform: translateY(22px) rotate(-1deg) scale(1.02); }
  24% { opacity: 1; transform: translateY(0) rotate(-4deg) scale(1); }
  70% { opacity: 1; transform: translateY(0) rotate(-4deg) scale(1); }
  100% { opacity: 1; transform: rotate(-7deg) translate(-4px, 6px) scale(0.96); }
}

@keyframes nrDraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes nrFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nrShiftWordStrike {
  from { transform: rotate(-4deg) scaleX(0); }
  to { transform: rotate(-4deg) scaleX(1); }
}

@keyframes nrChipPop {
  from { opacity: 0; transform: translateY(8px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nrPhoneWake {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nrPhoneGlow {
  0% { opacity: 0; transform: scale(0.98); }
  45% { opacity: 1; transform: scale(1.015); box-shadow: 0 0 54px rgba(16, 185, 129, 0.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Más sitio para la escena en escritorio */
@media (min-width: 901px) {
  .nr-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }
}

/* Móvil y tableta: el folio arriba a la izquierda y el teléfono entra por debajo, a la derecha */
@media (max-width: 900px) {
  .nr-shift-title { margin-top: 0.5rem; }
  .nr-shift-sub { margin-bottom: 1.6rem; }
  .nr-shift-scene {
    width: min(100%, 460px);
    margin-inline: auto;
  }
  .nr-folio {
    width: min(58%, 250px);
    margin-top: 0.6rem;
  }
  .nr-stage.nr-shift .nr-phone {
    width: min(76%, 330px);
    margin-top: clamp(7.5rem, 38vw, 11rem);
  }
  .nr-shift-chip.is-new {
    margin-top: calc(clamp(7.5rem, 38vw, 11rem) - 16px);
  }
  .nr-shift-arrow {
    justify-self: end;
    align-self: start;
    width: clamp(64px, 20%, 96px);
    margin: clamp(2.4rem, 12vw, 4rem) 5% 0 0;
    rotate: 60deg;
  }
}

@media (max-width: 400px) {
  .nr-stage.nr-shift .nr-phone::after {
    inset: -5px;
    border-radius: 40px;
  }
  .nr-shift-chip {
    font-size: 0.68rem;
    padding: 4px 9px;
  }
}

/* --- Ventajas bajo la escena del folio (antes en la comparativa papel / nuevarifa.com) --- */
.nr-shift-wins {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.nr-shift-wins li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: 14px;
  background: var(--nr-surface);
  border: 1px solid var(--nr-border);
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--nr-ink-2);
}

.nr-shift-wins li::before {
  content: '✓';
  position: absolute;
  left: 11px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nr-emerald);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.nr-shift-wins strong {
  color: var(--nr-ink);
}

@media (prefers-reduced-motion: no-preference) {
  .nr-shift-wins li { animation: nrChipPop 0.45s ease both; }
  .nr-shift-wins li:nth-child(1) { animation-delay: 2.7s; }
  .nr-shift-wins li:nth-child(2) { animation-delay: 2.85s; }
  .nr-shift-wins li:nth-child(3) { animation-delay: 3s; }
  .nr-shift-wins li:nth-child(4) { animation-delay: 3.15s; }
}

@media (max-width: 560px) {
  .nr-shift-wins { grid-template-columns: minmax(0, 1fr); }
}

/* La tarjeta de pagos ocupa ya todo el ancho: texto y ejemplo lado a lado en escritorio */
@media (min-width: 901px) {
  .nr-bento-bizum {
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
  }
  .nr-bento-bizum > div:first-child { flex: 1.15; }
  .nr-bento-bizum .nr-bizum-mock { flex: 1; }
}

/* ==========================================================================
   4b. TU RIFA LISTA EN 3 PASOS: tres tarjetas con su mini pantalla que se
   recorren solas en bucle de 9 s (cada una se enciende 3 s). El estado base
   es el final de cada acción, que es lo que se ve con movimiento reducido.
   ========================================================================== */
.nr-steps {
  --steps-cycle: 9s;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}

.nr-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 22px;
  background: var(--nr-surface);
  border: 1.5px solid var(--nr-border);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35);
}

.nr-step-copy h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nr-ink);
}

.nr-step-copy p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--nr-ink-2);
}

.nr-step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nr-emerald);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Mini pantalla de cada paso */
.nr-step-screen {
  position: relative;
  margin-top: auto;
  min-height: 196px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f5f0 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: inset 0 1px 0 #ffffff;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  font-size: 0.8rem;
  color: var(--nr-ink);
}

.nr-ss-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nr-ss-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.nr-ss-head span { display: grid; line-height: 1.25; }
.nr-ss-head small { color: var(--nr-muted); font-size: 0.74rem; }

.nr-ss-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nr-muted);
}

.nr-ss-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nr-ss-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--nr-border);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.nr-ss-chip.is-b {
  background: var(--nr-emerald);
  border-color: var(--nr-emerald);
  color: #ffffff;
}

.nr-ss-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--nr-stone);
}

.nr-ss-btn {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--nr-ink);
  color: #ffffff;
  font-weight: 800;
}

.nr-ss-toast {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--nr-emerald);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  box-shadow: 0 8px 16px -8px rgba(11, 110, 79, 0.6);
}

/* En el paso 2 el aviso va debajo del tablero, sin taparlo. */
.nr-step-2 .nr-ss-toast {
  position: static;
  align-self: flex-end;
}

.nr-ss-toast.is-amber {
  background: var(--nr-gold);
  color: #111827;
  box-shadow: 0 8px 16px -8px rgba(217, 119, 6, 0.6);
}

.nr-ss-bubble {
  align-self: flex-start;
  max-width: 92%;
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border-radius: 14px 14px 14px 4px;
  background: #dcf8c6;
  color: #14532d;
  font-size: 0.78rem;
}

.nr-ss-bubble span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #166534;
  text-decoration: underline;
}

.nr-ss-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}

.nr-ss-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.nr-ss-grid span.is-taken {
  background: var(--nr-emerald-tint);
  border-color: rgba(11, 110, 79, 0.32);
  color: var(--nr-emerald-deep);
}

.nr-ss-grid span.nr-ss-pick-a,
.nr-ss-grid span.nr-ss-pick-b {
  background: var(--nr-gold-tint);
  border-color: #fcd34d;
  color: #92400e;
}

.nr-ss-pay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--nr-border);
}

.nr-ss-pay b { font-family: var(--font-mono); margin-right: 4px; }

/* Interruptor «pagado»: encendido en el estado base */
.nr-ss-toggle {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--nr-emerald);
}

.nr-ss-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(16px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
}

.nr-ss-result {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--nr-ink);
  color: #ffffff;
}

.nr-ss-result span { font-size: 0.74rem; color: #cbd5e1; }
.nr-ss-result small { grid-column: 1; font-size: 0.72rem; color: #a7f3d0; font-weight: 700; }
.nr-ss-result b {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--nr-gold);
  color: #111827;
  font-family: var(--font-mono);
  font-size: 1rem;
}

/* Línea que une los tres pasos (escritorio) */
@media (min-width: 901px) {
  .nr-steps::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: calc(clamp(18px, 2vw, 24px) + 19px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--nr-border) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
  .nr-step { z-index: 1; }
}

@media (max-width: 900px) {
  .nr-steps { grid-template-columns: minmax(0, 1fr); }
  .nr-step-screen { min-height: 0; }
}

/* --- Animación en bucle: cada paso se enciende en su tercio del ciclo --- */
@media (prefers-reduced-motion: no-preference) {
  .nr-step,
  .nr-step * {
    animation-duration: var(--steps-cycle);
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    animation-fill-mode: both;
  }
  /* Desfase: paso 1 empieza en 0 s, paso 2 a los 3 s, paso 3 a los 6 s (retardos negativos = sin huecos). */
  .nr-step-1, .nr-step-1 * { animation-delay: 0s; }
  .nr-step-2, .nr-step-2 * { animation-delay: -6s; }
  .nr-step-3, .nr-step-3 * { animation-delay: -3s; }

  .nr-step { animation-name: nrStepFocus; }
  .nr-step-num { animation-name: nrStepNum; }

  .nr-ss-chip.is-a { animation-name: nrChipOff; }
  .nr-ss-chip.is-b { animation-name: nrChipOn; }
  .nr-ss-btn { animation-name: nrPress; }
  .nr-ss-toast { animation-name: nrToast; }

  .nr-ss-bubble { animation-name: nrBubble; }
  .nr-ss-grid .nr-ss-pick-a { animation-name: nrPickA; }
  .nr-ss-grid .nr-ss-pick-b { animation-name: nrPickB; }
  .nr-step-2 .nr-ss-toast { animation-name: nrToastLate; }

  .nr-ss-toggle.is-a { animation-name: nrToggleA; }
  .nr-ss-toggle.is-a::after { animation-name: nrKnobA; }
  .nr-ss-toggle.is-b { animation-name: nrToggleB; }
  .nr-ss-toggle.is-b::after { animation-name: nrKnobB; }
  .nr-ss-result { animation-name: nrResult; }

  /* landing.js la pausa mientras no se ve */
  .nr-steps.is-offscreen *,
  .nr-steps.is-offscreen *::after,
  .nr-steps.is-offscreen .nr-step {
    animation-play-state: paused;
  }
}

@keyframes nrStepFocus {
  0%, 30% { border-color: var(--nr-emerald); box-shadow: 0 18px 34px -18px rgba(11, 110, 79, 0.55); transform: translateY(-4px); }
  37%, 96% { border-color: var(--nr-border); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35); transform: translateY(0); }
  100% { border-color: var(--nr-emerald); box-shadow: 0 18px 34px -18px rgba(11, 110, 79, 0.55); transform: translateY(-4px); }
}

@keyframes nrStepNum {
  0%, 30% { background: var(--nr-emerald); transform: scale(1.08); }
  37%, 96% { background: #94a3b8; transform: scale(1); }
  100% { background: var(--nr-emerald); transform: scale(1.08); }
}

@keyframes nrChipOff {
  0%, 9% { background: var(--nr-emerald); border-color: var(--nr-emerald); color: #ffffff; }
  12%, 100% { background: #ffffff; border-color: var(--nr-border); color: var(--nr-ink); }
}

@keyframes nrChipOn {
  0%, 9% { background: #ffffff; border-color: var(--nr-border); color: var(--nr-ink); }
  12%, 100% { background: var(--nr-emerald); border-color: var(--nr-emerald); color: #ffffff; }
}

@keyframes nrPress {
  0%, 19% { transform: scale(1); }
  21% { transform: scale(0.92); }
  24%, 100% { transform: scale(1); }
}

@keyframes nrToast {
  0%, 23% { opacity: 0; transform: translateY(10px); }
  27%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(10px); }
}

@keyframes nrToastLate {
  0%, 15% { opacity: 0; transform: translateY(10px); }
  19%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(10px); }
}

@keyframes nrBubble {
  0%, 1% { opacity: 0; transform: translateX(-14px); }
  6%, 94% { opacity: 1; transform: translateX(0); }
  99%, 100% { opacity: 0; transform: translateX(-14px); }
}

@keyframes nrPickA {
  0%, 12% { background: #ffffff; border-color: rgba(15, 23, 42, 0.12); color: var(--nr-ink); transform: scale(1); }
  14% { transform: scale(1.25); }
  17%, 96% { background: var(--nr-gold-tint); border-color: #fcd34d; color: #92400e; transform: scale(1); }
  100% { background: #ffffff; border-color: rgba(15, 23, 42, 0.12); color: var(--nr-ink); }
}

@keyframes nrPickB {
  0%, 21% { background: #ffffff; border-color: rgba(15, 23, 42, 0.12); color: var(--nr-ink); transform: scale(1); }
  23% { transform: scale(1.25); }
  26%, 96% { background: var(--nr-gold-tint); border-color: #fcd34d; color: #92400e; transform: scale(1); }
  100% { background: #ffffff; border-color: rgba(15, 23, 42, 0.12); color: var(--nr-ink); }
}

@keyframes nrToggleA {
  0%, 8% { background: #cbd5e1; }
  11%, 96% { background: var(--nr-emerald); }
  100% { background: #cbd5e1; }
}

@keyframes nrKnobA {
  0%, 8% { transform: translateX(0); }
  11%, 96% { transform: translateX(16px); }
  100% { transform: translateX(0); }
}

@keyframes nrToggleB {
  0%, 15% { background: #cbd5e1; }
  18%, 96% { background: var(--nr-emerald); }
  100% { background: #cbd5e1; }
}

@keyframes nrKnobB {
  0%, 15% { transform: translateX(0); }
  18%, 96% { transform: translateX(16px); }
  100% { transform: translateX(0); }
}

@keyframes nrResult {
  0%, 21% { opacity: 0; transform: translateY(12px) scale(0.96); }
  26%, 94% { opacity: 1; transform: translateY(0) scale(1); }
  99%, 100% { opacity: 0; transform: translateY(12px) scale(0.96); }
}
