:root {
    color-scheme: dark;
    --bg: #030711;
    --bg-raised: #07111f;
    --panel: rgba(8, 20, 35, 0.88);
    --panel-strong: rgba(10, 26, 44, 0.96);
    --line: rgba(126, 207, 255, 0.18);
    --line-bright: rgba(126, 207, 255, 0.45);
    --text: #f4f9ff;
    --muted: #9eb0c2;
    --cyan: #56d7ff;
    --blue: #4d8dff;
    --green: #54e3a4;
    --amber: #ffc861;
    --orange: #ff8c52;
    --red: #ff5d71;
    --purple: #b58cff;
    --radius: 20px;
    --radius-small: 12px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --content-width: 1600px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at 15% -10%, rgba(54, 120, 225, 0.22), transparent 34rem),
        radial-gradient(circle at 90% 22%, rgba(72, 209, 255, 0.12), transparent 30rem),
        linear-gradient(180deg, #030711 0%, #06101c 48%, #030711 100%);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}
button, input, select { font: inherit; }
button { color: inherit; }
a { color: var(--cyan); }

.space-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(86,215,255,.65) 0 1px, transparent 1.2px);
    background-position: 0 0, 47px 71px;
    background-size: 137px 137px, 211px 211px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 10px;
    background: white;
    color: black;
}
.skip-link:focus { transform: translateY(0); }

.site-header,
.app-shell,
.site-footer {
    width: min(calc(100% - 28px), var(--content-width));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 26px 20px;
}
.brand-block { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand-block h1 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.5rem); letter-spacing: -0.035em; }
.brand-subtitle { margin: 2px 0 0; color: var(--muted); font-size: 0.94rem; }
.brand-orbit {
    width: 58px;
    aspect-ratio: 1;
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(86, 215, 255, 0.5);
    border-radius: 50%;
    transform: rotate(-22deg);
    box-shadow: inset 0 0 18px rgba(86, 215, 255, 0.16), 0 0 26px rgba(86, 215, 255, 0.12);
}
.brand-orbit::before,
.brand-orbit::after {
    content: "";
    position: absolute;
    inset: 8px -8px;
    border: 1px solid rgba(77, 141, 255, 0.58);
    border-radius: 50%;
}
.brand-orbit::after { inset: 18px -14px; border-color: rgba(181, 140, 255, 0.5); }
.brand-orbit span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    top: 3px;
    left: 25px;
    box-shadow: 0 0 16px var(--cyan);
}
.header-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.88rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px currentColor; }
.status-dot.is-ok { background: var(--green); }
.status-dot.is-error { background: var(--red); }
.mode-badge,
.object-type-badge,
.priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    background: rgba(86, 215, 255, 0.08);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.app-shell { display: grid; gap: 18px; padding-bottom: 34px; }
.panel,
.urgent-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(11, 29, 49, 0.92), rgba(4, 13, 24, 0.9));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.panel { padding: 20px; }
.panel::before,
.urgent-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255,255,255,0.035), transparent 28%);
}
.panel-heading { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.55rem); letter-spacing: -0.02em; }
.eyebrow { margin: 0 0 4px; color: var(--cyan); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; }

.urgent-card {
    padding: 22px;
    background:
        linear-gradient(110deg, rgba(27, 74, 107, 0.72), rgba(8, 23, 41, 0.96) 48%, rgba(31, 22, 61, 0.86)),
        var(--panel);
}
.urgent-card.is-urgent { border-color: rgba(255, 93, 113, 0.55); }
.urgent-card.is-warning { border-color: rgba(255, 200, 97, 0.5); }
.urgent-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    top: -280px;
    right: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86, 215, 255, 0.32), transparent 68%);
    pointer-events: none;
}
.urgent-heading { position: relative; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.urgent-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2.2rem); letter-spacing: -0.035em; }
.priority-neutral { color: var(--cyan); }
.priority-watch { color: var(--amber); border-color: rgba(255, 200, 97, .45); background: rgba(255, 200, 97, .09); }
.priority-urgent { color: var(--red); border-color: rgba(255, 93, 113, .52); background: rgba(255, 93, 113, .1); animation: priorityPulse 2s ease-in-out infinite; }
@keyframes priorityPulse { 50% { box-shadow: 0 0 22px rgba(255, 93, 113, .24); } }
.urgent-grid { position: relative; display: grid; gap: 10px; margin-top: 20px; }
.urgent-grid > div {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(126, 207, 255, 0.13);
    border-radius: var(--radius-small);
    background: rgba(3, 11, 20, 0.42);
}
.metric-label { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; }
.urgent-grid strong { display: block; margin-top: 3px; font-size: 1.05rem; overflow-wrap: anywhere; }
.countdown-value { font-variant-numeric: tabular-nums; font-size: clamp(1.5rem, 2.8vw, 2.6rem) !important; letter-spacing: 0.03em; }
.metric-note { display: block; margin-top: 3px; color: var(--muted); font-size: 0.82rem; }
.urgent-direction { display: flex; align-items: center; gap: 14px; }
.mini-compass {
    width: 68px;
    aspect-ratio: 1;
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(86, 215, 255, .42);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86,215,255,.09), transparent 68%);
}
.mini-compass span:not(.compass-arrow) { position: absolute; color: var(--muted); font-size: .58rem; font-weight: 800; }
.mini-compass .north { top: 3px; left: 50%; transform: translateX(-50%); color: var(--red) !important; }
.mini-compass .east { right: 5px; top: 50%; transform: translateY(-50%); }
.mini-compass .south { bottom: 3px; left: 50%; transform: translateX(-50%); }
.mini-compass .west { left: 5px; top: 50%; transform: translateY(-50%); }
.compass-arrow {
    position: absolute;
    left: calc(50% - 2px);
    top: 14px;
    width: 4px;
    height: 26px;
    border-radius: 99px;
    background: linear-gradient(to bottom, var(--cyan) 0 55%, rgba(255,255,255,.2) 55%);
    transform-origin: 50% 20px;
    transform: rotate(0deg);
    box-shadow: 0 0 10px rgba(86,215,255,.7);
}
.compass-arrow::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -4px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 9px solid var(--cyan);
}
.urgent-explanation { position: relative; margin: 14px 0 0; color: #c5d2df; }
.urgent-actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.button,
.icon-button,
.chip {
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.button:hover,
.icon-button:hover,
.chip:hover { transform: translateY(-1px); }
.button:focus-visible,
.icon-button:focus-visible,
.chip:focus-visible,
input:focus-visible,
select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.button { min-height: 44px; padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.button-primary { background: linear-gradient(135deg, #2da7e0, #4d72ff); color: white; box-shadow: 0 10px 28px rgba(57, 130, 255, .2); }
.button-secondary { border-color: var(--line-bright); background: rgba(86, 215, 255, .07); color: var(--cyan); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; border-color: var(--line-bright); background: rgba(86, 215, 255, .08); color: var(--cyan); font-size: 1.25rem; }
.chip { min-height: 34px; padding: 6px 11px; border-radius: 999px; border-color: var(--line); background: rgba(255,255,255,.035); color: var(--muted); font-size: .78rem; font-weight: 800; }
.chip.is-active { color: var(--text); border-color: rgba(86,215,255,.48); background: rgba(86,215,255,.13); }

.observer-form { position: relative; display: grid; gap: 12px; align-items: end; }
.observer-form label { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.observer-form input,
.observer-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(3, 11, 20, .62);
    color: var(--text);
    padding: 9px 11px;
}
.form-status { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: .84rem; }

.tracking-layout { display: grid; gap: 18px; min-width: 0; }
.globe-panel { padding: 0; min-width: 0; }
.globe-heading { padding: 20px 20px 0; }
.globe-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.globe-wrap { position: relative; min-height: 480px; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
#cesium-container { position: absolute; inset: 0; background: #02050a; }
.globe-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle, rgba(13, 51, 79, .96), rgba(2, 7, 13, .98));
    color: var(--muted);
    transition: opacity .35s ease, visibility .35s ease;
}
.globe-loading strong { color: var(--text); }
.globe-loading.is-hidden { opacity: 0; visibility: hidden; }
.loader-orbit { width: 58px; height: 58px; position: relative; border: 1px solid rgba(86,215,255,.55); border-radius: 50%; animation: spin 1.6s linear infinite; }
.loader-orbit::after { content: ""; position: absolute; top: -3px; left: 26px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.globe-legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(2, 9, 16, .78);
    backdrop-filter: blur(10px);
    color: var(--muted);
    font-size: .7rem;
}
.globe-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-line { width: 18px; height: 3px; border-radius: 4px; background: var(--cyan); }
.ground-line { background: var(--purple); }
.pass-line { height: 4px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 13px); }
.window-line { height: 7px; background: rgba(255, 140, 82, .65); }
.cesium-viewer-bottom,
.cesium-viewer-toolbar,
.cesium-viewer-fullscreenContainer { display: none !important; }
.cesium-widget-credits { font-size: 9px !important; }

.detail-list { position: relative; display: grid; margin: 0; }
.detail-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(126,207,255,.1); }
.detail-list dt { color: var(--muted); font-size: .78rem; }
.detail-list dd { margin: 0; text-align: right; font-weight: 750; overflow-wrap: anywhere; }
.accuracy-box { position: relative; margin-top: 16px; padding: 13px; border: 1px solid rgba(255,200,97,.25); border-radius: 12px; background: rgba(255,200,97,.06); }
.accuracy-box strong { color: var(--amber); }
.accuracy-box p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }

.objects-heading { align-items: center; }
.object-filter { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.object-cards { display: grid; gap: 10px; }
.object-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(3, 11, 20, .4);
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.object-card:hover { transform: translateY(-1px); border-color: var(--line-bright); }
.object-card.is-selected { border-color: rgba(86,215,255,.55); background: rgba(86,215,255,.08); }
.object-card-header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.object-card h3 { margin: 0; font-size: 1rem; }
.object-card p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.object-card-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.object-card-metrics div { min-width: 0; padding: 8px; border-radius: 9px; background: rgba(255,255,255,.035); }
.object-card-metrics span { display: block; color: var(--muted); font-size: .65rem; }
.object-card-metrics strong { display: block; margin-top: 2px; font-size: .8rem; overflow-wrap: anywhere; }
.object-card-status { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.object-card-status.is-warning { color: var(--amber); }
.object-card-status.is-urgent { color: var(--red); }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid rgba(126,207,255,.11); border-radius: 12px; }
.object-table { width: 100%; border-collapse: collapse; min-width: 840px; }
.object-table th,
.object-table td { padding: 12px 13px; border-bottom: 1px solid rgba(126,207,255,.09); text-align: left; font-size: .8rem; }
.object-table th { color: var(--muted); font-size: .68rem; letter-spacing: .08em; background: rgba(255,255,255,.025); }
.object-table tbody tr { cursor: pointer; }
.object-table tbody tr:hover { background: rgba(86,215,255,.055); }
.object-table tbody tr.is-selected { background: rgba(86,215,255,.09); }
.empty-state { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 13px; }

.info-grid { display: grid; gap: 18px; }
.info-card h2 { margin: 0; font-size: 1.15rem; }
.info-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.warning-info { border-color: rgba(255,200,97,.27); }
.data-timestamp { font-size: .78rem; }

.site-footer { padding: 18px 0 34px; color: var(--muted); text-align: center; font-size: .78rem; }
.site-footer p { margin: 5px 0; }
.noscript-warning { position: fixed; inset: auto 10px 10px; z-index: 10000; padding: 12px; border-radius: 10px; background: var(--red); color: white; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* v1.0.2: independent clock and runtime fallback */
.header-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}
.live-clock {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    column-gap: 9px;
    row-gap: 0;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 11, 20, .58);
    box-shadow: inset 0 0 18px rgba(86, 215, 255, .04);
    white-space: nowrap;
}
.live-clock-label {
    grid-column: 1 / -1;
    color: var(--cyan);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .15em;
}
#live-clock-time {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    letter-spacing: .035em;
}
#live-clock-date {
    color: var(--muted);
    font-size: .72rem;
}
.runtime-notice {
    padding: 12px 15px;
    border: 1px solid rgba(255, 200, 97, .42);
    border-radius: 13px;
    background: rgba(94, 65, 9, .24);
    color: #ffe2a5;
    font-size: .9rem;
}
.runtime-notice.is-error {
    border-color: rgba(255, 93, 113, .46);
    background: rgba(92, 16, 31, .24);
    color: #ffc0c9;
}
.runtime-notice.is-success {
    border-color: rgba(89, 239, 178, .46);
    background: rgba(12, 78, 58, .24);
    color: #bfffe4;
}
.runtime-notice[hidden] { display: none !important; }

/* v1.0.3: visible component status lights */
.system-status-panel { padding: 18px; }
.system-status-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}
.system-status-heading h2 { margin: 2px 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.system-overall {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: min(100%, 430px);
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(3, 11, 20, .62);
}
.system-overall div { display: grid; min-width: 0; }
.system-overall strong { font-size: .88rem; }
.system-overall span:not(.system-light) { color: var(--muted); font-size: .7rem; }
.system-recheck { min-height: 34px; padding: 7px 10px; font-size: .72rem; }
.system-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}
.system-service {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-height: 76px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 11, 20, .48);
}
.system-service[data-status="ok"] { border-color: rgba(77, 234, 153, .32); }
.system-service[data-status="warning"] { border-color: rgba(255, 200, 97, .34); }
.system-service[data-status="error"] { border-color: rgba(255, 93, 113, .38); }
.system-service div { display: grid; gap: 4px; min-width: 0; }
.system-service strong { font-size: .78rem; line-height: 1.2; }
.system-service span:not(.system-light) { color: var(--muted); font-size: .68rem; line-height: 1.35; overflow-wrap: anywhere; }
.system-light,
.legend-light {
    display: inline-block;
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 11px currentColor;
}
.system-light.is-loading { color: var(--amber); background: var(--amber); animation: statusPulse 1.35s ease-in-out infinite; }
.system-light.is-ok,
.legend-light.is-ok { color: var(--green); background: var(--green); }
.system-light.is-warning,
.legend-light.is-warning { color: var(--amber); background: var(--amber); }
.system-light.is-error,
.legend-light.is-error { color: var(--red); background: var(--red); }
.system-status-help { margin: 10px 0 0; color: var(--muted); font-size: .68rem; }
.legend-light { width: 7px; height: 7px; margin: 0 3px 0 8px; box-shadow: none; }
.legend-light:first-child { margin-left: 0; }
@keyframes statusPulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* v1.0.5: Beobachtungswetter zur berechneten Sichtungszeit */
.weather-panel {
    position: relative;
    overflow: hidden;
}
.weather-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 92% 5%, rgba(86, 215, 255, .09), transparent 34%),
        linear-gradient(110deg, transparent 0 70%, rgba(89, 239, 178, .025));
}
.weather-panel > * { position: relative; }
.weather-heading {
    align-items: center;
    gap: 20px;
}
.weather-heading h2 { margin-bottom: 4px; }
.weather-time {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
}
.weather-score {
    display: grid;
    place-items: center;
    align-content: center;
    flex: 0 0 auto;
    width: 94px;
    height: 94px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: rgba(3, 11, 20, .72);
    box-shadow: inset 0 0 22px rgba(86, 215, 255, .05), 0 0 22px rgba(86, 215, 255, .05);
}
.weather-score span {
    font-size: 1.8rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.weather-score small {
    margin-top: 5px;
    color: var(--muted);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.weather-score.is-loading { color: var(--amber); }
.weather-score.is-good { color: var(--green); border-color: rgba(89, 239, 178, .55); box-shadow: inset 0 0 24px rgba(89, 239, 178, .08), 0 0 24px rgba(89, 239, 178, .12); }
.weather-score.is-mixed { color: var(--amber); border-color: rgba(255, 200, 97, .55); box-shadow: inset 0 0 24px rgba(255, 200, 97, .08), 0 0 24px rgba(255, 200, 97, .1); }
.weather-score.is-poor { color: var(--red); border-color: rgba(255, 93, 113, .58); box-shadow: inset 0 0 24px rgba(255, 93, 113, .08), 0 0 24px rgba(255, 93, 113, .1); }
.weather-summary {
    display: grid;
    gap: 10px;
    margin-top: 17px;
}
.weather-condition,
.weather-metric {
    min-width: 0;
    min-height: 94px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(3, 11, 20, .48);
}
.weather-condition {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}
.weather-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(86, 215, 255, .25);
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(86, 215, 255, .05);
    font-size: 1.7rem;
}
.weather-condition div,
.weather-metric { display: grid; align-content: center; gap: 4px; }
.weather-condition strong,
.weather-metric strong { font-size: .92rem; line-height: 1.25; }
.weather-condition span:not(.weather-icon),
.weather-metric span { color: var(--muted); font-size: .68rem; }
.weather-metric small {
    color: var(--muted);
    font-size: .61rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.weather-recommendation {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 13px;
    background: rgba(3, 11, 20, .52);
}
.weather-recommendation.is-loading { border-left-color: var(--amber); }
.weather-recommendation.is-good { border-color: rgba(89, 239, 178, .32); border-left-color: var(--green); }
.weather-recommendation.is-mixed { border-color: rgba(255, 200, 97, .34); border-left-color: var(--amber); }
.weather-recommendation.is-poor { border-color: rgba(255, 93, 113, .36); border-left-color: var(--red); }
.weather-recommendation strong { font-size: .92rem; }
.weather-recommendation p { margin: 5px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.weather-recommendation .weather-reasons { color: rgba(224, 238, 250, .72); font-size: .68rem; }
.weather-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.weather-footer > span { color: var(--muted); font-size: .68rem; }
.weather-provider-note {
    margin: 11px 0 0;
    color: rgba(170, 193, 211, .72);
    font-size: .62rem;
    line-height: 1.45;
}
.weather-provider-note a { color: var(--cyan); }

/* Unique visitor counter · v1.0.8 */
.visitor-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 auto 0.85rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(93, 221, 255, 0.28);
    border-radius: 999px;
    background: rgba(3, 17, 31, 0.76);
    color: var(--text-main, #eef7ff);
    box-shadow: inset 0 0 18px rgba(49, 199, 255, 0.05);
}

.visitor-counter-icon {
    color: #ffca5c;
    text-shadow: 0 0 12px rgba(255, 202, 92, 0.72);
}

.visitor-counter strong {
    min-width: 2ch;
    color: #62edbe;
    font-size: 1.08rem;
    font-variant-numeric: tabular-nums;
}

.visitor-counter small {
    flex-basis: 100%;
    color: var(--text-muted, #a8b7c7);
    font-size: 0.76rem;
}

.visitor-counter.is-ready {
    border-color: rgba(98, 237, 190, 0.42);
}

.visitor-counter.is-ready .visitor-counter-icon {
    color: #62edbe;
    text-shadow: 0 0 12px rgba(98, 237, 190, 0.78);
}

.visitor-counter.is-error {
    border-color: rgba(255, 107, 124, 0.38);
}

.visitor-counter.is-error .visitor-counter-icon {
    color: #ff6b7c;
    text-shadow: 0 0 12px rgba(255, 107, 124, 0.64);
}

@media (max-width: 767px) {
    .visitor-counter {
        width: min(100%, 22rem);
        border-radius: 1rem;
    }
}

/* v1.0.9: Abschiedsflug-/Letzte-Reise-Hero */
.journey-hero {
    isolation: isolate;
    min-height: 320px;
    padding: clamp(20px, 3vw, 34px);
    border-color: rgba(255, 140, 82, 0.34);
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 140, 82, 0.16), transparent 28rem),
        radial-gradient(circle at 65% 110%, rgba(181, 140, 255, 0.12), transparent 26rem),
        linear-gradient(118deg, rgba(15, 36, 58, 0.97), rgba(7, 18, 33, 0.96) 54%, rgba(36, 18, 45, 0.9));
}
.journey-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .3;
    background-image: radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.2px);
    background-size: 83px 83px;
    mask-image: linear-gradient(90deg, transparent 0 40%, #000 70%);
}
.journey-copy { position: relative; z-index: 2; max-width: 1180px; }
.journey-kicker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.journey-kicker-row .eyebrow { color: var(--orange); }
.journey-hero h2 {
    max-width: 980px;
    margin: 8px 0 7px;
    font-size: clamp(1.65rem, 3.25vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.journey-summary {
    max-width: 960px;
    margin: 0;
    color: #c8d5e2;
    font-size: clamp(.9rem, 1.3vw, 1.08rem);
    line-height: 1.55;
}
.journey-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(86, 215, 255, .36);
    border-radius: 999px;
    background: rgba(86, 215, 255, .08);
    color: var(--cyan);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    white-space: nowrap;
}
.journey-badge.is-loading { color: var(--amber); border-color: rgba(255, 200, 97, .38); }
.journey-badge.is-urgent { color: var(--red); border-color: rgba(255, 93, 113, .52); background: rgba(255, 93, 113, .1); animation: priorityPulse 2s ease-in-out infinite; }
.journey-badge.is-warning { color: var(--amber); border-color: rgba(255, 200, 97, .45); background: rgba(255, 200, 97, .08); }
.journey-badge.is-info { color: var(--cyan); }
.journey-badge.is-calm { color: var(--green); border-color: rgba(84, 227, 164, .4); background: rgba(84, 227, 164, .07); }
.journey-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.journey-metrics > div {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 92px;
    padding: 13px 14px;
    border: 1px solid rgba(126, 207, 255, .14);
    border-radius: 14px;
    background: rgba(3, 11, 20, .5);
}
.journey-metrics span {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .12em;
}
.journey-metrics strong {
    margin-top: 3px;
    font-size: .98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.journey-metrics > div:nth-child(2) strong {
    color: var(--amber);
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-variant-numeric: tabular-nums;
}
.journey-metrics > div:last-child strong { color: var(--green); }
.journey-metrics small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .65rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.journey-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.journey-actions .button { text-decoration: none; }
.journey-note { margin: 13px 0 0; color: rgba(170, 193, 211, .78); font-size: .69rem; line-height: 1.5; }
.journey-orbit {
    position: absolute;
    right: clamp(-110px, -4vw, -30px);
    top: 50%;
    width: clamp(240px, 30vw, 470px);
    aspect-ratio: 1;
    transform: translateY(-50%) rotate(-18deg);
    border: 1px solid rgba(255, 140, 82, .18);
    border-radius: 50%;
    opacity: .55;
    z-index: 1;
    pointer-events: none;
}
.journey-orbit::before,
.journey-orbit::after {
    content: "";
    position: absolute;
    inset: 13% -8%;
    border: 1px solid rgba(86, 215, 255, .22);
    border-radius: 50%;
}
.journey-orbit::after { inset: 28% -15%; border-color: rgba(181, 140, 255, .24); }
.journey-orbit span {
    position: absolute;
    top: 5%;
    left: 49%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 24px var(--orange);
}
.journey-orbit i {
    position: absolute;
    inset: 29%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(86, 215, 255, .3), rgba(42, 91, 133, .2) 45%, rgba(3, 11, 20, .6));
    box-shadow: inset -18px -12px 30px rgba(0,0,0,.45), 0 0 40px rgba(86, 215, 255, .09);
}
#object-analysis { scroll-margin-top: 18px; }

/* v1.0.12 · Privacy, legal links and release polish */
.legal-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem 1rem;
    margin: .9rem 0 .35rem;
}

.legal-footer-nav a,
.legal-footer-nav button {
    color: var(--color-cyan, #74e8ff);
    background: none;
    border: 0;
    padding: .25rem 0;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}

.privacy-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 4, 12, .74);
    backdrop-filter: blur(4px);
}

.privacy-panel {
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: min(760px, calc(100vw - 2rem));
    max-height: min(86vh, 760px);
    overflow: auto;
    transform: translateX(-50%);
    border: 1px solid rgba(116, 232, 255, .38);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(8, 20, 38, .99), rgba(3, 10, 23, .99));
    box-shadow: 0 28px 100px rgba(0, 0, 0, .62), 0 0 36px rgba(86, 215, 255, .12);
    color: #f3f8ff;
}

.privacy-panel[hidden],
.privacy-backdrop[hidden] {
    display: none !important;
}

.privacy-panel__inner {
    padding: clamp(1.1rem, 3vw, 1.7rem);
}

.privacy-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.privacy-panel h2 {
    margin: .15rem 0 .45rem;
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.privacy-panel p {
    color: #c5d6e8;
    line-height: 1.58;
}

.privacy-close {
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.privacy-options {
    display: grid;
    gap: .75rem;
    margin: 1.1rem 0;
}

.privacy-option {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: rgba(255,255,255,.035);
}

.privacy-option strong,
.privacy-option small {
    display: block;
}

.privacy-option small {
    margin-top: .25rem;
    color: #9fb6cc;
    line-height: 1.45;
}

.privacy-option input {
    width: 1.35rem;
    height: 1.35rem;
    accent-color: #54e3a4;
}

.privacy-always-on {
    color: #54e3a4;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .04em;
}

.privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.privacy-actions .button {
    flex: 1 1 190px;
}

.privacy-links {
    margin: 1rem 0 0;
    font-size: .9rem;
}

.privacy-links a {
    color: #74e8ff;
}

html.privacy-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .privacy-panel {
        width: calc(100vw - 1rem);
        bottom: max(.5rem, env(safe-area-inset-bottom));
        border-radius: 18px;
    }

    .privacy-option {
        grid-template-columns: 1fr auto;
        padding: .85rem;
    }

    .privacy-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* v1.0.12: legal navigation and consent-aware release footer */
.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem .9rem;
    margin: 1rem auto .65rem;
    max-width: 980px;
}

.footer-legal-nav a,
.footer-legal-nav button {
    color: #b9d7e9;
    background: none;
    border: 0;
    padding: .25rem .1rem;
    font: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(116, 232, 255, .35);
    text-underline-offset: .22em;
    cursor: pointer;
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus-visible,
.footer-legal-nav button:hover,
.footer-legal-nav button:focus-visible {
    color: #74e8ff;
    text-decoration-color: currentColor;
}


/* v1.0.13 · automatische Satellitenverfolgung */
.chip.is-tracking {
    color: #eafff7;
    border-color: rgba(84, 227, 164, .75);
    background: rgba(84, 227, 164, .17);
    box-shadow: 0 0 0 1px rgba(84, 227, 164, .12), 0 0 18px rgba(84, 227, 164, .13);
}

.tracking-status {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100% - 28px));
    padding: 9px 12px;
    border: 1px solid rgba(84, 227, 164, .38);
    border-radius: 12px;
    background: rgba(2, 9, 16, .82);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    backdrop-filter: blur(9px);
    pointer-events: none;
}

.tracking-status[hidden] { display: none; }

.tracking-status-light {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #54e3a4;
    box-shadow: 0 0 0 0 rgba(84, 227, 164, .55);
    animation: tracking-pulse 1.8s infinite;
}

.tracking-status div {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.tracking-status strong {
    color: #aef8d5;
    font-size: .68rem;
    letter-spacing: .12em;
}

.tracking-status span:last-child {
    overflow: hidden;
    color: #f3f8ff;
    font-size: .76rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes tracking-pulse {
    0% { box-shadow: 0 0 0 0 rgba(84, 227, 164, .52); }
    70% { box-shadow: 0 0 0 9px rgba(84, 227, 164, 0); }
    100% { box-shadow: 0 0 0 0 rgba(84, 227, 164, 0); }
}

@media (max-width: 767px) {
    .tracking-status {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 8px 10px;
    }
    .tracking-status span:last-child {
        max-width: 72vw;
        font-size: .7rem;
    }
}

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


/* v1.0.15: clearer system-check guidance */
.system-guidance {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(75, 208, 255, 0.22);
    border-radius: 14px;
    background: rgba(4, 18, 31, 0.72);
    color: var(--text-muted, #a9bfd0);
    line-height: 1.55;
}
.system-service[data-status="warning"] {
    border-color: rgba(255, 195, 78, 0.42);
}
.system-service[data-status="error"] {
    border-color: rgba(255, 86, 111, 0.58);
}


/* v1.0.16: separater, fachlich gekennzeichneter Zerfalls-Countdown */
.journey-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.journey-destruction-metric {
    border-color: rgba(255, 93, 113, .34) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 93, 113, .13), transparent 60%),
        rgba(3, 11, 20, .58) !important;
}

.journey-destruction-metric strong {
    color: var(--red);
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.journey-destruction-metric small {
    color: rgba(255, 205, 212, .82);
}

@media (min-width: 768px) and (max-width: 1100px) {
    .journey-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* v1.1.0: portal cover, navigation and quick access */
.site-header { flex-wrap: wrap; }
.radar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.radar-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 21, 36, .72);
    color: var(--muted);
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.radar-nav a:hover,
.radar-nav a:focus-visible,
.radar-nav a.is-active {
    border-color: rgba(86, 215, 255, .58);
    background: rgba(86, 215, 255, .12);
    color: var(--text);
    transform: translateY(-1px);
}
.radar-nav-main { width: 100%; justify-content: flex-start; padding-top: 2px; }
.portal-cover-hero {
    overflow: hidden;
    padding: 0;
    isolation: isolate;
}
.portal-cover-hero picture,
.portal-cover-hero img { display: block; width: 100%; }
.portal-cover-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.portal-cover-actions {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(18px, 3vw, 34px);
    background: linear-gradient(180deg, transparent 0%, rgba(2, 7, 15, .78) 28%, rgba(2, 7, 15, .96) 100%);
}
.portal-cover-actions h2 { max-width: 760px; margin: 4px 0 6px; font-size: clamp(1.3rem, 2.4vw, 2.25rem); line-height: 1.12; }
.portal-cover-actions p { max-width: 760px; margin: 0; color: #cfdeeb; }
.cover-button-row { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.quick-access-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-access-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(12, 31, 51, .92), rgba(5, 14, 26, .94));
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.quick-access-card > span { grid-row: 1 / 3; font-size: 1.8rem; color: var(--cyan); text-shadow: 0 0 16px rgba(86,215,255,.48); }
.quick-access-card strong { font-size: 1rem; }
.quick-access-card small { min-width: 0; color: var(--muted); }
.quick-access-card:hover,
.quick-access-card:focus-visible { border-color: var(--line-bright); transform: translateY(-2px); }

/* v1.1.1: Cover vollständig darstellen – keine abgeschnittenen Außenränder */
.portal-cover-hero {
    max-height: none !important;
    background:
        radial-gradient(circle at 75% 20%, rgba(31, 209, 255, .10), transparent 34rem),
        #020914;
}

.portal-cover-hero picture {
    display: block;
    width: 100%;
    padding: clamp(6px, .9vw, 12px);
    box-sizing: border-box;
    background: #020914;
}

.portal-cover-hero img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: calc(var(--radius) - 7px);
}

/* Die Bedienung liegt unter dem Motiv und verdeckt nicht mehr den unteren Bildrand. */
.portal-cover-actions {
    position: relative !important;
    inset: auto !important;
    align-items: center;
    border-top: 1px solid rgba(86, 215, 255, .16);
    background:
        linear-gradient(145deg, rgba(7, 21, 37, .98), rgba(3, 11, 22, .98));
}

/* v1.2.0 · flexibler Schnellzugriff */
.quick-access-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.archive-card-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.archive-card-actions .button { flex: 1 1 220px; }

/* v1.2.1: orbital speed in km/h */
.object-card-metrics {
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
}
.orbital-speed-metric,
.orbital-speed-cell,
#detail-speed,
#journey-speed {
    font-variant-numeric: tabular-nums;
}
.orbital-speed-metric strong,
#detail-speed,
#journey-speed {
    color: var(--cyan);
}
.orbital-speed-cell {
    white-space: nowrap;
    font-weight: 800;
    color: var(--cyan);
}
.journey-metrics {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
@media (min-width: 768px) and (max-width: 1100px) {
    .journey-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .object-card-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
