.map-body {
    background-color: #1fa7df;
    overflow: hidden;
}

.map-screen {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.map-stage {
    position: relative;
    width: min(1080px, 100vw);
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.map-bg,
.map-pins {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.map-pins {
    pointer-events: none;
    z-index: 1;
}

#map-pin-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.map-pin {
    position: absolute;
    width: clamp(72px, 8vw, 96px);
    height: clamp(72px, 8vw, 96px);
    transform: translate(-50%, -50%);
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.map-pin::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.map-pin:focus-visible,
.map-pin:active {
    outline: none;
}

.map-pin:focus-visible::after,
.map-pin:active::after {
    opacity: 1;
}

.map-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.42);
    z-index: 220;
}

.map-modal-card {
    position: relative;
    width: min(1020px, 96vw);
    min-height: min(380px, calc(100vh - 240px));
    max-height: min(1180px, calc(100vh - 180px));
    background: #ffffff;
    border: 14px solid #f10f22;
    border-radius: 42px;
    box-shadow: 0 18px 0 rgba(0, 0, 0, 0.3), 0 28px 54px rgba(0, 0, 0, 0.28);
}

.map-modal-title {
    margin: 0 0 28px;
    color: #000;
    font-size: clamp(2.2rem, 3.6vh, 3.6rem);
    line-height: 1.08;
    text-align: center;
    font-weight: 700;
}

.map-modal-content {
    padding: clamp(48px, 5vh, 70px) clamp(34px, 4vw, 56px) clamp(54px, 6vh, 78px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.map-modal-text {
    margin: 0;
    color: #111;
    font-size: clamp(1.25rem, 2.1vh, 1.9rem);
    line-height: 1.5;
    text-align: center;
}

.map-modal-close {
    position: absolute;
    top: -22px;
    right: -22px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 999px;
    background: #ce2b2b;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.map-footer {
    background-color: #97cc00;
}

.map-footer .nav-btn-right {
    gap: 12px;
}

@media (max-width: 900px) {
    .map-screen {
        height: 100vh;
    }

    .map-footer {
        height: 128px;
        padding: 0 24px;
    }

    .map-footer .logo-small {
        height: 70px;
    }

    .map-footer .nav-btn-right {
        font-size: 1.8rem;
    }

    .map-modal {
        padding: 20px;
    }

    .map-modal-card {
        max-height: calc(100vh - 152px);
        min-height: auto;
        border-width: 10px;
        border-radius: 32px;
    }

    .map-modal-content {
        padding: 38px 24px 34px;
    }

    .map-modal-close {
        top: -16px;
        right: -16px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
