/* ======================================================================
   MOVIMENTO E COMPONENTES NOVOS DO FASE.
   As animações de entrada só rodam sob .enter, que o app liga quando a TELA muda
   (aba, exercício, série, descanso), nunca num repaint da mesma tela.
   prefers-reduced-motion está tratado em app.css.
   ====================================================================== */
@keyframes entra { from { opacity: 0; transform: translate(var(--dx, 0px), 12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ring { from { stroke-dasharray: 0 var(--circ); } to { stroke-dasharray: var(--alvo) var(--circ); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes mostra { to { opacity: 1; } }

[data-view][data-dir="1"] { --dx: 26px; }
[data-view][data-dir="-1"] { --dx: -26px; }
/* Primeira vez na tela: cascata curta (tudo parado em ~0,6 s). */
.enter > *, .enter > .session > *, .enter > .entrada > * { animation: entra 0.38s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.enter > :nth-child(2), .enter > .session > :nth-child(2), .enter > .entrada > :nth-child(2) { animation-delay: 0.035s; }
.enter > :nth-child(3), .enter > .session > :nth-child(3), .enter > .entrada > :nth-child(3) { animation-delay: 0.07s; }
.enter > :nth-child(4), .enter > .session > :nth-child(4), .enter > .entrada > :nth-child(4) { animation-delay: 0.105s; }
.enter > :nth-child(5), .enter > .session > :nth-child(5), .enter > .entrada > :nth-child(5) { animation-delay: 0.14s; }
.enter > :nth-child(6), .enter > .session > :nth-child(6), .enter > .entrada > :nth-child(6) { animation-delay: 0.175s; }
.enter > :nth-child(7), .enter > .session > :nth-child(7), .enter > .entrada > :nth-child(7) { animation-delay: 0.2s; }
.enter > :nth-child(n + 8), .enter > .session > :nth-child(n + 8), .enter > .entrada > :nth-child(n + 8) { animation-delay: 0.22s; }
/* Aba que já foi vista: a tela inteira aparece num fade curto, sem cascata. */
.enter--rapida { animation: fadeIn 0.16s ease-out both; }
.enter--rapida .shot img, .enter--rapida .list img { transition: none; }
.enter--rapida .lab-recorde, .enter--rapida .lab-marco, .enter--rapida .lab-frase, .enter--rapida .lab-convite,
.enter--rapida .lab-seq__anel .v, .enter--rapida .lab-seq__barra i, .enter--rapida .lab-duelo__barra i { animation: none; }

/* abas */
.tabs button { position: relative; transition: color 0.2s, background 0.25s; }
.tabs button[aria-current="page"] svg { animation: pop 0.45s ease both; }
.tabs button svg { transition: transform 0.15s; }
.tabs button:active { transform: scale(0.96); }
.tabs button:active svg { transform: scale(0.92); }

/* anel e gráficos desenham ao entrar */
.enter .ring-fg { animation: ring 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.chart .area { stroke: none; }
.enter .chart .linha-g { stroke-dasharray: 1; animation: draw 1.3s 0.25s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
.enter .chart .area { animation: fadeIn 0.9s 0.9s both; }
.chart circle { transform-box: fill-box; transform-origin: center; }
.enter .chart circle { animation: pop 0.4s both; animation-delay: calc(0.5s + var(--i, 0) * 0.14s); }
.enter .week li { animation: pop 0.4s both; animation-delay: calc(0.15s + var(--i, 0) * 0.04s); }
.enter .trail .is-atual i { transform-origin: left; animation: grow 0.8s 0.3s both; }

/* cartão de hoje */
.card--destaque { position: relative; overflow: hidden; }

/* números da constância */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 6px 10px; }
.stats__k { grid-column: 1 / -1; }
.stat { display: flex; flex-direction: column; gap: 3px; padding: 6px 0 2px; }
.stat b { font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.stat > span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.stats--fim { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 12px 16px; }
.stats--fim .stat b { font-size: 44px; color: var(--gold-hi); }

/* mapa de constância */
.mapa__dow, .mapa { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mapa__dow { margin-top: 4px; color: var(--faint); font-size: 11px; }
.mapa__dow span { text-align: center; }
.mapa { list-style: none; margin: 0; padding: 0; }
.hm { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--s2); }
.hm--feito { background: var(--gold); }
.hm--parcial { background: rgba(227, 166, 20, 0.38); }
.hm--plano { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.hm--futuro { background: transparent; box-shadow: inset 0 0 0 1px var(--line); opacity: 0.45; }
.hm--hoje { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold-hi); }
.enter .mapa .hm { animation: pop 0.4s both; animation-delay: calc(0.1s + var(--i, 0) * 0.016s); }
.mapa__leg { margin: 6px 0 0; display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; color: var(--faint); font-size: 12px; }
.mapa__leg .hm { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: -4px; aspect-ratio: auto; }

/* barras de histórico */
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hist li:first-child { border-top: 0; }
.hist span { color: var(--muted); min-width: 0; line-height: 1.35; overflow-wrap: break-word; }
.hist .bar { grid-column: 1 / -1; }
.hist b { font-weight: 550; font-variant-numeric: tabular-nums; text-align: right; line-height: 1.3; }
.bar { height: 6px; border-radius: 6px; background: var(--s3); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: left; }
.enter .bar i { animation: grow 0.9s both cubic-bezier(0.2, 0.7, 0.2, 1); animation-delay: calc(0.25s + var(--i, 0) * 0.08s); }
.enter .hist li { animation: entra 0.45s both; animation-delay: calc(0.1s + var(--i, 0) * 0.06s); }

/* linhas que abrem o exercício */
.facts--btn li { padding: 0; }
.exlin { width: 100%; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; background: transparent; border: 0; padding: 11px 0; font-size: 15px; cursor: pointer; text-align: left; border-radius: 8px; }
.exlin span { color: var(--muted); transition: color 0.15s; min-width: 0; overflow-wrap: break-word; }
.exlin b { font-weight: 550; text-align: right; flex: 0 1 auto; max-width: 48%; overflow-wrap: break-word; }
.exlin:hover span { color: var(--gold-hi); }
.enter .list li { animation: entra 0.45s both; animation-delay: calc(0.12s + var(--i, 0) * 0.06s); }

/* lista de exercícios clicável */
.list li { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; display: block; padding: 0; }
.exbtn { width: 100%; display: grid; grid-template-columns: 64px 30px minmax(0, 1fr) 18px; gap: 10px; align-items: center; background: transparent; border: 0; border-radius: 16px; padding: 8px 10px 8px 8px; text-align: left; cursor: pointer; transition: background 0.15s, transform 0.12s; }
.exbtn:hover { background: var(--s2); }
.exbtn:active { transform: scale(0.99); }
.chev { width: 18px; height: 18px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s, stroke 0.2s; }
.exbtn:hover .chev { transform: translateX(3px); stroke: var(--gold); }

/* fotos: entrada suave; painel com ícone quando não há foto aprovada */
.shot img, .list img { opacity: 0; transform: scale(1.03); transition: opacity 0.45s ease, transform 0.7s ease; animation: mostra 0.3s 3s forwards; background: linear-gradient(90deg, var(--s2) 0, var(--s3) 50%, var(--s2) 100%); }
.shot img.ok, .list img.ok { opacity: 1; transform: none; }
.shot--glifo .glifo { height: 232px; border-radius: 20px; display: grid; place-items: center; border: 1px solid var(--line-2); background: radial-gradient(circle at 28% 18%, #2a2210 0, var(--s1) 68%); position: relative; overflow: hidden; }
.shot--rest.shot--glifo .glifo { height: 150px; }
.shot--folha.shot--glifo .glifo { height: 190px; }
.shot--folha img { height: 220px; }
.glifo svg { width: 88px; height: 88px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; animation: floaty 3.6s ease-in-out infinite; filter: drop-shadow(0 6px 18px rgba(227, 166, 20, 0.28)); }
.shot--rest .glifo svg { width: 60px; height: 60px; }
.list .ph--g { display: grid; place-items: center; background: var(--s3); }
.ph--g svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* sessão: progresso, pontos, descanso, confirmações */
.sbar { height: 4px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.sbar i { display: block; height: 100%; width: var(--p, 0%); border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); animation: sbar 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes sbar { from { width: var(--p0, 0%); } to { width: var(--p, 0%); } }
.dots { list-style: none; display: flex; gap: 8px; margin: 2px 0 0; padding: 0; }
.dots li { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background 0.3s; }
.dots .ok { background: var(--gold); box-shadow: none; }
.dots .x { background: var(--s3); box-shadow: inset 0 0 0 1.5px var(--faint); }
.dots .atual { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.session .btn[data-set="fechou"] { min-height: 60px; font-size: 18px; }

.rest { position: relative; width: 156px; height: 156px; margin: 4px auto; display: grid; place-items: center; text-align: center; }
.rest svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rest > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rest .count { display: block; }
.rest .bg { fill: none; stroke: var(--s3); stroke-width: 7; }
.rest .fg { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; animation: restring var(--dur, 60s) linear var(--atraso, 0s) forwards; filter: drop-shadow(0 0 6px rgba(227, 166, 20, 0.45)); }
@keyframes restring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 339.3; } }
.rest .count { font-size: 52px; }
.rest small { color: var(--faint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.count.tic { animation: ticar 0.5s ease; }
@keyframes ticar { 0% { transform: scale(1); color: var(--text); } 40% { transform: scale(1.18); color: var(--gold-hi); } 100% { transform: scale(1); } }
.rest + .textbtn { align-self: center; }

.feito { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ok); }
.feito svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feito path { stroke-dasharray: 1; animation: draw 0.5s 0.15s ease-out both; }
.feito--neutro { color: var(--muted); }

.selo-fim { width: 72px; height: 72px; margin: 0; animation: pop 0.6s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; filter: drop-shadow(0 0 16px rgba(227, 166, 20, 0.35)); }
.session--fim h2 { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; margin: 0; }
.fala-topo { margin: 0; padding: 14px; border-radius: 16px; background: #1a160e; border: 1px solid rgba(227, 166, 20, 0.5); color: var(--text); font-size: 17px; line-height: 1.4; font-weight: 600; overflow-wrap: break-word; }
.fala-topo--ok { color: var(--gold-hi); }
.selo-fim svg { width: 100%; height: 100%; fill: rgba(227, 166, 20, 0.07); stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.selo-fim .c, .selo-fim .v { stroke-dasharray: 1; animation: draw 0.8s 0.25s ease-out both; }
.selo-fim .v { fill: none; stroke: var(--gold-hi); stroke-width: 4.5; animation-delay: 0.7s; animation-duration: 0.5s; }
.selo-fim--pausa { filter: none; }
.card--sobe { border-color: rgba(233, 200, 115, 0.35); background: linear-gradient(180deg, rgba(233, 200, 115, 0.07), var(--s1) 80%); }
.card--sobe .kicker { color: var(--ok); }
.hist--fim { background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 4px 16px; }

/* folha do exercício */
body.folha-aberta { overflow: hidden; }
.folha { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.folha__fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.64); backdrop-filter: blur(3px); animation: fadeIn 0.25s both; }
.folha__painel { position: relative; width: min(100%, 460px); max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--s1); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; outline: none; animation: sobe 0.4s cubic-bezier(0.2, 0.85, 0.2, 1) both; }
@keyframes sobe { from { transform: translateY(100%); } to { transform: none; } }
@keyframes desce { to { transform: translateY(100%); } }
.folha.sai .folha__painel { animation: desce 0.26s ease-in both; }
.folha.sai .folha__fundo { animation: fadeOut 0.26s both; }
.folha__alca { width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); align-self: center; margin-bottom: 6px; flex: none; }
.folha .facts { background: var(--s2); border-radius: 16px; padding: 4px 14px; }
.dica { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--s2); border-radius: 16px; animation: entra 0.45s both; animation-delay: calc(0.18s + var(--i, 0) * 0.09s); }
.dica i { width: 36px; height: 36px; border-radius: 12px; background: rgba(227, 166, 20, 0.12); display: grid; place-items: center; }
.dica svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dica b { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dica p { margin: 3px 0 0; font-size: 15px; line-height: 1.42; }
.folha__graf .chart { margin-top: 8px; }
.folha .chart .linha-g { stroke-dasharray: 1; animation: draw 1.2s 0.5s ease-out both; }
.folha .chart circle { animation: pop 0.4s both; animation-delay: calc(0.8s + var(--i, 0) * 0.14s); }
.folha .chart .area { animation: fadeIn 0.8s 1.2s both; }
@media (min-width: 900px) { .folha { align-items: center; } .folha__painel { border-radius: 26px; border-bottom: 1px solid var(--line-2); } }

/* interruptores de preferência */
.sw { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 13px 0; text-align: left; cursor: pointer; }
.kicker + .sw { border-top: 0; }
.sw span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw b { font-weight: 550; font-size: 15px; }
.sw small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.sw i { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--s3); transition: background 0.25s; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.25s; }
.sw[aria-checked="true"] i { background: var(--gold); }
.sw[aria-checked="true"] i::after { transform: translateX(20px); background: var(--ink); }

/* aviso rápido e confete */
.toast { position: fixed; z-index: 40; top: calc(8px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); width: auto; max-width: 460px; margin-inline: auto; padding: 12px 14px; border-radius: 16px; background: #1a160e; border: 1px solid rgba(227, 166, 20, 0.45); color: var(--text); font-size: 15px; font-weight: 550; line-height: 1.4; text-align: left; overflow-wrap: break-word; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55); animation: toastIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.toast--ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 9px; vertical-align: 1px; }
.toast.sai { animation: toastOut 0.4s ease-in both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }
.confete { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* troca de exercício */
.troca-tag { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; color: var(--gold-hi); background: rgba(227, 166, 20, 0.1); border-radius: 12px; padding: 8px 12px; }
.troca-tag svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Técnica avançada no exercício (drop, pirâmide, GVT...) e o par da super série / bi-set */
.tecnica { margin: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.4; color: var(--text); background: rgba(227, 166, 20, 0.1); border-left: 3px solid var(--gold-hi); border-radius: 12px; padding: 10px 12px; }
.tecnica > b { color: var(--gold-hi); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tecnica--par ol { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; }
.tecnica--par li { display: flex; gap: 10px; align-items: center; }
.tecnica--par li > i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #111; background: var(--gold-hi); }
.tecnica--par li span { display: grid; min-width: 0; }
.tecnica--par li small, .tecnica--par > small { opacity: .8; overflow-wrap: anywhere; }
.troca-mini { font-style: normal; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 6px; margin-left: 6px; }
.sub--leve { color: var(--faint); font-size: 13px; }
.list--troca .mais { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); font-size: 13px; }
.toast--aviso::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--alerta); margin-right: 9px; vertical-align: 1px; }

/* várias fotos do mesmo exercício */
.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; gap: 0; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 100%; scroll-snap-align: center; border-radius: 0; }
.strip__dots { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 8px 0 0; padding: 0; }
.strip__dots li { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background 0.2s, transform 0.2s; }
.strip__dots .on { background: var(--gold); transform: scale(1.35); }
.strip__leg { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* biblioteca de fotos (demo) */
.bib { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bib__li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--s2); border-radius: 16px; padding: 8px 10px 8px 8px; }
.bib__th .ph, .bib__th img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: var(--s3); }
.bib__li b { display: block; font-weight: 550; font-size: 15px; }
.bib__li small { display: block; color: var(--muted); font-size: 12px; }
.chip { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; border-radius: 999px; padding: 1px 8px; border: 1px solid var(--line-2); color: var(--muted); }
.chip--teste { color: var(--gold-hi); border-color: var(--gold); }
.chip--banco, .chip--metodo { color: var(--ok); border-color: rgba(233, 200, 115, 0.5); }
.bib__acoes { display: flex; flex-direction: column; gap: 6px; }
.minibtn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.minibtn--sec { background: var(--s3); color: var(--text); font-weight: 500; }

/* fotos de evolução */
.evo-add { display: flex; gap: 8px; margin-top: 4px; }
.minibtn--lg { flex: 1; min-height: 46px; font-size: 14px; }
.evo-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.evo-grid button { width: 100%; display: flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 0; cursor: pointer; text-align: left; }
.evo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--s3); display: block; opacity: 1; transform: none; }
.evo-grid span { color: var(--muted); font-size: 11px; }
.enter .evo-grid li { animation: pop 0.4s both; animation-delay: calc(0.1s + var(--i, 0) * 0.05s); }
.pos { gap: 16px; }
.pos-topo, .pos-bloco, .pos-grupo, .pos-resultado, .pos-espera { display: flex; flex-direction: column; gap: 10px; }
.pos-bloco { padding-top: 14px; border-top: 1px solid var(--line); }
.pos-exemplos, .pos-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pos-exemplos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 12px; background: var(--s3); display: block; }
.pos-exemplos span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.pos-slot { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; border: 1px dashed var(--line-2); background: var(--s2); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 8px; cursor: pointer; }
.pos-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.pos-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pos-slot b, .pos-slot small { position: relative; z-index: 1; background: rgba(7, 7, 7, 0.72); border-radius: 999px; padding: 3px 8px; line-height: 1.2; }
.pos-slot b { font-size: 12px; font-weight: 650; }
.pos-slot small { font-size: 11px; color: var(--gold-hi); }
.pos-slot.is-cheia { border-style: solid; border-color: var(--gold); }
.pos-resultado { margin: 0; }
.pos-diag { margin: 0; font-size: 16px; line-height: 1.5; }
.pos-achados, .pos-prio { list-style: none; margin: 0; padding: 0; }
.pos-achados { display: flex; flex-wrap: wrap; gap: 8px; }
.pos-achados li { background: var(--s3); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.pos-vistas { display: flex; flex-direction: column; gap: 8px; }
.pos-vista { margin: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 16px; background: var(--s2); border: 1px solid var(--line); }
.pos-vista img, .pos-vazia { width: 88px; height: 116px; border-radius: 12px; background: var(--s3); }
.pos-vista img { object-fit: cover; display: block; }
.pos-vazia { display: grid; place-items: center; color: var(--faint); font-size: 11px; line-height: 1.2; text-align: center; padding: 8px; }
.pos-vista figcaption { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.pos-vista figcaption b { color: var(--gold); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.pos-vista--cheia { align-items: start; }
.pos-pontos { margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.pos-pontos div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; align-items: start; }
.pos-pontos dt { margin: 0; color: var(--faint); font-size: 12px; font-weight: 650; line-height: 1.35; }
.pos-pontos dd { margin: 0; color: var(--text); font-size: 14px; line-height: 1.4; }
.pos-alinhado li { background: transparent; border: 1px solid rgba(233, 200, 115, 0.45); color: var(--ok); }
@media (max-width: 560px) {
  .pos-vista--cheia { display: flex; flex-direction: column; gap: 10px; }
  .pos-vista--cheia img, .pos-vista--cheia .pos-vazia { width: 72px; height: 96px; }
  .pos-pontos div { grid-template-columns: 92px minmax(0, 1fr); }
}
.pos-prio { display: flex; flex-direction: column; gap: 8px; counter-reset: prio; }
.pos-prio li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.4; }
.pos-prio li::before { counter-increment: prio; content: counter(prio); width: 22px; height: 22px; border-radius: 50%; background: rgba(227, 166, 20, 0.14); color: var(--gold); font-size: 12px; font-weight: 650; display: grid; place-items: center; }
.pos-espera { margin: 0; padding: 14px; border-radius: 16px; background: var(--s2); }
.pos-etapas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pos-etapas li { margin: 0; padding-top: 8px; border-top: 2px solid var(--line); color: var(--faint); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }
.pos-etapas li.is-ativa { color: var(--gold); border-top-color: var(--gold); }
.pos-frase { margin: 0; min-height: 3em; font-size: 16px; line-height: 1.45; }
.shot--evo img { width: 100%; max-height: 62vh; height: auto; object-fit: contain; opacity: 1; transform: none; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp__col { margin: 0; }
.cmp__col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; opacity: 1; transform: none; }
.cmp__col figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; }
.cmp__col figcaption b { color: var(--text); font-weight: 550; font-size: 13px; }
.facts--del li { align-items: center; }
.facts--del .x { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--s3); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.facts--del .x:hover { background: rgba(232, 113, 95, 0.2); color: #f2a498; }

/* respirar e contrair: dois cartões sempre visíveis */
.dicas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dica-mini { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.dica-mini::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); opacity: 0.7; }
.dica-mini i { width: 30px; height: 30px; border-radius: 10px; background: rgba(227, 166, 20, 0.12); display: grid; place-items: center; margin-bottom: 4px; }
.dica-mini svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dica-mini b { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dica-mini p { margin: 0; font-size: 14px; line-height: 1.38; color: var(--text); }
.dica-mini--respirar svg { animation: respira 3.6s ease-in-out infinite; transform-origin: center; }
@keyframes respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.dica-mini--contrair svg circle:last-child { animation: aperta 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes aperta { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(0.72); } }
@media (max-width: 340px) { .dicas { grid-template-columns: 1fr; } }
.sec-acoes { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 6px; margin-top: 2px; }
.textbtn--alerta { color: #f2a498; }

/* bolinha da série atual: o anel dourado fica sempre, só o brilho pulsa */
.dots .atual { animation: dotpulse 1.8s ease-in-out infinite; }
@keyframes dotpulse { 0%, 100% { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 0 rgba(227, 166, 20, 0); } 50% { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 5px rgba(227, 166, 20, 0.16); } }

/* exercício concluído de uma vez: carga + séries, cronômetro opcional */
.load__x { font-size: 18px; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-left: 6px; }
button.chip--rest { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; min-height: 40px; padding: 0 14px; font-size: 14px; font-family: inherit; background: var(--s1); color: var(--muted); border: 1px solid var(--line-2); cursor: pointer; transition: color 0.2s, border-color 0.2s, transform 0.15s; }
button.chip--rest:hover { color: var(--gold-hi); border-color: var(--gold); }
button.chip--rest:active { transform: scale(0.97); }
button.chip--rest svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- treinos da semana: todos abertos, em qualquer dia ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); }
.seg button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 550; font-size: 15px; font-family: inherit; cursor: pointer; transition: background 0.25s, color 0.25s; }
.seg button[aria-selected="true"] { background: var(--gold); color: var(--ink); font-weight: 650; }
.sessao { background: var(--s1); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sessao--hoje { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 166, 20, 0.08), var(--s1) 60%); }
.sessao--feita { opacity: 0.82; }
.sessao__topo { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sessao h3 { margin: 2px 0 2px; font-size: 20px; letter-spacing: -0.01em; }
.sessao .kicker, .sessao .sub { margin: 0; }
.tag { flex: none; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; border-radius: 999px; padding: 5px 11px; border: 1px solid var(--line-2); color: var(--muted); }
.tag--hoje { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tag--atrasada { color: #f2a498; border-color: rgba(242, 164, 152, 0.5); }
.tag--disponivel { color: var(--gold-hi); border-color: var(--gold); }
.tag--feita { color: var(--ok); border-color: rgba(233, 200, 115, 0.5); }
.tag--andamento { color: var(--gold-hi); border-color: var(--gold); }
.sessao__itens summary, .semana-hist > summary, .dia > summary { cursor: pointer; }
.sessao__itens summary { color: var(--muted); font-size: 14px; padding: 4px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.sessao__itens summary::-webkit-details-marker { display: none; }
.sessao__itens summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.sessao__itens[open] summary::after { transform: rotate(225deg); }
.sessao__itens .list { margin-top: 8px; }
.semana-hist { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px 10px; }
.semana-hist > summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 52px; font-weight: 600; list-style: none; }
.semana-hist > summary::-webkit-details-marker { display: none; }
.semana-hist > summary b { font-weight: 500; font-size: 14px; color: var(--muted); }
.semana-hist .dia { margin-top: 6px; }

/* ---------- chat de dúvidas ---------- */
.chat-velo { position: fixed; inset: 0; z-index: 17; border: 0; padding: 0; background: rgba(0, 0, 0, 0.62); opacity: 0; transition: opacity 0.28s var(--ease); cursor: pointer; }
.chat-velo.is-aberto { opacity: 1; }
.chat-velo[hidden] { display: none; }
.chat-fab { position: fixed; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 15; height: 52px; min-width: 52px; padding: 0 16px 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(227, 166, 20, 0.5); animation: fabIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards, fabPulso 3.2s ease-in-out 1.2s 3; transition: transform 0.15s; }
.chat-fab[hidden] { display: none; }
.chat-fab:active { transform: scale(0.94); }
.chat-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-fab--sessao { bottom: auto; top: calc(60px + env(safe-area-inset-top)); height: 44px; min-width: 44px; padding: 0 12px; background: rgba(16, 16, 16, 0.88); color: var(--gold-hi); border: 1px solid var(--line-2); backdrop-filter: blur(6px); animation: none; }
.chat-fab--sessao span { display: none; }
body.chat-aberto .chat-fab { opacity: 0; pointer-events: none; }
@keyframes fabIn { from { transform: translateY(20px) scale(0.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fabPulso { 0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(227, 166, 20, 0.45); } 50% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 12px rgba(227, 166, 20, 0); } }
.chat { position: fixed; z-index: 18; left: 0; right: 0; bottom: 0; height: min(86vh, 680px); display: flex; flex-direction: column; background: linear-gradient(180deg, #221c10 0%, var(--s0) 88px); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.72); transform: translateY(104%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); max-width: 560px; margin: 0 auto; }
.chat[hidden] { display: none; }
.chat.is-aberto { transform: none; }
.chat__puxador { width: 42px; height: 4px; border-radius: 99px; background: rgba(244, 239, 228, 0.28); margin: 10px auto 0; flex: none; }
.chat__topo { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 12px; padding: 12px 14px 14px 16px; }
.chat__marca { width: 44px; height: 44px; border-radius: 16px; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(227, 166, 20, 0.28); }
.chat__marca svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat__topo b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.chat__topo small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.chat__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.28); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.chat__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__log { flex: 1; overflow-y: auto; padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; scroll-behavior: smooth; }
.chat__msg { max-width: 92%; animation: msgIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
.chat__msg p { margin: 0; padding: 13px 16px; border-radius: 20px; font-size: 15.5px; line-height: 1.5; }
.chat__msg--bot { align-self: flex-start; }
.chat__msg--bot p { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-bottom-left-radius: 8px; }
.chat__msg--eu { align-self: flex-end; }
.chat__msg--eu p { background: linear-gradient(180deg, #f0c14d, var(--gold)); color: var(--ink); border-bottom-right-radius: 8px; font-weight: 600; box-shadow: 0 10px 22px rgba(227, 166, 20, 0.16); }
.chat__msg--pensa { display: flex; gap: 5px; padding: 16px 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 20px; border-bottom-left-radius: 8px; width: fit-content; }
.chat__msg--pensa span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); animation: pensa 1s ease-in-out infinite; }
.chat__msg--pensa span:nth-child(2) { animation-delay: 0.15s; }
.chat__msg--pensa span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pensa { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat__chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(244, 196, 76, 0.45); background: rgba(227, 166, 20, 0.08); color: var(--gold-hi); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; transition: background 0.15s, transform 0.12s; }
.chat__chip:hover { background: rgba(227, 166, 20, 0.18); }
.chat__chip:active { transform: scale(0.96); }
.chat__chip--suporte { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chat__form { display: flex; gap: 8px; align-items: center; margin: 0 12px calc(12px + env(safe-area-inset-bottom)); padding: 6px 6px 6px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--s2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.chat__form input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--text); padding: 0; font: inherit; font-size: 16px; }
.chat__form input::placeholder { color: var(--faint); }
.chat__form input:focus { outline: none; }
.chat__form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 0.12s; }
.chat__form button:active { transform: scale(0.92); }
.chat__form svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .chat-fab { right: 24px; bottom: 24px; }
  .chat { left: 50%; right: auto; top: auto; bottom: 32px; height: min(78vh, 720px); width: min(440px, calc(100% - 48px)); max-width: none; margin: 0; border-radius: 28px; border-bottom: 1px solid var(--line-2); transform: translate(-50%, 110%); }
  .chat.is-aberto { transform: translate(-50%, 0); }
  .chat__puxador { display: none; }
  .chat__form { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .chat, .chat-fab, .chat__msg { animation: none; transition: none; } }
.chat-fab { transition: transform 0.15s, padding 0.3s, min-width 0.3s; }
.chat-fab--compacto:not(:hover):not(:focus-visible) span { display: none; }
.chat-fab--compacto:not(:hover):not(:focus-visible) { padding: 0 14px; }
.semana-hist .dia > summary { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.semana-hist .dia > summary span { font-weight: 600; }
.semana-hist .dia > summary b { font-weight: 500; font-size: 13px; color: var(--muted); }

/* ---------- lista de exercícios (estilo lista de treino) ---------- */
.lexs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.enter .lex { animation: entra 0.45s both; animation-delay: calc(0.1s + var(--i, 0) * 0.05s); }
.lex { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.lex__btn { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.15s, transform 0.12s; }
.lex__btn:hover { background: var(--s2); }
.lex__btn:active { transform: scale(0.99); }
.lex__btn img, .lex__btn .ph { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: var(--s3); display: grid; place-items: center; }
.lex__btn .ph svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lex__txt { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lex__txt > b { font-weight: 600; font-size: 16px; line-height: 1.25; }
.lex__meta { display: flex; flex-wrap: wrap; gap: 5px; }
.lex__meta em { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--s3); color: var(--muted); font-variant-numeric: tabular-nums; }
.lex__meta .lex__kg { background: rgba(227, 166, 20, 0.14); color: var(--gold-hi); font-weight: 600; }
.lex__nota { color: var(--muted); font-size: 13px; }
.lex .chev { width: 18px; height: 18px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s, stroke 0.15s; }
.lex__btn:hover .chev { transform: translateX(3px); stroke: var(--gold); }
.lex__st { min-width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 650; padding: 0 2px; }
.lex__st--pendente { width: 30px; box-shadow: inset 0 0 0 2px var(--line-2); }
.lex__st--atual { background: var(--gold); color: var(--ink); padding: 0 11px; height: 28px; }
.lex__st--feito { width: 30px; background: var(--gold); color: var(--ink); }
.lex__st--feito svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lex__st--dor { color: #f2a498; padding: 0 10px; box-shadow: inset 0 0 0 1.5px rgba(242, 164, 152, 0.5); }
.lex__st--pulado { color: var(--faint); padding: 0 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.lex--atual { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 166, 20, 0.07), var(--s1)); }
.lex--feito .lex__txt > b { color: var(--muted); }
.lex--feito .lex__btn img, .lex--feito .lex__btn .ph { opacity: 0.6; }
.lex--dor, .lex--pulado { opacity: 0.75; }
.lexs--sessao { margin-bottom: 4px; }
.topo-ex { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topo-ex .kicker { margin: 0; }

/* ---------- cartão da semana (Início): cada treino é uma linha que abre ---------- */
.semana-card { display: flex; flex-direction: column; gap: 14px; }
.semana-card__topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.semana-card__topo .kicker, .semana-card__topo h2 { margin: 0; }
.semana-card__topo h2 { font-size: 22px; margin-top: 2px; }
.segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.segs i { height: 6px; border-radius: 99px; background: var(--s3); position: relative; overflow: hidden; }
.segs i.is-feita { background: var(--gold); }
.segs i.is-andamento { background: linear-gradient(90deg, var(--gold) 50%, var(--s3) 50%); }
.enter .segs i.is-feita { animation: grow 0.6s both; transform-origin: left; animation-delay: calc(0.2s + var(--i, 0) * 0.08s); }
.semlista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.enter .semlista li { animation: entra 0.45s both; animation-delay: calc(0.15s + var(--i, 0) * 0.06s); }
.semlin { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.15s, border-color 0.2s, transform 0.12s; }
.semlin:hover { background: var(--s2); border-color: var(--line-2); }
.semlin:active { transform: scale(0.99); }
.semlin--hoje { border-color: var(--gold); }
.semlin__dia { width: 48px; height: 48px; border-radius: 14px; background: var(--s3); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.semlin__dia b { font-size: 13px; font-weight: 650; }
.semlin__dia small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.semlin--hoje .semlin__dia { background: var(--gold); color: var(--ink); }
.semlin--hoje .semlin__dia small { color: var(--ink); }
.semlin--feita .semlin__dia { background: rgba(233, 200, 115, 0.16); }
.semlin div:not(.semlin__dia) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.semlin div:not(.semlin__dia) > b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.semlin div:not(.semlin__dia) > small { color: var(--muted); font-size: 13px; }
.semlin--feita div:not(.semlin__dia) > b { color: var(--muted); }
.chat-fab--oculto { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.top__acoes { display: flex; align-items: center; gap: 10px; }
.chat-fab--topo { position: static; height: 36px; min-width: 36px; padding: 0; background: transparent; color: var(--gold-hi); border: 1px solid var(--line-2); box-shadow: none; animation: none; }
.chat-fab--topo span { display: none; }
.chat-fab--topo.chat-fab--oculto, .chat-fab--topo.chat-fab--compacto span { display: none; }
.chat-fab--topo.chat-fab--oculto { transform: none; opacity: 1; pointer-events: auto; }
.chat-fab { transition: transform 0.25s, opacity 0.25s, padding 0.3s, min-width 0.3s; }
.sessao { scroll-margin-top: 16px; }

/* ---------- Início: boas-vindas e treino de hoje ---------- */
.phase--topo { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-color: var(--line-2); background: radial-gradient(120% 90% at 100% 0%, rgba(227, 166, 20, 0.16), transparent 55%), var(--s1); }
.hero .kicker { margin: 0; text-transform: capitalize; letter-spacing: 0.06em; }
.hero__titulo { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; }
.hero__sub { margin: 4px 0 -8px; color: var(--muted); font-size: 16px; }
.hero__foco { margin: 0; font-size: 17px; line-height: 1.4; color: var(--text); }
.hero__foco--grande { font-size: 30px; font-weight: 650; line-height: 1.12; letter-spacing: -0.025em; color: var(--text); }
.hero__thumbs { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.hero__thumbs img, .hero__thumbs .ph { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; background: var(--s3); display: grid; place-items: center; border: 1px solid var(--line-2); }
.hero__thumbs .ph svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__mais { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--s3); color: var(--muted); font-weight: 600; font-size: 14px; }
.enter .hero__thumbs > * { animation: pop 0.45s both; animation-delay: calc(0.25s + var(--i, 0) * 0.06s); }
.enter .hero__thumbs > :nth-child(2) { --i: 1; } .enter .hero__thumbs > :nth-child(3) { --i: 2; } .enter .hero__thumbs > :nth-child(4) { --i: 3; } .enter .hero__thumbs > :nth-child(5) { --i: 4; }
.hero__meta { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.hero__nota { margin: 0; padding: 8px 12px; border-left: 3px solid var(--gold); background: rgba(227, 166, 20, 0.07); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.hero .btn { margin-top: 4px; min-height: 58px; font-size: 17px; }
.hero .textbtn { align-self: center; }
.hero__checkin { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.hero__checkin .choices { width: 100%; }
.hero__q { margin: 0; font-size: 14px; color: var(--muted); }
.hero__checkin .sub { margin: 0; }
.hero--feito { background: radial-gradient(120% 90% at 100% 0%, rgba(233, 200, 115, 0.16), transparent 55%), var(--s1); }
.hero__selo { width: 52px; height: 52px; border-radius: 50%; background: rgba(233, 200, 115, 0.18); display: grid; place-items: center; }
.hero__selo svg { width: 28px; height: 28px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.enter .hero__selo svg path { animation: draw 0.6s 0.3s both; }
.hero--andamento { background: radial-gradient(120% 90% at 100% 0%, rgba(227, 166, 20, 0.2), transparent 55%), var(--s1); }
@media (max-width: 380px) { .hero__titulo { font-size: 26px; } .hero__foco--grande { font-size: 26px; } }
.hero .kicker { text-transform: none; }
.hero .kicker::first-letter { text-transform: uppercase; }

/* ---------- login de apresentação ---------- */
.entrada { gap: 18px; }
.entrada h1 { max-width: 16ch; }
.card--login { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; cursor: pointer; padding: 20px 18px; font: inherit; color: inherit; transition: transform 0.12s, border-color 0.2s, background 0.2s; }
.card--login:hover { border-color: var(--gold); background: linear-gradient(180deg, rgba(227, 166, 20, 0.1), var(--s1) 70%); }
.card--login:active { transform: scale(0.99); }
.card--login .kicker { margin: 0; }
.card--login b { font-size: 22px; letter-spacing: -0.02em; }
.card--login small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.login-mais { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px 12px; }
form.login-mais { margin-top: 18px; padding-top: 14px; }
.login-mais summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; color: var(--muted); font-weight: 550; list-style: none; }
.login-mais summary::-webkit-details-marker { display: none; }
.login-mais[open] summary { margin-bottom: 8px; }
.demo-tools { padding-top: 8px; }
.demo-tools > summary { cursor: pointer; font-weight: 650; list-style: none; min-height: 44px; display: flex; align-items: center; }
.demo-tools > summary::-webkit-details-marker { display: none; }

/* ---------- passo a passo do primeiro acesso ---------- */
.tour { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.62); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.tour[hidden] { display: none; }
.tour__card { width: min(100%, 440px); background: var(--s1); border: 1px solid var(--line-2); border-radius: 28px; padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 14px; transform: translateY(24px); opacity: 0; transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s; }
.tour.is-aberto .tour__card { transform: none; opacity: 1; }
.tour__card h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; line-height: 1.12; }
.tour__txt { margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.tour__dots { list-style: none; display: flex; gap: 6px; margin: 4px 0 0; padding: 0; }
.tour__dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--s3); }
.tour__dots .is-atual { background: var(--gold); width: 22px; border-radius: 99px; }
.tour__acoes { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.tour__nav { display: flex; justify-content: center; gap: 4px 20px; flex-wrap: wrap; }
.tour__nav [hidden] { display: none; }
body.tour-aberto .chat-fab { display: none; }
@media (min-width: 900px) {
  .tour { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .tour__card { transition: none; } }

/* exercício: prescrição clara, incentivo, tempo do treino (não é descanso) */
.relogio { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }
.animo { margin: -6px 0 0; color: var(--gold-hi); font-size: 15px; font-weight: 550; }
.presc-linha { margin: -2px 0 0; color: var(--muted); font-size: 15px; }
.orienta { display: flex; flex-direction: column; gap: 10px; }
.presc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.presc div { background: var(--s2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.presc b { font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; }
.presc span { color: var(--faint); font-size: 12px; }
.presc__como { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.incentivo { margin: 0; padding: 12px 14px; border-radius: 16px; background: rgba(227, 166, 20, 0.1); color: var(--gold-hi); font-size: 14px; line-height: 1.4; }
.session .shot--img { overflow: hidden; border-radius: 20px; }
.session .shot--img img.ok { animation: vivo 7s ease-in-out infinite alternate; }
.session .shot--glifo .glifo svg { animation: rep 2.8s ease-in-out infinite; }
@keyframes vivo { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes rep { 0%, 100% { transform: translateY(6px) scale(1); } 50% { transform: translateY(-10px) scale(1.06); } }
.stats--fim { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.stats--fim .stat b { font-size: 36px; }
@media (prefers-reduced-motion: reduce) {
  .session .shot--img img.ok, .session .shot--glifo .glifo svg { animation: none; }
}

/* guia do movimento + séries marcáveis */
.guia { margin: 0; border: 1px solid var(--line-2); border-radius: 22px; background: radial-gradient(circle at 50% 12%, #2c2412 0, var(--s1) 68%); padding: 4px 8px 10px; }
.guia svg { display: block; width: 100%; height: 168px; overflow: visible; }
.guia .corpo, .guia path, .guia circle { transform-box: view-box; }
.guia path { fill: none; stroke: var(--gold-hi); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.guia .cabeca { fill: var(--gold); stroke: none; }
.guia figcaption { margin: 0; text-align: center; color: var(--faint); font-size: 11px; }
.guia__passos { display: flex; justify-content: center; gap: 18px; margin: 0 0 2px; font-size: 13px; font-weight: 650; }
.guia__passos span { color: var(--faint); animation: passo 2.4s ease-in-out infinite; }
.guia__passos span + span { animation-delay: -1.2s; }
@keyframes passo { 0%, 42% { color: var(--gold-hi); } 52%, 100% { color: var(--faint); } }
.guia--agachar .corpo { transform-origin: 80px 110px; animation: agacha 2.4s ease-in-out infinite; }
.guia--agachar .perna--e { transform-origin: 80px 59px; animation: dobra-e 2.4s ease-in-out infinite; }
.guia--agachar .perna--d { transform-origin: 80px 59px; animation: dobra-d 2.4s ease-in-out infinite; }
@keyframes agacha { 0%, 100% { transform: none; } 50% { transform: translateY(14px); } }
@keyframes dobra-e { 0%, 100% { transform: none; } 50% { transform: rotate(24deg); } }
@keyframes dobra-d { 0%, 100% { transform: none; } 50% { transform: rotate(-24deg); } }
.guia--gluteo .corpo { transform-origin: 80px 108px; animation: ponte 2.6s ease-in-out infinite; }
@keyframes ponte { 0%, 100% { transform: rotate(58deg) translate(-4px, 8px); } 45%, 55% { transform: rotate(6deg) translate(0, -6px); } }
.guia--pernas .perna--d { transform-origin: 80px 59px; animation: chute 2.2s ease-in-out infinite; }
@keyframes chute { 0%, 100% { transform: none; } 50% { transform: rotate(-34deg); } }
.guia--empurrar .braco--e { transform-origin: 80px 36px; animation: empurra-e 2.2s ease-in-out infinite; }
.guia--empurrar .braco--d { transform-origin: 80px 36px; animation: empurra-d 2.2s ease-in-out infinite; }
@keyframes empurra-e { 0%, 100% { transform: none; } 50% { transform: rotate(58deg); } }
@keyframes empurra-d { 0%, 100% { transform: none; } 50% { transform: rotate(-58deg); } }
.guia--puxar .braco--e { transform-origin: 80px 36px; animation: puxa-e 2.2s ease-in-out infinite; }
.guia--puxar .braco--d { transform-origin: 80px 36px; animation: puxa-d 2.2s ease-in-out infinite; }
@keyframes puxa-e { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(36deg); } }
@keyframes puxa-d { 0%, 100% { transform: rotate(20deg); } 50% { transform: rotate(-36deg); } }
.guia--ombro .braco--e { transform-origin: 80px 36px; animation: ombro-e 2.3s ease-in-out infinite; }
.guia--ombro .braco--d { transform-origin: 80px 36px; animation: ombro-d 2.3s ease-in-out infinite; }
@keyframes ombro-e { 0%, 100% { transform: none; } 50% { transform: rotate(70deg); } }
@keyframes ombro-d { 0%, 100% { transform: none; } 50% { transform: rotate(-70deg); } }
.guia--braco .braco--d { transform-origin: 92px 44px; animation: rosca 2.1s ease-in-out infinite; }
@keyframes rosca { 0%, 100% { transform: none; } 50% { transform: rotate(-70deg); } }
.guia--core .corpo { transform-origin: 80px 78px; animation: prancha 2.8s ease-in-out infinite; }
@keyframes prancha { 0%, 100% { transform: rotate(76deg) translate(-8px, 12px); } 50% { transform: rotate(76deg) translate(-8px, 6px); } }
.shot--treino + .guia svg { height: 96px; }
.session .shot--treino img { height: 200px; }
.lex__row { display: flex; align-items: center; gap: 8px; }
.lex__row .lex__btn { flex: 1; min-width: 0; width: auto; grid-template-columns: 64px minmax(0, 1fr); }
.marca { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); }
.lex--atual .marca { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227, 166, 20, 0.15); }
.marca--feito, .marca--dor, .marca--pulado { display: grid; place-items: center; background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.marca--pendente { opacity: 0.45; }
.lex__opcoes { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 12px; }
.lex__opcoes .btn { min-height: 46px; }
.lex__opcoes .textbtn { align-self: center; }
.btn.btn--alerta { color: #f2a498; box-shadow: inset 0 0 0 1px rgba(232, 113, 95, 0.55); }
.btn.btn--alerta:hover { background: rgba(232, 113, 95, 0.1); }
.session__foco { font-size: 28px; line-height: 1.12; letter-spacing: -0.025em; }
.series { display: flex; flex-direction: column; gap: 8px; }
.serie { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: inherit; font: inherit; cursor: pointer; }
.serie i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-hi); font-style: normal; font-weight: 700; flex: none; }
.serie span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.serie b { font-size: 16px; }
.serie small { color: var(--muted); font-size: 13px; }
.serie.is-feita { border-color: var(--gold); background: rgba(227, 166, 20, 0.1); }
.serie.is-feita i { background: var(--gold); color: #1a1404; border-color: transparent; }
.fala { margin: 0; background: var(--s2); border-radius: 16px; padding: 12px 14px; }
.fala b { display: block; color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.fala span { display: block; font-size: 15px; line-height: 1.4; }
.session .btn[data-concluir] { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .guia .corpo, .guia .braco, .guia .perna, .guia__passos span { animation: none; }
  .guia__passos span { color: var(--gold-hi); }
}

/* ---------- design system: home, coach, evolução, conta ---------- */
.home-head { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px 2px; }
.home-head .hello { margin: 0; font-size: 28px; }
.fase-mini { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 2px 0 0; padding: 0; }
.fase-mini li { height: 3px; border-radius: 99px; background: var(--s3); }
.fase-mini .is-feita { background: var(--line-2); }
.fase-mini .is-atual { background: var(--gold); }
.passo { gap: 8px; }
.passo__txt { margin: 0; font-size: 16px; line-height: 1.45; color: var(--text); }
.semana7 { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.semana7 button, .semana7 span { width: 100%; min-height: 56px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 0; }
.semana7 b { font-size: 11px; font-weight: 650; color: var(--faint); }
.semana7 small { font-size: 12px; color: var(--muted); }
.semana7 .is-plano { box-shadow: inset 0 0 0 1px var(--line-2); }
.semana7 .is-feita { background: rgba(227, 166, 20, 0.18); border-color: var(--gold); }
.semana7 .is-feita b, .semana7 .is-feita small { color: var(--gold-hi); }
.semana7 .is-parcial { background: rgba(227, 166, 20, 0.08); }
.semana7 button, .semana7 span { position: relative; cursor: pointer; }
.semana7 button.is-sel { box-shadow: 0 0 0 2px var(--gold); border-color: var(--gold); }
.semana7 .is-hoje::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.dia-ficha { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.dia-ficha__topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dia-ficha__topo h3 { margin: 2px 0 0; font-size: 20px; letter-spacing: -0.02em; }
.dia-ficha__topo .sub { margin: 4px 0 0; }
.dia-ficha__vazio, .dia-ficha__feito { margin: 0; color: var(--muted); }
.dia-ficha .lexs { gap: 8px; }
.semana7 .is-feita.is-hoje::after { background: var(--ink); }
.semana7 .is-descanso small { color: var(--faint); }
.atalhos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.atalhos .atalho:last-child:nth-child(odd) { grid-column: 1 / -1; }
.page-head { display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 0; }
.page-title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; overflow-wrap: break-word; }
.page-head .phase { margin: 0; }
.semana-nota { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.atalho { min-height: 72px; border-radius: 18px; border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; text-align: left; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.atalho b { font-size: 15px; }
.atalho small { color: var(--muted); font-size: 13px; }
.hero--foto { padding: 0 0 18px; overflow: hidden; }
.hero--foto .shot { margin: 0; }
.hero--foto .shot img { height: 168px; border-radius: 0; }
.hero--foto .hero__corpo { padding: 18px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.hero:not(.hero--foto) .hero__corpo { display: flex; flex-direction: column; gap: 10px; padding: 0; }
.hero .hero__estado { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 650; }

.coach { gap: 12px; }
.coach__bar { display: flex; align-items: center; gap: 10px; }
.coach__bar .kicker { margin: 0; flex: 1; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shot--coach img { height: 168px; }
.carga-hero { margin: 0; font-size: 44px; line-height: 1; font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.serie-rot { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.dica-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); }
.dica-tabs button { flex: 1; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.dica-tabs button[aria-selected="true"] { background: var(--s3); color: var(--text); }
.set-acoes { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.set-acoes .btn { min-height: 52px; }
.prep__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prep__lista li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.prep__lista span, .prep__lista b { min-width: 0; overflow-wrap: break-word; }
.prep__lista i { font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13px; }
.flash-ok { animation: pop 0.45s ease both; }

.conta-grupo { background: var(--s1); border: 1px solid var(--line); border-radius: 22px; padding: 4px 18px 14px; }
.conta-grupo > summary { min-height: 56px; display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer; list-style: none; }
.conta-grupo > summary::-webkit-details-marker { display: none; }
.conta-grupo > summary b { font-size: 16px; }
.conta-grupo > summary small { color: var(--muted); font-size: 13px; font-weight: 450; }
.conta-grupo[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.linha-rolagem { max-height: 168px; overflow-y: auto; overscroll-behavior: contain; }
.linha-tempo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.linha-tempo li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; padding: 0 0 16px; }
.linha-tempo i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227, 166, 20, 0.12); }
.linha-tempo li { position: relative; }
.linha-tempo li::before { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.linha-tempo li:last-child { padding-bottom: 0; }
.linha-tempo li:last-child::before { display: none; }
.linha-tempo b { display: block; font-size: 15px; }
.linha-tempo small { color: var(--muted); font-size: 13px; }
.vazio { text-align: left; }
.vazio h2 { font-size: 22px; }

/* ---------- execução: foto, instrução e um único concluir ---------- */
.player { gap: 14px; }
.player__bar { display: flex; align-items: center; gap: 10px; }
.player__bar .kicker { margin: 0; flex: 1; }
.player__bar .iconbtn svg circle { fill: currentColor; stroke: none; }
.player__pontos { list-style: none; display: flex; gap: 6px; margin: -6px 0 0; padding: 0; }
.player__pontos li { flex: 1; height: 3px; border-radius: 99px; background: var(--s3); }
.player__pontos .is-feita { background: var(--gold); opacity: 0.4; }
.player__pontos .is-atual { background: var(--gold); }
.player .shot--player, .player .guia { margin: 0 -18px; }
.shot--player img { height: min(32vh, 220px); border-radius: 0; object-fit: cover; object-position: center 28%; }
.shot--player figcaption { margin: 8px 0 0; padding: 0 18px; }
.player .guia { border-radius: 0; border-left: 0; border-right: 0; padding-top: 12px; }
.player .guia svg { height: 200px; }
.player h2 { font-size: 24px; line-height: 1.2; overflow-wrap: break-word; }
.player__meta { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.player__meta li { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 10px 8px 12px; text-align: center; }
.player__meta small { display: block; margin-bottom: 4px; color: var(--faint); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.player__meta b { display: block; font-size: 15px; line-height: 1.25; font-weight: 650; overflow-wrap: break-word; }
.player__inst { display: flex; flex-direction: column; gap: 8px; }
.player__inst .how { font-size: 16px; line-height: 1.45; }
.how--sec { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.how--sec b { color: var(--text); font-weight: 650; }
.player__folha { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 4px; border-top: 1px solid var(--line); }
.player__folha .kicker { margin: 0 0 4px; }
.checkex { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.checkex__k { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.checkex__ok, .checkex__alt, .checkex__sec { width: 100%; text-align: left; border-radius: 18px; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; font: inherit; color: inherit; min-height: 64px; }
.checkex__ok { border: 0; background: var(--gold); color: #1a1408; }
.checkex__ok b, .checkex__alt b, .checkex__sec b { font-size: 16px; font-weight: 650; }
.checkex__ok small { color: rgba(26, 20, 8, 0.7); font-size: 13px; }
.checkex__alt { border: 1px solid var(--line-2); background: var(--s1); }
.checkex__alt small, .checkex__sec small { color: var(--muted); font-size: 13px; }
.checkex__dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkex__ok small, .checkex__alt small, .checkex__sec small { overflow-wrap: break-word; }
@media (max-width: 380px) {
  .checkex__dupla { grid-template-columns: 1fr; }
  .hello { font-size: 26px; }
  .shot--player img { height: min(26vh, 180px); }
}
.checkex__sec { border: 1px solid var(--line); background: var(--s2); min-height: 72px; }
.checkex__sec--alerta { border-color: rgba(242, 164, 152, 0.45); }
.checkex__sec--alerta b { color: #f2a498; }
.checkex__extra { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; padding-top: 4px; }
.textbtn--alerta { color: #f2a498; }
.player__passos { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.player__passos li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.player__passos i { width: 28px; height: 28px; border-radius: 50%; background: rgba(227, 166, 20, 0.12); border: 1px solid rgba(227, 166, 20, 0.35); color: var(--gold-hi); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.player__passos span { padding-top: 3px; font-size: 16px; line-height: 1.4; }
.seq__topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.seq__marca { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.seq__marca b { font-size: 36px; line-height: 1; letter-spacing: -0.04em; color: var(--gold-hi); }
.seq__marca span { color: var(--muted); font-size: 14px; }
.seq__aneis { list-style: none; display: flex; gap: 10px; margin: 12px 0 0; padding: 0; }
.seq__aneis li { flex: 1; display: grid; place-items: center; }
.seq__aneis i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 650; font-size: 14px; border: 2px solid var(--line-2); color: var(--faint); background: var(--s2); }
.seq__aneis .is-feita i { border-color: var(--gold); background: rgba(227, 166, 20, 0.18); color: var(--gold-hi); }
.seq__aneis .is-agora i { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(227, 166, 20, 0.12); }
.seq__txt { margin: 12px 0 0; font-size: 16px; line-height: 1.4; }
.seq__txt--fim { margin-top: 4px; color: var(--gold-hi); }
.seq__extra { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.onb-topo { display: flex; align-items: center; gap: 10px; }
.onb-topo .onb-passos { flex: 1; }
.onb-voltar { flex: none; margin-left: -8px; }
.onb-passos { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.onb-passos li { flex: 1; }
.onb-passos i { display: block; height: 4px; border-radius: 99px; background: var(--s3); }
.onb-passos .is-feita i, .onb-passos .is-atual i { background: var(--gold); }
.entrada h1.onb-titulo { max-width: 18ch; }
.onb-acoes { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.onb-saude { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.onb-saude li { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px; }
.onb-saude p { margin: 0 0 10px; font-size: 15px; line-height: 1.35; }
.onb-resumo { margin: 0 0 8px; }
.onb-opts { display: flex; flex-direction: column; gap: 8px; }
.onb-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 14px 48px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.onb-opt b { font-weight: 600; font-size: 16px; }
.onb-opt small { color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 450; }
.onb-opt__marca {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2, var(--line));
  background: transparent;
}
.onb-opt__marca::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg) scale(0.4);
  opacity: 0;
}
.onb-opt[aria-pressed="true"] {
  background: rgba(227, 166, 20, 0.14);
  border-color: var(--gold);
  animation: optMarca 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.onb-opt[aria-pressed="true"] b { color: var(--gold-hi); }
/* Ordem do objetivo marcado: "Principal", "2º", "3º". */
.onb-opt__ordem { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #1a1405; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }
.onb-opt[aria-pressed="true"] .onb-opt__marca {
  background: var(--gold);
  border-color: var(--gold);
}
.onb-opt[aria-pressed="true"] .onb-opt__marca::after {
  border-color: var(--ink);
  opacity: 1;
  transform: rotate(40deg) scale(1);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.onb-eco {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--s2);
  border: 1px solid rgba(227, 166, 20, 0.45);
}
.onb-eco[hidden] { display: none; }
.onb-eco span { color: var(--text); font-size: 14px; line-height: 1.45; }
.onb-eco.is-nova { animation: entra 0.35s ease; }
.monta { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 24px; }
.monta__palco { position: relative; height: 196px; display: grid; place-items: center; background: radial-gradient(42% 46% at 50% 50%, rgba(227, 166, 20, 0.1), transparent 72%); }
.monta__logo { width: 176px; height: 176px; overflow: visible; }
.monta__trilho { fill: none; stroke: #2a251b; stroke-width: 2.6; }
.monta__anel { fill: none; stroke: #e3a614; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(244, 196, 76, 0.5)); }
.monta__ponta { fill: #f7d77e; filter: drop-shadow(0 0 3px rgba(247, 215, 126, 0.95)); }
.monta__onda { fill: none; stroke: #e3a614; stroke-width: 1.2; }
.monta__falas { position: relative; height: 4.8em; }
.monta__falas p {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: montaFala 16s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3.2s);
}
@keyframes montaFala {
  0%, 18% { opacity: 1; transform: none; }
  22%, 100% { opacity: 0; transform: translateY(-6px); }
}
.monta__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.monta__passos { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.monta__passos li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 14px;
  opacity: 0.45;
  animation: montaPasso 0.45s ease forwards;
}
.monta__passos li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
  animation: montaPonto 0.45s ease forwards;
}
.monta__passos li:nth-child(1),
.monta__passos li:nth-child(1)::before { animation-delay: 0.2s; }
.monta__passos li:nth-child(2),
.monta__passos li:nth-child(2)::before { animation-delay: 5s; }
.monta__passos li:nth-child(3) { animation: montaPasso 0.45s ease 11s forwards, montaPisca 1.4s ease-in-out 11.6s infinite; }
.monta__passos li:nth-child(3)::before { animation-delay: 11s; }
@keyframes montaPisca { 50% { opacity: 0.4; } }
@keyframes montaPasso {
  to { opacity: 1; color: var(--text); }
}
@keyframes montaPonto {
  to { background: var(--gold); }
}
@keyframes optMarca {
  0% { transform: scale(0.98); }
  42% { transform: scale(1.025); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .monta__falas { height: auto; }
  .monta__falas p { animation: none !important; display: none; position: static; opacity: 1; transform: none; }
  .monta__falas p:first-child { display: block; }
  .monta__passos li,
  .monta__passos li::before { animation: none !important; opacity: 1; color: var(--text); }
  .monta__passos li::before { background: var(--gold); }
}
.medidas label small { display: block; color: var(--faint); font-size: 12px; line-height: 1.35; font-weight: 450; margin-top: 3px; }
.choices button[aria-pressed="true"] { animation: optMarca 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* "Corpo todo" ocupa a linha inteira e se destaca das regiões. */
.choices .chip-todos { flex-basis: 100%; box-shadow: inset 0 0 0 1px var(--gold); font-weight: 600; }
.checkex button { transition: transform 0.16s ease; }
.checkex button:active { transform: scale(0.98); }
.onb-imc { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--s2); font-size: 14px; line-height: 1.4; color: var(--muted); }
.btn:disabled { opacity: 0.55; cursor: wait; }

.will { display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; }
.will > .textbtn { align-self: flex-start; text-align: left; padding-left: 0; }
.will-numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.will-num {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  text-align: left; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; cursor: pointer;
}
.will-num b { font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.will-num span { color: var(--muted); font-size: 12px; line-height: 1.3; }
.will-num.is-on { border-color: var(--gold); background: rgba(227, 166, 20, 0.1); }
.will-num--alerta b { color: #f2a498; }
.will-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.will-row { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; cursor: pointer; }
.will-row > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.will-row b { font-size: 16px; }
.will-row small { color: var(--muted); }
.will-row__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--faint); font-size: 13px; }
.will-pill { display: inline-flex; align-items: center; border-radius: 99px; padding: 2px 8px; font-size: 12px; background: var(--s2); color: var(--muted); }
.will-pill--alerta { background: rgba(232, 113, 95, 0.16); color: #f2a498; }
.will-link { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--s2); word-break: break-all; font-size: 13px; }
.will-fila { border-color: rgba(232, 113, 95, 0.35); }
.will-row--alerta { border-color: rgba(232, 113, 95, 0.45); background: rgba(232, 113, 95, 0.06); }
.will-row__caso { margin: 0; color: #f2a498; font-size: 13px; line-height: 1.4; }
.will-caso { border-color: rgba(232, 113, 95, 0.4); }
.will-caso__alerta { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: var(--text); }
.will-caso__lista { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.will-caso__lista > li { padding: 12px; border-radius: 14px; background: var(--s2); }
.will-caso__lista ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.will-caso__tipo { margin: 0; font-weight: 600; }
.will-acoes { display: flex; flex-direction: column; gap: 8px; }
.will-saude li { align-items: flex-start; }
.will-saude li span { max-width: 70%; }
.will-saude li.is-sim span { color: #f2a498; }
.will-saude li.is-sim b { color: #f2a498; }
.lex-bloco { list-style: none; margin: 14px 0 4px; padding: 0; color: var(--gold-hi, var(--gold)); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.will-treinos li { flex-wrap: wrap; }
.will-treinos small { flex: 1 0 100%; color: var(--muted); font-size: 13px; line-height: 1.4; }
.will-dias { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.will-dias .btn { flex: 1; min-width: 7rem; }
.ficha-editor { display: flex; flex-direction: column; gap: 14px; }
.ficha-editor h2 { margin: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.ficha-dia { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ficha-dia__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.ficha-dia__topo label { min-width: 10rem; }
.ficha-dia, .ficha-editor, .ficha-linha { min-width: 0; max-width: 100%; }
.ficha-dia { min-inline-size: 0; box-sizing: border-box; }
.ficha-linha { display: grid; grid-template-columns: 4.5rem minmax(0, 12rem) 5.5rem auto; gap: 8px; align-items: end; }
.ficha-linha label:first-child { grid-column: 1 / -1; }
.ficha-editor label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; min-width: 0; }
.ficha-editor select, .ficha-editor input { height: 44px; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--s2); padding: 0 12px; color-scheme: dark; }
.ficha-linha .x { margin-bottom: 6px; }

/* --------------------------------------------------------------- painel */
.adm { display: flex; flex-direction: column; gap: 18px; padding-bottom: 36px; }
.adm-nav { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #101010; }
.adm-kicker, .adm-quem { display: none; }
.adm-nav nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.adm-nav nav button, .adm-sair {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
}
.adm-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.adm-nav nav button[aria-current="page"] { background: rgba(227, 166, 20, 0.14); color: var(--text); }
.adm-nav nav button[aria-current="page"] svg { stroke: var(--gold); }
.adm-sair { color: var(--faint); margin-left: auto; }
.adm-rot-curto { display: none; }
/* Celular e tablet: abas iguais, ícone em cima e rótulo curto embaixo, Sair como a última. */
@media (max-width: 899px) {
  .adm-nav { gap: 2px; padding: 4px; }
  .adm-nav nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; flex: 5; }
  .adm-nav nav button, .adm-sair {
    flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 54px;
    padding: 8px 2px; font-size: 12px; line-height: 1.1; text-align: center; white-space: nowrap;
  }
  .adm-sair { flex: 1; margin-left: 0; }
  .adm-nav nav button span, .adm-sair span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .adm-nav .adm-rot-curto { display: block; }
  .adm-nav button:has(.adm-rot-curto) .adm-rot { display: none; }
}
.adm-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.adm-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.adm-excluir { margin: 0; }
.adm-excluir.textbtn, .adm-arquivo .textbtn { color: #f2a498; }
.adm-arquivo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #101010; color: var(--muted); font-size: 14px; line-height: 1.4; }
.adm-arquivo p { margin: 0; }
.adm-arquivo--acao { border-color: rgba(232, 113, 95, 0.35); }
.adm-status { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.adm-status li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; font-size: 13px; color: var(--muted); }
.adm-status li.is-ok { color: var(--text); border-color: rgba(227, 166, 20, 0.45); }
.adm-status li.is-aviso { color: var(--gold); border-color: rgba(227, 166, 20, 0.55); }
.adm-status li.is-alerta { color: #f2a498; border-color: rgba(232, 113, 95, 0.45); }
.adm-campos { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .adm-campos { grid-template-columns: 1fr 1fr; } }
.adm-campo { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #0c0c0c; }
.adm-campo span { color: var(--faint); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.adm-campo b { font-size: 15px; font-weight: 550; text-align: left; overflow-wrap: anywhere; }
.adm-prazo.is-alerta .adm-valor small { color: #f2a498; }
.adm-prazo.is-aviso .adm-valor small { color: var(--gold); }
.adm-aluno__lado { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.adm-head h1 { margin: 0; font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.adm-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.adm-head--linha { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.adm-head--linha .btn { flex: none; }
.adm-metricas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.adm-metrica {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 14px 14px 12px; border-radius: 14px; border: 1px solid var(--line); background: #101010; color: inherit; font: inherit; cursor: pointer;
}
.adm-metrica b { font-size: 28px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.adm-metrica.is-aviso b { color: var(--gold); }
.adm-metrica.is-alerta b { color: #f2a498; }
.adm-dias { display: flex; flex-direction: column; align-items: flex-end; min-width: 4.5rem; }
.adm-dias b { font-size: 28px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.adm-dias small { color: var(--faint); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.adm-dias.is-aviso b { color: var(--gold); }
.adm-dias.is-alerta b { color: #f2a498; }
.adm-restam { display: flex; align-items: center; gap: 16px; }
.adm-restam > span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.adm-metrica span { font-size: 14px; }
.adm-metrica small { color: var(--faint); font-size: 12px; }
.adm-duas { display: grid; gap: 12px; }
.adm-bloco { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #101010; }
.adm-bloco h2, .adm-bloco h3 { margin: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.adm-bloco__topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.adm-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-acoes .btn { flex: 0 1 auto; min-width: 0; }
.adm-mais { border-top: 1px solid var(--line); padding-top: 10px; }
.adm-mais summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.adm-sessao + .adm-sessao { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.adm-sessao h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); }
.adm-sessao h3 small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; text-transform: none; }
.adm-linhas, .adm-tabela { list-style: none; margin: 0; padding: 0; }
.adm-tabela { display: flex; flex-direction: column; gap: 8px; }
.adm-linhas li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.adm-linhas li:last-child { border-bottom: 0; padding-bottom: 0; }
.adm-linhas li span { color: var(--muted); }
.adm-linhas li b { text-align: right; font-weight: 550; }
.adm-linhas li b small { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; font-weight: 450; }
.adm-linhas--acao li { align-items: center; }
.adm-linhas--acao .textbtn { color: #f2a498; padding: 0; }
.btn.adm-restringir { color: #f2a498; box-shadow: inset 0 0 0 1px rgba(232, 113, 95, 0.45); }
.adm-valor { margin: 0; font-size: 28px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.adm-valor small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); font-variant-numeric: normal; }
.adm-valor--sec small { color: var(--muted); }
.adm-ferramentas { display: flex; flex-direction: column; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.adm-busca { display: block; }
.adm-busca input { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #101010; color: var(--text); padding: 0 14px; font: inherit; font-size: 15px; }
.adm-filtros, .adm-abas { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-filtros button, .adm-abas button {
  flex: none; border: 1px solid var(--line); background: #101010; color: var(--muted); font: inherit; font-size: 13px;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.adm-filtros em { font-style: normal; margin-left: 6px; color: var(--faint); }
.adm-filtros button[aria-current="true"], .adm-abas button[aria-current="true"] { border-color: var(--gold); color: var(--text); background: rgba(227, 166, 20, 0.12); }
.adm-filtros button[aria-current="true"] em { color: var(--gold); }
.adm-aluno button {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; text-align: left;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #101010; color: inherit; font: inherit; cursor: pointer;
}
.adm-aluno__nome { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.adm-aluno__nome b { font-size: 16px; }
.adm-aluno__nome small, .adm-aluno__treino { color: var(--muted); font-size: 13px; }
.adm-aluno__treino { grid-column: 1 / -1; }
.adm-selo { font-size: 12px; letter-spacing: 0.02em; border-radius: 99px; padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.adm-selo.is-alerta { color: #f2a498; border-color: rgba(232, 113, 95, 0.45); }
.adm-selo.is-aviso { color: var(--gold); border-color: rgba(227, 166, 20, 0.4); }
.adm-selo.is-ok { color: var(--text); border-color: rgba(227, 166, 20, 0.45); }
.adm-vazio { margin: 8px 0; color: var(--muted); }
.adm-form { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.adm-sexo { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.adm-sexo legend { width: 100%; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.adm-sexo legend small { color: var(--faint); }
.adm-sexo label, .measure .adm-sexo label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text); cursor: pointer; }
.adm-sexo input, .measure .adm-sexo input { accent-color: var(--gold); width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; }
.conta-chamada { margin-top: 8px; }
.perfil-card { gap: 14px; }
.perfil-hero { display: flex; gap: 14px; align-items: flex-start; }
.perfil-hero > div { min-width: 0; flex: 1; }
.perfil-hero h2, .perfil-hero__nome { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 650; text-transform: none; color: var(--text); overflow-wrap: break-word; }
.perfil-hero .phase { margin-top: 4px; }
.perfil__av {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden;
  background: var(--av, #2a2418); color: var(--gold-hi); font-size: 28px; font-weight: 650; letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(227, 166, 20, 0.4);
}
.perfil__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.perfil__av--top { width: 28px; height: 28px; font-size: 11px; }
.perfil__av--linha { width: 44px; height: 44px; font-size: 15px; }
.perfil-nota { margin: 0; padding: 12px 14px; border-radius: 16px; background: #16130b; border: 1px solid rgba(227, 166, 20, 0.28); line-height: 1.4; overflow-wrap: break-word; }
.perfil-nota b { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.perfil-acoes { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.perfil-acoes .btn, .perfil-acoes .textbtn { width: 100%; min-height: 44px; text-align: center; }
.perfil-editar { border-top: 1px solid var(--line); }
.perfil-editar summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; list-style: none; font-weight: 650; }
.perfil-editar summary::-webkit-details-marker { display: none; }
.resultados { list-style: none; margin: 0; padding: 0; }
.resultado { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.resultado > div { min-width: 0; flex: 1; }
.resultado .textbtn { flex: none; }
.resultado p { margin: 0; line-height: 1.4; overflow-wrap: break-word; }
.resultado small { display: block; margin-top: 4px; color: var(--faint); font-size: 12px; }
.resultado--vazio { border-top: 0; padding-top: 0; }
.resultado--vazio p { color: var(--muted); }
.measure textarea {
  min-height: 88px; border-radius: 12px; border: 1px solid var(--line); background: var(--s2);
  padding: 12px 14px; color: var(--text); font: inherit; resize: vertical;
}
.adm-main .card { background: #101010; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: none; }
.adm-main .will-caso { border: 1px solid rgba(232, 113, 95, 0.45); border-radius: 16px; padding: 14px 16px; background: rgba(232, 113, 95, 0.06); }
.adm-main > .textbtn { align-self: flex-start; padding-left: 0; }

@media (min-width: 900px) {
  .adm { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 36px; align-items: start; }
  .adm-nav { position: sticky; top: 16px; flex-direction: column; align-items: stretch; padding: 8px 0; border: 0; background: transparent; border-radius: 0; }
  .adm-kicker { display: block; margin: 0; color: var(--gold); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
  .adm-quem { display: block; margin: 4px 0 16px; font-size: 18px; }
  .adm-nav nav { flex-direction: column; gap: 2px; }
  .adm-sair { margin: 18px 0 0; padding-left: 12px; }
  .adm-metricas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm-duas { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.mural-teaser h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.mural-teaser__linha { margin: 0; line-height: 1.45; overflow-wrap: break-word; }
.mural-teaser__linha b { display: block; margin-bottom: 2px; }
.mural-composer, .mural-celebrar { display: flex; flex-direction: column; gap: 12px; }
.mural-composer__acoes { display: flex; flex-direction: column; gap: 8px; }
.mural-preview { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mural-preview img, .mural-foto { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; display: block; background: #141414; }
.mural-lista { display: flex; flex-direction: column; gap: 12px; }
.mural-post { display: flex; flex-direction: column; gap: 12px; }
.mural-post.is-oculto { opacity: 0.72; }
.mural-post__quem { display: flex; gap: 12px; align-items: center; }
.mural-post__quem > div { min-width: 0; flex: 1; }
.mural-post__quem b { display: block; font-size: 16px; }
.mural-post__quem small, .mural-quem { color: var(--faint); font-size: 13px; }
.mural-post__texto { margin: 0; line-height: 1.45; overflow-wrap: break-word; }
.mural-marco { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0; padding: 10px 12px; border-radius: 14px; background: #16130b; border: 1px solid rgba(227, 166, 20, 0.28); }
.mural-marco b { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.mural-marco span { color: var(--muted); font-size: 13px; }
.mural-reacoes { display: flex; flex-wrap: wrap; gap: 8px; }
.mural-reacao { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.mural-reacao svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mural-reacao b { font-weight: 650; color: var(--text); }
.mural-reacao.is-minha, .mural-reacao[aria-pressed="true"] { color: var(--gold); border-color: rgba(227, 166, 20, 0.55); background: rgba(227, 166, 20, 0.12); }
.mural-reacao:disabled { cursor: default; opacity: 0.55; }
.mural-celebrar h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.mural-selo { font-style: normal; font-size: 12px; color: var(--gold); border: 1px solid rgba(227, 166, 20, 0.4); border-radius: 99px; padding: 4px 8px; white-space: nowrap; }
.mural-atualizar { margin: 4px 0 12px; }
.page-lead { margin-top: 6px; }

/* Evolução em quatro partes: Resumo, Medidas, Constância e Força. */
.seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg--4 button { font-size: 13px; padding: 0 4px; }
.evo-abas { margin: 2px 0 14px; position: sticky; top: 8px; z-index: 5; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
.evo-atalhos { display: grid; gap: 8px; margin: 0 0 12px; }
.evo-atalho { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--s1); color: inherit; font: inherit; cursor: pointer; }
.evo-atalho .kicker { grid-column: 1; margin: 0; }
.evo-atalho b { grid-column: 1; font-size: 18px; font-weight: 600; }
.evo-atalho small { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.35; }
.evo-atalho i { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-style: normal; font-size: 24px; color: var(--gold); }
.evo-atalho:active { transform: scale(0.98); }
.evo-lembrete .btn { margin-top: 10px; }
.evo-med__quando { margin: 2px 0 10px; }
.evo-meds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }
.evo-med { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; padding: 12px; border-radius: 14px; background: var(--s2); border: 1px solid transparent; color: inherit; font: inherit; }
button.evo-med { cursor: pointer; }
.evo-med.is-sel { border-color: var(--gold); background: rgba(227, 166, 20, 0.1); }
.evo-med span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.evo-med b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.evo-med b small { font-size: 13px; color: var(--muted); font-weight: 500; }
.evo-med em { font-style: normal; font-size: 12px; color: var(--muted); }
.evo-graf { margin-top: 12px; }
.evo-mais summary { cursor: pointer; color: var(--gold); font-size: 14px; padding: 10px 0 2px; }
.evo-stats .stat b small { font-size: 16px; color: var(--muted); font-weight: 500; }
.evo-mapa__total { margin: 2px 0 6px; }
.evo-mapa { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; row-gap: 4px; }
.evo-mapa .mapa__dow { margin-top: 0; }
.evo-mapa__sem { display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: center; color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.evo-postura .pos-topo .kicker { display: none; }
.evo-postura > .pos { margin-top: 10px; }
/* Treinos por semana: nome, barra e número na mesma linha. */
.hist--semanas li { grid-template-columns: 8.4em minmax(0, 1fr) 4.6em; align-items: center; padding: 8px 0; }
.hist--semanas .bar { grid-column: auto; }
.hist--semanas span small { display: block; color: var(--faint); font-size: 11px; }
.evo-leg span { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.exlin b { white-space: nowrap; }

/* Constância: calendário do mês. Dourado é dia em que treinou, qualquer que seja o treino. */
.cal__topo { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; text-align: center; margin-bottom: 10px; }
.cal__topo b { display: block; font-size: 18px; font-weight: 650; }
.cal__topo small { color: var(--muted); font-size: 13px; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--s2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; font-family: inherit; }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__dow, .cal__grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { color: var(--faint); font-size: 11px; text-align: center; margin-bottom: 6px; }
.cal__grade { list-style: none; margin: 0; padding: 0; }
.cal__d { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: var(--s2); color: var(--muted); font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; display: grid; place-items: center; }
.cal__d--futuro { background: transparent; border-color: var(--line); opacity: 0.55; }
.cal__d--feito { background: var(--gold); color: var(--ink); font-weight: 700; }
.cal__d--parcial { background: rgba(227, 166, 20, 0.32); color: var(--text); font-weight: 600; }
.cal__d.is-hoje { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.cal__d.is-sel { outline: 2px solid var(--text); outline-offset: 2px; }
.cal__d i { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 10px; font-weight: 700; }
.cal__ponto { display: inline-block; width: 11px; height: 11px; border-radius: 4px; }
.cal__ponto--feito { background: var(--gold); }
.cal__ponto--parcial { background: rgba(227, 166, 20, 0.32); }
.cal__ponto--hoje { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.cal__dia { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal__treinos, .dia-livre { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.cal__treinos li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--s2); }
.cal__treinos b { font-weight: 600; font-size: 15px; }
.cal__treinos small { color: var(--muted); font-size: 13px; }
/* Início: os treinos que faltam, para escolher no dia. */
.dia-livre li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--s2); }
.dia-livre span { display: flex; flex-direction: column; min-width: 0; }
.dia-livre small { color: var(--muted); font-size: 13px; }
.btn--mini { width: auto; min-height: 38px; padding: 0 16px; font-size: 14px; flex: 0 0 auto; }

/* ---------------------------------------------------------- 21/10: Início, Turma e Evolução mais limpos */
/* Carga que subiu: o "de → para" não quebra no meio; o ganho fica embaixo, em dourado. */
.facts .fact-carga b { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; max-width: none; flex: 0 0 auto; }
.facts .fact-carga b > span { color: var(--text); white-space: nowrap; }
.facts .fact-carga b small { color: var(--gold-hi); font-size: 12px; font-weight: 600; }
.ver-mais > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--gold-hi); font-size: 14px; font-weight: 600; cursor: pointer; }
.ver-mais > summary::-webkit-details-marker { display: none; }
.ver-mais > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease); }
.ver-mais[open] > summary { display: none; }
.ver-mais[open] > .facts { animation: fadeIn 0.2s ease both; }
.ver-mais > .facts li:first-child { border-top: 1px solid var(--line); }

/* Aquecer e cuidado: chips opcionais lado a lado, abaixo do Começar. */
.chips-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 2px; }
.chip-extra { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line-2, var(--line)); border-radius: 16px; text-align: left; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, border-color 0.2s ease; }
.chip-extra .mob-ico, .chip-extra svg { width: 18px; height: 18px; flex: none; }
.chip-extra > span { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.chip-extra small { color: var(--muted); font-size: 12px; font-weight: 500; }
.chip-extra__ok { font-style: normal; color: var(--ok); }

/* Turma: espaço de postar fechado numa linha; os posts aparecem logo. */
.mural-abrir { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; color: var(--text); font: inherit; cursor: pointer; transition: transform 0.15s ease, border-color 0.2s ease; }
.mural-abrir:active { transform: scale(0.99); }
.mural-abrir b { display: block; font-size: 15px; }
.mural-abrir small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.mural-abrir__ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); }
.mural-abrir__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.mural-composer { animation: fadeIn 0.2s ease both; }

/* Evolução: as abas fixas ganham um fundo que cobre o que passa por trás (e a área do relógio no iPhone). */
.evo-abas { top: calc(8px + env(safe-area-inset-top)); }
.evo-abas::before { content: ""; position: absolute; z-index: -1; left: -24px; right: -24px; top: calc(-10px - env(safe-area-inset-top)); bottom: -8px; background: linear-gradient(to bottom, var(--bg) 78%, rgba(7, 7, 7, 0)); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .ver-mais[open] > .facts, .mural-composer { animation: none; }
}

/* ---------------------------------------------------------- casca do app: topo, puxar, carregar, toque */
/* Topo que gruda e vira vidro ao rolar; o título da página aparece pequeno no meio (só no celular). */
.top__titulo { display: none; }
@media (max-width: 899px) {
  .app > .top { position: sticky; top: 0; z-index: 11; margin: calc(-18px - env(safe-area-inset-top)) -18px 0; padding: calc(12px + env(safe-area-inset-top)) 18px 10px; border-bottom: 1px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease; }
  .app > .top.is-rolou { background: rgba(7, 7, 7, 0.72); border-bottom-color: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
  .top__titulo { display: block; position: absolute; left: 50%; bottom: 12px; max-width: 44%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.2s ease, transform 0.25s var(--ease); pointer-events: none; }
  .top.is-titulo .top__titulo { opacity: 1; transform: translate(-50%, 0); }
  .top .mark { transition: opacity 0.2s ease; }
  .top.is-titulo .mark { opacity: 0; }
  /* o que gruda abaixo do topo */
  .evo-abas, .lab-evo-abas { top: calc(var(--topo-h, 52px) + 6px); }
  .evo-abas::before { top: -8px; }
}

/* Puxar para atualizar (app instalado): o círculo desce com o dedo, gira quando passa do ponto. */
@media (display-mode: standalone) { html, body { overscroll-behavior-y: none; } }
.puxar { position: fixed; z-index: 30; left: 50%; top: calc(env(safe-area-inset-top) - 40px); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--s3); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); transform: translate(-50%, var(--d, 0px)) scale(calc(0.6 + var(--p, 0) * 0.4)); opacity: 0; pointer-events: none; }
.puxar.is-puxando { opacity: 1; }
.puxar:not(.is-puxando) { transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.puxar svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(calc(var(--p, 0) * 300deg)); }
.puxar.is-pronto svg { stroke: var(--gold); }
.puxar.is-atualizando { opacity: 1; transform: translate(-50%, 70px); transition: transform 0.25s var(--ease); }
.puxar.is-atualizando svg { stroke: var(--gold); animation: puxar-gira 0.7s linear infinite; }
@keyframes puxar-gira { to { transform: rotate(360deg); } }

/* Abrindo o app: o formato da tela em cinza no lugar de "Carregando…". */
.boot { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.esq { display: block; border-radius: 14px; background: linear-gradient(90deg, var(--s1) 0%, var(--s2) 40%, var(--s1) 80%) 0 0 / 300% 100%; animation: esq-brilho 1.4s ease-in-out infinite; }
.esq--titulo { width: 62%; height: 30px; border-radius: 10px; }
.esq--linha { width: 84%; height: 14px; border-radius: 7px; margin-bottom: 6px; }
.esq--cartao { height: 220px; border-radius: var(--r-lg); }
.esq--baixo { height: 120px; opacity: 0.6; }
@keyframes esq-brilho { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* Toque com resposta: tudo que se toca afunda um pouco, rápido, e volta. */
.btn, .card--login, .lex__btn, .exlin, .acao-ex, .checkex__troca, .sessao-linha__cab, .evo-atalhos a, .evo-atalhos button, .atalhos a, .atalhos button, .seg button, .choices button, .textbtn { transition: transform 0.16s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
/* Controles não viram texto selecionado num toque longo. (O afundar ao toque está em app-ios.css, para todos os botões.) */
.tabs, .top, .btn, .seg, .choices, .chip-extra, .checkex, .player__meta, .lex__btn, .acao-ex { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tabs button[aria-current="page"] svg { fill: currentColor; fill-opacity: 0.16; }

@media (prefers-reduced-motion: reduce) {
  .esq, .puxar.is-atualizando svg { animation: none; }
  .top__titulo, .app > .top { transition: none; }
}
.sob__mais { margin: 0; color: var(--faint); font-size: 13px; }

/* Evolução: o peso medida a medida, numa linha pequena dentro de "O que mudou". */
.spark { grid-column: 1 / -1; position: relative; margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.spark svg { display: block; width: 100%; height: 44px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark__area { position: relative; }
.spark i { position: absolute; width: 8px; height: 8px; margin: 0 0 0 -4px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(227, 166, 20, 0.18); transform: translateY(-50%); }
.spark figcaption { display: flex; justify-content: space-between; margin-top: 6px; color: var(--faint); font-size: 12px; }
.spark figcaption span:last-child { color: var(--text); font-weight: 600; }
/* Tela do exercício: números maiores e alinhados, como num app de treino. */
.player__meta b { font-size: 19px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
