/* ═══════════════════════════════════════════════
   RETARD GLOBAL — Canonical Design Tokens (CSS)
   ═══════════════════════════════════════════════

   Single source of truth for the brand. Import this file before any
   component CSS. Every surface (map, tickets, shop) consumes from here.

   Rules (hard):
     - 6 colors. Acid / Orange / Magenta / Cyan + Black + White. No others.
     - Impact for display. Helvetica Neue for body.
     - 1px solid black is the only border spec.
     - No rounded corners. No gradients. No emoji as UI.
     - Crosshair cursor globally, ✦ on interactive elements.

   Adding a new color or font: opens a design-language discussion first.
   This file is the constitution, not a palette.
   ═══════════════════════════════════════════════ */

:root {
  /* === COLORS === */
  --acid:    #DEFF2F;
  --orange:  #FF8125;
  --magenta: #FD2FFF;
  --cyan:    #2FF3FF;
  --black:   #000000;
  --white:   #FFFFFF;

  /* === TYPE === */
  --font-display: Impact, 'Arial Black', sans-serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* === BORDER === */
  --border: 1px solid var(--black);

  /* === SPACING SCALE (4px base — allowed set: 4, 8, 12, 16, 24, 32, 40, 48) === */
  --space-1:  4px;
  --space-2:  8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
}

/* === GLOBAL RESETS (consumed by every surface) === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === BASE LAYER (shared across map / tickets / shop) === */
html {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--white);
}

* { cursor: crosshair; }

a {
  color: inherit;
  text-decoration: none;
  cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><text y='20' font-size='20'>%E2%9C%A6</text></svg>") 12 12, pointer;
}

img { display: block; max-width: 100%; }

button, input {
  font-family: inherit;
  cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><text y='20' font-size='20'>%E2%9C%A6</text></svg>") 12 12, pointer;
  border: none;
  background: none;
  color: inherit;
}

/* === GLOBAL FOCUS (shared: cyan outline, 2px) === */
button:focus-visible,
input:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
