/* Falar sem a boca (gestos e linguagem do corpo): o personagem animado e as brincadeiras. Tudo começa com ge-. */

/* ---------- o personagem ---------- */
/* As partes giram em volta de pontos do desenho (o motor escreve o transform com o pivô dentro dele). */
.ge-boneco { display: block; width: 100%; height: 100%; overflow: visible; }
.ge-boneco .ge-p { transform-box: view-box; transform-origin: 0 0; }
.ge-palpebra { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: ge-pisca 4.2s infinite; }
.ge-quem-tom .ge-palpebra { animation-delay: -1.3s; }
.ge-quem-kiko .ge-palpebra { animation-delay: -2.6s; }
.ge-rabo { transform-box: fill-box; transform-origin: 0 100%; animation: ge-rabo 2.4s ease-in-out infinite alternate; }
.ge-parado .ge-rabo, .ge-parado [class*="ge-x-"] { animation: none; }
.ge-pausado .ge-boneco *, .ge-pausado .ge-boneco { animation-play-state: paused !important; }

/* Os enfeites: cada um tem o seu jeitinho de mexer (o aparecer e sumir é do gesto). */
.ge-x-sobe { animation: ge-sobe 1.8s ease-in-out infinite; }
.ge-x-pinga { animation: ge-pinga 1.4s ease-in infinite; }
.ge-x-cai { animation: ge-cai 1.6s ease-in infinite; }
.ge-x-puf { transform-box: fill-box; transform-origin: 50% 100%; animation: ge-puf .7s ease-in-out infinite alternate; }
.ge-x-balanca { transform-box: fill-box; transform-origin: 50% 100%; animation: ge-balanca 1.2s ease-in-out infinite alternate; }
.ge-x-pisca { animation: ge-brilha 1s ease-in-out infinite alternate; }
.ge-x-neve { animation: ge-neve 2.4s linear infinite; }
.ge-x-gira { transform-box: fill-box; transform-origin: 50% 50%; animation: ge-gira 6s linear infinite; }
.ge-x-pontos circle { animation: ge-brilha .9s ease-in-out infinite alternate; }
.ge-x-pontos circle:nth-child(2) { animation-delay: .3s; }
.ge-x-pontos circle:nth-child(3) { animation-delay: .6s; }

@keyframes ge-pisca { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }
@keyframes ge-rabo { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@keyframes ge-sobe { 0% { transform: translateY(6px); opacity: .2; } 40% { opacity: 1; } 100% { transform: translateY(-10px); opacity: .5; } }
@keyframes ge-pinga { 0% { transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes ge-cai { 0% { transform: translateY(-4px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes ge-puf { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.1) translateY(-3px); opacity: 1; } }
@keyframes ge-balanca { from { transform: rotate(-8deg); } to { transform: rotate(8deg) translateY(-3px); } }
@keyframes ge-brilha { from { opacity: .35; } to { opacity: 1; } }
@keyframes ge-neve { from { transform: translateY(-8px); } to { transform: translateY(14px); } }
@keyframes ge-gira { to { transform: rotate(360deg); } }

/* ---------- peças comuns ---------- */
.abertura-arte .ge-boneco { width: 130px; height: 165px; margin: 0 auto; }
.ge-entra { animation: ge-entra .35s ease-out; }
.ge-area-toque { touch-action: none; }
.ge-vez .ge-vez-nome { font-size: 22px; }
.contagem-item.ge-agora { background: var(--cor); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); transform: scale(1.08); }
.ge-dourada {
  align-self: center; padding: 6px 16px; border-radius: 999px; text-align: center;
  background: linear-gradient(90deg, #fde047, #f59e0b); color: #78350f; font-weight: 900; font-size: 17px;
  box-shadow: 0 4px 0 rgba(120, 53, 15, .3); animation: ge-pulsa 1.2s ease-in-out infinite;
}
.ge-figura { display: inline-grid; place-items: center; line-height: 1; }
.ge-figura .ge-desenho { width: 1em; height: 1.2em; }
.ge-mi-rodada { color: #fff; text-align: center; font-weight: 800; opacity: .9; }
.ge-ad-recado { margin: 0; text-align: center; color: #fff; font-size: clamp(22px, 5.5vw, 32px); font-weight: 900; text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }

/* A dica de toque: a mãozinha mostra o que fazer. */
.ge-dica {
  align-self: center; display: flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 16px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2);
  color: #fff; font-size: 16px; font-weight: 800; line-height: 1.2;
}
.ge-dica-mao { flex: none; display: inline-block; font-size: 30px; }
.ge-dica-toque .ge-dica-mao { animation: ge-toca 1.2s ease-in-out infinite; }
.ge-dica-deslize .ge-dica-mao { animation: ge-desliza 1.4s ease-in-out infinite; }
.ge-dica-segure .ge-dica-mao { animation: ge-segura 1.8s ease-in-out infinite; }
.ge-dica-pinca .ge-dica-mao { animation: ge-pinca-mao 1.4s ease-in-out infinite; }
.ge-dica-ligar .ge-dica-mao, .ge-dica-arraste .ge-dica-mao { animation: ge-liga 1.8s ease-in-out infinite; }

/* As respostas para tocar (Adivinhe e Como ele está se sentindo?). */
.ge-ad-opcoes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ge-ad-opcoes-3 { grid-template-columns: repeat(3, 1fr); }
.ge-opcao {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 98px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: var(--sombra);
  border: 4px solid transparent; transition: transform .1s;
}
.ge-opcao:active:not(:disabled) { transform: scale(.95); }
.ge-opcao:disabled { opacity: 1; }
.ge-opcao strong { font-size: clamp(16px, 4.4vw, 21px); line-height: 1.1; text-align: center; }
.ge-opcao-figura { font-size: clamp(40px, 11vw, 64px); }
.ge-opcao-boneco { display: block; width: 100%; height: clamp(104px, 17vh, 180px); }
.ge-certo { border-color: #22c55e; background: #dcfce7; animation: ge-pulsa .6s ease-in-out 2; }
.ge-errado { border-color: #ef4444; background: #fee2e2; animation: treme .12s 4; }

/* Duas partes (a cena e as respostas): uma embaixo da outra no celular em pé, lado a lado no tablet deitado. */
.ge-dupla, .ge-dupla-um, .ge-dupla-dois { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (orientation: landscape) and (min-width: 760px) {
  .ge-dupla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 18px; }
  .ge-dupla .ge-ad-palco { height: clamp(260px, calc(100vh - 230px), 560px); }
  .ge-dupla .ge-zm { width: min(100%, calc((100vh - 300px) * 4 / 3)); }
  .ge-dupla-situacao { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* ---------- menu ---------- */
.ge-apresenta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ge-apresenta-amigos { display: flex; justify-content: center; gap: 2px; width: 100%; }
.ge-apresenta-amigo { width: min(31%, 170px); aspect-ratio: 260 / 330; }
.fala-tito.ge-fala { text-align: center; }
.fala-tito.ge-fala::before { left: 50%; top: -13px; margin: 0 0 0 -10px; border: 10px solid transparent; border-bottom: 14px solid #fff; border-top: 0; }
.ge-brincadeira-emoji { background: #fce7f3; }
.ge-nota { margin: 0; color: #fff; font-size: 15px; font-weight: 700; text-align: center; opacity: .95; }

/* A escolha do amigo (na abertura). */
.ge-amigos { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ge-amigos-titulo { font-size: 18px; }
.ge-amigos-linha { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ge-amigo {
  display: flex; flex-direction: column; align-items: center; width: 82px; padding: 6px 4px 8px; border-radius: 18px;
  background: rgba(255, 255, 255, .3); color: #fff; font-weight: 800; border: 3px solid transparent;
}
.ge-amigo.escolhido { background: #fff; color: var(--roxo-escuro); border-color: #fde047; box-shadow: 0 4px 0 rgba(42, 26, 94, .25); }
.ge-amigo-arte { width: 60px; height: 72px; display: grid; place-items: center; }
.ge-amigo-todos { font-size: 40px; }

/* ---------- Gente, o que é isso? ---------- */
.tela-gestos-oque .corpo { max-width: 1400px; }
.ge-oq { display: flex; flex-direction: column; gap: 10px; flex: 1; --ge-vel: 1; }
.ge-oq [hidden] { display: none !important; }
.ge-oq-barra { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; }
.ge-oq-contador { padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: 18px; font-weight: 900; }
.ge-oq-minis { display: flex; gap: 6px; }
.ge-oq-mini {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 4px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .2); color: #fff; font-size: 22px; line-height: 1.1;
}
.ge-oq-mini small { font-size: 11px; font-weight: 800; }
.ge-oq-mini.ligado { background: #fff; color: var(--roxo-escuro); }
.ge-oq-palco {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px 14px;
  border-radius: 30px; background: radial-gradient(circle at 50% 42%, #fff 0 45%, #fce7f3 75%, #fbcfe8); box-shadow: var(--sombra);
  transform: translateX(var(--ge-arrasto, 0px)); transition: transform .25s;
}
.ge-oq-palco.ge-arrastando { transition: none; }
.ge-oq-pergunta { margin: 0; text-align: center; font-size: clamp(28px, 7vw, 56px); line-height: 1.05; color: var(--roxo-escuro); }
.ge-oq-situacao { margin: 0; max-width: 640px; text-align: center; font-size: clamp(22px, 5.4vw, 36px); font-weight: 800; line-height: 1.2; }
.ge-oq-boneco { width: 100%; height: clamp(250px, calc(100vh - 380px), 620px); transition: height .3s; }
.ge-oq-com-situacao .ge-oq-boneco { height: clamp(180px, calc(100vh - 500px), 460px); }
.ge-oq-palco.ge-revelado .ge-oq-boneco { height: clamp(190px, calc(100vh - 540px), 460px); }
.ge-oq-resposta { display: none; }
.ge-revelado .ge-oq-resposta {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 680px; padding: 10px 16px; border-radius: 24px;
  background: #fef9c3; border: 4px solid #fde047; animation: ge-surge .45s cubic-bezier(.2, 1.6, .4, 1);
}
.ge-oq-figura { flex: none; font-size: clamp(56px, 14vw, 96px); }
.ge-oq-texto { display: flex; flex-direction: column; gap: 2px; }
.ge-oq-texto strong { font-size: clamp(26px, 6.5vw, 46px); line-height: 1.05; color: #9d174d; }
.ge-oq-texto p { margin: 0; font-size: clamp(15px, 3.6vw, 20px); line-height: 1.3; }
.ge-oq-botoes { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ge-oq-seta { flex: none; padding: 14px 16px; }
.ge-oq-botoes .ge-mostrar { flex: 1 1 auto; max-width: 420px; padding: 14px 16px; font-size: clamp(18px, 4.8vw, 26px); line-height: 1.15; }
.ge-oq-proximo { flex: none; font-size: clamp(18px, 4.8vw, 24px); padding: 14px 18px; }
.ge-oq-proximo.botao-principal { flex: 1 1 auto; max-width: 420px; }

/* Tablet deitado e projetor: o amigo de um lado, a pergunta e a resposta do outro. */
@media (orientation: landscape) and (min-width: 760px) {
  .ge-oq-palco {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "boneco pergunta" "boneco situacao" "boneco resposta"; align-items: center; column-gap: 20px;
  }
  .ge-oq-pergunta { grid-area: pergunta; align-self: end; font-size: clamp(32px, 4.6vw, 72px); }
  .ge-oq-situacao { grid-area: situacao; }
  .ge-oq-boneco, .ge-oq-com-situacao .ge-oq-boneco, .ge-oq-palco.ge-revelado .ge-oq-boneco { grid-area: boneco; height: clamp(300px, calc(100vh - 300px), 820px); }
  .ge-revelado .ge-oq-resposta { grid-area: resposta; align-self: start; flex-direction: column; text-align: center; }
  .ge-oq-texto strong { font-size: clamp(30px, 4vw, 60px); }
}

/* O fim do "Gente, o que é isso?" (sem jogadores escolhidos). */
.ge-fim-amigos { display: flex; justify-content: center; }
.ge-fim-amigos > div { width: 30%; max-width: 170px; aspect-ratio: 260 / 330; }

/* ---------- Adivinhe! ---------- */
.ge-ad-palco {
  position: relative; height: clamp(200px, calc(100vh - 470px), 420px); border-radius: 28px; padding: 8px;
  background: radial-gradient(circle at 50% 40%, #fff 0 45%, #e0e7ff 80%); box-shadow: var(--sombra);
}
.ge-ad-situacao { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: auto; min-height: 170px; padding: 18px; text-align: center; }
.ge-ad-situacao p { margin: 0; font-size: clamp(22px, 5.4vw, 32px); font-weight: 800; line-height: 1.25; }
.ge-ad-situacao-emoji { font-size: 50px; }
.ge-ad-resposta { display: flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: #dcfce7; font-size: 20px; animation: ge-surge .4s; }
.ge-ad-resposta-figura { font-size: 36px; }

/* ---------- Sua vez de fazer! ---------- */
.ge-mi-passa {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 18px; text-align: center;
  border-radius: 28px; background: #fff; box-shadow: var(--sombra); border-top: 12px solid var(--cor);
}
.ge-mi-passa p { margin: 0; font-size: 20px; font-weight: 700; }
.ge-mi-passa-emoji { font-size: 64px; animation: ge-balanca-tela 1.6s ease-in-out infinite; }
.ge-mi-passa-nome .chip { font-size: 30px; padding: 4px 20px; }
.ge-mi-passa-nota { font-size: 18px !important; opacity: .8; }
.ge-mi-cartao {
  position: relative; height: clamp(300px, calc(100vh - 380px), 520px); border-radius: 30px; overflow: hidden;
  background: #fff; box-shadow: var(--sombra); -webkit-touch-callout: none;
}
.ge-mi-cartao-pequeno { height: clamp(220px, calc(100vh - 520px), 380px); }
.ge-mi-capa {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-align: center; padding: 16px; transition: opacity .12s;
  background: repeating-linear-gradient(45deg, #7c3aed 0 22px, #6d28d9 22px 44px);
}
.ge-mi-capa strong { font-size: clamp(24px, 6vw, 34px); }
.ge-mi-capa small { font-size: 18px; font-weight: 800; opacity: .9; }
.ge-mi-capa-emoji { font-size: 74px; animation: ge-segura 1.8s ease-in-out infinite; }
.ge-espiando .ge-mi-capa { opacity: 0; }
.ge-mi-dentro { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 10px; text-align: center; visibility: hidden; }
.ge-espiando .ge-mi-dentro { visibility: visible; }
.ge-mi-dentro strong { font-size: clamp(22px, 5.6vw, 32px); color: #6d28d9; }
.ge-mi-dentro small { font-size: 15px; }
.ge-mi-boneco { flex: 1; width: 100%; min-height: 0; }
.ge-mi-faca { margin: 0; text-align: center; color: #fff; font-size: 22px; font-weight: 900; }
.ge-mi-tempo { text-align: center; color: #fff; font-size: 88px; font-weight: 900; line-height: 1; text-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.ge-mi-acabando { color: #fde047; animation: pulsa-texto .5s ease-in-out infinite; }
.ge-mi-botoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.ge-mi-titulo { margin: 0; text-align: center; color: #fff; font-size: 28px; }
.ge-mi-resposta { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 28px; background: #fff; box-shadow: var(--sombra); }
.ge-mi-resposta .ge-mi-boneco { flex: none; width: 42%; height: clamp(170px, 30vh, 300px); }
.ge-mi-resposta > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.ge-mi-resposta strong { font-size: clamp(22px, 5.6vw, 32px); color: #6d28d9; }
.ge-mi-figura { font-size: 52px; }
.ge-mi-quem { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ge-mi-quem-botao {
  min-height: 64px; padding: 12px; border-radius: 20px; background: var(--cor); color: #fff; font-size: 21px; font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35); box-shadow: 0 5px 0 rgba(42, 26, 94, .25);
}
.ge-mi-quem-botao:active { transform: translateY(3px); }
.ge-mi-ninguem { background: #fff; color: var(--tinta); text-shadow: none; }

/* ---------- Imite o mestre ---------- */
.ge-im-topo { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 22px; }
.ge-im-topo small { font-size: 17px; font-weight: 800; opacity: .9; }
.ge-im-passos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ge-im-passo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .3); color: #fff; font-size: 20px; font-weight: 900; transition: transform .2s; }
.ge-im-passo.ge-im-feito { background: #22c55e; }
.ge-im-passo.ge-im-agora { background: #fde047; color: var(--tinta); transform: scale(1.25); }
.ge-im-palco { height: clamp(260px, calc(100vh - 360px), 560px); border-radius: 30px; padding: 8px; background: radial-gradient(circle at 50% 40%, #fff 0 45%, #dcfce7 85%); box-shadow: var(--sombra); }
.ge-im-dourado { filter: drop-shadow(0 0 10px #facc15) drop-shadow(0 0 4px #f59e0b); }
.ge-im-nome { margin: 0; text-align: center; color: #fff; font-size: clamp(24px, 6vw, 34px); font-weight: 900; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.ge-im-vez { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; border-radius: 28px; background: #fff; box-shadow: var(--sombra); text-align: center; }
.ge-im-vez h2 { margin: 0; font-size: 32px; }
.ge-im-vez p { margin: 0; font-size: 20px; font-weight: 700; }
.ge-im-vez-emoji { font-size: 64px; animation: ge-pulsa 1s ease-in-out infinite; }
.ge-im-lista { margin: 4px 0 0; padding-left: 34px; text-align: left; font-size: 20px; font-weight: 800; }
.ge-im-lista li { margin: 3px 0; }
.ge-im-lista li span { margin-right: 6px; }

/* ---------- Ligue o gesto ---------- */
.ge-lg-mesa { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(36px, 12vw, 120px); padding: 4px 0; }
.ge-lg-coluna { display: flex; flex-direction: column; gap: 10px; }
.ge-lg-item {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: clamp(86px, calc((100vh - 330px) / 4.4), 160px); padding: 4px 8px; border-radius: 20px;
  background: #fff; box-shadow: var(--sombra); border: 4px solid transparent; transition: transform .12s, border-color .12s;
}
.ge-lg-esq { overflow: hidden; align-items: flex-start; }
.ge-lg-boneco { height: 114%; aspect-ratio: 260 / 330; pointer-events: none; }
.ge-lg-dir { flex-direction: column; gap: 0; }
.ge-lg-dir strong { font-size: clamp(15px, 4vw, 20px); line-height: 1.1; text-align: center; pointer-events: none; }
.ge-lg-figura { font-size: clamp(32px, 9vw, 48px); pointer-events: none; }
.ge-lg-escolhido { border-color: #a855f7; transform: scale(1.05); box-shadow: 0 0 0 6px rgba(168, 85, 247, .3), var(--sombra); }
.ge-lg-feito { border-color: #22c55e; background: #f0fdf4; }
.ge-lg-item:disabled { opacity: 1; }
.ge-lg-ouro { background: linear-gradient(160deg, #fffbeb, #fde68a); }
.ge-lg-linhas { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ge-lg-linhas svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ge-lg-linhas line { stroke-width: 7; stroke-linecap: round; }
.ge-lg-puxando { stroke-dasharray: 2 12; opacity: .85; }
.ge-lg-errada { animation: ge-some .9s ease-in forwards; }

/* ---------- Como ele está se sentindo? (o parque e a lupa) ---------- */
.ge-zm {
  position: relative; width: min(100%, calc(52vh * 4 / 3)); aspect-ratio: 4 / 3; margin: 0 auto; overflow: hidden;
  border-radius: 26px; background: #7dd3fc; box-shadow: var(--sombra);
}
.ge-zm-miolo { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.ge-zm-miolo.ge-suave { transition: transform .5s ease; }
.ge-se-parque { position: absolute; inset: 0; width: 100%; height: 100%; }
.ge-se-amigo { position: absolute; pointer-events: none; }
.ge-se-amigo .ge-boneco { height: auto; aspect-ratio: 260 / 330; }
.ge-lupas { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.ge-lupa { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 rgba(42, 26, 94, .25); font-size: 24px; }
.ge-lupa b { position: absolute; right: 5px; bottom: 1px; font-size: 22px; color: var(--roxo-escuro); }
.ge-lupa:disabled { opacity: .45; }
.ge-zm-nivel { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: rgba(42, 26, 94, .55); color: #fff; font-weight: 800; }
.ge-zm-nivel:empty { display: none; }
.ge-se-ferramentas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.ge-se-olhar { background: #fde047; color: #713f12; box-shadow: 0 5px 0 #ca8a04; }
.ge-se-pista {
  position: absolute; left: 10px; right: 78px; bottom: 10px; z-index: 2; margin: 0; padding: 8px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: var(--tinta); font-size: clamp(15px, 4vw, 20px); font-weight: 800; line-height: 1.25;
  box-shadow: 0 4px 0 rgba(42, 26, 94, .2); animation: ge-surge .35s;
}
.ge-se-pista:empty { display: none; }

@keyframes ge-entra { from { opacity: 0; transform: scale(.94); } }
@keyframes ge-surge { from { opacity: 0; transform: scale(.7); } }
@keyframes ge-pulsa { 50% { transform: scale(1.05); } }
@keyframes ge-some { 60% { opacity: 1; } to { opacity: 0; } }
@keyframes ge-toca { 0%, 100% { transform: translateY(-4px); } 45% { transform: translateY(4px) scale(.9); } }
@keyframes ge-desliza { 0%, 100% { transform: translateX(-12px) rotate(-8deg); } 50% { transform: translateX(12px) rotate(8deg); } }
@keyframes ge-segura { 0%, 15% { transform: translateY(-6px); } 30%, 80% { transform: translateY(3px) scale(.88); } 100% { transform: translateY(-6px); } }
@keyframes ge-pinca-mao { 0%, 100% { transform: scale(.8) rotate(-10deg); } 50% { transform: scale(1.25) rotate(10deg); } }
@keyframes ge-liga { 0% { transform: translate(-10px, 0); } 20% { transform: translate(-10px, 4px) scale(.9); } 70% { transform: translate(18px, 4px) scale(.9); } 100% { transform: translate(18px, -2px); } }
@keyframes ge-balanca-tela { 50% { transform: rotate(-10deg); } }

/* ---------- retorno que ensina (todas as brincadeiras) ---------- */
.ge-ad-retorno { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.ge-ensina {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 14px; border-radius: 20px; text-align: left;
  background: #fff; color: var(--tinta); box-shadow: var(--sombra); border-left: 10px solid #22c55e; animation: ge-surge .3s ease-out;
}
.ge-ensina-errado { border-left-color: #f59e0b; background: #fffbeb; }
.ge-ensina-icone { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 20px; font-weight: 900; }
.ge-ensina-errado .ge-ensina-icone { background: #fde68a; }
.ge-ensina-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ge-ensina-texto strong { font-size: clamp(17px, 4.4vw, 22px); line-height: 1.15; }
.ge-ensina-texto p { margin: 0; font-size: clamp(14px, 3.7vw, 18px); line-height: 1.3; font-weight: 700; }
.ge-entendi { min-width: 180px; font-size: 20px; }
.ge-praticou {
  align-self: center; max-width: 640px; padding: 8px 16px; border-radius: 18px; background: rgba(255, 255, 255, .95);
  color: var(--tinta); font-size: 15px; font-weight: 700; line-height: 1.35;
}

/* As cartas de "cada lugar, um jeito" e as respostas escritas. */
.ge-ad-mundo { background: radial-gradient(circle at 50% 30%, #fff 0 40%, #e0f2fe 85%); }
.ge-ad-mundo .ge-ad-situacao-emoji { font-size: 64px; }
.ge-ad-opcoes.ge-ad-textos { grid-template-columns: 1fr; }
.ge-opcao-texto { min-height: 64px; padding: 10px 14px; }
.ge-opcao-texto strong { font-size: clamp(17px, 4.4vw, 22px); }

/* ---------- Adivinhe!: o mapa do show do Kiko ---------- */
.ge-mapa-topo { display: flex; align-items: center; gap: 12px; }
.ge-mapa-kiko { flex: none; width: 92px; aspect-ratio: 260 / 330; }
.ge-mapa-fala {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 20px;
  background: #fff; color: var(--tinta); box-shadow: var(--sombra); font-size: 18px; font-weight: 700;
}
.ge-mapa-fala::before { content: ""; position: absolute; left: -12px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-right: 14px solid #fff; border-left: 0; }
.ge-mapa-fala strong { font-size: 21px; }
.ge-mapa-fala small { font-size: 14px; opacity: .75; }
.ge-mapa { display: grid; gap: 14px; }
.ge-mapa-mundo {
  padding: 12px 12px 14px; border-radius: 26px; background: rgba(255, 255, 255, .96); color: var(--tinta); box-shadow: var(--sombra);
  border-top: 10px solid var(--cor);
}
.ge-mapa-mundo h3 { margin: 0; font-size: 21px; }
.ge-mapa-mundo p { margin: 0 0 6px; font-size: 15px; font-weight: 700; opacity: .75; }
.ge-mapa-trilha { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 6px 0 4px; }
.ge-mapa-trilha::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38px; border-top: 6px dotted var(--cor); opacity: .5; }
.ge-mapa-fase {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 4px 2px 6px;
  border-radius: 18px; color: var(--tinta); background: transparent;
}
.ge-mapa-fase:nth-child(even) { margin-top: 14px; }
.ge-mapa-bola {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 30px;
  background: var(--cor); border: 4px solid #fff; box-shadow: 0 5px 0 rgba(42, 26, 94, .3);
}
.ge-mapa-bola .ge-boneco { width: 120%; height: 120%; margin-top: 18%; }
.ge-mapa-num {
  position: absolute; top: 0; right: calc(50% - 38px); min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-size: 13px; font-weight: 900; line-height: 22px;
}
.ge-mapa-chefao .ge-mapa-bola { background: linear-gradient(160deg, #fde68a, #f59e0b); border-color: #fff7d6; }
.ge-mapa-feita .ge-mapa-bola { box-shadow: 0 5px 0 rgba(42, 26, 94, .3), 0 0 0 4px #fde047; }
.ge-mapa-atual .ge-mapa-bola { animation: ge-pulsa 1.2s ease-in-out infinite; }
.ge-mapa-fase:disabled { opacity: 1; }
.ge-mapa-fase:disabled .ge-mapa-bola { background: #e5e7eb; box-shadow: 0 4px 0 rgba(42, 26, 94, .15); font-size: 24px; }
.ge-mapa-fase:disabled small, .ge-mapa-fase:disabled .ge-mapa-num { opacity: .45; }
.ge-mapa-fase:not(:disabled):active .ge-mapa-bola { transform: translateY(3px); }
.ge-mapa-fase:focus-visible, .ge-mapa-fase.ct-foco { outline: 4px solid #f59e0b; outline-offset: 2px; }
.ge-mapa-estrelas { min-height: 18px; color: #f59e0b; font-size: 16px; letter-spacing: 1px; line-height: 1; }
.ge-mapa-fase small { font-size: 12px; font-weight: 800; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.ge-mapa-botoes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.ge-mapa-botoes .botao:focus-visible, .fim-botoes .botao:focus-visible, .ge-entendi:focus-visible { outline: 4px solid #f59e0b; outline-offset: 3px; }

/* A apresentação da fase. */
.ge-fase-intro {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 28px; background: #fff; color: var(--tinta);
  box-shadow: var(--sombra); border-top: 10px solid var(--cor); animation: ge-entra .35s ease-out;
}
.ge-fase-intro-chefao { background: linear-gradient(170deg, #fffbeb, #fde68a); }
.ge-fase-intro-arte { flex: none; width: clamp(110px, 30vw, 200px); aspect-ratio: 260 / 330; }
.ge-fase-intro-texto { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ge-fase-intro-texto small { font-size: 15px; font-weight: 800; opacity: .7; }
.ge-fase-intro-texto h2 { margin: 0; font-size: clamp(24px, 6vw, 36px); line-height: 1.1; }
.ge-fase-intro-texto p { margin: 0; font-size: clamp(17px, 4.4vw, 22px); font-weight: 700; line-height: 1.3; }

/* O chefão: o Kiko no palco, as vagas da sequência e os desenhos para tocar na ordem. */
.ge-ch-selo { padding: 2px 10px; border-radius: 999px; background: #fde047; color: #78350f; font-size: 15px; font-weight: 900; }
.ge-ch-palco {
  position: relative; height: clamp(190px, calc(100vh - 500px), 420px); border-radius: 28px; padding: 8px;
  background: radial-gradient(circle at 50% 45%, #fff 0 42%, #fde68a 80%); box-shadow: var(--sombra);
}
.ge-ch-final {
  background: linear-gradient(90deg, #b91c1c 0 9%, transparent 9% 91%, #b91c1c 91%), radial-gradient(ellipse at 50% 100%, #fef3c7 0 40%, #fde68a 60%, #f59e0b);
}
.ge-ch-vagas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ge-ch-vaga {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; font-weight: 900;
  background: rgba(255, 255, 255, .3); color: #fff; border: 3px dashed rgba(255, 255, 255, .7); transition: transform .2s;
}
.ge-ch-vaga.ge-ch-agora { background: #fde047; color: var(--tinta); border-style: solid; border-color: #fff; transform: scale(1.18); }
.ge-ch-vaga.ge-ch-ok { background: #dcfce7; border: 3px solid #22c55e; }
.ge-ch-vaga.ge-ch-errou { background: #fef3c7; border: 3px solid #f59e0b; }
.ge-ch-parte2 { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ge-ch-parte2 .ge-ad-opcoes { width: 100%; }
.ge-ch-opcoes .ge-opcao { min-height: 86px; }
.ge-ch-fim { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 14px; border-radius: 22px; background: rgba(255, 255, 255, .95); color: var(--tinta); }
.ge-ch-fim-arte { flex: none; width: 80px; aspect-ratio: 260 / 330; }
.ge-ch-fim p { margin: 0; font-size: 18px; font-weight: 800; text-align: left; }

/* Imite o mestre: a sequência explicada depois do erro. Sua vez de fazer!: a dica da mímica. */
.ge-im-explica li { margin: 6px 0; }
.ge-im-explica li small { display: block; font-size: 15px; font-weight: 700; opacity: .8; }
.ge-mi-dica { margin: 0; padding: 8px 14px; border-radius: 16px; background: #fffbeb; color: var(--tinta); font-size: 17px; font-weight: 800; }

@media (orientation: landscape) and (min-width: 760px) {
  .ge-mapa-kiko { width: 110px; }
  .ge-mapa-bola { width: 78px; height: 78px; font-size: 36px; }
  .ge-mapa-trilha::before { top: 46px; }
  .ge-mapa-num { right: calc(50% - 46px); }
  .ge-mapa-fase small { font-size: 14px; }
  .ge-dupla .ge-ch-palco { height: clamp(240px, calc(100vh - 330px), 520px); }
}
/* Gente, o que é isso? deitado: as cartas de "cada lugar, um jeito" têm mais texto (a figura fica menor). */
@media (orientation: landscape) and (min-width: 760px) {
  .ge-oq-mundo .ge-oq-situacao { font-size: clamp(20px, 2.3vw, 32px); }
  .ge-oq-mundo .ge-oq-figura { font-size: clamp(40px, 4vw, 60px); }
  .ge-oq-mundo .ge-oq-texto strong { font-size: clamp(24px, 2.8vw, 42px); }
}
/* Ligue o gesto deitado (tablet e TV): depois da primeira tentativa, a faixa que ensina toma o lugar da mãozinha. */
@media (orientation: landscape) and (min-width: 760px) {
  .ge-lg-retorno:not(:empty) ~ .ge-dica { display: none; }
}
/* TV e computador: os dois mundos lado a lado, para o mapa e o botão de jogar caberem na tela. */
@media (orientation: landscape) and (min-width: 1000px) {
  .tela-gestos-adivinhe .corpo:has(> .ge-mapa) { max-width: 1180px; }
  .ge-mapa { grid-template-columns: 1fr 1fr; }
  .ge-mapa-mundo p { min-height: 2.6em; }
}
@media (prefers-reduced-motion: reduce) {
  .ge-mapa-atual .ge-mapa-bola, .ge-ensina, .ge-fase-intro { animation: none; }
}
