/* ===== Reações (tomate, chinelo, coração e fogo) =====
   Uma camada por cima de qualquer jogo: ver "reações" no app.js. */
.re-palco { position: fixed; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; }
.re-voos { position: absolute; inset: 0; overflow: hidden; }
.re-anuncio { position: absolute; left: 50%; top: 16%; display: grid; justify-items: center; gap: 2px; padding: 5px 16px; border-radius: 14px; transform: translateX(-50%); text-align: center; background: rgba(8, 5, 14, .84); color: var(--im-marfim); box-shadow: 0 0 0 1px rgba(230, 195, 106, .5); animation: re-anuncio 2.2s ease-out both; }
.re-anuncio > b { font: 900 34px/1 var(--im-sans); color: var(--im-ouro-claro); }
.re-anuncio > span { font-size: 13.5px; white-space: nowrap; }
.re-anuncio > span b { color: var(--im-ouro-claro); }
@keyframes re-anuncio { 0% { transform: translate(-50%, -14px) scale(.8); opacity: 0; } 10% { transform: translate(-50%, 0) scale(1.05); opacity: 1; } 18% { transform: translate(-50%, 0) scale(1); } 82% { opacity: 1; } 100% { opacity: 0; } }
.re-menu { position: fixed; z-index: 9; pointer-events: auto; display: grid; gap: 4px; padding: 5px; border-radius: 15px; border: 1px solid rgba(230, 195, 106, .5); background: rgba(14, 10, 26, .96); box-shadow: 0 12px 24px -8px #000; }
.re-menu[hidden] { display: none; }
.re-itens { display: grid; grid-template-columns: repeat(5, 52px); gap: 4px; }
.re-menu .re-itens .perfil { grid-column: 1 / -1; width: auto; height: 32px; }
.re-menu button { display: grid; justify-items: center; align-content: center; gap: 1px; width: 52px; height: 56px; padding: 5px 2px 3px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .06); cursor: pointer; }
.re-menu button svg { width: 31px; height: 31px; }
.re-menu button small { font: 700 10px var(--im-sans); color: var(--im-ouro-claro); white-space: nowrap; }
.re-menu button:active { transform: scale(.9); }
.re-menu button:disabled { opacity: .35; cursor: default; }
.re-saldo { text-align: center; font-size: 10.5px; color: var(--im-cinza); }
.re-menu .perfil { width: auto; padding: 0 11px; font: 700 12.5px var(--im-sans); color: var(--im-marfim); }
.re-pacotes { display: flex; gap: 4px; }
.re-menu .re-pacotes button { flex: 1; width: auto; min-width: 0; height: 32px; padding: 0 2px; display: flex; align-items: center; justify-content: center; font: 800 12.5px var(--im-sans); color: var(--im-marfim); }
.re-menu .re-pacotes .on { background: linear-gradient(180deg, var(--im-ouro-claro), var(--im-ouro)); color: #1a1205; }
.re-item { position: absolute; left: 0; top: 0; width: 40px; height: 40px; filter: drop-shadow(0 7px 5px rgba(0, 0, 0, .55)); }
.re-item svg { width: 100%; height: 100%; }
.re-item.it-chinelo { width: 36px; height: 50px; }
.re-marca { position: absolute; width: 62px; height: 62px; margin: -31px 0 0 -31px; pointer-events: none; }
.re-marca.tomate { rotate: var(--g, 0deg); animation: ul-estoura 7s ease-out both; }
@keyframes ul-estoura { 0% { transform: scale(.2, 1.5); } 5% { transform: scale(1.35, .8); } 9% { transform: scale(1); } 86% { opacity: 1; transform: translateY(9px); } 100% { opacity: 0; transform: translateY(16px); } }
.re-marca.gota { width: 9px; height: 9px; margin: -4px; border-radius: 50%; background: var(--gota, #d8322a); rotate: var(--a); animation: ul-gota .5s ease-out both; }
@keyframes ul-gota { to { transform: translateY(-52px) scale(.3); opacity: 0; } }
.re-marca.pa { width: 96px; height: 96px; margin: -48px 0 0 -48px; display: grid; place-items: center; rotate: var(--g, 0deg); animation: ul-pa .75s cubic-bezier(.2,.9,.3,1) both; }
.re-marca.pa svg { position: absolute; inset: 0; }
.re-marca.pa b { position: relative; font: 900 25px var(--im-sans); color: #c8263a; }
.re-marca.bum { width: 118px; height: 118px; margin: -59px 0 0 -59px; }
.re-marca.bum b { color: #fff; font-size: 28px; -webkit-text-stroke: 1.5px #7a2200; }
.re-marca.pingo { width: 8px; height: 13px; margin: -6px -4px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: #7fc4ff; animation: re-pingo .62s ease-in both; }
@keyframes re-pingo { from { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(84px) scaleY(1.4); opacity: 0; } }
.re-marca.virado { width: 44px; height: 44px; margin: -74px 0 0 -22px; transform-origin: 50% 80%; animation: re-virado .9s ease-out both; }
@keyframes re-virado { 0% { transform: rotate(0deg); } 40% { transform: rotate(150deg); } 76% { opacity: 1; transform: rotate(150deg); } 100% { opacity: 0; transform: rotate(150deg) translateY(10px); } }
.re-marca.chove { width: 22px; height: 22px; margin: -11px; animation: re-chove .95s ease-in both; }
@keyframes re-chove { from { transform: translateY(-20px) rotate(0deg); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(100px) rotate(420deg); opacity: 0; } }
.re-marca.petala { width: 11px; height: 11px; margin: -5px; border-radius: 80% 20% 80% 20%; background: #e02a55; rotate: var(--a); animation: re-petala 1.5s ease-in both; }
@keyframes re-petala { from { transform: translate(0, -10px); opacity: 0; } 18% { opacity: 1; } to { transform: translate(14px, 92px) rotate(180deg); opacity: 0; } }
@keyframes ul-pa { 0% { transform: scale(.2); } 26% { transform: scale(1.25); } 40% { transform: scale(1); } 76% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.re-marca.sobe { width: 25px; height: 25px; margin: -12px; animation: ul-sobe 1.3s ease-out both; }
@keyframes ul-sobe { 0% { transform: translateY(10px) scale(.3); opacity: 0; } 25% { opacity: 1; transform: translateY(-14px) scale(1.2); } 100% { transform: translateY(-84px) scale(.9); opacity: 0; } }
.re-marca.chama { width: 32px; height: 38px; margin: -24px -16px; transform-origin: 50% 100%; animation: ul-chama 1.5s ease-out both; }
@keyframes ul-chama { 0% { transform: scale(.2); opacity: 0; } 20% { transform: scale(1.3, 1.5); opacity: 1; } 55% { transform: translateY(-20px) scale(1, 1.3); } 100% { transform: translateY(-58px) scale(.4); opacity: 0; } }
.re-marca.aura { width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; animation: ul-aura 3.6s ease-out both; }
.re-marca.amor { box-shadow: 0 0 22px 7px #ff4d7a, inset 0 0 14px #ff4d7a; }
.re-marca.brasa { box-shadow: 0 0 26px 9px #ff7a1a, inset 0 0 20px #ff3a12; }
@keyframes ul-aura { 0% { transform: scale(.4); opacity: 0; } 12% { transform: scale(1.1); opacity: 1; } 78% { opacity: .85; } 100% { transform: scale(1.3); opacity: 0; } }
.re-combo { position: absolute; z-index: 2; transform: translate(-50%, -50%); font: 900 34px var(--im-sans); color: #fff; -webkit-text-stroke: 2px #c8263a; text-shadow: 0 0 16px var(--im-ouro); pointer-events: none; }
.re-tapa { position: absolute; left: 50%; top: 42%; width: 44vh; height: 62vh; margin: -31vh 0 0 -22vh; animation: re-tapa .95s cubic-bezier(.2,.9,.3,1) both; }
.re-tapa svg { width: 100%; height: 100%; }
@keyframes re-tapa { 0% { transform: scale(.08) rotate(-40deg); opacity: 0; } 14% { opacity: 1; } 30% { transform: scale(1) rotate(9deg); } 62% { transform: scale(1) rotate(9deg); opacity: 1; } 100% { transform: translateY(42vh) scale(.9) rotate(22deg); opacity: 0; } }
.re-tela { position: absolute; inset: 0; animation: re-tela 2.6s ease-out both; }
.re-tela.amor { box-shadow: inset 0 0 90px 30px rgba(255, 77, 122, .75); }
.re-tela.agua { box-shadow: inset 0 0 90px 30px rgba(70, 150, 240, .7); }
.re-tela.ouro { box-shadow: inset 0 0 100px 34px rgba(255, 205, 80, .8); }
.re-tela.fuligem { background: radial-gradient(70% 60% at 50% 45%, rgba(20, 16, 12, .35), rgba(20, 16, 12, .92)); }
.re-tela.brasa { box-shadow: inset 0 0 110px 36px rgba(255, 90, 20, .85); }
@keyframes re-tela { 0% { opacity: 0; } 14% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 0; } }
.re-sujeira { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .35s; }
.re-sujeira.on { opacity: .92; }
.re-sujeira i { position: absolute; left: var(--x); top: var(--t); width: var(--e); height: var(--e); border-radius: 46% 54% 58% 42%; background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--suja, #d8322a) 70%, #fff), var(--suja, #d8322a) 66%); box-shadow: 8px 40px 0 -8px var(--suja, #d8322a), -6px 70px 0 -14px var(--suja, #d8322a); animation: ul-escorre 3.4s ease-in both; }
@keyframes ul-escorre { from { transform: scale(.4); } 7% { transform: scale(1.08); } to { transform: translateY(170px) scaleY(1.5); } }
.re-devolver { position: fixed; right: 12px; bottom: 214px; z-index: 9; animation: ul-oferta .3s cubic-bezier(.2,.9,.3,1) both; }
.re-devolver[hidden] { display: none; }
.re-devolver button { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px 0 8px; border: 0; border-radius: 22px; cursor: pointer; font: 800 13px var(--im-sans); color: #fff; background: linear-gradient(180deg, #ef4158, #a31a2d); box-shadow: 0 0 0 2px #ffd9d0, 0 10px 20px -8px #000; }
.re-devolver svg { width: 28px; height: 28px; }
@keyframes ul-oferta { from { transform: translateX(70px); opacity: 0; } }

