/* The map: place names, hover cards, and the replay head. */

#map {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 0;
    transition: filter .25s;
}
.shade {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(11, 14, 20, .2), rgba(11, 14, 20, .85) 75%);
    transition: opacity .4s;
}
body.is-results .shade {
    opacity: 0;
}
.maplibregl-map {
    font-family: var(--ff);
}
.city-label,
.ref-label,
.grid-label {
    font-family: var(--ff);
    white-space: nowrap;
    pointer-events: none;
}
.city-label {
    color: #F5F5F7;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 0 3px #0B0E14, 0 0 6px #0B0E14, 0 1px 2px #0B0E14;
}
.ref-label {
    color: #868C99;
    font-size: 11.5px;
    font-weight: 400;
    text-shadow: 0 0 3px #0B0E14, 0 0 5px #0B0E14;
}
.grid-label {
    color: #5D6577;
    font-size: 10.5px;
    font-weight: 500;
}
.maplibregl-popup.tip {
    pointer-events: none;
}
.maplibregl-popup.tip .maplibregl-popup-content {
    background: rgba(30, 33, 43, .82);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
    border-radius: 14px;
    padding: 10px 14px;
    color: var(--ink);
    white-space: nowrap;
}
.maplibregl-popup.tip .maplibregl-popup-tip {
    display: none;
}
.tip-title {
    font-size: 14.5px;
    font-weight: 600;
}
.tip-sub {
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-2);
}
.tip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}
.rp-head {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px var(--c), 0 0 16px 5px var(--c);
}
