/* La bomba: la caja de petardos valenciana de Bomba (amarillo, rojo descuadrado, texto legal de la caja).
   También viste el generador de palabras para mímica. */
.banda-juego { --y:#ffd31a; --y2:#ffc400; --red:#e3171e; --red2:#c8101a; --ink:#111; background: var(--y); color: var(--ink); }
.banda-juego h1 { font: 400 clamp(34px, 9.5vw, 58px)/.95 'Bowlby One', Impact, sans-serif; color: var(--red); text-shadow: 3px 3px 0 var(--ink); letter-spacing: 0; }
.banda-juego .sub { font: 700 17px/1.3 'Archivo Narrow', sans-serif; color: var(--ink); }
#juego.bom, #juego.gen-mimica { font: 700 17px/1.3 'Archivo Narrow', sans-serif; color: var(--ink); -webkit-user-select: none; user-select: none; }
.bom button, .gen-mimica button, .gen-mimica a.sec, .bom .tdh-boton { font: 400 19px 'Bowlby One', sans-serif; padding: 14px 14px 16px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; text-align: center; text-decoration: none; display: block; }
.bom button:active, .gen-mimica button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.bom button.rojo, .gen-mimica button.prim { background: var(--red); color: #fff; }
.bom button.grande { font-size: 26px; padding: 22px 14px 24px; }
.bom button.suave { box-shadow: none; background: transparent; }
.bom .caja { position: relative; border: 3px solid var(--ink); padding: 26px 12px 12px; background: #fff; }
.bom .sello, .gen-mimica .sello { position: absolute; top: -14px; left: 10px; background: var(--red); color: #fff; font: 400 15px 'Bowlby One', sans-serif; padding: 2px 10px; transform: rotate(-3deg); }
.bom .seg { display: flex; gap: 6px; }
.bom .seg button { flex: 1; font-size: 15px; padding: 10px 4px; box-shadow: none; border-width: 2px; }
.bom .seg button.on { background: var(--ink); color: var(--y); }
.bom .petardo { width: 70%; margin: 18px auto 0; display: block; }
.bom .chispa { animation: chispa .25s steps(2) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes chispa { 50% { transform: scale(1.25) rotate(20deg); } }
.bom .legal { font-size: 13px; line-height: 1.3; border-top: 2px solid var(--ink); padding-top: 8px; margin: 14px 0 0; }
.bom .mecha svg { width: 100%; display: block; margin-top: 4px; }
.bom .frase { font-size: 22px; margin: 26px 0 0; }
.bom .cosa { font: 400 clamp(40px, 13vw, 74px)/.95 'Bowlby One', sans-serif; color: var(--red); text-shadow: 3px 3px 0 var(--ink); margin: 6px 0 0; overflow-wrap: anywhere; }
/* explosión: la caja se vuelve roja */
.bom.bum { background: repeating-conic-gradient(from 0deg at 50% 40%, var(--red) 0 7.5deg, var(--red2) 7.5deg 15deg); margin: 0 -20px; padding: 0 20px; color: #fff; }
.bom .bumtxt { font: 400 clamp(80px, 26vw, 130px)/.9 'Bowlby One', sans-serif; color: var(--y); text-shadow: 5px 5px 0 var(--ink); margin: 30px 0 0; }
.bom.bum .frase { color: #fff; } .bom .pases { color: var(--y); }
.bom .tdh-invitacion { border-top: 2px solid var(--ink); padding-top: 10px; }
.bom.bum .tdh-invitacion { border-color: #fff; }
.bom .tdh-gancho { margin: 0 0 8px; font-size: 15px; }
.bom .tdh-panel { position: absolute; inset: 0; z-index: 5; background: var(--y); color: var(--ink); display: flex; flex-direction: column; padding: 10px 0 0; }
.bom .tdh-titulo { font: 400 28px/1 'Bowlby One', sans-serif; margin: 6px 0 10px; }
.bom .tdh-texto { margin: 0 0 12px; }
.bom .tdh-corto { font: 400 clamp(18px, 6.5vw, 26px) 'Bowlby One', sans-serif; white-space: nowrap; color: var(--red); margin: 0 0 14px; }
.bom .tdh-panel .tdh-acciones { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.bom .tdh-panel .tdh-boton.negro { background: var(--red); color: #fff; }
.bom .tdh-invitacion > .tdh-boton, .gen .tdh-invitacion > .tdh-boton { width: 100%; }
