        :root {
            --bg: #eef2f7;
            --card: #ffffff;
            --text: #12213a;
            --muted: #5f718f;
            --accent: #1f78ff;
            --accent-hover: #1665db;
            --shadow: 0 16px 36px rgba(18, 33, 58, 0.14);
        }

        * {
            box-sizing: border-box;
        }

        .map-frame {
            display: none;
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: min(95vw, 1800px);
            height: min(88vh, 1200px);
            border: 1px solid #cad5e5;
            border-radius: 12px;
            overflow: hidden;
            background: #dde4ef;
            box-shadow: 0 24px 56px rgba(7, 15, 28, 0.35);
            z-index: 21;
        }

        .map-frame.is-visible {
            display: block;
        }

        #map {
            height: 100%;
            width: 100%;
        }

        .map-close {
            position: absolute;
            right: 12px;
            top: 12px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #b7c3d4;
            background: rgba(255, 255, 255, 0.94);
            color: #3a4d6d;
            font-size: 20px;
            line-height: 28px;
            cursor: pointer;
            z-index: 3;
        }

        .hover-card {
            width: 170px;
            margin: 0;
            padding: 0;
            line-height: 1.2;
        }

        .hover-card__title {
            margin: 0 0 4px;
            font-size: 14px;
            font-weight: 800;
            color: #12213a;
        }

        .hover-card__image {
            display: block;
            width: 100%;
            height: 92px;
            object-fit: cover;
            border-radius: 6px;
        }

        .adv-marker {
            position: relative;
            display: inline-flex;
            align-items: flex-end;
            justify-content: center;
            pointer-events: auto;
        }

        .adv-marker__pin {
            display: block;
        }

        .adv-marker__card {
            position: absolute;
            left: 50%;
            bottom: calc(100% + 6px);
            transform: translateX(-50%);
            background: #ffffff;
            border: 1px solid #d8e1ee;
            border-radius: 8px;
            box-shadow: 0 10px 22px rgba(18, 33, 58, 0.18);
            padding: 6px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.12s ease;
            z-index: 2;
        }

        .adv-marker--hover .adv-marker__card {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 900px) {
            .panel {
                padding: 16px;
            }

            .map-frame {
                width: 96vw;
                height: min(84vh, 500px);
            }
        }
