@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #172127;
  --muted: #52605e;
  --primary: #513192;
  --primary-700: #3e226f;
  --primary-50: #ece5f6;
  --bg: #f7f6f1;
  --surface: #fff;
  --border: #ded8e3;
  --court: var(--primary);
  --court-overlay: rgb(40 23 71 / 92%);
  --court-muted: #f0e9fa;
  --court-ratio: 3 / 2;
  --ball: #e85a35;
  --font: "Manrope", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--ink); font: 500 1rem/1.6 var(--font); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

button, .btn {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary-700);
  cursor: pointer;
  font: 750 0.95rem/1.35 var(--font);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button:hover, .btn:hover { border-color: var(--primary); }
button.primary, .btn.primary { background: var(--primary); color: var(--surface); }
button.primary:hover, .btn.primary:hover { background: var(--primary-700); }
button:disabled { opacity: 0.55; cursor: default; }
