:root {
  color-scheme: light;
  --tinta: #2b1b2c;
  --apoio: #6d5a6c;
  --rosa: #e0407c;
  --rosa-escuro: #b92a60;
  --ouro: #f2ac17;
  --agua: #2f9ee8;
  --verde: #1f9d6b;
  --vidro: rgba(255, 255, 255, .46);
  --vidro-borda: rgba(255, 255, 255, .72);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.22, 1, .36, 1);
  --sombra: 0 10px 30px rgba(110, 40, 80, .13), 0 2px 6px rgba(110, 40, 80, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: #ffe9ee;
  color: var(--tinta);
  font: 400 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
h1, h2, p { margin: 0; }
button:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }

/* Fundo colorido: é ele que dá o que refratar no vidro. */
.fundo { position: fixed; inset: 0; overflow: hidden; z-index: -1; background: linear-gradient(170deg, #fff1e3, #ffe4ef 45%, #e4f1ff); }
.fundo i { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .85; animation: flutua 22s ease-in-out infinite alternate; }
.fundo i:nth-child(1) { width: 320px; height: 320px; left: -90px; top: -60px; background: #ffc95c; }
.fundo i:nth-child(2) { width: 340px; height: 340px; right: -130px; top: 170px; background: #ff8fb8; animation-delay: -6s; }
.fundo i:nth-child(3) { width: 300px; height: 300px; left: -80px; top: 520px; background: #8fd0ff; animation-delay: -12s; }
.fundo i:nth-child(4) { width: 300px; height: 300px; right: -70px; bottom: -80px; background: #ffb3d1; animation-delay: -3s; }
@keyframes flutua { to { transform: translate(38px, 48px) scale(1.14); } }

/* Vidro */
.vidro {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, .64), var(--vidro) 45%, rgba(255, 255, 255, .34));
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid var(--vidro-borda);
  box-shadow: var(--sombra), inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -1px 2px rgba(255, 255, 255, .35);
}
.vidro-claro {
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 4px 12px rgba(80, 40, 80, .1), inset 0 1px 0 #fff;
}

.tela {
  width: min(100%, 430px);
  margin: auto;
  padding: calc(env(safe-area-inset-top) + 18px) 16px calc(env(safe-area-inset-bottom) + 112px);
  display: grid;
  gap: 14px;
}

.topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.data { color: var(--apoio); font-size: 13px; font-weight: 600; }
h1 { font-size: 36px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.selos { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.selo { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.selo svg { width: 14px; height: 14px; fill: #f0781e; }
.selo b { font-variant-numeric: tabular-nums; }

/* Mascote */
.palco { display: grid; justify-items: center; gap: 8px; }
.fala {
  max-width: 300px; min-height: 40px; padding: 9px 15px; border-radius: 19px;
  font-size: 15px; font-weight: 600; text-align: center;
  animation: fala .45s var(--mola);
}
.fala::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px;
  background: rgba(255, 255, 255, .62); transform: rotate(45deg); border-radius: 0 0 4px 0;
  border-right: 1px solid var(--vidro-borda); border-bottom: 1px solid var(--vidro-borda);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
@keyframes fala { from { opacity: 0; transform: translateY(8px) scale(.92); } }

.mascote { position: relative; height: 216px; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.mascote::after {
  content: ""; position: absolute; bottom: -3px; left: 50%; width: 150px; height: 16px; margin-left: -75px;
  background: rgba(100, 40, 80, .2); border-radius: 50%; filter: blur(5px); z-index: -1;
}
.salto { display: block; transform-origin: 50% 100%; animation: respira 1.4s steps(2, jump-none) infinite alternate; }
#sprite { display: block; image-rendering: pixelated; }
@keyframes respira { from { transform: scale(1, 1); } to { transform: scale(1.015, .975); } }
.salto.pula { animation: pula .62s var(--suave); }
@keyframes pula {
  0% { transform: scale(1.14, .82); }
  28% { transform: translateY(-34px) scale(.93, 1.09); }
  62% { transform: translateY(0) scale(1.1, .88); }
  100% { transform: none; }
}
.salto.troca { animation: troca .32s var(--mola); }
@keyframes troca { from { transform: scale(1.1, .88); } }

.medidores { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 11px 14px; border-radius: 20px; }
.medidor { display: grid; gap: 5px; }
.rotulo { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; font-size: 12px; }
.rotulo small { color: var(--apoio); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trilho { display: block; position: relative; height: 8px; border-radius: 9px; background: rgba(90, 40, 80, .12); overflow: hidden; }
.trilho i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, #f76ca0, var(--rosa)); transition: width .8s var(--suave); }
.energia .trilho i { background: linear-gradient(90deg, #ffd25a, var(--ouro)); }

/* Cartões */
.cartao { border-radius: 26px; padding: 16px; display: block; width: 100%; text-align: left; overflow: hidden; }
button.cartao { transition: transform .35s var(--mola); }
button.cartao:active { transform: scale(.965); }
.titulo { font-size: 13px; font-weight: 700; color: var(--apoio); }
.valor { display: block; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.valor small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--apoio); }
.apoio { display: block; color: var(--apoio); font-size: 12.5px; }
.centro { text-align: center; }
.link { padding: 0; color: var(--rosa-escuro); font-weight: 700; font-size: inherit; text-decoration: underline; }

.agua { min-height: 112px; isolation: isolate; }
.nivel {
  position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(180deg, rgba(90, 190, 255, .58), rgba(47, 158, 232, .62));
  transition: height 1s var(--mola);
}
.nivel svg { position: absolute; left: 0; bottom: 100%; width: 200%; height: 12px; margin-bottom: -1px; fill: rgba(90, 190, 255, .58); animation: onda 5s linear infinite; }
@keyframes onda { to { transform: translateX(-50%); } }
.agua-conteudo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.botoes-agua { display: flex; gap: 8px; }

.botao {
  min-height: 46px; padding: 0 16px; border-radius: 16px; font-weight: 700; font-size: 15px;
  transition: transform .35s var(--mola), background-color .2s, opacity .2s;
}
.botao:active { transform: scale(.92); }
.botao:disabled { opacity: .45; cursor: default; }
.primario { width: 100%; color: #fff; background: linear-gradient(180deg, #f0548e, var(--rosa-escuro)); box-shadow: 0 8px 18px rgba(185, 42, 96, .3), inset 0 1px 0 rgba(255, 255, 255, .45); }
.largo { width: 100%; }

.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pequeno { display: grid; gap: 5px; align-content: start; padding: 14px; }
.pequeno .valor { font-size: 27px; }
.faixa { margin: 3px 0 1px; overflow: visible; }
.faixa i { background: linear-gradient(90deg, #ffb066, #f4864f); }
/* A área da meta, sem vermelho nem bronca ao passar. */
.faixa em { position: absolute; top: -2px; bottom: -2px; left: 75%; width: 10%; border-radius: 4px; border: 1.5px solid rgba(43, 27, 44, .45); }
.linha { width: 100%; height: 18px; margin: 3px 0 0; overflow: visible; }
.linha path { fill: none; stroke: var(--verde); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.treino { display: grid; gap: 11px; }
.treino-topo { display: flex; justify-content: space-between; align-items: center; }
.treino h2 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.mini { height: 72px; image-rendering: pixelated; }
.destaque { padding: 10px 12px; border-radius: 15px; font-size: 14px; background: rgba(255, 255, 255, .55); }
.destaque span { display: block; color: var(--rosa-escuro); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.nota { padding: 0 8px; color: var(--apoio); font-size: 11.5px; text-align: center; }

/* Abas */
.abas {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: 3;
  width: min(calc(100% - 32px), 398px); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: 30px;
}
.abas-marca { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 25px; background: rgba(255, 255, 255, .75); box-shadow: 0 2px 8px rgba(100, 40, 80, .14); transition: transform .45s var(--mola); }
.aba { position: relative; display: grid; justify-items: center; gap: 1px; min-height: 52px; align-content: center; font-size: 11px; font-weight: 600; color: var(--apoio); transition: transform .35s var(--mola); }
.aba:active { transform: scale(.88); }
.aba svg { width: 23px; height: 23px; fill: currentColor; }
.aba.ativa { color: var(--rosa-escuro); }

/* Folhas */
.folha {
  width: min(100%, 430px); max-width: none; max-height: 90dvh; margin: auto auto 0; padding: 0 0 env(safe-area-inset-bottom);
  border: 0; border-radius: 28px 28px 0 0; color: var(--tinta);
  background: rgba(255, 247, 250, .9); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 -10px 40px rgba(90, 30, 70, .2), inset 0 1px 0 #fff;
  overflow: hidden;
}
.folha[open] { display: flex; flex-direction: column; animation: sobe .42s var(--suave); }
.folha.saindo { animation: desce .2s ease-in forwards; }
@keyframes sobe { from { transform: translateY(100%); } }
@keyframes desce { to { transform: translateY(100%); } }
dialog::backdrop { background: rgba(60, 20, 50, .32); animation: aparece .3s; }
@keyframes aparece { from { opacity: 0; } }
.alca { width: 38px; height: 5px; margin: 8px auto 0; border-radius: 5px; background: rgba(60, 30, 60, .2); flex: none; }
.folha-topo { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 10px; flex: none; }
.folha-topo h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.fechar { width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; background: rgba(60, 30, 60, .08); }
.folha-corpo { padding: 2px 16px 16px; display: grid; gap: 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.folha-rodape { padding: 10px 16px 14px; flex: none; }

.segmentos { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 13px; background: rgba(60, 30, 60, .08); }
.segmentos button { min-height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background-color .2s; }
.segmentos button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 6px rgba(60, 30, 60, .14); }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.link-topo { min-height: 36px; padding: 0 13px; border-radius: 18px; color: var(--rosa-escuro); font-size: 14px; font-weight: 700; background: #ffe6ef; transition: transform .3s var(--mola); }
.link-topo:active { transform: scale(.9); }

/* Montar e alterar treinos */
.lista-treinos, .lista-edicao { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.treino-item { animation: none; }
.resumo-treino { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.treino-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.treino-acoes .botao { min-height: 44px; }
.vazio { padding: 18px 14px; border-radius: 16px; background: rgba(255, 255, 255, .6); color: var(--apoio); font-size: 14px; text-align: center; }
.discreto { min-height: 44px; color: var(--apoio); font-size: 14px; font-weight: 600; transition: color .2s, transform .3s var(--mola); }
.discreto:active { transform: scale(.96); }
.discreto.perigo, .discreto.armado { color: #b3163f; }
.discreto.armado { font-weight: 800; }
.discreto[hidden] { display: none; }

.campo { display: grid; gap: 6px; min-width: 0; }
.campo > span, .campo > label { font-size: 13px; font-weight: 700; color: var(--apoio); }
.campo > small { color: var(--apoio); font-size: 12.5px; }
input[type="text"] { width: 100%; min-width: 0; min-height: 46px; padding: 0 13px; border: 1px solid rgba(60, 30, 60, .14); border-radius: 13px; color: var(--tinta); background: #fff; font: inherit; font-size: 16px; }
input[type="text"]:focus-visible { outline: 3px solid var(--rosa); outline-offset: 1px; }
input::placeholder { color: #8d7b8c; }
.passo input[type="text"] { flex: 1; min-height: 40px; padding: 0 4px; border: 0; background: transparent; font-size: 17px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.carga-digitavel { flex: 1; min-width: 0; display: grid; justify-items: center; }
.carga-digitavel input[type="text"] { min-height: 26px; }
.carga-digitavel small { color: var(--apoio); font-size: 11px; font-weight: 600; text-align: center; }
.bloco { display: grid; gap: 12px; }
.bloco[hidden] { display: none; }
.dupla-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dupla-campos .passo button { width: 38px; }

.sugestoes { display: flex; gap: 6px; margin: -4px -16px 0; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
.sugestoes::-webkit-scrollbar { display: none; }
.sugestoes[hidden] { display: none; }
.sugestoes.quebra { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.sugestao { flex: none; min-height: 40px; padding: 0 13px; border-radius: 20px; font-size: 14px; font-weight: 600; background: #fff; box-shadow: 0 1px 4px rgba(60, 30, 60, .13); transition: transform .3s var(--mola), background-color .2s, color .2s; }
.sugestao:active { transform: scale(.92); }
.sugestao[aria-pressed="true"] { color: #fff; background: var(--rosa-escuro); }
.lembrete { padding: 9px 12px; border-radius: 13px; color: #0d6c47; background: #e4f8ec; font-size: 13.5px; font-weight: 600; }
.lembrete[hidden] { display: none; }

.linha-exercicio { display: flex; align-items: center; gap: 4px; padding: 4px 6px 4px 4px; border-radius: 15px; background: #fff; box-shadow: 0 2px 8px rgba(90, 30, 70, .07); }
.linha-exercicio.movida { animation: movida .4s var(--mola); }
@keyframes movida { from { transform: scale(.96); background: #ffe6ef; } }
.linha-abrir { flex: 1; min-width: 0; min-height: 48px; padding: 5px 9px; text-align: left; border-radius: 11px; }
button.linha-abrir:active { background: #f8f0f4; }
.linha-abrir b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.linha-abrir small { color: var(--apoio); font-size: 12.5px; }
.seta { flex: none; width: 36px; height: 44px; border-radius: 10px; color: var(--apoio); font-size: 17px; font-weight: 700; transition: transform .3s var(--mola); }
.seta:active { transform: scale(.85); background: #f8f0f4; }
.seta:disabled { opacity: .25; cursor: default; }

/* Cardio */
.resumo-cardio { display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(90, 30, 70, .07); }
.resumo-cardio .valor span { color: inherit; }
.semana { display: grid; grid-template-columns: repeat(7, 1fr); margin: 7px 0 0; padding: 0; list-style: none; }
.dia { display: grid; justify-items: center; gap: 4px; color: var(--apoio); font-size: 12px; font-weight: 700; }
.dia i { width: 25px; height: 25px; border-radius: 50%; background: rgba(60, 30, 60, .09); transition: background-color .25s; }
.dia.cheio i { background: linear-gradient(180deg, #f0548e, var(--rosa-escuro)); animation: carimbo .45s var(--mola); }
.dia.agora span { color: var(--rosa-escuro); }
.dia.agora i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(185, 42, 96, .4); }
.progresso { height: 4px; margin: 0 16px 10px; border-radius: 4px; background: rgba(60, 30, 60, .1); overflow: hidden; flex: none; }
.progresso i { display: block; height: 100%; width: 0; background: var(--rosa); transition: width .5s var(--suave); }

.exercicio { padding: 13px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(90, 30, 70, .07); display: grid; gap: 9px; animation: entra .4s var(--suave) backwards; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } }
.exercicio h3 { margin: 0; font-size: 17px; font-weight: 700; }
.exercicio-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.meta { flex: none; padding: 3px 9px; border-radius: 99px; background: #ffe6ef; color: var(--rosa-escuro); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.motivo { color: var(--apoio); font-size: 13px; }
.passo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px; border-radius: 14px; background: #f8f0f4; }
.passo button { width: 44px; height: 40px; border-radius: 11px; font-size: 21px; font-weight: 600; background: #fff; box-shadow: 0 1px 3px rgba(60, 30, 60, .14); transition: transform .3s var(--mola); }
.passo button:active { transform: scale(.86); }
.passo output { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.passo output small { display: block; color: var(--apoio); font-size: 11px; font-weight: 600; }
.passo.grande { padding: 6px; margin-top: 4px; }
.passo.grande output { font-size: 34px; }
.sensacao { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sensacao button { min-height: 44px; border-radius: 12px; font-size: 13.500px; font-weight: 700; transition: transform .3s var(--mola); }
.sensacao button:active { transform: scale(.9); }
.facil { background: #dcf6e9; color: #0d6c47; }
.ponto { background: #fff1cf; color: #7e5605; }
.pesado { background: #ffe1ea; color: #a01f50; }
.exercicio.feito { background: #f3fbf7; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--verde); font-weight: 800; animation: carimbo .45s var(--mola); }
@keyframes carimbo { from { transform: scale(0) rotate(-40deg); } }
.exercicio.feito p { font-size: 13px; color: var(--apoio); }
.exercicio.feito strong { display: block; color: var(--tinta); font-size: 15px; }
.recorde-selo { color: #9a6400; font-weight: 800; }

.whats { padding: 12px; border-radius: 15px; background: #e4f8ec; font-size: 14px; }
.whats b { display: block; color: #0d6c47; }
.lista-comida { display: grid; gap: 8px; }
.comida { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 54px; padding: 8px 13px; border-radius: 15px; background: #fff; text-align: left; box-shadow: 0 2px 8px rgba(90, 30, 70, .07); transition: transform .3s var(--mola), opacity .2s; }
.comida:active { transform: scale(.96); }
.comida b { display: block; font-size: 15px; }
.comida small { color: var(--apoio); font-size: 12.5px; }
.comida span:last-child { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.comida:disabled { opacity: .45; }

.fases { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fase { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; padding: 11px; border-radius: 17px; background: #fff; box-shadow: 0 2px 8px rgba(90, 30, 70, .07); }
.fase img { justify-self: center; max-width: 92px; max-height: 110px; image-rendering: pixelated; }
.fase.bloqueada:not(.revelada) img { filter: brightness(0); opacity: .17; }
.fase.bloqueada:not(.revelada) strong { color: var(--apoio); }
.fase.atual { outline: 2px solid var(--rosa); }
.fase strong { display: block; font-size: 16px; }
.fase small { color: var(--apoio); font-size: 12.5px; }

/* Momento de nova fase */
.evolucao {
  width: min(calc(100% - 32px), 360px); padding: 24px 20px; border: 0; border-radius: 30px; text-align: center; color: var(--tinta);
  background: linear-gradient(170deg, #fff8e3, #ffe6f0);
  box-shadow: 0 20px 60px rgba(90, 30, 70, .35);
}
.evolucao[open] { display: grid; justify-items: center; gap: 10px; animation: estoura .6s var(--mola); }
@keyframes estoura { from { transform: scale(.5); opacity: 0; } }
.evolucao p { color: var(--rosa-escuro); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.evolucao img { image-rendering: pixelated; animation: revela 1s steps(6) both; }
@keyframes revela { 0% { filter: brightness(0) invert(1); transform: scale(.7); } 100% { filter: none; transform: scale(1); } }
.evolucao h2 { font-size: 28px; font-weight: 800; }

/* Partículas e aviso */
.confete, .gota { position: fixed; z-index: 20; pointer-events: none; }
.confete { width: 8px; height: 8px; animation: cai var(--t) cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes cai {
  from { transform: translate(0, 0); opacity: 1; }
  to { transform: translate(var(--x), var(--y)) rotate(90deg); opacity: 0; }
}
.gota { width: 9px; height: 9px; background: var(--agua); animation: gota .8s ease-out forwards; }
@keyframes gota { to { transform: translate(var(--x), -90px); opacity: 0; } }
.aviso {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 16px); z-index: 21; padding: 10px 17px; border-radius: 99px;
  color: #fff; background: linear-gradient(180deg, #ffbe2e, #d78c00); font-weight: 800; font-size: 15px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(160, 100, 0, .4); animation: aviso 2.2s var(--suave) forwards; pointer-events: none;
}
@keyframes aviso {
  0% { transform: translate(-50%, -70px); }
  16%, 82% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, -30px); opacity: 0; }
}

/* Saúde */
.saude { display: grid; gap: 9px; transition: background-color .4s, border-color .4s; }
.saude[data-nivel="1"] { border-color: rgba(242, 172, 23, .7); }
.saude[data-nivel="2"] { border-color: rgba(179, 22, 63, .55); background: linear-gradient(145deg, rgba(255, 228, 236, .8), rgba(255, 255, 255, .45)); }
.saude-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.estado-saude { padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #0d6c47; background: #dcf6e9; white-space: nowrap; }
.saude[data-nivel="1"] .estado-saude { color: #7e5605; background: #fff1cf; }
.saude[data-nivel="2"] .estado-saude { color: #fff; background: #b3163f; animation: pulsa 1.4s ease-in-out infinite; }
@keyframes pulsa { 50% { transform: scale(1.07); } }
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; gap: 4px; justify-items: start; padding: 8px 9px; border-radius: 14px; background: rgba(255, 255, 255, .6); min-width: 0; }
.checklist b { display: block; font-size: 13.5px; }
.checklist small { display: block; color: var(--apoio); font-size: 11px; line-height: 1.25; }
.marca { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(60, 30, 60, .25); color: #fff; font-size: 12px; font-weight: 800; }
.checklist li.ok .marca { border-color: var(--verde); background: var(--verde); }
.checklist li.novo .marca { animation: carimbo .45s var(--mola); }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.teste { justify-self: center; font-size: 13px; text-decoration: underline; }
.dias-treino .sugestao { min-width: 44px; padding: 0 10px; }

/* Morte da mascote */
.morte { background: linear-gradient(170deg, #eee8f4, #e3dbe9); }
.morte p#morteRotulo { color: #5b4a63; }
.morte p.morte-texto { color: var(--apoio); font-size: 14.5px; font-weight: 500; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.morte img.fantasma { animation: fantasma 2.6s ease-in-out infinite; }
@keyframes fantasma { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.morte img.lapide { animation: estoura .6s var(--mola); }

/* Entrada (login) */
.entrada {
  position: fixed; inset: 0; z-index: 30; overflow-y: auto;
  display: grid; align-content: center; justify-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 24px) 20px calc(env(safe-area-inset-bottom) + 24px);
  background: linear-gradient(170deg, #fff1e3, #ffe4ef 45%, #e4f1ff);
}
.entrada[hidden] { display: none; }
.entrada.carregando > :not(.entrada-mascote) { visibility: hidden; }
.entrada.carregando .entrada-mascote { animation: respira 1.4s steps(2, jump-none) infinite alternate; }
.entrada-mascote { width: 180px; image-rendering: pixelated; }
.entrada h1 { text-align: center; }
.entrada > .apoio { max-width: 320px; font-size: 14px; }
.entrada-formulario { width: min(100%, 360px); display: grid; gap: 12px; padding: 16px; border-radius: 24px; }
input[type="email"], input[type="password"] { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(60, 30, 60, .14); border-radius: 13px; color: var(--tinta); background: #fff; font: inherit; font-size: 16px; }
input[type="email"]:focus-visible, input[type="password"]:focus-visible { outline: 3px solid var(--rosa); outline-offset: 1px; }
.entrada-aviso { min-height: 1em; color: #b3163f; font-size: 14px; font-weight: 600; text-align: center; }
.entrada-aviso.bom { color: #0d6c47; }
.entrada-aviso:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
