/* ThroatTapper — Darkroom Labs theme (shared variables with MeowSynth / MonkeyBeat / CircuitStomp) */

:root {
  --bg: #060607;
  --bg-panel: #0e0b0c;
  --line: #2a1418;
  --fg: #f2e4e6;
  --dim: #7a6468;
  --accent: #ff2f4e;
  --accent2: #ff8a3d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 16px 64px;
}

.container { width: 100%; max-width: 600px; }

.labs-link {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  background: rgba(6, 6, 7, .8);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 50;
}
.labs-link:hover { text-decoration: underline; }

.throat {
  display: table;
  text-align: left;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.3;
  margin: 0 auto 6px;
  text-shadow: 0 0 12px rgba(255, 47, 78, .4);
}

h1 {
  text-align: center;
  font-size: 28px;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 700;
}
.blink { animation: blink 1.1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

.tagline { text-align: center; color: var(--dim); margin: 6px 0 28px; font-size: 13px; }

.controls { margin: 28px 0; text-align: center; }

button, .toggle-btn {
  background: #150a0c;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 14px 22px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
button:hover { border-color: var(--accent); color: var(--accent); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }

button.active, button:active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0004;
  box-shadow: 0 0 18px rgba(255, 47, 78, .45);
}
button.active:hover { color: #1a0004; filter: brightness(1.08); }

.hint { color: var(--dim); font-size: 12px; margin: 12px 0 0; line-height: 1.5; }

.instructions {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  border-radius: 10px;
  padding: 20px;
  line-height: 1.6;
  font-size: 13.5px;
}

.instructions h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}
.instructions p { margin: 10px 0; }
.instructions strong { color: var(--fg); }
.instructions em { color: var(--dim); font-style: normal; font-size: 12.5px; }

ul { list-style: none; padding: 0; margin: 10px 0; }
li { margin: 6px 0; display: flex; align-items: center; gap: 10px; color: var(--dim); }

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #150a0c;
  color: var(--accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

footer { text-align: center; color: var(--dim); font-size: 11.5px; margin-top: 28px; line-height: 1.6; }
footer a { color: var(--dim); }
footer a:hover { color: var(--accent); }
footer .mark { color: #1d1113; font-size: 9px; letter-spacing: 3px; margin-top: 6px; user-select: none; }

@media (max-width: 560px) {
  body { padding: 20px 10px 48px; }
  .throat { font-size: 12px; }
  h1 { font-size: 22px; }
  .labs-link { font-size: 11px; position: absolute; }
  .instructions { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
}
