/* reached.css - Version 2.09
   23.08.2026 v2.09: Zweiter Iono-Teiler für die MUF-Anzeige.
   23.08.2026 v2.08: Jahresanimation An/Aus in der Anzeige-Config.
   23.08.2026 v2.07: Wolken An/Aus in der Anzeige-Config.
   20.08.2026 v2.06: FM-Sat-Alarm An/Aus wie Nachtmodus-Knöpfe.
   19.08.2026 v2.05: Weltraum-Wellen im Canvas, CSS-Pins entfernt.
   19.08.2026 v1.68: ISS-Flug auf 400 km im 24h-Schichtdiagramm.
   19.08.2026 v1.67: Locator-Feld halb so breit, Umschalter DXC statt DX.
   19.08.2026 v1.66: Haupttitel-Schrift 25 Prozent größer.
   18.08.2026 v1.65: Nachtmodus Auto als Sonne und Mond zusammen.
   18.08.2026 v1.64: Kästchen nur bei Stellung Auto, nicht bei An/Aus.
   18.08.2026 v1.63: Nachtmodus Auto: Sonne oder Mond im Kästchen.
   18.08.2026 v1.62: Nachtmodus-Trigger Mitte der bürgerlichen Dämmerung.
   18.08.2026 v1.61: Nachtmodus astronomisches Rot, mehrere Rottöne.
   18.08.2026 v1.60: Iono-Hop-Pins per CSS auf der Grafikschicht.
   18.08.2026 v1.59: Laufband-Streifen per CSS-Animation, Schritte ganzzahlig.
   18.08.2026 v1.58: Laufband-Leinwand-Größe kommt aus JS, kein 100%-Strecken.
   18.08.2026 v1.57: Laufband-Blatt sichtbar, Maß-HTML unsichtbar, Schrift farbig.
   18.08.2026 v1.56: Laufband grau rastern, Schicht fest, weniger Flackern.
   17.08.2026 v1.55: Pin-Leinwand wieder entfernt, eine Kartenfläche.
   17.08.2026 v1.54: Pin-Leinwand über der Karte, gleiche Fläche.
   17.08.2026 v1.53: Neue Tafel-Zeilen sanft einblenden (tafel-neu).
   17.08.2026 v1.52: Weltzeit hh:mm, blinkender Doppelpunkt dazwischen.
   17.08.2026 v1.51: Weltzeit-Sekunden, blinkender Doppelpunkt (Test).
   17.08.2026 v1.50: Weltzeiten unten auf der Blue Marble ab Kachel 5.
   17.08.2026 v1.49: Versionszeile, Hinweis bei neuer Live-Version.
   17.08.2026 v1.48: Ticker-Mode cyan bei DX-Cluster-Herkunft.
   16.08.2026 v1.47: FM-Countdown dezent im Kopf, Empfangsfrequenz.
   16.08.2026 v1.46: Countdown nächster FM-Überflug, Restzeit-Zeile.
   16.08.2026 v1.45: FM-Hörbar-Overlay rot-gelb.
   16.08.2026 v1.44: Config-Reiter und Satelliten-Liste.
   16.08.2026 v1.43: Umschalter Letzte Verbindungen / Letzte Spots.
   16.08.2026 v1.42: Balken-Listen abschneiden, engerer Zeilenabstand.
   16.08.2026 v1.41: Ländernamen eine Zeile, Balken darf überdecken.
   16.08.2026 v1.40: Länder-Balken Tafel-Ausblendung.
   16.08.2026 v1.39: Ausbreitung-Wert über dem Balken, Leiste nur Hintergrund.
   16.08.2026 v1.38: Kopier-Symbol neben Letzte Verbindungen.
   16.08.2026 v1.37: Balken-Wertspalte breiter für VOACAP-Bandtext.
   15.08.2026 v1.36: Ausbreitung-Schrift 80 % Breite wie die Tafel.
   15.08.2026 v1.35: Tafel-Schrift probeweise 80 % Breite.
   15.08.2026 v1.34: UTC/Locator oben rechts entfernt, Titel nutzt die Breite.
   15.08.2026 v1.33: Haupttitel vertikal mittig unter dem fest oben sitzenden Ticker.
   15.08.2026 v1.32: Live-Ticker fest oben, unabhängig von der Titelhöhe.
   15.08.2026 v1.31: Neu-Laden neben dem Zahnrad.
   15.08.2026 v1.30: Auswahl und Fußzeile ein- und ausblendbar.
   15.08.2026 v1.29: Anzahl hinter Letzte Verbindungen.
   15.08.2026 v1.28: News-Ticker ohne CSS-Animation, Offset kommt aus JS.
   15.08.2026 v1.27: Doppelten Iono-Höhengriff entfernt, nur der Grenzbalken bleibt.
   15.08.2026 v1.26: News-Ticker läuft auch bei kurzer Liste.
   15.08.2026 v1.25: QSO-News-Ticker statt Kicker-Titel.
   15.08.2026 v1.24: WSPR/DXC-Zähler in der Fußzeile.
   15.08.2026 v1.23: QRZ-Fortschritt im Footer.
   15.08.2026 v1.22: Hop-Zeile unter der Karte entfernt.
   15.08.2026 v1.21: Kartenlegende Quelle/Gegenstation/Nacht/Sprung entfernt.
   15.08.2026 v1.20: Bandfarben an den Filterknöpfen, gleiche Werte für Kartenlinien.
   15.08.2026 v1.19: Sonnenwackeln ohne CSS-Schleife, Zufall in JS.
   15.08.2026 v1.18: Sonnenwackeln wieder in Echtzeit, nicht Zeitlupe.
   15.08.2026 v1.17: Kompaktere Solar-Labels, breitere Spuren, CSS-Wackeln.
   15.08.2026 v1.16: Solarwerte nur noch als Blitz auf der Spur.
   15.08.2026 v1.15: 27-Tage-Sparklines als Röhren-EKG.
   15.08.2026 v1.14: Starres Okular, Sonne wackelt innen, kein Farbrad.
   15.08.2026 v1.13: SDO-Filterrad links, Solarwerte daneben.
   15.08.2026 v1.12: Max-km in der Ticker-Titelzeile.
   15.08.2026 v1.11: Ticker-Tafel, schmales Band, eigenes Call grau, 5 jüngste gelb.
   15.08.2026 v1.10: WSPR-Rad als Hinweis, Karte bleibt sichtbar.
   15.08.2026 v1.09: Konfigurations-Overlay und Zahnrad.
   15.08.2026 v1.08: Ticker als echte Spot-Tabelle, kein Einblend-Tropfen.
   15.08.2026 v1.07: WSPR-Ladeanzeige über der Karte.
   14.08.2026 v1.06: Vertikaler Trenner zwischen den Iono-Diagrammen.
   14.08.2026 v1.05: H02-Toggle neben Quell-Calls.
   14.08.2026 v1.04: Kartenlegende oben, Sprungweite unten — kein Überlapp mehr.
   14.08.2026 v1.03: Titel wächst mit langem Clubtext (kein 42vw-Schnitt mehr).
   14.08.2026: Mission-Control-Optik für das Amateurfunk-Kiosk /reached/.
   Ziel: 19"-Querformat (1920x1080, fällt auf 1366x768 zurück).
   Keine fremden Fonts, keine Portal-style.css. */

:root {
    --nacht: #05080f;
    --panel: rgba(7, 14, 26, 0.78);
    --linie: rgba(62, 224, 208, 0.22);
    --cyan: #3ee0d0;
    --cyan-dim: #1a6f68;
    --bernstein: #f0b45a;
    --magenta: #8a3a62;
    --text: #d6e8e4;
    --dim: #6a8890;
    --glow: 0 0 18px rgba(62, 224, 208, 0.35);
    --schrift: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    --band-80: #ff6b6b;
    --band-40: #f0a050;
    --band-30: #e8d44a;
    --band-20: #4ecf70;
    --band-17: #3ee0d0;
    --band-15: #5aa8ff;
    --band-12: #b07cff;
    --band-10: #ff7ad9;
    --lauf-grund: #02060a;
}

/* Astronomisches Rot: wenig Blau, Nachtsicht bleibt. Auto ab −3° Sonne. */
html.nachtmodus {
    --nacht: #0c0302;
    --panel: rgba(28, 6, 4, 0.86);
    --linie: rgba(176, 42, 28, 0.42);
    --cyan: #e24a32;
    --cyan-dim: #6e1810;
    --bernstein: #ff6e3c;
    --magenta: #7a1424;
    --text: #f2c4b0;
    --dim: #9a4a3e;
    --glow: 0 0 18px rgba(210, 48, 28, 0.42);
    --band-80: #ff4a3a;
    --band-40: #e85a32;
    --band-30: #c8682a;
    --band-20: #b04030;
    --band-17: #d44838;
    --band-15: #a8322c;
    --band-12: #8a2c28;
    --band-10: #ff5e4a;
    --lauf-grund: #100404;
}

html.nachtmodus body {
    background:
        radial-gradient(ellipse at 48% 0%, rgba(150, 22, 12, 0.2), transparent 56%),
        radial-gradient(ellipse at 82% 100%, rgba(70, 10, 6, 0.28), transparent 46%),
        var(--nacht);
}

html.nachtmodus #weltkarte,
html.nachtmodus #iono,
html.nachtmodus .solar-kurve {
    filter: grayscale(1) sepia(1) hue-rotate(-18deg) saturate(3.4) brightness(0.5) contrast(1.22);
}

html.nachtmodus .sonne-fassung {
    background:
        radial-gradient(circle at 32% 28%, #5a3028 0%, #2a100c 42%, #100404 78%);
    box-shadow:
        0 0 0 1px rgba(180, 60, 40, 0.35),
        inset 0 1px 2px rgba(255, 160, 120, 0.16),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 0 14px rgba(210, 40, 20, 0.28);
}

html.nachtmodus .sonne-bild {
    filter: grayscale(0.25) sepia(1) hue-rotate(-22deg) saturate(2.6) brightness(0.58);
}

html.nachtmodus .sonne-szinti {
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 120, 80, 0.18), transparent 42%),
        repeating-radial-gradient(circle at 52% 48%, rgba(255, 80, 50, 0.06) 0 1px, transparent 1px 3px);
}

html.nachtmodus .iono-hop-pin-20 {
    background: #ff8a58;
    box-shadow: 0 0 6px #ff6a38;
}

html.nachtmodus .iono-hop-pin-10 {
    background: #ff2e24;
    box-shadow: 0 0 6px #ff2018;
}

html.nachtmodus .iono-hop-pin-50 {
    background: #c04030;
    box-shadow: 0 0 6px #902018;
}

html.nachtmodus .iono-iss {
    filter: drop-shadow(0 0 4px rgba(226, 74, 50, 0.55));
}

html.nachtmodus .iono-iss-fluegel {
    background: repeating-linear-gradient(
        90deg,
        #c04830 0 2px,
        #401208 2px 3px
    );
}

html.nachtmodus .iono-iss-modul {
    background: #e8c8b8;
    box-shadow: 0 0 0 1px rgba(226, 74, 50, 0.5);
}

html.nachtmodus .iono-iss-name {
    color: #ff8a58;
}

html.nachtmodus .weltzeit-leiste {
    background: linear-gradient(180deg, rgba(12, 3, 2, 0) 0%, rgba(12, 3, 2, 0.62) 38%, rgba(12, 3, 2, 0.84) 100%);
}

html.nachtmodus .weltzeit-ort {
    color: rgba(210, 120, 96, 0.72);
}

html.nachtmodus .weltzeit-uhr {
    text-shadow: 0 0 8px rgba(226, 74, 50, 0.4);
}

html.nachtmodus .config-sat-zeile input {
    accent-color: #e24a32;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: var(--nacht);
    color: var(--text);
    font-family: var(--schrift);
    overflow: hidden;
}

body {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(62, 224, 208, 0.08), transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(240, 180, 90, 0.05), transparent 45%),
        var(--nacht);
}

.kiosk {
    --ticker-breite: 480px;
    --seite-breite: 300px;
    --iono-hoehe: 210px;
    --iono-links: 0.42;
    --iono-muf: 0.26;
    --qso-lauf-oben: 4px;
    --tafel-schrift-breite: 0.8;
    display: grid;
    grid-template-columns: var(--ticker-breite) 8px 1fr 8px var(--seite-breite);
    grid-template-rows: auto 1fr 14px var(--iono-hoehe) auto auto;
    grid-template-areas:
        "kopf kopf kopf kopf kopf"
        "ticker split-v1 karte split-v2 seite"
        "split-h split-h split-h split-h split-h"
        "iono iono iono iono iono"
        "filter filter filter filter filter"
        "fuss fuss fuss fuss fuss";
    height: 100vh;
    gap: 0 0;
    padding: 8px 10px 6px;
    column-gap: 0;
    row-gap: 0;
}

.kiosk.steg-zu {
    grid-template-rows: auto 1fr 14px var(--iono-hoehe);
    grid-template-areas:
        "kopf kopf kopf kopf kopf"
        "ticker split-v1 karte split-v2 seite"
        "split-h split-h split-h split-h split-h"
        "iono iono iono iono iono";
}

.kiosk.steg-zu .filter-panel,
.kiosk.steg-zu .fuss {
    display: none;
}

.kopf {
    grid-area: kopf;
    position: relative;
    display: grid;
    grid-template-columns: minmax(15rem, max-content) minmax(12rem, 1fr);
    align-items: center;
    border: 1px solid var(--linie);
    background: var(--panel);
    padding: 6px 164px 6px 8px;
    box-shadow: var(--glow);
    margin-bottom: 8px;
}

.solar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sonne {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
}

.sonne-fassung {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    padding: 8px;
    background:
        radial-gradient(circle at 32% 28%, #4a5362 0%, #1a1f28 42%, #0a0c10 78%);
    box-shadow:
        0 0 0 1px rgba(190, 200, 210, 0.22),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.55),
        0 0 14px rgba(240, 180, 90, 0.18);
}

.sonne-okular {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.85);
}

.sonne-loch {
    position: absolute;
    inset: 0;
    clip-path: circle(52% at 50% 50%);
}

.sonne-bild {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.sonne-szinti {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.16), transparent 42%),
        repeating-radial-gradient(circle at 52% 48%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
    animation: sonne-szinti 2.6s ease-in-out infinite;
}

@keyframes sonne-szinti {
    0%, 100% { opacity: 0.22; }
    35% { opacity: 0.5; }
    68% { opacity: 0.18; }
}

.solar-werte {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.solar-kachel {
    display: grid;
    grid-template-columns: 2.2em 132px;
    align-items: center;
    column-gap: 6px;
    min-width: 0;
}

.solar-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--dim);
    text-transform: uppercase;
}

.solar-kurve {
    display: block;
    width: 132px;
    height: 24px;
    background: #02060a;
    border-radius: 2px;
    box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.85),
        inset 0 0 1px rgba(120, 200, 160, 0.18);
}

.titelblock {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-self: stretch;
    align-self: stretch;
    min-width: 0;
    width: 100%;
    padding: var(--qso-lauf-oben) 10px 0;
}

.qso-lauf {
    display: flex;
    align-items: stretch;
    flex: 0 0 22px;
    height: 22px;
    margin: 0;
    background: #02060a;
    border: 1px solid rgba(240, 180, 90, 0.38);
    overflow: hidden;
    text-align: left;
}

.qso-lauf-marke {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: var(--bernstein);
    color: var(--nacht);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.qso-lauf-fenster {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.qso-lauf-bahn {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    flex-shrink: 0;
    white-space: nowrap;
    visibility: hidden;
    pointer-events: none;
}

@keyframes qso-lauf-schieben {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--qso-stueck, -100px), 0, 0); }
}

#qso-lauf-blatt {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    backface-visibility: hidden;
    pointer-events: none;
}

.qso-lauf-stueck {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.qso-lauf-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 16px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text);
}

.qso-lauf-zeit { color: var(--dim); }
.qso-lauf-calls { color: var(--bernstein); }
.qso-lauf-land { color: var(--text); }
.qso-lauf-band { color: var(--cyan); }
.qso-lauf-km { color: var(--bernstein); }
.qso-lauf-trenner { color: var(--dim); padding: 0 2px; }

.titel {
    outline: none;
    border-radius: 2px;
    margin-top: auto;
    margin-bottom: auto;
    font-size: clamp(27.5px, 4.25vw, 52.5px);
    letter-spacing: 0.18em;
    color: var(--cyan);
    text-shadow: 0 0 22px rgba(62, 224, 208, 0.55);
    font-weight: 600;
    min-width: 6ch;
    max-width: none;
    width: 100%;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    line-height: 1.15;
}

.titel:hover {
    outline: 1px dashed rgba(62, 224, 208, 0.35);
}

.titel:focus {
    outline: 1px solid var(--cyan);
    background: rgba(62, 224, 208, 0.06);
}

.ticker-panel,
.seite-panel,
.karte-panel,
.iono-panel,
.filter-panel {
    border: 1px solid var(--linie);
    background: var(--panel);
    min-height: 0;
}

.ticker-panel {
    grid-area: ticker;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-right: 4px;
}

.karte-panel {
    grid-area: karte;
    position: relative;
    overflow: hidden;
}

.wspr-lade {
    position: absolute;
    left: 10px;
    bottom: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(5, 8, 15, 0.78);
    border: 1px solid var(--linie);
    color: var(--cyan);
    letter-spacing: 0.08em;
    font-size: 11px;
    text-transform: uppercase;
    z-index: 4;
    pointer-events: none;
}

.sat-fm-alarm {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    min-width: 228px;
    max-width: 280px;
    padding: 10px 12px 8px;
    background: linear-gradient(165deg, #ff3b2f 0%, #d90f0f 42%, #ffb000 100%);
    color: #1a0800;
    border: 3px solid #ffe566;
    box-shadow: 0 0 28px rgba(255, 40, 0, 0.9), 0 0 10px #ffee66;
    animation: sat-fm-puls 1.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sat-fm-puls {
    50% { box-shadow: 0 0 42px rgba(255, 70, 0, 1), 0 0 18px #fff08a; }
}

.sat-fm-alarm[hidden] {
    display: none;
}

/* 12×30°-Kacheln: VOACAP-Inset = 3 links; Weltzeiten ab Kachel 5 (8 Städte). */
.weltzeit-leiste {
    position: absolute;
    left: 33.333%;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1px;
    padding: 0 6px 4px 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 8, 15, 0) 0%, rgba(5, 8, 15, 0.62) 38%, rgba(5, 8, 15, 0.82) 100%);
}

.weltzeit-kachel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding: 2px 2px 0;
    text-align: center;
}

.weltzeit-ort {
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(180, 200, 210, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.weltzeit-uhr {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--cyan);
    line-height: 1.15;
    text-shadow: 0 0 8px rgba(62, 224, 208, 0.35);
}

.weltzeit-sep {
    opacity: 0.15;
    transition: opacity 0.05s linear;
}

.weltzeit-sep.an {
    opacity: 1;
}

.sat-fm-kopf {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff6c8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    margin-bottom: 4px;
}

.sat-fm-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #fff8d0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.sat-fm-zeile {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.sat-fm-zeile span:first-child {
    color: #3a1200;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
}

#sat-fm-rest {
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}

.sat-fm-hinweis {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #3a1200;
    min-height: 1em;
}

.sat-fm-warte {
    position: absolute;
    top: 38px;
    right: 8px;
    z-index: 5;
    min-width: 96px;
    max-width: 124px;
    padding: 3px 7px 4px;
    background: linear-gradient(165deg, rgba(170, 36, 24, 0.42) 0%, rgba(120, 18, 10, 0.38) 55%, rgba(150, 90, 16, 0.36) 100%);
    color: #f0d2a0;
    border: 1px solid rgba(255, 210, 90, 0.38);
    box-shadow: none;
    animation: none;
    pointer-events: none;
    line-height: 1.15;
    text-align: right;
}

.sat-fm-warte[hidden] {
    display: none;
}

.sat-fm-warte-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffe8b0;
}

.sat-fm-warte-in {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    color: #fff4c8;
}

.sat-fm-warte-down {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #fff0c0;
    margin-top: 2px;
}

.sat-fm-warte-max {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #d8b070;
    text-transform: uppercase;
}

.config-sat-fm {
    color: #ffe08a;
}

.wspr-lade[hidden] {
    display: none;
}

.wspr-rad {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(62, 224, 208, 0.22);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: wspr-drehen 0.8s linear infinite;
}

@keyframes wspr-drehen {
    to { transform: rotate(360deg); }
}

.seite-panel {
    grid-area: seite;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 10px;
    margin-left: 4px;
}

.seite-panel .panel-titel,
.seite-panel .kontinente,
.seite-panel .laender {
    transform: scaleX(var(--tafel-schrift-breite));
    transform-origin: top left;
    width: calc(100% / var(--tafel-schrift-breite));
}

.iono-panel {
    grid-area: iono;
    height: auto;
    min-height: 0;
    padding: 4px 10px 2px;
    display: flex;
    flex-direction: column;
}

.iono-panel canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.iono-zeichen {
    position: relative;
    flex: 1;
    min-height: 0;
}

@keyframes iono-hop-wandern {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@keyframes iono-hop-all {
    0% { offset-distance: 0%; opacity: 1; }
    50% { offset-distance: 50%; opacity: 0.61; }
    100% { offset-distance: 100%; opacity: 0; }
}

.iono-hop-pins,
.iono-hop-clip {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.iono-hop-pin {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    visibility: hidden;
    offset-anchor: center;
    offset-rotate: 0deg;
    will-change: offset-distance;
}

.iono-hop-pin-20 {
    background: #fff6d0;
    box-shadow: 0 0 6px #fff6d0;
}

.iono-hop-pin-10 {
    background: #ff3434;
    box-shadow: 0 0 6px #ff3434;
}

.iono-hop-pin-50 {
    background: #bee6ff;
    box-shadow: 0 0 6px #bee6ff;
}

@keyframes iono-iss-flug {
    0% { offset-distance: 0%; opacity: 0; }
    6% { opacity: 1; }
    78% { offset-distance: 100%; opacity: 1; }
    84% { offset-distance: 100%; opacity: 0; }
    100% { offset-distance: 100%; opacity: 0; }
}

.iono-iss {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 14px;
    display: flex;
    align-items: center;
    gap: 1px;
    pointer-events: none;
    z-index: 3;
    visibility: hidden;
    offset-anchor: center;
    offset-rotate: 0deg;
    will-change: offset-distance;
    filter: drop-shadow(0 0 4px rgba(126, 200, 255, 0.65));
}

.iono-iss-fluegel {
    width: 10px;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        #5aa8e8 0 2px,
        #1a4060 2px 3px
    );
}

.iono-iss-modul {
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: #d6e8e4;
    box-shadow: 0 0 0 1px rgba(126, 200, 255, 0.5);
}

.iono-iss-name {
    margin-left: 2px;
    font-size: 8px;
    letter-spacing: 0.08em;
    color: #8ec8ff;
    font-family: ui-monospace, Consolas, monospace;
    text-transform: uppercase;
}

.iono-v-griff,
.iono-muf-griff {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    transform: translateX(-50%);
    cursor: col-resize;
    z-index: 4;
}

.iono-v-griff {
    left: 42%;
}

.iono-muf-griff {
    left: 74%;
}

.teiler {
    background: rgba(62, 224, 208, 0.12);
    transition: background 0.15s ease;
    touch-action: none;
    z-index: 3;
}

.teiler:hover,
.teiler.aktiv {
    background: rgba(62, 224, 208, 0.45);
}

.teiler-v {
    cursor: col-resize;
}

.teiler-h {
    grid-area: split-h;
    cursor: row-resize;
    min-height: 14px;
    margin: 0;
}

#teiler-ticker { grid-area: split-v1; }
#teiler-seite { grid-area: split-v2; }

.filter-panel {
    grid-area: filter;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: flex-end;
    padding: 8px 10px;
    margin-top: 6px;
}

.fuss {
    grid-area: fuss;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--dim);
    text-align: center;
}

.fuss-zeile {
    margin-bottom: 4px;
}

.fuss-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.08em;
}

.fuss-version-hinweis {
    color: var(--bernstein);
}

.qrz-balken {
    display: inline-block;
    width: 88px;
    height: 4px;
    background: rgba(62, 224, 208, 0.12);
    border: 1px solid rgba(62, 224, 208, 0.22);
}

.qrz-balken-fuell {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cyan);
}

.panel-titel {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bernstein);
    padding: 8px 10px 4px;
}

.panel-titel-zweit {
    padding-top: 10px;
}

.ticker-titel {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    transform: scaleX(var(--tafel-schrift-breite));
    transform-origin: left center;
    width: calc(100% / var(--tafel-schrift-breite));
}

.ticker-titel-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ticker-modus,
.ticker-kopie {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.ticker-modus {
    width: auto;
    min-width: 28px;
    padding: 0 4px;
    font-size: 10px;
    letter-spacing: 0.06em;
}

.ticker-modus.aktiv {
    color: var(--bernstein);
    border-color: var(--bernstein);
}

.ticker-modus:hover,
.ticker-kopie:hover {
    color: var(--bernstein);
    border-color: var(--bernstein);
}

.ticker-anzahl {
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--dim);
}

.ticker-max {
    letter-spacing: 0.08em;
    text-align: right;
    color: var(--cyan);
    opacity: 1;
    transition: opacity 0.2s linear;
    white-space: nowrap;
}

.ticker-max.tafel-aus {
    opacity: 0;
}

.ticker-fenster {
    flex: 1;
    overflow: auto;
    padding: 0 8px 8px;
    transform: scaleX(var(--tafel-schrift-breite));
    transform-origin: top left;
    width: calc(100% / var(--tafel-schrift-breite));
}

.ticker-kopf,
.ticker li {
    display: grid;
    grid-template-columns: 36px 36px 18px 36px minmax(70px, 1fr) minmax(32px, auto) 40px;
    gap: 4px;
    align-items: baseline;
}

.ticker-kopf {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 2px 0 4px;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dim);
    background: rgba(7, 14, 26, 0.94);
    border-bottom: 1px solid var(--linie);
}

.ticker {
    list-style: none;
    padding: 0;
}

.ticker li {
    font-size: 11px;
    line-height: 1.55;
    color: var(--text);
    border-bottom: 1px solid rgba(62, 224, 208, 0.08);
    opacity: 1;
    transition: opacity 0.2s linear;
}

.ticker li.tafel-aus {
    opacity: 0;
}

.ticker li.tafel-neu {
    opacity: 0;
}

.ticker li.jung,
.ticker li.jung .gegen {
    color: var(--bernstein);
}

.ticker .eigen {
    color: var(--dim);
}

.ticker li.jung .eigen {
    color: rgba(240, 180, 90, 0.45);
}

.ticker .land {
    color: var(--dim);
}

.ticker .band,
.ticker-kopf .band {
    text-align: right;
}

/* Herkunft ohne eigene Spalte: Cluster in der Titelfarbe, RBN unmarkiert. */
.ticker .mode.dxc {
    color: var(--cyan);
}

.ticker .km,
.ticker-kopf .km {
    text-align: right;
}

.ticker .calls {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#weltkarte,
#iono {
    display: block;
    width: 100%;
    height: 100%;
}

.kontinente,
.laender {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    min-height: 0;
}

.balken-zeile {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 6px;
    align-items: center;
    font-size: 12px;
}

.balken-zeile.land {
    grid-template-columns: 72px 1fr;
    font-size: 11px;
    opacity: 1;
    transition: opacity 0.2s linear;
}

.balken-zeile.land.tafel-aus {
    opacity: 0;
}

.balken-name {
    color: var(--dim);
    white-space: nowrap;
}

.balken-zeile.land .balken-name {
    overflow: visible;
    position: relative;
    z-index: 0;
}

.balken-feld {
    position: relative;
    min-height: 16px;
}

.balken-zeile.land .balken-feld {
    z-index: 1;
    overflow: hidden;
    background: var(--nacht);
}

.balken-wert {
    position: relative;
    z-index: 1;
    display: block;
    padding: 1px 6px;
    color: var(--cyan);
    text-align: left;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(5, 8, 15, 0.95);
}

.balken-track {
    position: absolute;
    inset: 0;
    height: auto;
    background: rgba(62, 224, 208, 0.08);
    border: 1px solid rgba(62, 224, 208, 0.18);
    overflow: hidden;
}

.balken-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
    box-shadow: 0 0 10px rgba(62, 224, 208, 0.45);
    transition: width 0.8s ease;
}

.filter-feld {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
}

.filter-feld input {
    background: rgba(5, 8, 15, 0.7);
    border: 1px solid var(--linie);
    color: var(--cyan);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 5px 8px;
    min-width: 160px;
}

#filter-calls {
    min-width: 28rem;
}

#filter-locator {
    min-width: 80px;
    width: 80px;
}

.filter-feld input:focus {
    outline: 1px solid var(--cyan);
}

.calls-toggle {
    background: none;
    border: none;
    padding: 0;
    color: var(--cyan);
    font: inherit;
    letter-spacing: inherit;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
}

.calls-toggle.aktiv {
    color: var(--bernstein);
}

.steg-knopf {
    position: absolute;
    top: 6px;
    right: 104px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.steg-knopf:hover,
.lade-knopf:hover,
.nacht-knopf:hover {
    color: var(--bernstein);
    border-color: var(--bernstein);
}

.nacht-knopf {
    position: absolute;
    top: 6px;
    right: 72px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.nacht-knopf.nacht-aktiv {
    color: var(--bernstein);
}

.nacht-zeichen {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.nacht-zeichen-mond {
    visibility: hidden;
}

.nacht-knopf.nacht-wahl-an .nacht-zeichen-sonne {
    visibility: hidden;
}

.nacht-knopf.nacht-wahl-an .nacht-zeichen-mond,
.nacht-knopf.nacht-wahl-auto .nacht-zeichen-sonne,
.nacht-knopf.nacht-wahl-auto .nacht-zeichen-mond {
    visibility: visible;
}

.nacht-knopf.nacht-wahl-auto .nacht-zeichen-sonne {
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0 0 1px 1px;
    font-size: 13px;
    color: var(--bernstein);
}

.nacht-knopf.nacht-wahl-auto .nacht-zeichen-mond {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1px 2px 0 0;
    font-size: 13px;
    color: var(--cyan);
}

.lade-knopf {
    position: absolute;
    top: 6px;
    right: 40px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.steg-leiste {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 20;
    transform: translateX(-50%);
    border: 1px solid var(--linie);
    border-bottom: 0;
    background: var(--panel);
    color: var(--cyan);
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 16px 8px;
    cursor: pointer;
}

.kiosk.steg-zu .steg-leiste {
    display: block;
}

.steg-leiste:hover {
    color: var(--bernstein);
    border-color: var(--bernstein);
}

.config-knopf {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.config-knopf:hover {
    color: var(--bernstein);
    border-color: var(--bernstein);
}

.config-schicht {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 15, 0.72);
    padding: 20px;
}

.config-schicht[hidden] {
    display: none;
}

.config-karte {
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid var(--linie);
    background: #07101a;
    box-shadow: var(--glow);
    padding: 14px 16px 16px;
}

.config-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.config-titel {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bernstein);
}

.config-zu,
.config-aktion {
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--cyan);
    padding: 6px 10px;
    cursor: pointer;
}

.config-zu:hover,
.config-aktion:hover {
    border-color: var(--cyan);
}

.config-warn {
    color: var(--bernstein);
}

#config-nacht,
#config-sat-alarm,
#config-wolken,
#config-iono-jahr {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

#config-nacht button,
#config-sat-alarm button,
#config-wolken button,
#config-iono-jahr button {
    background: transparent;
    border: 1px solid var(--linie);
    color: var(--dim);
    font-family: inherit;
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
}

#config-nacht button.aktiv,
#config-sat-alarm button.aktiv,
#config-wolken button.aktiv,
#config-iono-jahr button.aktiv {
    color: var(--nacht);
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

.config-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.config-block h3 {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
}

.config-feld {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: var(--dim);
}

.config-feld input,
.config-feld textarea {
    font-family: inherit;
    font-size: 13px;
    color: var(--text);
    background: rgba(5, 8, 15, 0.7);
    border: 1px solid var(--linie);
    padding: 6px 8px;
    resize: vertical;
}

.config-text {
    font-size: 11px;
    color: var(--dim);
    line-height: 1.45;
}

.config-reiter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.config-reiter button {
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--linie);
    background: transparent;
    color: var(--dim);
    padding: 5px 9px;
    cursor: pointer;
}

.config-reiter button.aktiv {
    color: var(--nacht);
    background: var(--cyan);
    border-color: var(--cyan);
}

.config-sat-liste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin: 4px 0 8px;
}

.config-sat-zeile {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
}

.config-sat-zeile input {
    accent-color: #7ec8ff;
}

.config-seite[hidden] {
    display: none;
}

.config-hinweis {
    min-height: 1.2em;
    font-size: 11px;
    color: var(--bernstein);
}

.filter-gruppe {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.filter-gruppe legend {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    padding-bottom: 4px;
}

.filter-gruppe button {
    background: transparent;
    border: 1px solid var(--linie);
    color: var(--dim);
    font-family: inherit;
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
}

.filter-gruppe button.aktiv {
    color: var(--nacht);
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

#filter-band button[data-band="80"] { color: var(--band-80); border-color: var(--band-80); }
#filter-band button[data-band="40"] { color: var(--band-40); border-color: var(--band-40); }
#filter-band button[data-band="30"] { color: var(--band-30); border-color: var(--band-30); }
#filter-band button[data-band="20"] { color: var(--band-20); border-color: var(--band-20); }
#filter-band button[data-band="17"] { color: var(--band-17); border-color: var(--band-17); }
#filter-band button[data-band="15"] { color: var(--band-15); border-color: var(--band-15); }
#filter-band button[data-band="12"] { color: var(--band-12); border-color: var(--band-12); }
#filter-band button[data-band="10"] { color: var(--band-10); border-color: var(--band-10); }

#filter-band button[data-band="80"].aktiv { color: var(--nacht); background: var(--band-80); box-shadow: 0 0 10px var(--band-80); }
#filter-band button[data-band="40"].aktiv { color: var(--nacht); background: var(--band-40); box-shadow: 0 0 10px var(--band-40); }
#filter-band button[data-band="30"].aktiv { color: var(--nacht); background: var(--band-30); box-shadow: 0 0 10px var(--band-30); }
#filter-band button[data-band="20"].aktiv { color: var(--nacht); background: var(--band-20); box-shadow: 0 0 10px var(--band-20); }
#filter-band button[data-band="17"].aktiv { color: var(--nacht); background: var(--band-17); box-shadow: 0 0 10px var(--band-17); }
#filter-band button[data-band="15"].aktiv { color: var(--nacht); background: var(--band-15); box-shadow: 0 0 10px var(--band-15); }
#filter-band button[data-band="12"].aktiv { color: var(--nacht); background: var(--band-12); box-shadow: 0 0 10px var(--band-12); }
#filter-band button[data-band="10"].aktiv { color: var(--nacht); background: var(--band-10); box-shadow: 0 0 10px var(--band-10); }

@media (max-width: 1400px) {
    .kiosk {
        --ticker-breite: 400px;
        --seite-breite: 220px;
    }
}

@media (max-height: 800px) {
    .kiosk { --iono-hoehe: 160px; }
    .titel { font-size: 27.5px; letter-spacing: 0.12em; }
    .steg-knopf,
    .lade-knopf,
    .nacht-knopf,
    .config-knopf {
        width: 32px;
        height: 32px;
    }
}
