#stationMap {
    display: block;
    height: 268px;
    border-radius: 12px;
    border: 1px solid var(--line);
    z-index: 0;
}

#stationMap.station-map-error {
    display: grid;
    place-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    text-align: center;
}

.map-popup {
    display: grid;
    gap: 4px;
    min-width: 180px;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
}

.map-popup-title {
    color: var(--text);
    font-weight: 700;
}

.map-popup-address {
    color: var(--muted);
    font-size: 0.84rem;
}

.map-popup-meta,
.map-popup-action {
    display: block;
}

.map-popup-rank {
    color: var(--accent);
    font-weight: 700;
}

.station-map-area {
    position: relative;
    min-height: 0;
}

.station-map-area.is-expanded {
    position: fixed;
    inset: 18px;
    z-index: 1000;
    display: block;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.station-map-area.is-expanded #stationMap {
    height: 100%;
    min-height: 0;
}

body.map-is-expanded {
    overflow: hidden;
}
