/* Desafio — editorial e quente. Uma cor de acento sólida, creme no claro, ameixa no escuro. Sem degradê, sem emoji. */
@font-face { font-family: 'Fraunces'; src: url('/vendor/fontes/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/vendor/fontes/fraunces-latin-full-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/vendor/fontes/dm-sans-latin-opsz-normal.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }

:root {
  --fundo: #f5efe9;
  --sup: #fffcf9;
  --sup2: #efe6df;
  --sup3: #e3d6cd;
  --linha: rgba(52, 30, 36, 0.09);
  --linha2: rgba(52, 30, 36, 0.16);
  --texto: #2a1d21;
  --texto2: #6f5f63;
  --texto3: #a39397;
  --acento: #b0506a;
  --acento-texto: #fff;
  --acento-fraco: #f2dfe2;
  --acento-meio: #dfb3bd;
  --verde: #4f7d66;
  --verde-fraco: #dde9e1;
  --vermelho: #b9473e;
  --vermelho-fraco: #f3dcd8;
  --ouro: #b88a46;
  --f-menstrual: #c24b55;
  --f-folicular: #5b8a70;
  --f-ovulatoria: #d98aa0;
  --f-lutea: #8a73b8;
  --fig-corpo: #2a1d21;
  --fig-roupa: var(--acento);
  --fig-objeto: #75656a;
  --fig-cena: #e6dbd3;
  --fig-linha: #d3c4bb;
  --sombra: 0 1px 2px rgba(52, 30, 36, 0.05), 0 8px 24px rgba(52, 30, 36, 0.06);
  --raio: 20px;
  --raio-p: 14px;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --texto-f: 'DM Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --topo: env(safe-area-inset-top, 0px);
  --base: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
[data-cor='lilas'] { --acento: #7559a3; --acento-fraco: #e7e0f1; --acento-meio: #c4b5dd; }
[data-cor='pessego'] { --acento: #bb5f43; --acento-fraco: #f5e0d8; --acento-meio: #e3b6a6; }
[data-cor='salvia'] { --acento: #4a7a63; --acento-fraco: #dce8e0; --acento-meio: #aac7b6; }
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #141013; --sup: #1d171b; --sup2: #272026; --sup3: #352b32;
    --linha: rgba(255, 236, 242, 0.08); --linha2: rgba(255, 236, 242, 0.15);
    --texto: #f4ebe7; --texto2: #b7a5a9; --texto3: #7f6e73;
    --acento: #e48ea3; --acento-texto: #2b0f17; --acento-fraco: rgba(228, 142, 163, 0.14); --acento-meio: rgba(228, 142, 163, 0.4);
    --verde: #8fc2a6; --verde-fraco: rgba(143, 194, 166, 0.14); --vermelho: #f08a80; --vermelho-fraco: rgba(240, 138, 128, 0.14);
    --fig-corpo: #f4ebe7; --fig-objeto: #a8969a; --fig-cena: #3a2f36; --fig-linha: #4a3d44;
    --sombra: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
  [data-cor='lilas'] { --acento: #b9a1e6; --acento-fraco: rgba(185, 161, 230, 0.14); --acento-meio: rgba(185, 161, 230, 0.4); --acento-texto: #1b1230; }
  [data-cor='pessego'] { --acento: #ee9c80; --acento-fraco: rgba(238, 156, 128, 0.14); --acento-meio: rgba(238, 156, 128, 0.4); --acento-texto: #2e130a; }
  [data-cor='salvia'] { --acento: #8fc2a6; --acento-fraco: rgba(143, 194, 166, 0.14); --acento-meio: rgba(143, 194, 166, 0.4); --acento-texto: #0d2118; }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); }
body { font: 16px/1.5 var(--texto-f); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--acento); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: 'SOFT' 50, 'WONK' 0; font-weight: 450; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
em { font-family: var(--display); font-style: italic; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }
.fraco { color: var(--texto2); }
.muito-fraco { color: var(--texto3); }
.peq { font-size: 14px; }
.entre { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.linha { display: flex; align-items: center; gap: 10px; }
.centro-txt { text-align: center; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; flex: none; display: block; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }

#app { max-width: 620px; margin: 0 auto; padding: calc(var(--topo) + 18px) 20px calc(var(--base) + 112px); }
#app > * { animation: entrar 0.35s var(--ease) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* carregando: blocos que respiram no lugar do conteúdo */
.esqueleto { display: grid; gap: 14px; padding-top: 8px; }
.esqueleto i { display: block; border-radius: var(--raio); background: var(--sup2); animation: respirar 1.4s ease-in-out infinite; }
.esqueleto i:nth-child(1) { height: 38px; width: 60%; border-radius: 10px; }
.esqueleto i:nth-child(2) { height: 150px; }
.esqueleto i:nth-child(3) { height: 220px; }
@keyframes respirar { 50% { opacity: 0.45; } }

/* tipografia de seção */
.topo { padding: 4px 2px 18px; }
.topo h1 { font-size: 36px; }
.topo p { margin: 6px 0 0; color: var(--texto2); font-size: 15px; }
.olho { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--texto3); }
.titulo-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 2px 12px; }
.titulo-sec h2 { font-size: 22px; }
.titulo-sec .acao, .link { color: var(--acento); font-weight: 600; font-size: 14.5px; }
.grande { font-family: var(--display); font-size: 32px; font-weight: 450; letter-spacing: -0.02em; line-height: 1; }
.medio { font-family: var(--display); font-size: 22px; font-weight: 450; letter-spacing: -0.01em; }

/* superfícies */
.cartao { background: var(--sup); border-radius: var(--raio); padding: 18px; border: 1px solid var(--linha); }
.cartao + .cartao { margin-top: 12px; }
.cartao.sem-pad { padding: 0; overflow: hidden; }
.cartao.suave { background: var(--sup2); border-color: transparent; }
.cartao.acento { background: var(--acento-fraco); border-color: transparent; }

/* destaque do desafio */
.destaque { background: var(--sup); border: 1px solid var(--linha); border-radius: 24px; padding: 20px 20px 18px; }
.destaque .dia { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.destaque .dia b { font-family: var(--display); font-weight: 400; font-size: 58px; letter-spacing: -0.04em; line-height: 0.95; }
.destaque .dia span { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--texto2); }
.trilha { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-top: 16px; }
.trilha i { height: 6px; border-radius: 3px; background: var(--sup3); }
.trilha i.feito { background: var(--acento); }
.trilha i.hoje { background: var(--acento-meio); }

.barra { height: 6px; border-radius: 6px; background: var(--sup3); overflow: hidden; }
.barra i { display: block; height: 100%; border-radius: 6px; background: var(--acento); transition: width 0.5s var(--ease); }

.anel { position: relative; width: 118px; height: 118px; flex: none; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel svg circle { transition: stroke-dasharray 0.6s var(--ease); }
.anel .centro { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.anel b { display: block; font-family: var(--display); font-weight: 450; font-size: 26px; letter-spacing: -0.02em; }
.anel small { color: var(--texto2); font-size: 11.5px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 16px; background: var(--acento); color: var(--acento-texto); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; text-decoration: none; transition: transform 0.15s var(--ease), opacity 0.2s; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; }
.btn.sec { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha2); }
.btn.claro { background: var(--sup2); color: var(--texto); }
.btn.peq { min-height: 40px; width: auto; padding: 0 15px; font-size: 14.5px; border-radius: 12px; }
.btn.perigo { background: var(--vermelho-fraco); color: var(--vermelho); }
.btn .ic { width: 18px; height: 18px; }
.botoes { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.botoes.lado { flex-direction: row; }
.btn-icone { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--sup2); color: var(--texto2); flex: none; transition: background 0.2s; }
.btn-icone .ic { width: 20px; height: 20px; }

/* chips e segmentos */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--sup); box-shadow: inset 0 0 0 1px var(--linha2); font-size: 14.5px; font-weight: 500; color: var(--texto); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.chip.on { background: var(--texto); color: var(--fundo); box-shadow: none; }
.chip.peq { padding: 7px 12px; font-size: 13.5px; }
.chip .ic { width: 16px; height: 16px; }
.etiqueta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--acento-fraco); color: var(--acento); white-space: nowrap; }
.etiqueta.verde { background: var(--verde-fraco); color: var(--verde); }
.etiqueta.cinza { background: var(--sup2); color: var(--texto2); }
.etiqueta .ic { width: 13px; height: 13px; }
.segmentos { display: flex; gap: 2px; padding: 3px; border-radius: 14px; background: var(--sup2); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.segmentos button { flex: 1; white-space: nowrap; padding: 9px 12px; border-radius: 11px; font-weight: 600; font-size: 14px; color: var(--texto2); transition: background 0.2s, color 0.2s; }
.segmentos button.on { background: var(--sup); color: var(--texto); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

/* formulários */
.campo { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.campo > label, .campo > .lbl { font-size: 13.5px; font-weight: 600; color: var(--texto2); }
.entrada { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--linha2); background: var(--sup); font-size: 16px; outline: none; transition: box-shadow 0.2s; }
textarea.entrada { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; }
.entrada:focus { box-shadow: inset 0 0 0 1.5px var(--acento), 0 0 0 4px var(--acento-fraco); }
.entrada::placeholder { color: var(--texto3); }
select.entrada { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23a39397'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-size: 16px; background-position: calc(100% - 14px) center; background-repeat: no-repeat; padding-right: 38px; }
.grade2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grade3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
.dica { font-size: 13.5px; color: var(--texto2); background: var(--sup2); border-radius: 12px; padding: 10px 12px; margin: -6px 0 16px; }
.erro-txt { color: var(--vermelho); font-size: 14px; min-height: 18px; margin: 4px 0; }
.marcar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--linha); }
.marcar:first-child { border-top: 0; }
.marcar input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--acento); flex: none; }
.marcar > span { flex: 1; }

/* listas */
.item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--linha); width: 100%; text-align: left; color: inherit; text-decoration: none; }
.item:first-child { border-top: 0; }
.item .meio { flex: 1; min-width: 0; }
.item .t1 { font-weight: 600; }
.item .t2 { font-size: 13.5px; color: var(--texto2); }
.item > .ic, .item .seta { color: var(--texto3); }
.selo { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--acento-fraco); color: var(--acento); flex: none; }
.selo .ic { width: 24px; height: 24px; }
.selo.neutro { background: var(--sup2); color: var(--texto2); }

/* check */
.check { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linha2); display: grid; place-items: center; flex: none; color: transparent; transition: background 0.25s var(--ease), box-shadow 0.25s; }
.check .ic { width: 15px; height: 15px; }
.check.on { background: var(--acento); box-shadow: none; color: var(--acento-texto); animation: marcar 0.35s var(--ease); }
@keyframes marcar { 40% { transform: scale(1.15); } }

/* aviso no meio da tela */
.faixa { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--sup2); margin-top: 12px; align-items: flex-start; }
.faixa > .ic { width: 22px; height: 22px; color: var(--acento); margin-top: 1px; }
.faixa p { margin: 0 0 6px; }
.faixa p:last-child { margin: 0; }

/* barra de abas */
.abas { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--base) + 10px); width: min(560px, calc(100% - 24px)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--sup) 92%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--sombra); border: 1px solid var(--linha); z-index: 20; }
.aba { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 16px; color: var(--texto3); font-size: 11px; font-weight: 600; transition: color 0.2s; }
.aba .ic { width: 23px; height: 23px; }
.aba.ativa { color: var(--texto); }
.aba.ativa::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--acento); margin-top: 1px; }
.aba:not(.ativa)::after { content: ''; height: 5px; }

/* folha (janela de baixo) */
.folha-fundo { position: fixed; inset: 0; background: rgba(28, 14, 20, 0.42); z-index: 40; animation: aparecer 0.25s; }
.folha { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(620px, 100%); max-height: 92dvh; overflow-y: auto; background: var(--fundo); border-radius: 26px 26px 0 0; padding: 10px 20px calc(var(--base) + 24px); z-index: 41; animation: subir 0.35s var(--ease); }
.folha h2 { font-size: 26px; margin: 8px 0 14px; padding-right: 44px; }
.pegador { width: 38px; height: 5px; border-radius: 5px; background: var(--sup3); margin: 0 auto 8px; }
.fechar-folha { position: absolute; z-index: 3; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--sup2); color: var(--texto2); display: grid; place-items: center; }
.fechar-folha .ic { width: 16px; height: 16px; }
@keyframes subir { from { transform: translate(-50%, 60px); opacity: 0; } }
@keyframes aparecer { from { opacity: 0; } }

.aviso-toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--topo) + 12px); background: var(--texto); color: var(--fundo); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; z-index: 60; box-shadow: var(--sombra); max-width: 92%; text-align: center; animation: cair 0.35s var(--ease); }
@keyframes cair { from { transform: translate(-50%, -12px); opacity: 0; } }
.festa { position: fixed; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; z-index: 59; }
.festa i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); animation: estourar 1.1s var(--ease) forwards; }
.festa i:nth-child(3n) { background: var(--ouro); width: 6px; height: 6px; }
.festa i:nth-child(4n) { background: var(--acento-meio); }
@keyframes estourar { 0% { transform: translate(0, 0) scale(0.2); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(var(--s)); opacity: 0; } }

/* entrar */
.entrar { max-width: 420px; margin: 0 auto; padding-top: 5dvh; }
.entrar .marca { margin-bottom: 28px; }
.entrar .logo { width: 56px; height: 56px; border-radius: 16px; }
.entrar h1 { font-size: 44px; margin-top: 22px; letter-spacing: -0.03em; }
.entrar .frase { color: var(--texto2); margin: 10px 0 0; font-size: 17px; }

/* humor */
.humores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.humor { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 12px 12px; border-radius: 16px; background: var(--sup2); font-size: 13px; font-weight: 600; text-align: left; line-height: 1.2; min-height: 92px; transition: background 0.2s, color 0.2s, transform 0.15s; }
.humor .ic { width: 28px; height: 28px; color: var(--acento); }
.humor:active { transform: scale(0.97); }
.humor.on { background: var(--texto); color: var(--fundo); }
.resposta h3 { font-size: 24px; margin: 8px 0 8px; }
.resposta ul { margin: 14px 0 0; padding: 0; list-style: none; }
.resposta li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linha); font-size: 14.5px; }
.resposta li .ic { width: 20px; height: 20px; color: var(--texto3); margin-top: 1px; }

/* tarefas */
.tarefa { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--linha); width: 100%; text-align: left; }
.tarefa:first-child { border-top: 0; }
.tarefa .meio { flex: 1; min-width: 0; }
.tarefa .pts { font-size: 13px; font-weight: 700; color: var(--texto3); font-variant-numeric: tabular-nums; }
.tarefa.feita .pts { color: var(--acento); }
.tarefa.feita .t1 { color: var(--texto2); }

/* água */
.copos { display: grid; grid-template-columns: repeat(auto-fill, minmax(24px, 1fr)); gap: 6px; }
.copo { height: 34px; border-radius: 4px 4px 9px 9px; box-shadow: inset 0 0 0 1.5px var(--linha2); position: relative; overflow: hidden; }
.copo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--acento-meio); transition: height 0.45s var(--ease); }
.copo.cheio::after { height: 78%; }

/* refeições */
.refeicao { border-top: 1px solid var(--linha); }
.refeicao:first-child { border-top: 0; }
.cab-ref { display: flex; align-items: center; gap: 14px; padding: 15px 16px; }
.cab-ref .hora { font-size: 13px; color: var(--texto3); width: 42px; flex: none; font-variant-numeric: tabular-nums; }
.cab-ref .t1 { font-weight: 600; }
.cab-ref .t2 { font-size: 13px; color: var(--texto2); }
.refeicao.feita .t1 { color: var(--texto2); }
.corpo-ref { padding: 0 16px 16px 58px; animation: entrar 0.3s var(--ease); }
.alimento { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--linha); font-size: 14.5px; }
.alimento:first-child { border-top: 0; }
.alimento .meio { flex: 1; }
.alimento small { display: block; color: var(--texto2); font-size: 13px; }
.alimento .trocar { font-size: 13px; font-weight: 600; color: var(--texto2); display: inline-flex; gap: 5px; align-items: center; padding: 6px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--linha2); }
.alimento .trocar .ic { width: 14px; height: 14px; }
.alimento.vontade { background: var(--acento-fraco); border-radius: 12px; padding: 10px 12px; border: 0; }
.opcao { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--linha); width: 100%; text-align: left; }
.opcao:first-child { border-top: 0; }
.opcao .meio { flex: 1; }
.opcao b { font-weight: 600; }
.vontades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vontades button { padding: 12px 4px 10px; border-radius: 14px; background: var(--sup2); font-size: 11.5px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; align-items: center; line-height: 1.15; text-align: center; }
.vontades button .ic { width: 28px; height: 28px; color: var(--acento); }
.contador { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 14px 0; }
.contador b { font-family: var(--display); font-weight: 450; font-size: 34px; min-width: 52px; text-align: center; }

.grafico { width: 100%; height: auto; display: block; }
.grafico text { font-size: 10px; fill: var(--texto3); font-family: var(--texto-f); }

/* ciclo */
.cal-cab, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-cab { font-size: 11.5px; color: var(--texto3); font-weight: 600; margin-bottom: 6px; }
.cal button, .cal span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 14.5px; position: relative; font-variant-numeric: tabular-nums; }
.cal button:disabled { color: var(--texto2); }
.cal .d-menstrual { background: var(--f-menstrual); color: #fff; font-weight: 600; }
.cal .d-prevista { box-shadow: inset 0 0 0 1.5px var(--f-menstrual); color: var(--f-menstrual); font-weight: 600; }
.cal .d-fertil { background: color-mix(in srgb, var(--f-ovulatoria) 20%, transparent); }
.cal .d-ovulacao { background: var(--f-ovulatoria); color: #fff; font-weight: 600; }
.cal .d-hoje { outline: 1.5px solid var(--texto); outline-offset: 2px; }
.cal .d-sintoma::after { content: ''; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--f-lutea); }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--texto2); margin-top: 14px; }
.legenda i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.fase-roda { display: flex; height: 8px; border-radius: 8px; overflow: visible; margin: 18px 0 8px; position: relative; gap: 2px; }
.fase-roda span { display: block; height: 100%; border-radius: 4px; }
.fase-roda b { position: absolute; top: -6px; width: 3px; height: 20px; border-radius: 3px; background: var(--texto); }

/* treino */
.ex { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--linha); width: 100%; text-align: left; }
.ex:first-child { border-top: 0; }
.ex .meio { flex: 1; min-width: 0; }
.ex .nome { font-weight: 600; }
.ex .det { font-size: 13.5px; color: var(--texto2); }
.ex .rotulo-mov { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto3); font-weight: 600; }
.mini-fig { width: 64px; height: 56px; border-radius: 12px; background: var(--sup2); flex: none; overflow: hidden; display: grid; place-items: center; }
.mini-fig svg { width: 100%; height: 100%; }
.ex.feito .mini-fig { box-shadow: inset 0 0 0 2px var(--acento); }
.palco { position: relative; border-radius: 22px; background: var(--sup2); overflow: hidden; aspect-ratio: 6 / 5; margin-bottom: 14px; }
.palco .figura { width: 100%; height: 100%; display: block; }
.palco iframe, .palco .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.palco .marca-palco { position: absolute; left: 12px; top: 12px; }
.como { font-size: 15px; color: var(--texto); margin: 0 0 14px; }
.series { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin: 6px 0 4px; }
.series input { height: 50px; text-align: center; padding: 0 4px; font-size: 18px; font-family: var(--display); }
.series label { font-size: 11.5px; color: var(--texto3); text-align: center; display: block; margin-bottom: 4px; }
.semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.semana div { padding: 9px 0 8px; border-radius: 13px; font-size: 11.5px; color: var(--texto3); font-weight: 600; }
.semana div b { display: block; font-family: var(--display); font-size: 17px; font-weight: 450; color: var(--texto2); margin-top: 2px; }
.semana .plan { background: var(--sup2); }
.semana .plan b { color: var(--texto); }
.semana .feito { background: var(--acento); color: var(--acento-texto); }
.semana .feito b { color: var(--acento-texto); }
.semana .hoje { box-shadow: inset 0 0 0 1.5px var(--texto); }
.cronometro { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--base) + 96px); background: var(--texto); color: var(--fundo); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 12px; align-items: center; z-index: 30; box-shadow: var(--sombra); animation: cair 0.3s var(--ease); }
.cronometro b { font-family: var(--display); font-weight: 450; font-size: 22px; }
.cronometro button { background: color-mix(in srgb, var(--fundo) 18%, transparent); color: inherit; border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 14px; }
.cronometro.pronto { background: var(--acento); color: var(--acento-texto); }

/* desafio */
.dias21 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dias21 div { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--sup2); color: var(--texto3); font-variant-numeric: tabular-nums; }
.dias21 .cheio { background: var(--acento); color: var(--acento-texto); }
.dias21 .meio-cheio { background: var(--acento-fraco); color: var(--acento); }
.dias21 .hoje { box-shadow: inset 0 0 0 1.5px var(--texto); }
.podio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin: 4px 0 16px; text-align: center; }
.podio > div { background: var(--sup); border: 1px solid var(--linha); border-radius: 18px; padding: 14px 8px 12px; }
.podio .p1 { background: var(--texto); color: var(--fundo); border-color: transparent; padding-top: 22px; }
.podio .pos-n { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1; }
.podio .nm { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; }
.podio .pt { font-size: 13px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.rank { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--linha); }
.rank:first-child { border-top: 0; }
.rank .pos { width: 26px; font-family: var(--display); font-style: italic; color: var(--texto3); text-align: center; font-size: 17px; }
.rank .nm { flex: 1; font-weight: 600; }
.rank.eu { background: var(--acento-fraco); }
.rank.eu .nm, .rank.eu .pos { color: var(--acento); }
.aula { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--linha); width: 100%; text-align: left; }
.aula:first-child { border-top: 0; }
.aula .capa { width: 84px; height: 52px; border-radius: 10px; background: var(--sup2); display: grid; place-items: center; flex: none; color: var(--texto3); overflow: hidden; position: relative; }
.aula .capa img { width: 100%; height: 100%; object-fit: cover; }
.aula .capa .ic { width: 22px; height: 22px; position: absolute; }
.aula .capa img + .ic { color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)); }
.aula.travada .capa { background: var(--sup2); }
.aula.travada .t1 { color: var(--texto2); }
.aula .meio { flex: 1; min-width: 0; }
.aula .t1 { font-weight: 600; }
.aula .t2 { font-size: 13px; color: var(--texto2); }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 14px; }
.video iframe, .video > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* respiração */
.respira { display: grid; place-items: center; margin: 26px 0; }
.bola { width: 190px; height: 190px; border-radius: 50%; background: var(--acento-fraco); box-shadow: inset 0 0 0 1.5px var(--acento-meio); display: grid; place-items: center; color: var(--acento); font-family: var(--display); font-style: italic; font-size: 22px; transform: scale(0.62); transition: transform 4.5s cubic-bezier(0.45, 0, 0.55, 1); }
.bola.cheia { transform: scale(1); }

/* painel */
.codigo { font-family: var(--display); font-size: 28px; letter-spacing: 0.14em; font-weight: 500; color: var(--texto); }
.vazio { text-align: center; padding: 34px 18px; color: var(--texto2); }
.vazio strong { display: block; font-family: var(--display); font-weight: 450; font-size: 22px; color: var(--texto); margin: 10px 0 6px; letter-spacing: -0.01em; }
.vazio > .ic { width: 34px; height: 34px; margin: 0 auto; color: var(--acento); }
.olho .ic { width: 16px; height: 16px; color: var(--acento); }
.palco + * { margin-top: 0; }
.rotulo { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--texto3); }
