.agl-live .map-pane .map-canvas.gpm-countdown-map-ready {
    background: #edf2f4 !important;
    overflow: hidden;
}

.gpm-countdown-map {
    position: absolute;
    inset: 0;
    min-height: 520px;
    font-family: inherit;
}

.gpm-countdown-map__canvas {
    position: absolute;
    inset: 0;
}

.gpm-countdown-map__controls {
    position: absolute;
    z-index: 650;
    top: 24px;
    left: 50%;
    display: flex;
    width: calc(100% - 40px);
    max-width: 540px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease;
}

.gpm-countdown-map.is-popup-open .gpm-countdown-map__controls {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.gpm-countdown-map__search,
.gpm-countdown-map__locate {
    border: 1px solid rgba(20, 34, 49, .12);
    background: #fff;
    color: #d33373;
    box-shadow: 0 10px 26px rgba(20, 34, 49, .16);
    pointer-events: auto;
}

.gpm-countdown-map__search {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 8px;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
}

.gpm-countdown-map__locate {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.gpm-countdown-map__locate svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.gpm-countdown-map__status {
    position: absolute;
    z-index: 650;
    right: 18px;
    bottom: 28px;
    max-width: min(320px, calc(100% - 36px));
    padding: 10px 14px;
    border: 1px solid rgba(20, 34, 49, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    color: #334155;
    box-shadow: 0 8px 20px rgba(20, 34, 49, .12);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.gpm-countdown-marker-icon {
    border: 0;
    background: transparent;
}

.gpm-countdown-marker {
    position: relative;
    display: block;
    width: 82px;
    height: 94px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 8px 9px rgba(20, 34, 49, .24));
}

.gpm-countdown-marker__drop {
    position: absolute;
    top: 5px;
    left: 9px;
    width: 64px;
    height: 64px;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #fc6f8f, #d33373);
    transform: rotate(-45deg);
    transition: transform .18s ease, background .18s ease;
}

.gpm-countdown-marker__label {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    transform: rotate(45deg);
    white-space: nowrap;
}

.gpm-countdown-marker__label strong,
.gpm-countdown-marker__label small {
    display: block;
    margin: 0;
    color: inherit;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1;
}

.gpm-countdown-marker__label strong {
    font-size: 20px;
    font-weight: 900;
}

.gpm-countdown-marker__label small {
    font-size: 9px;
    font-weight: 850;
    text-transform: lowercase;
}

.gpm-countdown-marker__label.is-single-line strong {
    font-size: 11px;
}

.gpm-countdown-marker__label.is-single-line small:empty {
    display: none;
}

.gpm-countdown-marker:hover .gpm-countdown-marker__drop,
.gpm-countdown-marker:focus-visible .gpm-countdown-marker__drop {
    background: linear-gradient(135deg, #ff8aa4, #be225f);
    transform: rotate(-45deg) scale(1.08);
}

.gpm-countdown-marker-icon:focus-visible {
    outline: 3px solid rgba(211, 51, 115, .34);
    outline-offset: 3px;
}

.gpm-countdown-map .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(20, 34, 49, .12);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(20, 34, 49, .12);
}

.gpm-countdown-map .leaflet-control-zoom a {
    color: #d33373;
}

.gpm-countdown-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, .82);
    color: #64748b;
    font-size: 10px;
}

.gpm-countdown-map .leaflet-popup-content-wrapper,
.gpm-countdown-map .leaflet-popup-tip {
    background: #fff;
}

.gpm-countdown-marker.is-closed .gpm-countdown-marker__drop {
    background: #66797c;
}

.gpm-map-info {
    max-width: 250px;
    padding: 2px 2px 4px;
    color: #172033;
    font-family: inherit;
}

.gpm-map-info strong,
.gpm-map-info span {
    display: block;
}

.gpm-map-info strong {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.25;
}

.gpm-map-info span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.gpm-map-info button {
    margin-top: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #d33373;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.gpm-countdown-map__user-dot {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #236cff;
    box-shadow: 0 0 0 8px rgba(35, 108, 255, .18);
}

@media (max-width: 820px) {
    .gpm-countdown-map {
        min-height: 460px;
    }

    .gpm-countdown-map__controls {
        top: 16px;
        width: calc(100% - 24px);
    }

    .gpm-countdown-map__search {
        min-height: 48px;
        padding: 0 20px;
        font-size: 15px;
    }

    .gpm-countdown-map__locate {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .gpm-countdown-marker {
        width: 70px;
        height: 82px;
    }

    .gpm-countdown-marker__drop {
        left: 8px;
        width: 54px;
        height: 54px;
    }

    .gpm-countdown-marker__label {
        inset: 7px;
    }

    .gpm-countdown-marker__label strong {
        font-size: 17px;
    }

    .gpm-countdown-marker__label small {
        font-size: 8px;
    }

    .gpm-countdown-map__status {
        right: 12px;
        bottom: 20px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gpm-countdown-marker__drop {
        transition: none;
    }
}
