/* Gasalai Lottery – piezas para builders. Todo con :where() = especificidad cero: cualquier regla de tu builder gana.
   Variables para cambiar lo básico sin escribir CSS:
   --gsl-pz-c (color de la barra) · --gsl-pz-track (fondo) · --gsl-pz-h (alto) · --gsl-pz-r (radio) · --gsl-pz-pct (color del %) · --gsl-pz-urgente
   Cuenta regresiva: --gsl-pz-borde (borde del recuadro) · --gsl-pz-ct-r (radio) · --gsl-pz-n-size (tamaño del número) */
:where(.gsl-pz){--gsl-pz-c:var(--gsl-c,#4f46e5);--gsl-pz-track:#e9ebf3;--gsl-pz-h:18px;--gsl-pz-r:999px;--gsl-pz-pct:#14161f;--gsl-pz-urgente:#b42318;--gsl-pz-borde:color-mix(in srgb,currentColor 22%,transparent);--gsl-pz-ct-r:12px;--gsl-pz-n-size:2.2em;font:inherit;color:inherit;box-sizing:border-box}
:where(.gsl-pz) *{box-sizing:border-box}

:where(.gsl-pg-barra){position:relative;height:var(--gsl-pz-h);background:var(--gsl-pz-track);border-radius:var(--gsl-pz-r);overflow:hidden}
:where(.gsl-pg-relleno){display:block;height:100%;background:var(--gsl-pz-c);border-radius:inherit;transition:width .6s ease}
:where(.gsl-pg-pct){position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;line-height:1;color:var(--gsl-pz-pct);text-shadow:0 0 6px #fff}
:where(.gsl-pg-texto){margin-top:.4em}

:where(.gsl-ct-unidades){display:inline-flex;flex-wrap:wrap;gap:.75em;align-items:stretch}
/* Cada unidad es un recuadro sin fondo: número grande arriba, texto chico abajo. */
:where(.gsl-ct-u){display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:5.2em;padding:.7em 1em;border:1px solid var(--gsl-pz-borde);border-radius:var(--gsl-pz-ct-r);background:transparent}
:where(.gsl-ct-n){display:block;font-size:var(--gsl-pz-n-size);font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
:where(.gsl-ct-l){display:block;margin-top:.45em;font-size:.7em;line-height:1;letter-spacing:.14em;text-transform:uppercase;opacity:.7}
:where(.gsl-ct-sin-etq .gsl-ct-u){min-width:3.4em}
:where(.gsl-ct-antes){margin-right:.6em}
:where(.gsl-ct-urgente .gsl-ct-n){color:var(--gsl-pz-urgente)}
/* Buscador de boletos */
:where(.gsl-bu){position:relative;--gsl-pz-ok:#0f7a4f;--gsl-pz-ok-bg:#e4f6ec;--gsl-pz-espera:#8a5a00;--gsl-pz-espera-bg:#fff3d6;--gsl-pz-anulado:#a3281d;--gsl-pz-anulado-bg:#fde8e6;--gsl-pz-card:transparent}
:where(.gsl-bu-form){display:flex;gap:.6em;align-items:stretch;flex-wrap:wrap}
:where(.gsl-bu-campo){flex:1 1 14em;min-width:0;padding:.8em 1em;font:inherit;color:inherit;background:transparent;border:1px solid var(--gsl-pz-borde);border-radius:10px}
:where(.gsl-bu-boton){padding:.8em 1.4em;font:inherit;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:var(--gsl-pz-c);border:0;border-radius:8px;cursor:pointer}
:where(.gsl-bu-boton:disabled){opacity:.6;cursor:wait}
:where(.gsl-bu-msg){margin:.9em 0 0;opacity:.85}
:where(.gsl-bu-error){color:var(--gsl-pz-anulado);opacity:1}
:where(.gsl-bu-tarjeta){margin-top:1em;padding:1.1em 1.3em;border:1px solid var(--gsl-pz-borde);border-radius:16px;background:var(--gsl-pz-card)}
:where(.gsl-bu-cab){display:flex;justify-content:space-between;align-items:center;gap:.8em;flex-wrap:wrap}
:where(.gsl-bu-pedido-l){opacity:.7}
:where(.gsl-bu-insignia){display:inline-flex;align-items:center;gap:.5em;padding:.3em .8em;border-radius:999px;font:700 .72em/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase}
:where(.gsl-bu-punto){width:.6em;height:.6em;border-radius:50%;background:currentColor}
:where(.gsl-bu-ok){color:var(--gsl-pz-ok);background:var(--gsl-pz-ok-bg)}
:where(.gsl-bu-espera){color:var(--gsl-pz-espera);background:var(--gsl-pz-espera-bg)}
:where(.gsl-bu-anulado){color:var(--gsl-pz-anulado);background:var(--gsl-pz-anulado-bg)}
:where(.gsl-bu-numeros){display:flex;flex-wrap:wrap;gap:.5em;margin:1em 0 .2em}
:where(.gsl-bu-num){display:inline-block;padding:.35em .8em;border:2px solid currentColor;border-radius:8px;font-weight:800;font-size:1.25em;letter-spacing:.12em;font-variant-numeric:tabular-nums}
:where(.gsl-bu-mas){align-self:center;opacity:.7}
:where(.gsl-bu-texto){margin:.8em 0 0}
:where(.gsl-bu-aviso){margin:.5em 0 0;font-size:.9em;opacity:.8}

[hidden].gsl-ct-antes,[hidden].gsl-ct-unidades,[hidden].gsl-ct-final{display:none}

@media (prefers-reduced-motion:reduce){:where(.gsl-pg-relleno){transition:none}}
