* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #1a1a1a;
    color: #ddd;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #333;
}
header h1 { margin: 0; font-size: 18px; font-weight: 500; }
#status {
    font-size: 13px;
    color: #888;
    font-family: ui-monospace, SFMono-Regular, monospace;
}
#status.ok    { color: #6c6; }
#status.stale { color: #cc6; }
#status.err   { color: #c66; }
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
#map {
    position: relative;
    aspect-ratio: 1 / 1;
    width: min(85vh, 95vw);
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
#map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
#overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.marker {
    transition: transform 200ms ease-out;
}
.marker circle {
    fill: #f55;
    stroke: #fff;
    stroke-width: 2;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.marker text {
    fill: #fff;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    paint-order: stroke;
    stroke: #000;
    stroke-width: 3px;
    stroke-linejoin: round;
}
footer {
    padding: 8px 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 12px;
}
