/* live.slapstick.be -- Platzhalter bis Chunk 5 (#2371).
   Tokens und Schriften wie pz.slapstick.be/assets/css/tokens.css,
   selbst gehostet: die CSP erlaubt nur 'self'. */

@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/vt323-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}

@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/vt323-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bangers-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}

:root {
  --bg-deepest:     #0A0A0A;
  --bg-board:       #111111;
  --bg-elevated:    #1A1A1A;
  --accent-orange:  #C9761B;
  --accent-gold:    #CAAD4D;
  --terminal-green: #8FA85A;
  --border:         #2B2D2C;
  --text:           #e8e8e4;
  --muted:          #9a9a94;
  --font-mono:      'VT323', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --font-display:   'Bangers', var(--font-mono);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--bg-deepest);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(1.13rem, 1.06rem + 0.32vw, 1.31rem);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: min(38rem, 100%);
  padding: 2rem 1.5rem;
  background: var(--bg-board);
  border: 1px dashed var(--border);
  box-shadow: 2px 2px 0 var(--bg-deepest);
}

h1 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.07rem, 1.73rem + 1.70vw, 3.05rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

h1 span { color: var(--accent-orange); }

.status {
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
  padding: 0.1em 0.6em;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status::before { content: "● "; }

p { margin: 0 0 1rem; max-width: 60ch; }

.muted { color: var(--muted); }

a {
  color: var(--accent-orange);
  text-underline-offset: 3px;
}

a:hover { color: var(--terminal-green); }

a:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .status::before { animation: blink 1.4s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}
