/* Mapa + gaveta (bottom sheet) + abas. Identidade Fiel: amarelo #F4C430 (seleção, destaque e ação),
   fundo #FAF9F6, preto #1A1A1A, cinza #E9E5DC e verde #22A06B (só para status: aberto, confirmado). */

/* ---------- Tokens (claro) ---------- */
:root {
  /* Redesign out/2026 (seção 4 da especificação): tokens do tema claro */
  --fundo: #F7F4EE;
  --superficie: #F7F4EE;        /* fundo da gaveta e das páginas */
  --superficie-2: #FFFFFF;      /* cartões e listas */
  --superficie-3: #F0EBE2;      /* círculos e caixinhas de ícone */
  --vidro: rgba(255, 255, 255, .92);
  --texto: #1C1A17;
  --texto-2: #6B655C;
  --texto-3: #9A9388;
  --linha: #E6DFD3;
  --amarelo: #FFC800;
  --amarelo-suave: #FFF0B3;
  --amarelo-claro: #FFF8DB;
  --tinta: #2B1A0F;             /* texto sobre o amarelo, nos dois temas */
  --papel: #FFFFFF;
  --primario: #1C1A17;          /* botões principais */
  --barra-fundo: #FFFFFF;
  --barra-borda: #E6DFD3;
  /* Calendário e folha da Homilia (out/2026) */
  --cal-ok-fundo: #FFF4CC; --cal-ok-borda: #F0D98A; --cal-ok-texto: #7A5A00;
  --cal-breve-borda: #C9BFAF; --cal-neutro: #FFFFFF; --cal-neutro-borda: #EDE7DC;
  --cal-etiqueta: #F0EBE2; --cal-icone-breve: #A79E90; --cal-botao-borda: #DDD5C8;
  --hom-fundo: #FFFFFF; --hom-borda: #E6DFD3; --hom-cartao: #F7F4EE; --hom-fechar: #F0EBE2;
  --hom-alca: #D6CEC1; --hom-apagado: #6B655C; --hom-aviso: #F0EBE2;
  --em-breve-fundo: #FFF0B3; --em-breve-texto: #7A5A00;
  --sobre-primario: #FFFFFF;
  --pino-fundo: #1A1A1A;
  --pino-texto: #FFFFFF;
  --verde: #22A06B;
  --verde-suave: #DFF3E9;
  --laranja: #B4561A;
  --laranja-suave: #F8E7DA;
  --cinza: #E9E5DC;
  --cinza-suave: #F1EEE7;
  --sombra: 0 10px 40px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .05);
  --sombra-leve: 0 1px 3px rgba(0, 0, 0, .08);
  --raio: 18px;
  --base: 17px;
  --abas: 92px;                 /* barra flutuante: 76 px de altura + 16 px do rodapé */
  --seguro-baixo: env(safe-area-inset-bottom, 0px);
  --seguro-topo: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

/* ---------- Tokens (escuro) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #161412;
    --superficie: #161412;
    --superficie-2: #201D1A;
    --superficie-3: #24211E;
    --vidro: rgba(32, 29, 26, .92);
    --texto: #F5F0E6;
    --texto-2: #A39C90;
    --texto-3: #6E675E;
    --linha: #2E2A26;
    --amarelo-suave: rgba(255, 200, 0, .18);
    --amarelo-claro: rgba(255, 200, 0, .1);
    --primario: #FFC800;
    --barra-fundo: #262320;
    --barra-borda: #3A3530;
    --cal-ok-fundo: #2A2410; --cal-ok-borda: #4A3E14; --cal-ok-texto: #FFD94D;
    --cal-breve-borda: #4A443D; --cal-neutro: #1C1916; --cal-neutro-borda: #24211E;
    --cal-etiqueta: #2A2622; --cal-icone-breve: #6E675E; --cal-botao-borda: #3A3530;
    --hom-fundo: #1E1B18; --hom-borda: #34302B; --hom-cartao: #262320; --hom-fechar: #2A2622;
    --hom-alca: #4A443D; --hom-apagado: #C9C1B3; --hom-aviso: #2E2A26;
    --em-breve-fundo: #3A3010; --em-breve-texto: #FFC800;
    --sobre-primario: #1A1A1A;
    --pino-fundo: #F5F3EE;
    --pino-texto: #1A1A1A;
    --verde: #3CC48A;
    --verde-suave: rgba(60, 196, 138, .16);
    --laranja: #E8935A;
    --laranja-suave: rgba(232, 147, 90, .16);
    --cinza: #34322D;
    --cinza-suave: rgba(255, 255, 255, .07);
    --sombra: 0 10px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fundo: #161412;
  --superficie: #161412;
  --superficie-2: #201D1A;
  --superficie-3: #24211E;
  --vidro: rgba(32, 29, 26, .92);
  --texto: #F5F0E6;
  --texto-2: #A39C90;
  --texto-3: #6E675E;
  --linha: #2E2A26;
  --amarelo-suave: rgba(255, 200, 0, .18);
  --amarelo-claro: rgba(255, 200, 0, .1);
  --primario: #FFC800;
  --barra-fundo: #262320;
  --barra-borda: #3A3530;
  --cal-ok-fundo: #2A2410; --cal-ok-borda: #4A3E14; --cal-ok-texto: #FFD94D;
  --cal-breve-borda: #4A443D; --cal-neutro: #1C1916; --cal-neutro-borda: #24211E;
  --cal-etiqueta: #2A2622; --cal-icone-breve: #6E675E; --cal-botao-borda: #3A3530;
  --hom-fundo: #1E1B18; --hom-borda: #34302B; --hom-cartao: #262320; --hom-fechar: #2A2622;
  --hom-alca: #4A443D; --hom-apagado: #C9C1B3; --hom-aviso: #2E2A26;
  --em-breve-fundo: #3A3010; --em-breve-texto: #FFC800;
  --sobre-primario: #1A1A1A;
  --pino-fundo: #F5F3EE;
  --pino-texto: #1A1A1A;
  --verde: #3CC48A;
  --verde-suave: rgba(60, 196, 138, .16);
  --laranja: #E8935A;
  --laranja-suave: rgba(232, 147, 90, .16);
  --cinza: #34322D;
  --cinza-suave: rgba(255, 255, 255, .07);
  --sombra: 0 10px 40px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

body.letra-grande { --base: 19px; }
body.letra-extra { --base: 21px; }

[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
/* Sem zoom de dois toques (no app e no site): a letra se ajusta em Configurações › tamanho da letra */
html { touch-action: manipulation; }
body {
  margin: 0;
  overflow: hidden;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  font-size: var(--base);
  line-height: 1.35;
  background: var(--fundo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 2px; }

.ic {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Mapa ---------- */
.mapa {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--amarelo-suave), transparent 55%), var(--superficie-2);
}
.maplibregl-ctrl-bottom-right {
  bottom: calc(var(--abas) + var(--seguro-baixo) + var(--altura-gaveta, 52dvh));
  transition: bottom .35s cubic-bezier(.2, .8, .2, 1);
}
.maplibregl-ctrl-attrib { font-size: 10px; }

.marcador { cursor: pointer; }
.pino {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 8px; border-radius: 999px;
  background: var(--pino-fundo); color: var(--pino-texto);
  font: 700 13px/1 Inter, -apple-system, system-ui, sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  white-space: nowrap;
  transition: transform .2s;
}
.pino i { width: 9px; height: 9px; border-radius: 50%; background: var(--texto-3); flex: none; }
.pino.aberto i { background: var(--verde); box-shadow: 0 0 0 3px var(--verde-suave); }
.pino.breve i { background: var(--laranja); }
.pino.missa i { background: var(--amarelo); }
.pino.selecionado { background: var(--amarelo); color: var(--tinta); transform: scale(1.12); }
.pino.selecionado i { background: var(--tinta); box-shadow: none; }
.pino.so-ponto { padding: 5px; gap: 0; }
.pino.so-ponto i { width: 9px; height: 9px; box-shadow: none; }

.eu {
  width: 18px; height: 18px; border-radius: 50%;
  background: #0a84ff; border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(10, 132, 255, .2);
}

/* ---------- Barra superior ---------- */
.topo {
  position: fixed; z-index: 500;
  top: calc(12px + var(--seguro-topo)); left: 16px; right: 16px;
  display: flex; gap: 10px;
}
.busca {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px; border-radius: 16px;
  background: var(--vidro); color: var(--texto-2);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--sombra);
}
.busca input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  font: inherit; font-weight: 500; color: var(--texto);
}
.busca input::placeholder { color: var(--texto-2); }
.redondo {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border: 0; border-radius: 16px;
  background: var(--vidro); color: var(--texto); cursor: pointer;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--sombra);
}
.redondo:active { transform: scale(.94); }
.flutuante {
  position: fixed; z-index: 400; right: 16px;
  bottom: calc(var(--abas) + var(--seguro-baixo) + var(--altura-gaveta, 52dvh) + 12px);
  transition: bottom .35s cubic-bezier(.2, .8, .2, 1), transform .25s, opacity .2s;
}
.flutuante.segundo { bottom: calc(var(--abas) + var(--seguro-baixo) + var(--altura-gaveta, 52dvh) + 76px); }
.redondo.ativo { background: var(--amarelo); color: var(--tinta); }

/* Liturgia e Ajustes são páginas inteiras: sem busca nem alça */
body[data-aba="liturgia"] .topo, body[data-aba="ajustes"] .topo,
body[data-aba="liturgia"] .alca, body[data-aba="ajustes"] .alca { display: none; }
body[data-aba="liturgia"] .gaveta, body[data-aba="ajustes"] .gaveta {
  height: calc(100dvh - var(--abas) - var(--seguro-baixo));
  border-radius: 0; box-shadow: none; padding-top: var(--seguro-topo);
}
body[data-aba="liturgia"] .conteudo, body[data-aba="ajustes"] .conteudo { padding-top: 20px; }
body[data-aba="liturgia"] .flutuante,
body[data-aba="ajustes"] .flutuante,
.gaveta[data-estado="cheio"] ~ .flutuante { opacity: 0; pointer-events: none; }

/* ---------- Gaveta (bottom sheet) ---------- */
.gaveta {
  position: fixed; z-index: 450; left: 0; right: 0;
  bottom: calc(var(--abas) + var(--seguro-baixo));
  height: var(--altura-gaveta, 52dvh);
  display: flex; flex-direction: column;
  background: var(--superficie);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, .12);
  transition: height .35s cubic-bezier(.2, .8, .2, 1);
}
.gaveta.arrastando { transition: none; }
.alca { display: grid; place-items: center; height: 28px; flex: none; cursor: grab; touch-action: none; }
.gaveta[data-estado="fechado"] { cursor: pointer; }
.gaveta[data-estado="fechado"] .conteudo { overflow: hidden; }
.alca span { width: 38px; height: 5px; border-radius: 3px; background: var(--texto-3); opacity: .5; }
.conteudo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 28px; }

/* ---------- Abas ---------- */
.abas {
  position: fixed; z-index: 600; left: 0; right: 0; bottom: 0;
  height: calc(var(--abas) + var(--seguro-baixo));
  padding-bottom: var(--seguro-baixo);
  display: flex;
  background: var(--superficie);
  border-top: .5px solid var(--linha);
}
.abas button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; cursor: pointer;
  color: var(--texto-3); font-size: 11px; font-weight: 600;
}
.capsula {
  display: grid; place-items: center; width: 54px; height: 30px; border-radius: 999px;
  transition: background .2s;
}
.capsula .ic { width: 23px; height: 23px; }
.abas button.ativa { color: var(--texto); }
.abas button.ativa .capsula { background: var(--amarelo); color: var(--tinta); }

/* ---------- Tipografia das telas ---------- */
.cabecalho { padding: 2px 4px 14px; }
.cabecalho h1 { margin: 0; font-size: 1.8em; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.cabecalho p { margin: 4px 0 0; color: var(--texto-2); font-size: .85em; }
.secao { margin: 24px 4px 8px; font-size: .76em; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--texto-2); }
.nota { margin: 16px 4px 0; color: var(--texto-3); font-size: .75em; line-height: 1.45; }

/* ---------- Destaque amarelo ("mais perto agora", liturgia do dia) ---------- */
.heroi {
  padding: 20px; border-radius: 24px;
  background: var(--amarelo); color: var(--tinta);
}
.heroi small { display: flex; align-items: center; gap: 7px; font-size: .74em; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.heroi h2 { margin: 10px 0 4px; font-size: 1.3em; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.heroi p { margin: 0; font-size: .9em; opacity: .75; }
.heroi .acoes { display: flex; gap: 8px; margin-top: 18px; }
.heroi .botao { background: var(--tinta); color: var(--papel); }
.heroi .botao.fantasma { background: rgba(17, 17, 17, .1); color: var(--tinta); }
.ponto-vivo { width: 8px; height: 8px; border-radius: 50%; background: var(--tinta); animation: pulso 1.6s infinite; }
@keyframes pulso { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ponto-vivo { animation: none; } }

/* ---------- Listas (estilo iOS agrupado) ---------- */
.grupo { background: var(--superficie-2); border-radius: var(--raio); overflow: hidden; }
.linha {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px; border: 0; background: none; text-align: left; cursor: pointer;
  position: relative; text-decoration: none;
}
.linha + .linha::before { content: ""; position: absolute; top: 0; left: 74px; right: 0; border-top: .5px solid var(--linha); }
.linha:active { background: var(--cinza-suave); }
.linha .corpo { flex: 1; min-width: 0; }
.linha .titulo { font-weight: 650; font-size: .98em; line-height: 1.25; }
.linha .sub { color: var(--texto-2); font-size: .82em; margin-top: 2px; }
.linha > .ic { color: var(--texto-3); width: 18px; height: 18px; }

.selo {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  font-weight: 800; font-size: .95em; letter-spacing: -.02em;
  background: var(--cinza-suave); color: var(--texto-2);
}
.selo .ic { width: 22px; height: 22px; }
.selo.aberto { background: var(--verde-suave); color: var(--verde); }
.selo.breve { background: var(--laranja-suave); color: var(--laranja); }
.selo.missa { background: var(--amarelo); color: var(--tinta); }

.etiqueta {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-size: .75em; font-weight: 700;
  background: var(--cinza-suave); color: var(--texto-2);
}
.etiqueta.aberto { background: var(--verde-suave); color: var(--verde); }
.etiqueta.breve { background: var(--laranja-suave); color: var(--laranja); }
.etiqueta + .etiqueta { margin-left: 4px; }
.etiqueta .ic { width: 13px; height: 13px; }

.horas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.horas span {
  padding: 4px 10px; border-radius: 9px;
  background: var(--superficie); font-size: .82em; font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--linha);
}
.horas small { font-weight: 500; opacity: .75; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chips + .chips { margin-top: 8px; }
.chip {
  flex: none; padding: 9px 15px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--superficie-2); color: var(--texto);
  font-size: .88em; font-weight: 650; white-space: nowrap;
}
.chip small { display: block; font-size: .78em; font-weight: 500; opacity: .6; }
.chip.ativo { background: var(--primario); color: var(--sobre-primario); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--primario); color: var(--sobre-primario);
  font-weight: 700; font-size: .95em; text-decoration: none; flex: 1; white-space: nowrap;
}
.botao.secundario { background: var(--superficie-2); color: var(--texto); }
.botao:active { transform: scale(.98); opacity: .9; }

/* ---------- Detalhe da igreja ---------- */
.voltar {
  display: inline-flex; align-items: center; gap: 2px; margin: 0 0 8px -6px;
  padding: 6px 10px 6px 2px; border: 0; background: none; cursor: pointer;
  color: var(--texto); font-weight: 700;
}
.detalhe h1 { margin: 0; font-size: 1.55em; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.detalhe .local { margin: 6px 0 14px; color: var(--texto-2); font-size: .9em; }
.detalhe .acoes { display: flex; gap: 10px; margin: 16px 0 4px; }
.aviso-agenda {
  display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--laranja-suave); font-size: .85em;
}
.aviso-agenda .ic { color: var(--laranja); }
.selecionavel { user-select: all; -webkit-user-select: all; }

.semana { background: var(--superficie-2); border-radius: var(--raio); overflow: hidden; }
.semana > div { display: flex; gap: 12px; padding: 12px 14px; align-items: baseline; }
.semana > div + div { border-top: .5px solid var(--linha); }
.semana b { width: 52px; flex: none; font-size: .88em; }
.semana span { color: var(--texto-2); font-size: .88em; min-width: 0; }
.semana .hoje { background: var(--amarelo-suave); }
.semana .hoje span { color: var(--texto); font-weight: 600; }

/* ---------- Liturgia ---------- */
.cor-liturgica { display: inline-flex; align-items: center; gap: 7px; }
.cor-liturgica i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(17, 17, 17, .25); }
.marcas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.marcas span { padding: 5px 10px; border-radius: 999px; background: rgba(17, 17, 17, .1); font-size: .78em; font-weight: 700; }

/* ---------- Ajustes ---------- */
.ajuste { padding: 14px; }
.ajuste + .ajuste { border-top: .5px solid var(--linha); }
.ajuste > b { display: block; font-weight: 650; font-size: .95em; }
.ajuste > p { margin: 3px 0 0; color: var(--texto-2); font-size: .82em; }
.segmento { display: flex; gap: 2px; margin-top: 10px; padding: 3px; border-radius: 12px; background: var(--cinza-suave); }
.segmento button {
  flex: 1; min-height: 38px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-size: .85em; font-weight: 650; color: var(--texto-2);
}
.segmento button.ativo { background: var(--superficie); color: var(--texto); box-shadow: var(--sombra-leve); }
.ajuste .botao { margin-top: 12px; min-height: 44px; width: 100%; }
.info { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; font-size: .88em; }
.info + .info { border-top: .5px solid var(--linha); }
.info span { color: var(--texto-2); text-align: right; min-width: 0; }

.codigo-pix {
  margin: 10px 0 0; padding: 12px; border-radius: 12px; background: var(--superficie);
  font: 500 .78em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; color: var(--texto);
}
.aviso-copia { margin: 10px 0 0; color: var(--verde); font-size: .85em; font-weight: 600; }
.linha.link { color: inherit; }

.vazio { padding: 26px 12px; text-align: center; color: var(--texto-2); }
.vazio b { display: block; color: var(--texto); margin-bottom: 4px; }
.cartao-vazio { padding: 18px; border-radius: var(--raio); background: var(--superficie-2); color: var(--texto-2); font-size: .88em; display: flex; gap: 12px; }
.cartao-vazio .ic { color: var(--texto-3); }

/* ---------- Telas largas: painel lateral, como o Uber na web ---------- */
@media (min-width: 900px) {
  .topo { left: 432px; right: auto; width: 420px; }
  .gaveta {
    top: 16px; bottom: calc(16px + var(--abas)); left: 16px; right: auto;
    width: 400px; height: auto !important; border-radius: 24px 24px 0 0;
    box-shadow: var(--sombra);
  }
  .alca { visibility: hidden; height: 12px; }
  .abas { left: 16px; right: auto; width: 400px; bottom: 16px; border-radius: 0 0 24px 24px; }
  .flutuante { bottom: 24px !important; }
  .flutuante.segundo { bottom: 88px !important; }
  .maplibregl-ctrl-bottom-right { bottom: 0; }
  .gaveta[data-estado="cheio"] ~ .flutuante { opacity: 1; pointer-events: auto; }
  body[data-aba="liturgia"] .gaveta, body[data-aba="ajustes"] .gaveta { height: auto; border-radius: 24px 24px 0 0; box-shadow: var(--sombra); padding-top: 0; }
}

/* ---------- Páginas comuns (privacidade, painel) ---------- */
body.pagina { overflow: auto; height: auto; min-height: 100%; }
.folha { max-width: 640px; margin: 0 auto; padding: calc(20px + var(--seguro-topo)) 16px calc(40px + var(--seguro-baixo)); }
.folha .topo-pagina { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.folha .topo-pagina a { color: var(--texto); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.texto-longo h2 { font-size: 1.1em; margin: 28px 0 8px; }
.texto-longo p, .texto-longo li { color: var(--texto); line-height: 1.55; font-size: .95em; }
.texto-longo li + li { margin-top: 6px; }
.texto-longo .atualizado { color: var(--texto-2); font-size: .85em; }

/* ---------- Formulários e painel das paróquias ---------- */
.alerta { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; font-size: .9em; font-weight: 600; }
.alerta.ok { background: var(--verde-suave); color: var(--verde); }
.alerta.erro { background: var(--laranja-suave); color: var(--laranja); }
.formulario { display: flex; flex-direction: column; gap: 14px; }
.cartao-form { padding: 16px; margin-top: 12px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: .85em; font-weight: 650; color: var(--texto-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--linha); border-radius: 12px;
  background: var(--superficie); color: var(--texto); font: inherit; font-size: 1.1em; font-weight: 500;
}
.campo textarea { min-height: 70px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--amarelo); outline-offset: 0; border-color: transparent; }
.ajuste .campo { margin-top: 12px; }
.linha-dia { flex-direction: row; align-items: center; gap: 12px; }
.linha-dia input { flex: 1; min-width: 0; }
.linha-dia { color: var(--texto); }
.linha-dia > :first-child { width: 72px; }
.link-simples { border: 0; background: none; padding: 8px 0; color: var(--texto-2); font-weight: 600; text-decoration: underline; cursor: pointer; align-self: center; }
.botao.pequeno { min-height: 38px; padding: 0 14px; font-size: .85em; flex: none; }
.ajuste .botao + .botao { margin-top: 8px; }
.segmento [data-modo] { min-height: 42px; }
.cartao-paroquia + .cartao-paroquia { margin-top: 32px; }
.cartao-paroquia h2 { margin: 8px 4px 0; font-size: 1.3em; letter-spacing: -.01em; }
.sub-paroquia { margin: 2px 4px 0; color: var(--texto-2); font-size: .9em; }
.status-vivo { display: flex; align-items: center; gap: 8px; color: var(--verde); }
.ponto-verde { width: 10px; height: 10px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px var(--verde-suave); }
.selo-admin { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-size: .8em; font-weight: 800; }
.acoes-linha { display: flex; gap: 8px; margin-top: 12px; }
.info .sub-info { color: var(--texto-2); font-size: .9em; }
.info > div { min-width: 0; }
.grupo .botao.secundario { background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }

/* ---------- Abertura (logo do app) ---------- */
.abertura {
  position: fixed; inset: 0; z-index: 10000;
  /* Medidas da opção 06 (referência iPhone 14/15, 390 × 844): --u vale 1/100 da largura nesse celular */
  --u: min(1vw, .462vh, 4.6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-bottom: calc(var(--u) * 10);
  background: #F4C430; color: #1A1A1A;
  transition: opacity .35s ease, visibility .35s;
}
.abertura svg { width: calc(var(--u) * 43.6); height: calc(var(--u) * 40.1); }
.abertura b {
  display: flex; flex-direction: column; align-items: center;
  margin-top: calc(var(--u) * .3); font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: calc(var(--u) * 21.9); font-weight: 700; letter-spacing: 0; line-height: 1;
}
.abertura b small {
  display: block; margin-top: calc(var(--u) * 1.8); padding-left: .42em;
  font-size: calc(var(--u) * 8.4); font-weight: 500; letter-spacing: .42em; text-transform: uppercase;
}
.abertura.saindo { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .abertura { transition: none; } }

/* ---------- Adoração, missa em breve, avisos e confiança ---------- */
:root { --vermelho: #d93036; --vermelho-suave: rgba(217, 48, 54, .12); }
.pino.adoracao i { background: var(--amarelo); box-shadow: 0 0 0 3px var(--amarelo-suave); }
.pino.em-breve i { background: var(--vermelho); box-shadow: 0 0 0 3px var(--vermelho-suave); }
.selo.adoracao.aberto, .selo.adoracao.breve { background: var(--amarelo); color: var(--tinta); }
.selo.missa.em-breve { background: var(--vermelho); color: #fff; }
.etiqueta.em-breve { background: var(--vermelho-suave); color: var(--vermelho); }
.etiqueta.adoracao { background: var(--amarelo); color: var(--tinta); margin-left: 4px; }
.aviso-igreja {
  display: flex; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--laranja-suave); font-size: .88em; line-height: 1.4;
}
.aviso-igreja .ic { color: var(--laranja); flex: none; }
.aviso-igreja.cancelamento { background: var(--vermelho-suave); }
.aviso-igreja.cancelamento .ic { color: var(--vermelho); }
.aviso-igreja b { display: block; }
.confianca { display: flex; align-items: center; gap: 6px; margin: 8px 4px 0; font-size: .78em; font-weight: 600; color: var(--texto-2); }
.confianca .ic { width: 15px; height: 15px; }
.confianca.verificado { color: var(--verde); }
.confianca.alerta { color: var(--laranja); }

/* ---------- Editor de horários do painel ---------- */
[data-editor] > .segmento { margin: 12px 12px 0; }
.linha-horario { padding: 10px 0; border-bottom: .5px solid var(--linha); }
.linha-horario-topo { display: flex; align-items: center; gap: 8px; }
.linha-horario select, .linha-horario input {
  min-height: 44px; padding: 8px 10px; border: 1px solid var(--linha); border-radius: 10px;
  background: var(--superficie); color: var(--texto); font: inherit; font-size: .95em; min-width: 0;
}
.linha-horario-topo select { flex: 1; }
.linha-horario-horas { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.linha-horario-horas input { flex: 1; }
.linha-horario .ate { color: var(--texto-2); font-size: .85em; }
.linha-horario .remover {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--cinza-suave); color: var(--texto-2); font-size: 1.3em; line-height: 1;
}
.linha-horario details { margin-top: 6px; }
.linha-horario summary { color: var(--texto-2); font-size: .82em; font-weight: 600; cursor: pointer; padding: 4px 0; }
.linha-horario details input { width: 100%; margin-top: 6px; }
.semanas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: .82em; color: var(--texto-2); }
.semanas > span { width: 100%; }
.semana-check { display: inline-flex; align-items: center; gap: 4px; color: var(--texto); font-weight: 600; }
.semana-check input { min-height: 0; width: 18px; height: 18px; margin: 0; }
.duas-colunas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.duas-colunas .campo { margin-top: 0; }
[data-form-aviso] { border-top: .5px solid var(--linha); }
.campo input, .campo select, .campo textarea { min-width: 0; max-width: 100%; }
.ajuste .botao { white-space: normal; text-align: center; padding-block: 10px; }

/* ---------- Conta do fiel ---------- */
.perfil-topo {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 4px 0 8px; padding: 14px;
  border: 0; border-radius: var(--raio); background: var(--superficie-2); text-align: left; cursor: pointer;
}
.perfil-topo .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.perfil-topo b { font-size: 1.1em; }
.perfil-topo .corpo span { color: var(--texto-2); font-size: .85em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perfil-topo > .ic { color: var(--texto-3); width: 18px; height: 18px; }
.avatar { display: grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--amarelo); color: var(--tinta); font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.medio { width: 58px; height: 58px; font-size: 1.2em; }
.avatar.grande { width: 112px; height: 112px; font-size: 2.2em; }
.avatar.sem-foto .ic { width: 50%; height: 50%; }
.foto-perfil { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 8px 0 18px; }
.foto-perfil label { cursor: pointer; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .85em; color: var(--texto-2); }
.aceite input { width: 20px; height: 20px; margin: 0; flex: none; }
.passos { display: flex; gap: 6px; margin: 4px 4px 18px; }
.topo-passo { display: flex; align-items: center; gap: 12px; margin: 4px 4px 18px; }
.topo-passo .passos { flex: 1; margin: 0; }
.pular-topo { appearance: none; border: 0; background: var(--cinza-suave); color: inherit; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.completar-depois { display: block; margin: 22px auto 8px; }
.passos i { flex: 1; height: 5px; border-radius: 3px; background: var(--cinza-suave); }
.passos i.feito { background: var(--amarelo); }
.acoes-passo { display: flex; gap: 10px; margin-top: 18px; }
.busca-lista {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0 14px; min-height: 48px;
  border-radius: 14px; background: var(--superficie-2); color: var(--texto-2);
}
.busca-lista input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--texto); }
.temperamentos { display: grid; gap: 10px; }
.temperamento {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 2px solid transparent; border-radius: var(--raio);
  background: var(--superficie-2); text-align: left; cursor: pointer;
}
.temperamento b { font-size: 1.05em; }
.temperamento span { color: var(--texto); font-size: .9em; }
.temperamento small { color: var(--texto-2); font-size: .8em; }
.temperamento.ativo { border-color: var(--amarelo); background: var(--amarelo-suave); }
.temperamento.ainda-nao { background: none; border: 1px dashed var(--linha); }
.linha-interruptor { display: flex; align-items: center; gap: 14px; padding: 14px; }
.linha-interruptor + .linha-interruptor { border-top: .5px solid var(--linha); }
.linha-interruptor .corpo { flex: 1; min-width: 0; }
.linha-interruptor .titulo { font-weight: 650; font-size: .95em; }
.linha-interruptor .sub { color: var(--texto-2); font-size: .8em; margin-top: 2px; }
.interruptor {
  position: relative; flex: none; width: 52px; height: 32px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cinza-suave); transition: background .2s;
}
.interruptor i {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s;
}
.interruptor[aria-checked="true"] { background: var(--verde); }
.interruptor[aria-checked="true"] i { transform: translateX(20px); }
.botao.perigo { background: var(--vermelho); color: #fff; }
.botao.perigo-texto { color: var(--vermelho); }
.etiqueta.minha { background: var(--amarelo); color: var(--tinta); margin: 0 4px 10px 0; }

/* Painel: ajustar a posição da igreja no mapa */
.ajuste [hidden] { display: none !important; }
.mapa-local-quadro { position: relative; margin-top: 12px; height: 320px; border-radius: 14px; overflow: hidden; background: var(--fundo-2, #222); }
.mapa-local-quadro > [data-mapa] { position: absolute; inset: 0; }
.mapa-local .nota { margin: 8px 2px 0; }
.mira { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -31px 0 0 -13px; pointer-events: none;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--amarelo, #ffd400); border: 3px solid #111; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.mira::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #111; }
.busca-endereco { margin-top: 4px; }
.busca-endereco .botao { margin-top: 8px !important; }

/* Igrejas fora da lista da aba: pontinho cinza */
.pino.outra { padding: 4px; opacity: .85; }
.pino.outra i { width: 7px; height: 7px; background: var(--texto-3); }
.detalhe .local:has(+ .endereco) { margin-bottom: 0; }
.detalhe .endereco { margin: 3px 0 14px; color: var(--texto-2); font-size: .82em; line-height: 1.4; }

/* Painel: conferir o "Como chegar" */
.conferir-cidade { border-top: .5px solid var(--linha); padding: 10px 0 0; margin-top: 10px; }
.conferir-cidade summary { font-weight: 650; cursor: pointer; padding: 4px 0; }
.conferir-link { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: .5px solid var(--linha); }
.conferir-link input { grid-column: 1; min-width: 0; font: inherit; font-size: .85em; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--linha); background: var(--fundo); color: var(--texto); }
.conferir-link .botao { margin: 0 !important; width: auto !important; min-height: 36px !important; }

/* ---------- Mapa do Google ---------- */
/* Os pinos do Fiel ficam centrados no ponto; o mapa acaba onde a gaveta começa, para o logotipo
   e os créditos do Google ficarem sempre à mostra (regra do Google) */
.mapa-google .marcador { position: absolute; transform: translate(-50%, -50%); }
.mapa-google .mapa {
  bottom: calc(var(--abas) + var(--seguro-baixo) + var(--base-mapa, 52dvh));
  transition: bottom .35s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 900px) {
  .mapa-google .mapa { bottom: 0; left: 432px; }
}
.mapa-interno { position: absolute; inset: 0; }

/* =====================================================================
   Redesign (out/2026): referências oficiais do app Fiel
   ===================================================================== */
body { background: var(--fundo); }
.conteudo { padding: 0 18px 32px; }

/* ---------- Barra inferior: 5 abas ---------- */
.abas { background: var(--superficie-2); border-top: 1px solid var(--linha); }
.abas button { color: var(--texto-2); font-size: 10.5px; font-weight: 600; gap: 4px; }
.abas button.ativa { color: var(--texto); font-weight: 800; }
.capsula { width: 52px; height: 32px; }
.capsula .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.abas button.ativa .capsula { background: var(--amarelo); color: var(--tinta); }
.abas button.ativa .capsula .ic { stroke-width: 2.1; }

/* ---------- Cabeçalho das telas ---------- */
.cabecalho { padding: 4px 2px 16px; }
.cabecalho.com-busca { display: flex; align-items: flex-start; gap: 12px; }
.cabecalho.com-busca > div { flex: 1; min-width: 0; }
.cabecalho h1 { font-size: 1.75em; letter-spacing: -.03em; }
.cabecalho p { font-size: .86em; }
.botao-busca {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-top: 2px;
  border: 1px solid var(--linha); border-radius: 50%; background: var(--superficie-2); color: var(--texto); cursor: pointer;
}
.botao-busca .ic { width: 20px; height: 20px; }
.secao { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 10px; font-size: .72em; letter-spacing: .08em; color: var(--texto-2); }
.secao .ver { text-transform: none; letter-spacing: 0; font-size: 1.1em; font-weight: 650; color: var(--texto-2); }

/* ---------- Busca no topo do mapa ---------- */
/* Com a lista aberta, a busca fica na lupa da lista; ela aparece no topo com o mapa em tela cheia */
body:not([data-gaveta="fechado"]):not(.buscando) .topo { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.topo { transition: opacity .2s, transform .2s; }
.busca { height: 50px; border-radius: 999px; background: var(--superficie-2); border: 1px solid var(--linha); box-shadow: 0 6px 24px rgba(26, 26, 26, .1); }
.busca input { font-weight: 500; }
.fechar-busca { display: none; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--cinza-suave); color: var(--texto-2); cursor: pointer; }
body.buscando .fechar-busca { display: grid; }
.fechar-busca .ic { width: 16px; height: 16px; }
.redondo { width: 48px; height: 48px; border-radius: 50%; background: var(--superficie-2); border: 1px solid var(--linha); box-shadow: 0 6px 20px rgba(26, 26, 26, .12); }
.redondo .ic { width: 21px; height: 21px; }
.flutuante.segundo { bottom: calc(var(--abas) + var(--seguro-baixo) + var(--altura-gaveta, 52dvh) + 70px); }

/* ---------- Gaveta ---------- */
.gaveta { background: var(--superficie); border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(26, 26, 26, .1); }
.alca { height: 24px; }
.alca span { width: 42px; height: 5px; background: var(--cinza); opacity: 1; }

/* ---------- Destaque amarelo (igreja mais perto agora) ---------- */
.heroi { position: relative; padding: 16px; border-radius: 22px; background: var(--amarelo); color: var(--tinta); }
.heroi-topo { display: flex; gap: 12px; align-items: flex-start; }
.heroi-topo > div:first-child { flex: 1; min-width: 0; }
.heroi small { font-size: .68em; font-weight: 800; letter-spacing: .08em; }
.heroi h2 { margin: 6px 0 2px; font-size: 1.22em; font-weight: 800; }
.heroi p { opacity: .8; font-size: .86em; }
.heroi .estado { margin-top: 8px; background: #FFFFFF; color: var(--verde); }
.heroi .acoes { gap: 10px; margin-top: 14px; }
.heroi .botao { min-height: 46px; border-radius: 14px; background: var(--tinta); color: #FFFFFF; }
.heroi .botao.fantasma { background: rgba(255, 255, 255, .55); color: var(--tinta); }
.miniatura-heroi {
  position: relative; display: grid; place-items: center; flex: none; width: 74px; height: 74px; border-radius: 18px;
  border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .55); color: var(--tinta);
}
.miniatura-heroi .ic { width: 34px; height: 34px; stroke-width: 1.7; }

/* ---------- Linhas com miniatura ---------- */
.grupo { background: var(--superficie-2); border: 1px solid var(--linha); border-radius: 20px; }
.linha { gap: 13px; padding: 12px 14px; }
.linha + .linha::before { left: 80px; border-top: 1px solid var(--linha); }
.linha .titulo { font-weight: 700; font-size: .95em; }
.linha .sub { font-size: .8em; }
.miniatura {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px;
  background: var(--amarelo-claro); color: var(--texto);
}
.miniatura .ic { width: 25px; height: 25px; stroke-width: 1.7; }
.miniatura.cinza { background: var(--cinza-suave); color: var(--texto-2); }
.bloco-hora {
  display: grid; place-items: center; flex: none; width: 56px; height: 52px; border-radius: 15px;
  background: var(--amarelo); color: var(--tinta); font-weight: 800; font-size: .98em; letter-spacing: -.02em;
}
.bloco-hora.passou { background: var(--cinza-suave); color: var(--texto-2); }

/* Status: verde = disponível/confirmado; cinza = informação */
.estado {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .74em; font-weight: 700; background: var(--cinza-suave); color: var(--texto-2);
}
.estado.verde { background: var(--verde-suave); color: var(--verde); }
.estado.alerta { background: var(--laranja-suave); color: var(--laranja); }
.estado .ic { width: 13px; height: 13px; }
.estado + .estado { margin-left: 4px; }
.etiqueta.aberto, .etiqueta.adoracao { background: var(--verde-suave); color: var(--verde); }
.etiqueta.breve, .etiqueta.em-breve { background: var(--cinza-suave); color: var(--texto-2); }

/* ---------- Missas: dias e filtros ---------- */
.dias { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 4px; }
.dias::-webkit-scrollbar { display: none; }
.dia {
  flex: none; min-width: 58px; padding: 8px 10px; border: 1px solid var(--linha); border-radius: 14px; cursor: pointer;
  background: var(--superficie-2); color: var(--texto); font-size: .82em; font-weight: 750; text-align: center; line-height: 1.2;
}
.dia small { display: block; font-size: .85em; font-weight: 500; color: var(--texto-2); }
.dia.ativo { background: var(--amarelo); border-color: var(--amarelo); color: var(--tinta); }
.dia.ativo small { color: var(--tinta); }
.filtros { display: flex; gap: 8px; margin: 12px -18px 4px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--linha);
  border-radius: 999px; background: var(--superficie-2); color: var(--texto); font-size: .82em; font-weight: 650; cursor: pointer;
}
.filtro.ativo { background: var(--tinta); border-color: var(--tinta); color: #FFFFFF; }
.filtro-select { position: relative; }
.filtro-select select {
  appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; color: inherit; padding-right: 16px; cursor: pointer;
}
.filtro-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.horas span { background: var(--cinza-suave); box-shadow: none; }

/* ---------- Adoração ---------- */
.banner-adoracao {
  position: relative; overflow: hidden; min-height: 196px; padding: 20px; border-radius: 22px;
  background: radial-gradient(circle at 78% 30%, rgba(255, 196, 80, .55), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(255, 160, 40, .35), transparent 40%),
              linear-gradient(160deg, #3A2410 0%, #1D130A 60%, #120C06 100%);
  color: #FFFFFF; display: flex; flex-direction: column; justify-content: flex-end;
}
.banner-adoracao svg.ostensorio-arte { position: absolute; right: -6px; top: 4px; width: 170px; height: 170px; opacity: .95; }
.banner-adoracao h2 { position: relative; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.6em; font-weight: 700; letter-spacing: -.01em; }
.banner-adoracao p { position: relative; margin: 4px 0 14px; max-width: 64%; font-size: .85em; opacity: .9; }
.banner-adoracao .botao { position: relative; flex: none; align-self: flex-start; min-height: 42px; background: var(--amarelo); color: var(--tinta); border-radius: 12px; }
.chip-24h { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-size: .74em; font-weight: 800; }
.chip-24h .ic { width: 13px; height: 13px; }
.citacao { margin: 26px 4px 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--texto-2); font-size: .95em; }
.citacao small { display: block; font-style: normal; font-family: inherit; font-size: .8em; margin-top: 2px; }

/* ---------- Pinos do mapa ---------- */
.pg { position: relative; width: 38px; height: 44px; filter: drop-shadow(0 4px 6px rgba(26, 26, 26, .28)); }
.pg-gota {
  position: absolute; left: 3px; top: 0; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--amarelo); border: 2px solid #FFFFFF;
}
.pg-gota .ic { transform: rotate(45deg); width: 17px; height: 17px; color: var(--tinta); stroke-width: 2.1; }
.pg-vivo { position: absolute; right: 0; top: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--verde); border: 2px solid #FFFFFF; }
.pg.sel .pg-gota { background: var(--tinta); }
.pg.sel .pg-gota .ic { color: var(--amarelo); }
.pg.sel { transform: scale(1.18); transform-origin: 50% 100%; }
/* A ponta da gota fica exatamente no ponto da igreja */
.marcador .pg { margin-top: -38px; }
.ponto-outra { width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--texto-3); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }

/* ---------- Ficha flutuante (mapa em tela cheia) ---------- */
.ficha {
  position: fixed; z-index: 470; left: 12px; right: 12px;
  bottom: calc(var(--abas) + var(--seguro-baixo) + var(--altura-gaveta, 52dvh) + 36px);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 20px;
  background: var(--superficie-2); box-shadow: 0 12px 32px rgba(26, 26, 26, .18); cursor: pointer;
}
.ficha .corpo { flex: 1; min-width: 0; }
.ficha .titulo { font-weight: 750; font-size: .95em; }
.ficha .sub { color: var(--texto-2); font-size: .8em; margin-top: 2px; }
.ficha > .ic { color: var(--texto-3); width: 18px; height: 18px; }
@media (min-width: 900px) { .ficha { left: auto; right: 24px; width: 380px; bottom: 24px; } }

/* ---------- Detalhe ---------- */
.detalhe-topo { display: flex; align-items: center; justify-content: space-between; }
.favoritar {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--linha); border-radius: 999px;
  background: var(--superficie-2); color: var(--texto); font-size: .82em; font-weight: 700; cursor: pointer;
}
.favoritar .ic { width: 17px; height: 17px; }
.favoritar.ativo { background: var(--amarelo); border-color: var(--amarelo); color: var(--tinta); }
.favoritar.ativo .ic { fill: currentColor; }
.semana { border: 1px solid var(--linha); background: var(--superficie-2); }
.semana .hoje { background: var(--amarelo-claro); }

/* ---------- Ajustes ---------- */
.cartao-perfil { border-radius: 24px; background: var(--amarelo); color: var(--tinta); overflow: hidden; }
.cartao-perfil button, .cartao-perfil a { color: inherit; }
.perfil-cabeca { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border: 0; background: none; text-align: left; cursor: pointer; }
.perfil-cabeca .corpo { flex: 1; min-width: 0; }
.perfil-cabeca b { display: block; font-size: 1.18em; font-weight: 800; letter-spacing: -.01em; }
.perfil-cabeca span.email { display: block; font-size: .84em; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perfil-cabeca > .ic { width: 20px; height: 20px; }
.cartao-perfil .avatar { background: #FFFFFF; color: var(--tinta); }
.cartao-perfil .avatar.medio { width: 62px; height: 62px; font-size: 1.25em; }
.perfil-linha {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; border: 0; border-top: 1px solid rgba(26, 26, 26, .12);
  background: none; text-align: left; cursor: pointer; font: inherit;
}
.perfil-linha > .ic:first-child { width: 22px; height: 22px; flex: none; }
.perfil-linha .corpo { flex: 1; min-width: 0; }
.perfil-linha .titulo { font-weight: 750; font-size: .93em; }
.perfil-linha .sub { font-size: .8em; opacity: .72; }
.perfil-linha > .ic:last-child { width: 18px; height: 18px; opacity: .7; }
.botao-teste { flex: none; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .65); font-size: .78em; font-weight: 800; }
.perfil-info { display: flex; gap: 10px; align-items: flex-start; padding: 0 16px 12px 52px; font-size: .74em; opacity: .75; margin-top: -6px; }
.perfil-info .ic { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.menu-ajustes { margin-top: 16px; }
.menu-ajustes .linha > .ic:first-child { width: 24px; height: 24px; flex: none; color: var(--texto); stroke-width: 1.7; }
.menu-ajustes .linha + .linha::before { left: 52px; }
.em-breve {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; padding: 34px 22px; text-align: center;
  border: 1px solid var(--linha); border-radius: 22px; background: var(--superficie-2);
}
.em-breve .icone-grande { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--amarelo-claro); }
.em-breve .icone-grande .ic { width: 30px; height: 30px; stroke-width: 1.7; }
.em-breve b { font-size: 1.05em; }
.em-breve p { margin: 0; color: var(--texto-2); font-size: .88em; line-height: 1.45; }
.selo-em-breve { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-size: .72em; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.secao-config { display: flex; align-items: center; gap: 8px; margin: 22px 2px 10px; font-weight: 800; font-size: .95em; }
.secao-config .ic { width: 20px; height: 20px; padding: 3px; border-radius: 8px; background: var(--amarelo); color: var(--tinta); box-sizing: content-box; }
.ajuste.em-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ajuste.em-linha .segmento { margin-top: 0; flex: 0 1 240px; }
.segmento { background: var(--cinza-suave); }
.segmento button.ativo { background: var(--superficie-2); }
.opcoes-lista { display: grid; gap: 8px; }
.opcao {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 16px;
  background: var(--superficie-2); text-align: left; font-weight: 650; cursor: pointer;
}
.opcao.ativo { border-color: var(--amarelo); background: var(--amarelo-claro); }
.opcao .ic { width: 18px; height: 18px; }
.temperamento.secundario { opacity: .95; }
.temperamento { border: 2px solid var(--linha); background: var(--superficie-2); }
.temperamento.ativo { border-color: var(--amarelo); background: var(--amarelo-claro); }

/* Telas largas */
@media (min-width: 900px) {
  .gaveta { width: 420px; }
  .abas { width: 420px; }
  .topo { left: 452px; }
  .mapa-google .mapa { left: 452px; }
}
@media (max-width: 360px) {
  .abas button { font-size: 9.5px; }
  .capsula { width: 46px; }
}
@media (min-width: 900px) {
  /* No computador a busca fica sempre à mostra, ao lado do painel */
  body:not([data-gaveta="fechado"]):not(.buscando) .topo { opacity: 1; pointer-events: auto; transform: none; }
  .botao-busca { display: none; }
}
.linha-interruptor .titulo.perigo-texto, .titulo.perigo-texto { color: var(--vermelho); }
.ajuste .botao[disabled] { opacity: .45; }

/* Com a ficha flutuante aberta, os botões do mapa sobem para não ficarem por baixo dela */
@media (max-width: 899px) {
  body.com-ficha .flutuante { transform: translateY(-112px); }
}
.linha-interruptor + .ajuste { padding-top: 0; }
.linha-interruptor + .ajuste .botao:first-child { margin-top: 0; }
/* O botão "fechar busca" já limpa o campo; esconde o "x" azul do navegador */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

/* ---------- Entrar / criar conta (canvas Login, nov/2026) ---------- */
/* A tela cobre o app inteiro: sem mapa, sem alça e sem a barra de baixo por cima do formulário */
body.tela-login .gaveta {
  inset: 0; bottom: 0; height: 100dvh; width: auto; z-index: 9500; border-radius: 0; box-shadow: none; background: var(--fundo);
}
body.tela-login .alca, body.tela-login .abas, body.tela-login .topo, body.tela-login .flutuante { display: none !important; }
body.tela-login .conteudo { padding: 0; }
.login-amarelo {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  height: min(410px, 46dvh); min-height: 270px; padding-bottom: 30px; background: #FFC800; color: #1A1A1A;
}
.login-aneis { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-aneis g { fill: none; stroke: #2B1A0F; opacity: .05; stroke-width: 1; }
.login-fechar {
  position: absolute; z-index: 1; top: calc(var(--seguro-topo) + 14px); left: 14px; display: grid; place-items: center;
  width: 40px; height: 40px; border: 0; border-radius: 20px; background: rgba(43, 26, 15, .08); color: #1A1A1A; cursor: pointer;
}
.login-fechar .ic { width: 20px; height: 20px; }
/* Mesma marca da abertura do app (igreja + FIEL + CATÓLICO) */
.login-logo { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.login-logo .logo-fiel { width: 116px; height: 107px; color: #1A1A1A; }
.login-logo b { display: flex; flex-direction: column; align-items: center; margin-top: 2px; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: 58px; font-weight: 700; line-height: 1; }
.login-logo b small { display: block; margin-top: 8px; padding-left: .42em; font-size: .384em; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; }
.login-cartao {
  position: relative; margin-top: -30px; min-height: calc(100dvh - min(410px, 46dvh) + 30px);
  padding: 24px 22px calc(var(--seguro-baixo) + 28px); border-radius: 30px 30px 0 0; background: var(--fundo);
  display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.login-titulo { margin: 0 0 2px; font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1.15; }
.login-explica { margin: 0; color: var(--texto-2); font-size: .92em; line-height: 1.5; }
/* Controle segmentado no estilo do iPhone */
.segmentado { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 2px; border-radius: 10px; background: rgba(118, 118, 128, .24); }
.segmentado button { height: 36px; border: 0; border-radius: 8px; background: none; color: var(--texto); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; padding: 0; }
.segmentado button.ativo { background: #636366; color: #F5F0E6; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
:root:not([data-theme="dark"]) .segmentado button.ativo { background: #FFFFFF; color: #1A1A1A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .segmentado button.ativo { background: #636366; color: #F5F0E6; } }
.login-cartao .alerta { margin: 0; }
.login-agora-nao { align-self: center; margin-top: 2px; padding: 8px 16px; border: 0; background: none; color: var(--texto-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.form-login { display: flex; flex-direction: column; gap: 12px; }
.campo-icone {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--linha);
  border-radius: 14px; background: var(--fundo); color: var(--texto-2);
}
.campo-icone:focus-within { border-color: var(--amarelo); box-shadow: 0 0 0 2px var(--amarelo); }
.campo-icone > .ic { width: 20px; height: 20px; flex: none; }
.campo-icone input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--texto); padding: 14px 0;
}
.campo-icone input::placeholder { color: var(--texto-3); }
.ver-senha { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border: 0; background: none; color: var(--texto-2); cursor: pointer; }
.ver-senha .ic { width: 20px; height: 20px; }
.link-direita { align-self: flex-end; margin-top: -2px; padding: 2px 0; border: 0; background: none; color: var(--amarelo-texto, #FFC800); font-size: 13px; font-weight: 600; cursor: pointer; }
.form-login .botao { width: 100%; min-height: 54px; border-radius: 27px; font-size: 16px; font-weight: 700; margin-top: 4px; }
.form-login .botao.contorno { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--texto); }
.ou { display: flex; align-items: center; gap: 12px; color: var(--texto-3); font-size: 12px; font-weight: 500; }
.ou::before, .ou::after { content: ""; flex: 1; border-top: 1px solid var(--linha); }
.form-login .aceite { font-size: .82em; }
.tela-login .mensagem, .tela-login .aviso-conta { margin-bottom: 12px; }


/* =====================================================================
   ABA LITURGIA — a cor litúrgica do dia dá o tom (faixas, selos, detalhes);
   o amarelo segue como a cor do Fiel (aba ativa, botões de ação)
   ===================================================================== */
.lit-verde    { --lit: #2F6B4A; --lit-forte: #1B4330; --lit-suave: #E6EFE9; --lit-tinta: #24573B; --lit-ponto: #7FC29B; }
.lit-roxo     { --lit: #65468A; --lit-forte: #3A2456; --lit-suave: #EEE8F5; --lit-tinta: #553878; --lit-ponto: #B9A2D8; }
.lit-vermelho { --lit: #9A2B3A; --lit-forte: #5F1722; --lit-suave: #F5E6E8; --lit-tinta: #82222F; --lit-ponto: #E39AA4; }
.lit-rosa     { --lit: #B4627C; --lit-forte: #7A3C53; --lit-suave: #F8EAF0; --lit-tinta: #8E4862; --lit-ponto: #F2BED0; }
.lit-branco   { --lit: #C2A15A; --lit-forte: #8C6D2C; --lit-suave: #F6EFDD; --lit-tinta: #7D6025; --lit-ponto: #FFFFFF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [class*="lit-"] {
    --lit-suave: color-mix(in srgb, var(--lit) 24%, #22211E);
    --lit-tinta: color-mix(in srgb, var(--lit) 55%, #FFFFFF);
  }
}
:root[data-theme="dark"] [class*="lit-"] {
  --lit-suave: color-mix(in srgb, var(--lit) 24%, #22211E);
  --lit-tinta: color-mix(in srgb, var(--lit) 55%, #FFFFFF);
}

.liturgia { --serifa: ui-serif, "New York", "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif; padding-bottom: 8px; }
.liturgia-topo { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; margin: 2px 0 18px; }
.liturgia-topo p { grid-column: 1 / -1; }
.liturgia-topo h1 { margin: 0; font-family: var(--serifa); font-size: 2.15em; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.liturgia-topo p { margin: 2px 0 0; color: var(--texto-2); font-size: .92em; }
.botao-calendario {
  flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 9px 10px 9px 12px;
  border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); color: var(--texto);
  box-shadow: 0 4px 14px rgba(26, 26, 26, .06); font: inherit; font-size: .76em; font-weight: 650; line-height: 1.2; text-align: left; cursor: pointer;
}
.botao-calendario > .ic:first-child { width: 22px; height: 22px; }
.botao-calendario > .ic:last-child { width: 14px; height: 14px; color: var(--texto-3); }

/* Card da liturgia de hoje */
.liturgia-hoje {
  position: relative; overflow: hidden; padding: 20px 18px 18px; border-radius: 24px; color: #FFFFFF;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%),
    linear-gradient(155deg, var(--lit) 0%, var(--lit-forte) 100%);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--lit-forte) 28%, transparent);
}
.liturgia-hoje .ornamento { position: absolute; right: -62px; top: -46px; width: 230px; height: 230px; opacity: .11; pointer-events: none; }
.liturgia-hoje > :not(.ornamento) { position: relative; }
.liturgia-hoje small { display: block; font-size: .7em; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.liturgia-hoje h2 {
  margin: 10px 0 0; max-width: 92%; font-family: var(--serifa); font-size: 1.62em; font-weight: 600; line-height: 1.14;
  letter-spacing: -.01em; text-wrap: balance;
}
.liturgia-hoje .anos { margin: 8px 0 0; font-size: .88em; opacity: .85; }
.pilulas-lit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pilulas-lit span {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8em; font-weight: 650;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.pilula-cor i { width: 12px; height: 12px; border-radius: 50%; background: var(--lit-ponto); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.botao-leituras {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; min-height: 54px; padding: 0 18px; border-radius: 999px;
  background: #FFFFFF; color: #1A1A1A; font-weight: 700; font-size: .98em; text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}
.botao-leituras span { flex: 1; }
.botao-leituras .ic { width: 22px; height: 22px; }
.botao-leituras .ic:last-child { width: 16px; height: 16px; color: #6B6B6B; }
.botao-leituras:active, .proximo-domingo:active, .cartao-folheto:active, .dia-calendario:active, .botao-calendario:active { transform: scale(.985); }

/* Branco: festas e solenidades em creme e dourado, com texto escuro */
.liturgia-hoje.lit-branco, .lit-branco .liturgia-hoje {
  color: #1A1A1A;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .7), transparent 55%), linear-gradient(155deg, #FBF6EA 0%, #EFE1BF 100%);
  box-shadow: inset 0 0 0 1px #E4D3A8, 0 12px 28px rgba(140, 109, 44, .14);
}
.lit-branco .liturgia-hoje .ornamento { color: #8C6D2C; opacity: .22; }
.lit-branco .pilulas-lit span { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px #E2CF9F; }
.lit-branco .pilula-cor i { box-shadow: 0 0 0 1.5px #C2A15A; }
.lit-branco .botao-leituras { background: #1A1A1A; color: #FFFFFF; }
.lit-branco .botao-leituras .ic:last-child { color: rgba(255, 255, 255, .6); }

/* Próximo domingo */
.proximo-domingo {
  display: block; width: 100%; margin-top: 14px; padding: 14px 14px 14px 16px; border: 1px solid var(--linha); border-radius: 20px;
  background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 26, 26, .04);
}
.proximo-domingo .rotulo { display: block; font-size: .7em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }
.linha-domingo { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.selo-domingo {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(155deg, var(--lit), var(--lit-forte)); color: #FFFFFF;
}
.selo-domingo b { font-family: var(--serifa); font-size: 1.32em; font-weight: 600; line-height: 1; }
.selo-domingo small { margin-top: 3px; font-size: .6em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.lit-branco .selo-domingo, .lit-branco.selo-domingo { background: linear-gradient(155deg, #FBF6EA, #EFE1BF); color: #6F5523; box-shadow: inset 0 0 0 1px #E2CF9F; }
.linha-domingo .corpo, .cartao-folheto .corpo, .dia-calendario .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.linha-domingo .titulo { font-weight: 750; font-size: 1em; line-height: 1.25; }
.linha-domingo .sub, .cartao-folheto .sub, .dia-calendario .sub { margin-top: 3px; color: var(--texto-2); font-size: .8em; }
.linha-domingo > .ic, .cartao-folheto > .ic, .dia-calendario > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); }

/* Folhetos */
.cabeca-folhetos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 26px 2px 12px; }
.cabeca-folhetos .secao { margin: 0; white-space: nowrap; }
.cabeca-folhetos .origem { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--texto-3); font-size: .6em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cabeca-folhetos .origem .ic { width: 18px; height: 18px; }
.tema-folheto { margin-top: 4px; font-family: var(--serifa); font-style: italic; font-size: .9em; line-height: 1.3; color: var(--texto); }

.folheto-destaque {
  position: relative; overflow: hidden; padding: 16px 18px 18px 22px; border: 1px solid var(--linha); border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lit-suave) 70%, transparent), transparent 60%),
    var(--superficie-2);
  box-shadow: 0 8px 24px rgba(26, 26, 26, .06);
}
.folheto-destaque::before, .cartao-folheto::before, .dia-calendario::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lit);
}
.folheto-rotulo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: .7em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.folheto-rotulo span:first-child { color: var(--lit-tinta); }
.folheto-rotulo span:last-child { color: var(--texto-2); }
.folheto-destaque h3 { margin: 10px 0 0; font-family: var(--serifa); font-size: 1.38em; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.folheto-destaque .tema { margin: 8px 0 0; font-family: var(--serifa); font-style: italic; font-size: 1em; line-height: 1.35; color: var(--texto); }
.folheto-marcas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.folheto-marcas span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--lit-suave); color: var(--lit-tinta); font-size: .74em; font-weight: 700; }
.folheto-marcas .ponto-lit::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lit); box-shadow: 0 0 0 1.5px var(--superficie-2); }
.folheto-destaque .botao { width: 100%; margin-top: 16px; min-height: 52px; border-radius: 16px; }

.lista-folhetos, .lista-calendario { display: flex; flex-direction: column; gap: 10px; }
.cartao-folheto, .dia-calendario {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px;
  border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); text-decoration: none;
  box-shadow: 0 3px 10px rgba(26, 26, 26, .035);
}
.doc-folheto { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--lit-suave); color: var(--lit-tinta); }
.doc-folheto .ic { width: 24px; height: 24px; }
.cartao-folheto .titulo, .dia-calendario .titulo { font-weight: 750; font-size: .95em; line-height: 1.25; }

/* Calendário litúrgico */
.mes-calendario { margin-top: 18px; }
.lista-calendario .mes-calendario:first-child { margin-top: 0; }
.data-cal { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 54px; border-radius: 14px; background: var(--lit-suave); color: var(--lit-tinta); }
.data-cal b { font-family: var(--serifa); font-size: 1.4em; font-weight: 600; line-height: 1; }
.data-cal small { margin-top: 3px; font-size: .62em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chip-folheto { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 3px 9px; border-radius: 999px; background: var(--lit-suave); color: var(--lit-tinta); font-size: .72em; font-weight: 700; }
.chip-folheto .ic { width: 13px; height: 13px; }

/* Selo "Solenidade": quadradinho dourado, discreto */
.selo-solenidade {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-bottom: 5px; padding: 3px 7px 3px 6px;
  border-radius: 7px; background: #F6EFDD; color: #7D6025; box-shadow: inset 0 0 0 1px #E2CF9F;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.selo-solenidade .ic { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.folheto-destaque .selo-solenidade { margin: 10px 0 -2px; }
.topo-hoje { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.topo-hoje .selo-solenidade { margin: 0; }
.liturgia-hoje:not(.lit-branco) .selo-solenidade, .liturgia:not(.lit-branco) .liturgia-hoje .selo-solenidade {
  background: rgba(255, 255, 255, .16); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .selo-solenidade { background: #3A3122; color: #E8CC8A; box-shadow: inset 0 0 0 1px #5A4A2C; }
}
:root[data-theme="dark"] .selo-solenidade { background: #3A3122; color: #E8CC8A; box-shadow: inset 0 0 0 1px #5A4A2C; }
:root .liturgia.lit-branco .liturgia-hoje .selo-solenidade { background: rgba(255, 255, 255, .7); color: #7D6025; box-shadow: inset 0 0 0 1px #E2CF9F; }

/* ---------- Missas acontecendo agora: selo "Ao vivo" e barrinha que enche durante a missa ---------- */
/* Verde = disponível/acontecendo agora, o mesmo sentido do "Aberto" da Confissão e da Adoração */
:root { --vivo: #22A06B; --vivo-claro: #4CC08C; --vivo-fundo: #DFF3E9; --vivo-texto: #17804F; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --vivo-fundo: rgba(60, 196, 138, .16); --vivo-texto: #5FD39E; }
}
:root[data-theme="dark"] { --vivo-fundo: rgba(60, 196, 138, .16); --vivo-texto: #5FD39E; }
.secao-ao-vivo span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--vivo-texto); }
.ponto-vivo { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--vivo); }
.ponto-vivo::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--vivo); opacity: .35;
  animation: pulsar-vivo 1.6s ease-out infinite;
}
@keyframes pulsar-vivo { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ponto-vivo::after { animation: none; } }
.selo-vivo {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px 3px 8px; border-radius: 999px;
  background: var(--vivo-fundo); color: var(--vivo-texto); font-size: .7em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.barra-missa { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--cinza-suave); overflow: hidden; }
.barra-missa i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--vivo), var(--vivo-claro)); transition: width .6s ease; }
.legenda-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 7px; color: var(--texto-2); font-size: .76em; }
.bloco-hora.vivo { background: var(--vivo-fundo); color: var(--vivo-texto); font-size: .9em; }

/* =====================================================================
   VIDA DE FÉ (formacao.js): Santo do Dia, avisos, formação, quiz, exame, FIEL Pro, perfil
   Dourado = identidade do Fiel; cores litúrgicas só nos detalhes de cada celebração
   ===================================================================== */
:root { --serifa: ui-serif, "New York", "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif; --ouro: #B8902F; --ouro-claro: #E9D29A; }

/* ---------- Santinho desenhado ---------- */
.arte-santo { flex: none; display: block; width: 52px; height: 65px; }
.arte-santo svg { width: 100%; height: 100%; display: block; }
img.arte-santo { object-fit: cover; border-radius: 999px 999px 18px 18px; }
.arte-santo .moldura { fill: var(--lit-suave); stroke: var(--lit); stroke-width: 3; }
.arte-santo .raios path { stroke: var(--ouro); stroke-width: 2; stroke-linecap: round; opacity: .75; }
.arte-santo .aureola { fill: #FFF8E6; stroke: var(--ouro); stroke-width: 2.5; }
.arte-santo .iniciais { font-family: var(--serifa); font-size: 22px; font-weight: 600; fill: var(--lit-tinta); }
.arte-santo .cruz { stroke: var(--lit-tinta); stroke-width: 3.5; stroke-linecap: round; fill: none; opacity: .8; }
.lit-branco .arte-santo .moldura, .arte-santo.lit-branco .moldura { stroke: var(--ouro); }
.arte-santo.grande { width: 112px; height: 140px; filter: drop-shadow(0 10px 22px rgba(26, 26, 26, .14)); }
.arte-santo.modal { width: 120px; height: 150px; margin: 0 auto 4px; }
.arte-santo.mini { width: 40px; height: 50px; }
.arte-santo.aviso { width: 58px; height: 72px; }

.selo-grau {
  display: inline-flex; align-items: center; width: fit-content; padding: 3px 8px; border-radius: 7px; background: var(--cinza-suave); color: var(--texto-2);
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.selo-grau.alerta { background: var(--laranja-suave); color: var(--laranja); }

/* ---------- Página do santo ---------- */
.pagina-santo { padding-bottom: 8px; }
.capa-santo {
  display: flex; gap: 16px; align-items: center; margin-top: 4px; padding: 18px 16px; border-radius: 24px;
  background: radial-gradient(120% 120% at 0% 0%, #FFFDF6, transparent 60%), linear-gradient(160deg, #FBF6EA, #F1E6CC);
  box-shadow: inset 0 0 0 1px #E8D9B2;
}
.capa-texto { min-width: 0; color: #1A1A1A; }
.capa-texto small { display: block; font-size: .7em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7D6025; }
.capa-texto h1 { margin: 6px 0 4px; font-family: var(--serifa); font-size: 1.62em; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.titulo-santo { margin: 0; color: #5C5346; font-size: .86em; }
.marcas-santo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.marcas-santo .selo-solenidade { margin: 0; }
.data-santo { font-size: .78em; font-weight: 650; color: #5C5346; }
.capa-santo .selo-grau { background: rgba(255, 255, 255, .7); color: #7D6025; box-shadow: inset 0 0 0 1px #E2CF9F; }
.lema-santo { margin: 18px 4px 0; font-family: var(--serifa); font-style: italic; font-size: 1.12em; line-height: 1.4; color: var(--texto); }
.lema-santo cite { display: block; margin-top: 6px; font-family: inherit; font-style: normal; font-size: .62em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-3); }
.resumo-santo { margin: 12px 4px 0; color: var(--texto-2); font-size: .92em; line-height: 1.55; }
.abas-santo { display: flex; gap: 6px; margin: 20px 0 6px; overflow-x: auto; scrollbar-width: none; }
.abas-santo::-webkit-scrollbar { display: none; }
.abas-santo button {
  flex: none; padding: 8px 14px; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie-2);
  color: var(--texto-2); font: inherit; font-size: .82em; font-weight: 650; cursor: pointer;
}
.abas-santo button.ativo { background: var(--tinta); border-color: var(--tinta); color: #FFFFFF; }
.texto-santo { margin-top: 8px; padding: 18px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); line-height: 1.62; }
.texto-santo h3 { margin: 0 0 10px; font-family: var(--serifa); font-size: 1.2em; font-weight: 600; }
.texto-santo p { margin: 0 0 12px; font-size: .94em; }
.texto-santo p:last-child { margin-bottom: 0; }
.texto-santo ul { margin: 0; padding-left: 18px; font-size: .94em; }
.texto-santo li + li { margin-top: 8px; }
.texto-santo blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--ouro); font-family: var(--serifa); font-style: italic; font-size: 1.04em; }
.texto-santo blockquote cite { display: block; margin-top: 4px; font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-style: normal; font-size: .72em; color: var(--texto-3); }
.texto-santo .oracao { font-family: var(--serifa); font-size: 1.04em; }
.botao.largo { width: 100%; margin-top: 14px; }

/* ---------- Santo do dia ao abrir o app ---------- */
.modal-santo {
  position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 16px calc(var(--abas) + var(--seguro-baixo) + 16px); background: rgba(20, 18, 14, .38);
  opacity: 0; transition: opacity .25s ease;
}
.modal-santo.aberto { opacity: 1; }
.modal-santo.saindo { opacity: 0; }
.cartao-modal-santo {
  position: relative; width: 100%; max-width: 380px; padding: 22px 20px 20px; border-radius: 28px; text-align: center; color: #1A1A1A;
  background: radial-gradient(120% 80% at 50% 0%, #FFFDF6, transparent 70%), linear-gradient(170deg, #FBF6EA, #F0E3C4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28), inset 0 0 0 1px #E8D9B2;
  transform: translateY(24px); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.modal-santo.aberto .cartao-modal-santo { transform: none; }
.cartao-modal-santo small { display: block; font-size: .72em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7D6025; }
.cartao-modal-santo h2 { margin: 6px 0 0; font-family: var(--serifa); font-size: 1.55em; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.cartao-modal-santo .marcas-santo { justify-content: center; }
.cartao-modal-santo .selo-grau { background: rgba(255, 255, 255, .7); color: #7D6025; box-shadow: inset 0 0 0 1px #E2CF9F; }
.cartao-modal-santo .lema-santo { margin: 12px 0 0; color: #3A342B; }
.cartao-modal-santo .botao { width: 100%; margin-top: 18px; min-height: 50px; border-radius: 16px; background: #1A1A1A; color: #FFFFFF; gap: 8px; }
.cartao-modal-santo .botao .ic { width: 16px; height: 16px; }
.fechar-modal {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .75); color: #1A1A1A; cursor: pointer;
}
.fechar-modal .ic { width: 18px; height: 18px; }
@media (min-width: 900px) { .modal-santo { align-items: center; padding-bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .modal-santo, .cartao-modal-santo { transition: none; } }

/* ---------- Avisos e novidades ---------- */
.chips-avisos { margin-top: 4px; }
.lista-avisos { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cartao-aviso {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 16px;
  border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left;
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 10px rgba(26, 26, 26, .035);
}
.cartao-aviso[class*="lit-"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lit); }
.cartao-aviso .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartao-aviso .titulo { font-weight: 750; font-size: .96em; line-height: 1.25; }
.cartao-aviso .sub { margin-top: 3px; color: var(--texto-2); font-size: .78em; }
.cartao-aviso .resumo { margin-top: 5px; font-size: .84em; line-height: 1.4; color: var(--texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cartao-aviso > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); }
.arte-aviso { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--lit-suave, var(--cinza-suave)); color: var(--lit-tinta, var(--texto)); }
.arte-aviso.paroquia { background: var(--cinza-suave); color: var(--texto); }
.arte-aviso .ic { width: 26px; height: 26px; }

/* ---------- Formação católica ---------- */
.lista-formacao { display: flex; flex-direction: column; gap: 10px; }
.cartao-formacao {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 1px solid var(--linha); border-radius: 20px;
  background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 3px 10px rgba(26, 26, 26, .035);
}
.cartao-formacao .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartao-formacao .titulo { font-weight: 750; font-size: .96em; }
.cartao-formacao .sub { margin-top: 3px; color: var(--texto-2); font-size: .8em; line-height: 1.35; }
.cartao-formacao > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); }
.icone-formacao { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--lit-suave); color: var(--lit-tinta); }
.icone-formacao .ic { width: 25px; height: 25px; }
.status-formacao { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--verde); font-size: .74em; font-weight: 700; }
.status-formacao .ic { width: 13px; height: 13px; }

/* ---------- Quiz e teste ---------- */
.topo-quiz { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; color: var(--texto-2); font-size: .78em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.progresso-quiz { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--cinza-suave); overflow: hidden; }
.progresso-quiz i { display: block; height: 100%; border-radius: inherit; background: var(--amarelo); transition: width .35s ease; }
.pergunta-quiz { margin: 22px 2px 16px; font-family: var(--serifa); font-size: 1.38em; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.opcoes-quiz { display: flex; flex-direction: column; gap: 10px; }
.opcao-quiz {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 16px;
  background: var(--superficie-2); color: var(--texto); font: inherit; font-size: .95em; font-weight: 600; text-align: left; cursor: pointer;
}
.opcao-quiz .letra { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--cinza-suave); font-size: .8em; font-weight: 800; }
.opcao-quiz > span:nth-child(2) { flex: 1; }
.opcao-quiz .ic { width: 18px; height: 18px; flex: none; }
.opcao-quiz:not([disabled]):active { border-color: var(--amarelo); }
.opcao-quiz.certa { border-color: var(--verde); background: var(--verde-suave); }
.opcao-quiz.certa .letra { background: var(--verde); color: #FFFFFF; }
.opcao-quiz.errada { border-color: #C9876F; background: #FBEEE9; }
.opcao-quiz.errada .letra { background: #B5543A; color: #FFFFFF; }
.opcao-quiz.apagada { opacity: .55; }
.opcao-quiz[disabled] { cursor: default; color: var(--texto); }
.explicacao-quiz { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--cinza-suave); font-size: .9em; line-height: 1.5; }
.explicacao-quiz b { display: block; margin-bottom: 4px; }
.explicacao-quiz.certa b { color: var(--verde); }
.explicacao-quiz.errada b { color: #B5543A; }
.explicacao-quiz p { margin: 0; }
.resultado-quiz { display: flex; flex-direction: column; align-items: center; margin-top: 18px; text-align: center; }
.resultado-quiz h2 { margin: 14px 0 6px; font-family: var(--serifa); font-size: 1.45em; font-weight: 600; text-wrap: balance; }
.resultado-quiz > p { margin: 0; color: var(--texto-2); }
.resultado-quiz small { margin-top: 10px; font-size: .74em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }
.resultado-quiz .acoes-passo { width: 100%; }
.nota-quiz {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #FFF8E1, #F6E3A8); box-shadow: inset 0 0 0 3px var(--amarelo); color: #1A1A1A; font-size: .82em; font-weight: 700;
}
.nota-quiz b { font-family: var(--serifa); font-size: 3em; font-weight: 600; line-height: 1; }
.cartao-temperamento { width: 100%; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); text-align: left; }
.cartao-temperamento p { margin: 4px 0; font-size: .9em; }
.cartao-temperamento small { color: var(--texto-2); font-size: .8em; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* ---------- Exame de consciência ---------- */
.aviso-privado { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--cinza-suave); color: var(--texto-2); font-size: .82em; line-height: 1.45; }
.aviso-privado .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.oracao-exame { margin-top: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #F6F0FB, #EEE6F6); color: #2E2340; }
.oracao-exame small { display: block; font-size: .68em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #553878; }
.oracao-exame p { margin: 6px 0 0; font-family: var(--serifa); font-style: italic; font-size: 1em; line-height: 1.5; }
.oracao-exame.contricao { margin-top: 22px; }
.item-exame {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 13px 14px; border: 0; border-top: 1px solid var(--linha); background: none;
  color: var(--texto); font: inherit; font-size: .92em; line-height: 1.4; text-align: left; cursor: pointer;
}
.grupo .item-exame:first-child { border-top: 0; }
.item-exame .caixa { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--texto-3); border-radius: 7px; }
.item-exame.marcado .caixa { border-color: #65468A; background: #65468A; color: #FFFFFF; }
.item-exame .caixa .ic { width: 14px; height: 14px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .oracao-exame { background: #2A2236; color: #EDE6F7; }
  :root:not([data-theme="light"]) .oracao-exame small { color: #C7B3E6; }
  :root:not([data-theme="light"]) .capa-santo { background: linear-gradient(160deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; }
  :root:not([data-theme="light"]) .capa-texto { color: #F5F3EE; }
  :root:not([data-theme="light"]) .titulo-santo, :root:not([data-theme="light"]) .data-santo { color: #CFC6B5; }
  :root:not([data-theme="light"]) .capa-texto small { color: #E8CC8A; }
  :root:not([data-theme="light"]) .opcao-quiz.errada { background: rgba(181, 84, 58, .16); }
}
:root[data-theme="dark"] .oracao-exame { background: #2A2236; color: #EDE6F7; }
:root[data-theme="dark"] .oracao-exame small { color: #C7B3E6; }
:root[data-theme="dark"] .capa-santo { background: linear-gradient(160deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; }
:root[data-theme="dark"] .capa-texto { color: #F5F3EE; }
:root[data-theme="dark"] .titulo-santo, :root[data-theme="dark"] .data-santo { color: #CFC6B5; }
:root[data-theme="dark"] .capa-texto small { color: #E8CC8A; }
:root[data-theme="dark"] .opcao-quiz.errada { background: rgba(181, 84, 58, .16); }

/* ---------- FIEL Pro ---------- */
.cartao-pro {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 16px; border: 0; border-radius: 20px; cursor: pointer;
  background: radial-gradient(120% 140% at 100% 0%, rgba(233, 210, 154, .22), transparent 55%), linear-gradient(150deg, #22201B, #121110);
  color: #F5F0E3; font: inherit; text-align: left; box-shadow: 0 10px 26px rgba(18, 17, 16, .18);
}
.cartao-pro .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartao-pro b { font-family: var(--serifa); font-size: 1.2em; font-weight: 600; letter-spacing: .02em; }
.cartao-pro b em, .pro-topo h1 em { font-style: normal; color: var(--ouro-claro); }
.cartao-pro .corpo > span { margin-top: 2px; font-size: .8em; color: #BDB4A2; }
.cartao-pro > .ic { flex: none; width: 16px; height: 16px; color: #8F8676; }
.coroa-pro { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(233, 210, 154, .14); color: var(--ouro-claro); }
.coroa-pro .ic { width: 24px; height: 24px; }

body.tela-pro .gaveta { background: radial-gradient(120% 50% at 50% 0%, rgba(233, 210, 154, .16), transparent 60%), linear-gradient(180deg, #1B1915, #0F0E0C); }
body.tela-pro #conteudo { color: #F5F0E3; }
body.tela-pro .voltar { color: #E9E1CF; }
.pro-topo { display: flex; flex-direction: column; align-items: center; margin-top: 6px; text-align: center; }
.pro-topo .coroa-pro { width: 64px; height: 64px; border-radius: 20px; }
.pro-topo .coroa-pro .ic { width: 32px; height: 32px; }
.pro-topo h1 { margin: 14px 0 0; font-family: var(--serifa); font-size: 2.3em; font-weight: 600; letter-spacing: .03em; color: #F7F1E1; }
.pro-topo p { margin: 4px 0 0; color: #BDB4A2; font-size: .9em; }
.pro-intro { margin: 18px 6px 0; text-align: center; color: #D9D1C0; font-size: .92em; line-height: 1.5; }
.beneficios-pro { list-style: none; margin: 20px 0 0; padding: 4px 16px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(233, 210, 154, .14); }
.beneficios-pro li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: .9em; color: #EDE6D6; }
.beneficios-pro li + li { border-top: 1px solid rgba(233, 210, 154, .1); }
.beneficios-pro li .ic { flex: none; width: 20px; height: 20px; color: var(--ouro-claro); }
.beneficios-pro li span { flex: 1; }
.beneficios-pro li em { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(233, 210, 154, .12); color: #CDB57A; font-style: normal; font-size: .72em; font-weight: 700; }
.plano-pro {
  margin-top: 18px; padding: 18px; border-radius: 22px; text-align: left; color: #1A1A1A;
  background: radial-gradient(120% 120% at 0% 0%, #F8E7B4, transparent 60%), linear-gradient(150deg, #E9CF86, #C9A24A);
}
.plano-pro small { display: block; font-size: .78em; font-weight: 700; color: #4A3A12; }
.plano-pro b { display: block; margin-top: 2px; font-family: var(--serifa); font-size: 1.9em; font-weight: 600; }
.plano-pro b span { font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: .45em; font-weight: 650; color: #4A3A12; }
.plano-pro .botao { width: 100%; margin-top: 14px; min-height: 52px; border-radius: 16px; background: #1A1A1A; color: #F7F1E1; }
.plano-pro p { margin: 10px 2px 0; font-size: .78em; line-height: 1.45; color: #3E3216; }
.botao.contorno-pro { width: 100%; margin-top: 12px; min-height: 50px; border-radius: 16px; background: transparent; color: #F7F1E1; box-shadow: inset 0 0 0 1.5px rgba(233, 210, 154, .5); }
.pro-nota { display: flex; gap: 10px; align-items: flex-start; margin: 18px 4px 6px; color: #BDB4A2; font-size: .8em; line-height: 1.45; }
.pro-nota .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--ouro-claro); }

/* ---------- Meu perfil ---------- */
.cartao-meu-perfil { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--linha); border-radius: 22px; background: var(--superficie-2); }
.cartao-meu-perfil .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cartao-meu-perfil b { font-size: 1.08em; }
.cartao-meu-perfil .corpo > span { margin-top: 2px; color: var(--texto-2); font-size: .8em; }
.botao.pequeno { flex: none; width: auto; min-height: 38px; padding: 0 14px; font-size: .84em; }
.numeros-perfil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.numeros-perfil div { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); text-align: center; }
.numeros-perfil b { font-family: var(--serifa); font-size: 1.5em; font-weight: 600; }
.numeros-perfil span { margin-top: 2px; color: var(--texto-2); font-size: .7em; font-weight: 650; }
.conquistas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.conquista { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px dashed var(--linha); border-radius: 16px; color: var(--texto-3); text-align: center; }
.conquista .ic { width: 22px; height: 22px; }
.conquista small { font-size: .66em; font-weight: 700; line-height: 1.2; }
.conquista.ganha { border-style: solid; border-color: #E2CF9F; background: #FBF4E2; color: #7D6025; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .conquista.ganha { background: #3A3122; border-color: #5A4A2C; color: #E8CC8A; } }
:root[data-theme="dark"] .conquista.ganha { background: #3A3122; border-color: #5A4A2C; color: #E8CC8A; }
.resultado-quiz .acoes-passo { flex-direction: column; gap: 10px; }
.resultado-quiz .acoes-passo .botao { width: 100%; margin: 0; }
/* O cartão do santo ao abrir é sempre creme: o santinho dentro dele também fica claro no modo escuro */
.cartao-modal-santo .arte-santo .moldura { fill: #F6EFDD; }
.cartao-modal-santo .arte-santo .iniciais, .cartao-modal-santo .arte-santo .cruz { fill: #7D6025; stroke: #7D6025; }
.cartao-modal-santo .arte-santo .iniciais { stroke: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .abas-santo button.ativo { background: #F5F3EE; border-color: #F5F3EE; color: #1A1A1A; } }
:root[data-theme="dark"] .abas-santo button.ativo { background: #F5F3EE; border-color: #F5F3EE; color: #1A1A1A; }

/* =====================================================================
   TESTE DOS TEMPERAMENTOS (temperamentos.js) — creme, dourado e preto
   ===================================================================== */
.tela-teste { --ouro-forte: #9A7419; --ouro-meio: #B8902F; --creme: #FBF6EA; padding-bottom: 8px; }
.botao.botao-ouro {
  width: 100%; min-height: 54px; margin-top: 18px; border-radius: 18px; color: #FFFFFF; font-size: 1.02em; font-weight: 750; letter-spacing: .01em;
  background: linear-gradient(180deg, #B4892A, var(--ouro-forte, #9A7419)); box-shadow: 0 8px 20px rgba(154, 116, 25, .25);
}
.botao.contorno-ouro { width: 100%; min-height: 50px; margin-top: 10px; border-radius: 18px; background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px #C9A25A; }
.icone-traco { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #F6EEDA; color: #8C6D2C; }
.icone-traco .ic { width: 22px; height: 22px; }

/* Entrada */
.capa-teste {
  display: flex; flex-direction: column; align-items: center; margin-top: 4px; padding: 26px 18px 22px; border-radius: 26px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #FFFDF6, transparent 65%), linear-gradient(170deg, #FBF6EA, #F0E3C4);
  box-shadow: inset 0 0 0 1px #E8D9B2; color: #1A1A1A;
}
.quatro-temperamentos { display: flex; gap: 8px; }
.quatro-temperamentos span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px #FBF6EA, 0 0 0 4px #D9C08A; }
.quatro-temperamentos svg { width: 24px; height: 24px; fill: none; stroke: #FFF8E6; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.capa-teste h1 { margin: 18px 0 0; font-family: var(--serifa); font-size: 2em; font-weight: 600; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.subtitulo-teste { margin: 10px 0 0; color: #5C5346; font-size: .95em; line-height: 1.45; }
.texto-teste { margin: 18px 4px 0; font-size: .95em; line-height: 1.55; color: var(--texto); }
.fatos-teste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.fatos-teste li { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); font-size: .84em; font-weight: 650; }
.fatos-teste .ic { flex: none; width: 18px; height: 18px; color: var(--ouro-meio); }
.nota-teste { margin: 16px 6px 0; text-align: center; color: var(--texto-2); font-size: .86em; line-height: 1.5; font-style: italic; }
.aviso-teste { margin: 14px 6px 0; text-align: center; color: var(--texto-3); font-size: .72em; line-height: 1.45; }

/* Como funciona */
.titulo-como { margin: 6px 0 16px; text-align: center; font-family: var(--serifa); font-size: 1.75em; font-weight: 600; }
.passos-teste { display: flex; flex-direction: column; gap: 10px; }
.passo-teste { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.passo-teste b { display: block; font-size: .95em; }
.passo-teste p { margin: 3px 0 0; color: var(--texto-2); font-size: .84em; line-height: 1.45; }
.olhar-catolico { margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: #F6EEDA; color: #3E3216; }
.olhar-catolico b { font-family: var(--serifa); font-size: 1.05em; }
.olhar-catolico p { margin: 4px 0 0; font-size: .85em; line-height: 1.5; }

/* Pergunta: ocupa quase toda a tela */
.tela-pergunta {
  display: flex; flex-direction: column;
  min-height: calc(100dvh - var(--abas) - var(--seguro-baixo) - var(--seguro-topo) - 44px);
}
.topo-teste { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.topo-teste > span { display: flex; flex-direction: column; align-items: center; text-align: center; }
.topo-teste b { font-size: .86em; }
.topo-teste small { margin-top: 1px; color: var(--texto-2); font-size: .76em; font-weight: 600; }
.botao-icone { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--texto); cursor: pointer; }
.botao-icone .ic { width: 22px; height: 22px; }
.progresso-teste { display: block; height: 6px; margin: 10px 0 0; border-radius: 999px; background: var(--cinza-suave); overflow: hidden; }
.progresso-teste i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #C9A25A, #B08A2E); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.corpo-pergunta { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 14px 0 6px; }
.vindo-da-frente { animation: entrar-frente .32s cubic-bezier(.2, .8, .2, 1); }
.vindo-de-tras { animation: entrar-tras .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes entrar-frente { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes entrar-tras { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.ilustracao-teste { position: relative; overflow: hidden; height: 150px; margin-bottom: 16px; border-radius: 22px; box-shadow: 0 8px 22px rgba(140, 109, 44, .14); }
.ilustracao-teste img, .ilustracao-teste svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.ilustracao-teste.arte span {
  position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 253, 246, .8); color: #7D6025;
  font-size: .68em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.pergunta-teste { margin: 0 2px 18px; font-family: var(--serifa); font-size: 1.42em; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.opcoes-teste { display: flex; flex-direction: column; gap: 10px; }
.opcao-teste {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 12px 16px 12px 12px;
  border: 1.5px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto);
  font: inherit; font-size: .94em; line-height: 1.35; text-align: left; cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 26, 26, .03); transition: border-color .2s, background .2s, transform .15s;
}
.opcao-teste .letra {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #C9A25A; color: #8C6D2C; font-weight: 800; font-size: .88em; transition: background .2s, color .2s;
}
.opcao-teste .texto { flex: 1; }
.opcao-teste > .ic { flex: none; width: 20px; height: 20px; color: var(--ouro-meio); }
.opcao-teste:active { transform: scale(.985); }
.opcao-teste.escolhida { border-color: #B8902F; background: #FBF4E2; box-shadow: 0 0 0 3px rgba(201, 162, 90, .22); }
.opcao-teste.escolhida .letra { background: #B08A2E; color: #FFFFFF; box-shadow: none; }
.voltar-pergunta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 10px 12px 10px 4px;
  border: 0; background: none; color: var(--texto-2); font: inherit; font-weight: 650; cursor: pointer;
}
.voltar-pergunta .ic { width: 18px; height: 18px; }

/* Pausa a cada 8 perguntas */
.vitral { width: 96px; height: 128px; margin-bottom: 18px; }

/* Resultado */
.topo-resultado { display: flex; flex-direction: column; align-items: center; margin-top: 2px; text-align: center; }
.topo-resultado small { font-size: .74em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8C6D2C; }
.topo-resultado h1 { margin: 6px 0 0; font-family: var(--serifa); font-size: 1.95em; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.sub-resultado { margin: 8px 0 0; font-family: var(--serifa); font-style: italic; font-size: 1.05em; line-height: 1.4; color: var(--texto-2); }
.emblema-teste { width: 150px; height: 150px; margin-top: 16px; filter: drop-shadow(0 12px 24px rgba(140, 109, 44, .22)); }
.descricao-resultado { margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: #FBF4E2; box-shadow: inset 0 0 0 1px #EADBB4; color: #2B2418; font-size: .93em; line-height: 1.55; }
.descricao-resultado p { margin: 0; }
.descricao-resultado .equilibrio { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EADBB4; font-weight: 650; }
.barras-teste { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.barra-temperamento { display: grid; grid-template-columns: 96px 1fr 26px; align-items: center; gap: 10px; font-size: .86em; }
.barra-temperamento .nome { font-weight: 650; }
.barra-temperamento .trilho { height: 10px; border-radius: 999px; background: var(--cinza-suave); overflow: hidden; }
.barra-temperamento .trilho i { display: block; height: 100%; border-radius: inherit; transition: width .6s ease; }
.barra-temperamento .valor { text-align: right; font-weight: 750; color: var(--texto-2); }
.abas-resultado { margin-top: 18px; }
.texto-resultado h3 { margin-top: 16px; }
.texto-resultado h3:first-child { margin-top: 0; }
.itens-geral { display: grid; gap: 10px; margin-top: 14px; }
.itens-geral div { padding: 12px 14px; border-radius: 14px; background: var(--cinza-suave); }
.itens-geral b { font-size: .86em; }
.itens-geral p { margin: 3px 0 0 !important; font-size: .88em !important; }
.cartao-traco { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 14px; border: 1px solid var(--linha); border-radius: 16px; background: var(--fundo); }
.cartao-traco b { display: block; font-size: .94em; }
.cartao-traco p { margin: 3px 0 0 !important; color: var(--texto-2); font-size: .86em !important; line-height: 1.45; }
.para-crescer { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #F6EEDA; color: #3E3216; }
.para-crescer b { font-family: var(--serifa); font-size: 1.08em; }
.para-crescer .frase { margin: 6px 0 8px !important; font-family: var(--serifa); font-style: italic; }
.para-crescer ul { margin: 0; padding-left: 18px; font-size: .9em; }
.citacao-teste { margin: 16px 0 0 !important; text-align: center; border: 0 !important; padding: 0 !important; }
.acoes-resultado { margin-top: 16px; }
.salvo-teste { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 18px; background: var(--verde-suave); color: var(--verde); font-weight: 750; }
.salvo-teste .ic { width: 18px; height: 18px; }
.confirmar-teste { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(var(--abas) + var(--seguro-baixo) + 16px); background: rgba(20, 18, 14, .4); animation: aparecer .2s ease; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
.cartao-confirmar { width: 100%; max-width: 380px; padding: 20px; border-radius: 24px; background: var(--superficie-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.cartao-confirmar b { font-family: var(--serifa); font-size: 1.25em; font-weight: 600; }
.cartao-confirmar p { margin: 8px 0 0; color: var(--texto-2); font-size: .92em; line-height: 1.5; }
.cartao-confirmar .acoes-passo .botao { flex: 1; margin-top: 0; min-height: 48px; }
@media (min-width: 900px) { .confirmar-teste { align-items: center; padding-bottom: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .vindo-da-frente, .vindo-de-tras, .confirmar-teste { animation: none; }
  .opcao-teste, .progresso-teste i, .barra-temperamento .trilho i { transition: none; }
}

/* Modo escuro: cartões continuam escuros; capa, descrição e destaques ganham tons de ouro velho */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .capa-teste, :root:not([data-theme="light"]) .descricao-resultado { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; color: #F5F3EE; }
  :root:not([data-theme="light"]) .subtitulo-teste { color: #CFC6B5; }
  :root:not([data-theme="light"]) .opcao-teste.escolhida { background: #33291A; }
  :root:not([data-theme="light"]) .icone-traco, :root:not([data-theme="light"]) .olhar-catolico, :root:not([data-theme="light"]) .para-crescer { background: #33291A; color: #E8CC8A; }
  :root:not([data-theme="light"]) .olhar-catolico, :root:not([data-theme="light"]) .para-crescer { color: #EDE3CC; }
  :root:not([data-theme="light"]) .topo-resultado small { color: #E8CC8A; }
  :root:not([data-theme="light"]) .opcao-teste .letra { color: #E8CC8A; }
}
:root[data-theme="dark"] .capa-teste, :root[data-theme="dark"] .descricao-resultado { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; color: #F5F3EE; }
:root[data-theme="dark"] .subtitulo-teste { color: #CFC6B5; }
:root[data-theme="dark"] .opcao-teste.escolhida { background: #33291A; }
:root[data-theme="dark"] .icone-traco, :root[data-theme="dark"] .olhar-catolico, :root[data-theme="dark"] .para-crescer { background: #33291A; color: #E8CC8A; }
:root[data-theme="dark"] .olhar-catolico, :root[data-theme="dark"] .para-crescer { color: #EDE3CC; }
:root[data-theme="dark"] .topo-resultado small { color: #E8CC8A; }
:root[data-theme="dark"] .opcao-teste .letra { color: #E8CC8A; }
.tela-teste .botao.botao-ouro, .tela-teste .botao.contorno-ouro { flex: none; }
/* Telas baixas (iPhone SE/mini): ilustração menor ou escondida, para as 4 alternativas caberem */
@media (max-height: 820px) { .ilustracao-teste { height: 96px; margin-bottom: 12px; } .pergunta-teste { font-size: 1.3em; margin-bottom: 14px; } }
@media (max-height: 720px) { .ilustracao-teste { display: none; } .opcao-teste { min-height: 58px; padding-block: 9px; } .corpo-pergunta { justify-content: flex-start; } }
/* Abas do resultado em grade 2×2: nenhum nome cortado */
.abas-resultado { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
.abas-resultado button { width: 100%; text-align: center; }

/* =====================================================================
   EXAME DE CONSCIÊNCIA (exame.js) — recolhimento, misericórdia, clareza
   Selecionado = check dourado sobre creme (nunca vermelho)
   ===================================================================== */
body.pagina-exame .topo, body.pagina-exame .alca, body.pagina-exame .flutuante, body.pagina-exame .ficha { display: none !important; }
body.pagina-exame .gaveta { height: calc(100dvh - var(--abas) - var(--seguro-baixo)) !important; border-radius: 0; box-shadow: none; padding-top: var(--seguro-topo); }
body.pagina-exame .conteudo { padding-top: 14px; }
@media (min-width: 900px) { body.pagina-exame .gaveta { height: auto !important; border-radius: 24px 24px 0 0; box-shadow: var(--sombra); padding-top: 0; } }

.exame { --ouro-ex: #B08A2E; --creme-ex: #FBF4E2; padding-bottom: 10px; }
.topo-exame { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: -4px -6px 4px; text-align: center; }
.topo-exame b { font-size: .92em; }
.titulo-ex { margin: 10px 0 6px; font-family: var(--serifa); font-size: 1.75em; font-weight: 600; line-height: 1.12; }
.texto-exame { margin: 14px 4px 0; font-size: .95em; line-height: 1.55; }
.texto-exame.suave { margin-top: 8px; color: var(--texto-2); }
.texto-exame.pequeno, .pequeno { font-size: .82em; }
.sub-topo-ex { display: flex; justify-content: center; align-items: center; gap: 6px; margin: -2px 0 12px; color: var(--texto-2); font-size: .86em; }
.sub-topo-ex .ic, .nota.centro .ic { width: 15px; height: 15px; }
.nota.centro { text-align: center; }

/* Banner (ilustração 150px) */
.banner-exame { position: relative; overflow: hidden; height: 156px; border-radius: 22px; color: #FFF8EA; box-shadow: 0 10px 24px rgba(42, 30, 22, .18); }
.banner-exame svg, .banner-exame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-exame.com-imagem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 20, 12, .82), rgba(30, 20, 12, .1) 75%); }
.texto-banner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; max-width: 72%; padding: 16px 18px; }
.texto-banner h2 { margin: 0; font-family: var(--serifa); font-size: 1.5em; font-weight: 600; line-height: 1.1; text-wrap: balance; }
.texto-banner p { margin: 6px 0 0; font-size: .82em; line-height: 1.35; opacity: .9; font-family: var(--serifa); font-style: italic; }
.ref-banner { margin-top: 4px; font-size: .74em; opacity: .8; }
.selo-privado { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #EFE7FB; color: #4B3474; font-size: .74em; font-weight: 700; }
.selo-privado .ic { width: 13px; height: 13px; }

.cartao-privado { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--creme-ex); box-shadow: inset 0 0 0 1px #EADBB4; color: #3E3216; font-size: .88em; line-height: 1.45; }
.cartao-privado .ic { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #8C6D2C; }
.cartao-privado b { display: block; }
.cartao-retomar { margin-top: 14px; padding: 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.cartao-retomar .acoes-passo { margin-top: 12px; }
.cartao-retomar .botao { flex: 1; margin: 0; min-height: 48px; }
.botao.botao-ouro-ex { background: var(--amarelo); color: #1A1A1A; font-weight: 750; gap: 8px; }
.botao.botao-ouro-ex .ic { width: 18px; height: 18px; }
.botao.botao-ouro-ex[disabled] { opacity: .5; }
.botao.largo { width: 100%; margin-top: 14px; min-height: 52px; border-radius: 16px; }
.botao.contorno-ex { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--texto); gap: 8px; margin-top: 10px; }
.botao.contorno-ex .ic { width: 18px; height: 18px; }
.botao.botao-apagar { background: #5C4A3A; color: #FFFFFF; }
.menu-exame { margin-top: 16px; }
.oracao-ex { padding: 4px 18px 16px; font-family: var(--serifa); font-style: italic; font-size: 1.02em; line-height: 1.55; color: var(--texto); }

/* Progresso por seções */
.progresso-ex { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.progresso-ex .segmentos { flex: 1; display: flex; gap: 4px; }
.progresso-ex .segmentos i { flex: 1; height: 5px; border-radius: 999px; background: var(--cinza-suave); transition: background .3s; }
.progresso-ex .segmentos i.feito { background: #D9BE7E; }
.progresso-ex .segmentos i.atual { background: var(--ouro-ex); }
.progresso-ex small { flex: none; color: var(--texto-2); font-size: .76em; font-weight: 700; }
.progresso-ex-card { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.progresso-ex-card > span:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.progresso-ex-card small { color: var(--texto-2); font-size: .8em; }
.trilho-ex { display: block; height: 6px; border-radius: 999px; background: var(--cinza-suave); overflow: hidden; }
.trilho-ex i { display: block; height: 100%; background: var(--ouro-ex); border-radius: inherit; }
.lista-secoes { margin-top: 14px; }
.estado-secao { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--linha); }
.estado-secao.andamento { background: linear-gradient(90deg, #D9BE7E 50%, transparent 50%); box-shadow: inset 0 0 0 2px #D9BE7E; }
.estado-secao.revisada { background: var(--ouro-ex); box-shadow: none; color: #FFFFFF; }
.estado-secao .ic { width: 14px; height: 14px; }

/* Seção */
.exame-secao.vindo-da-frente { animation: entrar-frente .22s ease; }
.exame-secao.vindo-de-tras { animation: entrar-tras .22s ease; }
.escritura-ex { margin: 14px 6px 0; font-family: var(--serifa); font-style: italic; font-size: 1em; line-height: 1.45; color: var(--texto-2); }
.escritura-ex cite { display: block; margin-top: 3px; font-family: inherit; font-style: normal; font-size: .78em; color: var(--texto-3); }
.escritura-ex.centro { text-align: center; margin-top: 22px; }
.dica-ex { margin: 14px 4px 10px; color: var(--texto-2); font-size: .84em; }
.intro-ex { margin: 0 4px 10px; font-weight: 700; font-size: .92em; }
.lista-ex { display: flex; flex-direction: column; gap: 8px; }
.item-ex { border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); transition: background .18s, border-color .18s; }
.item-ex.marcado { border-color: #E2CF9F; background: var(--creme-ex); }
.marca-ex { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 54px; padding: 14px; border: 0; background: none; color: var(--texto); font: inherit; font-size: .95em; line-height: 1.4; text-align: left; cursor: pointer; }
.caixa-ex { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--texto-3); color: transparent; transition: background .18s, box-shadow .18s, transform .18s; }
.caixa-ex .ic { width: 16px; height: 16px; stroke-width: 3; }
.item-ex.marcado .caixa-ex { background: var(--ouro-ex); box-shadow: none; color: #FFFFFF; transform: scale(1.04); }
.ver-mais-ex { display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 10px 52px; padding: 4px 0; border: 0; background: none; color: #8C6D2C; font: inherit; font-size: .8em; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ver-mais-ex.bloco { margin: 14px 4px 0; }
.ver-mais-ex .ic { width: 16px; height: 16px; }
.explicacao-ex { margin: 0 14px 12px 52px; color: var(--texto-2); font-size: .84em; line-height: 1.5; }
.ver-mais-ex.bloco + .explicacao-ex { margin: 8px 4px 0; padding: 12px 14px; border-radius: 14px; background: var(--cinza-suave); }
.cartao-grave .explicacao-ex { margin: 6px 0 0; }
.cartao-grave .ver-mais-ex { margin: 8px 0 0; }
.cuidado-ex { display: flex; gap: 10px; margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px; background: #EAF3EE; color: #1F4A35; font-size: .84em; line-height: 1.5; }
.cuidado-ex .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.subsecao-ex { margin-top: 14px; }
.subsecao-ex .secao { margin-top: 4px; }
.cabeca-sub { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 10px; padding: 14px 16px; border: 1px dashed #D9C08A; border-radius: 16px; background: transparent; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cabeca-sub > span { flex: 1; display: flex; flex-direction: column; }
.cabeca-sub small { margin-top: 2px; color: var(--texto-2); font-size: .8em; }
.cabeca-sub .ic { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.cabeca-sub[aria-expanded="true"] .ic { transform: rotate(-90deg); }
.grade-capitais { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cartao-capital { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cartao-capital b { font-family: var(--serifa); font-size: 1.08em; font-weight: 600; }
.cartao-capital span { color: #8C6D2C; font-size: .8em; font-weight: 650; }
.cartao-capital.aberto { border-color: var(--ouro-ex); background: var(--creme-ex); }
.painel-capital { margin-top: 10px; padding: 14px; border-radius: 18px; background: var(--cinza-suave); }
.cabeca-capital { display: flex; flex-direction: column; margin-bottom: 10px; }
.cabeca-capital b { font-family: var(--serifa); font-size: 1.15em; }
.cabeca-capital span { color: var(--texto-2); font-size: .8em; }
.painel-capital .pequeno { display: flex; align-items: center; gap: 6px; margin: -4px 0 10px; color: var(--texto-2); }
.painel-capital .pequeno .ic { width: 14px; height: 14px; }
.nota-ex { margin: 16px 4px 0; padding: 12px 14px; border-radius: 14px; background: var(--cinza-suave); color: var(--texto-2); font-size: .84em; line-height: 1.5; }
.navegacao-ex {
  position: sticky; bottom: -32px; z-index: 5; display: flex; gap: 10px; margin: 18px -18px -32px; padding: 12px 18px calc(12px + 32px);
  background: linear-gradient(180deg, transparent, var(--superficie) 22%);
}
.navegacao-ex .anterior { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--superficie-2); box-shadow: inset 0 0 0 1px var(--linha); }
.navegacao-ex .anterior[disabled] { opacity: .35; }
.proximo-ex { flex: 1; min-height: 52px; border-radius: 16px; background: #1A1A1A; color: #FFFFFF; gap: 8px; }
.proximo-ex .ic { width: 18px; height: 18px; }

/* Resumo */
.contagem-ex { margin: 8px 4px 12px; font-weight: 700; color: #8C6D2C; font-size: .9em; }
.grupos-resumo { display: flex; flex-direction: column; gap: 10px; }
.grupo-resumo { border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); overflow: hidden; }
.cabeca-resumo { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cabeca-resumo .corpo { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cabeca-resumo small { color: var(--texto-2); font-size: .8em; flex: none; }
.seta-recolher .ic { width: 16px; height: 16px; transform: rotate(90deg); color: var(--texto-3); transition: transform .2s; }
.seta-recolher.aberta .ic { transform: rotate(-90deg); }
.grupo-resumo ul { margin: 0; padding: 0 16px 14px 80px; list-style: none; }
.grupo-resumo li { position: relative; margin-top: 6px; font-size: .9em; line-height: 1.45; color: var(--texto); }
.grupo-resumo li::before { content: ""; position: absolute; left: -16px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #C9A25A; }
.apagar-ex { display: block; margin: 14px auto 0; color: var(--texto-2); }
.cartao-imagem-ex .previa-ex { display: block; width: 100%; max-height: 46dvh; object-fit: contain; margin-top: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--linha); background: #FAF6EC; }
.cartao-imagem-ex p .ic { width: 15px; height: 15px; vertical-align: -2px; }

/* Ato de contrição e como confessar */
.cartao-contricao { margin-top: 8px; padding: 22px 20px; border-radius: 22px; background: radial-gradient(120% 80% at 50% 0%, #FFFDF6, transparent 70%), linear-gradient(170deg, #FBF6EA, #F0E3C4); box-shadow: inset 0 0 0 1px #E8D9B2; color: #1A1A1A; }
.cartao-contricao small { display: block; font-size: .7em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8C6D2C; }
.cartao-contricao p { margin: 10px 0 0; font-family: var(--serifa); font-size: 1.15em; line-height: 1.6; }
.tamanho-ex { display: flex; justify-content: flex-end; gap: 6px; margin: 8px 0 10px; }
.tamanho-ex .botao-icone { width: 44px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--linha); font-weight: 800; font-size: .9em; }
.passos-ex { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.passo-ex { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); }
.passo-ex p { margin: 2px 0 0; color: var(--texto-2); font-size: .85em; }
.num-ex { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--creme-ex); color: #8C6D2C; font-weight: 800; box-shadow: inset 0 0 0 1.5px #D9C08A; }
.cartao-grave { margin-top: 16px; padding: 16px; border-radius: 18px; background: var(--creme-ex); box-shadow: inset 0 0 0 1px #EADBB4; color: #3E3216; font-size: .9em; line-height: 1.5; }
.cartao-grave > b { font-family: var(--serifa); font-size: 1.15em; }
.cartao-grave p { margin: 6px 0 0; }
.cartao-grave ul { margin: 8px 0 0; padding-left: 18px; }

/* Entrada na aba Confissão */
.entrada-exame { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.entrada-exame .corpo { flex: 1; display: flex; flex-direction: column; }
.entrada-exame b { font-size: .94em; }
.entrada-exame .corpo > span { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--texto-2); font-size: .8em; }
.entrada-exame .corpo > span .ic { width: 13px; height: 13px; }
.entrada-exame > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); }
.icone-entrada { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #EFE7FB; color: #4B3474; }
.icone-entrada .ic { width: 22px; height: 22px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .exame { --creme-ex: #33291A; }
  :root:not([data-theme="light"]) .cartao-privado, :root:not([data-theme="light"]) .cartao-grave { color: #EDE3CC; box-shadow: inset 0 0 0 1px #4A3F28; }
  :root:not([data-theme="light"]) .item-ex.marcado { border-color: #5A4A2C; }
  :root:not([data-theme="light"]) .cartao-contricao { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; color: #F5F3EE; }
  :root:not([data-theme="light"]) .cuidado-ex { background: #1F3329; color: #CDEBDB; }
  :root:not([data-theme="light"]) .icone-entrada, :root:not([data-theme="light"]) .selo-privado { background: #2E2540; color: #D4C3F0; }
  :root:not([data-theme="light"]) .ver-mais-ex, :root:not([data-theme="light"]) .contagem-ex, :root:not([data-theme="light"]) .cartao-capital span { color: #E8CC8A; }
}
:root[data-theme="dark"] .exame { --creme-ex: #33291A; }
:root[data-theme="dark"] .cartao-privado, :root[data-theme="dark"] .cartao-grave { color: #EDE3CC; box-shadow: inset 0 0 0 1px #4A3F28; }
:root[data-theme="dark"] .item-ex.marcado { border-color: #5A4A2C; }
:root[data-theme="dark"] .cartao-contricao { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; color: #F5F3EE; }
:root[data-theme="dark"] .cuidado-ex { background: #1F3329; color: #CDEBDB; }
:root[data-theme="dark"] .icone-entrada, :root[data-theme="dark"] .selo-privado { background: #2E2540; color: #D4C3F0; }
:root[data-theme="dark"] .ver-mais-ex, :root[data-theme="dark"] .contagem-ex, :root[data-theme="dark"] .cartao-capital span { color: #E8CC8A; }
@media (prefers-reduced-motion: reduce) { .exame-secao.vindo-da-frente, .exame-secao.vindo-de-tras { animation: none; } .caixa-ex, .item-ex { transition: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .proximo-ex { background: #F5F3EE; color: #1A1A1A; } }
:root[data-theme="dark"] .proximo-ex { background: #F5F3EE; color: #1A1A1A; }

/* =====================================================================
   FILA DA CONFISSÃO (fila.js) — estilo Waze, discreto: verde, âmbar e vermelho suaves
   ===================================================================== */
:root { --fila-baixa: #22A06B; --fila-media: #C98A12; --fila-alta: #C2553F; }
.fila-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; font-size: .74em; font-weight: 700; background: var(--cinza-suave); color: var(--texto); }
.fila-chip i { width: 8px; height: 8px; border-radius: 50%; }
.fila-chip.baixa i { background: var(--fila-baixa); }
.fila-chip.media i { background: var(--fila-media); }
.fila-chip.alta i { background: var(--fila-alta); }
.heroi .fila-chip { background: #FFFFFF; }

.bloco-fila { margin-top: 16px; padding: 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.bloco-fila.calmo { padding: 6px 12px; }
.bloco-fila.aberto { border-color: color-mix(in srgb, var(--verde) 35%, var(--linha)); }
.topo-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topo-fila b { font-size: 1.02em; }
.topo-fila .selo-vivo { font-size: .66em; }
.nivel-fila { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--cinza-suave); }
.nivel-fila b { display: block; font-size: .98em; }
.nivel-fila small { display: block; margin-top: 2px; color: var(--texto-2); font-size: .78em; }
.farol { flex: none; display: flex; flex-direction: column; gap: 3px; padding: 5px; border-radius: 10px; background: #2A2724; }
.farol i { width: 9px; height: 9px; border-radius: 50%; background: #4A4540; }
.nivel-fila.alta .farol i:nth-child(1) { background: var(--fila-alta); box-shadow: 0 0 6px var(--fila-alta); }
.nivel-fila.media .farol i:nth-child(2) { background: var(--fila-media); box-shadow: 0 0 6px var(--fila-media); }
.nivel-fila.baixa .farol i:nth-child(3) { background: var(--fila-baixa); box-shadow: 0 0 6px var(--fila-baixa); }
.poucos-dados, .a-caminho { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; color: var(--texto-2); font-size: .84em; }
.poucos-dados .ic, .a-caminho .ic { flex: none; width: 16px; height: 16px; }
.a-caminho { color: var(--texto); font-weight: 650; }
.acoes-fila { display: flex; gap: 8px; margin-top: 12px; }
.acoes-fila .botao { flex: 1; min-height: 48px; margin: 0; border-radius: 14px; gap: 6px; }
.acoes-fila .botao .ic { width: 18px; height: 18px; }
.nota-fila { margin: 10px 2px 0; color: var(--texto-3); font-size: .74em; line-height: 1.45; }
.minha-fila { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--verde-suave); color: var(--texto); }
.minha-fila.indo { background: var(--cinza-suave); }
.minha-fila > .ic { flex: none; width: 20px; height: 20px; color: var(--verde); }
.minha-fila b { display: block; font-size: .94em; }
.minha-fila small { display: block; color: var(--texto-2); font-size: .78em; }
.rodape-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--linha); }
.bloco-fila.calmo .rodape-fila { margin: 0; padding: 0; border: 0; }
.link-preparar { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--texto); font: inherit; font-size: .84em; font-weight: 700; cursor: pointer; }
.link-preparar .ic { width: 16px; height: 16px; color: #65468A; }
.registrar-conf { padding: 6px 0; font-size: .8em; }

/* Pergunta automática perto da igreja */
.pergunta-fila {
  position: fixed; z-index: 8000; left: 12px; right: 12px; bottom: calc(var(--abas) + var(--seguro-baixo) + 12px);
  display: flex; gap: 12px; padding: 16px; border-radius: 22px; background: var(--superficie-2); color: var(--texto);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24), inset 0 0 0 1px var(--linha);
  transform: translateY(20px); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
.pergunta-fila.aberta { transform: none; opacity: 1; }
.pergunta-fila .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pergunta-fila b { font-size: .98em; }
.pergunta-fila .corpo > span { color: var(--texto-2); font-size: .9em; }
.pergunta-fila small { margin-top: 8px; color: var(--texto-3); font-size: .72em; }
.icone-pergunta { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--verde-suave); color: var(--verde); }
.icone-pergunta .ic { width: 24px; height: 24px; }
@media (min-width: 900px) { .pergunta-fila { left: auto; right: 24px; width: 380px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .pergunta-fila { transition: none; } }
.aviso-flutuante { position: fixed; z-index: 9500; left: 16px; right: 16px; bottom: calc(var(--abas) + var(--seguro-baixo) + 16px); padding: 12px 16px; border-radius: 14px; background: #1A1A1A; color: #FFFFFF; font-size: .88em; text-align: center; }

/* Depois da confissão */
.selo-feito { display: grid; place-items: center; width: 96px; height: 96px; margin: 18px auto 0; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #E9F7F0, #CBEBDB); color: var(--verde); box-shadow: 0 0 0 10px rgba(34, 160, 107, .08); }
.selo-feito .ic { width: 46px; height: 46px; stroke-width: 2.6; }
.titulo-ex.centro { text-align: center; margin-top: 16px; }
.texto-exame.centro { text-align: center; }
.pos-confissao .cartao-privado .link-simples { display: block; margin-top: 6px; padding: 0; }
.niveis-fila button { display: flex; flex-direction: column; align-items: center; min-height: 48px; }
.niveis-fila small { font-size: .74em; font-weight: 500; opacity: .75; }

/* =====================================================================
   FIEL Pro e Assinatura — tema claro do Fiel (sem tema escuro próprio)
   ===================================================================== */
.pro-topo h1 { margin: 12px 0 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; font-size: 2.1em; font-weight: 800; letter-spacing: -.02em; color: var(--texto); }
.pro-topo p { margin: 6px 0 0; color: var(--texto-2); font-size: .95em; }
.pro-topo .coroa-pro, .cartao-assinatura .coroa-pro { background: var(--amarelo-claro); color: #9A7419; box-shadow: inset 0 0 0 1px #F0DFA6; }
.coroa-pro { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.beneficios-pro { margin-top: 20px; padding: 0; list-style: none; border-radius: 20px; background: var(--superficie-2); box-shadow: none; border: 1px solid var(--linha); }
.beneficio-pro { cursor: default; }
.beneficio-pro .titulo { color: var(--texto); }
.selo-breve { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-style: normal; font-size: .72em; font-weight: 700; vertical-align: 2px; }
.plano-pro { margin-top: 16px; padding: 18px; border-radius: 22px; background: var(--amarelo-claro); box-shadow: inset 0 0 0 1px #F0DFA6; color: var(--texto); }
.plano-pro small { color: var(--texto-2); font-weight: 700; }
.plano-pro b { display: block; margin-top: 2px; font-family: inherit; font-size: 1.9em; font-weight: 800; letter-spacing: -.02em; }
.plano-pro b span { font-size: .45em; font-weight: 650; color: var(--texto-2); }
.plano-pro .botao { width: 100%; margin-top: 14px; min-height: 52px; border-radius: 16px; background: var(--amarelo); color: #1A1A1A; font-weight: 800; }
.plano-pro .botao[disabled] { opacity: .7; }
.plano-pro p { margin: 10px 2px 0; color: var(--texto-2); font-size: .8em; line-height: 1.45; }
.pro-nota { color: var(--texto-2); }
.pro-nota .ic { color: #9A7419; }
.link-simples.centro-bloco { display: block; margin: 14px auto 0; }
.selo-pro { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--amarelo); color: #1A1A1A; font-size: .72em; font-weight: 800; }
.selo-pro .ic { width: 13px; height: 13px; }
.menu-ajustes .item-pro > .ic:first-child { color: #9A7419; }
.espaco-menu { height: 14px; }
.cartao-assinatura { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 16px; border-radius: 20px; background: var(--amarelo-claro); box-shadow: inset 0 0 0 1px #F0DFA6; }
.cartao-assinatura .corpo { display: flex; flex-direction: column; align-items: flex-start; }
.cartao-assinatura b { font-size: 1.08em; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .plano-pro, :root:not([data-theme="light"]) .cartao-assinatura, :root:not([data-theme="light"]) .pro-topo .coroa-pro { background: #33291A; box-shadow: inset 0 0 0 1px #5A4A2C; }
  :root:not([data-theme="light"]) .pro-topo .coroa-pro, :root:not([data-theme="light"]) .cartao-assinatura .coroa-pro { color: var(--amarelo); }
}
:root[data-theme="dark"] .plano-pro, :root[data-theme="dark"] .cartao-assinatura, :root[data-theme="dark"] .pro-topo .coroa-pro { background: #33291A; box-shadow: inset 0 0 0 1px #5A4A2C; }
:root[data-theme="dark"] .pro-topo .coroa-pro, :root[data-theme="dark"] .cartao-assinatura .coroa-pro { color: var(--amarelo); }

/* =====================================================================
   AGENDA (agenda.js)
   ===================================================================== */
.modos-agenda { margin-top: 6px; }
.modos-agenda button { min-height: 42px; }
.busca-agenda { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0 14px; min-height: 48px; border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie-2); color: var(--texto-2); }
.busca-agenda .ic { width: 18px; height: 18px; flex: none; }
.busca-agenda input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--texto); }
.lista-eventos { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cartao-evento { border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); overflow: hidden; }
.cartao-evento.aberto { border-color: #E9D59A; }
.cabeca-evento { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cabeca-evento .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cabeca-evento .titulo { font-weight: 750; font-size: .96em; line-height: 1.25; }
.cabeca-evento .sub { margin-top: 2px; color: var(--texto-2); font-size: .8em; }
.cabeca-evento > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); transition: transform .2s; }
.cartao-evento.aberto .cabeca-evento > .ic { transform: rotate(90deg); }
.data-evento { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 54px; height: 58px; border-radius: 15px; background: var(--amarelo); color: #1A1A1A; }
.data-evento b { font-size: 1.35em; font-weight: 800; line-height: 1; }
.data-evento small { margin-top: 2px; font-size: .68em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.categoria-evento { margin-bottom: 2px; color: #8C6D2C; font-size: .68em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mais-evento { padding: 0 14px 14px 82px; font-size: .88em; line-height: 1.5; }
.mais-evento p { margin: 0 0 8px; }
.local-evento { display: flex; align-items: center; gap: 6px; color: var(--texto-2); }
.local-evento .ic { width: 15px; height: 15px; }
.mais-evento .acoes-fila { margin-top: 8px; }
.mais-evento .link-simples { margin-top: 8px; padding: 4px 0; }
.paroquia-agenda { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--amarelo-claro); }
.paroquia-agenda > .ic { flex: none; width: 22px; height: 22px; }
.paroquia-agenda span { flex: 1; display: flex; flex-direction: column; }
.paroquia-agenda small { color: var(--texto-2); font-size: .8em; }
.paroquia-agenda .link-simples { padding: 4px 0; }
@media (max-width: 380px) { .mais-evento { padding-left: 14px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .paroquia-agenda { background: #33291A; } :root:not([data-theme="light"]) .categoria-evento { color: #E8CC8A; } }
:root[data-theme="dark"] .paroquia-agenda { background: #33291A; }
:root[data-theme="dark"] .categoria-evento { color: #E8CC8A; }

/* Ajuda e suporte */
.lista-ajuda details summary { cursor: pointer; font-weight: 700; font-size: .94em; }
.lista-ajuda details p { margin: 8px 0 0; color: var(--texto-2); font-size: .88em; line-height: 1.5; }

/* =====================================================================
   Primeiro ano grátis, avisos do FIEL Pro (SubscriptionCountdownBanner) e bloqueio gentil
   ===================================================================== */
.avatar-pro { position: relative; display: inline-flex; flex: none; }
.coroa-avatar { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--amarelo); color: #1A1A1A; box-shadow: 0 0 0 2px var(--superficie-2); }
.coroa-avatar .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.avatar.grande + .coroa-avatar { width: 34px; height: 34px; top: -2px; right: -2px; }
.avatar.grande + .coroa-avatar .ic { width: 20px; height: 20px; }

.aviso-assinatura { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: var(--amarelo-claro); color: var(--texto); box-shadow: inset 0 0 0 1px #F0DFA6; }
.aviso-assinatura .coroa-aviso { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--amarelo); color: #1A1A1A; }
.aviso-assinatura .coroa-aviso .ic { width: 22px; height: 22px; }
.aviso-assinatura .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 22px; }
.aviso-assinatura .corpo b { font-size: .98em; line-height: 1.3; }
.aviso-assinatura .corpo span { color: var(--texto-2); font-size: .86em; line-height: 1.4; }
.aviso-assinatura .acoes-aviso { flex-basis: 100%; display: flex; flex-direction: column; gap: 8px; }
.aviso-assinatura .acoes-aviso .botao { width: 100%; }
.aviso-assinatura .acoes-aviso .botao:not(.secundario) { background: var(--amarelo); color: #1A1A1A; font-weight: 800; }
.aviso-assinatura.inline { margin: 0 0 14px; }
.aviso-assinatura.inline.fase-30_days .acoes-aviso { flex-direction: row; }
.fechar-aviso { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--texto-2); cursor: pointer; }
.fechar-aviso .ic { width: 16px; height: 16px; }

.camada-assinatura { position: fixed; z-index: 8500; opacity: 0; transition: opacity .2s, transform .28s cubic-bezier(.2, .8, .2, 1); }
.camada-assinatura.aberta, .camada-assinatura.faixa.aberta, .camada-assinatura.folha.aberta { opacity: 1; transform: none; }
.camada-assinatura .aviso-assinatura { background: var(--superficie-2); box-shadow: 0 18px 44px rgba(0, 0, 0, .22), inset 0 0 0 1px var(--linha); }
.camada-assinatura.faixa { top: calc(var(--seguro-topo) + 10px); left: 12px; right: 12px; transform: translateY(-16px); }
.camada-assinatura.faixa .aviso-assinatura { padding: 12px 14px; }
.camada-assinatura.faixa .acoes-aviso { flex-direction: row; }
.camada-assinatura.faixa .acoes-aviso .botao { width: auto; min-height: 38px; padding: 0 14px; font-size: .86em; }
.camada-assinatura.folha { left: 12px; right: 12px; bottom: calc(var(--abas) + var(--seguro-baixo) + 12px); transform: translateY(20px); }
.camada-assinatura.centro { inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(26, 26, 26, .42); }
.camada-assinatura.centro .aviso-assinatura { max-width: 380px; flex-direction: column; text-align: center; padding: 26px 20px 20px; }
.camada-assinatura.centro .coroa-aviso { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto; }
.camada-assinatura.centro .corpo { padding: 0; align-items: center; }
.camada-assinatura.centro .corpo b { font-size: 1.15em; }
@media (min-width: 900px) { .camada-assinatura.faixa, .camada-assinatura.folha { left: auto; right: 24px; width: 400px; } }
@media (prefers-reduced-motion: reduce) { .camada-assinatura { transition: none; } }

.primeiro-ano { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 4px 8px; }
.selo-primeiro-ano { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--amarelo); color: #1A1A1A; box-shadow: 0 10px 30px rgba(244, 196, 48, .35); }
.selo-primeiro-ano .ic { width: 44px; height: 44px; }
.primeiro-ano h1 { margin: 22px 0 0; font-size: 1.7em; line-height: 1.15; letter-spacing: -.02em; }
.primeiro-ano > p { margin: 10px 0 0; color: var(--texto-2); line-height: 1.5; }
.ate-quando { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--amarelo-claro); box-shadow: inset 0 0 0 1px #F0DFA6; text-align: left; }
.ate-quando .ic { flex: none; width: 24px; height: 24px; color: #9A7419; }
.ate-quando small { display: block; color: var(--texto-2); font-size: .8em; font-weight: 700; }
.ate-quando b { font-size: 1.1em; }
.incluido { width: 100%; margin: 16px 0 20px; padding: 0; list-style: none; text-align: left; }
.incluido li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: .95em; }
.incluido .ic { width: 18px; height: 18px; color: var(--verde); stroke-width: 2.6; }
.botao.largo { width: 100%; }

.bloqueio-pro { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; padding: 26px 20px; border-radius: 22px; background: var(--amarelo-claro); box-shadow: inset 0 0 0 1px #F0DFA6; text-align: center; }
.bloqueio-pro .icone-grande { color: #9A7419; }
.bloqueio-pro b { font-size: 1.05em; }
.bloqueio-pro p { margin: 0 0 6px; color: var(--texto-2); font-size: .9em; line-height: 1.5; }
.bloqueio-pro .botao { background: var(--amarelo); color: #1A1A1A; font-weight: 800; }

.situacao-pro { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--superficie-2); border: 1px solid var(--linha); }
.situacao-pro > .ic { flex: none; width: 22px; height: 22px; color: #9A7419; }
.situacao-pro.estado-free_trial > .ic, .situacao-pro.estado-free_trial_expiring > .ic { color: var(--verde); }
.situacao-pro span { display: flex; flex-direction: column; gap: 2px; color: var(--texto-2); font-size: .86em; line-height: 1.45; }
.situacao-pro b { color: var(--texto); font-size: 1.04em; }
.sempre-gratis { margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: var(--cinza-suave); }
.sempre-gratis b { display: flex; align-items: center; gap: 8px; font-size: .9em; }
.sempre-gratis b .ic { width: 16px; height: 16px; color: #9A7419; }
.sempre-gratis p { margin: 6px 0 0; color: var(--texto-2); font-size: .82em; line-height: 1.5; }
.links-legais { display: flex; justify-content: center; gap: 18px; margin: 16px 0 6px; font-size: .82em; }
.links-legais a { color: var(--texto-2); }
.cartao-assinatura small { color: var(--texto-2); font-size: .84em; font-weight: 600; }

.nota-gratis { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: #8A6A14; font-size: .84em; font-weight: 700; }
.nota-gratis .ic { width: 15px; height: 15px; }
.login-social { display: flex; gap: 10px; }
.login-social .social { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 25px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.login-social .social.apple { border: 0; background: #F5F0E6; color: #111; }
.login-social .social.google { border: 1px solid var(--linha); background: var(--superficie-2); color: var(--texto); }
.login-social .social.em-breve { opacity: .72; }
.login-social .social small { position: absolute; top: -8px; right: 10px; padding: 1px 7px; border-radius: 999px; background: var(--superficie-3); color: var(--texto-2); font-size: 10px; font-weight: 700; }
.botao.social { display: flex; align-items: center; justify-content: center; gap: 8px; }
.botao.social small { padding: 2px 7px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-size: .7em; font-weight: 700; }
.botao.social.em-breve { opacity: .8; }

/* Formação: temas e FIEL Responde */
.temas-formacao { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tema-formacao { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 120px; padding: 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.tema-formacao .icone-formacao { margin-bottom: 6px; }
.tema-formacao b { font-size: .95em; }
.tema-formacao small { color: var(--texto-2); font-size: .76em; line-height: 1.35; }
.video-responde { cursor: default; }
.video-responde > .ic:first-child { color: #9A7419; }
a.video-responde { cursor: pointer; }

/* Paróquia verificada, mudanças do dia e equipe */
.selo-verificada { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0 2px; padding: 3px 10px 3px 7px; border-radius: 999px; background: var(--verde-suave); color: var(--verde); font-size: .78em; font-weight: 800; }
.selo-verificada .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.mudancas { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.mudanca { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--superficie-2); border: 1px solid var(--linha); }
.mudanca .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mudanca .corpo b { font-size: .92em; }
.mudanca small { color: var(--texto-2); font-size: .78em; }
.mudanca .pela-paroquia { display: inline-flex; align-items: center; gap: 4px; color: var(--verde); font-weight: 700; }
.mudanca .pela-paroquia .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.hora-mudanca { flex: none; min-width: 58px; padding: 6px 8px; border-radius: 10px; background: var(--cinza-suave); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.hora-mudanca.riscada { text-decoration: line-through; color: var(--texto-2); }
.etiqueta-cancelada, .etiqueta-alterada { align-self: flex-start; margin-bottom: 4px; padding: 3px 8px; border-radius: 8px; font-size: .68em; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.etiqueta-cancelada { background: #1A1A1A; color: #FFFFFF; }
.etiqueta-alterada { background: var(--amarelo); color: #1A1A1A; }
.estado.cancelada { background: var(--cinza-suave); color: var(--texto-2); text-decoration: line-through; }
.bloco-equipe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--cinza-suave); }
.bloco-equipe > .ic { flex: none; width: 22px; height: 22px; color: #9A7419; }
.bloco-equipe > span { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.bloco-equipe b { font-size: .9em; }
.bloco-equipe small { color: var(--texto-2); font-size: .78em; line-height: 1.4; }
.bloco-equipe .botao { flex: none; }
.status-pedido { display: flex; gap: 12px; margin: 6px 0 14px; padding: 16px; border-radius: 18px; background: var(--amarelo-claro); box-shadow: inset 0 0 0 1px #F0DFA6; }
.status-pedido.aprovado { background: var(--verde-suave); box-shadow: none; }
.status-pedido.recusado { background: var(--cinza-suave); box-shadow: none; }
.status-pedido > .ic { flex: none; width: 22px; height: 22px; }
.status-pedido.aprovado > .ic { color: var(--verde); }
.status-pedido span { display: flex; flex-direction: column; gap: 3px; color: var(--texto-2); font-size: .88em; line-height: 1.45; }
.status-pedido b { color: var(--texto); font-size: 1.02em; }

/* Fila comunitária */
.selo-beta { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--amarelo); color: #1A1A1A; font-style: normal; font-size: .66em; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.selo-vivo.calmo { background: var(--cinza-suave); color: var(--texto-2); }
.espera-fila { display: block; margin-top: 1px; font-size: 1.2em; font-weight: 800; letter-spacing: -.01em; }
.a-caminho span { display: flex; flex-direction: column; }
.a-caminho b { color: var(--texto); font-weight: 700; }
.a-caminho small { color: var(--texto-3); font-size: .9em; }
.acoes-ainda { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.acoes-ainda .botao { width: 100%; min-height: 44px; }

.imagem-aviso { flex-basis: 100%; width: 100%; max-height: 200px; margin-top: 8px; border-radius: 12px; object-fit: cover; }
.aviso-igreja:has(.imagem-aviso) { flex-wrap: wrap; }

/* =====================================================================
   Painel da Paróquia — cartões simples e editor estilo alarme (app Relógio)
   ===================================================================== */
.topo-paroquia h2 { margin: 0; }
.selos-paroquia { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.selo-papel { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-size: .78em; font-weight: 700; }
.cartoes-painel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cartao-secao { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 3px; min-height: 92px; padding: 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cartao-secao b { font-size: 1.02em; }
.cartao-secao small { color: var(--texto-2); font-size: .8em; }
.cartao-secao.secao-missa, .cartao-secao.secao-confissao, .cartao-secao.secao-adoracao { background: var(--amarelo-claro); border-color: #F0DFA6; }
.voltar-painel { padding: 6px 0; border: 0; background: none; color: var(--texto-2); font: inherit; font-weight: 700; cursor: pointer; }
.titulo-secao { margin: 6px 0 12px; font-size: 1.6em; }
.nota-editor { margin: 0 2px 6px; color: var(--texto-2); font-size: .82em; }
.dia-alarme { margin: 16px 4px 6px; color: var(--texto-2); font-size: .78em; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.alarme { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.alarme + .alarme { border-top: .5px solid var(--linha); }
.corpo-alarme { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 0; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.hora-alarme { font-size: 2.1em; font-weight: 300; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.corpo-alarme small { color: var(--texto-2); font-size: .8em; }
.alarme.desligado .hora-alarme, .alarme.desligado small { color: var(--texto-3); }
.alarme.perpetua .corpo-alarme { cursor: default; }
.alarme.perpetua b { font-size: 1em; }
.excecao-alarme { margin-top: 3px; padding: 2px 8px; border-radius: 8px; background: var(--amarelo); color: #1A1A1A; font-size: .72em; font-weight: 800; }
.excecao-alarme.cancelada { background: #1A1A1A; color: #FFFFFF; }
.interruptor { position: relative; flex: none; width: 52px; height: 32px; }
.interruptor input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.interruptor span { position: absolute; inset: 0; border-radius: 999px; background: var(--cinza); transition: background .2s; }
.interruptor span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.interruptor input:checked + span { background: var(--verde); }
.interruptor input:checked + span::after { transform: translateX(20px); }
.interruptor input:focus-visible + span { outline: 2px solid var(--amarelo); outline-offset: 2px; }
.adicionar-alarme { width: 100%; margin-top: 14px; background: var(--amarelo); color: #1A1A1A; font-weight: 800; }
.detalhe-horario, .confirmar-cancelar { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--superficie-2); border: 1px solid var(--linha); }
.topo-detalhe { display: flex; align-items: center; justify-content: space-between; }
.campo.grande input { font-size: 2em; font-weight: 300; }
.acoes-horario { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--linha); }
.acoes-horario .botao, .detalhe-horario > .botao { width: 100%; }
.perigo-texto { color: #A23B2A; }
.botao.perigo { background: #A23B2A; color: #FFFFFF; }
.confirmar-cancelar > b { font-size: 1.1em; }
.confirmar-cancelar > p { margin: 0; color: var(--texto-2); font-size: .86em; }
.confirmar-cancelar .segmento label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 10px; font-size: .86em; font-weight: 700; cursor: pointer; }
.confirmar-cancelar .segmento label:has(input:checked) { background: var(--superficie); box-shadow: var(--sombra-leve); }
.confirmar-cancelar .segmento input { accent-color: #1A1A1A; }
.confirmar-cancelar .campos-periodo label:last-child { display: none; }
.confirmar-cancelar.com-periodo .campos-periodo label:last-child { display: block; }
.excecoes-detalhe { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--linha); }
.excecoes-detalhe .info { align-items: center; padding: 8px 0; }
.linha-historico { display: flex; gap: 12px; padding: 12px 14px; font-size: .88em; line-height: 1.4; }
.linha-historico + .linha-historico { border-top: .5px solid var(--linha); }
.quando-historico { flex: none; min-width: 78px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.detalhes-pedido { margin-top: 6px; }
.detalhes-pedido summary { cursor: pointer; font-weight: 700; font-size: .86em; }
.detalhes-pedido p { margin: 6px 0 0; color: var(--texto-2); font-size: .84em; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .aviso-assinatura, :root:not([data-theme="light"]) .ate-quando, :root:not([data-theme="light"]) .bloqueio-pro,
  :root:not([data-theme="light"]) .status-pedido, :root:not([data-theme="light"]) .cartao-secao.secao-missa, :root:not([data-theme="light"]) .cartao-secao.secao-confissao,
  :root:not([data-theme="light"]) .cartao-secao.secao-adoracao { box-shadow: inset 0 0 0 1px #5A4A2C; border-color: #5A4A2C; }
}
:root[data-theme="dark"] .aviso-assinatura, :root[data-theme="dark"] .ate-quando, :root[data-theme="dark"] .bloqueio-pro, :root[data-theme="dark"] .status-pedido,
:root[data-theme="dark"] .cartao-secao.secao-missa, :root[data-theme="dark"] .cartao-secao.secao-confissao, :root[data-theme="dark"] .cartao-secao.secao-adoracao { box-shadow: inset 0 0 0 1px #5A4A2C; border-color: #5A4A2C; }

/* =====================================================================
   Santo do Dia (santos.js) e ilustrações (arte-santos.js)
   ===================================================================== */
.arte-santo { aspect-ratio: 4 / 5; }
.arte-santo.grande { width: 112px; height: auto; }
.arte-santo.foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.arte-santo.foto figcaption { margin-top: 6px; color: var(--texto-3); font-size: .7em; text-align: center; }
figure.arte-santo { margin: 0; }
.navega-data { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 6px; }
.botao-redondo { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linha); border-radius: 50%; background: var(--superficie-2); color: var(--texto); cursor: pointer; }
.botao-redondo .ic { width: 20px; height: 20px; }
.data-navegacao { display: flex; flex-direction: column; align-items: center; text-align: center; }
.data-navegacao b { font-size: 1.05em; }
.data-navegacao small { color: var(--texto-2); font-size: .82em; }
.cartao-celebracao { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.pinta-liturgica { flex: none; width: 12px; height: 40px; border-radius: 999px; background: var(--lit, #E2B33C); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.cartao-celebracao.lit-branco .pinta-liturgica { background: #F1E7CF; }
.cartao-celebracao .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cartao-celebracao small { color: var(--texto-2); font-size: .7em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cartao-celebracao b { font-size: .95em; line-height: 1.3; }
.cartao-celebracao span span, .cartao-celebracao .corpo > span { color: var(--texto-2); font-size: .8em; }
.nota-celebracao { margin: 6px 4px 14px; color: var(--texto-3); font-size: .74em; line-height: 1.45; }
.destaque-santo { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-top: 4px; padding: 22px 18px 18px; border: 0; border-radius: 26px;
  background: linear-gradient(170deg, #FFF8E2, #FBF0D4); box-shadow: inset 0 0 0 1px #F0DFA6; color: var(--texto); font: inherit; text-align: center; cursor: pointer; }
.destaque-santo + .destaque-santo { margin-top: 14px; }
.destaque-santo .arte-santo.grande { width: min(240px, 68vw); filter: drop-shadow(0 14px 26px rgba(26, 26, 26, .18)); }
.destaque-santo .capa-texto { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.destaque-santo small { font-size: .72em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7D6025; }
.nome-santo { font-family: var(--serifa); font-size: 1.6em; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.selo-calendario { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: #7D6025; font-size: .72em; font-weight: 700; box-shadow: inset 0 0 0 1px #E2CF9F; }
.destaque-santo .marcas-santo { justify-content: center; margin-top: 4px; }
.destaque-santo .selo-grau { background: rgba(255, 255, 255, .7); color: #7D6025; box-shadow: inset 0 0 0 1px #E2CF9F; }
.lema-curto { margin-top: 6px; font-family: var(--serifa); font-style: italic; font-size: 1.05em; }
.resumo-curto { color: var(--texto-2); font-size: .88em; line-height: 1.5; }
.ler-mais { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: #1A1A1A; color: #FFFFFF; font-size: .88em; font-weight: 700; }
.ler-mais .ic { width: 15px; height: 15px; }
.linha-santo .arte-santo.mini { width: 44px; }
.santo-em-atualizacao { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; padding: 26px 20px; border-radius: 22px; background: var(--superficie-2); border: 1px dashed var(--linha); text-align: center; }
.santo-em-atualizacao .icone-grande { color: #9A7419; }
.santo-em-atualizacao b { font-size: 1em; }
.santo-em-atualizacao p { margin: 0; color: var(--texto-2); font-size: .86em; line-height: 1.5; }
.santo-em-atualizacao.pequeno { padding: 16px; margin-top: 12px; }
.capa-santo .arte-santo.grande { width: 132px; }
.fontes-santo { margin: 14px 4px 12px; color: var(--texto-2); font-size: .8em; line-height: 1.5; }
.fontes-santo b { color: var(--texto); }
.fontes-santo p { margin: 2px 0 0; }
.cartao-modal-santo .arte-santo.modal { width: 150px; height: auto; margin: 0 auto 6px; }
.arte-santo.aviso { height: auto; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .destaque-santo { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; }
  :root:not([data-theme="light"]) .destaque-santo small, :root:not([data-theme="light"]) .selo-calendario { color: #E8CF8A; }
  :root:not([data-theme="light"]) .selo-calendario, :root:not([data-theme="light"]) .destaque-santo .selo-grau { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px #4A3F28; color: #E8CF8A; }
}
:root[data-theme="dark"] .destaque-santo { background: linear-gradient(170deg, #2B261C, #221E17); box-shadow: inset 0 0 0 1px #4A3F28; }
:root[data-theme="dark"] .destaque-santo small, :root[data-theme="dark"] .selo-calendario, :root[data-theme="dark"] .destaque-santo .selo-grau { color: #E8CF8A; }
:root[data-theme="dark"] .selo-calendario, :root[data-theme="dark"] .destaque-santo .selo-grau { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px #4A3F28; }

/* Moderação do Santo do Dia (painel) */
.numeros-santos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.numeros-santos span { display: flex; flex-direction: column; min-width: 92px; padding: 10px 12px; border-radius: 14px; background: var(--superficie-2); border: 1px solid var(--linha); color: var(--texto-2); font-size: .74em; }
.numeros-santos b { color: var(--texto); font-size: 1.6em; }
.numeros-santos .ok b { color: var(--verde); }
.numeros-santos .aviso b { color: #A23B2A; }
.linha-santo-admin { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.linha-santo-admin + .linha-santo-admin { border-top: .5px solid var(--linha); }
.data-santo-admin { flex: none; min-width: 52px; padding: 6px 8px; border-radius: 10px; background: var(--amarelo-claro); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.linha-santo-admin .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.linha-santo-admin small { color: var(--texto-2); font-size: .76em; }
.acoes-santo-admin { display: flex; flex-direction: column; gap: 6px; }
.pilula-status { margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-size: .7em; font-weight: 800; }
.pilula-status.validado { background: var(--verde-suave); color: var(--verde); }
.pilula-status.divergencia { background: #F8E1DC; color: #A23B2A; }
.pilula-status.incompleto { background: var(--amarelo-claro); color: #8A6A14; }
.pilula-status.destaque { margin-left: 4px; background: var(--amarelo, #FFC800); color: #1A1A1A; }
.nota-revisao { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--cinza-suave); color: var(--texto-2); font-size: .8em; line-height: 1.45; }
.alerta-revisao { background: var(--amarelo-claro); color: #6E5210; }
.filtros-santos .segmento { flex-wrap: wrap; }
.form-santo textarea { width: 100%; }

/* =====================================================================
   Anúncio do Santo do Dia (tela cheia ao abrir o app)
   ===================================================================== */
.anuncio-santo { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: stretch; padding: 0; background: rgba(26, 26, 26, .55); opacity: 0; transition: opacity .25s; }
.anuncio-santo.aberto { opacity: 1; }
.anuncio-santo.saindo { opacity: 0; }
.anuncio-santo { --tom-1: #FFF6E2; --tom-2: #F6D9A6; --nome-1: #8B4A1E; --nome-2: #5B2E12; }
.anuncio-santo.tom-rosa { --tom-1: #FFF2F2; --tom-2: #F5C2C8; --nome-1: #C2185B; --nome-2: #7E1832; }
.anuncio-santo.tom-vermelho { --tom-1: #FFF1EA; --tom-2: #F0B9A2; --nome-1: #B3282D; --nome-2: #6E1A1E; }
.anuncio-santo.tom-ceu { --tom-1: #F1F6FF; --tom-2: #BCD3F0; --nome-1: #2E5E9E; --nome-2: #1A3468; }
.anuncio-santo.tom-verde { --tom-1: #F5FAEE; --tom-2: #CFE3B8; --nome-1: #8B4A1E; --nome-2: #4E2A12; }
.anuncio-santo.tom-roxo { --tom-1: #F7F2FB; --tom-2: #D8C5EA; --nome-1: #65468A; --nome-2: #3A2456; }
.anuncio-santo.tom-noite { --tom-1: #FFF6E2; --tom-2: #E9CF96; --nome-1: #1F3A7A; --nome-2: #101A3A; }
.cartao-anuncio { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; max-width: 520px; margin: 0 auto; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 28%, var(--tom-1), var(--tom-2)); transform: scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.anuncio-santo.aberto .cartao-anuncio { transform: none; }
.cena-anuncio { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: end center; padding-top: calc(var(--seguro-topo) + 34px); cursor: pointer; }
.cena-anuncio::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 36%, rgba(255, 255, 255, .38) 0 4deg, transparent 4deg 12deg); mask-image: radial-gradient(60% 50% at 50% 36%, #000, transparent); -webkit-mask-image: radial-gradient(60% 50% at 50% 36%, #000, transparent); }
.arte-anuncio { position: relative; height: 100%; max-height: 62vh; aspect-ratio: 4 / 5; display: grid; }
.arte-anuncio .arte-santo { width: 100%; height: 100%; filter: drop-shadow(0 18px 34px rgba(60, 40, 10, .28)); }
.foto-anuncio { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.petalas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petalas i { position: absolute; top: -20px; left: var(--x); width: 14px; height: 10px; border-radius: 70% 0 70% 0; background: linear-gradient(135deg, #F7B8C4, #E58AA0); opacity: .85;
  transform: scale(var(--s)); animation: cair-petala var(--t) linear var(--d) infinite; }
.tom-ceu .petalas i, .tom-noite .petalas i { background: linear-gradient(135deg, #FFF7DA, #F4C430); border-radius: 50%; width: 7px; height: 7px; }
.tom-verde .petalas i, .tom-terra .petalas i, .tom-ouro .petalas i { background: linear-gradient(135deg, #FFFFFF, #F4E6C4); }
@keyframes cair-petala { 0% { transform: translate(0, -10px) rotate(0) scale(var(--s)); } 50% { transform: translate(28px, 50vh) rotate(160deg) scale(var(--s)); } 100% { transform: translate(-12px, 104vh) rotate(320deg) scale(var(--s)); } }
@media (prefers-reduced-motion: reduce) { .petalas { display: none; } .cartao-anuncio, .anuncio-santo { transition: none; } }
.fechar-anuncio { position: absolute; z-index: 3; top: calc(var(--seguro-topo) + 12px); right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .86); color: #1A1A1A; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); cursor: pointer; }
.fechar-anuncio .ic { width: 20px; height: 20px; }
.painel-anuncio { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; padding: 22px 22px calc(var(--seguro-baixo) + 22px); margin-top: -46px; text-align: center; cursor: pointer;
  background: radial-gradient(90% 100% at 50% 0%, rgba(255, 252, 244, .97), rgba(255, 248, 232, .97)); border-radius: 46% 46% 0 0 / 34px 34px 0 0; }
.fita-anuncio { display: inline-flex; padding: 3px; border-radius: 999px; background: linear-gradient(135deg, #FBE7A1, #C8921A); }
.fita-anuncio span { padding: 6px 20px; border-radius: 999px; background: #FFF9EC; color: #5B3A12; font-size: .72em; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.hoje-e { margin: 12px 0 0; font-family: "Playfair Display", var(--serifa, Georgia), serif; font-size: 1.7em; font-weight: 600; color: #3A2210; line-height: 1.1; }
.nome-anuncio { margin: 2px 0 0; font-family: "Playfair Display", var(--serifa, Georgia), serif; font-style: italic; font-size: 2.4em; font-weight: 600; line-height: 1.05; text-wrap: balance;
  background: linear-gradient(180deg, var(--nome-1), var(--nome-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nome-anuncio.longo { font-size: 1.85em; }
.ornamento { display: flex; align-items: center; gap: 8px; width: 78%; margin: 10px 0 4px; color: #C8921A; }
.ornamento i { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, #C8921A, transparent); }
.ornamento .ic { width: 14px; height: 14px; }
.subtitulo-anuncio { margin: 4px 0 0; font-family: "Cormorant Garamond", var(--serifa, Georgia), serif; font-style: italic; font-size: 1.22em; color: #3A2A20; line-height: 1.25; }
.toque-anuncio { margin: 12px 0 0; font-family: "Cormorant Garamond", var(--serifa, Georgia), serif; font-style: italic; font-size: 1em; color: #6B5A48; }
.toque-anuncio::before, .toque-anuncio::after { content: "~"; margin: 0 8px; color: #C8921A; }
.ver-mais-anuncio { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 210px; min-height: 52px; margin-top: 14px; padding: 0 28px; border: 2px solid #E2B33C; border-radius: 999px;
  background: linear-gradient(180deg, #FBE29A, #F2C14E 55%, #E2A72A); color: #2B1A08; font-family: "Playfair Display", var(--serifa, Georgia), serif; font-size: 1.15em; font-weight: 600;
  box-shadow: 0 8px 20px rgba(200, 146, 26, .35), inset 0 1px 0 rgba(255, 255, 255, .7); cursor: pointer; }
.ver-mais-anuncio .ic { width: 18px; height: 18px; }
@media (max-height: 700px) { .hoje-e { font-size: 1.4em; } .nome-anuncio { font-size: 2em; } .nome-anuncio.longo { font-size: 1.6em; } .toque-anuncio { display: none; } .painel-anuncio { padding-top: 16px; } }
@media (min-width: 700px) { .anuncio-santo { padding: 20px; place-items: center; } .cartao-anuncio { height: min(860px, 100%); border-radius: 28px; } }
.titulo-santo { margin: 4px 0 0; font-family: "Cormorant Garamond", var(--serifa, Georgia), serif; font-style: italic; font-size: 1.1em; color: var(--texto-2); }
.padroeiro-santo { display: flex; gap: 8px; margin: 14px 4px 0; padding: 12px 14px; border-radius: 16px; background: var(--amarelo-claro); font-size: .88em; line-height: 1.45; }
.padroeiro-santo .ic { flex: none; width: 18px; height: 18px; color: #9A7419; }
.oracao-santo { background: linear-gradient(170deg, #FFF8E2, #FBF0D4); border-color: #F0DFA6; }
.oracao-santo h3 { display: flex; align-items: center; gap: 8px; }
.oracao-santo h3 .ic { width: 18px; height: 18px; color: #C8921A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .oracao-santo { background: linear-gradient(170deg, #2B261C, #221E17); border-color: #4A3F28; } }
:root[data-theme="dark"] .oracao-santo { background: linear-gradient(170deg, #2B261C, #221E17); border-color: #4A3F28; }
.previa-arte { width: 120px; margin: 4px 0 8px; border-radius: 12px; }

/* Anúncio com arte completa (imagem já com o texto) */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cartao-anuncio.pronto { background: #1A1A1A; }
.fundo-desfocado { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(.85); }
.arte-pronta { position: relative; flex: 1; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.arte-pronta img { width: 100%; height: 100%; object-fit: contain; }
@media (max-aspect-ratio: 10/16) { .arte-pronta img { object-fit: cover; } }
/* Recorte da arte do anúncio para os cartões: só a parte de cima (o santo), sem o texto */
.arte-santo.recorte { overflow: hidden; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 3px #E2B33C, 0 10px 24px rgba(60, 40, 10, .18); }
.arte-santo.recorte img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.42); transform-origin: 50% 2%; }
.arte-santo.recorte.mini, .arte-santo.recorte.aviso { box-shadow: 0 0 0 2px #E2B33C; }

/* Artes do santo do dia feitas pela equipe (4:5 no app e no anúncio, 9:16 para Stories).
   A arte aparece inteira e limpa: sem borda, sem cantos cortados e sem nada por cima. */
.anuncio-santo.compacto { place-items: center; padding: calc(var(--seguro-topo) + 8px) 16px calc(var(--seguro-baixo) + 14px); background: rgba(12, 9, 4, .84); }
.compacto .cartao-anuncio.pronto { --proporcao: .8; display: flex; flex-direction: column; gap: 10px; width: min(100%, 480px, calc((100dvh - 150px - var(--seguro-topo) - var(--seguro-baixo)) * var(--proporcao)));
  height: auto; max-width: none; margin: 0; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.compacto .cartao-anuncio.vertical { --proporcao: .5625; }
.barra-anuncio { display: flex; justify-content: flex-end; }
.compacto .fechar-anuncio { position: static; width: 40px; height: 40px; }
.compacto .arte-pronta { flex: none; display: block; padding: 0; border: 0; background: none; }
.compacto .arte-pronta img { display: block; width: 100%; height: auto; object-fit: initial; border-radius: 0; }
.compartilhar-anuncio, .compartilhar-destaque { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 6px 22px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #F8D45C, #F4C430 60%, #E5B11E); color: #1A1A1A; font-size: 1em; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(180, 130, 10, .3); }
.compartilhar-anuncio .ic, .compartilhar-destaque .ic { flex: none; width: 22px; height: 22px; }
.compartilhar-anuncio span, .compartilhar-destaque span { display: grid; text-align: left; line-height: 1.2; }
.compartilhar-anuncio b, .compartilhar-destaque b { font-size: 1.02em; }
.compartilhar-anuncio small, .compartilhar-destaque small { font-size: .74em; font-weight: 650; opacity: .78; }
.compartilhar-destaque { margin: 12px 0 0; }
.arte-capa { margin: 6px -18px 0; cursor: pointer; }
.arte-capa img { display: block; width: 100%; height: auto; }
.capa-santo.so-texto { display: block; margin-top: 14px; padding-top: 16px; text-align: center; }
.capa-santo.so-texto .marcas-santo { justify-content: center; }
.liturgia-santo { margin: 6px 0 0; color: #6B5A3A; font-size: .82em; }
.arte-santo.recorte.quatro-cinco { border-radius: 6px; box-shadow: none; }
.arte-santo.recorte.quatro-cinco img { transform: none; border-radius: 6px; }
.lista-santo { margin: 6px 0 0; padding-left: 20px; line-height: 1.5; }
.botao-compartilhar-santo { margin-top: 14px; }
.carregando-historia { margin: 26px 0; }
.convite-compartilhar { display: grid; gap: 4px; margin: 16px 0 6px; padding: 20px 18px; border-radius: 20px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #FFF8DE, #F7E7B4); box-shadow: inset 0 0 0 1px #EBD48C; color: #3A2A10; }
.convite-compartilhar > b { font-family: "Playfair Display", var(--serifa), serif; font-size: 1.15em; }
.convite-compartilhar span { font-size: .9em; color: #6B5A3A; }

/* Leitura da história: papel claro com luz dourada e ornamentos discretos. No tema escuro vira "papel da noite":
   fundo marrom bem escuro, texto creme (não branco puro, que cansa) e dourado nos títulos, para ler com conforto. */
.pagina-santo.leitura {
  --l-fundo: radial-gradient(90% 38% at 50% 0%, rgba(244, 196, 48, .22), transparent 70%), linear-gradient(180deg, #FCF7EA 0%, #F7EEDA 45%, #FBF5E6 100%);
  --l-cartao: rgba(255, 253, 246, .94); --l-borda: #E8D7A8; --l-sombra: 0 8px 22px rgba(120, 90, 20, .07);
  --l-titulo: #5B3A12; --l-nome: #3A2210; --l-sub: #7A4E14; --l-capitular: #B07A12; --l-estrela: #C9962A; --l-fio: #D9B45A; --l-fio-topo: #D4A93A;
  --l-citacao: #3A2A1A; --l-nota: #7A6A50; --l-liturgia: #6B5A3A;
  --l-frase: radial-gradient(120% 140% at 50% 0%, #FFFBEE, #FBF0D2); --l-oracao: linear-gradient(170deg, #FFF8E2, #FBEFCF); --l-oracao-borda: #EFD999;
  --l-convite: radial-gradient(120% 120% at 50% 0%, #FFF8DE, #F7E7B4); --l-convite-borda: #EBD48C; --l-convite-texto: #3A2A10;
  --texto: #1F1A12; --texto-2: #5C5040; --texto-3: #8A7A60; --linha: #E8D7A8; --superficie-2: rgba(255, 253, 246, .94);
  position: relative; margin: -20px -18px -32px; padding: 20px 18px 36px; min-height: 100%; color: var(--texto);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C9A24A' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M60 18v20M50 28h20'/%3E%3Cpath d='M12 84l5-5 5 5-5 5zM98 96l4-4 4 4-4 4z'/%3E%3Ccircle cx='60' cy='94' r='2'/%3E%3C/g%3E%3C/svg%3E"),
    var(--l-fundo); }
.pagina-santo.leitura .voltar { color: var(--texto); }
.leitura .capa-santo, .leitura .capa-santo.so-texto { background: var(--l-cartao); box-shadow: inset 0 0 0 1px var(--l-borda), var(--l-sombra); }
.leitura .capa-texto { color: var(--texto); }
.leitura .capa-texto small { color: var(--l-sub); }
.leitura .capa-texto h1 { font-family: "Playfair Display", var(--serifa), serif; color: var(--l-nome); }
.leitura .titulo-santo { color: var(--texto-2); }
.leitura .liturgia-santo { color: var(--l-liturgia); }
.leitura .texto-santo { position: relative; margin-top: 14px; padding: 22px 20px 20px; border: 1px solid var(--l-borda); border-radius: 22px; background: var(--l-cartao);
  box-shadow: var(--l-sombra); line-height: 1.7; }
.leitura .texto-santo::before { content: ""; position: absolute; left: 50%; top: -1px; width: 64px; height: 3px; margin-left: -32px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--l-fio-topo), transparent); }
.leitura .texto-santo h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: "Playfair Display", var(--serifa), serif; font-size: 1.22em; color: var(--l-titulo); }
.leitura .texto-santo h3::before { content: "✦"; color: var(--l-estrela); font-size: .8em; }
.leitura .texto-santo h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--l-fio), transparent); }
.leitura .texto-santo h4 { margin: 18px 0 6px; font-family: "Playfair Display", var(--serifa), serif; font-size: 1.04em; color: var(--l-sub); }
.leitura .texto-santo p, .leitura .texto-santo li { font-size: 1em; color: var(--texto); }
.leitura .historia-santo h3 + h4 { margin-top: 4px; }
.leitura .historia-santo h4 + p::first-letter { float: left; margin: 4px 8px 0 0; font-family: "Playfair Display", var(--serifa), serif; font-size: 3em; line-height: .82; color: var(--l-capitular); }
.leitura .historia-santo h4 ~ h4 + p::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
.leitura .frase-santo { text-align: center; background: var(--l-frase); }
.leitura .frase-santo p { font-family: "Cormorant Garamond", var(--serifa), serif; font-style: italic; font-size: 1.24em; line-height: 1.45; color: var(--l-citacao); }
.leitura .texto-santo blockquote { margin: 4px 0 0; padding: 4px 4px 0 18px; border-left: 3px solid var(--l-fio-topo); font-family: "Cormorant Garamond", var(--serifa), serif; font-size: 1.24em; line-height: 1.4; color: var(--l-citacao); }
.leitura .texto-santo blockquote cite { font-size: .62em; color: var(--l-nota); margin-top: 8px; }
.pagina-santo.leitura .texto-santo.oracao-santo { background: var(--l-oracao); border-color: var(--l-oracao-borda); }
.leitura .convite-compartilhar { background: var(--l-convite); box-shadow: inset 0 0 0 1px var(--l-convite-borda); color: var(--l-convite-texto); }
.leitura .convite-compartilhar span { color: var(--l-liturgia); }
.leitura .fontes-santo { color: var(--l-nota); }
.leitura .fontes-santo b { color: var(--l-titulo); }
.leitura .fontes-santo a { color: var(--l-sub); }
.leitura .compartilhar-destaque { box-shadow: 0 8px 20px rgba(180, 130, 10, .22); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pagina-santo.leitura {
  --l-fundo: radial-gradient(90% 34% at 50% 0%, rgba(232, 180, 60, .13), transparent 70%), linear-gradient(180deg, #17130D 0%, #120F0A 50%, #15110C 100%);
  --l-cartao: #201A12; --l-borda: #3B2F1C; --l-sombra: 0 8px 22px rgba(0, 0, 0, .28);
  --l-titulo: #E6C77E; --l-nome: #F4E7CC; --l-sub: #D8B266; --l-capitular: #E3B04A; --l-estrela: #D9A93C; --l-fio: #7A6030; --l-fio-topo: #C99A3A;
  --l-citacao: #EADFC8; --l-nota: #A89A80; --l-liturgia: #C2B394;
  --l-frase: radial-gradient(120% 140% at 50% 0%, #2B2215, #1E1810); --l-oracao: linear-gradient(170deg, #2A2112, #211A10); --l-oracao-borda: #5A4620;
  --l-convite: radial-gradient(120% 120% at 50% 0%, #2E2414, #201A11); --l-convite-borda: #5A4620; --l-convite-texto: #F4E7CC;
  --texto: #E9E0CE; --texto-2: #BFB39C; --texto-3: #8F846F; --linha: #3B2F1C; --superficie-2: #201A12; }
}
:root[data-theme="dark"] .pagina-santo.leitura {
  --l-fundo: radial-gradient(90% 34% at 50% 0%, rgba(232, 180, 60, .13), transparent 70%), linear-gradient(180deg, #17130D 0%, #120F0A 50%, #15110C 100%);
  --l-cartao: #201A12; --l-borda: #3B2F1C; --l-sombra: 0 8px 22px rgba(0, 0, 0, .28);
  --l-titulo: #E6C77E; --l-nome: #F4E7CC; --l-sub: #D8B266; --l-capitular: #E3B04A; --l-estrela: #D9A93C; --l-fio: #7A6030; --l-fio-topo: #C99A3A;
  --l-citacao: #EADFC8; --l-nota: #A89A80; --l-liturgia: #C2B394;
  --l-frase: radial-gradient(120% 140% at 50% 0%, #2B2215, #1E1810); --l-oracao: linear-gradient(170deg, #2A2112, #211A10); --l-oracao-borda: #5A4620;
  --l-convite: radial-gradient(120% 120% at 50% 0%, #2E2414, #201A11); --l-convite-borda: #5A4620; --l-convite-texto: #F4E7CC;
  --texto: #E9E0CE; --texto-2: #BFB39C; --texto-3: #8F846F; --linha: #3B2F1C; --superficie-2: #201A12; }

/* Compartilhar a arte */
.folha-compartilhar { position: fixed; inset: 0; z-index: 9900; display: grid; align-items: end; justify-items: center; background: rgba(26, 26, 26, .5); opacity: 0; transition: opacity .2s; }
.folha-compartilhar.aberta { opacity: 1; }
.caixa-compartilhar { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; padding: 14px 16px calc(var(--seguro-baixo) + 18px); border-radius: 22px 22px 0 0; background: var(--fundo); transform: translateY(20px); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.folha-compartilhar.aberta .caixa-compartilhar { transform: none; }
.topo-compartilhar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 1.05em; }
.previa-compartilhar { display: block; width: 46%; max-width: 200px; margin: 0 auto 14px; border-radius: 14px; box-shadow: 0 10px 26px rgba(26, 26, 26, .18); }
.previa-compartilhar.vertical { width: 34%; max-width: 160px; }
.caixa-compartilhar .linha .ic { color: var(--texto); }
.caixa-compartilhar .linha.indisponivel { opacity: .5; cursor: not-allowed; }
.nota-compartilhar { min-height: 1.4em; margin: 10px 4px 0; color: var(--texto-2); font-size: .85em; line-height: 1.45; text-align: center; }
@media (min-width: 700px) { .folha-compartilhar { align-items: center; } .caixa-compartilhar { border-radius: 22px; } }

/* ---------- Filtros numa folha só (Confissão, Missas, Adoração) ---------- */
.botoes-cabecalho { display: flex; gap: 8px; flex: none; }
.botao-filtros {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; margin-top: 2px; padding: 0 16px 0 14px;
  border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie-2); color: var(--texto);
  font: inherit; font-size: .88em; font-weight: 750; cursor: pointer;
}
.botao-filtros .ic { width: 20px; height: 20px; }
.botao-filtros b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-size: .82em; }
.botao-filtros.ativo { background: var(--tinta); border-color: var(--tinta); color: #FFFFFF; }
.dias + * { margin-top: 14px; }
.rotulo-filtros { margin: 16px 4px 8px; font-size: .72em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.folha-filtros .grupo { margin: 0; }
.opcao-filtro { width: 100%; text-align: left; }
.opcao-filtro .ic { flex: none; width: 20px; height: 20px; color: var(--verde); stroke-width: 2.4; }
.opcao-filtro.ativa .titulo { font-weight: 800; }
.acoes-filtros { display: flex; gap: 10px; margin-top: 18px; }
.acoes-filtros .botao { flex: 1; min-height: 48px; }

/* ---------- Página da igreja: próximo horário, selo, compartilhar e horários da semana ---------- */
.selo-confirmado { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; color: var(--verde); font-size: .72em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.selo-confirmado .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.proximo-horario {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 16px 18px;
  border: 1px solid #EBCB63; border-radius: 20px; background: var(--amarelo-claro);
}
.proximo-horario .icone-proximo { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--amarelo); color: var(--tinta); }
.proximo-horario .icone-proximo .ic { width: 26px; height: 26px; }
.proximo-horario .corpo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proximo-horario small { font-size: .7em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A6A10; }
.proximo-horario b { font-size: 1.12em; font-weight: 750; line-height: 1.25; }
.proximo-horario em { font-style: normal; font-size: .84em; color: var(--texto-2); }
.proximo-horario.agora { border-color: #9FD9BC; background: var(--verde-suave); }
.proximo-horario.agora small { color: var(--verde); }
.proximo-horario.agora .icone-proximo { background: var(--verde); color: #FFFFFF; }
.detalhe .acoes { align-items: stretch; }
.detalhe .acoes .botao:first-child { flex: 1; }
.botao-compartilhar-igreja {
  display: grid; place-items: center; flex: none; width: 50px; min-height: 46px; border: 1px solid var(--linha);
  border-radius: 999px; background: var(--superficie-2); color: var(--texto); cursor: pointer;
}
.botao-compartilhar-igreja .ic { width: 21px; height: 21px; }
.titulo-horarios { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 2px 12px; }
.titulo-horarios h2 { margin: 0; font-size: 1.15em; font-weight: 800; letter-spacing: -.01em; }
.chave-horarios { display: flex; padding: 3px; border-radius: 999px; background: var(--cinza-suave); }
.chave-horarios button { padding: 7px 13px; border: 0; border-radius: 999px; background: none; color: var(--texto-2); font: inherit; font-size: .8em; font-weight: 750; cursor: pointer; }
.chave-horarios button[aria-selected="true"] { background: var(--superficie-2); color: var(--texto); box-shadow: var(--sombra-leve); }
.tipo-unico { font-size: .78em; font-weight: 750; color: var(--texto-2); }
.painel-horarios .semana > div { align-items: center; min-height: 56px; }
.painel-horarios .semana b { width: 112px; font-size: .85em; }
.horas-dia { display: flex; flex-wrap: wrap; gap: 6px; }
.horas-dia i { padding: 5px 10px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto); font-style: normal; font-size: .9em; font-weight: 700; }
.semana .hoje .horas-dia i { background: var(--superficie-2); }
.sem-horario { color: var(--texto-3) !important; }
.painel-horarios .confianca { margin-top: 10px; }
.botao-filtros.ativo { gap: 6px; padding: 0 12px 0 13px; }
.botao-filtros.ativo span { display: none; } /* com filtro ligado: só o ícone e quantos estão ativos */

/* ---------- Padres e atividades da paróquia ---------- */
.clero { border: 1px solid var(--linha); border-radius: var(--raio); background: var(--superficie-2); overflow: hidden; }
.pessoa-clero { display: flex; align-items: center; gap: 12px; padding: 9px 14px; }
.pessoa-clero + .pessoa-clero { border-top: .5px solid var(--linha); }
.pessoa-clero .inicial { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--amarelo-suave); font-size: .85em; font-weight: 800; }
.pessoa-clero b { display: block; font-size: .92em; }
.pessoa-clero small { color: var(--texto-2); font-size: .78em; }
.atividades { border: 1px solid var(--linha); border-radius: var(--raio); background: var(--superficie-2); overflow: hidden; }
.atividade { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.atividade + .atividade { border-top: .5px solid var(--linha); }
.icone-atividade { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--amarelo-claro); color: var(--tinta); }
.icone-atividade .ic { width: 20px; height: 20px; }
.atividade .corpo { flex: 1; min-width: 0; }
.atividade b { display: block; font-size: .9em; line-height: 1.3; }
.atividade small { display: block; margin-top: 2px; color: var(--texto-2); font-size: .8em; line-height: 1.35; }
.categoria-atividade { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--cinza-suave); color: var(--texto-2); font-size: .7em; font-weight: 750; }

/* =====================================================================
   Redesign out/2026: barra flutuante, Início, Perfil e Biblioteca
   (FIEL_Redesign_Especificacao.pdf + protótipos inicio.html e perfil.html)
   ===================================================================== */
/* Classes dos ícones copiados dos protótipos (lá se chamavam ic, ic2, ic3 e ln) */
.pic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pic2 { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pic3 { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pln { stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Barra de navegação: flutuante, fixa, centralizada ---------- */
.abas {
  left: 16px; right: 16px; bottom: calc(16px + var(--seguro-baixo)); margin: 0 auto; max-width: 480px;
  height: 76px; padding: 0 4px; border-radius: 38px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  background: var(--barra-fundo); border: 1px solid var(--barra-borda); border-top: 1px solid var(--barra-borda);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}
.abas button {
  height: 64px; min-width: 0; padding: 0; gap: 4px; justify-content: center;
  color: var(--texto-2); font-size: 11px; font-weight: 600; letter-spacing: 0;
}
.abas .capsula { display: flex; align-items: center; justify-content: center; width: auto; height: 34px; border-radius: 17px; background: none; }
.abas button.ativa { color: var(--texto); font-weight: 800; }
.abas button.ativa .capsula { width: 56px; background: var(--amarelo); color: var(--tinta); }
.abas .rotulo-aba { line-height: 1.1; white-space: nowrap; }
@media (max-width: 360px) { .abas { left: 10px; right: 10px; } .abas button { font-size: 10px; } }

/* A gaveta vai até o rodapé, por baixo da barra; o conteúdo ganha espaço no fim para nada ficar escondido */
@media (max-width: 899px) {
  .gaveta { bottom: 0; height: calc(var(--altura-gaveta, 52dvh) + var(--abas) + var(--seguro-baixo)); }
}
.conteudo { padding-bottom: calc(var(--abas) + var(--seguro-baixo) + 32px); }

/* ---------- Páginas inteiras (sem mapa): Início, Biblioteca, Perfil e as telas de dentro ---------- */
body[data-aba="inicio"] .topo, body[data-aba="biblioteca"] .topo,
body[data-aba="inicio"] .alca, body[data-aba="biblioteca"] .alca { display: none; }
body[data-aba="inicio"] .flutuante, body[data-aba="biblioteca"] .flutuante { opacity: 0; pointer-events: none; }
body[data-aba="inicio"] .gaveta, body[data-aba="biblioteca"] .gaveta,
body[data-aba="liturgia"] .gaveta, body[data-aba="ajustes"] .gaveta {
  height: 100dvh; border-radius: 0; box-shadow: none; padding-top: var(--seguro-topo); background: var(--fundo);
}
body[data-aba="inicio"] .conteudo, body[data-aba="biblioteca"] .conteudo { padding: 0 0 calc(var(--abas) + var(--seguro-baixo) + 40px); }
@media (min-width: 900px) {
  .abas { left: 16px; right: auto; margin: 0; width: 420px; max-width: none; bottom: 16px; }
  body[data-aba="inicio"] .gaveta, body[data-aba="biblioteca"] .gaveta,
  body[data-aba="liturgia"] .gaveta, body[data-aba="ajustes"] .gaveta { height: auto; border-radius: 24px; box-shadow: var(--sombra); padding-top: 0; }
}

/* ---------- Tokens extras do redesign ---------- */
:root { --apagado: #D3CABA; --etq-paroquia-fundo: #FFF0B3; --etq-paroquia-texto: #6B4E00; --etq-comunidade-fundo: #DCEBFF; --etq-comunidade-texto: #1F4E8C; --pro-borda: #E2C46B; --pro-coroa-fundo: #FFF3C4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --apagado: #4A443D; --etq-paroquia-fundo: #3A3010; --etq-paroquia-texto: #FFC800; --etq-comunidade-fundo: #1F2E44; --etq-comunidade-texto: #8EC2FF; --pro-borda: #5C4A12; --pro-coroa-fundo: #2E2810; } }
:root[data-theme="dark"] { --apagado: #4A443D; --etq-paroquia-fundo: #3A3010; --etq-paroquia-texto: #FFC800; --etq-comunidade-fundo: #1F2E44; --etq-comunidade-texto: #8EC2FF; --pro-borda: #5C4A12; --pro-coroa-fundo: #2E2810; }

.tela-inicio, .tela-perfil, .tela-biblioteca { color: var(--texto); }
:where(.tela-inicio, .tela-perfil, .tela-biblioteca) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.link-amarelo { color: #C79A00 !important; font-size: 13px !important; font-weight: 700 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-amarelo { color: var(--amarelo) !important; } }
:root[data-theme="dark"] .link-amarelo { color: var(--amarelo) !important; }
.seta-cinza { display: flex; color: var(--texto-3); flex: none; }
.seta-redonda { width: 22px; height: 22px; border-radius: 11px; border: 1px solid var(--barra-borda); display: flex; align-items: center; justify-content: center; flex: none; }
.seta-redonda svg { width: 12px; height: 12px; }

/* Topo */
.ini-topo { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 0; }
.ini-roda { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ini-roda .txt { display: flex; flex-direction: column; line-height: 1.2; }
.ini-roda small { font-size: 12px; color: var(--texto-2); font-weight: 600; }
.ini-roda b { font-size: 16px; font-weight: 800; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ini-acoes { display: flex; align-items: center; }
.ini-sino { width: 40px; height: 44px; display: flex !important; align-items: center; justify-content: center; color: var(--texto) !important; }
.ini-avatar { width: 44px; height: 44px; display: flex !important; align-items: center; justify-content: center; }
.ini-avatar > span { width: 34px; height: 34px; border-radius: 17px; background: var(--amarelo); color: var(--tinta); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ini-avatar .ic { width: 18px; height: 18px; }

/* Busca */
.ini-busca { margin: 20px 20px 0; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 7px 0 18px; border-radius: 29px; background: var(--superficie-2); border: 1px solid var(--barra-borda); }
.ini-busca .ini-campo-busca { flex: 1; min-width: 0; height: 44px; display: flex !important; align-items: center; gap: 10px; color: var(--texto) !important; }
.ini-busca .ini-campo-busca span { color: var(--texto-2); font-size: 17px; font-weight: 500; }
.ini-busca .perto { height: 44px; padding: 0 14px !important; border-radius: 22px; background: var(--superficie-3) !important; font-size: 13px; font-weight: 700; display: flex !important; align-items: center; gap: 6px; flex: none; }
.ini-busca .perto svg { color: #E5A800; }
.ini-busca-campo { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; margin: 6px 0 4px; border-radius: 27px; background: var(--superficie-2); border: 1px solid var(--linha); }
.ini-busca-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--texto); }

/* Liturgia de hoje */
.ini-liturgia { margin: 16px 20px 0; border-radius: 26px; background: var(--amarelo); color: var(--tinta); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.ini-lit-cabeca { display: flex !important; flex-direction: column; gap: 3px; color: var(--tinta) !important; }
.ini-lit-cabeca .t { font-size: 15px; font-weight: 800; }
.ini-lit-cabeca .lit-dia { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.ini-lit-cabeca .lit-dia i { width: 8px; height: 8px; border-radius: 4px; border: 1.5px solid var(--tinta); flex: none; box-sizing: content-box; }
.ini-liturgia .frase { margin: 0; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 27px; line-height: 1.15; letter-spacing: -.2px; }
.ini-liturgia .ref { font-size: 13px; font-weight: 600; margin-top: -8px; }
.ini-liturgia .botoes { display: flex; gap: 8px; }
.ini-liturgia .principal { flex: 1.3; height: 46px; border-radius: 23px; background: var(--tinta) !important; color: #FFF6DA !important; font-weight: 700; font-size: 14px; display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.ini-liturgia .contorno { flex: 1; height: 46px; border-radius: 23px; border: 1.5px solid var(--tinta); color: var(--tinta); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ini-liturgia .redondo-lit { width: 46px; height: 46px; border-radius: 23px; border: 1.5px solid var(--tinta) !important; display: flex !important; align-items: center; justify-content: center; color: var(--tinta) !important; flex: none; }

/* Faixa da semana */
.ini-semana { padding: 26px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.ini-semana-cab { display: flex; align-items: center; justify-content: space-between; }
.ini-semana-cab > span { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--texto-2); }
.ini-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ini-dias button { height: 70px; border-radius: 16px; border: 1px solid var(--linha) !important; background: var(--superficie-2) !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center !important; }
.ini-dias .sem { font-size: 11px; font-weight: 600; color: var(--texto-2); }
.ini-dias .num { font-size: 18px; font-weight: 800; line-height: 1.1; }
.ini-dias i { width: 6px; height: 6px; border-radius: 3px; background: transparent; }
.ini-dias i.festa { background: var(--amarelo); }
.ini-dias i.penitencia { background: #8E6CC9; }
.ini-dias button.hoje { border-color: var(--amarelo) !important; }
.ini-dias button.ativo { border: none !important; background: var(--amarelo) !important; color: var(--tinta) !important; }
.ini-dias button.ativo .sem { color: var(--tinta); }
.ini-dias button.ativo i.festa, .ini-dias button.ativo i.penitencia { background: var(--tinta); }
.ini-hoje-e { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--superficie-2); font-size: 14px; line-height: 1.35; }
.ini-hoje-e .caixinha { width: 32px; height: 32px; border-radius: 10px; background: var(--superficie-3); color: #E5A800; display: flex; align-items: center; justify-content: center; flex: none; }
.ini-hoje-e b { font-weight: 800; }
.ini-hoje-e .fraco { color: var(--texto-2); }
.ini-eventos-dia { border-radius: 16px; background: var(--superficie-2); overflow: hidden; }
.ini-nota-dia { margin: 0; font-size: 13px; color: var(--texto-2); padding: 0 4px; }

/* Faixas (santo do dia, minha paróquia, conquistas) */
.ini-santo { padding: 14px 20px 0; }
.ini-faixa { width: 100%; display: flex !important; align-items: center; gap: 14px; padding: 12px 14px !important; border-radius: 20px; border: 1px solid var(--linha) !important; }
.ini-faixa .corpo { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ini-faixa small { font-size: 12px; color: var(--texto-2); font-weight: 600; }
.ini-faixa b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ini-faixa .tempo { font-size: 12px; color: var(--texto-2); flex: none; }
.ini-santo-foto { width: 44px; height: 44px; border-radius: 22px; overflow: hidden; flex: none; background: var(--superficie-3); }
.ini-santo-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.circulo-igreja { width: 44px; height: 44px; border-radius: 22px; background: var(--superficie-3); color: #E5A800; display: flex; align-items: center; justify-content: center; flex: none; }

/* Seções */
.ini-secao { padding: 34px 20px 0; display: flex; flex-direction: column; gap: 16px; }
.ini-secao.sem-margem-direita { padding-right: 0; }
.ini-cabeca { display: flex !important; align-items: center; gap: 8px; align-self: flex-start; min-height: 32px; }
.ini-cabeca .t { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.ini-cabeca .extra { font-size: 13px; color: var(--texto-2); font-weight: 600; }

/* Rezar */
.ini-rezar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ini-rezar-item { display: flex !important; flex-direction: column; align-items: center; gap: 10px; text-align: center !important; font-size: 13px; font-weight: 600; }
.ini-rezar-item .circulo { width: 76px; height: 76px; border-radius: 38px; background: #24211E; display: flex; align-items: center; justify-content: center; }

/* Minha Caminhada */
.ini-caminhada { border-radius: 24px; background: var(--superficie-2); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ini-caminhada .cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ini-caminhada .txt { display: flex; flex-direction: column; gap: 2px; }
.ini-caminhada small { font-size: 12px; color: var(--texto-2); font-weight: 600; }
.ini-caminhada .txt b { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.ini-caminhada .grade { display: grid; grid-template-columns: 26px repeat(7, minmax(0, 1fr)); align-items: center; row-gap: 8px; }
.ini-caminhada .letra { text-align: center; font-size: 11px; font-weight: 700; color: var(--texto-2); }
.ini-caminhada .letra.hoje { color: var(--texto); }
.ini-caminhada .cel { display: flex !important; justify-content: center; align-items: center; min-height: 32px; }
.ini-caminhada .botoes { display: flex; gap: 8px; }
.ini-caminhada .botoes button { flex: 1; height: 44px; border-radius: 22px; font-weight: 800; font-size: 13px; text-align: center !important; }
.ini-caminhada .cheio { background: var(--amarelo) !important; color: var(--tinta) !important; }
.ini-caminhada .contorno { border: 1px solid var(--barra-borda) !important; }
.ini-caminhada .contorno[aria-pressed="true"] { border-color: var(--amarelo) !important; }

/* Carrosséis: o último item aparece cortado, para mostrar que dá para deslizar */
.ini-carrossel { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-right: 20px; scroll-snap-type: x proximity; }
.ini-carrossel::-webkit-scrollbar { display: none; }
.ini-carrossel > * { scroll-snap-align: start; }
.ini-carrossel.comunidade { gap: 14px; }
.ini-video { width: 128px; flex: none; display: flex !important; flex-direction: column; gap: 8px; }
.ini-video .capa { position: relative; width: 128px; height: 168px; border-radius: 18px; overflow: hidden; display: block; }
.ini-video .duracao { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 4px; background: rgba(22, 20, 18, .8); color: #F5F0E6; padding: 4px 8px 4px 6px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ini-video .titulo { font-size: 14px; font-weight: 700; line-height: 1.3; }
.ini-comunidade { width: 96px; flex: none; display: flex !important; flex-direction: column; align-items: center; gap: 10px; text-align: center !important; font-size: 13px; font-weight: 700; line-height: 1.25; }
.ini-quiz { width: 150px; flex: none; position: relative; display: flex !important; flex-direction: column; gap: 12px; padding: 16px 14px !important; border-radius: 22px; background: var(--superficie-2) !important; }
.ini-quiz .novo { position: absolute; top: 14px; right: 12px; background: var(--amarelo); color: var(--tinta); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.ini-quiz .circulo { width: 56px; height: 56px; border-radius: 28px; background: #2E2A26; display: flex; align-items: center; justify-content: center; }
.ini-quiz .txt { display: flex; flex-direction: column; gap: 3px; }
.ini-quiz b { font-size: 15px; font-weight: 800; line-height: 1.25; }
.ini-quiz small { font-size: 12px; color: var(--texto-2); }

/* ---------- Perfil ---------- */
.pf-topo { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; font-size: 16px; font-weight: 800; }
.pf-voltar { width: 44px; height: 44px; border-radius: 22px; background: var(--superficie-2) !important; display: flex !important; align-items: center; justify-content: center; }
.pf-vazio { width: 44px; height: 44px; }
.pf-cartao { margin: 20px 20px 0; border-radius: 28px; background: var(--amarelo); color: var(--tinta); overflow: hidden; }
.pf-cabeca { width: 100%; display: flex !important; align-items: center; gap: 16px; padding: 22px 20px 20px !important; color: var(--tinta) !important; }
.pf-avatar { width: 68px; height: 68px; border-radius: 34px; background: #FFF6DA; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex: none; overflow: hidden; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-cabeca .corpo { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pf-cabeca b { font-size: 23px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; }
.pf-etiqueta { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(43, 26, 15, .12); }
.pf-lapis { width: 36px; height: 36px; border-radius: 18px; background: rgba(43, 26, 15, .1); display: flex; align-items: center; justify-content: center; flex: none; }
.pf-colunas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(43, 26, 15, .16); }
.pf-colunas button { display: flex !important; flex-direction: column; gap: 4px; padding: 14px 12px 16px 14px !important; color: var(--tinta) !important; min-width: 0; }
.pf-colunas button:first-child { padding-left: 20px !important; }
.pf-colunas button + button { border-left: 1px solid rgba(43, 26, 15, .16) !important; }
.pf-colunas small { font-size: 11px; font-weight: 700; opacity: .7; }
.pf-colunas b { font-size: 14px; font-weight: 800; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-secao { padding: 32px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.pf-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-numero { border-radius: 20px; background: var(--superficie-2); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.pf-numero span { display: flex; flex-direction: column; gap: 2px; }
.pf-numero b { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.pf-numero small { font-size: 12px; color: var(--texto-2); line-height: 1.3; }
.pf-conquistas .medalha { display: flex; }
.pf-titulo-linha { display: flex; align-items: baseline; justify-content: space-between; }
.pf-titulo-linha .t, .bib-topo h1 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.pf-avisos, .pf-espaco { border-radius: 22px; border: 1px solid var(--linha); overflow: hidden; }
.pf-aviso { width: 100%; display: flex !important; align-items: center; gap: 14px; padding: 15px 16px !important; }
.pf-aviso + .pf-aviso, .pf-espaco-linha + .pf-espaco-linha { border-top: 1px solid var(--linha) !important; }
.pf-aviso .corpo { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pf-aviso .linha-etiqueta { display: flex; align-items: center; gap: 8px; }
.pf-aviso small { font-size: 12px; color: var(--texto-2); }
.pf-aviso b { font-size: 15px; font-weight: 700; line-height: 1.35; }
.etiqueta-aviso { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.etiqueta-aviso.paroquia { background: var(--etq-paroquia-fundo); color: var(--etq-paroquia-texto); }
.etiqueta-aviso.comunidade { background: var(--etq-comunidade-fundo); color: var(--etq-comunidade-texto); }
.pf-sem-avisos { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; border: 1px dashed var(--barra-borda); }
.pf-sem-avisos svg { flex: none; }
.pf-sem-avisos span { display: flex; flex-direction: column; gap: 3px; }
.pf-sem-avisos b { font-size: 15px; font-weight: 700; }
.pf-sem-avisos small { font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.pf-espaco-linha { width: 100%; display: flex !important; align-items: center; gap: 14px; padding: 14px 16px !important; }
.pf-espaco-linha .caixinha { width: 44px; height: 44px; border-radius: 14px; background: var(--superficie-3); color: #E5A800; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.pf-espaco-linha .caixinha.ilustrada { background: #24211E; }
.pf-espaco-linha .corpo { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.pf-espaco-linha b { font-size: 15px; font-weight: 700; }
.pf-espaco-linha small { font-size: 13px; color: var(--texto-2); }
.pf-pro-envolta { padding: 20px 20px 0; }
.pf-pro { width: 100%; display: flex !important; align-items: center; gap: 16px; padding: 18px !important; border-radius: 22px; background: var(--superficie-2) !important; border: 1px solid var(--pro-borda) !important; }
.pf-pro .coroa { width: 52px; height: 52px; border-radius: 26px; background: var(--pro-coroa-fundo); color: #E5A800; display: flex; align-items: center; justify-content: center; flex: none; }
.pf-pro .corpo { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.pf-pro b { font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 800; color: #C79A00; }
.pf-pro small { font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.pf-pro .conhecer { height: 36px; padding: 0 14px; border-radius: 18px; background: var(--amarelo); color: var(--tinta); font-size: 13px; font-weight: 800; display: flex; align-items: center; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-pro b { color: var(--amarelo); } }
:root[data-theme="dark"] .pf-pro b { color: var(--amarelo); }
.pf-app { gap: 6px; }
.sobretitulo { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--texto-2); padding-bottom: 4px; }
.pf-app-linha { display: flex !important; align-items: center; gap: 14px; padding: 13px 4px !important; color: var(--texto) !important; text-decoration: none; min-height: 48px; }
.pf-app-linha + .pf-app-linha { border-top: 1px solid var(--linha) !important; }
.pf-app-linha > svg:first-child { color: var(--texto-2); flex: none; }
.pf-app-linha .t { font-size: 15px; font-weight: 600; flex: 1; }
.pf-app-linha.discreto .t { font-size: 13px; color: var(--texto-2); }
.pf-rodape { padding: 28px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pf-sair { width: 100%; height: 48px; border-radius: 24px; border: 1px solid var(--barra-borda) !important; font-weight: 700; font-size: 14px; display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.pf-marca { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; color: var(--texto-3); }
.pf-marca b { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 16px; letter-spacing: .5px; }
.pf-marca small { font-family: "Playfair Display", Georgia, serif; font-size: 6px; letter-spacing: 2.6px; padding-left: 2.6px; }
.pf-marca em { font-style: normal; font-size: 11px; margin-top: 6px; }

/* ---------- Biblioteca ---------- */
.bib-topo { padding: 20px 20px 0; }
.bib-topo h1 { margin: 0; font-size: 28px; }
.bib-topo p { margin: 4px 0 0; color: var(--texto-2); font-size: 14px; }

/* ---------- Terço e orações ---------- */
.seletor-misterios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 999px; background: var(--superficie-3); margin-bottom: 14px; }
.seletor-misterios button { height: 40px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 700; color: var(--texto-2); cursor: pointer; }
.seletor-misterios button[aria-selected="true"] { background: var(--amarelo); color: var(--tinta); }
.cartao-misterios { border-radius: 22px; background: var(--superficie-2); border: 1px solid var(--linha); padding: 16px 18px; }
.cartao-misterios small { font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--texto-2); }
.cartao-misterios ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cartao-misterios li { display: flex; gap: 12px; font-size: 15px; line-height: 1.35; }
.num-misterio { flex: none; width: 30px; height: 30px; border-radius: 15px; background: var(--amarelo); color: var(--tinta); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.passos-terco { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; }
.passos-terco .link-simples { margin-left: 8px; font-size: 13px; }
.lista-oracoes { margin-top: 16px; border-radius: 22px; border: 1px solid var(--linha); overflow: hidden; background: var(--superficie-2); }
.oracao + .oracao { border-top: 1px solid var(--linha); }
.oracao-titulo { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--texto); text-align: left; cursor: pointer; }
.oracao-titulo .ic { width: 18px; height: 18px; color: var(--texto-3); transition: transform .2s; }
.oracao.aberta .oracao-titulo .ic { transform: rotate(90deg); }
.texto-oracao { margin: 0; padding: 0 16px 16px; font-family: "Playfair Display", Georgia, serif; font-size: 17px; line-height: 1.55; }
.pf-avatar-envolta { position: relative; flex: none; }
.pf-avatar-envolta .coroa-avatar { position: absolute; right: -2px; bottom: -2px; }
.pf-etiquetas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---------- Calendário Litúrgico: folhetos da missa (out/2026) ---------- */
.tela-calendario { color: var(--texto); padding-bottom: 8px; }
.tela-calendario button { font: inherit; cursor: pointer; }
.cal-voltar { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin: 0 0 14px; padding: 0; border: 0; background: none; color: var(--texto); font-size: 16px !important; font-weight: 700 !important; }
.cal-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cal-topo > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-topo h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.3px; }
.cal-topo small { font-size: 13px; color: var(--texto-2); font-weight: 600; }
.cal-hoje { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--cal-botao-borda); background: var(--superficie-2); color: var(--texto); font-size: 13px !important; font-weight: 700 !important; }
.cal-mes { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; }
.cal-seta { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--linha); background: transparent; color: var(--texto); display: flex; align-items: center; justify-content: center; padding: 0; }
.cal-seta:disabled { opacity: .35; cursor: default; }
.cal-mes-nome { display: flex; align-items: baseline; gap: 8px; }
.cal-mes-nome b { font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 800; }
.cal-mes-nome small { font-size: 15px; color: var(--texto-2); font-weight: 600; }
.cal-resumo { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.cal-pilula { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12px; font-weight: 700; }
.cal-pilula.ok { background: var(--cal-ok-fundo); border: 1px solid var(--cal-ok-borda); color: var(--cal-ok-texto); }
.cal-pilula.breve { border: 1px dashed var(--cal-breve-borda); color: var(--hom-apagado); }
.cal-grade { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; margin: 0 -2px; }
.cal-semana, .cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-semana span { text-align: center; font-size: 12px; font-weight: 700; color: var(--texto-2); }
.cal-semana .dom { color: #FFC800; font-weight: 800; }
:root:not([data-theme="dark"]) .cal-semana .dom { color: #B88A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cal-semana .dom { color: #FFC800; } }
.cal-vazio { height: 56px; }
.cal-dia { position: relative; height: 56px; border-radius: 15px; background: var(--cal-neutro); border: 1px solid var(--cal-neutro-borda); color: var(--texto); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; }
.cal-dia .n { font-size: 16px; font-weight: 600; line-height: 1; }
.cal-dia.forte .n { font-weight: 800; }
.cal-dia .cor-lit { width: 16px; height: 3px; border-radius: 2px; }
.cal-dia .folhinha { position: absolute; top: 5px; right: 5px; }
.cal-dia.ok { background: var(--cal-ok-fundo); border-color: var(--cal-ok-borda); }
.cal-dia.breve { border-style: dashed; border-color: var(--cal-breve-borda); }
.cal-dia.hoje { border: 2px solid #FFC800; }
.cal-dia.sel { background: #FFC800; border: 2px solid #FFC800; color: #2B1A0F; }
.cal-dia .cor-lit.branco, .cal-legenda i.branco, .cal-etiquetas i.branco { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.cal-legenda { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 16px; padding-top: 16px; }
.cal-legenda > span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--hom-apagado); font-weight: 600; }
.cal-legenda .cores { gap: 5px; }
.cal-legenda .q { width: 18px; height: 18px; border-radius: 6px; }
.cal-legenda .q.ok { background: var(--cal-ok-fundo); border: 1px solid var(--cal-ok-borda); }
.cal-legenda .q.breve { border: 1px dashed var(--cal-breve-borda); }
.cal-legenda .cores i { width: 8px; height: 3px; border-radius: 2px; }
.cal-detalhe { margin-top: 24px; border-radius: 26px; background: var(--superficie-2); border: 1px solid var(--linha); overflow: hidden; }
.cal-detalhe .faixa { height: 4px; }
.cal-detalhe .miolo { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.cal-titulos { display: flex; flex-direction: column; gap: 6px; }
.cal-titulos small { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: var(--texto-2); }
.cal-titulos h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 800; line-height: 1.15; }
.cal-titulos p { margin: 0; font-size: 13px; color: var(--texto-2); }
.cal-etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-etiquetas span { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 14px; background: var(--cal-etiqueta); font-size: 12px; font-weight: 700; }
.cal-etiquetas i { width: 9px; height: 9px; border-radius: 5px; }
.cal-etiquetas .grau { color: var(--cal-ok-texto); }
.cal-detalhe hr { width: 100%; height: 1px; margin: 0; border: 0; background: var(--linha); }
.cal-estado { display: flex; align-items: center; gap: 12px; }
.cal-estado-ic { width: 44px; height: 44px; border-radius: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cal-estado-ic.ok { background: var(--cal-ok-fundo); }
.cal-estado-ic.breve { border: 1px dashed var(--cal-breve-borda); color: var(--hom-apagado); }
.cal-estado-ic.nenhum { background: var(--cal-etiqueta); color: var(--texto-2); }
.cal-estado-txt { display: flex; flex-direction: column; gap: 2px; }
.cal-estado-txt b { font-size: 15px; font-weight: 800; }
.cal-estado-txt small { font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.cal-botoes { display: flex; gap: 8px; }
.cal-botao { flex: 1; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px !important; font-weight: 700 !important; text-decoration: none; }
.cal-botoes .cal-botao:first-child { flex: 1.4; }
.cal-botao.amarelo { border: 0; background: #FFC800; color: #2B1A0F; font-weight: 800 !important; }
.cal-botao.contorno { border: 1px solid var(--cal-botao-borda); background: transparent; color: var(--texto); }
.cal-botao.contorno-amarelo { border: 1px solid #FFC800; background: transparent; color: var(--cal-ok-texto); font-weight: 800 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cal-botao.contorno-amarelo { color: #FFC800; } }
:root[data-theme="dark"] .cal-botao.contorno-amarelo { color: #FFC800; }
.cal-botao.contorno-amarelo.ligado { background: var(--cal-ok-fundo); }
.cal-botao.largo { width: 100%; flex: none; }
.cal-proximo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 0; background: var(--cal-etiqueta); color: var(--texto); text-align: left; }
.cal-proximo > span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cal-proximo small { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: var(--texto-2); }
.cal-proximo b { font-size: 14px; font-weight: 700; }
.cal-proximo svg { flex-shrink: 0; }

/* ---------- Folha "Homilia de hoje" (botão Ouvir) ---------- */
.folha-homilia { position: fixed; inset: 0; z-index: 9900; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 7, 6, .72); opacity: 0; transition: opacity .2s; }
.folha-homilia.aberta { opacity: 1; }
.hom-caixa { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--hom-fundo); color: var(--texto); border-radius: 30px 30px 0 0; border-top: 1px solid var(--hom-borda); padding: 10px 20px calc(34px + var(--seguro-baixo)); display: flex; flex-direction: column; gap: 18px; transform: translateY(24px); transition: transform .25s cubic-bezier(.2, .8, .2, 1); font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.folha-homilia.aberta .hom-caixa { transform: none; }
.hom-caixa button { font: inherit; cursor: pointer; }
.hom-alca { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--hom-alca); }
.hom-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hom-topo > span { display: flex; flex-direction: column; gap: 4px; }
.hom-topo small { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: #FFC800; }
:root:not([data-theme="dark"]) .hom-topo small { color: #9A7300; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hom-topo small { color: #FFC800; } }
.hom-topo h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 800; line-height: 1.15; }
.hom-fechar { width: 36px; height: 36px; border-radius: 18px; border: 0; background: var(--hom-fechar); color: var(--texto); display: flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
.hom-episodio { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 20px; background: var(--hom-cartao); }
.hom-capa { position: relative; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: #3A2819; }
.hom-capa img { display: block; width: 92px; height: 92px; object-fit: cover; }
.hom-capa .duracao { position: absolute; left: 8px; bottom: 8px; background: rgba(22, 20, 18, .8); color: #F5F0E6; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.hom-textos { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hom-textos small { font-size: 12px; color: var(--texto-2); font-weight: 600; }
.hom-textos small + b + small { font-weight: 400; }
.hom-textos b { font-size: 15px; font-weight: 700; line-height: 1.35; }
.hom-episodio.carregando .hom-textos b { color: var(--texto-2); font-weight: 600; }
.hom-antiga { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px dashed var(--cal-breve-borda); }
.hom-antiga span, .hom-aviso span { font-size: 13px; line-height: 1.35; }
.hom-antiga span { color: var(--hom-apagado); }
.hom-opcoes { display: flex; flex-direction: column; gap: 10px; }
.hom-botao { position: relative; height: 58px; border-radius: 29px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px !important; font-weight: 700 !important; padding: 0; text-decoration: none; }
.hom-botao.spotify { gap: 12px; background: #1DB954; color: #0B1F12; font-weight: 800 !important; }
.hom-botao.spotify:hover { color: #0B1F12; }
.hom-botao.youtube { border: 1px solid var(--cal-botao-borda); background: var(--hom-cartao); color: var(--hom-apagado); }
.hom-botao.youtube.ativo { color: var(--texto); }
.hom-botao .em-breve { height: 24px; padding: 0 10px; border-radius: 12px; background: var(--em-breve-fundo); color: var(--em-breve-texto); font-size: 11px; font-weight: 800; display: flex; align-items: center; }
.hom-aviso { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--hom-aviso); margin-bottom: 4px; }
@media (min-width: 700px) { .folha-homilia { align-items: center; } .hom-caixa { border-radius: 30px; border: 1px solid var(--hom-borda); } }

/* ---------- Santo Terço (out/2026): tela do Terço e terço guiado ---------- */
.set-gozosos { --acento: #2E5FA8; } .set-dolorosos { --acento: #B23A30; } .set-gloriosos { --acento: #9A7300; } .set-luminosos { --acento: #2F6B8A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .set-gozosos { --acento: #8EC2FF; } :root:not([data-theme="light"]) .set-dolorosos { --acento: #FF8A7A; }
  :root:not([data-theme="light"]) .set-gloriosos { --acento: #FFD94D; } :root:not([data-theme="light"]) .set-luminosos { --acento: #9FD8E8; }
}
:root[data-theme="dark"] .set-gozosos { --acento: #8EC2FF; } :root[data-theme="dark"] .set-dolorosos { --acento: #FF8A7A; }
:root[data-theme="dark"] .set-gloriosos { --acento: #FFD94D; } :root[data-theme="dark"] .set-luminosos { --acento: #9FD8E8; }

.tela-terco { color: var(--texto); padding-bottom: 8px; }
.tela-terco button { font: inherit; color: inherit; cursor: pointer; }
.terco-capa { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; max-height: 260px; width: 100%; background: var(--superficie-2); }
.terco-capa img, .terco-capa .terco-provisoria { display: block; width: 100%; height: 100%; object-fit: cover; }
.terco-provisoria svg { display: block; width: 100%; height: 100%; }
.terco-topo { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
.terco-topo h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 800; line-height: 1.05; }
.terco-topo p { margin: 0; font-size: 14px; color: var(--texto-2); }
.terco-abas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-top: 18px; border-radius: 22px; background: var(--superficie-2); }
.terco-aba { position: relative; height: 40px; border-radius: 18px; border: 0; background: transparent; color: var(--hom-apagado) !important; font-size: 13px !important; font-weight: 800 !important; padding: 0; }
.terco-aba.ativa { background: #FFC800; color: #2B1A0F !important; }
.terco-aba .ponto-hoje { position: absolute; top: 5px; right: 8px; width: 6px; height: 6px; border-radius: 3px; background: #FFC800; }
.terco-aba.ativa .ponto-hoje { background: #2B1A0F; }
.terco-comecar { margin-top: 16px; border-radius: 26px; background: #FFC800; color: #2B1A0F; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.terco-comecar .sobre { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.terco-comecar h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 25px; font-weight: 800; line-height: 1.15; }
.terco-comecar p { margin: 0 0 10px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.terco-comecar button { height: 50px; border-radius: 25px; border: 0; background: #2B1A0F; color: #FFF6DA !important; font-size: 15px !important; font-weight: 800 !important; display: flex; align-items: center; justify-content: center; gap: 8px; }
.terco-secao { padding-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.terco-secao h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.terco-secao h3 + p { margin: -10px 0 0; font-size: 13px; color: var(--texto-2); }
.terco-lista { border-radius: 22px; border: 1px solid var(--linha); overflow: hidden; }
.terco-linha { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--linha); background: transparent; text-align: left; }
.terco-linha:last-child { border-bottom: 0; }
.terco-linha.oracao { padding: 13px 16px; }
.terco-linha .corpo { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.terco-linha .corpo b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.terco-linha .corpo small { font-size: 12px; color: var(--texto-2); line-height: 1.35; }
.terco-linha .seta { color: var(--texto-3); flex-shrink: 0; display: flex; }
.terco-mini { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--superficie-3); }
.terco-mini img, .terco-mini .terco-provisoria { display: flex; width: 52px; height: 52px; object-fit: cover; align-items: center; justify-content: center; }
.terco-mini .terco-provisoria b { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 800; color: #FFF6DA; }
.terco-num { width: 28px; height: 28px; border-radius: 14px; background: var(--cal-etiqueta); color: var(--hom-apagado); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Terço guiado: tela cheia, sem a barra de baixo */
body.terco-aberto { overflow: hidden; }
body.terco-aberto .abas { visibility: hidden; }
.terco-guiado { --terco-escala: 1; position: fixed; inset: 0; z-index: 9700; overflow-y: auto; overscroll-behavior: contain; background: var(--fundo); color: var(--texto); font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.terco-guiado button { font: inherit; cursor: pointer; }
.tg-miolo { max-width: 560px; margin: 0 auto; padding: calc(var(--seguro-topo) + 16px) 0 calc(var(--seguro-baixo) + 120px); }
.terco-guiado.misterio .tg-miolo { padding-bottom: calc(var(--seguro-baixo) + 40px); }
.tg-cabeca { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.tg-redondo { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--superficie-2); color: var(--texto); display: flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
.tg-redondo.aa { font-size: 15px !important; font-weight: 800 !important; }
.tg-onde { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tg-onde small { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--texto-2); }
.tg-onde b { font-size: 14px; font-weight: 700; }
.tg-progresso { height: 4px; margin: 12px 16px 0; border-radius: 2px; background: var(--cal-etiqueta); overflow: hidden; }
.tg-progresso i { display: block; height: 4px; background: #FFC800; }
.tg-segmentos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 12px 16px 0; }
.tg-segmentos span { height: 4px; border-radius: 2px; background: var(--cal-etiqueta); }
.tg-segmentos .feito { background: #FFC800; } .tg-segmentos .atual { background: var(--acento); }
.tg-corpo { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 18px; }
.tg-titulo { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: calc(32px * var(--terco-escala)); font-weight: 800; line-height: 1.1; }
.tg-instrucao { margin: -8px 0 0; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: calc(16px * var(--terco-escala)); color: var(--hom-apagado); line-height: 1.45; }
.tg-texto { margin: 0; font-size: calc(18px * var(--terco-escala)); line-height: 1.65; }
.tg-texto.pequeno { font-size: calc(15px * var(--terco-escala)); line-height: 1.55; color: var(--texto-2); }
.tg-texto .vr { color: var(--texto-2); }
.tg-texto i, .tg-guia-txt i { font-style: normal; color: var(--texto-2); font-weight: 600; }
.tg-foto, .tg-imagem { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--superficie-2); }
.tg-foto img, .tg-imagem img, .tg-foto .terco-provisoria, .tg-imagem .terco-provisoria { display: block; width: 100%; height: 100%; object-fit: cover; }
.tg-imagem { margin: -4px 0 0; }
.tg-em-nome { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--cal-ok-fundo); }
.tg-em-nome > span { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.tg-em-nome b { font-size: calc(18px * var(--terco-escala)); font-weight: 800; line-height: 1.35; }
.tg-link { border: 0; background: none; padding: 0; color: var(--cal-ok-texto); font-size: 13px !important; font-weight: 700 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tg-link { color: #FFC800; } :root:not([data-theme="light"]) .tg-em-nome b { color: #FFF0C2; } }
:root[data-theme="dark"] .tg-link { color: #FFC800; } :root[data-theme="dark"] .tg-em-nome b { color: #FFF0C2; }
.tg-sinal { border-radius: 22px; border: 1px solid var(--linha); overflow: hidden; }
.tg-sinal-linha { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--linha); }
.tg-sinal-linha:last-child { border-bottom: 0; }
.tg-sinal-foto { position: relative; width: 120px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: var(--superficie-2); }
.tg-sinal-foto img, .tg-sinal-foto .terco-provisoria { display: block; width: 100%; height: 100%; object-fit: cover; }
.tg-num { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 13px; background: #FFC800; color: #2B1A0F; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tg-sinal-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tg-sinal-txt small, .tg-guia-txt small { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--texto-2); }
.tg-sinal-txt b { font-size: calc(18px * var(--terco-escala)); font-weight: 700; line-height: 1.35; }
.tg-guia-nome { border-radius: 22px; background: var(--superficie-2); padding: 14px; display: flex; gap: 14px; align-items: center; }
.tg-guia-foto { width: 120px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.tg-guia-foto img, .tg-guia-foto .terco-provisoria { display: block; width: 100%; height: 100%; object-fit: cover; }
.tg-guia-txt { display: flex; flex-direction: column; gap: 6px; }
.tg-guia-txt b { font-size: calc(15px * var(--terco-escala)); font-weight: 700; line-height: 1.4; }
.tg-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tg-tres-conta { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; border: 1px solid var(--linha); background: var(--superficie-2); color: var(--texto); }
.tg-tres-conta .bolinha { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--cal-botao-borda); background: var(--superficie-3); }
.tg-tres-conta.atual .bolinha { border: 2px solid #FFC800; }
.tg-tres-conta.feita .bolinha { border: 0; background: #FFC800; }
.tg-tres-conta.feita { background: var(--cal-ok-fundo); border-color: var(--cal-ok-borda); }
.tg-tres-conta b { font-size: 15px; font-weight: 800; }
.tg-tres-conta small { font-size: 11px; color: var(--texto-2); }
.tg-rodape { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 20px calc(var(--seguro-baixo) + 20px); background: var(--fundo); border-top: 1px solid var(--superficie-3); display: flex; gap: 10px; justify-content: center; }
.tg-rodape > * { max-width: 340px; }
.tg-botao { flex: 1; min-height: 52px; border-radius: 26px; border: 1px solid var(--cal-botao-borda); background: transparent; color: var(--texto); font-size: 14px !important; font-weight: 700 !important; padding: 0 12px; }
.tg-botao.escuro { flex: 1.4; background: var(--superficie-2); }
.tg-amarelo { flex: 1.6; min-height: 52px; border-radius: 26px; border: 0; background: #FFC800; color: #2B1A0F; font-size: 14px !important; font-weight: 800 !important; padding: 0 10px; text-align: center; }
/* Mistério */
.tg-misterio { display: flex; flex-direction: column; gap: 12px; }
.tg-kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: var(--acento); }
.tg-anuncio { display: flex; flex-direction: column; gap: 6px; }
.tg-anuncio small { font-size: calc(14px * var(--terco-escala)); color: var(--texto-2); }
.tg-anuncio h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: calc(25px * var(--terco-escala)); font-weight: 800; line-height: 1.18; }
.tg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tg-chip { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 16px; background: var(--superficie-2); border: 1px solid var(--linha); color: var(--texto); font-size: 12px; font-weight: 700; text-decoration: none; }
.tg-chip.fruto { background: var(--cal-ok-fundo); border-color: transparent; color: var(--cal-ok-texto); }
.tg-cartoes { display: flex; flex-direction: column; gap: 10px; }
.tg-vida { border-radius: 22px; background: var(--superficie-2); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.tg-vida small, .tg-dezena-topo small, .tg-fim-dezena > small { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--texto-2); }
.tg-vida p { margin: 0; font-size: calc(16px * var(--terco-escala)); line-height: 1.55; }
.tg-pecamos { display: flex; gap: 12px; align-items: flex-start; border-radius: 22px; background: var(--cal-ok-fundo); padding: 16px 18px; }
.tg-pecamos p { margin: 0; font-size: calc(15px * var(--terco-escala)); line-height: 1.5; }
.tg-pecamos b { font-weight: 800; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tg-pecamos p { color: #FFF0C2; } }
:root[data-theme="dark"] .tg-pecamos p { color: #FFF0C2; }
.tg-dezena { border-radius: 24px; border: 1px solid var(--linha); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.tg-dezena-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tg-dezena-topo > span { display: flex; flex-direction: column; gap: 2px; }
.tg-dezena-topo b { font-size: 18px; font-weight: 800; }
.tg-contas { display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.tg-conta { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--cal-botao-borda); background: var(--superficie-3); padding: 0; flex-shrink: 0; }
.tg-conta.grande { width: 30px; height: 30px; background: var(--cal-etiqueta); }
.tg-conta.atual { border: 2px solid #FFC800; }
.tg-conta.feita { border: 0; background: #FFC800; }
.tg-dica { font-size: 12px; color: var(--texto-2); text-align: center; }
.tg-fim-dezena { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--superficie-2); }
.tg-fim-dezena .tg-texto { font-size: calc(16px * var(--terco-escala)); line-height: 1.55; }
.tg-fim-dezena > small:not(:first-child) { margin-top: 6px; }
.tg-dezena .tg-amarelo { flex: none; min-height: 50px; }
.tg-nav-misterio { display: flex; gap: 10px; }
.tg-nav-misterio .tg-botao { min-height: 50px; }
/* Folha "Como fazer o sinal da cruz" */
.folha-terco { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 7, 6, .72); opacity: 0; transition: opacity .2s; }
.folha-terco.aberta { opacity: 1; }
.ft-caixa { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--hom-fundo); color: var(--texto); border-radius: 30px 30px 0 0; border-top: 1px solid var(--hom-borda); padding: 16px 20px calc(30px + var(--seguro-baixo)); display: flex; flex-direction: column; gap: 16px; --terco-escala: 1; }
.ft-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ft-topo b { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 800; }
@media (min-width: 700px) { .folha-terco { align-items: center; } .ft-caixa { border-radius: 30px; } }
@media (max-width: 359px) { .tg-conta { width: 18px; height: 18px; } .tg-conta.grande { width: 24px; height: 24px; } .tg-dezena { padding: 16px 14px; } }
:root:not([data-theme="dark"]) .tg-pecamos svg rect { fill: #D9C9A8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tg-pecamos svg rect { fill: #F3EAD8; } }

/* ---------- Informações da paróquia (out/2026): mesma lista discreta das Atividades e do Clero ---------- */
.informacoes-paroquia { border: 1px solid var(--linha); border-radius: var(--raio); background: var(--superficie-2); overflow: hidden; }
.info-paroquia { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; color: var(--texto); text-decoration: none; }
.info-paroquia + .info-paroquia { border-top: .5px solid var(--linha); }
.info-paroquia .rotulo { color: var(--texto-2); font-size: .74em; font-weight: 700; letter-spacing: .02em; }
.info-paroquia .texto { font-size: .9em; line-height: 1.4; overflow-wrap: anywhere; }
.info-paroquia .texto small { color: var(--texto-2); font-size: .85em; }
a.info-paroquia .texto { color: var(--texto); font-weight: 700; }

/* ---------- Rogai por nós (nov/2026): um santo por vez nas jaculatórias e no "Descobrir santos" ---------- */
.rogai { display: flex; align-items: center; min-height: 72px; margin: 28px 0 0; border: 2px solid #FFC800; border-radius: 999px; }
.rogai-seta { flex: none; align-self: stretch; width: 68px; display: flex; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--texto); padding: 0; cursor: pointer; border-radius: 999px; }
.rogai-seta:disabled { opacity: .3; cursor: default; }
.rogai-seta .pic2 { width: 22px; height: 22px; }
.rogai-santo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 10px 12px; text-align: center; }
.rogai-seta { position: relative; }
.rogai-seta::after { content: ""; position: absolute; top: 50%; height: 46px; width: 1.5px; margin-top: -23px; border-radius: 1px; background: var(--texto-2); opacity: .6; }
.rogai-seta:first-child::after { right: 0; }
.rogai-seta:last-child::after { left: 0; }
.rogai-santo b { font-family: "Playfair Display", Georgia, serif; font-size: calc(20px * var(--terco-escala, 1)); font-weight: 700; line-height: 1.2; }
.rogai-santo i { font-family: "Playfair Display", Georgia, serif; font-size: calc(17px * var(--terco-escala, 1)); font-style: italic; color: var(--texto); opacity: .9; }
.tg-fim-dezena .rogai { margin-top: 18px; }

.botao-descobrir { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; min-height: 46px; margin: 22px auto 8px; padding: 5px 14px 5px 16px;
  border: 0; border-radius: 999px; background: linear-gradient(180deg, #F8D45C, #F4C430 60%, #E5B11E); color: #1A1A1A; font: inherit; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 16px rgba(180, 130, 10, .25); }
.botao-descobrir .ic { flex: none; width: 18px; height: 18px; }
.botao-descobrir span { display: grid; text-align: left; line-height: 1.2; }
.botao-descobrir b { font-size: .9em; }
.botao-descobrir small { font-size: .7em; font-weight: 650; opacity: .78; }

.descobrir-santos { position: fixed; inset: 0; z-index: 9750; overflow-y: auto; overscroll-behavior: contain; background: var(--fundo); color: var(--texto);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.descobrir-santos button { font: inherit; cursor: pointer; }
.ds-miolo { max-width: 560px; margin: 0 auto; padding: calc(var(--seguro-topo) + 16px) 0 calc(var(--seguro-baixo) + 32px); }
.descobrir-santos .tg-redondo.vazio { background: none; }
.ds-corpo { padding: 22px 20px 0; display: flex; flex-direction: column; align-items: stretch; }
.ds-arte { display: block; width: min(100%, 340px); margin: 0 auto; padding: 0; border: 0; background: none; border-radius: 10px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.ds-arte img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ds-arte.ilustrada { width: auto; padding: 18px 0 4px; box-shadow: none; overflow: visible; }
.ds-arte.ilustrada .arte-santo.grande { width: 168px; height: 210px; }
.ds-data { margin: 14px 0 0; text-align: center; color: var(--texto-2); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ds-corpo .rogai { margin-top: 14px; }
.ds-historia { align-self: center; display: inline-flex; align-items: center; gap: 4px; margin: 16px 0 0; padding: 10px 16px; border: 0; border-radius: 999px;
  background: var(--superficie-2); color: var(--texto); font-size: 14px !important; font-weight: 700 !important; }
.ds-historia .pic { width: 16px; height: 16px; }
.ds-conta { margin: 14px 0 0; text-align: center; color: var(--texto-3, var(--texto-2)); font-size: 12px; }
.tg-fim-dezena .rogai-seta { width: 46px; }
.tg-fim-dezena .rogai-santo { padding: 10px 6px; }
.tg-fim-dezena .rogai-santo b { font-size: calc(17px * var(--terco-escala, 1)); }
.tg-fim-dezena .rogai-santo i { font-size: calc(15px * var(--terco-escala, 1)); }
@media (max-width: 360px) { .rogai-seta { width: 50px; } .tg-fim-dezena .rogai-seta { width: 40px; } }
.login-cartao .campo-icone { background: var(--superficie); border-color: var(--linha); }
:root:not([data-theme="dark"]) .link-direita { color: #8A6400; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-direita { color: #FFC800; } }
.login-social .social svg { flex: none; width: 17px; height: 17px; }
.login-social .social { flex-direction: row; }
:root:not([data-theme="dark"]) .login-social .social.apple { background: #111; color: #FFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-social .social.apple { background: #F5F0E6; color: #111; } }
@media (max-height: 640px) { .login-logo .logo-fiel { width: 84px; height: 78px; } .login-logo b { font-size: 44px; } }

/* ---------- Padrão premium do canvas (nov/2026): listas agrupadas do iPhone ---------- */
/* Título de página em Playfair; rótulo de seção em caixa-alta pequena; cartões arredondados;
   separadores finos que começam depois do ícone; chaves 51×31 verdes. */
.titulo-pagina { margin: 6px 2px 4px; font-family: "Playfair Display", Georgia, serif; font-size: 32px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.cfg-rotulo { margin: 24px 16px 8px; color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cfg-grupo { overflow: hidden; border-radius: 20px; background: var(--superficie-2); }
.cfg-linha {
  position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-height: 56px; padding: 11px 16px;
  border: 0; background: none; color: var(--texto); font: inherit; text-align: left; text-decoration: none; box-sizing: border-box;
}
button.cfg-linha, a.cfg-linha { cursor: pointer; }
button.cfg-linha:disabled { opacity: .5; cursor: default; }
.cfg-linha + .cfg-linha::before { content: ""; position: absolute; top: 0; right: 0; left: 60px; height: 1px; background: var(--linha); }
.cfg-linha.seg + .cfg-linha::before, .cfg-linha.info + .cfg-linha::before, .cfg-linha.seg::before { left: 16px; }
.cfg-linha .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cfg-linha .corpo b { font-size: 16px; font-weight: 600; }
.cfg-linha .corpo small { color: var(--texto-2); font-size: 13px; line-height: 1.35; }
.cfg-linha > .ic:last-child { flex: none; width: 16px; height: 16px; color: var(--texto-3); }
.cfg-icone { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 200, 0, .12); color: #C99A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cfg-icone { color: #FFC800; } }
:root[data-theme="dark"] .cfg-icone { color: #FFC800; }
.cfg-icone .ic { width: 18px; height: 18px; stroke-width: 1.7; }
.cfg-miniatura { flex: none; width: 44px; height: 54px; border-radius: 9px; overflow: hidden; }
.cfg-miniatura .arte-santo { width: 44px; height: 54px; border-radius: 9px; box-shadow: none; }
.cfg-miniatura .arte-santo img { border-radius: 9px; }
.cfg-linha.seg { justify-content: space-between; gap: 14px; }
.cfg-linha.seg > b { flex: none; font-size: 16px; font-weight: 600; }
.cfg-linha.seg .segmentado { flex: 1; max-width: 260px; margin: 0; }
.cfg-linha.info { justify-content: space-between; min-height: 48px; }
.cfg-linha.info b { font-weight: 600; font-size: 15px; }
.cfg-linha.info span { color: var(--texto-2); font-size: 14px; text-align: right; }
.cfg-nota { margin: 8px 16px 0; color: var(--texto-2); font-size: 13px; line-height: 1.45; }
.segmento.segmentado { display: grid; gap: 0; padding: 2px; border-radius: 10px; background: rgba(118, 118, 128, .24); }
.segmento.segmentado button { min-height: 32px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: none; background: none; color: var(--texto); }
.segmento.segmentado button.ativo { background: #FFFFFF; color: #1A1A1A; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .segmento.segmentado button.ativo { background: #636366; color: #F5F0E6; } }
:root[data-theme="dark"] .segmento.segmentado button.ativo { background: #636366; color: #F5F0E6; }
/* Chave liga/desliga no padrão do iPhone (51×31; verde #30D158; cinza #39393D no escuro) */
button.interruptor { width: 51px; height: 31px; background: #E9E9EB; }
.interruptor span { background: #E9E9EB; }
.interruptor input:checked + span { background: #30D158; }
button.interruptor i { top: 2px; left: 2px; width: 27px; height: 27px; }
button.interruptor[aria-checked="true"] { background: #30D158; }
button.interruptor[aria-checked="true"] i { transform: translateX(20px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) button.interruptor:not([aria-checked="true"]), :root:not([data-theme="light"]) .interruptor span { background: #39393D; } :root:not([data-theme="light"]) .interruptor input:checked + span { background: #30D158; } }
:root[data-theme="dark"] button.interruptor:not([aria-checked="true"]), :root[data-theme="dark"] .interruptor span { background: #39393D; } :root[data-theme="dark"] .interruptor input:checked + span { background: #30D158; }
@media (max-width: 360px) { .cfg-linha.seg { flex-direction: column; align-items: stretch; gap: 8px; } .cfg-linha.seg .segmentado { max-width: none; } }

/* ---------- Perfil da equipe da paróquia (canvas PerfilParoquia / PerfilPadre) ---------- */
.pf-colunas.grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-colunas.grade > :nth-child(3), .pf-colunas.grade > :nth-child(4) { border-top: 1px solid rgba(43, 26, 15, .16) !important; }
.pf-colunas.grade > :nth-child(3) { border-left: 0 !important; padding-left: 20px !important; }
.pf-coluna-fixa { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 16px 14px; border-left: 1px solid rgba(43, 26, 15, .16); min-width: 0; }
.pf-cartao-rodape { display: flex; align-items: center; gap: 8px; padding: 12px 20px 14px; border-top: 1px solid rgba(43, 26, 15, .16); font-size: 13px; font-weight: 600; }
.pf-cartao-rodape .ic { width: 16px; height: 16px; }
.pf-sua-paroquia { margin: 14px 20px 0; border-radius: 22px; background: var(--superficie-2); overflow: hidden; }
.pf-sua-paroquia.analise { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.pf-sp-topo { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; }
.pf-escudo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 23px; background: #7A1F24; color: #FFC800; }
.pf-escudo .ic { width: 22px; height: 22px; }
.pf-sua-paroquia .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pf-sua-paroquia .corpo small { color: var(--texto-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.pf-sua-paroquia .corpo b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.pf-sua-paroquia .corpo em { font-style: normal; color: var(--texto-2); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.pf-gerenciar { flex: none; padding: 7px 14px; border: 0; border-radius: 999px; background: rgba(255, 200, 0, .16); color: #B08400; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-gerenciar { color: #FFC800; } }
:root[data-theme="dark"] .pf-gerenciar { color: #FFC800; }
.pf-atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px 12px 14px; }
.pf-atalho { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--texto-2); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.pf-atalho span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--superficie-3, rgba(255, 255, 255, .06)); color: #C99A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-atalho span { color: #FFC800; } }
:root[data-theme="dark"] .pf-atalho span { color: #FFC800; }
.pf-atalho .ic { width: 21px; height: 21px; stroke-width: 1.7; }
.pf-confirmacao { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-top: 1px solid var(--linha); background: none; color: var(--texto-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.pf-confirmacao span { display: flex; align-items: center; gap: 8px; }
.pf-confirmacao span.ok .ic { color: #30D158; }
.pf-confirmacao .ic { width: 16px; height: 16px; flex: none; }
.pf-confirmacao b { color: #B08400; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-confirmacao b { color: #FFC800; } }
:root[data-theme="dark"] .pf-confirmacao b { color: #FFC800; }

/* Sem conexão: aviso discreto no topo das listas (nov/2026) */
.aviso-conexao { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 200, 0, .12); color: var(--texto); font-size: 13px; line-height: 1.4; }
.aviso-conexao > .ic { flex: none; width: 18px; height: 18px; color: #C99A00; }
.aviso-conexao span { flex: 1; min-width: 0; }
.aviso-conexao button { flex: none; padding: 6px 10px; border: 0; border-radius: 999px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- Painel da paróquia dentro do app (canvas PainelParoquia, HorariosMissa, HorarioEditar) ---------- */
.pn-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 6px; }
.pn-voltar, .pn-ver-fiel { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: none; color: #B08400; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.pn-voltar .ic, .pn-ver-fiel .ic { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-voltar, :root:not([data-theme="light"]) .pn-ver-fiel, :root:not([data-theme="light"]) .pn-mais { color: #FFC800; } }
:root[data-theme="dark"] .pn-voltar, :root[data-theme="dark"] .pn-ver-fiel, :root[data-theme="dark"] .pn-mais { color: #FFC800; }
.pn-mais { width: 40px; height: 40px; border: 0; background: none; color: #B08400; font-size: 32px; font-weight: 300; line-height: 1; cursor: pointer; }
.pn-igreja { display: flex; align-items: center; gap: 14px; margin: 10px 2px 16px; }
.pn-igreja .pf-escudo { width: 58px; height: 58px; border-radius: 29px; }
.pn-igreja h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1.1; }
.pn-igreja em { color: var(--texto-2); font-family: "Playfair Display", Georgia, serif; font-size: 16px; }
.pn-trocar { display: flex; gap: 8px; overflow-x: auto; margin: -6px 0 14px; padding-bottom: 2px; }
.pn-trocar button { flex: none; padding: 7px 12px; border: 1px solid var(--linha); border-radius: 999px; background: none; color: var(--texto-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pn-trocar button.ativo { border-color: transparent; background: #FFC800; color: #2B1A0F; }
.pn-confirmar { display: flex; gap: 14px; padding: 18px 16px; border-radius: 22px; background: var(--superficie-2); border: 1px solid var(--linha); }
.pn-confirmar .corpo { flex: 1; min-width: 0; display: grid; gap: 4px; }
.pn-confirmar .corpo b { font-size: 17px; font-weight: 700; }
.pn-confirmar .corpo small { color: var(--texto-2); font-size: 14px; line-height: 1.4; }
.pn-check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 17px; background: rgba(128, 128, 128, .35); color: #FFF; }
.pn-check .ic { width: 18px; height: 18px; }
.pn-confirmar.feito { background: rgba(48, 209, 88, .12); border-color: rgba(48, 209, 88, .35); }
.pn-confirmar.feito .pn-check { background: #30D158; }
.pn-botoes { display: flex; gap: 10px; margin-top: 10px; }
.pn-sim, .pn-revisar { flex: 1; min-height: 46px; border: 0; border-radius: 23px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pn-sim { flex: 1.4; background: #FFC800; color: #2B1A0F; }
.pn-revisar { background: var(--superficie-3, rgba(255, 255, 255, .08)); color: var(--texto); }
.pn-atalhos-grandes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pn-atalhos-grandes a { display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: var(--superficie-2); color: var(--texto); text-decoration: none; }
.pn-atalhos-grandes a.amarelo { background: #FFC800; color: #2B1A0F; }
.pn-atalhos-grandes .ic { width: 22px; height: 22px; margin-bottom: 8px; }
.pn-atalhos-grandes b { font-size: 17px; font-weight: 700; }
.pn-atalhos-grandes small { font-size: 13px; opacity: .75; }
.pn-sub { margin: 0 2px 14px; color: var(--texto-2); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 17px; }
.pn-abas { margin-bottom: 4px; }
/* Linha no estilo do alarme do iPhone: hora grande e fina, descrição embaixo e a chave verde */
.pn-alarme { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.pn-alarme + .pn-alarme::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--linha); }
.pn-alarme-corpo { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 0; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.pn-hora { display: flex; align-items: baseline; gap: 10px; font-size: 54px; font-weight: 300; letter-spacing: -1px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pn-hora small { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--texto-2); }
.pn-desc { color: var(--texto-2); font-size: 15px; line-height: 1.35; }
.pn-alarme.desligado .pn-hora, .pn-alarme.desligado .pn-desc { opacity: .4; }
.pn-excecao { align-items: center; }
.pn-data { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--superficie-3, rgba(255, 255, 255, .06)); line-height: 1; }
.pn-data small { color: #C99A00; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.pn-data b { font-size: 18px; font-weight: 700; }
.pn-desfazer { flex: none; padding: 6px 10px; border: 0; border-radius: 999px; background: var(--superficie-3, rgba(255, 255, 255, .08)); color: var(--texto); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
/* Editor: folha que sobe de baixo */
.pn-folha { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0); transition: background .25s; }
.pn-folha.aberta { background: rgba(0, 0, 0, .55); }
.pn-caixa { width: min(100%, 560px); max-height: 92dvh; overflow-y: auto; padding: 10px 16px calc(var(--seguro-baixo) + 24px); border-radius: 22px 22px 0 0; background: var(--fundo); color: var(--texto); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 14px; }
.pn-folha.aberta .pn-caixa { transform: none; }
.pn-folha-topo { position: sticky; top: -10px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 -16px; padding: 14px 16px 8px; background: var(--fundo); }
.pn-folha-topo b { font-size: 16px; font-weight: 700; text-align: center; }
.pn-folha-topo button { padding: 4px 0; border: 0; background: none; color: #B08400; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.pn-folha-topo button.salvar { font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-folha-topo button { color: #FFC800; } }
:root[data-theme="dark"] .pn-folha-topo button { color: #FFC800; }
.pn-folha-topo button:disabled { opacity: .5; }
/* Roda de horas e minutos (de 5 em 5), como a do iPhone */
.pn-roda { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; height: 220px; }
.pn-roda-faixa { position: absolute; left: 0; right: 0; top: 88px; height: 44px; border-radius: 10px; background: rgba(118, 118, 128, .24); pointer-events: none; }
.pn-roda-col { position: relative; z-index: 1; width: 72px; height: 220px; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); outline: none; }
.pn-roda-col::-webkit-scrollbar { display: none; }
.pn-roda-item, .pn-roda-pad { display: grid; place-items: center; height: 44px; scroll-snap-align: center; font-size: 24px; font-variant-numeric: tabular-nums; color: var(--texto-2); }
.pn-roda-item.atual { color: var(--texto); font-weight: 600; }
.pn-roda-dois { position: relative; z-index: 1; font-size: 24px; font-weight: 600; }
.pn-rotulo-roda { margin: 0 4px -8px; color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.pn-repetir { display: grid; gap: 10px; }
.pn-repetir > span { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.pn-repetir small { color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.pn-repetir b { color: #B08400; font-size: 14px; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-repetir b { color: #FFC800; } }
:root[data-theme="dark"] .pn-repetir b { color: #FFC800; }
.pn-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pn-dias button { aspect-ratio: 1; max-width: 48px; justify-self: center; width: 100%; border: 1px solid var(--linha); border-radius: 50%; background: none; color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pn-dias button.ativo { border-color: transparent; background: #FFC800; color: #2B1A0F; }
.pn-campos { display: grid; }
.pn-campo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; }
.pn-campo + .pn-campo::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--linha); }
.pn-campo > span:first-child { flex: none; font-size: 16px; font-weight: 500; }
.pn-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--texto-2); font: inherit; font-size: 16px; text-align: right; }
.pn-campo input:focus { color: var(--texto); }
.pn-semanas { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pn-semanas button { padding: 5px 9px; border: 1px solid var(--linha); border-radius: 999px; background: none; color: var(--texto-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pn-semanas button.ativo { border-color: transparent; background: rgba(255, 200, 0, .2); color: var(--texto); }
.pn-mudar-uma { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--linha); border-radius: 24px; background: none; color: var(--texto); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.pn-mudar-uma .ic { width: 18px; height: 18px; }
.pn-apagar { align-self: center; padding: 10px 16px; border: 0; background: none; color: #E5605B; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.pn-escolher-horario { display: grid; gap: 6px; }
.pn-escolher-horario small { color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 0 4px; }
.pn-escolher-horario select { min-height: 48px; padding: 0 12px; border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 15px; }

/* ---------- Tipo de conta (canvas PerfilTipo) ---------- */
.tc-sub { margin: 0 2px 18px; color: var(--texto-2); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 17px; }
.tc-opcao { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.cfg-icone.ativo { background: #FFC800; color: #2B1A0F !important; }
.tc-radio { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 4px; border: 1.5px solid var(--texto-3); border-radius: 50%; }
.tc-radio.marcado { border-color: transparent; background: #FFC800; color: #2B1A0F; }
.tc-radio .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.tc-paroquia { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.tc-paroquia + .tc-paroquia::before, .tc-busca + .tc-paroquia::before, .tc-paroquia + .tc-adicionar::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--linha); }
.tc-paroquia .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tc-paroquia .corpo b { font-size: 16px; font-weight: 600; }
.tc-paroquia .corpo small { color: var(--texto-2); font-size: 13px; }
.pf-escudo.pequeno { width: 38px; height: 38px; border-radius: 19px; }
.pf-escudo.pequeno .ic { width: 18px; height: 18px; }
.tc-check .ic { width: 20px; height: 20px; color: #FFC800; stroke-width: 2.2; }
.tc-adicionar .cfg-icone { font-size: 22px; font-weight: 400; }
.tc-adicionar .corpo b { color: #B08400; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-adicionar .corpo b { color: #FFC800; } }
:root[data-theme="dark"] .tc-adicionar .corpo b { color: #FFC800; }
.tc-busca, .tc-campo { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; color: var(--texto-2); }
.tc-campo { border-radius: 16px; background: var(--superficie-2); border: 1px solid var(--linha); }
.tc-busca .ic, .tc-campo .ic { flex: none; width: 19px; height: 19px; }
.tc-busca input, .tc-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--texto); font: inherit; font-size: 16px; }
.tc-aviso { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--linha); color: var(--texto-2); font-size: 14px; line-height: 1.45; }
.tc-aviso .ic { flex: none; width: 20px; height: 20px; color: #C99A00; }
.tc-enviar { width: 100%; min-height: 54px; margin-top: 22px; border-radius: 27px; font-size: 16px; font-weight: 700; }

/* Equipe da paróquia (painel) */
.pn-pessoa { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
.pn-pessoa + .pn-pessoa::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--linha); }
.pn-iniciais { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 19px; background: #FFF4CC; color: #2B1A0F; font-size: 14px; font-weight: 800; }
.pn-pessoa .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pn-pessoa .corpo b { font-size: 16px; font-weight: 600; }
.pn-pessoa .corpo small { color: var(--texto-2); font-size: 13px; line-height: 1.35; }
.pn-pessoa.pedido .pn-acoes { flex-basis: 100%; display: flex; justify-content: flex-end; gap: 8px; padding-left: 50px; }
.pn-mini { display: inline-flex; align-items: center; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--superficie-3, rgba(255, 255, 255, .08)); color: var(--texto); font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.pn-mini.amarelo { background: #FFC800; color: #2B1A0F; }

/* ---------- Convites e agenda da paróquia (canvas Main, Convite, ParoquiaPerfil) ---------- */
.cv-legenda { margin: -6px 0 12px; color: var(--texto-2); font-size: 13px; }
.cv-carrossel { gap: 12px; }
/* Netflix: cartões de 4:5 e o último cortado pela metade */
.cv-cartao { flex: none; width: 46%; max-width: 210px; display: grid; gap: 4px; padding: 0; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; }
.cv-arte { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--superficie-2); }
.cv-arte img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-sem-arte { display: grid; place-items: center; height: 100%; padding: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--cor) 55%, #1D1B18), #1D1B18); color: #F5F0E6; text-align: center; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.cv-data { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; min-width: 42px; padding: 5px 6px 4px; border-radius: 10px; background: rgba(22, 20, 18, .82); color: #F5F0E6; line-height: 1; }
.cv-data small { color: #FFC800; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.cv-data b { font-size: 19px; font-weight: 800; margin-top: 2px; }
.cv-titulo { margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.cv-sub { color: var(--texto-2); font-size: 12.5px; }
.cv-secao { margin: 22px 0 6px; }
.cv-secao h2 { margin: 0 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.cv-secao h2 small { color: var(--texto-2); font-size: 13px; font-weight: 500; letter-spacing: 0; }
/* Tela do convite */
.pagina-convite { padding-bottom: 20px; }
.cv-redondo { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--linha); border-radius: 20px; background: none; color: var(--texto); cursor: pointer; }
.cv-redondo .ic { width: 18px; height: 18px; }
.cv-arte-grande { position: relative; margin: 6px 0 14px; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; background: var(--superficie-2); }
.cv-arte-grande img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cv-arte-grande.inteira { aspect-ratio: auto; }
.cv-arte-grande.inteira img { height: auto; object-fit: contain; }
.cv-ver-arte { position: absolute; right: 10px; bottom: 10px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(22, 20, 18, .82); color: #F5F0E6; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cv-paroquia { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 2px 12px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cv-paroquia .corpo { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cv-paroquia .corpo b { font-size: 15px; font-weight: 700; }
.cv-paroquia .corpo small { color: var(--texto-2); font-size: 12.5px; }
.cv-ver { color: #B08400; font-size: 14px; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cv-ver { color: #FFC800; } }
:root[data-theme="dark"] .cv-ver { color: #FFC800; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.cv-chip { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--cor) 22%, transparent); color: var(--texto); font-size: 13px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--cor) 55%, transparent); }
.cv-chip.neutro { background: var(--superficie-2); border-color: var(--linha); }
.cv-h1 { margin: 0 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.12; }
.cv-descricao { margin: 0 0 14px; color: var(--texto-2); font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.cv-lembrar { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 16px; border: 0; border-radius: 27px; background: #FFC800; color: #2B1A0F; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.cv-lembrar.ativo { background: rgba(48, 209, 88, .16); color: var(--texto); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, .5); }
.cv-lembrar .ic { width: 20px; height: 20px; }
.cv-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cv-botao { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 1px solid var(--linha); border-radius: 25px; background: none; color: var(--texto); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cv-botao .ic { width: 18px; height: 18px; }
.cv-h2 { margin: 24px 2px 10px; font-size: 20px; font-weight: 800; }
.cv-linha-evento { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cv-linha-evento + .cv-linha-evento::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--linha); }
.cv-linha-evento img, .cv-mini { flex: none; width: 64px; height: 80px; border-radius: 10px; object-fit: cover; }
.cv-mini { background: linear-gradient(160deg, color-mix(in srgb, var(--cor) 60%, #1D1B18), #1D1B18); }
.cv-linha-evento .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cv-linha-evento .corpo small { font-size: 12.5px; font-weight: 700; }
.cv-linha-evento .corpo b { font-size: 16px; font-weight: 700; }
.cv-linha-evento .corpo em { color: var(--texto-2); font-style: normal; font-size: 13px; }
.cv-linha-evento > .ic { flex: none; width: 16px; height: 16px; color: var(--texto-3); }
.cv-agenda-mes { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.cv-agenda-mes > .ic:first-child { width: 22px; height: 22px; color: #C99A00; }
.cv-agenda-mes span { flex: 1; display: grid; gap: 2px; }
.cv-agenda-mes small { color: var(--texto-2); font-size: 13px; }
.cv-toast { position: fixed; z-index: 9900; left: 12px; right: 12px; top: calc(var(--seguro-topo) + 12px); max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #FFC800; color: #2B1A0F; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-size: 14px; cursor: pointer; }
.cv-toast > .ic { flex: none; width: 20px; height: 20px; }
.cv-toast span { flex: 1; }
.cv-toast button { border: 0; background: none; color: inherit; cursor: pointer; padding: 4px; }
.cv-toast button .ic { width: 16px; height: 16px; }
.botao-minha-paroquia { display: inline-flex; margin: 8px 0 4px; padding: 8px 14px; border: 0; border-radius: 999px; background: #FFC800; color: #2B1A0F; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
/* Agenda do mês da paróquia */
.ag-mes { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 10px; }
.ag-mes b { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 700; }
.ag-mes b small { color: var(--texto-2); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; font-weight: 500; }
.ag-filtros { display: flex; gap: 8px; overflow-x: auto; margin: 0 -2px 12px; padding: 0 2px 2px; scrollbar-width: none; }
.ag-filtros::-webkit-scrollbar { display: none; }
.ag-filtros button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--linha); border-radius: 999px; background: none; color: var(--texto-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ag-filtros button.ativo { border-color: transparent; background: #FFC800; color: #2B1A0F; }
.ag-filtros i { width: 8px; height: 8px; border-radius: 50%; }
.ag-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.ag-letra { text-align: center; color: var(--texto-3); font-size: 12px; font-weight: 700; padding-bottom: 2px; }
.ag-dia { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: var(--superficie-2); color: var(--texto); font: inherit; cursor: pointer; }
.ag-dia b { font-size: 15px; font-weight: 600; }
.ag-dia.passado { opacity: .5; }
.ag-dia.tem { border-color: rgba(255, 200, 0, .25); }
.ag-dia.hoje { background: #FFC800; color: #2B1A0F; }
.ag-dia.escolhido:not(.hoje) { border-color: #FFC800; }
.ag-pontos { display: flex; gap: 2px; height: 5px; }
.ag-pontos i { width: 5px; height: 5px; border-radius: 50%; }
.ag-estrela { position: absolute; top: 2px; right: 4px; color: #FFC800; font-size: 10px; font-style: normal; }
.ag-dia.hoje .ag-estrela { color: #2B1A0F; }
.ag-legenda { margin: 8px 2px 0; color: var(--texto-2); font-size: 12.5px; text-align: center; }
.ag-legenda .ag-estrela { position: static; font-size: 12px; }
.ag-detalhe { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--superficie-2); display: grid; gap: 8px; }
.ag-detalhe > small { color: var(--texto-3); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; }
.ag-missas { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-missas span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--superficie-3, rgba(255, 255, 255, .06)); font-size: 13px; font-weight: 600; }
.ag-missas .ic { width: 14px; height: 14px; color: #C99A00; }
.ag-detalhe .cv-linha-evento { padding: 6px 0; }
.ag-detalhe .cv-linha-evento img, .ag-detalhe .cv-mini { width: 52px; height: 65px; }

/* ---------- Painel: agenda e novo evento (canvas PainelAgenda, PainelEvento) ---------- */
.pn-novo { padding: 9px 16px; border: 0; border-radius: 999px; background: #FFC800; color: #2B1A0F; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pn-atalhos-grandes button { display: grid; gap: 4px; padding: 16px; border: 0; border-radius: 20px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.pn-atalhos-grandes button.amarelo { background: #FFC800; color: #2B1A0F; }
.pn-atalhos-grandes button .ic { width: 22px; height: 22px; margin-bottom: 8px; }
.pn-atalhos-grandes button b { font-size: 17px; font-weight: 700; }
.pn-atalhos-grandes button small { font-size: 13px; opacity: .75; }
.pn-evento + .pn-evento { border-top: 1px solid var(--linha); }
.pn-etiquetas { color: #B08400 !important; font-size: 12.5px !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-etiquetas { color: #FFC800 !important; } }
:root[data-theme="dark"] .pn-etiquetas { color: #FFC800 !important; }
.pn-antigo-link { margin-top: 14px; border-radius: 18px; background: var(--superficie-2); }
.pn-titulo-centro { display: grid; text-align: center; }
.pn-titulo-centro small { color: #C99A00; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.pn-titulo-centro b { font-size: 17px; }
.cv-redondo.vazio { visibility: hidden; }
.pn-form-evento .cfg-rotulo small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pn-tipos { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-tipos button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pn-tipos button.ativo { border-color: transparent; background: #FFC800; color: #2B1A0F; }
.pn-tipos i { width: 9px; height: 9px; border-radius: 50%; }
.pn-tipos button.ativo i { background: #2B1A0F !important; }
.pn-duas { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.tc-campo.area { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.tc-campo textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--texto); font: inherit; font-size: 16px; resize: vertical; }
.pn-upload { display: flex; gap: 14px; padding: 14px; border: 1.5px dashed var(--linha); border-radius: 18px; cursor: pointer; }
.pn-upload img { flex: none; width: 84px; height: 105px; border-radius: 10px; object-fit: cover; }
.pn-upload-icone { flex: none; display: grid; place-items: center; width: 84px; height: 105px; border-radius: 10px; background: var(--superficie-2); color: var(--texto-3); }
.pn-upload-icone .ic { width: 28px; height: 28px; }
.pn-upload .corpo { display: grid; gap: 4px; align-content: start; }
.pn-upload .corpo b { font-size: 15px; }
.pn-upload .corpo small { color: var(--texto-2); font-size: 13px; line-height: 1.35; }
.pn-upload .pn-mini { justify-self: start; margin-top: 4px; }
.pn-fotos { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-foto { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--superficie-2); }
.pn-foto img { width: 100%; height: 100%; object-fit: cover; }
.pn-foto button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 11px; background: rgba(0, 0, 0, .65); color: #FFF; font-size: 15px; line-height: 1; cursor: pointer; }
.pn-foto.mais { border: 1.5px dashed var(--linha); background: none; color: var(--texto-2); cursor: pointer; align-content: center; gap: 2px; }
.pn-foto.mais span { font-size: 24px; line-height: 1; }
.pn-foto.mais small { font-size: 11.5px; }
.pn-opcoes-ev { margin-top: 18px; }
.pn-opcoes-ev .cfg-linha .corpo small { margin-top: 2px; }
.pn-chips-aviso { gap: 8px; justify-content: flex-start; flex-wrap: wrap; }
.pn-chips-aviso button { padding: 7px 13px; border: 1px solid var(--linha); border-radius: 999px; background: none; color: var(--texto-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pn-chips-aviso button.ativo { border-color: #FFC800; color: var(--texto); }
.pn-previa { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 18px; }
.pn-previa .cv-data { position: static; background: var(--superficie-2); color: var(--texto); }
.pn-previa .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pn-previa .corpo b { font-size: 16px; }
.pn-previa .corpo small { color: var(--texto-2); font-size: 13px; }
.pn-previa img { flex: none; width: 46px; height: 58px; border-radius: 8px; object-fit: cover; }
.pn-duas > div { min-width: 0; } .pn-duas .tc-campo { padding: 0 12px; } .pn-duas .tc-campo input { min-width: 0; font-size: 15px; }

/* ---------- Avisos (canvas Avisos) ---------- */
.av-abas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 4px; border-radius: 999px; background: var(--superficie-2); }
.av-abas button { min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--texto); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.av-abas button.ativo { background: #FFC800; color: #2B1A0F; font-weight: 700; }
.av-convite { position: relative; display: flex; gap: 14px; width: 100%; margin-bottom: 10px; padding: 14px; border: 1px solid rgba(255, 200, 0, .25); border-radius: 20px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.av-convite img, .av-convite .cv-mini { flex: none; width: 88px; height: 110px; border-radius: 12px; object-fit: cover; }
.av-convite .corpo { flex: 1; min-width: 0; display: grid; gap: 3px; align-content: start; }
.av-convite .corpo small { color: #C99A00; font-size: 13px; font-weight: 700; }
.av-convite .corpo b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.av-convite .corpo em { color: var(--texto-2); font-style: normal; font-size: 13.5px; line-height: 1.35; }
.av-ver { margin-top: 4px; color: #B08400; font-size: 14px; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av-ver, :root:not([data-theme="light"]) .av-convite .corpo small { color: #FFC800; } }
:root[data-theme="dark"] .av-ver, :root[data-theme="dark"] .av-convite .corpo small { color: #FFC800; }
.av-tempo { position: absolute; top: 14px; right: 14px; color: var(--texto-3); font-size: 12px; }
.av-linha { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.av-linha + .av-linha::before { content: ""; position: absolute; top: 0; left: 68px; right: 0; height: 1px; background: var(--linha); }
.av-linha .arte-aviso { flex: none; width: 40px; height: 40px; border-radius: 20px; }
.av-linha .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.av-linha .corpo b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.av-linha .corpo small { color: var(--texto-2); font-size: 13px; }
.av-linha .corpo em { color: var(--texto-2); font-style: normal; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.av-linha > .ic:last-child { flex: none; width: 16px; height: 16px; color: var(--texto-3); }

/* ---------- Atender confissão agora (canvas PerfilPadre) ---------- */
.ca-botao { display: flex; align-items: center; gap: 14px; width: calc(100% - 40px); margin: 14px 20px 0; padding: 16px 18px; border: 0; border-radius: 24px; background: linear-gradient(135deg, #34C759, #22A04B); color: #FFF; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 26px rgba(48, 209, 88, .28); }
.ca-icone { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .2); }
.ca-icone .ic { width: 24px; height: 24px; }
.ca-botao .corpo { flex: 1; display: grid; gap: 2px; }
.ca-botao .corpo b { font-size: 18px; font-weight: 700; }
.ca-botao .corpo small { font-size: 13.5px; opacity: .9; }
.ca-botao > .ic:last-child { width: 18px; height: 18px; }
.ca-cartao { margin: 14px 20px 0; padding: 16px; border: 1.5px solid #30D158; border-radius: 24px; background: var(--superficie-2); display: grid; gap: 10px; }
.ca-cartao.vivo { border-color: transparent; background: #0F3A22; color: #E9FFF0; }
.ca-cabeca { display: flex; align-items: center; justify-content: space-between; }
.ca-cabeca b { font-size: 17px; }
.ca-fechar { border: 0; background: none; color: var(--texto-2); cursor: pointer; padding: 4px; }
.ca-fechar .ic { width: 18px; height: 18px; }
.ca-rotulo { color: var(--texto-3); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
.ca-opcoes, .ca-tempos { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-opcoes button, .ca-tempos button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--linha); border-radius: 999px; background: none; color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ca-opcoes button.ativo, .ca-tempos button.ativo { border-color: transparent; background: #30D158; color: #06210F; }
.ca-opcoes .ic { width: 16px; height: 16px; }
.ca-lista { display: grid; gap: 6px; }
.ca-lista button { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border: 0; background: none; color: var(--texto); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.ca-local { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px dashed #30D158; border-radius: 14px; background: none; color: var(--texto); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ca-local .ic { width: 18px; height: 18px; color: #30D158; }
.ca-campo { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--linha); border-radius: 14px; }
.ca-campo span { flex: none; font-size: 14px; font-weight: 600; }
.ca-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--texto); font: inherit; font-size: 15px; text-align: right; }
.ca-nota { margin: 0; color: var(--texto-2); font-size: 12.5px; }
.ca-erro { margin: 0; color: #E5605B; font-size: 13.5px; }
.ca-comecar { min-height: 52px; margin-top: 6px; border: 0; border-radius: 26px; background: #30D158; color: #06210F; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.ca-ponto { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #30D158; animation: pulso 1.6s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
@media (prefers-reduced-motion: reduce) { .ca-ponto { animation: none; } }
.ca-vivo-topo { display: flex; align-items: center; gap: 12px; }
.ca-vivo-topo span:last-child { display: grid; gap: 2px; }
.ca-vivo-topo b { font-size: 17px; }
.ca-vivo-topo small { font-size: 13.5px; opacity: .85; }
.ca-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ca-mais, .ca-encerrar { min-height: 46px; border: 0; border-radius: 23px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ca-mais { background: rgba(255, 255, 255, .14); color: #E9FFF0; }
.ca-encerrar { background: #E9FFF0; color: #0F3A22; }
.ca-previa small { display: block; margin: 4px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; opacity: .7; }
.ca-previa-cartao, .ca-fiel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #16492B; }
.ca-selo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 20px; background: #30D158; color: #06210F; }
.ca-selo .ic { width: 20px; height: 20px; }
.ca-previa-cartao .corpo { display: grid; gap: 1px; }
.ca-previa-cartao .corpo em { font-style: normal; font-size: 14px; }
.ca-previa-cartao .corpo small { margin: 0; font-size: 12.5px; letter-spacing: 0; font-weight: 500; }
/* Fiel: cartão verde na aba Confissão */
.ca-fiel { position: relative; flex-wrap: wrap; margin: 0 0 12px; padding: 14px 16px; background: linear-gradient(135deg, #0F3A22, #16492B); color: #E9FFF0; }
.ca-fiel-topo { flex-basis: 100%; display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; }
.ca-fiel-corpo { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ca-fiel-corpo .corpo { display: grid; gap: 2px; }
.ca-fiel-corpo b { font-size: 18px; }
.ca-fiel-corpo small { font-size: 13.5px; opacity: .9; }
.ca-fiel-corpo em { font-style: normal; font-size: 13px; opacity: .75; }
.ca-rota { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #30D158; color: #06210F; font-size: 14px; font-weight: 800; text-decoration: none; }
.ca-rota .ic { width: 16px; height: 16px; }
.ca-pergunta { background: #0F3A22; color: #E9FFF0; flex-wrap: wrap; }
.ca-pergunta button { padding: 7px 12px !important; border-radius: 999px !important; background: rgba(255, 255, 255, .14) !important; font-weight: 700; }
.ca-comecar { text-align: center; width: 100%; }

/* ---------- Avisos dos fiéis e Moderação (canvas Moderacao) ---------- */
.md-avisar { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 4px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.md-avisar > .ic:first-child { flex: none; width: 22px; height: 22px; color: #E58F3C; }
.md-avisar span { flex: 1; display: grid; gap: 2px; }
.md-avisar b { font-size: 15px; }
.md-avisar small { color: var(--texto-2); font-size: 13px; }
.md-avisar > .ic:last-child { width: 16px; height: 16px; color: var(--texto-3); }
.md-obrigado { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; text-align: center; }
.md-obrigado .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #30D158; color: #06210F; }
.md-obrigado b { font-size: 20px; }
.md-obrigado p { margin: 0; color: var(--texto-2); }
.md-selo { padding: 5px 12px; border-radius: 999px; background: rgba(255, 200, 0, .16); color: #B08400; font-size: 13px; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .md-selo { color: #FFC800; } }
:root[data-theme="dark"] .md-selo { color: #FFC800; }
.md-busca { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 4px 0 12px; padding: 0 14px; border-radius: 14px; background: var(--superficie-2); color: var(--texto-2); }
.md-busca .ic { width: 18px; height: 18px; }
.md-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--texto); font: inherit; font-size: 16px; }
.md-abas { margin-bottom: 6px; }
.md-cartao { margin-bottom: 12px; padding: 14px 16px; border-radius: 20px; background: var(--superficie-2); display: grid; gap: 10px; }
.md-topo-cartao { display: flex; align-items: center; gap: 12px; }
.md-topo-cartao .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.md-topo-cartao .corpo b { font-size: 16px; }
.md-topo-cartao .corpo small { color: var(--texto-2); font-size: 13px; }
.md-icone { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.md-icone.laranja { background: rgba(229, 143, 60, .18); color: #E58F3C; }
.md-icone .ic { width: 20px; height: 20px; }
.md-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.md-checks li { position: relative; padding-left: 22px; color: var(--texto-2); font-size: 14px; line-height: 1.4; }
.md-checks li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.md-checks li.ok::before { content: "✓"; color: #30D158; }
.md-checks li.pendente::before { content: "•"; color: #FFC800; font-size: 18px; line-height: 1; }
.md-checks li.info::before { content: "i"; color: var(--texto-3); font-style: italic; }
.md-botoes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.md-tag { flex: none; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.md-tag.verde { background: rgba(48, 209, 88, .16); color: #30D158; }
.md-tag.amarelo { background: rgba(255, 200, 0, .18); color: #C99A00; }
.md-tag.laranja { background: rgba(229, 143, 60, .18); color: #E58F3C; }
.md-tag.cinza { background: var(--superficie-3, rgba(255, 255, 255, .06)); color: var(--texto-2); }
.md-num { color: var(--texto-2); font-size: 14px; font-weight: 600; }
.md-setores { flex-wrap: nowrap; }

/* ---------- Ideias novas (nov/2026): "Mais perto de você" compacto e faixa fina da Adoração ---------- */
.heroi-compacto { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 12px; border-radius: 20px; background: var(--amarelo); color: var(--tinta); }
.heroi-compacto .hc-corpo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hc-icone { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .55); }
.hc-icone .ic { width: 24px; height: 24px; }
.hc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hc-txt small { font-size: .66em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.hc-txt b { font-size: 1.02em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sub { font-size: .8em; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-sub em { font-style: normal; font-weight: 700; }
.hc-sub em.verde { color: #137A4B; opacity: 1; }
.hc-ir { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tinta); color: var(--amarelo); }
.hc-ir .ic { width: 20px; height: 20px; }
.faixa-adoracao { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 14px; border: 0; border-radius: 18px; font: inherit; text-align: left; cursor: pointer; color: #FFFFFF;
  background: radial-gradient(circle at 12% 50%, rgba(255, 196, 80, .35), transparent 40%), linear-gradient(120deg, #3A2410 0%, #1D130A 70%); }
.faixa-adoracao .fa-icone { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 200, 0, .18); color: var(--amarelo); }
.faixa-adoracao .fa-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.faixa-adoracao b { font-family: "Playfair Display", Georgia, serif; font-size: 1.1em; font-weight: 700; }
.faixa-adoracao small { font-size: .8em; opacity: .8; }
.faixa-adoracao > .ic:last-child { width: 16px; height: 16px; opacity: .6; }

/* ---------- Preceitos e penitência (canvas Ideias novas, itens 3 a 5) ---------- */
.hoje-igreja { display: flex; gap: 14px; width: 100%; margin-top: 12px; padding: 16px; border: 1px solid var(--linha); border-radius: 22px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.hi-icone { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
.hi-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hi-corpo small { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.hi-corpo b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.hi-sub { color: var(--texto-2); font-size: 13px; line-height: 1.45; }
.hi-cta { margin-top: 2px; color: #C79A00; font-size: 13px; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hi-cta { color: var(--amarelo); } }
:root[data-theme="dark"] .hi-cta { color: var(--amarelo); }

.cal-dia .cal-pontos { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; }
.cal-dia .cal-pontos i { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25); }
.cal-legenda-pontos { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.cal-chip-ponto { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px dashed var(--linha); border-radius: 17px; background: none; color: var(--texto-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cal-chip-ponto.ligado { border-style: solid; background: var(--superficie-2); color: var(--texto); }
.cal-chip-ponto i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25); }
.cal-chip-ponto:not(.ligado) i { opacity: .4; }
.cal-preceito { display: flex; flex-direction: column; gap: 8px; }
.cal-preceito-etiquetas { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-preceito-etiquetas span { height: 26px; padding: 0 10px; border-radius: 13px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; }
.cal-preceito p { margin: 0; color: var(--texto-2); font-size: 14px; line-height: 1.5; }
.cal-preceito .link-amarelo { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.cal-prox-preceitos .cfg-linha { gap: 14px; }
.cal-prox-preceitos .cfg-linha + .cfg-linha::before { left: 70px; }
.cal-data-mini { flex: none; width: 42px; height: 46px; border-radius: 11px; background: rgba(255, 200, 0, .12); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.cal-data-mini small { color: #C79A00; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.cal-data-mini b { margin-top: 3px; font-size: 18px; font-weight: 700; }
.subtitulo-italico { margin: 0 2px 18px; color: var(--texto-2); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 16px; }
.guia-abas { margin-bottom: 14px; }
.guia-cartoes { display: flex; flex-direction: column; gap: 12px; }
.guia-cartao { padding: 18px 20px; border-radius: 20px; background: var(--superficie-2); }
.guia-cartao h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.guia-cartao ul { margin: 0; padding: 0 0 0 4px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.guia-cartao li { position: relative; padding-left: 16px; color: var(--texto-2); font-size: 15px; line-height: 1.55; }
.guia-cartao li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amarelo); }
.guia-cartao li b { color: var(--texto); font-weight: 700; }
.tela-inicio .hoje-igreja { width: auto; margin: 12px 20px 0; }
.tela-calendario .cal-chip-ponto { height: 30px; padding: 0 11px; font-size: 12.5px; gap: 6px; }
.tela-calendario .cal-legenda-pontos { gap: 6px; justify-content: center; }

/* ---------- Orações Eucarísticas ---------- */
.oe-abertura { margin: 0 2px 4px; color: var(--texto-2); font-size: 16px; line-height: 1.55; }
.oe-linha { gap: 14px; }
.cfg-grupo .oe-linha + .oe-linha::before { left: 72px; }
.oe-sigla { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 200, 0, .14); color: #C79A00; font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 700; }
.oe-versoes { display: flex; gap: 6px; margin-top: 6px; }
.oe-versoes i { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--cinza-suave); color: var(--texto-2); font-style: normal; font-size: 12px; font-weight: 700; }
.oe-seg { margin: 8px 0 14px; }
.oe-subtitulo { display: block; margin: 0 2px 10px; font-size: 16px; font-weight: 700; }
.oe-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.oe-chips span { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--cinza-suave); color: var(--texto-2); display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.oe-descricao { margin: 0 2px; color: var(--texto-2); font-size: 16px; line-height: 1.55; }
.oe-passos { list-style: none; margin: 0; padding: 18px 16px 6px; border-radius: 22px; background: var(--superficie-2); }
.oe-passos li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.oe-passos li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: rgba(255, 200, 0, .35); }
.oe-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 200, 0, .16); color: #C79A00; font-size: 13px; font-weight: 800; }
.oe-passos li.destaque .oe-num { background: var(--amarelo); color: var(--tinta); }
.oe-passo { flex: 1; min-width: 0; padding-top: 4px; }
.oe-passo-titulo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.oe-passo-titulo b { font-size: 16px; font-weight: 700; }
.oe-postura { height: 24px; padding: 0 9px; border-radius: 12px; background: var(--cinza-suave); color: var(--texto-2); display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; }
.oe-postura.joelhos { background: rgba(255, 200, 0, .16); color: #B88A00; }
.oe-passo p { margin: 4px 0 0; color: var(--texto-2); font-size: 14.5px; line-height: 1.5; }
.oe-missal { margin: 8px 0 0; padding: 10px 12px; border-left: 2px solid var(--amarelo); color: var(--texto); font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.link-oe { display: block; margin: 12px auto 0; padding: 4px; border: 0; background: none; font: inherit; cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .oe-sigla, :root:not([data-theme="light"]) .oe-num, :root:not([data-theme="light"]) .oe-postura.joelhos, :root:not([data-theme="light"]) .cal-data-mini small { color: var(--amarelo); } }
:root[data-theme="dark"] .oe-sigla, :root[data-theme="dark"] .oe-num, :root[data-theme="dark"] .oe-postura.joelhos, :root[data-theme="dark"] .cal-data-mini small { color: var(--amarelo); }

/* ---------- Missas especiais (canvas Ideias novas, item 7) ---------- */
.me-filtros { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.me-filtros::-webkit-scrollbar { display: none; }
.me-filtro { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.me-filtro.ativo { background: var(--amarelo); color: var(--tinta); }
.me-faixa { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid; border-radius: 16px; }
.me-faixa > span { flex: none; display: grid; place-items: center; }
.me-faixa p { margin: 0; color: var(--texto-2); font-size: 14px; line-height: 1.4; }
.me-faixa p b { color: var(--texto); font-weight: 700; }
.me-selo { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 64px; border: 1px solid; border-radius: 14px; }
.me-selo b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.me-chip { display: inline-flex; align-items: center; height: 26px; margin-top: 6px; padding: 0 10px; border-radius: 13px; font-size: 12.5px; font-weight: 700; }
.me-tipos .me-tipo { gap: 12px; }
.me-tipo-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; }
.me-caixa { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--texto-3); border-radius: 7px; color: var(--tinta); }
.me-caixa .ic { width: 15px; height: 15px; }
.me-painel { display: flex; flex-wrap: wrap; gap: 8px; }
.me-painel button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--linha); border-radius: 17px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.me-painel button.ativo { border-color: var(--amarelo); background: rgba(255, 200, 0, .14); }
:root:not([data-theme="dark"]) .me-selo[style*="#F5F0E6"], :root:not([data-theme="dark"]) .me-chip[style*="#F5F0E6"] { color: var(--texto) !important; }

/* ---------- Fila da confissão na aba (canvas Ideias novas, item 2) ---------- */
.fq-bloco { margin-top: 12px; padding: 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.fq-bloco.fq-verde { border-color: rgba(48, 209, 88, .45); }
.fq-bloco.fq-amarelo { border-color: rgba(255, 200, 0, .45); }
.fq-titulo { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.fq-ponto { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #30D158; animation: pulso 2s infinite; }
.fq-botoes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.fq-botoes button { height: 48px; border: 0; border-radius: 24px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fq-sim { background: #30D158; color: #0B2A14; }
.fq-nao { background: var(--cinza-suave); color: var(--texto); }
.fq-contador { display: flex; align-items: center; gap: 12px; }
.fq-pergunta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fq-pergunta b { font-size: 16px; line-height: 1.3; }
.fq-pergunta small { color: var(--texto-2); font-size: 12.5px; }
.fq-controles { flex: none; display: flex; align-items: center; gap: 8px; }
.fq-redondo { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cinza-suave); color: var(--texto); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.fq-numero { min-width: 32px; text-align: center; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fq-ok { height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--amarelo); color: var(--tinta); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.fq-paz { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.fq-check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #30D158; color: #0B2A14; }
.fq-check .ic { width: 18px; height: 18px; }
.fq-pular { display: block; margin: 8px auto 0; }
.fq-na-fila { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--linha); }
.fq-posicao { flex: none; font-family: "Plus Jakarta Sans", sans-serif; font-size: 40px; font-weight: 300; line-height: 1; color: #C79A00; }
.fq-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fq-texto b { font-size: 16px; }
.fq-texto small { color: var(--texto-2); font-size: 13px; }
.fq-confessei { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 21px; background: #30D158; color: #0B2A14; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.fq-atualizar p { margin: 12px 0 10px; color: var(--texto-2); font-size: 14px; }
.fq-atualizar.agora p { color: var(--texto); font-weight: 700; }
.fq-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fq-chips button { flex: 1; min-width: 60px; height: 40px; padding: 0 12px; border: 1px solid var(--linha); border-radius: 20px; background: none; color: var(--texto); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fq-chips button.ativo { border-color: rgba(255, 200, 0, .6); background: rgba(255, 200, 0, .14); color: #B88A00; }
.fq-erro { margin: 10px 0 0; color: var(--texto-2); font-size: 13.5px; line-height: 1.45; }
.fq-erro .link-amarelo { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.fila-chip.estimada { display: inline-flex; align-items: center; gap: 5px; background: var(--cinza-suave); color: var(--texto-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fq-posicao, :root:not([data-theme="light"]) .fq-chips button.ativo { color: var(--amarelo); } }
:root[data-theme="dark"] .fq-posicao, :root[data-theme="dark"] .fq-chips button.ativo { color: var(--amarelo); }
.fq-chips button:last-child { flex: 1.9; white-space: nowrap; }

/* ---------- Dízimo e ofertas · Ajude o FIEL · Pix no painel (canvas Ideias novas, item 1) ---------- */
.dz-entrada { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.dz-entrada .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-entrada .corpo b { font-size: 16px; }
.dz-entrada .corpo small { color: var(--texto-2); font-size: 13px; }
.dz-entrada > .ic:last-child { width: 16px; height: 16px; color: var(--texto-3); }
.dz-escudo { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 200, 0, .14); color: #C79A00; }
.dz-escudo.vermelho { width: 48px; height: 48px; border-radius: 50%; background: #6E1F22; color: #FFD27A; }
.dz-pix { display: flex; flex-direction: column; padding: 18px; border-radius: 22px; background: var(--superficie-2); }
.dz-pix-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dz-pix-topo .corpo { display: flex; flex-direction: column; gap: 3px; }
.dz-pix-topo b { font-size: 17px; }
.dz-confirmado { display: inline-flex; align-items: flex-start; gap: 5px; color: #21A148; font-size: 13px; font-weight: 600; line-height: 1.3; }
.dz-confirmado .ic { flex: none; width: 14px; height: 14px; margin-top: 1px; }
.dz-campo { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--linha); }
.dz-pix > .dz-campo:first-child { border-top: 0; padding-top: 0; }
.dz-campo small { color: var(--texto-2); font-size: 13px; }
.dz-campo b { font-size: 17px; font-weight: 700; line-height: 1.35; word-break: break-word; }
.dz-banco { color: var(--texto-2); font-weight: 500; }
.dz-copiar { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; margin-top: 8px; border: 0; border-radius: 27px; background: var(--amarelo); color: var(--tinta); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s; }
.dz-copiar .ic { width: 18px; height: 18px; }
.dz-copiar.copiado { background: rgba(48, 209, 88, .16); color: #21A148; }
.dz-qr { align-self: center; margin-top: 12px; color: var(--texto-2); font-size: 13.5px; font-weight: 600; }
.dz-sem-qr { margin: 12px 0 0; color: var(--texto-3); font-size: 13px; line-height: 1.4; }
.dz-fim { margin-top: 10px; padding: 16px; border-radius: 20px; background: var(--superficie-2); }
.dz-fim b { font-size: 16px; }
.dz-fim p { margin: 6px 0 0; color: var(--texto-2); font-size: 14.5px; line-height: 1.55; }
.dz-seguranca { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; }
.dz-seguranca .ic { flex: none; width: 20px; height: 20px; color: #C79A00; }
.dz-seguranca p { margin: 0; color: var(--texto-2); font-size: 14px; line-height: 1.5; }
.dz-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amarelo); color: var(--tinta); }
.dz-logo svg { width: 26px; height: 26px; }
.tela-dizimo .cfg-linha .interruptor { margin-left: auto; }
.af-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 96px; height: 96px; margin: 8px auto 14px; border-radius: 26px; background: var(--amarelo); color: var(--tinta); }
.af-logo svg { width: 34px; height: 34px; }
.af-logo span { display: flex; flex-direction: column; align-items: center; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 18px; line-height: 1; }
.af-logo small { font-family: Georgia, serif; font-size: 6px; letter-spacing: .3em; margin-top: 2px; }
.titulo-pagina.centro { text-align: center; }
.af-texto { margin: 6px 6px 4px; color: var(--texto-2); font-size: 16px; line-height: 1.55; text-align: center; }
.dz-campanhas-inicio { display: flex; flex-direction: column; gap: 10px; }
.dz-camp-inicio { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid rgba(255, 200, 0, .3); border-radius: 20px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.dz-camp-inicio .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-camp-inicio small { color: #C79A00; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.dz-camp-inicio b { font-size: 16px; }
.dz-camp-inicio span:not(.dz-escudo) { color: var(--texto-2); font-size: 13px; }
.pix-dados .pix-campo { gap: 12px; justify-content: space-between; }
.pix-campo b { flex: none; font-size: 16px; font-weight: 600; }
.pix-campo input { flex: 1; min-width: 0; border: 0; background: none; color: var(--texto); font: inherit; font-size: 16px; text-align: right; outline: none; }
.pix-campo input::placeholder { color: var(--texto-3); }
.pix-qr { display: flex; gap: 14px; padding: 14px; border-radius: 20px; background: var(--superficie-2); }
.pix-qr-area { flex: none; display: grid; place-items: center; width: 110px; height: 110px; border: 2px dashed #C9C1B3; border-radius: 16px; background: #F5F0E6; color: #8C857A; overflow: hidden; }
.pix-qr-area img { width: 100%; height: 100%; object-fit: contain; }
.pix-qr .corpo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pix-qr small { color: var(--texto-2); font-size: 13.5px; line-height: 1.45; }
.pix-nova .cfg-icone { background: none; color: var(--amarelo); font-size: 24px; }
.pix-nova b { color: #C79A00; }
.pix-nova-camp { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--linha); }
.pix-nova-camp input[name] { height: 44px; padding: 0 12px; border: 1px solid var(--linha); border-radius: 12px; background: var(--superficie); color: var(--texto); font: inherit; font-size: 15px; }
.pix-check { display: flex; align-items: center; gap: 8px; color: var(--texto-2); font-size: 14px; }
.pix-verif { padding: 16px; border-radius: 20px; background: var(--superficie-2); }
.pix-verif ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pix-verif li { display: flex; gap: 12px; opacity: .55; }
.pix-verif li.feito, .pix-verif li.atual { opacity: 1; }
.pix-verif li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cinza-suave); font-size: 13px; font-weight: 800; }
.pix-verif li.atual > span { background: var(--amarelo); color: var(--tinta); }
.pix-verif li.feito > span { background: #30D158; color: #0B2A14; }
.pix-verif li > span .ic { width: 15px; height: 15px; }
.pix-verif li div { display: flex; flex-direction: column; gap: 2px; }
.pix-verif li b { font-size: 16px; }
.pix-verif li small { color: var(--texto-2); font-size: 13px; }
.pix-verif .botao { width: 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dz-escudo:not(.vermelho), :root:not([data-theme="light"]) .dz-seguranca .ic, :root:not([data-theme="light"]) .dz-camp-inicio small, :root:not([data-theme="light"]) .pix-nova b { color: var(--amarelo); } :root:not([data-theme="light"]) .dz-confirmado, :root:not([data-theme="light"]) .dz-copiar.copiado { color: #30D158; } }
:root[data-theme="dark"] .dz-escudo:not(.vermelho), :root[data-theme="dark"] .dz-seguranca .ic, :root[data-theme="dark"] .dz-camp-inicio small, :root[data-theme="dark"] .pix-nova b { color: var(--amarelo); }
:root[data-theme="dark"] .dz-confirmado, :root[data-theme="dark"] .dz-copiar.copiado { color: #30D158; }

/* ---------- Comunidade: 16 categorias (comunidade.js · nov/2026) ---------- */
.cm-icone { display: block; flex: none; width: var(--t) !important; height: var(--t) !important; min-width: var(--t); border-radius: 50%; object-fit: contain; }
.cm-icone.cm-sem-icone { color: var(--texto-2); }
.cm-icone.cm-sem-icone { line-height: 0; }
.cm-icone.cm-sem-icone svg { display: block; width: 100% !important; height: 100% !important; max-width: none; }
.cm-circulo { width: 96px; }
.cm-busca { display: flex; align-items: center; gap: 8px; height: 44px; margin: 4px 0 12px; padding: 0 12px; border-radius: 12px; background: var(--cinza-suave); color: var(--texto-3); }
.cm-busca .ic { width: 18px; height: 18px; flex: none; }
.cm-busca input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--texto); font: inherit; font-size: 15px; outline: none; -webkit-appearance: none; }
.cm-busca input::-webkit-search-cancel-button { filter: grayscale(1); }
.cm-modo { margin: 0 0 4px; }
.cm-secao { margin: 24px 4px 10px; color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cm-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cm-quadrado { display: flex !important; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 112px; padding: 14px !important; border: 0; border-radius: 18px; background: var(--superficie-2) !important; color: var(--texto); font: inherit; text-align: left !important; cursor: pointer; }
.cm-quadrado.inteiro { grid-column: span 2; }
.cm-quadrado .corpo { display: flex; flex-direction: column; gap: 3px; }
.cm-quadrado b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.cm-quadrado small { color: var(--texto-3); font-size: 12px; }
.cm-nota { margin: 16px 8px 0; color: var(--texto-3); font-size: 12.5px; line-height: 1.45; }
.cm-nota.centro { margin-top: 8px; text-align: center; }
.cm-escolher { display: flex !important; align-items: center; gap: 14px; width: 100%; margin-top: 18px; padding: 14px 16px !important; border: 0; border-radius: 20px; background: var(--superficie-2) !important; color: var(--texto); font: inherit; text-align: left !important; cursor: pointer; }
.cm-escolher-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--superficie-3); color: var(--amarelo); flex: none; }
.cm-escolher .corpo { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cm-escolher small { color: var(--texto-2); font-size: 13px; }
.cm-escolher b { font-size: 16px; }
.cm-lista { border-radius: 18px; background: var(--superficie-2); overflow: hidden; }
.cm-linha, .cm-mais, .cm-turma { display: flex !important; align-items: center; gap: 14px; width: 100%; padding: 14px 16px !important; border: 0; background: none !important; color: var(--texto); font: inherit; text-align: left !important; cursor: pointer; }
.cm-linha + .cm-linha, .cm-mais + .cm-mais, .cm-turma + .cm-turma, .cm-check + .cm-check { border-top: 1px solid var(--linha); }
.cm-linha > .ic, .cm-mais > .ic { width: 16px; height: 16px; color: var(--texto-3); flex: none; }
.cm-linha .corpo, .cm-mais .corpo, .cm-turma .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-linha b, .cm-mais b, .cm-turma b { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.cm-linha small, .cm-mais small, .cm-turma small { color: var(--texto-2); font-size: 13px; line-height: 1.35; }
.cm-turma small.apagado { color: var(--texto-3); font-size: 12px; }
.cm-selo { display: grid; place-items: center; flex: none; min-width: 58px; height: 46px; padding: 0 6px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--cor) 45%, transparent); background: color-mix(in srgb, var(--cor) 18%, transparent); color: color-mix(in srgb, var(--cor) 60%, #000); font-size: 15px; font-weight: 800; }
.cm-chips-linha { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cm-rep { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--cinza-suave); color: var(--texto-2); font-size: 12.5px; font-weight: 600; }
.cm-chip-cat { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 3px; border: 0; border-radius: 13px; background: color-mix(in srgb, var(--cor, #FFC800) 16%, transparent); color: color-mix(in srgb, var(--cor, #FFC800) 60%, #000); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.cm-chip-cat.grande { height: 34px; padding: 0 14px 0 6px; border-radius: 17px; font-size: 14px; margin: 14px 0 4px; }
.cm-topo { margin: 8px 0 14px; }
.cm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 4px 0; padding-right: 20px; }
.cm-chips::-webkit-scrollbar { display: none; }
.cm-chips button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 19px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.cm-chips button.ativo { background: var(--cor); color: #1A1508; }
.cm-inscricoes { margin-right: -20px; }
.cm-inscricao { flex: none; width: 260px; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--superficie-2); }
.cm-insc-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cm-insc-topo small { color: var(--texto-3); font-size: 12.5px; }
.cm-etapa { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: color-mix(in srgb, var(--cor) 22%, transparent); color: color-mix(in srgb, var(--cor) 60%, #000); font-size: 12.5px; font-weight: 800; max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cm-inscricao > b { font-size: 16.5px; }
.cm-inscricao > small { color: var(--texto-2); font-size: 13px; line-height: 1.35; }
.cm-insc-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; margin-top: 10px; border-radius: 21px; background: var(--cinza-suave); color: var(--texto); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.cm-insc-botao .ic { width: 17px; height: 17px; color: #30D158; }
.cm-como { display: flex !important; align-items: center; gap: 14px; padding: 16px !important; border-radius: 18px; background: var(--superficie-2) !important; color: var(--texto); text-decoration: none; }
.cm-como p { margin: 0; color: var(--texto-2); font-size: 14px; line-height: 1.45; }
.cm-como-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--cor) 16%, transparent); color: color-mix(in srgb, var(--cor) 60%, #000); }
.cm-como-ic .ic { width: 19px; height: 19px; }
.cm-como .corpo { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cm-como .corpo b { font-size: 15.5px; }
.cm-como .corpo small { color: var(--texto-2); font-size: 13px; line-height: 1.4; }
.cm-como > .ic { width: 16px; height: 16px; color: var(--texto-3); flex: none; }
.cm-quem { padding: 16px; border-radius: 18px; background: var(--superficie-2); }
.cm-quem b { font-size: 15.5px; }
.cm-quem p { margin: 6px 0 0; color: var(--texto-2); font-size: 14.5px; line-height: 1.5; }
.cm-turma.ativa { background: color-mix(in srgb, var(--cor) 12%, transparent) !important; }
.cm-data { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 58px; height: 64px; border-radius: 12px; background: color-mix(in srgb, var(--cor) 16%, transparent); color: color-mix(in srgb, var(--cor) 60%, #000); line-height: 1.05; }
.cm-data small { font-size: 11px !important; font-weight: 800; letter-spacing: .06em; color: inherit !important; }
.cm-data b { font-size: 22px; font-weight: 800; }
.cm-radio { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 13px; border: 1.5px solid var(--texto-3); color: #fff; }
.cm-turma.ativa .cm-radio { border-color: var(--cor); background: var(--cor); }
.cm-radio .ic { width: 15px; height: 15px; }
.cm-botao-amarelo { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 16px; padding: 0 16px !important; border: 0; border-radius: 27px; background: var(--amarelo) !important; color: var(--tinta) !important; font: inherit; font-size: 16px; font-weight: 800; text-align: center !important; text-decoration: none; cursor: pointer; }
.cm-botao-amarelo .ic { width: 18px; height: 18px; }
.cm-check { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; font-size: 15px; line-height: 1.4; }
.cm-check .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--cor); }
.cm-topo-detalhe { display: flex; align-items: center; justify-content: space-between; }
.cm-paroquia { display: flex !important; align-items: center; gap: 10px; margin: 6px 0 16px; padding: 0 !important; border: 0; background: none !important; color: var(--texto); font: inherit; font-size: 15.5px; text-align: left !important; cursor: pointer; }
.cm-paroquia .ic:last-child { width: 14px; height: 14px; color: var(--texto-3); }
.cm-escudo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 17px; background: color-mix(in srgb, #30D158 22%, transparent); color: #1E9E47; flex: none; }
.cm-escudo .ic { width: 17px; height: 17px; }
.cm-quando { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--superficie-2); }
.cm-quando small { color: color-mix(in srgb, var(--amarelo) 70%, #000); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cm-quando b { font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 700; line-height: 1.2; }
.cm-quando span { color: var(--texto-2); font-size: 14px; }
.cm-quando .cm-insc-aberta { color: #1E9E47; font-weight: 700; }
.cm-cartao-linha { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--superficie-2); }
.cm-cartao-linha .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cm-cartao-linha b { font-size: 15.5px; }
.cm-cartao-linha small { color: var(--texto-2); font-size: 13px; }
.cm-quadradinho { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--cinza-suave); color: var(--texto-2); }
.cm-quadradinho.amarelo { background: color-mix(in srgb, var(--amarelo) 18%, transparent); color: color-mix(in srgb, var(--amarelo) 60%, #000); }
.cm-quadradinho .ic { width: 19px; height: 19px; }
.cm-mini { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border-radius: 19px; background: var(--cinza-suave); color: color-mix(in srgb, var(--amarelo) 60%, #000); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.cm-mini.verde { color: #1E9E47; }
.cm-mini .ic { width: 16px; height: 16px; }
.cm-sobre { padding: 16px 18px; border-radius: 18px; background: var(--superficie-2); font-size: 15.5px; line-height: 1.55; }
.cm-sobre p { margin: 0; }
.cm-sobre p + p { margin-top: 8px; }
.cm-opcoes { margin-top: 16px; }
.cm-opcoes .cfg-linha { gap: 14px; }
.cm-mais .cm-icone { --t: 40px; }
.cm-avisar { margin: 18px 4px 8px; color: var(--texto-3); font-size: 14px; }
.cm-avisar button { padding: 0; border: 0; background: none; color: color-mix(in srgb, var(--amarelo) 60%, #000); font: inherit; font-weight: 700; cursor: pointer; }
.categoria-atividade[style*="--cor"] { background: color-mix(in srgb, var(--cor) 18%, transparent); color: color-mix(in srgb, var(--cor) 55%, #000); }
button.atividade { width: 100%; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.icone-atividade:has(.cm-icone) { background: none; }
/* Tema escuro: as cores das categorias aparecem puras (como no canvas) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.cm-selo, .cm-chip-cat, .cm-etapa, .cm-como-ic, .cm-data, .categoria-atividade[style*="--cor"]) { color: var(--cor, #FFC800); }
  :root:not([data-theme="light"]) :is(.cm-quando small, .cm-quadradinho.amarelo, .cm-mini, .cm-avisar button) { color: var(--amarelo); }
  :root:not([data-theme="light"]) :is(.cm-mini.verde, .cm-quando .cm-insc-aberta, .cm-escudo) { color: #30D158; }
}
:root[data-theme="dark"] :is(.cm-selo, .cm-chip-cat, .cm-etapa, .cm-como-ic, .cm-data, .categoria-atividade[style*="--cor"]) { color: var(--cor, #FFC800); }
:root[data-theme="dark"] :is(.cm-quando small, .cm-quadradinho.amarelo, .cm-mini, .cm-avisar button) { color: var(--amarelo); }
:root[data-theme="dark"] :is(.cm-mini.verde, .cm-quando .cm-insc-aberta, .cm-escudo) { color: #30D158; }

/* ---------- Painel › Comunidade (painel-comunidade.js) ---------- */
.pn-salvar-topo { border: 0; background: none; color: color-mix(in srgb, var(--amarelo) 60%, #000); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.pn-cm-dados { overflow: hidden; }
.pn-cm-campo { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; }
.pn-cm-campo + .pn-cm-campo, .pn-cm-dados .cfg-linha + .pn-cm-campo { border-top: 1px solid var(--linha); }
.pn-cm-campo > span:first-child { flex: none; width: 92px; font-size: 15.5px; font-weight: 600; }
.pn-cm-campo input { flex: 1; min-width: 0; height: 36px; border: 0; background: none; color: var(--texto); font: inherit; font-size: 15.5px; text-align: right; outline: none; }
.pn-cm-campo input[type="date"], .pn-cm-campo input[type="time"] { text-align: right; color-scheme: light dark; }
.pn-cm-campo em { flex: 1; font-style: normal; color: var(--texto-2); font-size: 15px; text-align: right; }
.pn-cm-campo > .ic { width: 15px; height: 15px; color: var(--texto-3); flex: none; }
button.pn-cm-campo { cursor: pointer; }
.pn-cm-campo.coluna { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; }
.pn-cm-campo .segmentado { flex: 1; margin: 0; }
.pn-cm-horas { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.pn-cm-horas input { flex: 0 1 96px; }
.pn-cm-horas i { font-style: normal; color: var(--texto-3); font-size: 14px; }
.pn-cm-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pn-cm-dias button { height: 38px; border: 0; border-radius: 10px; background: var(--cinza-suave); color: var(--texto); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pn-cm-dias button.ativo { background: var(--amarelo); color: var(--tinta); }
.pn-cm-obs { color: var(--texto-2); font-size: 12.5px; }
.pn-cm-secao { margin: 14px 16px 8px; color: var(--texto-3); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pn-cm-cat { display: flex !important; align-items: center; gap: 12px; width: 100%; padding: 11px 14px !important; border: 0; background: none !important; color: var(--texto); font: inherit; text-align: left !important; cursor: pointer; }
.pn-cm-lista > * + .pn-cm-cat { border-top: 1px solid var(--linha); }
.pn-cm-cat .corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pn-cm-cat b { font-size: 15px; }
.pn-cm-cat small { color: var(--texto-2); font-size: 12.5px; line-height: 1.35; }
.pn-cm-radio { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 12px; border: 1.5px solid var(--texto-3); }
.pn-cm-cat.ativo .pn-cm-radio { border-color: var(--amarelo); background: var(--amarelo); color: var(--tinta); }
.pn-cm-radio .ic { width: 14px; height: 14px; }
.pn-cm-subs { margin: 0 14px 12px 64px; }
.pn-cm-aviso { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: 14px 16px; border-radius: 16px; background: var(--amarelo-claro); color: var(--texto); }
.pn-cm-aviso > .ic { flex: none; width: 20px; height: 20px; color: color-mix(in srgb, var(--amarelo) 60%, #000); margin-top: 1px; }
.pn-cm-aviso .corpo { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pn-cm-aviso b { font-size: 14.5px; }
.pn-cm-aviso small { color: var(--texto-2); font-size: 13px; line-height: 1.4; }
.pn-cm-aviso button { flex: none; border: 0; background: none; color: var(--texto); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pn-salvar-topo { color: var(--amarelo); }
  :root:not([data-theme="light"]) .pn-cm-aviso { background: #2E2614; }
  :root:not([data-theme="light"]) .pn-cm-aviso > .ic { color: var(--amarelo); }
}
:root[data-theme="dark"] .pn-salvar-topo { color: var(--amarelo); }
:root[data-theme="dark"] .pn-cm-aviso { background: #2E2614; }
:root[data-theme="dark"] .pn-cm-aviso > .ic { color: var(--amarelo); }
.cm-chips-detalhe { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.cm-chips-detalhe .cm-chip-cat.grande { margin: 0; }
.pn-cm-opcional { display: block; margin: 0 14px 6px 64px; color: var(--texto-3); font-size: 12px; }
.pn-cm-extras { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-cm-extras button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 6px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pn-cm-extras button.ativo { border-color: var(--amarelo); background: color-mix(in srgb, var(--amarelo) 18%, transparent); }
.pn-cm-extras button:disabled { opacity: .45; cursor: default; }
.pn-cm-pedir { margin-top: 18px; border-radius: 16px; background: var(--superficie-2) !important; }
.pn-cm-secoes { margin: 10px 0; }
.pn-cm-secoes button { font-size: 12.5px; }
/* Ícones definitivos: quadrados de cantos arredondados (os cantos do arquivo já são transparentes) */
img.cm-icone { border-radius: 0; object-fit: contain; }

/* ---------- Início novo (versão B · 12/11/2026): liturgia sem o fone, Homilia de hoje e Rezar em carrossel ---------- */
.ini-liturgia .principal { flex: 1.2; height: 50px; border-radius: 25px; font-size: 16px; }
.ini-liturgia .contorno { flex: 1; height: 50px; border-radius: 25px; font-size: 16px; }
/* Nome do dia: cabe numa linha no iPhone (390 px); se não couber, quebra em duas (nunca corta) */
.ini-liturgia .lit-dia { font-size: 13.5px; letter-spacing: -.2px; white-space: normal; overflow: visible; text-overflow: clip; }

:root { --hm-fundo: linear-gradient(160deg, #FFFFFF, #FBF6EA 60%); --hm-borda: rgba(196, 150, 0, .35); --hm-texto: var(--texto); --hm-sub: var(--texto-2);
  --hm-etiqueta: #9A7400; --hm-botao-borda: rgba(0, 0, 0, .08); --hm-capa: linear-gradient(145deg, #5A1E1A, #2B1410); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --hm-fundo: linear-gradient(160deg, #241F1A, #1D1B18 60%); --hm-borda: rgba(255, 200, 0, .22); --hm-texto: #F5F0E6; --hm-sub: #8C857A;
    --hm-etiqueta: #FFC800; --hm-botao-borda: rgba(255, 255, 255, .08); }
}
:root[data-theme="dark"] { --hm-fundo: linear-gradient(160deg, #241F1A, #1D1B18 60%); --hm-borda: rgba(255, 200, 0, .22); --hm-texto: #F5F0E6; --hm-sub: #8C857A;
  --hm-etiqueta: #FFC800; --hm-botao-borda: rgba(255, 255, 255, .08); }
.ini-homilia { margin: 14px 20px 0; padding: 16px; border-radius: 26px; background: var(--hm-fundo); border: 1px solid var(--hm-borda); color: var(--hm-texto); display: flex; flex-direction: column; gap: 14px; }
.hm-topo { display: flex; align-items: center; gap: 14px; }
.hm-capa { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; background: var(--hm-capa); border: 1px solid rgba(255, 200, 0, .25); color: #FFC800; }
.hm-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-capa.com-imagem { border-color: transparent; }
.hm-traco { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hm-textos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hm-textos small { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--hm-etiqueta); }
.hm-textos b { font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.15; }
.hm-textos em { font-style: normal; font-size: 12px; color: var(--hm-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-onda { display: flex; align-items: center; gap: 2.5px; height: 26px; flex: none; }
.hm-onda i { width: 2.5px; border-radius: 2px; background: #FFC800; transform-origin: center; animation: hm-onda 2.4s ease-in-out infinite alternate; }
@keyframes hm-onda { from { transform: scaleY(.7); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .hm-onda i { animation: none; } }
.hm-botoes { display: flex; gap: 8px; }
.hm-botao { flex: 1; min-width: 0; height: 48px; border-radius: 24px; border: 1px solid var(--hm-botao-borda); color: var(--hm-texto); text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hm-botao svg { flex: none; }
.hm-botao.spotify { background: rgba(30, 215, 96, .10); }
.hm-botao.youtube { background: rgba(255, 0, 51, .10); }

.ini-rezar-carrossel { gap: 10px; }
.ini-rezar-cartao { width: 150px; flex: none; display: flex !important; flex-direction: column; align-items: flex-start; gap: 22px; padding: 16px !important; border-radius: 22px; background: var(--superficie-2) !important; border: 1px solid var(--linha) !important; color: var(--texto) !important; text-decoration: none; text-align: left !important; box-sizing: border-box; cursor: pointer; }
.ini-rezar-cartao .quadro { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(255, 200, 0, .12); color: #C99A00; }
.ini-rezar-cartao .txt { display: flex; flex-direction: column; gap: 3px; }
.ini-rezar-cartao b { font-size: 17px; font-weight: 800; }
.ini-rezar-cartao small { font-size: 12px; color: var(--texto-2); line-height: 1.35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ini-rezar-cartao .quadro { color: #FFC800; background: rgba(255, 200, 0, .1); } :root:not([data-theme="light"]) .ini-rezar-cartao { border-color: rgba(255, 255, 255, .06) !important; } }
:root[data-theme="dark"] .ini-rezar-cartao .quadro { color: #FFC800; background: rgba(255, 200, 0, .1); }
:root[data-theme="dark"] .ini-rezar-cartao { border-color: rgba(255, 255, 255, .06) !important; }
.ini-rezar-cartao .quadro.com-imagem { background: none !important; border-radius: 0; }
.ini-rezar-cartao .quadro img { display: block; width: 50px; height: 50px; object-fit: contain; }
/* Rezar (12/11/2026): de volta aos 4 lado a lado, com a imagem do ícone e o nome embaixo */
.ini-rezar-item { color: var(--texto) !important; text-decoration: none; }
.ini-rezar-item .rz-icone { display: block; width: 76px; height: 76px; }
.ini-rezar-item .rz-icone img { display: block; width: 76px; height: 76px; object-fit: contain; }

/* Cadastro curto (12/11/2026): Continuar fixo embaixo e o "Tudo certo" verde */
.bv-rodape { position: sticky; bottom: var(--abas); display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 16px -20px 0; padding: 22px 20px 14px; background: linear-gradient(to bottom, transparent, var(--superficie) 22px); }
.bv-rodape .botao { width: 100%; margin: 0; }
.bv-rodape .botao:disabled { opacity: .5; }
.bv-pronto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 64px 16px 24px; }
.bv-pronto h1 { margin: 6px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 30px; }
.bv-pronto p { margin: 0; color: var(--texto-2); max-width: 30ch; line-height: 1.5; }
.bv-pronto .botao { margin-top: 18px; min-width: 200px; }
.bv-check { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 44px; background: #30D158; color: #fff; animation: bv-entra .45s ease-out both; }
.bv-check .ic { width: 46px; height: 46px; stroke-width: 2.6; }
@keyframes bv-entra { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bv-check { animation: none; } }

/* ---------- Perfil da paróquia (canvas "Perfil da Paróquia") ---------- */
/* Hoje: o próximo de cada um, em três colunas */
.hj-cartao { margin: 16px 0 4px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.hj-data { display: block; margin-bottom: 10px; color: var(--texto-2); font-size: .7em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hj-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 10px; }
.hj-col:first-child { padding-left: 0; }
.hj-col + .hj-col { border-left: 1px solid var(--linha); }
.hj-col small { color: var(--texto-2); font-size: .78em; }
.hj-col b { font-size: 1.02em; font-weight: 800; overflow-wrap: anywhere; }
.hj-col:first-child b { color: #B88A00; }
.hj-col.agora b { color: var(--verde); }
.hj-col.sem b { color: var(--texto-3); font-weight: 600; }

/* Horários: três quadros, um embaixo do outro */
.hp-quadros { display: flex; flex-direction: column; gap: 10px; }
.hp-quadro { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.hp-icone { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--amarelo-suave); color: #8A6A10; }
.hp-icone .ic { width: 22px; height: 22px; }
.hp-confissao .hp-icone { background: #ECE6F6; color: #6B4FA0; }
.hp-adoracao .hp-icone { background: var(--cinza-suave); color: var(--texto); }
.hp-corpo { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.hp-corpo > b { margin-bottom: 2px; font-size: 1.02em; font-weight: 800; }
.hp-linha { color: var(--texto-2); font-size: .9em; line-height: 1.4; overflow-wrap: anywhere; }
.hp-linha em { color: var(--texto); font-style: normal; font-weight: 650; }
.hp-vazio { color: var(--texto-3); font-size: .88em; line-height: 1.45; }
.hp-vazio a { color: var(--texto); font-weight: 700; }
.hp-corpo .confianca { margin: 6px 0 0; }

/* Contato: endereço, telefone (Ligar) e Instagram */
.ct-lista { border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); overflow: hidden; }
.ct-linha { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; color: var(--texto); text-decoration: none; }
.ct-linha + .ct-linha { border-top: .5px solid var(--linha); }
.ct-linha > .ic:first-child { flex: none; width: 21px; height: 21px; color: #B88A00; }
.ct-linha > .ic:last-child { flex: none; width: 18px; height: 18px; color: var(--texto-3); }
.ct-linha .corpo { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.ct-linha .corpo b { font-size: .92em; font-weight: 650; overflow-wrap: anywhere; }
.ct-linha .corpo small { color: var(--texto-2); font-size: .78em; }
.ct-ligar { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-size: .85em; font-weight: 800; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hp-confissao .hp-icone { background: #2C2540; color: #B9A4E8; }
  :root:not([data-theme="light"]) .hp-icone { background: #3A2F12; color: #FFC800; }
  :root:not([data-theme="light"]) .hp-adoracao .hp-icone { background: #2E2A26; color: #F5F0E6; }
  :root:not([data-theme="light"]) .hj-col:first-child b, :root:not([data-theme="light"]) .ct-linha > .ic:first-child { color: #FFC800; }
}
:root[data-theme="dark"] .hp-confissao .hp-icone { background: #2C2540; color: #B9A4E8; }
:root[data-theme="dark"] .hp-icone { background: #3A2F12; color: #FFC800; }
:root[data-theme="dark"] .hp-adoracao .hp-icone { background: #2E2A26; color: #F5F0E6; }
:root[data-theme="dark"] .hj-col:first-child b, :root[data-theme="dark"] .ct-linha > .ic:first-child { color: #FFC800; }

/* Perfil da paróquia: "Como chegar" e "Ligar" lado a lado, do mesmo tamanho */
.detalhe .acoes .botao { flex: 1 1 0; min-width: 0; }
.detalhe .acoes .botao.sem-telefone { opacity: .45; }

/* Padre: "Qual destes é você?" (Etapa 5) */
.tc-quem .tc-padre { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.tc-quem > * + *::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--linha); }
.tc-quem > * { position: relative; }
.tc-quem .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tc-quem .corpo b { font-size: 16px; font-weight: 600; }
.tc-quem .corpo small { color: var(--texto-2); font-size: 13px; }
.tc-padre.tomado { cursor: default; opacity: .55; }
.tc-sou-eu { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 7px 14px; border: 1px solid var(--linha); border-radius: 999px; font-size: 13px; font-weight: 750; color: var(--texto); }
.tc-sou-eu .ic { width: 15px; height: 15px; }
.tc-sou-eu.marcado { border-color: var(--amarelo); background: var(--amarelo); color: var(--tinta); }
.tc-novo { display: grid; gap: 8px; padding: 4px 12px 14px; }
.tc-select select { flex: 1; min-width: 0; min-height: 50px; border: 0; outline: 0; background: none; color: var(--texto); font: inherit; font-size: 16px; }
.tc-foto { display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 16px; background: var(--superficie-2); border: 1px solid var(--linha); padding: 12px 16px; }
.tc-foto .corpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tc-foto .corpo small { color: var(--texto-2); font-size: 13px; overflow-wrap: anywhere; }
.pessoa-clero .clero-verificado { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--verde); font-weight: 700; }
.pessoa-clero .clero-verificado .ic { width: 13px; height: 13px; }

/* Perfil da paróquia: Instagram no cantinho direito, ao lado do Ligar (o compartilhar sobe para o topo) */
.detalhe-topo-dir { display: inline-flex; align-items: center; gap: 8px; }
.botao-compartilhar-igreja.no-topo { width: 38px; min-height: 38px; height: 38px; }
.botao-compartilhar-igreja.no-topo .ic { width: 18px; height: 18px; }
.botao-instagram {
  display: grid; place-items: center; flex: none; width: 50px; min-height: 50px; border: 0; border-radius: 16px; cursor: pointer;
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); color: #FFFFFF;
}
.botao-instagram .ic { width: 26px; height: 26px; stroke-width: 2; }
.botao-instagram.sem-instagram { opacity: .35; filter: grayscale(1); }
.botao-instagram:active { transform: scale(.96); }

/* Início sem folheto: "Leituras do dia" é um link com cara de botão */
.ini-liturgia .botoes a { text-decoration: none; }

/* =====================================================================
   LITURGIA SEM FOLHETO (canvas nov/2026) — liturgia.js
   ===================================================================== */
/* Início: cartão amarelo fino */
.ini-liturgia.lt-cartao-ini { padding: 16px 16px 14px 18px; gap: 12px; border-radius: 24px; background: #FFC800; color: #1A1208; }
.lt-ini-topo { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lt-ini-topo > svg { flex: none; opacity: .7; }
.lt-ini-textos { display: grid; gap: 3px; flex: 1; min-width: 0; }
.lt-ini-textos small { font-size: 11.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; opacity: .65; }
.lt-ini-textos b { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-ini-textos em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-ini-textos em i { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #1A1208; box-sizing: border-box; }
.lt-ini-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-ini-botoes button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.lt-ini-botoes .escuro { border: 0; background: #1A1208; color: #FFF6DA; }
.lt-ini-botoes .contorno { border: 1.5px solid #1A1208; background: transparent; color: #1A1208; }

/* Página */
.lt-pagina { padding-bottom: 12px; }
.lt-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 2px 14px; }
.lt-topo h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.lt-topo p { margin: 2px 0 0; color: var(--texto-2); font-size: 14px; }
.lt-hoje { flex: none; padding: 8px 16px; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.lt-hoje.atual { opacity: .55; }
.lt-intro { margin: 0 2px 6px; color: var(--texto-2); font-size: 14px; line-height: 1.5; }
.lt-semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.lt-semana button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); color: var(--texto); font: inherit; cursor: pointer; }
.lt-semana small { font-size: 11px; color: var(--texto-2); }
.lt-semana b { font-size: 17px; font-weight: 800; }
.lt-semana i { width: 5px; height: 5px; border-radius: 50%; }
.lt-semana .sel { background: #FFC800; border-color: #FFC800; color: #1A1208; }
.lt-semana .sel small { color: #1A1208; }
.lt-mes-botao { justify-content: center; gap: 4px !important; }
.lt-mes-botao small { color: var(--texto) !important; font-weight: 700; }
.lt-mes { margin-bottom: 14px; padding: 14px 12px 12px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.lt-mes-topo { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 8px; }
.lt-mes-topo b { font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.lt-mes-topo small { color: var(--texto-3); font-size: 12px; }
.lt-mes-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.lt-mes-grade em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--texto-3); padding: 2px 0 4px; }
.lt-mes-grade button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border: 0; border-radius: 10px; background: none; color: var(--texto); font: inherit; cursor: pointer; }
.lt-mes-grade button b { font-size: 14px; font-weight: 700; }
.lt-mes-grade button i { width: 14px; height: 3px; border-radius: 2px; }
.lt-mes-grade .preceito { background: var(--amarelo-claro); }
.lt-mes-grade .sel { background: #FFC800; color: #1A1208; }
.lt-mes-legenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 10px; font-size: 11.5px; color: var(--texto-2); }
.lt-mes-legenda span { display: inline-flex; align-items: center; gap: 5px; }
.lt-mes-legenda i { width: 12px; height: 3px; border-radius: 2px; }
.lt-mes-legenda .pre::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--amarelo-claro); border: 1px solid #F0D98A; }

/* Cartão do dia na cor litúrgica */
.lt-dia { padding: 20px 18px 16px; border-radius: 24px; background: var(--lt-cor); color: #FFFFFF; box-shadow: var(--sombra-leve); }
.lt-dia.cor-branco { color: #2B1A0F; border: 1px solid #E6D9B8; }
.lt-dia-tempo { font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; opacity: .78; }
.lt-dia h2 { margin: 8px 0 4px; font-family: "Playfair Display", Georgia, serif; font-size: 25px; font-weight: 700; line-height: 1.15; }
.lt-dia-sub { margin: 0 0 6px; font-size: 13.5px; opacity: .85; }
.lt-dia-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.lt-dia-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; }
.lt-dia.cor-branco .lt-dia-chips span { background: rgba(43, 26, 15, .07); }
.lt-dia-chips i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
.lt-dia-chips .preceito { background: #FFC800 !important; color: #1A1208; }
.lt-ano-barra { position: relative; display: flex; gap: 3px; height: 5px; }
.lt-ano-barra i { height: 5px; border-radius: 3px; opacity: .95; }
.lt-ano-barra i.verde { background: #4FA36B; } .lt-ano-barra i.roxo { background: #8E6CC9; } .lt-ano-barra i.branco { background: #E8C76A; }
.lt-ano-barra b { position: absolute; top: -3px; width: 3px; height: 11px; border-radius: 2px; background: currentColor; transform: translateX(-1px); }
.lt-ano-legenda { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 12px; opacity: .85; }
.lt-ano-legenda span:last-child { font-weight: 700; text-align: right; }

/* Listas que abrem e fecham */
.lt-lista { border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); overflow: hidden; }
.lt-item + .lt-item, .lt-atalho + .lt-atalho { border-top: .5px solid var(--linha); }
.lt-item.aberto .lt-item-cab { background: var(--amarelo-claro); }
.lt-item-cab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.lt-item-cab > svg { flex: none; color: var(--texto-3); transition: transform .2s; }
.lt-item.aberto .lt-item-cab > svg { transform: rotate(180deg); }
.lt-item-cab .corpo { display: grid; gap: 1px; flex: 1; min-width: 0; }
.lt-item-cab .corpo small { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--texto-2); }
.lt-item-cab .corpo b { font-size: 16px; font-weight: 800; }
.lt-item.ev .corpo small { color: #B88A00; }
.lt-marca { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--superficie-3); font-size: 14px; font-weight: 800; }
.lt-item.ev .lt-marca, .lc-evangelho .lt-marca { background: #FFC800; color: #1A1208; }
.lt-item-corpo { padding: 2px 16px 16px 62px; }
.lt-previa, .lt-texto-missal { margin: 6px 0 12px; font-family: "Literata", Georgia, serif; font-size: 16px; line-height: 1.6; color: var(--texto); }
.lt-texto-missal { margin-bottom: 0; }
.lt-em-breve { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--texto-2); }
.lt-botao-escuro { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: #1A1208; color: #FFF6DA; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.lt-botao-escuro.largo { width: 100%; padding: 14px; font-size: 15px; }
:root[data-theme="dark"] .lt-botao-escuro { background: #F5F0E6; color: #1A1208; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lt-botao-escuro { background: #F5F0E6; color: #1A1208; } }

/* Lectio (cartão da página) */
.lt-lectio-cartao { padding: 16px; border: 1.5px solid #E8C76A; border-radius: 22px; background: #FFF9EA; color: #2B1A0F; }
.lt-lectio-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lt-lectio-cab b { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 21px; }
.lt-lectio-cab small { color: #6B5A3E; font-size: 13px; }
.lt-vela { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #FFC800; color: #1A1208; }
.lt-passos-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lt-passos-chips span { padding: 5px 11px; border-radius: 999px; background: #F1E6C9; font-size: 12px; font-weight: 700; }
.lt-lectio-cartao .lt-botao-escuro { background: #1A1208; color: #FFF6DA; }

/* Atalhos e próximo domingo */
.lt-atalhos { margin-top: 12px; }
.lt-atalho { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.lt-atalho.estatico { cursor: default; padding: 11px 16px; }
.lt-atalho .caixa { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--superficie-3); }
.lt-atalho .corpo { display: grid; gap: 1px; flex: 1; min-width: 0; }
.lt-atalho .corpo b { font-size: 15px; font-weight: 750; }
.lt-atalho .corpo small { color: var(--texto-2); font-size: 12.5px; }
.lt-atalho > svg { flex: none; color: var(--texto-3); }
.lt-domingo { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.lt-domingo .selo { display: grid; place-items: center; align-content: center; flex: none; width: 56px; height: 56px; border-radius: 16px; color: #FFFFFF; }
.lt-domingo .selo b { font-family: "Playfair Display", Georgia, serif; font-size: 21px; line-height: 1; }
.lt-domingo .selo small { font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.lt-domingo .corpo { display: grid; gap: 2px; flex: 1; min-width: 0; }
.lt-domingo .corpo b { font-size: 15.5px; font-weight: 800; }
.lt-domingo .corpo small { color: var(--texto-2); font-size: 12.5px; }

/* ---------- Leitor (estilo Kindle) ---------- */
.lr { margin: -20px -16px -28px; min-height: calc(100% + 48px); padding: 14px var(--lr-margem, 26px) 190px; background: var(--lr-fundo); color: var(--lr-texto); }
.lr-topo { position: sticky; top: -20px; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 0 -26px; padding: 6px 18px 8px; background: var(--lr-fundo); }
.lr-voltar, .lr-topo .voltar { justify-self: start; display: inline-flex; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--lr-texto); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.lr-data { font-size: 12.5px; font-weight: 700; opacity: .6; white-space: nowrap; }
.lr-aa { justify-self: end; width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--lr-texto) 14%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--lr-fundo) 70%, #FFFFFF); color: var(--lr-texto); font-family: "Playfair Display", Georgia, serif; font-size: 16px; font-weight: 700; cursor: pointer; }
.lr[data-lr-fundo="escuro"] .lr-aa { background: #26242A; }
.lr-abas { display: flex; gap: 2px; margin: 6px 0 18px; padding: 3px; border-radius: 14px; background: color-mix(in srgb, var(--lr-texto) 8%, transparent); }
.lr-abas button { flex: 1; padding: 8px 4px; border: 0; border-radius: 11px; background: none; color: var(--lr-texto); font: inherit; font-size: 13px; font-weight: 700; opacity: .7; cursor: pointer; }
.lr-abas button[aria-selected="true"] { background: var(--lr-fundo); opacity: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.lr[data-lr-fundo="escuro"] .lr-abas button[aria-selected="true"] { background: #2C2A30; }
.lr-pagina { font-family: var(--lr-fonte); font-size: var(--lr-tam); line-height: var(--lr-entrelinha, 1.65); }
.lr-kicker { display: block; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--lr-ouro); }
.lr-ref { margin: 4px 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.15; }
.lr-abertura { margin: 0 0 16px; font-style: italic; opacity: .8; font-size: .92em; }
.lr-caixa { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--lr-ouro) 13%, var(--lr-fundo)); }
.lr-caixa p { margin: 4px 0; }
.lr-r { color: var(--lr-ouro); }
.lr-texto { text-align: var(--lr-alinhar, left); -webkit-hyphens: auto; hyphens: auto; }
.lr-v { margin: 0 0 .7em; }
.lr-v sup { margin-right: 4px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .58em; font-weight: 700; color: var(--lr-ouro); vertical-align: .55em; }
.lr-refrao-rep { margin: -.2em 0 .9em; }
.lr-fim { margin-top: 18px; }
.lr-fim p { margin: 4px 0; }
.lr-secao { margin: 22px 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 1.25em; }
.lr-rubrica { margin: 0 0 .6em; font-style: italic; font-size: .8em; color: var(--lr-ouro); }
.lr-credito { margin: 28px 0 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 11.5px; opacity: .55; }
.lr-em-breve { margin-top: 14px; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--lr-texto) 6%, transparent); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; }
.lr-em-breve p { margin: 0 0 12px; }
.lr-rodape { position: fixed; left: 0; right: 0; bottom: calc(var(--abas) + var(--seguro-baixo)); z-index: 4; padding: 8px 16px 10px; background: var(--lr-fundo); border-top: 1px solid color-mix(in srgb, var(--lr-texto) 10%, transparent); }
.lr-progresso { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lr-progresso span { flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--lr-texto) 12%, transparent); }
.lr-progresso i { display: block; height: 3px; border-radius: 2px; background: var(--lr-ouro); }
.lr-progresso small { font-size: 11.5px; opacity: .6; }
.lr-botoes { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.lr-botao { height: 46px; border-radius: 999px; font: inherit; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; font-weight: 800; cursor: pointer; }
.lr-botao.claro { border: 1px solid color-mix(in srgb, var(--lr-texto) 16%, transparent); background: transparent; color: var(--lr-texto); }
.lr-botao.escuro { border: 0; background: var(--lr-texto); color: var(--lr-fundo); }
.lr-botao.amarelo { border: 0; background: #FFC800; color: #1A1208; }
.lr-veu { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .35); }
.lr-ajustes { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; padding: 10px 20px calc(22px + var(--seguro-baixo)); border-radius: 24px 24px 0 0; background: #FBF3E2; color: #1C1A17; font-family: "Plus Jakarta Sans", system-ui, sans-serif; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.lr-alca { display: block; width: 38px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #D6CEC1; }
.lr-aj-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lr-aj-topo b { font-size: 16px; }
.lr-pronto { padding: 7px 16px; border: 0; border-radius: 999px; background: #FFC800; color: #1A1208; font: inherit; font-weight: 800; cursor: pointer; }
.lr-aj-rot { display: block; margin: 12px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #8A7A60; }
.lr-tamanho { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lr-tamanho button { width: 40px; height: 40px; border: 1px solid #E2D6BC; border-radius: 50%; background: #FFFFFF; color: #1C1A17; font-family: "Playfair Display", Georgia, serif; font-size: 13px; cursor: pointer; }
.lr-tamanho button.grande { font-size: 21px; }
.lr-tamanho button:disabled { opacity: .4; }
.lr-niveis { display: flex; align-items: center; justify-content: space-around; flex: 1; }
.lr-niveis i { border-radius: 50%; background: #D9CFBD; }
.lr-niveis i.on { background: #8B5E14; }
.lr-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lr-opcoes.tres { grid-template-columns: 1fr 1fr 1fr; }
.lr-opcoes.quatro { grid-template-columns: repeat(4, 1fr); }
.lr-opcoes.quatro button { padding: 0 4px; font-size: 13px; }
.lr-opcoes button { height: 46px; border: 1px solid #E2D6BC; border-radius: 12px; background: #FFFDF7; color: #1C1A17; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lr-opcoes button.f-serifada { font-family: "Literata", Georgia, serif; font-weight: 400; }
.lr-opcoes button.sel { border: 2px solid #A87C00; }
.lr-interruptor { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.lr-interruptor input { position: absolute; opacity: 0; }
.lr-interruptor i { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #D9CFBD; transition: background .2s; }
.lr-interruptor i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.lr-interruptor input:checked + i { background: #22A06B; }
.lr-interruptor input:checked + i::after { transform: translateX(20px); }
.lr-interruptor input:focus-visible + i { outline: 2px solid #A87C00; outline-offset: 2px; }
/* Folha de ajustes no fundo Escuro (Liturgia e livros) */
[data-lr-fundo="escuro"] .lr-ajustes { background: #1F1D22; color: #ECE6DA; box-shadow: 0 -10px 40px rgba(0, 0, 0, .55); }
[data-lr-fundo="escuro"] .lr-aj-rot { color: #A9A194; }
[data-lr-fundo="escuro"] .lr-tamanho button { background: #2A282E; border-color: #3A3740; color: #ECE6DA; }
[data-lr-fundo="escuro"] .lr-niveis i { background: #4A4650; }
[data-lr-fundo="escuro"] .lr-niveis i.on { background: #FFC800; }
[data-lr-fundo="escuro"] .lr-opcoes button:not([style]) { background: #2A282E; border-color: #3A3740; color: #ECE6DA; }
[data-lr-fundo="escuro"] .lr-opcoes button[style*="font-family"] { background: #2A282E !important; border-color: #3A3740; color: #ECE6DA !important; }
[data-lr-fundo="escuro"] .lr-opcoes button.sel { border: 2px solid #FFC800; }
[data-lr-fundo="escuro"] .lr-interruptor i { background: #4A4650; }

/* ---------- Lectio Divina ---------- */
.lc { padding-bottom: 20px; }
.lc-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lc-topo small { color: var(--texto-2); font-size: 12.5px; font-weight: 700; }
.lc-vela { display: grid; place-items: center; width: 52px; height: 52px; margin: 8px 0 12px; border-radius: 16px; background: #FFC800; color: #1A1208; }
.lc-vela svg { width: 24px; height: 24px; }
.lc-titulo { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 700; letter-spacing: -.4px; }
.lc-titulo.centro, .lc-data { text-align: center; }
.lc-sub { margin: 4px 0 10px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 17px; color: var(--texto-2); }
.lc-texto { margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.lc-kicker { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #B88A00; }
.lc-barra { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 6px 0 16px; }
.lc-barra i { height: 4px; border-radius: 2px; background: var(--cinza); }
.lc-barra i.feito { background: #2E8B57; } .lc-barra i.atual { background: #FFC800; }
.lc-lista { border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); overflow: hidden; }
.lc-linha { display: flex; gap: 12px; padding: 12px 16px; }
.lc-linha + .lc-linha { border-top: .5px solid var(--linha); }
.lc-linha .n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--superficie-3); font-size: 13px; font-weight: 800; }
.lc-linha .n.um { background: #FFC800; color: #1A1208; }
.lc-linha b { font-size: 15px; }
.lc-linha .lat { color: var(--texto-3); font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.lc-linha em { display: block; font-style: normal; color: var(--texto-2); font-size: 13px; }
.lc-tempos, .lc-mins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.lc-tempos button, .lc-mins button { display: grid; gap: 1px; padding: 10px 6px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); color: var(--texto); font: inherit; cursor: pointer; }
.lc-tempos b { font-size: 18px; } .lc-tempos small { color: var(--texto-2); font-size: 11.5px; }
.lc-tempos .sel, .lc-mins .sel { border: 2px solid var(--texto); background: var(--amarelo-claro); }
.lc-mins { max-width: 260px; margin: 12px auto; }
.lc-mins button { padding: 8px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.lc-nota { margin: 12px 0 0; text-align: center; color: var(--texto-3); font-size: 12.5px; line-height: 1.45; }
.lc-reze { margin: 4px 0 18px; padding: 14px 16px; border: 1.5px solid #E8C76A; border-radius: 18px; background: #FFF9EA; color: #2B1A0F; }
.lc-reze small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #A87C00; }
.lc-reze p { margin: 8px 0 0; font-family: "Literata", Georgia, serif; font-size: 17px; line-height: 1.55; }
.lc-botao { height: 50px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.lc-botao.largo { width: 100%; }
.lc-botao.centro { display: block; margin: 0 auto; }
.lc-botao.amarelo { border: 0; background: #FFC800; color: #1A1208; }
.lc-botao.claro, .lc-botao.contorno { border: 1px solid var(--linha); background: var(--superficie-2); color: var(--texto); }
.lc-botao.contorno { border: 1.5px solid var(--texto); }
.lc-botao.escuro { border: 0; background: #1A1208; color: #FFF6DA; }
.lc-nav { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 18px; }
.lc-evangelho { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.lc-evangelho .corpo { display: grid; flex: 1; min-width: 0; }
.lc-evangelho small { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #B88A00; }
.lc-evangelho b { font-size: 15.5px; }
.lc-evangelho .abrir { color: #B88A00; font-weight: 800; font-size: 14px; }
.lc-campo { display: grid; gap: 8px; }
.lc-campo b, .lc-rot { font-size: 14.5px; }
.lc-rot { display: block; margin: 0 0 10px; }
.lc-campo input, .lc-input, .lc-area { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 16px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 16px; }
.lc-area { min-height: 110px; margin-top: 12px; resize: vertical; }
.lc-input { margin-top: 12px; }
.lc-palavra { margin: 0 0 14px; padding: 12px 16px; border: 1.5px solid #E8C76A; border-radius: 16px; background: #FFF9EA; color: #2B1A0F; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 18px; }
.lc-perguntas { border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); overflow: hidden; }
.lc-perguntas p { display: flex; gap: 10px; margin: 0; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; }
.lc-perguntas p + p { border-top: .5px solid var(--linha); }
.lc-perguntas b { color: #B88A00; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-chips button { padding: 10px 15px; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lc-chips button.sel { border-color: #1A1208; background: #1A1208; color: #FFF6DA; }
.lc-relogio { position: relative; display: grid; place-items: center; width: 180px; height: 180px; margin: 6px auto 4px; }
.lc-relogio svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lc-relogio circle { fill: none; stroke-width: 8; }
.lc-relogio .fundo { stroke: var(--cinza); }
.lc-relogio .anel { stroke: #FFC800; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.lc-relogio span { display: grid; text-align: center; }
.lc-relogio b { font-size: 38px; font-weight: 800; letter-spacing: -.5px; }
.lc-relogio small { color: var(--texto-2); font-size: 12.5px; }
.lc-ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 18px auto 12px; border-radius: 50%; background: var(--verde-suave); color: var(--verde); }
.lc-data { margin: 6px 0 16px; color: var(--texto-2); font-size: 14px; }
.lc-resumo { padding: 16px; border: 1px solid var(--linha); border-radius: 20px; background: var(--superficie-2); }
.lc-resumo > small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #B88A00; }
.lc-palavra-fim { margin: 4px 0 12px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 19px; }
.lc-proposito { margin: 4px 0 12px; font-weight: 800; font-size: 16px; }
.lc-guardado { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding-top: 12px; border-top: .5px solid var(--linha); color: var(--texto-2); font-size: 13.5px; }
.lc-guardado svg { flex: none; color: #B88A00; }
.lc-diario { display: grid; gap: 10px; margin-top: 12px; }
.lc-entrada { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 18px; background: var(--superficie-2); }
.lc-entrada small { color: var(--texto-2); font-size: 12.5px; }
.lc-entrada b { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 17px; font-weight: 600; }
.lc-entrada span { font-size: 14px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .lc-relogio .anel, .lt-item-cab > svg, .lr-interruptor i, .lr-interruptor i::after { transition: none; } }
body[data-lr-ajustes] .abas { visibility: hidden; }

/* Selo "outra cidade" nas listas de Missas, Confissão e Adoração (nov/2026) */
.selo-cidade { display: inline-flex; align-items: center; gap: 3px; width: fit-content; margin: 3px 0 2px; padding: 2px 8px 2px 6px; border-radius: 999px; background: #EDE6FA; color: #5B3E8C; font-size: 11.5px; font-weight: 800; letter-spacing: .1px; }
.selo-cidade .ic { width: 12px; height: 12px; }
.heroi .selo-cidade { margin: 4px 0; }
:root[data-theme="dark"] .selo-cidade { background: #2C2540; color: #C9B6F2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .selo-cidade { background: #2C2540; color: #C9B6F2; } }
.opcao-filtro.mais .titulo { color: var(--texto-2); font-size: .92em; }
.cabecalho .filtro-local { font-weight: 800; color: #5B3E8C; }
:root[data-theme="dark"] .cabecalho .filtro-local { color: #C9B6F2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cabecalho .filtro-local { color: #C9B6F2; } }

/* ---------- Painel › Livros da Biblioteca ---------- */
.livro-admin-linha { display: flex; align-items: center; gap: 12px; }
.livro-admin-linha > span:last-child { display: grid; gap: 2px; min-width: 0; }
.livro-admin-linha small { font-size: .82em; color: var(--texto-2); }
.livro-admin-linha small.ok { color: var(--verde); font-weight: 700; }
.livro-admin-linha small.aviso { color: var(--laranja, #C77700); font-weight: 700; }
.livro-admin-cor { flex: none; width: 40px; height: 60px; overflow: hidden; border-radius: 2px 5px 5px 2px; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.livro-admin-cor img { width: 100%; height: 100%; object-fit: cover; }
.livro-admin-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.livro-admin-botoes .botao { flex: 1 1 120px; margin: 0; }
.livro-cores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.livro-cores button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.livro-cores button.sel { box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--texto); }
.livro-cores input[type="color"] { width: 40px; height: 34px; padding: 0; border: 0; background: none; }
.campo-check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9em; font-weight: 650; }
.livro-relatorio { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--superficie-2); list-style: none; display: grid; gap: 6px; font-size: .86em; line-height: 1.4; }
.livro-relatorio .ok { color: var(--texto); }
.livro-relatorio .aviso { color: var(--laranja, #C77700); font-weight: 700; }
.arquivo-escolhido { margin: 8px 0 0; color: var(--verde) !important; }
.livro-capa-previa { display: block; width: 96px; aspect-ratio: 2 / 3; object-fit: cover; margin-top: 8px; border-radius: 3px 8px 8px 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
