/* Pote de Gude — Área do Maçom (11/11/2026). Estilo do jogo original (pote-de-gude.netlify.app), com as classes
   trocadas por pg-* e tudo preso a .jogo-pote-de-gude (nada vaza para o painel). Fontes: as do sistema (sem baixar). */
.jogo-pote-de-gude {
  --noite: #0A0C0B; --noite-2: #121514; --noite-3: #1A1E1C; --tinta: #EDEFEA; --tinta-2: #A5ADA6;
  --linha: rgba(237, 239, 234, 0.10); --linha-2: rgba(237, 239, 234, 0.20); --acento: #FFD51D; --perigo: #FF5A4F;
  --serifa: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --saida: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
  position: relative; display: block; width: 100%; max-width: 620px; margin: 0 auto; box-sizing: border-box;
  height: 640px; height: min(calc(100dvh - 150px), 820px); min-height: 500px;
  overflow: hidden; border-radius: 18px; background: var(--noite); color: var(--tinta);
  font-family: var(--sans); font-size: 16px; line-height: 1.35;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior: none;
}
.jogo-pote-de-gude *, .jogo-pote-de-gude *::before, .jogo-pote-de-gude *::after { box-sizing: border-box; }
.jogo-pote-de-gude p { margin: 0; }
.jogo-pote-de-gude .pg-app { position: relative; height: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; }
.jogo-pote-de-gude .pg-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 16px 6px; }
.jogo-pote-de-gude .pg-placar { flex: 1; min-width: 0; }
.jogo-pote-de-gude .pg-pontos { font-family: var(--serifa); font-weight: 600; font-size: 44px; line-height: 0.95; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; transform-origin: left center; }
.jogo-pote-de-gude .pg-pontos.pg-pulo { animation: pg-pulo 220ms var(--saida); }
@keyframes pg-pulo { from { transform: scale(1.12); } to { transform: scale(1); } }
.jogo-pote-de-gude .pg-alvo { margin-top: 6px; max-width: 210px; }
.jogo-pote-de-gude .pg-alvo.pg-vazio { visibility: hidden; }
.jogo-pote-de-gude .pg-par { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--tinta-2); font-variant-numeric: lining-nums tabular-nums; }
.jogo-pote-de-gude .pg-par span:last-child { color: var(--tinta); white-space: nowrap; }
.jogo-pote-de-gude .pg-trilho { height: 4px; margin-top: 4px; border-radius: 2px; background: var(--linha); overflow: hidden; }
.jogo-pote-de-gude .pg-trilho i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--tinta); transform-origin: left center; transform: scaleX(0); transition: transform 240ms var(--saida), background-color 240ms; }
.jogo-pote-de-gude .pg-alvo.pg-passou .pg-trilho i { background: var(--acento); }
.jogo-pote-de-gude .pg-alvo.pg-passou .pg-par span:first-child { color: var(--acento); }
.jogo-pote-de-gude .pg-lado { display: flex; align-items: center; gap: 8px; }
.jogo-pote-de-gude .pg-proxima { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-right: 2px; font-size: 12px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-proxima canvas { display: block; width: 44px; height: 44px; }
.jogo-pote-de-gude .pg-bt { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--linha-2); border-radius: 12px; background: transparent; color: var(--tinta); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 120ms var(--saida), background-color 120ms; }
.jogo-pote-de-gude .pg-bt:active { transform: scale(0.94); background: var(--noite-3); }
.jogo-pote-de-gude .pg-bt svg { display: block; width: 22px; height: 22px; }
.jogo-pote-de-gude .pg-bt .pg-corte { display: none; }
.jogo-pote-de-gude .pg-bt.pg-mudo .pg-onda { display: none; }
.jogo-pote-de-gude .pg-bt.pg-mudo .pg-corte { display: inline; }
.jogo-pote-de-gude .pg-bt.pg-mudo { color: var(--tinta-2); }
.jogo-pote-de-gude .pg-palco { position: relative; flex: 1; min-height: 0; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.jogo-pote-de-gude .pg-tela { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.jogo-pote-de-gude .pg-palco::after { content: ''; position: absolute; inset: 0; background: rgba(10, 12, 11, 0.55); opacity: 0; pointer-events: none; transition: opacity 300ms; }
.jogo-pote-de-gude .pg-palco.pg-acabou { cursor: default; }
.jogo-pote-de-gude .pg-palco.pg-acabou::after { opacity: 1; }
.jogo-pote-de-gude .pg-dica, .jogo-pote-de-gude .pg-aviso { position: absolute; left: 16px; right: 16px; width: fit-content; margin: 0 auto; pointer-events: none; text-align: center; box-sizing: border-box; max-width: calc(100% - 32px); z-index: 2; }
.jogo-pote-de-gude .pg-dica { top: 40%; padding: 8px 16px; border: 1px solid var(--linha-2); border-radius: 999px; background: rgba(10, 12, 11, 0.78); color: var(--tinta); font-size: 17px; animation: pg-respira 1.6s ease-in-out infinite; }
@keyframes pg-respira { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.jogo-pote-de-gude .pg-aviso { top: 23%; transform: translateY(-8px); padding: 7px 15px; border-radius: 999px; background: var(--acento); color: var(--noite); font-size: 15px; font-weight: 600; opacity: 0; transition: opacity 180ms, transform 240ms var(--saida); }
.jogo-pote-de-gude .pg-aviso.pg-mostra { opacity: 1; transform: none; }
.jogo-pote-de-gude .pg-dica[hidden], .jogo-pote-de-gude .pg-aviso[hidden] { display: none; }
.jogo-pote-de-gude .pg-fim { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -46%); width: min(86%, 340px); box-sizing: border-box; padding: 22px 20px 20px; border: 1px solid var(--linha-2); border-radius: 22px; background: var(--noite-2); text-align: center; animation: pg-sobe 320ms var(--saida); }
.jogo-pote-de-gude .pg-fim[hidden] { display: none; }
@keyframes pg-sobe { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -46%); } }
.jogo-pote-de-gude .pg-fim p { margin: 0; }
.jogo-pote-de-gude .pg-fim-titulo { font-size: 15px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-fim-titulo.pg-festa { color: var(--acento); font-weight: 600; }
.jogo-pote-de-gude .pg-fim-pontos { margin-top: 2px; font-family: var(--serifa); font-weight: 600; font-size: 64px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }
.jogo-pote-de-gude .pg-fim .pg-fim-falta { margin-top: 12px; font-size: 17px; }
.jogo-pote-de-gude .pg-fim-falta b { font-family: var(--serifa); font-weight: 600; font-size: 23px; color: var(--acento); font-variant-numeric: lining-nums tabular-nums; }
.jogo-pote-de-gude .pg-fim .pg-fim-extra { margin-top: 8px; font-size: 14px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-jogar { width: 100%; height: 56px; margin-top: 18px; border: 0; border-radius: 14px; background: var(--tinta); color: var(--noite); font-family: var(--sans); font-size: 18px; font-weight: 600; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 120ms var(--saida), opacity 200ms; }
.jogo-pote-de-gude .pg-jogar:active { transform: scale(0.97); }
.jogo-pote-de-gude .pg-fim-acoes { display: flex; gap: 8px; margin-top: 18px; }
.jogo-pote-de-gude .pg-fim-acoes .pg-jogar { flex: 1; margin-top: 0; }
.jogo-pote-de-gude .pg-jogar:disabled { opacity: 0.45; cursor: default; }
.jogo-pote-de-gude .pg-base { padding: 6px 16px 10px; }
.jogo-pote-de-gude .pg-fila { display: block; width: 100%; height: 30px; }
.jogo-pote-de-gude .pg-destrave { margin-top: 6px; }
.jogo-pote-de-gude .pg-folha { position: absolute; inset: 0; z-index: 5; display: grid; align-items: end; background: rgba(5, 6, 6, 0.74); }
.jogo-pote-de-gude .pg-folha[hidden] { display: none; }
.jogo-pote-de-gude .pg-folha-caixa { padding: 18px 16px; border-top: 1px solid var(--linha-2); border-radius: 22px 22px 0 0; background: var(--noite-2); animation: pg-folha 280ms var(--saida); }
@keyframes pg-folha { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.jogo-pote-de-gude .pg-folha-titulo { margin: 0 0 4px; font-family: var(--serifa); font-weight: 600; font-size: 26px; line-height: 1.1; }
.jogo-pote-de-gude .pg-folha-sub { margin: 0 0 6px; font-size: 14px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-tema { width: 100%; display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--linha-2); border-radius: 14px; background: transparent; color: var(--tinta); font-family: var(--sans); text-align: left; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.jogo-pote-de-gude .pg-tema canvas { display: block; width: 132px; height: 36px; }
.jogo-pote-de-gude .pg-tema-nome { display: block; font-size: 17px; font-weight: 600; }
.jogo-pote-de-gude .pg-tema-info { display: block; margin-top: 1px; font-size: 13px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-tema.pg-atual { border-color: var(--tinta); }
.jogo-pote-de-gude .pg-tema:disabled { cursor: default; }
.jogo-pote-de-gude .pg-tema:disabled .pg-tema-nome { color: var(--tinta-2); }
.jogo-pote-de-gude .pg-tema:active:not(:disabled) { background: var(--noite-3); }
.jogo-pote-de-gude .pg-fechar { width: 100%; height: 50px; margin-top: 14px; border: 1px solid var(--linha-2); border-radius: 14px; background: transparent; color: var(--tinta); font-family: var(--sans); font-size: 16px; font-weight: 600; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.jogo-pote-de-gude .pg-fechar:active { background: var(--noite-3); }
@media (hover: hover) and (pointer: fine) {
  .jogo-pote-de-gude .pg-jogar:hover:not(:disabled) { background: #FFFFFF; }
}
@media (max-width: 380px) {
  .jogo-pote-de-gude .pg-topo { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .jogo-pote-de-gude .pg-lado { gap: 6px; }
  .jogo-pote-de-gude .pg-bt { width: 40px; height: 40px; }
  .jogo-pote-de-gude .pg-proxima canvas { width: 40px; height: 40px; }
  .jogo-pote-de-gude .pg-pontos { font-size: 40px; }
}
@media (max-height: 640px) {
  .jogo-pote-de-gude .pg-topo { padding-top: 6px; }
  .jogo-pote-de-gude .pg-pontos { font-size: 34px; }
  .jogo-pote-de-gude .pg-alvo { margin-top: 3px; }
  .jogo-pote-de-gude .pg-proxima span { display: none; }
  .jogo-pote-de-gude .pg-base { padding-bottom: 6px; }
  .jogo-pote-de-gude .pg-fila { height: 24px; }
  .jogo-pote-de-gude .pg-fim { padding: 16px 18px; }
  .jogo-pote-de-gude .pg-fim-pontos { font-size: 48px; }
  .jogo-pote-de-gude .pg-fim-acoes { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .jogo-pote-de-gude .pg-dica, .jogo-pote-de-gude .pg-fim, .jogo-pote-de-gude .pg-folha-caixa, .jogo-pote-de-gude .pg-pontos.pg-pulo { animation: none; }
  .jogo-pote-de-gude .pg-aviso, .jogo-pote-de-gude .pg-trilho i { transition: none; }
}

.jogo-pote-de-gude .pg-bt:focus-visible, .jogo-pote-de-gude .pg-jogar:focus-visible, .jogo-pote-de-gude .pg-tema:focus-visible, .jogo-pote-de-gude .pg-fechar:focus-visible, .jogo-pote-de-gude .pg-pausa:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .jogo-pote-de-gude .pg-bt:hover, .jogo-pote-de-gude .pg-tema:hover:not(:disabled), .jogo-pote-de-gude .pg-fechar:hover { background: var(--noite-2); }
}
@media (max-height: 640px) {
  .jogo-pote-de-gude .pg-jogar { height: 50px; }
}

/* ---------- Área do Maçom ---------- */
.jogo-pote-de-gude .pg-bt { font-size: 20px; line-height: 1; font-family: var(--sans); }
.jogo-pote-de-gude .pg-fim-servidor { margin-top: 8px; font-size: 13px; color: var(--acento); min-height: 1em; }
.jogo-pote-de-gude .pg-fim-servidor.pg-erro { color: var(--perigo); }
.jogo-pote-de-gude .pg-fim-servidor:empty { display: none; }
.jogo-pote-de-gude .pg-fim-acoes { margin-top: 18px; }
/* pausa: "Pausado — toque para continuar" */
.jogo-pote-de-gude .pg-pausa { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 100%; border: 0; background: rgba(5, 6, 6, 0.72); color: var(--tinta); font-family: var(--sans); cursor: pointer; touch-action: manipulation; }
.jogo-pote-de-gude .pg-pausa[hidden] { display: none; }
.jogo-pote-de-gude .pg-pausa strong { font-family: var(--serifa); font-size: 40px; font-weight: 600; }
.jogo-pote-de-gude .pg-pausa span { font-size: 16px; color: var(--tinta-2); }
.jogo-pote-de-gude .pg-pausa small { font-size: 12.5px; color: var(--tinta-2); opacity: .8; margin-top: 10px; max-width: 80%; text-align: center; }
.jogo-pote-de-gude .pg-pausa { cursor: pointer; }
.jogo-pote-de-gude .pg-recomecar { margin-top: 14px; background: transparent; color: var(--tinta-2); border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
/* tela cheia do site (jogos.js): o jogo ocupa a tela inteira, com as margens do iPhone */
.jogo-raiz.jogo-pote-de-gude.is-cheia { max-width: none; min-height: 0; border-radius: 0; background: var(--noite);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
@media (max-width: 575.98px) {
  .jogo-pote-de-gude { border-radius: 12px; height: min(calc(100dvh - 120px), 820px); }
}
