/* Zovy Mentira ou Verdade — visual "sticker" do Zovy. A base (botões, cartões, sala de espera, placar, pódio) é a mesma do Zovy Stop e do Impostor; o que é só deste jogo está no fim.
   Funciona no celular em pé, deitado (tela baixa) e no computador. */
:root { --ink: #1E1338; --violet: #7C4DFF; --lime: #C6F432; --pink: #FF4FA3; --cyan: #2EE6FF; --gold: #FFB800; --orange: #FF8A3D; --red: #FF3B5C; --soft: #cdbfff;
  --paper: #FFFBF0; --line: #BFD7FF; --margin: #FF8DA8;
  --disp: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; --hand: "Patrick Hand", "Comic Sans MS", cursive; }
*, *::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-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#app { position: fixed; inset: 0; overflow: hidden;
  background: radial-gradient(circle at 88% 0, rgb(198 244 50 / .16), transparent 42%), radial-gradient(circle at 0 100%, rgb(255 79 163 / .28), transparent 46%), linear-gradient(165deg, #3a2290 0%, #241257 55%, var(--ink) 100%); }
#app::before { content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none; background: radial-gradient(rgb(255 255 255 / .2) 1.3px, transparent 1.5px) 0 0 / 22px 22px; }
.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); }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* letras flutuando no fundo */
.bg-eyes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg-eyes span { position: absolute; bottom: -80px; font: 800 var(--s, 48px)/1 var(--disp); color: rgb(255 255 255 / .07); animation: floatUp var(--d, 18s) linear infinite; animation-delay: var(--w, 0s); }
@keyframes floatUp { to { transform: translateY(-120vh) rotate(var(--r, 40deg)); } }

/* ---------- botões e 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, filter .12s; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible, .icon-btn:focus-visible, .mini-btn:focus-visible, .stop-btn:focus-visible, .chip:focus-visible, .vote-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.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:disabled { opacity: .45; pointer-events: none; }
.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%; font-size: 18px; }
.btn.big .t { font: 800 21px/1.1 var(--disp); }
.btn.big small { font: 700 13px/1.2 var(--ui); opacity: .8; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); font: 800 18px/1 var(--ui); }
.icon-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.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; }

/* ---------- menu ---------- */
.top { display: flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 1; }
.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 .icon-btn { margin-left: auto; }
#menu { overflow-y: auto; }
.menu-body { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px; width: 100%; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.hero { text-align: center; }
@keyframes signIn { from { opacity: 0; transform: translateY(-60px) rotate(30deg) scale(.4); } }
@keyframes wobble { 0%, 100% { transform: rotate(var(--rot)); } 50% { transform: rotate(calc(var(--rot) * -1)) translateY(-4px); } }
.tag { max-width: 520px; margin: 16px auto 0; color: #e6dcff; font-size: clamp(15px, 3.8vw, 18px); }
.tag b { color: var(--lime); }
.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; }
.menu-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu-row .btn { padding: 9px 6px; }
@media (min-width: 860px) {
  .menu-body { grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: 34px; }
  .hero { grid-row: 1 / 3; }
}

/* ---------- barra de cima ---------- */
.bar { display: flex; align-items: center; gap: 10px; flex: none; margin-bottom: 10px; }
.bar-title { flex: 1; min-width: 0; display: grid; }
.bar-title small { color: var(--soft); font: 800 11px/1 var(--ui); letter-spacing: .12em; }
.bar-title b { font: 800 20px/1.1 var(--disp); }

/* ---------- 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); } }

/* ---------- rodada ---------- */
#play { gap: 10px; }
.play-top { display: flex; align-items: center; gap: 14px; flex: none; width: 100%; max-width: 860px; margin: 0 auto; }
.letter-box { position: relative; flex: none; width: 104px; height: 104px; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgb(255 255 255 / .15); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--lime); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; transition: stroke .3s; }
.ring-fg.warn { stroke: var(--gold); } .ring-fg.danger { stroke: var(--red); }
.letter { position: absolute; inset: 14px; display: grid; place-items: center; color: var(--ink); background: var(--gold); border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 5px 0 var(--ink); font: 800 50px/1 var(--disp); }
.letter.sm { position: static; flex: none; width: 52px; height: 52px; font-size: 28px; border-width: 3px; box-shadow: 0 4px 0 var(--ink); }
.letter.bump { animation: bump .5s cubic-bezier(.2, 1.8, .4, 1); } @keyframes bump { from { transform: scale(1.6) rotate(-20deg); } }
.play-info { flex: 1; min-width: 0; display: grid; gap: 4px; }
.round-tag { color: var(--soft); font: 800 12px/1 var(--ui); letter-spacing: .12em; }
.clock { font: 800 40px/1 var(--disp); font-variant-numeric: tabular-nums; }
.clock.danger { color: var(--red); animation: beat .5s infinite; } @keyframes beat { 50% { transform: scale(1.08); } }
.others { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.others::-webkit-scrollbar { display: none; }
.oth { position: relative; flex: none; width: 40px; height: 40px; }
.oth img { width: 40px; height: 40px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.oth svg { position: absolute; inset: -4px; width: 48px; height: 48px; transform: rotate(-90deg); }
.oth circle { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .4s; }
.oth.full circle { stroke: var(--pink); }
.oth.full::after { content: "✓"; position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 50%; font: 900 10px/1 var(--ui); }
.sheet { flex: 1; min-height: 0; overflow-y: auto; width: 100%; max-width: 860px; margin: 0 auto; padding: 8px 14px 14px 58px; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink);
  background: linear-gradient(90deg, transparent 44px, var(--margin) 44px, var(--margin) 46px, transparent 46px), repeating-linear-gradient(transparent 0 55px, var(--line) 55px 57px), var(--paper); background-attachment: local; }
.row { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr) 30px; align-items: center; gap: 8px; height: 57px; }
.row label { overflow: hidden; color: #6b5f8f; font: 800 14px/1.1 var(--ui); text-overflow: ellipsis; }
.row input { height: 44px; padding: 0 6px; color: #1d3fa8; background: transparent; border: 0; border-bottom: 2px dashed transparent; border-radius: 0; font: 400 26px/1 var(--hand); }
.row input:focus { background: rgb(46 230 255 / .12); box-shadow: none; border-bottom-color: var(--cyan); border-radius: 8px 8px 0 0; }
.row input::placeholder { color: rgb(29 63 168 / .22); }
.row .mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 900 15px/1 var(--ui); transform: scale(0); transition: transform .25s cubic-bezier(.2, 1.8, .4, 1); }
.row.ok .mark { transform: scale(1); color: var(--ink); background: var(--lime); border: 2px solid var(--ink); }
.row.bad .mark { transform: scale(1); color: #fff; background: var(--red); border: 2px solid var(--ink); }
.row.bad input { color: var(--red); text-decoration: line-through wavy rgb(255 59 92 / .5); }
.sheet.locked input { pointer-events: none; color: #6377b8; }
.play-bottom, .vote-bottom, .score-bottom { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; max-width: 860px; margin: 0 auto; }
.stop-btn { position: relative; flex: 1; display: grid; place-items: center; height: 74px; color: #fff; background: var(--red); border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink);
  clip-path: polygon(8% 0, 92% 0, 100% 22%, 100% 78%, 92% 100%, 8% 100%, 0 78%, 0 22%); border-radius: 6px; transition: transform .1s; }
.stop-btn span { font: 800 34px/1 var(--disp); letter-spacing: .04em; text-shadow: 0 3px 0 rgb(0 0 0 / .25); }
.stop-btn small { margin-top: -6px; font: 800 12px/1 var(--ui); opacity: .9; }
.stop-btn:disabled { background: #8c7fb3; cursor: not-allowed; }
.stop-btn:not(:disabled) { animation: stopReady 1s infinite; }
@keyframes stopReady { 50% { transform: scale(1.03); filter: brightness(1.1); } }
.stop-btn:not(:disabled):active { transform: translateY(4px); }
.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); }

/* sorteio da letra */
.spin { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgb(30 19 56 / .82); backdrop-filter: blur(4px); }
.spin-box { display: grid; justify-items: center; gap: 14px; }
.spin-box small { color: var(--soft); font: 800 14px/1 var(--ui); letter-spacing: .18em; }
.reel { display: grid; place-items: center; width: 190px; height: 190px; overflow: hidden; color: var(--ink); background: var(--gold); border: 6px solid var(--ink); border-radius: 50%; box-shadow: 0 10px 0 var(--ink), 0 0 0 14px rgb(255 184 0 / .2); }
.reel-l { font: 800 120px/1 var(--disp); }
.reel-l.tick { animation: tick .09s; } @keyframes tick { from { transform: translateY(-40%); opacity: .3; } }
.reel.land { animation: land .6s cubic-bezier(.2, 1.8, .4, 1); background: var(--lime); } @keyframes land { from { transform: scale(1.35); } }
.spin-go { visibility: hidden; font: 800 44px/1 var(--disp); color: var(--lime); text-shadow: 0 4px 0 var(--ink); }
.spin-go.on { visibility: visible; animation: go .5s cubic-bezier(.2, 1.8, .4, 1); } @keyframes go { from { transform: scale(.2) rotate(-15deg); } }

/* STOP! */
.stopfx { position: absolute; inset: 0; z-index: 45; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgb(255 59 92 / .25); pointer-events: none; }
.stop-sign { display: grid; place-items: center; width: min(70vw, 300px); aspect-ratio: 1; background: var(--red); border: 8px solid #fff; outline: 6px solid var(--ink); clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); animation: slam .5s cubic-bezier(.2, 1.6, .4, 1); }
.stop-sign span { font: 800 clamp(50px, 16vw, 86px)/1 var(--disp); color: #fff; }
@keyframes slam { from { transform: scale(3) rotate(25deg); opacity: 0; } }
.stopfx p { margin: 0; padding: 6px 16px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 99px; font: 800 18px/1.2 var(--ui); }
.stopfx > b { font: 800 64px/1 var(--disp); color: #fff; text-shadow: 0 5px 0 var(--ink); }
.shake { animation: shake .45s; } @keyframes shake { 20% { transform: translate(-8px, 4px); } 40% { transform: translate(7px, -5px); } 60% { transform: translate(-5px, 3px); } 80% { transform: translate(4px, -2px); } }

/* ---------- correção ---------- */
#vote, #score { overflow: hidden; }
.vote-top { display: flex; align-items: center; gap: 12px; flex: none; width: 100%; max-width: 860px; margin: 0 auto; }
.vote-title { flex: 1; min-width: 0; }
.vote-title small { color: var(--soft); font: 800 12px/1 var(--ui); letter-spacing: .12em; }
.vote-title h2 { margin: 2px 0 0; font: 800 clamp(24px, 6vw, 34px)/1.05 var(--disp); color: var(--lime); }
.vote-title h2.swap { animation: screenIn .35s; }
.vote-timer { display: grid; justify-items: center; padding: 6px 12px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); }
.vote-timer b { font: 800 26px/1 var(--disp); font-variant-numeric: tabular-nums; } .vote-timer small { font-size: 11px; }
.vbar { flex: none; width: 100%; max-width: 860px; height: 8px; margin: 10px auto 0; overflow: hidden; background: rgb(255 255 255 / .15); border-radius: 9px; }
.vbar i { display: block; height: 100%; background: var(--lime); border-radius: 9px; transition: width .25s linear; }
.vote-help { flex: none; width: 100%; max-width: 860px; margin: 8px auto; color: #e6dcff; font-size: 13px; }
.vote-help b { color: #fff; }
.vlist { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-content: start; gap: 10px; width: 100%; max-width: 860px; margin: 0 auto 10px; padding: 4px 2px 8px; }
.vcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 10px 12px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); animation: pop .35s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.vcard img { grid-row: 1 / 3; width: 42px; height: 42px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 50%; }
.vcard .who { overflow: hidden; color: #6b5f8f; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.vcard .ans { overflow: hidden; font: 400 26px/1.05 var(--hand); color: #1d3fa8; text-overflow: ellipsis; white-space: nowrap; }
.vcard .tagline { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vcard.auto { background: #eee9f8; box-shadow: 0 3px 0 var(--ink); }
.vcard.auto .ans { color: #9a8fbf; text-decoration: line-through; }
.vcard.dup { background: #FFF1D6; }
.vcard.killed { background: #FFE0E6; }
.vcard.killed .ans { color: var(--red); text-decoration: line-through; }
.vcard.mine { outline: 3px dashed var(--violet); outline-offset: 3px; }
.vote-btn { margin-left: auto; padding: 6px 12px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; box-shadow: 0 3px 0 var(--ink); font: 800 13px/1 var(--ui); }
.vote-btn.on { background: var(--red); color: #fff; }
.vote-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.thumbs { font: 800 13px/1 var(--ui); color: var(--red); }
.ready-count { flex: 1; color: var(--soft); font-weight: 700; font-size: 14px; }
.vote-bottom .reacts, .score-bottom .reacts { flex: none; }

/* ---------- placar ---------- */
.legend { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lg { padding: 2px 8px; border: 2px solid var(--ink); border-radius: 99px; font: 800 11px/1.3 var(--ui); font-style: normal; color: var(--ink); }
.lg.unica, .st-unica { background: var(--lime); } .lg.repetida, .st-repetida { background: var(--gold); } .lg.zero { background: #e5def7; }
.mvp { flex: none; width: 100%; max-width: 860px; margin: 0 auto 10px; }
.mvp-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); background: linear-gradient(100deg, var(--gold), #ffd76a); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); animation: pop .5s .2s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.mvp-card img { width: 46px; height: 46px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.mvp-card small { display: block; font: 800 11px/1 var(--ui); letter-spacing: .1em; }
.mvp-card b { font: 800 20px/1.1 var(--disp); }
.mvp-card .fun { margin-left: auto; text-align: right; font-size: 13px; }
.mvp-card .fun q { font: 400 20px/1 var(--hand); }
.slist { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 10px; width: 100%; max-width: 860px; margin: 0 auto 10px; padding: 2px 2px 8px; }
.srow { display: grid; grid-template-columns: 34px 44px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); animation: slideIn .45s cubic-bezier(.2, 1.4, .4, 1) backwards; }
@keyframes slideIn { from { transform: translateX(-30px); opacity: 0; } }
.srow .pos { display: grid; place-items: center; }
.srow img { width: 44px; height: 44px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 50%; }
.srow .nm { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.srow .nm .mv { margin-left: 6px; font-size: 12px; } .mv.up { color: #16a34a; } .mv.down { color: var(--red); }
.srow .tot { text-align: right; } .srow .tot b { display: block; font: 800 24px/1 var(--disp); font-variant-numeric: tabular-nums; }
.srow .tot small { color: #16a34a; font-weight: 800; }
.srow .chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.srow .chips span { max-width: 100%; overflow: hidden; padding: 2px 8px; border: 2px solid var(--ink); border-radius: 10px; font: 400 17px/1.15 var(--hand); text-overflow: ellipsis; white-space: nowrap; }
.srow .chips span i { margin-right: 4px; font: 800 11px/1 var(--ui); font-style: normal; opacity: .7; }
.srow .chips .st-zero { background: #efeaf9; color: #9a8fbf; text-decoration: line-through; }
.srow.me { background: #F2FCCF; }
.srow.first { background: #FFF6D6; }
.score-bottom .btn.big { flex: none; }

/* ---------- 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; }
.toasts { position: absolute; top: max(10px, env(safe-area-inset-top)); 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 img { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; }
.toast .t-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; }
.toast.ic-alert .t-ic, .toast.ic-lock .t-ic, .toast.ic-exit .t-ic { color: #fff; background: var(--red); }
.toast.ic-crown .t-ic, .toast.ic-party .t-ic { background: var(--gold); }
.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 ol { padding-left: 20px; } .modal-card li { margin-bottom: 8px; }
.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; }
.top-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.top-list li { display: flex; align-items: center; gap: 8px; color: var(--ink); 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; }
.boot { position: absolute; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--ink); color: var(--soft); font-weight: 700; transition: opacity .3s; }
.boot.gone { opacity: 0; pointer-events: none; }
.boot .err { max-width: 420px; padding: 0 16px; text-align: center; color: #fff; }

/* ---------- telas baixas (celular deitado) ---------- */
@media (max-height: 520px) {
  .menu-body { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 16px; padding: 2px 0; }
  .hero { grid-row: 1 / 3; } .tag { margin-top: 8px; font-size: 14px; }
  .me-card { padding: 8px 12px; } .av-big { width: 54px; height: 54px; } .me-fields small { display: none; }
  .btn.big { padding: 8px 12px; } .btn.big .ico { width: 36px; height: 36px; } .btn.big .t { font-size: 18px; }
  .join.card { padding: 8px 12px; } .menu-actions { gap: 8px; }
  .play-top { gap: 10px; } .letter-box { width: 72px; height: 72px; } .letter { inset: 9px; font-size: 32px; border-width: 3px; } .clock { font-size: 28px; }
  #play { gap: 6px; flex-direction: row; flex-wrap: wrap; }
  #play .play-top { flex-direction: column; justify-content: center; gap: 2px; width: 130px; margin: 0; align-items: stretch; } #play .play-info { flex: none; gap: 0; text-align: center; } #play .others { display: none; }
  #play .sheet { flex: 1 1 0; min-width: 0; height: calc(100% - 84px); margin: 0; }
  #play .play-bottom { order: 3; width: 100%; margin: 0; } .stop-btn { height: 62px; }
  #play .letter-box { align-self: center; }
  .podium { min-height: 200px; } .pod.p1 .step { height: 110px; } .pod.p2 .step { height: 80px; } .pod.p3 .step { height: 56px; }
  .vote-help { display: none; } .mvp { display: none; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: minmax(80px, 34%) minmax(0, 1fr) 28px; }
  .row label { font-size: 13px; } .row input { font-size: 23px; }
  .sheet { padding-left: 50px; background: linear-gradient(90deg, transparent 38px, var(--margin) 38px, var(--margin) 40px, transparent 40px), repeating-linear-gradient(transparent 0 55px, var(--line) 55px 57px), var(--paper); background-attachment: local; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-row { grid-template-columns: minmax(0, 1fr); }
  .play-bottom .reacts, .vote-bottom .reacts, .score-bottom .reacts { display: none; }
  .legend { display: none; }
  .score-bottom .btn.big { flex: 1; } .score-bottom .ready-count { display: none; }
  .score-bottom .btn.big small { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .bg-eyes { display: none; } }

/* ---------- ícones SVG (v1.76) ---------- */
.icon-btn .zi { width: 22px; height: 22px; }
.btn .zi { width: 1.1em; height: 1.1em; }
.btn.big .ico .zi { width: 20px; height: 20px; }
.mini-btn { display: inline-flex; align-items: center; gap: 5px; }
.modal-card h2 .zi, .final-title .zi { color: var(--gold); }
.final-title .zi { width: .9em; height: .9em; vertical-align: -.08em; }
.reward p .zi { width: 18px; height: 18px; vertical-align: -.25em; }
.boot .err .zi { color: var(--red); }
.pill .zi, .seg .zi { width: 14px; height: 14px; vertical-align: -.18em; }
.top-list img { width: 30px; height: 30px; }
.reveal .verdict .zi { width: .9em; height: .9em; vertical-align: -.1em; }
.clue b .zi, #gWait .zi { width: 16px; height: 16px; vertical-align: -.2em; }
.sus .voted .zi { width: 12px; height: 12px; }
.sus:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }

/* ================= só do Mentira ou Verdade ================= */
#app { background: radial-gradient(circle at 85% 0, rgb(255 79 163 / .24), transparent 42%), radial-gradient(circle at 0 100%, rgb(46 230 255 / .22), transparent 46%), linear-gradient(165deg, #3a1f8f 0%, #251258 55%, #150b33 100%); }
.hero-art { display: inline-block; width: clamp(150px, 34vw, 210px); animation: signIn .7s cubic-bezier(.2, 1.6, .4, 1) backwards, wobble 4s ease-in-out infinite; --rot: -3deg; filter: drop-shadow(0 0 28px rgb(255 79 163 / .45)); }
.hero-art .zd { width: 100%; height: auto; }
.hero-sign { display: grid; justify-items: center; gap: 4px; margin: 10px 0 0; }
.hero-sign span { display: inline-block; padding: 4px 18px 8px; color: var(--ink); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 7px 0 var(--ink); font: 800 clamp(38px, 10vw, 66px)/1 var(--disp); letter-spacing: -.01em;
  animation: signIn .7s cubic-bezier(.2, 1.6, .4, 1) backwards, wobble 4.4s ease-in-out infinite; }
.hero-sign .lie { --rot: -5deg; color: #fff; background: var(--pink); animation-delay: .05s, .3s; }
.hero-sign .truth { --rot: 4deg; background: var(--lime); animation-delay: .3s, 1.1s; }
.hero-sign small { font: 800 clamp(18px, 4.5vw, 24px)/1 var(--disp); color: var(--soft); letter-spacing: .1em; }
.phase-top { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; max-width: 900px; margin: 0 auto 10px; }
.phase-top > b { flex: 1; min-width: 0; font: 800 clamp(20px, 5vw, 28px)/1.1 var(--disp); }
.phase-top .round-tag { padding: 4px 10px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 11px/1.2 var(--ui); letter-spacing: .08em; white-space: nowrap; }
.phase-top .round-tag.dbl { color: #fff; background: var(--pink); }
.timer-pill { min-width: 52px; padding: 6px 10px; text-align: center; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); font: 800 22px/1 var(--disp); font-variant-numeric: tabular-nums; }
.timer-pill.danger { color: #fff; background: var(--red); animation: beat .5s infinite; }
.phase-bottom { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; max-width: 900px; margin: auto auto 0; padding-top: 10px; }
.clue-form { display: flex; gap: 8px; }
.clue-form input { font: 400 24px/1 var(--hand); }

/* cartão da pergunta */
.qcard { position: relative; flex: none; width: 100%; max-width: 900px; margin: 0 auto 12px; padding: 18px 20px 20px; color: var(--ink); background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.qcard .q-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.qcard .q-theme { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; background: var(--gold); border: 2px solid var(--ink); border-radius: 99px; font: 800 13px/1.3 var(--ui); }
.qcard .q-theme .zi { width: 22px; height: 22px; padding: 3px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.qcard .q-dbl { padding: 3px 10px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 99px; font: 800 12px/1.3 var(--ui); animation: beat 1s infinite; }
.qcard p { margin: 0; font: 800 clamp(21px, 4.6vw, 32px)/1.2 var(--disp); text-wrap: balance; }
.qcard .blank { display: inline-block; min-width: 3.2em; margin: 0 .1em; padding: 0 .25em; color: var(--violet); border-bottom: 4px dashed var(--violet); line-height: 1; vertical-align: baseline; }
.qcard .blank.filled { color: #fff; background: #16a34a; border: 3px solid var(--ink); border-radius: 12px; padding: .05em .35em .12em; animation: bump .5s cubic-bezier(.2, 1.8, .4, 1); }
.qcard .blank.lie { color: #fff; background: var(--pink); border: 3px solid var(--ink); border-radius: 12px; padding: .05em .35em .12em; }
.qcard.small { padding: 10px 14px 12px; border-width: 3px; box-shadow: 0 5px 0 var(--ink); }
.qcard.small p { font-size: clamp(17px, 3.6vw, 22px); }
.qcard.small .q-top { margin-bottom: 4px; }
.qcard::after { content: "?"; position: absolute; top: -18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--cyan); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink); font: 800 26px/1 var(--disp); transform: rotate(12deg); }
.qcard.small::after { display: none; }

/* escrever a mentira */
.lie-box { flex: none; width: 100%; max-width: 900px; margin: 0 auto 10px; }
.lie-sent { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--ink); background: var(--lime); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }
.lie-sent .zi { flex: none; width: 26px; height: 26px; }
.lie-sent div { flex: 1; min-width: 0; display: grid; }
.lie-sent small { font: 800 11px/1 var(--ui); letter-spacing: .1em; }
.lie-sent b { overflow: hidden; font: 400 26px/1.1 var(--hand); color: #1d3fa8; text-overflow: ellipsis; white-space: nowrap; }
.lie-tip { margin: 10px 2px 0; color: #e6dcff; font-size: 14px; text-align: center; }
.lie-tip b { color: var(--lime); }
.prog { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 12px; width: 100%; max-width: 900px; margin: 0 auto; padding: 6px 2px; }
.pg { position: relative; display: grid; justify-items: center; gap: 4px; width: 74px; text-align: center; transition: opacity .2s; }
.pg img { width: 54px; height: 54px; background: #fff; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink); }
.pg small { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pg:not(.done) { opacity: .55; }
.pg:not(.done) img { animation: think 1.6s ease-in-out infinite; }
@keyframes think { 50% { transform: rotate(-8deg) translateY(-3px); } }
.pg .ck { position: absolute; top: -4px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; transform: scale(0); transition: transform .3s cubic-bezier(.2, 1.8, .4, 1); }
.pg.done .ck { transform: scale(1); }
.pg .ck .zi { width: 14px; height: 14px; }

/* escolher a verdade */
.opts { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-content: start; gap: 12px; width: 100%; max-width: 900px; margin: 0 auto; padding: 10px 4px 10px; }
.opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 74px; padding: 12px 14px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); font: 400 clamp(24px, 5vw, 30px)/1.05 var(--hand); text-align: center; word-break: break-word;
  animation: optIn .45s cubic-bezier(.2, 1.6, .4, 1) backwards; transition: transform .12s, background .15s, box-shadow .12s; }
@keyframes optIn { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
.opt:not(:disabled):hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--ink); }
.opt:not(:disabled):active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.opt.mine { color: #8a7fb0; background: #eee9f8; border-style: dashed; box-shadow: 0 3px 0 var(--ink); }
.opt.mine::before { content: "SUA MENTIRA"; position: absolute; top: -11px; left: 12px; padding: 1px 8px; color: #fff; background: var(--violet); border: 2px solid var(--ink); border-radius: 99px; font: 800 10px/1.4 var(--ui); letter-spacing: .06em; }
.opt.pick { background: var(--cyan); transform: translateY(-2px) rotate(-1.5deg); }
.opt.pick::after { content: "SUA ESCOLHA"; position: absolute; top: -11px; right: 12px; padding: 1px 8px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; font: 800 10px/1.4 var(--ui); letter-spacing: .06em; }
.opt.boing { animation: boing .45s cubic-bezier(.2, 1.8, .4, 1); }
.opts.watching .opt { pointer-events: none; }

/* revelação */
#revelar { align-items: center; }
#revelar .qcard { max-width: 760px; }
.rv-stage { flex: 1; min-height: 0; display: grid; place-items: center; width: 100%; max-width: 760px; }
.rv { display: grid; justify-items: center; gap: 14px; width: 100%; text-align: center; }
.rv-card { position: relative; width: min(100%, 520px); padding: 22px 18px 26px; color: var(--ink); background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 9px 0 var(--ink); font: 400 clamp(32px, 8vw, 50px)/1.05 var(--hand); word-break: break-word; animation: optIn .5s cubic-bezier(.2, 1.6, .4, 1); }
.rv-card small { display: block; margin-bottom: 6px; font: 800 12px/1 var(--ui); letter-spacing: .14em; color: #6b5f8f; }
.rv.truth .rv-card { background: #F2FCCF; }
.rv.lie .rv-card { background: #FFE6F2; }
.stamp { position: absolute; left: 50%; bottom: -26px; padding: 6px 18px; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 var(--ink); font: 800 clamp(24px, 6vw, 34px)/1 var(--disp); white-space: nowrap; transform: translateX(-50%) rotate(-6deg);
  animation: stampIn .5s 1.3s cubic-bezier(.2, 1.6, .4, 1) backwards; }
@keyframes stampIn { from { transform: translateX(-50%) rotate(-25deg) scale(2.6); opacity: 0; } }
.stamp.lie { color: #fff; background: var(--pink); }
.stamp.truth { color: var(--ink); background: var(--lime); transform: translateX(-50%) rotate(4deg); }
.rv-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 64px; margin-top: 18px; }
.rv-pick span { display: grid; justify-items: center; gap: 2px; width: 62px; animation: dropIn .45s cubic-bezier(.2, 1.6, .4, 1) backwards; }
@keyframes dropIn { from { transform: translateY(-60px) scale(.4); opacity: 0; } }
.rv-pick img { width: 44px; height: 44px; background: #fff; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 3px 0 var(--ink); }
.rv-pick small { max-width: 100%; overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.rv-pick .none { width: auto; color: var(--soft); font-weight: 700; }
.rv-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 99px; box-shadow: 0 5px 0 var(--ink); font-weight: 800; animation: screenIn .4s 1.9s backwards; }
.rv-who img { width: 34px; height: 34px; background: #F4F0FF; border: 2px solid var(--ink); border-radius: 50%; }
.rv-who .plus { padding: 2px 10px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; }
.rv-dots { display: flex; justify-content: center; gap: 6px; flex: none; margin: 8px 0 0; }
.rv-dots i { width: 10px; height: 10px; background: rgb(255 255 255 / .2); border-radius: 50%; transition: background .2s, transform .2s; }
.rv-dots i.on { background: var(--lime); transform: scale(1.3); }
.rv-dots i.t { border-radius: 3px; }

/* resultado da rodada */
.result { flex: none; width: 100%; max-width: 860px; margin: 0 auto 10px; display: grid; gap: 10px; }
.result .qcard { margin: 0; }
.mvp-card .fun q { font: 400 22px/1 var(--hand); }
.srow .chips .ck-ok { font: 700 13px/1.3 var(--ui); background: var(--lime); }
.srow .chips .ck-no { font: 700 13px/1.3 var(--ui); background: #efeaf9; color: #6b5f8f; }
.srow .chips .ck-lie { background: #FFE6F2; }
.srow .chips .ck-lie i { color: var(--pink); }
.srow .chips .zi { width: 14px; height: 14px; vertical-align: -.15em; }

/* prêmios do final */
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.award { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); animation: pop .5s 2.2s cubic-bezier(.2, 1.6, .4, 1) backwards; }
.award.a1 { background: linear-gradient(110deg, #FFB3D6, #fff 80%); } .award.a2 { background: linear-gradient(110deg, #DDFB8E, #fff 80%); animation-delay: 2.4s; }
.award img { width: 52px; height: 52px; background: #fff; border: 3px solid var(--ink); border-radius: 50%; }
.award small { display: block; font: 800 11px/1.1 var(--ui); letter-spacing: .1em; color: #6b5f8f; }
.award b { display: block; font: 800 20px/1.1 var(--disp); }
.award span { font-size: 13px; font-weight: 700; }

@media (max-height: 520px) {
  .hero-art { width: 110px; } .hero-sign span { font-size: 32px; padding: 2px 12px 5px; border-radius: 14px; } .hero-sign small { font-size: 15px; }
  .qcard { padding: 10px 14px 12px; margin-bottom: 8px; } .qcard p { font-size: 19px; } .qcard::after { display: none; } .qcard .q-top { margin-bottom: 4px; }
  .qcard.small p { font-size: 16px; }
  .lie-tip { display: none; } .prog { gap: 8px; } .pg img { width: 40px; height: 40px; }
  .opt { min-height: 54px; padding: 8px 10px; font-size: 22px; } .opts { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .rv-card { padding: 12px 14px 20px; font-size: 30px; } .rv { gap: 8px; } .rv-pick { min-height: 48px; margin-top: 14px; } .rv-pick img { width: 34px; height: 34px; }
  .stamp { font-size: 22px; bottom: -20px; }
  #revelar .qcard { display: none; }
  .award { padding: 8px 12px; }
}
@media (max-width: 520px) {
  #mTitle { display: none; }
  .phase-top > b { font-size: 19px; }
  .qcard { padding: 14px 14px 16px; }
  .opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .opt { min-height: 66px; padding: 10px 8px; font-size: 22px; border-radius: 16px; }
  .opt.mine::before, .opt.pick::after { font-size: 9px; }
  .opt.pick::after { right: 6px; } .opt.mine::before { left: 6px; }
}
/* telas de escrever e escolher: o conteúdo fica no meio da tela, não grudado em cima */
#mentir .qcard { margin-top: auto; }
#mentir .prog { flex: 0 1 auto; }
#mentir .phase-bottom { margin-top: auto; }
.qcard, .lie-box, .prog, .opts { max-width: 820px; }
#escolher .qcard { margin-top: auto; }
#escolher .opts { flex: 0 1 auto; }
#escolher .phase-bottom { margin-top: auto; }
@media (min-width: 900px) and (min-height: 680px) {
  .opt { min-height: 104px; font-size: 34px; border-radius: 24px; }
  .opts { gap: 16px; padding-top: 14px; }
  #escolher .qcard.small, #revelar .qcard.small { padding: 16px 20px 18px; }
  #escolher .qcard.small p, #revelar .qcard.small p { font-size: 26px; }
}
.rv-card { padding-bottom: 40px; }
.rv-pick { margin-top: 30px; }
@media (min-width: 900px) and (min-height: 680px) { .rv-card { width: min(100%, 620px); padding: 28px 22px 48px; font-size: 58px; } .rv-pick img { width: 54px; height: 54px; } }
@media (max-height: 520px) { .rv-card { padding-bottom: 30px; } .rv-pick { margin-top: 24px; } }
@media (max-width: 520px) {
  .mvp-card { flex-wrap: wrap; row-gap: 4px; }
  .mvp-card .fun { flex-basis: 100%; margin-left: 58px; text-align: left; }
}
@media (max-height: 520px) { .result .mvp-card { display: none; } }

/* ---------- mascote em imagem (v1.77.1) ---------- */
.hero-art .mascot { display: block; width: 100%; height: auto; pointer-events: none; }
.hero-art { width: clamp(170px, 36vw, 240px); filter: drop-shadow(0 0 30px rgb(255 79 163 / .45)) drop-shadow(0 8px 0 rgb(0 0 0 / .25)); }
@media (max-height: 520px) { .hero-art { width: 120px; } }
