/* TTK Games — overlay "Votação" / cabo de guerra (port do LivePalco). Layout vertical 720×1280 escalado para a
 * fonte (recomendado 1080×1920). Fundo transparente por padrão (OBS); ?bg=1 (ou a demo) desenha o palco.
 * Animações só com transform/opacity (sem blur grande) para não pesar no OBS.
 * Fonte: Lilita One (SIL Open Font License 1.1), arquivo local em assets/vote/. */
@font-face {
  font-family: "TTKLilita";
  src: url("vote/lilita-one-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
:root {
  --a: #e53950; --a-l: #ef8592; --a-d: #8e2332; --a-dd: #2f0c19; --a-g: rgba(229,57,80,.55); --a-s: rgba(229,57,80,.22);
  --b: #2f8cf0; --b-l: #82b9f6; --b-d: #1d5795; --b-dd: #0f1a3a; --b-g: rgba(47,140,240,.55); --b-s: rgba(47,140,240,.22);
  --ink: #1b1530;
  --gold: #ffd23f;
  --f: "TTKLilita", "Arial Black", "Arial Rounded MT Bold", system-ui, sans-serif;
  --fb: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: transparent; color: #fff;
  font-family: var(--f); -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
.a { --c: var(--a); --cl: var(--a-l); --cd: var(--a-d); --cdd: var(--a-dd); --cg: var(--a-g); --cs: var(--a-s); }
.b { --c: var(--b); --cl: var(--b-l); --cd: var(--b-d); --cdd: var(--b-dd); --cg: var(--b-g); --cs: var(--b-s); }

/* Contorno "de desenho" nos textos (estilo UI de jogo mobile). */
.ol {
  --o: 3px;
  text-shadow:
    calc(-1 * var(--o)) calc(-1 * var(--o)) 0 var(--ink), var(--o) calc(-1 * var(--o)) 0 var(--ink),
    calc(-1 * var(--o)) var(--o) 0 var(--ink), var(--o) var(--o) 0 var(--ink),
    0 calc(-1 * var(--o)) 0 var(--ink), 0 var(--o) 0 var(--ink),
    calc(-1 * var(--o)) 0 0 var(--ink), var(--o) 0 0 var(--ink),
    0 calc(var(--o) + 3px) 0 rgba(0,0,0,.4);
}

.vt {
  position: relative; width: 720px; height: 1280px; transform-origin: top left; overflow: hidden;
  color: #fff; font-family: var(--f); user-select: none;
}
.vt-in { position: relative; width: 720px; height: 100%; box-sizing: border-box; padding: 22px 24px 0; }

/* ---------- Palco (só com fundo) ---------- */
.vt-stage { display: none; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vt.with-bg .vt-stage {
  display: block;
  background:
    radial-gradient(ellipse 60% 30% at 50% 66%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(ellipse 70% 45% at 0% 28%, var(--a-s), transparent 70%),
    radial-gradient(ellipse 70% 45% at 100% 28%, var(--b-s), transparent 70%),
    linear-gradient(180deg, #1d1650 0%, #140f3a 45%, #0d0a28 100%);
}
.vt.with-bg .vt-stage::before { /* treliça de luzes no topo */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: repeating-linear-gradient(90deg, #2d2566 0 18px, #3b3280 18px 36px); border-bottom: 3px solid #0a0820;
}
.vt.with-bg .vt-stage::after { /* plateia em silhueta atrás da arena */
  content: ""; position: absolute; left: 0; right: 0; top: 640px; height: 120px; opacity: .55;
  background:
    radial-gradient(circle at 18px 26px, #0a0822 15px, transparent 16px) 0 0 / 36px 60px repeat-x,
    radial-gradient(circle at 18px 34px, #0a0822 15px, transparent 16px) 18px 22px / 36px 60px repeat-x,
    linear-gradient(180deg, transparent 0 40px, #0a0822 40px);
}
.vt-spot {
  position: absolute; top: -40px; width: 360px; height: 1150px; opacity: .42; transform-origin: 50% 0;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, var(--c) 0%, rgba(0,0,0,0) 78%);
}
.vt-spot.a { left: -120px; animation: vt-spot-a 7s ease-in-out infinite alternate; }
.vt-spot.b { right: -120px; animation: vt-spot-b 8s ease-in-out infinite alternate; }
@keyframes vt-spot-a { from { transform: rotate(-34deg); } to { transform: rotate(-14deg); } }
@keyframes vt-spot-b { from { transform: rotate(34deg); } to { transform: rotate(14deg); } }
.vt-motes { position: absolute; inset: 0; }
.vt-motes i {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.75); opacity: 0;
  animation: vt-mote 12s linear infinite;
}
.vt-motes i.a { background: var(--a-l); }
.vt-motes i.b { background: var(--b-l); }
@keyframes vt-mote {
  0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .7; }
  85% { opacity: .5; } 100% { transform: translate(30px, -520px); opacity: 0; }
}
.vt-vignette {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 3;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 60%, rgba(255,30,60,.5) 100%);
}
.vt.urgent .vt-vignette { animation: vt-urg 1s ease-in-out infinite; }
@keyframes vt-urg { 50% { opacity: 1; } }

/* ---------- Topo ---------- */
.vt-in > * { position: relative; }
.vt-in > .vt-stage, .vt-in > .vt-vignette { position: absolute; }
.vt-roundpill, .vt-status {
  position: absolute; top: calc(30px + var(--topo, 0px)); z-index: 2;
  font-size: 19px; letter-spacing: 1px; padding: 6px 14px 5px; border-radius: 14px;
  background: rgba(13,10,35,.82); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}
.vt-roundpill { left: 20px; color: var(--gold); font-size: 17px; padding: 6px 12px 5px; }
.vt-status { right: 20px; font-size: 14px; letter-spacing: 1px; color: #c9c4ef; padding: 7px 12px 6px; }
.vt-in > .vt-roundpill, .vt-in > .vt-status { position: absolute; }
.vt-status.live { color: #fff; }
.vt-status.live::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff3d5a; margin-right: 7px; vertical-align: 1px; animation: vt-blink 1.2s infinite; }
.vt-status.done { color: var(--gold); }
@keyframes vt-blink { 50% { opacity: .25; } }
.vt-title {
  --o: 4px; text-align: center; font-size: 44px; line-height: 54px; height: 54px; margin: 0 auto;
  max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase;
  color: var(--gold); padding: 0 6px;
}

/* ---------- Herói: retratos + relógio ---------- */
.vt-hero { display: grid; grid-template-columns: 236px 1fr 236px; height: 342px; margin-top: 30px; }
.vt-side { display: flex; flex-direction: column; align-items: center; }
.vt-pwrap { position: relative; width: 214px; height: 244px; transition: transform .5s cubic-bezier(.2,1.3,.4,1), opacity .5s ease; z-index: 1; }
.vt-float { position: absolute; inset: 0; animation: vt-float 5s ease-in-out infinite; }
.vt-pwrap.b .vt-float { animation-delay: -2.5s; }
@keyframes vt-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
.vt-photo {
  position: absolute; left: 7px; top: 14px; width: 200px; height: 200px; box-sizing: border-box; border-radius: 50%;
  overflow: hidden; border: 10px solid var(--c);
  background: radial-gradient(circle at 50% 38%, var(--cl) 0%, var(--c) 48%, var(--cd) 100%);
  box-shadow: 0 0 0 4px var(--ink), inset 0 0 0 3px rgba(255,255,255,.55), 0 10px 0 4px rgba(0,0,0,.32);
}
.vt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vt-photo svg.bust { position: absolute; left: -2%; top: 6%; width: 104%; height: 104%; }
.vt-photo .gloss {
  position: absolute; left: 13%; top: 5%; width: 74%; height: 40%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); opacity: .55;
}
.vt-photo.noimg .gloss { opacity: .35; }
.vt-glow {
  position: absolute; left: -36px; top: -24px; width: 286px; height: 286px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, var(--cg) 0%, rgba(0,0,0,0) 68%); transition: opacity .4s ease;
}
.vt-num {
  --o: 3px; position: absolute; bottom: 44px; width: 66px; height: 66px; box-sizing: border-box; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 400; z-index: 2;
  background: radial-gradient(circle at 40% 30%, #fff3a8, var(--gold) 45%, #f39a12 100%);
  border: 4px solid var(--ink); box-shadow: inset 0 -5px 0 rgba(0,0,0,.18), 0 4px 0 rgba(0,0,0,.35);
}
.vt-num.a { left: -6px; } .vt-num.b { right: -6px; }
.vt-plate {
  --o: 3px; position: absolute; left: 50%; bottom: 0; z-index: 2; transform: translateX(-50%) rotate(-2deg);
  max-width: 224px; box-sizing: border-box; padding: 4px 18px 3px; border-radius: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase;
  font-size: 30px; line-height: 36px; letter-spacing: .5px;
  background: linear-gradient(180deg, var(--cl) 0%, var(--c) 40%, var(--cd) 100%);
  border: 4px solid var(--ink); box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 5px 0 rgba(0,0,0,.35);
}
.vt-plate.b { transform: translateX(-50%) rotate(2deg); }
.vt-crown {
  position: absolute; left: 50%; top: -34px; width: 86px; margin-left: -43px; z-index: 3;
  opacity: 0; transform: translateY(14px) scale(.3); transition: opacity .3s ease, transform .45s cubic-bezier(.2,1.6,.4,1);
}
.vt-crown svg { display: block; width: 86px; height: 60px; overflow: visible; transform-origin: 50% 100%; }
.vt-crown path, .vt-crown rect { fill: var(--gold); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.vt-crown .gem { fill: #ff4d6d; stroke: var(--ink); stroke-width: 2.5; }
.vt-crown .gem.g2 { fill: #4ee1ff; }
.vt-plus {
  position: absolute; top: 6px; z-index: 4; display: flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 4px 12px 3px 8px; border-radius: 18px; background: #fff; border: 4px solid var(--ink);
  box-shadow: 0 4px 0 rgba(0,0,0,.35); opacity: 0; transform: scale(.4);
}
.vt-plus.a { right: -16px; } .vt-plus.b { left: -16px; }
.vt-plus .vt-rose { font-size: 24px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.vt-plus b { --o: 2px; font-size: 28px; line-height: 30px; font-weight: 400; color: var(--c); text-shadow: none; }
.vt-plus small { display: none; }
.vt-plus.hit { animation: vt-plus .7s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes vt-plus { 0% { opacity: 0; transform: scale(.4) translateY(10px); } 25% { opacity: 1; transform: scale(1.12); }
  70% { opacity: 1; transform: scale(1) translateY(-4px); } 100% { opacity: 0; transform: scale(.95) translateY(-14px); } }

.vt-score { text-align: center; margin-top: 4px; transition: transform .15s; }
.vt-score > b { --o: 5px; display: block; font-size: 86px; line-height: 86px; font-weight: 400; color: #fff; min-width: 140px; }
.vt-score > small { --o: 2px; display: block; font-size: 20px; letter-spacing: 3px; color: var(--cl); margin-top: 2px; }
.vt-score.cp > small { display: none; }
.vt-score.bump > b { animation: vt-bump .38s cubic-bezier(.2,1.6,.4,1); }
@keyframes vt-bump { 40% { transform: scale(1.16); } }
.vt-score.glow > b { color: #fffbe0; }

.vt-center { display: flex; flex-direction: column; align-items: center; padding-top: 0; }
.vt-clock {
  text-align: center; min-width: 168px; padding: 6px 12px 8px; border-radius: 22px; box-sizing: border-box;
  background: linear-gradient(180deg, #2e2770, #15113a); border: 4px solid var(--ink);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.14), 0 6px 0 rgba(0,0,0,.35);
}
.vt-clock small { display: block; font-size: 16px; letter-spacing: 4px; color: #b9b2f0; }
.vt-clock b { display: block; font-size: 52px; line-height: 56px; font-weight: 400; color: #fff; letter-spacing: 1px; }
.vt-clock b.urgent { color: #ffe14d; animation: vt-pulse 1s infinite; }
.vt.urgent .vt-clock { background: linear-gradient(180deg, #c81e4a, #6e0f2a); }
@keyframes vt-pulse { 50% { transform: scale(1.12); } }
.vt-vs { position: relative; margin-top: 34px; width: 150px; height: 130px; display: flex; align-items: center; justify-content: center; }
.vt-vs::before {
  content: ""; position: absolute; inset: 0; animation: vt-vs-spin 9s linear infinite;
  background: radial-gradient(circle, #fff6 0, transparent 70%), conic-gradient(from 0deg, #ff7a1a, #ffd23f, #ff7a1a, #ffd23f, #ff7a1a);
  clip-path: polygon(50% 0, 61% 30%, 93% 18%, 72% 46%, 100% 62%, 66% 66%, 72% 100%, 50% 76%, 28% 100%, 34% 66%, 0 62%, 28% 46%, 7% 18%, 39% 30%);
}
@keyframes vt-vs-spin { to { transform: rotate(360deg); } }
.vt-vs span { --o: 5px; position: relative; font-size: 64px; color: #fff; transform: rotate(-8deg); letter-spacing: -1px; }

/* ---------- Barra 3D ---------- */
.vt-barwrap { height: 78px; margin-top: 2px; }
.vt-bar {
  position: absolute; left: 0; right: 0; top: 22px; height: 54px; display: flex; overflow: hidden; box-sizing: border-box;
  border-radius: 30px; border: 4px solid var(--ink); background: #241e52;
  box-shadow: 0 6px 0 rgba(0,0,0,.4), inset 0 -6px 0 rgba(0,0,0,.25);
}
.vt-fill { height: 100%; transition: width .45s cubic-bezier(.2,.9,.3,1.15); min-width: 0; }
.vt-fill.a { background: linear-gradient(180deg, var(--a-l) 0%, var(--a) 42%, var(--a-d) 100%); }
.vt-fill.b { background: linear-gradient(180deg, var(--b-l) 0%, var(--b) 42%, var(--b-d) 100%); box-shadow: -4px 0 0 #fff, -8px 0 0 var(--ink); }
.vt-gloss { position: absolute; left: 16px; right: 16px; top: 5px; height: 12px; border-radius: 8px; background: rgba(255,255,255,.4); pointer-events: none; }
.vt-pct { --o: 3px; position: absolute; top: 0; line-height: 46px; font-size: 36px; z-index: 2; }
.vt-pct.a { left: 20px; } .vt-pct.b { right: 20px; }
.vt-bar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-120%);
}
.vt-bar.shine::after { animation: vt-shine .7s ease; }
@keyframes vt-shine { to { transform: translateX(120%); } }
.vt-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.2) 50%, transparent 58%);
  animation: vt-idle-shine 4s linear infinite;
}
@keyframes vt-idle-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.vt-lead {
  --o: 3px; position: absolute; left: 50%; top: 0; z-index: 3; transform: translateX(-50%); white-space: nowrap;
  font-size: 22px; line-height: 26px; padding: 4px 16px 3px; border-radius: 14px; letter-spacing: .5px;
  background: linear-gradient(180deg, #4b4390, #2a2463); border: 4px solid var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.vt-lead.a, .vt-lead.b { background: linear-gradient(180deg, var(--cl), var(--c) 45%, var(--cd)); }

.vt-meta { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; height: 28px; font-size: 19px; letter-spacing: 1px; }
.vt-roundtotal b { font-weight: 400; font-size: 24px; color: var(--gold); margin-right: 4px; }
.vt-wins { --o: 2px; font-size: 18px; padding: 2px 12px; border-radius: 12px; background: rgba(13,10,35,.7); }
.vt-wins .k { opacity: .8; margin: 0 6px; color: #c9c4ef; }
.vt-wins b.a { color: var(--a-l); font-weight: 400; } .vt-wins b.b { color: var(--b-l); font-weight: 400; }
.vt-wins .x { margin: 0 6px; opacity: .8; }

.vt-ticker {
  margin: 8px auto 0; max-width: 660px; height: 40px; box-sizing: border-box; padding: 0 18px; border-radius: 20px;
  text-align: center; font: 700 19px/34px var(--fb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(13,10,35,.8); border: 3px solid var(--c, #4b4390); text-shadow: 0 2px 3px rgba(0,0,0,.5);
}
.vt-ticker b { color: var(--gold); font-weight: 900; }
.vt-ticker.in { animation: vt-ticker-in .4s cubic-bezier(.2,1.3,.4,1); }
@keyframes vt-ticker-in { from { transform: translateY(-8px) scale(.96); opacity: .3; } }

/* ---------- Arena do cabo de guerra ---------- */
.vt-arena { height: 250px; margin: 8px -24px 0; overflow: hidden; }
.vt-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.vt-floor .half { position: absolute; top: 0; bottom: 0; width: 50%; }
.vt-floor .half.a { left: 0; background: linear-gradient(180deg, var(--a-d) 0%, var(--a-dd) 100%); }
.vt-floor .half.b { right: 0; background: linear-gradient(180deg, var(--b-d) 0%, var(--b-dd) 100%); }
.vt-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: rgba(255,255,255,.35); z-index: 1; }
.vt-floor::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: rgba(0,0,0,.35); z-index: 1; }
.vt-floor .mid { position: absolute; left: 357px; top: 0; bottom: 0; width: 6px; background: #fff; z-index: 2; box-shadow: 0 0 0 2px var(--ink); }
.vt-floor .goal { position: absolute; top: 0; bottom: 0; width: 0; border-left: 5px dashed var(--c); opacity: .9; z-index: 2; }
.vt-floor .goal.a { left: 228px; } .vt-floor .goal.b { left: 487px; }
.vt-tug { position: absolute; left: 0; top: 0; width: 720px; height: 250px; transition: transform .7s cubic-bezier(.3,1.25,.5,1); }
.vt-tug-in { position: absolute; inset: 0; animation: vt-sway 1.3s ease-in-out infinite alternate; }
@keyframes vt-sway { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
.vt-tug-in.jolt { animation: vt-jolt .9s ease; }
@keyframes vt-jolt {
  10% { transform: translate(-16px, -4px) rotate(-1.5deg); } 22% { transform: translate(14px, 3px) rotate(1.2deg); }
  36% { transform: translate(-10px, -2px) rotate(-.8deg); } 52% { transform: translate(8px, 1px); } 70% { transform: translate(-4px, 0); }
}
.vt-rope {
  position: absolute; left: -160px; width: 1040px; top: 154px; height: 17px; box-sizing: border-box; border-radius: 9px;
  border: 3px solid var(--ink);
  background: repeating-linear-gradient(115deg, #f0c27e 0 7px, #c4843d 7px 13px);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 5px 0 rgba(0,0,0,.25);
}
.vt-knot { position: absolute; left: 332px; top: 147px; width: 56px; height: 84px; z-index: 3; }
.vt-knot svg { display: block; width: 56px; height: 84px; transform-origin: 50% 18%; animation: vt-flag 1.4s ease-in-out infinite alternate; }
@keyframes vt-flag { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.vt-knot .pen { fill: var(--gold); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.vt-knot .pen-s { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.vt-knot .kn { fill: #fff; stroke: var(--ink); stroke-width: 3.5; }
.vt-team { position: absolute; inset: 0; }
.vt-pl { position: absolute; top: 84px; width: 110px; height: 150px; }
.vt-pl::after { /* sombra no chão */
  content: ""; position: absolute; left: 6px; right: 6px; bottom: -6px; height: 14px; border-radius: 50%; background: rgba(0,0,0,.35); z-index: -1;
}
.vt-pl-in { position: absolute; inset: 0; transform-origin: 30% 97%; animation: vt-lean-a 1.1s ease-in-out infinite alternate; }
.vt-team.b .vt-pl-in { transform-origin: 70% 97%; animation-name: vt-lean-b; }
.vt-pl.p1 .vt-pl-in { animation-delay: -.35s; } .vt-pl.p0 .vt-pl-in { animation-delay: -.7s; }
.vt-pl svg { display: block; width: 110px; height: 150px; overflow: visible; }
@keyframes vt-lean-a { from { transform: rotate(-1deg); } to { transform: rotate(-7deg) translateX(-3px); } }
@keyframes vt-lean-b { from { transform: rotate(1deg); } to { transform: rotate(7deg) translateX(3px); } }
/* Quem está atrás é arrastado (inclina para frente); quem lidera puxa com força. */
.vt.lead-b .vt-team.a .vt-pl-in { animation-name: vt-drag-a; animation-duration: .7s; }
.vt.lead-a .vt-team.b .vt-pl-in { animation-name: vt-drag-b; animation-duration: .7s; }
@keyframes vt-drag-a { from { transform: rotate(3deg); } to { transform: rotate(7deg) translateX(2px); } }
@keyframes vt-drag-b { from { transform: rotate(-3deg); } to { transform: rotate(-7deg) translateX(-2px); } }
.vt .vt-team.a.heave .vt-pl-in { animation: vt-heave-a .5s ease-out; }
.vt .vt-team.b.heave .vt-pl-in { animation: vt-heave-b .5s ease-out; }
.vt .vt-team.a.heave.power .vt-pl-in { animation: vt-power-a .8s ease-out; }
.vt .vt-team.b.heave.power .vt-pl-in { animation: vt-power-b .8s ease-out; }
.vt-team.heave .vt-pl.p1 .vt-pl-in { animation-delay: .05s; } .vt-team.heave .vt-pl.p0 .vt-pl-in { animation-delay: .1s; }
@keyframes vt-heave-a { 35% { transform: rotate(-16deg) translateX(-10px); } }
@keyframes vt-heave-b { 35% { transform: rotate(16deg) translateX(10px); } }
@keyframes vt-power-a { 25% { transform: rotate(-22deg) translateX(-16px); } 55% { transform: rotate(-12deg) translateX(-8px); } 75% { transform: rotate(-18deg) translateX(-12px); } }
@keyframes vt-power-b { 25% { transform: rotate(22deg) translateX(16px); } 55% { transform: rotate(12deg) translateX(8px); } 75% { transform: rotate(18deg) translateX(12px); } }

/* SVG dos personagens. */
.pl-svg .leg-o { fill: none; stroke: var(--ink); stroke-width: 17; stroke-linecap: round; stroke-linejoin: round; }
.pl-svg .leg { fill: none; stroke: #343a63; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.pl-svg .shoe { fill: #fff; stroke: var(--ink); stroke-width: 3.5; }
.pl-svg .arm-o { fill: none; stroke: var(--ink); stroke-width: 15; stroke-linecap: round; }
.pl-svg .arm { fill: none; stroke: var(--cd); stroke-width: 9; stroke-linecap: round; }
.pl-svg .torso { fill: var(--c); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.pl-svg .hand { stroke: var(--ink); stroke-width: 3; }
.pl-svg .ink { fill: var(--ink); }
.pl-svg .ring { fill: none; stroke: #fff; stroke-width: 3; }
.pl-svg .tnum.s { font-size: 21px; stroke-width: 5; }
.bust .shirt, .pl-svg .shirt { fill: var(--c); stroke: var(--ink); stroke-width: 4; }
.bust .shirt-sh { fill: var(--cd); opacity: .55; }
.bust .collar { fill: #fff; stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.bust .neck { fill: #e2a77f; stroke: var(--ink); stroke-width: 3.5; }
.bust .skin { fill: #f6c69d; stroke: var(--ink); stroke-width: 4; }
.pl-svg .skin { stroke: var(--ink); stroke-width: 3.5; }
.bust .hair, .pl-svg .hair { stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.bust .ew, .pl-svg .ew { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.pl-svg .ew { stroke-width: 2.2; }
.bust .pu, .pl-svg .pu { fill: var(--ink); }
.bust .hl { fill: #fff; }
.bust .cheek { fill: #ff6f86; opacity: .45; }
.bust .brow, .pl-svg .brow { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.pl-svg .brow { stroke-width: 3; }
.bust .mouth, .pl-svg .mouth { fill: #7a1830; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.pl-svg .mouth { stroke-width: 2.5; }
.bust .tongue { fill: #ff7a8e; }
.bust .mouth-w, .pl-svg .mouth-w { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.pl-svg .mouth-w { stroke-width: 2.8; }
.pl-svg .teeth { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.pl-svg .tline { stroke: var(--ink); stroke-width: 1.6; }
.bust .sweat, .pl-svg .sweat { fill: #8fdcff; stroke: var(--ink); stroke-width: 2.5; animation: vt-sweat 1.4s ease-in infinite; }
@keyframes vt-sweat { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.tnum {
  font-family: var(--f); font-size: 34px; fill: #fff; stroke: var(--ink); stroke-width: 7; paint-order: stroke;
  text-anchor: middle; stroke-linejoin: round;
}
.bust .eyes { transform-origin: 100px 92px; animation: vt-blinkeye 4.6s infinite; }
.vt-photo.b .bust .eyes { animation-delay: -2.2s; }
@keyframes vt-blinkeye { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
/* Humor: líder sorri, quem está atrás fica preocupado (só mascotes). */
.bust .mood-worry, .pl-svg .mood-happy, .pl-svg .mood-worry { display: none; }
.vt.lead-a .vt-photo.b .mood-happy, .vt.lead-b .vt-photo.a .mood-happy { display: none; }
.vt.lead-a .vt-photo.b .mood-worry, .vt.lead-b .vt-photo.a .mood-worry { display: inline; }
.vt.lead-a .vt-team.a .mood-effort, .vt.lead-b .vt-team.b .mood-effort,
.vt.lead-a .vt-team.b .mood-effort, .vt.lead-b .vt-team.a .mood-effort { display: none; }
.vt.lead-a .vt-team.a .mood-happy, .vt.lead-b .vt-team.b .mood-happy { display: inline; }
.vt.lead-a .vt-team.b .mood-worry, .vt.lead-b .vt-team.a .mood-worry { display: inline; }

/* Líder: coroa + brilho + leve aumento. Atrás: um pouco menor. */
.vt.lead-a .vt-pwrap.a, .vt.lead-b .vt-pwrap.b { transform: scale(1.07); z-index: 2; }
.vt.lead-a .vt-pwrap.a .vt-crown, .vt.lead-b .vt-pwrap.b .vt-crown { opacity: 1; transform: none; }
.vt.lead-a .vt-pwrap.a .vt-crown svg, .vt.lead-b .vt-pwrap.b .vt-crown svg { animation: vt-crown 2.4s ease-in-out infinite; }
@keyframes vt-crown { 50% { transform: rotate(6deg) translateY(-4px); } }
.vt.lead-a .vt-pwrap.a .vt-glow, .vt.lead-b .vt-pwrap.b .vt-glow { opacity: 1; animation: vt-glowp 1.8s ease-in-out infinite; }
@keyframes vt-glowp { 50% { transform: scale(1.1); opacity: .7; } }
.vt.lead-a .vt-pwrap.b, .vt.lead-b .vt-pwrap.a { transform: scale(.9); opacity: .9; }
.vt-pwrap.takeover .vt-photo { animation: vt-takeover .9s cubic-bezier(.2,1.4,.4,1); }
@keyframes vt-takeover { 0% { transform: scale(.8) rotate(-6deg); } 40% { transform: scale(1.18) rotate(4deg); } 70% { transform: scale(.98) rotate(-1deg); } }
.vt-photo.hit { animation: vt-photo-hit .5s cubic-bezier(.2,1.5,.4,1); }
.vt-photo.hit.big { animation: vt-photo-hit-big .6s ease; }
@keyframes vt-photo-hit { 30% { transform: scale(1.08) rotate(-2deg); } 60% { transform: scale(.97) rotate(1deg); } }
@keyframes vt-photo-hit-big {
  10% { transform: scale(1.12) rotate(-3deg); } 25% { transform: scale(1.1) rotate(3deg); }
  40% { transform: scale(1.08) rotate(-2deg); } 55% { transform: scale(1.05) rotate(1.5deg); } 75% { transform: scale(.98); }
}
.vt-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.7), transparent 70%);
}
.vt-photo.hit::after { animation: vt-flash .65s ease-out; }
@keyframes vt-flash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* Balão do votante: flutua no alto da arena. */
.vt-callout {
  position: absolute; left: 50%; top: 6px; z-index: 6; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; max-width: 640px; white-space: nowrap;
  padding: 6px 18px 6px 6px; border-radius: 40px; font: 800 22px/1 var(--fb);
  background: linear-gradient(180deg, var(--cl), var(--c) 45%, var(--cd)); border: 4px solid var(--ink);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), 0 6px 0 rgba(0,0,0,.35); text-shadow: 0 2px 2px rgba(0,0,0,.45);
  animation: vt-callout-in .35s cubic-bezier(.2,1.4,.4,1);
}
.vt-callout .lp-avatar { width: 44px; height: 44px; font-size: 22px; border: 3px solid #fff; }
.vt-callout .nm { max-width: 250px; overflow: hidden; text-overflow: ellipsis; font-weight: 900; }
.vt-callout .pts { font-family: var(--f); font-size: 30px; color: #fff59d; font-weight: 400; }
.vt-callout.out { animation: vt-callout-out .3s ease forwards; }
@keyframes vt-callout-in { from { transform: translateX(-50%) scale(.5) translateY(10px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
@keyframes vt-callout-out { to { transform: translateX(-50%) scale(.8); opacity: 0; } }

/* ---------- Últimos votantes ---------- */
.vt-feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; height: 100px; }
.vt-feed { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vt-feed.b { align-items: flex-end; }
.vt-feed .it {
  display: flex; align-items: center; gap: 8px; height: 30px; max-width: 100%; box-sizing: border-box; padding: 0 12px 0 3px;
  border-radius: 16px; background: rgba(13,10,35,.82); border: 2px solid var(--c);
  font: 800 17px/1 var(--fb); white-space: nowrap; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.vt-feed .it.new { animation: vt-in .3s ease;
}
.vt-feed.b .it { flex-direction: row-reverse; padding: 0 3px 0 12px; }
.vt-feed .it .lp-avatar { width: 22px; height: 22px; font-size: 12px; }
.vt-feed .it .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vt-feed .it .pts { font-family: var(--f); font-weight: 400; font-size: 19px; color: var(--cl); }
@keyframes vt-in { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Urna eletrônica (genérica, sem marcas oficiais) ---------- */
.vt-urns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.vt-urn {
  position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 18px 14px 14px;
  border-radius: 20px; border: 4px solid var(--ink); background: linear-gradient(180deg, #f7f8fa, #cdd2da);
  box-shadow: inset 0 9px 0 var(--c), inset 0 -6px 0 rgba(0,0,0,.12), 0 8px 0 #7d8494, 0 8px 0 4px var(--ink);
  transition: transform .12s ease; text-shadow: none;
}
.vt-urn.press { transform: translateY(4px) scale(.985); }
.vt-screen {
  position: relative; background: linear-gradient(180deg, #e0f0cf, #c3dcae); border: 4px solid #5d6a55; border-radius: 10px;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.25); color: #1b2a17;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px; min-height: 152px; box-sizing: border-box;
  transition: background .2s;
}
.vt-screen small { font: 800 11px/1.2 var(--fb); letter-spacing: 1px; }
.vt-screen small.nm { font-size: 15px; max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.vt-screen b { font: 900 66px/1.1 "Courier New", ui-monospace, monospace; letter-spacing: 2px; min-height: 72px; }
.vt-screen b.fim { font-size: 52px; letter-spacing: 3px; color: #0f6a1e; }
.vt-urn.ok .vt-screen { background: linear-gradient(180deg, #f2ffe6, #d7f5bf); }
.vt-keys { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 25px; gap: 5px; align-content: center; }
.vt-keys i {
  font-style: normal; background: #26292f; color: #fff; border-radius: 6px; text-align: center;
  font: 800 17px/25px var(--fb); box-shadow: 0 3px 0 #000;
}
.vt-keys i:empty { background: transparent; box-shadow: none; }
.vt-keys i.w, .vt-keys i.o, .vt-keys i.g { font-size: 8.5px; line-height: 30px; height: 30px; color: #111; letter-spacing: -.2px; }
.vt-keys i.w { background: #fafafa; box-shadow: 0 3px 0 #9aa0aa; } .vt-keys i.o { background: #f39c32; box-shadow: 0 3px 0 #a35b0c; }
.vt-keys i.g { background: #3cba54; box-shadow: 0 3px 0 #1e6e2d; }
.vt-keys i.on { background: #fff !important; color: #111; box-shadow: 0 0 0 3px var(--gold), 0 0 14px #fff; transform: translateY(2px); }
.vt-hand {
  position: absolute; z-index: 3; pointer-events: none; left: 60px; top: 120px;
  font-size: 54px; line-height: 1; opacity: 0; transform: translate(34px, 70px) rotate(14deg);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  transition: left .24s cubic-bezier(.45,.05,.3,1), top .24s cubic-bezier(.45,.05,.3,1), transform .32s cubic-bezier(.3,.9,.4,1), opacity .25s ease;
}
.vt-hand.show { opacity: 1; transform: none; }
.vt-hand.tap { animation: vt-hand-tap .16s ease-out; }
@keyframes vt-hand-tap { 45% { transform: translateY(6px) scale(.9); } }

.vt-how { --o: 3px; text-align: center; font-size: 30px; line-height: 36px; margin-top: 12px; letter-spacing: .5px; }
.vt-how b {
  display: inline-block; font-weight: 400; padding: 0 12px; margin: 0 4px; border-radius: 12px; border: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--cl), var(--c) 45%, var(--cd)); line-height: 36px;
}
.vt-note { width: fit-content; margin: 8px auto 0; padding: 3px 12px; border-radius: 10px; background: rgba(13,10,35,.55); text-align: center; font: 700 15px/1.2 var(--fb); color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.vt-cprog { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; padding: 3px 10px; border-radius: 12px; background: rgba(13,10,35,.8); font: 800 15px/1 var(--fb); }
.vt-cprog b { font-size: 18px; min-width: 40px; }
.vt-cprog i { display: block; width: 100px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.2); overflow: hidden; border: 2px solid var(--ink); }
.vt-cprog em { display: block; height: 100%; width: 0; background: var(--c); transition: width .25s ease; }

.vt-in.shake { animation: vt-shake .45s ease; }
@keyframes vt-shake { 20% { transform: translate(-7px, 2px); } 40% { transform: translate(7px, -2px); } 60% { transform: translate(-4px, 1px); } 80% { transform: translate(3px, 0); } }

/* ---------- Efeitos ---------- */
.vt-fx { position: fixed; left: 0; top: 0; width: 720px; height: 1280px; transform-origin: top left; pointer-events: none; z-index: 5; }
.vt-particle {
  position: absolute; font-size: 40px; line-height: 1; will-change: transform, opacity;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  transition: transform .9s cubic-bezier(.3,.1,.2,1), opacity .9s ease-in;
}
.vt-pop {
  position: absolute; font-family: var(--f); font-size: 70px; color: #fff; white-space: nowrap; --o: 4px;
  animation: vt-pop-up 1.1s ease-out forwards;
}
.vt-pop.ol { color: var(--c); }
.vt-pop::first-letter { color: #fff; }
@keyframes vt-pop-up {
  0% { transform: translate(-50%, 10px) scale(.4); opacity: 0; }
  20% { transform: translate(-50%, -10px) scale(1.25); opacity: 1; }
  100% { transform: translate(-50%, -110px) scale(1); opacity: 0; }
}
.vt-dust {
  position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: rgba(236,220,196,.55); animation: vt-dust .8s ease-out forwards;
}
@keyframes vt-dust { from { transform: scale(.4); opacity: .95; } to { transform: translate(var(--dx), -20px) scale(1.7); opacity: 0; } }
.vt-thanks {
  position: absolute; top: 360px; font: 800 22px/1 var(--fb); color: #fff; opacity: 0; white-space: nowrap; z-index: 1;
  padding: 6px 14px; border-radius: 16px; background: rgba(13,10,35,.7); text-shadow: 0 2px 4px rgba(0,0,0,.6);
  animation: vt-thanks 2.6s ease-out forwards; pointer-events: none;
}
@keyframes vt-thanks { 10% { opacity: .95; } 80% { opacity: .75; } 100% { opacity: 0; transform: translateY(-120px); } }

/* Faixa de rodada / VIRADA. */
.vt-virada {
  position: fixed; left: 0; top: 0; width: 720px; height: 1280px; transform-origin: top left; z-index: 6;
  display: flex; align-items: flex-start; justify-content: center; pointer-events: none; overflow: hidden;
  padding-top: 330px; box-sizing: border-box; animation: vt-virada 2.2s ease forwards;
}
.vt-virada .band {
  width: 860px; flex: none; text-align: center; padding: 14px 0 20px; transform: rotate(-6deg);
  background: linear-gradient(180deg, var(--c) 0%, var(--cd) 100%);
  border-top: 8px solid #fff; border-bottom: 8px solid #fff; box-shadow: 0 0 0 5px var(--ink), 0 14px 0 5px rgba(0,0,0,.3);
  animation: vt-band .5s cubic-bezier(.2,1.3,.4,1);
}
.vt-virada .t { --o: 6px; font-size: 118px; line-height: 120px; color: #fff; transform: skewX(-8deg); }
.vt-virada small { --o: 3px; display: block; font-size: 36px; margin-top: 4px; color: #fff59d; }
@keyframes vt-band { from { transform: rotate(-6deg) translateX(-110%); } to { transform: rotate(-6deg); } }
@keyframes vt-virada { 0% { opacity: 0; } 8% { opacity: 1; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.06); } }

/* ---------- Vencedor da rodada ---------- */
.vt-winner {
  position: fixed; left: 0; top: 0; width: 720px; height: 1280px; transform-origin: top left; z-index: 7; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: var(--f);
  background: radial-gradient(ellipse at 50% 42%, rgba(18,12,52,.78) 0%, rgba(10,6,30,.86) 70%);
  animation: vt-fade .4s ease;
}
@keyframes vt-fade { from { opacity: 0; } }
.vt-rays {
  position: absolute; left: -240px; top: -40px; width: 1200px; height: 1200px; border-radius: 50%; opacity: .32;
  background: repeating-conic-gradient(var(--c, #ffd23f) 0deg 9deg, transparent 9deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: vt-vs-spin 30s linear infinite;
}
.vt-wcard { position: relative; display: flex; flex-direction: column; align-items: center; animation: vt-pop .6s cubic-bezier(.2,1.3,.4,1); }
@keyframes vt-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.vt-wround { --o: 3px; font-size: 28px; letter-spacing: 3px; color: #c9c4ef; padding: 4px 18px; border-radius: 16px; background: rgba(13,10,35,.8); border: 3px solid var(--ink); }
.vt-whero { position: relative; width: 300px; height: 290px; margin-top: 34px; }
.vt-trophy { position: absolute; left: 10px; top: 6px; width: 280px; height: 280px; overflow: visible; animation: vt-trophy 2.6s ease-in-out infinite; }
@keyframes vt-trophy { 50% { transform: translateY(-8px) rotate(1.5deg); } }
.vt-trophy .cup, .vt-trophy .h, .vt-trophy .base, .vt-trophy .stem { fill: var(--gold); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.vt-trophy .h { fill: #f4b521; }
.vt-trophy .base { fill: #c87f0a; } .vt-trophy .stem { fill: #e09a15; }
.vt-trophy .cup-l { fill: rgba(255,255,255,.55); }
.vt-trophy .plaque { fill: #ffe9a3; stroke: var(--ink); stroke-width: 3; }
.vt-trophy .star { fill: #fff; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.vt-wport { position: absolute; left: 75px; top: 34px; width: 150px; height: 150px; z-index: 2; }
.vt-wport .vt-photo { left: 0; top: 0; width: 150px; height: 150px; border-width: 8px; }
.vt-wport .vt-crown { opacity: 1; transform: none; top: -50px; }
.vt-wport .vt-crown svg { animation: vt-crown 2.4s ease-in-out infinite; }
.vt-whero.win .vt-trophy { display: block; }
.vt-whero.draw { display: flex; align-items: center; justify-content: center; gap: 10px; width: 520px; height: 220px; }
.vt-whero.draw .vt-wport { position: relative; left: auto; top: auto; }
.vt-whand { font-size: 70px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.vt-wname {
  --o: 5px; font-size: 66px; line-height: 72px; margin-top: 14px; max-width: 660px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-transform: uppercase; color: #fff;
}
.vt-winner.a .vt-wname { color: var(--a-l); } .vt-winner.b .vt-wname { color: var(--b-l); }
.vt-wtitle { --o: 6px; font-size: 124px; line-height: 124px; color: var(--gold); transform: rotate(-4deg); animation: vt-wt 1.2s ease-in-out infinite; }
@keyframes vt-wt { 50% { transform: rotate(-4deg) scale(1.06); } }
.vt.ended .vt-note { visibility: hidden; }
.vt-wnote { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0; white-space: nowrap; }
.vt-wsub { --o: 3px; font-size: 30px; margin-top: 18px; }
.vt-wscore { display: flex; align-items: center; gap: 20px; margin-top: 18px; font-size: 60px; line-height: 64px; }
.vt-wscore b { --o: 4px; font-weight: 400; padding: 0 22px; border-radius: 18px; border: 4px solid var(--ink); background: linear-gradient(180deg, var(--cl), var(--c) 45%, var(--cd)); }
.vt-wscore span { --o: 3px; font-size: 44px; opacity: .9; }
.vt-mvp {
  margin-top: 26px; padding: 12px 26px 14px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, #2e2770, #15113a); border: 4px solid var(--gold); box-shadow: 0 0 0 4px var(--ink), 0 8px 0 4px rgba(0,0,0,.35);
}
.vt-mvp .k { font-size: 22px; letter-spacing: 2px; color: var(--gold); }
.vt-mvp .row { display: flex; align-items: center; gap: 12px; margin-top: 8px; font: 900 30px/1 var(--fb); white-space: nowrap; }
.vt-mvp .row .lp-avatar { width: 54px; height: 54px; font-size: 26px; border: 3px solid #fff; }
.vt-mvp .row .nm { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.vt-mvp .row b { font-family: var(--f); font-weight: 400; font-size: 28px; color: var(--gold); }
.vt-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.vt-confetti i { position: absolute; top: -30px; width: 12px; height: 20px; border-radius: 3px; animation: vt-conf 3.4s linear forwards; opacity: .95; }
.vt-confetti i.r { width: 14px; height: 14px; border-radius: 50%; }
@keyframes vt-conf { from { transform: translate(0, -40px) rotate(0); } to { transform: translate(var(--dx), 1380px) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  .vt-float, .vt-crown svg, .vt-bar::before, .vt-spot, .vt-motes i, .vt-pl-in, .vt-tug-in, .vt-knot svg, .vt-rays, .vt-vs::before { animation: none !important; }
}

/* ---------- TTK Games: compartilhado ---------- */
.lp-avatar {
  width: 1.9em; height: 1.9em; border-radius: 50%; object-fit: cover; flex: none;
  background: linear-gradient(135deg, #ff3d7f, #29d3ff);
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 .9em/1 var(--fb); color: #fff; overflow: hidden; text-shadow: none;
}
/* Selo "simulado" (eventos de teste do painel nunca parecem reais). */
.ttk-sim {
  display: inline-block; font: 900 11px/1.2 var(--fb); letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 6px; background: #ffb020; color: #1a1200; text-shadow: none; vertical-align: middle;
  margin-left: 6px; flex: none;
}
.vt-callout .ttk-sim { font-size: 12px; }
.vt-feed .it .ttk-sim { font-size: 9px; padding: 1px 5px; margin: 0; }
.vt-thanks .ttk-sim { font-size: 10px; }
/* Pílula de status da conexão: só aparece quando não está conectado. */
.ttk-pill {
  position: fixed; left: 10px; bottom: 10px; z-index: 50; pointer-events: none;
  font: 700 12px/1.3 var(--fb); padding: 3px 10px; border-radius: 99px;
  background: rgba(0,0,0,.55); color: rgba(255,255,255,.85); text-shadow: none; letter-spacing: .02em;
}
.ttk-pill::before { content: "● "; color: #ffb020; }
.ttk-pill.err::before { color: #ff5a5a; }
/* Sem token na URL. */
.ttk-empty { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 60; }
.ttk-empty div {
  max-width: 460px; text-align: center; padding: 22px 26px; border-radius: 16px;
  background: rgba(14,16,28,.88); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.4);
  font: 700 18px/1.4 var(--fb); color: #fff;
}
.ttk-empty b { display: block; font-size: 22px; margin-bottom: 6px; }
.ttk-empty small { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; opacity: .7; }

/* ======================================================================================================
 * Visual fliperama 16 bits (v1.5): fonte pixel "Press Start 2P", molduras retas com contorno em degraus,
 * barra de vida segmentada, retratos 64×64 (×3) e lutadores pixel no canvas da arena.
 * ====================================================================================================== */
:root { --f: var(--px); }
html, body { -webkit-font-smoothing: none; }
.vt-roundpill, .vt-status { border-radius: 0; font-size: 11px; padding: 8px 10px 7px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 4px 0 rgba(0,0,0,.35); }
.vt-roundpill { font-size: 12px; }
.vt-status.live::before { border-radius: 0; width: 8px; height: 8px; animation: vt-blink 1s steps(2) infinite; }
.vt-title { font-size: 26px; line-height: 54px; max-width: 380px; }
.vt-photo {
  left: 5px; top: 10px; width: 204px; height: 204px; border-radius: 0; border: 6px solid var(--c); background: var(--cd);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 8px #fff, 0 0 0 12px var(--ink), 0 16px 0 8px rgba(0,0,0,.32);
}
.vt-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vt-photo .gloss, .vt-photo svg.bust { display: none; }
.vt-photo::after { border-radius: 0; background: #fff; }
.vt-photo.hit { animation: vt-photo-hitpx .3s steps(3); }
.vt-photo.hit.big { animation: vt-photo-hitpx .45s steps(5); }
@keyframes vt-photo-hitpx { 33% { transform: translate(-6px, 2px); } 66% { transform: translate(5px, -2px); } }
.vt-glow { border-radius: 0; }
.vt-crown { top: -52px; width: 91px; margin-left: -45px; }
.vt-crown canvas.pxcrown { display: block; width: 91px; height: 56px; transform-origin: 50% 100%; }
.vt.lead-a .vt-pwrap.a .vt-crown canvas, .vt.lead-b .vt-pwrap.b .vt-crown canvas, .vt-wport .vt-crown canvas { animation: vt-crownpx .6s steps(2) infinite; }
@keyframes vt-crownpx { 50% { transform: translateY(-5px); } }
.vt-num { border-radius: 0; width: 60px; height: 60px; font-size: 20px; bottom: 50px; background: #ffd23f; box-shadow: inset -4px -4px 0 #e08a00, inset 4px 4px 0 #fff3a0, 0 5px 0 rgba(0,0,0,.35); }
.vt-plate { border-radius: 0; font-size: 15px; line-height: 22px; padding: 8px 14px 6px; transform: translateX(-50%); background: var(--c); box-shadow: inset 0 4px 0 var(--cl), inset 0 -4px 0 var(--cd), 0 5px 0 rgba(0,0,0,.35); }
.vt-plate.b { transform: translateX(-50%); }
.vt-plus { border-radius: 0; padding: 6px 10px 5px 6px; }
.vt-plus .vt-rose { display: none; }
.vt-plus b { font-size: 18px; line-height: 22px; }
.vt-plus.hit { animation: vt-pluspx .6s steps(6) forwards; }
@keyframes vt-pluspx { 0% { opacity: 0; transform: scale(.5); } 20% { opacity: 1; transform: scale(1.15); } 70% { opacity: 1; transform: translateY(-6px); } 100% { opacity: 0; transform: translateY(-16px); } }
.vt-score > b { font-size: 44px; line-height: 56px; }
.vt-score > small { font-size: 11px; letter-spacing: 1px; margin-top: 4px; }
.vt-score.bump > b { animation: vt-bumppx .3s steps(3); }
@keyframes vt-bumppx { 50% { transform: scale(1.18); } }
.vt-clock { border-radius: 0; min-width: 176px; background: #15113a; box-shadow: inset 0 0 0 3px rgba(255,255,255,.14), 0 6px 0 rgba(0,0,0,.35); }
.vt-clock small { font-size: 10px; letter-spacing: 2px; margin: 4px 0 6px; }
.vt-clock b { font-size: 30px; line-height: 40px; letter-spacing: 0; }
.vt-clock b.urgent { animation: vt-pulsepx .5s steps(2) infinite; }
@keyframes vt-pulsepx { 50% { color: #fff; transform: scale(1.08); } }
.vt.urgent .vt-clock { background: #a3122e; }
.vt-vs::before { animation: vt-vs-spinpx 2.4s steps(12) infinite; }
@keyframes vt-vs-spinpx { to { transform: rotate(360deg); } }
.vt-vs span { font-size: 44px; transform: none; letter-spacing: 0; }
/* barra de vida segmentada */
.vt-bar { border-radius: 0; height: 50px; top: 24px; border: 4px solid var(--ink); background: #160f36; box-shadow: 0 0 0 4px #ffd23f, 0 0 0 8px var(--ink), 0 10px 0 6px rgba(0,0,0,.4); }
.vt-bar .ar-seg { --seg: 21px; z-index: 1; }
.vt-fill { transition: width .45s steps(8); }
.vt-fill.a { background: linear-gradient(180deg, var(--a-l) 0 26%, var(--a) 26% 70%, var(--a-d) 70%); }
.vt-fill.b { background: linear-gradient(180deg, var(--b-l) 0 26%, var(--b) 26% 70%, var(--b-d) 70%); box-shadow: -4px 0 0 #fff, -8px 0 0 var(--ink); }
.vt-gloss { left: 0; right: 0; top: 4px; height: 4px; border-radius: 0; background: rgba(255,255,255,.35); z-index: 1; }
.vt-pct { font-size: 20px; line-height: 42px; }
.vt-bar::before { animation: vt-idle-shinepx 4s steps(16) infinite; }
@keyframes vt-idle-shinepx { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.vt-bar.shine::after { animation: vt-shinepx .5s steps(5); }
@keyframes vt-shinepx { to { transform: translateX(120%); } }
.vt-lead { border-radius: 0; font-size: 12px; line-height: 18px; padding: 6px 12px 4px; top: -2px; }
.vt-lead.a, .vt-lead.b { background: var(--c); box-shadow: inset 0 3px 0 var(--cl), inset 0 -3px 0 var(--cd), 0 4px 0 rgba(0,0,0,.35); }
.vt-meta { font-size: 11px; letter-spacing: 0; margin-top: 10px; }
.vt-roundtotal b { font-size: 14px; }
.vt-wins { font-size: 10px; border-radius: 0; padding: 4px 10px; }
.vt-ticker { border-radius: 0; font-size: 18px; }
/* arena: canvas pixel (lutadores + corda + bandeira) substitui os SVG */
.vt-arena-cv { position: absolute; left: -160px; top: 0; image-rendering: pixelated; image-rendering: crisp-edges; z-index: 2; }
.vt-rope, .vt-knot, .vt-team { display: none !important; }
.vt-floor { clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.vt-floor::before { height: 6px; background: rgba(255,255,255,.4); }
.vt-floor .goal { border-left: 6px dashed var(--c); }
.vt-tug { transition: transform .7s steps(10); }
.vt-tug-in { animation: vt-swaypx 1.2s steps(2) infinite; }
@keyframes vt-swaypx { 50% { transform: translateX(3px); } }
.vt-callout { border-radius: 0; font: 800 21px/1 var(--fb); background: var(--c); box-shadow: inset 0 3px 0 var(--cl), inset 0 -4px 0 var(--cd), 0 0 0 3px #fff, 0 6px 0 4px rgba(0,0,0,.35); z-index: 6; }
.vt-callout .pts { font-family: var(--px); font-size: 18px; }
.vt-callout .lp-avatar { border-radius: 0; }
.vt-feed .it { border-radius: 0; }
.vt-feed .it .pts { font-size: 11px; }
.vt-feed .it .lp-avatar { border-radius: 0; }
.vt-urn { border-radius: 6px; }
.vt-screen { border-radius: 2px; }
.vt-screen b { font: 400 36px/1.6 var(--px); letter-spacing: 0; }
.vt-screen b.fim { font-size: 30px; }
.vt-screen small { font: 400 7px/1.5 var(--px); letter-spacing: 0; }
.vt-screen small.nm { font-size: 10px; letter-spacing: 0; }
.vt-keys i { font: 400 11px/25px var(--px); border-radius: 2px; }
.vt-keys i.w, .vt-keys i.o, .vt-keys i.g { font-size: 6px; line-height: 30px; letter-spacing: 0; }
.vt-how { font-size: 17px; line-height: 40px; margin-top: 14px; }
.vt-how b { border-radius: 0; padding: 0 10px; box-shadow: inset 0 3px 0 var(--cl), inset 0 -3px 0 var(--cd); background: var(--c); }
.vt-note.cari { background: rgba(10,6,24,.82); color: #fff; }
.vt-cprog, .vt-cprog i, .vt-cprog em { border-radius: 0; }
/* efeitos */
.vt-particle { width: 30px; height: 30px; font-size: 0; background-size: 100% 100%; image-rendering: pixelated; }
.vt-pop { font-size: 34px; }
.vt-pop::first-letter { color: inherit; }
.vt-dust { width: 42px; height: 28px; margin: -14px 0 0 -21px; border-radius: 0; background-color: transparent; background-size: 300% 100%; background-repeat: no-repeat; image-rendering: pixelated; animation: vt-dustpx .5s steps(3) forwards; }
@keyframes vt-dustpx { from { background-position: 0 0; } to { background-position: 150% 0; transform: translate(var(--dx), -10px); } }
.vt-thanks { border-radius: 0; }
.vt-virada .band { transform: rotate(0); background: var(--c); box-shadow: inset 0 8px 0 rgba(255,255,255,.25), inset 0 -10px 0 rgba(0,0,0,.25), 0 0 0 5px var(--ink), 0 14px 0 5px rgba(0,0,0,.3); animation: vt-bandpx .4s steps(6); }
@keyframes vt-bandpx { from { transform: translateX(-110%); } to { transform: none; } }
.vt-virada .t { font-size: 66px; line-height: 90px; transform: none; }
.vt-virada small { font-size: 16px; margin-top: 8px; }
.vt-introl { position: fixed; left: 0; top: 0; width: 720px; height: 1280px; transform-origin: top left; z-index: 8; pointer-events: none; }
/* vencedor */
.vt-wround { border-radius: 0; font-size: 14px; letter-spacing: 1px; padding: 8px 14px; }
.vt-whero { width: 216px; height: 240px; margin-top: 70px; }
.vt-wrays { position: absolute; left: 50%; top: 40%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; opacity: .45;
  background: repeating-conic-gradient(var(--c, #ffd23f) 0deg 9deg, transparent 9deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: vt-vs-spinpx 12s steps(60) infinite; }
.vt-wport { left: 0; top: 0; width: 216px; height: 216px; }
.vt-wport .vt-photo { width: 216px; height: 216px; left: 0; top: 0; border-width: 0; }
.vt-wport.win { animation: vt-wbpx .5s steps(2) infinite; }
@keyframes vt-wbpx { 50% { transform: translateY(-6px); } }
.vt-wport.lose { left: auto; right: -160px; top: 130px; width: 108px; height: 108px; filter: saturate(.55) brightness(.85); }
.vt-wport.lose .vt-photo { width: 108px; height: 108px; }
.vt-wport .vt-crown { top: -66px; }
.vt-whero.draw { width: 560px; height: 240px; gap: 30px; }
.vt-whero.draw .vt-wport { width: 192px; height: 192px; }
.vt-whero.draw .vt-wport .vt-photo { width: 192px; height: 192px; }
.vt-whand { font-family: var(--px); font-size: 60px; }
.vt-wname { font-size: 26px; line-height: 40px; margin-top: 30px; color: #ffd23f !important; }
.vt-winner .ar-perfect { margin-top: 10px; }
.vt-wtitle { font-size: 48px; line-height: 70px; transform: none; animation: vt-wtpx .5s steps(2) infinite; }
@keyframes vt-wtpx { 50% { transform: scale(1.05); } }
.vt-wsub { font-size: 14px; }
.vt-wscore { font-size: 30px; line-height: 50px; margin-top: 20px; }
.vt-wscore b { border-radius: 0; padding: 4px 18px 0; background: var(--c); box-shadow: inset 0 4px 0 var(--cl), inset 0 -4px 0 var(--cd); }
.vt-wscore span { font-size: 24px; }
.vt-mvp { border-radius: 0; }
.vt-mvp .k { font-size: 12px; letter-spacing: 1px; }
.vt-mvp .row b { font-size: 14px; }
.vt-mvp .row .lp-avatar { border-radius: 0; }
.vt-confetti i { border-radius: 0 !important; }
.ttk-sim { font-family: var(--px); font-size: 7px; letter-spacing: 0; border-radius: 0; padding: 2px 4px; }
.vt-crown { top: -44px; width: 78px; margin-left: -39px; }
.vt-crown canvas.pxcrown { width: 78px; height: 48px; }
.vt-photo.hit::after { animation: vt-flashpx .3s steps(3); }
@keyframes vt-flashpx { 0% { opacity: .5; } 100% { opacity: 0; } }
.vt-wport .vt-crown { top: -60px; width: 104px; margin-left: -52px; }
.vt-wport .vt-crown canvas.pxcrown { width: 104px; height: 64px; }
.vt-particle { width: 24px; height: 24px; }
