:root {
  color-scheme: light;
  --ink: #242327;
  --muted: #6e6878;
  --paper: #fff9f1;
  --panel: #ffffff;
  --line: #ece2d7;
  --rose: #eb5f7a;
  --coral: #f47d4d;
  --mint: #3cbf9a;
  --teal: #147c83;
  --gold: #f6b740;
  --shadow: 0 20px 60px rgba(77, 55, 42, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(244, 125, 77, 0.18), transparent 32rem),
    linear-gradient(135deg, #fff9f1 0%, #f3fff9 48%, #fff5f8 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 20px;
}

.today-panel,
.workout-panel {
  min-width: 0;
}

.today-panel {
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.workout-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.topbar,
.workout-header,
.timer-meta,
.timer-actions,
.finish-card,
.summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.streak-pill {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 86px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
}

.streak-pill span:first-child {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.mood-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(235, 95, 122, 0.12), transparent),
    rgba(255, 255, 255, 0.72);
}

.mood-card p {
  margin-bottom: 18px;
  font-size: 1.22rem;
  line-height: 1.35;
  color: #433d47;
}

.spark-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.spark-row span {
  height: 8px;
  border-radius: 999px;
}

.spark-row span:nth-child(1) {
  background: var(--rose);
}

.spark-row span:nth-child(2) {
  background: var(--coral);
}

.spark-row span:nth-child(3) {
  background: var(--gold);
}

.spark-row span:nth-child(4) {
  background: var(--mint);
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

legend {
  margin-bottom: 10px;
  color: #4c4650;
  font-size: 0.93rem;
  font-weight: 800;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vibe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chip,
.duration-option {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.chip:hover,
.duration-option:hover,
.ghost-button:hover,
.secondary-action:hover,
.swap-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.chip[aria-pressed="true"],
.duration-option[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.primary-action,
.secondary-action,
.play-button {
  border: 0;
  border-radius: 18px;
  background: var(--rose);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(235, 95, 122, 0.26);
}

.primary-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 18px 0 22px;
  font-size: 1.02rem;
}

.ghost-button,
.swap-button,
.icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 900;
}

.ghost-button,
.swap-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-strip div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.summary-strip span {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 950;
}

.summary-strip small {
  color: var(--muted);
  font-weight: 800;
}

.timer-card,
.finish-card,
.exercise-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(77, 55, 42, 0.08);
}

.timer-card {
  padding: 22px;
  border-radius: 24px;
}

.timer-meta span {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
}

.timer-tools {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.timer-time {
  margin: 14px 0 6px;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.8rem, 12vw, 7rem);
  line-height: 0.92;
  font-weight: 950;
}

.timer-card p {
  min-height: 44px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.35;
}

.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
}

.play-button {
  flex: 1;
  min-height: 52px;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(20, 124, 131, 0.22);
}

.guide-action {
  width: 100%;
  min-height: 48px;
  margin: 0 0 14px;
  border: 1px solid rgba(20, 124, 131, 0.3);
  border-radius: 16px;
  background: #eafff8;
  color: var(--teal);
  font-weight: 950;
}

.rating-control {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timer-rating {
  margin: 0 0 14px;
}

.rating-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.rating-button[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.exercise-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.exercise-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border-radius: 18px;
  cursor: pointer;
}

.exercise-list li.active {
  border-color: rgba(235, 95, 122, 0.7);
  background: #fff4f6;
}

.exercise-list li.completed {
  border-color: #e3ded8;
  background: #f2efea;
  color: #8b858f;
  opacity: 0.78;
}

.exercise-list li.completed .move-index {
  background: #ddd8d1;
}

.exercise-list li.completed .move-name,
.exercise-list li.completed .move-cue,
.exercise-list li.completed .move-time {
  text-decoration: line-through;
}

.move-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f4eee7;
  font-weight: 950;
}

.move-name {
  display: block;
  margin-bottom: 3px;
  font-weight: 900;
}

.move-cue {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.list-rating {
  margin-top: 8px;
}

.move-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.move-time {
  color: var(--teal);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.mini-guide-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eafff8;
  color: var(--teal);
  font-weight: 900;
}

.move-toggle-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.exercise-list li.completed .move-toggle-button {
  background: var(--ink);
  color: #fff;
}

.finish-card {
  min-height: 88px;
  padding: 16px;
  border-radius: 20px;
}

.finish-card strong {
  display: block;
  line-height: 1.25;
}

.secondary-action {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  background: var(--coral);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(36, 35, 39, 0.36);
}

.guide-sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 26px 80px rgba(36, 35, 39, 0.24);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
}

.guide-visual {
  width: 100%;
  margin-bottom: 18px;
}

.move-demo {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(234, 255, 248, 0.72), rgba(255, 250, 245, 0.98)),
    #fff;
  padding: 14px;
}

.real-media-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaf5;
  padding: 14px;
}

.guide-media {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 18px;
  background: #f4eee7;
}

.guide-panel-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.media-frame-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.media-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(236, 226, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  background: #f4eee7;
}

.media-frame figcaption {
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.move-demo-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.move-demo-topline span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.move-demo-topline strong {
  color: #4c4650;
  font-size: 0.9rem;
}

.visual-frame-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visual-frame {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(236, 226, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.frame-step {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.pose-svg {
  display: block;
  width: 100%;
  height: 122px;
  margin-bottom: 6px;
}

.pose-ground {
  fill: none;
  stroke: #dfd6cd;
  stroke-width: 4;
  stroke-linecap: round;
}

.pose-line {
  fill: none;
  stroke: var(--pose-accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pose-head {
  fill: var(--pose-accent);
}

.pose-arrow {
  fill: none;
  stroke: var(--pose-accent);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.55;
}

.visual-frame strong,
.visual-frame small {
  display: block;
}

.visual-frame strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.92rem;
}

.visual-frame small {
  color: var(--muted);
  line-height: 1.25;
}

.demo-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(234, 255, 248, 0.9), rgba(255, 250, 245, 0.98)),
    #fff;
}

.demo-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-mat {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 25px;
  height: 12px;
  border-radius: 999px;
  background: #e7ddd2;
}

.motion-line {
  position: absolute;
  width: 54px;
  height: 12px;
  border-radius: 999px;
  background: rgba(235, 95, 122, 0.22);
  opacity: 0.9;
}

.motion-line-one {
  top: 34px;
  left: 36px;
  animation: motion-line 1.5s infinite ease-in-out;
}

.motion-line-two {
  right: 38px;
  bottom: 58px;
  background: rgba(20, 124, 131, 0.2);
  animation: motion-line 1.5s 220ms infinite ease-in-out reverse;
}

.demo-person {
  position: absolute;
  left: calc(50% - 55px);
  bottom: 36px;
  width: 110px;
  height: 132px;
  transform-origin: 50% 100%;
  color: var(--teal);
}

.demo-head,
.demo-torso,
.demo-arm,
.demo-leg {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.demo-head {
  top: 4px;
  left: 41px;
  width: 28px;
  height: 28px;
}

.demo-torso {
  top: 34px;
  left: 48px;
  width: 16px;
  height: 54px;
  transform-origin: 50% 8px;
}

.demo-arm {
  top: 42px;
  width: 12px;
  height: 48px;
  transform-origin: 50% 6px;
}

.demo-arm-left {
  left: 39px;
  transform: rotate(28deg);
}

.demo-arm-right {
  right: 37px;
  transform: rotate(-28deg);
}

.demo-leg {
  top: 82px;
  width: 13px;
  height: 52px;
  transform-origin: 50% 6px;
}

.demo-leg-left {
  left: 42px;
  transform: rotate(15deg);
}

.demo-leg-right {
  right: 39px;
  transform: rotate(-15deg);
}

.guide-visual[data-area="glutes"] .demo-person,
.guide-visual[data-area="lower"] .demo-person {
  color: var(--rose);
}

.guide-visual[data-area="cardio"] .demo-person {
  color: var(--coral);
}

.guide-visual[data-area="core"] .demo-person {
  color: var(--gold);
}

.guide-visual[data-area="upper"] .demo-person {
  color: var(--mint);
}

.guide-visual[data-demo="squat"] .demo-person {
  animation: demo-squat 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="squat"] .demo-torso {
  animation: demo-squat-torso 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="squat"] .demo-leg-left,
.guide-visual[data-demo="squat"] .demo-leg-right {
  animation: demo-squat-legs 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="lunge"] .demo-person {
  animation: demo-lunge 1.9s infinite ease-in-out;
}

.guide-visual[data-demo="lunge"] .demo-leg-left {
  animation: demo-lunge-front 1.9s infinite ease-in-out;
}

.guide-visual[data-demo="lunge"] .demo-leg-right {
  animation: demo-lunge-back 1.9s infinite ease-in-out;
}

.guide-visual[data-demo="cardio"] .demo-person {
  animation: demo-cardio 1s infinite ease-in-out;
}

.guide-visual[data-demo="cardio"] .demo-arm-left,
.guide-visual[data-demo="cardio"] .demo-arm-right {
  animation: demo-cardio-arms 1s infinite ease-in-out;
}

.guide-visual[data-demo="cardio"] .demo-leg-left,
.guide-visual[data-demo="cardio"] .demo-leg-right {
  animation: demo-cardio-legs 1s infinite ease-in-out;
}

.guide-visual[data-demo="hinge"] .demo-torso {
  animation: demo-hinge-torso 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="hinge"] .demo-person {
  animation: demo-hinge-body 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="floor"] .demo-person,
.guide-visual[data-demo="bridge"] .demo-person,
.guide-visual[data-demo="plank"] .demo-person,
.guide-visual[data-demo="push"] .demo-person {
  left: calc(50% - 72px);
  bottom: 32px;
  transform: rotate(82deg);
}

.guide-visual[data-demo="bridge"] .demo-person {
  animation: demo-bridge 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="plank"] .demo-person,
.guide-visual[data-demo="push"] .demo-person {
  bottom: 46px;
  animation: demo-plank 1.6s infinite ease-in-out;
}

.guide-visual[data-demo="push"] .demo-arm-left,
.guide-visual[data-demo="push"] .demo-arm-right {
  animation: demo-push-arms 1.6s infinite ease-in-out;
}

.guide-visual[data-demo="core"] .demo-person {
  left: calc(50% - 70px);
  bottom: 28px;
  transform: rotate(70deg);
  animation: demo-core 1.8s infinite ease-in-out;
}

.guide-visual[data-demo="stretch"] .demo-torso {
  animation: demo-stretch-torso 2s infinite ease-in-out;
}

.guide-visual[data-demo="stretch"] .demo-arm-left,
.guide-visual[data-demo="stretch"] .demo-arm-right {
  animation: demo-stretch-arms 2s infinite ease-in-out;
}

.guide-visual[data-demo="rest"] .demo-person {
  animation: demo-breathe 2.2s infinite ease-in-out;
}

@keyframes motion-line {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.45;
  }
  50% {
    transform: translateX(18px);
    opacity: 0.9;
  }
}

@keyframes demo-squat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(30px);
  }
}

@keyframes demo-squat-torso {
  50% {
    transform: rotate(-10deg);
  }
}

@keyframes demo-squat-legs {
  50% {
    height: 43px;
  }
}

@keyframes demo-lunge {
  50% {
    transform: translate(-14px, 22px);
  }
}

@keyframes demo-lunge-front {
  50% {
    transform: rotate(48deg);
  }
}

@keyframes demo-lunge-back {
  50% {
    transform: rotate(-55deg);
  }
}

@keyframes demo-cardio {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes demo-cardio-arms {
  50% {
    transform: rotate(65deg);
  }
}

@keyframes demo-cardio-legs {
  50% {
    transform: rotate(34deg);
  }
}

@keyframes demo-hinge-body {
  50% {
    transform: translateY(4px);
  }
}

@keyframes demo-hinge-torso {
  50% {
    transform: rotate(58deg);
  }
}

@keyframes demo-bridge {
  0%,
  100% {
    transform: rotate(82deg) translateX(0);
  }
  50% {
    transform: rotate(70deg) translateX(-10px);
  }
}

@keyframes demo-plank {
  50% {
    transform: rotate(82deg) translateY(10px);
  }
}

@keyframes demo-push-arms {
  50% {
    height: 36px;
  }
}

@keyframes demo-core {
  50% {
    transform: rotate(62deg) translateX(-10px);
  }
}

@keyframes demo-stretch-torso {
  50% {
    transform: rotate(74deg);
  }
}

@keyframes demo-stretch-arms {
  50% {
    transform: rotate(88deg);
  }
}

@keyframes demo-breathe {
  50% {
    transform: scale(1.06);
  }
}

.guide-summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.45;
}

.guide-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf5;
}

.guide-block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.guide-block ol {
  margin: 0;
  padding-left: 22px;
}

.guide-block li {
  margin: 8px 0;
  line-height: 1.35;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.guide-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.guide-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 860px) {
  .app-shell {
    min-height: 100vh;
    width: calc(100% - 44px);
    padding: 14px;
    grid-template-columns: 1fr;
  }

  .today-panel {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .workout-panel {
    padding: 8px 0 18px;
  }
}

@media (max-width: 480px) {
  .app-shell {
    width: calc(100% - 44px);
    max-width: 100%;
    overflow: hidden;
  }

  .workout-header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .streak-pill {
    justify-self: start;
    display: flex;
    gap: 6px;
    min-width: 0;
    width: auto;
    aspect-ratio: auto;
    padding: 9px 13px;
    border-radius: 999px;
  }

  .streak-pill span:first-child {
    font-size: 1rem;
  }

  .chip-grid,
  .vibe-grid {
    grid-template-columns: 1fr;
  }

  .segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-strip {
    gap: 8px;
  }

  .summary-strip div {
    min-height: 74px;
    padding: 12px;
  }

  .exercise-list li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .move-actions {
    grid-column: 2;
    flex-wrap: wrap;
    margin-top: 2px;
  }

  .move-time {
    display: none;
  }

  .mini-guide-button {
    justify-self: start;
  }

  .move-toggle-button {
    justify-self: start;
  }

  .finish-card {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 0;
  }

  .guide-sheet {
    max-height: 88vh;
    border-radius: 26px 26px 0 0;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .visual-frame-row {
    grid-template-columns: 1fr;
  }

  .media-frame-row {
    grid-template-columns: 1fr;
  }

  .pose-svg {
    height: 112px;
  }
}
