:root {
  color-scheme: light;
  --bg-top: #ffffff;
  --bg-bottom: #f2f4f6;
  --bg-rim: #e9edf1;
  --panel: rgb(246 247 248 / 94%);
  --panel-border: #cfd5db;
  --panel-highlight: rgb(255 255 255 / 90%);
  --panel-shadow: rgb(0 0 0 / 12%);
  --text: #1f252b;
  --muted: #66707a;
  --btn-top: #fbfcfd;
  --btn-bottom: #e8ecf0;
  --btn-hover-top: #ffffff;
  --btn-hover-bottom: #edf1f4;
  --btn-active-top: #e5eaee;
  --btn-active-bottom: #dbe1e6;
  --btn-disabled: #d6dce2;
  --input-bg: #fdfdfe;
  --track: #afb7bf;
  --focus: #707a84;
  --mod-bar-off: #98a2ab;
  --mod-bar-on: #ff9a3a;
  --slider-row-width: 332px;
  --param-row-gap: 8px;
  --fn-btn-width: 40px;
  --control-radius: 7px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Aldrich", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(120% 95% at 82% 8%, rgb(255 255 255 / 70%) 0%, transparent 48%),
    linear-gradient(180deg, transparent 0%, rgb(233 237 241 / 55%) 100%);
}

#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  background:
    radial-gradient(130% 120% at 14% 10%, #ffffff 0%, #fbfcfd 45%, #f3f6f8 100%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-rim) 100%);
}

.hud,
.control-panel {
  position: fixed;
  z-index: 11;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgb(251 252 253 / 96%) 0%, var(--panel) 100%);
  box-shadow:
    0 8px 24px var(--panel-shadow),
    0 2px 5px rgb(0 0 0 / 8%),
    inset 0 1px 0 var(--panel-highlight),
    inset 0 -1px 0 rgb(191 199 206 / 65%);
}

.hud::before,
.control-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgb(255 255 255 / 70%);
  pointer-events: none;
}

.hud {
  left: 18px;
  top: 18px;
  width: fit-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
}

.control-panel {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px;
}

.hud-header {
  width: var(--slider-row-width);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

#algo-select {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--panel-border);
  border-radius: var(--control-radius);
  padding: 8px 10px;
  padding-right: 30px;
  color: var(--text);
  background-color: var(--input-bg);
  background-image:
    linear-gradient(180deg, rgb(255 255 255 / 78%) 0%, rgb(237 241 244 / 36%) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235c6771' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 5 6 5-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center, right 9px center;
  background-size: auto, 12px 12px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    inset 0 -1px 0 rgb(201 208 214 / 85%);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-align: left;
  text-align-last: left;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

#algo-select:hover {
  border-color: #b5bec7;
}

.hud-collapsed {
  max-height: none;
}

.hud-collapsed .hud-header {
  margin-bottom: 0;
}

.controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.controls button,
.hud-toggle,
.param-fn-btn {
  appearance: none;
  border: 1px solid var(--panel-border);
  border-radius: var(--control-radius);
  color: var(--text);
  background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    inset 0 -1px 0 rgb(186 193 200 / 90%),
    0 1px 3px rgb(0 0 0 / 12%);
  cursor: pointer;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease,
    transform 80ms ease;
}

.controls button,
.hud-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controls .speed-btn {
  width: auto;
  min-width: 46px;
  padding: 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-weight: 500;
  text-transform: uppercase;
}

.controls .info-btn {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding-top: 1px;
  text-transform: none;
}

.controls .info-btn.is-active {
  border-color: #b3bcc4;
  background: linear-gradient(180deg, #eef3f6, #dfe6ec);
}

.controls button:not(.speed-btn) {
  width: 34px;
  height: 34px;
}

.controls button:hover:not(:disabled),
.hud-toggle:hover,
.param-fn-btn:hover {
  border-color: #b6bec6;
  background: linear-gradient(180deg, var(--btn-hover-top), var(--btn-hover-bottom));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 94%),
    inset 0 -1px 0 rgb(186 194 201 / 85%),
    0 2px 6px rgb(0 0 0 / 13%);
}

.controls button:active:not(:disabled),
.hud-toggle:active,
.param-fn-btn:active {
  transform: translateY(1px);
  background: linear-gradient(180deg, var(--btn-active-top), var(--btn-active-bottom));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 55%),
    inset 0 -1px 0 rgb(174 183 191 / 95%),
    0 1px 2px rgb(0 0 0 / 12%);
}

.controls button:disabled {
  background: linear-gradient(180deg, #dde3e8, var(--btn-disabled));
  border-color: #c5ccd3;
  color: #8a929a;
  cursor: not-allowed;
  opacity: 0.8;
}

.fps-indicator {
  min-width: 62px;
  height: 34px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.fps-indicator[hidden] {
  display: none;
}

.control-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.info-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.info-screen[hidden] {
  display: none;
}

.info-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(240 244 247 / 76%);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.info-card {
  position: relative;
  z-index: 1;
  width: min(450px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 18px 20px 20px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgb(251 252 253 / 98%) 0%, var(--panel) 100%);
  box-shadow:
    0 20px 28px rgb(0 0 0 / 18%),
    0 4px 8px rgb(0 0 0 / 10%),
    inset 0 1px 0 rgb(255 255 255 / 92%);
}

.info-close-btn {
  appearance: none;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    inset 0 -1px 0 rgb(186 193 200 / 90%),
    0 1px 2px rgb(0 0 0 / 10%);
  color: var(--text);
  cursor: pointer;
}

.info-close-btn:hover {
  border-color: #b6bec6;
  background: linear-gradient(180deg, var(--btn-hover-top), var(--btn-hover-bottom));
}

.info-close-btn:active {
  transform: translateY(1px);
}

.info-close-btn .control-icon {
  width: 16px;
  height: 16px;
}

.info-card h1 {
  margin: 0 44px 8px 0;
  font-size: 1.34rem;
  letter-spacing: 0.02em;
  color: #1d242a;
}

.info-description {
  margin: 0;
  max-width: 64ch;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5d6871;
}

.info-section-title {
  margin: 14px 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6972;
}

.info-diagram {
  --demo-track-start: calc(12px + var(--fn-btn-width) + var(--param-row-gap) + 6px);
  --demo-track-width: calc(var(--slider-row-width) - var(--fn-btn-width) - var(--param-row-gap) - 12px);
  --demo-min: 0.28;
  --demo-current: 0.5;
  --demo-max: 0.72;
  position: relative;
  display: inline-block;
  margin-top: 10px;
  width: fit-content;
  padding: 12px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 80%), rgb(246 249 251 / 75%)),
    linear-gradient(90deg, rgb(199 207 214 / 22%) 1px, transparent 1px);
  background-size: auto, 12px 12px;
  overflow: visible;
}

.info-demo-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--fn-btn-width) calc(var(--slider-row-width) - var(--fn-btn-width) - var(--param-row-gap));
  gap: var(--param-row-gap);
  align-items: center;
  width: var(--slider-row-width);
}

.info-demo-noise-btn {
  width: var(--fn-btn-width);
  height: 22px;
  border: 1px solid #c4ccd3;
  border-radius: 6px;
  padding: 0;
  cursor: default;
  background: linear-gradient(180deg, #f7f9fb, #e9edf1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 92%),
    inset 0 -1px 0 rgb(187 195 203 / 88%);
}

.info-demo-bars {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 12px;
}

.info-demo-bar {
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: var(--mod-bar-off);
}

.info-demo-bar.is-lit {
  background: var(--mod-bar-on);
}

.info-demo-control {
  width: calc(var(--slider-row-width) - var(--fn-btn-width) - var(--param-row-gap));
  min-height: 30px;
  padding: 0 5px;
  display: flex;
  align-items: center;
}

.info-demo-track {
  position: relative;
  width: calc(100% - 12px);
  height: 30px;
  margin: 0 auto;
  cursor: default;
  background:
    linear-gradient(to right, #b9c1c8, #b9c1c8) center/100% 1px no-repeat,
    linear-gradient(to right, transparent 0%, rgb(164 172 181 / 45%) 50%, transparent 100%) center/100% 1px no-repeat;
}

.info-demo-track::before,
.info-demo-track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 13px;
  transform: translateY(-50%);
  background: var(--track);
}

.info-demo-track::before {
  left: 0;
}

.info-demo-track::after {
  right: 0;
}

.info-demo-handle {
  position: absolute;
  top: 50%;
  display: block;
  transform: translateY(-50%);
}

.info-demo-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.info-demo-handle-min,
.info-demo-handle-max {
  z-index: 2;
  width: 10px;
  height: 22px;
}

.info-demo-handle-min {
  left: calc(var(--demo-min) * 100% - 10px);
}

.info-demo-handle-max {
  left: calc(var(--demo-max) * 100%);
}

.info-demo-handle-min::before,
.info-demo-handle-max::before {
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #9aa4ae, #66717b);
  box-shadow: 0 0 0 1px rgb(102 113 123 / 62%);
}

.info-demo-handle-current {
  z-index: 4;
  width: 8px;
  height: 22px;
  left: calc(var(--demo-current) * 100% - 4px);
}

.info-demo-handle-current::before {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f4f7f9, #95a0aa);
  box-shadow:
    0 0 0 1px rgb(111 121 129 / 58%),
    0 1px 2px rgb(0 0 0 / 14%);
}

.info-callout {
  position: absolute;
  margin: 0;
  max-width: 184px;
  padding: 5px 7px;
  border: 1px solid #d7dee4;
  border-radius: 6px;
  background: #fdfefe;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 0.61rem;
  line-height: 1.34;
  letter-spacing: 0.01em;
  color: #57616a;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.info-callout span {
  display: block;
  margin-top: 1px;
  color: #6d7780;
  letter-spacing: 0;
}

.info-callout::before {
  content: "";
  position: absolute;
  left: var(--line-x, 50%);
  width: 1px;
  transform: translateX(-50%);
  background: #a7b1bb;
}

.info-callout.is-visible {
  opacity: 1;
  visibility: visible;
}

.info-callout-top::before {
  top: 100%;
  height: 22px;
}

.info-callout-bottom::before {
  bottom: 100%;
  height: 28px;
}

.info-callout-noise {
  top: -40px;
  left: 4px;
  --line-x: 22px;
}

.info-callout-track {
  top: -40px;
  left: calc(var(--demo-track-start) + var(--demo-track-width) * 0.72 - 108px);
  --line-x: 58px;
}

.info-callout-min {
  top: calc(100% + 8px);
  left: calc(var(--demo-track-start) + var(--demo-track-width) * var(--demo-min) - 68px);
  --line-x: 72px;
}

.info-callout-current {
  top: calc(100% + 8px);
  left: calc(var(--demo-track-start) + var(--demo-track-width) * var(--demo-current) - 78px);
  --line-x: 76px;
}

.info-callout-max {
  top: calc(100% + 8px);
  left: calc(var(--demo-track-start) + var(--demo-track-width) * var(--demo-max) - 42px);
  --line-x: 40px;
}

.info-closing {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 0.78rem;
  line-height: 1.42;
  color: #5f6a73;
}

#params-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--slider-row-width);
  gap: 10px;
}

#params-form.is-hidden {
  display: none;
}

.param-row {
  display: block;
  width: 100%;
}

.param-separator {
  width: 100%;
  height: 1px;
  margin: 3px 0;
  background: linear-gradient(to right, transparent 0%, #ced4da 8%, #ced4da 92%, transparent 100%);
}

.param-label {
  margin: 0 0 5px;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.param-control-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--param-row-gap);
}

.param-control-row-bounds {
  gap: 0;
}

.param-fn-btn {
  width: var(--fn-btn-width);
  min-width: var(--fn-btn-width);
  height: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #c4ccd3;
  background: linear-gradient(180deg, #f7f9fb, #e9edf1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 92%),
    inset 0 -1px 0 rgb(187 195 203 / 88%),
    0 1px 2px rgb(0 0 0 / 10%);
}

.param-fn-btn:hover {
  border-color: #b8c1c9;
  background: linear-gradient(180deg, #fafbfd, #edf2f5);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 94%),
    inset 0 -1px 0 rgb(187 195 203 / 86%),
    0 1px 3px rgb(0 0 0 / 10%);
}

.param-fn-btn:active {
  transform: translateY(1px);
  background: linear-gradient(180deg, #e9edf1, #dfe5ea);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 64%),
    inset 0 -1px 0 rgb(172 181 190 / 90%),
    0 1px 2px rgb(0 0 0 / 8%);
}

.param-fn-bars {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 12px;
}

.param-fn-bar {
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: var(--mod-bar-off);
  transition: background-color 120ms ease;
}

.param-fn-btn.is-active {
  border-color: #b7c0c8;
}

.param-fn-bar.is-lit {
  background: var(--mod-bar-on);
}

.param-row input {
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: var(--control-radius);
  padding: 6px 10px;
  color: var(--text);
  background: linear-gradient(180deg, rgb(255 255 255 / 86%), rgb(247 249 251 / 92%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 92%),
    inset 0 -1px 0 rgb(201 207 214 / 82%);
  font-size: 0.82rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
}

.tri-control {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(var(--slider-row-width) - var(--fn-btn-width) - var(--param-row-gap));
  min-height: 30px;
  padding: 0 5px;
}

.tri-control-bounds {
  width: var(--slider-row-width);
}

.tri-track {
  position: relative;
  width: calc(var(--slider-row-width) - var(--fn-btn-width) - var(--param-row-gap) - 12px);
  height: 30px;
  margin: 0;
  touch-action: none;
  background:
    linear-gradient(to right, #b9c1c8, #b9c1c8) center/100% 1px no-repeat,
    linear-gradient(to right, transparent 0%, rgb(164 172 181 / 45%) 50%, transparent 100%) center/100% 1px no-repeat;
}

.tri-control-bounds .tri-track {
  width: calc(var(--slider-row-width) - 12px);
}

.tri-track::before,
.tri-track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 13px;
  transform: translateY(-50%);
  background: var(--track);
}

.tri-track::before {
  left: 0;
}

.tri-track::after {
  right: 0;
}

.tri-handle {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.tri-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tri-handle-min,
.tri-handle-max {
  z-index: 2;
  width: 10px;
  height: 22px;
}

.tri-handle-min::before,
.tri-handle-max::before {
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #9aa4ae, #66717b);
  box-shadow: 0 0 0 1px rgb(102 113 123 / 62%);
}

.tri-handle-current {
  z-index: 4;
  width: 8px;
  height: 22px;
}

.tri-handle-current::before {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f4f7f9, #95a0aa);
  box-shadow:
    0 0 0 1px rgb(111 121 129 / 58%),
    0 1px 2px rgb(0 0 0 / 14%);
}

.tri-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #2f3942;
  background: rgb(247 249 251 / 96%);
  border: 1px solid #c6ced5;
  border-radius: 4px;
  padding: 4px 6px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 14%);
}

.tri-tooltip.has-swatch {
  padding-right: 24px;
  padding-bottom: 20px;
}

.tri-tooltip-text {
  white-space: pre;
}

.tri-tooltip-swatch-row {
  position: absolute;
  right: 6px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.tri-tooltip-swatch-row[hidden] {
  display: none;
}

.tri-tooltip-swatch {
  width: 12px;
  height: 12px;
  border: 1px solid #c0c8cf;
  background: #ffffff;
}

.tri-tooltip-swatch-label {
  display: none;
}

.tri-control:hover .tri-tooltip,
.tri-control:focus-within .tri-tooltip {
  opacity: 1;
}

#algo-select:focus-visible,
.hud-toggle:focus-visible,
.controls button:focus-visible,
.param-fn-btn:focus-visible,
.param-row input:focus-visible,
.tri-handle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

#algo-select:focus,
.hud-toggle:focus,
.controls button:focus,
.param-fn-btn:focus,
.param-row input:focus,
.tri-handle:focus {
  outline: none;
}

@media (max-width: 760px) {
  :root {
    --slider-row-width: 286px;
    --fn-btn-width: 38px;
    --param-row-gap: 7px;
  }

  .hud {
    left: 12px;
    top: 12px;
    max-width: calc(100vw - 24px);
    max-height: 56vh;
    padding: 10px;
  }

  .control-panel {
    bottom: 12px;
    padding: 8px;
  }

  .controls button,
  .hud-toggle {
    width: 32px;
    height: 32px;
  }

  .controls .speed-btn {
    min-width: 42px;
    padding: 0 9px;
    font-size: 0.68rem;
  }

  .controls .info-btn {
    font-size: 0.72rem;
  }

  #params-form {
    gap: 8px;
  }

  .tri-control {
    min-height: 28px;
  }

  .tri-track {
    height: 28px;
  }

  .param-fn-btn {
    height: 22px;
  }

  .fps-indicator {
    min-width: 54px;
  }

  .info-screen {
    padding: 12px;
  }

  .info-card {
    width: min(580px, 100%);
    max-height: calc(100vh - 24px);
    padding: 14px 14px 16px;
  }

  .info-card h1 {
    font-size: 1.08rem;
    margin-right: 36px;
  }

  .info-description {
    font-size: 0.76rem;
  }

  .info-diagram {
    padding: 10px;
  }

  .info-callout {
    font-size: 0.57rem;
  }

  .info-closing {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .controls button,
  .hud-toggle,
  .param-fn-btn,
  #algo-select {
    transition: none;
  }
}
