:root {
  --ink: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; }
#stage { position: fixed; inset: 0; display: block; }

.brand {
  position: fixed; top: 16px; left: 18px;
  font: 600 13px/1 "Inter", sans-serif; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); user-select: none;
}

.hud {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 3vh, 28px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 9999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  max-width: calc(100vw - 24px);
}
.btn {
  appearance: none; border: 0; background: transparent; color: var(--ink);
  font: 600 13px/1 "Inter", sans-serif; letter-spacing: 0.01em;
  padding: 10px 14px; border-radius: 9999px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.btn:hover { background: rgba(0, 0, 0, 0.06); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { opacity: 0.88; background: var(--ink); }
.btn--icon { padding: 10px; width: 38px; display: grid; place-items: center; }
.sep { width: 1px; height: 22px; background: var(--panel-border); margin: 0 2px; }

.swatches { display: flex; gap: 6px; padding: 0 4px; }
.swatch {
  width: 22px; height: 22px; border-radius: 9999px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  padding: 0; outline: none; transition: transform 0.12s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { transform: scale(1.18); border-color: var(--ink); }

@media (max-width: 520px) {
  .btn { padding: 9px 11px; font-size: 12px; }
  .label-hide { display: none; }
}
