:root {
  --bg: #050806;
  --bg-2: #0a130f;
  --surface: #0e1a15;
  --surface-2: #13231d;
  --surface-3: #172b24;
  --ink: #f3fff8;
  --muted: #9db5ab;
  --muted-2: #6f887d;
  --line: rgba(166, 255, 218, 0.16);
  --line-strong: rgba(166, 255, 218, 0.32);
  --teal: #49e6d2;
  --green: #6dff9f;
  --gold: #ffd36a;
  --coral: #ff7f6e;
  --violet: #9d8cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --glow: 0 0 34px rgba(73, 230, 210, 0.24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(115deg, rgba(73, 230, 210, 0.12), transparent 26%),
    linear-gradient(245deg, rgba(255, 127, 110, 0.11), transparent 25%),
    linear-gradient(180deg, #08100d 0%, #050806 42%, #07100c 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(166, 255, 218, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 255, 218, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 82%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 34px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 16px;
  background: linear-gradient(180deg, rgba(5, 8, 6, 0.92), rgba(5, 8, 6, 0.62));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(109, 255, 159, 0.5);
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, var(--teal), var(--green), var(--gold), var(--coral), var(--teal));
  box-shadow: var(--glow);
}

.brand-mark::after {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  background: rgba(5, 8, 6, 0.72);
  content: "";
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.04rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

.nav-tabs,
.filter-row,
.hero-actions,
.player-controls,
.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-tab,
.filter-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 26, 21, 0.72);
  color: var(--muted);
  padding: 0 15px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-tab.is-active,
.filter-chip.is-active {
  border-color: rgba(73, 230, 210, 0.68);
  background: linear-gradient(135deg, rgba(73, 230, 210, 0.28), rgba(109, 255, 159, 0.16));
  color: var(--ink);
  box-shadow: 0 0 24px rgba(73, 230, 210, 0.18);
}

main {
  min-height: 72vh;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 18px;
  align-items: stretch;
  padding: 12px 0 22px;
}

.intro-panel,
.breath-preview,
.quiz-panel,
.recommendation-card,
.history-panel,
.player-panel,
.mini-card,
.exercise-card,
.stat-card,
.history-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(19, 35, 29, 0.94), rgba(8, 16, 13, 0.92)),
    linear-gradient(90deg, rgba(73, 230, 210, 0.08), transparent);
  box-shadow: var(--shadow);
}

.intro-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
}

.intro-panel::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(73, 230, 210, 0.22);
  border-radius: 50%;
  content: "";
}

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

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

h1 {
  position: relative;
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-copy {
  position: relative;
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.64;
}

.btn,
.text-button,
.icon-button {
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.btn {
  min-height: 46px;
  padding: 0 18px;
}

.btn:hover,
.text-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border: 1px solid rgba(109, 255, 159, 0.42);
  background: linear-gradient(135deg, #6dff9f, #49e6d2);
  color: #03110c;
  box-shadow: 0 16px 34px rgba(73, 230, 210, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(19, 35, 29, 0.92);
  color: var(--ink);
}

.wide {
  width: 100%;
}

.trust-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span,
.tag-row span,
.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(73, 230, 210, 0.08);
  color: var(--muted);
  padding: 8px 11px;
  font-size: 0.76rem;
  font-weight: 900;
}

.breath-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 350px;
  overflow: hidden;
}

.breath-preview::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(109, 255, 159, 0.18);
  border-radius: 50%;
  content: "";
  animation: preview-spin 18s linear infinite;
}

.preview-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(70%, 270px);
  aspect-ratio: 1;
  border: 1px solid rgba(73, 230, 210, 0.35);
  border-radius: 50%;
  background: repeating-conic-gradient(from -90deg, rgba(166, 255, 218, 0.18) 0deg 3deg, transparent 3deg 15deg);
}

.preview-circle {
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12) 28%, transparent 30%),
    linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 0 50px rgba(73, 230, 210, 0.38);
  animation: preview-breathe 7s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.dot-a {
  top: 16%;
  right: 17%;
  background: var(--gold);
}

.dot-b {
  bottom: 18%;
  left: 15%;
  background: var(--coral);
}

.preview-meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(230px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 6, 0.82);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.preview-meta span,
.preview-meta small,
.timer-row span,
.stat-card span,
.history-item span {
  color: var(--muted);
}

.preview-meta strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 1.35rem;
}

@keyframes preview-breathe {
  0%,
  100% {
    transform: scale(0.78);
  }
  45%,
  60% {
    transform: scale(1.08);
  }
}

@keyframes preview-spin {
  to {
    transform: rotate(360deg);
  }
}

.quiz-panel,
.history-panel {
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 24px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 20px;
}

.quiz-form {
  display: grid;
  gap: 14px;
}

.question-group {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(5, 8, 6, 0.34);
}

.question-group legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

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

.option-grid label {
  display: block;
}

.option-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 35, 29, 0.86);
  color: var(--ink);
  padding: 10px;
  text-align: center;
  font-weight: 900;
}

.option-grid input:checked + span {
  border-color: rgba(73, 230, 210, 0.72);
  background: linear-gradient(135deg, rgba(73, 230, 210, 0.24), rgba(109, 255, 159, 0.12));
  box-shadow: inset 0 0 0 1px rgba(73, 230, 210, 0.2), 0 0 24px rgba(73, 230, 210, 0.15);
}

.is-hidden {
  display: none;
}

.recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  margin-bottom: 18px;
  padding: 28px;
  border-top: 4px solid var(--exercise-accent);
}

.match-reason {
  color: var(--muted);
  font-weight: 800;
}

.tag-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alternate-list {
  margin-bottom: 28px;
}

.mini-card-row,
.exercise-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

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

.mini-card {
  padding: 18px;
}

.mini-card p,
.exercise-card p,
.player-header p,
.phase-instruction,
.safety-note,
.completion-state p {
  color: var(--muted);
  line-height: 1.6;
}

.text-button {
  background: transparent;
  color: var(--teal);
  padding: 0;
}

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

.exercise-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-top: 4px solid var(--exercise-accent);
}

.exercise-card p {
  flex: 1;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.favorite-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 26, 21, 0.92);
  color: var(--muted);
}

.favorite-button.is-active {
  color: var(--coral);
  border-color: rgba(255, 127, 110, 0.52);
  background: rgba(255, 127, 110, 0.12);
}

.stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.history-item strong,
.history-item span {
  display: block;
}

.empty-state {
  color: var(--muted);
}

.player-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.player-drawer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 8, 6, 0.92), rgba(5, 8, 6, 0.82)),
    linear-gradient(90deg, rgba(73, 230, 210, 0.08), rgba(255, 127, 110, 0.08));
  backdrop-filter: blur(18px);
}

.player-panel {
  position: absolute;
  inset: 22px;
  display: grid;
  width: min(980px, calc(100% - 44px));
  max-height: calc(100% - 44px);
  margin: auto;
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  border-color: rgba(73, 230, 210, 0.38);
  background:
    linear-gradient(145deg, rgba(9, 18, 15, 0.98), rgba(13, 30, 24, 0.98)),
    repeating-linear-gradient(90deg, rgba(166, 255, 218, 0.04) 0 1px, transparent 1px 36px);
  box-shadow: 0 0 0 1px rgba(73, 230, 210, 0.1), 0 36px 120px rgba(0, 0, 0, 0.72);
}

.player-session {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  grid-template-areas:
    "head pacer"
    "map pacer"
    "timer pacer"
    "progress pacer"
    "instruction controls"
    "note note";
  gap: 16px 22px;
  align-items: center;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 1.05rem;
}

.player-header {
  grid-area: head;
  padding-right: 48px;
}

.player-header h2 {
  max-width: 520px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(73, 230, 210, 0.1);
  color: var(--green);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pacer-wrap {
  grid-area: pacer;
  display: grid;
  place-items: center;
  min-height: 440px;
  margin: 0;
  --phase-degrees: 0deg;
  --orbit-degrees: 0deg;
  --breath-scale: 0.78;
  --phase-duration: 4s;
}

.pacer-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(62vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(73, 230, 210, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(73, 230, 210, 0.14) 0 42%, transparent 43%),
    repeating-conic-gradient(from -90deg, rgba(166, 255, 218, 0.2) 0deg 2deg, transparent 2deg 10deg);
  box-shadow: inset 0 0 42px rgba(73, 230, 210, 0.1), 0 0 58px rgba(73, 230, 210, 0.1);
}

.phase-ring,
.orbit-guide,
.pulse-ring,
.breath-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.phase-ring {
  background: conic-gradient(from -90deg, var(--exercise-accent) 0deg var(--phase-degrees), rgba(255, 255, 255, 0.08) var(--phase-degrees) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 66%, #000 67% 72%, transparent 73%);
  mask: radial-gradient(circle, transparent 0 66%, #000 67% 72%, transparent 73%);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--exercise-accent), transparent 50%));
}

.orbit-guide {
  transform: rotate(calc(var(--orbit-degrees) - 90deg));
  transition: transform 120ms linear;
}

.orbit-marker {
  position: absolute;
  top: -7px;
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--exercise-accent);
  box-shadow: 0 0 22px var(--exercise-accent), 0 10px 26px rgba(0, 0, 0, 0.34);
}

.pulse-ring {
  inset: 15%;
  border: 1px solid color-mix(in srgb, var(--exercise-accent), transparent 42%);
  opacity: 0.65;
  transform: scale(var(--breath-scale));
  transition: transform var(--phase-duration) cubic-bezier(0.32, 0, 0.2, 1), opacity 700ms ease-in-out;
}

.ring-two {
  inset: 25%;
  opacity: 0.4;
}

.breath-core {
  inset: 25%;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.16) 26%, transparent 28%),
    linear-gradient(145deg, var(--exercise-accent), #243b35 72%);
  color: #ffffff;
  box-shadow: 0 0 58px color-mix(in srgb, var(--exercise-accent), transparent 52%);
  transform: scale(var(--breath-scale));
  transition: transform var(--phase-duration) cubic-bezier(0.32, 0, 0.2, 1), filter 700ms ease-in-out;
}

.pacer-stage.is-holding .breath-core {
  filter: saturate(0.84) brightness(0.92);
}

.pacer-stage.is-contracting .pulse-ring {
  opacity: 0.28;
}

.breath-core strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  font-weight: 900;
}

.phase-kicker,
.breath-core small {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.breath-core small {
  margin-top: 4px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.phase-map {
  grid-area: map;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  margin: 0;
}

.phase-map span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 6, 0.38);
  padding: 10px;
}

.phase-map span.is-current {
  border-color: color-mix(in srgb, var(--exercise-accent), #ffffff 28%);
  background: color-mix(in srgb, var(--exercise-accent), #06100c 78%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--exercise-accent), transparent 78%);
}

.phase-map b,
.phase-map small {
  display: block;
}

.phase-map b {
  color: var(--ink);
  font-size: 0.78rem;
}

.phase-map small {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

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

.timer-row div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 6, 0.48);
  padding: 12px;
}

.timer-row strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.15rem;
}

.progress-track {
  grid-area: progress;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--exercise-accent), var(--green), var(--gold));
  box-shadow: 0 0 18px var(--exercise-accent);
  transition: width 180ms linear;
}

.phase-instruction {
  grid-area: instruction;
  margin: 0;
  font-size: 1.05rem;
}

.player-controls {
  grid-area: controls;
  align-self: center;
  margin-top: 0;
}

.safety-note {
  grid-area: note;
  border: 1px solid rgba(255, 211, 106, 0.28);
  border-left: 4px solid var(--gold);
  background: rgba(255, 211, 106, 0.09);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0;
}

.completion-state {
  display: grid;
  align-content: center;
  min-height: 620px;
  text-align: center;
}

.completion-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border: 1px solid rgba(109, 255, 159, 0.48);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #03110c;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: var(--glow);
}

.footer-note {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 18px;
  line-height: 1.6;
}

.footer-note strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .topbar,
  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .recommendation-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .player-session {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "pacer"
      "map"
      "timer"
      "progress"
      "instruction"
      "controls"
      "note";
  }

  .pacer-wrap {
    min-height: 380px;
  }

  .player-controls {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .nav-tabs,
  .hero-actions,
  .recommendation-actions,
  .player-controls {
    width: 100%;
  }

  .nav-tab,
  .filter-chip,
  .btn {
    flex: 1 1 auto;
  }

  .intro-panel,
  .quiz-panel,
  .recommendation-card,
  .history-panel,
  .player-panel {
    padding: 18px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .breath-preview {
    min-height: 310px;
  }

  .mini-card-row,
  .exercise-grid,
  .stats-grid,
  .option-grid,
  .option-grid.compact,
  .timer-row {
    grid-template-columns: 1fr;
  }

  .history-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-panel {
    inset: 8px;
    width: auto;
    max-height: calc(100% - 16px);
  }

  .player-header h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .pacer-wrap {
    min-height: 330px;
  }

  .pacer-stage {
    width: min(86vw, 330px);
  }
}
