/* Inglês da Nat — o visual do Elo (docs/desenho-ux/tokens.json do elo-ios):
   fundo agrupado, cartões sólidos de 22, títulos arredondados (Nunito, como
   no Android do Elo), botões em cápsula, vidro só no dock. A Tessa entra com
   as cores dela, quentes (o feneco), e só nela. */

@font-face {
  font-family: "Nunito";
  src: url("fontes/nunito.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --fundo: #f2f2f7;
  --fundo-elevado: #ffffff;
  --cartao: #ffffff;
  --preenchimento: #7676801f;
  --separador: #3c3c434a;
  --texto: #000000;
  --texto-2: #3c3c4399;
  --texto-3: #3c3c434d;
  --ok: #248a3d;
  --atencao: #b25000;
  --carinho: #c93a7e;
  --tessa-a: #ffd673;
  --tessa-b: #ffb84d;
  --tessa-c: #ff8059;
  --tessa-d: #ff6a68;
  --tessa-texto: #a8431f;
  --tessa-fundo: #fff4e8;
  /* o tema (padrão dela: Lavanda) */
  --acento: #7b5bb8;
  --degrade-a: #b497d6;
  --degrade-b: #e2c2ff;
  --sobre-degrade: #2a1a4a;
  --raio-cartao: 22px;
  --raio-bloco: 16px;
  --raio-campo: 12px;
  --sombra: 0 1px 2px #0000000a, 0 8px 24px #00000010;
  --titulo: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif, "Noto Color Emoji";
  --corpo: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif, "Noto Color Emoji";
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-aparencia="claro"]) {
    --fundo: #000000;
    --fundo-elevado: #1c1c1e;
    --cartao: #1c1c1e;
    --preenchimento: #7676803d;
    --separador: #54545899;
    --texto: #ffffff;
    --texto-2: #ebebf599;
    --texto-3: #ebebf54d;
    --ok: #30d158;
    --atencao: #ffb340;
    --carinho: #ff7eb6;
    --tessa-texto: #ffb27a;
    --tessa-fundo: #2a1c14;
    --sombra: none;
    color-scheme: dark;
  }
}
:root[data-aparencia="escuro"] {
  --fundo: #000000;
  --fundo-elevado: #1c1c1e;
  --cartao: #1c1c1e;
  --preenchimento: #7676803d;
  --separador: #54545899;
  --texto: #ffffff;
  --texto-2: #ebebf599;
  --texto-3: #ebebf54d;
  --ok: #30d158;
  --atencao: #ffb340;
  --carinho: #ff7eb6;
  --tessa-texto: #ffb27a;
  --tessa-fundo: #2a1c14;
  --sombra: none;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 17px/1.4 var(--corpo);
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100dvh;
  overflow-x: hidden;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
h1,
h2,
h3,
.titulo {
  font-family: var(--titulo);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 30px;
  font-weight: 850;
}
h2 {
  font-size: 22px;
  font-weight: 800;
}
h3 {
  font-size: 19px;
  font-weight: 800;
}
p {
  margin: 0;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px 120px;
}

.legenda {
  font-size: 13px;
  color: var(--texto-2);
}
.nota {
  font-size: 15px;
  color: var(--texto-2);
}
.secao {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--texto-2);
  margin: 22px 4px 8px;
}

/* ── cartões e botões ───────────────────────────────────────────── */

.cartao {
  background: var(--cartao);
  border-radius: var(--raio-cartao);
  padding: 16px;
  box-shadow: var(--sombra);
}
.cartao + .cartao {
  margin-top: 12px;
}
.pilha > * + * {
  margin-top: 12px;
}
.linha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.linha.entre {
  justify-content: space-between;
}
.cresce {
  flex: 1;
  min-width: 0;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--acento);
  color: #fff;
  font-weight: 650;
  font-size: 17px;
  transition: transform 0.12s ease, opacity 0.2s;
}
.botao:active {
  transform: scale(0.97);
}
.botao[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.botao.largo {
  width: 100%;
}
.botao.claro {
  background: var(--preenchimento);
  color: var(--acento);
}
.botao.branco {
  background: #fffffff2;
  color: #1c1c1e;
}
.botao.pequeno {
  min-height: 36px;
  padding: 0 14px;
  font-size: 15px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--preenchimento);
  font-size: 14px;
  font-weight: 600;
}
.chip.ok {
  color: var(--ok);
}
.chip.acento {
  color: var(--acento);
}

/* ── topo da Hoje ───────────────────────────────────────────────── */

.topo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 8px 4px 16px;
}
.sequencia {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 18px;
  background: var(--cartao);
  box-shadow: var(--sombra);
}
.sequencia b {
  font: 900 24px/1 var(--titulo);
  font-variant-numeric: tabular-nums;
}
.sequencia span {
  font-size: 11px;
  font-weight: 600;
  color: var(--texto-2);
}

.heroi {
  position: relative;
  overflow: hidden;
  border-radius: var(--raio-cartao);
  padding: 20px;
  color: var(--sobre-degrade);
  background: linear-gradient(135deg, var(--degrade-a), var(--degrade-b));
}
.heroi .rotulo {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.heroi h2 {
  font-size: 28px;
  margin: 6px 0 2px;
}
.heroi .bolha-emoji {
  position: absolute;
  right: -6px;
  top: -10px;
  font-size: 96px;
  opacity: 0.22;
  transform: rotate(12deg);
}
.heroi .botao {
  margin-top: 18px;
}

.semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 12px;
  text-align: center;
}
.semana .d {
  font-size: 12px;
  color: var(--texto-2);
  font-weight: 600;
}
.semana .bola {
  width: 32px;
  height: 32px;
  margin: 6px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--preenchimento);
  font-size: 14px;
}
.semana .bola.feito {
  background: var(--acento);
  color: #fff;
}
.semana .bola.hoje {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

/* ── a Tessa ────────────────────────────────────────────────────── */

.tessa-av {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 120%, #ff8c5a55, transparent 70%), linear-gradient(160deg, #3a3a3f, #151517);
}
.tessa-av img {
  width: 34px;
  height: 34px;
}
.tessa-av.grande {
  width: 88px;
  height: 88px;
}
.tessa-av.grande img {
  width: 68px;
  height: 68px;
}
.fala-tessa {
  background: var(--tessa-fundo);
  border-radius: var(--raio-bloco);
  padding: 12px 14px;
  border: 1px solid #ffb84d40;
}
.fala-tessa .quem {
  font: 800 13px var(--titulo);
  background: linear-gradient(90deg, var(--tessa-c), var(--tessa-d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aviso {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.aviso .alysson-av {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: #2f80ed22;
  border: 2px solid #2f80ed;
}
.aviso .fechar {
  color: var(--texto-3);
  font-size: 20px;
  padding: 0 4px;
}

/* ── dock (o único vidro) ───────────────────────────────────────── */

.dock {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fundo-elevado) 82%, transparent);
  border: 0.5px solid #ffffff2e;
  box-shadow: 0 10px 30px #00000026;
  z-index: 10;
}
@supports (backdrop-filter: blur(1px)) {
  .dock {
    backdrop-filter: blur(18px) saturate(1.6);
  }
}
.dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 72px;
  height: 56px;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--texto-2);
}
.dock button .ic {
  font-size: 21px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.7;
}
.dock button.ativo {
  background: var(--preenchimento);
  color: var(--acento);
}
.dock button.ativo .ic {
  filter: none;
  opacity: 1;
}
.dock .bolinha {
  position: absolute;
  margin: -18px 0 0 22px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--carinho);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}

/* ── trilha ─────────────────────────────────────────────────────── */

.unidade {
  margin-top: 18px;
}
.unidade .cab {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 4px 10px;
}
.unidade .cab .em {
  font-size: 30px;
}
.no {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}
.no + .no {
  border-top: 0.5px solid var(--separador);
}
.no .circ {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--titulo);
  background: var(--preenchimento);
  color: var(--texto-2);
}
.no.disponivel .circ {
  background: linear-gradient(135deg, var(--degrade-a), var(--acento));
  color: #fff;
}
.no.feita .circ {
  background: var(--ok);
  color: #fff;
}
.no.travada {
  opacity: 0.55;
}

/* ── lição ──────────────────────────────────────────────────────── */

.licao-topo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
}
.licao-topo .x {
  font-size: 26px;
  color: var(--texto-2);
  width: 36px;
  height: 36px;
}
.barra {
  flex: 1;
  display: flex;
  gap: 4px;
}
.barra i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--preenchimento);
}
.barra i.feito {
  background: var(--acento);
}
.barra i.atual {
  background: color-mix(in srgb, var(--acento) 45%, transparent);
}
.passo-titulo {
  margin: 4px 4px 14px;
}
.rodape {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--fundo) 30%);
  z-index: 5;
}
.rodape > div {
  max-width: 448px;
  margin: 0 auto;
}

.frase {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
}
.frase + .frase {
  border-top: 0.5px solid var(--separador);
}
.frase .em {
  font-size: 28px;
  width: 36px;
  text-align: center;
}
.frase .en {
  font-weight: 650;
}
.frase .play {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--preenchimento);
  color: var(--acento);
  font-size: 14px;
  flex: none;
}
.frase.ouvida .play {
  background: var(--acento);
  color: #fff;
}

.tocar-grande {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: linear-gradient(135deg, var(--degrade-a), var(--acento));
  color: #fff;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--acento) 35%, transparent);
}
.opcao {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: var(--raio-bloco);
  background: var(--cartao);
  box-shadow: var(--sombra);
  border: 2px solid transparent;
  font-weight: 550;
}
.opcao + .opcao {
  margin-top: 10px;
}
.opcao.certa {
  border-color: var(--ok);
  color: var(--ok);
}
.opcao.errada {
  border-color: var(--atencao);
  color: var(--atencao);
}

.exemplo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.exemplo s {
  color: var(--texto-2);
  font-weight: 400;
}
.montagem {
  min-height: 56px;
  padding: 10px;
  border-radius: var(--raio-bloco);
  border: 2px dashed var(--separador);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.montagem.certa {
  border: 2px solid var(--ok);
}
.montagem.errada {
  border: 2px solid var(--atencao);
}
.pecas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.peca {
  padding: 10px 14px;
  border-radius: var(--raio-campo);
  background: var(--cartao);
  box-shadow: 0 1px 0 var(--separador), var(--sombra);
  font-weight: 650;
}
.peca.usada {
  opacity: 0.25;
  pointer-events: none;
}

/* microfone */
.mic {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: var(--acento);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--acento) 40%, transparent);
}
.mic svg {
  width: 32px;
  height: 32px;
}
.mic::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid var(--acento);
  opacity: 0;
  transform: scale(calc(1 + var(--nivel, 0) * 0.35));
  transition: transform 0.08s linear;
}
.mic.gravando {
  background: var(--carinho);
}
.mic.gravando::before {
  opacity: 0.5;
  border-color: var(--carinho);
}
.mic.pensando {
  background: var(--preenchimento);
  color: var(--texto-2);
  box-shadow: none;
}
.mic.pensando svg {
  animation: pulsar 1s ease-in-out infinite;
}
@keyframes pulsar {
  50% {
    opacity: 0.3;
  }
}
.mic-rotulo {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: var(--texto-2);
}

.alvo-frase {
  font: 800 26px/1.25 var(--titulo);
  text-align: center;
  margin: 6px 0 4px;
}
.palavra {
  display: inline-block;
  padding: 0 2px;
  border-radius: 6px;
}
.palavra.ok {
  color: var(--ok);
}
.palavra.quase {
  color: var(--atencao);
  text-decoration: underline dotted 2px;
  text-underline-offset: 5px;
}
.palavra.trocou {
  color: var(--atencao);
  background: color-mix(in srgb, var(--atencao) 14%, transparent);
}
.palavra.faltou {
  color: var(--texto-3);
  text-decoration: line-through;
}
.nota-anel {
  --p: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: conic-gradient(var(--cor, var(--ok)) calc(var(--p) * 1%), var(--preenchimento) 0);
}
.nota-anel b {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cartao);
  font: 900 22px var(--titulo);
  font-variant-numeric: tabular-nums;
}

/* diálogo */
.objetivos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}
.objetivos .chip.ok::before {
  content: "✓";
}
.conversa {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 200px;
}
.bolha {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 17px;
}
.bolha .pt {
  font-size: 14px;
  color: var(--texto-2);
  margin-top: 4px;
}
.bolha.dela {
  align-self: flex-end;
  background: var(--acento);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bolha.dele {
  align-self: flex-start;
  background: var(--cartao);
  box-shadow: var(--sombra);
  border-bottom-left-radius: 6px;
}
.bolha.dele .acoes {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--acento);
  font-weight: 600;
}
.correcao {
  align-self: center;
  width: 92%;
  display: flex;
  gap: 10px;
}
.correcao .tessa-av {
  width: 32px;
  height: 32px;
}
.correcao .tessa-av img {
  width: 24px;
  height: 24px;
}
.correcao .melhor {
  font-weight: 700;
  color: var(--tessa-texto);
}
.digitando {
  align-self: flex-start;
  color: var(--texto-2);
  font-size: 14px;
  padding: 4px 8px;
}
.painel-mic {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--fundo) 22%);
  z-index: 5;
}
.painel-mic > div {
  max-width: 448px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.painel-mic .lado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--texto-2);
}
.painel-mic .lado button.gravando {
  background: var(--carinho);
  color: #fff;
}
.painel-mic .lado button.pensando {
  opacity: 0.5;
}
.painel-mic .lado button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cartao);
  box-shadow: var(--sombra);
  font-size: 22px;
}

textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border-radius: var(--raio-bloco);
  border: 1px solid var(--separador);
  background: var(--cartao);
  color: var(--texto);
  font: 18px/1.4 var(--corpo);
  resize: vertical;
}
.erro-item + .erro-item {
  margin-top: 10px;
}
.erro-item s {
  color: var(--atencao);
}
.erro-item b {
  color: var(--ok);
}

.festa {
  text-align: center;
  padding: 24px 8px 8px;
}
.festa .grande {
  font-size: 72px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.stat {
  background: var(--cartao);
  border-radius: var(--raio-bloco);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--sombra);
}
.stat b {
  display: block;
  font: 900 26px var(--titulo);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--texto-2);
  font-weight: 600;
}

/* Eu */
.temas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tema {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.tema i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-style: normal;
  border: 3px solid transparent;
}
.tema.ativo i {
  border-color: var(--texto);
}
.ajuste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  min-height: 50px;
}
.ajuste + .ajuste {
  border-top: 0.5px solid var(--separador);
}
.segmento {
  display: flex;
  background: var(--preenchimento);
  border-radius: 10px;
  padding: 2px;
}
.segmento button {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.segmento button.ativo {
  background: var(--fundo-elevado);
  box-shadow: 0 1px 3px #0000001f;
}
.interruptor {
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: var(--preenchimento);
  position: relative;
  flex: none;
}
.interruptor::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px #00000033;
  transition: transform 0.2s;
}
.interruptor.ligado {
  background: var(--ok);
}
.interruptor.ligado::after {
  transform: translateX(20px);
}
input[type="time"],
input[type="text"] {
  font: inherit;
  color: var(--texto);
  background: var(--preenchimento);
  border: 0;
  border-radius: 10px;
  padding: 6px 10px;
}
.emojis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.emojis button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 24px;
  background: var(--preenchimento);
}
.emojis button.ativo {
  outline: 2px solid var(--acento);
}
.transparencia li {
  margin: 6px 0;
}
.transparencia {
  padding-left: 20px;
  margin: 8px 0;
}

/* dono */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile {
  background: var(--cartao);
  border-radius: var(--raio-cartao);
  padding: 14px 16px;
  box-shadow: var(--sombra);
}
.tile b {
  display: block;
  font: 900 30px/1.1 var(--titulo);
  font-variant-numeric: tabular-nums;
}
.tile span {
  font-size: 13px;
  color: var(--texto-2);
  font-weight: 600;
}
.barras {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 140px;
  margin-top: 12px;
}
.barras .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}
.barras .b {
  width: 100%;
  max-width: 30px;
  border-radius: 8px 8px 4px 4px;
  background: var(--acento);
  min-height: 3px;
}
.barras .b.vazio {
  background: var(--preenchimento);
}
.barras .v {
  font-size: 11px;
  font-weight: 700;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}
.barras .d {
  font-size: 12px;
  color: var(--texto-2);
  font-weight: 600;
}
.status-hoje {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-hoje .icone {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: none;
}
.status-hoje.sim .icone {
  background: color-mix(in srgb, var(--ok) 18%, transparent);
  color: var(--ok);
}
.status-hoje.nao .icone {
  background: color-mix(in srgb, var(--atencao) 16%, transparent);
  color: var(--atencao);
}
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.presets button {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--preenchimento);
  font-size: 14px;
  font-weight: 550;
  text-align: left;
}
.historico .item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
}
.historico .item + .item {
  border-top: 0.5px solid var(--separador);
}
.toast {
  position: fixed;
  left: 50%;
  top: max(16px, env(safe-area-inset-top));
  transform: translateX(-50%);
  background: var(--texto);
  color: var(--fundo);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  z-index: 50;
  max-width: 90vw;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* o selo da pronúncia sem nota (até calibrar com as gravações dela) */
.selo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.selo.bom {
  background: var(--ok);
}
.selo.ajuste {
  background: var(--atencao);
}
.selo.denovo {
  background: var(--carinho);
}
.troca {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--atencao) 10%, transparent);
}

/* lições novas por botão */
.frase .figura {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
  background: var(--preenchimento);
}
.temas-sugeridos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.temas-sugeridos button {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--preenchimento);
  font-weight: 650;
}
.temas-sugeridos button.ativo {
  background: var(--acento);
  color: #fff;
}
.cartas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.carta {
  border-radius: 18px;
  background: var(--cartao);
  padding: 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}
.carta .figura {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 44px;
  background: var(--preenchimento);
  object-fit: cover;
}
.carta .figura.desenhando {
  animation: pulsar 1.4s ease-in-out infinite;
}
.carta .en {
  font-weight: 700;
  margin-top: 8px;
  font-size: 14px;
}
@keyframes pulsar {
  50% {
    opacity: 0.55;
  }
}
.etapas li {
  padding: 6px 0;
  color: var(--texto-2);
}
.etapas li.feita {
  color: var(--ok);
}
.etapas li.atual {
  color: inherit;
  font-weight: 700;
}
.revisar-figura {
  width: 160px;
  height: 160px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
.etapas {
  list-style: none;
  padding: 0;
}

/* 🔊: repetir a voz (Tessa ou Emma) em qualquer texto */
.falar {
  font-family: var(--corpo);
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--preenchimento);
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
  margin-left: 4px;
}
.falar.com-rotulo {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--acento);
}
.fala-tessa .quem .falar {
  float: right;
  margin-top: -4px;
}
