/* Ampe — O Desafio da Fila. Palco fixo escalado: .L = 1600x900 (paisagem), .P = 900x1600 (retrato). */
html, body.jogo { height: 100%; overflow: hidden; background: var(--roxo-noite); overscroll-behavior: none; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.viewport { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #5E2750, #2C001E 70%); }
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; font-family: var(--fb); color: #fff; }
.stage .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.veu { position: absolute; inset: 0; pointer-events: none; transition: opacity .5s ease;
  background: linear-gradient(180deg, rgba(44, 0, 30, .78), rgba(94, 39, 80, .62) 45%, rgba(44, 0, 30, .86)); }
.stage[data-screen="duelo"] .veu { opacity: 1; background: linear-gradient(180deg, rgba(44, 0, 30, .55) 0, rgba(44, 0, 30, 0) 22%, rgba(44, 0, 30, 0) 70%, rgba(44, 0, 30, .5) 100%); }

.scr { position: absolute; inset: 0; display: none; }
.scr.on { display: block; animation: entra .45s cubic-bezier(.2, .8, .3, 1); }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- elementos comuns ---------- */
.logo-ampe { text-align: center; line-height: .9; }
.logo-ampe span { display: block; font-family: var(--fd); font-weight: 700; font-size: 190px; letter-spacing: .02em; color: #fff;
  text-shadow: 0 6px 0 var(--laranja), 0 12px 0 var(--roxo-esc), 0 22px 40px rgba(0, 0, 0, .45); }
.logo-ampe small { display: inline-block; margin-top: 34px; font-family: var(--fd); font-weight: 600; font-size: 34px; letter-spacing: .04em;
  padding: 12px 30px; border-radius: 999px; background: var(--azul); box-shadow: 0 5px 0 var(--azul-esc); }
.tit-scr { position: absolute; left: 0; right: 0; top: 48px; margin: 0; text-align: center; font-family: var(--fd); font-weight: 700; font-size: 60px; text-shadow: 0 4px 0 var(--roxo-esc), 0 10px 26px rgba(0, 0, 0, .4); }
.btn-ic { position: absolute; width: 76px; height: 76px; border-radius: 24px; border: 0; display: grid; place-items: center;
  background: rgba(44, 0, 30, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); transition: background .15s, transform .15s; }
.btn-ic .ic { width: 38px; height: 38px; }
.btn-ic:hover { background: rgba(119, 41, 83, .85); transform: translateY(-1px); }
.canto-esq { left: 26px; top: 26px; } .canto-dir { right: 26px; top: 26px; }
.stage .btn { font-size: 30px; padding: 26px 44px; }
.stage .btn .ic { width: 34px; height: 34px; }
.stage .btn.grande { font-size: 38px; padding: 30px 60px; }
.stage .btn.mini { font-size: 24px; padding: 14px 26px; }
.painel { background: var(--papel); color: var(--texto); border-radius: 36px; padding: 64px 64px 52px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.painel h2 { margin: 0 0 22px; font-family: var(--fd); font-weight: 700; font-size: 56px; color: var(--roxo); text-align: center; }

/* ---------- carregando ---------- */
.carrega { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 70px; }
.barra { width: 520px; height: 18px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--azul), var(--laranja)); border-radius: inherit; transition: width .25s; }

/* ---------- início ---------- */
.logo-ampe.topo { position: absolute; left: 0; right: 0; top: 54px; }
.cards-inicio { position: absolute; display: flex; gap: 40px; left: 50%; transform: translateX(-50%); top: 405px; }
.card-ini { width: 460px; min-height: 250px; border: 0; border-radius: 34px; padding: 34px 36px; text-align: left; background: var(--papel); color: var(--texto);
  display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: center;
  box-shadow: 0 10px 0 rgba(44, 0, 30, .35), 0 30px 60px -20px rgba(0, 0, 0, .6); transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden; }
.card-ini::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--kente); }
.card-ini:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 16px 0 rgba(44, 0, 30, .35), 0 40px 70px -20px rgba(0, 0, 0, .6); }
.card-ini .card-ic { grid-row: span 2; width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; color: #fff; }
.card-ic.laranja { background: var(--laranja); box-shadow: 0 6px 0 var(--laranja-esc); } .card-ic.azul { background: var(--azul); box-shadow: 0 6px 0 var(--azul-esc); }
.card-ini .card-ic .ic { width: 50px; height: 50px; }
.card-ini b { font-family: var(--fd); font-size: 50px; font-weight: 700; color: var(--roxo); align-self: end; }
.card-ini em { font-style: normal; font-size: 26px; line-height: 1.3; color: var(--texto-2); align-self: start; margin-top: 6px; }
.linha-ini { position: absolute; right: 30px; top: 30px; display: flex; gap: 16px; }
.linha-ini .btn { font-size: 24px; padding: 16px 26px; }
.voltar-site { position: absolute; left: 30px; top: 30px; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--fd); font-size: 26px; font-weight: 500;
  padding: 14px 24px 14px 16px; border-radius: 99px; background: rgba(44, 0, 30, .5); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); }
.voltar-site .ic { width: 28px; height: 28px; }

/* ---------- time ---------- */
.times { position: absolute; left: 50%; top: 170px; transform: translateX(-50%); display: flex; gap: 46px; }
.card-time { width: 460px; padding: 34px 34px 40px; border: 0; border-radius: 36px; background: var(--papel); color: var(--texto); text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 10px 0 rgba(44, 0, 30, .35), 0 30px 60px -20px rgba(0, 0, 0, .6); transition: transform .18s, box-shadow .18s; }
.card-time::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--kente); }
.card-time:hover { transform: translateY(-6px); }
.card-time.sel { box-shadow: 0 0 0 8px var(--laranja), 0 10px 0 8px rgba(44, 0, 30, .35), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.card-time .par { display: flex; justify-content: center; gap: 14px; height: 210px; margin: 14px 0 10px; padding: 18px; border-radius: 26px; background: var(--roxo-claro); }
.card-time .par .tn { position: relative; height: 100%; }
.card-time .par img { height: 100%; width: auto; }
.tn i { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--fd); font-weight: 700; font-size: 28px; color: #fff; box-shadow: 0 0 0 4px #fff; }
.tn i.d { background: var(--azul); } .tn i.e { background: var(--laranja); }
.card-time[data-time="iguais"] .par { background: var(--azul-claro); }
.card-time[data-time="dif"] .par { background: var(--laranja-claro); }
.card-time b { display: block; font-family: var(--fd); font-size: 54px; color: var(--roxo); }
.card-time em { display: block; font-style: normal; font-size: 27px; line-height: 1.3; color: var(--texto-2); margin-top: 6px; }

/* ---------- fila ---------- */
.fila { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); display: flex; gap: 22px; }
.fila-card { width: 230px; height: 340px; border: 0; border-radius: 30px; background: rgba(253, 252, 251, .96); color: var(--texto); position: relative; padding: 0 0 18px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; box-shadow: 0 8px 0 rgba(44, 0, 30, .35), 0 24px 50px -20px rgba(0, 0, 0, .6); transition: transform .18s, box-shadow .18s; }
.fila-card img { position: absolute; top: -8px; left: 50%; width: 290px; max-width: none; transform: translateX(-50%); }
.fila-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 112px; background: linear-gradient(180deg, rgba(253, 252, 251, 0), var(--papel) 34%); }
.fila-card b, .fila-card .est { position: relative; }
.fila-card b { font-family: var(--fd); font-size: 34px; color: var(--roxo); }
.fila-card .est { display: flex; gap: 4px; margin-top: 4px; }
.fila-card .est .ic { width: 30px; height: 30px; fill: #E2D4DB; }
.fila-card .est .ic.on { fill: var(--laranja); filter: drop-shadow(0 2px 0 var(--laranja-esc)); }
.fila-card .pos { position: absolute; left: 14px; top: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fd); font-weight: 700; font-size: 26px; background: var(--roxo); color: #fff; }
.fila-card:hover:not(:disabled) { transform: translateY(-6px); }
.fila-card.sel { box-shadow: 0 0 0 7px var(--laranja), 0 8px 0 7px rgba(44, 0, 30, .35), 0 24px 50px -20px rgba(0, 0, 0, .6); transform: translateY(-10px); }
.fila-card.trancado { cursor: not-allowed; }
.fila-card.trancado img { filter: grayscale(1) brightness(.35) contrast(.9); opacity: .65; }
.fila-card .cad { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); width: 64px; height: 64px; fill: #fff; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); z-index: 2; }
.fila-acoes { position: absolute; left: 50%; top: 545px; transform: translateX(-50%); display: flex; align-items: center; gap: 26px; }

/* ---------- Elke apresentadora ---------- */
.host { position: absolute; left: 28px; bottom: 22px; display: none; align-items: flex-end; gap: 4px; pointer-events: none; z-index: 20; }
.host.on { display: flex; animation: entra .4s ease; }
.host-foto { width: 250px; height: 250px; border-radius: 50%; overflow: hidden; flex: none; background: radial-gradient(circle at 50% 40%, #94456F, var(--roxo) 60%, var(--roxo-esc));
  box-shadow: 0 0 0 8px var(--laranja), 0 0 0 16px rgba(255, 255, 255, .9), 0 20px 40px -10px rgba(0, 0, 0, .6); }
.host-foto img { width: 112%; max-width: none; margin: 6% 0 0 -6%; }
.balao { position: relative; margin: 0 0 70px 26px; max-width: 760px; background: #fff; color: var(--texto); border-radius: 34px; padding: 26px 34px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); }
.balao::before { content: ""; position: absolute; left: -16px; bottom: 34px; border: 18px solid transparent; border-right-color: #fff; border-left: 0; }
.balao p { margin: 0; font-family: var(--fd); font-weight: 500; font-size: 30px; line-height: 1.35; }

/* ---------- DUELO ---------- */
.placar { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; padding: 12px 22px; border-radius: 30px;
  background: rgba(44, 0, 30, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); white-space: nowrap; }
.placar .lado { display: flex; align-items: center; gap: 14px; }
.placar .nome { font-family: var(--fd); font-weight: 600; font-size: 30px; }
.placar .time-tag { font-size: 18px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.placar .eu .time-tag { background: var(--azul); } .placar .ele .time-tag { background: var(--laranja); }
.placar b { font-family: var(--fd); font-size: 56px; line-height: 1; min-width: 44px; text-align: center; }
.placar .x { font-family: var(--fd); font-size: 34px; opacity: .6; }
.pips { display: flex; gap: 6px; }
.pips i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: background .2s, transform .2s; }
.eu .pips i.on { background: var(--azul); transform: scale(1.15); } .ele .pips i.on { background: var(--laranja); transform: scale(1.15); }

.ritmo { position: absolute; left: 50%; top: 128px; transform: translateX(-50%); display: flex; gap: 10px; }
.ritmo span { font-family: var(--fd); font-weight: 600; font-size: 26px; padding: 10px 22px; border-radius: 99px; background: rgba(44, 0, 30, .55); color: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); transition: background .08s, color .08s, transform .08s; }
.ritmo span.feito { color: #fff; background: rgba(119, 41, 83, .75); }
.ritmo span.on { background: var(--azul); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 10px 24px -6px rgba(217, 140, 10, .8); }
.ritmo span.pe { color: #fff; background: rgba(233, 84, 32, .55); }
.ritmo span.pe.on { background: var(--laranja); box-shadow: 0 0 0 4px #fff, 0 10px 24px -6px rgba(233, 84, 32, .9); }

.memoria { position: absolute; left: 26px; top: 196px; width: 300px; height: 420px; padding: 20px 18px; border-radius: 28px; overflow: hidden;
  background: rgba(44, 0, 30, .68); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.memoria h3 { margin: 0 0 12px; font-family: var(--fd); font-weight: 600; font-size: 24px; text-align: center; color: #fff; }
.memoria ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.memoria li { display: grid; grid-template-columns: 30px 1fr 44px 1fr 44px; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 17px; }
.memoria li.vazia { display: block; background: none; text-align: center; font-size: 19px; line-height: 1.4; opacity: .7; padding: 30px 6px; }
.memoria li.novo { animation: novo .5s ease; }
@keyframes novo { from { transform: translateX(-30px); opacity: 0; } }
.memoria li.ganhou { box-shadow: inset 4px 0 0 var(--azul); } .memoria li.perdeu { box-shadow: inset 4px 0 0 var(--laranja); }
.memoria .rod { font-weight: 800; opacity: .55; text-align: center; }
.memoria .quem { font-weight: 700; opacity: .8; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--fd); font-weight: 700; font-size: 22px; color: #fff; }
.chip.d { background: var(--azul); } .chip.e { background: var(--laranja); } .chip.x { background: rgba(255, 255, 255, .15); }

.lembrete { position: absolute; right: 26px; top: 196px; width: 300px; padding: 22px 22px; border-radius: 28px; display: flex; flex-direction: column; gap: 8px;
  background: rgba(44, 0, 30, .68); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.lembrete:empty { display: none; }
.lembrete b { font-family: var(--fd); font-size: 34px; color: var(--azul); }
.lembrete span { font-size: 22px; line-height: 1.35; }
.lembrete em { font-style: normal; font-size: 19px; opacity: .75; line-height: 1.35; }

.arena { position: absolute; inset: 0; pointer-events: none; }
.boneco { position: absolute; width: 600px; height: 600px; left: calc(50% - 300px); top: 186px; will-change: transform; transform-origin: 50% 96%; }
.boneco img { width: 100%; height: 100%; position: relative; z-index: 1; }
.boneco .sombra { position: absolute; left: 30%; right: 30%; bottom: 0; height: 30px; transform-origin: 50% 50%; border-radius: 50%; background: rgba(44, 0, 30, .35); filter: blur(6px); }
.dupla .boneco.b0 { left: calc(50% - 530px); } .dupla .boneco.b1 { left: calc(50% - 70px); }
.tag-pe { position: absolute; z-index: 2; top: 70%; left: 14%; transform: scale(0); width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fd); font-weight: 700; font-size: 38px; color: #fff; box-shadow: 0 0 0 5px #fff, 0 10px 20px rgba(0, 0, 0, .35); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tag-pe.on { transform: scale(1); } .tag-pe.d { background: var(--azul); left: 12%; } .tag-pe.e { background: var(--laranja); left: auto; right: 12%; }
.palma-fx { position: absolute; left: 50%; top: 34%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; z-index: 3;
  border: 6px solid rgba(255, 255, 255, .95); animation: palma .45s ease-out forwards; }
@keyframes palma { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

.contagem { position: absolute; left: 50%; top: 330px; transform: translate(-50%, 0); font-family: var(--fd); font-weight: 700; font-size: 220px; color: #fff; opacity: 0;
  text-shadow: 0 8px 0 var(--laranja), 0 20px 40px rgba(0, 0, 0, .5); pointer-events: none; z-index: 5; }
.contagem.on { animation: conta .55s ease-out forwards; }
@keyframes conta { from { opacity: 1; transform: translate(-50%, 0) scale(1.4); } 70% { opacity: 1; } to { opacity: 0; transform: translate(-50%, 0) scale(.8); } }

.revela { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%) scale(.6); opacity: 0; z-index: 6; text-align: center; pointer-events: none; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; }
.revela.on { opacity: 1; transform: translateX(-50%) scale(1); }
.rv-par { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px; border-radius: 99px; background: rgba(44, 0, 30, .82); white-space: nowrap; }
.rv-par .p { font-family: var(--fd); font-weight: 600; font-size: 28px; padding: 6px 18px; border-radius: 99px; }
.rv-par .p.d { background: var(--azul); } .rv-par .p.e { background: var(--laranja); }
.rv-par i { font-style: normal; font-size: 28px; opacity: .7; }
.rv-par em { font-style: normal; font-family: var(--fd); font-weight: 700; font-size: 28px; margin-left: 6px; color: #fff; }
.rv-res { margin-top: 8px; font-family: var(--fd); font-weight: 700; font-size: 46px; text-shadow: 0 4px 0 var(--roxo-esc), 0 10px 24px rgba(0, 0, 0, .5); white-space: nowrap; }
.revela.bom .rv-res { color: #fff; } .revela.bom .rv-res::before { content: ""; }
.revela.ruim .rv-res { color: var(--laranja-claro); }

.botoes-pe { position: absolute; inset: 0; pointer-events: none; }
.grupo { position: absolute; bottom: 26px; left: 26px; right: 26px; display: flex; justify-content: space-between; pointer-events: none; }
.grupo .pe-btn { pointer-events: auto; }
.pe-btn { width: 300px; height: 230px; border: 0; border-radius: 40px; position: relative; padding: 16px 10px 14px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background: rgba(253, 252, 251, .94); color: var(--roxo); box-shadow: 0 10px 0 rgba(44, 0, 30, .45), 0 24px 40px -14px rgba(0, 0, 0, .6); transition: transform .08s, box-shadow .08s, background .12s; touch-action: none; }
.pe-btn img { position: absolute; top: 14px; left: 50%; height: 140px; width: auto; transform: translateX(-50%); }
.pe-btn b { font-family: var(--fd); font-weight: 700; font-size: 32px; }
.pe-btn kbd { position: absolute; right: 16px; top: 14px; font-family: var(--fb); font-weight: 800; font-size: 20px; padding: 4px 10px; border-radius: 10px; background: var(--roxo-claro); color: var(--roxo); }
.pe-btn:active { transform: translateY(6px); box-shadow: 0 4px 0 rgba(44, 0, 30, .45); }
.pe-btn.sel { background: var(--azul); color: #fff; transform: translateY(-8px); box-shadow: 0 0 0 6px #fff, 0 14px 0 6px rgba(163, 95, 0, .9), 0 30px 50px -10px rgba(217, 140, 10, .7); }
.pe-btn.sel kbd { background: rgba(255, 255, 255, .25); color: #fff; }
.dupla .grupo { gap: 18px; justify-content: flex-start; right: auto; }
.dupla .grupo.g0 { left: 26px; } .dupla .grupo.g1 { left: auto; right: 26px; }
.dupla .pe-btn { width: 220px; height: 200px; }
.dupla .pe-btn img { height: 116px; }
.dupla .grupo.g1 .pe-btn.sel { background: var(--laranja); box-shadow: 0 0 0 6px #fff, 0 14px 0 6px var(--laranja-esc), 0 30px 50px -10px rgba(233, 84, 32, .7); }
.dupla .memoria, .dupla .lembrete { display: none; }

/* ---------- resultado / pergunta ---------- */
#scr-res.on, #scr-final.on { display: flex; align-items: center; justify-content: center; padding: 30px 0; }
#scr-res .painel, #scr-final .painel { width: 980px; max-height: 100%; text-align: center; }
.res-estrelas { display: flex; justify-content: center; gap: 26px; margin: 4px 0 18px; }
.est-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 210px; }
.est-item .ic { width: 84px; height: 84px; fill: #E7DCE1; transition: fill .3s, transform .3s; }
.est-item.on .ic { fill: var(--laranja); filter: drop-shadow(0 5px 0 var(--laranja-esc)); }
.est-item.nova .ic { animation: estrela .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes estrela { from { transform: scale(0) rotate(-90deg); } }
.est-item span { font-size: 21px; font-weight: 700; color: var(--texto-2); line-height: 1.2; }
.pergunta .q { font-family: var(--fd); font-weight: 600; font-size: 38px; color: var(--roxo); margin: 6px 0 20px; }
.opcoes { display: flex; flex-direction: column; gap: 14px; }
.opcao { border: 0; border-radius: 22px; padding: 20px 26px; font-size: 28px; font-weight: 700; color: var(--texto); background: var(--roxo-claro); text-align: left;
  box-shadow: inset 0 0 0 3px transparent; transition: background .15s, box-shadow .15s, transform .15s; }
.opcao:hover:not(:disabled) { box-shadow: inset 0 0 0 3px var(--roxo); transform: translateX(4px); }
.opcao.certo { background: var(--azul); color: #fff; } .opcao.errado { background: var(--laranja); color: #fff; }
.opcao:disabled { cursor: default; }
.res-msg { font-size: 27px; line-height: 1.4; color: var(--texto-2); margin: 18px 0 0; min-height: 0; }
.res-msg:empty { display: none; }
.res-acoes { display: flex; justify-content: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.res-acoes.col { flex-direction: column; align-items: stretch; }
.res-acoes:empty { display: none; }
.painel.venceu h2 { color: var(--azul-esc); } .painel.perdeu h2 { color: var(--laranja-esc); }
.final .kicker { margin: 0; font-family: var(--fd); font-weight: 600; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; color: var(--laranja); }
.final h2 { font-size: 76px; margin: 6px 0 18px; }
.fim-total { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--fd); font-weight: 700; color: var(--roxo); }
.fim-total .estrela-g { width: 96px; height: 96px; fill: var(--laranja); filter: drop-shadow(0 6px 0 var(--laranja-esc)); }
.fim-total b { font-size: 110px; line-height: 1; } .fim-total span { font-size: 50px; opacity: .6; }
.final p { font-size: 30px; color: var(--texto-2); }
.stage[data-screen="res"] .host, .stage[data-screen="final"] .host { left: 20px; bottom: 16px; }
.stage[data-screen="res"] .host .host-foto, .stage[data-screen="final"] .host .host-foto { width: 190px; height: 190px; }
.stage[data-screen="res"] .balao, .stage[data-screen="final"] .balao { display: none; }

/* ---------- dupla: escolha ---------- */
.dsel { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); display: flex; gap: 40px; }
.dsel-col { width: 720px; padding: 24px 26px 18px; border-radius: 30px; background: rgba(44, 0, 30, .6); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.dsel-col h3 { margin: 0 0 16px; font-family: var(--fd); font-weight: 600; font-size: 32px; text-align: center; }
.dsel-col[data-j="0"] h3 { color: var(--azul); } .dsel-col[data-j="1"] h3 { color: var(--laranja); }
.dsel-grade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dsel-p { border: 0; border-radius: 20px; background: rgba(253, 252, 251, .94); color: var(--roxo); padding: 0 0 10px; overflow: hidden; display: flex; flex-direction: column; align-items: center; transition: transform .15s, box-shadow .15s; }
.dsel-p img { width: 150%; max-width: none; margin: -10px 0 -70px; }
.dsel-p b { position: relative; z-index: 1; align-self: stretch; text-align: center; padding-top: 6px; background: linear-gradient(180deg, rgba(253,252,251,0), var(--papel) 40%); font-family: var(--fd); font-size: 24px; }
.dsel-p:hover:not(:disabled) { transform: translateY(-4px); }
.dsel-p.sel { box-shadow: 0 0 0 6px var(--azul); } .dsel-col[data-j="1"] .dsel-p.sel { box-shadow: 0 0 0 6px var(--laranja); }
.dsel-p:disabled { opacity: .3; cursor: not-allowed; }
#btn-dupla-ir { position: absolute; left: 50%; transform: translateX(-50%); bottom: 50px; }
.tecla { text-align: center; font-size: 22px; opacity: .85; margin: 14px 0 0; }

/* ---------- modais ---------- */
.modal { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(30, 0, 20, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal .painel { width: 940px; max-height: 92%; overflow: auto; text-align: center; animation: entra .3s ease; }
.passos { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.passos li { display: flex; gap: 20px; align-items: center; padding: 16px 22px; border-radius: 22px; background: var(--roxo-claro); }
.passos .num { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fd); font-weight: 700; font-size: 30px; background: var(--roxo); color: #fff; }
.passos p { margin: 0; font-size: 27px; line-height: 1.35; }
.modal .tecla { color: var(--texto-2); margin: 10px 0 26px; }
.cfg { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; text-align: left; }
.tog { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; border-radius: 22px; background: var(--roxo-claro); font-size: 30px; font-weight: 700; cursor: pointer; }
.tog input { position: absolute; opacity: 0; }
.tog i { width: 92px; height: 50px; border-radius: 99px; background: #CBB9C3; position: relative; transition: background .2s; }
.tog i::after { content: ""; position: absolute; left: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s; }
.tog input:checked + i { background: var(--azul); } .tog input:checked + i::after { transform: translateX(42px); }
.tog input:focus-visible + i { outline: 3px solid var(--laranja); outline-offset: 3px; }
.cfg-lang { padding: 18px 26px; border-radius: 22px; background: var(--roxo-claro); font-size: 30px; font-weight: 700; }
.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.lang { border: 0; border-radius: 16px; padding: 14px 8px; font-size: 24px; font-weight: 700; background: #fff; color: var(--roxo); box-shadow: inset 0 0 0 2px rgba(119, 41, 83, .2); }
.lang.on { background: var(--roxo); color: #fff; }

/* ================= RETRATO 900x1600 ================= */
.P .logo-ampe span { font-size: 170px; }
.P .logo-ampe.topo { top: 120px; }
.P .cards-inicio { flex-direction: column; top: 520px; gap: 30px; }
.P .card-ini { width: 760px; }
.P .linha-ini { left: 0; right: 0; justify-content: center; bottom: auto; top: 1130px; }
.P .tit-scr { top: 120px; font-size: 58px; }
.P .times { flex-direction: column; top: 230px; gap: 30px; }
.P .card-time { width: 740px; display: grid; grid-template-columns: 300px 1fr; column-gap: 26px; text-align: left; align-items: center; padding: 34px; }
.P .card-time .par { grid-row: span 2; height: 230px; margin: 0; }
.P .card-time b { align-self: end; } .P .card-time em { align-self: start; }
.P .fila { top: 240px; gap: 10px; }
.P .fila-card { width: 164px; height: 290px; border-radius: 24px; }
.P .fila-card img { width: 200px; }
.P .fila-card b { font-size: 27px; }
.P .fila-card .est .ic { width: 24px; height: 24px; }
.P .fila-card .pos { width: 38px; height: 38px; font-size: 21px; left: 10px; top: 10px; }
.P .fila-acoes { top: 580px; flex-direction: column; gap: 22px; }
.P .host { left: 22px; right: 22px; bottom: 30px; }
.P .host-foto { width: 210px; height: 210px; }
.P .balao { max-width: none; flex: 1; margin-bottom: 60px; }
.P .balao p { font-size: 32px; }
.P .placar { top: 22px; gap: 14px; padding: 12px 18px; }
.P .placar .nome { font-size: 28px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.P .placar .time-tag { display: none; }
.P .placar b { font-size: 52px; }
.P .ritmo { top: 140px; gap: 8px; }
.P .ritmo span { font-size: 24px; padding: 10px 16px; }
.P .memoria { left: 24px; right: 24px; width: auto; top: 214px; bottom: auto; height: 210px; padding: 14px 16px; }
.P .memoria h3 { font-size: 22px; margin-bottom: 10px; }
.P .memoria ol { flex-direction: row; gap: 8px; justify-content: flex-start; }
.P .memoria li { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; gap: 6px; padding: 8px 8px; width: 92px; }
.P .memoria .quem { display: none; }
.P .lembrete { display: none; }
.P .boneco { width: 720px; height: 720px; left: 90px; top: 520px; }
.P.dupla .boneco { width: 560px; height: 560px; top: 640px; } .P.dupla .boneco.b0 { left: -40px; } .P.dupla .boneco.b1 { left: 380px; }
.P .revela { top: 438px; bottom: auto; }
.P .contagem { top: 600px; }
.P .grupo { left: 40px; right: 40px; bottom: 40px; }
.P .pe-btn { width: 390px; height: 250px; } .P .pe-btn img { height: 150px; }
.P .dupla .grupo, .P.dupla .grupo { gap: 12px; }
.P.dupla .grupo.g0 { left: 18px; } .P.dupla .grupo.g1 { right: 18px; }
.P.dupla .pe-btn { width: 200px; height: 220px; } .P.dupla .pe-btn img { height: 110px; }
.P.dupla .pe-btn b { font-size: 26px; }
.P #scr-res .painel, .P #scr-final .painel { width: 840px; padding: 60px 40px 46px; }

.P .est-item { width: 230px; }
.P .dsel { flex-direction: column; top: 230px; gap: 26px; }
.P .dsel-col { width: 840px; }
.P .dsel-col .tecla { position: static; }
.P .modal .painel { width: 840px; }
.P .voltar-site { top: 30px; }

/* retrato: palco de altura variável, elementos de baixo ancorados no fim e letras maiores (o palco é reduzido ~0,43x no celular) */
.P .boneco { top: auto; bottom: 430px; width: 740px; height: 740px; left: calc(50% - 370px); }
.P.dupla .boneco { top: auto; bottom: 470px; width: 560px; height: 560px; }
.P .revela { top: auto; bottom: 336px; }
.P .rv-par .p, .P .rv-par em { font-size: 34px; } .P .rv-res { font-size: 54px; }
.P .contagem { top: auto; bottom: 760px; }
.P .ritmo span { font-size: 30px; padding: 12px 18px; }
.P .placar .nome { font-size: 34px; } .P .placar b { font-size: 60px; }
.P .memoria { height: 250px; } .P .memoria h3 { font-size: 28px; }
.P .memoria li { width: 96px; } .P .chip { width: 50px; height: 50px; font-size: 28px; } .P .memoria .rod { font-size: 20px; }
.P .memoria li.vazia { width: auto; flex: 1; font-size: 26px; padding: 40px 6px; }
.P .pe-btn { height: 270px; } .P .pe-btn b { font-size: 44px; } .P .pe-btn kbd { display: none; }
.P .card-ini b { font-size: 62px; } .P .card-ini em { font-size: 36px; }
.P .card-time b { font-size: 62px; } .P .card-time em { font-size: 34px; }
.P .fila-card b { font-size: 32px; }
.P .linha-ini .btn { font-size: 32px; padding: 22px 34px; }
.P .balao p { font-size: 40px; }
.P .painel h2 { font-size: 68px; }
.P .est-item span { font-size: 28px; } .P .est-item .ic { width: 96px; height: 96px; }
.P .pergunta .q { font-size: 46px; }
.P .opcao { font-size: 38px; padding: 26px 30px; }
.P .res-msg { font-size: 36px; }
.P .stage .btn, .P .btn { font-size: 38px; padding: 30px 46px; }
.P .passos p { font-size: 36px; } .P .tog, .P .cfg-lang { font-size: 38px; } .P .lang { font-size: 30px; }
.P .tecla { font-size: 30px; }
.P .dsel-p b { font-size: 30px; }
.P .voltar-site { font-size: 30px; }
.P .tit-scr { font-size: 70px; }
.P .linha-ini { top: auto; bottom: 330px; }

/* dupla: escolha escondida até a revelação */
.pronto-tag { position: absolute; left: 50%; top: -58px; transform: translateX(-50%) scale(.6); opacity: 0; padding: 10px 22px; border-radius: 99px; background: #fff; color: var(--roxo); font-family: var(--fd); font-weight: 700; font-size: 28px; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.3); transition: opacity .15s, transform .2s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.grupo.pronto .pronto-tag { opacity: 1; transform: translateX(-50%) scale(1); }
.grupo.pronto .pe-btn { background: rgba(253, 252, 251, .75); }
.grupo.g0.pronto .pronto-tag { background: var(--azul); color: #fff; } .grupo.g1.pronto .pronto-tag { background: var(--laranja); color: #fff; }
.dupla .grupo { position: absolute; }
