:root {
  --bg: #14080c;
  --surface: #22101a;
  --surface-2: #301626;
  --vinho: #7a1f3d;
  --rosa: #c2416b;
  --dourado: #e8b4a0;
  --texto: #f4e6ea;
  --suave: #b99aa5;
  --raio: 18px;
  --ele: #7fb2ff;   /* ele: azul */
  --ela: #f0709a;   /* ela: rosa */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100%;
}

/* O app ocupa exatamente a altura da tela: topo, conteúdo (rola nas abas longas) e menu. */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
}

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  flex: none;
}
.topo h1 { margin: 0; font-size: 1.15rem; letter-spacing: .04em; color: var(--dourado); }
.selo {
  font-size: .72rem; border: 1px solid var(--vinho); color: var(--rosa);
  border-radius: 999px; padding: 2px 8px;
}

main {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 6px 16px 24px; max-width: 520px; width: 100%; margin: 0 auto;
}
main.jogo { overflow: hidden; padding-bottom: 8px; }

.aba { display: none; }
.aba.ativa { display: block; }
#aba-jogo.ativa { display: flex; flex-direction: column; height: 100%; }
h3 { color: var(--dourado); font-size: .95rem; margin: 0 0 8px; }
h3.sub { margin-top: 16px; }
.centro { text-align: center; }
.secao { background: var(--surface); border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.secao .modos { background: var(--bg); margin-top: 0; }
.secao .lista-itens label { background: var(--bg); }
.secao .profunda { margin: 0; background: transparent; border: 0; padding: 0; }
.btn-sec.largo { width: 100%; padding: 12px 14px; }
h2 { color: var(--dourado); font-size: 1.1rem; margin: 10px 0 6px; }
.dica { color: var(--suave); font-size: .9rem; margin: 0 0 12px; }

/* Topo e tela de nomes */
.topo-dir { display: flex; align-items: center; gap: 10px; }
.tela-nomes {
  position: fixed; inset: 0; z-index: 50; background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  overflow-y: auto;
}
.tela-nomes[hidden] { display: none; }
.nomes-caixa { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.nomes-caixa h2 { font-size: 1.5rem; margin: 0; }
.nomes-caixa label { display: flex; flex-direction: column; gap: 6px; color: var(--suave); font-size: .9rem; }
.nomes-caixa input {
  background: var(--surface); color: var(--texto); border: 1px solid var(--vinho);
  border-radius: 14px; padding: 14px; font-size: 1.1rem; outline: none;
}
.nomes-caixa input:focus { border-color: var(--rosa); }
.nomes-caixa .btn-principal { flex: none; margin-top: 4px; }
.nomes-caixa .link { align-self: center; font-size: .9rem; }

/* Modo de sequência */
.modos { display: flex; gap: 6px; background: var(--surface); border-radius: 999px; padding: 4px; margin: 6px 0 10px; }
.modos button {
  flex: 1; background: none; border: 0; color: var(--suave); border-radius: 999px;
  padding: 9px 6px; font-size: .92rem; cursor: pointer;
}
.modos button.ativo { background: var(--vinho); color: var(--texto); }

.sequencia { flex: none; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 2px 8px; font-size: .82rem; color: var(--suave); white-space: nowrap; overflow: hidden; }
.sequencia span { overflow: hidden; text-overflow: ellipsis; }
.link { background: none; border: 0; color: var(--rosa); font-size: .82rem; cursor: pointer; padding: 4px 2px; white-space: nowrap; }

/* Filtros */
.filtros { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 12px; flex-wrap: wrap; }
.grupo { display: flex; gap: 6px; }
.chip {
  background: var(--surface); color: var(--suave); border: 1px solid transparent;
  border-radius: 999px; padding: 7px 13px; font-size: .9rem; cursor: pointer;
}
.chip { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grupo.quebra { flex-wrap: wrap; }
.grupo.quebra .chip { max-width: none; }
.grupo.rolavel { overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.grupo.rolavel::-webkit-scrollbar { display: none; }
.grupo.rolavel .chip { flex: none; max-width: none; }
.chip.ativo { background: var(--vinho); color: var(--texto); border-color: var(--rosa); }
.chip:not(.ativo) { opacity: .55; }

/* Carta */
.carta {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--vinho);
  border-radius: var(--raio);
  padding: 16px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; gap: 10px;
  /* Na aba Jogo a carta ocupa todo o espaço livre e não empurra os botões. */
  flex: 1; min-height: 0; overflow: hidden;
  --fs: 1.25rem; --ilh: 200px;
}
.carta.rola { overflow-y: auto; }
.carta > * { flex: none; }
/* Corpo do card (título, imagem, texto): centralizado na horizontal e na vertical entre as etiquetas e o timer. */
.carta .corpo {
  flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.carta .corpo > :first-child { margin-top: auto; }
.carta .corpo > :last-child { margin-bottom: auto; }
.carta .corpo .ilustra { width: 100%; }
.carta h3 .ico { font-size: .95em; }
/* Nomes: ele azul, ela rosa, em negrito */
.n-e { color: var(--ele); font-weight: 800; }
.n-b { color: var(--ela); font-weight: 800; }
.tag.exec.ele { background: #1f3f78; color: #dce9ff; border-color: var(--ele); }
.tag.exec.ela { background: #8c2750; color: #ffe1ec; border-color: var(--ela); }
.carta .meta { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; overflow: hidden; }
.carta .meta .tag { flex: none; }
.carta .meta .tag.cat { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--dourado); border: 1px solid var(--vinho); }
.tag.exec { background: var(--vinho); color: var(--texto); font-weight: 700; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carta h3 { margin: 2px 0 0; font-size: calc(var(--fs) * 1.2); color: var(--dourado); }
.carta .texto { font-size: var(--fs); line-height: 1.45; margin: 0; }
.carta .upgrade { font-size: .9rem; color: var(--rosa); margin: 0; }
.carta .req { font-size: .85rem; color: var(--suave); margin: 0; }
.ilustra {
  border: 1px dashed var(--vinho); border-radius: 12px; height: 110px;
  display: grid; place-items: center; color: var(--suave); font-size: .85rem;
}
.ilustra.tem { border: 1px solid var(--vinho); background: var(--bg); height: auto; overflow: hidden; display: block; }
.ilustra.tem svg { display: block; width: 100%; height: auto; max-height: var(--ilh); }
.vazio { margin: auto; text-align: center; color: var(--suave); }

/* Timer */
.timer { margin-top: auto; text-align: center; }
.timer .relogio {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 18px 4px 14px;
  background: var(--bg); border: 1px solid var(--vinho); border-radius: 999px;
}
.timer .rel-ico { font-size: 1.4rem; opacity: .85; }
.timer .tempo { font-size: 2.2rem; font-variant-numeric: tabular-nums; color: var(--texto); line-height: 1.2; }
.timer .tempo.fim { color: var(--rosa); }
.timer .t-mais {
  background: var(--surface); color: var(--dourado); border: 1px solid var(--vinho); border-radius: 999px;
  padding: 0 12px; height: 40px; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.timer .t-mais:active { background: var(--vinho); }
.timer .botoes { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 8px; }
.timer .t-iniciar {
  flex: 1; max-width: 240px; background: var(--rosa); color: #fff; border: 0;
  border-radius: 999px; padding: 14px 20px; font-size: 1.1rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(194, 65, 107, .35);
}
.timer .t-iniciar:active { background: var(--vinho); }
.timer .t-iniciar.rodando { background: var(--vinho); box-shadow: none; border: 1px solid var(--rosa); }
.timer .t-zerar {
  background: none; color: var(--suave); border: 1px solid transparent; opacity: .6;
  border-radius: 999px; min-width: 40px; height: 40px; padding: 0 10px; font-size: 1rem; cursor: pointer;
}
.timer .t-zerar.confirmar { opacity: 1; color: var(--texto); border-color: var(--rosa); background: var(--bg); }
.tempo-tag { color: var(--texto); }

/* Ações */
.acoes { flex: none; display: flex; gap: 8px; margin-top: 10px; }
.acoes > button { min-height: 52px; }
.acoes .btn-principal { white-space: nowrap; padding: 15px 10px; }
.btn-principal {
  flex: 1; background: var(--rosa); color: #fff; border: 0; border-radius: var(--raio);
  padding: 15px; font-size: 1.05rem; font-weight: 600; cursor: pointer;
}
.btn-principal:active { background: var(--vinho); }
.btn-icone {
  width: 48px; background: var(--surface); color: var(--rosa); border: 1px solid var(--vinho);
  border-radius: var(--raio); font-size: 1.6rem; cursor: pointer;
}
.btn-icone.on { background: var(--vinho); color: #fff; }
.btn-sec {
  background: var(--surface); color: var(--dourado); border: 1px solid var(--vinho);
  border-radius: var(--raio); padding: 0 14px; font-size: .95rem; cursor: pointer; white-space: nowrap;
}
.btn-sec:active { background: var(--vinho); }
.btn-sec:disabled, .btn-icone:disabled { opacity: .4; cursor: default; }
.aviso { flex: none; text-align: center; color: var(--rosa); font-size: .85rem; margin: 6px 0 0; min-height: 1.1em; }
.fim-noite { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.fim-noite h3 { margin: 0; font-size: 1.5rem; color: var(--dourado); }
.fim-noite p { margin: 0; color: var(--suave); line-height: 1.5; }
.contagem { text-align: center; color: var(--suave); font-size: .8rem; margin: 10px 0 0; }

/* Itens */
.lista-itens, .lista-fav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lista-itens label {
  display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid transparent; border-radius: 14px; padding: 13px 14px; cursor: pointer;
}
.lista-itens input { accent-color: var(--rosa); width: 20px; height: 20px; }
.lista-itens li.marcado label { border-color: var(--vinho); background: var(--surface-2); }
.lista-fav li {
  background: var(--surface); border-radius: 14px; padding: 13px 14px; border: 1px solid var(--vinho);
}
.lista-fav li small { color: var(--suave); display: block; margin-top: 4px; }

/* Menu inferior */
.menu {
  flex: none;
  display: flex; background: var(--surface); border-top: 1px solid var(--vinho);
  padding-bottom: env(safe-area-inset-bottom);
}
.menu button {
  flex: 1; background: none; border: 0; color: var(--suave); padding: 10px 0 12px;
  font-size: .75rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.menu button span { font-size: 1.3rem; }
.menu button.ativo { color: var(--dourado); }

/* Intimidade profunda (interruptor na aba Itens) */
.profunda {
  width: 100%; text-align: left; background: var(--surface); color: var(--texto);
  border: 1px solid var(--vinho); border-radius: 14px; padding: 13px 14px; margin: 0 0 14px;
  display: grid; gap: 4px; cursor: pointer; font: inherit;
}
.profunda .p-tit { font-weight: 700; color: var(--dourado); }
.profunda .p-sub { color: var(--suave); font-size: .85rem; line-height: 1.35; }
.profunda .p-estado { justify-self: start; margin-top: 4px; font-size: .78rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--vinho); color: var(--suave); }
.profunda.ligado { background: var(--surface-2); border-color: var(--rosa); }
.profunda.ligado .p-estado { background: var(--rosa); border-color: var(--rosa); color: #fff; font-weight: 700; }

/* Alarme do timer: botão Parar em destaque e tela pulsando */
.t-iniciar.tocando { background: #b3123f; color: #fff; animation: pulsa .7s ease-in-out infinite alternate; }
body.alarme .timer .tempo { color: var(--rosa); }
body.alarme .timer .relogio { border-color: var(--rosa); animation: piscar .8s ease-in-out infinite alternate; }
body.alarme::before {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  box-shadow: inset 0 0 0 6px var(--rosa), inset 0 0 70px rgba(194, 65, 107, .65);
  animation: piscar .8s ease-in-out infinite alternate;
}
@keyframes pulsa { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes piscar { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .t-iniciar.tocando, body.alarme::before { animation: none; }
}

/* Timer compacto (quando a carta não cabe): tempo e botão na mesma linha */
.carta.compacta .timer { display: flex; align-items: center; gap: 10px; }
.carta.compacta .timer .tempo { font-size: 1.5rem; }
.carta.compacta .timer .relogio { padding: 2px 12px 2px 10px; gap: 6px; }
.carta.compacta .timer .rel-ico { font-size: 1.1rem; }
.carta.compacta .timer .t-mais { padding: 0 9px; height: 36px; font-size: .78rem; }
.carta.compacta .timer .t-zerar { min-width: 32px; padding: 0 4px; }
.carta.compacta .timer .botoes { gap: 6px; }
.carta.compacta .timer .botoes { flex: 1; margin-top: 0; }
.carta.compacta .timer .t-iniciar { padding: 11px 14px; font-size: 1rem; }

/* Ideias */
.ideia-dia {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--vinho); border-radius: var(--raio); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px;
}
.ideia-dia .texto { font-size: 1.2rem; line-height: 1.45; margin: 0; }
.ideia-dia .meta { display: flex; gap: 6px; flex-wrap: wrap; }
.ideia-dia .botoes { display: flex; gap: 8px; }
.ideia-dia .botoes button { min-height: 46px; }
.ideia-dia .feita { color: var(--dourado); font-weight: 600; }
.ideia-dia .segredo { color: var(--suave); font-size: .8rem; margin: 0; }
.filtros-ideias { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.lista-ideias { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lista-ideias li {
  background: var(--surface); border: 1px solid var(--vinho); border-radius: 14px; padding: 12px 14px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: start;
}
.lista-ideias li p { margin: 0; line-height: 1.45; grid-column: 1; }
.lista-ideias li .meta { grid-column: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.lista-ideias li .fav-ideia { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 1.3rem; }
.lista-ideias li.feita p::after { content: ' ✓'; color: var(--dourado); }
.lista-fav li.ideia { cursor: default; }


/* ===== PRÉVIA UX: melhorias de prioridade alta ===== */
:root { --rosa-texto: #e86a92; }   /* 5,6:1 sobre o fundo: texto pequeno em rosa */
/* 4. contraste do rosa usado como texto */
.link, .carta .upgrade, .aviso, .btn-icone, .badge { color: var(--rosa-texto); }
.btn-icone.on { color: #fff; }
header .badge, .topo .badge, [class*="mais18"], .selo { color: var(--rosa-texto); border-color: var(--rosa); }
/* 1. alvos de toque de 44 px */
.chip { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; }
.modos button { min-height: 44px; }
.timer .t-mais { height: 44px; min-width: 64px; }
.timer .t-zerar { min-width: 44px; height: 44px; }
.btn-icone { width: 52px; }
.carta.compacta .timer .t-mais { height: 44px; }
.lista-itens label { min-height: 48px; }
.lista-itens input { width: 24px; height: 24px; }
/* 2. chips inativos: borda e contraste, sem apagar */
.chip:not(.ativo) { opacity: 1; background: transparent; color: var(--texto); border: 1px solid #5a2a3c; }
.chip.ativo { font-weight: 700; }
/* 3. ✓ nos chips ligados (Ajustes) */
#aba-ajustes .chip.ativo::before { content: "✓"; margin-right: 6px; font-weight: 800; color: var(--dourado); }
/* 5. foco visível */
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 2px; }
button:focus-visible, .chip:focus-visible { border-radius: 999px; }
.acoes > .btn-icone { flex: none; width: 48px; }
.carta.compacta .timer .t-zerar, .timer .t-zerar { min-width: 44px; flex: none; }

.acoes { min-width: 0; }
.acoes > .btn-icone { width: 44px; }
.acoes > .btn-sec { padding: 0 10px; }
.acoes .btn-principal { min-width: 0; padding: 15px 6px; font-size: 1rem; }
.menu button:focus-visible { outline-offset: -4px; border-radius: 14px; }
.timer .t-zerar { width: 44px; }

/* ===== PRÉVIA UX: prioridade média ===== */
/* 6. hierarquia das etiquetas */
.tag { font-size: .78rem; }
.tag.exec { font-size: .82rem; padding: 4px 11px; }
.carta .meta .tag:not(.exec):not(.nivel) { background: transparent; border-color: transparent; color: var(--suave); padding-left: 2px; padding-right: 2px; }
.tag.nivel { font-weight: 700; color: var(--dourado); border-color: var(--dourado); }
.tag.nivel.n2 { color: #ffb36b; border-color: #ffb36b; }
.tag.nivel.n3 { color: #ff8fb0; border-color: #ff8fb0; }
/* 7. progresso em pontos */
.pontos { flex: none; display: flex; justify-content: center; gap: 5px; margin: -2px 0 8px; }
.pontos[hidden] { display: none; }
.pontos i { width: 8px; height: 8px; border-radius: 50%; background: #3a1b27; }
.pontos i.ok { background: var(--rosa-texto); }
.pontos i.agora { background: var(--dourado); box-shadow: 0 0 0 3px rgba(240, 200, 120, .25); }
.pontos i.fim { border-radius: 2px; transform: rotate(45deg); }
/* 8. menu com ícones de traço e indicador */
.menu button .ic { display: grid; place-items: center; width: 56px; height: 30px; border-radius: 999px; font-size: 0; transition: background .18s; }
.menu button .ic svg { display: block; }
.menu button.ativo .ic { background: rgba(240, 200, 120, .16); }
.menu button.ativo { font-weight: 700; }
/* 9. filtros das ideias recolhidos */
.filtrar { margin: 0 0 10px; }
.filtrar > summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #5a2a3c; border-radius: 999px; cursor: pointer; color: var(--texto); font-size: .9rem; }
.filtrar > summary::-webkit-details-marker { display: none; }
.filtrar > summary::before { content: "☰"; margin-right: 8px; color: var(--dourado); }
.filtrar[open] > summary { border-color: var(--dourado); }
.filtrar .filtros-ideias { margin-top: 10px; }
.grupo.rolavel { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.ideia-dia .botoes .btn-principal { min-height: 48px; }
/* 10. troca de carta com animação curta */
@keyframes entra { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.carta.entra { animation: entra .2s ease-out; }
@media (prefers-reduced-motion: reduce) { .carta.entra { animation: none; } }
/* 11. texto longo: alinhado à esquerda, largura de leitura */
.carta .texto.longo { text-align: left; max-width: 36ch; align-self: center; }

/* Modo silencioso: atalho no topo e item indisponível nos favoritos */
.btn-silencio {
  display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: .8rem; cursor: pointer;
  background: transparent; color: var(--suave); border: 1px solid var(--vinho); border-radius: 999px; padding: 3px 9px; min-height: 28px;
}
.btn-silencio.ligado { background: var(--rosa); border-color: var(--rosa); color: #fff; font-weight: 700; }
.lista-fav li.indisponivel { opacity: .5; cursor: default; }

/* Duração da noite (curta / completa / longa) */
.duracoes { display: flex; gap: 6px; margin: 0 0 10px; }
.duracoes[hidden] { display: none; }
.duracoes button { flex: 1; min-height: 52px; border-radius: 14px; border: 1px solid var(--vinho); background: var(--bg); color: var(--texto); font: inherit; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.duracoes button small { font-weight: 400; font-size: .75rem; opacity: .8; }
.duracoes button.ativo { background: var(--vinho); }

/* Lote 1: pausa, lembrete de consentimento, opcional, aftercare */
.seguranca { flex: none; display: flex; align-items: center; gap: 8px; margin: -2px 2px 8px; }
.btn-pausa { flex: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dourado); background: transparent; color: var(--dourado); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.lembrete { flex: 1; min-width: 0; font-size: .75rem; line-height: 1.25; color: var(--suave); }
.lembrete.sinal { color: var(--dourado); font-weight: 600; }
.tela-pausa { position: fixed; inset: 0; z-index: 60; background: rgba(10, 4, 7, .985); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.tela-pausa[hidden] { display: none; }
.pausa-caixa { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.pausa-caixa h2 { font-size: 1.6rem; margin: 0; }
.pausa-caixa p { margin: 0; color: var(--texto); line-height: 1.5; }
.pausa-caixa .dica { color: var(--dourado); }
.tag.opc { color: var(--dourado); border-color: var(--dourado); }
.nota-opc { font-size: .8rem; color: var(--suave); margin: 0; line-height: 1.35; }
.fim-noite .cuidado { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; color: var(--texto); }
.fim-noite .cuidado b { color: var(--dourado); }
.fim-noite .timer { margin: 4px 0; }
.fim-noite { width: 100%; margin: 0 auto; gap: 8px; }
.fim-noite h3 { font-size: 1.3rem; }
.fim-noite p { font-size: .9rem; line-height: 1.4; }
.fim-noite .btn-sec { min-height: 44px; }

/* v1-16: −1 / +1 minuto dos lados do relógio; botão Ouvir o toque */
.timer .relogio { padding: 4px 6px; gap: 8px; }
.timer .t-ajuste {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--vinho);
  background: var(--surface); color: var(--dourado); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
}
.timer .t-ajuste:active { background: var(--vinho); }
.timer .t-ajuste:disabled { opacity: .35; cursor: default; }
.carta.compacta .timer .relogio { padding: 2px 4px; gap: 4px; }
.carta.compacta .timer .rel-ico { display: none; }
.carta.compacta .timer .t-ajuste { width: 38px; height: 38px; font-size: .85rem; }
#btn-ouvir-toque { margin-top: 10px; }
