:root {
  --bg: #f3ecdc;
  --ink: #2b2b2b;
  --muted: rgba(43, 43, 43, 0.6);
  --chip: rgba(255, 255, 255, 0.7);
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

canvas {
  position: fixed;
  inset: 0;
  display: block;
  touch-action: none;
}

header, footer, .colorway {
  position: fixed;
  z-index: 1;
}

header {
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

header img { border-radius: 6px; }

h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

footer {
  left: 20px;
  bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.colorway {
  right: 20px;
  bottom: 14px;
}

select {
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid rgba(43, 43, 43, 0.15);
  border-radius: 8px;
  padding: 5px 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 520px) {
  header { top: 16px; left: 16px; }
  footer { left: 16px; right: 16px; bottom: 56px; font-size: 12px; }
  .colorway { right: 16px; bottom: 14px; }
}
