:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-soft: #0d0d13;
  --panel: rgba(18, 18, 26, 0.86);
  --panel-solid: #12121a;
  --panel-raised: #171720;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f7f7fa;
  --muted: #9494a4;
  --muted-2: #6f6f7e;
  --lime: #b7ff5a;
  --lime-deep: #82d925;
  --violet: #9f83ff;
  --violet-soft: #c4b5ff;
  --cyan: #5ce1e6;
  --orange: #ff9d5c;
  --danger: #ff6f80;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(159, 131, 255, 0.1), transparent 40%),
    linear-gradient(180deg, #09090e 0%, #08080c 55%, #0b0b10 100%);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.08;
}

.ambient-one {
  top: 12rem;
  left: -23rem;
  background: var(--violet);
}

.ambient-two {
  top: 42rem;
  right: -25rem;
  background: var(--lime);
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(183, 255, 90, 0.28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(183, 255, 90, 0.15), rgba(159, 131, 255, 0.1));
  box-shadow: inset 0 0 18px rgba(183, 255, 90, 0.04), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.brand-mark svg {
  width: 27px;
  fill: var(--lime);
}

.brand-name {
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.35px;
}

.brand-name i {
  color: var(--lime);
  font-style: normal;
}

.topbar-center {
  display: flex;
  min-width: 215px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.connection-dot,
.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 255, 90, 0.08), 0 0 10px rgba(183, 255, 90, 0.35);
}

.connection-dot.connecting {
  animation: pulse 1.2s infinite;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 157, 92, 0.08);
}

.connection-dot.error {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 111, 128, 0.08);
}

.topbar-separator {
  width: 1px;
  height: 13px;
  margin: 0 4px;
  background: var(--line-strong);
}

#sessionClock {
  min-width: 34px;
  color: #c7c7d1;
  font-variant-numeric: tabular-nums;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.icon-button,
.ghost-button,
.primary-button,
.segment,
.speed-tier,
.play-button {
  cursor: pointer;
  border: 0;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  transition: 160ms ease;
}

.icon-button:hover,
.ghost-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.icon-button svg,
.routine-icon svg,
.metric-icon svg,
.section-title svg,
.safety-note svg,
.dialog-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ghost-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: #d5d5de;
  font-size: 12px;
  font-weight: 650;
  transition: 160ms ease;
}

.ghost-button.compact {
  padding: 9px 14px;
}

.main-content {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 64px;
}

.hero-row {
  display: flex;
  max-width: 1120px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

h1 span {
  color: #868692;
}

.hero-copy {
  max-width: 395px;
  padding-bottom: 5px;
}

.hero-copy > p {
  margin: 0 0 18px;
  color: #adadb9;
  font-size: 15px;
  line-height: 1.6;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9e9eaa;
  font-size: 10px;
  font-weight: 650;
}

.glass-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(22, 22, 31, 0.84), rgba(13, 13, 19, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.routine-card {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: var(--radius-lg);
}

.routine-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(159, 131, 255, 0.2);
  border-radius: 13px;
  color: var(--violet-soft);
  background: rgba(159, 131, 255, 0.08);
}

.routine-field {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  gap: 4px;
}

.routine-field span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.routine-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dedee5;
  font-size: 13px;
  text-overflow: ellipsis;
}

.routine-field input::placeholder {
  color: #5f5f6c;
}

.routine-meta {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.routine-meta span {
  padding: 0 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.routine-meta span:first-child {
  max-width: 160px;
  overflow: hidden;
  border-left: 0;
  color: #c9c9d2;
  text-overflow: ellipsis;
}

.routine-meta b {
  color: #e6e6eb;
  font-weight: 650;
}

.primary-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--lime);
  box-shadow: 0 8px 26px rgba(183, 255, 90, 0.12);
  color: #10150a;
  font-size: 11px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #c3ff76;
  box-shadow: 0 11px 30px rgba(183, 255, 90, 0.2);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-button.small {
  min-height: 38px;
  padding: 0 15px;
}

.primary-button.full {
  width: 100%;
  margin-top: 22px;
}

.button-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(16, 21, 10, 0.25);
  border-top-color: #10150a;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.primary-button.loading .button-spinner {
  display: inline-block;
}

.primary-button.loading svg {
  display: none;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 157, 92, 0.2);
  border-radius: 12px;
  background: rgba(255, 157, 92, 0.06);
  color: #d9b092;
  font-size: 11px;
}

.status-banner[hidden] {
  display: none;
}

.status-banner svg {
  width: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.status-banner button {
  margin-left: auto;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  font-size: 18px;
}

.workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 18px;
}

.workspace.coach-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.practice-column {
  min-width: 0;
}

.practice-toolbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.segment {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
  transition: 160ms ease;
}

.segment svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.segment.active {
  background: #24242e;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  color: #f1f1f5;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.speed-control > span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.speed-tiers {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.audio-toggle {
  display: inline-flex;
  min-height: 32px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(183, 255, 90, 0.2);
  border-radius: 9px;
  background: rgba(183, 255, 90, 0.08);
  color: var(--lime);
  font-size: 8px;
  font-weight: 750;
}

.audio-toggle svg {
  width: 14px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.audio-toggle .audio-waves {
  fill: none;
}

.audio-toggle[aria-pressed="false"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.audio-toggle[aria-pressed="false"] .audio-waves {
  display: none;
}

.speed-tier {
  min-width: 42px;
  padding: 6px 7px;
  border-radius: 7px;
  background: transparent;
  color: #71717e;
  font-size: 9px;
  font-weight: 720;
  transition: 160ms ease;
}

.speed-tier.active {
  background: rgba(183, 255, 90, 0.12);
  color: var(--lime);
}

.speed-tier.passed::after {
  content: "✓";
  margin-left: 3px;
  color: var(--lime);
}

.learning-steps {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 255, 90, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(183, 255, 90, 0.055), rgba(18, 18, 26, 0.76));
}

.practice-plan {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.practice-plan-copy {
  display: grid;
  gap: 2px;
}

.practice-plan-copy span {
  color: #f0f0f4;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice-plan-copy small {
  color: var(--muted);
  font-size: 8px;
}

.plan-options {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.18);
}

.plan-option {
  display: inline-flex;
  min-height: 31px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #777784;
  font: inherit;
  font-size: 8px;
  font-weight: 740;
}

.plan-option svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plan-option.active {
  background: rgba(183, 255, 90, 0.1);
  color: var(--lime);
}

.focus-steps[hidden],
.next-focus-button[hidden] {
  display: none;
}

.learning-step-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 3px 9px;
}

.learning-step-copy span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-step-copy strong {
  font-size: 11px;
}

.learning-step-copy small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-steps {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.18);
}

.focus-step,
.next-focus-button {
  cursor: pointer;
  border: 0;
  font: inherit;
}

.focus-step {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 8px;
  background: transparent;
  color: #777784;
  font-size: 8px;
  font-weight: 700;
}

.focus-step i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 7px;
  font-style: normal;
}

.focus-step.active {
  background: rgba(183, 255, 90, 0.1);
  color: var(--lime);
}

.next-focus-button {
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid rgba(183, 255, 90, 0.25);
  border-radius: 10px;
  background: var(--lime);
  color: #10150a;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.next-focus-button.complete {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #c7c7d1;
}

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

.stage-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #0e0e14;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.27);
}

.reference-stage {
  background: linear-gradient(145deg, rgba(20, 17, 32, 0.97), rgba(12, 12, 18, 0.98));
}

.live-stage {
  background: linear-gradient(145deg, rgba(14, 23, 21, 0.95), rgba(12, 12, 18, 0.98));
}

.stage-header,
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-header {
  height: 70px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.stage-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--violet-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-kicker.live {
  color: var(--lime);
}

.stage-header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(159, 131, 255, 0.17);
  border-radius: 999px;
  background: rgba(159, 131, 255, 0.06);
  color: #a9a1c8;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-badge.success {
  border-color: rgba(183, 255, 90, 0.16);
  background: rgba(183, 255, 90, 0.06);
  color: #abca86;
}

.stage-badge.success i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.stage-badge.source {
  border-color: rgba(255, 77, 77, 0.24);
  background: rgba(255, 77, 77, 0.08);
  color: #ffc1c1;
}

.stage-badge.source i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.55);
}

.canvas-wrap {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-position: center;
  background-size: 42px 42px;
}

.canvas-wrap::before {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 50%;
  width: 66%;
  height: 66%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 131, 255, 0.1), transparent 67%);
  content: "";
  filter: blur(24px);
  transform: translateX(-50%);
}

.live-stage .canvas-wrap::before {
  background: radial-gradient(circle, rgba(183, 255, 90, 0.075), transparent 67%);
}

.canvas-wrap canvas,
.canvas-wrap video {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#referenceVideo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.source-canvas-wrap::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(5, 4, 9, 0.08);
  content: "";
  pointer-events: none;
}

.source-canvas-wrap #referenceCanvas {
  z-index: 3;
  pointer-events: none;
}

.source-overlay-label {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(159, 131, 255, 0.3);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.72);
  color: #ddd4ff;
  font-size: 8px;
  font-weight: 720;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.source-overlay-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 7px var(--violet);
}

.match-gate {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: min(220px, calc(100% - 32px));
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 255, 90, 0.42);
  border-radius: 14px;
  background: rgba(8, 10, 7, 0.9);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42), 0 0 28px rgba(183, 255, 90, 0.08);
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.match-gate[hidden] {
  display: none;
}

.match-gate > span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-gate > strong {
  color: #f5f5f7;
  font-size: 15px;
}

.match-gate > small {
  color: var(--muted);
  font-size: 8px;
}

.match-gate-meter {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.match-gate-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(183, 255, 90, 0.6);
  transition: width 100ms linear;
}

#cameraVideo {
  z-index: 1;
  opacity: 0.22;
  filter: saturate(0.4) contrast(1.08);
  transform: scaleX(-1);
}

.ground-line {
  position: absolute;
  z-index: 1;
  right: 10%;
  bottom: 13%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}

.count-watermark {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 8px;
  display: flex;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.05);
  font-variant-numeric: tabular-nums;
}

.count-watermark span {
  font-size: 76px;
  font-weight: 750;
  letter-spacing: -0.07em;
}

.count-watermark small {
  font-size: 17px;
  font-weight: 700;
}

.stage-footer {
  min-height: 42px;
  gap: 12px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 620;
}

.stage-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.legend-line {
  display: inline-block;
  width: 13px;
  height: 2px;
  border-radius: 2px;
}

.legend-line.reference {
  background: var(--violet);
  box-shadow: 0 0 5px rgba(159, 131, 255, 0.5);
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot.good {
  background: var(--lime);
}

.legend-dot.fix {
  background: var(--orange);
}

.stage-loading,
.camera-empty {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  background: rgba(12, 12, 18, 0.92);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stage-loading[hidden],
.camera-empty[hidden] {
  display: none;
}

.stage-loading strong,
.camera-empty strong {
  margin: 15px 0 5px;
  font-size: 13px;
}

.stage-loading small,
.camera-empty p {
  max-width: 290px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.orb-loader {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(159, 131, 255, 0.15);
  border-top-color: var(--violet);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(159, 131, 255, 0.12), 0 0 18px rgba(159, 131, 255, 0.1);
  animation: spin 900ms linear infinite;
}

.camera-empty-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.camera-empty-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.camera-empty.error .camera-empty-icon {
  border-color: rgba(255, 111, 128, 0.18);
  color: var(--danger);
}

.score-orbit {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 12, 0.72);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.score-orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-orbit circle {
  fill: none;
  stroke-width: 2.5;
}

.score-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.score-ring {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 250ms ease, stroke 250ms ease;
}

#stageScore {
  z-index: 1;
  font-size: 11px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.transport-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-lg);
}

.play-button {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 8px 22px rgba(183, 255, 90, 0.15);
  color: #10150a;
  transition: transform 160ms ease;
}

.play-button:hover {
  transform: scale(1.045);
}

.play-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.play-button .play-icon {
  fill: currentColor;
  stroke: none;
  transform: translateX(1px);
}

.play-button .pause-icon {
  display: none;
}

.play-button.playing .play-icon {
  display: none;
}

.play-button.playing .pause-icon {
  display: block;
}

.transport-main {
  min-width: 0;
}

.transport-labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.transport-labels strong {
  font-size: 10px;
  font-weight: 700;
}

.transport-labels span {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline {
  position: relative;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  box-shadow: 0 0 8px rgba(183, 255, 90, 0.2);
}

.count-markers {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.count-marker {
  position: relative;
  width: 7px;
  height: 7px;
  border: 2px solid #262630;
  border-radius: 50%;
  background: #777784;
  transition: 180ms ease;
}

.count-marker::after {
  position: absolute;
  top: 8px;
  left: 50%;
  color: #61616d;
  content: attr(data-count);
  font-size: 7px;
  transform: translateX(-50%);
}

.count-marker.done,
.count-marker.active {
  border-color: rgba(183, 255, 90, 0.25);
  background: var(--lime);
}

.count-marker.active {
  box-shadow: 0 0 0 4px rgba(183, 255, 90, 0.1), 0 0 9px rgba(183, 255, 90, 0.4);
}

.loop-stat {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.loop-stat span {
  color: var(--muted-2);
  font-size: 8px;
}

.loop-stat strong {
  margin-top: 3px;
  font-size: 12px;
}

.loop-stat b {
  color: var(--lime);
  font-weight: 750;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.metric-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 18, 25, 0.66);
}

.metric-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
}

.metric-icon.accuracy {
  color: var(--lime);
  background: rgba(183, 255, 90, 0.08);
}

.metric-icon.tempo {
  color: var(--violet-soft);
  background: rgba(159, 131, 255, 0.08);
}

.metric-icon.focus {
  color: var(--orange);
  background: rgba(255, 157, 92, 0.08);
}

.metric-card > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.metric-card span,
.metric-card small {
  color: var(--muted-2);
  font-size: 8px;
}

.metric-card strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card small {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.agent-panel {
  position: sticky;
  top: 90px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 255, 90, 0.06), transparent 30%),
    linear-gradient(160deg, rgba(20, 20, 28, 0.98), rgba(12, 12, 18, 0.98));
  box-shadow: var(--shadow);
}

.agent-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.agent-heading-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.agent-dismiss-button,
.show-agent-button {
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--muted);
}

.agent-dismiss-button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.agent-dismiss-button:hover {
  border-color: rgba(183, 255, 90, 0.28);
  color: var(--lime);
}

.agent-dismiss-button svg,
.show-agent-button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.show-agent-button {
  position: fixed;
  z-index: 20;
  top: 86px;
  right: 16px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-color: rgba(183, 255, 90, 0.24);
  border-radius: 999px;
  background: rgba(15, 16, 14, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: var(--lime);
  font-size: 8px;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.show-agent-button[hidden],
.agent-panel[hidden] {
  display: none;
}

.agent-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(183, 255, 90, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(183, 255, 90, 0.1), rgba(159, 131, 255, 0.08));
}

.agent-avatar svg {
  width: 27px;
  fill: var(--lime);
}

.agent-avatar i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--panel-solid);
  border-radius: 50%;
  background: var(--lime);
}

.agent-heading .eyebrow {
  margin-bottom: 4px;
  font-size: 7px;
}

.agent-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.version-chip,
.learning-chip {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.agent-state {
  padding: 15px 18px 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.agent-state-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 8px;
}

.agent-state-label span {
  color: var(--muted-2);
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-state-label strong {
  color: var(--lime);
  font-size: 9px;
}

.agent-steps {
  display: flex;
  align-items: center;
}

.agent-steps span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #62626e;
  font-size: 8px;
  font-weight: 650;
  transition: 180ms ease;
}

.agent-steps span i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 7px;
  font-style: normal;
}

.agent-steps span.active {
  color: #e9e9ee;
}

.agent-steps span.active i {
  border-color: rgba(183, 255, 90, 0.4);
  background: rgba(183, 255, 90, 0.1);
  color: var(--lime);
  box-shadow: 0 0 10px rgba(183, 255, 90, 0.1);
}

.agent-steps b {
  height: 1px;
  flex: 1;
  margin: 0 7px;
  background: var(--line);
}

.coach-message {
  margin: 14px;
  padding: 15px;
  border: 1px solid rgba(183, 255, 90, 0.15);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(183, 255, 90, 0.075), rgba(183, 255, 90, 0.025));
}

.message-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.message-topline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9d699;
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.5s infinite;
}

.message-topline small {
  color: #70805f;
  font-size: 7px;
}

.coach-message > p {
  min-height: 42px;
  margin: 11px 0 0;
  color: #e4e7df;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.55;
}

.coach-cue {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(183, 255, 90, 0.11);
  color: #899979;
  font-size: 8px;
}

.coach-cue[hidden] {
  display: none;
}

.coach-cue svg {
  width: 13px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
}

.agent-section {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.section-title,
.section-title > div {
  display: flex;
  align-items: center;
}

.section-title {
  justify-content: space-between;
  gap: 10px;
}

.section-title > div {
  gap: 8px;
}

.section-title svg {
  width: 14px;
  color: #858592;
}

.section-title h3 {
  margin: 0;
  font-size: 9px;
  font-weight: 720;
}

.section-title > span {
  color: var(--muted-2);
  font-size: 7px;
}

.learning-chip {
  border-color: rgba(159, 131, 255, 0.17);
  background: rgba(159, 131, 255, 0.05);
  color: var(--violet-soft) !important;
}

.memory-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 11px;
}

.memory-empty[hidden],
.memory-list[hidden] {
  display: none;
}

.memory-line {
  width: 3px;
  height: 25px;
  border-radius: 3px;
  background: linear-gradient(var(--violet), transparent);
}

.memory-empty p {
  margin: 0;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.45;
}

.memory-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 11px;
}

.memory-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.memory-item > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 7px rgba(159, 131, 255, 0.35);
}

.memory-item div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.memory-item strong {
  overflow: hidden;
  font-size: 8px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-item small,
.memory-item > span {
  color: var(--muted-2);
  font-size: 7px;
}

.memory-item > span {
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.policy-chart {
  margin-top: 13px;
}

.policy-chart svg {
  display: block;
  width: 100%;
  height: 55px;
  overflow: visible;
}

.chart-area {
  fill: url(#chartGradient);
}

.chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
  color: #555560;
  font-size: 6px;
  text-transform: uppercase;
}

.policy-change {
  margin-top: 10px;
  padding: 9px 10px;
  border-left: 2px solid var(--violet);
  border-radius: 0 8px 8px 0;
  background: rgba(159, 131, 255, 0.04);
}

.policy-change span {
  color: var(--muted-2);
  font-size: 6px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-change p {
  margin: 4px 0 0;
  color: #a7a7b3;
  font-size: 8px;
  line-height: 1.4;
}

.policy-change b {
  color: #d5d5de;
  font-weight: 680;
}

.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 14px 14px;
  padding: 10px;
  border: 1px solid rgba(92, 225, 230, 0.1);
  border-radius: 11px;
  background: rgba(92, 225, 230, 0.025);
}

.safety-note svg {
  width: 14px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.safety-note div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.safety-note strong {
  color: #aad2d4;
  font-size: 7px;
}

.safety-note span {
  color: #65787d;
  font-size: 7px;
  line-height: 1.4;
}

.footer {
  display: flex;
  width: min(1500px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 21px 0 30px;
  border-top: 1px solid var(--line);
  color: #54545f;
  font-size: 8px;
}

.footer div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3b3b45;
}

.privacy-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #15151d;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  color: var(--text);
}

.privacy-dialog::backdrop {
  background: rgba(3, 3, 6, 0.75);
  backdrop-filter: blur(7px);
}

.privacy-dialog form {
  position: relative;
  padding: 26px;
}

.dialog-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(92, 225, 230, 0.18);
  border-radius: 14px;
  background: rgba(92, 225, 230, 0.06);
  color: var(--cyan);
}

.dialog-close {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}

.privacy-dialog h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

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

.privacy-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.privacy-grid strong {
  font-size: 10px;
}

.privacy-grid span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.toast-region {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: flex;
  max-width: min(360px, calc(100vw - 40px));
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(25, 25, 34, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  color: #d5d5de;
  font-size: 9px;
  animation: toast-in 220ms ease both;
  backdrop-filter: blur(15px);
}

.toast i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.toast.error i {
  background: var(--danger);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .canvas-wrap {
    min-height: 390px;
  }

  .routine-meta span:first-child {
    display: none;
  }
}

@media (max-width: 980px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-heading,
  .agent-state,
  .safety-note {
    grid-column: 1 / -1;
  }

  .coach-message {
    grid-column: 1 / -1;
  }

  .agent-section {
    border-top: 1px solid var(--line);
  }

  .memory-section {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding: 0 16px;
  }

  .topbar-center {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .topbar-actions .icon-button {
    display: none;
  }

  .main-content {
    width: min(100% - 28px, 1500px);
    padding-top: 34px;
  }

  .hero-row {
    display: block;
    margin-bottom: 25px;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .hero-copy > p {
    font-size: 13px;
  }

  .routine-card {
    grid-template-columns: auto 1fr auto;
    gap: 11px;
  }

  .routine-meta {
    display: none;
  }

  .primary-button .button-label {
    display: none;
  }

  .routine-card .primary-button {
    width: 43px;
    padding: 0;
  }

  .practice-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .learning-steps {
    grid-template-columns: 1fr auto;
  }

  .learning-step-copy {
    grid-column: 1 / -1;
  }

  .practice-plan {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-options {
    width: 100%;
  }

  .plan-option {
    flex: 1;
    justify-content: center;
  }

  .focus-steps {
    min-width: 0;
  }

  .segmented-control,
  .speed-control {
    justify-content: space-between;
  }

  .speed-control {
    flex-wrap: wrap;
  }

  .speed-tiers {
    flex: 1;
  }

  .segmented-control .segment {
    flex: 1;
    justify-content: center;
  }

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

  .canvas-wrap {
    min-height: 420px;
  }

  .transport-card {
    grid-template-columns: auto 1fr;
  }

  .transport-labels span,
  .loop-stat {
    display: none;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-card {
    grid-template-columns: auto 1fr auto;
  }

  .metric-card small {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }

  .agent-panel {
    display: block;
  }

  .memory-section {
    border-right: 0;
  }

  .footer {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer div {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 41px;
  }

  .hero-pills span:last-child {
    display: none;
  }

  .speed-control > span {
    display: none;
  }

  .speed-tiers {
    width: 100%;
  }

  .audio-toggle {
    width: 100%;
    justify-content: center;
  }

  .speed-tier {
    flex: 1;
  }

  .learning-steps {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .practice-plan {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-option {
    flex: 1;
    justify-content: center;
  }

  .focus-step {
    flex: 1;
    justify-content: center;
  }

  .canvas-wrap {
    min-height: 370px;
  }

  .stage-footer #latencyLabel,
  .stage-footer #focusLabel {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
