:root {
    --bg: #16191d;
    --panel: rgba(18, 21, 25, 0.82);
    --text: #e8eaed;
    --dim: #9aa0a6;
    --accent: #ffcc4d;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    font: 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

#map {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
}

#map.dragging {
    cursor: grabbing;
}

.panel {
    position: fixed;
    background: var(--panel);
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

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

.top-left {
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    align-items: baseline;
}

#title {
    font-weight: 600;
}

.top-right {
    top: 10px;
    right: 10px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.buttons button, .follow {
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.buttons button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 1;
}

.buttons button:hover, .follow:hover {
    background: rgba(255, 255, 255, 0.16);
}

.follow {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    background: var(--panel);
    color: var(--accent);
    font-weight: 600;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
    font-variant-numeric: tabular-nums;
}

.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

[hidden] {
    display: none !important;
}
