:root {
  /* Colors — GTO Wizard inspired */
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #111111;
  --bg-card:       #1a1a1a;
  --bg-elevated:   #222222;
  --border:        #2a2a2a;

  --text-primary:  #f0f0f0;
  --text-secondary:#888888;
  --text-muted:    #7a7a7a;

  --color-raise:   #e05252;   /* red    — raise/aggression                */
  --color-call:    #44c467;   /* green  — call/passive                    */
  --color-fold:    #1a1a1a;   /* dark   — fold (hand not in prior range)  */
  --color-fold-range: #2d62d4;/* blue   — fold (hand WAS in prior range)  */
  --color-allin:   #6b2a1f;   /* dark brown — allin/jam (GTO Wizard style) */
  --color-correct: #00d4a0;   /* teal — correct          */
  --color-wrong:   #e05252;   /* red  — wrong            */
  --color-mixed:   #d4a000;   /* gold — mixed strategy   */
  --color-accent:  #F0B65C;   /* gold — primary accent (Velvet Aurora) */

  /* Spacing */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Typography */
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;                 /* only the active view scrolls — kills double scrollbar */
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 12px;
}

select {
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

/* Screen-reader only — visible to assistive tech, hidden visually */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
