:root {
  --fundo: #071533;
  --fundo-2: #0f2350;
  --linha: rgba(16, 33, 63, 0.12);
  --texto: #10213f;
  --texto-2: #5a6681;
  --verde-texto: #0a8a3e;
  --lula: #e3262c;
  --lula-claro: #ff5157;
  --bolso: #0f9a49;
  --bolso-claro: #19c262;
  --amarelo: #ffdf00;
  --verde-zap: #25d366;
  --vivo: #2bd46b;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #f6f7fb; }
body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--texto);
  font: 15px/1.45 Inter, system-ui, -apple-system, sans-serif;
}
/* fundo claro: quadriculado bem leve + um "desfoque" de cor em cada canto */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(520px 420px at 0% 0%, rgba(227, 38, 44, 0.16), transparent 70%),
    radial-gradient(520px 420px at 100% 0%, rgba(0, 156, 59, 0.16), transparent 70%),
    radial-gradient(620px 420px at 0% 100%, rgba(0, 39, 118, 0.10), transparent 70%),
    radial-gradient(620px 420px at 100% 100%, rgba(255, 223, 0, 0.20), transparent 70%),
    linear-gradient(rgba(16, 33, 63, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(16, 33, 63, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    #f6f7fb;
}
/* símbolos do tema (estrela, losango, Congresso, nó) aparecendo mais nas bordas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/textura.svg") 0 0 / 240px 240px repeat;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, transparent 35%, #000 100%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, transparent 35%, #000 100%);
}
button { font: inherit; }
.cor-l { color: var(--lula); }
.cor-b { color: var(--verde-texto); }

/* ---------- cabeçalho ---------- */
.cabecalho {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
}
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; }
.selo { width: 48px; height: 48px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.marca-txt { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.marca-txt b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 24px; letter-spacing: 0.03em; text-transform: uppercase; }
.marca-txt small { margin-top: 4px; color: var(--verde-texto); font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.online {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--texto-2);
  white-space: nowrap;
}
.online i { width: 8px; height: 8px; border-radius: 50%; background: #5d6066; }
.online.vivo i { background: var(--vivo); animation: pulso 1.8s infinite; }
.online b { color: var(--texto); font-variant-numeric: tabular-nums; }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(43, 212, 107, 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(43, 212, 107, 0); }
}
.btn-anuncie {
  border: 1.5px solid var(--texto);
  background: rgba(255, 255, 255, 0.7);
  color: var(--texto);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-anuncie:hover { background: var(--texto); color: #fff; }

/* ---------- espaços de anúncio ---------- */
.espaco { position: relative; display: flex; justify-content: center; align-items: center; }
.espaco-topo { width: min(728px, calc(100% - 32px)); height: 90px; margin: 0 auto 10px; }
.espaco-lateral, .espaco-rodape { display: none; }

.vago {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
  border: 1.5px dashed rgba(16, 33, 63, 0.22);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: transparent;
  color: var(--texto-2);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.vago b { color: var(--texto); font-size: 14px; }
.vago:hover { border-color: var(--texto); color: var(--texto); }

.anuncio { display: block; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.anuncio img { display: block; width: 100%; height: 100%; object-fit: contain; }
.selo-pub {
  position: absolute;
  top: 3px;
  right: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #ddd;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}


/* ---------- palco ---------- */
.palco {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 20px;
}
.centro { display: flex; flex-direction: column; min-width: 0; max-width: 860px; width: 100%; margin: 0 auto; }

/* ---------- placar: a barrinha ---------- */
.placar { margin: 2px 0 14px; }
.manchete { margin: 0 0 10px; text-align: center; font-weight: 800; font-size: clamp(15px, 2.2vw, 19px); min-height: 1.45em; }
.placar-lados { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 8px; }
.pl { display: flex; align-items: baseline; gap: 10px; }
.pl-nome { font-family: Anton, Impact, sans-serif; font-size: clamp(22px, 4.2vw, 36px); line-height: 1; letter-spacing: 0.02em; }
.pl-l .pl-nome { color: var(--lula); }
.pl-b .pl-nome { color: var(--verde-texto); }
.pl-num { font-weight: 800; font-size: clamp(16px, 2.6vw, 24px); font-variant-numeric: tabular-nums; }
.barra {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b8a3f, #19c262);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 6px 16px rgba(16, 33, 63, 0.18);
}
.barra i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #b5141a, #ff3b41);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.barra-pct {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}
.barra-pct-l { left: 12px; }
.barra-pct-b { right: 12px; }
.barra-no {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e0b373, #8a5f2a);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.placar-info { display: flex; justify-content: space-between; gap: 8px; min-height: 1.4em; margin-top: 8px; color: var(--texto-2); font-size: 12.5px; }

/* ---------- arena: a cena (tocar aqui também puxa) ---------- */
.arena {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #3f74c4;
  box-shadow: 0 18px 40px rgba(16, 33, 63, 0.22), 0 0 0 1px rgba(16, 33, 63, 0.1);
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y; /* arrastar pro lado e pinça ficam com a cena (zoom/andar) */
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.3s;
}
.arena.arrastando { cursor: grabbing; }
.zoom { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.zoom button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
  color: #10213f;
  font: 800 15px/1 Inter, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  touch-action: manipulation;
}
.zoom button[data-zoom="todos"] { font-size: 12.5px; }
.zoom button:active { transform: scale(0.94); }
@media (max-width: 420px) { .zoom { right: 6px; bottom: 6px; gap: 4px; } .zoom button { min-width: 30px; height: 30px; font-size: 14px; } }
body.time-l .arena { box-shadow: 0 18px 40px rgba(16, 33, 63, 0.22), 0 0 0 2px rgba(255, 81, 87, 0.75); }
body.time-b .arena { box-shadow: 0 18px 40px rgba(16, 33, 63, 0.22), 0 0 0 2px rgba(25, 194, 98, 0.75); }
.cena { display: block; width: 100%; height: auto; }
.boneco .cara-ganhando, .boneco .cara-perdendo { display: none; }
.boneco.ganhando .cara-ganhando, .boneco.perdendo .cara-perdendo { display: inline; }
.boneco.ganhando:has(.cara-ganhando) .cara-normal,
.boneco.perdendo:has(.cara-perdendo) .cara-normal { display: none; }
.poeira {
  fill: rgba(228, 208, 168, 0.8);
  transform-box: fill-box;
  transform-origin: center;
  animation: poeira 0.9s ease-out forwards;
}
@keyframes poeira {
  from { opacity: 0.85; transform: translate(0, 0) scale(0.5); }
  to { opacity: 0; transform: translate(var(--dx), -16px) scale(1.8); }
}

/* ---------- ação: 1) escolher o lado  2) puxar ---------- */
.acao {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--linha);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 33, 63, 0.08);
  backdrop-filter: blur(6px);
}
.acao[hidden] { display: none; }
.acao-titulo { margin: 0 0 12px; font-family: Anton, Impact, sans-serif; font-size: 26px; letter-spacing: 0.03em; text-transform: uppercase; }
.passo-n {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--amarelo);
  color: #0a1f4d;
  font: 800 16px Inter, sans-serif;
  vertical-align: 4px;
}
.escolha-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-lado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), inset 0 -5px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.12s;
}
.btn-lado b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 26px; line-height: 1.05; letter-spacing: 0.02em; }
.btn-lado img { width: 54px; height: auto; flex-shrink: 0; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35)); }
.btn-lado-l { background: linear-gradient(180deg, #ff4148, #b5141a); }
.btn-lado-b { background: linear-gradient(180deg, #1bc866, #08793a); }
.btn-lado-b b { color: var(--amarelo); }
.btn-lado:hover { transform: translateY(-2px); }
.btn-lado:active { transform: translateY(1px); }
.acao-dica { margin: 12px 0 0; color: var(--texto-2); font-size: 13.5px; }
.escolha.chamar { animation: chamar 0.6s 2; }
@keyframes chamar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 223, 0, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 223, 0, 0.6); }
}

.btn-puxar {
  width: 100%;
  padding: 16px 12px 14px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-family: Anton, Impact, sans-serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38), inset 0 -6px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.06s;
  animation: chamar-puxar 1.8s infinite;
}
.btn-puxar small { display: block; margin-top: 6px; font: 800 13px Inter, sans-serif; letter-spacing: 0.03em; opacity: 0.92; }
body.time-l .btn-puxar { background: linear-gradient(180deg, #ff4148, #b5141a); }
body.time-b .btn-puxar { background: linear-gradient(180deg, #1bc866, #08793a); }
body.time-b .btn-puxar small { color: var(--amarelo); }
.btn-puxar.puxou { transform: scale(0.97) translateY(2px); }
@keyframes chamar-puxar {
  0%, 100% { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38), inset 0 -6px 0 rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38), inset 0 -6px 0 rgba(0, 0, 0, 0.22), 0 0 0 7px rgba(255, 255, 255, 0); }
}
.status { margin: 12px 0 2px; color: var(--texto-2); font-size: 13.5px; }
.status b { color: var(--verde-texto); }
.btn-sec {
  padding: 11px 10px;
  border: 1.5px solid rgba(16, 33, 63, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--texto);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 33, 63, 0.08);
  transition: transform 0.12s, border-color 0.12s;
}
.btn-sec:hover { transform: translateY(-1px); border-color: rgba(16, 33, 63, 0.35); }
.btn-sec:active { transform: translateY(1px); }
/* "Chamar reforço": o botão de compartilhar, grande e chamativo */
.btn-reforco {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #8e44c9, #5e2696);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(94, 38, 150, 0.35), inset 0 -5px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.12s;
}
.btn-reforco:hover { transform: translateY(-2px); }
.btn-reforco:active { transform: translateY(1px); }
.icone-circ {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.icone-comp { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.reforco-txt b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.reforco-txt small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; opacity: 0.92; }
@media (max-width: 430px) { .reforco-txt small { font-size: 12px; } .reforco-txt b { font-size: 22px; } }
.btn-trocar { display: block; width: min(100%, 380px); margin: 12px auto 0; padding: 12px 18px; border-width: 2px; font-size: 15.5px; }
body.time-l .btn-trocar { border-color: #0f9a49; color: #0a8a3e; }
body.time-b .btn-trocar { border-color: #e3262c; color: #c41d23; }
body.time-l .btn-trocar:hover { background: #effaf3; }
body.time-b .btn-trocar:hover { background: #fdf0f0; }
.link { padding: 4px; border: 0; background: none; color: var(--texto-2); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--texto); }


.aviso-legal { max-width: 660px; margin: 16px auto 0; color: #6b7690; font-size: 11.5px; line-height: 1.55; text-align: center; }
.aviso-legal strong { color: var(--texto-2); font-weight: 600; }
.aviso-legal a { color: var(--texto-2); }

/* ---------- "+1" que sobe ---------- */
.efeitos { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.mais {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #fff;
  font: 800 26px Inter, sans-serif;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 2px 8px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  animation: subir 0.75s ease-out forwards;
}
.mais.cor-l { color: var(--lula); }
.mais.cor-b { color: var(--verde-texto); }
.mais.auto { font-size: 15px; animation-duration: 1.2s; }
@keyframes subir {
  from { opacity: 1; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 0; transform: translate(-50%, -190%) scale(1.2); }
}

/* ---------- PC: laterais aparecem ---------- */
@media (min-width: 1100px) {
  .palco { grid-template-columns: 160px minmax(0, 1fr) 160px; }
  .espaco-lateral { display: flex; position: sticky; top: 16px; align-self: start; width: 160px; height: 600px; }
}

/* laterais no celular/tablet: os dois lado a lado, entre a loja e o chat */
.laterais-celular { display: none; }
@media (max-width: 1099px) {
  .laterais-celular { display: flex; justify-content: center; gap: 12px; margin: 14px 0; }
  .espaco-lat-cel { width: min(160px, calc((100% - 12px) / 2)); aspect-ratio: 160 / 600; }
}

/* ---------- celular e tablet ---------- */
@media (max-width: 1099px) {
  .espaco-topo { width: min(320px, calc(100% - 32px)); height: 100px; }
  .espaco-rodape {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    height: calc(56px + env(safe-area-inset-bottom));
    padding: 3px 0 calc(3px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--linha);
  }
  .espaco-rodape > .vago, .espaco-rodape > .anuncio { width: 320px; max-width: calc(100% - 16px); height: 50px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

@media (max-width: 699px) {
  .cabecalho { gap: 10px; }
  .selo { width: 40px; height: 40px; }
  .marca-txt b { font-size: 19px; }
  .marca-txt small { font-size: 9px; letter-spacing: 0.16em; }
  .online .txt-agora { display: none; }
  .acao { padding: 14px 12px; }
  .acao-titulo { font-size: 22px; }
  .btn-lado { flex-direction: column; gap: 4px; text-align: center; padding: 10px 8px 12px; }
  .btn-lado b { font-size: 22px; }
  .btn-lado img { width: 48px; }
  .btn-puxar { font-size: 32px; }
}
@media (max-width: 430px) {
  .cabecalho { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .selo { width: 36px; height: 36px; }
  .marca { gap: 8px; }
  .marca-txt b { font-size: 17px; }
  .marca-txt small { font-size: 8.5px; letter-spacing: 0.12em; }
  .online .txt-puxando { display: none; }
  .btn-anuncie { padding: 5px 10px; font-size: 12px; }
}
@media (max-width: 359px) {
  .cabecalho { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .selo { width: 34px; height: 34px; }
  .marca-txt b { font-size: 16px; }
  .marca-txt small { display: none; }
  .online { font-size: 12px; }
  .btn-anuncie { padding: 5px 10px; font-size: 12px; }
}

/* ---------- modal de anúncio ---------- */
.modal {
  --texto: #f4f6fb;
  --texto-2: #aab6cc;
  --linha: rgba(255, 255, 255, 0.13);
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--fundo-2);
  color: var(--texto);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal::backdrop { background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(3px); }
#modal-corpo { padding: 24px 20px 20px; }
.fechar {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--texto);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal h2 {
  margin: 0 40px 4px 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.prova { margin: 0 0 18px; color: var(--texto-2); font-size: 13.5px; }
.prova b { color: var(--vivo); }
.modal fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.modal legend {
  margin-bottom: 8px;
  color: var(--texto-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.opcao {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--linha);
  border-radius: 14px;
  cursor: pointer;
}
.opcao input { margin-top: 3px; accent-color: var(--amarelo); }
.opcao .t { font-weight: 800; }
.opcao .d { color: var(--texto-2); font-size: 12.5px; }
.opcao .p { margin-left: auto; font-weight: 800; white-space: nowrap; }
.opcao .p small { color: var(--texto-2); font-weight: 600; }
.opcao:has(input:checked), .pacote:has(input:checked) { border-color: var(--amarelo); background: rgba(255, 214, 10, 0.06); }
.opcao:has(input:focus-visible), .pacote:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.pacotes { display: flex; gap: 8px; }
.pacote {
  position: relative;
  flex: 1;
  padding: 10px 6px;
  border: 1.5px solid var(--linha);
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.pacote input { position: absolute; opacity: 0; pointer-events: none; }
.pacote small { display: block; color: var(--vivo); font-size: 11.5px; font-weight: 700; }
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--linha);
}
.total b { font-size: 26px; font-weight: 800; }
.total s { margin-right: 8px; color: var(--texto-2); font-size: 14px; }
.regras { margin: 4px 0 16px; padding: 0; list-style: none; color: var(--texto-2); font-size: 12.5px; }
.regras li { margin-bottom: 2px; }
.regras li::before { content: "• "; }
.btn-pri {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--amarelo);
  color: #111;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-pri.zap { background: var(--verde-zap); color: #06210f; }
.link-sec {
  display: block;
  margin-top: 12px;
  border: 0;
  background: none;
  width: 100%;
  color: var(--texto-2);
  font-size: 13.5px;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}
.email-titulo { margin: 4px 0 8px; font-weight: 800; font-size: 14px; }
.email-caixa { margin-top: 10px; padding: 14px; border: 1px solid var(--linha); border-radius: 14px; text-align: center; }
.email-end { margin: 0; font-size: 17px; word-break: break-all; }
.email-cod { margin: 2px 0 12px; color: var(--texto-2); font-size: 13px; }
.email-cod b { color: var(--texto); }
.email-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.email-botoes .btn-pri { padding: 12px 6px; font-size: 14.5px; }
.btn-gmail { background: #fff; }
.email-caixa .link-sec { margin-top: 10px; }
.link-sec[hidden] { display: none; }
@media (max-width: 359px) { .email-botoes { grid-template-columns: 1fr; } }
.email-txt { margin: 10px 0 0; color: var(--texto-2); font-size: 13px; text-align: center; word-break: break-all; }
.email-txt b { color: var(--texto); }
.resumo-pedido { margin: 0 0 6px; color: var(--texto-2); font-size: 14px; }
.resumo-pedido b { color: var(--texto); }
.qr { width: 220px; height: 220px; margin: 12px auto; padding: 12px; border-radius: 14px; background: #fff; }
.qr svg { display: block; width: 100%; height: 100%; }
.copia {
  width: 100%;
  height: 62px;
  padding: 10px;
  border: 1px solid var(--linha);
  border-radius: 10px;
  background: var(--fundo);
  color: var(--texto-2);
  font: 11.5px/1.4 ui-monospace, Menlo, monospace;
  resize: none;
}
.btn-copiar { margin: 8px 0 4px; background: #fff; }
.passos { margin: 14px 0 16px; padding-left: 20px; font-size: 14px; }
.passos li { margin-bottom: 6px; }
.alerta { padding: 10px 12px; border-radius: 10px; background: rgba(255, 214, 10, 0.1); color: var(--amarelo); font-size: 13px; }

/* ---------- aviso rápido ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 50;
  padding: 10px 18px;
  border-radius: 18px;
  background: #10213f;
  color: #fff;
  width: max-content;
  max-width: calc(100% - 32px);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.toast.ver { opacity: 1; transform: translate(-50%, 0); }


/* ---------- loja de ajudantes ---------- */
.loja { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--linha); }
.loja[hidden] { display: none; }
.loja-titulo { margin: 0; font-family: Anton, Impact, sans-serif; font-size: 20px; letter-spacing: 0.03em; text-transform: uppercase; }
.loja-sub { margin: 2px 0 10px; color: var(--texto-2); font-size: 13px; }
.loja-sub b { color: var(--texto); }
.bonus-tempo { margin: 2px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.compra-dura { margin-top: 6px; font-size: 12.5px; opacity: 0.75; }
.compra-nome { display: grid; gap: 4px; margin: 10px 0; font-size: 13px; font-weight: 600; }
.compra-nome input { padding: 9px 12px; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: inherit; font: inherit; font-weight: 600; }
.aj-itens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.aj-item { min-width: 0; text-align: center; }
.aj-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px 10px;
  border: 1.5px solid var(--linha);
  border-radius: 14px;
  background: #fff;
  color: var(--texto);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s;
}
.aj-item img { width: auto; max-width: 100%; height: 74px; margin-bottom: 2px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2)); }
.aj-item b { font-size: 14px; }
.aj-item span { padding: 2px 10px; border-radius: 99px; background: var(--amarelo); color: #111; font-size: 13px; font-weight: 800; }
.aj-item:hover { transform: translateY(-2px); border-color: rgba(16, 33, 63, 0.3); }
.aj-item.tem { cursor: default; opacity: 0.9; }
.aj-item.tem:hover { transform: none; }
.aj-item.tem span { background: none; color: var(--verde-texto); padding: 2px 0; }
.aj-item small { color: var(--texto-2); font-size: 11px; font-weight: 600; }
.aj-item.gratis:not(.tem) span { background: var(--verde-texto); color: #fff; }
.aj-item.gratis:not(.tem) { border-color: var(--verde-texto); }
@media (max-width: 420px) {
  .aj-itens { gap: 5px; }
  .aj-item { padding: 6px 2px 8px; }
  .aj-item img { height: 60px; }
  .aj-item b { font-size: 12.5px; }
  .aj-item span { font-size: 12px; padding: 2px 7px; }
  .aj-item.tem span { font-size: 11.5px; }
  .aj-item small { font-size: 10px; }
}

/* janela de compra (usa o mesmo modal do anúncio) */
.compra-topo { display: flex; gap: 14px; align-items: center; margin: 10px 0 14px; }
.compra-topo img { height: 120px; width: auto; flex-shrink: 0; }
.compra-topo p { margin: 0 0 4px; color: var(--texto-2); font-size: 14px; }
.compra-topo b { color: var(--texto); }
.compra-preco { color: var(--texto) !important; font-size: 30px !important; font-weight: 800; }
.qr img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.esperando { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: var(--texto-2); font-size: 13.5px; text-align: center; }
.esperando i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--amarelo); animation: pulso 1.2s infinite; }

/* ---------- chat da torcida ---------- */
.chat { text-align: left; }
.chat-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chat-topo h2 { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; }
.chat-topo span { color: var(--texto-2); font-size: 12px; }
.chat-topo a, .regras a { color: inherit; }
.chat-lista {
  height: 230px;
  margin: 0;
  padding: 6px 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border-radius: 12px;
  background: rgba(16, 33, 63, 0.04);
  font-size: 14px;
}
.chat-lista li { position: relative; padding: 4px 30px 4px 8px; border-radius: 8px; overflow-wrap: anywhere; }
.chat-lista li:hover { background: rgba(16, 33, 63, 0.05); }
.chat-lista li b { font-weight: 800; }
.chat-lista li.minha { background: rgba(255, 223, 0, 0.14); }
.denunciar {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #a3abbd;
  font-size: 13px;
  cursor: pointer;
}
.denunciar:hover { background: rgba(227, 38, 44, 0.1); color: var(--lula); }
.denunciar:disabled { color: var(--lula); opacity: 0.5; cursor: default; }
.chat-vazio { margin: -150px 0 120px; color: var(--texto-2); font-size: 13.5px; text-align: center; pointer-events: none; }
.chat-vazio[hidden] { display: none; }
.chat-form { margin-top: 10px; }
.chat-eu { margin: 0 0 6px; color: var(--texto-2); font-size: 12.5px; }
.chat-eu .link { font-size: 12.5px; padding: 0; }
.chat-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--linha);
  border-radius: 12px;
  background: #fff;
  color: var(--texto);
  font: inherit;
  font-size: 16px; /* 16px: o iPhone não dá zoom ao tocar */
}
.chat-form input:focus { outline: none; border-color: #3f74c4; }
.chat-nome { margin-bottom: 8px; }
.chat-nome[hidden] { display: none; }
.chat-linha { display: flex; gap: 8px; }
.chat-enviar {
  flex-shrink: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #10213f;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.chat-erro { margin: 8px 0 0; color: var(--lula); font-size: 13px; font-weight: 600; }
.chat-erro[hidden] { display: none; }

/* ajudante chegando na cena */
.aj-pop { transform-box: fill-box; transform-origin: 50% 100%; animation: aj-chegou 0.7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes aj-chegou { from { transform: scale(0.2) translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .online.vivo i, .btn-puxar, .escolha.chamar, .aj-pop, .esperando i { animation: none; }
  .barra i, .barra-no { transition: none; }
}

/* ---------- anúncio: envio da arte e dados ---------- */
.campo { display: block; margin-bottom: 10px; }
.campo span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.campo small { color: var(--texto-2); font-weight: 500; }
.campo input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--linha);
  border-radius: 10px;
  background: var(--fundo);
  color: var(--texto);
  font: inherit;
  font-size: 15px;
}
.campo input:focus { outline: 2px solid var(--amarelo); outline-offset: 1px; }
.arte-campo {
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px dashed var(--linha);
  border-radius: 12px;
  cursor: pointer;
}
.arte-campo.ok { border-style: solid; border-color: var(--vivo); }
.arte-campo:hover { border-color: var(--amarelo); }
.arte-rot { display: block; margin-bottom: 6px; font-size: 13px; color: var(--texto-2); }
.arte-rot b { color: var(--texto); }
.arte-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  border-radius: 6px;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.06) 0 25%, transparent 0 50%) 0 0 / 16px 16px;
}
.arte-prev img { display: block; width: 100%; height: 100%; object-fit: contain; }
.arte-prev em { padding: 6px; color: var(--texto-2); font-size: 12.5px; font-style: normal; text-align: center; }
.arte-info { display: block; margin-top: 6px; color: var(--texto-2); font-size: 12px; }
[data-arte] .arte-prev[style*="160/600"] { width: auto; height: 220px; margin: 0 auto; }
.meus-pedidos { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 14px; }
.meus-pedidos .email-titulo { margin-top: 0; }
.pedido-st { margin: 4px 0 0; color: var(--texto-2); font-size: 13px; }
.pedido-st b { color: var(--texto); }
.pedido-st.st-no_ar span { color: var(--vivo); font-weight: 700; }
.pedido-st.st-revisao span { color: var(--amarelo); font-weight: 700; }
.alerta[hidden] { display: none; }
