/* GTA6 STREET — Interactive Leonida Atlas
   Page-specific layer loaded after the shared World styles.
   The map is the product on this page: keep the canvas dominant and the
   supporting controls/record intelligence inside the same workspace. */

.world-atlas-page {
    --atlas-bg: #06090d;
    --atlas-panel: #0b1117;
    --atlas-panel-2: #101821;
    --atlas-panel-3: #141e28;
    --atlas-line: rgba(255, 255, 255, .11);
    --atlas-line-strong: rgba(255, 255, 255, .19);
    --atlas-text: #f6f5f1;
    --atlas-muted: #8d9ba8;
    --atlas-cyan: #4ee2dc;
    --atlas-cyan-rgb: 78, 226, 220;
    --atlas-pink: #ff4f87;
    --atlas-orange: #ff8b57;
    width: min(1720px, calc(100% - 24px));
    padding-top: 14px;
    padding-bottom: 88px;
    background: transparent;
}

.world-atlas-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -20;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 10%, rgba(var(--atlas-cyan-rgb), .07), transparent 24%),
        radial-gradient(circle at 14% 34%, rgba(255, 79, 135, .045), transparent 25%),
        #06090d;
}

.world-atlas-page .world-nav {
    max-width: none;
    margin-bottom: 10px;
    border-color: rgba(var(--atlas-cyan-rgb), .16);
    background: rgba(8, 13, 18, .96);
}

/* Compact page intro. The map should arrive in the first viewport. */
.world-atlas-page .world-atlas-hero {
    min-height: 300px;
    border: 1px solid var(--atlas-line);
    border-bottom: 2px solid var(--atlas-cyan);
    background: #080d12;
}

.world-atlas-page .world-atlas-hero .world-tree-hero__layout {
    min-height: 300px;
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, .4fr);
    gap: clamp(28px, 4vw, 68px);
    padding: 42px clamp(26px, 4vw, 64px) 36px;
}

.world-atlas-page .world-atlas-hero .world-tree-hero__veil {
    background:
        linear-gradient(90deg, rgba(4, 7, 10, .98) 0%, rgba(4, 7, 10, .88) 48%, rgba(4, 7, 10, .45) 76%, rgba(4, 7, 10, .78) 100%),
        linear-gradient(180deg, rgba(5, 8, 12, .1), rgba(5, 8, 12, .8));
}

.world-atlas-page .world-atlas-hero h1 {
    max-width: 980px;
    font-size: clamp(48px, 5.3vw, 82px);
    line-height: .88;
}

.world-atlas-page .world-atlas-hero .world-tree-hero__intro {
    max-width: 780px;
    margin-top: 16px;
    font-size: 13px;
}

.world-atlas-page .world-atlas-hero .world-tree-hero__actions {
    margin-top: 18px;
}

.world-atlas-pulse {
    padding-top: 14px;
    border-left-color: rgba(var(--atlas-cyan-rgb), .42);
}

.world-atlas-page .world-atlas-pulse .world-tree-pulse__count {
    margin: 10px 0 14px;
}

.world-atlas-page .world-atlas-pulse .world-tree-pulse__count strong {
    color: var(--atlas-cyan);
    font-size: clamp(48px, 4vw, 66px);
}

/* Atlas shell */
.world-atlas-stage {
    position: relative;
    margin: 12px 0 0;
    padding: 0 0 72px;
}

.world-atlas-console {
    position: relative;
    padding: 0 !important;
    overflow: clip;
    border: 1px solid var(--atlas-line);
    background: var(--atlas-bg);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.world-atlas-console::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0, transparent 42%);
}

.world-atlas-console > * {
    position: relative;
    z-index: 1;
}

/* Command bar */
.world-atlas-commandbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
    padding: 0 clamp(18px, 2.4vw, 34px);
    border-bottom: 1px solid var(--atlas-line);
    background: linear-gradient(90deg, rgba(12, 19, 26, .98), rgba(8, 13, 18, .98));
}

.world-atlas-commandbar__identity {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.world-atlas-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(var(--atlas-cyan-rgb), .38);
    color: var(--atlas-cyan);
    background: rgba(var(--atlas-cyan-rgb), .055);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
}

.world-atlas-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--atlas-cyan);
    box-shadow: 0 0 12px var(--atlas-cyan);
    animation: atlas-live-pulse 1.9s ease-in-out infinite;
}

.world-atlas-commandbar__identity p {
    margin: 0 0 4px;
    color: #6f8190;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.world-atlas-commandbar__identity h2 {
    margin: 0;
    color: var(--atlas-text);
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: .9;
    letter-spacing: -.01em;
}

.world-atlas-commandbar__stats {
    display: flex;
    align-items: stretch;
    margin-right: -1px;
    border-left: 1px solid var(--atlas-line);
}

.world-atlas-commandbar__stats div {
    display: grid;
    align-content: center;
    min-width: 105px;
    padding: 0 18px;
    border-right: 1px solid var(--atlas-line);
}

.world-atlas-commandbar__stats small {
    margin-bottom: 5px;
    color: #657684;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.world-atlas-commandbar__stats strong {
    max-width: 180px;
    overflow: hidden;
    color: #e9eef1;
    font-size: 11px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-atlas-commandbar__stats div:first-child strong {
    color: var(--atlas-cyan);
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: 22px;
    line-height: 1;
}

/* Filters */
.world-atlas-page .world-atlas-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, .62fr)) auto auto;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--atlas-line);
    background: #0a1016;
}

.world-atlas-page .world-atlas-filters:has(label:nth-of-type(4)) {
    grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(145px, .58fr)) auto auto;
}

.world-atlas-page .world-atlas-filters label {
    display: grid;
    align-content: center;
    flex: initial;
    gap: 7px;
    min-width: 0;
    padding: 12px 14px 13px;
    border-right: 1px solid var(--atlas-line);
    background: transparent;
}

.world-atlas-page .world-atlas-filters label:first-child {
    flex-basis: auto;
}

.world-atlas-page .world-atlas-filters label > span:first-child {
    color: #6e7e8c;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-filters input,
.world-atlas-page .world-atlas-filters select {
    min-height: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 0;
    outline: none;
    color: #eef2f3;
    background: #111a23;
    font-size: 10px;
}

.world-atlas-page .world-atlas-filters select {
    cursor: pointer;
}

.world-atlas-page .world-atlas-filters input:focus,
.world-atlas-page .world-atlas-filters select:focus {
    border-color: rgba(var(--atlas-cyan-rgb), .72);
    box-shadow: 0 0 0 1px rgba(var(--atlas-cyan-rgb), .18);
}

.world-atlas-input-wrap {
    position: relative;
    display: block;
}

.world-atlas-input-wrap .material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 2;
    translate: 0 -50%;
    color: #627482;
    font-size: 16px;
    pointer-events: none;
}

.world-atlas-page .world-atlas-input-wrap input {
    width: 100%;
    padding-left: 34px;
}

.world-atlas-page .world-atlas-filters > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 100%;
    padding: 0 18px;
    border: 0;
    border-left: 1px solid var(--atlas-line);
    color: #061012;
    background: var(--atlas-cyan);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.world-atlas-page .world-atlas-filters > button .material-symbols-outlined {
    font-size: 16px;
}

.world-atlas-page .world-atlas-filters > .world-map-filter-reset {
    color: #c1cbd2;
    background: #0d151d;
}

.world-atlas-page .world-atlas-filters > button:hover {
    filter: brightness(1.08);
}

/* Runtime status */
.world-atlas-page .world-atlas-status {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 16px;
    border-bottom: 1px solid var(--atlas-line);
    color: #81909d;
    background: #080e13;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-status p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.world-atlas-page .world-atlas-status .material-symbols-outlined {
    color: var(--atlas-cyan);
    font-size: 14px;
}

.world-atlas-page .world-atlas-status strong {
    color: var(--atlas-cyan);
}

.world-atlas-page .world-atlas-status p.is-error,
.world-atlas-page .world-atlas-status p.is-error .material-symbols-outlined {
    color: #ff7b78;
}

.world-atlas-status__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--atlas-cyan);
    box-shadow: 0 0 14px var(--atlas-cyan);
    animation: atlas-live-pulse 1.1s ease-in-out infinite;
}

.world-atlas-status__hint {
    flex: 0 0 auto;
    color: #596a77;
}

/* Main workspace */
.world-atlas-page .world-atlas-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0;
    align-items: stretch;
    border: 0;
    background: #05080b;
}

.world-atlas-page .world-atlas-map {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-right: 1px solid var(--atlas-line);
    background: #030608;
}

.world-atlas-map__hud {
    position: absolute;
    top: 14px;
    left: 70px;
    right: 14px;
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    pointer-events: none;
}

.world-atlas-map__mode,
.world-atlas-map__readout {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(5, 9, 13, .82);
    backdrop-filter: blur(9px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.world-atlas-map__mode > .material-symbols-outlined {
    color: var(--atlas-cyan);
    font-size: 18px;
}

.world-atlas-map__mode div,
.world-atlas-map__readout {
    display: grid;
}

.world-atlas-map__mode small,
.world-atlas-map__readout small {
    color: #647582;
    font-size: 6px;
    font-weight: 950;
    letter-spacing: .12em;
}

.world-atlas-map__mode strong,
.world-atlas-map__readout strong {
    max-width: 220px;
    overflow: hidden;
    color: #eff2f2;
    font-size: 9px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-atlas-map__readout strong {
    color: var(--atlas-cyan);
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: 18px;
    line-height: 1;
}

.world-atlas-page .world-atlas-canvas {
    position: relative;
    width: 100%;
    height: clamp(620px, 69vh, 880px);
    aspect-ratio: auto;
    overflow: hidden;
    border: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(var(--atlas-cyan-rgb), .06), transparent 52%),
        #030608;
    cursor: grab;
    touch-action: none;
}

.world-atlas-page .world-atlas-canvas:active {
    cursor: grabbing;
}

.world-atlas-page .world-atlas-canvas:focus-visible {
    outline: 2px solid var(--atlas-cyan);
    outline-offset: -2px;
}

.world-atlas-plane {
    will-change: transform;
}

.world-atlas-page .world-atlas-plane > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(1.12) brightness(.67);
    user-select: none;
}

.world-atlas-page .world-atlas-plane::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2,5,8,.18), transparent 18%, transparent 82%, rgba(2,5,8,.18)),
        linear-gradient(180deg, rgba(2,5,8,.15), transparent 20%, transparent 78%, rgba(2,5,8,.24));
}

/* Zoom controls */
.world-atlas-page .world-atlas-map__controls {
    top: 14px;
    left: 14px;
    z-index: 30;
    display: grid;
    gap: 4px;
    background: transparent;
}

.world-atlas-page .world-atlas-map__controls button,
.world-atlas-page .world-atlas-map__controls button:last-child {
    display: grid;
    place-items: center;
    min-width: 42px;
    width: 42px;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    color: #edf1f2;
    background: rgba(5, 9, 13, .86);
    backdrop-filter: blur(9px);
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    cursor: pointer;
}

.world-atlas-page .world-atlas-map__controls button:hover {
    color: #071012;
    border-color: var(--atlas-cyan);
    background: var(--atlas-cyan);
}

.world-atlas-page .world-atlas-map__controls .material-symbols-outlined {
    font-size: 19px;
}

/* Markers */
.world-atlas-page .world-atlas-marker {
    z-index: 8;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(3, 6, 8, .92);
    background: #eff5f4;
    box-shadow: 0 0 0 1px rgba(var(--atlas-cyan-rgb), .85), 0 0 16px rgba(var(--atlas-cyan-rgb), .38);
    transition: width .14s ease, height .14s ease, box-shadow .14s ease, filter .14s ease;
}

.world-atlas-page .world-atlas-marker > span {
    inset: 3px;
    background: var(--atlas-cyan);
}

.world-atlas-page .world-atlas-marker:hover,
.world-atlas-page .world-atlas-marker:focus-visible {
    z-index: 18;
    width: 23px;
    height: 23px;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 24px rgba(var(--atlas-cyan-rgb), .72);
}

.world-atlas-page .world-atlas-marker.is-selected {
    z-index: 22;
    width: 26px;
    height: 26px;
    outline: none;
    border-color: #fff;
    background: var(--atlas-pink);
    box-shadow: 0 0 0 5px rgba(255,79,135,.18), 0 0 30px rgba(255,79,135,.75);
}

.world-atlas-page .world-atlas-marker.is-selected > span {
    background: #fff;
}

.world-atlas-page .world-atlas-marker.is-approximate {
    width: 21px;
    height: 21px;
    border-style: dashed;
    opacity: .92;
}

.world-atlas-page .world-map-marker--business {
    box-shadow: 0 0 0 1px rgba(245,185,76,.9), 0 0 15px rgba(245,185,76,.38);
}
.world-atlas-page .world-map-marker--business > span { background:#f5b94c; }
.world-atlas-page .world-map-marker--activity > span { background:#9f8cff; }
.world-atlas-page .world-map-marker--transport > span { background:#55d6c2; }
.world-atlas-page .world-map-marker--service > span { background:#77a7ff; }
.world-atlas-page .world-map-marker--character > span { background:#ff765f; }
.world-atlas-page .world-map-marker--region > span { background:#5ea9ff; }
.world-atlas-page .world-map-marker--location > span { background:var(--atlas-cyan); }

/* Legend */
.world-atlas-legend {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 25;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 13px;
    max-width: calc(100% - 28px);
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(5,9,13,.84);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.world-atlas-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8796a2;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.world-atlas-legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--atlas-cyan);
    box-shadow: 0 0 9px rgba(var(--atlas-cyan-rgb), .45);
}
.world-atlas-legend i.is-business { background:#f5b94c; }
.world-atlas-legend i.is-activity { background:#9f8cff; }
.world-atlas-legend i.is-transport { background:#55d6c2; }
.world-atlas-legend i.is-character { background:#ff765f; }

/* Loading / empty */
.world-atlas-loading {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    color: #e9f3f2;
    background: rgba(3, 6, 8, .82);
    backdrop-filter: blur(3px);
}

.world-atlas-loading strong,
.world-atlas-loading small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.world-atlas-loading small {
    color: #738592;
    font-size: 7px;
}

.world-atlas-radar {
    position: relative;
    width: 78px;
    height: 78px;
    margin-bottom: 8px;
    border: 1px solid rgba(var(--atlas-cyan-rgb), .25);
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 49%, rgba(var(--atlas-cyan-rgb), .18) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(var(--atlas-cyan-rgb), .18) 50%, transparent 51%);
}

.world-atlas-radar::before,
.world-atlas-radar::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(var(--atlas-cyan-rgb), .16);
    border-radius: 50%;
}
.world-atlas-radar::before { inset: 13px; }
.world-atlas-radar::after { inset: 27px; }

.world-atlas-radar i {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 1px;
    height: 36px;
    transform-origin: bottom;
    background: linear-gradient(var(--atlas-cyan), transparent);
    box-shadow: 0 0 10px var(--atlas-cyan);
    animation: atlas-radar 1.5s linear infinite;
}

.world-atlas-page .world-atlas-empty {
    z-index: 35;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding: 30px;
    background: rgba(4, 8, 11, .91);
}

.world-atlas-page .world-atlas-empty > .material-symbols-outlined {
    color: var(--atlas-cyan);
    font-size: 44px;
}

.world-atlas-page .world-atlas-empty strong {
    color: #f3f5f4;
    font-size: 14px;
}

.world-atlas-page .world-atlas-empty small {
    max-width: 430px;
    color: #7d8d99;
    line-height: 1.6;
}

.world-atlas-page .world-atlas-empty button {
    min-height: 36px;
    margin-top: 7px;
    padding: 0 13px;
    border: 1px solid var(--atlas-cyan);
    color: #071012;
    background: var(--atlas-cyan);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-attribution {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 13px;
    border-top: 1px solid var(--atlas-line);
    color: #657683;
    background: #070c11;
    font-size: 7px;
}

.world-atlas-page .world-atlas-attribution .material-symbols-outlined {
    color: var(--atlas-cyan);
    font-size: 13px;
}

/* Inspector */
.world-atlas-page .world-atlas-inspector {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 0;
    border-top: 0;
    background: linear-gradient(180deg, #0d151d, #090f15);
}

.world-atlas-inspector__empty {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 28px;
}

.world-atlas-inspector__target {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 0 28px;
    border: 1px solid rgba(var(--atlas-cyan-rgb), .2);
    border-radius: 50%;
}

.world-atlas-inspector__target::before,
.world-atlas-inspector__target::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    background: rgba(var(--atlas-cyan-rgb), .36);
    translate: -50% -50%;
}
.world-atlas-inspector__target::before { width: 120%; height: 1px; }
.world-atlas-inspector__target::after { width: 1px; height: 120%; }
.world-atlas-inspector__target i {
    position: absolute;
    inset: 25px;
    border: 1px solid var(--atlas-cyan);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(var(--atlas-cyan-rgb), .2);
}

.world-atlas-inspector__empty .world-kicker {
    margin-bottom: 10px;
    color: var(--atlas-cyan);
    font-size: 8px;
}

.world-atlas-inspector__empty h2 {
    margin: 0;
    color: var(--atlas-text);
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: clamp(30px, 2.6vw, 42px);
    line-height: .92;
    text-transform: uppercase;
}

.world-atlas-inspector__empty > p:not(.world-kicker) {
    max-width: 290px;
    margin: 15px 0 0;
    color: #82929f;
    font-size: 11px;
    line-height: 1.65;
}

.world-atlas-inspector__steps {
    display: grid;
    margin-top: 30px;
    border-top: 1px solid var(--atlas-line);
}

.world-atlas-inspector__steps span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    border-bottom: 1px solid var(--atlas-line);
    color: #8797a3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.world-atlas-inspector__steps b {
    color: var(--atlas-cyan);
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: 16px;
    font-weight: 400;
}

.world-atlas-inspector__record {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.world-atlas-inspector__record > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 0 14px 0 18px;
    border-bottom: 1px solid var(--atlas-line);
    background: #0a1118;
}

.world-atlas-inspector__record > header div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.world-atlas-inspector__record > header small {
    color: var(--atlas-cyan);
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .12em;
}

.world-atlas-inspector__record > header strong {
    overflow: hidden;
    color: #7f909c;
    font-size: 8px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-atlas-page .world-atlas-inspector .world-map-selection__close {
    float: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    color: #a7b3bb;
    border: 1px solid var(--atlas-line);
    background: transparent;
}

.world-atlas-page .world-atlas-inspector .world-map-selection__close:hover {
    color: #071012;
    border-color: var(--atlas-cyan);
    background: var(--atlas-cyan);
}

.world-atlas-inspector__record figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--atlas-line);
    background: #05090d;
}

.world-atlas-page .world-atlas-inspector__record figure img {
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(.82) contrast(1.05);
}

.world-atlas-inspector__record figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5,9,13,.72));
    pointer-events: none;
}

.world-atlas-inspector__record figure span {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 7px;
    color: #071012;
    background: var(--atlas-cyan);
    font-size: 6px;
    font-weight: 950;
    letter-spacing: .12em;
}

.world-atlas-inspector__copy {
    padding: 22px 20px 17px;
}

.world-atlas-page .world-atlas-inspector__copy h2 {
    margin: 0;
    color: #f3f4f1;
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: clamp(32px, 2.5vw, 46px);
    line-height: .92;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-inspector__copy p {
    margin: 13px 0 0;
    color: #8b9aa6;
    font-size: 10px;
    line-height: 1.65;
}

.world-atlas-page .world-atlas-inspector dl {
    margin: 0 20px 20px;
    border-top: 1px solid var(--atlas-line);
}

.world-atlas-page .world-atlas-inspector dl div {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--atlas-line);
}

.world-atlas-page .world-atlas-inspector dt {
    color: #647582;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-inspector dd {
    color: #d5dde1;
    font-size: 9px;
    line-height: 1.4;
}

.world-atlas-open-record {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    margin: auto 20px 20px;
    padding: 0 13px;
    color: #071012 !important;
    background: var(--atlas-cyan);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.world-atlas-open-record .material-symbols-outlined {
    font-size: 16px;
}

/* Index */
.world-atlas-page .world-atlas-index {
    padding: 0;
    border-top: 1px solid var(--atlas-line);
    background: #090f15;
}

.world-atlas-index__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 20px 18px;
}

.world-atlas-index__head p {
    margin: 0 0 5px;
    color: var(--atlas-cyan);
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .14em;
}

.world-atlas-index__head h2 {
    margin: 0;
    color: #f0f2ef;
    font-family: var(--font-display, 'Anton', sans-serif);
    font-size: 28px;
    line-height: .95;
    text-transform: uppercase;
}

.world-atlas-index__head > span {
    color: #657683;
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.world-atlas-page .world-atlas-index__rows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-top: 1px solid var(--atlas-line);
    background: var(--atlas-line);
    scrollbar-color: rgba(var(--atlas-cyan-rgb), .45) #080d12;
    scrollbar-width: thin;
}

.world-atlas-page .world-atlas-index__rows button {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) minmax(72px, auto) 18px;
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 9px 12px;
    border: 0;
    color: #d9e0e3;
    background: #0b1219;
    text-align: left;
    cursor: pointer;
}

.world-atlas-page .world-atlas-index__rows button:hover,
.world-atlas-page .world-atlas-index__rows button:focus-visible {
    z-index: 2;
    outline: 1px solid var(--atlas-cyan);
    outline-offset: -1px;
    background: #111b24;
}

.world-atlas-page .world-atlas-index__rows button span {
    overflow: hidden;
    color: var(--atlas-cyan);
    font-size: 6px;
    font-weight: 900;
    letter-spacing: .055em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.world-atlas-page .world-atlas-index__rows button strong {
    overflow: hidden;
    font-size: 9px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-atlas-page .world-atlas-index__rows button small {
    overflow: hidden;
    color: #647582;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-atlas-page .world-atlas-index__rows button i {
    color: #536572;
    font-size: 14px;
    font-style: normal;
}

@keyframes atlas-live-pulse {
    0%, 100% { opacity: .45; transform: scale(.88); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes atlas-radar {
    to { transform: rotate(360deg); }
}

@media (max-width: 1320px) {
    .world-atlas-page .world-atlas-filters,
    .world-atlas-page .world-atlas-filters:has(label:nth-of-type(4)) {
        grid-template-columns: minmax(230px, 1.4fr) repeat(2, minmax(145px, .6fr)) auto auto;
    }

    .world-atlas-page .world-atlas-filters label:nth-of-type(4) {
        grid-column: span 1;
    }

    .world-atlas-page .world-atlas-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .world-atlas-page .world-atlas-index__rows {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 1080px) {
    .world-atlas-page {
        width: min(100% - 20px, 980px);
    }

    .world-atlas-page .world-atlas-hero .world-tree-hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .world-atlas-page .world-atlas-pulse {
        display: none;
    }

    .world-atlas-commandbar {
        align-items: center;
    }

    .world-atlas-commandbar__stats div:nth-child(3) {
        display: none;
    }

    .world-atlas-page .world-atlas-filters,
    .world-atlas-page .world-atlas-filters:has(label:nth-of-type(4)) {
        grid-template-columns: minmax(230px, 1.3fr) repeat(2, minmax(150px, .7fr));
    }

    .world-atlas-page .world-atlas-filters > button {
        min-height: 48px;
    }

    .world-atlas-page .world-atlas-layout {
        grid-template-columns: 1fr;
    }

    .world-atlas-page .world-atlas-map {
        border-right: 0;
        border-bottom: 1px solid var(--atlas-line);
    }

    .world-atlas-page .world-atlas-inspector {
        min-height: 360px;
    }

    .world-atlas-inspector__empty {
        min-height: 360px;
        display: grid;
        grid-template-columns: 96px minmax(0,1fr);
        grid-template-rows: auto auto auto;
        column-gap: 28px;
        align-content: center;
    }

    .world-atlas-inspector__target {
        grid-row: 1 / 4;
        align-self: center;
        margin: 0;
    }

    .world-atlas-inspector__steps {
        grid-column: 2;
        max-width: 540px;
    }

    .world-atlas-inspector__record {
        display: grid;
        grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
        grid-template-rows: auto auto 1fr auto;
        min-height: 390px;
    }

    .world-atlas-inspector__record > header {
        grid-column: 1 / -1;
    }

    .world-atlas-inspector__record figure {
        grid-row: 2 / 5;
    }

    .world-atlas-page .world-atlas-inspector__record figure img {
        height: 100%;
        aspect-ratio: auto;
    }

    .world-atlas-open-record {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .world-atlas-page {
        width: calc(100% - 12px);
        padding-top: 6px;
        padding-bottom: 54px;
    }

    .world-atlas-page .world-atlas-hero {
        min-height: 240px;
    }

    .world-atlas-page .world-atlas-hero .world-tree-hero__layout {
        min-height: 240px;
        padding: 34px 20px 30px;
    }

    .world-atlas-page .world-atlas-hero h1 {
        font-size: clamp(42px, 14vw, 66px);
    }

    .world-atlas-page .world-atlas-hero .world-tree-hero__intro {
        font-size: 11px;
    }

    .world-atlas-commandbar {
        min-height: 68px;
        padding: 0 12px;
    }

    .world-atlas-commandbar__identity {
        gap: 10px;
    }

    .world-atlas-live {
        display: none;
    }

    .world-atlas-commandbar__identity p {
        font-size: 6px;
    }

    .world-atlas-commandbar__identity h2 {
        font-size: 24px;
    }

    .world-atlas-commandbar__stats div {
        min-width: 72px;
        padding: 0 10px;
    }

    .world-atlas-commandbar__stats div:nth-child(2),
    .world-atlas-commandbar__stats div:nth-child(3) {
        display: none;
    }

    .world-atlas-page .world-atlas-filters,
    .world-atlas-page .world-atlas-filters:has(label:nth-of-type(4)) {
        grid-template-columns: 1fr 1fr;
    }

    .world-atlas-page .world-atlas-filters label {
        border-bottom: 1px solid var(--atlas-line);
    }

    .world-atlas-page .world-atlas-filters .world-atlas-search {
        grid-column: 1 / -1;
    }

    .world-atlas-page .world-atlas-filters > button {
        min-height: 46px;
        border-top: 1px solid var(--atlas-line);
    }

    .world-atlas-status__hint {
        display: none;
    }

    .world-atlas-page .world-atlas-status {
        min-height: 38px;
        padding: 0 10px;
    }

    .world-atlas-page .world-atlas-canvas {
        height: clamp(480px, 66svh, 650px);
    }

    .world-atlas-map__hud {
        top: 10px;
        left: 58px;
        right: 10px;
    }

    .world-atlas-map__mode {
        min-height: 38px;
        padding: 6px 9px;
    }

    .world-atlas-map__readout {
        display: none;
    }

    .world-atlas-page .world-atlas-map__controls {
        top: 10px;
        left: 10px;
    }

    .world-atlas-page .world-atlas-map__controls button,
    .world-atlas-page .world-atlas-map__controls button:last-child {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .world-atlas-legend {
        right: 10px;
        left: 10px;
        bottom: 10px;
        gap: 5px 10px;
    }

    .world-atlas-page .world-atlas-inspector {
        min-height: 0;
    }

    .world-atlas-inspector__empty {
        min-height: 330px;
        display: flex;
        padding: 30px 20px;
    }

    .world-atlas-inspector__target {
        width: 66px;
        height: 66px;
        margin-bottom: 20px;
    }

    .world-atlas-inspector__target i {
        inset: 20px;
    }

    .world-atlas-inspector__record {
        display: flex;
        min-height: 0;
    }

    .world-atlas-page .world-atlas-inspector__record figure img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .world-atlas-index__head {
        align-items: start;
        flex-direction: column;
        padding: 20px 14px 14px;
    }

    .world-atlas-page .world-atlas-index__rows {
        grid-template-columns: 1fr;
        max-height: 360px;
    }

    .world-atlas-page .world-atlas-index__rows button {
        grid-template-columns: 72px minmax(0,1fr) 18px;
    }

    .world-atlas-page .world-atlas-index__rows button small {
        display: none;
    }
}

@media (max-width: 480px) {
    .world-atlas-page .world-atlas-filters,
    .world-atlas-page .world-atlas-filters:has(label:nth-of-type(4)) {
        grid-template-columns: 1fr;
    }

    .world-atlas-page .world-atlas-filters .world-atlas-search,
    .world-atlas-page .world-atlas-filters label {
        grid-column: auto;
    }

    .world-atlas-page .world-tree-hero__actions {
        display: grid;
    }

    .world-atlas-page .world-tree-button {
        width: 100%;
    }

    .world-atlas-legend span:nth-child(n+4) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .world-atlas-live i,
    .world-atlas-status__pulse,
    .world-atlas-radar i {
        animation: none;
    }

    .world-atlas-page .world-atlas-marker {
        transition: none;
    }
}