html, body { min-height: 100%; }
body { background: radial-gradient(120% 70% at 50% 0%, #2a1840 0%, #110b1a 60%, #07050b 100%); min-height: 100dvh; }
body.lv-verde    { background: radial-gradient(120% 70% at 50% 0%, #0f5a2c 0%, #071a0e 60%, #050a07 100%); }
body.lv-amarillo { background: radial-gradient(120% 70% at 50% 0%, #5a4706 0%, #1d1603 60%, #0b0902 100%); }
body.lv-rojo     { background: radial-gradient(120% 70% at 50% 0%, #6a1212 0%, #210606 60%, #0c0303 100%); }
body.hot { background: radial-gradient(120% 90% at 50% 40%, #b3200f 0%, #4a0a05 60%, #120302 100%); }
.jtop { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; }
.jtop b { flex: 1; font-size: 1rem; }
.jtop .lights { display: inline-flex; gap: 4px; }
.jtop .lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.jtop .lights i:nth-child(1) { background: var(--verde); } .jtop .lights i:nth-child(2) { background: var(--amarillo); } .jtop .lights i:nth-child(3) { background: var(--rojo); }
.admin { font-size: .78rem; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; opacity: .7; }
main { max-width: 560px; margin: 0 auto; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); }

.join { text-align: center; padding-top: 6vh; }
.join h1 { font-size: 2.2rem; line-height: 1.05; margin: 10px 0 6px; font-weight: 900; }
.join .ic { font-size: 3.4rem; }
.join input { font-size: 1.3rem; text-align: center; padding: 16px; margin-top: 24px; }
.join .btn.big { margin-top: 12px; }
.names { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.names .pchip { font-size: .95rem; }

.who { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.who button { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 4px; }
.panel { background: #00000040; border: 1px solid #ffffff18; border-radius: 22px; padding: 20px 16px; text-align: center; }
.panel .k { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel .q { font-size: 1.45rem; font-weight: 900; line-height: 1.25; margin: 10px 0 4px; }
.panel .big-ic { font-size: 4rem; line-height: 1; margin: 6px 0; }
.panel .wait { color: var(--muted); margin-top: 10px; }
.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.vote-grid .btn { padding: 18px 8px; font-size: 1.1rem; font-weight: 800; border-radius: 16px; }
.vote-grid .btn.sel { background: var(--accent); color: #12001f; border-color: transparent; }
.vt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.vt .btn { padding: 26px 8px; font-size: 1.3rem; font-weight: 900; border-radius: 18px; }
.vt .btn.v.sel { background: var(--ok); color: #04210f; }
.vt .btn.m.sel { background: var(--bad); color: #fff; }
.res { margin-top: 14px; font-size: 1.1rem; }
.res .big { font-size: 2rem; font-weight: 900; margin: 6px 0; }
.res .pen { display: inline-block; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: #00000050; font-weight: 700; }
.me-hit { color: #ff8a7a; }

.bombbtn { display: block; width: 100%; margin-top: 18px; border: 0; border-radius: 28px; padding: 34px 12px; font-size: 1.6rem; font-weight: 900; color: #fff; background: radial-gradient(circle at 50% 30%, #ff5a3a, #b3140a); box-shadow: 0 0 40px #ff3b1f90; cursor: pointer; touch-action: manipulation; }
.bombbtn:active { transform: scale(.97); }
.bombbtn .b { font-size: 4.6rem; display: block; line-height: 1.1; animation: tick .5s infinite; }
.st2 .bombbtn .b { animation-duration: .3s; } .st3 .bombbtn .b { animation-duration: .16s; }
@keyframes tick { 0%, 100% { transform: scale(1) rotate(-6deg); } 50% { transform: scale(1.1) rotate(6deg); } }

.hold { margin-top: 16px; user-select: none; -webkit-user-select: none; touch-action: none; border-radius: 18px; padding: 22px 12px; border: 2px dashed #ffffff40; font-weight: 800; cursor: pointer; }
.hold.on.verdad { background: var(--ok); color: #04210f; border-color: transparent; }
.hold.on.mentira { background: var(--bad); color: #fff; border-color: transparent; }
.hold .sx { font-size: 2rem; font-weight: 900; display: block; }
.pchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: .95rem; }
.pchip:active { background: var(--surface2); }
