.v3datlas-root {
    --v3datlas-emerald-950: #0a201a;
    --v3datlas-emerald-900: #0f3d2e;
    --v3datlas-emerald-800: #17513d;
    --v3datlas-navy-800: #131c2b;
    --v3datlas-gold: #c9a24b;
    --v3datlas-gold-soft: #e8cf86;
    --v3datlas-cream: #f6f1e6;
    --v3datlas-cream-dim: #cfc8b8;
    --v3datlas-glass-bg: rgba(10, 32, 26, 0.78);
    --v3datlas-radius-lg: 20px;
    --v3datlas-radius-md: 12px;
    --v3datlas-font-display: 'Cormorant Garamond', Georgia, serif;
    --v3datlas-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    display: block;
    width: 100%;
    position: relative;
    background-color: var(--v3datlas-emerald-950);
    background-image:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(23, 81, 61, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 85% 15%, rgba(201, 162, 75, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 90% 70% at 50% 100%, var(--v3datlas-emerald-900) 0%, transparent 70%);
    color: var(--v3datlas-cream);
    font-family: var(--v3datlas-font-body);
    padding: 48px 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.v3datlas-root *,
.v3datlas-root *::before,
.v3datlas-root *::after {
    box-sizing: inherit;
}

/* ── Hero ── */

.v3datlas-hero {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.v3datlas-eyebrow {
    font-family: var(--v3datlas-font-body);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 13px;
    font-weight: 700;
    color: var(--v3datlas-gold-soft);
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.v3datlas-eyebrow::before,
.v3datlas-eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v3datlas-gold-soft));
}

.v3datlas-eyebrow::after {
    background: linear-gradient(90deg, var(--v3datlas-gold-soft), transparent);
}

.v3datlas-title {
    font-family: var(--v3datlas-font-display);
    font-weight: 600;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    color: var(--v3datlas-cream);
    text-wrap: balance;
}

.v3datlas-intro {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    color: var(--v3datlas-cream-dim);
    max-width: 560px;
    margin: 0 auto 26px;
}

.v3datlas-hero-cta {
    margin: 0;
}

.v3datlas-hero-cta a {
    color: var(--v3datlas-emerald-950);
    background: linear-gradient(135deg, var(--v3datlas-gold-soft), var(--v3datlas-gold));
    border-radius: 999px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(201, 162, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v3datlas-hero-cta a::after {
    content: "\2192";
    font-weight: 700;
    transition: transform 0.2s ease;
}

.v3datlas-hero-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 162, 75, 0.45);
}

.v3datlas-hero-cta a:hover::after {
    transform: translateX(3px);
}

/* ── Filter bar ── */

.v3datlas-filter-bar {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.v3datlas-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v3datlas-filter-actions {
    display: flex;
    margin-left: auto;
}

.v3datlas-filter-chip {
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(232, 207, 134, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--v3datlas-cream-dim);
    font-family: var(--v3datlas-font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.v3datlas-filter-chip:hover {
    border-color: rgba(232, 207, 134, 0.5);
    color: var(--v3datlas-cream);
}

.v3datlas-filter-chip.is-active {
    border-color: var(--v3datlas-gold);
    color: var(--v3datlas-emerald-950);
    background: linear-gradient(135deg, var(--v3datlas-gold-soft), var(--v3datlas-gold));
    font-weight: 700;
}

.v3datlas-surprise-btn {
    margin-left: auto;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgba(232, 207, 134, 0.3);
    background: rgba(201, 162, 75, 0.1);
    color: var(--v3datlas-gold-soft);
    font-family: var(--v3datlas-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.v3datlas-surprise-btn:hover {
    background: rgba(201, 162, 75, 0.2);
    transform: translateY(-1px);
}

/* ── Visited strip ── */

.v3datlas-visited-strip {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 12px auto 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(232, 207, 134, 0.15);
    text-align: center;
}

.v3datlas-visited-count {
    font-size: 13px;
    color: var(--v3datlas-gold-soft);
    font-weight: 500;
}

/* ── Map stage ── */

.v3datlas-stage {
    /* This establishes its own stacking context (position + z-index), so
       everything nested in it -- including the sidebar, even once it
       becomes position:fixed for the mobile bottom-sheet -- stacks against
       .v3datlas-destination-list/.v3datlas-footer as one unit, not
       individually. Those later siblings share the same z-index:1 and
       would otherwise win ties by DOM order, painting over the open
       mobile sidebar no matter how high its own z-index is set. Kept
       above the sidebar's own z-index (5) so that can never happen. */
    position: relative;
    z-index: 6;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.v3datlas-map-mount {
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 10;
    margin: 0 auto;
    position: relative;
    border-radius: var(--v3datlas-radius-lg);
    border: 1px solid rgba(232, 207, 134, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    background: var(--v3datlas-emerald-950);
}

.v3datlas-map-svg {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
}

.v3datlas-map-svg:active {
    cursor: grabbing;
}

/* ── Globe layers ── */

.v3datlas-globe-sphere {
    fill: var(--v3datlas-emerald-950);
    stroke: rgba(232, 207, 134, 0.3);
    stroke-width: 1;
}

.v3datlas-globe-graticule {
    fill: none;
    stroke: rgba(246, 241, 230, 0.08);
    stroke-width: 0.5;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.v3datlas-atmosphere {
    pointer-events: none;
    opacity: 0.6;
}

.v3datlas-terminator {
    fill: rgba(0, 0, 0, 0.22);
    stroke: none;
    pointer-events: none;
    transition: d 0.5s ease;
}

.v3datlas-country {
    fill: var(--v3datlas-emerald-800);
    stroke: rgba(246, 241, 230, 0.12);
    stroke-width: 0.5;
    vector-effect: non-scaling-stroke;
    transition: fill 0.15s ease;
}

.v3datlas-country:hover {
    fill: rgba(201, 162, 75, 0.4);
}

/* ── Routes & arcs ── */

.v3datlas-route {
    fill: none;
    stroke: var(--v3datlas-gold-soft);
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.v3datlas-flight-arc {
    fill: none;
    stroke: var(--v3datlas-gold);
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
    opacity: 0.7;
}

/* ── Markers ── */

.v3datlas-point-dot {
    fill: var(--v3datlas-gold-soft);
    stroke: var(--v3datlas-emerald-950);
    stroke-width: 1.2;
}

.v3datlas-point-glow {
    fill: var(--v3datlas-gold);
    opacity: 0.22;
}

.v3datlas-marker-point:hover .v3datlas-point-dot,
.v3datlas-marker-point:focus-visible .v3datlas-point-dot {
    fill: var(--v3datlas-cream);
}

.v3datlas-marker-point.is-visited .v3datlas-point-dot {
    fill: #6dd49e;
    stroke: var(--v3datlas-emerald-950);
}

.v3datlas-marker-point.is-visited .v3datlas-point-glow {
    fill: #6dd49e;
    opacity: 0.25;
}

.v3datlas-marker-point.is-wantgo .v3datlas-point-dot {
    fill: #e8a44a;
    stroke: var(--v3datlas-emerald-950);
}

.v3datlas-marker-point.is-wantgo .v3datlas-point-glow {
    fill: #e8a44a;
    opacity: 0.3;
}

.v3datlas-cluster-dot {
    fill: var(--v3datlas-emerald-900);
    stroke: var(--v3datlas-gold-soft);
    stroke-width: 2;
}

.v3datlas-cluster-glow {
    fill: var(--v3datlas-gold);
    opacity: 0.16;
}

.v3datlas-cluster-label {
    fill: var(--v3datlas-cream);
    font-family: var(--v3datlas-font-body);
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.v3datlas-marker-cluster:hover .v3datlas-cluster-dot,
.v3datlas-marker-cluster:focus-visible .v3datlas-cluster-dot {
    stroke: var(--v3datlas-cream);
}

/* ── Minimap ── */

.v3datlas-minimap {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 100px;
    height: 100px;
    border-radius: var(--v3datlas-radius-md);
    border: 1px solid rgba(232, 207, 134, 0.2);
    background: rgba(10, 32, 26, 0.85);
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

.v3datlas-minimap svg {
    display: block;
    width: 100%;
    height: 100%;
}

.v3datlas-mini-sphere {
    fill: var(--v3datlas-emerald-950);
    stroke: rgba(232, 207, 134, 0.2);
    stroke-width: 0.5;
}

.v3datlas-mini-country {
    fill: var(--v3datlas-emerald-800);
    stroke: rgba(246, 241, 230, 0.08);
    stroke-width: 0.3;
}

/* ── Zoom controls ── */

.v3datlas-map-zoom-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    border-radius: var(--v3datlas-radius-md);
    overflow: hidden;
    border: 1px solid rgba(232, 207, 134, 0.25);
    background: rgba(10, 32, 26, 0.75);
    z-index: 2;
}

.v3datlas-map-zoom-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--v3datlas-cream);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.v3datlas-map-zoom-btn:first-child {
    border-bottom: 1px solid rgba(232, 207, 134, 0.2);
}

.v3datlas-map-zoom-btn:hover,
.v3datlas-map-zoom-btn:focus-visible {
    background: rgba(232, 207, 134, 0.15);
}

.v3datlas-map-attribution {
    position: absolute;
    bottom: 4px;
    right: 8px;
    margin: 0;
    font-size: 10px;
    color: rgba(207, 200, 184, 0.6);
    z-index: 2;
    pointer-events: none;
}

.v3datlas-map-unavailable {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--v3datlas-cream-dim);
}

/* ── Sidebar ── */

.v3datlas-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(380px, 92%);
    background: var(--v3datlas-glass-bg);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-left: 1px solid rgba(232, 207, 134, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    z-index: 5;
}

.v3datlas-sidebar.is-open {
    transform: translateX(0);
}

.v3datlas-root[data-v3datlas-narrow] .v3datlas-sidebar {
    /* Anchor to the actual viewport, not .v3datlas-stage (the map box) --
       .v3datlas-sidebar's containing block is otherwise the map's own
       small aspect-ratio box, which on a narrow phone is only ~200px
       tall, so "bottom sheet" would render as a cramped strip pinned to
       the bottom of the map rather than a real drawer over the screen. */
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-left: none;
    border-top: 1px solid rgba(232, 207, 134, 0.2);
    border-radius: var(--v3datlas-radius-lg) var(--v3datlas-radius-lg) 0 0;
    transform: translateY(100%);
}

.v3datlas-root[data-v3datlas-narrow] .v3datlas-sidebar.is-open {
    transform: translateY(0);
}

.v3datlas-sidebar-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--v3datlas-cream);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.v3datlas-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ── Sidebar action buttons ── */

.v3datlas-sidebar-actions {
    /* .v3datlas-sidebar (the <aside>, not this row) is the scroll
       container, so without sticky positioning, scrolling down through a
       destination's cards would carry the close button out of view with
       everything else -- leaving no way to dismiss the sidebar by touch
       on mobile, where there's no Escape key to fall back on. */
    position: sticky;
    top: -20px;
    margin-top: -20px;
    padding-top: 20px;
    padding-bottom: 8px;
    z-index: 2;
    display: flex;
    gap: 8px;
    background: var(--v3datlas-glass-bg);
}

.v3datlas-sidebar-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(232, 207, 134, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--v3datlas-cream-dim);
    font-family: var(--v3datlas-font-body);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.v3datlas-sidebar-action-btn:hover {
    border-color: rgba(232, 207, 134, 0.4);
    color: var(--v3datlas-cream);
    background: rgba(255, 255, 255, 0.08);
}

.v3datlas-sidebar-action-btn.is-active {
    border-color: var(--v3datlas-gold);
    color: var(--v3datlas-gold-soft);
    background: rgba(201, 162, 75, 0.12);
}

/* ── Sidebar content ── */

.v3datlas-sidebar-hero {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--v3datlas-radius-md);
    margin-bottom: 12px;
}

.v3datlas-sidebar-name {
    font-family: var(--v3datlas-font-display);
    font-size: 26px;
    font-weight: 600;
    margin: 8px 0 0;
    color: var(--v3datlas-cream) !important;
}

.v3datlas-sidebar-country {
    color: var(--v3datlas-cream-dim);
    margin: 0 0 16px;
}

.v3datlas-sidebar-signature {
    font-family: var(--v3datlas-font-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.4;
    color: var(--v3datlas-cream);
    margin: -8px 0 16px;
}

/* ── Sidebar cards ── */

.v3datlas-sidebar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--v3datlas-radius-md);
    padding: 14px;
    margin-bottom: 12px;
}

.v3datlas-card-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--v3datlas-gold-soft);
    margin: 0 0 10px;
}

/* ── Live strip ── */

.v3datlas-live-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(201, 162, 75, 0.06);
    border: 1px solid rgba(232, 207, 134, 0.12);
}

.v3datlas-live-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--v3datlas-cream);
    white-space: nowrap;
}

.v3datlas-live-icon {
    font-size: 14px;
    line-height: 1;
}

/* ── Travel snapshot ── */

.v3datlas-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.v3datlas-snapshot-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.v3datlas-snapshot-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--v3datlas-cream-dim);
    font-weight: 600;
}

.v3datlas-snapshot-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--v3datlas-cream);
}

.v3datlas-snapshot-cost {
    letter-spacing: 0.15em;
    color: var(--v3datlas-gold-soft);
}

/* Safety rating bars */

.v3datlas-snapshot-bars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.v3datlas-bar {
    width: 12px;
    height: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.v3datlas-bar.is-filled {
    background: #6dd49e;
}

/* ── Best-for tags ── */

.v3datlas-best-for-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.v3datlas-best-for-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid rgba(232, 207, 134, 0.18);
    font-size: 11px;
    font-weight: 600;
    color: var(--v3datlas-gold-soft);
    text-transform: capitalize;
}

/* ── Radar chart ── */

.v3datlas-radar-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.v3datlas-radar-chart {
    width: 120px;
    height: 120px;
}

.v3datlas-radar-grid {
    fill: none;
    stroke: rgba(246, 241, 230, 0.1);
    stroke-width: 0.5;
}

.v3datlas-radar-fill {
    fill: rgba(201, 162, 75, 0.2);
    stroke: var(--v3datlas-gold-soft);
    stroke-width: 1.5;
}

.v3datlas-radar-label {
    fill: var(--v3datlas-cream-dim);
    font-family: var(--v3datlas-font-body);
    font-size: 9px;
    font-weight: 600;
}

/* ── Stat row (country dashboard) ── */

.v3datlas-stat-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.v3datlas-stat-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.v3datlas-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--v3datlas-cream);
    font-variant-numeric: tabular-nums;
}

.v3datlas-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--v3datlas-cream-dim);
    font-weight: 600;
}

/* ── Weather ── */

.v3datlas-weather-now {
    font-size: 14px;
    color: var(--v3datlas-cream);
    margin: 0 0 6px;
}

.v3datlas-weather-normals {
    font-size: 14px;
    color: var(--v3datlas-cream-dim);
    margin: 0 0 6px;
}

.v3datlas-best-time {
    font-size: 13px;
    color: var(--v3datlas-cream-dim);
    margin: 8px 0 0;
}

/* ── Heatmap calendar ── */

.v3datlas-heatmap-wrap {
    margin-top: 10px;
}

.v3datlas-heatmap-strip {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    border-radius: 6px;
    overflow: hidden;
}

.v3datlas-heatmap-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    min-height: 32px;
    position: relative;
}

.v3datlas-heatmap-cell.is-current {
    outline: 2px solid var(--v3datlas-cream);
    outline-offset: -1px;
    border-radius: 3px;
    z-index: 1;
}

.v3datlas-heatmap-month {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.v3datlas-heatmap-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 10px;
    color: var(--v3datlas-cream-dim);
}

/* ── Country notes ── */

.v3datlas-country-detail {
    font-size: 13px;
    color: var(--v3datlas-cream-dim);
    margin: 0 0 8px;
}

.v3datlas-country-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.v3datlas-country-facts li {
    padding: 4px 0;
}

/* ── Fact / Wiki / Attribution ── */

.v3datlas-fact-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--v3datlas-cream);
    margin: 0;
}

.v3datlas-wiki-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--v3datlas-cream-dim);
    margin: 0 0 6px;
}

.v3datlas-attribution {
    font-size: 10px;
    color: rgba(207, 200, 184, 0.5);
    margin: 4px 0 0;
}

/* ── Related chips ── */

.v3datlas-related-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v3datlas-related-chip {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(232, 207, 134, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: var(--v3datlas-cream);
    font-size: 13px;
    cursor: pointer;
    font-family: var(--v3datlas-font-body);
}

.v3datlas-related-chip:hover,
.v3datlas-related-chip:focus-visible {
    border-color: var(--v3datlas-gold-soft);
    color: var(--v3datlas-gold-soft);
}

/* ── Sidebar shared states ── */

.v3datlas-sidebar-loading,
.v3datlas-sidebar-error {
    color: var(--v3datlas-cream-dim);
    font-size: 14px;
}

.v3datlas-sidebar-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0;
}

.v3datlas-sidebar-section h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--v3datlas-gold-soft);
    margin: 0 0 8px;
}

.v3datlas-fact p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.v3datlas-muted {
    color: var(--v3datlas-cream-dim);
    font-size: 14px;
    margin: 0;
}

/* ── Destination list ── */

.v3datlas-destination-list {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 40px auto 0;
}

.v3datlas-list-heading {
    font-family: var(--v3datlas-font-display);
    font-size: 22px;
    margin: 0 0 12px;
}

.v3datlas-list-search {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(232, 207, 134, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--v3datlas-cream);
    font-family: var(--v3datlas-font-body);
    font-size: 14px;
}

.v3datlas-list-search::placeholder {
    color: var(--v3datlas-cream-dim);
}

.v3datlas-list-search:focus {
    outline: none;
    border-color: var(--v3datlas-gold-soft);
}

.v3datlas-region[data-v3datlas-hidden] {
    display: none;
}

.v3datlas-region-list li[data-v3datlas-hidden] {
    display: none;
}

.v3datlas-list-empty {
    color: var(--v3datlas-cream-dim);
}

.v3datlas-region {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.v3datlas-region summary {
    cursor: pointer;
    font-weight: 700;
}

.v3datlas-region-count {
    color: var(--v3datlas-cream-dim);
    font-weight: 400;
}

.v3datlas-region-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 16px;
}

.v3datlas-region-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    margin: 0;
    padding: 2px 0;
    font: inherit;
    text-align: left;
    color: var(--v3datlas-cream);
    cursor: pointer;
}

.v3datlas-region-link:hover,
.v3datlas-region-link:focus-visible {
    color: var(--v3datlas-gold-soft);
    text-decoration: underline;
    outline: none;
}

/* ── Footer ── */

.v3datlas-footer {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 56px auto 0;
}

.v3datlas-footer-banner {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--v3datlas-radius-lg);
    background:
        radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201, 162, 75, 0.16) 0%, transparent 70%),
        linear-gradient(160deg, var(--v3datlas-emerald-900), var(--v3datlas-navy-800));
    border: 1px solid rgba(232, 207, 134, 0.25);
}

.v3datlas-footer-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--v3datlas-gold-soft);
    margin: 0 0 10px;
}

.v3datlas-footer-heading {
    font-family: var(--v3datlas-font-display);
    font-weight: 600;
    font-size: clamp(24px, 3.4vw, 32px);
    color: var(--v3datlas-cream);
    margin: 0 0 10px;
}

.v3datlas-footer-subtitle {
    font-size: 15px;
    color: var(--v3datlas-cream-dim);
    max-width: 480px;
    margin: 0 auto 22px;
}

.v3datlas-footer-banner-cta {
    display: inline-block;
    color: var(--v3datlas-emerald-950);
    background: linear-gradient(135deg, var(--v3datlas-gold-soft), var(--v3datlas-gold));
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 26px rgba(201, 162, 75, 0.3);
}

.v3datlas-footer-banner-cta:hover,
.v3datlas-footer-banner-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 162, 75, 0.4);
}

.v3datlas-footer-section {
    margin-top: 36px;
}

.v3datlas-footer-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--v3datlas-gold-soft);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v3datlas-footer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.v3datlas-footer-cards--compact {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.v3datlas-footer-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: var(--v3datlas-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.v3datlas-footer-card:hover,
.v3datlas-footer-card:focus-visible {
    border-color: rgba(232, 207, 134, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    outline: none;
}

.v3datlas-footer-card-icon {
    font-size: 22px;
    line-height: 1;
}

.v3datlas-footer-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v3datlas-cream);
}

.v3datlas-footer-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--v3datlas-cream-dim);
}

.v3datlas-footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
}

.v3datlas-footer-wordmark {
    font-family: var(--v3datlas-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--v3datlas-cream);
}

.v3datlas-footer-tagline {
    font-size: 13px;
    color: var(--v3datlas-cream-dim);
    margin: 0;
    flex: 1 1 auto;
}

.v3datlas-footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.v3datlas-footer-legal a {
    color: var(--v3datlas-cream-dim);
    text-decoration: none;
    transition: color 0.15s ease;
}

.v3datlas-footer-legal a:hover,
.v3datlas-footer-legal a:focus-visible {
    color: var(--v3datlas-gold-soft);
    text-decoration: underline;
}

.v3datlas-footer-version {
    color: var(--v3datlas-cream-dim);
    opacity: 0.6;
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .v3datlas-filter-bar {
        gap: 6px;
    }

    .v3datlas-filter-chip {
        padding: 5px 12px;
        font-size: 12px;
    }

    .v3datlas-surprise-btn {
        margin-left: 0;
        flex: 1 1 100%;
    }

    .v3datlas-snapshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v3datlas-heatmap-strip {
        grid-template-columns: repeat(6, 1fr);
    }

    .v3datlas-heatmap-cell {
        min-height: 26px;
    }

    .v3datlas-footer-cards,
    .v3datlas-footer-cards--compact {
        grid-template-columns: 1fr 1fr;
    }

    .v3datlas-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v3datlas-root * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
