/* Baralho Tagarela · visual leve (revisão 03/12/2026): cores suaves, sombras finas, cantos redondos. */
/* Fontes (Google Fonts, licença livre OFL), guardadas no app para funcionar sem internet. */
@font-face { font-family: "Baloo 2"; font-weight: 400 800; font-display: swap; src: url("fonts/Baloo2.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url("fonts/Nunito.woff2") format("woff2"); }
:root {
  --titulo: "Baloo 2", "Nunito", "Segoe UI", sans-serif;
  --azul: #1aa7c9; --azul-esc: #0f7f9b; --marinho: #1d3a52; --amarelo: #ffcf4a; --amarelo-esc: #e0a800;
  --verde: #34b36b; --verde-esc: #23864f; --vermelho: #f26b6b; --rosa: #ff9cc2; --lilas: #b9a7f5;
  --fundo: #f4fbfd; --branco: #fff; --tinta: #23384b; --suave: #6b7f90; --linha: #e3eef3;
  --raio: 24px;
  --sombra: 0 1px 2px rgba(29, 58, 82, .06), 0 8px 24px rgba(29, 58, 82, .08);
  --sombra-forte: 0 2px 4px rgba(29, 58, 82, .06), 0 14px 34px rgba(29, 58, 82, .12);
  font-family: "Nunito", "Baloo 2", "Varela Round", "Segoe UI Rounded", ui-rounded, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { background: var(--fundo); color: var(--tinta); overflow-x: hidden; overscroll-behavior: none; user-select: none; -webkit-user-select: none; -webkit-font-smoothing: antialiased; }
#app { min-height: 100dvh; display: flex; flex-direction: column; }
#confete { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, .grosso { font-weight: 800; letter-spacing: -.01em; }
/* títulos e botões com a letra redondinha (Baloo 2) */
h1, h2, h3, .grosso, .logo-nome, .titulo-grande, .btn, .pino b, .op, .idade, .ritmo, .termo-num, .resultado, .barra-inf button, .dir-num, .slot, .monstro .nome { font-family: var(--titulo); }
h1, h2, h3, .logo-nome, .titulo-grande { line-height: 1.05; letter-spacing: 0; }
.btn { letter-spacing: .01em; padding-top: 14px; }

/* fundos */
.tela { flex: 1; display: flex; flex-direction: column; padding: max(16px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); position: relative; animation: entra .3s ease-out both; }
.ceu { background:
  radial-gradient(60% 40% at 85% 8%, rgba(255, 214, 102, .22), transparent 70%),
  radial-gradient(70% 50% at 0% 100%, rgba(26, 167, 201, .10), transparent 70%),
  linear-gradient(180deg, #fbfeff 0%, #eef8fb 100%); }
.mar { background: linear-gradient(180deg, #e9f8fc 0%, #cdeef7 100%); }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px 28px; border-radius: 999px; font-size: 1.2rem; font-weight: 800; background: var(--amarelo); color: var(--marinho); box-shadow: 0 3px 0 var(--amarelo-esc), 0 8px 18px rgba(224, 168, 0, .18); transition: transform .1s, box-shadow .1s, opacity .2s; position: relative; overflow: hidden; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--amarelo-esc); }
.btn.amarelo { background: var(--amarelo); }
.btn.azul { background: var(--azul); color: #fff; box-shadow: 0 3px 0 var(--azul-esc), 0 8px 18px rgba(26, 167, 201, .22); }
.btn.verde { background: var(--verde); color: #fff; box-shadow: 0 3px 0 var(--verde-esc), 0 8px 18px rgba(52, 179, 107, .22); }
.btn.branco { background: #fff; color: var(--marinho); box-shadow: 0 0 0 2px var(--linha), 0 6px 14px rgba(29,58,82,.06); }
.btn.peq { min-height: 46px; font-size: 1rem; padding: 8px 18px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
/* botão "Próxima": barrinha que enche enquanto a trilha segue sozinha */
.btn.auto::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: rgba(255,255,255,.75); transform-origin: left; animation: enche 2.6s linear both; }
@keyframes enche { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.largo { width: 100%; }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.voltar, .pausa { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--sombra); font-size: 1.3rem; display: grid; place-items: center; color: var(--marinho); }
.pausa { opacity: .7; font-size: 1.05rem; }

/* abertura */
.abertura { align-items: center; justify-content: center; text-align: center; gap: 8px; }
.abertura .masc { width: min(58vw, 300px); }
.logo-nome { font-size: clamp(2.2rem, 8.5vw, 3.3rem); font-weight: 800; color: var(--marinho); line-height: 1; }
.logo-nome span { display: block; font-size: 1.25em; background: linear-gradient(90deg, #1aa7c9 0%, #34b36b 55%, #f5a623 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 4px; }
.abertura .masc { width: min(62vw, 320px); }
.abertura::before, .abertura::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.abertura { position: relative; z-index: 0; }
.abertura::before { width: 220px; height: 220px; background: rgba(255, 207, 74, .18); top: 6%; right: -70px; }
.abertura::after { width: 260px; height: 260px; background: rgba(26, 167, 201, .10); bottom: 4%; left: -110px; }
.sub { color: var(--suave); font-weight: 700; font-size: 1.05rem; }
.marca { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--azul-esc); text-transform: uppercase; }

/* mascote */
.masc { display: block; filter: drop-shadow(0 8px 10px rgba(29,58,82,.14)); animation: flutua 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
.masc.pula { animation: pula .55s ease 2, flutua 3.4s ease-in-out 1.1s infinite; }
@keyframes flutua { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
@keyframes pula { 0%,100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-20px) scale(1.05, .97); } }
.fala { position: relative; background: #fff; border-radius: 22px; padding: 14px 18px; font-size: clamp(1.15rem, 4.4vw, 1.5rem); font-weight: 700; line-height: 1.35; color: var(--marinho); box-shadow: var(--sombra-forte); }
.fala.nova { animation: balanca .35s ease-out; }
@keyframes balanca { from { transform: scale(.96); opacity: .5; } to { transform: none; opacity: 1; } }
.fala::after { content: ""; position: absolute; left: 34px; bottom: -12px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.cena-topo .fala { align-self: center; }
.cena-topo .fala::after { left: -12px; top: 50%; bottom: auto; transform: translateY(-50%); border: 12px solid transparent; border-right-color: #fff; border-left: 0; }
@media (min-width: 760px) and (orientation: landscape) { .cena-topo .fala::after { left: 50%; top: -12px; transform: translateX(-50%); border: 12px solid transparent; border-bottom-color: #fff; border-top: 0; } }
.fala .ouvir { float: right; margin: -2px -4px 4px 10px; width: 40px; height: 40px; border-radius: 50%; background: #eef8fb; font-size: 1.1rem; }

/* mapa */
.mapa-wrap { position: relative; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra-forte); border: 4px solid #fff; }
.mapa-wrap img { width: 100%; display: block; }
.pino { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pino b { background: rgba(255,255,255,.95); color: var(--marinho); font-weight: 800; font-size: clamp(.78rem, 3.1vw, 1rem); padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(29,58,82,.18); white-space: nowrap; }
.pino.ativo b::before { content: "▶ "; font-size: .8em; color: var(--verde-esc); }
.pino.ativo b { font-size: clamp(.85rem, 3.4vw, 1.08rem); background: var(--amarelo); animation: brilha 2s ease-in-out infinite; }
.pino.bloq b { opacity: .8; }
.pino.bloq b::before { content: "🔒 "; }
@keyframes brilha { 0%,100% { box-shadow: 0 4px 12px rgba(29,58,82,.18), 0 0 0 0 rgba(255,207,74,.7); } 50% { box-shadow: 0 4px 12px rgba(29,58,82,.18), 0 0 0 12px rgba(255,207,74,0); } }
.barra-inf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
.barra-inf button { flex-direction: row !important; justify-content: center; gap: 10px !important; background: #fff; border-radius: 18px; padding: 12px 6px; font-weight: 800; font-size: .92rem; color: var(--marinho); box-shadow: var(--sombra); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.barra-inf button span { font-size: 1.5rem; }

/* idade / resumo */
.cartao { background: #fff; border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra); }
.idades { display: grid; gap: 12px; margin: 16px 0; }
.idade { background: #fff; border-radius: 22px; padding: 16px 18px; display: flex; align-items: center; gap: 16px; font-size: 1.3rem; font-weight: 800; color: var(--marinho); box-shadow: var(--sombra); text-align: left; border: 3px solid transparent; transition: border-color .15s, background .15s; }
.idade.sel { border-color: var(--azul); background: #f0fafd; }
.idade .bola { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; flex: none; }
input.apelido, textarea { width: 100%; font: inherit; font-size: 1.1rem; font-weight: 600; padding: 13px 16px; border-radius: 16px; border: 2px solid var(--linha); background: #fff; color: var(--tinta); user-select: text; -webkit-user-select: text; outline: none; }
input.apelido:focus, textarea:focus { border-color: var(--azul); }
textarea { min-height: 96px; resize: vertical; font-size: 1rem; }
.lugar-banner { width: 100%; max-width: 560px; margin: 10px auto 0; aspect-ratio: 16/8; object-fit: cover; border-radius: 22px; box-shadow: var(--sombra); display: block; }
.lugar-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; }
.etq { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-esc); }
.lista li { margin: 6px 0 6px 22px; font-size: 1rem; line-height: 1.45; font-weight: 600; }
.dica { background: #fff8e1; border-radius: 16px; padding: 12px 14px; font-weight: 700; font-size: .95rem; color: #6b5300; }

/* trilha */
.progresso { display: flex; gap: 8px; align-items: center; justify-content: center; flex: 1; }
.progresso i { width: 12px; height: 12px; border-radius: 50%; background: #d9e9ef; transition: all .3s; }
.progresso i.feito { background: var(--verde); }
.progresso i.agora { background: var(--amarelo); width: 28px; border-radius: 999px; }
.cena { flex: 1; display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start; max-width: 900px; width: 100%; margin: 0 auto; }
.cena-topo { display: grid; grid-template-columns: minmax(104px, 30%) 1fr; gap: 14px; align-items: end; }
.cena-topo .masc { width: 100%; max-height: 30vh; object-fit: contain; }
@media (min-width: 760px) and (orientation: landscape) {
  .cena { grid-template-columns: 38% 1fr; align-items: center; max-width: 1100px; }
  .cena-topo { grid-template-columns: 1fr; }
  .cena-topo .masc { max-height: 44vh; margin: 0 auto; }
  .op { min-height: 140px; font-size: 1.2rem; }
  .op .em { font-size: 3.4rem; }
  .carta h2 { font-size: 1.8rem; }
}
.carta { background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--sombra-forte); animation: surge .45s cubic-bezier(.2,.8,.3,1.1) both; }
@keyframes surge { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.carta h2 { font-size: clamp(1.25rem, 4.8vw, 1.65rem); color: var(--marinho); text-align: center; margin-bottom: 14px; }
.opcoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.opcoes.n4 { grid-template-columns: repeat(2, 1fr); }
.opcoes.n3 { grid-template-columns: repeat(3, 1fr); }
.op { background: #f7fbfd; border-radius: 20px; min-height: 108px; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 1.05rem; font-weight: 800; color: var(--marinho); border: 2px solid var(--linha); transition: transform .12s, border-color .15s, background .15s, opacity .3s; }
.op .em { font-size: 2.3rem; line-height: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff3cc; }
.op:nth-child(6n+2) .em { background: #dff4fa; }
.op:nth-child(6n+3) .em { background: #e6f7ea; }
.op:nth-child(6n+4) .em { background: #ffe4ec; }
.op:nth-child(6n+5) .em { background: #ece7ff; }
.op:nth-child(6n+6) .em { background: #ffeedd; }
.op { font-size: 1.12rem; font-weight: 700; line-height: 1.1; text-align: center; }
.op:active { transform: scale(.95); }
.op.sel { border-color: var(--verde); background: #ecf9f1; transform: scale(1.03); box-shadow: 0 6px 16px rgba(52,179,107,.18); }
.op.apaga { opacity: .3; }
.acoes { display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* roleta */
.roleta-box { position: relative; width: min(72vw, 330px); aspect-ratio: 1; margin: 26px auto 0; }
.roleta { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--linha), var(--sombra-forte); transition: transform 3.2s cubic-bezier(.12,.8,.2,1); }
.seta { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border: 17px solid transparent; border-top: 30px solid var(--marinho); border-bottom: 0; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); z-index: 2; }
.resultado { text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--marinho); min-height: 2.1em; padding-top: 8px; }
.resultado.aparece { animation: ganha-txt .5s cubic-bezier(.2,.8,.3,1.4) both; }
@keyframes ganha-txt { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* termômetro */
.termo { padding: 14px 16px 18px; }
.termo-faces { display: flex; justify-content: space-between; font-size: 2rem; padding: 0 4px; }
.termo input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; border-radius: 999px; background: linear-gradient(90deg, #7cc4f5, #6fd49a, #ffd666, #ffad66, #f78a8a); outline: none; margin: 14px 0; }
.termo input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 5px solid var(--marinho); box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.termo input[type=range]::-moz-range-thumb { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 5px solid var(--marinho); }
.termo-num { text-align: center; font-size: 2.8rem; font-weight: 800; color: var(--marinho); }
.termo-num small { display: block; font-size: 1.05rem; color: var(--suave); }

/* lixeira */
.lix-area { position: relative; height: 290px; border-radius: 22px; background: linear-gradient(180deg, #f5f2ff, #ebe5ff); overflow: hidden; touch-action: none; }
.monstro { position: absolute; left: 18px; top: 26px; width: 150px; height: 110px; touch-action: none; cursor: grab; z-index: 3; }
.monstro .nuvem { width: 100%; height: 100%; background: #a8b0bd; border-radius: 60px 70px 50px 60px; position: relative; box-shadow: inset -10px -10px 0 rgba(0,0,0,.08), 0 8px 14px rgba(0,0,0,.12); display: grid; place-items: center; animation: treme 1.2s ease-in-out infinite; }
.monstro .nuvem::before, .monstro .nuvem::after { content: ""; position: absolute; background: #a8b0bd; border-radius: 50%; }
.monstro .nuvem::before { width: 70px; height: 70px; top: -30px; left: 22px; }
.monstro .nuvem::after { width: 56px; height: 56px; top: -20px; right: 18px; }
.monstro .cara { position: relative; z-index: 1; font-size: 2.6rem; }
.monstro .nome { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); background: #fff; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: 1rem; white-space: nowrap; z-index: 2; box-shadow: var(--sombra); }
@keyframes treme { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.lixo { position: absolute; right: 18px; bottom: 14px; width: 116px; height: 136px; z-index: 2; }
.lixo .tampa { height: 20px; border-radius: 12px; background: #f27a92; margin: 0 -6px; transition: transform .3s; transform-origin: 10% 100%; }
.lixo.abre .tampa { transform: rotate(-40deg); }
.lixo .corpo { height: 116px; border-radius: 0 0 20px 20px; background: repeating-linear-gradient(90deg, #f99bb0 0 18px, #fcc0cd 18px 36px); display: grid; place-items: center; font-size: 2.5rem; }
.monstro.vai { transition: all .5s ease-in; transform: scale(.1) rotate(360deg); opacity: 0; }

/* respira */
.respira { display: grid; place-items: center; gap: 10px; padding: 6px 0; }
.palco { height: 260px; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 60px; }
.balao { transform-origin: 50% 100%; width: 106px; height: 124px; border-radius: 50% 50% 48% 48%; background: radial-gradient(circle at 35% 30%, #c8f4fb, #5fd3ea 45%, #1aa7c9); position: relative; transition: transform 3.5s ease-in-out; box-shadow: inset -10px -12px 0 rgba(0,0,0,.06); }
.balao::before { content: ""; position: absolute; top: 99%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-bottom: 9px solid #1aa7c9; border-top: 0; }
.balao::after { content: ""; position: absolute; top: calc(100% + 8px); left: 50%; width: 2px; height: 34px; background: #8aa0b0; }
.vela { position: relative; width: 70px; height: 170px; }
.vela .cera { position: absolute; bottom: 0; left: 0; width: 70px; height: 120px; border-radius: 12px; background: linear-gradient(90deg, #fde0ee, #fbbfd9); }
.vela .chama { position: absolute; bottom: 118px; left: 18px; width: 34px; height: 52px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fffbd1, #ffd666 50%, #ffad66); transform-origin: 50% 100%; transition: transform 1s ease; animation: chama .3s ease-in-out infinite alternate; }
@keyframes chama { from { transform: scale(1) rotate(-2deg); } to { transform: scale(1.05) rotate(2deg); } }
.ritmo { font-size: 1.7rem; font-weight: 800; color: var(--marinho); min-height: 1.4em; text-align: center; }
.contagem { display: flex; gap: 10px; justify-content: center; }
.contagem i { width: 18px; height: 18px; border-radius: 50%; background: #d9e9ef; transition: background .3s; }
.contagem i.ok { background: var(--verde); }

/* adesivo / tchau */
.centro { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.adesivo-grande { width: min(66vw, 320px); filter: drop-shadow(0 10px 16px rgba(0,0,0,.16)); animation: ganha 1s cubic-bezier(.2,.8,.3,1.3) both; }
@keyframes ganha { from { transform: scale(0) rotate(-200deg); } to { transform: scale(1) rotate(-6deg); } }
.titulo-grande { font-size: clamp(1.9rem, 7.5vw, 2.7rem); font-weight: 800; color: var(--marinho); line-height: 1.1; }

/* leitura (tela do profissional: mais sóbria) */
.leitura { background: #f6f8fa; }
.leitura .cartao { margin-bottom: 14px; }
.resp { border-left: 4px solid var(--azul); padding: 4px 0 4px 12px; margin: 14px 0; }
.resp b { display: block; font-size: 1rem; }
.resp .esc { font-size: 1.1rem; font-weight: 800; color: var(--marinho); margin: 2px 0; }
.resp .pista { font-size: .95rem; line-height: 1.45; color: #3c4f60; font-weight: 600; }
.resp .pista.destaque { background: #fff8e1; border-radius: 10px; padding: 6px 8px; margin-top: 4px; }
.missao { background: #effaf4; border: 2px solid #bfe9d0; border-radius: 18px; padding: 14px; font-weight: 600; line-height: 1.5; }
.aviso { font-size: .84rem; color: var(--suave); font-weight: 600; line-height: 1.45; }

.topo-mapa { display: flex; align-items: center; gap: 10px; }
.topo-mapa img { width: 64px; filter: drop-shadow(0 6px 8px rgba(29,58,82,.14)); animation: flutua 3.4s ease-in-out infinite; }
.album-masc { width: 120px; margin: 0 auto 6px; display: block; filter: drop-shadow(0 6px 8px rgba(29,58,82,.14)); }

/* Direção da Sessão */
.dir { max-width: 640px; width: 100%; margin: 0 auto; display: grid; gap: 12px; }
.dir-cab { display: flex; align-items: center; gap: 14px; margin: 4px 0 2px; }
.dir-cab img { width: 76px; filter: drop-shadow(0 6px 8px rgba(29,58,82,.14)); }
.dir-bloco { display: flex; gap: 14px; align-items: flex-start; }
.dir-bloco.destaque { border: 2px solid #bfe7f1; background: #f5fcfe; }
.dir-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 800; display: grid; place-items: center; }
.dir-frase { font-size: 1.15rem; font-weight: 700; color: var(--marinho); line-height: 1.4; margin-top: 4px; }
.dir-folhas { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.dir-folhas li { background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--linha); }
.dir-folhas li b { display: block; color: var(--marinho); }
.dir-folhas li span { font-size: .95rem; color: #3c4f60; font-weight: 600; line-height: 1.4; }
.dir-prox { margin-top: 10px; font-weight: 600; color: var(--suave); }
.dir-casa { margin-top: 6px; font-size: .97rem; line-height: 1.5; font-weight: 600; color: #3c4f60; background: #effaf4; border-radius: 14px; padding: 10px 12px; }

/* álbum */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.slot { background: #fff; border-radius: 20px; padding: 10px; text-align: center; box-shadow: var(--sombra); font-weight: 800; font-size: .92rem; color: var(--marinho); }
.slot img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.slot.vazio img { filter: grayscale(1) brightness(1.6) opacity(.35); }
.sessao { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* avisos */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: var(--marinho); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; z-index: 60; animation: entra .3s both; box-shadow: var(--sombra-forte); }
.modal-fundo { position: fixed; inset: 0; background: rgba(29,58,82,.35); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 40; padding: 20px; }
.modal { background: #fff; border-radius: 26px; padding: 24px; max-width: 420px; width: 100%; text-align: center; display: grid; gap: 12px; box-shadow: var(--sombra-forte); }
.modal h3 { color: var(--marinho); font-size: 1.25rem; }
h1.pag { font-size: 1.7rem; color: var(--marinho); }

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

/* ===== Chave do Modo Calmo (tela da idade) ===== */
.calmo-chave { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 14px 16px; background: #fff; border: 2px solid var(--linha); border-radius: 20px; text-align: left; color: var(--marinho); box-shadow: var(--sombra); }
.calmo-chave b { display: block; font-family: var(--titulo); font-size: 1.15rem; }
.calmo-chave small { display: block; color: var(--suave); font-size: .88rem; line-height: 1.25; margin-top: 2px; }
.calmo-chave .chave { flex: none; width: 54px; height: 32px; border-radius: 999px; background: #d6e2e8; position: relative; transition: background .2s; }
.calmo-chave .chave i { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.15); transition: left .2s; }
.calmo-chave.on { border-color: #b9c8f5; background: #f4f6ff; }
.calmo-chave.on .chave { background: #8fa3e8; }
.calmo-chave.on .chave i { left: 26px; }

/* ===== Modo Calmo: menos movimento, cores mais suaves, botões maiores ===== */
body.calmo { --fundo: #f6f8fb; --amarelo: #ffe7a3; --amarelo-esc: #e9cf86; --azul: #7cc3d8; --azul-esc: #5ea6bb; --verde: #8fd1aa; --verde-esc: #6fb48c; }
body.calmo .tela, body.calmo .carta, body.calmo .masc, body.calmo .masc.pula, body.calmo .fala.nova,
body.calmo .resultado.aparece, body.calmo .monstro .nuvem, body.calmo .vela .chama, body.calmo .adesivo-grande { animation: none !important; }
body.calmo .ceu, body.calmo .tela { background-image: none; }
body.calmo .btn { min-height: 66px; font-size: 1.3rem; color: var(--marinho); }
body.calmo .op { min-height: 132px; font-size: 1.25rem; background: #fbfcfd; }
body.calmo .op .em { transform: scale(1.12); }
body.calmo .roleta { transition-duration: 3.2s; transition-timing-function: ease-out; filter: saturate(.75); }
body.calmo .op.apaga { opacity: .45; }

/* entrada com e-mail */
.login { display: grid; gap: 10px; width: min(100%, 380px); margin-top: 10px; text-align: left; }
.login .erro { color: #c0392b; font-weight: 700; font-size: .9rem; }
.abertura a { color: var(--azul-esc); font-weight: 800; }
