/* LUCES, CÁMARA… ¡SERVICIO! · estilos compartidos */
@font-face { font-family: "Lilita"; src: url("/fuentes/lilita.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fuentes/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --noche: #120a2a; --noche2: #1d1145; --morado: #6b2fd9; --lila: #a98bff; --celeste: #35c5f5; --amarillo: #ffc93c;
  --magenta: #ff4fa3; --crema: #fff6e5; --verde: #39d98a; --rojo: #ff5964; --tinta: #231942;
  --sombra: 0 18px 50px rgba(8, 3, 28, .55);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: "Nunito", system-ui, sans-serif; color: var(--crema); background: var(--noche); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .titulo { font-family: "Lilita", "Nunito", sans-serif; font-weight: 400; letter-spacing: .01em; margin: 0; line-height: 1.02; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }

/* Rótulo de marquesina */
.rotulo { display: inline-flex; flex-direction: column; line-height: .92; font-family: "Lilita", sans-serif; text-transform: uppercase; text-shadow: 0 .06em 0 rgba(0,0,0,.35); }
.rotulo .a { color: var(--amarillo); }
.rotulo .b { color: #fff; }
.rotulo .b em { font-style: normal; color: var(--magenta); }

/* Bombillos */
.bombillos { position: relative; }
.bombillos::before { content: ""; position: absolute; inset: -.55em; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle, #fff7c9 0 28%, #ffc93c 30% 46%, transparent 50%) 0 0 / 1.9em 1.9em repeat-x,
    radial-gradient(circle, #fff7c9 0 28%, #ffc93c 30% 46%, transparent 50%) 0 100% / 1.9em 1.9em repeat-x,
    radial-gradient(circle, #fff7c9 0 28%, #ffc93c 30% 46%, transparent 50%) 0 0 / 1.9em 1.9em repeat-y,
    radial-gradient(circle, #fff7c9 0 28%, #ffc93c 30% 46%, transparent 50%) 100% 0 / 1.9em 1.9em repeat-y;
  filter: drop-shadow(0 0 .35em rgba(255, 201, 60, .9)); animation: titilar 1.6s steps(2) infinite; opacity: .95; }
@keyframes titilar { 50% { opacity: .55; } }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.3em; border-radius: 999px; font-weight: 900;
  background: linear-gradient(180deg, #ffd964, #ffb81f); color: var(--tinta); box-shadow: 0 .28em 0 #b97400, 0 .8em 1.4em rgba(0,0,0,.35); transition: transform .08s, box-shadow .08s, filter .15s; }
.boton:active { transform: translateY(.2em); box-shadow: 0 .08em 0 #b97400, 0 .3em .6em rgba(0,0,0,.35); }
.boton[disabled] { filter: grayscale(.8) brightness(.75); pointer-events: none; }
.boton.rosa { background: linear-gradient(180deg, #ff7bbd, #ff3f97); color: #fff; box-shadow: 0 .28em 0 #b01561, 0 .8em 1.4em rgba(0,0,0,.35); }
.boton.cielo { background: linear-gradient(180deg, #6fdcff, #22b3ea); color: var(--tinta); box-shadow: 0 .28em 0 #0b79a6, 0 .8em 1.4em rgba(0,0,0,.35); }
.boton.fantasma { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
.boton.fantasma:active { transform: scale(.97); }
.boton.rojo { background: linear-gradient(180deg, #ff8088, #f0404c); color: #fff; box-shadow: 0 .28em 0 #9c1620, 0 .8em 1.4em rgba(0,0,0,.35); }

.ficha { display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 800; }
.pie-marca { font-weight: 800; letter-spacing: .04em; opacity: .9; }
.pie-marca b { color: var(--lila); } .pie-marca i { font-style: normal; color: var(--celeste); }

/* Puerta de clave (pantalla y control) */
.puerta { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3b1c8f, #120a2a 70%); padding: 20px; }
.puerta-caja { width: min(440px, 100%); text-align: center; display: grid; gap: 14px; }
.puerta-caja p { margin: 0; font-weight: 800; font-size: 18px; }
.puerta-caja input { font: inherit; font-size: 24px; font-weight: 800; text-align: center; padding: 16px; border-radius: 18px; border: 3px solid var(--lila); background: #fff; color: var(--tinta); }
.puerta-caja .boton { font-size: 22px; padding: 16px; }
.puerta-error { color: #ffb3b8; min-height: 1.2em; }
