/* Zovy Alta Tensão — visual próprio: noite elétrica, painéis de vidro escuro com contorno de neon. */
:root {
  --bg: #0B0A1F; --pan: rgba(17, 13, 44, .86); --pan2: rgba(34, 26, 82, .9); --line: rgba(181, 107, 255, .55);
  --vio: #B56BFF; --lime: #C6F432; --gold: #FFD23D; --pink: #FF5CC8; --cy: #4FE3FF; --red: #FF4D6A; --tx: #F3EEFF; --mut: #A99CD6;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--tx); font-family: Figtree, system-ui, sans-serif; overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
#app { position: fixed; inset: 0; overflow: hidden; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.vig { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0, 0, 0, .55); transition: box-shadow .4s; }
body.danger .vig { box-shadow: inset 0 0 120px rgba(0, 0, 0, .55), inset 0 0 70px rgba(255, 50, 90, .5); animation: dng 1s ease-in-out infinite alternate; }
@keyframes dng { to { box-shadow: inset 0 0 120px rgba(0, 0, 0, .55), inset 0 0 110px rgba(255, 50, 90, .75); } }
body.boost .vig { box-shadow: inset 0 0 120px rgba(0, 0, 0, .4), inset 0 0 90px rgba(255, 210, 61, .6); }
.screen { position: absolute; inset: 0; display: none; }
.screen.on { display: flex; }
.screen.dim { background: rgba(8, 6, 24, .78); backdrop-filter: blur(6px); align-items: center; justify-content: center; flex-direction: column; padding: 14px; z-index: 30; }
.sp { flex: 1; }
.hc-ic, .hb-ic, .dp-ic, .db-art { display: inline-block; background: center / contain no-repeat; flex: none; }
.hc-ic { width: 1.25em; height: 1.25em; background-image: var(--i-coin); vertical-align: -.25em; }

/* botões */
.rb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pan); border: 1.5px solid var(--line); color: var(--tx); box-shadow: 0 0 14px rgba(181, 107, 255, .25); transition: transform .12s, box-shadow .12s; flex: none; }
.rb:active { transform: scale(.92); }
.rb.sm { width: 38px; height: 38px; font-size: 14px; }
.rb[aria-pressed="true"]#btnFast { background: var(--gold); color: #201400; border-color: #fff3; box-shadow: 0 0 18px rgba(255, 210, 61, .7); }
.rb.off { opacity: .45; }
.gb { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 14px; border-radius: 14px; background: var(--pan2); border: 1.5px solid var(--line); font-weight: 800; font-size: 14px; color: var(--tx); transition: transform .12s, background .15s; }
.gb:active { transform: scale(.95); }
.nb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 16px; font-weight: 900; font-size: 17px; color: #14210a; background: linear-gradient(180deg, #E4FF6B, var(--lime)); box-shadow: 0 0 0 2px #0B0A1F, 0 0 0 3.5px var(--lime), 0 0 26px rgba(198, 244, 50, .55); transition: transform .12s; }
.nb:active { transform: scale(.96); }
.nb.wide, .gb.wide { grid-column: 1 / -1; }
.nb.pink { color: #2a0320; background: linear-gradient(180deg, #FF9BE0, var(--pink)); box-shadow: 0 0 0 2px #0B0A1F, 0 0 0 3.5px var(--pink), 0 0 26px rgba(255, 92, 200, .5); }
@media (hover: hover) { .gb:hover { background: #3a2d8e; } .rb:hover { box-shadow: 0 0 22px rgba(181, 107, 255, .6); } .nb:hover { transform: translateY(-2px); } }

/* ---------- menu ---------- */
#menu { flex-direction: column; background: radial-gradient(120% 80% at 50% 0%, rgba(120, 60, 255, .28), transparent 60%), linear-gradient(180deg, rgba(11, 10, 31, .55), rgba(11, 10, 31, .92) 62%); }
.m-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--sat)) 12px 0; }
.m-top .logo { height: 34px; width: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .4)); }
.chip-orig { font-size: 10px; font-weight: 900; letter-spacing: .12em; padding: 3px 7px; border-radius: 6px; background: var(--lime); color: #14210a; }
.m-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 12px; padding: 10px 14px calc(14px + var(--sab)); overflow: auto; }
.m-hero { text-align: center; margin-top: auto; }
.m-title { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; line-height: .86; font-size: clamp(46px, 15vw, 96px); letter-spacing: -.02em; display: flex; flex-direction: column; align-items: center; }
.m-title small { font-size: .22em; letter-spacing: .5em; margin: 0 0 .5em .5em; color: var(--lime); font-family: Figtree, sans-serif; font-weight: 900; }
.m-title span { color: #fff; text-shadow: 0 0 12px #B56BFF, 0 0 34px #7a3cff, 0 4px 0 #3a1a8a; animation: flick 4s linear infinite; }
.m-title .t2 { color: var(--gold); text-shadow: 0 0 12px #FFB03D, 0 0 36px #ff7a00, 0 4px 0 #7a3a00; animation-delay: -1.3s; }
@keyframes flick { 0%, 91%, 94%, 97%, 100% { opacity: 1; } 92%, 96% { opacity: .55; } }
.m-tag { margin: 12px auto 0; max-width: 430px; font-weight: 600; font-size: 15px; color: #DCD2FF; line-height: 1.35; }
.m-tag b { color: var(--gold); }
.m-panel { width: min(100%, 560px); display: flex; flex-direction: column; gap: 10px; }
.m-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.ph { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 2px solid var(--line); background: #1a1440 center / cover; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); text-align: left; transition: transform .14s, box-shadow .14s; }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 6, 24, .94)); }
.ph:active { transform: scale(.96); }
.ph.go { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(198, 244, 50, .25), 0 0 24px rgba(198, 244, 50, .45); }
.ph > * { position: relative; z-index: 1; }
.ph .n { position: absolute; top: 7px; left: 7px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: var(--vio); color: #fff; box-shadow: 0 0 10px var(--vio); }
.ph .bd { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.ph b { font-size: 13px; line-height: 1.1; font-weight: 800; }
.ph .st { display: flex; gap: 2px; font-size: 15px; color: #4b4380; }
.ph .st i { font-style: normal; } .ph .st i.on { color: var(--gold); text-shadow: 0 0 8px rgba(255, 210, 61, .8); }
.ph .play { position: absolute; top: 7px; right: 7px; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 900; background: var(--lime); color: #14210a; }
.ph.lock { filter: saturate(.25) brightness(.7); } .ph.lock .lk { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; z-index: 2; }
@media (hover: hover) { .ph:not(.lock):hover { transform: translateY(-4px); } }
.m-daily { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 16px; text-align: left; background: linear-gradient(90deg, rgba(255, 210, 61, .18), rgba(255, 92, 200, .14)); border: 1.5px solid rgba(255, 210, 61, .65); }
.m-daily:active { transform: scale(.98); }
.d-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: #2a1c00; font-size: 20px; flex: none; }
.d-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } .d-tx b { font-size: 15px; } .d-tx small { color: var(--mut); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-rec { font-size: 11px; color: var(--mut); text-align: right; font-weight: 700; } .d-rec b { display: block; color: var(--gold); font-size: 16px; } .d-rec .new { background: var(--pink); color: #fff; padding: 3px 8px; border-radius: 99px; font-weight: 900; }
.m-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .m-row .gb { font-size: 13px; padding: 10px 6px; }
.m-foot { text-align: center; color: var(--mut); font-weight: 600; min-height: 1em; }

/* ---------- partida ---------- */
#play { pointer-events: none; }
#play > * { pointer-events: auto; }
.hud { position: absolute; top: calc(8px + var(--sat)); left: 8px; right: 8px; display: flex; align-items: center; gap: 6px; pointer-events: none !important; }
.hud > * { pointer-events: auto; }
.h-bat, .h-coins, .h-wave { height: 38px; border-radius: 99px; background: var(--pan); border: 1.5px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px 0 6px; font-weight: 900; font-size: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.hb-ic { width: 26px; height: 30px; background-image: var(--i-bat); }
.hb-bar { width: clamp(30px, 9vw, 110px); height: 12px; border-radius: 99px; background: #241c55; overflow: hidden; box-shadow: inset 0 1px 3px #0008; }
.hb-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #7CF03C, var(--lime)); transition: width .35s, background .3s; box-shadow: 0 0 8px rgba(198, 244, 50, .8); }
.h-bat.low .hb-bar i { background: linear-gradient(90deg, #FF4D6A, #FF9B3D); box-shadow: 0 0 8px rgba(255, 77, 106, .9); }
.h-bat.hit { animation: hit .4s; } @keyframes hit { 20% { transform: translateX(-5px) rotate(-3deg); background: #5a1030; } 60% { transform: translateX(4px); } }
.h-wave { position: relative; flex-direction: column; gap: 0; padding: 0 14px; justify-content: center; margin: 0 auto; overflow: hidden; min-width: 78px; line-height: 1; }
.h-wave small { font-size: 8.5px; letter-spacing: .2em; color: var(--mut); } .h-wave b { font-size: 15px; }
.h-wave i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--pink); box-shadow: 0 0 8px var(--pink); transition: width .3s; }
.h-coins { padding-left: 9px; color: var(--gold); } .h-coins.pop { animation: cpop .25s; } @keyframes cpop { 50% { transform: scale(1.14); } }
.dock { position: absolute; left: 8px; right: 8px; bottom: calc(8px + var(--sab)); display: flex; align-items: stretch; gap: 8px; pointer-events: none !important; }
.dock > * { pointer-events: auto; }
.d-buy { position: relative; flex: 1.25; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; height: 68px; border-radius: 20px; text-align: left; background: linear-gradient(180deg, #3a2a9c, #241a6a); border: 2px solid var(--vio); box-shadow: 0 0 22px rgba(181, 107, 255, .45), inset 0 1px 0 #fff3; touch-action: none; transition: transform .12s, filter .2s; }
.d-buy:active { transform: scale(.97); }
.db-art { width: 50px; height: 58px; background-image: var(--i-c1); filter: drop-shadow(0 0 8px rgba(181, 107, 255, .9)); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) scale(1.04); } }
.db-tx { display: flex; flex-direction: column; min-width: 0; } .db-tx b { font-size: 14px; white-space: nowrap; } .db-tx small { font-weight: 900; color: var(--gold); font-size: 15px; } .db-tx em { font-style: normal; }
.db-n { position: absolute; top: -9px; right: 8px; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 99px; background: var(--vio); color: #fff; box-shadow: 0 0 10px var(--vio); }
.d-buy.no { filter: saturate(.3) brightness(.75); } .d-buy.no .db-art { animation: none; }
.d-buy.can { animation: canbuy 1.2s ease-in-out infinite; } @keyframes canbuy { 50% { box-shadow: 0 0 34px rgba(198, 244, 50, .8), inset 0 1px 0 #fff3; border-color: var(--lime); } }
.d-buy.full .db-n { background: var(--red); box-shadow: 0 0 10px var(--red); }
.d-pow { position: relative; width: 68px; height: 68px; border-radius: 50%; flex: none; background: #17123c; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.dp-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p, 0) * 1turn), #2c2468 0); -webkit-mask: radial-gradient(circle, transparent 57%, #000 59%); mask: radial-gradient(circle, transparent 57%, #000 59%); }
.dp-ic { position: absolute; inset: 15px; background-image: var(--i-bolt); filter: grayscale(1) brightness(.7); }
.d-pow small { position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); font-size: 7px; font-weight: 900; letter-spacing: .08em; background: #17123c; padding: 1px 5px; border-radius: 6px; color: var(--mut); white-space: nowrap; }
.d-pow.ready { animation: ready .7s ease-in-out infinite alternate; } .d-pow.ready .dp-ic { filter: none; } .d-pow.ready small { color: var(--gold); }
@keyframes ready { to { transform: scale(1.1); box-shadow: 0 0 30px rgba(255, 210, 61, .95); } }
.d-pow.on { box-shadow: 0 0 34px #fff, 0 0 60px var(--gold); } .d-pow.on .dp-ic { filter: brightness(1.5); }
.d-wave { flex: 1; min-width: 0; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; color: #14210a; background: linear-gradient(180deg, #E4FF6B, var(--lime)); box-shadow: 0 0 22px rgba(198, 244, 50, .5), inset 0 1px 0 #fff8; text-align: left; transition: transform .12s, filter .2s; }
.d-wave span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; } .d-wave b { font-size: 14.5px; font-weight: 900; white-space: nowrap; } .d-wave small { font-size: 11px; font-weight: 800; opacity: .75; white-space: nowrap; }
.d-wave:active { transform: scale(.97); }
.d-wave.busy { background: #2a2260; color: var(--mut); box-shadow: none; }
.d-wave.pulse { animation: wp .8s ease-in-out infinite alternate; } @keyframes wp { to { transform: scale(1.05); box-shadow: 0 0 40px rgba(198, 244, 50, .95); } }
.banner { position: absolute; left: 50%; top: 27%; transform: translate(-50%, -50%); pointer-events: none !important; text-align: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(30px, 9vw, 60px); line-height: 1; color: #fff; white-space: nowrap; text-shadow: 0 0 14px var(--vio), 0 0 40px #7a3cff, 0 4px 0 #2a1470; animation: ban 2.3s both; z-index: 5; }
.banner small { display: block; font-family: Figtree, sans-serif; font-size: .3em; font-weight: 800; margin-top: 8px; color: #E8E0FF; text-shadow: 0 2px 6px #000; letter-spacing: .02em; white-space: normal; }
.banner.gold { color: #FFF4C2; text-shadow: 0 0 14px var(--gold), 0 0 40px #ff9a00, 0 4px 0 #6a3a00; }
.banner.pink { color: #FFE3F6; text-shadow: 0 0 14px var(--pink), 0 0 40px #ff2aa0, 0 4px 0 #6a0a4a; }
@keyframes ban { 0% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); filter: blur(8px); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(.94); filter: none; } 18% { transform: translate(-50%, -50%) scale(1); } 82% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -62%) scale(1.05); } }
.hint { position: absolute; left: 50%; top: calc(58px + var(--sat)); transform: translateX(-50%); margin: 0; width: min(92vw, 430px); padding: 11px 14px; border-radius: 16px; background: rgba(255, 210, 61, .96); color: #2a1c00; font-weight: 700; font-size: 14.5px; line-height: 1.3; text-align: center; box-shadow: 0 0 0 2px #0B0A1F, 0 8px 30px rgba(0, 0, 0, .5); pointer-events: none !important; z-index: 6; animation: hintin .35s both; }
@keyframes hintin { from { opacity: 0; transform: translate(-50%, 14px); } }
.tip { position: absolute; z-index: 12; min-width: 172px; padding: 10px 12px; border-radius: 16px; background: var(--pan); border: 1.5px solid var(--c, var(--vio)); box-shadow: 0 0 22px color-mix(in srgb, var(--c, var(--vio)) 55%, transparent), 0 8px 24px #000a; transform: translate(-50%, -100%); font-size: 13px; }
.tip b { display: block; font-size: 15px; color: var(--c, #fff); } .tip p { margin: 3px 0 8px; color: #DCD2FF; font-weight: 600; line-height: 1.3; }
.tip .gb { width: 100%; padding: 8px; font-size: 13px; } .tip .gb.arm { background: var(--red); border-color: #fff5; }

/* celular deitado e computador: o campo gira, a doca vira coluna na direita */
body.land .dock { left: auto; top: calc(56px + var(--sat)); right: 8px; bottom: 8px; width: 128px; flex-direction: column; justify-content: flex-end; }
body.land .d-buy { flex: none; height: auto; flex-direction: column; text-align: center; padding: 10px 6px; gap: 4px; } body.land .db-tx { align-items: center; } body.land .db-art { width: 58px; height: 66px; }
body.land .d-pow { align-self: center; } body.land .d-wave { flex: none; }
body.land .hint { left: calc(50% - 68px); }
@media (max-height: 430px) { body.land .dock { width: 104px; top: 50px; gap: 6px; } body.land .d-buy { padding: 5px; } body.land .db-art { width: 38px; height: 44px; } body.land .db-tx b { font-size: 12px; } .d-pow { width: 56px; height: 56px; } .dp-ic { inset: 12px; } .d-wave { height: 52px; } .hint { font-size: 13px; padding: 8px 12px; } }

/* ---------- cartões (pausa, fim, janelas) ---------- */
.card { width: min(100%, 440px); max-height: 100%; overflow: auto; padding: 20px 18px; border-radius: 24px; background: linear-gradient(180deg, #241a6a, #130f38); border: 2px solid var(--line); box-shadow: 0 0 50px rgba(120, 60, 255, .45), 0 20px 50px #000a; text-align: center; animation: cardin .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes cardin { from { opacity: 0; transform: scale(.85) translateY(20px); } }
.card h2 { margin: 0 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; }
.card p { margin: 6px 0; color: #DCD2FF; font-weight: 600; }
.card.over.win { border-color: var(--gold); box-shadow: 0 0 60px rgba(255, 210, 61, .5), 0 20px 50px #000a; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.ov-art { height: 120px; width: auto; margin: -6px auto 4px; display: block; filter: drop-shadow(0 6px 16px #000a); animation: bob 1.4s ease-in-out infinite; }
.ov-stars { display: flex; justify-content: center; gap: 8px; margin: 8px 0; font-size: 44px; line-height: 1; color: #3b3478; }
.ov-stars span { animation: star .5s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: var(--d); } .ov-stars span.on { color: var(--gold); text-shadow: 0 0 18px rgba(255, 210, 61, .9); }
@keyframes star { from { opacity: 0; transform: scale(2.6) rotate(-40deg); } }
.ov-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; } .ov-stats div { padding: 8px 4px; border-radius: 14px; background: #0B0A1F88; border: 1px solid #ffffff18; } .ov-stats b { display: block; font-size: 22px; } .ov-stats small { font-size: 9.5px; font-weight: 900; letter-spacing: .1em; color: var(--mut); }
.ov-score b { color: var(--gold); font-size: 1.3em; } .ov-best { display: inline-block; margin: 2px; padding: 4px 10px; border-radius: 99px; background: var(--pink); font-weight: 900; font-size: 12px; }
.gold { color: var(--gold) !important; } .soft { color: var(--mut) !important; font-size: 14px; }
.xp-big { font-family: 'Bricolage Grotesque', sans-serif; font-size: 40px; color: var(--lime); text-shadow: 0 0 18px rgba(198, 244, 50, .7); } .xp-big small { font-size: .45em; }
.row-chips { display: flex; gap: 8px; justify-content: center; } .btn-mini { padding: 7px 14px; border-radius: 99px; background: var(--lime); color: #14210a; font-weight: 900; text-decoration: none; font-size: 13px; } .btn-mini.ghost { background: none; color: var(--tx); border: 1.5px solid var(--line); }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.toasts { position: absolute; left: 50%; top: calc(128px + var(--sat)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; align-items: center; z-index: 50; pointer-events: none; width: min(94vw, 460px); }
.toast { display: flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 14px; background: var(--pan); border: 1.5px solid var(--c, var(--line)); font-weight: 700; font-size: 13.5px; box-shadow: 0 6px 20px #000a; animation: hintin .3s both; transform: none; }
.toast.out { opacity: 0; transition: opacity .3s; } .toast .t-ic { color: var(--c, var(--gold)); }
.modal { position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; padding: 14px; background: rgba(8, 6, 24, .8); backdrop-filter: blur(6px); } .modal[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 520px); max-height: 92%; overflow: auto; padding: 22px 18px 18px; border-radius: 24px; background: linear-gradient(180deg, #241a6a, #130f38); border: 2px solid var(--line); box-shadow: 0 0 50px rgba(120, 60, 255, .45); text-align: left; animation: cardin .3s both; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; }
.modal-card h2 { margin: 0 40px 10px 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; } .modal-card ol { padding-left: 20px; margin: 0; } .modal-card li { margin: 7px 0; line-height: 1.35; color: #E6DEFF; font-weight: 500; } .modal-card li b { color: var(--gold); } .modal-card a { color: var(--cy); }
.top-list { list-style: none; padding: 0 !important; } .top-list li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 12px; background: #0B0A1F77; } .top-list img { width: 32px; height: 32px; border-radius: 50%; } .top-list b { margin-left: auto; color: var(--gold); }

/* ---------- álbum ---------- */
#book { justify-content: flex-start; padding: 0; }
.b-bar { width: 100%; display: flex; align-items: center; gap: 12px; padding: calc(10px + var(--sat)) 12px 10px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; }
.b-body { width: min(100%, 760px); flex: 1; overflow: auto; padding: 0 12px calc(20px + var(--sab)); }
.b-body h3 { margin: 16px 0 8px; font-size: 13px; letter-spacing: .14em; color: var(--mut); }
.coils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.co { padding: 10px 6px; border-radius: 18px; text-align: center; background: var(--pan); border: 1.5px solid var(--c); box-shadow: inset 0 0 26px color-mix(in srgb, var(--c) 22%, transparent); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.co img { height: 92px; width: auto; filter: drop-shadow(0 0 10px var(--c)); } .co b { font-size: 14px; } .co em { font-style: normal; font-weight: 900; font-size: 19px; color: var(--c); } .co small { color: var(--mut); font-weight: 700; font-size: 11px; }
.co.lock img { filter: brightness(0) opacity(.5); } .co.lock b { color: var(--mut); }
.fo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.fo { display: flex; gap: 9px; align-items: center; padding: 8px; border-radius: 16px; background: var(--pan); border: 1px solid #ffffff18; } .fo.boss { border-color: var(--pink); grid-column: span 2; }
.fo canvas { width: 54px; height: 54px; flex: none; } .fo b { display: block; font-size: 13.5px; } .fo em { font-style: normal; color: var(--mut); font-size: 12px; font-weight: 600; line-height: 1.25; display: block; }
@media (max-width: 420px) { .fo.boss { grid-column: span 1; } }

.boot { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a1c7a, #0B0A1F 70%); transition: opacity .5s; } .boot.out { opacity: 0; pointer-events: none; }
.boot-in { text-align: center; font-weight: 800; color: #DCD2FF; }
.boot-bolt { display: block; width: 70px; height: 70px; margin: 0 auto 10px; background: var(--gold); clip-path: polygon(58% 0, 12% 56%, 44% 56%, 34% 100%, 88% 40%, 54% 40%); filter: drop-shadow(0 0 18px var(--gold)); animation: flick 1.1s linear infinite, bob 1s ease-in-out infinite; }
body.cover .screen, body.cover .vig, body.cover .boot { display: none !important; }
@media (prefers-reduced-motion: reduce) { .m-title span, .db-art, .d-buy.can, .d-pow.ready, .d-wave.pulse, .ov-art, .boot-bolt, body.danger .vig { animation: none !important; } }

/* telas baixas: o menu cabe sem rolar */
@media (max-height: 560px) {
  .m-body { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
  .m-hero { margin: 0; flex: 1; min-width: 0; } .m-title { font-size: clamp(34px, 11vh, 64px); } .m-tag { font-size: 13px; margin-top: 8px; }
  .m-panel { flex: 1.15; gap: 7px; } .ph { aspect-ratio: 4 / 3; } .ph b { font-size: 12px; } .m-daily { padding: 6px 10px; } .m-row .gb { padding: 7px 4px; font-size: 12px; } .m-foot { display: none; }
  .m-top .logo { height: 26px; }
}
/* dica do começo: em pé fica embaixo, acima dos botões (em cima ela cobria as bobinas) */
body:not(.land) .hint { top: auto; bottom: calc(100px + var(--sab)); }
body:not(.land) .toasts { top: calc(62px + var(--sat)); }

/* ================= 1 contra 1 ================= */
.m-vs { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 16px; text-align: left; background: linear-gradient(90deg, rgba(255, 92, 200, .2), rgba(79, 227, 255, .14)); border: 1.5px solid rgba(255, 92, 200, .7); box-shadow: 0 0 22px rgba(255, 92, 200, .2); }
.m-vs:active { transform: scale(.98); } .m-vs .d-ic { background: var(--pink); color: #2a0320; }
@media (hover: hover) { .m-vs:hover, .m-daily:hover { filter: brightness(1.12); } }
/* energia (para mandar apagões) */
.h-energy { height: 38px; border-radius: 99px; background: var(--pan); border: 1.5px solid rgba(255, 92, 200, .7); display: flex; align-items: center; gap: 5px; padding: 0 12px 0 8px; font-weight: 900; font-size: 16px; color: #FFB4E6; box-shadow: 0 4px 14px rgba(0, 0, 0, .4), 0 0 12px rgba(255, 92, 200, .25); }
.bi { display: inline-block; width: 1.05em; height: 1.05em; background: currentColor; clip-path: polygon(58% 0, 12% 56%, 44% 56%, 34% 100%, 88% 40%, 54% 40%); vertical-align: -.15em; flex: none; }
.h-energy .bi { color: var(--pink); filter: drop-shadow(0 0 4px var(--pink)); }
body:not([data-vs]) #hEnergy, body:not([data-vs]) #vsBar, body:not([data-vs]) #tray, body:not([data-vs]) [data-reacts] { display: none !important; }
body[data-vs] #btnFast { display: none; }
body[data-vs="duel"] #hCoinBox { display: flex; }
body[data-vs="atk"][data-role="def"] #hEnergy { display: none; }
body[data-role="atk"] #btnBuy, body[data-role="atk"] #btnPower, body[data-role="atk"] #btnWave, body[data-role="atk"] #hCoinBox { display: none !important; }
body[data-net="live"] #btnPause { display: none; }
.h-wave.hot { border-color: var(--pink); box-shadow: 0 0 16px rgba(255, 92, 200, .5); } .h-wave.hot b { color: #FFB4E6; }
.d-wave.send { color: #2a0320; background: linear-gradient(180deg, #FF9BE0, var(--pink)); box-shadow: 0 0 22px rgba(255, 92, 200, .5), inset 0 1px 0 #fff8; }
.d-wave.send .bi { color: #2a0320; }
body[data-tray="1"] .d-wave.send { background: #2a2260; color: var(--tx); box-shadow: 0 0 0 2px var(--pink) inset; }
/* barra do rival */
.vsbar { position: absolute; right: 8px; top: calc(54px + var(--sat)); z-index: 4; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border-radius: 16px; background: rgba(17, 13, 44, .82); border: 1.5px solid rgba(255, 92, 200, .6); box-shadow: 0 6px 20px #0008; pointer-events: none !important; max-width: min(64vw, 290px); }
.vsbar > img { width: 34px; height: 34px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 0 0 2px var(--pink); }
.vb-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.vb-t b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-bar { display: block; width: 100%; min-width: 74px; height: 8px; border-radius: 99px; background: #241c55; overflow: hidden; }
.vb-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #FF5CC8, #FF9BE0); transition: width .4s; box-shadow: 0 0 6px var(--pink); }
.vsbar.low .vb-bar i { background: linear-gradient(90deg, #FF4D6A, #FF9B3D); }
.vb-t small { font-size: 10.5px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#vsMini { width: 36px; height: 64px; border-radius: 7px; border: 1px solid #ffffff22; flex: none; background: #0B0A1F; }
body:not([data-vs="duel"]) #vsMini { display: none; }
.vsbar.hit { animation: vbhit .45s; } @keyframes vbhit { 30% { transform: scale(1.08); box-shadow: 0 0 26px var(--pink); } }
body.land .vsbar { right: auto; left: 8px; top: calc(54px + var(--sat)); }
/* bandeja de mandar apagões */
.tray { position: absolute; z-index: 6; display: none; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(17, 13, 44, .9); border: 1.5px solid rgba(255, 92, 200, .6); box-shadow: 0 8px 26px #000a; overflow: auto; scrollbar-width: none; }
.tray::-webkit-scrollbar { display: none; }
body[data-tray="1"] .tray { display: flex; }
body:not(.land) .tray { left: 8px; right: 8px; bottom: calc(84px + var(--sab)); flex-direction: row; }
body:not(.land)[data-role="atk"] .tray { bottom: calc(8px + var(--sab)); }
body.land .tray { right: calc(148px); top: calc(56px + var(--sat)); bottom: 8px; width: 156px; flex-wrap: wrap; align-content: flex-start; }
body.land[data-role="atk"] .tray { right: 8px; width: 208px; }
@media (max-height: 430px) { body.land .tray { right: 124px; top: 50px; } }
.sc { position: relative; flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 3px 5px; border-radius: 14px; background: #1f1752; border: 1.5px solid #3b2f86; overflow: hidden; transition: transform .1s, filter .15s; touch-action: manipulation; }
body:not(.land)[data-role="atk"] .sc { width: 74px; }
.sc canvas { width: 40px; height: 40px; }
.sc b { font-size: 10px; font-weight: 800; line-height: 1.1; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sc em { position: absolute; top: 3px; right: 4px; font-style: normal; font-weight: 900; font-size: 10px; color: var(--gold); }
.sc-c { display: flex; align-items: center; gap: 2px; font-weight: 900; font-size: 12px; color: #FFB4E6; }
.sc-c i { display: inline-block; width: 9px; height: 11px; background: var(--pink); clip-path: polygon(58% 0, 12% 56%, 44% 56%, 34% 100%, 88% 40%, 54% 40%); }
.sc-cd { position: absolute; inset: 0; background: conic-gradient(rgba(8, 6, 24, .72) calc(var(--cd, 0) * 1turn), transparent 0); pointer-events: none; }
.sc.ok { border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 92, 200, .45); }
.sc.no { filter: saturate(.25) brightness(.65); }
.sc:active { transform: scale(.93); }
.sc.fire { animation: scfire .4s; } @keyframes scfire { 30% { transform: scale(1.12); box-shadow: 0 0 22px var(--pink); } }
body.land .tray .sc { width: calc(50% - 3px); }
/* contagem */
.count { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); z-index: 8; pointer-events: none !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(70px, 22vw, 150px); color: #fff; text-shadow: 0 0 20px var(--vio), 0 0 60px #7a3cff, 0 6px 0 #2a1470; animation: cnt .9s ease-out both; }
.count:empty { display: none; }
.count.go { color: var(--lime); text-shadow: 0 0 20px var(--lime), 0 0 60px #6aa800, 0 6px 0 #2a4000; }
@keyframes cnt { from { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.count[hidden] { display: none; }
.reacts-mini { position: absolute; z-index: 5; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(17, 13, 44, .8); border: 1px solid var(--line); }
body:not(.land) .reacts-mini { right: 8px; top: calc(118px + var(--sat)); flex-direction: column; }
body.land .reacts-mini { left: 8px; bottom: 8px; }
.reacts-mini button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.reacts-mini button svg { width: 28px; height: 28px; }
body[data-net="bot"] .reacts-mini { display: none !important; }
/* fim do 1 contra 1 */
.vs-heads { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -4px 0 8px; }
.vs-heads span { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; max-width: 40%; opacity: .7; }
.vs-heads span.w { opacity: 1; } .vs-heads span.w img { box-shadow: 0 0 0 3px var(--gold), 0 0 20px var(--gold); }
.vs-heads img { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--line); }
.vs-heads b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.vs-heads i { font-style: normal; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; color: var(--pink); }
/* janela do 1 contra 1 */
.vsm { display: grid; gap: 10px; }
.vsm-c { padding: 12px; border-radius: 18px; background: #0B0A1F88; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.vsm-c b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; }
.vsm-c p { margin: 0; color: #DCD2FF; font-weight: 600; font-size: 13.5px; line-height: 1.35; } .vsm-c p b { font-family: inherit; font-size: inherit; color: var(--gold); }
.vsm-tag { align-self: flex-start; font-size: 10px; font-weight: 900; letter-spacing: .12em; padding: 3px 8px; border-radius: 6px; background: var(--cy); color: #001a22; }
.vsm-tag.pink { background: var(--pink); color: #2a0320; }
.vsm-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; } .vsm-b .nb { padding: 11px 10px; font-size: 14px; }
.vsm-lv { display: grid; gap: 6px; margin-top: 10px; } .vsm-lv > small { font-weight: 900; font-size: 11px; letter-spacing: .1em; color: var(--mut); }
.vsm-rec { font-size: 12px; color: var(--mut); font-weight: 700; text-align: center; }

/* ================= online: telas de entrar e de espera ================= */
.screen.panel { flex-direction: column; overflow-y: auto; padding: calc(10px + var(--sat)) 14px calc(16px + var(--sab)); background: radial-gradient(circle at 50% 110%, rgba(255, 92, 200, .18), transparent 60%), radial-gradient(120% 80% at 50% 0%, rgba(120, 60, 255, .28), transparent 60%), linear-gradient(180deg, #120d33, #0B0A1F 70%); z-index: 20; }
.screen.panel .card { width: 100%; max-height: none; overflow: visible; text-align: left; padding: 14px; animation: none; }
.bar { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; max-width: 1100px; margin: 0 auto 10px; }
.bar-title { display: grid; } .bar-title small { color: var(--mut); font-weight: 900; font-size: 11px; letter-spacing: .14em; } .bar-title b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; line-height: 1.1; }
.gj-body { flex: 1; display: grid; align-content: center; gap: 14px; width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 0; }
.gj-hero { text-align: center; }
.gj-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; color: #2a0320; background: var(--pink); border-radius: 99px; font-weight: 900; font-size: 13px; letter-spacing: .08em; animation: beat 1.4s infinite; box-shadow: 0 0 18px rgba(255, 92, 200, .6); }
@keyframes beat { 50% { transform: scale(1.06); } }
.gj-hero h2 { margin: 12px 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(22px, 5.5vw, 32px); line-height: 1.12; }
.gj-hero h2 em { font-style: normal; color: var(--gold); text-shadow: 0 0 14px rgba(255, 210, 61, .5); }
.gj-hero p { margin: 0; color: var(--mut); font-weight: 600; }
.me-card { display: flex; align-items: center; gap: 14px; }
.av-big { position: relative; flex: none; width: 76px; height: 76px; padding: 0; background: #fff; border: 2px solid var(--line); border-radius: 50%; }
.av-big img { width: 100%; height: 100%; border-radius: 50%; }
.av-big .dice { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 30px; height: 30px; color: #14210a; background: var(--lime); border-radius: 50%; }
.av-big:active { transform: rotate(-12deg) scale(.95); } .av-big.roll img { animation: roll .45s; } @keyframes roll { 40% { transform: scale(.6) rotate(-40deg); } }
.av-big[disabled] .dice { display: none; }
.me-fields { flex: 1; min-width: 0; display: grid; gap: 4px; }
.me-fields label, .join label { font-weight: 900; font-size: 12px; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; }
.me-fields small { color: var(--mut); font-size: 12px; font-weight: 600; } .me-fields small a { color: var(--cy); }
.me-fields input, .join input { width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #0B0A1F; color: var(--tx); font: 800 16px Figtree, sans-serif; outline: none; }
.me-fields input:focus, .join input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, .2); }
.me-fields input[readonly] { opacity: .8; }
.join-row { display: flex; gap: 8px; margin-top: 6px; }
.join-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .3em; text-align: center; font-size: 20px; }
.join-row .nb { padding: 10px 16px; font-size: 15px; }
.nb.big { width: 100%; padding: 16px; font-size: 19px; flex-wrap: wrap; }
.nb.big small { flex-basis: 100%; text-align: center; font-size: 12px; font-weight: 800; opacity: .75; }
.nb[disabled] { filter: saturate(.3) brightness(.7); cursor: default; }
.lobby-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; max-width: 1000px; margin: 0 auto; }
.lobby-grid .col { display: grid; gap: 14px; align-content: start; min-width: 0; }
@media (min-width: 760px) { .lobby-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-head h2 { margin: 0; font-size: 20px; } .card-head small { color: var(--mut); font-size: 12px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; color: #14210a; background: var(--lime); border-radius: 99px; font-weight: 900; font-size: 12px; line-height: 1.4; white-space: nowrap; vertical-align: middle; }
.pill.violet { background: #3a2a9c; color: #fff; } .pill.gold { background: var(--gold); color: #2a1c00; }
.pill svg { width: 14px; height: 14px; }
.code-card { text-align: center !important; border-color: rgba(255, 210, 61, .55) !important; }
.code-head { display: flex; align-items: center; justify-content: space-between; }
.code-head small { font-weight: 900; font-size: 12px; letter-spacing: .12em; color: var(--gold); }
.mini-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; color: var(--tx); background: #241c55; border: 1px solid var(--line); border-radius: 99px; font-weight: 800; font-size: 12px; }
.mini-btn svg { width: 14px; height: 14px; }
.mini-btn[aria-pressed="true"] { background: var(--red); color: #fff; }
.code-tiles { display: flex; justify-content: center; gap: 10px; margin: 12px 0 14px; }
.code-tiles span { display: grid; place-items: center; width: clamp(54px, 16vw, 72px); height: clamp(62px, 18vw, 82px); color: #14210a; background: linear-gradient(180deg, #EEFF9A, var(--lime)); border-radius: 14px; box-shadow: 0 5px 0 #4a6400, 0 0 20px rgba(198, 244, 50, .35); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(34px, 10vw, 48px); animation: tileIn .5s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.code-tiles span:nth-child(2) { animation-delay: .07s; } .code-tiles span:nth-child(3) { animation-delay: .14s; } .code-tiles span:nth-child(4) { animation-delay: .21s; }
@keyframes tileIn { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }
.code-tiles.hide span { color: transparent; text-shadow: 0 0 14px rgba(20, 33, 10, .8); }
.code-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.code-actions .gb { padding: 9px 12px; font-size: 13px; }
.invite { margin: 10px 0 0 !important; font-size: 13px !important; color: var(--mut) !important; word-break: break-all; }
.invite.hide { filter: blur(6px); user-select: none; }
.settings { display: grid; gap: 12px; }
.set-block { display: grid; gap: 6px; min-width: 0; }
.set-block > small { color: var(--mut); font-weight: 900; font-size: 12px; letter-spacing: .08em; }
.seg { display: flex; padding: 3px; background: #0B0A1F; border: 1px solid var(--line); border-radius: 12px; }
.seg button { flex: 1; padding: 8px 4px; border-radius: 9px; font-weight: 800; font-size: 14px; line-height: 1.1; }
.seg button.on { color: #14210a; background: var(--lime); box-shadow: 0 0 12px rgba(198, 244, 50, .4); }
.rules-view { display: grid; gap: 8px; } .rv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.rule-help { margin: 2px 0 0 !important; color: var(--mut) !important; font-weight: 700 !important; font-size: 12.5px !important; line-height: 1.35; }
.vs-box { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.vs-box .vs { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; color: var(--pink); text-shadow: 0 0 12px var(--pink); }
.vs-p { position: relative; display: grid; justify-items: center; gap: 4px; padding: 12px 6px 10px; background: #0B0A1F88; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; min-width: 0; }
.vs-p.off { opacity: .45; } .vs-p.me { border-color: var(--lime); box-shadow: 0 0 14px rgba(198, 244, 50, .25); } .vs-p.empty { border-style: dashed; color: var(--mut); }
.vs-p img { width: 58px; height: 58px; background: #fff; border-radius: 50%; }
.vs-p b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-p small { color: var(--mut); font-weight: 600; font-size: 12px; }
.vs-p .crown { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.vs-p .kick { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; background: #241c55; border: 1px solid var(--line); border-radius: 50%; }
.vs-p .kick svg { width: 12px; height: 12px; }
.vs-p .ghost { display: grid; place-items: center; width: 58px; height: 58px; border: 2px dashed #4b4380; border-radius: 50%; font-weight: 900; font-size: 24px; }
.wait { padding: 12px; text-align: center; color: var(--mut); font-weight: 700; }
.dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dot 1s infinite; } .dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .2; transform: translateY(-3px); } }
.qr { width: min(240px, 70vw); margin: 0 auto; background: #fff; border-radius: 12px; padding: 6px; } .qr svg { width: 100%; height: auto; display: block; }
.fx { position: absolute; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.float { position: absolute; bottom: 120px; display: grid; justify-items: center; animation: floatR 2.6s ease-out forwards; }
.float .fr { display: block; width: 56px; height: 56px; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .3)); } .float .fr svg { width: 100%; height: 100%; }
.float img { width: 26px; height: 26px; margin-top: -6px; background: #fff; border-radius: 50%; }
@keyframes floatR { 0% { transform: translateY(20px) scale(.3); opacity: 0; } 12% { transform: translateY(0) scale(1.15); opacity: 1; } 100% { transform: translate(var(--dx, 0), -60vh) scale(.9); opacity: 0; } }
.netboot { position: absolute; inset: 0; z-index: 80; display: grid; place-content: center; text-align: center; gap: 6px; background: rgba(8, 6, 24, .86); font-weight: 800; color: #DCD2FF; }
.netboot[hidden] { display: none; }
@media (max-height: 560px) { .gj-body { align-content: start; } .gj-hero h2 { margin-top: 6px; font-size: 22px; } .gj-hero p { display: none; } .code-tiles span { width: 50px; height: 56px; font-size: 32px; } .nb.big { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .gj-badge, .code-tiles span, .count, .float { animation: none !important; } }

/* 1 contra 1 no celular em pé: a barra de cima tem mais coisas */
@media (max-width: 480px) {
  body[data-vs] .hud { gap: 4px; }
  body[data-vs] .h-bat, body[data-vs] .h-coins, body[data-vs] .h-energy { font-size: 14px; padding-right: 8px; height: 34px; }
  body[data-vs] .h-bat .hb-bar { width: 26px; } body[data-vs] .hb-ic { width: 20px; height: 24px; }
  body[data-vs] .h-wave { min-width: 58px; padding: 0 8px; height: 34px; } body[data-vs] .h-wave b { font-size: 13px; }
  body[data-vs] #btnPause { width: 34px; height: 34px; }
  .vsbar { top: calc(48px + var(--sat)); padding: 4px 4px 4px 6px; gap: 6px; max-width: 58vw; }
  .vsbar > img { width: 26px; height: 26px; } .vb-t b { font-size: 11.5px; } .vb-t small { font-size: 9.5px; } .vb-bar { min-width: 60px; height: 6px; }
  #vsMini { width: 28px; height: 50px; }
}

/* v1.266.5: escolher o modo antes de criar a sala */
.gj-mode label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 14px; color: var(--mut); }
.gm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gm-opts button { display: grid; gap: 4px; align-content: start; text-align: left; padding: 11px 12px; border-radius: 14px; background: #0B0A1F; border: 1.5px solid var(--line); color: var(--tx); }
.gm-opts button b { font-size: 15px; font-weight: 900; }
.gm-opts button small { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mut); }
.gm-opts button.on { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset, 0 0 16px rgba(198, 244, 50, .35); }
.gm-opts button.on b { color: var(--lime); }
/* v1.266.5, celular em pé: a bandeja de mandar apagões vira uma coluna à esquerda do campo (antes ficava embaixo e
   o campo encolhia a quase metade da largura da tela) */
body:not(.land) .tray { left: 6px; right: auto; top: calc(54px + var(--sat)); bottom: calc(84px + var(--sab)); width: 64px; flex-direction: column; padding: 4px; gap: 4px; }
body:not(.land)[data-role="atk"] .tray { bottom: calc(8px + var(--sab)); width: 72px; }
body:not(.land) .tray .sc, body:not(.land)[data-role="atk"] .tray .sc { width: 100%; padding: 3px 2px 4px; border-radius: 12px; }
body:not(.land) .tray .sc canvas { width: 34px; height: 34px; }
body:not(.land) .tray .sc b { font-size: 9px; }
