:root {
  --bg: #06070b;
  --emerald: #28f9ae;
  --violet: #9e52ff;
  --text: #d5d9ff;
  --accent: #aaff00;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--text);
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

#viz {
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
}

.audio-toggle {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 12;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(158, 82, 255, 0.22);
  background: rgba(7, 9, 20, 0.6);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.audio-toggle:hover {
  border-color: rgba(170, 255, 0, 0.5);
  color: var(--accent);
}

.statusline {
  position: fixed;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 4;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(158, 82, 255, 0.22);
  background: rgba(7, 9, 20, 0.44);
  color: rgba(221, 225, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.accent {
  color: var(--accent);
}

.tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  max-width: 340px;
  background: rgba(6, 8, 16, 0.9);
  border: 1px solid rgba(40, 249, 174, 0.45);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-size: 0.74rem;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.hidden {
  display: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.splash-inner {
  text-align: center;
}

.splash-title {
  margin: 0 0 0.25rem;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.splash-sub {
  margin: 0 0 2.2rem;
  font-size: 0.85rem;
  color: rgba(213, 217, 255, 0.5);
  letter-spacing: 0.08em;
}

.splash-btn {
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 0.65rem 2.4rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.splash-btn:hover {
  background: var(--accent);
  color: #06070b;
}
