* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
}

body {
  margin: 0;
  background: #030303;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

#app {
  width: 100vw;
  height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 34%),
    #050505;
}

.pantalla,
.pantalla-simple {
  width: min(100vw, 177.777vh);
  height: min(100vh, 56.25vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: size;
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.9);
}

.pantalla {
  --base-oscura: #030d24;
  --base-media: #092352;
  --base-clara: #123b8a;
  display: grid;
  grid-template-rows: 8.2cqh minmax(0, 1fr);
  padding: 0.75cqh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.24), transparent 30%),
    linear-gradient(145deg, var(--base-oscura), var(--base-clara) 46%, var(--base-media));
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  border: 0.65cqh solid #171717;
}

.pantalla.estado-vivo {
  --base-oscura: #0a4010;
  --base-media: #1a6a20;
  --base-clara: #28a030;
}

.pantalla.estado-finalizado {
  --base-oscura: #030d24;
  --base-media: #092352;
  --base-clara: #123b8a;
}

.pantalla.estado-pendiente {
  --base-oscura: #1a1a2e;
  --base-media: #2a2a4e;
  --base-clara: #3a3a6e;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5cqw;
  min-width: 0;
  border: 0.35cqh solid #f4f0d8;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.25)),
    linear-gradient(90deg, #000050, #000096 50%, #000050);
  background-size: 18px 18px, 18px 18px, auto, auto;
  box-shadow: 0 0.55cqh 0 #050505, inset 0 0 0 0.22cqh rgba(255, 255, 255, 0.08);
  padding: 0 0.7cqw;
}

.fecha,
.titulo-turno {
  font-weight: 1000;
  text-shadow: 0.26cqh 0.26cqh 0 #000, 0 0 0.55cqh rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
}

.titulo-turno {
  text-align: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18cqh;
}

.linea-titulo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.9cqw;
  max-width: 100%;
  min-width: 0;
}

.linea-titulo span {
  font-size: clamp(1.7rem, 3.85cqw, 3.85rem);
  line-height: 0.9;
  overflow: hidden;
  text-overflow: clip;
}

.linea-titulo strong {
  flex: 0 0 auto;
  color: #fff200;
  font-size: clamp(0.78rem, 1.55cqw, 1.6rem);
  line-height: 0.9;
  text-shadow: 0.3cqh 0.3cqh 0 #000, 0 0 0.75cqh rgba(0, 0, 0, 0.95);
}

.titulo-turno small {
  display: block;
  max-width: 100%;
  font-size: clamp(0.66rem, 1.02cqw, 1.08rem);
  color: #fff;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: clip;
}

.topbar-hora {
  font-size: clamp(1.26rem, 2.25cqw, 2.52rem);
  font-weight: 1000;
  color: #ffe600;
  text-shadow: 0.3cqh 0.3cqh 0 #000, 0 0 0.6cqh rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  line-height: 1;
}

.topbar-cierre {
  text-align: center;
  font-size: clamp(1.32rem, 2.42cqw, 2.64rem);
  font-weight: 1000;
  color: #fff;
  text-shadow: 0.25cqh 0.25cqh 0 #000, 0 0 0.5cqh rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  padding: 0 1.5cqw;
  line-height: 1;
}

.topbar-cierre small {
  font-size: clamp(0.54rem, 0.81cqw, 0.9rem);
  color: #fff;
  font-weight: 900;
  text-shadow: 0.18cqh 0.18cqh 0 #000;
  margin-right: 0.3cqw;
}

.fecha {
  text-align: right;
  font-size: clamp(0.81rem, 1.43cqw, 1.56rem);
  margin-right: 9px;
}

.zona-vivo {
  display: grid;
  grid-template-columns: 13.8cqw minmax(0, 1fr) 26.5cqw;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.5cqw;
  min-height: 0;
  padding-top: 0.75cqh;
}

.panel-izquierdo {
  grid-column: 1;
  grid-row: 1 / -1;
  background: rgba(0, 0, 0, 0.38);
  border: 0.28cqh solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 1.6cqh rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.bloque-cabezas {
  border-bottom: 0.22cqh solid rgba(255, 255, 255, 0.48);
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: 2.8cqh repeat(6, 1fr);
}

.bloque-cabezas h3 {
  margin: 0;
  padding: 0.35cqh 0.2cqw;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    #00358f;
  color: white;
  font-size: clamp(0.7rem, 1.05cqw, 1rem);
  font-weight: 1000;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
}

.bloque-cabezas.hoy {
  background: #fff;
}

.bloque-cabezas.hoy h3 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    #50BE00;
}

.bloque-cabezas.hoy .cabeza-loteria {
  color: #000096;
  text-shadow: none;
}

.bloque-cabezas.hoy .cabeza-numero {
  color: #000096;
  text-shadow: none;
}

.bloque-cabezas.ayer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.15)),
    #1a1a30;
}

.bloque-cabezas.ayer .cabeza-numero {
  color: #fff;
}

.cabeza-linea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.7cqw;
  gap: 0.25cqw;
  padding: 0.1cqh 0.35cqw;
  align-items: center;
  min-height: 0;
}

.cabeza-loteria {
  font-size: clamp(0.58rem, 0.88cqw, 0.9rem);
  font-weight: 1000;
  text-shadow: 0.18cqh 0.18cqh 0 #000;
  white-space: nowrap;
  overflow: hidden;
}

.cabeza-numero {
  text-align: right;
  font-size: clamp(1rem, 1.78cqw, 1.9rem);
  font-weight: 1000;
  color: #fff;
  text-shadow: 0.34cqh 0.34cqh 0 #000, 0 0 0.75cqh rgba(0, 0, 0, 0.95);
  line-height: 1;
}

.tabla-sorteos {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 0.5cqw;
  min-width: 0;
  min-height: 0;
}

.resumen-plus {
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(3, 1fr);
  height: 9.5cqh;
  min-height: 0;
  background: #000;
  border: 0.09cqh solid rgba(255, 214, 0, 0.55);
  border-radius: 0.5cqh;
  overflow: hidden;
}

.resumen-plus-logo {
  grid-row: 1 / span 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3cqh 0.7cqw;
  background: #fff;
  border-right: 0.09cqh solid rgba(255, 214, 0, 0.4);
}

.resumen-plus-logo img {
  height: 85%;
  max-width: 6cqw;
  object-fit: contain;
}

.resumen-plus-item {
  grid-column: 2;
  display: grid;
  grid-template-columns: 12cqw 15cqw 1fr;
  align-items: center;
  gap: 0.9cqw;
  min-width: 0;
  padding: 0.15cqh 1cqw;
  border-top: 0.07cqh solid rgba(255, 214, 0, 0.25);
  overflow: hidden;
}

.resumen-plus-item:first-of-type {
  border-top: none;
}

.resumen-plus-juego {
  min-width: 0;
  font-size: clamp(0.7rem, 1.2cqw, 1.3rem);
  font-weight: 1000;
  color: #ffe600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0.15cqh 0.15cqh 0 #000;
}

.resumen-plus-pozo {
  min-width: 0;
  font-size: clamp(0.6rem, 1cqw, 1.1rem);
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 0.09cqh solid rgba(255, 255, 255, 0.3);
  padding-left: 0.6cqw;
}

.resumen-plus-numeros {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6cqw;
  min-width: 0;
  overflow: hidden;
  border-left: 0.09cqh solid rgba(255, 255, 255, 0.3);
  padding-left: 1.15cqw;
}

.resumen-plus-num {
  flex: 0 0 auto;
  font-size: clamp(0.8rem, 1.7cqw, 1.9rem);
  font-weight: 1000;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0.1cqh 0.1cqh 0 #000;
}

.resumen-plus-num {
  flex: 0 0 auto;
  font-size: clamp(0.62rem, 1.25cqw, 1.35rem);
  font-weight: 1000;
  color: #fff;
  text-shadow: 0.12cqh 0.12cqh 0 #000;
}

.columna-loteria {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0.035) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 16px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 18%, rgba(0, 0, 0, 0.17)),
    rgba(0, 0, 0, 0.23);
  border-left: 0.2cqh solid rgba(255, 255, 255, 0.35);
  border-right: 0.22cqh solid rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-rows: 3.25cqh repeat(20, minmax(0, 1fr));
  min-height: 0;
  box-shadow: inset 0 0 1.3cqh rgba(0, 0, 0, 0.35);
}

.columna-loteria h2 {
  margin: 0;
  padding: 0.45cqh 0.15cqw;
  text-align: center;
  font-size: clamp(0.66rem, 1.05cqw, 1rem);
  font-weight: 1000;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2)),
    #101010;
  color: #fff;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 0.2cqh solid rgba(255, 255, 255, 0.18);
}

.fila-premio {
  display: grid;
  grid-template-columns: 2.25cqw minmax(0, 1fr);
  align-items: center;
  gap: 0.18cqw;
  padding: 0 0.3cqw;
  min-height: 0;
}

.posicion {
  font-size: clamp(0.52rem, 0.78cqw, 0.82rem);
  opacity: 0.95;
  text-align: right;
  font-weight: 900;
  text-shadow: 0.16cqh 0.16cqh 0 #000;
}

.numero {
  font-size: clamp(0.98rem, 1.85cqw, 1.85rem);
  line-height: 1;
  font-weight: 900;
  color: white;
  text-shadow:
    0.26cqh 0.26cqh 0 #000,
    0 0 0.55cqh rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.fila-premio:first-of-type .numero {
  font-size: clamp(1.46rem, 2.86cqw, 2.86rem);
  font-weight: 1000;
  color: #fff200;
  text-shadow:
    0.34cqh 0.34cqh 0 #000,
    0.11cqh 0.11cqh 0 #000,
    0 0 0.8cqh rgba(0, 0, 0, 0.95);
}

.tabla-qplus {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.35cqh;
  min-width: 0;
  min-height: 0;
}

.columna-qplus {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%), #123166;
  border: 0.09cqh solid rgba(255, 255, 255, 0.16);
  border-radius: 0.55cqh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.3cqh 0.6cqh rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.qplus-fila-contenido {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.qplus-titulo-fila {
  display: flex;
  align-items: stretch;
  border-bottom: 0.09cqh solid rgba(255, 255, 255, 0.2);
}

.qplus-titulo {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.3cqh 1cqw;
  text-align: left;
  font-size: clamp(0.8rem, 1.3cqw, 1.35rem);
  font-weight: 1000;
  background: #0a2049;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.columna-qplus > .qplus-titulo {
  border-bottom: 0.09cqh solid rgba(255, 255, 255, 0.2);
}

.qplus-numeros-bloque {
  flex: 1.65;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.09cqh solid rgba(255, 255, 255, 0.16);
}

.qplus-numeros-label {
  flex-shrink: 0;
  text-align: center;
  padding: 0.3cqh 0.2cqw 0.15cqh;
  font-size: clamp(0.5rem, 0.82cqw, 0.88rem);
  font-weight: 1000;
  letter-spacing: 0.08em;
  color: #a9c0f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qplus-numeros {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.35cqh 0.4cqw;
  margin: 0.08cqh 0.7cqw 0.2cqh;
  padding: 0.1cqh 0.2cqw;
}

.qplus-num {
  min-width: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff, #dce4f5 88%);
  text-align: center;
  font-size: clamp(1.05rem, 1.95cqw, 2.1rem);
  font-weight: 1000;
  color: #0d2c5c;
  line-height: 1;
  box-shadow: 0 0.16cqh 0.3cqh rgba(0, 0, 0, 0.4), inset 0 -0.08cqh 0.16cqh rgba(0, 0, 0, 0.15);
}

.qplus-premios {
  flex: 1.2;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15cqh 0.7cqw 0.15cqh 0.8cqw;
}

.qplus-premio-fila {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 0.4cqw;
  padding: 0.14cqh 0.2cqw;
  font-size: clamp(0.5rem, 0.8cqw, 0.86rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: #eef2ff;
  border-bottom: 0.07cqh solid rgba(255, 255, 255, 0.12);
}

.qplus-premio-fila:last-child {
  border-bottom: none;
}

.qplus-premio-fila > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qplus-premio-header {
  color: #bcd0ff;
  font-weight: 1000;
  font-size: clamp(0.42rem, 0.64cqw, 0.7rem);
  letter-spacing: 0.08em;
  border-bottom: 0.11cqh solid rgba(255, 255, 255, 0.3);
}

.qplus-premio-ganadores {
  text-align: center;
}

.qplus-premio-importe {
  text-align: right;
  color: #ffd23f;
  font-weight: 900;
  font-size: clamp(0.62rem, 1cqw, 1.08rem);
}

.qplus-premio-header .qplus-premio-importe {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.qplus-vacante {
  flex: 0 0 auto;
  width: 20.5cqw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6cqw;
  padding: 0.3cqh 0.6cqw;
  background: linear-gradient(180deg, #2bd94a, #0a6e1f);
  border-left: 0.09cqh solid rgba(255, 255, 255, 0.3);
}

.qplus-vacante-etiqueta {
  font-size: clamp(0.46rem, 0.68cqw, 0.74rem);
  font-weight: 1000;
  letter-spacing: 0.05em;
  color: #e6ffe9;
  white-space: nowrap;
}

.qplus-vacante-monto {
  font-size: clamp(0.8rem, 1.35cqw, 1.45rem);
  font-weight: 1000;
  color: #fff;
  white-space: nowrap;
}

.qplus-sin-datos {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: clamp(0.9rem, 1.6cqw, 1.6rem);
  font-weight: 1000;
  color: #fff;
  text-align: center;
  padding: 1cqh;
}

.promo-lateral {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.4cqh 1.1cqh rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.promo-lateral .lat-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.promo-lateral .lat-slot.lat-slot-activo {
  opacity: 1;
}

.promo-lateral img,
.promo-lateral video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 6px;
  background: #fff;
  border: 0.85cqh solid #fff;
  box-shadow: 0 0 0.8cqh rgba(255, 255, 255, 0.3);
}

.qplus-banner {
  display: flex;
  flex-direction: column;
  gap: 0.3cqh;
  background: linear-gradient(180deg, #ffffff, #f2f4f8);
  border-radius: 0.7cqh;
  padding: 0.5cqh 1.8cqw;
  margin-bottom: 0.35cqh;
  box-shadow: 0 0.3cqh 0.5cqh rgba(0, 0, 0, 0.3);
}

.qplus-banner-top {
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding-bottom: 0.2cqh;
  border-bottom: 0.07cqh solid rgba(10, 30, 60, 0.15);
}

.qplus-banner-logo img {
  height: clamp(4.6rem, 9cqw, 10rem);
  object-fit: contain;
  display: block;
}

.qplus-banner-sorteo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3cqh;
  text-align: center;
}

.qplus-banner-sorteo-etiqueta {
  color: #123166;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.6cqw, 1.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.qplus-banner-sorteo-valor {
  color: #0a1830;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.5cqw, 2.9rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.qplus-banner-promo {
  flex: 0 0 auto;
  height: clamp(9.1rem, 20.6cqh, 15.6rem);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qplus-banner-promo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes pozoPulso {
  from {
    text-shadow: 0 0 0.4cqh rgba(255, 212, 0, 0.75), 0 0 1cqh rgba(255, 212, 0, 0.35), 0 0.15cqh 0.3cqh rgba(0, 0, 0, 0.6);
  }
  to {
    text-shadow: 0 0 0.7cqh rgba(255, 212, 0, 1), 0 0 1.7cqh rgba(255, 212, 0, 0.65), 0 0.15cqh 0.3cqh rgba(0, 0, 0, 0.6);
  }
}

.tabla-loto {
  display: flex;
  flex-direction: column;
  gap: 0.3cqh;
  min-width: 0;
  min-height: 0;
}

.tabla-telekino {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.7cqh;
  overflow: hidden;
}

.tabla-telekino img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.columnas-loto {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.35cqh 0.6cqw;
}

.columna-loto {
  min-width: 0;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%), #123166;
  border: 0.09cqh solid rgba(255, 255, 255, 0.16);
  border-radius: 0.55cqh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.3cqh 0.6cqh rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.loto-titulo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6cqw;
  padding: 0.3cqh 1cqw;
  font-size: clamp(0.8rem, 1.3cqw, 1.35rem);
  font-weight: 1000;
  background: #0a2049;
  color: #fff;
  letter-spacing: 0.05em;
  border-bottom: 0.09cqh solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  overflow: hidden;
}

.loto-numero-plus {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4cqw;
  padding: 0.12cqh 0.7cqw;
  border-radius: 1cqh;
  background: linear-gradient(180deg, #d92b2b, #8a0e0e);
  border: 0.07cqh solid #ffd400;
  letter-spacing: 0.02em;
}

.loto-numero-plus-etiqueta {
  color: #ffe9b3;
  font-weight: 900;
  font-size: clamp(0.5rem, 0.8cqw, 0.9rem);
}

.loto-numero-plus-valor {
  color: #ffd400;
  font-weight: 900;
  font-size: clamp(0.75rem, 1.2cqw, 1.35rem);
  line-height: 1;
}

.loto-numeros {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35cqh 0.4cqw;
  margin: 0.5cqh 0.8cqw 0.3cqh;
}

.loto-num {
  min-width: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff, #dce4f5 88%);
  border: 0.09cqh solid rgba(13, 44, 92, 0.3);
  font-size: clamp(1.4rem, 2.9cqw, 3.2rem);
  font-weight: 1000;
  color: #0d2c5c;
  line-height: 1;
  box-shadow: 0 0.16cqh 0.3cqh rgba(0, 0, 0, 0.4), inset 0 -0.08cqh 0.16cqh rgba(0, 0, 0, 0.15);
}

.loto-banner-inferior {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  margin-top: 0.3cqh;
  border-radius: 0.6cqh;
  overflow: hidden;
  box-shadow: 0 0.3cqh 0.6cqh rgba(0, 0, 0, 0.4);
}

.loto-banner-inferior-etiqueta {
  display: flex;
  align-items: center;
  min-width: 0;
  background: linear-gradient(135deg, #ff4d3d, #a30d0d);
  color: #fff;
  font-weight: 1000;
  font-size: clamp(1rem, 1.8cqw, 2.05rem);
  padding: 0.6cqh 1.5cqw;
  text-shadow: 0 0.15cqh 0.3cqh rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 -0.14cqh 0 rgba(255, 212, 0, 0.7);
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.loto-banner-inferior-monto {
  display: flex;
  align-items: center;
  min-width: 0;
  background: linear-gradient(135deg, #132a52, #0a1830);
  color: #fff;
  font-weight: 1000;
  font-size: clamp(1.9rem, 3.9cqw, 4.4rem);
  padding: 0.6cqh 1.8cqw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: pozoPulso 2.2s ease-in-out infinite alternate;
}

.tabla-quini6 {
  display: flex;
  flex-direction: column;
  gap: 0.3cqh;
  min-width: 0;
  min-height: 0;
}

.columnas-quini6 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr)) minmax(0, 0.68fr);
  gap: 0.35cqh 0.6cqw;
}

.columna-quini6 {
  min-width: 0;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%), #123166;
  border: 0.09cqh solid rgba(255, 255, 255, 0.16);
  border-radius: 0.55cqh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.3cqh 0.6cqh rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.columna-quini6-extra {
  grid-column: 1 / -1;
}

.quini6-titulo {
  flex: 0 0 auto;
  padding: 0.25cqh 0.8cqw;
  font-size: clamp(0.8rem, 1.3cqw, 1.35rem);
  font-weight: 1000;
  background: #0a2049;
  color: #fff;
  letter-spacing: 0.04em;
  border-bottom: 0.09cqh solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  overflow: hidden;
}

.quini6-numeros {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.3cqh 0.5cqw;
  margin: 0.35cqh 0.8cqw 0.15cqh;
}

.quini6-num {
  min-width: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff, #dce4f5 88%);
  border: 0.09cqh solid rgba(13, 44, 92, 0.3);
  font-size: clamp(1.1rem, 2.3cqw, 2.5rem);
  font-weight: 1000;
  color: #0d2c5c;
  line-height: 1;
  box-shadow: 0 0.16cqh 0.3cqh rgba(0, 0, 0, 0.4), inset 0 -0.08cqh 0.16cqh rgba(0, 0, 0, 0.15);
}

.quini6-numeros-extra {
  grid-template-columns: repeat(18, minmax(0, 1fr));
  gap: 0.2cqh 0.22cqw;
  margin: 0.4cqh 0.6cqw 0.3cqh;
}

.quini6-num-extra {
  font-size: clamp(0.68rem, 1.4cqw, 1.55rem);
  border-width: 0.06cqh;
}

.columna-quini6 .qplus-premio-fila {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.7fr) minmax(0, 1.35fr);
  font-size: clamp(0.48rem, 0.78cqw, 0.86rem);
  padding: 0.04cqh 0.2cqw;
}

.columna-quini6 .qplus-premio-header {
  font-size: clamp(0.38rem, 0.6cqw, 0.66rem);
}

.columna-quini6 .qplus-premio-importe {
  font-size: clamp(0.64rem, 1cqw, 1.15rem);
}

.columna-quini6 .qplus-premio-header .qplus-premio-importe {
  font-size: inherit;
}

.quini6-banner-inferior {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  margin-top: 0.3cqh;
  border-radius: 0.6cqh;
  overflow: hidden;
  box-shadow: 0 0.3cqh 0.6cqh rgba(0, 0, 0, 0.4);
}

.quini6-banner-inferior-etiqueta {
  display: flex;
  align-items: center;
  min-width: 0;
  background: linear-gradient(135deg, #ff4d3d, #a30d0d);
  color: #fff;
  font-weight: 1000;
  font-size: clamp(1rem, 1.8cqw, 2.05rem);
  padding: 0.6cqh 1.5cqw;
  letter-spacing: 0.07em;
  white-space: nowrap;
  text-shadow: 0 0.15cqh 0.3cqh rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 -0.14cqh 0 rgba(255, 212, 0, 0.7);
}

.quini6-banner-inferior-monto {
  display: flex;
  align-items: center;
  min-width: 0;
  background: linear-gradient(135deg, #132a52, #0a1830);
  color: #fff;
  font-weight: 1000;
  font-size: clamp(1.9rem, 3.9cqw, 4.4rem);
  padding: 0.6cqh 1.8cqw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: pozoPulso 2.2s ease-in-out infinite alternate;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75cqw;
  border-top: 0.35cqh solid #f4f0d8;
  font-size: clamp(0.68rem, 1.1cqw, 1.18rem);
  font-weight: 1000;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
  padding-top: 0.35cqh;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

.atajos {
  font-size: clamp(0.56rem, 0.9cqw, 0.95rem);
  color: #ffe600;
  white-space: nowrap;
}

.pantalla-simple {
  padding: 2cqh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #001c4e, #005bbb, #00122d);
  background-size: 26px 26px, 26px 26px, auto;
  display: grid;
  grid-template-rows: 8cqh minmax(0, 1fr) 5.5cqh;
}

.simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.55cqh solid white;
  gap: 1cqw;
}

.simple-header-titulos {
  display: flex;
  flex-direction: column;
  gap: 0.2cqh;
}

.boton-descarga {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.65cqh 1.15cqw;
  background: #ffe600;
  color: #05163e;
  font-size: clamp(0.9rem, 1.35cqw, 1.15rem);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0.45cqh 0.7cqh rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.boton-descarga:hover {
  transform: translateY(-1px);
}

.boton-descarga-topbar {
  padding: 0.55cqh 0.95cqw;
}

.simple-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3cqw, 3rem);
  font-weight: 1000;
  text-shadow: 0.42cqh 0.42cqh 0 #000;
  white-space: nowrap;
}

.pantalla-cabezas {
  padding: 1.35cqh 1.55cqw;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #052a78, #075fb4 52%, #021742);
  background-size: 26px 26px, 26px 26px, auto;
  grid-template-rows: 8.2cqh minmax(0, 1fr) 4.6cqh;
}

.cabezas-header h1 span {
  color: #fff200;
}

.cabezas-header {
  justify-content: flex-start;
}

.cabezas-header h1 {
  width: 100%;
  font-size: clamp(1.7rem, 3.45cqw, 3.65rem);
}

.planilla-cabezas {
  width: 98%;
  height: 76cqh;
  display: grid;
  grid-template-columns: 20cqw repeat(5, minmax(0, 1fr));
  grid-template-rows: 7cqh repeat(6, minmax(0, 1fr));
  align-self: center;
  border-left: 0.35cqh solid #ffd400;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0.75cqh 0.75cqh 0 rgba(0, 0, 0, 0.45);
}

.planilla-celda {
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d9e0ec;
  border-bottom: 1px solid #d9e0ec;
  overflow: hidden;
}

.planilla-titulo {
  min-height: 0;
  background: #1b48b8;
  color: #fff;
  font-size: clamp(0.82rem, 1.35cqw, 1.45rem);
  font-weight: 1000;
  text-shadow: 0.2cqh 0.2cqh 0 #00154d;
}

.planilla-loteria {
  justify-content: center;
  padding: 0.5cqh 0.65cqw;
  background: #f6f8fc;
  color: #045da8;
  font-size: clamp(0.84rem, 1.3cqw, 1.48rem);
  font-weight: 1000;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
}

.planilla-numero {
  background: #f2f4f8;
  color: #050505;
  font-size: clamp(2.1rem, 4.25cqw, 4.75rem);
  font-weight: 1000;
  text-shadow: 0.32cqh 0.32cqh 0 rgba(0, 72, 150, 0.22);
  letter-spacing: 0;
}

.loteria-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.logo-icon {
  width: clamp(3.2rem, 7.6cqw, 8.2rem);
  height: clamp(3.2rem, 7.6cqw, 8.2rem);
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
}

.logo-icon[hidden] {
  display: none;
}

.logo-img {
  width: min(17.5cqw, 98%);
  height: min(10.5cqh, 92%);
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.loteria-logo.provincia .logo-icon {
  border-radius: 50%;
  background:
    linear-gradient(160deg, transparent 54%, #0067aa 55%),
    radial-gradient(circle at 55% 42%, #fff 0 18%, transparent 19%),
    linear-gradient(150deg, #66d043, #00a95a);
}

.loteria-logo.provincia .logo-text {
  color: #0064ac;
}

.loteria-logo.ciudad .logo-icon {
  border-radius: 50% 50% 50% 8%;
  transform: rotate(-45deg);
  background:
    radial-gradient(circle at 46% 45%, #fff 0 6%, transparent 7%),
    radial-gradient(circle at 36% 34%, #fff 0 5%, transparent 6%),
    radial-gradient(circle at 58% 34%, #fff 0 5%, transparent 6%),
    radial-gradient(circle at 36% 58%, #fff 0 5%, transparent 6%),
    radial-gradient(circle at 58% 58%, #fff 0 5%, transparent 6%),
    linear-gradient(135deg, #ffe300 0 32%, #00a9d8 33%);
}

.loteria-logo.ciudad .logo-text {
  color: #00a1d3;
}

.loteria-logo.cordoba .logo-icon {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, #7ac943 0 9%, transparent 10%),
    radial-gradient(circle at 64% 40%, #ff2a43 0 10%, transparent 11%),
    radial-gradient(circle at 50% 55%, #ffd000 0 17%, transparent 18%),
    radial-gradient(circle at 36% 44%, #8e44ad 0 13%, transparent 14%),
    linear-gradient(150deg, transparent 38%, #0064ac 39% 51%, transparent 52%);
}

.loteria-logo.cordoba .logo-text {
  color: #0064ac;
}

.loteria-logo.santa-fe .logo-icon {
  border-left: 0.22cqw solid #ff5a00;
  border-right: 0.22cqw solid #ff5a00;
}

.loteria-logo.santa-fe .logo-icon::before {
  content: "";
  position: absolute;
  inset: 12% 24%;
  background:
    radial-gradient(circle, #ff5a00 0 18%, transparent 20%) 0 0 / 50% 38%,
    radial-gradient(circle, #ff5a00 0 18%, transparent 20%) 100% 50% / 50% 38%,
    radial-gradient(circle, #ff5a00 0 18%, transparent 20%) 0 100% / 50% 38%;
}

.loteria-logo.santa-fe .logo-text {
  color: #34314f;
}

.loteria-logo.entre-rios .logo-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00a800;
  clip-path: polygon(42% 0, 55% 0, 51% 35%, 78% 12%, 85% 23%, 56% 49%, 100% 42%, 100% 55%, 57% 61%, 76% 95%, 62% 100%, 49% 66%, 36% 100%, 22% 95%, 42% 60%, 0 55%, 0 42%, 43% 49%, 15% 23%, 22% 12%, 47% 35%);
}

.loteria-logo.entre-rios .logo-text {
  color: #ef1010;
}

.loteria-logo.montevideo .logo-icon {
  background:
    radial-gradient(circle, #ffe600 0 16%, transparent 17%) 0 0 / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 50% 0 / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 100% 0 / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 0 50% / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 50% 50% / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 100% 50% / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 25% 100% / 33% 33%,
    radial-gradient(circle, #00aee8 0 16%, transparent 17%) 75% 100% / 33% 33%;
  background-repeat: no-repeat;
}

.loteria-logo.montevideo .logo-text {
  color: #333;
}

.cabezas-cargando {
  font-size: clamp(2rem, 4cqw, 4rem);
  font-weight: 1000;
  color: #fff200;
  text-shadow: 0.45cqh 0.45cqh 0 #000;
}

.pantalla-historial {
  padding: 0.3cqh 0.4cqw;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, #040418, #080840 48%, #020210);
  background-size: auto, 28px 28px, 28px 28px, auto;
  grid-template-rows: 4.5cqh minmax(0, 1fr);
}

.historial-header {
  border-bottom: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 0.4cqh;
  min-height: 0.4cqh;
}

.historial-cabezas {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 2.45cqw 11.25cqw repeat(6, minmax(0, 1fr));
  align-content: stretch;
  overflow: hidden;
}

.historial-celda {
  min-width: 0;
  min-height: 2.82cqh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 0.18cqw solid rgba(255, 255, 255, 0.25);
}

.historial-esquina {
  grid-column: span 2;
  background: #d91717;
  color: #fff;
  font-size: clamp(0.7rem, 1.25cqw, 1.35rem);
  font-weight: 1000;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
  border-bottom: 0.3cqh solid #ffd400;
}

.historial-dia {
  background: #252525;
  color: #fff;
  font-size: clamp(1rem, 2cqw, 2.1rem);
  font-weight: 1000;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
  border-bottom: 0.3cqh solid #ffd400;
}

.historial-dia.hoy {
  color: #ffa400;
}

.historial-turno {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: clamp(0.68rem, 1.05cqw, 1.15rem);
  font-weight: 1000;
  text-shadow: 0.18cqh 0.18cqh 0 #000;
  letter-spacing: 0;
  border-right: 0.15cqw solid rgba(0, 0, 0, 0.3);
  border-top: 0.3cqh solid #ffd400;
}

.historial-turno-inicio {
  border-top: 0.3cqh solid #ffd400;
}

.historial-turno.previa,
.historial-turno.matutina,
.historial-turno.nocturna {
  background: #cc0000;
}

.historial-turno.primera,
.historial-turno.vespertina {
  background: #333;
}

.historial-loteria {
  justify-content: flex-end;
  padding-right: 0.8cqw;
  color: #fff;
  font-size: clamp(0.75rem, 1.35cqw, 1.5rem);
  font-weight: 1000;
  text-align: right;
  white-space: nowrap;
  background: #111;
  text-shadow: 0.16cqh 0.16cqh 0 rgba(0, 0, 0, 0.5);
}

.historial-numero {
  font-size: clamp(1.1rem, 2.2cqw, 2.4rem);
  font-weight: 1000;
  line-height: 1;
}

.historial-numero.turno-previa,
.historial-numero.turno-matutina,
.historial-numero.turno-nocturna {
  background: #cc0000;
  color: #fff;
  text-shadow: 0.18cqh 0.18cqh 0 rgba(0, 0, 0, 0.5);
}

.historial-numero.turno-primera,
.historial-numero.turno-vespertina {
  background: #fff;
  color: #000;
  text-shadow: none;
}

.historial-numero.hoy {
  font-weight: 1000;
}

.historial-numero.turno-previa.hoy,
.historial-numero.turno-matutina.hoy,
.historial-numero.turno-nocturna.hoy {
  background: #aa0000;
  color: #ffe600;
  text-shadow: 0.2cqh 0.2cqh 0 rgba(0, 0, 0, 0.6);
}

.historial-numero.turno-primera.hoy,
.historial-numero.turno-vespertina.hoy {
  background: #f0f0f0;
  color: #000;
}

.historial-cargando {
  font-size: clamp(2rem, 4cqw, 4rem);
  font-weight: 1000;
  color: #fff200;
  text-shadow: 0.45cqh 0.45cqh 0 #000;
}

.simple-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  min-height: 0;
}

.pantalla-aleatorio {
  background: radial-gradient(circle at 50% 45%, #123166, #050d24 78%);
}

.pantalla-aleatorio .simple-body {
  gap: 2cqh;
}

.aleatorio-numero {
  font-size: clamp(9rem, 46cqh, 34rem);
  font-weight: 1000;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 1.4cqh rgba(255, 212, 0, 0.55),
    0 0.8cqh 1.4cqh rgba(0, 0, 0, 0.7);
  animation: aleatorio-estampar 0.55s cubic-bezier(0.2, 1.8, 0.4, 1) both;
}

.aleatorio-etiqueta {
  font-size: clamp(0.9rem, 1.8cqw, 1.8rem);
  font-weight: 1000;
  letter-spacing: 0.15em;
  color: #ffd400;
  text-shadow: 0.15cqh 0.15cqh 0 #000;
}

@keyframes aleatorio-estampar {
  0% { transform: scale(0.12); opacity: 0; }
  55% { transform: scale(1.18); opacity: 1; }
  75% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.quini-bolas {
  display: flex;
  gap: 1cqw;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2cqh 0;
}

.bola {
  width: clamp(4.8rem, 8cqw, 8.2rem);
  height: clamp(4.8rem, 8cqw, 8.2rem);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff, #ffd000 35%, #ff8c00 70%);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 3.7cqw, 3.6rem);
  font-weight: 1000;
  border: 0.55cqh solid #111;
  box-shadow: 0.55cqh 0.55cqh 0 rgba(0, 0, 0, 0.55);
}

.plus {
  background: radial-gradient(circle at 35% 25%, #fff, #00d9ff 35%, #005bbb 70%);
  color: #fff;
  text-shadow: 0.3cqh 0.3cqh 0 #000;
}

.grilla-cabezas {
  width: 95%;
  display: grid;
  grid-template-columns: 10.5cqw repeat(6, 1fr);
  gap: 0.3cqw;
  font-size: clamp(1rem, 1.9cqw, 1.9rem);
  font-weight: 1000;
}

.celda {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  padding: 0.75cqh;
  border: 0.28cqh solid #000;
  text-align: center;
}

.celda.titulo {
  background: #ffcc00;
}

.celda.turno {
  background: #003bd1;
  color: white;
  text-shadow: 0.22cqh 0.22cqh 0 #000;
}

.pantalla-anuncio-full {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pantalla-anuncio-full img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.captura-contenedor {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1920px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.24), transparent 30%),
    linear-gradient(145deg, #030d24, #123b8a 46%, #092352);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  padding: 14px 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.captura-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px 0 10px;
}

.captura-titulo {
  font-size: 56px;
  font-weight: 1000;
  text-shadow: 3px 3px 0 #000, 0 0 8px rgba(0, 0, 0, 0.85);
  letter-spacing: 2px;
}

.captura-titulo strong {
  color: #fff200;
  margin-left: 16px;
}

.captura-fecha {
  position: absolute;
  right: 21px;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-grilla {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.captura-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.captura-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.captura-columna {
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0.035) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 16px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 18%, rgba(0, 0, 0, 0.17)),
    rgba(0, 0, 0, 0.23);
  border-left: 3px solid rgba(255, 255, 255, 0.35);
  border-right: 3px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
}

.captura-cols-6 .captura-columna h2 {
  font-size: 22px;
}

.captura-cols-6 .captura-pos {
  font-size: 16px;
}

.captura-cols-6 .captura-num {
  font-size: 40px;
  letter-spacing: 1px;
}

.captura-cols-6 .captura-fila:first-of-type .captura-num {
  font-size: 58px;
  letter-spacing: 2px;
}

.captura-cols-7 .captura-columna h2 {
  font-size: 18px;
}

.captura-cols-7 .captura-fila {
  gap: 8px;
}

.captura-cols-7 .captura-pos {
  font-size: 14px;
}

.captura-cols-7 .captura-num {
  font-size: 33px;
  letter-spacing: 0.5px;
}

.captura-cols-7 .captura-fila:first-of-type .captura-num {
  font-size: 48px;
  letter-spacing: 1px;
}

.captura-columna h2 {
  margin: 0;
  padding: 10px 4px;
  text-align: center;
  font-size: 26px;
  font-weight: 1000;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2)),
    #101010;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  border-bottom: 3px solid rgba(255, 255, 255, 0.18);
}

.captura-fila {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px 10px;
}

.captura-sep {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.captura-pos {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
  opacity: 0.9;
  text-shadow: 1px 1px 0 #000;
}

.captura-num {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 0 #000, 0 0 6px rgba(0, 0, 0, 0.85);
  line-height: 1.15;
  letter-spacing: 2px;
}

.captura-fila:first-of-type .captura-num {
  font-size: 69px;
  font-weight: 1000;
  color: #fff200;
  text-shadow: 2.7px 2.7px 0 #000, 0.9px 0.9px 0 #000, 0 0 8px rgba(0, 0, 0, 0.95);
  letter-spacing: 3px;
}

/* BACKUP EXPORTACION W - ANTES REDISEÑO PROFESIONAL 08/08/2026
.captura-wa-contenedor {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1080px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.24), transparent 30%),
    linear-gradient(145deg, #030d24, #123b8a 46%, #092352);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  padding: 40px 36px;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.captura-wa-header {
  text-align: center;
  padding-bottom: 18px;
}

.captura-wa-titulo {
  font-size: 88px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 3px 3px 0 #000, 0 0 14px rgba(255, 255, 255, 0.35);
}

.captura-wa-banner {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 34px;
  background: linear-gradient(180deg, #1a5fd8, #0c2f78);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  transform: skewX(-8deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.captura-wa-banner span {
  display: block;
  transform: skewX(8deg);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-wa-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.captura-wa-fila-tarjetas {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.captura-wa-card {
  flex: 0 0 316px;
  width: 316px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(255, 255, 255, 0.05) 100%),
    rgba(6, 20, 56, 0.55);
  border: 2px solid rgba(120, 170, 255, 0.45);
  border-radius: 18px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.captura-wa-card-header {
  padding: 12px 6px;
  text-align: center;
  font-size: 27px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.22)), #0c2358;
  text-shadow: 2px 2px 0 #000;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.captura-wa-primer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 10px;
}

.captura-wa-primer span {
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-wa-primer strong {
  font-size: 56px;
  font-weight: 1000;
  font-style: italic;
  color: #fff200;
  letter-spacing: 1px;
  text-shadow: 2.4px 2.4px 0 #000, 0 0 8px rgba(0, 0, 0, 0.9);
}

.captura-wa-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  padding: 6px 12px 18px;
}

.captura-wa-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.captura-wa-fila {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.captura-wa-pos {
  font-size: 19px;
  font-weight: 900;
  color: #ffd400;
  text-shadow: 1px 1px 0 #000;
}

.captura-wa-num {
  font-size: 27px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 1.5px 1.5px 0 #000;
}
FIN BACKUP EXPORTACION W */

.captura-wa-contenedor {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1080px;
  background:
    linear-gradient(115deg, transparent 40%, rgba(140, 190, 255, 0.07) 44%, transparent 48%),
    linear-gradient(115deg, transparent 58%, rgba(140, 190, 255, 0.05) 62%, transparent 66%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 900px 420px at 50% 6%, rgba(90, 160, 255, 0.35), transparent 70%),
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.3), transparent 32%),
    linear-gradient(150deg, #020817 0%, #0d2f7a 45%, #061a3e 100%);
  background-size: auto, auto, 26px 26px, 26px 26px, auto, auto, auto, auto;
  padding: 34px 32px;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.captura-wa-header {
  text-align: center;
  padding-bottom: 16px;
}

.captura-wa-titulo {
  font-size: 108px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 4px;
  color: #ffffff;
  text-shadow:
    0 2px 0 #eaf2ff,
    0 4px 2px #c3d6f2,
    0 6px 4px #7fa3d9,
    0 10px 16px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(90, 160, 255, 0.55);
}

.captura-wa-banner {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 40px;
  background: linear-gradient(180deg, #2d7dfb 0%, #145bd6 45%, #0b2f78 100%);
  border: 2px solid rgba(180, 215, 255, 0.6);
  border-radius: 10px;
  transform: skewX(-8deg);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(60, 140, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -6px 10px rgba(0, 0, 0, 0.25);
}

.captura-wa-banner span {
  display: block;
  transform: skewX(8deg);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-wa-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.captura-wa-fila-tarjetas {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.captura-wa-card {
  flex: 0 0 316px;
  width: 316px;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(160deg, #071026, #030712 85%);
  border: 2px solid rgba(110, 190, 255, 0.6);
  border-radius: 20px;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 16px rgba(50, 120, 255, 0.35),
    0 8px 16px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.captura-wa-card-header {
  padding: 14px 6px 12px;
  text-align: center;
  font-size: 29px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 55%, rgba(0, 0, 0, 0.18) 100%), #0c2358;
  text-shadow: 2px 2px 0 #000, 0 0 10px rgba(120, 180, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(140, 190, 255, 0.3);
}

.captura-wa-primer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 12px;
}

.captura-wa-primer span {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  transform: translateY(2px);
}

.captura-wa-primer strong {
  font-size: 72px;
  font-weight: 1000;
  font-style: italic;
  color: #ffe600;
  letter-spacing: 1px;
  text-shadow:
    2.5px 2.5px 0 #000,
    0 0 10px rgba(255, 217, 0, 0.55);
}

.captura-wa-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  padding: 8px 14px 20px;
}

.captura-wa-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.captura-wa-col:last-child {
  border-left: 1px solid rgba(140, 190, 255, 0.18);
  padding-left: 8px;
}

.captura-wa-fila {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.captura-wa-pos {
  font-size: 21px;
  font-weight: 900;
  color: #ffd400;
  text-shadow: 1px 1px 0 #000;
}

.captura-wa-num {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 1.5px 1.5px 0 #000;
}

.captura-qplus-escala {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1920px;
  aspect-ratio: 16 / 10;
  container-type: size;
}

.captura-qplus-pantalla {
  width: 62cqw;
  height: 100cqh;
  display: flex;
  flex-direction: column;
  padding: 1.4cqh 1.4cqw 1.9cqh;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.32), transparent 30%),
    linear-gradient(145deg, #04102e, #1640a8 46%, #0b2870);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

.captura-qplus-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35cqh;
  padding-bottom: 1.3cqh;
}

.captura-qplus-titulo {
  font-size: clamp(2rem, 4.4cqw, 4.6rem);
  font-weight: 1000;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 #000, 0 0 8px rgba(0, 0, 0, 0.85);
}

.captura-qplus-titulo strong {
  color: #fff200;
  margin-left: 18px;
}

.captura-qplus-subtitulo {
  font-size: clamp(1.1rem, 2cqw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-qplus-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
}

.captura-qplus-body .tabla-qplus {
  width: 100%;
  height: 100%;
}

.captura-qplus-body .qplus-num {
  background: #ffffff;
  box-shadow: none;
}

.captura-qplus-body .qplus-banner-sorteo-etiqueta {
  font-size: clamp(1rem, 1.7cqw, 1.9rem);
}

.captura-qplus-body .qplus-banner-sorteo-valor {
  font-size: clamp(1.5rem, 2.6cqw, 3rem);
  white-space: nowrap;
  line-height: 1.05;
}

.captura-qplus-body .qplus-banner-logo img {
  height: clamp(6.5rem, 12cqw, 13rem);
}

.captura-qplus-body .qplus-banner-promo {
  height: clamp(6.9rem, 17.3cqh, 12.5rem);
}

.captura-qplus-body .loto-banner-inferior-etiqueta {
  font-size: clamp(1.1rem, 1.9cqw, 2.2rem);
}

.captura-qplus-body .loto-banner-inferior-monto {
  font-size: clamp(2rem, 4cqw, 4.6rem);
}

.captura-loto-escala {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1920px;
  aspect-ratio: 16 / 9;
  container-type: size;
}

.captura-loto-pantalla {
  width: 62cqw;
  height: 100cqh;
  display: flex;
  flex-direction: column;
  padding: 1.4cqh 1.4cqw 1.9cqh;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.32), transparent 30%),
    linear-gradient(145deg, #04102e, #1640a8 46%, #0b2870);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

.captura-loto-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35cqh;
  padding-bottom: 1.3cqh;
}

.captura-loto-titulo {
  font-size: clamp(2rem, 4.4cqw, 4.6rem);
  font-weight: 1000;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 #000, 0 0 8px rgba(0, 0, 0, 0.85);
}

.captura-loto-titulo strong {
  color: #fff200;
  margin-left: 18px;
}

.captura-loto-subtitulo {
  font-size: clamp(1.1rem, 2cqw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-loto-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
}

.captura-loto-body .tabla-loto {
  width: 100%;
  height: 100%;
}

.captura-loto-body .columnas-loto {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.captura-loto-body .loto-num {
  background: #ffffff;
  box-shadow: none;
}

.captura-loto-body .qplus-banner-sorteo-etiqueta {
  font-size: clamp(1rem, 1.7cqw, 1.9rem);
}

.captura-loto-body .qplus-banner-sorteo-valor {
  font-size: clamp(1.5rem, 2.6cqw, 3rem);
  white-space: nowrap;
  line-height: 1.05;
}

.captura-loto-body .qplus-banner-logo img {
  height: clamp(5.4rem, 10cqw, 11rem);
}

.captura-loto-body .loto-titulo {
  font-size: clamp(1rem, 1.7cqw, 1.9rem);
}

.captura-loto-body .loto-numero-plus-etiqueta {
  font-size: clamp(0.6rem, 1cqw, 1.1rem);
}

.captura-loto-body .loto-numero-plus-valor {
  font-size: clamp(0.9rem, 1.5cqw, 1.7rem);
}

.captura-loto-body .qplus-banner-promo {
  height: clamp(4.7rem, 11.3cqh, 8.5rem);
  aspect-ratio: 1;
}

.captura-loto-body .loto-banner-inferior-etiqueta {
  font-size: clamp(1.1rem, 1.9cqw, 2.2rem);
}

.captura-loto-body .loto-banner-inferior-monto {
  font-size: clamp(2rem, 4cqw, 4.6rem);
}

.captura-quini6-escala {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1920px;
  aspect-ratio: 16 / 11;
  container-type: size;
}

.captura-quini6-pantalla {
  width: 62cqw;
  height: 100cqh;
  display: flex;
  flex-direction: column;
  padding: 1.4cqh 1.4cqw 1.9cqh;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(0, 0, 0, 0.32), transparent 30%),
    linear-gradient(145deg, #04102e, #1640a8 46%, #0b2870);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

.captura-quini6-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35cqh;
  padding-bottom: 1.3cqh;
}

.captura-quini6-titulo {
  font-size: clamp(2rem, 4.4cqw, 4.6rem);
  font-weight: 1000;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 #000, 0 0 8px rgba(0, 0, 0, 0.85);
}

.captura-quini6-titulo strong {
  color: #fff200;
  margin-left: 18px;
}

.captura-quini6-subtitulo {
  font-size: clamp(1.1rem, 2cqw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.captura-quini6-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
}

.captura-quini6-body .tabla-quini6 {
  width: 100%;
  height: 100%;
}

.captura-quini6-body .quini6-num {
  background: #ffffff;
  box-shadow: none;
}

.captura-quini6-body .qplus-banner-sorteo-etiqueta {
  font-size: clamp(1rem, 1.7cqw, 1.9rem);
}

.captura-quini6-body .qplus-banner-sorteo-valor {
  font-size: clamp(1.5rem, 2.6cqw, 3rem);
  white-space: nowrap;
  line-height: 1.05;
}

.captura-quini6-body .qplus-banner-logo img {
  height: clamp(5.4rem, 10cqw, 11rem);
}

.captura-quini6-body .qplus-banner-promo {
  height: clamp(5.9rem, 14.6cqh, 10.6rem);
  aspect-ratio: 1;
}

.captura-quini6-body .quini6-banner-inferior-etiqueta {
  font-size: clamp(1.1rem, 1.9cqw, 2.2rem);
}

.captura-quini6-body .quini6-banner-inferior-monto {
  font-size: clamp(2rem, 4cqw, 4.6rem);
}

/* Modo impresion: fondo blanco en vez del degrade azul, para ahorrar tinta */
.captura-qplus-pantalla.modo-impresion,
.captura-loto-pantalla.modo-impresion,
.captura-quini6-pantalla.modo-impresion {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(10, 30, 60, 0.15);
}

.captura-qplus-pantalla.modo-impresion .captura-qplus-titulo,
.captura-loto-pantalla.modo-impresion .captura-loto-titulo,
.captura-quini6-pantalla.modo-impresion .captura-quini6-titulo {
  color: #0a2049;
  text-shadow: none;
}

.captura-qplus-pantalla.modo-impresion .captura-qplus-titulo strong,
.captura-loto-pantalla.modo-impresion .captura-loto-titulo strong,
.captura-quini6-pantalla.modo-impresion .captura-quini6-titulo strong {
  color: #d61f26;
}

.captura-qplus-pantalla.modo-impresion .captura-qplus-subtitulo,
.captura-loto-pantalla.modo-impresion .captura-loto-subtitulo,
.captura-quini6-pantalla.modo-impresion .captura-quini6-subtitulo {
  color: #0a2049;
  text-shadow: none;
}

/* Modo impresion: tarjetas de resultados sin relleno de color */
.modo-impresion .columna-qplus,
.modo-impresion .columna-loto,
.modo-impresion .columna-quini6 {
  background: #ffffff;
  border: 0.09cqh solid #123166;
  box-shadow: none;
}

.modo-impresion .qplus-titulo,
.modo-impresion .loto-titulo,
.modo-impresion .quini6-titulo {
  background: #ffffff;
  color: #0a2049;
  border-bottom: 0.09cqh solid #123166;
}

.modo-impresion .qplus-numeros-bloque {
  border-color: rgba(10, 30, 60, 0.25);
}

.modo-impresion .qplus-premio-fila {
  color: #16233f;
  border-bottom: 0.07cqh solid rgba(10, 30, 60, 0.18);
}

.modo-impresion .qplus-premio-header {
  color: #123166;
  border-bottom: 0.11cqh solid rgba(10, 30, 60, 0.35);
}

.modo-impresion .qplus-premio-importe {
  color: #9a6b00;
}

.modo-impresion .qplus-vacante {
  background: #ffffff;
  border: 0.09cqh solid #1f9c3a;
  border-left: 0.09cqh solid #1f9c3a;
}

.modo-impresion .qplus-vacante-etiqueta {
  color: #1f9c3a;
}

.modo-impresion .qplus-vacante-monto {
  color: #0f6b23;
}

.modo-impresion .loto-numero-plus {
  background: #ffffff;
  border: 0.07cqh solid #a30d0d;
}

.modo-impresion .loto-numero-plus-etiqueta {
  color: #a30d0d;
}

.modo-impresion .loto-numero-plus-valor {
  color: #a30d0d;
}

.modo-impresion .loto-banner-inferior-etiqueta,
.modo-impresion .quini6-banner-inferior-etiqueta {
  background: #ffffff;
  color: #a30d0d;
  border: 0.09cqh solid #a30d0d;
  text-shadow: none;
  box-shadow: none;
}

.modo-impresion .loto-banner-inferior-monto,
.modo-impresion .quini6-banner-inferior-monto {
  background: #ffffff;
  color: #0a2049;
  border: 0.09cqh solid #0a2049;
  border-left: none;
  animation: none;
}

/* Modo impresion: capturas de Quiniela (Previa/Primera/Matutina/Vespertina/Nocturna) */
.captura-contenedor.modo-impresion {
  background: #ffffff;
  color: #0a2049;
  box-shadow: 0 0 0 1px rgba(10, 30, 60, 0.15);
}

.captura-contenedor.modo-impresion .captura-titulo {
  color: #0a2049;
  text-shadow: none;
}

.captura-contenedor.modo-impresion .captura-fecha {
  color: #0a2049;
  text-shadow: none;
}

.captura-contenedor.modo-impresion .captura-columna {
  background: #ffffff;
  border-left: 3px solid #123166;
  border-right: 3px solid #123166;
  box-shadow: none;
}

.captura-contenedor.modo-impresion .captura-columna h2 {
  background: #ffffff;
  color: #0a2049;
  text-shadow: none;
  border-bottom: 3px solid #123166;
}

.captura-contenedor.modo-impresion .captura-sep {
  border-top: 1px solid rgba(10, 30, 60, 0.3);
}

.captura-contenedor.modo-impresion .captura-pos {
  color: #123166;
  opacity: 1;
  text-shadow: none;
}

.captura-contenedor.modo-impresion .captura-num {
  color: #16233f;
  text-shadow: none;
}

.captura-contenedor.modo-impresion .captura-fila:first-of-type .captura-num {
  color: #a30d0d;
}

/* Modo claro: captura celeste con Mendoza incluido */
.captura-contenedor.modo-claro {
  background: #eef5f9;
  color: #0a2049;
  box-shadow: 0 0 0 1px rgba(10, 30, 60, 0.15);
}

.captura-contenedor.modo-claro .captura-header {
  margin: -14px -12px 12px;
  padding: 16px 12px 12px;
  background: #1ea6d6;
  border-bottom: 6px solid #ffcc00;
}

.captura-contenedor.modo-claro .captura-titulo {
  color: #fff;
  text-shadow: none;
}

.captura-contenedor.modo-claro .captura-fecha {
  color: #fff;
  text-shadow: none;
}

.captura-contenedor.modo-claro .captura-columna {
  background: #ffffff;
  border-left: 3px solid #1ea6d6;
  border-right: 3px solid #1ea6d6;
  border-bottom: 4px solid #1ea6d6;
  box-shadow: none;
}

.captura-contenedor.modo-claro .captura-columna h2 {
  background: #1ea6d6;
  color: #fff;
  text-shadow: none;
  border-bottom: 3px solid #ffcc00;
}

.captura-contenedor.modo-claro .captura-sep {
  border-top: 2px solid rgba(10, 30, 60, 0.45);
}

.captura-contenedor.modo-claro .captura-pos {
  color: #0a2049;
  opacity: 0.85;
  text-shadow: none;
}

.captura-contenedor.modo-claro .captura-num {
  color: #16233f;
  text-shadow: none;
}

.captura-contenedor.modo-claro .captura-fila:first-of-type {
  background: #ffe600;
  border-radius: 6px;
}

.captura-contenedor.modo-claro .captura-fila:first-of-type .captura-num,
.captura-contenedor.modo-claro .captura-fila:first-of-type .captura-pos {
  color: #16233f;
}
