/* Núcleo de juego (igual en JUGADA DE GLORIA y CUOTA GANADORA): letrero de estado, 18+, cuenta, lluvia de premios, panel. */
.letrero { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); margin: 10px 0 14px; border: 1px solid; backdrop-filter: blur(10px); animation: entra .5s ease both; }
.letrero > div { display: flex; flex-direction: column; flex: 1; } .letrero span { color: var(--suave); font-size: .9em; }
.letrero__ic { font-size: 28px; animation: flota 2.4s ease-in-out infinite; }
.letrero--apagado { background: linear-gradient(90deg, rgba(120, 20, 30, .55), rgba(30, 10, 14, .6)); border-color: rgba(244, 63, 94, .55); }
.letrero--demo { background: linear-gradient(90deg, rgba(130, 90, 10, .55), rgba(40, 26, 6, .6)); border-color: rgba(255, 176, 0, .6); }
.letrero--on { background: linear-gradient(90deg, rgba(10, 110, 60, .5), rgba(6, 30, 18, .6)); border-color: rgba(34, 197, 94, .6); }
.pie18 { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px dashed rgba(255, 255, 255, .18); color: var(--suave); font-size: .9em; }
.pie18__circulo, .chip18 { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c8102e; color: #fff; font-weight: 900; font-family: Orbitron, sans-serif; font-size: 12px; box-shadow: 0 0 0 3px #fff inset; }
.chip18 { width: 30px; height: 30px; font-size: 10px; }
.saldo-gigante { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 18px; border-radius: var(--r); background: linear-gradient(135deg, var(--vidrio2), rgba(0, 0, 0, .4)); border: 1px solid var(--borde2); margin-bottom: 14px; }
.saldo-gigante b { font: 900 clamp(26px, 7vw, 44px) Orbitron, sans-serif; background: linear-gradient(90deg, var(--naranja2), #fff, var(--naranja2)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brilloTexto 3s linear infinite; }
.saldo-gigante em { color: var(--suave); }
@keyframes brilloTexto { to { background-position: -200% 0; } }
.rejilla-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.barra { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; flex: 1; min-width: 80px; } .barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--naranja), var(--naranja2)); }
.tarjeta-config.jr { border-color: rgba(34, 197, 94, .5); } .tarjeta-config.peligro { border-color: rgba(244, 63, 94, .55); }
.tabla input[type=number] { width: 100%; min-width: 80px; }
.lluvia { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.lluvia i { position: absolute; top: -40px; font-style: normal; animation: cae 2.4s cubic-bezier(.3, .1, .6, 1) forwards; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
@keyframes cae { to { transform: translateY(110vh) rotate(540deg); opacity: .2; } }
.rec-grande { font-size: 1.2em; font-weight: 700; }
.interruptor-maestro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.im { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .35); font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.im span { font-size: 30px; } .im:hover { transform: translateY(-3px); }
.im.activa.im--apagado { border-color: #f43f5e; box-shadow: 0 0 24px rgba(244, 63, 94, .5); } .im.activa.im--demo_interno { border-color: #ffb000; box-shadow: 0 0 24px rgba(255, 176, 0, .5); } .im.activa.im--encendido { border-color: #22c55e; box-shadow: 0 0 24px rgba(34, 197, 94, .5); }
.check-linea.mal { color: #fda4af; } .check-linea.ok { color: #86efac; }
.estres { padding: 14px; border-radius: 14px; margin: 10px 0; border: 1px solid; } .estres.ok { border-color: rgba(34, 197, 94, .5); background: rgba(6, 40, 20, .4); } .estres.mal { border-color: rgba(244, 63, 94, .55); background: rgba(60, 8, 16, .4); }
.medidor-ruina { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 18px; border-radius: 50%; border: 4px solid currentColor; margin-bottom: 10px; } .medidor-ruina b { font: 900 22px Orbitron, sans-serif; }
.riesgo { border-left: 4px solid #64748b; } .riesgo.p3 { border-left-color: #f59e0b; } .riesgo.p4 { border-left-color: #f97316; } .riesgo.p5 { border-left-color: #ef4444; animation: oscila 1.2s ease-in-out infinite; }
@keyframes oscila { 50% { transform: translateX(3px); } }
.latido { animation: latido 1.2s ease-in-out infinite; } @keyframes latido { 50% { transform: scale(1.08); box-shadow: 0 0 14px rgba(244, 63, 94, .7); } }
.fichas { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px; justify-content: center; }
.ficha-c { --c: hsl(calc(var(--f) * 40), 75%, 45%); flex: none; width: 46px; height: 46px; border-radius: 50%; border: 4px dashed rgba(255, 255, 255, .85); background: radial-gradient(circle, var(--c) 55%, #111 56%, var(--c) 62%); color: #fff; font-weight: 900; font-size: 12px; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); transition: transform .15s; }
.ficha-c.on { transform: translateY(-6px) scale(1.12); box-shadow: 0 0 0 3px #ffd27a, 0 10px 20px rgba(0, 0, 0, .6); }
[data-ficha]:not([data-ficha=""])::after { content: attr(data-ficha); position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 11px; background: #ffd27a; color: #2a1405; font-size: 11px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); animation: entra .25s ease both; }
.btn-girar { position: relative; padding: 14px 28px; border: 0; border-radius: 999px; font: 900 16px Orbitron, sans-serif; letter-spacing: 1px; color: #1a0d03; cursor: pointer; background: linear-gradient(135deg, #ffe0a3, var(--naranja2), var(--naranja)); box-shadow: 0 8px 24px rgba(255, 140, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .2); overflow: hidden; }
.btn-girar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-100%); animation: barrido 2.4s ease-in-out infinite; }
.btn-girar:disabled { filter: grayscale(.6); opacity: .7; } @keyframes barrido { 60%, 100% { transform: translateX(100%); } }
.gano { display: block; text-align: center; font: 900 clamp(20px, 5vw, 30px) Orbitron, sans-serif; color: #ffd27a; text-shadow: 0 0 18px rgba(255, 200, 80, .8); animation: pulso 0.9s ease-in-out 3; margin: 10px 0; }
@keyframes pulso { 50% { transform: scale(1.12); } }
.res-txt { display: block; text-align: center; font-weight: 800; margin: 8px 0; color: var(--suave); }
.vip-gold { border-color: #f5c542; } .vip-platinum { border-color: #cbd5e1; } .vip-diamond { border-color: #67e8f9; } .vip-elite { border-color: #f472b6; }
a.chip { text-decoration: none; } .juego-t .sello { position: static; }
