@font-face {
  font-family: "Anton";
  src: url("/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c8102e;
  --red-deep: #8e0c22;
  --wine: #4c0a16;
  --pink: #ff3b6a;
  --blush: #fff0f3;
  --paper: #f7f3f1;
  --card: #ffffff;
  --ink: #241416;
  --muted: #6a5559;
  --line: #eadfe2;
  --gold: #b8893a;
  --gold-soft: #f8f1e3;
  --ok: #1c7c45;
  --ok-soft: #e7f6ee;
  --shadow: 0 12px 32px rgba(76, 10, 22, 0.08);
  --font: "Poppins", "Segoe UI", sans-serif;
  --display: "Anton", "Arial Narrow", sans-serif;
  --nav: calc(92px + env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #f3e4e7;
  font-size: 17px;
  line-height: 1.5;
}
#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  position: relative;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg.pose, video { max-width: 100%; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.logo {
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 34px;
  line-height: 1;
  margin: 0;
}
.by {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.brandbar, .splash, .gate {
  background: linear-gradient(180deg, #e31332 0%, #c8102e 55%, #a10e28 100%);
  color: white;
  text-align: center;
}
.brandbar { padding: 16px 16px 14px; }
.brandbar .logo { font-size: 30px; }
.brandline { height: 8px; background: var(--red); }
.splash { min-height: 100vh; display: grid; align-content: center; justify-items: center; }
.noscript { padding: 24px; text-align: center; }

.screen { padding: 0 0 var(--nav); }
.screen-full { padding-bottom: 28px; }
.gate {
  min-height: 100vh;
  text-align: left;
  padding: 28px 20px 40px;
  background: var(--paper);
  color: var(--ink);
}
.gate .logo, .gate .by { text-align: center; color: var(--red); }
.gate h1, .lock h1, .done h1, .coach h1 {
  font-size: 30px;
  line-height: 1.15;
  margin: 12px 0;
  font-weight: 650;
}
.lead, .motivation { font-size: 16.5px; }
.kicker {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .kicker { color: #ffd0da; }
.pad { padding: 0 16px; }
.muted, .hint { color: var(--muted); font-size: 14.5px; }
.note {
  background: var(--gold-soft);
  border-radius: 16px;
  padding: 12px 14px;
  color: #5c4314;
}
.safety {
  color: var(--muted);
  font-size: 14px;
  background: #fff;
  border-left: 4px solid var(--red);
  padding: 10px 12px;
  border-radius: 12px;
}
.error { color: var(--red-deep); font-weight: 600; margin: 0; }

.stack { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, select {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #e4d4d8;
  border-radius: 14px;
  padding: 12px 14px;
  background: white;
  font-weight: 500;
}
input:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid #ffb3c4;
  outline-offset: 2px;
}
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
legend { font-weight: 700; margin-bottom: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 650;
  text-align: center;
}
.btn-primary { background: linear-gradient(180deg, #ff4d78, #e2184e); color: white; box-shadow: 0 8px 18px rgba(194, 16, 46, 0.25); }
.btn-ghost { background: white; color: var(--red-deep); border: 1.5px solid #f0c9d2; }
.btn-ghost.on { background: var(--blush); border-color: var(--red); }
.btn[disabled] { opacity: 0.55; }
.actions, .row-links { display: grid; gap: 10px; margin: 14px 0; }
.row-links { grid-template-columns: 1fr; }
.text-btn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 650;
  padding: 8px 0;
}
.text-btn.danger { color: var(--red-deep); margin-top: 18px; }
.back-step { margin-bottom: 8px; }

.dots { display: flex; gap: 6px; margin-bottom: 8px; }
.dots span { width: 100%; height: 4px; border-radius: 99px; background: #eddde1; }
.dots span.done, .dots span.now { background: var(--red); }
.options { display: grid; gap: 10px; }
.option {
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.option strong { display: block; font-size: 16px; }
.option small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; }
.option i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #e7cfd5;
  flex: 0 0 auto;
}
.option.on { border-color: var(--red); background: var(--blush); }
.option.on i { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 4px white; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  border-radius: 16px;
  padding: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: 0 0 auto; }
.check.on { background: var(--blush); border-color: #f3c2cc; }
.disclaimer { background: white; border-radius: 18px; padding: 14px; }

.summary-list, .build-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.summary-list li, .build-list li {
  background: white;
  border-radius: 16px;
  padding: 12px 14px;
}
.summary-list strong, .build-list li { display: block; }
.summary-list span { color: var(--muted); font-size: 14.5px; }

.hero {
  margin: 0;
  padding: 18px 18px 46px;
  background: linear-gradient(165deg, #b01432, #6d0b1c 80%);
  color: white;
  border-radius: 0 0 28px 28px;
}
.hero h1 { margin: 6px 0 8px; font-size: 32px; line-height: 1.1; }
.hero .motivation { margin: 0 0 16px; color: #ffe4ea; }
.hero-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.hero-stats > div {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  min-height: 84px;
}
.hero-stats strong { display: block; font-family: var(--display); font-size: 28px; letter-spacing: 0.03em; line-height: 1; }
.hero-stats span { font-size: 12px; color: #ffd5de; }
.ring-wrap { display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: center; }
.ring { width: 54px; height: 54px; }
.ring-bg { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 3; }
.ring-fg {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 18px 18px;
}

.today {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
  align-items: center;
  margin: -28px 16px 16px;
  background: white;
  border-radius: 22px;
  padding: 12px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.today h2 { margin: 0; font-size: 18px; }
.today p { margin: 2px 0; }
.today .pose { width: 84px; height: 84px; }
.block, .sheet, .week, .more-list { padding: 4px 16px 8px; }
.block {
  background: white;
  margin: 0 16px 12px;
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.block-head, .shift { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.block h2, .sheet h2, .week h2 { font-size: 20px; margin: 8px 0; }
.block a, .text-link { color: var(--red); font-weight: 700; }
.include, .more-list { display: grid; gap: 8px; }
.include a, .more {
  display: grid;
  gap: 2px;
  text-decoration: none;
  background: var(--blush);
  border-radius: 16px;
  padding: 12px;
}
.more { background: white; box-shadow: var(--shadow); }
.include span, .more span { color: var(--muted); font-size: 14px; }
.include em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--ok);
}
.include em.new { color: var(--red); }
.quiet a { display: inline-block; margin-top: 6px; }

.topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px 4px;
}
.topbar h1 { font-size: 22px; margin: 0; }
.back { color: var(--red); font-weight: 700; text-decoration: none; }
.day-row, .meal, .ex {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 10px;
  margin: 8px 0;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(76, 10, 22, 0.04);
}
.day-row.locked { grid-template-columns: auto 1fr auto; opacity: 0.8; }
.lock-ico { width: 22px; height: 22px; color: var(--red); }
.lock-panel { text-align: center; }
.lock-panel .lock-ico { width: 56px; height: 56px; margin: 8px auto; }
.week.is-locked h2 { color: var(--muted); }
.breath-wrap { display: grid; justify-items: center; padding: 8px 0 4px; }
.breath-orb {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  background: radial-gradient(circle at 32% 28%, #ffd5e0, #e2184e 58%, #7a1024);
  box-shadow: 0 16px 32px rgba(142, 12, 34, 0.28), inset 0 -10px 18px rgba(80, 8, 20, 0.25);
  transform: scale(0.72);
}
.breath-orb strong { font-size: 16px; }
.breath-orb span { font-family: var(--display); font-size: 42px; line-height: 0.9; }
.coach-fab {
  position: fixed;
  z-index: 8;
  right: max(12px, calc(50vw - 228px));
  bottom: calc(var(--nav) + 10px);
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(142, 12, 34, 0.35);
}
.coach-fab svg { width: 22px; height: 22px; }
body:has(.screen-full) .coach-fab { bottom: calc(16px + env(safe-area-inset-bottom)); }
.plan-result { margin-top: 18px; }
.stage {
  background: radial-gradient(circle at 50% 18%, #fff 0%, #f8e7eb 72%);
  border-radius: 24px;
  overflow: hidden;
  margin: 8px 0 12px;
}
.stage svg { width: 100%; height: auto; display: block; }
.prop { display: none; }
.fig[data-move="agachamento"] .prop-chair,
.fig[data-move="flexao"] .prop-wall { display: block; }
.joint, .upper, .belly { transform-box: fill-box; }
.joint { transform-origin: 50% 0%; }
.upper { transform-origin: 50% 100%; }
.belly { transform-origin: center; }
.person { transform-box: view-box; transform-origin: 170px 250px; }
.thigh-l { transform: rotate(8deg); }
.thigh-r { transform: rotate(-8deg); }
.fig.is-paused * { animation-play-state: paused; }
.fig[data-move="agachamento"] .thigh-l { animation: sq-l 2.6s ease-in-out -1.3s infinite; }
.fig[data-move="agachamento"] .thigh-r { animation: sq-r 2.6s ease-in-out -1.3s infinite; }
.fig[data-move="agachamento"] .shin-l { animation: sq-sl 2.6s ease-in-out -1.3s infinite; }
.fig[data-move="agachamento"] .shin-r { animation: sq-sr 2.6s ease-in-out -1.3s infinite; }
.fig[data-move="agachamento"] .upper { animation: sq-up 2.6s ease-in-out -1.3s infinite; }
@keyframes sq-l { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(64deg); } }
@keyframes sq-r { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-64deg); } }
@keyframes sq-sl { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-58deg); } }
@keyframes sq-sr { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(58deg); } }
@keyframes sq-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(54px); } }
.fig[data-move="flexao"] .person { animation: lean 2.4s ease-in-out -1.2s infinite; }
.fig[data-move="flexao"] .arm-l { transform: rotate(-50deg); }
.fig[data-move="flexao"] .arm-r { transform: rotate(18deg); }
.fig[data-move="flexao"] .fore-l,
.fig[data-move="flexao"] .fore-r { animation: elbow 2.4s ease-in-out -1.2s infinite; }
@keyframes lean { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(20deg); } }
@keyframes elbow { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(42deg); } }
.fig[data-move="prancha"] .person { transform: translate(24px, 28px) rotate(-78deg); }
.fig[data-move="prancha"] .belly { animation: plank-b 3.2s ease-in-out infinite; }
@keyframes plank-b { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1.16); } }
.fig[data-move="ponte"] .person { transform: translate(-48px, 36px) rotate(68deg); }
.fig[data-move="ponte"] .upper { animation: bridge 2.6s ease-in-out -1.3s infinite; }
@keyframes bridge { 0%, 100% { transform: translateY(12px); } 50% { transform: translateY(-36px); } }
.fig[data-move="abdominal"] .person { transform: translate(0, 78px) rotate(82deg); }
.fig[data-move="abdominal"] .upper { animation: crunch 2.2s ease-in-out -1.1s infinite; }
@keyframes crunch { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-28deg); } }
.fig[data-move="gato"] .person { transform: translate(28px, 8px) rotate(-86deg); }
.fig[data-move="gato"] .arm-l,
.fig[data-move="gato"] .arm-r { transform: rotate(78deg); }
.fig[data-move="gato"] .thigh-l,
.fig[data-move="gato"] .thigh-r { transform: rotate(70deg); }
.fig[data-move="gato"] .upper { animation: cat 2.8s ease-in-out -1.4s infinite; }
@keyframes cat { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(-16deg); } }
.fig[data-move="joelhos"] .thigh-l { animation: knee-l 2.4s ease-in-out infinite; }
.fig[data-move="joelhos"] .thigh-r { animation: knee-r 2.4s ease-in-out infinite; }
.fig[data-move="joelhos"] .shin-l { animation: knee-sl 2.4s ease-in-out infinite; }
.fig[data-move="joelhos"] .shin-r { animation: knee-sr 2.4s ease-in-out infinite; }
@keyframes knee-l { 0%, 45%, 100% { transform: rotate(8deg); } 20% { transform: rotate(-72deg); } }
@keyframes knee-r { 0%, 50% { transform: rotate(-8deg); } 70% { transform: rotate(72deg); } 100% { transform: rotate(-8deg); } }
@keyframes knee-sl { 0%, 45%, 100% { transform: rotate(0deg); } 20% { transform: rotate(60deg); } }
@keyframes knee-sr { 0%, 50%, 100% { transform: rotate(0deg); } 70% { transform: rotate(-60deg); } }
.fig[data-move="lateral"] .upper { animation: side 3.2s ease-in-out -0.8s infinite; }
.fig[data-move="lateral"] .arm-r { animation: arm-up 3.2s ease-in-out -0.8s infinite; }
@keyframes side { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(18deg); } 70% { transform: rotate(-18deg); } }
@keyframes arm-up { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-150deg); } 70% { transform: rotate(10deg); } }
.fig[data-move="ombros"] .arm-l,
.fig[data-move="ombros"] .arm-r { animation: roll 2.2s ease-in-out infinite; }
@keyframes roll { 0% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-30deg) translateY(-14px); } 100% { transform: rotate(0deg) translateY(0); } }
.cue-line { font-weight: 650; background: var(--blush); border-radius: 14px; padding: 10px 12px; }
.player-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aula-play .timer { font-size: 56px; margin: 4px 0; }
.stage-breath { margin-top: -12px; padding-bottom: 8px; }
.day-row .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blush);
  color: var(--red);
  font-family: var(--display);
  font-size: 20px;
}
.day-row.done .num { background: var(--ok-soft); color: var(--ok); }
.day-row small, .meal small, .ex small { display: block; color: var(--muted); }
.sheet h3 { margin-bottom: 6px; }
.minutes { font-family: var(--display); font-size: 28px; letter-spacing: 0.04em; color: var(--red); margin: 0; }
.pill-ok {
  display: inline-block;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
}
.ex { display: block; }
.ex summary { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.ex .pose, .recipe-hero .pose { width: 72px; height: 72px; }
.ex ol, .steps { padding-left: 18px; }
.easier { background: var(--blush); border-radius: 14px; padding: 10px 12px; }

.day-switch { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 10px 0; }
.day-switch a {
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 10px;
  background: white;
}
.day-switch a.on { background: var(--red); color: white; }
.meal { grid-template-columns: 1fr; }
.meal span { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.timeline time { font-weight: 700; color: var(--red); }
.timeline div { border-left: 2px solid #f0c9d2; padding: 0 0 14px 12px; }
.timeline strong { display: block; }
.shift { margin: 8px 0; }
.shift button {
  border: 0;
  background: white;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 650;
  color: var(--red-deep);
}
.ingredients { padding-left: 18px; }
.prose section { margin-bottom: 8px; }
.recipe-hero { display: flex; justify-content: center; }

.video-slot, .video-frame, .video-file {
  background: #2a1218;
  color: white;
  border-radius: 18px;
  min-height: 140px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}
.video-slot span { color: #f3c9d2; font-size: 14px; }
.video-frame { display: block; padding: 0; overflow: hidden; aspect-ratio: 16/9; min-height: 0; }
.video-frame iframe, .video-file { width: 100%; height: 100%; border: 0; border-radius: 18px; }
.player-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 12px 16px 0;
}
.player-top p { margin: 0; font-weight: 700; }
.player-progress, .bar { height: 6px; background: #f0d5db; margin: 10px 16px; border-radius: 99px; overflow: hidden; }
.player-progress span, .bar span { display: block; height: 100%; background: var(--red); width: 0; }
.player-body, .rest, .done, .lock, .coach { padding: 8px 16px 20px; }
.player-body .pose { width: 140px; height: 140px; display: block; margin: 0 auto; }
.rx { font-weight: 700; color: var(--red-deep); }
.cue { font-size: 16px; }
.timer {
  font-family: var(--display);
  font-size: 84px;
  line-height: 0.9;
  text-align: center;
  margin: 8px 0;
  letter-spacing: 0.03em;
}
.rest, .done, .lock { text-align: center; }
.lock .pose, .done .pose { width: 120px; margin: 0 auto; }
.lock ul { text-align: left; padding-left: 18px; }
.next-up { color: var(--muted); }

.day-card, .faq, .module-card {
  background: white;
  border-radius: 18px;
  padding: 12px;
  margin: 10px 0;
  box-shadow: var(--shadow);
}
.day-card summary, .faq summary { cursor: pointer; font-weight: 700; }
.day-card summary span { color: var(--red); margin-right: 8px; }
.day-card summary em { font-style: normal; color: var(--ok); margin-left: 8px; }
.module-card h2 { margin-top: 0; }

.chart { width: 100%; height: auto; background: white; border-radius: 16px; }
.log { list-style: none; padding: 0; }
.log li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.log button, .photo .text-btn { border: 0; background: transparent; color: var(--muted); }
.photos { display: grid; gap: 12px; }
.photo {
  background: white;
  border-radius: 18px;
  padding: 12px;
}
.photo img, .photo-empty {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--blush);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.file { position: relative; }
.badges { display: grid; gap: 8px; }
.badge {
  background: #f4ecee;
  color: #8a7579;
  border-radius: 16px;
  padding: 12px;
}
.badge.got { background: white; color: var(--ink); border: 1px solid #f0c9d2; }
.badge span { display: block; font-size: 14px; }

.guarantee { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: center; }
.seal { width: 88px; height: 88px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 0;
  background: white;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 600;
  text-align: left;
}
.thread { display: grid; gap: 8px; margin: 12px 0 70px; }
.bubble { margin: 0; padding: 12px 14px; border-radius: 16px; background: white; }
.bubble.me { background: var(--red); color: white; justify-self: end; }
.ask {
  position: sticky;
  bottom: var(--nav);
  display: grid;
  gap: 8px;
  background: var(--paper);
  padding-top: 8px;
}
.id-list { padding-left: 18px; font-size: 14px; }
.id-list code { color: var(--red-deep); }

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(480px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fffefd;
  border-top: 1px solid #f0e0e3;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 5;
}
.tabbar a {
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #8d7579;
  font-size: 11px;
  font-weight: 650;
}
.tabbar a.on { color: var(--red); }
.nav-ico { width: 24px; height: 24px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav) + 8px);
  transform: translateX(-50%);
  width: min(440px, calc(100% - 24px));
  background: var(--wine);
  color: white;
  border-radius: 16px;
  padding: 12px 14px;
  z-index: 6;
  box-shadow: var(--shadow);
}
.empty { padding: 24px 16px; }
.empty h2 { margin-bottom: 6px; }

@media (min-width: 840px) {
  body { padding: 24px 0; }
  #app {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(76, 10, 22, 0.16);
  }
  .tabbar { bottom: 24px; border-radius: 0 0 28px 28px; }
}
@media print {
  body { background: white; }
  #app { box-shadow: none; max-width: none; }
  .tabbar, .brandbar, .brandline, .btn, .shift, .toast { display: none !important; }
  .screen { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Semana 1: vídeo guiado no topo da aula */
.aula-video { margin: -4px 0 14px; border-radius: 18px; overflow: hidden; background: #1b1416; aspect-ratio: 9/16; max-height: 64vh; display: flex; align-items: center; justify-content: center; }
.aula-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #1b1416; }
.aula-video-fallback { padding: 16px; text-align: center; color: #f3c9d2; font-size: 14px; }
.aula-video-fallback .mini-fig { max-width: 160px; margin: 0 auto 8px; }
.aula-video-fallback .stage { margin: 0; }
.ex-static p { margin: 6px 0 0; }
.aula-video [hidden] { display: none !important; }
.aula-video-fallback { width: 100%; }
