/* Platzhalter zenproxy2601 (wsm25-hosting#448, #450, #451)
   Farben aus Holms Wallpaper-Generator „BBS://NEON“: Cyan / Magenta /
   Säuregrün auf Schwarz, Raster elektrisch blau, Akzent Hot-Pink.
   #451 (Holm 04:25 „de-slopen, dem pixeligen anpassen“): keine Glow-Kaskaden,
   kein Verlaufstext, kein Glitch; harte Kanten und Versatzschatten ohne
   Unschärfe. Öffentliche Seite: nur freier Schrift-Fallback-Stack.
   v0.6.0 (Holm 04:34 „DOS-Farben … neon cyberpunk CRT ist nicht DOS“):
   keine CGA-Reinfarben mehr; Hot-Pink, Elektrik-Cyan, Violett, Bernstein auf
   Indigo; statt Versatzschatten ein schmaler Phosphor-Schein. Variablennamen
   bleiben, Werte neu.
   v0.7.0 (Holm 05:02, Vorlage Generator-Bild 04:41): Generator-Palette
   wieder, aber dunkel geführt wie dort: Schwarz, Cyan, Magenta, Säuregrün,
   Raster elektrisch blau; flache CRT-Scanlines.
   v0.8.0 (#452, Holm 05:24 „um das overlay fenster neon glow und den
   hintergrund des fenster blur“): Fenster mit zweilagigem Neon-Schein
   (Cyan eng, Magenta weit) und Blur der Szene dahinter. Blur nicht per
   backdrop-filter (gemessen: Firefox 60 → 15 fps, Chromium CPU +50 %),
   sondern szene.js zeichnet den Ausschnitt weich in .hinter; ohne JS
   bleibt der deckende Fenstergrund. */
:root {
  --schwarz: #000004;
  --tafel: rgba(0, 0, 6, .82);
  --einsatz: #040010;
  --fg-1: #d2f0ff;
  --fg-2: #8fb4c4;
  --fg-3: #5f7a88;
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --acid: #b2ff00;
  --pink: #ff1478;
  --blau: #1450ff;
  --font: ui-monospace,"JetBrains Mono","IBM Plex Mono",SFMono-Regular,Menlo,Consolas,monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: 16px;
  background: var(--schwarz);
  color: var(--fg-1);
  font: 15px/1.6 var(--font);
  overflow-x: hidden;
}

/* Szene (#451): Raster, Skyline, Mond — gezeichnet von szene.js */
#szene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 0;
  background: var(--schwarz);
}

/* v0.7.0: CRT-Scanlines wie im Generator (jede dritte Zeile 20 % dunkler,
   hart, ohne Unschärfe) über einer leichten Vignette */
body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,4,.2) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 130% 110% at center, transparent 62%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.crt {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  padding: 24px;
  background: var(--tafel);
  border: 1px solid var(--cyan);
  /* v0.8.0: Neon-Schein — innen ein Hauch Cyan, außen Cyan eng, Magenta weit */
  box-shadow:
    inset 0 0 12px rgba(0, 255, 255, .16),
    0 0 0 1px rgba(0, 255, 255, .35),
    0 0 10px rgba(0, 255, 255, .55),
    0 0 32px rgba(255, 0, 255, .38);
}

/* v0.8.0: weichgezeichneter, abgedunkelter Szenen-Ausschnitt (szene.js),
   klein gerechnet und hier hochskaliert, liegt über dem Fenstergrund */
.crt > .hinter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  pointer-events: none;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kachel {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  background: var(--einsatz);
  border: 1px solid var(--blau);
}
.kachel img { display: block; }
.strich { width: 2px; height: 32px; background: var(--magenta); flex: none; }
.titel { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.name { color: var(--fg-2); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.name b { color: var(--fg-1); font-weight: 700; }
.stand {
  color: var(--fg-3);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: normal;
}

.wort {
  margin: 28px 0 22px;
  font-size: clamp(40px, 13vw, 88px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--fg-1);
  text-shadow: 0 0 2px var(--cyan), 0 0 10px rgba(255, 0, 255, .45);
}

.term {
  background: var(--einsatz);
  border: 1px solid var(--blau);
  padding: 12px 16px;
  font-size: 14px;
}
.term p { margin: 4px 0; color: var(--fg-2); overflow-wrap: anywhere; }
.term .k { display: inline-block; min-width: 7ch; }
.prompt { color: var(--magenta); margin-right: 8px; }
.wert { color: var(--cyan); }
.amber { color: var(--pink); }
.gruen { color: var(--acid); }
.cursor { color: var(--acid); margin-left: 4px; animation: blinken 1.1s infinite steps(1); }

.fuss {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--magenta);
}
.fuss a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--blau); }
.fuss a:hover, .fuss a:focus-visible { color: var(--fg-1); border-bottom-color: var(--cyan); }

/* Impressum (#450, Holm 04:01) */
.impressum {
  margin: 8px 0 0;
  color: var(--fg-3);
  font-size: 11px;
  line-height: 1.5;
}
.impressum a { color: var(--cyan); text-decoration: none; }
.impressum a:hover, .impressum a:focus-visible { color: var(--fg-1); text-decoration: underline; }

@keyframes blinken { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}
