/* petrit.dev, Stand 06.10.2026
   Startseite nach Entwurf B „Drei Belege“: drei Arbeiten groß, jede mit einem echten Artefakt.
   Darunter das Verzeichnis nach Entwurf A: eine Zeile je Arbeit, nach Gebieten geordnet.
   Eine Schriftfamilie (Recursive): proportional für Text, Mono-Achse nur für Code.
   Farbe heißt: mein Ergebnis. Alles andere ist Schwarz, Weiß und Grau.
   Caddy liefert CSS mit „immutable“ aus: Wer diese Datei ändert, gibt ihr einen neuen Namen. */

@font-face {
    font-family: "Recursive";
    src: url("/fonts/recursive.woff2") format("woff2");
    font-weight: 300 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light dark;
    --seite: #ffffff;
    --platte: #eef0f3;
    --tinte: #121418;
    --tinte-2: #535962;
    --daten: #bd3618;
    --daten-flaeche: #f8e4dd;
    --bahn: #3f4550;
    --null: #7a828d;
    --raster: #d3d8df;
    --w-titel: 800;
    --w-kopf: 760;
    --w-zahl: 700;
    --rand: 16px;
}

/* Dunkel: Platten heben sich durch Helligkeit ab, nicht durch Schatten.
   Datenfarbe heller und wärmer, Gewichte eine Stufe leichter. */
@media (prefers-color-scheme: dark) {
    :root {
        --seite: #0e0f11;
        --platte: #1b1d21;
        --tinte: #eceef1;
        --tinte-2: #a6acb6;
        --daten: #ff7f5c;
        --daten-flaeche: #3d2520;
        --bahn: #c5cad2;
        --null: #858d99;
        --raster: #2e3238;
        --w-titel: 720;
        --w-kopf: 680;
        --w-zahl: 620;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--seite);
    color: var(--tinte);
    font-family: "Recursive", sans-serif;
    font-variation-settings: "MONO" 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, .person, .ungetrennt {
    -webkit-hyphens: manual;
    hyphens: manual;
}

a {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    touch-action: manipulation;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
    outline: 2px solid var(--tinte);
    outline-offset: 2px;
    border-radius: 1px;
}

/* Sprunglink: unsichtbar, bis er den Fokus bekommt */
.sprung {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 10;
    padding: 8px 12px;
    background: var(--tinte);
    color: var(--seite);
}
.sprung:focus { top: 8px; }

/* Nur für Screenreader */
.nur-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

[id] { scroll-margin-top: 16px; }
h1, h2, h3, h4 { text-wrap: balance; }

.kopf, main, .fuss {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--rand);
}

.stand {
    color: var(--tinte-2);
    white-space: nowrap;
}
.nobr { white-space: nowrap; }

/* ---------- Kopf ----------
   .logo und .nav-links a[hreflang] sind Haken für techno.js, der Sprachlink auch für events.js. */

.kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 24px;
    padding-top: 12px;
}

.marke {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}
.logo {
    display: inline-block;
    padding-block: 10px;
    text-decoration: none;
}
.logo:hover { text-decoration-line: underline; }

.nav-links {
    display: flex;
    gap: 16px;
    font-size: 15px;
}
.nav-links a {
    display: inline-block;
    padding: 11px 8px;
    margin-inline: -8px;
}

/* Startseite: Name groß, Sprachlink auf seiner Grundlinie */
.kopf-start {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name sprache"
        "person person";
    align-items: baseline;
    padding-top: 24px;
    padding-bottom: 8px;
}
.kopf-start h1 { grid-area: name; }
.kopf-start .nav-links { grid-area: sprache; }
.kopf-start .person { grid-area: person; }

.kopf-start h1 {
    margin: 0;
    font-size: 34px;
    font-weight: var(--w-titel);
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.kopf-start h1 .logo { padding-block: 0; }

.person {
    margin: 8px 0 0;
    max-width: 46ch;
    font-size: 17px;
    line-height: 1.45;
    text-wrap: pretty;
}

/* ---------- Belege: Exponat und Schild ---------- */

.beleg {
    display: grid;
    grid-template-areas:
        "schild"
        "exponat"
        "nachweise";
    gap: 16px;
    margin-top: 44px;
}

.schild { grid-area: schild; }
.schild h2 {
    margin: 0;
    font-size: 26px;
    font-weight: var(--w-kopf);
    line-height: 1.1;
}
.schild .was {
    margin: 8px 0 0;
    max-width: 44ch;
}

.exponat {
    grid-area: exponat;
    min-width: 0;
    /* schmal: Platte läuft bis an den Bildschirmrand */
    margin-inline: calc(-1 * var(--rand));
    padding: 18px var(--rand) 16px;
    background: var(--platte);
}
.exponat figure { margin: 0; }
.exponat figcaption,
.code-hinweis {
    margin-top: 14px;
    max-width: 64ch;
    font-size: 13px;
    line-height: 1.5;
    color: var(--tinte-2);
}

.nachweise {
    grid-area: nachweise;
    font-size: 15px;
    max-width: 48ch;
}
.nachweise p { margin: 0 0 10px; }

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.links a {
    display: inline-block;
    padding-block: 6px;
}

/* ---------- Grafik K1 ---------- */

.k1 svg {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
}
.k1 text {
    font-family: "Recursive", sans-serif;
    font-size: 11.5px;
    fill: var(--tinte);
}
.k1 .k1-titel { font-size: 13px; font-weight: 700; }
.k1 .k1-unter { fill: var(--tinte-2); }
.k1 .k1-wert { font-size: 11px; fill: var(--tinte-2); font-variant-numeric: tabular-nums; }
.k1 .k1-fokus-wert { font-size: 24px; font-weight: var(--w-zahl); fill: var(--daten); font-variant-numeric: tabular-nums; }
.k1 .k1-skala { font-size: 11px; fill: var(--tinte-2); }
.k1 .k1-quelle { font-size: 10.5px; fill: var(--tinte-2); }
.k1 .k1-mitte { text-anchor: middle; }
.k1 .k1-ende { text-anchor: end; }
.k1 .k1-frei {
    paint-order: stroke;
    stroke: var(--platte);
    stroke-width: 4px;
    stroke-linejoin: round;
}
.k1-raster line { stroke: var(--raster); stroke-width: 1; }
.k1-achse { stroke: var(--tinte-2); stroke-width: 1; }
.k1-linie { fill: none; stroke: var(--bahn); stroke-width: 2; stroke-linejoin: round; }
.k1-punkt { fill: var(--bahn); }
.k1-fokus { fill: var(--daten); }

/* ---------- Rekordzelle ---------- */

.zelle table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.zelle caption {
    caption-side: top;
    padding-bottom: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
}
.zelle-frage {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--tinte-2);
}
.zelle th {
    padding: 0 12px 4px 0;
    text-align: left;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--tinte-2);
}
.zelle td {
    padding: 4px 12px 4px 0;
    font-size: 14px;
    vertical-align: baseline;
    white-space: nowrap;
}
.zelle .zahl {
    padding-right: 0;
    text-align: right;
}
.zelle td.zahl {
    font-size: 40px;
    font-weight: var(--w-zahl);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.zelle .meins td {
    color: var(--daten);
    font-weight: 700;
}
.zelle .meins td.zahl { font-weight: 800; }

/* ---------- Codeausschnitt ---------- */

.code .datei,
.code pre,
.code code,
code {
    font-family: "Recursive", monospace;
    font-variation-settings: "MONO" 1;
}
.code figcaption {
    margin: 0 0 12px;
}
.code .datei { color: var(--tinte); }
.code pre {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    -webkit-hyphens: manual;
    hyphens: manual;
}
.code .z {
    display: grid;
    grid-template-columns: 2.4ch minmax(0, 1fr);
    column-gap: 1.4ch;
    padding-inline: 4px;
}
.code .nr {
    text-align: right;
    color: var(--tinte-2);
    -webkit-user-select: none;
    user-select: none;
}
.code .z-mark { background: var(--daten-flaeche); }
.code .z-mark .nr {
    color: var(--daten);
    font-weight: 700;
}
.code .z-luecke { height: 0.9em; }

/* ---------- Weitere Arbeiten: Verzeichnis nach Gebieten ---------- */

.weitere { margin-top: 64px; }
.weitere > h2,
.schluss h2 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: var(--w-kopf);
    line-height: 1.1;
}

.spaltenkopf { display: none; }

.gebiet { margin-top: 28px; }
.gebiet h3 {
    margin: 0;
    padding-top: 8px;
    border-top: 2px solid var(--tinte);
    font-size: 15px;
    font-weight: var(--w-kopf);
    line-height: 1.3;
}

.werke {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Eine Zeile je Arbeit; getrennt durch Hilfslinien in Rasterfarbe, nicht durch Flächen,
   weil eine Fläche hier „Artefakt“ bedeutet. */
.werk {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name status"
        "was was"
        "belege belege"
        "links links";
    column-gap: 16px;
    padding: 12px 0 14px;
}
.werk + .werk { border-top: 1px solid var(--raster); }

.werk h4 {
    grid-area: name;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}
.werk .status {
    grid-area: status;
    margin: 0;
    padding-top: 3px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tinte-2);
    white-space: nowrap;
}
.werk .was {
    grid-area: was;
    margin: 6px 0 0;
    max-width: 60ch;
}
.werk .belege {
    grid-area: belege;
    max-width: 60ch;
    font-size: 14px;
}
.werk .belege p { margin: 6px 0 0; }
.werk .links {
    grid-area: links;
    margin-top: 4px;
    font-size: 14px;
}

/* ---------- Setup, Kontakt ---------- */

.schluss {
    display: grid;
    gap: 32px;
    margin-top: 64px;
}
.schluss p {
    margin: 0 0 8px;
    max-width: 62ch;
}
.schluss .mail {
    font-size: 22px;
    font-weight: 700;
}

/* ---------- Textseiten: Kombinat, Forschung, Rechtliches, 404, Weiterleitungen ---------- */

.text { padding-top: 28px; }
.text > * { max-width: 68ch; }
.text h1 {
    margin: 0;
    font-size: 26px;
    font-weight: var(--w-kopf);
    line-height: 1.15;
}
.text .unterzeile {
    margin: 8px 0 0;
    font-size: 15px;
    color: var(--tinte-2);
}
.text h2 {
    margin: 40px 0 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}
.text h3 {
    margin: 28px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.text p { margin: 12px 0 0; }
.text ul {
    margin: 12px 0 0;
    padding-left: 1.25em;
}
.text li + li { margin-top: 6px; }
.text .lead {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.45;
}

code {
    font-size: 0.9em;
    padding: 0.05em 0.3em;
    border-radius: 2px;
    background: var(--platte);
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* Tabellen im Text: schmale Bildschirme scrollen die Tabelle, nicht die Seite */
.text > .tabelle-rahmen { max-width: none; }
.tabelle-rahmen {
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.tabelle {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
}
/* Kostenbuch: sieben Spalten, die letzte braucht Platz für einen Satz */
.tabelle-breit { min-width: 760px; }
.tabelle th {
    padding: 0 14px 6px 0;
    border-bottom: 2px solid var(--tinte);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tinte-2);
    vertical-align: bottom;
}
.tabelle td {
    padding: 8px 14px 8px 0;
    border-bottom: 1px solid var(--raster);
    vertical-align: top;
}
.tabelle th:last-child,
.tabelle td:last-child { padding-right: 0; }
.tabelle .zahl {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---------- Fuß ---------- */

.fuss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 24px;
    padding-top: 56px;
    padding-bottom: 40px;
    font-size: 13px;
    color: var(--tinte-2);
}
.fuss ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fuss a {
    display: inline-block;
    padding-block: 8px;
}
.fuss p {
    margin: 0;
    padding-block: 8px;
}

/* ---------- ab 760 px ---------- */

@media (min-width: 760px) {
    :root { --rand: 32px; }

    .kopf-start { padding-top: 36px; }
    .kopf-start h1 { font-size: 44px; }
    .person { font-size: 18px; }

    .exponat {
        margin-inline: 0;
        padding: 28px 28px 24px;
    }
    .zelle td.zahl { font-size: 56px; }
    .code pre { font-size: 13.5px; }

    .schluss {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        column-gap: 48px;
    }

    .text { padding-top: 40px; }
}

/* ---------- ab 980 px: Exponat links, Schild rechts ---------- */

@media (min-width: 980px) {
    :root { --rand: 48px; }

    .kopf-start { padding-top: 48px; }

    .beleg {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "exponat schild"
            "exponat nachweise";
        column-gap: 40px;
        row-gap: 14px;
        align-items: start;
        margin-top: 64px;
    }
    .schild h2 { font-size: 30px; }
    .exponat { padding: 36px 40px 32px; }
    .zelle td.zahl { font-size: 72px; }

    .text h1 { font-size: 30px; }
}

/* ---------- ab 1100 px: Verzeichnis in echten Spalten ---------- */

@media (min-width: 1100px) {
    .spaltenkopf,
    .werk {
        display: grid;
        grid-template-columns: 9.5rem minmax(0, 1.2fr) minmax(0, 1fr) 6.5rem 10.5rem;
        column-gap: 24px;
    }
    .spaltenkopf {
        padding-bottom: 6px;
        font-size: 13px;
        color: var(--tinte-2);
    }
    .werk {
        grid-template-areas: "name was belege status links";
        align-items: start;
        padding: 14px 0 16px;
    }
    .werk .was,
    .werk .belege > :first-child,
    .werk .links { margin-top: 0; }
    .werk .status { padding-top: 4px; }
    .werk .links {
        flex-direction: column;
        margin-top: -3px;
    }
    .werk .links a { padding-block: 3px; }
}

/* ---------- Druck ----------
   Steht nach dem Dunkelblock: Beim Drucken auf einem dunkel eingestellten System bleibt das Blatt weiß. */
@media print {
    :root {
        --seite: #ffffff;
        --platte: #ffffff;
        --tinte: #000000;
        --tinte-2: #444444;
        --daten: #bd3618;
        --daten-flaeche: #f8e4dd;
        --bahn: #3f4550;
        --null: #7a828d;
        --raster: #bbbbbb;
    }
    .sprung, .nav-links,
    .techno-strobe, .techno-flash, .techno-banner, .techno-laser, .techno-hint, .techno-scanlines { display: none !important; }
    .exponat, .werk { break-inside: avoid; }
}

/* ---------- Reduzierte Bewegung (außer im selbst ausgelösten Technomodus) ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 100ms !important;
    }
    body.techno-on,
    body.techno-on *,
    .techno-strobe, .techno-flash, .techno-laser, .techno-banner, .techno-scanlines {
        animation-duration: revert !important;
        animation-iteration-count: revert !important;
        transition-duration: revert !important;
    }
}

/* ============== TECHNOMODUS: maximum carnage ==============
   Unverändert aus style.css übernommen (Stand 30.09.2026). Angepasst sind nur die Selektoren
   auf das neue Markup (.nav → .kopf, .row/.wu/.host/.live-frame → .exponat/.werk/.schluss section,
   .num b → .zelle td.zahl, .contact .mail → .mail) und die Schrift von Banner und Hinweis,
   weil Fraunces und die Mono-Variable nicht mehr existieren. */
:root { --techno-hue: 0deg; }

body.techno-on {
    background: #000;
    overflow: hidden;
    animation: techno-bg 140ms infinite;
}
@keyframes techno-bg {
    0%   { background: #ff00aa; }
    16%  { background: #00ffd0; }
    33%  { background: #ffee00; }
    50%  { background: #ff3300; }
    66%  { background: #6600ff; }
    83%  { background: #00ff44; }
    100% { background: #ff0066; }
}

body.techno-on .kopf,
body.techno-on main {
    filter: hue-rotate(var(--techno-hue)) saturate(4) contrast(1.5) blur(0.4px);
    animation: techno-shake 180ms infinite;
}
@keyframes techno-shake {
    0%   { transform: translate(-8px, 6px) skew(-3deg, 1deg) scale(1.02); }
    14%  { transform: translate(9px, -7px) skew(2deg, -1.5deg) scale(0.99); }
    28%  { transform: translate(-6px, -8px) skew(-1.5deg, 2deg) scale(1.03); }
    42%  { transform: translate(8px, 5px) skew(3deg, -1deg) scale(0.98); }
    57%  { transform: translate(-9px, 4px) skew(-2deg, 2deg) scale(1.01); }
    71%  { transform: translate(7px, -6px) skew(2.5deg, -2deg) scale(1.02); }
    85%  { transform: translate(-5px, 8px) skew(-3deg, 1deg) scale(0.99); }
    100% { transform: translate(6px, -3px) skew(1.5deg, -2deg) scale(1.03); }
}

body.techno-on .kopf {
    border-bottom: 4px solid #ff00ff;
    box-shadow: 0 0 40px #ff00ff, 0 0 80px #00ffff;
}

body.techno-on .exponat,
body.techno-on .werk,
body.techno-on .schluss section {
    background: rgba(255, 0, 255, 0.18) !important;
    border-color: #00ffff !important;
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.7),
        inset 0 0 20px rgba(0, 255, 255, 0.4) !important;
    animation: techno-card-flicker 240ms infinite;
}
@keyframes techno-card-flicker {
    0%   { transform: rotate(-1.5deg) scale(1); }
    33%  { transform: rotate(1.5deg) scale(1.04); }
    66%  { transform: rotate(-0.5deg) scale(0.97); }
    100% { transform: rotate(1deg) scale(1.02); }
}
body.techno-on .zelle td.zahl {
    animation: techno-spin 400ms linear infinite;
    filter: drop-shadow(0 0 15px #ff00ff) drop-shadow(0 0 30px #00ffff);
}
@keyframes techno-spin {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(4deg) scale(1.3); }
    50%  { transform: rotate(0deg) scale(0.8); }
    75%  { transform: rotate(-4deg) scale(1.2); }
    100% { transform: rotate(0deg) scale(1); }
}

body.techno-on h1,
body.techno-on h2,
body.techno-on h3,
body.techno-on h4,
body.techno-on p,
body.techno-on a {
    color: #ffffff !important;
    text-shadow:
        -3px 0 0 #ff00ff,
        3px 0 0 #00ffff,
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px #ffff00 !important;
    animation: techno-text-glitch 90ms infinite steps(2, end);
}
@keyframes techno-text-glitch {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-2px, 1px); }
    100% { transform: translate(2px, -1px); }
}

body.techno-on h1 .accent {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    animation: techno-gradient 1s linear infinite !important;
    text-shadow: none !important;
}
@keyframes techno-gradient {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

body.techno-on .mail {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #00ffff !important;
}

.techno-strobe {
    position: fixed;
    inset: -10vh -10vw;
    pointer-events: none;
    z-index: 9998;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 0, 200, 0.95), transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(0, 230, 255, 0.95), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(255, 230, 0, 0.95), transparent 35%),
        radial-gradient(circle at 25% 75%, rgba(255, 50, 0, 0.85), transparent 30%),
        radial-gradient(circle at 78% 65%, rgba(100, 0, 255, 0.85), transparent 30%);
    mix-blend-mode: screen;
    animation: techno-strobe 140ms steps(2, end) infinite, techno-rotate 2.4s linear infinite;
}
@keyframes techno-strobe {
    0%   { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.4; transform: scale(1.15); }
}
@keyframes techno-rotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.techno-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10001;
    background: #ffffff;
    opacity: 0;
    animation: techno-flash 380ms steps(1, end) infinite;
    mix-blend-mode: difference;
}
@keyframes techno-flash {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    16%  { opacity: 0; }
    50%  { opacity: 0; }
    58%  { opacity: 0.7; }
    66%  { opacity: 0; }
    100% { opacity: 0; }
}

.techno-scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9997;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    animation: techno-scanmove 1s linear infinite;
}
@keyframes techno-scanmove {
    0%   { transform: translateY(0); }
    100% { transform: translateY(3px); }
}

.techno-banner {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Recursive", sans-serif;
    font-size: clamp(60px, 16vw, 220px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow:
        -8px 0 0 #ff00ff,
        8px 0 0 #00ffff,
        0 -6px 0 #ffff00,
        0 6px 0 #ff0066,
        0 0 30px #fff,
        0 0 60px #ff00ff,
        0 0 120px #00ffff;
    z-index: 10002;
    pointer-events: none;
    animation: techno-banner-pulse 220ms infinite alternate, techno-banner-jitter 80ms infinite steps(3, end);
    user-select: none;
    white-space: nowrap;
}
@keyframes techno-banner-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.95) rotate(-4deg) skew(2deg); }
    100% { transform: translate(-50%, -50%) scale(1.18) rotate(4deg) skew(-2deg); }
}
@keyframes techno-banner-jitter {
    0%   { letter-spacing: -0.04em; filter: hue-rotate(0deg); }
    50%  { letter-spacing: 0.04em; filter: hue-rotate(180deg); }
    100% { letter-spacing: -0.04em; filter: hue-rotate(0deg); }
}

.techno-hint {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Recursive", monospace;
    font-variation-settings: "MONO" 1;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    z-index: 10003;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 12px #ff00ff, 0 0 24px #00ffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ff00ff;
}

.techno-laser {
    position: fixed;
    top: 0;
    left: 50%;
    width: 6px;
    height: 220vh;
    pointer-events: none;
    z-index: 9999;
    transform-origin: top center;
    mix-blend-mode: screen;
    opacity: 0.95;
    filter: blur(1px);
}
.techno-laser-0  { background: linear-gradient(180deg, #ff00ff, transparent); animation: laser-sweep-a 1.4s linear infinite; }
.techno-laser-1  { background: linear-gradient(180deg, #00ffff, transparent); animation: laser-sweep-b 1.4s linear infinite; }
.techno-laser-2  { background: linear-gradient(180deg, #ffff00, transparent); animation: laser-sweep-a 1.0s linear infinite reverse; }
.techno-laser-3  { background: linear-gradient(180deg, #00ff66, transparent); animation: laser-sweep-b 1.0s linear infinite reverse; }
.techno-laser-4  { background: linear-gradient(180deg, #ff3399, transparent); animation: laser-sweep-a 1.8s linear infinite;            animation-delay: 0.2s; }
.techno-laser-5  { background: linear-gradient(180deg, #33ccff, transparent); animation: laser-sweep-b 1.8s linear infinite;            animation-delay: 0.2s; }
.techno-laser-6  { background: linear-gradient(180deg, #ff6600, transparent); animation: laser-sweep-a 1.2s linear infinite reverse;    animation-delay: 0.4s; }
.techno-laser-7  { background: linear-gradient(180deg, #cc00ff, transparent); animation: laser-sweep-b 1.2s linear infinite reverse;    animation-delay: 0.4s; }
.techno-laser-8  { background: linear-gradient(180deg, #ffffff, transparent); animation: laser-sweep-a 0.8s linear infinite;            animation-delay: 0.6s; }
.techno-laser-9  { background: linear-gradient(180deg, #00ffaa, transparent); animation: laser-sweep-b 0.8s linear infinite;            animation-delay: 0.6s; }
.techno-laser-10 { background: linear-gradient(180deg, #ff0044, transparent); animation: laser-sweep-a 1.6s linear infinite reverse;    animation-delay: 0.9s; }
.techno-laser-11 { background: linear-gradient(180deg, #4400ff, transparent); animation: laser-sweep-b 1.6s linear infinite reverse;    animation-delay: 0.9s; }
.techno-laser-12 { background: linear-gradient(180deg, #ffaa00, transparent); animation: laser-sweep-a 2.0s linear infinite;            animation-delay: 0.3s; }
.techno-laser-13 { background: linear-gradient(180deg, #00aaff, transparent); animation: laser-sweep-b 2.0s linear infinite;            animation-delay: 0.3s; }
.techno-laser-14 { background: linear-gradient(180deg, #ff00aa, transparent); animation: laser-sweep-a 0.9s linear infinite reverse;    animation-delay: 0.5s; }
.techno-laser-15 { background: linear-gradient(180deg, #aaff00, transparent); animation: laser-sweep-b 0.9s linear infinite reverse;    animation-delay: 0.5s; }

@keyframes laser-sweep-a {
    0%   { transform: rotate(-78deg); }
    50%  { transform: rotate(78deg); }
    100% { transform: rotate(-78deg); }
}
@keyframes laser-sweep-b {
    0%   { transform: rotate(75deg); }
    50%  { transform: rotate(-75deg); }
    100% { transform: rotate(75deg); }
}
