:root {
  --ink: #1d1d1b;
  --ink-soft: #56534c;
  --muted: #8a857b;
  --paper: #f5f1e8;
  --paper-deep: #ece6da;
  --card: rgba(255, 253, 248, 0.88);
  --line: #ded7c9;
  --line-strong: #cfc6b5;
  --green: #4c9467;
  --green-bright: #8fd3a6;
  --green-wash: #dcefe0;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, ui-sans-serif, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 24px 60px -32px rgba(57, 48, 33, 0.28), 0 3px 10px rgba(57, 48, 33, 0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 15% -10%, #fffdf7 0%, rgba(255,253,247,0) 60%),
    radial-gradient(900px 600px at 100% 10%, #f2eadb 0%, rgba(242,234,219,0) 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
[hidden] { display: none !important; }
button { color: inherit; }
a { color: inherit; }
svg { display: block; }

.app-shell {
  height: 100dvh;
  min-height: 720px;
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; gap: 14px; align-items: flex-start; }
a.brand-mark { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: linear-gradient(145deg, #fffef9, #f1ebdf);
  color: #2f6d4b;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px -12px rgba(55, 46, 31, 0.35);
}
.brand-mark svg { width: 25px; height: 25px; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.2;
}
.brand h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 41px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 5px 0 5px;
}
.brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.005em;
}

.top-actions { display: flex; align-items: center; gap: 9px; padding-top: 3px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4eaa68;
  box-shadow: 0 0 0 3px rgba(78, 170, 104, 0.15);
}
.button {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button svg { width: 15px; height: 15px; }
.button:hover { background: #fffdf8; border-color: #b8ac97; }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline: 2px solid #4c9467; outline-offset: 2px; }
.refresh-button.is-busy { opacity: 0.62; pointer-events: none; }
.refresh-button.is-busy svg { animation: refresh-spin 0.9s linear infinite; }
.refresh-button.is-error { border-color: #c27663; color: #a24b38; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 18px;
  flex: 1;
  min-height: 0;
}

.stage {
  min-height: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(900px 520px at 46% 36%, rgba(255,255,255,0.86), rgba(255,255,255,0) 66%),
    linear-gradient(155deg, rgba(255,253,247,0.8), rgba(241,235,223,0.72));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(128,115,92,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(128,115,92,0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 75%, transparent 100%);
  opacity: 0.45;
}

.stage-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(207, 198, 181, 0.65);
  background: rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(12px);
}
.segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f2ece1;
}
.seg {
  border: 0;
  background: transparent;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.seg span { color: var(--muted); font-weight: 500; margin-left: 3px; }
.seg:hover { color: var(--ink); }
.seg.is-active { background: #fffdf8; color: var(--ink); box-shadow: 0 1px 2px rgba(70,58,39,0.12); }
.seg.is-active span { color: var(--green); }
.seg:focus-visible { outline: 2px solid #4c9467; outline-offset: 1px; }

.toolbar-toggles { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 10.5px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.switch input {
  appearance: none;
  width: 25px;
  height: 15px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #c7beae;
  background: #e5ded1;
  position: relative;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.switch input::after {
  content: "";
  position: absolute;
  width: 11px; height: 11px;
  left: 1px; top: 1px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 1px 2px rgba(55,45,29,0.25);
  transition: transform 160ms ease;
}
.switch input:checked { background: #4c9467; border-color: #3f7e57; }
.switch input:checked::after { transform: translateX(10px); }
.switch input:focus-visible { outline: 2px solid #4c9467; outline-offset: 2px; }

.viewport {
  position: relative;
  flex: 1;
  min-height: 0;
}
.viewport-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(650px 430px at 49% 42%, rgba(255,255,255,0.35), rgba(255,255,255,0) 68%),
    linear-gradient(to bottom, rgba(255,253,248,0.1), rgba(238,231,218,0.18));
}
.canvas-host { position: absolute; inset: 0; }
.canvas-host canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.canvas-host canvas:active { cursor: grabbing; }

.axis-overlay, .label-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.axis-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.015em;
  color: #7b7468;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.axis-label.axis-title {
  color: #4e4941;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.axis-label.axis-title span { color: #8e877a; font-weight: 600; letter-spacing: 0.03em; text-transform: none; }
.axis-label.tick-x, .axis-label.tick-z { font-family: var(--mono); font-size: 9.5px; color: #898174; }
.axis-label.tick-y { font-family: var(--mono); font-size: 9.5px; color: #898174; }

.model-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 5px 2px 4px;
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(216, 207, 192, 0.8);
  box-shadow: 0 2px 8px rgba(70, 57, 38, 0.06);
  color: #36332d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(4px);
}
.model-label.is-visible { opacity: 1; }
.model-label .label-dot { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; }
.model-label .label-metric { color: #8d8578; font-family: var(--mono); font-size: 8.5px; font-weight: 500; margin-left: 2px; }
.model-label.is-hovered { background: #fffdf8; border-color: #a99c87; z-index: 5; }

.hover-card {
  position: absolute;
  min-width: 220px;
  max-width: 300px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid #cfc3b1;
  box-shadow: 0 14px 40px -18px rgba(45,36,22,0.45), 0 2px 8px rgba(45,36,22,0.08);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 8;
  backdrop-filter: blur(12px);
}
.hover-card.is-visible { opacity: 1; transform: translateY(0); }
.hover-top { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.hover-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,0,0,0.03); }
.hover-provider { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #8b8274; font-weight: 700; }
.hover-name { font-family: var(--serif); font-size: 16px; line-height: 1.13; margin: 2px 0 8px; letter-spacing: -0.015em; }
.hover-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 7px 0; border-top: 1px solid #ece5d9; border-bottom: 1px solid #ece5d9; }
.hover-metric span { display: block; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9183; font-weight: 700; }
.hover-metric strong { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; margin-top: 2px; color: #39352e; }
.hover-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 7px; color: #8d8578; font-size: 9px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 999px; font-size: 8px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge.pareto { background: #e3f1e7; color: #2f7148; }
.badge.attractive { background: #eaf4e5; color: #3c7d37; }
.hover-marker { color: #a49a8b; font-family: var(--mono); font-size: 10px; }

.volume-badge {
  position: absolute;
  left: 50%;
  top: 17px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(249, 255, 248, 0.85);
  border: 1px solid rgba(119, 175, 133, 0.55);
  box-shadow: 0 3px 12px rgba(74, 121, 84, 0.08);
  color: #3d6b4b;
  pointer-events: none;
  backdrop-filter: blur(8px);
  z-index: 4;
}
.volume-swatch { width: 8px; height: 8px; border-radius: 2px; background: #a9d9b8; border: 1px solid #5f9e73; }
.volume-badge strong { display: block; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.volume-badge em { display: block; font-style: normal; font-family: var(--mono); font-size: 8.5px; color: #66826d; letter-spacing: 0; margin-top: 1px; }

.stage-hint {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #9b9284;
  pointer-events: none;
}
.stage-hint span { margin: 0 5px; color: #b8ae9e; }

.compass {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(190, 180, 162, 0.65);
  background: rgba(255, 253, 248, 0.45);
  color: #938a7c;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.compass::before, .compass::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(183, 172, 154, 0.45);
  border-radius: 50%;
  transform: rotate(45deg);
}
.compass::after { inset: 19px; transform: none; }
.compass-dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #4c9467; left: 26px; top: 26px; }
.compass-axis { position: absolute; }
.compass-y { left: 25px; top: 3px; color: #50805d; }
.compass-x { right: 4px; bottom: 8px; }
.compass-z { left: 4px; bottom: 8px; }

.stage-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(207, 198, 181, 0.65);
  padding: 9px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 20px;
  background: rgba(255, 253, 248, 0.62);
  color: #7d7568;
  font-size: 9.5px;
}
.metric-note { display: inline-flex; align-items: center; gap: 6px; }
.metric-note strong { color: #555047; font-weight: 700; }
.note-dot { width: 7px; height: 7px; border-radius: 2px; flex: 0 0 auto; }
.note-dot.green { background: #a9d9b8; border: 1px solid #5f9e73; }
.note-dot.dashed { width: 12px; height: 0; border-radius: 0; border-top: 1px dashed #5a8e6a; }
.note-dot.axes { background: #e6ded0; border: 1px solid #b9ae9c; }
.axis-note { display: none; }

.sidebar {
  min-height: 0;
  overflow-y: auto;
  padding: 1px 2px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  scrollbar-width: thin;
  scrollbar-color: #c8bdab transparent;
}
.sidebar::-webkit-scrollbar { width: 7px; }
.sidebar::-webkit-scrollbar-thumb { background: #cfc5b5; border-radius: 20px; }

.panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  padding: 13px;
  box-shadow: 0 8px 26px -24px rgba(57, 48, 33, 0.45);
}
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.panel h2 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 2px 0 0;
}
.panel-kicker { color: #9b9181; font-size: 9px; letter-spacing: 0.04em; white-space: nowrap; padding-top: 2px; }
.count-badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--green-wash); color: #35704c; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.panel-copy { margin: 0 0 10px; color: #777064; font-size: 10.5px; line-height: 1.45; }

.picks { display: flex; flex-direction: column; gap: 2px; }
.pick {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #ece5d9;
  cursor: pointer;
  background: none;
  border-left: 0; border-right: 0; border-bottom: 0;
  text-align: left;
  transition: opacity 150ms ease;
}
.pick:first-child { border-top: 0; padding-top: 1px; }
.pick:hover { opacity: 0.76; }
.pick:focus-visible { outline: 2px solid #4c9467; outline-offset: 2px; border-radius: 5px; }
.pick-icon { width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; background: #f1ebdf; color: #5f584c; margin-top: 1px; }
.pick.rose .pick-icon { background: #f5e6df; color: #a95e45; }
.pick.green .pick-icon { background: #e4f0e5; color: #3d7650; }
.pick.blue .pick-icon { background: #e4edf5; color: #416b8e; }
.pick.gold .pick-icon { background: #f2ecda; color: #8a703c; }
.pick-copy { display: block; min-width: 0; }
.pick-label { display: block; color: #968d7d; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; }
.pick-name { display: block; font-size: 11.5px; font-weight: 650; line-height: 1.22; margin: 1px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-metrics { display: block; color: #8f8576; font-family: var(--mono); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-metrics b { color: #4a453d; font-weight: 600; }

.zone-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 4px 0 9px; }
.zone-stats div { background: #f2ede2; border-radius: 7px; padding: 6px 7px; }
.zone-label { display: block; color: #9b9181; font-size: 7.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.zone-stats strong { display: block; font-family: var(--mono); font-size: 10px; font-weight: 600; margin-top: 2px; color: #4e574d; }
.zone-list { display: flex; flex-wrap: wrap; gap: 4px; }
.zone-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 999px; background: #f6f2e9; border: 1px solid #e5ddcf; color: #6d665a; font-size: 8.5px; cursor: pointer; }
.zone-chip:hover { border-color: #b9cbb9; color: #3b6648; }
.zone-chip .zone-dot { width: 5px; height: 5px; border-radius: 50%; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 5px; }
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f4efe5;
  color: #5f594e;
  font-size: 9.5px;
  cursor: pointer;
  transition: opacity 140ms ease, border-color 140ms ease;
}
.legend-item:hover { border-color: #d1c6b4; }
.legend-item.is-off { opacity: 0.34; }
.legend-item:focus-visible { outline: 2px solid #4c9467; outline-offset: 1px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.legend-count { color: #9b9181; font-family: var(--mono); font-size: 8px; margin-left: 1px; }
.text-button { border: 0; background: none; color: #4c7a5c; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; padding: 3px 0; }
.text-button:hover { color: #2d5b3d; }

.frontier-table-wrap { max-height: 258px; overflow: auto; scrollbar-width: thin; scrollbar-color: #c8bdab transparent; }
.frontier-table { width: 100%; border-collapse: collapse; font-size: 9.5px; }
.frontier-table th {
  position: sticky; top: 0; z-index: 1;
  text-align: right;
  color: #9a9183;
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 0 5px;
  background: linear-gradient(#fffdf8 72%, rgba(255,253,248,0));
}
.frontier-table th:nth-child(2) { text-align: left; }
.frontier-table td { padding: 4px 0; border-top: 1px solid #f0e9dd; color: #797165; font-family: var(--mono); font-size: 8.5px; text-align: right; white-space: nowrap; }
.frontier-table td:nth-child(1) { color: #a49a8a; text-align: left; width: 18px; }
.frontier-table td:nth-child(2) { text-align: left; font-family: var(--sans); color: #3e3a33; font-weight: 600; font-size: 9.5px; max-width: 135px; overflow: hidden; text-overflow: ellipsis; }
.frontier-table tr { cursor: pointer; }
.frontier-table tr.is-selected td { background: #e8f3ea; }
.pick.is-selected { background: #eef6ef; border-radius: 8px; }
.frontier-table tbody tr:hover td { background: #f6f1e7; }
.frontier-model { display: flex; align-items: center; gap: 5px; min-width: 0; }
.frontier-model span:last-child { overflow: hidden; text-overflow: ellipsis; }
.frontier-dot { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; }
.attribution { margin: 2px 2px 0; color: #9a9183; font-size: 9.5px; line-height: 1.5; }
.attribution a { color: #5e7e64; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 318px; }
  .stage { min-height: 0; }
  .toolbar-toggles { gap: 8px; }
}
@media (max-width: 1360px) {
  .axis-title { display: none; }
  .axis-note { display: inline-flex; }
}
@media (max-width: 1100px) {
  .axis-title { display: none; }
  body { overflow: auto; }
  .app-shell { height: auto; min-height: 100dvh; padding: 16px; }
  .workspace { grid-template-columns: 1fr; }
  .stage { height: min(72vh, 720px); min-height: 560px; }
  .sidebar { overflow: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .picks-panel, .legend-panel, .frontier-panel, .sidebar > .panel:nth-child(2) { min-width: 0; }
  .attribution { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .app-shell { padding: 12px; gap: 12px; }
  .topbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .top-actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding-top: 0; }
  .axis-title { display: none; }
  .live-pill { height: 28px; font-size: 9px; }
  .button { height: 30px; font-size: 10px; }
  .refresh-button { width: 30px; padding: 0; justify-content: center; }
  .refresh-button .button-label { display: none; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand h1 { font-size: 30px; }
  .brand p { font-size: 11px; max-width: 210px; }
  .stage { height: 610px; min-height: 610px; border-radius: 14px; }
  .stage-toolbar { padding: 10px 11px; flex-direction: column; align-items: stretch; gap: 8px; }
  .segmented { width: 100%; }
  .seg { flex: 1; padding: 0 6px; }
  .toolbar-toggles { justify-content: flex-start; gap: 9px; }
  .stage-footer { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 11px; font-size: 8.5px; }
  .volume-badge { top: 10px; padding: 5px 8px 5px 7px; }
  .volume-badge strong { font-size: 8px; }
  .volume-badge em { font-size: 7.5px; }
  .stage-hint { display: none; }
  .compass { right: 12px; bottom: 10px; width: 46px; height: 46px; }
  .compass-dot { left: 21px; top: 21px; }
  .compass-y { left: 20px; }
  .sidebar { display: flex; }
  .frontier-table-wrap { max-height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
