/* Oráculo do Bicho · site
   Layout: céu de noite com estrelas (a identidade dos vídeos); folhas de papel creme pra leitura;
   cartas do tarô e bilhetes de PULE como peças de destaque; caderno pautado pros causos do Jorge. */
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/baloo-2-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/baloo-2-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/nunito-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/nunito-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/caveat-latin-700-normal.woff2) format('woff2'); }

:root {
  --ceu: #1a3cb4; --ceu-claro: #3466ea; --ceu-escuro: #0f2470; --noite: #0a1850;
  --papel: #fffaf0; --papel-2: #f5ead0; --pauta: #cddbee; --margem: #e2786a;
  --tinta: #1d1b2e; --tinta-suave: #514d6b;
  --texto: #ffffff; --texto-suave: #cdd9ff;
  --amarelo: #ffcd3c; --amarelo-claro: #fff1c2; --amarelo-sombra: #c9961a; --amarelo-luz: #ffd95e;
  --rosa: #ff4d8d; --rosa-claro: #ffdbe8; --rosa-sombra: #b8295d;
  --laranja: #ff7b2e; --laranja-claro: #ffe2cf;
  --verde: #22c178; --verde-claro: #d2f5e3; --verde-sombra: #14804f; --verde-tinta: #053d26; --verde-luz: #3ad98c;
  --ciano: #2ec5f0; --ciano-claro: #d3f3fc;
  --vidro: rgba(15, 36, 112, .45); --vidro-forte: rgba(15, 36, 112, .62); --vidro-claro: rgba(255, 255, 255, .1);
  --linha: rgba(255, 255, 255, .28); --linha-ouro: rgba(255, 205, 60, .45); --linha-papel: rgba(29, 27, 46, .16);
  --sombra: rgba(3, 8, 36, .38);
  --f-titulo: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --f-texto: 'Nunito', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --f-mao: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  --largura: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background-color: var(--noite); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  color: var(--texto); font-family: var(--f-texto); font-weight: 600; font-size: 17px; line-height: 1.55;
  background-color: var(--ceu);
  background-image:
    radial-gradient(1.6px 1.6px at 18px 26px, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(1.2px 1.2px at 132px 84px, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(1.8px 1.8px at 210px 160px, rgba(255, 241, 194, .9), transparent 70%),
    radial-gradient(1px 1px at 72px 190px, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(1.3px 1.3px at 250px 40px, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(ellipse 120% 900px at 50% 0, var(--ceu-claro), var(--ceu) 55%, transparent 100%),
    linear-gradient(var(--ceu) 0, var(--ceu-escuro) 1400px, var(--noite) 100%);
  background-size: 280px 240px, 280px 240px, 280px 240px, 280px 240px, 280px 240px, 100% 100%, 100% 100%;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--amarelo); color: var(--tinta); padding: 8px 14px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.pular:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--largura); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.leitura { max-width: 68ch; }
.wrap.leitura { max-width: var(--largura); }
.wrap.leitura > * { max-width: 780px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 800; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.marca-titulo {
  color: var(--amarelo); letter-spacing: .005em;
  text-shadow: 3px 3px 0 var(--rosa), 6px 6px 0 rgba(15, 36, 112, .55);
}
.h1 { font-size: clamp(38px, 7.4vw, 64px); }
.h2 { font-size: clamp(28px, 4.6vw, 40px); color: var(--amarelo); }
.h3 { font-size: clamp(21px, 3vw, 25px); }
.olho { font-family: var(--f-titulo); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--texto-suave); font-weight: 700; }
.lead b { color: var(--texto); }
.nota { font-size: 14px; color: var(--texto-suave); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px;
  font-family: var(--f-titulo); font-weight: 800; font-size: 19px; line-height: 1.1; text-decoration: none; text-align: center;
  transition: transform .12s, box-shadow .12s, background-color .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px); }
.btn-amarelo { color: var(--tinta); background: var(--amarelo); box-shadow: 0 6px 0 var(--amarelo-sombra), 0 12px 24px var(--sombra); }
.btn-amarelo:hover { background: var(--amarelo-luz); }
.btn-amarelo:active { box-shadow: 0 2px 0 var(--amarelo-sombra); }
.btn-zap { color: var(--verde-tinta); background: var(--verde); box-shadow: 0 6px 0 var(--verde-sombra), 0 12px 24px var(--sombra); }
.btn-zap:hover { background: var(--verde-luz); }
.btn-zap:active { box-shadow: 0 2px 0 var(--verde-sombra); }

.btn-vidro { color: var(--texto); background: var(--ceu-escuro); border: 2px solid var(--linha); min-height: 48px; padding: 10px 20px; font-size: 17px; }
.btn-vidro:hover { border-color: var(--amarelo); }
.btn-tinta { color: var(--tinta); background: transparent; border: 2px solid rgba(29, 27, 46, .25); min-height: 46px; padding: 8px 18px; font-size: 16px; }
.btn-tinta:hover { border-color: var(--rosa); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px 12px; align-items: center; }

/* ---------- Cabeçalho ---------- */
.topo { position: relative; z-index: 5; padding-block: 14px 6px; }
.topo-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.logo { order: 1; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo svg { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 8px var(--sombra)); }
.logo span { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(22px, 5.4vw, 28px); line-height: 1; color: var(--amarelo); text-shadow: 2px 2px 0 var(--rosa); white-space: nowrap; }
.topo .btn-zap { order: 2; min-height: 44px; padding: 8px 16px; font-size: 16px; white-space: nowrap; box-shadow: 0 4px 0 var(--verde-sombra); }
.topo .wrap { max-width: 1260px; }
.topo .btn-zap .curto { display: none; }
.menu { order: 3; flex-basis: 100%; min-width: 0; }
.menu ul { list-style: none; margin: 0; padding: 0 2px 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu ul::-webkit-scrollbar { display: none; }
.menu a {
  display: block; white-space: nowrap; text-decoration: none; padding: 7px 14px; border-radius: 999px;
  font-family: var(--f-titulo); font-weight: 700; font-size: 16px; color: var(--texto); background: var(--vidro); border: 2px solid transparent;
}
.menu a:hover { border-color: var(--linha-ouro); }
.menu a[aria-current="page"] { background: var(--amarelo); color: var(--tinta); }
@media (max-width: 520px) {
  .topo .btn-zap .longo { display: none; }
  .topo .btn-zap .curto { display: inline; }
}
@media (min-width: 1180px) {
  .topo-linha { flex-wrap: nowrap; }
  .menu { order: 2; flex-basis: auto; }
  .menu ul { padding-bottom: 0; gap: 6px; }
  .menu a { font-size: 15.5px; padding: 6px 12px; }
  .topo .btn-zap { order: 3; }
}

/* ---------- Trilha (breadcrumb) ---------- */
.trilha { font-size: 14px; color: var(--texto-suave); padding-block: 10px 4px; }
.trilha ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.trilha li + li::before { content: '›'; margin-right: 8px; color: var(--linha-ouro); }
.trilha a { color: var(--texto); text-decoration-color: var(--linha-ouro); text-underline-offset: 3px; }

/* ---------- Seções ---------- */
.secao { padding-block: clamp(30px, 5vw, 56px); }
.secao-cab { display: flex; flex-direction: column; gap: 8px; margin-bottom: clamp(16px, 2.6vw, 24px); }
.secao-cab .lead { max-width: 60ch; }

/* ---------- Herói ---------- */
.hero { padding-block: clamp(14px, 3vw, 34px) clamp(18px, 3vw, 36px); }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-areas: "tit carta" "lead carta" "acoes acoes"; gap: 16px 18px; align-items: start; }
.hero-txt { display: contents; }
.hero-tit { grid-area: tit; display: flex; flex-direction: column; gap: 10px; }
.hero-tit h1 { font-size: clamp(44px, 10.5vw, 92px); line-height: .92; }
.hero .lead { grid-area: lead; }
.hero .acoes { grid-area: acoes; }
.hero .carta-jorge { grid-area: carta; }
@media (min-width: 860px) {
  .hero-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); grid-template-areas: "txt carta"; gap: 56px; align-items: center; }
  .hero-txt { grid-area: txt; display: flex; flex-direction: column; gap: 24px; }
  .hero .lead { max-width: 34ch; font-size: 21px; }
}

/* A carta do Jorge: retrato numa carta de tarô, com dois versos em leque atrás */
.carta-jorge { position: relative; margin: 0; padding: 10px 14px 18px 4px; }
.carta-jorge .leque { position: absolute; inset: 10px 14px 18px 4px; }
.carta-jorge .leque i {
  position: absolute; inset: 0; border-radius: 18px;
  background-color: var(--rosa);
  background-image: radial-gradient(circle, var(--amarelo) 0 1.6px, transparent 2.1px), radial-gradient(circle, rgba(255, 255, 255, .55) 0 1.1px, transparent 1.6px);
  background-size: 16px 16px; background-position: 0 0, 8px 8px;
  box-shadow: inset 0 0 0 5px var(--papel), inset 0 0 0 8px var(--rosa), inset 0 0 0 10px var(--amarelo), 0 10px 22px var(--sombra);
}
.carta-jorge .leque i:nth-child(1) { transform: translate(7%, 3%); opacity: .55; }
.carta-jorge .leque i:nth-child(2) { transform: translate(3.5%, 1.5%); }
.cj-moldura {
  position: relative; background: var(--papel); border-radius: 20px; padding: 8px 8px 0;
  box-shadow: 0 18px 34px var(--sombra);
}
.cj-moldura::after { content: ''; position: absolute; inset: 5px; border: 2.5px solid var(--amarelo); border-radius: 15px; pointer-events: none; }
.cj-moldura img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 13px; background: #6b4a2b; }
.cj-nome { display: block; text-align: center; padding: 7px 4px 9px; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(11px, 2.6vw, 17px); letter-spacing: .04em; text-transform: uppercase; color: var(--tinta); white-space: nowrap; }

/* ---------- Papel ---------- */
.papel { background: var(--papel); color: var(--tinta); border-radius: 24px; box-shadow: 0 14px 30px var(--sombra); padding-block: 20px 22px; padding-inline: clamp(16px, 3vw, 30px); }
.papel :focus-visible { outline-color: var(--rosa); }
.papel .h2, .papel .h3 { color: var(--tinta); }
.papel .nota, .papel .lead { color: var(--tinta-suave); }
.papel a { color: var(--tinta); text-decoration-color: var(--rosa); text-underline-offset: 3px; }
.vidro { background: var(--vidro); border-radius: 24px; padding-block: 18px 20px; padding-inline: clamp(16px, 3vw, 28px); }

/* ---------- Mesa do Oráculo ---------- */
.mesa-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 14px; }
.ceu-chip { display: flex; align-items: center; gap: 10px; background: var(--vidro); border-radius: 999px; padding: 5px 16px 5px 6px; min-width: 0; }
.ceu-chip svg { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 217, 131, .55)); }
.ceu-chip .lua-sul { transform: scaleX(-1); }
.ceu-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ceu-rot { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }
.ceu-data { font-family: var(--f-titulo); font-weight: 700; font-size: 17px; }
.ceu-fase { font-size: 14px; color: var(--amarelo); font-weight: 800; }
.mesa-ctrl { display: flex; align-items: center; gap: 10px; }
.cota { display: flex; align-items: center; gap: 10px; background: var(--vidro); border-radius: 999px; padding: 6px 8px 6px 16px; }
.cota-txt { font-size: 14px; color: var(--texto-suave); font-weight: 800; white-space: nowrap; }
.cota-txt b { color: var(--texto); font-family: var(--f-titulo); font-size: 17px; font-variant-numeric: tabular-nums; }
.cota ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.cota li { width: 22px; aspect-ratio: 5 / 8; border-radius: 5px; background-color: var(--rosa); background-image: radial-gradient(circle, var(--amarelo) 0 1px, transparent 1.4px); background-size: 6px 6px; box-shadow: inset 0 0 0 1.5px var(--papel), inset 0 0 0 2.5px var(--amarelo); }
.cota li.usada { background: var(--papel); box-shadow: inset 0 0 0 2px var(--c, var(--amarelo)); }
.btn-som { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--vidro); color: var(--texto); border: 2px solid var(--linha); padding: 0; flex: none; }
.btn-som svg { width: 22px; height: 22px; }
.btn-som .off { display: none; }
.btn-som[aria-pressed="false"] { color: var(--texto-suave); }
.btn-som[aria-pressed="false"] .on { display: none; }
.btn-som[aria-pressed="false"] .off { display: block; }

.mesa {
  position: relative; overflow: clip;
  background: rgba(15, 36, 112, .38); border: 3px dashed var(--linha-ouro); border-radius: 28px;
  padding-block: clamp(16px, 3vh, 28px) clamp(14px, 2.4vh, 22px); padding-inline: clamp(10px, 3vw, 28px);
}
.spread { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 3vw, 28px); justify-items: center; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: min(210px, 27vh); min-width: 0; text-align: center; }
.lugar { position: relative; width: 100%; max-width: 100%; aspect-ratio: 5 / 8; border: 3px dashed var(--linha); border-radius: 16px; }
.lugar-marca { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(32px, 9vw, 60px); color: rgba(255, 255, 255, .25); }
.lugar::before { content: ''; position: absolute; inset: -45%; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255, 241, 194, .9), rgba(255, 205, 60, .35) 30%, rgba(255, 205, 60, 0) 60%); }
.lugar.brilho::before { animation: brilho 1.3s ease-out forwards; }
@keyframes brilho { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.2); } }
.slot-rotulo { display: flex; flex-direction: column; line-height: 1.15; }
.pos { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(15px, 4vw, 21px); color: var(--amarelo); }
.papel-slot { font-size: clamp(12px, 3.3vw, 15px); color: var(--texto-suave); }

.baralho { position: absolute; z-index: 2; transition: opacity .5s ease, transform .5s ease; }
.baralho.vazio { opacity: 0; transform: scale(.92); pointer-events: none; }
.mesa[data-estado="inicio"] .baralho, .mesa[data-estado="embaralhado"] .baralho { cursor: pointer; }
.mesa[data-estado="inicio"] .baralho:not(.vazio) { animation: respirar 2.6s ease-in-out infinite; }
@keyframes respirar { 0%, 100% { transform: none; } 50% { transform: translateY(-4px) scale(1.015); } }
.dc { position: absolute; inset: 0; translate: calc(var(--i) * -1.4px) calc(var(--i) * -1.6px); }
.baralho .dc .verso { box-shadow: inset 0 0 0 6px var(--papel), inset 0 0 0 10px var(--rosa), inset 0 0 0 13px var(--amarelo), 0 10px 22px var(--sombra), 0 0 calc(var(--energia, 0) * 9px) calc(var(--energia, 0) * 2px) rgba(255, 205, 60, calc(var(--energia, 0) * .14)); transition: box-shadow .6s; }
.baralho.riffle .dc:nth-child(odd) { animation: riffleE 1s cubic-bezier(.45, 0, .55, 1) calc(var(--i) * 28ms) 2 both; }
.baralho.riffle .dc:nth-child(even) { animation: riffleD 1s cubic-bezier(.45, 0, .55, 1) calc(var(--i) * 28ms) 2 both; }
@keyframes riffleE { 0%, 100% { transform: none; } 28% { transform: translate(-52%, -1%) rotate(-6deg); } 46% { transform: translate(-44%, -8%) rotate(-13deg); } 64% { transform: translate(-9%, -3%) rotate(-3deg); } }
@keyframes riffleD { 0%, 100% { transform: none; } 28% { transform: translate(52%, -1%) rotate(6deg); } 46% { transform: translate(44%, -8%) rotate(13deg); } 64% { transform: translate(9%, -3%) rotate(3deg); } }
.baralho.cortando .dc:nth-child(n+5) { animation: corte .75s cubic-bezier(.45, 0, .55, 1) calc((var(--i) - 4) * 40ms) 2 both; }
@keyframes corte { 0% { transform: none; z-index: 20; } 45% { transform: translateX(64%) rotate(4deg); z-index: 20; } 50% { transform: translateX(64%) rotate(4deg); z-index: 0; } 100% { transform: none; z-index: 0; } }
.baralho.cortando .dc:nth-child(-n+4) { animation: corteB .75s cubic-bezier(.45, 0, .55, 1) 2; }
@keyframes corteB { 0%, 100% { transform: none; } 45%, 50% { transform: translateX(-14%) rotate(-3deg); } }
.baralho.leque .dc { transform-origin: 50% 100%; animation: leque 1.5s cubic-bezier(.4, 0, .2, 1) calc(var(--i) * 30ms) 1 both; }
@keyframes leque { 0%, 100% { transform: none; } 35%, 65% { transform: translateY(-3%) rotate(calc((var(--i) - 3) * 9deg)); } }
.baralho.juntando .dc { animation: juntar .32s ease-out 1; }
@keyframes juntar { 0% { transform: translateY(-4%) scale(1.02); } 60% { transform: translateY(1%) scale(.99); } 100% { transform: none; } }
.aura {
  display: block; width: fit-content; max-width: 100%; margin: 14px auto 0; visibility: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--f-titulo); font-weight: 800; font-size: clamp(14px, 3.9vw, 19px); line-height: 1.2;
  background: var(--ceu-escuro); color: var(--amarelo); border: 2px solid var(--amarelo); border-radius: 999px; padding: 5px 16px; box-shadow: 0 6px 18px var(--sombra);
}
.aura.ativa { visibility: visible; }
.aura.pulso { animation: pulso .5s ease-out; }
@keyframes pulso { 0% { transform: scale(.8); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.mesa[data-estado="completo"] .aura { display: none; }

.verso {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background-color: var(--rosa);
  background-image: radial-gradient(circle, var(--amarelo) 0 1.8px, transparent 2.3px), radial-gradient(circle, rgba(255, 255, 255, .55) 0 1.2px, transparent 1.7px);
  background-size: 18px 18px, 18px 18px; background-position: 0 0, 9px 9px;
  box-shadow: inset 0 0 0 6px var(--papel), inset 0 0 0 10px var(--rosa), inset 0 0 0 13px var(--amarelo), 0 10px 22px var(--sombra);
}
.verso-selo { width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--ceu-escuro); box-shadow: 0 0 0 5px var(--amarelo), 0 0 0 9px var(--ceu-escuro); display: grid; place-items: center; }
.verso-selo svg { width: 70%; height: 70%; }

/* Carta (frente): usada na mesa, na ficha do bicho e na resposta do sonho */
.card { position: absolute; inset: 0; z-index: 3; perspective: 1300px; container-type: inline-size; transition: transform .25s ease; border-radius: 16px; }
.mesa[data-estado="revelando"] .card:not(.virada) { cursor: pointer; animation: convidar 1.9s ease-in-out infinite; }
.mesa[data-estado="revelando"] .slot:nth-child(2) .card:not(.virada) { animation-delay: .25s; }
.mesa[data-estado="revelando"] .slot:nth-child(3) .card:not(.virada) { animation-delay: .5s; }
@keyframes convidar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.mesa[data-estado="revelando"] .card:not(.virada):hover, .mesa[data-estado="revelando"] .card:not(.virada):focus-visible { transform: translateY(-8px) rotate(-1.5deg); }
.inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .7, .2, 1.15); }
.card.virada .inner { transform: rotateY(180deg); }
.card.sem-transicao .inner { transition: none; }
.face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { transform: rotateY(180deg); }
.frente {
  overflow: hidden; background: var(--papel); color: var(--tinta);
  border: 3px solid var(--c); border: max(2px, 2.6cqw) solid var(--c); box-shadow: 0 12px 26px var(--sombra);
  display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; align-items: center;
  gap: 3px; padding: 6px 5px 7px; gap: 2.4cqw; padding: 5cqw 4cqw 6cqw; border-radius: 16px;
}
.pill { font-family: var(--f-titulo); font-weight: 800; font-size: 11px; font-size: max(10px, 8cqw); line-height: 1.2; background: var(--c); color: var(--tinta); border-radius: 999px; padding: 1px 6px; padding: .6cqw 5cqw; white-space: nowrap; }
.f-arte { position: relative; width: 80%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--c); border: max(1.5px, 1.6cqw) solid var(--c); background: var(--papel); }
.f-arte::before { content: ''; position: absolute; inset: -25%; background: repeating-conic-gradient(var(--c2) 0deg 12deg, var(--papel) 12deg 24deg); }
.card.virada .f-arte::before, .carta-fixa .f-arte::before { animation: girar 30s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.f-arte svg { position: absolute; left: 13%; top: 13%; width: 74%; height: 74%; }
.f-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 14px; font-size: max(13px, 13.5cqw); line-height: 1; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.dezenas { display: flex; gap: 2px; gap: max(2px, 2cqw); justify-content: center; font-family: var(--f-titulo); font-weight: 800; font-size: 11px; font-size: max(10px, 8.6cqw); line-height: 1.25; font-variant-numeric: tabular-nums; }
.dezenas span { padding: 0 3px; padding: 0 max(3px, 2.2cqw); border-radius: 999px; background: var(--c2); }
.dezenas .marcada { background: var(--c); box-shadow: 0 0 0 1.5px var(--tinta); box-shadow: 0 0 0 max(1.2px, .9cqw) var(--tinta); }
.carta-fixa { position: relative; width: 100%; aspect-ratio: 5 / 8; container-type: inline-size; }
.carta-fixa .frente { position: absolute; inset: 0; }

.comandos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.comandos .btn-amarelo { min-width: min(100%, 15ch); font-size: clamp(20px, 5.4vw, 24px); padding-inline: 34px; }

/* Bilhetes de PULE: canhoto na cor do bicho, picote e janelinhas de sorteio */
.palpite { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 12px; }
.palpite.surgir { animation: surgir .55s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes surgir { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.palpite-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; }
.palpite-topo h3 { font-size: clamp(25px, 6.6vw, 34px); line-height: 1; }
.palpite-topo h3 span { color: var(--rosa); }
.etiqueta { font-size: 14px; font-weight: 800; background: var(--amarelo-claro); color: var(--tinta); border-radius: 999px; padding: 3px 12px; }
.como-le { font-size: 15px; line-height: 1.45; color: var(--tinta-suave); }
.como-le b { font-family: var(--f-titulo); color: var(--tinta); }
.bilhetes { container-type: inline-size; display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.bilhete { --stub: clamp(78px, 14cqw, 128px); --fs: clamp(26px, 5.3cqw, 50px); --raio: 20px; --furo: 10px; position: relative; display: grid; grid-template-columns: var(--stub) minmax(0, 1fr); color: var(--tinta); }
.bilhete.espera { opacity: 0; }
.b-forma { position: absolute; inset: 0; filter: drop-shadow(0 8px 12px rgba(29, 27, 46, .2)); pointer-events: none; }
.b-forma::before, .b-sol, .b-luz {
  -webkit-mask: radial-gradient(circle var(--furo) at var(--fx) 0, #0000 calc(var(--furo) - .5px), #000 var(--furo)) top / 100% 51% no-repeat, radial-gradient(circle var(--furo) at var(--fx) 100%, #0000 calc(var(--furo) - .5px), #000 var(--furo)) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--furo) at var(--fx) 0, #0000 calc(var(--furo) - .5px), #000 var(--furo)) top / 100% 51% no-repeat, radial-gradient(circle var(--furo) at var(--fx) 100%, #0000 calc(var(--furo) - .5px), #000 var(--furo)) bottom / 100% 51% no-repeat;
}
.b-forma::before { --fx: var(--stub); content: ''; position: absolute; inset: 0; border-radius: var(--raio); background: linear-gradient(90deg, var(--c) var(--stub), var(--c2) var(--stub)); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 46, .08); }
.b-sol { --fx: 100%; position: absolute; left: 0; top: 0; bottom: 0; width: var(--stub); overflow: hidden; border-radius: var(--raio) 0 0 var(--raio); }
.b-sol::before { content: ''; position: absolute; left: 50%; top: 58%; width: 260%; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(rgba(255, 255, 255, .28) 0deg 9deg, rgba(255, 255, 255, 0) 9deg 18deg); animation: girar 48s linear infinite; }
.b-sol::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 62%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
.b-marca { position: absolute; top: 0; bottom: 0; right: 0; left: calc(var(--stub) + 12px); overflow: hidden; border-radius: 0 var(--raio) var(--raio) 0; }
.b-marca svg { position: absolute; right: -3%; top: 50%; height: 175%; width: auto; aspect-ratio: 1; translate: 0 -50%; rotate: -10deg; filter: brightness(0); opacity: .07; }
.b-luz { --fx: var(--stub); position: absolute; inset: 0; border-radius: var(--raio); overflow: hidden; }
.b-luz::before { content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); transform: translateX(-130%) skewX(-18deg); }
.bilhete.brilha .b-luz::before { animation: luzB 1.1s cubic-bezier(.3, .6, .3, 1); }
@keyframes luzB { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(430%) skewX(-18deg); } }
.b-picote { position: absolute; left: calc(var(--stub) - 1px); top: calc(var(--furo) + 5px); bottom: calc(var(--furo) + 5px); border-left: 2px dashed rgba(29, 27, 46, .32); }
.b-canhoto { position: relative; z-index: 1; min-height: 84px; }
.b-bicho { position: absolute; left: 7%; bottom: 7%; width: 86%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 6px 6px rgba(29, 27, 46, .28)); transform-origin: 50% 90%; animation: flutua 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.2s); }
@keyframes flutua { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6%) rotate(2deg); } }
.b-corpo { position: relative; z-index: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; padding-block: 14px; padding-inline: clamp(18px, 2.8cqw, 28px) clamp(14px, 2.2cqw, 22px); }
.b-nome { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b-pos { font-size: clamp(11px, 1.45cqw, 13px); font-weight: 800; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.b-nome strong { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(21px, 3.6cqw, 36px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.b-nome a { text-decoration: none; }
.b-numeros { display: flex; align-items: flex-end; gap: clamp(6px, 1.2cqw, 12px); flex: none; }
.b-campo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.b-rot { font-size: clamp(10px, 1.3cqw, 12.5px); font-weight: 800; line-height: 1; letter-spacing: .09em; text-transform: uppercase; color: var(--tinta-suave); }
.b-jan {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 1.22em; padding-inline: .2em; border-radius: .2em;
  font-family: var(--f-titulo); font-weight: 800; font-size: var(--fs); line-height: 1; font-variant-numeric: tabular-nums; color: var(--tinta); background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(29, 27, 46, .1), inset 0 .17em .2em -.15em rgba(29, 27, 46, .32), inset 0 -.17em .2em -.15em rgba(29, 27, 46, .32);
}
.b-rolos { display: flex; align-items: center; }
.rolo { display: block; height: 1.2em; overflow: hidden; -webkit-mask: linear-gradient(#0000, #000 14%, #000 86%, #0000); mask: linear-gradient(#0000, #000 14%, #000 86%, #0000); }
.fita { display: block; }
.fita i { display: flex; align-items: center; justify-content: center; height: 1.2em; font-style: normal; }
.b-jan.gira .fita, .bilhete.parado .fita { transform: translateY(calc(var(--n) * -1.2em)); }
.b-jan.gira .fita { transition: transform var(--dur, .8s) cubic-bezier(.15, .8, .25, 1.03) var(--atr, 0s); }
.b-fim { display: flex; align-items: center; height: 1.02em; margin-left: .05em; padding-inline: .03em; border-radius: .18em; transition: background-color .25s, box-shadow .25s; }
.b-jan.pronto .b-fim, .bilhete.parado .b-fim { background: var(--c); box-shadow: 0 0 0 .05em var(--tinta); }
.b-jan.assentou { animation: assentar .45s ease-out; }
@keyframes assentar { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.bilhete.entra { animation: bEntra .6s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes bEntra { from { opacity: 0; transform: translateX(-30px) rotate(-1.4deg); } to { opacity: 1; transform: none; } }
.bilhete.entra .b-bicho { animation: bPula .75s cubic-bezier(.2, .9, .3, 1.45) .12s both, flutua 3.6s ease-in-out calc(.9s + var(--i, 0) * .4s) infinite; }
@keyframes bPula { from { opacity: 0; transform: translateY(30%) scale(.3); } to { opacity: 1; transform: none; } }
@container (max-width: 760px) { .bilhete { --fs: clamp(24px, 7.6cqw, 48px); } .b-corpo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; } }
@container (max-width: 470px) { .bilhete { --stub: 72px; --raio: 16px; --furo: 8px; } .b-corpo { padding: 11px 10px 12px 14px; gap: 6px; } .b-numeros { gap: 5px; } }
.frase { font-style: normal; font-family: var(--f-mao); font-weight: 700; font-size: clamp(26px, 6vw, 32px); line-height: 1.15; color: var(--tinta); text-wrap: balance; }
.frase::before { content: '“'; } .frase::after { content: '”'; }
.palpite-acoes { display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.compartilhar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compartilhar .btn { font-size: 17px; min-height: 50px; padding-inline: 14px; }
.volte { width: 100%; background: var(--amarelo-claro); color: var(--tinta); border-radius: 16px; padding: 12px 16px; text-align: center; font-size: 16px; line-height: 1.35; }
.volte b { font-family: var(--f-titulo); }
.aviso-mini { font-size: 13.5px; color: var(--tinta-suave); text-align: center; }
@media (max-width: 420px) { .compartilhar { grid-template-columns: minmax(0, 1fr); } }

.tiragens { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.tiragens h3 { font-size: 21px; color: var(--amarelo); }
.tiragens ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tiragens li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; column-gap: clamp(10px, 3vw, 18px); row-gap: 6px; background: var(--vidro-claro); border-radius: 16px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.tiragens .t-cab { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amarelo); }
.t-b { display: flex; align-items: center; gap: 8px; min-width: 0; }
.t-arte { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--papel); border: 2.5px solid var(--c); display: grid; place-items: center; }
.t-arte svg { width: 22px; height: 22px; }
.t-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; line-height: 1.05; overflow-wrap: anywhere; }
.t-nome small { display: block; font-family: var(--f-texto); font-size: 12px; color: var(--texto-suave); }
.tiragens li > b { font-family: var(--f-titulo); font-weight: 800; font-size: 17px; text-align: right; }

/* Modal da imagem pra compartilhar */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(5, 10, 40, .82); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-caixa { width: min(420px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.modal-caixa img { width: min(300px, 70vw); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.modal-caixa p { color: var(--texto); font-weight: 800; }

/* ---------- Grade dos 25 bichos ---------- */
.grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(5px, 1.2vw, 10px); }
.grade a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; height: 100%;
  background: var(--papel); color: var(--tinta); border: 3px solid var(--c); border-radius: 14px; padding: 6px 3px 7px; transition: transform .15s;
}
.grade a:hover { transform: translateY(-3px) rotate(-1deg); }
.grade .g-num { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(11px, 2.6vw, 15px); line-height: 1; background: var(--c); border-radius: 999px; padding: 2px 7px; }
.grade svg { width: 74%; max-width: 64px; aspect-ratio: 1; height: auto; }
.grade .g-nome { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(11px, 2.7vw, 17px); line-height: 1.05; text-align: center; overflow-wrap: anywhere; }
.grade .g-dez { font-size: clamp(9.5px, 2.2vw, 13px); font-weight: 800; color: var(--tinta-suave); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-align: center; }
.grade .g-faixa { display: none; font-size: clamp(10px, 2.6vw, 13px); font-weight: 800; color: var(--tinta-suave); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .grade .g-dez { display: none; } .grade .g-faixa { display: block; } }
.grade li.aceso a { box-shadow: 0 0 0 4px var(--amarelo), 0 0 30px rgba(255, 205, 60, .6); transform: scale(1.06); }

/* ---------- Que bicho é esse número ---------- */
.qb-form { display: flex; gap: 10px; flex-wrap: wrap; }
.campo {
  flex: 1 1 220px; min-width: 0; min-height: 54px; border-radius: 16px; border: 3px solid rgba(29, 27, 46, .18); background: #ffffff; color: var(--tinta);
  padding: 8px 16px; font-family: var(--f-titulo); font-weight: 800; font-size: 24px; letter-spacing: .06em;
}
.campo::placeholder { color: rgba(29, 27, 46, .35); letter-spacing: 0; font-size: 19px; }
.campo:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; border-color: transparent; }
.qb-res { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 14px; background: var(--c2, var(--papel-2)); border: 3px solid var(--c, transparent); border-radius: 18px; padding: 10px 14px; }
.qb-res svg { width: 64px; height: 64px; }
.qb-conta { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(16px, 3.6vw, 20px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.qb-conta .seta { color: var(--rosa); margin-inline: 4px; }
.qb-bicho { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(26px, 6vw, 34px); line-height: 1; }
.qb-erro { margin-top: 10px; color: #b3261e; font-weight: 800; }

/* ---------- Bicho: ficha ---------- */
.ficha { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(18px, 4vw, 40px); align-items: start; }
.ficha-carta { max-width: 220px; width: 100%; }
.ficha .frase { font-size: clamp(26px, 4vw, 34px); color: var(--amarelo); }
.ficha-corpo { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.numeros-bicho { display: flex; flex-wrap: wrap; gap: 8px; }
.numeros-bicho span { font-family: var(--f-titulo); font-weight: 800; font-size: 24px; line-height: 1; background: var(--c2); color: var(--tinta); border: 3px solid var(--c); border-radius: 999px; padding: 6px 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .ficha { grid-template-columns: minmax(0, 1fr); } .ficha-carta { max-width: 170px; margin-inline: auto; } }
.vizinhos { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Sonho: resposta, caderno e variações ---------- */
.resposta { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); grid-template-areas: "carta txt" "carta nums" "carta nota"; gap: 14px clamp(14px, 3vw, 28px); align-items: center; }
.resposta > .carta-fixa { grid-area: carta; max-width: 150px; align-self: start; }
.resposta-txt { grid-area: txt; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.resposta-txt p { font-size: clamp(18px, 2.4vw, 21px); font-weight: 700; line-height: 1.4; }
.resposta-txt p b { font-family: var(--f-titulo); }
.resposta-nums { grid-area: nums; min-width: 0; }
.resposta-nota { grid-area: nota; min-width: 0; }
@media (max-width: 560px) {
  .resposta { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "carta txt" "nums nums" "nota nota"; align-items: start; }
  .resposta > .carta-fixa { max-width: 104px; }
  .resposta-txt p { font-size: 17px; }
}
.caderno-linha { display: flex; flex-wrap: wrap; gap: 8px 22px; font-variant-numeric: tabular-nums; background: var(--papel-2); border-radius: 16px; padding: 10px 16px; }
.caderno-linha div { display: flex; flex-direction: column; }
.caderno-linha span { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--tinta-suave); }
.caderno-linha b { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(22px, 4vw, 28px); line-height: 1.1; }

.caderno {
  position: relative; background-color: var(--papel); color: var(--tinta); border-radius: 6px 22px 22px 22px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 34px, var(--pauta) 34px 36px);
  background-position: 0 50px; box-shadow: 0 18px 34px var(--sombra);
  padding-block: 24px 26px; padding-inline: clamp(52px, 8vw, 84px) clamp(18px, 3vw, 36px);
}
.caderno::before { content: ''; position: absolute; top: 0; bottom: 0; left: clamp(34px, 5.4vw, 60px); border-left: 2px solid var(--margem); opacity: .75; }
.caderno .furos { position: absolute; top: 0; bottom: 0; left: clamp(9px, 1.6vw, 18px); display: flex; flex-direction: column; justify-content: space-around; padding-block: 30px; }
.caderno .furos i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ceu-escuro); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6); }
.caderno .olho { color: var(--margem); }
.causo { font-size: clamp(18px, 2.3vw, 20px); line-height: 36px; font-weight: 700; margin-top: 8px; }
.assinatura { font-family: var(--f-mao); font-weight: 700; font-size: 30px; line-height: 36px; color: var(--tinta); margin-top: 2px; }
.assinatura::before { content: '— '; color: var(--margem); }

.variacoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.variacoes li { background: var(--vidro); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; border-left: 0; }
.variacoes h3 { font-size: 20px; color: var(--amarelo); }
.variacoes p { color: var(--texto-suave); font-size: 16px; }
.var-bicho { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-titulo); font-weight: 800; font-size: 15px; color: var(--texto); }
.var-bicho svg { width: 24px; height: 24px; }

/* ---------- Listas de sonhos ---------- */
.busca { position: relative; }
.rot-busca { display: block; font-weight: 800; font-size: 15px; color: var(--tinta-suave); margin-bottom: 6px; }
.busca .campo { width: 100%; font-size: 20px; letter-spacing: 0; padding-left: 50px; }
.busca .lupa { position: absolute; left: 16px; bottom: 16px; width: 22px; height: 22px; color: var(--tinta-suave); pointer-events: none; }
.busca-res { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.busca-res a { display: flex; align-items: center; gap: 10px; text-decoration: none; background: var(--papel-2); border-radius: 14px; padding: 8px 12px; font-weight: 800; }
.busca-res a:hover, .busca-res a:focus-visible { background: var(--amarelo-claro); }
.busca-res svg { width: 30px; height: 30px; flex: none; }
.busca-res small { margin-left: auto; color: var(--tinta-suave); font-weight: 800; white-space: nowrap; }
.busca-vazia { margin-top: 10px; color: var(--tinta-suave); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 14px 6px 6px; background: var(--c2, var(--papel-2)); color: var(--tinta); font-weight: 800; font-size: 15px; border: 2px solid var(--c, transparent); }
.chips svg { width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 2px; }
.lista-sonhos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.lista-sonhos a { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; height: 100%; text-decoration: none; background: var(--papel); color: var(--tinta); border-radius: 16px; padding: 8px 12px 8px 8px; border-bottom: 4px solid var(--c); transition: transform .15s; }
.lista-sonhos a:hover { transform: translateY(-2px); }
.lista-sonhos .ls-arte { width: 46px; height: 46px; border-radius: 50%; background: var(--c2); display: grid; place-items: center; }
.lista-sonhos .ls-arte svg { width: 32px; height: 32px; }
.lista-sonhos b { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; line-height: 1.1; display: block; }
.lista-sonhos small { font-size: 13.5px; font-weight: 800; color: var(--tinta-suave); }

/* ---------- Palpite do Jorge e vídeo ---------- */
.dois { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(16px, 3vw, 28px); align-items: start; }
@media (max-width: 860px) { .dois { grid-template-columns: minmax(0, 1fr); } }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--texto); background: radial-gradient(ellipse at 30% 20%, var(--ceu-claro), var(--ceu-escuro) 70%); border: 3px solid var(--linha-ouro); }
.video .v-jorge { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 1; object-fit: cover; opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.video .v-txt { position: absolute; left: 18px; top: 16px; right: 40%; display: flex; flex-direction: column; gap: 6px; }
.video .v-txt b { font-family: var(--f-titulo); font-size: clamp(20px, 3.6vw, 28px); line-height: 1.05; color: var(--amarelo); text-shadow: 2px 2px 0 var(--rosa); }
.video .v-txt span { font-size: 14px; font-weight: 800; color: var(--texto-suave); }
.video .v-play { position: absolute; left: 18px; bottom: 16px; width: 64px; height: 46px; border-radius: 14px; background: #ff0033; display: grid; place-items: center; box-shadow: 0 8px 18px var(--sombra); }
.video .v-play svg { width: 24px; height: 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.palpite-vazio { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.palpite-vazio p { color: var(--tinta-suave); font-weight: 700; }

/* ---------- A conta do Jorge ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(16px, 3vw, 30px); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc legend, .calc label.rot { font-family: var(--f-titulo); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-suave); padding: 0; margin-bottom: 6px; }
.calc-form { display: flex; flex-direction: column; gap: 18px; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { position: relative; }
.opcoes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcoes span { display: block; border-radius: 999px; padding: 8px 14px; font-family: var(--f-titulo); font-weight: 800; font-size: 16px; line-height: 1.1; background: var(--papel-2); color: var(--tinta); border: 2px solid transparent; }
.opcoes input:checked + span { background: var(--tinta); color: var(--amarelo); }
.opcoes input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.opcoes input:disabled + span { opacity: .4; }
.linha-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.linha-campos label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 800; color: var(--tinta-suave); }
.linha-campos input, .linha-campos select { min-height: 48px; border-radius: 12px; border: 2px solid rgba(29, 27, 46, .2); background: #fff; color: var(--tinta); padding: 6px 12px; font-family: var(--f-titulo); font-weight: 800; font-size: 20px; width: 100%; }
.linha-campos input:focus-visible, .linha-campos select:focus-visible { outline: 3px solid var(--rosa); outline-offset: 1px; }
.calc-res { background: var(--tinta); color: var(--texto); border-radius: 22px; padding: 18px clamp(16px, 3vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.calc-res .grande { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(42px, 8vw, 64px); line-height: .95; color: var(--amarelo); font-variant-numeric: tabular-nums; }
.calc-res .grande small { display: block; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 4px; }
.calc-res p { color: var(--texto-suave); font-weight: 700; }
.calc-res p b { color: var(--texto); }
.regua { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.regua i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.regua i.on { background: var(--amarelo); }
.dinheiro { display: flex; flex-direction: column; gap: 8px; }
.barra { position: relative; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.barra i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--verde), var(--amarelo)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.barra span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding-inline: 14px; font-family: var(--f-titulo); font-weight: 800; font-size: 15px; color: var(--texto); text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.tabela-chances { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .tabela-chances th:nth-child(4), .tabela-chances td:nth-child(4) { display: none; } .tabela-chances td, .tabela-chances th { padding-inline: 6px; } }
.tabela-wrap { overflow-x: auto; }
.tabela-chances th { text-align: left; font-family: var(--f-titulo); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); padding: 6px 10px; }
.tabela-chances td { padding: 8px 10px; border-top: 2px dashed var(--linha-papel); font-weight: 700; }
.tabela-chances td:first-child { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; }
.tabela-chances td small { display: block; font-family: var(--f-texto); font-size: 13px; color: var(--tinta-suave); }
.tabela-chances .um-em { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; white-space: nowrap; }

.mitos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.mitos li { background: var(--papel); color: var(--tinta); border-radius: 20px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.mitos h3 { font-size: 22px; padding-right: 110px; }
.carimbo { position: absolute; top: 14px; right: 12px; font-family: var(--f-titulo); font-weight: 800; font-size: 20px; letter-spacing: .08em; line-height: 1; padding: 5px 10px 3px; border: 3.5px solid currentColor; border-radius: 10px; transform: rotate(-7deg); }
.carimbo.mito { color: #c23b2a; }
.carimbo.verdade { color: #237a4b; }
.mitos p { color: var(--tinta-suave); }
.mitos .conta { font-family: var(--f-mao); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--tinta); }

/* ---------- Faixa do grupo ---------- */
.faixa-grupo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 3vw, 28px); align-items: center; background: var(--verde); color: var(--verde-tinta); border-radius: 28px; padding: clamp(16px, 3vw, 28px); box-shadow: 0 16px 34px var(--sombra); }
.faixa-grupo img { width: clamp(84px, 16vw, 140px); aspect-ratio: 1; border-radius: 50%; border: 5px solid var(--papel); box-shadow: 0 8px 20px rgba(5, 61, 38, .35); }
.faixa-grupo h2 { font-size: clamp(26px, 4.4vw, 40px); color: #021a10; }
.faixa-grupo p { font-weight: 800; color: #021a10; }
.faixa-grupo .fg-txt { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.faixa-grupo .btn { color: var(--verde-tinta); background: var(--papel); box-shadow: 0 6px 0 rgba(5, 61, 38, .45); }
.faixa-grupo .nota { color: #021a10; font-weight: 700; }
@media (max-width: 520px) { .faixa-grupo { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

/* ---------- Pílulas de atalho (home) ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
@media (max-width: 900px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }
.cards3 > * { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.numero-grande { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(40px, 7vw, 56px); line-height: .95; color: var(--rosa); font-variant-numeric: tabular-nums; }
.link-seta { font-family: var(--f-titulo); font-weight: 800; text-decoration: none !important; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.link-seta::after { content: '→'; transition: transform .15s; }
.link-seta:hover::after { transform: translateX(4px); }

/* ---------- Perguntas ---------- */
.perguntas { display: flex; flex-direction: column; gap: 10px; }
.perguntas details { background: var(--vidro); border-radius: 16px; padding: 12px 16px; }
.perguntas summary { cursor: pointer; font-family: var(--f-titulo); font-weight: 800; font-size: 19px; color: var(--amarelo); list-style-position: outside; }
.perguntas details p { margin-top: 8px; color: var(--texto-suave); }
.regras { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.regras li::marker { font-family: var(--f-titulo); font-weight: 800; color: var(--rosa); }

/* ---------- Rodapé ---------- */
.rodape { margin-top: clamp(24px, 5vw, 48px); background: var(--noite); border-top: 3px dashed var(--linha-ouro); padding-block: 26px 28px; color: var(--texto-suave); font-size: 14.5px; }
.rodape .logo { order: 0; }
.rodape-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rodape-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.rodape-acoes .btn { min-height: 46px; font-size: 16px; padding: 8px 18px; }
.rodape-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rodape-links a { display: inline-block; padding-block: 10px; color: var(--texto); text-decoration: none; font-weight: 800; }
.rodape-links a:hover { color: var(--amarelo); }
.rodape-aviso { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; max-width: 760px; }
.rodape-aviso a { color: var(--texto); text-underline-offset: 3px; }
.selo18 { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--rosa); color: var(--rosa); font-family: var(--f-titulo); font-weight: 800; font-size: 14px; flex: none; }

/* ---------- Menu de baixo (celular) ---------- */
.abas { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .abas {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(10, 24, 80, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
  }
  .abas ul { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .abas a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border-radius: 14px; text-decoration: none; color: var(--texto-suave); font-size: 11.5px; font-weight: 800; transition: color .15s, background-color .15s; }
  .abas svg { width: 25px; height: 25px; transition: transform .2s; }
  .abas a[aria-current="page"] { color: var(--amarelo); }
  .abas a[aria-current="page"] svg { transform: translateY(-2px); }
  .abas a:active { background: var(--vidro-claro); }
  .menu { display: none; }
}
.btn-grupo .curto { display: none; }
@media (max-width: 460px) { .btn-grupo .longo { display: none; } .btn-grupo .curto { display: inline; } .logo svg { width: 38px; height: 38px; } .logo span { font-size: 21px; } }
.topo-linha { flex-wrap: nowrap; }
.btn-grupo { animation: chamaGrupo 2.6s ease-in-out infinite; }
@keyframes chamaGrupo { 0%, 70%, 100% { box-shadow: 0 4px 0 var(--verde-sombra), 0 0 0 0 rgba(34, 193, 120, .55); } 85% { box-shadow: 0 4px 0 var(--verde-sombra), 0 0 0 9px rgba(34, 193, 120, 0); } }

/* ---------- Convite do grupo ---------- */
.convite { position: fixed; inset: 0; z-index: 70; display: grid; align-items: end; justify-items: center; }
.convite-fundo { position: absolute; inset: 0; background: rgba(5, 10, 40, .66); animation: aparece .3s ease-out; }
.convite-caixa {
  position: relative; width: min(460px, 100%); background: var(--papel); color: var(--tinta); border-radius: 28px 28px 0 0;
  padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; animation: sobe .45s cubic-bezier(.2, .9, .3, 1.1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
}
.convite-caixa img { width: 92px; height: 92px; border-radius: 50%; border: 4px solid var(--verde); margin-top: -64px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.convite-caixa h2 { font-size: clamp(26px, 7vw, 32px); }
.convite-caixa p { color: var(--tinta-suave); font-weight: 700; max-width: 32ch; }
.btn-cheio { width: 100%; min-height: 58px; font-size: 21px; margin-top: 4px; }
.convite-depois { background: none; border: 0; color: var(--tinta-suave); font-weight: 800; font-size: 15px; min-height: 44px; padding: 8px 16px; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .convite { align-items: center; } .convite-caixa { border-radius: 28px; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes sobe { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Entrada do herói ---------- */
[data-enter] .hero-tit, [data-enter] .lead, [data-enter] .acoes, [data-enter] .carta-jorge { animation: entra .7s cubic-bezier(.2, .8, .2, 1) both; }
[data-enter] .lead { animation-delay: .08s; }
[data-enter] .acoes { animation-delay: .16s; }
[data-enter] .carta-jorge { animation: entraCarta .9s cubic-bezier(.2, .9, .3, 1.15) .1s both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes entraCarta { from { opacity: 0; transform: translateY(18px) rotate(6deg) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Agenda: próximas extrações ---------- */
.agenda { margin-top: 6px; background: var(--vidro-forte); border: 2px solid var(--linha-ouro); border-radius: 22px; padding: 12px 0 14px; overflow: hidden; }
.agenda-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 16px; margin-bottom: 10px; }
.agenda-tit { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulo); font-weight: 800; font-size: 19px; color: var(--texto); }
.agenda .link-seta { color: var(--amarelo); min-height: 44px; }
.ponto-vivo { width: 11px; height: 11px; border-radius: 50%; background: var(--rosa); box-shadow: 0 0 0 0 rgba(255, 77, 141, .7); animation: vivo 1.6s ease-out infinite; flex: none; }
@keyframes vivo { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 141, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 77, 141, 0); } }
.agenda-lista { list-style: none; margin: 0; padding: 2px 16px 4px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.agenda-lista::-webkit-scrollbar { display: none; }
.agenda-item { flex: none; scroll-snap-align: start; min-width: 152px; background: var(--vidro-claro); border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.agenda-item.carregando { min-width: 0; color: var(--texto-suave); }
.agenda-item .ag-lot { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }
.agenda-item .ag-ext { font-family: var(--f-titulo); font-weight: 800; font-size: 19px; line-height: 1.1; }
.agenda-item .ag-tempo { font-family: var(--f-titulo); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--amarelo); font-variant-numeric: tabular-nums; }
.agenda-item.prox { background: var(--amarelo); color: var(--tinta); }
.agenda-item.prox .ag-lot { color: rgba(29, 27, 46, .7); }
.agenda-item.prox .ag-tempo { color: var(--tinta); }
.agenda-item.apurando .ag-tempo { color: var(--rosa); animation: piscaSuave 1.4s ease-in-out infinite; }
@keyframes piscaSuave { 50% { opacity: .55; } }

/* ---------- Loterias ---------- */
.chips-lot { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-lot::-webkit-scrollbar { display: none; }
.chips-lot button { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--linha); background: var(--ceu-escuro); color: var(--texto); font-family: var(--f-titulo); font-weight: 800; font-size: 16px; }
.chips-lot button[aria-selected="true"] { background: var(--amarelo); color: var(--tinta); border-color: var(--amarelo); }
.chips-lot-grande button { font-size: 17px; padding-inline: 18px; }
.extracoes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.extracoes > li { background: var(--vidro); border-radius: 18px; border: 2px solid transparent; }
.extracoes > li.carregando { padding: 14px 16px; color: var(--texto-suave); }
.ext-linha { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; min-height: 64px; }
.ext-hora { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.ext-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; line-height: 1.1; }
.ext-nome small { display: block; font-family: var(--f-texto); font-size: 13px; color: var(--texto-suave); font-weight: 800; }
.ext-estado { font-family: var(--f-titulo); font-weight: 800; font-size: 15px; padding: 5px 12px; border-radius: 999px; background: var(--vidro-claro); white-space: nowrap; font-variant-numeric: tabular-nums; }
.extracoes li.prox { border-color: var(--amarelo); background: var(--vidro-forte); }
.extracoes li.prox .ext-estado { background: var(--amarelo); color: var(--tinta); font-size: 17px; }
.extracoes li.apurando .ext-estado { background: var(--rosa); color: #fff; animation: piscaSuave 1.4s ease-in-out infinite; }
.ext-res { display: flex; align-items: center; gap: 8px; }
.ext-res svg { width: 34px; height: 34px; background: var(--papel); border-radius: 50%; padding: 3px; flex: none; }
.ext-res b { font-family: var(--f-titulo); font-size: 18px; font-variant-numeric: tabular-nums; }
.ext-premios { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 0 14px 12px; }
.ext-premios span { background: var(--papel); color: var(--tinta); border-radius: 10px; text-align: center; padding: 4px 2px; font-family: var(--f-titulo); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.ext-premios small { display: block; font-family: var(--f-texto); font-size: 10.5px; color: var(--tinta-suave); }
.atr-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.alterna { display: inline-flex; background: var(--vidro); border-radius: 999px; padding: 4px; gap: 2px; }
.alterna button { border: 0; background: transparent; color: var(--texto-suave); font-family: var(--f-titulo); font-weight: 800; font-size: 15px; border-radius: 999px; padding: 8px 14px; min-height: 40px; }
.alterna button[aria-pressed="true"] { background: var(--papel); color: var(--tinta); }
.lista-atraso { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.lista-atraso li a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-decoration: none; background: var(--vidro); border-radius: 14px; padding: 8px 12px; min-height: 56px; transition: transform .15s, background-color .15s; }
.lista-atraso li a:hover { transform: translateY(-2px); background: var(--vidro-forte); }
.lista-atraso svg { width: 40px; height: 40px; background: var(--papel); border-radius: 50%; padding: 4px; }
.la-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 17px; line-height: 1.1; }
.la-nome small { display: block; font-family: var(--f-texto); font-size: 12.5px; color: var(--texto-suave); font-weight: 800; }
.la-barra { grid-column: 2 / 3; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 4px; }
.la-barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amarelo), var(--rosa)); transform-origin: left; animation: cresce .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cresce { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.la-num { font-family: var(--f-titulo); font-weight: 800; font-size: 24px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.la-num small { display: block; font-family: var(--f-texto); font-size: 11px; color: var(--texto-suave); font-weight: 800; }
.lista-atraso li:nth-child(-n+3) a { background: var(--papel); color: var(--tinta); }
.lista-atraso li:nth-child(-n+3) .la-nome small, .lista-atraso li:nth-child(-n+3) .la-num small { color: var(--tinta-suave); }
.lista-atraso li:nth-child(-n+3) .la-barra { background: rgba(29, 27, 46, .1); }
.resultados { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.res-card { background: var(--papel); color: var(--tinta); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.res-card h3 { font-size: 18px; display: flex; justify-content: space-between; gap: 8px; }
.res-card h3 small { font-family: var(--f-texto); font-size: 13px; color: var(--tinta-suave); font-weight: 800; }
.res-card ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.res-card li { display: grid; grid-template-columns: 26px 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.res-card li .pos-n { font-weight: 800; color: var(--tinta-suave); font-size: 13px; }
.res-card li svg { width: 28px; height: 28px; }
.res-card li b { font-family: var(--f-titulo); font-size: 18px; text-align: right; }
.top-atrasados { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.top-atrasados li.carregando { grid-column: 1 / -1; color: var(--texto-suave); }
.top-atrasados a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; background: var(--papel); color: var(--tinta); border-radius: 16px; padding: 10px 4px 8px; border-bottom: 4px solid var(--c); transition: transform .15s; height: 100%; }
.top-atrasados a:hover { transform: translateY(-2px); }
.top-atrasados svg { width: 70%; max-width: 54px; aspect-ratio: 1; height: auto; }
.top-atrasados b { font-family: var(--f-titulo); font-size: clamp(13px, 3.4vw, 17px); line-height: 1.05; text-align: center; overflow-wrap: anywhere; }
.top-atrasados .ta-n { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(20px, 5vw, 26px); line-height: 1; color: var(--rosa); font-variant-numeric: tabular-nums; }
.top-atrasados small { font-size: 11px; font-weight: 800; color: var(--tinta-suave); text-align: center; line-height: 1.1; }
@media (max-width: 420px) { .top-atrasados { grid-template-columns: repeat(3, minmax(0, 1fr)); } .top-atrasados li:nth-child(n+4) { display: none; } }
.atrasados-home .chips-lot button { font-size: 15px; padding: 6px 14px; }
.sonho-home { display: flex; flex-direction: column; gap: 12px; }
.sonho-chips-rot { margin-top: 4px; font-weight: 800; }
.sonho-chips-rot + .chips { margin-top: 0; }

/* ---------- Conta seu sonho pro Jorge ---------- */
.sonhador { display: flex; flex-direction: column; gap: 10px; }
.sonhador .rot-busca { font-family: var(--f-titulo); font-size: 18px; color: var(--tinta); margin-bottom: 0; }
.campo-sonho { width: 100%; min-height: 104px; resize: vertical; font-family: var(--f-texto); font-weight: 700; font-size: 19px; line-height: 1.45; letter-spacing: 0; padding: 12px 16px; }
.campo-sonho::placeholder { font-size: 17px; }
.sonhador-pe { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.sonhador-pe .btn { flex: 1 1 240px; max-width: 380px; }
.sonhador-conta { font-variant-numeric: tabular-nums; font-weight: 800; }
.sonhador-erro { color: #b3261e; font-weight: 800; }
.sonhador-almanaque { margin-top: 0; }
.sonho-res { margin-top: 6px; }
.sonho-card { display: flex; flex-direction: column; gap: 18px; border-top: 2px dashed rgba(29, 27, 46, .2); padding-top: 18px; scroll-margin-top: 84px; outline: none; animation: sonho-entra .45s ease both; }
.sonho-cab .olho { color: var(--tinta-suave); }
.sonho-citacao { font-family: var(--f-mao); font-weight: 700; font-size: clamp(25px, 4.4vw, 32px); line-height: 1.15; overflow-wrap: anywhere; margin-top: 2px; }
.sonho-card .caderno { box-shadow: 0 10px 22px rgba(15, 36, 112, .18); }
.sonho-card .causo { overflow-wrap: anywhere; }
.frase-c { animation: frase-entra .55s ease both; animation-delay: calc(var(--i) * .42s); }
.sonho-palpite, .sonho-salvar, .sonho-acoes { animation: sonho-entra .5s ease both; animation-delay: var(--d, 0s); }
.sonho-palpite .carta-fixa .f-arte::before { animation-duration: 18s; }
.sonho-reserva { font-size: 16px !important; color: var(--tinta-suave); }
@keyframes frase-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sonho-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sonho-card, .frase-c, .sonho-palpite, .sonho-salvar, .sonho-acoes { animation: none; } }

/* ---------- Cartas ---------- */
.mesa-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.mesa-secao .ceu-chip { display: inline-flex; margin-bottom: 12px; }
.salvar { background: var(--papel-2); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.salvar label { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; }
.salvar-linha { display: flex; gap: 8px; flex-wrap: wrap; }
.salvar select { flex: 1 1 160px; min-height: 50px; border-radius: 14px; border: 2px solid rgba(29, 27, 46, .2); background: #fff; color: var(--tinta); font-family: var(--f-titulo); font-weight: 800; font-size: 17px; padding: 6px 12px; }
.salvar .btn { flex: 1 1 140px; min-height: 50px; }
.salvo { font-weight: 800; color: var(--verde-sombra); }
.salvo a { color: var(--tinta); }


/* ---------- Caderno ---------- */
.perfil { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px 16px; align-items: center; }
.perfil-nivel svg { width: 76px; height: 76px; filter: drop-shadow(0 6px 10px rgba(29, 27, 46, .25)); animation: flutua 3.6s ease-in-out infinite; }
.perfil-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.progresso { height: 10px; border-radius: 999px; background: rgba(29, 27, 46, .1); overflow: hidden; }
.progresso i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--verde), var(--amarelo)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.numeros-perfil { grid-column: 1 / -1; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.numeros-perfil div { background: var(--papel-2); border-radius: 14px; padding: 8px 10px; text-align: center; }
.numeros-perfil dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-suave); }
.numeros-perfil dd { margin: 0; font-family: var(--f-titulo); font-weight: 800; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .perfil { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 340px); } .numeros-perfil { grid-column: auto; margin: 0; } .perfil-nivel svg { width: 90px; height: 90px; } }
.dois-caderno { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 860px) { .dois-caderno { grid-template-columns: minmax(0, 1fr); } }
.anotar { display: flex; flex-direction: column; gap: 14px; }
.anotar fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.anotar legend { font-family: var(--f-titulo); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-suave); padding: 0; margin-bottom: 8px; }
.anotar .btn { align-self: flex-start; }
.conta-aviso { display: flex; flex-direction: column; gap: 4px; position: relative; }
.apelido { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--texto-suave); }
.apelido input { min-height: 48px; border-radius: 12px; border: 2px solid var(--linha); background: var(--ceu-escuro); color: var(--texto); padding: 6px 12px; font-family: var(--f-titulo); font-weight: 800; font-size: 18px; }
.em-breve { align-self: flex-start; margin-top: 10px; font-family: var(--f-titulo); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--rosa); color: #fff; border-radius: 999px; padding: 4px 12px; }
.jogos { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.jogo { background: var(--papel); color: var(--tinta); border-radius: 18px; padding: 10px 12px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; border-left: 6px solid var(--c); }
.jogo .j-arte { width: 46px; height: 46px; border-radius: 50%; background: var(--c2); display: grid; place-items: center; grid-row: span 2; }
.jogo .j-arte svg { width: 32px; height: 32px; }
.jogo .j-tit { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jogo .j-tit small { display: block; font-family: var(--f-texto); font-size: 13px; font-weight: 800; color: var(--tinta-suave); }
.jogo .j-estado { font-family: var(--f-titulo); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 4px 11px; text-align: center; white-space: nowrap; }
.j-estado.deu { background: var(--verde); color: var(--verde-tinta); }
.j-estado.nao { background: rgba(29, 27, 46, .1); color: var(--tinta-suave); }
.j-estado.espera { background: var(--amarelo-claro); color: var(--tinta); }
.j-estado.sem { background: rgba(29, 27, 46, .06); color: var(--tinta-suave); }
.jogo .j-detalhe { grid-column: 2 / -1; font-size: 14px; color: var(--tinta-suave); font-weight: 700; }
.jogo .j-acoes { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; border-top: 2px dashed var(--linha-papel); padding-top: 8px; margin-top: 4px; }
.jogo .j-acoes button { background: transparent; border: 2px solid rgba(29, 27, 46, .18); border-radius: 999px; padding: 6px 14px; min-height: 40px; font-family: var(--f-titulo); font-weight: 800; font-size: 14px; color: var(--tinta); }
.jogo .j-acoes button:hover { border-color: var(--rosa); }
.jogo.deu-certo { box-shadow: 0 0 0 3px var(--verde), 0 10px 24px rgba(34, 193, 120, .25); }
.jogos-vazio { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.niveis { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .niveis { grid-template-columns: minmax(0, 1fr); } }
.nivel-card { background: var(--papel); color: var(--tinta); border-radius: 20px; padding: 14px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.nivel-card svg { width: 56px; height: 56px; }
.nivel-card h3 { font-size: 21px; }
.nivel-card p { color: var(--tinta-suave); font-size: 15px; }
.nivel-card .olho { color: var(--tinta-suave); font-size: 12px; }
.nivel-card.atual { box-shadow: 0 0 0 4px var(--amarelo); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Páginas de loteria e de número ---------- */
.lot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.lot-links a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--texto); background: var(--ceu-escuro); border: 2px solid var(--linha); border-radius: 18px; padding: 14px 16px; min-height: 44px; }
.lot-links a:hover, .lot-links a:focus-visible { border-color: var(--amarelo); }
.lot-links b { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; color: var(--amarelo); line-height: 1.1; }
.lot-links span { font-size: 15px; color: var(--texto-suave); font-weight: 700; }
.tab-horas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 8px; }
.tab-horas li { display: flex; align-items: center; gap: 12px; background: var(--ceu-escuro); border: 2px solid var(--linha); border-radius: 14px; padding: 10px 14px; font-weight: 800; }
.tab-horas .ext-hora { font-family: var(--f-titulo); font-size: 20px; color: var(--amarelo); font-variant-numeric: tabular-nums; min-width: 56px; }
.cem { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.cem a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--tinta); background: var(--c2); border: 3px solid var(--c); border-radius: 14px; padding: 8px 4px; min-height: 44px; }
.cem a:hover, .cem a:focus-visible { background: #fff; }
.cem b { font-family: var(--f-titulo); font-weight: 800; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.cem span { font-size: 12px; font-weight: 800; }
.qb-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- Conta: link no topo ---------- */
.conta-link { order: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 10px; border-radius: 999px; border: 2px solid var(--linha); background: var(--ceu-escuro); color: var(--texto); text-decoration: none; font-family: var(--f-titulo); font-weight: 800; font-size: 16px; white-space: nowrap; }
.conta-link:hover, .conta-link:focus-visible { border-color: var(--amarelo); }
.conta-link svg { width: 24px; height: 24px; flex: none; }
.topo .btn-zap { order: 2; }
@media (max-width: 560px) { .conta-link { padding: 0; width: 44px; justify-content: center; } .conta-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .topo-linha { gap: 10px; } }

/* ---------- Entrar ou criar conta ---------- */
.entrar { max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }
.entrar-topo { display: flex; align-items: center; gap: 14px; }
.entrar-jorge { width: 68px; height: 68px; border-radius: 50%; border: 3px solid var(--amarelo); flex: none; object-fit: cover; }
.entrar-topo .olho { color: var(--tinta-suave); }
.entrar-tit { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(26px, 6vw, 34px); line-height: 1.05; color: var(--tinta); }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.passos li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--tinta-suave); border-top: 4px solid rgba(29, 27, 46, .14); padding-top: 8px; }
.passos li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--papel-2); font-family: var(--f-titulo); font-size: 15px; flex: none; }
.passos li[aria-current="step"] { color: var(--tinta); border-top-color: var(--rosa); }
.passos li[aria-current="step"] span { background: var(--rosa); color: #fff; }
.passos li.feita { color: var(--verde-sombra); border-top-color: var(--verde); }
.passos li.feita span { background: var(--verde); color: var(--verde-tinta); }
.passo { display: flex; flex-direction: column; gap: 10px; }
.passo.entra { animation: sonho-entra .35s ease both; }
.passo-lead { font-weight: 700; color: var(--tinta-suave); overflow-wrap: anywhere; }
.passo-lead b { color: var(--tinta); }
.passo-lead.pisca { animation: pisca-ok .9s ease; }
@keyframes pisca-ok { 30% { color: var(--verde-sombra); } }
.rot { font-family: var(--f-titulo); font-weight: 800; font-size: 17px; color: var(--tinta); margin-top: 4px; }
.campo-texto { width: 100%; flex: none; font-family: var(--f-texto); font-weight: 700; font-size: 19px; letter-spacing: 0; }
.campo-texto::placeholder { font-size: 18px; }
.campo-codigo { width: 100%; max-width: 280px; flex: none; text-align: center; font-size: 34px; letter-spacing: .32em; padding-left: calc(16px + .32em); font-variant-numeric: tabular-nums; }
.campo-codigo::placeholder { font-size: 34px; letter-spacing: .32em; color: rgba(29, 27, 46, .18); }
.marca { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; line-height: 1.35; padding-block: 6px; cursor: pointer; }
.marca input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--rosa); color-scheme: light; }
.entrar-erro { color: #b3261e; font-weight: 800; }
.passo > .btn { margin-top: 4px; }
.passo-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-weight: 800; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 3px; cursor: pointer; }
.link-btn:disabled { color: var(--tinta-suave); text-decoration: none; cursor: default; }
.conta-dados { list-style: none; margin: 0; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--papel-2); border-radius: 16px; }
.conta-dados li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.conta-dados span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.conta-dados b { overflow-wrap: anywhere; }
.pronto-bloco { display: flex; flex-direction: column; gap: 10px; }
.beneficios { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.beneficios li::marker { color: var(--rosa); }
.preco { font-family: var(--f-titulo); font-weight: 800; font-size: 26px; color: var(--tinta); }
.espera { font-weight: 800; }
.entrar-rodape { max-width: 560px; margin: 14px auto 0; text-align: center; }

/* ---------- Coroa dourada do grupo ---------- */
.btn-grupo, .btn-com-coroa { position: relative; overflow: visible; }
.coroa { position: absolute; top: -21px; left: 50%; margin-left: -18px; width: 36px; height: 27px; transform: rotate(-8deg); pointer-events: none; filter: drop-shadow(0 0 6px rgba(255, 205, 60, .85)) drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); animation: coroa-brilha 2.4s ease-in-out infinite; }
.coroa svg { width: 100%; height: 100%; display: block; overflow: visible; }
.coroa i { position: absolute; top: -3px; right: -4px; width: 10px; height: 10px; background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 0deg, transparent 0 20%, #fff 22% 28%, transparent 30% 45%, #fff 47% 53%, transparent 55% 70%, #fff 72% 78%, transparent 80%); border-radius: 50%; opacity: 0; animation: coroa-estrela 2.4s ease-in-out infinite; }
.btn-com-coroa .coroa { top: -22px; }
@keyframes coroa-brilha { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 205, 60, .6)) drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); transform: rotate(-8deg) translateY(0); } 50% { filter: drop-shadow(0 0 12px rgba(255, 225, 120, 1)) drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); transform: rotate(-4deg) translateY(-2px); } }
@keyframes coroa-estrela { 0%, 40%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 55% { opacity: 1; transform: scale(1.15) rotate(45deg); } 70% { opacity: 0; transform: scale(.6) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .coroa, .coroa i { animation: none; } .coroa i { opacity: 1; } }
.conta-link.membro { border-color: var(--amarelo); }

/* ---------- Porteira do Clube ---------- */
.portao-caixa { text-align: center; }
.portao-caixa .olho { color: var(--tinta-suave); margin-top: 6px; }
.portao-coroa { display: flex; justify-content: center; }
.portao-coroa .coroa { position: relative; top: auto; left: auto; width: 64px; height: 48px; transform: none; animation-name: coroa-flutua; }
.portao-coroa.grande .coroa { width: 96px; height: 72px; }
@keyframes coroa-flutua { 0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 6px rgba(255, 205, 60, .7)); } 50% { transform: translateY(-4px); filter: drop-shadow(0 0 16px rgba(255, 225, 120, 1)); } }
.portao-lista { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; font-weight: 700; }
.portao-lista li { padding-left: 26px; position: relative; }
.portao-lista li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--verde-sombra); font-weight: 900; }
.portao-preco { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 10px; color: var(--tinta); }
.portao-preco s { color: var(--tinta-suave); font-weight: 800; }
.portao-preco b { font-family: var(--f-titulo); font-weight: 800; font-size: 34px; line-height: 1; }
.portao-preco span { font-weight: 800; color: var(--tinta-suave); }
.portao-mais { justify-content: center; margin-top: 4px; }

/* ---------- Conta: abas e senha ---------- */
.abas-conta { display: grid; grid-template-columns: 1fr 1fr; background: var(--papel-2); border-radius: 999px; padding: 4px; gap: 4px; }
.abas-conta button { border: 0; background: transparent; border-radius: 999px; min-height: 44px; font-family: var(--f-titulo); font-weight: 800; font-size: 16px; color: var(--tinta-suave); }
.abas-conta button[aria-selected="true"] { background: #fff; color: var(--tinta); box-shadow: 0 2px 6px rgba(29, 27, 46, .12); }
.senha { position: relative; }
.senha .campo { padding-right: 104px; }
.ver-senha { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--papel-2); color: var(--tinta); font-weight: 800; font-size: 14px; }
.entrar-erro.ok { color: var(--verde-sombra); }

/* ---------- Hub do Jorge ---------- */
.hb-filtros { display: flex; flex-direction: column; gap: 12px; }
.hb-linha { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hb-linha .alterna { flex-wrap: wrap; }
.hb-sel select { min-height: 44px; border-radius: 999px; border: 2px solid var(--linha); background: var(--ceu-escuro); color: var(--texto); font-family: var(--f-titulo); font-weight: 800; font-size: 15px; padding: 6px 14px; max-width: 100%; }
.hb-contexto { font-weight: 800; }
.hb-resumo { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
@media (max-width: 520px) { .hb-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-resumo li.com-cor { grid-template-columns: minmax(0, 1fr); grid-template-areas: "arte" "t" "v" "s"; } .hb-resumo svg { width: 36px; height: 36px; margin-bottom: 4px; } .hb-resumo b { font-size: 22px; } }
.hb-resumo li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "arte t" "arte v" "arte s"; column-gap: 12px; align-items: center; background: var(--papel); color: var(--tinta); border-radius: 18px; padding: 12px 14px; }
.hb-resumo li:not(.com-cor) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "v" "s"; }
.hb-resumo li.com-cor { background: var(--c2); border: 3px solid var(--c); }
.hb-resumo svg { grid-area: arte; width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 4px; }
.hb-r-t { grid-area: t; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.hb-resumo b { grid-area: v; font-family: var(--f-titulo); font-weight: 800; font-size: 26px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hb-resumo small { grid-area: s; font-weight: 800; color: var(--tinta-suave); }
.hb-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; position: relative; align-items: start; }
.hb-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hb-card { background: var(--vidro); border-radius: 24px; padding: 18px clamp(14px, 2.4vw, 22px) 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hb-card .h3 { color: var(--amarelo); }
.hb-largo { grid-column: 1 / -1; }
.hb-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-lista a { display: grid; grid-template-columns: auto 38px minmax(0, 1fr) auto; grid-template-areas: "pos arte nome n" "pos arte barra n"; column-gap: 10px; align-items: center; text-decoration: none; color: var(--texto); background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 7px 12px; min-height: 52px; }
.hb-lista a:hover { background: var(--vidro-forte); }
.hb-lista a:not(:has(.hb-pos)) { grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "arte nome n" "arte barra n"; }
.hb-pos { grid-area: pos; font-family: var(--f-titulo); font-weight: 800; font-size: 14px; color: var(--texto-suave); min-width: 26px; font-variant-numeric: tabular-nums; }
.hb-lista svg { grid-area: arte; width: 38px; height: 38px; background: var(--papel); border-radius: 50%; padding: 3px; }
.hb-nome { grid-area: nome; min-width: 0; font-family: var(--f-titulo); font-size: 16px; line-height: 1.1; }
.hb-nome b { font-weight: 800; }
.hb-nome small { display: block; font-family: var(--f-texto); font-size: 12px; font-weight: 800; color: var(--texto-suave); }
.hb-lista .la-barra { grid-area: barra; grid-column: auto; }
.hb-n { grid-area: n; font-family: var(--f-titulo); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; text-align: right; min-width: 30px; }
.hb-lista li:nth-child(-n+3) a { background: var(--papel); color: var(--tinta); }
.hb-lista li:nth-child(-n+3) .hb-nome small, .hb-lista li:nth-child(-n+3) .hb-pos { color: var(--tinta-suave); }
.hb-lista li:nth-child(-n+3) .la-barra { background: rgba(29, 27, 46, .1); }
.hb-qf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hb-quente { color: var(--laranja); }
.hb-frio { color: var(--ciano); }
.hb-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-bicho { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tinta); background: var(--c2); border: 2px solid var(--c); border-radius: 999px; padding: 4px 12px 4px 4px; min-height: 44px; font-weight: 800; min-width: 0; }
.hb-bicho svg { width: 32px; height: 32px; background: #fff; border-radius: 50%; padding: 2px; flex: none; }
.hb-bicho span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-bicho b { font-family: var(--f-titulo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-numeros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.hb-numeros li { display: flex; flex-direction: column; align-items: center; background: var(--c2, var(--papel)); border: 3px solid var(--c, transparent); color: var(--tinta); border-radius: 16px; padding: 8px 6px; text-align: center; }
.hb-numeros b { font-family: var(--f-titulo); font-weight: 800; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.hb-numeros span { font-size: 13px; font-weight: 800; }
.hb-numeros small { font-size: 12px; font-weight: 800; color: var(--tinta-suave); }
.hb-numeros .hb-vazio, .hb-combos .hb-vazio { grid-column: 1 / -1; background: none; border: 0; color: var(--texto-suave); font-weight: 700; align-items: flex-start; text-align: left; }
.hb-comb { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hb-combos { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-combos li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 6px 12px; min-height: 52px; }
.hb-combo { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
.hb-combo a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--texto); font-weight: 800; font-size: 14px; }
.hb-combo svg { width: 32px; height: 32px; background: var(--papel); border-radius: 50%; padding: 2px; flex: none; }
.hb-combo i { color: var(--amarelo); font-style: normal; font-weight: 900; }
.hb-combos b { font-family: var(--f-titulo); white-space: nowrap; }
.hb-horas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 6px 18px; }
.hb-horas li { display: grid; grid-template-columns: 54px minmax(0, 88px) minmax(0, 1fr); gap: 10px; align-items: center; }
.hb-horas .ext-hora { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; color: var(--amarelo); font-variant-numeric: tabular-nums; }
.hb-ext { font-weight: 800; font-size: 14px; color: var(--texto-suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-honesto { margin-top: 16px; }
.hb-aviso { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.hb-aviso .link-seta { justify-content: center; }
.hub.trancado [data-tranca] { filter: blur(6px) saturate(.6); opacity: .55; user-select: none; pointer-events: none; }
.hub.trancado .hb-ranking li:nth-child(n+6) { filter: blur(5px); opacity: .5; pointer-events: none; }
.hub.trancado .hb-ranking li:nth-child(n+9) { display: none; }
.hub.trancado .hb-resumo li:nth-child(n+2) { filter: blur(5px); opacity: .6; }
@media (max-width: 860px) { .hb-grade { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .hb-qf, .hb-comb { grid-template-columns: minmax(0, 1fr); } .hb-horas li { grid-template-columns: 50px minmax(0, 1fr); } .hb-horas .hb-ext { display: none; } }

/* ---------- Clube do Jorge (oferta) ---------- */
.clube-topo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(16px, 4vw, 40px); align-items: center; }
.clube-txt { display: flex; flex-direction: column; gap: 14px; }
.clube-preco { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.clube-preco s { font-weight: 800; color: var(--texto-suave); font-size: 20px; }
.clube-preco b { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(52px, 10vw, 72px); line-height: .9; color: var(--amarelo); text-shadow: 3px 3px 0 var(--rosa); }
.clube-preco span { font-weight: 800; color: var(--texto); line-height: 1.2; }
.clube-preco.escuro { justify-content: center; }
.clube-preco.escuro s, .clube-preco.escuro span { color: var(--tinta-suave); }
.clube-preco.escuro b { color: var(--tinta); text-shadow: 3px 3px 0 var(--amarelo); }
.clube-jorge { position: relative; display: flex; flex-direction: column; align-items: center; }
.clube-jorge img { width: min(100%, 320px); height: auto; border-radius: 28px; border: 6px solid var(--papel); box-shadow: 0 20px 40px var(--sombra); }
.clube-jorge .portao-coroa { position: absolute; top: -40px; z-index: 1; }
.clube-itens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.clube-itens li { display: flex; gap: 12px; background: var(--papel); color: var(--tinta); border-radius: 20px; padding: 16px; }
.clube-itens h3 { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; line-height: 1.1; }
.clube-itens p { margin-top: 4px; color: var(--tinta-suave); font-weight: 700; }
.clube-check { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--verde-tinta); font-weight: 900; font-size: 18px; }
.clube-tabela-caixa { padding: 8px 14px; }
.clube-tabela { width: 100%; border-collapse: collapse; }
.clube-tabela th, .clube-tabela td { padding: 11px 6px; border-bottom: 1px solid rgba(29, 27, 46, .1); text-align: left; font-weight: 700; }
.clube-tabela thead th { font-family: var(--f-titulo); font-weight: 800; font-size: 17px; }
.clube-tabela td, .clube-tabela thead th:not(:first-child) { text-align: center; width: 80px; }
.clube-tabela tr:last-child th, .clube-tabela tr:last-child td { border-bottom: 0; }
.clube-tabela .sim { color: var(--verde-sombra); font-weight: 900; font-size: 20px; }
.clube-tabela .nao { color: rgba(29, 27, 46, .3); font-weight: 900; font-size: 20px; }
.clube-fim { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
@media (max-width: 760px) { .clube-topo { grid-template-columns: minmax(0, 1fr); } .clube-jorge { order: -1; margin-top: 34px; } .clube-jorge img { width: min(70%, 260px); } }

/* ---------- Dia de Federal: confete e a palavra FEDERAL pulando (sem mudar as cores) ---------- */
canvas.confete { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.federal-abre { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(10, 24, 80, .72), rgba(10, 24, 80, .35) 70%, transparent); animation: fa-entra .35s ease both; cursor: pointer; }
.federal-abre.sai { animation: fa-sai .45s ease both; }
.fa-caixa { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.fa-dia { font-family: var(--f-mao); font-weight: 700; font-size: clamp(30px, 8vw, 46px); line-height: 1; color: var(--texto); transform: rotate(-4deg); }
.fa-palavra { display: flex; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(54px, 17vw, 132px); line-height: 1; letter-spacing: .02em; color: var(--amarelo); text-shadow: 4px 4px 0 var(--rosa), 8px 8px 0 rgba(15, 36, 112, .6); }
.fa-palavra i { font-style: normal; display: inline-block; animation: fa-pula .9s cubic-bezier(.28, .84, .42, 1) infinite; animation-delay: calc(var(--i) * .08s); }
.fa-sub { margin-top: 10px; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(17px, 4.4vw, 22px); color: var(--tinta); background: var(--amarelo); border-radius: 999px; padding: 6px 18px; box-shadow: 0 5px 0 var(--amarelo-sombra); }
@keyframes fa-pula { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-.32em) scale(.96, 1.06); } 55% { transform: translateY(0) scale(1.06, .94); } 70% { transform: translateY(-.08em); } }
@keyframes fa-entra { from { opacity: 0; } to { opacity: 1; } }
@keyframes fa-sai { to { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .fa-palavra i, .federal-abre, .federal-abre.sai { animation: none; } }

/* ---------- Botão do Clube: o amarelo de sempre, brilhando ---------- */
.btn-clube { position: relative; overflow: hidden; isolation: isolate; animation: clube-pulso 2.2s ease-out infinite; }
.btn-clube::after { content: ''; position: absolute; z-index: -1; top: -60%; left: -70%; width: 45%; height: 220%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: rotate(18deg); animation: clube-brilho 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes clube-brilho { 0%, 55% { left: -70%; } 100% { left: 135%; } }
@keyframes clube-pulso { 0% { box-shadow: 0 6px 0 var(--amarelo-sombra), 0 0 0 0 rgba(255, 205, 60, .65), 0 12px 24px var(--sombra); } 70%, 100% { box-shadow: 0 6px 0 var(--amarelo-sombra), 0 0 0 14px rgba(255, 205, 60, 0), 0 12px 24px var(--sombra); } }
@media (prefers-reduced-motion: reduce) { .btn-clube, .btn-clube::after { animation: none; } .btn-clube::after { display: none; } }

/* ---------- Preço de Fundador ---------- */
.preco-fundador { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px; text-align: center; }
.pf-selo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-titulo); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b4a00; background: var(--amarelo-claro); border: 2px solid var(--amarelo); border-radius: 999px; padding: 3px 12px 3px 6px; }
.pf-selo .coroa { position: relative; top: auto; left: auto; margin: 0; width: 22px; height: 17px; transform: none; animation: none; }
.pf-selo .coroa i { display: none; }
.pf-linha { display: flex; align-items: baseline; justify-content: center; gap: 8px; color: var(--tinta); margin-top: 4px; }
.pf-linha s { color: var(--tinta-suave); font-weight: 800; }
.pf-linha b { font-family: var(--f-titulo); font-weight: 800; font-size: 36px; line-height: 1; }
.pf-linha span { font-weight: 800; color: var(--tinta-suave); }
.pf-anual { font-weight: 800; font-size: 14px; color: var(--tinta-suave); }
.pf-vagas { font-weight: 800; font-size: 14px; color: var(--rosa-sombra); }
.pf-vagas b { font-family: var(--f-titulo); font-size: 17px; }
.preco-fundador.grande { align-items: flex-start; text-align: left; }
.preco-fundador.grande .pf-linha { justify-content: flex-start; color: var(--texto); }
.preco-fundador.grande .pf-linha s, .preco-fundador.grande .pf-linha span, .preco-fundador.grande .pf-anual { color: var(--texto-suave); }
.preco-fundador.grande .pf-linha b { font-size: clamp(52px, 10vw, 72px); line-height: .9; color: var(--amarelo); text-shadow: 3px 3px 0 var(--rosa); }
.preco-fundador.grande .pf-vagas { color: var(--amarelo); }

/* ---------- Escolha de plano ---------- */
.planos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plano { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 3px solid rgba(29, 27, 46, .14); background: #fff; color: var(--tinta); border-radius: 18px; padding: 12px 14px; min-height: 44px; }
.plano[aria-checked="true"] { border-color: var(--amarelo); background: var(--amarelo-claro); box-shadow: 0 0 0 3px rgba(255, 205, 60, .35); }
.pl-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 15px; color: var(--tinta-suave); }
.plano b { font-family: var(--f-titulo); font-weight: 800; font-size: 28px; line-height: 1.05; }
.plano small { font-size: 12.5px; font-weight: 800; color: var(--tinta-suave); line-height: 1.25; }
.pl-selo { position: absolute; top: -11px; right: 10px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--rosa); color: #fff; border-radius: 999px; padding: 2px 8px; }
.planos-clube { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; max-width: 760px; }
.plano-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plano-card .olho { color: var(--tinta-suave); }
.plano-card.destaque { box-shadow: 0 0 0 4px var(--amarelo), 0 14px 30px var(--sombra); }
.pc-preco { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--tinta); }
.pc-preco s { color: var(--tinta-suave); font-weight: 800; }
.pc-preco b { font-family: var(--f-titulo); font-weight: 800; font-size: 44px; line-height: 1; }
.pc-preco span { font-weight: 800; color: var(--tinta-suave); }
.pc-selo { position: absolute; top: -13px; right: 16px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--rosa); color: #fff; border-radius: 999px; padding: 3px 10px; }
.clube-fundador { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.clube-fundador li { display: flex; gap: 12px; align-items: flex-start; background: var(--vidro); border: 2px solid var(--linha-ouro); border-radius: 20px; padding: 16px; }
.clube-fundador h3 { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--amarelo); }
.clube-fundador p { margin-top: 4px; color: var(--texto-suave); font-weight: 700; }
.cf-coroa .coroa { position: relative; top: auto; left: auto; margin: 0; width: 40px; height: 30px; transform: none; }

/* ---------- Selo de Fundador ---------- */
[data-selo-fundador]:empty { display: none; }
[data-selo-fundador] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; }
.selo-fundador { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, #fff3c4, #ffd75a); color: #4a3200; border: 2px solid #c9961a; border-radius: 999px; padding: 4px 14px 4px 8px; box-shadow: 0 3px 0 #a87400; }
.selo-fundador svg { width: 26px; height: 20px; }
.selo-fundador b { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.selo-fundador span { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.selo-plano { font-weight: 800; font-size: 13px; color: var(--texto-suave); }
.papel .selo-plano { color: var(--tinta-suave); }

/* ---------- Simulação da prévia ---------- */
.demo-barra { position: fixed; left: 12px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 8px; background: rgba(29, 27, 46, .92); color: #fff; border: 2px dashed var(--amarelo); border-radius: 999px; padding: 4px 4px 4px 12px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.demo-barra b { color: var(--amarelo); }
.demo-barra button { border: 0; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-weight: 800; font-size: 13px; padding: 6px 12px; min-height: 32px; }
@media (min-width: 900px) { .demo-barra { bottom: 16px; } }
.pagdemo { max-width: 520px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.pagdemo .olho { color: var(--tinta-suave); }
.pd-aviso { background: var(--amarelo-claro); border: 2px dashed var(--amarelo-sombra); border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 14px; }
.pd-pix { display: flex; align-items: center; gap: 14px; }
.pd-pix svg { width: 120px; height: 120px; flex: none; background: #fff; padding: 6px; border-radius: 10px; border: 2px solid rgba(29, 27, 46, .15); fill: var(--tinta); shape-rendering: crispEdges; opacity: .55; }
.pd-pix p { font-weight: 700; color: var(--tinta-suave); }

/* ===== Número quente nas cartas ===== */
.b-corpo { flex-wrap: wrap; }
@container (max-width: 760px) { .b-corpo { flex-wrap: nowrap; } }
.b-dica { flex-basis: 100%; margin: 0; font-size: clamp(12.5px, 1.6cqw, 14px); font-weight: 700; line-height: 1.3; color: var(--tinta-suave); min-height: 1.3em; }
.b-dica:empty { display: none; }
.b-dica.quente { color: var(--tinta); }
.b-dica.quente::before { content: ''; display: inline-block; width: .7em; height: .9em; margin-right: 6px; vertical-align: -.1em; background: var(--laranja); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 0 0 2px var(--amarelo); }
.bilhete.espera .b-dica { opacity: 0; }
.palpite-mais { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Aviso ao vivo (só dado real) ===== */
.aviso-vivo { position: fixed; left: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 45; max-width: min(380px, calc(100vw - 24px)); display: flex; align-items: center; gap: 10px; background: var(--papel); color: var(--tinta); border: 3px solid var(--c, var(--amarelo)); border-radius: 18px; padding: 8px 6px 8px 8px; box-shadow: 0 10px 24px rgba(3, 8, 36, .45); animation: aviso-entra .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.aviso-vivo.sai { animation: aviso-sai .3s ease-in both; }
.aviso-vivo.calmo, .aviso-vivo.calmo.sai { animation: none; }
.av-arte svg { width: 40px; height: 40px; background: var(--c2, #fff); border-radius: 50%; padding: 3px; display: block; }
.av-txt { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--tinta); text-decoration: none; }
.av-txt b { font-weight: 800; }
.av-fechar { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--tinta-suave); font-size: 22px; line-height: 1; cursor: pointer; }
.av-fechar:hover { background: var(--papel-2); }
@keyframes aviso-entra { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aviso-sai { to { transform: translateY(12px); opacity: 0; } }
@media (min-width: 900px) { .aviso-vivo { left: 20px; bottom: 20px; } }
html[data-previa] .aviso-vivo, .pagina[data-previa] ~ .aviso-vivo { bottom: calc(126px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .pagina[data-previa] ~ .aviso-vivo { bottom: 64px; } }

/* ===== Consentimento do Analytics ===== */
.consentimento { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 46; max-width: 560px; margin-inline: auto; background: var(--noite); color: var(--texto); border: 2px solid var(--linha-ouro); border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 28px rgba(3, 8, 36, .5); font-size: 15px; }
.consentimento a { color: var(--amarelo); }
.consentimento-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.consentimento .btn { min-height: 44px; padding: 8px 18px; font-size: 16px; }
@media (min-width: 900px) { .consentimento { bottom: 20px; } }

/* ===== Conta: nome no ranking ===== */
.apelido-msg { margin: 2px 0 0; font-size: 14px; font-weight: 800; color: var(--rosa-claro); }
.apelido-msg.ok { color: var(--verde-luz); }
.papel .apelido-msg, .entrar .apelido-msg { color: var(--rosa-sombra); }
.papel .apelido-msg.ok, .entrar .apelido-msg.ok { color: var(--verde-sombra); }
.marca-clara { color: var(--texto); font-size: 15px; margin-top: 4px; }
.marca-clara input { accent-color: var(--amarelo); }
.conta-aviso .link-seta { color: var(--amarelo); margin-top: 10px; }
.rot-op { font-family: var(--f-texto); font-weight: 700; font-size: 13px; color: var(--tinta-suave); }
.apelido-conta { display: flex; flex-direction: column; gap: 6px; background: var(--papel-2); border-radius: 16px; padding: 12px 16px; }
.apelido-conta .rot { margin: 0; font-size: 15px; }
.apelido-linha { display: flex; gap: 8px; }
.apelido-linha .campo-texto { flex: 1 1 auto; min-height: 48px; font-size: 18px; }
.apelido-linha .btn { flex: none; }
.acoes-conta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Ranking da turma ===== */
.minha-linha { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 16px; margin-bottom: 12px; border-left: 6px solid var(--amarelo); }
.minha-linha b { font-family: var(--f-titulo); font-size: 19px; }
.minha-linha span { color: var(--tinta-suave); font-weight: 700; font-size: 15px; }
.ranking { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rk { display: grid; grid-template-columns: 34px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--vidro); border-radius: 16px; padding: 8px 14px; }
.rk:nth-child(-n+3) { background: var(--papel); color: var(--tinta); }
.rk.eu { outline: 3px solid var(--amarelo); }
.rk-pos { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; color: var(--amarelo); }
.rk:nth-child(-n+3) .rk-pos { color: var(--rosa-sombra); }
.rk-nivel svg { width: 44px; height: 44px; display: block; }
.rk-nome { min-width: 0; }
.rk-nome b { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.rk-nome small { display: block; font-size: 13px; font-weight: 700; color: var(--texto-suave); line-height: 1.3; }
.rk:nth-child(-n+3) .rk-nome small { color: var(--tinta-suave); }
.rk-n { text-align: right; font-weight: 800; white-space: nowrap; }
.rk-n b { font-family: var(--f-titulo); font-size: 22px; }
.rk-n small { display: block; font-size: 12px; color: var(--texto-suave); }
.rk:nth-child(-n+3) .rk-n small { color: var(--tinta-suave); }
@media (max-width: 520px) { .rk { grid-template-columns: 26px 36px minmax(0, 1fr) auto; padding: 8px 10px; gap: 8px; } .rk-nivel svg { width: 36px; height: 36px; } }

/* ===== Hub: atalhos e Montar meu jogo ===== */
.hb-atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hb-atalhos a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--linha); color: var(--texto); text-decoration: none; font-family: var(--f-titulo); font-weight: 800; font-size: 15px; background: var(--vidro); }
.hb-atalhos a:hover { border-color: var(--amarelo); }
.mt-envolve { position: relative; margin-top: 16px; }
.mt-trava { display: none; }
.hub.trancado .mt-trava { display: flex; position: absolute; z-index: 2; left: 50%; top: 96px; translate: -50% 0; width: min(440px, calc(100% - 24px)); flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px; box-shadow: 0 16px 36px rgba(3, 8, 36, .5); }
.hb-montar { scroll-margin-top: 90px; }
.hb-montar .atr-cab { align-items: flex-end; }
.mt-mesa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .mt-mesa { grid-template-columns: minmax(0, 1fr); } }
.mt-carta { background: var(--c2, var(--papel)); color: var(--tinta); border: 3px solid var(--c, transparent); border-radius: 20px; padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mt-carta.vazia { background: rgba(255, 255, 255, .06); border: 2px dashed var(--linha); color: var(--texto); justify-content: center; min-height: 160px; }
.mt-carta.vazia select { width: 100%; }
.mt-dica { font-size: 13px; font-weight: 700; color: var(--texto-suave); margin: 0; }
.mt-pos { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.mt-carta.vazia .mt-pos { color: var(--texto-suave); }
.mt-cab { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; }
.mt-cab svg { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 4px; }
.mt-cab b { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; }
.mt-cab small { display: block; font-size: 12.5px; font-weight: 800; color: var(--tinta-suave); line-height: 1.3; margin-top: 2px; }
.mt-r { margin: 6px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }
.mt-r small { letter-spacing: 0; text-transform: none; font-weight: 700; }
.mt-nums { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-num { display: inline-flex; flex-direction: column; align-items: center; min-width: 56px; min-height: 48px; padding: 4px 8px; border-radius: 12px; border: 2px solid rgba(29, 27, 46, .18); background: #fff; color: var(--tinta); cursor: pointer; }
.mt-num b { font-family: var(--f-titulo); font-weight: 800; font-size: 20px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mt-num small { font-size: 11.5px; font-weight: 800; color: var(--tinta-suave); }
.mt-num.ouro { background: linear-gradient(180deg, #fff8dc, #ffe39a); border-color: var(--amarelo-sombra); box-shadow: 0 0 0 2px rgba(255, 205, 60, .55); }
.mt-num[aria-pressed="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.mt-num[aria-pressed="true"] small { color: var(--amarelo); }
.mt-num[aria-pressed="true"].ouro { box-shadow: 0 0 0 3px var(--amarelo); }
.mt-sem { font-size: 13px; font-weight: 700; color: var(--tinta-suave); }
.mt-linha-campo { display: grid; grid-template-columns: auto 88px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; font-weight: 800; color: var(--tinta-suave); }
.mt-linha-campo small { font-weight: 700; }
.mt-campo { width: 100%; min-height: 44px; border-radius: 10px; border: 2px solid rgba(29, 27, 46, .25); background: #fff; color: var(--tinta); font-family: var(--f-titulo); font-weight: 800; font-size: 20px; text-align: center; letter-spacing: .08em; font-variant-numeric: tabular-nums; padding: 2px 6px; }
.mt-campo:focus-visible { outline: 3px solid var(--rosa); outline-offset: 1px; }
.mt-erro { margin: 0; font-size: 13px; font-weight: 800; color: var(--rosa-sombra); }
.mt-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.mt-forte, .mt-tirar { min-height: 40px; border-radius: 999px; padding: 4px 14px; font-family: var(--f-titulo); font-weight: 800; font-size: 15px; cursor: pointer; }
.mt-forte { border: 2px solid var(--amarelo-sombra); background: var(--amarelo); color: var(--tinta); }
.mt-tirar { border: 2px solid rgba(29, 27, 46, .25); background: transparent; color: var(--tinta); }
.mt-carta select, .mt-troca select { min-height: 40px; border-radius: 999px; border: 2px solid rgba(29, 27, 46, .25); background: #fff; color: var(--tinta); font-family: var(--f-titulo); font-weight: 800; font-size: 15px; padding: 4px 12px; max-width: 100%; }
.mt-carta.vazia select { border-color: var(--linha); background: var(--ceu-escuro); color: var(--texto); min-height: 48px; font-size: 16px; }
.mt-troca { flex: 1 1 140px; min-width: 0; }
.mt-troca select { width: 100%; }
.mt-baixo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 6px; align-items: start; }
@media (max-width: 899px) { .mt-baixo { grid-template-columns: minmax(0, 1fr); } }
.mt-tabela-rola { overflow-x: auto; }
.mt-tabela { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mt-tabela th, .mt-tabela td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.mt-tabela thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }
.mt-tabela tbody th { font-weight: 800; }
.mt-tabela td:last-child { white-space: nowrap; font-family: var(--f-titulo); font-weight: 800; color: var(--amarelo); }
.mt-vazio { color: var(--texto-suave); font-weight: 700; }
.mt-salvar { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .06); border-radius: 18px; padding: 14px; }
.mt-rot { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; }
.mt-rot span { font-family: var(--f-texto); font-weight: 700; font-size: 13px; color: var(--texto-suave); }
.mt-salvar .campo-texto { min-height: 48px; font-size: 18px; }
.mt-salvar .salvo { color: var(--verde-luz); }
.mt-salvar .salvo a { color: var(--texto); }
.mt-salvar .link-btn { align-self: flex-start; color: var(--texto-suave); }
.sonho-privado { margin: 2px 0 0; font-size: 13px; }

/* ===== Botão do grupo que acompanha a rolagem (discreto) ===== */
.zap-flutua { position: fixed; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 44; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(3, 8, 36, .35); opacity: .92; transition: transform .15s, opacity .15s; }
.zap-flutua svg { width: 26px; height: 26px; }
.zap-flutua span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zap-flutua:hover, .zap-flutua:focus-visible { opacity: 1; transform: scale(1.06); }
.zap-flutua:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }
@media (min-width: 900px) { .zap-flutua { right: 22px; bottom: 22px; width: 50px; height: 50px; } .zap-flutua svg { width: 28px; height: 28px; } }
@media (max-width: 899px) { .aviso-vivo { max-width: calc(100vw - 84px); } }
.pagina:has(#portao:not([hidden]), #convite:not([hidden])) .zap-flutua { display: none; }
.zap-flutua { animation: zap-pulso 2.4s ease-out infinite; }
@keyframes zap-pulso { 0% { box-shadow: 0 4px 12px rgba(3, 8, 36, .35), 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 4px 12px rgba(3, 8, 36, .35), 0 0 0 14px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .zap-flutua { animation: none; } }

/* ===== Etiqueta dos acertos na carta do Jorge (relatos do grupo), com parallax ===== */
@media (max-width: 859px) { .hero-grade { grid-template-areas: "tit carta" "lead carta" "turma turma" "acoes acoes" "nota nota"; } }
.hero-turma, .etiqueta-acertos .ea-in { display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 10px; border-radius: 999px; background: var(--papel); color: var(--tinta); box-shadow: 0 14px 30px rgba(3, 8, 36, .38), inset 0 0 0 1.5px rgba(201, 150, 26, .45); }
.hero-turma { grid-area: turma; margin: 0; }
.ea-num { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ceu-escuro); font-family: var(--f-titulo); font-weight: 800; font-size: 23px; line-height: 1; color: var(--amarelo); text-shadow: 1.5px 1.5px 0 var(--rosa); letter-spacing: -.02em; }
.ea-txt { display: flex; flex-direction: column; gap: 1px; font-family: var(--f-titulo); line-height: 1.1; }
.ea-txt b { font-weight: 800; font-size: 17px; }
.ea-txt small { font-weight: 700; font-size: 13.5px; color: var(--tinta-suave); }
.hero-nota { grid-area: nota; margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--texto-suave); opacity: .85; }
.etiqueta-acertos { display: none; }
@media (min-width: 860px) {
  .hero-turma { display: none; }   /* no computador a etiqueta fica em cima da carta */
  .hero-nota { max-width: 44ch; }
  .etiqueta-acertos { display: block; position: absolute; z-index: 3; left: -22%; bottom: 17%; rotate: -3deg; }
  .etiqueta-acertos .ea-in { animation: ea-flutua 6s ease-in-out infinite; }
  .ea-txt b { font-size: 18px; }
}
.carta-jorge [data-camada] { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
@keyframes ea-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .etiqueta-acertos .ea-in { animation: none; } .carta-jorge [data-camada] { transition: none; } }
/* entre 900 e 1179 px o menu desce pra segunda linha do topo (antes ele espremia o logo) */
@media (min-width: 900px) and (max-width: 1179px) { .topo-linha { flex-wrap: wrap; } }
