/* =========================================================
   Redinha: componentes do app.
   Cores, fontes e medidas vêm de tokens.css (gerado do brandkit).
   Aqui só se usa var(--…): nenhuma cor escrita à mão.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--surface); touch-action: manipulation; }
/* app: sem zoom de pinça nem de dois toques; campos com 16px ou mais para o iPhone não aproximar sozinho */
input, textarea, select { font-size: max(16px, 1em); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* o app tem a largura de um celular; no computador fica centralizado */
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; padding: var(--header) 0 var(--nav); }

/* ---------- toque com mola ---------- */
.mola { transition: transform .18s cubic-bezier(.3, .7, .4, 1.5); }
.mola:active { transform: scale(.92); }

/* ---------- topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 8px 0 16px;
  display: flex; align-items: center; gap: 6px;
  max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
}
.topo__logo { width: 26px; height: 26px; border-radius: 50%; }
.topo__nome { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icone-botao {
  width: var(--tap); height: var(--tap); border: none; background: transparent; padding: 0;
  display: flex; align-items: center; justify-content: center; position: relative; color: var(--ink);
}
.ponto-novo { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--heart); border: 2px solid var(--surface); }

/* ---------- botões ---------- */
.botao {
  min-height: 50px; padding: 0 18px; border: none; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .18s cubic-bezier(.3, .7, .4, 1.5), background-color .25s, color .25s;
}
.botao:active { transform: scale(.92); }
.botao--rosa { background: var(--pink); color: var(--on-pink); }
.botao--escuro { background: var(--ink); color: var(--surface); }
.botao--suave { background: var(--surface-soft); color: var(--ink); }
.botao--feito { background: var(--mint-soft); color: var(--mint-ink); }
.botao--pilula { min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; }
.botao--largo { width: 100%; }

/* ---------- etiquetas ---------- */
.etiqueta { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.etiqueta--rotina, .etiqueta--resumo, .etiqueta--fixado { background: var(--sun-soft); color: var(--sun-ink); }
.etiqueta--comunicado, .etiqueta--lembrete { background: var(--sky-soft); color: var(--sky-ink); }
.etiqueta--aviso, .etiqueta--aniversario, .etiqueta--escola { background: var(--rose-soft); color: var(--rose-ink); }
.etiqueta--evento, .etiqueta--cardapio, .etiqueta--cardapio_dia { background: var(--mint-soft); color: var(--mint-ink); }
.etiqueta--enquete { background: var(--lilac-soft); color: var(--lilac-ink); }

/* ---------- avatar ---------- */
.avatar { width: var(--avatar-post); height: var(--avatar-post); border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.avatar--iniciais { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; background: var(--rose-soft); color: var(--rose-ink); }

/* ---------- stories ---------- */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 8px var(--space-gutter) 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex-shrink: 0; width: var(--avatar-story); border: none; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.story__anel {
  width: var(--avatar-story); height: var(--avatar-story); border-radius: 50%; padding: 3px;
  background: linear-gradient(45deg, var(--ring-1), var(--ring-2), var(--ring-3), var(--ring-4));
}
.story__anel > span { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 3px; background: var(--surface); }
.story__anel img { width: 100%; height: 100%; border-radius: 50%; }
.story__nome { font-size: 12px; max-width: var(--avatar-story); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story--visto .story__anel { background: var(--line-strong); }
.story--visto .story__nome { color: var(--ink-mute); }
.story--carregando .story__anel { background: conic-gradient(var(--ring-1), var(--ring-2), var(--ring-3), var(--ring-4), var(--ring-1)); animation: gira 1.2s linear infinite; }
.story--carregando .story__anel > span { animation: gira 1.2s linear infinite reverse; }

/* ---------- post ---------- */
.post { padding: 12px 0 18px; }
.post__cabeca { display: flex; align-items: center; gap: 10px; padding: 0 var(--space-gutter) 10px; }
.post__autor { flex: 1; min-width: 0; line-height: 1.2; }
.post__autor .nome, .post__autor small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post__autor small { font-size: 12px; color: var(--ink-mute); }
.post__midia { position: relative; }
.post__midia img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post__acoes { display: flex; align-items: center; gap: 2px; padding: 6px 6px 0; }
.post__acoes .contador { font-size: 14px; font-weight: 700; margin-right: 6px; }
.coracao--on { color: var(--heart); }
.coracao--on svg { animation: bate .45s cubic-bezier(.3, .8, .3, 1.6); }
.post__legenda { padding: 0 16px; }
.post__legenda .nome { margin-right: 4px; }
.post__tempo { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-mute); }
.coracao-grande { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none; color: var(--surface); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .25)); animation: coracao .9s cubic-bezier(.2, .9, .3, 1.3) forwards; }

/* ---------- enquete ---------- */
.enquete { margin: 0 var(--space-gutter); padding: 18px; border-radius: var(--radius-card); background: var(--lilac-soft); }
.enquete__dica { font-size: 13px; color: var(--lilac-ink); }
.enquete__pergunta { margin: 4px 0 14px; }
.enquete__opcoes { display: flex; flex-direction: column; gap: var(--space-2); }
.enquete__opcao {
  position: relative; overflow: hidden; min-height: 50px; padding: 0 16px; border-radius: var(--radius-md);
  border: 2px solid transparent; background: var(--surface); display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 700; text-align: left;
}
.enquete__opcao[aria-pressed="true"] { border-color: var(--lilac-ink); }
.enquete__barra { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--surface-soft); transition: width .6s cubic-bezier(.3, .8, .3, 1.1); }
.enquete__opcao[aria-pressed="true"] .enquete__barra { background: var(--lilac-bar); }
.enquete__opcao > span:not(.enquete__barra) { position: relative; }

/* ---------- cartaz (recado sem foto) ---------- */
.cartaz { position: relative; aspect-ratio: 13 / 10; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 48px; }
.cartaz__flores { position: absolute; inset: 0; width: 100%; height: 100%; }
.cartaz__titulo { position: relative; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cartaz__titulo--longo { font-size: 30px; }
.cartaz__sub { position: relative; margin: 10px 0 0; font-size: 15px; }
.tom--rotina, .tom--resumo { background: var(--sun-soft); color: var(--sun-ink); }
.tom--comunicado, .tom--lembrete { background: var(--sky-soft); color: var(--sky-ink); }
.tom--aviso, .tom--aniversario { background: var(--rose-soft); color: var(--rose-ink); }
.tom--evento, .tom--cardapio, .tom--cardapio_dia { background: var(--mint-soft); color: var(--mint-ink); }
.tom--enquete { background: var(--lilac-soft); color: var(--lilac-ink); }

/* ---------- faixa de ação (embaixo do cartaz) ---------- */
.faixa { width: 100%; min-height: 52px; border: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; font-size: 15px; font-weight: 700; text-align: left; transition: background-color .25s, color .25s; }
.faixa--pendente { background: var(--ink); color: var(--surface); }
.faixa--feito { background: var(--mint-soft); color: var(--mint-ink); }
.faixa--erro { background: var(--sun-soft); color: var(--sun-ink); }

/* ---------- evento ---------- */
.evento { margin: 0 var(--space-gutter); padding: 18px; border-radius: var(--radius-card); display: flex; align-items: center; gap: 16px; }
.evento--crianca { background: var(--mint-soft); }
.evento--familia { background: var(--sun-soft); }
.evento--passado { background: var(--surface-sunk); }
.adesivo-data { width: 78px; height: 88px; border-radius: 20px; background: var(--surface); flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(-4deg); box-shadow: var(--shadow-sticker); color: var(--ink); }
.adesivo-data small { font-size: 12px; font-weight: 700; color: var(--pink); text-transform: uppercase; }
.adesivo-data b { font-family: var(--font-display); font-weight: 800; font-size: 40px; }
.adesivo-data em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-mute); }
.evento--passado .adesivo-data { opacity: .7; }
.evento__info { min-width: 0; line-height: 1.3; color: var(--ink); }
.evento__info span { display: block; font-size: 14px; margin-top: 4px; }
.evento__info small { display: block; font-size: 14px; color: var(--ink-soft); }
.evento__pergunta { margin: 12px 16px 0; }
.evento__escolha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 8px var(--space-gutter) 0; }
.evento__escolha .botao { min-height: 48px; }
.botao--sim { background: var(--mint-ink); color: var(--surface); }
.caixa-info { margin: 12px var(--space-gutter) 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-sunk); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.caixa-info--ok { background: var(--mint-soft); color: var(--mint-ink); }
.caixa-info--esgotado { background: var(--rose-soft); color: var(--rose-ink); }
.caixa-info .botao { min-height: 36px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 13px; background: var(--surface); color: inherit; margin-left: auto; }
.evento__prazo { margin: 8px 16px 0; font-size: 13px; color: var(--ink-soft); }
.progresso { margin: 4px 16px 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.progresso__trilho { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progresso__barra { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--success); transition: width .6s; }

/* ---------- folha de baixo ---------- */
.veu { position: fixed; inset: 0; z-index: 60; border: none; padding: 0; background: rgba(43, 34, 51, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: aparece .3s ease; }
.folha {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 61; max-width: 464px; margin: 0 auto;
  max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--surface); border-radius: var(--radius-sheet);
  padding: 12px var(--space-5) 22px; box-shadow: var(--shadow-sheet); animation: sobe .45s cubic-bezier(.2, .9, .25, 1.05);
}
.folha__alca { width: 40px; height: 5px; border-radius: 99px; background: var(--line-strong); margin: 0 auto 14px; }
.folha h2 { margin: 0; }
.folha__sub { margin: 2px 0 14px; font-size: 15px; color: var(--ink-mute); }
.folha__rotulo { display: block; font-size: 14px; font-weight: 700; margin: 14px 0 8px; }
.folha textarea { width: 100%; border: none; border-radius: var(--radius-md); background: var(--surface-soft); color: var(--ink); padding: 12px 14px; font: inherit; font-size: 16px; resize: none; }
.folha .botao--largo { margin-top: 16px; }
.escolhas { display: flex; flex-wrap: wrap; gap: 6px; }
.escolha { min-height: 42px; padding: 0 14px; border-radius: 14px; border: none; background: var(--surface-soft); color: var(--ink); font-weight: 700; font-size: 14px; }
.escolha[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.contador-linha { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 18px; background: var(--surface-sunk); margin-top: 8px; }
.contador-linha span { flex: 1; line-height: 1.25; }
.contador-linha small { display: block; font-size: 12px; color: var(--ink-mute); }
.contador-linha button { width: 44px; height: 44px; border-radius: 14px; border: none; background: var(--surface); font-size: 22px; font-weight: 700; }
.contador-linha output { width: 26px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* ---------- story aberto ---------- */
.story-tela { position: fixed; inset: 0; z-index: 70; max-width: 480px; margin: 0 auto; overflow: hidden; animation: abre-story .35s cubic-bezier(.2, .9, .25, 1); }
.story-tela__zona { position: absolute; top: 70px; bottom: 90px; z-index: 1; border: none; background: transparent; padding: 0; }
.story-tela__zona--voltar { left: 0; width: 35%; }
.story-tela__zona--seguir { right: 0; width: 65%; }
.story-tela__barras { position: absolute; left: 10px; right: 10px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 3; display: flex; gap: 4px; }
.story-tela__barras span { flex: 1; height: 3px; border-radius: 99px; background: rgba(43, 34, 51, .18); overflow: hidden; }
.story-tela__barras i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 99px; }
.story-tela__barras .cheia i { width: 100%; }
.story-tela__barras .anda i { animation: barra 5s linear forwards; }
.story-tela__topo { position: absolute; left: 12px; right: 4px; top: calc(24px + env(safe-area-inset-top, 0px)); z-index: 3; display: flex; align-items: center; gap: 10px; }
.story-tela__topo img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.story-tela__topo .nome { flex: 1; }
.story-tela__topo small { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink-soft); margin-left: 4px; }
.story-tela__conteudo { position: absolute; left: 0; right: 0; top: 80px; bottom: 96px; z-index: 2; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 22px; animation: adesivo .5s cubic-bezier(.3, .8, .3, 1.4); }
.story-tela__foto { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 28px; object-fit: cover; box-shadow: 0 20px 40px -20px rgba(43, 34, 51, .4); }
.story-tela__legenda { margin-top: -28px; padding: 10px 18px; border-radius: 16px; background: var(--surface); transform: rotate(-2deg); box-shadow: var(--shadow-sticker); text-align: center; max-width: 300px; }
/* legenda até 200 caracteres (limite da foto do dia): letra um pouco menor para caber inteira */
.story-tela__legenda--longa { font-size: 15px; line-height: 1.35; }
.story-tela__adesivo { width: 100%; max-width: 310px; padding: 20px; border-radius: 26px; background: var(--surface); box-shadow: 0 20px 40px -20px rgba(43, 34, 51, .45); transform: rotate(2deg); color: var(--ink); }
.story-tela__adesivo ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700; }
.story-tela__adesivo li { display: flex; gap: 10px; align-items: center; }
.story-tela__adesivo li::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.story-tela__parabens { text-align: center; color: var(--rose-ink); }
.story-tela__parabens img { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 10px; }
.story-tela__parabens .cartaz__titulo { font-size: 46px; }
.story-tela__rodape { position: absolute; left: 12px; right: 12px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 3; display: flex; justify-content: center; }
.story-tela__rodape .botao { border: 1.5px solid rgba(43, 34, 51, .25); background: rgba(255, 255, 255, .55); color: var(--ink); min-height: 48px; border-radius: var(--radius-pill); }

.mural__fim { text-align: center; color: var(--ink-mute); font-size: 13px; padding: 10px 0 30px; }
.brilho { background: linear-gradient(90deg, var(--surface-soft) 0%, var(--surface-sunk) 40%, var(--surface-soft) 80%); background-size: 300% 100%; animation: brilho 1.4s ease-in-out infinite; }
.aviso-topo { margin: 10px var(--space-gutter) 0; padding: 12px 14px; border-radius: var(--radius-md); font-size: 14px; }
.aviso-topo--erro { background: var(--sun-soft); color: var(--sun-ink); }

/* ---------- barra de baixo ---------- */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; max-width: 480px; margin: 0 auto;
  height: calc(var(--nav) + env(safe-area-inset-bottom, 0px)); padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  border-top: 1px solid var(--line);
}
.barra .icone-botao { width: 60px; }
.barra__perfil img { width: 26px; height: 26px; border-radius: 50%; }
.barra__perfil[aria-current="page"] img { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }

/* ---------- botões: tamanhos e estados extras ---------- */
.botao--grande { min-height: 56px; font-size: 17px; border-radius: 18px; }
.botao--apagado { background: var(--surface-soft); color: var(--ink-mute); cursor: default; }
.botao--apagado:active { transform: none; }
.botao--transparente { background: transparent; color: var(--ink-soft); }
a.botao { text-decoration: none; }

/* ---------- primeiro acesso ---------- */
.entrada { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.entrada__topo { display: flex; align-items: center; gap: 8px; padding: 14px var(--space-5) 0; min-height: 58px; }
.entrada__topo .icone-botao { margin-left: -10px; }
.pontos { display: flex; justify-content: center; gap: 6px; min-height: 8px; margin-top: 12px; }
.pontos__ponto { width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .35s cubic-bezier(.3, .8, .3, 1.2), background-color .3s; }
.pontos__ponto--feito { background: var(--pink); }
.pontos__ponto--atual { width: 26px; }
.entrada__corpo { flex: 1; padding: 8px var(--space-5) 0; }
.entrada__passo { animation: passo .4s cubic-bezier(.2, .9, .25, 1); display: flex; flex-direction: column; gap: 12px; }
.entrada__carregando { color: var(--ink-mute); text-align: center; margin-top: 30vh; }
.entrada__passo .tela { margin: 4px 0 0; }
.entrada__texto { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.entrada__escola { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-mute); }
.entrada__escola img { width: 26px; height: 26px; border-radius: 50%; }
.entrada__bicho { width: 96px; height: 96px; border-radius: 50%; margin: 16px 0 6px; }
.entrada__bicho--grande { width: 150px; height: 150px; align-self: center; margin-top: 30px; }
.entrada__erro { margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--sun-soft); color: var(--sun-ink); font-size: 14px; }
.entrada__aviso { margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--sky-soft); color: var(--sky-ink); font-size: 14px; }
.entrada__outros { margin: 0; font-size: 14px; color: var(--mint-ink); }
.entrada__rodape { padding: 12px var(--space-5) 22px; position: sticky; bottom: 0; background: var(--surface); }
.entrada__botoes { display: flex; flex-direction: column; gap: 6px; }

.campo-codigo {
  width: 100%; min-height: 64px; border: 2px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface);
  text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .18em; color: var(--ink);
  text-transform: uppercase; margin-top: 6px;
}
.campo-codigo:focus { outline: none; border-color: var(--pink); }
.campo-codigo::placeholder { color: var(--line-strong); }

.grade-criancas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; padding: 8px 0 4px; }
.crianca { border: none; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.crianca__foto { position: relative; width: 82px; height: 82px; border-radius: 50%; padding: 3px; background: var(--line); transition: background-color .2s; }
.crianca__foto img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--surface); }
.crianca__check {
  position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: var(--on-pink);
  border: 3px solid var(--surface); display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .3s cubic-bezier(.3, .8, .3, 1.5);
}
.crianca[aria-pressed="true"] .crianca__foto { background: var(--pink); }
.crianca[aria-pressed="true"] .crianca__check { transform: scale(1); }
.crianca__nome { font-size: 14px; font-weight: 700; text-align: center; }

.opcoes { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.opcao {
  min-height: 58px; padding: 0 18px; border-radius: 18px; border: 2px solid transparent; background: var(--surface-sunk);
  display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; text-align: left;
}
.opcao svg { color: var(--pink); opacity: 0; transform: scale(.4); transition: all .25s cubic-bezier(.3, .8, .3, 1.5); }
.opcao[aria-pressed="true"] { border-color: var(--pink); background: var(--rose-soft); }
.opcao[aria-pressed="true"] svg { opacity: 1; transform: none; }

.combinados { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.combinados li { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface-sunk); font-size: 15px; line-height: 1.45; }
.combinados b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.combinados__check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-ink); display: flex; align-items: center; justify-content: center; }

.entrada__pronto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 50px; }
.entrada__avatares { display: flex; justify-content: center; }
.entrada__avatar { width: 110px; height: 110px; margin: 0 -10px; border-radius: 50%; padding: 4px; background: linear-gradient(45deg, var(--ring-1), var(--ring-2), var(--ring-3), var(--ring-4)); }
.entrada__avatar img { width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--surface); }
.entrada__assinatura { margin: 0; padding: 10px 18px; border-radius: var(--radius-md); background: var(--rose-soft); color: var(--rose-ink); }

/* ---------- animações da marca ---------- */
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes sobe { from { transform: translateY(100%); } to { transform: none; } }
@keyframes abre-story { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes adesivo { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { opacity: 1; } }
@keyframes barra { from { width: 0; } to { width: 100%; } }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes passo { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.anima-flutua { animation: flutua 3.2s ease-in-out infinite; }
.anima-pula { animation: pula .7s cubic-bezier(.3, .8, .3, 1.4) 2; transform-origin: 50% 100%; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pula { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-16px) scale(1.04, .96); } 70% { transform: translateY(0) scale(1.06, .92); } }
@keyframes bate { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes coracao { 0% { transform: scale(0); opacity: 0; } 15% { transform: scale(1.25); opacity: 1; } 30% { transform: scale(.95); } 45% { transform: scale(1.05); } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes gira { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
.esqueleto__linha { display: block; width: 120px; height: 12px; border-radius: 99px; }
.esqueleto__foto { aspect-ratio: 1; }
.folha-titulo { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.enquete__opcao[aria-pressed="true"] .enquete__barra, .enquete__barra--vence { background: var(--lilac-bar); }
.enquete__rodape { margin-top: 10px; }
.evento__confirmar { display: flex; width: calc(100% - 28px); margin: 12px var(--space-gutter) 0; }
.escolhas--datas { margin-top: 10px; }
.escolhas--datas label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-soft); flex: 1; }
.escolhas--datas input { min-height: 44px; border: none; border-radius: 14px; background: var(--surface-soft); padding: 0 12px; font: inherit; color: var(--ink); }
.petala { fill: var(--illus-petal); }
.petala--2 { fill: var(--ring-4); }
.petala--branca { fill: var(--surface); }
.miolo { fill: var(--illus-sun); }
.confete rect { fill: var(--ring-3); }
.confete rect:nth-child(2n) { fill: var(--illus-sky); }
.confete rect:nth-child(3n) { fill: var(--success); }
.vazio { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 60px 30px 0; gap: 10px; }
.vazio img { width: 150px; height: 150px; border-radius: 50%; }
.vazio p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.contador-linha > span { font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.contador-linha > span small { font-weight: 600; }

/* ---------- tamanho do texto: grande deixa tudo 15% maior (o app não tem zoom de pinça) ---------- */
html[data-texto="grande"] body { zoom: 1.15; }

/* ---------- perfil ---------- */
.perfil { padding: 18px var(--space-5) 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.perfil__filhos { display: flex; justify-content: center; margin-top: 6px; }
.perfil__nome { margin: 6px 0 0; }
.perfil__turma { margin: 0; color: var(--ink-soft); font-size: 15px; }
.perfil__assinatura { margin: 4px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.perfil__assinatura small { font-size: 13px; color: var(--ink-mute); }
.perfil__assinatura b { padding: 8px 16px; border-radius: var(--radius-md); background: var(--rose-soft); color: var(--rose-ink); }
.perfil__bloco { width: 100%; text-align: left; }
.segmento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 18px; background: var(--surface-soft); }
.segmento__opcao { min-height: 52px; border: none; border-radius: 14px; background: transparent; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; }
.segmento__opcao[aria-checked="true"] { background: var(--surface); box-shadow: 0 2px 8px -2px rgba(43, 34, 51, .18); }
.segmento__aa { font-family: var(--font-display); font-weight: 800; line-height: 1; }
.segmento__aa--normal { font-size: 16px; }
.segmento__aa--grande { font-size: 22px; }
.perfil__lista { width: 100%; margin-top: 14px; border-radius: var(--radius-lg); background: var(--surface-sunk); overflow: hidden; }
.perfil__item { width: 100%; min-height: 56px; border: none; background: transparent; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 15px; font-weight: 700; text-align: left; }
.perfil__item + .perfil__item { border-top: 1px solid var(--line); }
.perfil__item--sair { color: var(--rose-ink); }

/* ---------- marca: símbolo vivo e assinatura ---------- */
.simbolo__no { transform-box: fill-box; transform-origin: center; animation: respira 3s ease-in-out infinite; }
.simbolo__no.n2 { animation-delay: .6s; } .simbolo__no.n3 { animation-delay: 1.2s; } .simbolo__no.n4 { animation-delay: 1.8s; } .simbolo__no.n5 { animation-delay: 2.4s; }
.simbolo__carinha { transform-box: view-box; transform-origin: 60px 80px; animation: flutua-carinha 3.2s ease-in-out infinite; }
.simbolo__olho { transform-box: fill-box; transform-origin: center; animation: pisca 4s infinite; }
@keyframes respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes flutua-carinha { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes pisca { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.assinatura { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; line-height: 1; color: var(--ink); white-space: nowrap; }
.assinatura__i { position: relative; display: inline-block; }
.assinatura__i svg { position: absolute; left: 50%; top: -.01em; width: .26em; height: .24em; margin-left: -.13em; overflow: visible; }
.assinatura__ponto, .assinatura__coracao { fill: var(--pink); transform-box: fill-box; transform-origin: 50% 60%; }
.assinatura__ponto { animation: ponto-vira 6s ease-in-out infinite; }
.assinatura__coracao { transform: scale(0); animation: vira-coracao 6s ease-in-out infinite; }
@keyframes ponto-vira { 0%, 74%, 100% { transform: scale(1); } 78%, 96% { transform: scale(0); } }
@keyframes vira-coracao { 0%, 76% { transform: scale(0); } 81% { transform: scale(1.25); } 85% { transform: scale(.95); } 89% { transform: scale(1.15); } 94% { transform: scale(1); } 98%, 100% { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) { .assinatura__coracao { display: none; } }
.entrada__marca { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0 10px; }
.entrada__marca .assinatura { font-size: 34px; }

/* ---------- abertura do símbolo: a família chega e a carinha fica orgulhosa (2.8 s) ---------- */
.simbolo__feliz { opacity: 0; }
.simbolo--abertura .simbolo__carinha { transform-origin: 60px 62px; animation: carinha-chega 2.8s cubic-bezier(.3, .8, .3, 1.1) both, flutua-carinha 3.2s ease-in-out 2.8s infinite; }
@keyframes carinha-chega {
  0% { transform: scale(2.6); }
  24% { transform: scale(1); }
  52% { transform: scale(1); }
  60% { transform: translateY(-3px) scale(1.09, 1.07); }
  76% { transform: translateY(-3px) scale(1.09, 1.07); }
  88%, 100% { transform: none; }
}
.simbolo--abertura .simbolo__fios path { stroke-dasharray: 50; animation: fio-chega .45s ease-out both; }
.simbolo--abertura .simbolo__fios .f1 { animation-delay: .45s; } .simbolo--abertura .simbolo__fios .f2 { animation-delay: .55s; }
.simbolo--abertura .simbolo__fios .f3 { animation-delay: .65s; } .simbolo--abertura .simbolo__fios .f4 { animation-delay: .75s; }
.simbolo--abertura .simbolo__fios .f5 { animation-delay: .85s; }
@keyframes fio-chega { from { stroke-dashoffset: 50; } to { stroke-dashoffset: 0; } }
.simbolo--abertura .simbolo__no { animation: no-chega .5s cubic-bezier(.3, .8, .3, 1.6) both, respira 3s ease-in-out infinite; }
.simbolo--abertura .simbolo__no.n1 { animation-delay: .6s, 3.2s; } .simbolo--abertura .simbolo__no.n2 { animation-delay: .7s, 3.8s; }
.simbolo--abertura .simbolo__no.n3 { animation-delay: .8s, 4.4s; } .simbolo--abertura .simbolo__no.n4 { animation-delay: .9s, 5s; }
.simbolo--abertura .simbolo__no.n5 { animation-delay: 1s, 5.6s; }
@keyframes no-chega { from { transform: scale(0); } to { transform: scale(1); } }
/* orgulho: olhinhos em sorriso, sorriso maior, bochechas coradas */
.simbolo--abertura .simbolo__olhos { animation: some-volta 2.8s both; }
.simbolo--abertura .simbolo__feliz { animation: aparece-some 2.8s both; }
.simbolo__sorriso, .simbolo__bochecha { transform-box: fill-box; transform-origin: center; }
.simbolo--abertura .simbolo__sorriso { animation: sorriso-abre 2.8s both; }
.simbolo--abertura .simbolo__bochecha { animation: cora 2.8s both; }
@keyframes some-volta { 0%, 52% { opacity: 1; } 56%, 82% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes aparece-some { 0%, 52% { opacity: 0; } 56%, 82% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes sorriso-abre { 0%, 52% { transform: none; } 60%, 80% { transform: scale(1.35, 1.6); } 88%, 100% { transform: none; } }
@keyframes cora { 0%, 52% { transform: none; fill-opacity: .7; } 60%, 80% { transform: scale(1.35); fill-opacity: 1; } 88%, 100% { transform: none; fill-opacity: .7; } }
.simbolo--abertura { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .simbolo--abertura * { animation: none !important; } }

/* entrada: títulos e textos centralizados (as listas continuam à esquerda, para ler melhor) */
.entrada__passo { text-align: center; }
.entrada__passo .tela { text-wrap: balance; }
.entrada__escola { justify-content: center; }
.entrada__bicho { align-self: center; }
.combinados li, .opcao { text-align: left; }

/* ---------- agenda ---------- */
.agenda { padding: 10px var(--space-gutter) 30px; }
.agenda__semana { display: flex; align-items: center; justify-content: space-between; text-align: center; }
.agenda__semana h2 { margin: 0; }
.agenda__semana small { font-size: 13px; color: var(--ink-mute); }
.agenda__dias { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.agenda__dia { position: relative; height: 66px; border: none; border-radius: 20px; background: var(--surface-soft); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; }
.agenda__dia span { font-size: 12px; }
.agenda__dia b { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; }
.agenda__dia i { position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.agenda__dia--hoje { box-shadow: inset 0 0 0 2px var(--pink); }
.agenda__dia[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.agenda__dia[aria-pressed="true"] i { background: var(--illus-sun); }
.agenda__lista { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.agenda__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-lg); animation: aparece .3s ease; }
.agenda__item--aula { background: var(--lilac-soft); }
.agenda__item--evento { background: var(--sun-soft); }
.agenda__item--lembrete { background: var(--sky-soft); }
.agenda__item--cardapio_dia { background: var(--mint-soft); }
.agenda__hora { position: relative; width: 54px; height: 54px; flex-shrink: 0; border-radius: 18px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.agenda__hora > img { width: 100%; height: 100%; border-radius: 18px; }
/* de quem é (família com filhos em turmas diferentes): o bichinho da criança no canto */
.agenda__filhos { position: absolute; right: -9px; bottom: -9px; display: flex; }
.agenda__filhos img { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 3px solid var(--cor-filho, var(--surface)); box-shadow: 0 2px 6px -2px rgba(43, 34, 51, .3); animation: adesivo .35s ease both; }
.agenda__filhos img + img { margin-left: -10px; }
.agenda__quem { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.agenda__chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: none; border-radius: 999px; background: var(--surface-soft); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.agenda__chip img { width: 30px; height: 30px; margin-left: -10px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2.5px var(--cor-filho); }
.agenda__chip[aria-pressed="true"] { background: var(--cor-filho-forte, var(--ink)); color: #fff; }
.agenda__chip[aria-pressed="true"] img { box-shadow: 0 0 0 2.5px #fff; }
/* o nome do filho no item: a cor dele, sempre legível */
.agenda__de { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; background: var(--surface); color: var(--cor-filho-forte); font-weight: 700; }
/* cores dos filhos: as bolinhas da família no logo (a forte é para texto, com contraste) */
.filho-0 { --cor-filho: #5AA9FF; --cor-filho-forte: #1F6FC8; }
.filho-1 { --cor-filho: #3CC48A; --cor-filho-forte: #13804F; }
.filho-2 { --cor-filho: #FF8A5C; --cor-filho-forte: #C2511F; }
.filho-3 { --cor-filho: #B46BFF; --cor-filho-forte: #7B33C4; }
.agenda__texto { min-width: 0; line-height: 1.3; display: flex; flex-direction: column; }
.agenda__texto small { font-size: 12px; color: var(--ink-soft); }
.agenda__texto b { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.15; }
.agenda__texto span { font-size: 14px; color: var(--ink-soft); }
.agenda__item--cancelado { background: var(--surface-sunk); }
.agenda__item--cancelado b { text-decoration: line-through; color: var(--ink-mute); }
.agenda__cancelado { color: var(--rose-ink) !important; font-weight: 700; }
.agenda__vazio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 0; color: var(--ink-soft); text-align: center; }
.agenda__vazio img { width: 96px; height: 96px; border-radius: 50%; }
.agenda__vazio p { margin: 0; }

/* ---------- avisos no celular: chaves liga/desliga ---------- */
.chave-linha { width: 100%; min-height: 52px; border: none; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; text-align: left; font-size: 16px; font-weight: 700; }
.chave-linha--principal { min-height: 60px; padding: 0 14px; margin-top: 4px; border-radius: 18px; background: var(--surface-sunk); }
.chave-linha:disabled { color: var(--ink-mute); cursor: default; }
.chave { position: relative; flex-shrink: 0; width: 50px; height: 30px; border-radius: 999px; background: var(--line-strong); transition: background-color .25s; }
.chave__bolinha { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.3, .8, .3, 1.3); }
.chave-linha[aria-checked="true"] .chave { background: var(--success); }
.chave-linha[aria-checked="true"] .chave__bolinha { transform: translateX(20px); }
.avisos-tipos { transition: opacity .25s; }
.avisos-tipos--apagado { opacity: .5; }
.aviso-situacao { padding: 14px; border-radius: var(--radius-md); background: var(--sky-soft); color: var(--sky-ink); font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
.aviso-situacao ol { margin: 8px 0 0; padding-left: 20px; }
.folha__erro { margin: 8px 0 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--sun-soft); color: var(--sun-ink); font-size: 14px; }

/* ---------- comentários ---------- */
.post__comentario { margin-top: 4px; }
.post__ver { display: block; border: none; background: none; padding: 0 16px; min-height: 30px; color: var(--ink-mute); font: inherit; font-size: 14px; font-weight: 600; }
.folha--comentarios { height: min(640px, calc(100dvh - 60px)); display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.comentarios { flex: 1; min-height: 0; display: flex; flex-direction: column; font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.45; }
.comentarios__topo { position: relative; text-align: center; padding: 0 44px 10px; border-bottom: 1px solid var(--line); }
.comentarios__fechar { position: absolute; top: -8px; right: -6px; }
.comentarios__titulo { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.comentarios__topo p { margin: 0; font-size: 12px; color: var(--ink-mute); }
.comentarios__lista { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; }
.comentarios__lista .esqueleto__linha { margin: 16px 0; }
.comentario { display: flex; gap: 10px; padding: 10px 0; animation: aparece .3s ease; transition: opacity .25s ease, transform .25s ease; }
.comentario--saindo { opacity: 0; transform: translateX(-24px); }
.comentario__av { width: 36px; height: 36px; font-size: 12px; }
.comentario__corpo { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; }
.comentario__quem { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.comentario__quem b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.comentario__quem small { font-size: 12px; color: var(--ink-mute); }
.comentario__corpo p { margin: 1px 0 0; overflow-wrap: anywhere; }
.selo-escola { padding: 1px 8px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-ink); font-size: 11px; font-weight: 700; }
.comentario__apagar { border: none; background: none; padding: 0; min-height: 30px; color: var(--ink-mute); font: inherit; font-size: 12px; font-weight: 700; }
.comentario__apagar--confirmar { color: var(--rose-ink); }
.comentario__curtir { flex-shrink: 0; width: 40px; height: 44px; border: none; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-mute); font-size: 11px; font-weight: 700; }
.comentario__curtir.coracao--on { color: var(--heart); }
.comentarios__vazio { padding: 30px 16px; text-align: center; color: var(--ink-mute); }
.comentarios__vazio img { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; }
.comentarios__vazio p { margin: 8px 0 0; }
.comentarios__como { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--ink-mute); }
.comentarios__como b { color: var(--ink-soft); }
.comentarios__escrever { display: flex; align-items: flex-end; gap: 8px; padding-top: 6px; }
.folha .comentarios__escrever textarea { flex: 1; min-height: 44px; max-height: 120px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--surface); padding: 10px 14px; font-weight: 600; line-height: 1.35; }
.folha .comentarios__escrever textarea:focus { outline: none; border-color: var(--pink); }
.comentarios__publicar { min-height: 44px; padding: 0 6px; border: none; background: none; color: var(--pink); font: inherit; font-size: 15px; font-weight: 700; }
.comentarios__publicar:disabled { color: var(--line-strong); }
.comentarios__resta { margin: 4px 0 0; text-align: right; font-size: 12px; color: var(--ink-mute); }
.comentarios__fechado { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--ink-mute); }

/* ---------- escola de demonstração (suaescola.redinha.app.br) ---------- */
.demo { margin-top: 22px; padding: 16px; border-radius: var(--radius-lg); background: var(--sun-soft); text-align: center; }
.demo__titulo { margin: 0 0 12px; font-size: 14px; color: var(--sun-ink); }
.demo__opcoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo__opcoes .botao { background: var(--surface); }

/* ---------- aviso de mentira (demonstração): igual a uma notificação do celular ---------- */
.push-falsa {
  position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; z-index: 200; max-width: 440px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 16px; border-radius: 24px;
  background: rgba(250, 249, 252, .9); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 14px 40px -6px rgba(43, 34, 51, .3); color: var(--ink); touch-action: none; user-select: none; cursor: grab;
  transform: translateY(calc(-100% - 30px)); transition: transform .6s cubic-bezier(.2, 1.25, .35, 1);
}
.push-falsa--dentro { transform: translateY(0); }
.push-falsa--saindo { transform: translateY(calc(-100% - 30px)) !important; transition: transform .4s cubic-bezier(.5, 0, .75, .3) !important; }
.push-falsa img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; margin-top: 2px; }
.push-falsa__corpo { flex: 1; min-width: 0; line-height: 1.3; }
.push-falsa__topo { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .03em; }
.push-falsa__topo span + span { text-transform: none; letter-spacing: 0; }
.push-falsa b { display: block; margin-top: 1px; font-size: 15px; }
.push-falsa p { margin: 1px 0 0; font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.push-falsa__alca { position: absolute; left: 50%; bottom: 6px; width: 36px; height: 4px; margin-left: -18px; border-radius: 99px; background: rgba(43, 34, 51, .18); }

/* ---------- fotos dos posts: carrossel como no Instagram ---------- */
.post__fotos { position: relative; aspect-ratio: 1; background: var(--surface-soft); overflow: hidden; }
.fotos__trilho { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.fotos__trilho::-webkit-scrollbar { display: none; }
.post__fotos .fotos__trilho img { flex: 0 0 100%; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; scroll-snap-align: center; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.fotos__contador { position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(43, 34, 51, .55); color: #fff; font-size: 12px; font-weight: 700; }
.fotos__pontos { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.fotos__pontos i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.fotos__pontos i.ativo { background: #fff; transform: scale(1.2); }
.story-tela__foto--real { object-fit: cover; }
