/* Zovy Show (base do Zovy Party Run) — estilos. Tela cheia com o 3D atrás; menus e placares
   ficam por cima. No celular: alavanca que nasce onde o dedo encosta (lado esquerdo) e os botões PULA e MERGULHO à direita, por cima da
   pista, em pé e deitado. Base da sala ao vivo igual à dos outros jogos ao vivo (veio da Disparada). */
:root { --ink: #1E1338; --violet: #7C4DFF; --lime: #C6F432; --pink: #FF4FA3; --cyan: #2EE6FF; --gold: #FFB800; --orange: #FF8A3D; --red: #FF3B5C; --soft: #cdbfff;
  --disp: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); }
body { font: 600 16px/1.35 var(--ui); color: #fff; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
input { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
#app { position: fixed; inset: 0; overflow: hidden; background: var(--ink); }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.screen { position: absolute; inset: 0; display: none; flex-direction: column; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.screen.on { display: flex; animation: screenIn .32s cubic-bezier(.2, .9, .3, 1.2); }
.screen.panel { background: radial-gradient(circle at 50% 110%, rgb(124 77 255 / .35), transparent 60%), linear-gradient(165deg, #3a2290 0%, #241257 55%, #150b33 100%); }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.top { display: flex; align-items: center; gap: 10px; flex: none; }
.logo { height: 32px; width: auto; }
.chip-orig { padding: 3px 12px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; box-shadow: 0 3px 0 var(--ink); font: 800 12px/1.3 var(--ui); letter-spacing: .1em; }
.top-btns { display: flex; gap: 8px; margin-left: auto; }
.icon-btn.off { background: #d9d1f2; color: #6b5f8f; }
.icon-btn.flip .zi, .ctl .flip .zi { transform: scaleX(-1); }
.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(--soft); font: 800 11px/1 var(--ui); letter-spacing: .12em; } .bar-title b { font: 800 22px/1.1 var(--disp); }

/* ---------- menu (por cima da corrida de demonstração) ---------- */
#menu { overflow-y: auto; background: linear-gradient(180deg, rgb(30 19 56 / .55), rgb(30 19 56 / .2) 40%, rgb(30 19 56 / .75)); }
.menu-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 16px; width: 100%; max-width: 1000px; margin: 0 auto; padding: 10px 0; }
.hero { display: grid; justify-items: center; gap: 12px; text-align: center; }
.title { display: inline-grid; justify-items: center; gap: 4px; margin: 0; font: 800 clamp(42px, 12vw, 80px)/.92 var(--disp); white-space: nowrap; letter-spacing: -.02em; }
.title span { position: relative; padding: 6px 18px 12px; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 8px 0 var(--ink); animation: signIn .7s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.title .t1 { color: #fff; background: var(--violet); font-size: .5em; transform: rotate(-4deg); }
.title .t2 { color: var(--ink); background: var(--lime); transform: rotate(-2deg) skewX(-6deg); animation-delay: .15s; }
.title .t2::before { content: ""; position: absolute; right: 100%; top: 22%; width: .9em; height: 56%; margin-right: 8px; background: repeating-linear-gradient(180deg, #fff 0 5px, transparent 5px 13px); border-radius: 4px; opacity: .85; animation: lines .5s linear infinite; }
.title .t2 em { font-style: normal; color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; display: inline-block; animation: wob 2.4s ease-in-out infinite; }
@keyframes lines { 50% { transform: translateX(-6px); opacity: .5; } }
@keyframes wob { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(14deg) scale(1.15); } 90% { transform: rotate(-8deg); } }
@keyframes signIn { from { opacity: 0; transform: translateX(-80px) rotate(-10deg) scale(.5); } }
.tag { max-width: 460px; margin: 0; font-size: 15px; text-shadow: 0 2px 0 rgb(30 19 56 / .6); }
.tag b { color: var(--lime); }
.skin { display: flex; align-items: center; gap: 8px; }
.sk-box { display: flex; align-items: center; gap: 8px; padding: 4px 16px 4px 6px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); text-align: left; }
.sk-box canvas { width: 64px; height: 64px; }
.sk-box span { display: grid; min-width: 104px; }
.sk-box small { color: #6b5f8f; font: 800 10px/1 var(--ui); letter-spacing: .1em; }
.sk-box b { font: 800 20px/1.1 var(--disp); }
.sk-box em { font-style: normal; color: #6b5f8f; font-size: 11px; font-weight: 700; }
.modes { display: grid; gap: 12px; }
.mode { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); transition: transform .12s, box-shadow .12s; animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.mode:nth-child(2) { animation-delay: .07s; } .mode:nth-child(3) { animation-delay: .14s; }
.mode:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 9px 0 var(--ink); }
.mode:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.m-ic { display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid var(--ink); border-radius: 16px; }
.m-ic .zi { width: 26px; height: 26px; }
.m-bots .m-ic { background: var(--lime); } .m-daily .m-ic { background: var(--gold); } .m-galera .m-ic { background: var(--pink); color: #fff; }
.m-txt { display: grid; min-width: 0; }
.m-txt b { font: 800 22px/1.1 var(--disp); }
.m-txt small { color: #5d5182; font-size: 13px; font-weight: 700; }
.m-rec { display: grid; justify-items: end; font: 800 12px/1.2 var(--ui); color: #6b5f8f; text-align: right; }
.m-rec b { font: 800 22px/1 var(--disp); color: var(--ink); font-variant-numeric: tabular-nums; }
.m-rec .new { padding: 2px 8px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 99px; font-size: 11px; animation: beat 1.2s infinite; }
.menu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-row .btn { padding: 9px 6px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes beat { 50% { transform: scale(1.08); } }
@media (min-width: 860px) {
  #menu { background: linear-gradient(90deg, rgb(30 19 56 / .8), rgb(30 19 56 / .25) 70%); }
  .menu-body { grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 40px; }
  .hero { grid-row: 1 / 3; }
}
.lvl-pick { display: grid; gap: 8px; }
.btn.lvl { display: grid; justify-items: start; padding: 10px 14px; text-align: left; } .btn.lvl b { font: 800 19px/1.1 var(--disp); } .btn.lvl small { color: #6b5f8f; font-weight: 700; }
.btn.lvl:nth-child(1) { background: #E6FFB8; } .btn.lvl:nth-child(2) { background: #FFF0C2; } .btn.lvl:nth-child(3) { background: #FFD3E8; }

/* ---------- corrida ---------- */
#play { pointer-events: none; padding: 0; animation: none; }
#play > * { pointer-events: auto; }
.hud { position: absolute; top: max(10px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.h-time, .h-pos { display: grid; justify-items: center; padding: 3px 12px 5px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); }
.h-time small, .h-pos small { color: #6b5f8f; font: 800 10px/1 var(--ui); letter-spacing: .08em; }
.h-time b { font: 800 22px/1 var(--disp); font-variant-numeric: tabular-nums; min-width: 5.6ch; text-align: center; }
.h-pos { min-width: 62px; background: var(--lime); }
.h-pos b { font: 800 28px/1 var(--disp); }
.h-pos:empty { visibility: hidden; }
.h-bar { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 62px); left: 50%; width: min(78vw, 520px); height: 14px; transform: translateX(-50%); pointer-events: none !important; }
.hb-track { position: absolute; inset: 0 22px 0 0; background: rgb(255 255 255 / .55); border: 2.5px solid var(--ink); border-radius: 99px; }
.hb-track i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--c, #fff); border: 2px solid var(--ink); border-radius: 50%; transition: left .1s linear; }
.hb-track i.gh { opacity: .45; } .hb-track i.me { z-index: 2; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--lime); border-width: 3px; }
.hb-flag { position: absolute; right: 0; top: -6px; color: #fff; filter: drop-shadow(0 2px 0 var(--ink)); } .hb-flag .zi { width: 22px; height: 22px; }
.stick-zone { position: absolute; left: 0; top: 90px; bottom: 0; width: 58%; touch-action: none; }
.stick { position: absolute; left: 0; top: 0; width: 120px; height: 120px; display: grid; place-items: center; border: 4px solid rgb(255 255 255 / .75); border-radius: 50%; background: rgb(30 19 56 / .28); opacity: 0; pointer-events: none !important; transition: opacity .12s; }
.stick.on { opacity: 1; }
.stick-knob { width: 56px; height: 56px; background: #fff; border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 rgb(11 6 32 / .5); }
.ctl { position: absolute; right: 0; bottom: 0; display: grid; grid-template-columns: auto auto; align-items: end; gap: 12px; padding: 0 max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) 0; pointer-events: none !important; touch-action: none; }
.ctl > * { pointer-events: auto; }
.ctl button { display: grid; place-items: center; align-content: center; padding: 0; color: var(--ink); background: #fff; border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 6px 0 #0b0620; touch-action: none; -webkit-tap-highlight-color: transparent; opacity: .93; }
.ctl button .zi { width: 34px; height: 34px; }
.ctl button span { font: 800 13px/1 var(--disp); }
.ctl button.down { transform: translateY(4px); box-shadow: 0 2px 0 #0b0620; }
.ctl .ctl-j { width: 112px; height: 112px; background: var(--lime); } .ctl .ctl-j span { font-size: 17px; margin-top: -4px; }
.ctl .ctl-j.down { background: var(--gold); }
.ctl .ctl-d { width: 84px; height: 84px; margin-bottom: 64px; background: var(--cyan); } .ctl .ctl-d span { font-size: 9.5px; letter-spacing: 0; } .ctl .ctl-d .zi { width: 28px; height: 28px; }
.ctl .ctl-d.down { background: var(--pink); color: #fff; }
@media (orientation: landscape) and (max-height: 520px) { .ctl .ctl-j { width: 96px; height: 96px; } .ctl .ctl-d { width: 72px; height: 72px; margin-bottom: 40px; } .stick-zone { top: 70px; } }
.big-txt { position: absolute; left: 50%; top: 36%; z-index: 30; padding: 0 10px; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; color: #FFD23F; font: 800 clamp(70px, 22vw, 150px)/1 var(--disp); white-space: nowrap; -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; text-shadow: 0 8px 0 var(--ink); }
.big-txt.small { color: #fff; font-size: clamp(38px, 11vw, 84px); -webkit-text-stroke-width: 6px; }
.big-txt.on { animation: bigIn .9s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes bigIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-8deg); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(2deg); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); } }
.h-pos b.sm { font-size: 18px; }
.nogl { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: var(--ink); } .nogl .card { max-width: 380px; text-align: center; color: var(--ink); }
.title .t2 { font-size: .86em; }
.pause { position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; background: rgb(30 19 56 / .72); backdrop-filter: blur(3px); }
.pause .card { display: grid; gap: 12px; width: min(92vw, 360px); text-align: center; }
.pause h2 { margin: 0; font: 800 28px/1 var(--disp); } .pause h2 .zi { width: 24px; height: 24px; }
.pause .row-chips { display: flex; justify-content: center; gap: 8px; }
.lscore { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 14px; background: rgb(30 19 56 / .7); backdrop-filter: blur(2px); }
.lscore .card { width: min(96vw, 520px); max-height: calc(100% - 20px); overflow-y: auto; }
.lscore h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.ls-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.ls-list li { display: grid; grid-template-columns: 34px 32px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 5px 10px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; font-weight: 800; animation: lineIn .3s ease-out backwards; }
.ls-list li.me { background: #F2FCCF; }
.ls-list img { width: 32px; height: 32px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.ls-list .lt { color: #6b5f8f; font-size: 13px; font-variant-numeric: tabular-nums; }
.ls-list .lp { min-width: 44px; padding: 1px 8px; text-align: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; }
.ls-list .ln { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-next { margin: 10px 0 0; text-align: center; color: #6b5f8f; font-weight: 800; }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } }
.reacts-mini { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 90px); right: max(12px, env(safe-area-inset-right)); display: flex; flex-direction: column; gap: 4px; }
.reacts-mini button { width: 40px; height: 40px; padding: 4px; background: rgb(30 19 56 / .45); border: 2px solid rgb(255 255 255 / .3); border-radius: 12px; }
@media (orientation: portrait) and (max-width: 640px) { .reacts-mini { flex-direction: row; top: calc(max(10px, env(safe-area-inset-top)) + 88px); right: 8px; } .reacts-mini button { width: 36px; height: 36px; } }

/* ---------- fim da corrida ---------- */
#over { overflow-y: auto; background: rgb(30 19 56 / .62); }
.over-wrap { display: grid; width: 100%; max-width: 520px; margin: auto; }
.over-card { display: grid; gap: 10px; padding: 18px; text-align: center; border-width: 4px; border-radius: 26px; box-shadow: 0 9px 0 var(--ink); animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.over-card .kicker { color: var(--violet); font: 800 12px/1 var(--ui); letter-spacing: .12em; }
.over-card h2 { margin: 0; font: 800 30px/1.05 var(--disp); }
.over-card .big { display: grid; justify-items: center; font: 800 64px/1 var(--disp); color: var(--violet); font-variant-numeric: tabular-nums; }
.over-card .big small { font-size: 18px; color: #6b5f8f; }
.over-card .muted { margin: 0; color: #6b5f8f; font-weight: 700; }
.over-card .rec { display: inline-block; padding: 1px 8px; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); border-radius: 99px; font: 800 11px/1.4 var(--ui); animation: beat 1s infinite; }
.over-card .medal { display: grid; place-items: center; animation: pop .6s .2s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.over-card .flist li { grid-template-columns: 34px minmax(0, 1fr) auto; text-align: left; }
.over-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.over-actions .btn.wide { grid-column: 1 / -1; font-size: 19px; padding: 13px; }
.countdown { font: 800 18px/1 var(--disp); font-variant-numeric: tabular-nums; }
.reward .zi { width: 18px; height: 18px; vertical-align: -.25em; }
.modal-card h2 .zi { color: var(--gold); }
.modal-card .btn .zi { width: 18px; height: 18px; }

/* ---------- celular deitado / tela baixa ---------- */
@media (max-height: 520px) {
  .menu-body { grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 2px 0; gap: 8px; }
  .hero { grid-row: 1 / 3; gap: 6px; } .title { font-size: 40px; } .title span { padding: 3px 12px 7px; border-width: 3px; box-shadow: 0 5px 0 var(--ink); }
  .tag { display: none; } .sk-box canvas { width: 48px; height: 48px; }
  .mode { padding: 7px 10px; } .m-ic { width: 38px; height: 38px; } .m-txt b { font-size: 17px; } .m-txt small { display: none; } .modes { gap: 8px; }
  .over-card { padding: 12px; gap: 6px; } .over-card .big { font-size: 42px; } .over-card h2 { font-size: 22px; }
  .over-card .flist { grid-template-columns: 1fr 1fr; } .over-card .flist li { padding: 3px 8px; font-size: 13px; }
  .over-wrap { max-width: 720px; }
}
@media (max-width: 400px) { .ctl .ctl-j { width: 100px; height: 100px; } .ctl .ctl-d { width: 76px; height: 76px; } .h-time b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ================= base comum (botões, janelas, sala ao vivo) ================= */
/* ---------- peças básicas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); font: 800 16px/1.1 var(--ui); transition: transform .12s, box-shadow .12s; text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.lime { background: var(--lime); } .btn.pink { background: var(--pink); color: #fff; } .btn.violet { background: var(--violet); color: #fff; }
.btn.small { padding: 8px 12px; font-size: 14px; border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.btn .zi { width: 1.1em; height: 1.1em; }
.btn:focus-visible, .icon-btn:focus-visible, .mode:focus-visible, .ans:focus-visible, .tab:focus-visible, .stk:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.icon-btn .zi { width: 22px; height: 22px; }
.icon-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.pill { display: inline-block; padding: 1px 9px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 12px/1.4 var(--ui); }
.top { display: flex; align-items: center; gap: 10px; flex: none; }
.logo { height: 32px; width: auto; }
.chip-orig { padding: 3px 12px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; box-shadow: 0 3px 0 var(--ink); font: 800 12px/1.3 var(--ui); letter-spacing: .1em; }


.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(--soft); font: 800 11px/1 var(--ui); letter-spacing: .12em; } .bar-title b { font: 800 22px/1.1 var(--disp); }

/* ---------- efeitos e janelas ---------- */
.confetti { position: absolute; inset: 0; z-index: 55; width: 100%; height: 100%; pointer-events: none; }
.toasts { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 58px); left: 50%; z-index: 85; display: grid; gap: 6px; width: min(92vw, 420px); transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 9px 14px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); font-weight: 800; animation: toastIn .35s cubic-bezier(.2, 1.6, .4, 1); }
.toast .t-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; background: var(--c, var(--lime)); border: 2px solid var(--ink); border-radius: 50%; }
.toast .t-ic .zi { width: 16px; height: 16px; } .toast.out { opacity: 0; transform: translateY(-10px); transition: .3s; }
@keyframes toastIn { from { transform: translateY(-20px) scale(.9); opacity: 0; } }
.modal { position: absolute; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgb(30 19 56 / .75); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(100%, 520px); max-height: 88vh; overflow-y: auto; padding: 20px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink); animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }
.modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; box-shadow: 0 3px 0 var(--ink); }
.modal-card h2 { margin: 0 40px 12px 0; font: 800 26px/1.1 var(--disp); } .modal-card h2 .zi { color: var(--gold); }
.modal-card ol { padding-left: 20px; } .modal-card li { margin-bottom: 8px; } .modal-card .fact small { color: #6b5f8f; }
.top-list { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.top-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; font-weight: 800; }
.top-list img { width: 30px; height: 30px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; } .top-list b { margin-left: auto; }
.plus { position: absolute; z-index: 60; width: 80px; text-align: center; color: var(--lime); font: 800 34px/1 var(--disp); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; pointer-events: none; animation: plusUp 1.1s ease-out forwards; }
@keyframes plusUp { to { transform: translateY(-70px); opacity: 0; } }

/* ================= Com a galera (sala ao vivo): base da sala de espera, reações e pódio, igual ao Stop/Impostor/Mentira ================= */
.mini-btn { padding: 4px 10px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; font: 800 12px/1.3 var(--ui); }
.mini-btn[aria-pressed="true"] { background: var(--pink); color: #fff; }
.card { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); padding: 14px; }
.card h2, .card h3 { margin: 0; font: 800 20px/1.1 var(--disp); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-head small { color: #6b5f8f; font-size: 12px; }
.pill { display: inline-block; padding: 2px 10px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 12px/1.4 var(--ui); white-space: nowrap; vertical-align: middle; }
.pill.violet { background: var(--violet); color: #fff; } .pill.pink { background: var(--pink); color: #fff; } .pill.gold { background: var(--gold); }
input[type=text], input:not([type]) { width: 100%; min-width: 0; padding: 11px 14px; color: var(--ink); background: #F4F0FF; border: 3px solid var(--ink); border-radius: 14px; font: 700 16px/1.2 var(--ui); outline: none; }
input:focus { background: #fff; box-shadow: 0 0 0 3px var(--cyan); }
.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% { transform: translateY(-5px); opacity: .5; } }
.wait { padding: 12px; text-align: center; color: #e6dcff; font-weight: 700; }
.me-card { display: flex; align-items: center; gap: 14px; }
.av-big { position: relative; flex: none; width: 76px; height: 76px; padding: 0; background: #F4F0FF; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink); }
.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: var(--ink); background: var(--gold); border: 2px solid var(--ink); border-radius: 50%; font-size: 16px; }
.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: 800 13px/1 var(--ui); color: #6b5f8f; letter-spacing: .04em; text-transform: uppercase; }
.me-fields small { color: #6b5f8f; font-size: 12px; }
.me-fields .lvl { display: flex; align-items: center; gap: 8px; }
.menu-actions { display: grid; gap: 12px; }
.join-row { display: flex; gap: 8px; margin-top: 6px; }
#inpCode { text-transform: uppercase; letter-spacing: .35em; font: 800 22px/1 var(--disp); text-align: center; }
/* ---------- sala de espera ---------- */
#lobby { overflow-y: auto; }
.lobby-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; max-width: 1100px; margin: 0 auto; }
.lobby-grid .col { display: grid; gap: 14px; align-content: start; min-width: 0; }
@media (min-width: 860px) { .lobby-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.code-card { text-align: center; background: var(--violet); color: #fff; }
.code-head { display: flex; align-items: center; justify-content: space-between; }
.code-head small { font: 800 12px/1 var(--ui); letter-spacing: .12em; opacity: .85; }
.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, 74px); height: clamp(62px, 18vw, 84px); color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 6px 0 var(--ink); font: 800 clamp(36px, 10vw, 52px)/1 var(--disp); 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 rgb(30 19 56 / .7); }
.code-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.invite { margin: 10px 0 0; font-size: 13px; opacity: .85; word-break: break-all; }
.invite.hide { filter: blur(6px); user-select: none; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.players li { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 16px; text-align: center; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.players li.off { opacity: .45; }
.players li.me { background: #F2FCCF; }
.players img { width: 54px; height: 54px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.players b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.players .crown { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.players .kick { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 50%; font-size: 12px; }
.players .kick:hover { color: #fff; background: var(--red); }
.players .tagme { font-size: 11px; color: #6b5f8f; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.settings { display: grid; gap: 12px; }
.set-block { display: grid; gap: 6px; min-width: 0; }
.set-block > small { color: #6b5f8f; font: 800 12px/1 var(--ui); letter-spacing: .08em; }
.set-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.packs button { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; color: var(--ink); background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; font: 800 12px/1.1 var(--ui); }
.packs .pk-ic { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; font-size: 17px; }
.packs button.on .pk-ic { background: var(--lime); }
.packs button.on { background: var(--gold); box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; color: #6b5f8f; background: #fff; border: 2px dashed #b9add9; border-radius: 99px; font: 700 14px/1.2 var(--ui); }
.chip.on { color: var(--ink); background: var(--lime); border: 2px solid var(--ink); }
.chip.custom.on { background: var(--cyan); }
.chip .x { font-size: 12px; opacity: .7; }
.cat-add { display: flex; gap: 6px; margin-top: 4px; }
.cat-add input { padding: 8px 12px; }
.seg { display: flex; padding: 3px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; }
.seg button { flex: 1; padding: 7px 4px; color: var(--ink); background: none; border: 0; border-radius: 10px; font: 800 14px/1 var(--ui); }
.seg button.on { background: var(--violet); color: #fff; }
.switch { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { grid-row: 1 / 3; position: relative; width: 50px; height: 28px; background: #d9d1f2; border: 2px solid var(--ink); border-radius: 99px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--pink); } .switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.switch b { font-size: 14px; } .switch small { color: #6b5f8f; font-size: 12px; }
.rules-view { display: grid; gap: 8px; }
.rules-view .cats .chip { pointer-events: none; }
.rv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.start { width: 100%; }
.start .ico { animation: pulse 1.2s infinite; } @keyframes pulse { 50% { transform: scale(1.12); } }

.reacts { display: flex; gap: 4px; }
.reacts button { width: 44px; height: 44px; padding: 4px; background: rgb(255 255 255 / .1); border: 2px solid rgb(255 255 255 / .2); border-radius: 14px; transition: transform .12s, background .15s; }
.reacts button:hover { background: rgb(255 255 255 / .2); transform: translateY(-2px) rotate(-6deg); }
.reacts button.boing, .sus.boing { animation: boing .45s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes boing { 30% { transform: scale(1.12) rotate(3deg); } }
.reacts button:active { transform: scale(.85); }
/* ---------- final ---------- */
#final { overflow-y: auto; }
.final-wrap { width: 100%; max-width: 980px; margin: 0 auto; display: grid; gap: 14px; }
.final-title { margin: 6px 0 0; text-align: center; font: 800 clamp(32px, 8vw, 48px)/1 var(--disp); text-shadow: 0 4px 0 rgb(0 0 0 / .3); }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2vw, 18px); min-height: 260px; padding-top: 10px; }
.pod { display: grid; justify-items: center; gap: 6px; width: clamp(96px, 26vw, 170px); }
.pod img { width: clamp(64px, 16vw, 96px); height: clamp(64px, 16vw, 96px); background: #fff; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 5px 0 var(--ink); animation: popUp .6s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.pod b { max-width: 100%; overflow: hidden; font: 800 16px/1.1 var(--ui); text-overflow: ellipsis; white-space: nowrap; }
.pod .step { display: grid; place-items: start center; width: 100%; padding-top: 10px; color: var(--ink); border: 3px solid var(--ink); border-bottom: 0; border-radius: 16px 16px 0 0; font: 800 34px/1 var(--disp); transform-origin: bottom; animation: rise .8s cubic-bezier(.2, 1.2, .4, 1) backwards; }
.pod .step small { display: block; font: 800 14px/1.4 var(--ui); }
.pod.p1 .step { height: 150px; background: var(--gold); animation-delay: .9s; } .pod.p1 img { animation-delay: 1.5s; width: clamp(76px, 19vw, 116px); height: clamp(76px, 19vw, 116px); }
.pod.p2 .step { height: 110px; background: #e3e8f5; animation-delay: .5s; } .pod.p2 img { animation-delay: 1.1s; }
.pod.p3 .step { height: 80px; background: #f3c49b; animation-delay: .1s; } .pod.p3 img { animation-delay: .7s; }
.pod.p1 .crown { animation: popUp .6s 1.8s cubic-bezier(.2, 1.6, .4, 1) backwards, wobble 3s 2.4s infinite; --rot: -6deg; }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes popUp { from { transform: translateY(40px) scale(.3); opacity: 0; } }
.final-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 760px) { .final-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.final-cols h3 { margin-bottom: 10px; }
.flist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.flist li { display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 10px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; font-weight: 800; }
.flist li.me { background: #F2FCCF; }
.flist img { width: 34px; height: 34px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.flist span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reward { display: grid; gap: 8px; min-height: 40px; }
.reward .xp-big { font: 800 40px/1 var(--disp); color: var(--violet); } .reward .xp-big small { font-size: 18px; }
.reward p { margin: 0; } .reward .soft { color: #6b5f8f; } .reward .gold { color: #b47a00; font-weight: 800; }
.reward .row-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-mini { display: inline-block; padding: 6px 12px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 13px/1.2 var(--ui); text-decoration: none; }
.btn-mini.ghost { background: #fff; }
.final-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- efeitos ---------- */
.fx { position: absolute; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.float { position: absolute; bottom: 70px; display: grid; justify-items: center; animation: floatR 2.6s ease-out forwards; }
.float .fr { display: block; width: 58px; height: 58px; filter: drop-shadow(0 4px 0 rgb(0 0 0 / .3)); }
.float img { width: 26px; height: 26px; margin-top: -6px; background: #fff; border: 2px solid var(--ink); 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; } }
.confetti { position: absolute; inset: 0; z-index: 55; width: 100%; height: 100%; pointer-events: none; }
@keyframes wobble { 0%, 100% { transform: rotate(var(--rot)); } 50% { transform: rotate(calc(var(--rot) * -1)) translateY(-4px); } }

/* ---------- Com a galera: peças próprias ---------- */
.btn.big { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; text-align: left; padding: 12px 16px; }
.btn.big .ico { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; background: rgb(255 255 255 / .6); border: 3px solid var(--ink); border-radius: 50%; }
.btn.big .ico .zi { width: 20px; height: 20px; }
.btn.big .t { font: 800 21px/1.1 var(--disp); }
.btn.big small { font: 700 13px/1.2 var(--ui); opacity: .8; }
.btn:disabled { opacity: .45; pointer-events: none; }
.m-galera .m-ic { background: var(--pink); color: #fff; }
.me-fields { flex: 1; min-width: 0; display: grid; gap: 4px; }
.me-fields label, .join label { font: 800 13px/1 var(--ui); color: #6b5f8f; letter-spacing: .04em; text-transform: uppercase; }
.me-fields small { color: #6b5f8f; font-size: 12px; }
#gjoin { overflow-y: auto; }
.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: #fff; background: var(--pink); border: 3px solid var(--ink); border-radius: 99px; box-shadow: 0 4px 0 var(--ink); font: 800 13px/1.2 var(--ui); letter-spacing: .08em; animation: beat 1.4s infinite; }
.gj-hero h2 { margin: 12px 0 6px; font: 800 clamp(22px, 5.5vw, 30px)/1.15 var(--disp); }
.gj-hero h2 em { font-style: normal; color: var(--lime); }
.gj-hero p { margin: 0; color: #e6dcff; }
#globby, #gfinal { overflow-y: auto; }
.wait.dark { color: #6b5f8f; }
.round-tag { padding: 4px 10px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 12px/1.2 var(--ui); letter-spacing: .06em; white-space: nowrap; }
.gclock { position: relative; width: 50px; height: 50px; flex: none; background: #fff; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink); }
.gclock svg { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); transform: rotate(-90deg); }
.gclock .tc-bg { fill: none; stroke: #e5def7; stroke-width: 6; } .gclock .tc-fg { fill: none; stroke: var(--violet); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 125.7; transition: stroke-dashoffset .15s linear; }
.gclock span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font: 800 18px/1 var(--disp); }
.gclock.danger { background: var(--red); animation: beat .5s infinite; } .gclock.danger span { color: #fff; } .gclock.danger .tc-fg { stroke: #fff; }
#glive { align-items: center; }
.glive-main { flex: 1; min-height: 0; width: 100%; max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; }
.gcount { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 4px; pointer-events: none; }
.gcount b { display: grid; place-items: center; width: 110px; height: 110px; color: var(--ink); background: var(--gold); border: 5px solid var(--ink); border-radius: 50%; box-shadow: 0 8px 0 var(--ink); font: 800 64px/1 var(--disp); animation: pop .35s cubic-bezier(.2, 1.8, .4, 1); }
.gcount small { padding: 3px 12px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 99px; font: 800 14px/1.2 var(--ui); }
.gboard { align-self: center; padding: 10px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink); max-height: 100%; overflow-y: auto; }
.gboard h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font: 800 17px/1 var(--disp); }
.gboard h3 .zi { color: var(--gold); }
.gboard ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.gboard li { display: grid; grid-template-columns: 26px 28px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 4px 6px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 12px; font: 800 13px/1.2 var(--ui); }
.gboard li.me { background: #F2FCCF; } .gboard li.out { opacity: .45; text-decoration: line-through; }
.boot { position: absolute; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgb(30 19 56 / .85); color: var(--soft); font-weight: 700; }
.qr { display: grid; place-items: center; padding: 14px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; }
.qr svg { width: min(70vw, 280px); height: auto; }
.final-title .zi { color: var(--gold); width: .9em; height: .9em; vertical-align: -.08em; }
.rule-help { margin: 2px 0 0; color: #6b5f8f; font: 700 12px/1.35 var(--ui); }
.seg button .zi { width: 15px; height: 15px; vertical-align: -.2em; }
/* v1.268.0: robôs na sala com a galera */
.players li.bots-li { background: #FFF6D6; border-style: dashed; }
.players li.bots-li .bot-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #C6F432; }
.players li.bots-li .bot-ico .zi { width: 22px; height: 22px; }
.seg button:disabled { opacity: .4; }
@media (max-width: 520px) { #setHost .set-row:has(#segBots) { grid-template-columns: minmax(0, 1fr); } }

/* fases para escolher (v1.273.2) */
.stage-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 4px 0 12px; max-height: 46vh; overflow-y: auto; padding: 2px 4px 6px 2px; }
.stage { display: grid; gap: 3px; justify-items: start; padding: 6px; text-align: left; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 3px 0 var(--ink); cursor: pointer; font: inherit; }
.stage.on { background: #E6FFB8; outline: 3px solid var(--violet); outline-offset: 1px; }
.stage:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.st-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: 9px; color: #fff; }
.st-art .zi { width: 26px; height: 26px; filter: drop-shadow(0 2px 0 rgb(30 19 56 / .5)); }
.st-best { position: absolute; top: 4px; right: 4px; padding: 1px 6px; font: 900 12px/1.3 var(--ui); font-style: normal; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.st-best.b1 { background: #FFD23F; } .st-best.b2 { background: #E5E7EB; } .st-best.b3 { background: #F2B880; }
.stage b { font: 800 14px/1.15 var(--disp); }
.stage small { display: flex; align-items: center; gap: 5px; color: #6b5f8f; font: 700 11px/1.2 var(--ui); }
.st-dots { display: inline-flex; gap: 2px; } .st-dots i { width: 7px; height: 7px; border-radius: 50%; background: #D9D3EE; } .st-dots i.on { background: #FF4FA3; }
.sel-map { width: 100%; padding: 8px 10px; color: var(--ink); background: #F4F0FF; border: 2px solid var(--ink); border-radius: 14px; font: 800 16px/1.2 var(--ui); }
.set-block.wide { flex: 1 1 100%; }
@media (max-height: 520px) { .stage-pick { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); max-height: 40vh; } .stage small { display: none; } }
.set-row:has(> .set-block.wide) { grid-template-columns: minmax(0, 1fr); }
.stage-pick + .lvl-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stage-pick + .lvl-pick .btn.lvl { padding: 8px 10px; } .stage-pick + .lvl-pick .btn.lvl b { font-size: 16px; } .stage-pick + .lvl-pick .btn.lvl small { font-size: 11px; line-height: 1.15; }
@media (max-height: 520px) { #modalBody:has(.stage-pick) > p { display: none; } .stage-pick { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 116px; overflow-x: auto; overflow-y: hidden; max-height: none; margin-bottom: 8px; } .st-art { aspect-ratio: 2 / 1; } .stage-pick + .lvl-pick .btn.lvl small { display: none; } }

/* ======== Zovy Show ======== */
.h-round { flex: 1; display: grid; justify-items: center; align-self: center; min-width: 0; color: #fff; text-align: center; text-shadow: 0 2px 0 var(--ink), 0 0 10px rgb(30 19 56 / .5); pointer-events: none; }
.h-round small { font: 800 10px/1.1 var(--ui); letter-spacing: .12em; opacity: .9; }
.h-round b { font: 800 clamp(16px, 4.4vw, 24px)/1.05 var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.h-round:empty { visibility: hidden; }
.hud .h-time { order: 0; }
.hud .h-round { order: 1; }
.hud .h-pos { order: 2; }
.hud #btnPause { order: -1; }
.skip-btn { position: absolute; z-index: 6; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 10px 22px; font-size: 16px; }
.skip-btn.on { background: var(--lime); }
.lscore.intro { background: rgb(30 19 56 / .42); backdrop-filter: none; pointer-events: none; }
.lscore .card.intro { text-align: center; animation: riIn .45s cubic-bezier(.2, 1.4, .4, 1) backwards; }
@keyframes riIn { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
.ri-title { justify-content: center !important; font: 800 clamp(28px, 8vw, 44px)/1 var(--disp); margin: 6px 0 8px !important; }
.ri-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--lime); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 3px 0 var(--ink); }
.ri-ico svg { width: 26px; height: 26px; }
.ri-tip { margin: 0 0 12px; font-weight: 700; color: #4a3f6b; }
.ri-count { display: inline-grid; justify-items: center; padding: 8px 18px; background: #FFF3CC; border: 3px solid var(--ink); border-radius: 18px; }
.ri-count b { font: 800 40px/1 var(--disp); }
.ri-count small { font-weight: 800; color: #6b5f8f; }
.rres h2 { justify-content: center !important; font: 800 26px/1.1 var(--disp); }
.rres h2.win { color: #1d8a3a; }
.rres h2.lose { color: #d61f45; }
.rres h3 { margin: 12px 0 6px; font: 800 14px/1 var(--ui); letter-spacing: .04em; color: #6b5f8f; }
.rc-list { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; font-weight: 800; font-size: 14px; animation: lineIn .3s ease-out backwards; }
.rc-chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.rc-list.ok .rc-chip { background: #EAFBD0; }
.rc-list.out .rc-chip { background: #FFE3E8; opacity: .85; }
.rc-chip.me { outline: 3px solid var(--lime); outline-offset: 1px; }
.crown-big { display: inline-block; animation: riIn .6s backwards; }
.lscore .kicker { display: block; text-align: center; color: var(--violet); font: 800 12px/1 var(--ui); letter-spacing: .12em; }
@media (max-height: 520px) { .lscore .card { max-height: calc(100% - 8px); padding: 12px; } .ri-title { font-size: 26px; } .ri-count b { font-size: 30px; } .rc-chip { font-size: 12px; padding: 2px 8px 2px 4px; } }
@media (max-width: 600px) and (orientation: portrait) {
  .h-round { position: absolute; top: calc(100% + 10px); left: 0; right: 0; }
  .h-round b { font-size: 20px; }
}

/* v1.287.0: botão EMPURRA e a apresentação da fase antes da contagem */
.ctl { grid-template-areas: 'p .' 'd j'; } .ctl .ctl-d { grid-area: d; } .ctl .ctl-j { grid-area: j; }
.ctl .ctl-p { grid-area: p; justify-self: center; width: 72px; height: 72px; margin-bottom: 0; background: var(--pink); color: #fff; } .ctl .ctl-p span { font-size: 9.5px; } .ctl .ctl-p .zi { width: 26px; height: 26px; }
.ctl .ctl-p.down { background: var(--gold); color: var(--ink); }
@media (orientation: landscape) and (max-height: 520px) { .ctl .ctl-p { width: 62px; height: 62px; margin-bottom: 0; } }
@media (max-width: 400px) { .ctl .ctl-p { width: 66px; height: 66px; } }
body.pv #play .hud, body.pv #play .h-bar, body.pv #ctl, body.pv #stickZone { opacity: 0; pointer-events: none; transition: opacity .3s; }
.lscore.intro.pv { place-items: start center; padding-top: max(16px, env(safe-area-inset-top)); background: linear-gradient(rgb(30 19 56 / .62), rgb(30 19 56 / 0) 46%); }
.lscore.intro.pv .card.intro { width: min(94vw, 440px); padding: 12px 16px; }
.lscore.intro.pv .ri-title { font-size: clamp(24px, 6.6vw, 34px); margin: 4px 0 6px !important; }
.lscore.intro.pv .ri-ico { width: 38px; height: 38px; border-radius: 12px; }
.lscore.intro.pv .ri-tip { margin-bottom: 8px; font-size: 14px; }
.lscore.intro.pv .ri-count { padding: 4px 14px; border-radius: 14px; }
.lscore.intro.pv .ri-count b { font-size: 28px; }
.pv-btn { z-index: 22; }
@media (max-height: 520px) { .lscore.intro.pv .card.intro { padding: 8px 12px; } .lscore.intro.pv .ri-tip { display: none; } }
.h-sym { position: absolute; z-index: 5; left: 50%; top: calc(max(10px, env(safe-area-inset-top)) + 62px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 6px 14px 8px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); pointer-events: none; animation: riIn .35s backwards; }
.h-sym canvas { width: 56px; height: 56px; }
.h-sym b { font: 800 15px/1 var(--disp); white-space: nowrap; }
@media (max-width: 600px) and (orientation: portrait) { .h-sym { top: calc(max(10px, env(safe-area-inset-top)) + 104px); } }
/* v1.288.0: fim da prova com os bichinhos em fila (PASSOU / FORA): o cartão fica pequeno embaixo */
.lscore.lu { place-items: end center; padding-bottom: max(18px, env(safe-area-inset-bottom)); background: linear-gradient(rgb(30 19 56 / 0) 55%, rgb(30 19 56 / .55)); backdrop-filter: none; pointer-events: none; }
.lscore.lu .card.lu-card { width: min(94vw, 460px); padding: 12px 16px; text-align: center; animation: riIn .4s cubic-bezier(.2, 1.4, .4, 1) backwards; }
.lu-card h2 { justify-content: center !important; font-size: 24px !important; margin: 4px 0 6px !important; }
.lu-sum { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-weight: 800; }
.lu-sum span { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 99px; }
.lu-sum .ok { background: #EAFBD0; } .lu-sum .out { background: #FFE3E8; }
.lu-sum b { font: 800 18px/1 var(--disp); }
body.lu #play .hud, body.lu #play .h-bar, body.lu #ctl, body.lu #stickZone, body.lu #hSym, body.lu #btnSkip { opacity: 0; pointer-events: none; }

/* v1.290.0: escolher as provas e o tamanho do show */
.provas-row { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; margin-top: 10px; }
.kchips { display: flex; flex-wrap: wrap; gap: 6px; }
.kchip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px 6px 7px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; font: 800 13px/1 var(--ui); opacity: .55; box-shadow: 0 2px 0 var(--ink); transition: transform .08s; }
.kchip .zi { width: 15px; height: 15px; }
.kchip.on { background: var(--lime, #C6F432); opacity: 1; }
.kchip:not(:disabled):active { transform: translateY(2px); box-shadow: none; }
.kchip:disabled { cursor: default; }
.kc-sub { display: block; margin-top: 4px; color: #6b5f8f; font: 700 12px/1.2 var(--ui); }
.kc-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #6b5f8f; font: 700 12.5px/1.2 var(--ui); }
.kc-all { padding: 6px 12px; color: var(--ink); background: #F4F0FF; border: 2px solid var(--ink); border-radius: 999px; font: 800 12.5px/1 var(--ui); }
.kc-box { margin-top: 12px; border: 2px solid var(--ink); border-radius: 14px; background: #FBF9FF; }
.kc-box > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; font: 800 14px/1.2 var(--ui); list-style: none; }
.kc-box > summary::-webkit-details-marker { display: none; }
.kc-box > summary .zi { width: 18px; height: 18px; }
.kc-body { display: grid; gap: 10px; padding: 0 12px 12px; }
