html, body {
    margin: 0;
    height: 100%;
    background: #1c1f22; /* Fläche außerhalb des Kreises */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Karte als zentrierter Kreis – Durchmesser = kürzere Fensterseite. */
#map {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(96vw, 96vh);
    height: min(96vw, 96vh);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Copyright-Hinweis nach unten-mitte holen, damit er im Kreis sichtbar bleibt. */
.maplibregl-ctrl-bottom-right {
    right: auto;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
}

#panel {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    min-width: 200px;
    backdrop-filter: blur(4px);
}

#panel .row { margin: 4px 0; }

#panel .title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

#status { color: #555; font-size: 0.9rem; }
#status.stale { color: #b8860b; }
#status.error { color: #c0392b; }
#status.live  { color: #27ae60; }

#details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    margin: 8px 0;
    font-size: 0.9rem;
}
#details dt { color: #888; }
#details dd { margin: 0; font-variant-numeric: tabular-nums; }

#panel .follow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #555;
    margin-top: 8px;
    cursor: pointer;
}
