html,
body.gdd-map-demo {
    min-height: 100%;
    margin: 0;
    background: #ffffff;
}
body.gdd-map-demo {
    overflow-x: hidden;
}


.gdd-map-section {
    --gdd-orange: #e36733;
    --gdd-orange-bright: #ff8f4d;
    --gdd-orange-deep: #b74a1c;
    --paper: #ffffff;
    --paper-soft: #fffaf7;
    --paper-warm: #fff2ea;
    --ink: #3c2116;
    --ink-soft: #6d4939;
    --muted: #8a6a5c;
    --line-soft: rgba(227, 103, 51, 0.18);
    --line-medium: rgba(227, 103, 51, 0.36);
    --frame-radius: 34px;
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --frame-shadow: 0 38px 110px rgba(133, 56, 22, 0.16),
    0 0 80px rgba(227, 103, 51, 0.08);
}

.gdd-map-section,
.gdd-map-section *,
.gdd-map-section *::before,
.gdd-map-section *::after {
    box-sizing: border-box;
}



.gdd-map-section {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Noto Sans Georgian", Arial,
    sans-serif;
    color: var(--ink);

}







.gdd-map-section button,
.gdd-map-section input {
    font: inherit;
}
.gdd-map-section button {
    color: inherit;
}

.gdd-map-section .page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(14px, 2.4vw, 44px);
    isolation: isolate;
}

.gdd-map-section .atlas-shell {
    position: relative;
    width: min(1780px, 96vw);
    height: min(940px, 92vh);
    min-height: 620px;
    overflow: hidden;

    border-radius: var(--frame-radius);


    content-visibility: auto;
    contain-intrinsic-size: 940px;
    transform: none;
}

.gdd-map-section .map-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 0;
    outline: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
    touch-action: none;


}
.gdd-map-section .map-viewport.is-dragging {
    cursor: grabbing;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.gdd-map-section .map-viewport:focus,
.gdd-map-section .map-viewport:focus-visible {
    outline: 0;
}



.gdd-map-section .map-viewport.is-keyboard-focused.is-dragging {
    box-shadow: none;
}

.gdd-map-section .map-viewport::before,
.gdd-map-section .map-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.gdd-map-section .map-viewport::before {


    mix-blend-mode: normal;
}
.gdd-map-section .map-viewport::after {



    animation: none;
}

.gdd-map-section .map-stage {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: clamp(1280px, 108vw, 1760px);
    aspect-ratio: 1200 / 760;
    transform-origin: 0 0;

    user-select: none;
    -webkit-user-select: none;
}

.gdd-map-section #georgia-map {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;

}

.gdd-map-section .map-atmosphere {
    pointer-events: none;
}

.gdd-map-section .map-grid {
    fill: url(#microGrid);

}
.gdd-map-section .country-aura {


    pointer-events: none;
}

.gdd-map-section .ambient-glow {
    transform-box: fill-box;
    transform-origin: center;
}
.gdd-map-section .ambient-orbit {
    fill: none;
    stroke: url(#ambientStroke);

    stroke-dasharray: 8 15;
    vector-effect: non-scaling-stroke;

    transform-box: fill-box;
    transform-origin: center;
}
.gdd-map-section .ambient-orbit--reverse {
    stroke-dasharray: 3 13;
    opacity: 0.2;
}
.gdd-map-section .ambient-route {
    fill: none;
    stroke: url(#ambientStroke);

    stroke-linecap: round;
    stroke-dasharray: 2 14;
    vector-effect: non-scaling-stroke;

}
.gdd-map-section .ambient-spark {
    fill: #e36733;

    transform-box: fill-box;
    transform-origin: center;
}
.gdd-map-section .ambient-cross {
    fill: none;
    stroke: #e36733;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;

    transform-box: fill-box;
    transform-origin: center;
}

.gdd-map-section .region-image-layer,
.gdd-map-section .region-effect-layer,
.gdd-map-section .marker-layer {
    pointer-events: none;
}

.gdd-map-section .region-image {

    transform-box: fill-box;
    transform-origin: center;




}
.gdd-map-section .region-image.is-visible {
    opacity: 0.98;


}




.gdd-map-section .region {
    cursor: pointer;
    outline: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;

}




.gdd-map-section .region--occupied {



    cursor: default;
    opacity: 1;
    pointer-events: none;
}


.gdd-map-section #georgia-map.has-active .region--occupied {
    opacity: 1;
}

.gdd-map-section .region-halo {
    fill: none;


    vector-effect: non-scaling-stroke;


    transition: opacity 0.28s ease;
}
.gdd-map-section .region-trace {
    fill: none;


    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 12 11;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gdd-map-section .region-trace.is-visible {
    opacity: 1;
}

.gdd-map-section .region-marker {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: marker-arrival 0.82s var(--ease-luxury) forwards;
    animation-delay: var(--arrival-delay, 0.6s);

}
.gdd-map-section .region-marker.is-muted {
    opacity: 0.42 !important;
}
.gdd-map-section .region-marker.is-active {
    filter: none;
}

.gdd-map-section .marker-pin {
    transform-box: fill-box;
    transform-origin: center bottom;
    transform: translateY(0) scale(1);

}
.gdd-map-section .region-marker.is-active .marker-pin {
    transform: translateY(-10px) scale(1.16);
}

.gdd-map-section .pin-pulse {
    fill: rgba(227, 103, 51, 0.26);
    transform-box: fill-box;
    transform-origin: center;

    animation-delay: var(--arrival-delay, 0s);
}
.gdd-map-section .region-marker.is-active .pin-pulse {
    animation-duration: 1.25s;
}

.gdd-map-section .pin-core {



    vector-effect: non-scaling-stroke;
}


.gdd-map-section .marker-label {
    transform-box: fill-box;
    transform-origin: center;

}
.gdd-map-section .region-marker.is-active .marker-label {
    transform: translateY(1px) scale(1.115);
    filter: none;
}

.gdd-map-section .label-panel {



    vector-effect: non-scaling-stroke;

    transition: opacity 0.38s ease, fill 0.38s ease, stroke 0.38s ease;
}


.gdd-map-section .label-text {

    font-family: Inter, ui-sans-serif, system-ui, "Segoe UI",
    "Noto Sans Georgian", Arial, sans-serif;
    font-size: 11.6px;
    font-weight: 760;
    letter-spacing: 0.055em;
    text-anchor: middle;
    text-transform: uppercase;
    paint-order: stroke fill;


    vector-effect: non-scaling-stroke;
    transition: fill 0.34s ease, stroke 0.34s ease;
}

.gdd-map-section .instruction-card {
    position: absolute;
    z-index: 12;
    left: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 310px;
    padding: 13px 16px 13px 14px;
    border: 1px solid rgba(227, 103, 51, 0.24);
    border-radius: 19px;

    box-shadow: 0 16px 45px rgba(133, 56, 22, 0.1);

    transition: transform 0.45s var(--ease-luxury), box-shadow 0.45s ease;
}
.gdd-map-section .instruction-card:hover {
    transform: translateY(-3px);

}
.gdd-map-section .instruction-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 42px;
    flex: 0 0 auto;

    background: transparent;
    border: 0;
    box-shadow: none;
}
.gdd-map-section .instruction-icon svg {
    width: 29px;
    height: 29px;
    filter: drop-shadow(0 5px 8px rgba(227, 103, 51, 0.2));
}
.gdd-map-section .instruction-copy strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.gdd-map-section .instruction-copy span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.gdd-map-section .zoom-controls {
    position: absolute;
    z-index: 12;
    right: 22px;
    top: 22px;
    display: flex;
    flex-direction: column;


    border: 0;
    background: transparent;
    box-shadow: none;
}
.gdd-map-section .zoom-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;





    cursor: pointer;
    transition: color 0.25s ease, transform 0.28s var(--ease-luxury),
    filter 0.28s ease;
}
.gdd-map-section .zoom-controls button:hover,
.gdd-map-section .zoom-controls button:focus-visible {
    outline: none;


    transform: translateY(-2px) scale(1.12);

}
.gdd-map-section .zoom-controls svg {
    width: 22px;
    height: 22px;
}

.gdd-map-section .atlas-loader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    color: var(--ink);

    transition: opacity 0.18s ease, visibility 0.18s ease;
}
.gdd-map-section .atlas-loader.is-complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.gdd-map-section .loader-core {
    width: min(360px, 80vw);
    text-align: center;
}
.gdd-map-section .loader-orbit {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border: 1px solid rgba(227, 103, 51, 0.22);
    border-radius: 50%;

}
.gdd-map-section .loader-orbit::before,
.gdd-map-section .loader-orbit::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(255, 152, 93, 0.6);
    border-radius: 50%;
    animation: loader-spin 5s linear infinite;
}
.gdd-map-section .loader-orbit::after {
    inset: 22px;
    border-style: solid;
    border-color: rgba(227, 103, 51, 0.45) transparent;
    animation-duration: 2.2s;
    animation-direction: reverse;
}
.gdd-map-section .loader-logo {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.gdd-map-section .loader-logo svg {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 0 12px rgba(227, 103, 51, 0.45));
}
.gdd-map-section .loader-core strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.gdd-map-section .loader-core span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}
.gdd-map-section .loader-track {
    position: relative;
    height: 3px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(227, 103, 51, 0.1);
}
.gdd-map-section .loader-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gdd-orange), #ffbd8d, #ffb68d);
    box-shadow: 0 0 18px rgba(227, 103, 51, 0.5);
    transition: width 0.10s ease;
}
.gdd-map-section .loader-percent {
    margin-top: 9px !important;
    color: rgba(91, 42, 22, 0.82) !important;
    font-variant-numeric: tabular-nums;
}

.gdd-map-section .toast {
    position: absolute;
    z-index: 40;
    left: 50%;
    top: 94px;
    max-width: min(520px, calc(100% - 32px));
    padding: 11px 15px;
    border: 1px solid rgba(255, 152, 93, 0.35);
    border-radius: 14px;

    background: rgba(255, 248, 243, 0.96);
    box-shadow: 0 18px 42px rgba(133, 56, 22, 0.18);
    opacity: 0;
    transform: translate(-50%, -10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.42s var(--ease-luxury);
    font-size: 11px;
    text-align: center;
}
.gdd-map-section .toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.gdd-map-section .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@keyframes marker-arrival {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.84);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes pin-pulse {
    0% {
        opacity: 0.65;
        transform: scale(0.55);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.85);
    }
}
@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .gdd-map-section {
        --frame-radius: 25px;
    }
    .gdd-map-section .page {
        padding: 8px;
    }
    .gdd-map-section .atlas-shell {
        width: calc(100vw - 16px);
        height: calc(100svh - 16px);
        min-height: 540px;
    }
    .gdd-map-section .map-stage {
        width: 1240px;
    }
    .gdd-map-section .instruction-card {
        left: 12px;
        bottom: 12px;
        max-width: 260px;
        padding: 10px 12px;
    }
    .gdd-map-section .instruction-icon {
        width: 34px;
        height: 38px;
    }
    .gdd-map-section .instruction-icon svg {
        width: 25px;
        height: 25px;
    }
    .gdd-map-section .instruction-copy strong {
        font-size: 11px;
    }
    .gdd-map-section .instruction-copy span {
        font-size: 9px;
    }
    .gdd-map-section .zoom-controls {
        right: 12px;
        top: 12px;
    }
    .gdd-map-section .zoom-controls button {
        width: 38px;
        height: 38px;
    }
    .gdd-map-section .label-text {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .gdd-map-section .instruction-card {
        max-width: calc(100% - 68px);
    }
    .gdd-map-section .map-stage {
        width: 920px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdd-map-section,
    .gdd-map-section *,
    .gdd-map-section *::before,
    .gdd-map-section *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .gdd-map-section .map-viewport::after {
        display: none;
    }
}





.gdd-map-section #georgia-map {
    filter: none;
}



.gdd-map-section .map-stage,
.gdd-map-section .region-image {
    will-change: auto;
}

.gdd-map-section .map-viewport.is-dragging .map-stage,
.gdd-map-section .atlas-shell.is-camera-animating .map-stage {
    will-change: transform;
}

.gdd-map-section .region-image.is-visible {
    will-change: opacity, transform;
}



.gdd-map-section .region-marker.is-active .pin-pulse {
    opacity: 1;

}

.gdd-map-section .map-viewport::before {

    transition: opacity 0.28s ease;
}

.gdd-map-section .atlas-shell.is-settled .ambient-glow,
.gdd-map-section .atlas-shell.is-settled .ambient-orbit,
.gdd-map-section .atlas-shell.is-settled .ambient-route,
.gdd-map-section .atlas-shell.is-settled .ambient-spark,
.gdd-map-section .atlas-shell.is-settled .ambient-cross {
    animation: none;
}

.gdd-map-section .atlas-shell.is-settled .ambient-glow {
    opacity: 0.58;
}
.gdd-map-section .atlas-shell.is-settled .ambient-glow--two {
    opacity: 0.42;
}
.gdd-map-section .atlas-shell.is-settled .ambient-orbit {
    opacity: 0.23;
}
.gdd-map-section .atlas-shell.is-settled .ambient-orbit--reverse {
    opacity: 0.16;
}
.gdd-map-section .atlas-shell.is-settled .ambient-route {
    opacity: 0.29;
}
.gdd-map-section .atlas-shell.is-settled .ambient-spark {
    opacity: 0.32;
}
.gdd-map-section .atlas-shell.is-settled .ambient-cross {
    opacity: 0.16;
}

.gdd-map-section .atlas-loader.is-complete .loader-orbit::before,
.gdd-map-section .atlas-loader.is-complete .loader-orbit::after {
    animation: none;
}

.gdd-map-section .atlas-shell.is-dragging-mode .map-viewport::after,
.gdd-map-section .atlas-shell.is-dragging-mode .ambient-glow,
.gdd-map-section .atlas-shell.is-dragging-mode .ambient-orbit,
.gdd-map-section .atlas-shell.is-dragging-mode .ambient-route,
.gdd-map-section .atlas-shell.is-dragging-mode .ambient-spark,
.gdd-map-section .atlas-shell.is-dragging-mode .ambient-cross,
.gdd-map-section .atlas-shell.is-dragging-mode .region-trace {
    animation-play-state: paused !important;
}

.gdd-map-section .atlas-shell.is-sleeping *,
.gdd-map-section .atlas-shell.is-sleeping *::before,
.gdd-map-section .atlas-shell.is-sleeping *::after {
    animation-play-state: paused !important;
}

.gdd-map-section .atlas-shell.is-sleeping .region-image,
.gdd-map-section .atlas-shell.is-sleeping .region-image-tint,
.gdd-map-section .atlas-shell.is-sleeping .region,
.gdd-map-section .atlas-shell.is-sleeping .region-marker,
.gdd-map-section .atlas-shell.is-sleeping .marker-pin,
.gdd-map-section .atlas-shell.is-sleeping .marker-label,
.gdd-map-section .atlas-shell.is-sleeping .region-halo,
.gdd-map-section .atlas-shell.is-sleeping .region-trace {
    transition-duration: 0s !important;
}

.gdd-map-section .atlas-shell.is-sleeping .map-viewport::before,
.gdd-map-section .atlas-shell.is-sleeping .map-viewport::after,
.gdd-map-section .atlas-shell.is-sleeping .toast {
    transition: none !important;
}

.gdd-map-section .atlas-shell.is-sleeping .map-viewport::before {
    opacity: 0.16;
}

.gdd-map-section .atlas-shell.is-sleeping .map-viewport::after {
    opacity: 0.28;
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
    .gdd-map-section .ambient-glow,
    .gdd-map-section .ambient-orbit,
    .gdd-map-section .ambient-route,
    .gdd-map-section .ambient-spark,
    .gdd-map-section .ambient-cross {
        animation: none !important;
    }

    .gdd-map-section .map-viewport::after {
        animation: none;
        opacity: 0.28;
        background-position: 50% 0;
    }

    .gdd-map-section .map-viewport::before {
        opacity: 0.28;
    }

    .gdd-map-section .region-halo {
        filter: none;
        stroke-width: 4.5;
    }

    .gdd-map-section .region-marker.is-active {
        filter: none;
    }

    .gdd-map-section .region-marker.is-active .pin-pulse {
        animation-duration: 1.9s;
    }
}

.gdd-map-section {
    position: relative;
    width: 100%;
    isolation: isolate;
    contain: layout style;
    overflow: clip;

}

.gdd-map-section::before,
.gdd-map-section::after {
    content: none !important;
    animation: none !important;
}

.gdd-map-section .map-mount {
    position: absolute;
    inset: 0;

    overflow: hidden;
}

.gdd-map-section .atlas-shell:not(.is-hydrated) .map-mount {
    visibility: hidden;
    content-visibility: hidden;
}

.gdd-map-section .map-viewport {
    opacity: 0;
    transform: scale(0.992);
    transition: opacity 0.18s ease, transform 0.28s var(--ease-luxury);
}

.gdd-map-section .atlas-shell.is-initialised .map-viewport {
    opacity: 1;
    transform: none;
}

.gdd-map-section .atlas-shell:not(.is-hydrating) .loader-orbit::before,
.gdd-map-section .atlas-shell:not(.is-hydrating) .loader-orbit::after {
    animation: none !important;
}

.gdd-map-section .atlas-shell.is-hydrating .loader-orbit::before {
    animation: loader-spin 5s linear infinite;
}

.gdd-map-section .atlas-shell.is-hydrating .loader-orbit::after {
    animation: loader-spin 2.2s linear infinite reverse;
}

.gdd-map-section .map-freeze-overlay {
    position: absolute;
    inset: 0;
    z-index: 70;
    pointer-events: none;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gdd-map-section .atlas-shell.is-modal-open .map-freeze-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gdd-map-section .atlas-shell.is-modal-open .map-viewport {
    pointer-events: none;
}

.gdd-map-section .region--available:hover,
.gdd-map-section .region--available:focus-visible,
.gdd-map-section .region--available.is-active,
.gdd-map-section .region-halo,
.gdd-map-section .region-marker.is-active,
.gdd-map-section .region-marker.is-active .marker-label {
    filter: none !important;
}





.gdd-map-section .region-trace.is-visible {
    animation-duration: 1.7s;
}

.gdd-map-section .atlas-shell,
.gdd-map-section .map-viewport,
.gdd-map-section .atlas-loader,
.gdd-map-section .toast,
.gdd-map-section .instruction-card,
.gdd-map-section .zoom-controls {
    isolation: isolate;
}

@media (max-width: 760px) {
    .gdd-map-section .page {
        min-height: auto;
        padding: 0;
    }

    .gdd-map-section .atlas-shell {
        width: 100%;
        height: clamp(600px, 82svh, 760px);
        min-height: 600px;
        border-radius: 24px;
        box-shadow: 0 18px 52px rgba(133, 56, 22, 0.11);
    }

    .gdd-map-section .map-viewport {
        overscroll-behavior: contain;
        background-size: auto, 38px 38px, 38px 38px, auto;
    }

    .gdd-map-section .map-stage {
        width: clamp(760px, 205vw, 900px);
    }

    .gdd-map-section .zoom-controls {
        top: 12px;
        right: 12px;
        flex-direction: row;
        gap: 4px;
        padding: 4px;
        border: 1px solid rgba(227, 103, 51, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 28px rgba(133, 56, 22, 0.11);
    }

    .gdd-map-section .zoom-controls button {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

    .gdd-map-section .instruction-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        min-height: 58px;
        padding: 9px 12px;
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.94);
    }

    .gdd-map-section .instruction-copy strong {
        font-size: 11px;
    }
    .gdd-map-section .instruction-copy span {
        font-size: 9px;
        line-height: 1.35;
    }
    .gdd-map-section .instruction-icon {
        width: 32px;
        height: 34px;
    }
    .gdd-map-section .instruction-icon svg {
        width: 24px;
        height: 24px;
    }

    .gdd-map-section .label-text {
        font-size: 10.2px;
    }
    .gdd-map-section .region-image {
        transition-duration: 0.38s, 0.72s, 0.45s;
    }
    .gdd-map-section .region-trace.is-visible {
        animation-duration: 2s;
    }
}

@media (max-width: 430px) {
    .gdd-map-section .atlas-shell {
        height: clamp(570px, 80svh, 680px);
        min-height: 570px;
        border-radius: 19px;
    }

    .gdd-map-section .map-stage {
        width: clamp(720px, 198vw, 820px);
    }

    .gdd-map-section .zoom-controls button {
        width: 39px;
        height: 39px;
    }

    .gdd-map-section .zoom-controls svg {
        width: 20px;
        height: 20px;
    }

    .gdd-map-section .instruction-copy span {
        max-width: 245px;
    }

    .gdd-map-section .label-panel {
        opacity: 0.86;
    }
    .gdd-map-section .label-text {
        font-size: 9.5px;
    }
}
.gdd-map-section .atlas-shell.is-settled .map-viewport::after {
    animation: none;
    opacity: 0.22;
    background-position: 50% 0;
}

.gdd-map-section .atlas-shell.is-modal-open .map-viewport::after {
    display: none;
}





.gdd-map-section .instruction-card {
    background: rgba(255, 255, 255, 0.975);
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
    .gdd-map-section .region-image {
        transition-duration: 0.36s, 0.62s, 0.42s;
    }

    .gdd-map-section .region-marker {
        animation-duration: 0.46s;
    }
}

.gdd-map-section .atlas-shell {
    background-clip: padding-box;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.gdd-map-section #georgia-map,
.gdd-map-section .map-stage {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gdd-map-section .map-stage {
    outline: 0;
    border: 0;
    box-shadow: none;
}

/* ============================================================
GDD GLASS HOLOGRAPHIC MAP — VISUAL-ONLY REFINEMENT
All map interaction, drag, zoom, selection, image reveal,
loading and event functionality remains unchanged.
============================================================ */

.gdd-map-section {
    --glass-white: rgba(255, 255, 255, 0.66);
    --glass-white-strong: rgba(255, 255, 255, 0.82);
    --glass-white-soft: rgba(255, 255, 255, 0.4);
    --glass-orange: rgba(227, 103, 51, 0.17);
    --glass-orange-strong: rgba(227, 103, 51, 0.34);
    --glass-border: rgba(255, 255, 255, 0.78);
    --glass-border-orange: rgba(227, 103, 51, 0.43);
    --glass-shadow: 0 34px 95px rgba(111, 45, 18, 0.14),
    0 10px 34px rgba(227, 103, 51, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
    background: radial-gradient(
        circle at 15% 13%,
        rgba(227, 103, 51, 0.075),
        transparent 30%
    ),
    radial-gradient(
        circle at 88% 18%,
        rgba(255, 174, 125, 0.072),
        transparent 27%
    ),
    radial-gradient(
        circle at 68% 92%,
        rgba(227, 103, 51, 0.055),
        transparent 34%
    ),
    #ffffff;
}

/* Main map frame: transparent white glass above the preserved white page. */
.gdd-map-section .atlas-shell {
    border: 1px solid rgba(227, 103, 51, 0.34);


}

/* Stable holographic reflection and edge bloom. */
.gdd-map-section .atlas-shell::before,
.gdd-map-section .atlas-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 6;
}

.gdd-map-section .atlas-shell::before {
    inset: 0;
    border-radius: inherit;



}

.gdd-map-section .atlas-shell::after {
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 154, 95, 0.3) 18%,
        rgba(255, 226, 207, 0.88) 50%,
        rgba(255, 154, 95, 0.3) 82%,
        transparent
    );
    box-shadow: 0 1px 5px rgba(255, 166, 108, 0.36),
    0 7px 22px rgba(227, 103, 51, 0.18);

}

/* The map remains bright and white, with transparent glass depth. */


.gdd-map-section .map-viewport::before {

    opacity: 0.78;
}

.gdd-map-section .map-viewport::after {
    background: linear-gradient(
        105deg,
        transparent 0 40%,
        rgba(255, 255, 255, 0.025) 44%,
        rgba(255, 255, 255, 0.24) 49%,
        rgba(255, 173, 120, 0.095) 51%,
        rgba(255, 255, 255, 0.035) 56%,
        transparent 61%
    );
    background-size: 240% 100%;
    opacity: 0.72;
}

/* SVG floor and atmosphere become translucent glass layers. */
.gdd-map-section .map-floor {
    fill: url(#mapGlassFloor);

}



.gdd-map-section .country-aura {

    filter: url(#countryAuraGlow);
}



.gdd-map-section .ambient-orbit {
    stroke-width: 1.25;

    filter: drop-shadow(0 0 3px rgba(227, 103, 51, 0.12));
}

.gdd-map-section .ambient-route {
    stroke-width: 1.45;

    filter: drop-shadow(0 0 3px rgba(227, 103, 51, 0.12));
}

.gdd-map-section .ambient-spark {
    filter: drop-shadow(0 0 4px rgba(227, 103, 51, 0.28));
}

/* Glass provinces with a warm holographic outline. */
.gdd-map-section .region--available {
    fill: url(#provinceGlass);
    stroke: url(#provinceHoloStroke);
    stroke-width: 1.55;
}

.gdd-map-section .region--available:hover,
.gdd-map-section .region--available:focus-visible,
.gdd-map-section .region--available.is-active {
    fill: url(#provinceActiveGlass);
    stroke: url(#provinceHoloStroke);
    stroke-width: 2.7;
    filter: url(#regionActiveGlow) !important;
}

.gdd-map-section .region--available:focus-visible {
    stroke: #e36733;
}

.gdd-map-section .region--occupied {
    fill: url(#occupiedGlass);
    stroke: #a83e15;
    stroke-width: 1.85;
    filter: drop-shadow(0 5px 8px rgba(130, 44, 13, 0.15));
}

.gdd-map-section .region-halo {
    stroke: url(#hologramTrace);
    stroke-width: 5.2;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(227, 103, 51, 0.24)) !important;
}

.gdd-map-section .region-halo.is-visible {
    opacity: 0.42;
}

.gdd-map-section .region-trace {
    stroke: url(#hologramTrace);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 5px rgba(227, 103, 51, 0.31));
}



.gdd-map-section .region-image.is-visible {
    filter: saturate(1.08) contrast(1.055) brightness(0.94);
}

.gdd-map-section .region-image-tint {
    fill: url(#photoTint);
    mix-blend-mode: soft-light;
}

.gdd-map-section .region-image-tint.is-visible {
    opacity: 0.42;
}

/* Floating marker labels now look like tiny glass HUD panels. */
.gdd-map-section .label-panel {
    fill: url(#labelGlass);
    stroke: url(#provinceHoloStroke);
    stroke-width: 0.9;
    opacity: 0.91;
    filter: url(#labelGlassShadow);
}

.gdd-map-section .region-marker.is-active .label-panel {
    fill: url(#labelActiveGlass);
    stroke: #ffd7bf;
    opacity: 1;
}

.gdd-map-section .label-text {
    fill: #542411;
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 2.3px;
}

.gdd-map-section .region-marker.is-active .label-text {
    fill: #ffffff;
    stroke: rgba(142, 47, 13, 0.48);
}

.gdd-map-section .pin-core {
    fill: #ff9153;
    stroke: #fff8f3;
    stroke-width: 1;
    filter: drop-shadow(0 0 5px rgba(227, 103, 51, 0.42));
}

.gdd-map-section .pin-hole {
    fill: #ffffff;
}

/* Shared control glass material. */
.gdd-map-section .instruction-card,
.gdd-map-section .zoom-controls,
.gdd-map-section .toast {
    border: 1px solid rgba(255, 255, 255, 0.78);

    box-shadow: 0 18px 48px rgba(102, 39, 14, 0.13),
    0 6px 19px rgba(227, 103, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(227, 103, 51, 0.09);
}

.gdd-map-section .instruction-card {
    overflow: hidden;
}

.gdd-map-section .instruction-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 15%,
        rgba(255, 255, 255, 0.34) 44%,
        rgba(255, 183, 139, 0.09) 53%,
        transparent 72%
    );
    opacity: 0.6;
}

.gdd-map-section .instruction-card:hover {
    box-shadow: 0 23px 58px rgba(102, 39, 14, 0.16),
    0 8px 25px rgba(227, 103, 51, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.gdd-map-section .instruction-icon,
.gdd-map-section .instruction-copy {
    position: relative;
    z-index: 1;
}

.gdd-map-section .instruction-icon {
    color: #e36733;
    filter: drop-shadow(0 0 8px rgba(227, 103, 51, 0.16));
}

/* Desktop zoom controls become one compact floating HUD. */
.gdd-map-section .zoom-controls {
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
}

.gdd-map-section .zoom-controls button {
    border: 1px solid transparent;
    border-radius: 13px;
    color: #d75a27;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.gdd-map-section .zoom-controls button:hover,
.gdd-map-section .zoom-controls button:focus-visible {
    color: #b84a1c;
    border-color: rgba(227, 103, 51, 0.2);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.68),
        rgba(255, 224, 206, 0.34)
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 7px 18px rgba(227, 103, 51, 0.12);
    filter: drop-shadow(0 5px 9px rgba(227, 103, 51, 0.16));
}

/* Loader is white glass, not an opaque interruption. */
.gdd-map-section .atlas-loader {
    background: radial-gradient(
        circle at center,
        rgba(227, 103, 51, 0.105),
        transparent 44%
    ),
    rgba(255, 255, 255, 0.76);
}

.gdd-map-section .loader-core {
    padding: 30px 28px 27px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.68),
        rgba(255, 245, 238, 0.43)
    );
    box-shadow: 0 24px 65px rgba(112, 45, 17, 0.13),
    0 7px 25px rgba(227, 103, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
}

.gdd-map-section .loader-orbit {
    border-color: rgba(255, 255, 255, 0.86);
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.58),
        rgba(255, 234, 220, 0.27) 58%,
        transparent 72%
    );
    box-shadow: 0 0 42px rgba(227, 103, 51, 0.15),
    inset 0 0 28px rgba(227, 103, 51, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* Toast and modal freeze layer continue working, now with glass depth. */
.gdd-map-section .toast {
    color: #5f2a15;
    border-color: rgba(227, 103, 51, 0.22);
}

.gdd-map-section .map-freeze-overlay {
    background: rgba(255, 255, 255, 0.38);
}

/* Keyboard focus remains obvious over the new transparent materials. */
.gdd-map-section .map-viewport.is-keyboard-focused {
    box-shadow: inset 0 0 0 2px rgba(227, 103, 51, 0.58),
    inset 0 0 24px rgba(227, 103, 51, 0.07);
}
@media (max-width: 760px) {
    .gdd-map-section .atlas-shell {
        background: linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.8),
            rgba(255, 248, 244, 0.61)
        );
        box-shadow: 0 20px 58px rgba(112, 45, 17, 0.13),
        0 8px 24px rgba(227, 103, 51, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    }

    .gdd-map-section .map-viewport {
        background-size: auto, auto, auto, 38px 38px, 38px 38px, auto;
    }

    .gdd-map-section .zoom-controls {
        padding: 4px;
        border-radius: 999px;
    }

    .gdd-map-section .zoom-controls button {
        border-radius: 50%;
    }

    .gdd-map-section .instruction-card {
        background: linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.78),
            rgba(255, 246, 240, 0.58)
        );
    }

    .gdd-map-section .region--available:hover,
    .gdd-map-section .region--available:focus-visible,
    .gdd-map-section .region--available.is-active {
        filter: drop-shadow(0 0 5px rgba(227, 103, 51, 0.2)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdd-map-section .atlas-shell.is-initialised::before {
        animation: none;
    }
}

/* ============================================================
   ALWAYS-VISIBLE PROVINCE PHOTOS + STICKER SPOTLIGHT
   ============================================================ */

.gdd-map-section .base-scene-layer {
    transform-origin: center;
    transition:
        opacity 0.36s ease,
        filter 0.36s ease;
}

.gdd-map-section #georgia-map.has-spotlight .base-scene-layer {
    opacity: 0.47;
    filter: blur(1.15px) saturate(0.88);
}

.gdd-map-section .spotlight-layer {
    pointer-events: none;
}

.gdd-map-section .region-spotlight {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

}

.gdd-map-section .region-spotlight.is-visible {
    opacity: 1;
    visibility: visible;
}

/*
 * Province photos remain softly visible at rest.
 * Hover/focus/select brightens and zooms the same image.
 */




.gdd-map-section .region-image.is-ready.is-visible {


    filter:
        saturate(1.08)
        contrast(1.05)
        brightness(1);
}

.gdd-map-section .region-image-tint {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gdd-map-section .region-image-tint.is-ready {
    opacity: 0.28;
}

.gdd-map-section .region-image-tint.is-ready.is-visible {
    opacity: 0.10;
}


.gdd-map-section .spotlight-region {
    fill: rgba(255, 255, 255, 0.045);
    stroke: url(#hologramTrace);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 7px rgba(227, 103, 51, 0.34));
}

.gdd-map-section .province-sticker-layer {
    pointer-events: none;
}

.gdd-map-section .province-sticker {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform:
        translateY(18px)
        scale(0.24)
        rotate(calc(var(--sticker-rotation, 0deg) - 9deg));



}

.gdd-map-section
.region-spotlight.is-visible
.province-sticker.is-ready {
    opacity: 1;
    transform:
        translateY(0)
        scale(1)
        rotate(var(--sticker-rotation, 0deg));
}

.gdd-map-section
.region-spotlight.is-visible
.province-sticker.is-ready:nth-child(2) {
    transform:
        translateY(-3px)
        scale(1.03)
        rotate(var(--sticker-rotation, 0deg));
}

.gdd-map-section
.region-spotlight.is-visible
.province-sticker.is-ready:nth-child(3) {
    transform:
        translateY(2px)
        scale(0.98)
        rotate(var(--sticker-rotation, 0deg));
}

.gdd-map-section
.atlas-shell.is-dragging-mode
#georgia-map.has-spotlight
.base-scene-layer {
    opacity: 1;
    filter: none;
}

.gdd-map-section
.atlas-shell.is-dragging-mode
.spotlight-layer {
    opacity: 0;
}

.gdd-map-section
.atlas-shell.is-modal-open
.spotlight-layer,
.gdd-map-section
.atlas-shell.is-sleeping
.spotlight-layer {
    opacity: 0;
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
    .gdd-map-section #georgia-map.has-spotlight .base-scene-layer {
        opacity: 0.48;
        filter: blur(0.55px) saturate(0.9);
    }

    .gdd-map-section .province-sticker {
        transition-duration: 0.32s, 0.58s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdd-map-section .province-sticker {
        transition: opacity 0.18s ease !important;
        transform: none !important;
    }
}


/* ============================================================
   NATURAL PROVINCE IMAGES + ACTIVE LABEL SPOTLIGHT
   ============================================================ */

/*
 * Keep the complete map naturally visible.
 * Hover no longer blurs, fades or colour-filters surrounding elements.
 */
.gdd-map-section #georgia-map.has-spotlight .base-scene-layer,
.gdd-map-section
.atlas-shell.is-dragging-mode
#georgia-map.has-spotlight
.base-scene-layer {
    opacity: 1;
    filter: none;
}

/*
 * Province photography appears at its original colour and brightness.
 * The only hover change is the existing zoom and active province outline.
 */
.gdd-map-section .region-image,
.gdd-map-section .region-image.is-ready,
.gdd-map-section .region-image.is-ready.is-visible {
    filter: none !important;
}

.gdd-map-section .region-image {
    opacity: 0;
    transform: scale(1.025);

}

.gdd-map-section .region-image.is-ready {
    opacity: 1;
}

.gdd-map-section .region-image.is-ready.is-visible {
    opacity: 1;
    transform: scale(1.17);
}

/*
 * Disable every photographic colour/tint overlay.
 * The source image is displayed exactly as supplied.
 */
.gdd-map-section .region-image-tint,

    /*
     * The spotlight is now an outline/highlight around the active province,
     * rather than a white veil over its photograph.
     */
.gdd-map-section .spotlight-region {
    fill: transparent;
    stroke: url(#hologramTrace);
    stroke-width: 3.15;
    filter:
        drop-shadow(0 0 5px rgba(227, 103, 51, 0.40))
        drop-shadow(0 0 11px rgba(227, 103, 51, 0.18));
}

/*
 * Dedicated active province label.
 * It belongs to the top spotlight layer, so the active image and stickers
 * can never cover the province name.
 */
.gdd-map-section .spotlight-label-position,
.gdd-map-section .spotlight-label {
    pointer-events: none;
}

.gdd-map-section .spotlight-label {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: translateY(9px) scale(0.88);

}

.gdd-map-section
.region-spotlight.is-visible
.spotlight-label {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gdd-map-section .spotlight-label-panel {
    fill: rgba(227, 103, 51, 0.97);
    stroke: rgba(255, 255, 255, 0.90);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    filter:
        drop-shadow(0 7px 10px rgba(85, 31, 10, 0.20))
        drop-shadow(0 0 7px rgba(227, 103, 51, 0.18));
}

.gdd-map-section .spotlight-label-text {
    fill: #ffffff;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        "Segoe UI",
        "Noto Sans Georgian",
        Arial,
        sans-serif;
    font-size: 11.6px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-anchor: middle;
    text-transform: uppercase;
    paint-order: stroke fill;
    stroke: rgba(153, 53, 16, 0.46);
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
}

/*
 * The ordinary marker remains visible, but the duplicate active label in
 * the spotlight layer is the sharp top-most version.
 */
.gdd-map-section
#georgia-map.has-spotlight
.region-marker.is-active
.marker-label {
    opacity: 0;
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
    .gdd-map-section #georgia-map.has-spotlight .base-scene-layer {
        opacity: 1;
        filter: none;
    }

    .gdd-map-section .spotlight-label-text {
        font-size: 10.4px;
    }
}


/* ============================================================
   MODAL INTEGRATION PERFORMANCE OVERRIDES
   The full-screen modal backdrop performs the one required blur.
   Avoid a second expensive backdrop blur inside the map itself.
   ============================================================ */
.gdd-map-section .atlas-shell.is-modal-open .map-freeze-overlay {
    background: rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.gdd-map-section .atlas-shell.is-modal-open .map-stage {
    will-change: auto;
}

.gdd-map-section .atlas-shell.is-sleeping .spotlight-layer,
.gdd-map-section .atlas-shell.is-modal-open .spotlight-layer {
    visibility: hidden;
}

/* ============================================================
   GDD MAP — RUNTIME PERFORMANCE SAFEGUARDS
   Preserves interactions while avoiding continuous repaint work.
   ============================================================ */

.gdd-map-section .atlas-shell {
    contain: layout paint style;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,248,244,.91)) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow:
        0 24px 64px rgba(112,45,17,.12),
        0 7px 22px rgba(227,103,51,.07),
        inset 0 1px 0 rgba(255,255,255,.98) !important;
}

.gdd-map-section .atlas-shell::before {
    background: linear-gradient(115deg, transparent 16%, rgba(255,255,255,.74) 46%, transparent 72%) !important;
    opacity: .34 !important;
    mix-blend-mode: normal !important;
}

.gdd-map-section .atlas-shell::after {
    opacity: .42 !important;
    filter: none !important;
}

.gdd-map-section .map-stage {

    contain: layout paint style;
}

.gdd-map-section .atlas-shell.is-dragging-mode .map-stage,
.gdd-map-section .atlas-shell.is-camera-animating .map-stage {
    will-change: transform !important;
}

/* Decorative atmosphere is retained as a static composition. */
.gdd-map-section .ambient-glow,
.gdd-map-section .ambient-orbit,
.gdd-map-section .ambient-route,
.gdd-map-section .ambient-spark,
.gdd-map-section .ambient-cross {
    animation: none !important;
    will-change: auto !important;
}

.gdd-map-section .ambient-orbit { opacity: .18 !important; }
.gdd-map-section .ambient-route { opacity: .22 !important; }
.gdd-map-section .ambient-spark { opacity: .24 !important; }
.gdd-map-section .ambient-cross { opacity: .13 !important; }

/* No full-map GPU filter passes. */
.gdd-map-section .country-aura,
.gdd-map-section .spotlight-region,
.gdd-map-section .spotlight-label-panel,
.gdd-map-section .marker-label,
.gdd-map-section .region-marker,
.gdd-map-section .region-halo,
.gdd-map-section .region-trace,
.gdd-map-section .region,
.gdd-map-section #georgia-map {
    filter: none !important;
}



/* Province photography stays on a single SVG layer. */
.gdd-map-section .region-image {
    filter: none !important;
    will-change: auto !important;

}


.gdd-map-section .pin-pulse {
    animation: none !important;
    opacity: .20;
}

.gdd-map-section .region-marker.is-active .pin-pulse {
    animation: pin-pulse .82s ease-out 1 !important;
}

.gdd-map-section .province-sticker {
    filter: none !important;
    will-change: auto !important;

}

.gdd-map-section .region-spotlight.is-visible .province-sticker {
    will-change: opacity, transform !important;
}

.gdd-map-section .region-spotlight:not(.is-visible) .province-sticker {
    visibility: hidden;
}

/* Simulated glass is much cheaper than backdrop-filter on large surfaces. */
.gdd-map-section .instruction-card,
.gdd-map-section .zoom-controls,
.gdd-map-section .map-freeze-overlay,
.gdd-map-section .toast {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.gdd-map-section .instruction-card,
.gdd-map-section .zoom-controls,
.gdd-map-section .toast {
    background: rgba(255,255,255,.965) !important;
}

/* Dragging must remain the cheapest state. */
.gdd-map-section .atlas-shell.is-dragging-mode .spotlight-layer {
    visibility: hidden !important;
}

.gdd-map-section .atlas-shell.is-dragging-mode .region-image,
.gdd-map-section .atlas-shell.is-dragging-mode .province-sticker,
.gdd-map-section .atlas-shell.is-dragging-mode .region-trace,
.gdd-map-section .atlas-shell.is-dragging-mode .region-halo,
.gdd-map-section .atlas-shell.is-dragging-mode .marker-pin,
.gdd-map-section .atlas-shell.is-dragging-mode .marker-label {
    animation: none !important;
    transition: none !important;
}

/* Pause every remaining animation when offscreen, hidden, or behind modal. */
.gdd-map-section .atlas-shell.is-sleeping *,
.gdd-map-section .atlas-shell.is-modal-open * {
    animation-play-state: paused !important;
}

.gdd-map-section .atlas-shell.is-sleeping .spotlight-layer,
.gdd-map-section .atlas-shell.is-modal-open .spotlight-layer {
    display: none !important;
}

/* Balanced/lite tiers never repaint a pointer-following radial gradient. */
.gdd-map-section .atlas-shell.perf-balanced .map-viewport::before,
.gdd-map-section .atlas-shell.perf-lite .map-viewport::before {
    background:
        radial-gradient(circle 260px at 50% 48%, rgba(227,103,51,.055), transparent 72%),
        repeating-radial-gradient(ellipse at 50% 50%, transparent 0 68px, rgba(227,103,51,.018) 69px, transparent 71px) !important;
}

.gdd-map-section .atlas-shell.perf-lite .ambient-orbit,
.gdd-map-section .atlas-shell.perf-lite .ambient-route,
.gdd-map-section .atlas-shell.perf-lite .ambient-spark,
.gdd-map-section .atlas-shell.perf-lite .ambient-cross,
.gdd-map-section .atlas-shell.perf-lite .country-aura {
    display: none !important;
}

.gdd-map-section .atlas-shell.perf-lite .map-grid {
    opacity: .20 !important;
}

.gdd-map-section .atlas-shell.perf-lite .region-image {
    transition-duration: .20s, .36s !important;
}

.gdd-map-section .atlas-shell.perf-lite .province-sticker {
    transition-duration: .18s, .30s !important;
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
    .gdd-map-section .map-viewport::before,
    .gdd-map-section .map-viewport::after {
        display: none !important;
    }

    .gdd-map-section .atlas-shell::before,
    .gdd-map-section .atlas-shell::after {
        opacity: .20 !important;
    }

    .gdd-map-section .region-image.is-visible {
        transform: scale(1.075) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gdd-map-section .region-image,
    .gdd-map-section .province-sticker,
    .gdd-map-section .spotlight-label,
    .gdd-map-section .marker-pin,
    .gdd-map-section .marker-label {
        transition-duration: .12s !important;
    }
}
/* Lite devices keep all core map controls but skip decorative sticker media. */
.gdd-map-section .atlas-shell.perf-lite .province-sticker-layer {
    display: none !important;
}

/* The mount owns an isolated paint area once its SVG is hydrated. */
.gdd-map-section .map-mount {
    contain: layout paint style;
}


/* Startup is a single reveal, not a long decorative animation sequence. */
.gdd-map-section .atlas-shell.is-initialised::before,
.gdd-map-section .atlas-shell.is-initialised:not(.is-sleeping) .map-viewport::after {
    animation: none !important;
}

.gdd-map-section .atlas-shell.perf-balanced .map-viewport {
    transition-duration: .12s, .18s !important;
}

.gdd-map-section .atlas-shell.perf-lite .map-viewport,
.gdd-map-section .atlas-shell.perf-lite .atlas-loader {
    transition: none !important;
}

.gdd-map-section .atlas-shell.perf-lite .map-viewport {
    transform: none !important;
}


/* ============================================================
   GDD MAP — INTERACTION / COMPOSITOR TUNING
   Keeps drag and zoom work on compositor-friendly properties.
   ============================================================ */

/* Keep the one large moving surface promoted before the first gesture. */
.gdd-map-section .map-stage {
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform-style: flat;
}

/* Pointer-following gradients are decorative and force a large repaint. */
.gdd-map-section .map-viewport::before {
    background:
        radial-gradient(circle 260px at 50% 48%, rgba(227,103,51,.052), transparent 72%),
        repeating-radial-gradient(ellipse at 50% 50%, transparent 0 68px, rgba(227,103,51,.017) 69px, transparent 71px) !important;
}

/* Hovering one province should not repaint/dim every other SVG path. */
.gdd-map-section #georgia-map.has-active .region--available:not(.is-active) {
    opacity: 1 !important;
}

/* Expensive SVG transitions are reduced to the few properties users notice. */
.gdd-map-section .region {
    transition:
        fill .16s ease,
        stroke .16s ease,
        stroke-width .18s var(--ease-smooth) !important;
}

.gdd-map-section .region-halo,
.gdd-map-section .region-trace {
    transition: opacity .16s ease !important;
}

/* Moving dashed SVG strokes repaint every frame; use a static active trace. */
.gdd-map-section .region-trace.is-visible {
    animation: none !important;
}

.gdd-map-section .region-marker {
    transition: opacity .16s ease !important;
}

.gdd-map-section .marker-pin {
    transition: transform .26s var(--ease-smooth) !important;
}

.gdd-map-section .marker-label {
    transition: transform .24s var(--ease-smooth) !important;
}

.gdd-map-section .label-panel,
.gdd-map-section .label-text {
    transition-duration: .16s !important;
}

/* Photos keep the zoom, but with a shorter compositor-friendly transform. */
.gdd-map-section .region-image {
    transition:
        opacity .20s ease,
        transform .42s var(--ease-smooth) !important;
}

.gdd-map-section .region-image.is-visible {
    transform: scale(1.09) !important;
}

.gdd-map-section .region-spotlight {
    transition:
        opacity .18s ease,
        visibility .18s ease !important;
}

.gdd-map-section .spotlight-label {
    transition:
        opacity .18s ease,
        transform .30s var(--ease-smooth) !important;
}

.gdd-map-section .province-sticker {
    transition:
        opacity .18s ease,
        transform .34s var(--ease-smooth) !important;
}

/* The drag path is transform-only: no child transition/repaint work. */
.gdd-map-section .atlas-shell.is-dragging-mode .region,
.gdd-map-section .atlas-shell.is-dragging-mode .region-image,
.gdd-map-section .atlas-shell.is-dragging-mode .region-marker,
.gdd-map-section .atlas-shell.is-dragging-mode .region-halo,
.gdd-map-section .atlas-shell.is-dragging-mode .region-trace,
.gdd-map-section .atlas-shell.is-dragging-mode .spotlight-label,
.gdd-map-section .atlas-shell.is-dragging-mode .province-sticker {
    transition: none !important;
    animation: none !important;
}

/* Avoid a new compositing decision when interaction starts. */
.gdd-map-section .atlas-shell.is-dragging-mode .map-stage,
.gdd-map-section .atlas-shell.is-camera-animating .map-stage,
.gdd-map-section .atlas-shell.is-modal-open .map-stage {
    will-change: transform !important;
}

/* Mobile gets a simpler static decorative surface, but identical controls. */
.gdd-map-section .atlas-shell.perf-lite .map-stage {
    will-change: auto !important;
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
    .gdd-map-section .region-image {
        transition: opacity .16s ease, transform .28s var(--ease-smooth) !important;
    }

    .gdd-map-section .region-image.is-visible {
        transform: scale(1.055) !important;
    }

    .gdd-map-section .spotlight-label {
        transition: opacity .14s ease, transform .22s var(--ease-smooth) !important;
    }
}

/* ============================================================
   GDD MAP — PHOTO BACKDROP
   The photo is an explicit layer inside atlas-shell. This keeps the hero
   cover independent and guarantees the image sits behind the SVG map.
   ============================================================ */

.gdd-map-section .atlas-shell {
    isolation: isolate;

}

.gdd-map-section .gdd-map-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 250, 247, 0.40) 48%,
            rgba(255, 244, 237, 0.48) 100%
        ),
        var(--gdd-map-background-image, none) center / cover no-repeat,
        #fff8f3;
}

/* The hydrated map stays above the photograph. */
.gdd-map-section .map-mount {
    z-index: 1;
    background: transparent;
}

.gdd-map-section .map-viewport {
    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(227, 103, 51, 0.045),
            transparent 45%
        ),
        linear-gradient(rgba(227, 103, 51, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 103, 51, 0.018) 1px, transparent 1px),
        transparent !important;
    background-size: auto, 48px 48px, 48px 48px, auto;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* The SVG atmosphere remains visible without painting an opaque sheet over
   the photo. Province shapes, labels and interactions stay unchanged. */
.gdd-map-section .map-floor {
    opacity: 0.30 !important;
}

.gdd-map-section .map-grid {
    opacity: 0.18 !important;
}

.gdd-map-section .ambient-glow {
    opacity: 0.32 !important;
}

.gdd-map-section .country-aura {
    opacity: 0.10 !important;
}

/* Keep the loading overlay crisp above the photographic background. */
.gdd-map-section .atlas-loader {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
    .gdd-map-section .gdd-map-backdrop {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.38) 0%,
                rgba(255, 250, 247, 0.46) 52%,
                rgba(255, 244, 237, 0.54) 100%
            ),
            var(--gdd-map-background-image, none) center / cover no-repeat,
            #fff8f3;
    }

    .gdd-map-section .map-floor {
        opacity: 0.36 !important;
    }
}
