/*
  Dieselbe Palette wie das Dashboard in apps/web/app/globals.css. Bewusst
  kopiert und nicht geteilt: die Seite hat keinen Build-Schritt, und dreissig
  Zeilen Tokens zu duplizieren ist billiger als ein Bundler fuer eine Seite.
  Wer hier Farben aendert, aendert sie dort mit.
*/
:root {
  --grund: #101218;
  --flaeche: #171a22;
  --erhaben: #1d2029;
  --linie: #242833;
  --linie-hell: #2f3442;
  --text: #ccd1dc;
  --gedaempft: #838a9b;
  --lit: #f5e6c8;
  --lit-schwach: #6b5f45;
  --schein: #7c86ff;
  --radius: 6px;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--grund); color: var(--text); }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.92em; letter-spacing: 0; }

:focus-visible { outline: 2px solid var(--schein); outline-offset: 2px; border-radius: 3px; }

.rahmen { max-width: 52rem; margin: 0 auto; padding: 0 1.5rem; }

.kopf { border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.wortmarke { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.kopf-link { color: var(--gedaempft); text-decoration: none; font-size: 0.85rem; }
.kopf-link:hover { color: var(--text); }

.seite { padding: 4rem 1.5rem 6rem; }

h1 { font-size: 1.75rem; font-weight: 600; margin: 0 0 0.35rem; letter-spacing: -0.01em; }
.unterzeile { color: var(--gedaempft); margin: 0 0 2.5rem; }

/* Jedes laufende Spiel ist beleuchtet: hier stehen nur laufende. */
.liste { border-top: 1px solid var(--linie); }

.spiel {
  display: grid;
  grid-template-columns: 3px 1fr auto;
  gap: 0 1.25rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  color: inherit;
}
.spiel:hover { background: var(--flaeche); }

.balken {
  align-self: stretch;
  border-radius: 2px;
  background: var(--lit);
  box-shadow: 0 0 12px 0 color-mix(in srgb, var(--lit) 45%, transparent);
}

.name { display: block; font-weight: 500; color: var(--lit); margin-bottom: 0.2rem; }
.adresse { display: block; color: var(--gedaempft); font-size: 0.85rem; }
.zeit { color: var(--gedaempft); font-size: 0.85rem; text-align: right; }

.laedt, .leer { color: var(--gedaempft); padding: 2.5rem 0; }

.fuss {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--linie);
  max-width: 34rem;
}
.fuss h2 { font-size: 1.05rem; font-weight: 500; margin: 0 0 0.75rem; }
.fuss p { color: var(--gedaempft); margin: 0 0 1.25rem; }

pre {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  margin: 0 0 1.5rem;
  overflow-x: auto;
  color: var(--text);
}

.link { color: var(--schein); text-decoration: none; }
.link:hover { text-decoration: underline; }

@media (max-width: 34rem) {
  .spiel { grid-template-columns: 3px 1fr; }
  .zeit { grid-column: 2; text-align: left; padding-top: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
