/* GTA6 LAB - styles for the standalone atlas page (official.php) */
/* ---------- Leonida Atlas 2.0 ---------- */
.map2-page{padding-top:26px}
/* GTA6 LAB — Atlas v2 */
.atlas-page{padding-top:28px;padding-bottom:56px}
.atlas-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:20px}
.atlas-heading h1,.atlas-heading__title{font:700 clamp(30px,4vw,52px)/1.12 'Unbounded',sans-serif;margin:0 0 12px}
.atlas-heading__title span{color:var(--accent)}
.atlas-heading h1 span{color:var(--accent)}
.atlas-heading p:not(.eyebrow){max-width:68ch;color:var(--muted);margin:0}
.atlas-heading__stats{width:190px;flex:0 0 190px;text-align:right}
.atlas-heading__stats>b{font:700 28px 'Unbounded',sans-serif;color:var(--sea)}
.atlas-heading__stats>span,.atlas-heading__stats small{display:block;color:var(--muted);font-size:11px}
.atlas-progress{height:5px;background:var(--line);margin:8px 0 5px;overflow:hidden}
.atlas-progress i{display:block;height:100%;width:0;background:var(--sea);transition:width .25s ease}
.atlas-disclaimer{display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--line);background:var(--panel);margin-bottom:16px}
.atlas-disclaimer__dot{width:8px;height:8px;border-radius:50%;background:var(--sea);box-shadow:0 0 12px #3aafa966;flex:0 0 auto}
.atlas-disclaimer div{min-width:0;flex:1}
.atlas-disclaimer b{font-size:12px}
.atlas-disclaimer p{font-size:11px;color:var(--muted);margin:2px 0 0;line-height:1.45}
.atlas-disclaimer>a{font-size:11px;color:var(--accent);white-space:nowrap}
.atlas-shell{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:690px;height:min(780px,calc(100vh - 170px));border:1px solid var(--line);background:var(--panel);overflow:hidden}
.atlas-sidebar{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line);background:var(--panel)}
.atlas-searchbox{height:46px;margin:13px 13px 10px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid var(--line);background:var(--ink)}
.atlas-searchbox:focus-within{border-color:var(--accent)}
.atlas-searchbox svg{width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:1.6;flex:0 0 auto}
.atlas-searchbox input{flex:1;min-width:0;border:0;outline:0;background:none;color:var(--text);font:13px 'Onest',sans-serif}
.atlas-searchbox kbd{font:10px var(--mono);color:var(--muted-2);border:1px solid var(--line);padding:2px 5px}
.atlas-searchbox button{border:0;background:none;color:var(--muted);font-size:20px;cursor:pointer}
.atlas-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:0 13px 13px;border-bottom:1px solid var(--line)}
.atlas-tabs button{border:1px solid var(--line);background:transparent;color:var(--muted);font-size:11px;padding:8px 5px;cursor:pointer}
.atlas-tabs button b{color:var(--text);margin-left:3px}
.atlas-tabs button.is-active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,transparent);color:var(--text)}
.atlas-sidebar__label{display:flex;justify-content:space-between;padding:14px 15px 8px;color:var(--muted-2);font:10px var(--mono);letter-spacing:.08em}
.atlas-place-list{overflow:auto;flex:1;min-height:0}
.atlas-place{width:100%;display:flex;align-items:center;gap:10px;padding:13px 14px;border:0;border-top:1px solid var(--line-soft);background:transparent;color:var(--text);text-align:left;cursor:pointer;transition:background .15s}
.atlas-place:hover,.atlas-place.is-selected{background:var(--panel-2)}
.atlas-place.is-selected{box-shadow:inset 2px 0 var(--accent)}
.atlas-place__index{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);color:var(--muted);font:10px var(--mono);flex:0 0 auto}
.atlas-place__text{min-width:0;flex:1}
.atlas-place__text b,.atlas-place__text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-place__text b{font-size:12px}
.atlas-place__text small{font-size:10px;color:var(--muted);margin-top:3px}
.atlas-place__flags{display:flex;gap:5px;color:var(--sea);font-size:11px}
.atlas-sidebar__footer{display:flex;justify-content:space-between;padding:11px 14px;border-top:1px solid var(--line)}
.atlas-text-button{border:0;background:none;color:var(--muted);font-size:10px;cursor:pointer}
.atlas-text-button:hover{color:var(--accent)}
.atlas-empty{padding:24px 16px;color:var(--muted);display:grid;gap:4px;font-size:12px}
.atlas-empty span{font-size:11px}
.atlas-map-area{display:flex;flex-direction:column;min-width:0;min-height:0;background:#101820}
.atlas-map-topline{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #ffffff12;color:#9ba9a9;font:10px var(--mono);letter-spacing:.08em}
.atlas-map-topline>span:first-child{display:flex;align-items:center;gap:8px}
.atlas-map-topline>span:first-child i{width:7px;height:7px;background:#5ac6ad;border-radius:50%;box-shadow:0 0 10px #5ac6ad}
.atlas-map-topline__hint{letter-spacing:0;color:#73828a}
.atlas-map-viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none}
.atlas-map-viewport svg{width:100%;height:100%;display:block;cursor:grab;user-select:none}
.atlas-map-viewport svg:active{cursor:grabbing}
.atlas-landmass{fill:url(#atlasLand);stroke:#77917b;stroke-width:3}
.atlas-coastline{fill:none;stroke:#b2c3a0;stroke-opacity:.5;stroke-width:1.4;stroke-dasharray:3 8}
.atlas-river{fill:none;stroke:#4c9297;stroke-width:7;stroke-opacity:.5;stroke-linecap:round}
.atlas-road{fill:none;stroke:#d4b78b;stroke-width:3;stroke-opacity:.28;stroke-dasharray:11 8}
.atlas-water-label{fill:#5b8290;font:13px var(--mono);letter-spacing:3px;opacity:.7}
.atlas-map-caption{fill:#d5dfd0;font:11px var(--mono);letter-spacing:2px;text-anchor:middle;opacity:.42}
.atlas-marker{cursor:pointer;outline:none}
.atlas-marker__halo{fill:#f2a36b;opacity:.13;stroke:#f2a36b;stroke-opacity:.25;stroke-width:1}
.atlas-marker__dot{fill:#f4a66d;stroke:#1a2928;stroke-width:3}
.atlas-marker__label{fill:#f2eee2;font:600 16px 'Onest',sans-serif;paint-order:stroke;stroke:#172323;stroke-width:5px;stroke-linejoin:round}
.atlas-marker.is-selected .atlas-marker__halo{fill:#ff744a;opacity:.3;stroke:#ff8b65;stroke-width:2}
.atlas-marker.is-selected .atlas-marker__dot{fill:#fff0c5;stroke:#ff744a;stroke-width:4}
.atlas-marker.is-visited .atlas-marker__dot{fill:#55c8aa}
.atlas-map-controls{position:absolute;right:14px;top:14px;display:grid;gap:5px}
.atlas-map-controls button{width:39px;height:39px;border:1px solid #ffffff25;background:#101820e8;color:#f0eadf;font-size:20px;cursor:pointer;backdrop-filter:blur(8px)}
.atlas-map-controls button:hover{border-color:#f18b5b;color:#f18b5b}
.atlas-map-legend{position:absolute;left:13px;bottom:13px;display:flex;gap:12px;padding:8px 10px;background:#101820d9;border:1px solid #ffffff18;color:#b4c0bb;font-size:10px}
.atlas-map-legend span{display:flex;align-items:center;gap:6px}
.atlas-map-legend i{width:7px;height:7px;border-radius:50%;background:#f4a66d}
.atlas-map-legend .atlas-legend-selected{background:#fff0c5;box-shadow:0 0 0 3px #ff744a}
.atlas-map-note{position:absolute;right:14px;bottom:14px;color:#9ba9a9;font-size:9px;text-shadow:0 1px 3px #000}
.atlas-detail{position:absolute;left:16px;right:16px;bottom:48px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:19px 20px;background:#101820f2;border:1px solid #4d756f;box-shadow:0 15px 45px #0007;backdrop-filter:blur(14px);color:#eee9dc}
.atlas-detail[hidden]{display:none}
.atlas-detail__main{min-width:0;max-width:650px}
.atlas-detail__eyebrow{color:#80c6b2;font:10px var(--mono);letter-spacing:.08em}
.atlas-detail h2{font:700 21px 'Unbounded',sans-serif;margin:7px 0 2px}
.atlas-detail__original{color:#9ba9a9;font-size:11px;margin:0 0 7px}
.atlas-detail__main>p:not(.atlas-detail__original){font-size:12px;color:#c0c8c0;line-height:1.5;margin:0 0 10px}
.atlas-detail__source{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.atlas-source-badge{font:9px var(--mono);color:#84d3ba;border:1px solid #84d3ba55;padding:4px 6px}
.atlas-detail__source a{font-size:10px;color:#b9c8c1}
.atlas-detail__actions{display:flex;gap:7px;flex-wrap:wrap;flex:0 0 auto}
.atlas-action{padding:9px 11px;border:1px solid #455750;background:#172521;color:#dce6dc;font-size:10px;cursor:pointer;white-space:nowrap}
.atlas-action--primary{background:#d86f43;border-color:#d86f43;color:#151a18;font-weight:600}
.atlas-detail__close{position:absolute;right:8px;top:6px;border:0;background:none;color:#aab6ad;font-size:20px;cursor:pointer}
.atlas-sources{margin-top:14px;border:1px solid var(--line);background:var(--panel);padding:13px 16px;color:var(--muted);font-size:11px;line-height:1.65}
.atlas-sources summary{color:var(--text);font-weight:600;cursor:pointer}
.atlas-sources>div{max-width:100ch;padding-top:8px}
.atlas-sources p{margin:7px 0}
.atlas-sources a{color:var(--accent)}
@media(max-width:900px){
.atlas-shell{grid-template-columns:290px minmax(0,1fr)}
.atlas-detail{display:block;bottom:42px}
.atlas-detail__actions{margin-top:12px}
.atlas-detail h2{font-size:17px}
}
@media(max-width:700px){
.atlas-page{padding-top:18px}
.atlas-heading{align-items:flex-start}
.atlas-heading__stats{width:105px;flex-basis:105px}
.atlas-heading__stats>b{font-size:20px}
.atlas-disclaimer{align-items:flex-start;flex-wrap:wrap}
.atlas-disclaimer>a{margin-left:20px}
.atlas-shell{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
.atlas-map-area{order:0;height:58vh;min-height:390px;max-height:620px}
.atlas-sidebar{order:1;border-right:0;border-top:1px solid var(--line);height:340px}
.atlas-place-list{display:block}
.atlas-map-topline__hint{display:none}
.atlas-detail{left:9px;right:9px;bottom:42px;padding:15px}
.atlas-detail h2{font-size:16px}
.atlas-detail__main>p:not(.atlas-detail__original){font-size:11px}
.atlas-map-legend{bottom:9px;left:8px}
.atlas-map-note{right:8px;bottom:10px;font-size:8px}
.atlas-map-controls{right:8px;top:8px}
.atlas-map-controls button{width:35px;height:35px}
.atlas-tabs{padding-bottom:10px}
}
@media(max-width:420px){
.atlas-heading{display:block}
.atlas-heading__stats{display:none}
.atlas-disclaimer p{font-size:10px}
.atlas-detail__actions{gap:5px}
.atlas-action{padding:8px 9px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
.atlas-progress i,.atlas-place{transition:none}
}
.atlas-note-label{display:block;margin-top:12px;color:#91a29b;font:9px var(--mono);letter-spacing:.08em}
.atlas-note-label textarea{display:block;width:100%;margin-top:5px;resize:vertical;min-height:42px;max-height:90px;border:1px solid #455750;background:#14201f;color:#e8e9dc;padding:8px;font:11px 'Onest',sans-serif;letter-spacing:0}
.atlas-note-label textarea:focus{outline:1px solid #80c6b2;border-color:#80c6b2}
/* Phase 3: official portrait map canvas */
.atlas-map-viewport{background:#08a9bf;display:flex;align-items:center;justify-content:center}
.atlas-map-viewport svg{width:auto;height:100%;max-width:100%;aspect-ratio:1496/2048;flex:0 1 auto;display:block}
.atlas-marker__halo{fill:#ffb45f;opacity:.2;stroke:#172a31;stroke-width:3}
.atlas-marker__dot{fill:#ffcf76;stroke:#142a32;stroke-width:5}
.atlas-marker__label{fill:#fff;font-weight:800;font-size:26px;stroke:#172a31;stroke-width:7px}
.atlas-map-note{background:#10232ccc;padding:5px 8px;border:1px solid #ffffff30}
@media(max-width:700px){
.atlas-map-viewport svg{height:100%;width:auto;max-width:100%}
}
/* Atlas Phase 4 — sourced points layer */
.atlas-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 13px;border-bottom:1px solid var(--line)}
.atlas-filter-row label{display:grid;gap:5px;color:var(--muted-2);font:9px var(--mono);letter-spacing:.05em}
.atlas-filter-row select{width:100%;min-width:0;padding:8px 7px;border:1px solid var(--line);background:var(--ink);color:var(--text);font:11px 'Onest',sans-serif;outline:none}
.atlas-filter-row select:focus{border-color:var(--accent)}
.atlas-grid-ref{font:9px var(--mono);color:#b7c7be;border:1px solid #ffffff22;padding:4px 6px}
.atlas-marker--poi .atlas-marker__dot{fill:#ffe08b;stroke:#152c2d;stroke-width:2.5}
.atlas-marker--poi .atlas-marker__halo{fill:#ffe08b;stroke:#ffe08b;opacity:.08}
.atlas-marker--poi .atlas-marker__label{font-size:12px;stroke-width:4px}
.atlas-marker--region .atlas-marker__dot{fill:#f4a66d}
.atlas-marker--region .atlas-marker__label{font-size:16px}
.atlas-marker.is-visited .atlas-marker__dot{fill:#55c8aa}
.atlas-detail__source{margin-top:7px}
@media(max-width:700px){
.atlas-filter-row{padding:8px 12px}
.atlas-filter-row select{font-size:10px}
}
/* Atlas Phase 5: readable overview, denser data controls and accessible POI legend */
.atlas-marker__label{display:none}
.atlas-marker.is-selected .atlas-marker__label{display:block}
#atlasMapSvg.is-zoomed .atlas-marker__label{display:block}
.atlas-marker--poi .atlas-marker__halo{fill:#ffe08b;stroke:#ffe08b;opacity:.10}
.atlas-marker--poi .atlas-marker__dot{fill:#ffe08b;stroke:#152c2d;stroke-width:2.5}
.atlas-marker--region .atlas-marker__dot{fill:#f4a66d}
.atlas-map-legend .atlas-legend-poi{background:#ffe08b}
.atlas-place__text small{letter-spacing:.01em}
.atlas-filter-row{grid-template-columns:1fr 1fr}
.atlas-filter-row label:nth-child(2){grid-column:1 / -1}
.atlas-filter-row select{min-height:34px}
@media(max-width:700px){
.atlas-filter-row{grid-template-columns:1fr 1fr}
.atlas-filter-row label:nth-child(2){grid-column:1 / -1}
}
/* Atlas phase 6: scalable community landmark layer */
.atlas-cluster{cursor:pointer}
.atlas-cluster circle{fill:#e5a36d;stroke:#fff;stroke-width:3;filter:drop-shadow(0 2px 5px #0007)}
.atlas-cluster text{font:700 15px/1 sans-serif;fill:#24170f;pointer-events:none}
.atlas-load-more{display:block;width:calc(100% - 24px);margin:12px;padding:12px;border:1px solid var(--line,rgba(255,255,255,.16));border-radius:10px;background:transparent;color:inherit;cursor:pointer}
.atlas-load-more:hover{background:rgba(255,255,255,.07)}
.atlas-detail__main #atlasDetailDescription{white-space:pre-line}
/* Phase 6.1 — подробное русскоязычное досье объекта */
.atlas-dossier{display:block;left:14px;right:14px;bottom:14px;max-height:min(72%,680px);overflow:auto;padding:18px 20px 16px;background:rgba(12,22,26,.97);border:1px solid #54776f;border-radius:12px;box-shadow:0 18px 60px #0009;backdrop-filter:blur(16px);color:#f1eee5;z-index:5}
.atlas-dossier__head{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:stretch;padding-right:24px}
.atlas-dossier__identity h2{font-size:clamp(18px,2vw,25px);line-height:1.2;margin:7px 0 6px}
.atlas-dossier__badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}
.atlas-grid-ref{font:10px var(--mono);color:#a9c8bc}
.atlas-dossier__visual{min-height:132px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:12px;background:radial-gradient(ellipse at 50% 110%,#32665b66,transparent 65%),linear-gradient(145deg,#1b3435,#10191d);border:1px solid #ffffff1b;text-align:center}
.atlas-dossier__visual>span,.atlas-dossier__visual>small{font:9px var(--mono);letter-spacing:.16em;color:#91b8a8}
.atlas-dossier__visual>b{font-size:36px;color:#e9a477;line-height:1}
.atlas-dossier__visual-caption{font-size:10px;line-height:1.35;color:#c0c9bf;margin:0;max-width:28ch}
.atlas-dossier__tabs{display:flex;gap:5px;border-bottom:1px solid #ffffff20;margin-top:14px}
.atlas-dossier__tabs button{padding:9px 12px;background:transparent;border:0;border-bottom:2px solid transparent;color:#9eafa7;font-size:11px;cursor:pointer}
.atlas-dossier__tabs button.is-active{color:#f4b184;border-bottom-color:#f4a16e}
.atlas-dossier__body{padding:12px 0 4px}
.atlas-dossier__panel[hidden]{display:none}
.atlas-dossier__description{font-size:12px;line-height:1.55;color:#d0d8ce;margin:0 0 12px;max-width:100ch}
.atlas-dossier__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.atlas-fact{padding:8px 9px;background:#ffffff08;border:1px solid #ffffff12;min-width:0}
.atlas-fact span,.atlas-fact b{display:block;overflow-wrap:anywhere}
.atlas-fact span{font-size:9px;color:#91a69d;margin-bottom:4px}
.atlas-fact b{font-size:10px;color:#e6e9df;font-weight:600}
.atlas-dossier__tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.atlas-dossier__tags>span:not(.atlas-dossier__tag-label){font:9px var(--mono);padding:4px 6px;border:1px solid #78988a55;color:#b7d3c3}
.atlas-dossier__tag-label{font:9px var(--mono);color:#81958b;align-self:center;margin-right:4px}
.atlas-dossier__source-line{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:10px;color:#8fa69a}
.atlas-dossier__source-line a{color:#e9ad7f}
.atlas-dossier__facts--full{margin-bottom:10px}
.atlas-dossier__fineprint{font-size:10px;color:#8fa098;line-height:1.45;margin:10px 0 0}
.atlas-note-label{display:grid;gap:7px;font:9px var(--mono);color:#9ab5a8}
.atlas-note-label textarea{width:100%;resize:vertical;min-height:70px;background:#101b1d;border:1px solid #52665e;color:#eee;padding:9px;font:12px 'Onest',sans-serif}
.atlas-dossier .atlas-detail__actions{margin-top:12px;padding-top:11px;border-top:1px solid #ffffff1b}
.atlas-dossier .atlas-detail__close{position:sticky;float:right;top:0;margin:0 -12px -24px 0;z-index:2}
@media(max-width:700px){
.atlas-dossier{max-height:78%;padding:14px}
.atlas-dossier__head{grid-template-columns:minmax(0,1fr) 112px;gap:9px}
.atlas-dossier__visual{min-height:112px;padding:7px}
.atlas-dossier__visual>b{font-size:28px}
.atlas-dossier__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.atlas-dossier .atlas-detail__actions{gap:5px}
.atlas-dossier .atlas-action{font-size:9px;padding:8px}
}
/* Phase 6.2 — визуальные ориентиры и соседние объекты */
.atlas-media-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.atlas-media-link{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #78988a55;background:linear-gradient(145deg,#ffffff0c,#ffffff04);color:#f0eee5;text-decoration:none;min-width:0;transition:border-color .18s,transform .18s}
.atlas-media-link:hover{border-color:#e9ad7f;transform:translateY(-1px)}
.atlas-media-link b{font-size:11px;color:#f0bd91}
.atlas-media-link span{font-size:10px;line-height:1.4;color:#9fb3a8;overflow-wrap:anywhere}
.atlas-media-empty{grid-column:1/-1;padding:14px;border:1px dashed #78988a66;color:#9fb3a8;font-size:11px;line-height:1.5}
.atlas-nearby{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
.atlas-nearby__title{grid-column:1/-1;font:9px var(--mono);letter-spacing:.12em;color:#91a99d;margin-bottom:2px}
.atlas-nearby button{display:flex;flex-direction:column;gap:3px;text-align:left;padding:8px;background:#ffffff08;border:1px solid #ffffff16;color:#e9eee5;cursor:pointer;min-width:0}
.atlas-nearby button:hover{border-color:#e9ad7f}
.atlas-nearby button b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-nearby button span{font-size:9px;color:#91a69b}
@media(max-width:700px){
.atlas-media-links,.atlas-nearby{grid-template-columns:1fr}
}
/* GTA6 LAB Atlas — mobile navigator layout */
.atlas-mobile-menu{display:none}
@media(max-width:700px){
html:has(.atlas-page),body:has(.atlas-page){height:100%;overflow:hidden;overscroll-behavior:none}
.atlas-page{position:fixed;inset:0;z-index:30;width:100%;height:100dvh;min-height:100dvh;padding:0!important;margin:0!important;overflow:hidden;background:#071416}
.atlas-heading,.atlas-disclaimer,.atlas-sources{display:none!important}
.atlas-shell{position:absolute;inset:0;display:block!important;width:100%;height:100%;min-height:0;overflow:hidden;border:0;border-radius:0}
.atlas-map-area{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;max-height:none!important;order:0;background:#0798a9}
.atlas-map-topline{display:none!important}
.atlas-map-viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;overflow:hidden;touch-action:none;overscroll-behavior:contain}
.atlas-map-viewport svg{width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;touch-action:none;user-select:none;-webkit-user-select:none}
.atlas-map-controls{top:calc(env(safe-area-inset-top) + 14px);right:12px;display:flex;flex-direction:column;gap:8px}
.atlas-map-controls button{width:46px;height:46px;border-radius:14px;font-size:23px;box-shadow:0 4px 18px #00191d66;touch-action:manipulation}
.atlas-map-legend{left:10px;bottom:calc(env(safe-area-inset-bottom) + 12px);max-width:calc(100% - 80px);font-size:9px;padding:7px 9px}
.atlas-map-note{display:none}
.atlas-mobile-menu{position:absolute;z-index:8;display:flex;align-items:center;gap:10px;left:12px;top:calc(env(safe-area-inset-top) + 14px);height:46px;padding:0 14px;border:1px solid #ffffff30;border-radius:14px;background:#10282beF;color:#f5f5e9;font:600 13px 'Onest',sans-serif;box-shadow:0 4px 18px #00191d66;touch-action:manipulation}
.atlas-mobile-menu__icon{font-size:21px;line-height:1;color:#ffc18b}
.atlas-mobile-menu b{font:10px var(--mono);color:#9fc8b7;background:#ffffff12;padding:4px 6px;border-radius:8px}
.atlas-sidebar{position:absolute!important;z-index:9;left:0;right:0;bottom:0;top:auto!important;width:100%!important;height:min(72dvh,680px)!important;min-height:0!important;max-height:calc(100dvh - env(safe-area-inset-top) - 76px);display:flex!important;flex-direction:column;overflow:hidden!important;border:1px solid #45645d!important;border-bottom:0;border-radius:20px 20px 0 0;background:#0c1b1df7!important;box-shadow:0 -12px 45px #00141780;transform:translateY(105%);transition:transform .24s ease;will-change:transform;padding-bottom:env(safe-area-inset-bottom)}
.atlas-sidebar.is-mobile-open{transform:translateY(0)}
.atlas-sidebar:before{content:'';display:block;flex:0 0 4px;width:42px;height:4px;margin:9px auto 7px;border-radius:5px;background:#91aaa1;opacity:.7}
.atlas-searchbox{flex:0 0 auto;margin:0 12px 8px;border-radius:12px;min-height:44px}
.atlas-searchbox input{font-size:16px!important;min-height:44px}
.atlas-tabs{flex:0 0 auto;padding:0 12px 9px}
.atlas-tabs button{min-height:38px;font-size:12px}
.atlas-filter-row{flex:0 0 auto;grid-template-columns:1fr 1fr!important;padding:7px 12px;gap:7px}
.atlas-filter-row label:nth-child(2){grid-column:auto!important}
.atlas-filter-row label:last-child{grid-column:1/-1}
.atlas-filter-row select{min-height:40px;font-size:13px}
.atlas-sidebar__label{flex:0 0 auto;padding:9px 13px;font-size:10px}
.atlas-place-list{display:block!important;flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:12px}
.atlas-place{min-height:58px;padding:9px 12px}
.atlas-place__text b{font-size:13px}
.atlas-place__text small{font-size:10px;line-height:1.35}
.atlas-sidebar__footer{flex:0 0 auto;padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
.atlas-dossier{position:fixed!important;z-index:20;inset:0!important;width:100vw;height:100dvh;max-height:100dvh!important;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 18px)!important;border:0;border-radius:0;background:#0b191cf7;box-shadow:none}
.atlas-dossier__head{grid-template-columns:minmax(0,1fr) 104px;gap:10px;padding-right:26px}
.atlas-dossier__identity h2{font-size:clamp(20px,5vw,26px);overflow-wrap:anywhere}
.atlas-dossier__visual{min-height:104px}
.atlas-dossier__tabs{position:sticky;top:0;z-index:3;overflow-x:auto;white-space:nowrap;background:#0b191cf5;padding-top:7px;margin-top:12px;scrollbar-width:none}
.atlas-dossier__tabs button{flex:0 0 auto;min-height:44px;font-size:12px;padding:8px 12px}
.atlas-dossier__body{padding:14px 0}
.atlas-dossier__description{font-size:14px;line-height:1.55}
.atlas-dossier__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.atlas-fact{padding:10px}
.atlas-fact span{font-size:10px}
.atlas-fact b{font-size:12px;line-height:1.4}
.atlas-media-links,.atlas-nearby{grid-template-columns:1fr}
.atlas-media-link{min-height:58px;padding:13px}
.atlas-media-link b{font-size:13px}
.atlas-media-link span{font-size:11px}
.atlas-dossier .atlas-detail__actions{position:sticky;bottom:calc(env(safe-area-inset-bottom) - 1px);z-index:3;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0 calc(8px + env(safe-area-inset-bottom));margin:0;background:#0b191cf5;border-top:1px solid #ffffff22}
.atlas-dossier .atlas-action{display:flex;justify-content:center;align-items:center;min-height:44px;font-size:11px;padding:9px;text-align:center}
.atlas-dossier .atlas-detail__close{position:fixed;top:calc(env(safe-area-inset-top) + 10px);right:12px;float:none;width:42px;height:42px;margin:0;border-radius:13px;background:#243b3b;color:white;font-size:25px}
}
@media(max-width:380px){
.atlas-dossier__head{grid-template-columns:minmax(0,1fr) 82px}
.atlas-dossier__visual{min-height:88px}
.atlas-dossier__visual>b{font-size:24px}
.atlas-dossier .atlas-detail__actions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
.atlas-sidebar{transition:none}
}
.atlas-guest-gate{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:22px;background:rgba(5,8,12,.78);backdrop-filter:blur(12px)}
.atlas-guest-gate[hidden]{display:none!important}
.atlas-guest-gate__card{width:min(100%,480px);padding:clamp(22px,5vw,38px);border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 24px 80px #0009}
.atlas-guest-gate__card h2{font-size:clamp(23px,5vw,32px);margin:12px 0}
.atlas-guest-gate__card p{color:var(--muted);line-height:1.65}
.atlas-guest-gate__card>div{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 14px}
.atlas-guest-gate__card small{color:var(--muted);line-height:1.5}
body.atlas-guest-locked{overflow:hidden}
.atlas-guest-gate.is-final .atlas-guest-gate__card{border-color:#d95762;box-shadow:0 24px 90px #9b263844}.atlas-guest-gate.is-final .eyebrow{color:#ff777e}.atlas-guest-gate.is-final .atlas-guest-gate__card h2{color:#ff8a90}

/* --- fix: constrain the atlas grid row so the poster SVG cannot grow the page --- */
.atlas-shell{grid-template-rows:minmax(0,1fr)}
.atlas-map-area{min-height:0;overflow:hidden}
.atlas-map-viewport{min-height:0}
.atlas-map-viewport svg{height:100%;max-height:100%;aspect-ratio:1496/2048}
@media(max-width:700px){
  .atlas-map-viewport svg{aspect-ratio:auto;max-height:none}
}

/* Phase 6.7: keep the dossier within the map stacking context and below the site header. */
.atlas-seo-intro{margin:0 0 18px;padding:16px 18px;border:1px solid var(--line);background:var(--panel);color:var(--text);line-height:1.6}
.atlas-seo-intro h2{font-size:clamp(20px,3vw,30px);margin:0 0 8px}.atlas-seo-intro p{margin:8px 0;color:var(--muted)}.atlas-seo-intro nav{font-size:13px}.atlas-seo-intro details{margin-top:10px}.atlas-label-toggle{position:absolute;z-index:8;left:14px;top:58px;padding:8px 10px;background:#101820e8;border:1px solid #ffffff26;color:#f0eadf;font-size:11px;border-radius:8px}.atlas-label-toggle input{accent-color:#e8a273}
.atlas-map-area{position:relative}.atlas-map-viewport{isolation:isolate;user-select:none;-webkit-user-select:none}.atlas-map-viewport svg{touch-action:none;transition:viewBox .16s ease-out}.atlas-map-controls{z-index:8}.atlas-map-mode{z-index:8}.atlas-dossier{position:absolute;z-index:6;left:14px;right:14px;top:auto;bottom:14px;max-height:calc(100% - 76px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:44px 20px 16px}.atlas-dossier .atlas-detail__close{position:absolute;right:8px;top:8px;z-index:2;margin:0;width:36px;height:36px;border-radius:50%;background:#1c302f;color:#fff;border:1px solid #ffffff40;font-size:22px;cursor:pointer}.atlas-dossier__head{clear:both}
@media(max-width:700px){.atlas-map-area{height:min(78svh,720px);min-height:420px}.atlas-dossier{left:8px;right:8px;top:max(8px,env(safe-area-inset-top));bottom:max(8px,env(safe-area-inset-bottom));max-height:none;padding:48px 14px 14px}.atlas-dossier__head{grid-template-columns:minmax(0,1fr) 90px;gap:8px}.atlas-dossier__visual{min-height:94px}.atlas-dossier .atlas-detail__close{position:absolute;right:8px;top:8px;float:none;margin:0}.atlas-label-toggle{top:52px;left:8px}.atlas-map-controls{right:8px;top:8px}.atlas-map-mode{left:8px;top:8px}}
@media(prefers-reduced-motion:reduce){.atlas-map-viewport svg{transition:none}}
@media(max-width:700px){.atlas-page .atlas-map-area .atlas-dossier{position:absolute!important;inset:calc(env(safe-area-inset-top) + 70px) 0 0!important;width:auto;height:auto;max-height:none!important;padding:54px 16px calc(env(safe-area-inset-bottom) + 18px)!important;border-radius:16px 16px 0 0}.atlas-page .atlas-map-area .atlas-dossier .atlas-detail__close{position:absolute!important;top:8px;right:10px;z-index:4;width:42px;height:42px;margin:0}.atlas-page .atlas-map-area .atlas-dossier__head{padding-right:36px}}

/* GTA6 LAB map engine — in-game full-map tiles + calm source switcher */
.atlas-base-switch{position:absolute;z-index:4;left:14px;top:12px;display:flex;gap:4px;padding:4px;border:1px solid #ffffff20;border-radius:10px;background:rgba(10,17,21,.88);backdrop-filter:blur(12px);box-shadow:0 8px 28px #0004;max-width:calc(100% - 28px)}
.atlas-base-switch button{border:1px solid transparent;border-radius:7px;background:transparent;color:#aebbb7;padding:8px 11px;font:600 10px 'Onest',sans-serif;white-space:nowrap;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.atlas-base-switch button:hover{color:#fff;background:#ffffff0c}
.atlas-base-switch button.is-active{color:#171a18;background:#f2b17c;border-color:#f2b17c;box-shadow:0 2px 8px #0003}
.atlas-map-tile{image-rendering:auto;pointer-events:none}
.atlas-map-viewport svg.is-game-map .atlas-marker__label{font-size:150px;stroke-width:38px}
.atlas-map-viewport svg.is-game-map .atlas-cluster text{font-size:120px}
.atlas-map-viewport svg.is-game-map .atlas-cluster circle{stroke-width:4px}
.atlas-map-note{max-width:min(48ch,60%);text-align:right;line-height:1.4}
.atlas-map-viewport svg{background:#1c6071}
.atlas-map-viewport svg image{pointer-events:none}
@media(max-width:700px){
  .atlas-base-switch{left:8px;right:8px;top:8px;gap:2px;justify-content:space-between;padding:3px}
  .atlas-base-switch button{flex:1;min-width:0;padding:8px 5px;font-size:9px}
  .atlas-map-note{max-width:58%;font-size:8px}
}
@media(prefers-reduced-motion:reduce){.atlas-base-switch button{transition:none}}
.atlas-dossier__visual{position:relative;overflow:hidden;isolation:isolate}
.atlas-dossier__visual.has-map-preview{background:#17333a}
.atlas-dossier__visual.has-map-preview::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,15,18,.08) 10%,rgba(6,15,18,.72) 100%);pointer-events:none}
.atlas-dossier-map-preview{position:absolute;inset:0;width:100%;height:100%;z-index:0;object-fit:cover}
.atlas-dossier__visual.has-map-preview>span,.atlas-dossier__visual.has-map-preview>b,.atlas-dossier__visual.has-map-preview>small,.atlas-dossier__visual.has-map-preview>.atlas-dossier__visual-caption{position:relative;z-index:2}
.atlas-dossier__visual.has-map-preview>b{font-size:24px;color:#fff1cf;text-shadow:0 2px 10px #000}
.atlas-dossier__visual.has-map-preview>span,.atlas-dossier__visual.has-map-preview>small{color:#f5e9d6;text-shadow:0 1px 5px #000}
.atlas-dossier__visual.has-map-preview>.atlas-dossier__visual-caption{max-width:34ch;color:#f1e8db;font-size:9px;text-shadow:0 1px 5px #000}

/* GTA6 LAB — Immersive game-map interface refresh (desktop + mobile) */
@media (min-width:701px){
  body:has(.atlas-page){overflow:hidden}
  .atlas-page{position:fixed!important;inset:68px 0 0!important;z-index:40;width:100vw;height:calc(100dvh - 68px);max-width:none!important;margin:0!important;padding:0!important;overflow:hidden;background:#102126}
  .atlas-page .atlas-seo-intro,.atlas-page .atlas-heading,.atlas-page .atlas-disclaimer,.atlas-page>.atlas-sources{display:none!important}
  .atlas-shell{position:absolute;inset:0;display:block!important;width:100%;height:100%;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden;background:#102126}
  .atlas-map-area{position:absolute;inset:0;width:100%;height:100%;min-height:0!important;max-height:none!important;background:#174d59}
  .atlas-map-topline{display:none!important}
  .atlas-map-viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden;background:#174d59;touch-action:none}
  .atlas-map-viewport svg{width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;transition:viewBox .12s ease-out}
  .atlas-mobile-menu{position:absolute;z-index:18;display:flex!important;align-items:center;gap:10px;left:16px;top:16px;height:44px;padding:0 15px;border:1px solid #ffffff32;border-radius:13px;background:rgba(13,29,34,.92);color:#f3f1e7;font:600 13px 'Onest',sans-serif;box-shadow:0 5px 22px #00171c66;backdrop-filter:blur(14px);cursor:pointer}
  .atlas-mobile-menu__icon{font-size:20px;line-height:1;color:#f3b27f}
  .atlas-mobile-menu b{font:10px var(--mono);color:#b7d5c9;background:#ffffff12;padding:4px 7px;border-radius:7px}
  .atlas-sidebar{position:absolute!important;z-index:22;left:14px;top:70px;bottom:14px;width:min(370px,calc(100vw - 28px));height:auto!important;min-height:0!important;display:flex!important;flex-direction:column;overflow:hidden!important;border:1px solid #ffffff25!important;border-radius:16px;background:rgba(10,24,28,.97)!important;box-shadow:0 18px 65px #00141999;backdrop-filter:blur(18px);transform:none;transition:transform .22s cubic-bezier(.2,.8,.2,1);will-change:transform}
  .atlas-sidebar.is-mobile-open{transform:translateX(0)}
  .atlas-sidebar__top{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:13px 15px 10px;color:#91a79e;font:10px var(--mono);letter-spacing:.12em;border-bottom:1px solid #ffffff12}
  .atlas-sidebar__top button{width:30px;height:30px;border:0;border-radius:9px;background:#ffffff0d;color:#e7eee8;font-size:22px;line-height:1;cursor:pointer}
  .atlas-sidebar__top button:hover{background:#ffffff1c}
  .atlas-searchbox{margin:12px 13px 8px;min-height:46px;border-radius:11px;background:#142a2f}
  .atlas-searchbox input{min-height:46px;font-size:14px!important}
  .atlas-tabs{padding:0 13px 10px}
  .atlas-tabs button{min-height:36px}
  .atlas-filter-row{padding:8px 13px;gap:8px}
  .atlas-filter-row select{min-height:36px}
  .atlas-sidebar__label{padding:11px 15px 7px}
  .atlas-place-list{min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:10px}
  .atlas-place{min-height:58px;padding:9px 14px}
  .atlas-sidebar__footer{padding:9px 13px;border-top:1px solid #ffffff12}
  .atlas-map-controls{z-index:16;right:16px;top:16px;display:flex;flex-direction:column;gap:6px}
  .atlas-map-controls button{width:42px;height:42px;border:1px solid #ffffff30;border-radius:12px;background:rgba(12,27,32,.9);color:#f3f1e7;font-size:21px;box-shadow:0 4px 18px #00171c55;backdrop-filter:blur(12px)}
  .atlas-map-controls button:hover,.atlas-map-controls button:focus-visible{border-color:#f2b17c;color:#f2b17c}
  .atlas-base-switch{z-index:15;left:50%;right:auto;top:16px;transform:translateX(-50%);gap:3px;padding:4px;border:1px solid #ffffff25;border-radius:12px;background:rgba(12,27,32,.88);box-shadow:0 5px 22px #00171c55;backdrop-filter:blur(14px)}
  .atlas-base-switch button{padding:8px 12px;font-size:10px}
  .atlas-map-mode,.atlas-label-toggle,.atlas-grid-jump,.atlas-map-legend,.atlas-map-note{display:none!important}
  .atlas-dossier{position:absolute!important;z-index:19;left:auto!important;right:14px!important;top:70px!important;bottom:14px!important;width:min(430px,calc(100vw - 28px));max-height:none!important;overflow:auto;display:block;padding:48px 18px 16px!important;border:1px solid #ffffff2a;border-radius:16px;background:rgba(10,24,28,.97);box-shadow:0 18px 65px #00141999;backdrop-filter:blur(18px)}
  .atlas-dossier__head{grid-template-columns:minmax(0,1fr) 112px;gap:12px;padding-right:24px}
  .atlas-dossier__visual{min-height:112px}
  .atlas-dossier__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .atlas-dossier__tabs{position:sticky;top:-1px;z-index:3;background:#0b191cf7}
  .atlas-dossier .atlas-detail__actions{display:flex;flex-wrap:wrap;gap:6px}
  .atlas-dossier .atlas-action{font-size:10px;padding:9px 10px}
  .atlas-dossier .atlas-detail__close{position:absolute!important;right:9px;top:8px;width:34px;height:34px;margin:0;border-radius:9px;background:#ffffff10;color:#fff;border:1px solid #ffffff24}
}
@media (max-width:700px){
  body:has(.atlas-page){overflow:hidden}
  .atlas-page{position:fixed!important;inset:0!important;z-index:70;width:100vw;height:100dvh;min-height:100dvh;padding:0!important;margin:0!important;overflow:hidden;background:#102126}
  .atlas-page .atlas-seo-intro,.atlas-page .atlas-heading,.atlas-page .atlas-disclaimer,.atlas-page>.atlas-sources{display:none!important}
  .atlas-shell{position:absolute;inset:0;display:block!important;width:100%;height:100%;min-height:0!important;border:0!important;overflow:hidden}
  .atlas-map-area{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;max-height:none!important;background:#174d59}
  .atlas-map-viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;touch-action:none;overscroll-behavior:contain}
  .atlas-mobile-menu{top:calc(env(safe-area-inset-top) + 12px);left:12px}
  .atlas-base-switch{top:calc(env(safe-area-inset-top) + 12px);left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 160px);gap:2px}
  .atlas-base-switch button{flex:0 1 auto;padding:8px 9px;font-size:9px}
  .atlas-map-controls{top:calc(env(safe-area-inset-top) + 12px);right:10px;gap:7px}
  .atlas-map-controls button{width:40px;height:40px;border-radius:12px}
  .atlas-map-mode,.atlas-label-toggle,.atlas-grid-jump,.atlas-map-legend,.atlas-map-note{display:none!important}
  .atlas-sidebar{z-index:30!important;top:auto!important;left:8px!important;right:8px!important;bottom:calc(env(safe-area-inset-bottom) + 8px)!important;width:auto!important;height:min(76dvh,680px)!important;max-height:calc(100dvh - env(safe-area-inset-top) - 78px)!important;border:1px solid #ffffff28!important;border-radius:18px!important;background:rgba(10,24,28,.98)!important;transform:translateY(calc(100% + 30px));transition:transform .22s ease;padding-bottom:env(safe-area-inset-bottom)}
  .atlas-sidebar.is-mobile-open{transform:translateY(0)}
  .atlas-sidebar__top{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:10px 14px;border-bottom:1px solid #ffffff16;color:#91a79e;font:10px var(--mono);letter-spacing:.12em}
  .atlas-sidebar__top button{width:32px;height:32px;border:0;border-radius:9px;background:#ffffff12;color:#fff;font-size:22px}
  .atlas-searchbox{margin:10px 12px 7px}
  .atlas-filter-row{grid-template-columns:1fr 1fr!important}
  .atlas-dossier{position:absolute!important;z-index:40!important;left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto!important;height:auto!important;max-height:min(76dvh,720px)!important;overflow:auto;border-radius:18px!important;padding:48px 14px 14px!important;background:rgba(10,24,28,.98)!important;border:1px solid #ffffff2a!important;box-shadow:0 18px 65px #001419bb!important}
  .atlas-dossier .atlas-detail__actions{position:sticky;bottom:0;background:#0b191cf7}
  .atlas-dossier .atlas-detail__close{position:absolute!important;top:8px!important;right:9px!important}
}
@media(prefers-reduced-motion:reduce){.atlas-sidebar,.atlas-map-viewport svg{transition:none!important}}

/* Precision pass — quieter controls, stable markers and direct map navigation */
.atlas-map-viewport{background:#14272b!important;isolation:isolate}
.atlas-map-viewport svg{background:transparent!important;transition:viewBox .16s cubic-bezier(.2,.75,.25,1)!important;will-change:view-box}
.atlas-map-viewport svg.is-dragging{transition:none!important;cursor:grabbing!important}
.atlas-map-viewport svg image{pointer-events:none}
.atlas-marker,.atlas-cluster{cursor:pointer;outline:none}
.atlas-marker__halo{opacity:.13;transition:opacity .12s ease,fill .12s ease}
.atlas-marker:hover .atlas-marker__halo,.atlas-marker:focus-visible .atlas-marker__halo{opacity:.42}
.atlas-marker.is-selected .atlas-marker__halo{opacity:.5;fill:#ff8b64;stroke:#fff0d8}
.atlas-marker__dot{filter:drop-shadow(0 1px 3px #071519aa)}
.atlas-marker.is-visited .atlas-marker__dot{fill:#65d3b3}
.atlas-marker.is-saved .atlas-marker__dot{stroke:#fff0b8;stroke-width:4}
.atlas-cluster circle{fill:#162c30;fill-opacity:.94;stroke:#f2ad78;stroke-width:3;filter:drop-shadow(0 2px 6px #061316aa)}
.atlas-cluster:hover circle,.atlas-cluster:focus-visible circle{fill:#a95f42;stroke:#ffe2bd;stroke-width:5}
.atlas-cluster text{fill:#fff1dc;font-weight:800;pointer-events:none}
.atlas-map-controls{z-index:18!important;gap:5px!important}
.atlas-map-controls button{width:40px!important;height:40px!important;border-radius:12px!important;border:1px solid #ffffff2a!important;background:rgba(12,25,29,.88)!important;color:#f2eee4!important;box-shadow:0 4px 16px #00131766!important;backdrop-filter:blur(12px)}
.atlas-map-controls button:hover,.atlas-map-controls button:focus-visible{border-color:#f2ad78!important;color:#f2ad78!important;outline:none}
#atlasReset,#atlasWideToggle{display:none!important}
.atlas-base-switch{z-index:17!important;display:flex;gap:2px!important;padding:4px!important;border:1px solid #ffffff26!important;border-radius:13px!important;background:rgba(12,25,29,.88)!important;box-shadow:0 4px 16px #00131755!important;backdrop-filter:blur(12px)}
.atlas-base-switch button{border-radius:9px!important;padding:8px 12px!important;color:#b9c9c2!important;font:600 10px 'Onest',sans-serif!important;letter-spacing:.01em!important}
.atlas-base-switch button.is-active{background:#f0a878!important;color:#1b2423!important;box-shadow:0 1px 5px #0004}
.atlas-mobile-menu{z-index:18!important;border-radius:12px!important;background:rgba(12,25,29,.9)!important;border:1px solid #ffffff2a!important;box-shadow:0 4px 16px #00131755!important}
.atlas-mobile-menu:hover,.atlas-mobile-menu:focus-visible{border-color:#f2ad78!important;outline:none}
.atlas-sidebar{z-index:24!important}
.atlas-dossier{z-index:23!important}
.atlas-map-note,.atlas-map-legend,.atlas-map-mode,.atlas-label-toggle,.atlas-grid-jump{display:none!important}
@media(min-width:701px){
  .atlas-page{inset:68px 0 0!important;height:calc(100dvh - 68px)!important;background:#14272b!important}
  .atlas-map-controls{right:16px!important;top:16px!important}
  .atlas-base-switch{top:16px!important}
  .atlas-mobile-menu{left:16px!important;top:16px!important}
  .atlas-sidebar{top:68px!important;bottom:14px!important}
  .atlas-dossier{top:68px!important;bottom:14px!important;width:min(420px,calc(100vw - 28px))!important}
}
@media(max-width:700px){
  .atlas-page{background:#14272b!important}
  .atlas-base-switch{top:calc(env(safe-area-inset-top) + 12px)!important;max-width:calc(100% - 160px)!important}
  .atlas-base-switch button{padding:8px 9px!important;font-size:9px!important}
  .atlas-map-controls{top:calc(env(safe-area-inset-top) + 12px)!important;right:10px!important}
  .atlas-mobile-menu{top:calc(env(safe-area-inset-top) + 12px)!important;left:10px!important;padding:0 11px!important;height:40px!important}
  .atlas-map-controls button{width:38px!important;height:38px!important}
  .atlas-dossier{z-index:25!important}
}
@media(prefers-reduced-motion:reduce){.atlas-map-viewport svg,.atlas-marker__halo{transition:none!important}}

/* FUTURE ATLAS — clear saved states and personal markers */
.atlas-marker__state{font:700 8px/1 sans-serif;fill:#071a1c;paint-order:stroke;stroke:#d9fff5;stroke-width:1.5px;pointer-events:none}
.atlas-marker.is-saved .atlas-marker__halo{stroke:#62f2df;stroke-width:2.5px;fill:#35d9c8;fill-opacity:.16;filter:drop-shadow(0 0 5px #48e9d4)}
.atlas-marker.is-saved .atlas-marker__dot{fill:#75ffeb;stroke:#eafffb;stroke-width:1.8px;filter:drop-shadow(0 0 7px #4bf0dc)}
.atlas-marker.is-visited .atlas-marker__halo{stroke:#8cf0a7;stroke-width:2px;fill:#56db83;fill-opacity:.13}
.atlas-marker.is-visited .atlas-marker__dot{fill:#70e99a;stroke:#eaffef;stroke-width:1.6px}
.atlas-marker.is-selected .atlas-marker__halo{stroke:#fff0b2;stroke-width:3px;fill:#ffbd6d;fill-opacity:.24;filter:drop-shadow(0 0 9px #ffb66c)}
.atlas-marker.is-custom .atlas-marker__dot{fill:#c6a2ff;stroke:#fff;stroke-width:2px;filter:drop-shadow(0 0 8px #a77cff)}
.atlas-marker.is-custom .atlas-marker__halo{stroke:#c6a2ff;stroke-width:2px;stroke-dasharray:3 3;fill:#a77cff;fill-opacity:.16}
.atlas-marker__halo{transition:r .16s ease,fill-opacity .16s ease,stroke-width .16s ease}
.atlas-add-marker{width:auto!important;min-width:104px;padding:0 10px!important;font:600 11px/1.1 'Onest',sans-serif!important;letter-spacing:.01em;background:linear-gradient(135deg,#263b53f2,#182b38f2)!important;border-color:#a98bff88!important;color:#e8dcff!important}
.atlas-add-marker.is-armed{background:#a98bff!important;color:#171225!important;box-shadow:0 0 0 3px #a98bff44,0 0 24px #a98bff99!important}
.atlas-action--danger{border-color:#f17b7b66!important;color:#ffaaaa!important}
.atlas-tabs [data-view="hidden"]{color:#b9a9a9}
@media(prefers-reduced-motion:no-preference){.atlas-marker.is-selected .atlas-marker__halo{animation:atlasPulse 1.8s ease-in-out infinite}@keyframes atlasPulse{0%,100%{stroke-opacity:.9}50%{stroke-opacity:.35}}}

.atlas-tabs [data-view=hidden]{border-color:#d69b9b44}.atlas-tabs [data-view=hidden].is-active{color:#ffd0d0;background:#6d343422}.atlas-add-marker{white-space:nowrap}

.atlas-marker-dialog{position:absolute;z-index:30;inset:0;display:grid;place-items:center;padding:18px;background:#06151bc9;backdrop-filter:blur(12px)}.atlas-marker-dialog[hidden]{display:none}.atlas-marker-dialog__card{width:min(390px,100%);padding:24px;border:1px solid #a98bff55;border-radius:20px;background:linear-gradient(145deg,#172a36f5,#0b1923f5);box-shadow:0 24px 90px #0009;color:#f2f5f6}.atlas-marker-dialog__eyebrow{font:10px var(--mono);letter-spacing:.12em;color:#c7a9ff}.atlas-marker-dialog__card h3{margin:8px 0;font-size:23px}.atlas-marker-dialog__card p{margin:0 0 18px;color:#aebfc8;font-size:13px}.atlas-marker-dialog__card label{display:grid;gap:7px;margin:12px 0;color:#c5d1d6;font-size:12px}.atlas-marker-dialog__card input,.atlas-marker-dialog__card select{width:100%;min-height:42px;padding:0 12px;border:1px solid #ffffff24;border-radius:10px;background:#081720;color:#f5f5f5;font:14px 'Onest',sans-serif}.atlas-marker-dialog__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.atlas-marker-dialog__actions button{min-height:40px;padding:0 14px;border:1px solid #ffffff25;border-radius:10px;background:#ffffff0b;color:#e7edf0;cursor:pointer}.atlas-marker-dialog__actions button[type=submit]{background:linear-gradient(135deg,#bda2ff,#8e75df);border:0;color:#171323;font-weight:700}

.atlas-guest-gate__actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 14px}
.atlas-guest-gate__actions .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.atlas-guest-more{border:1px solid #ffffff2b;background:#ffffff0b;color:var(--text);font:inherit;font-weight:700;cursor:pointer}
.atlas-guest-more:hover{background:#ffffff16;border-color:#e7a278}
@media(max-width:520px){.atlas-guest-gate{padding:14px;align-items:end}.atlas-guest-gate__card{width:100%;padding:22px 18px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 14px 14px}.atlas-guest-gate__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.atlas-guest-gate__actions .atlas-guest-more{grid-column:1/-1}.atlas-guest-gate__card p{font-size:14px;line-height:1.5}}

/* Personal collections — compact atlas library */
.atlas-collection-filter{padding:0 14px 12px;display:grid;gap:5px;flex:0 0 auto}
.atlas-collection-filter label{font:9px var(--mono);letter-spacing:.09em;color:#9aada7}
.atlas-collection-filter select{width:100%;min-height:38px;padding:0 10px;border:1px solid #ffffff20;border-radius:9px;background:#101d22;color:#eaf1ec;font:12px 'Onest',sans-serif}
.atlas-sidebar__footer{display:flex;gap:8px;flex-wrap:wrap}
.atlas-sidebar__footer .atlas-text-button{flex:1 1 auto;min-height:36px;padding:7px 8px;border:1px solid #ffffff1b;border-radius:9px;background:#ffffff08;text-align:center}
.atlas-collections-overlay{position:fixed;inset:0;z-index:9990;display:grid;place-items:center;padding:20px;background:#02080bd9;backdrop-filter:blur(14px)}
.atlas-collections-overlay[hidden]{display:none!important}
.atlas-collections-card{width:min(100%,540px);max-height:min(84dvh,760px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff25;border-radius:22px;background:#0e1b20;color:#f2f4ed;box-shadow:0 28px 90px #000b}
.atlas-collections-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 14px;border-bottom:1px solid #ffffff15}
.atlas-collections-card h2{font-size:22px;margin:8px 0 4px}.atlas-collections-card header p{margin:0;color:#9eafa9;font-size:12px;line-height:1.45}
.atlas-collections-card header>button{flex:0 0 40px;width:40px;height:40px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff0b;color:white;font-size:25px}
.atlas-collection-picker{display:grid;gap:6px;max-height:220px;overflow:auto;padding:14px 20px;border-bottom:1px solid #ffffff15}
.atlas-collection-choice{display:flex;align-items:center;gap:10px;min-height:42px;padding:7px 10px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff06;cursor:pointer}
.atlas-collection-choice input{width:18px;height:18px;accent-color:#e8a273}.atlas-collection-choice i,.atlas-collection-row>i{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--collection-color,#e8a273);box-shadow:0 0 12px color-mix(in srgb,var(--collection-color,#e8a273) 55%,transparent)}
.atlas-collection-choice span{flex:1;font-size:13px}.atlas-collection-choice small{color:#9eafa9;font-size:10px}
.atlas-collection-empty{margin:0;padding:10px;color:#9eafa9;font-size:12px;line-height:1.5}
.atlas-collection-create{padding:14px 20px;border-bottom:1px solid #ffffff15}.atlas-collection-create label{display:block;margin-bottom:7px;color:#a8b9b1;font:9px var(--mono);letter-spacing:.08em;text-transform:uppercase}
.atlas-collection-create>div{display:flex;gap:8px}.atlas-collection-create input{flex:1;min-width:0;min-height:42px;padding:0 12px;border:1px solid #ffffff20;border-radius:10px;background:#081317;color:white;font:13px 'Onest',sans-serif}.atlas-collection-create button{min-height:42px;padding:0 14px;border:0;border-radius:10px;background:#e8a273;color:#1b211e;font-size:12px;font-weight:800}
.atlas-collection-manage{min-height:0;overflow:auto;padding:12px 20px;overscroll-behavior:contain}.atlas-collection-manage__title{margin:0 0 8px;color:#8fa59c;font:9px var(--mono);letter-spacing:.1em}
.atlas-collection-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #ffffff10}.atlas-collection-row>span{flex:1;min-width:0;display:grid;gap:2px}.atlas-collection-row b{font-size:12px;overflow-wrap:anywhere}.atlas-collection-row small{color:#93a79e;font-size:10px}.atlas-collection-row button{min-height:34px;padding:0 9px;border:1px solid #ffffff18;border-radius:8px;background:#ffffff08;color:#dfe8e1;font-size:10px}.atlas-collection-row button:last-child{width:34px;padding:0;font-size:18px}
.atlas-collections-card>footer{display:flex;gap:8px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #ffffff15}.atlas-collections-card>footer .atlas-action{flex:1;min-height:42px;display:grid;place-items:center}
body.atlas-collections-open{overflow:hidden}
@media(max-width:700px){.atlas-collection-filter{padding:0 12px 10px}.atlas-collections-overlay{align-items:end;padding:8px}.atlas-collections-card{width:100%;max-height:calc(88dvh - env(safe-area-inset-top));border-radius:22px 22px 14px 14px}.atlas-collections-card>header{padding:18px 17px 12px}.atlas-collection-picker{max-height:26dvh;padding:10px 14px}.atlas-collection-create{padding:12px 14px}.atlas-collection-manage{padding:10px 14px}.atlas-collections-card>footer{padding:10px 14px calc(12px + env(safe-area-inset-bottom))}.atlas-collection-row button{min-height:38px}}
.atlas-sync-status{padding:5px 13px 9px;color:#8ea79b;font-size:9px;line-height:1.4;letter-spacing:.02em}
.atlas-sync-status[data-state="ok"]{color:#7bd4ad}.atlas-sync-status[data-state="pending"]{color:#e7b98f}.atlas-sync-status[data-state="error"]{color:#e59a8c}

/* Route planner — ordered stops, saved itineraries and map overlay */
.atlas-route-line{fill:none;stroke:#f4a16e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:12 10;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 5px #000c)}
.atlas-route-stop circle{fill:#102027;stroke:#ffd09b;stroke-width:5;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 5px #000b)}
.atlas-route-stop text{fill:#fff4dc;font:800 190px 'Onest',sans-serif;paint-order:stroke;stroke:#102027;stroke-width:35px;stroke-linejoin:round}
.atlas-route-overlay{position:fixed;inset:0;z-index:9980;display:grid;place-items:center;padding:20px;background:#02080bd9;backdrop-filter:blur(14px)}
.atlas-route-overlay[hidden]{display:none!important}
.atlas-route-card{width:min(100%,560px);max-height:min(86dvh,780px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff25;border-radius:22px;background:#0e1b20;color:#f2f4ed;box-shadow:0 28px 90px #000b}
.atlas-route-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 14px;border-bottom:1px solid #ffffff15}
.atlas-route-card h2{font-size:22px;margin:8px 0 4px}.atlas-route-card header p{margin:0;color:#9eafa9;font-size:12px;line-height:1.45}
.atlas-route-card header>button{flex:0 0 40px;width:40px;height:40px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff0b;color:white;font-size:25px}
.atlas-route-summary{padding:12px 22px;color:#e9b68f;font-size:12px;border-bottom:1px solid #ffffff12}
.atlas-route-stops{min-height:0;max-height:36dvh;overflow:auto;padding:8px 20px;overscroll-behavior:contain}
.atlas-route-stop-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #ffffff10}
.atlas-route-stop-row__num{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#f0a16d;color:#18201d;font-size:12px}
.atlas-route-stop-row>span,.atlas-route-saved-row>span{flex:1;min-width:0;display:grid;gap:2px}.atlas-route-stop-row strong,.atlas-route-saved-row b{font-size:12px;overflow-wrap:anywhere}.atlas-route-stop-row small,.atlas-route-saved-row small{color:#93a79e;font-size:10px}
.atlas-route-stop-row button,.atlas-route-saved-row button{flex:0 0 34px;width:34px;height:34px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff08;color:#eaf0e9;font-size:16px}.atlas-route-stop-row button:disabled{opacity:.25}
.atlas-route-empty,.atlas-route-saved__empty{padding:14px;color:#9eafa9;font-size:12px;line-height:1.5}
.atlas-route-saved{min-height:0;overflow:auto;padding:10px 20px;border-top:1px solid #ffffff15}.atlas-route-saved__title{margin:0 0 7px;color:#8fa59c;font:9px var(--mono);letter-spacing:.1em}
.atlas-route-saved-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #ffffff10}.atlas-route-saved-row button:nth-last-child(2){flex:0 0 auto;width:auto;padding:0 10px;font-size:10px}
.atlas-route-note{margin:0;padding:10px 22px;color:#899e96;font-size:10px;line-height:1.5;border-top:1px solid #ffffff12}
.atlas-route-card>footer{display:flex;gap:8px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #ffffff15}.atlas-route-card>footer .atlas-action{flex:1;min-height:42px;display:grid;place-items:center}.atlas-route-card>footer .atlas-action:disabled{opacity:.35}
body.atlas-route-open{overflow:hidden}
@media(max-width:700px){.atlas-route-overlay{align-items:end;padding:8px}.atlas-route-card{width:100%;max-height:calc(90dvh - env(safe-area-inset-top));border-radius:22px 22px 14px 14px}.atlas-route-card>header{padding:18px 17px 12px}.atlas-route-summary{padding:10px 16px}.atlas-route-stops{max-height:32dvh;padding:6px 14px}.atlas-route-saved{padding:10px 14px}.atlas-route-note{padding:10px 16px}.atlas-route-card>footer{padding:10px 14px calc(12px + env(safe-area-inset-bottom))}.atlas-route-stop-row button{width:38px;height:38px;flex-basis:38px}}
.atlas-route-name{display:grid;gap:5px;padding:10px 20px 0}.atlas-route-name span{font:9px var(--mono);letter-spacing:.09em;color:#91a79d;text-transform:uppercase}.atlas-route-name input{width:100%;min-height:40px;padding:0 11px;border:1px solid #ffffff20;border-radius:9px;background:#081317;color:#fff;font:12px 'Onest',sans-serif}.atlas-route-name input:focus{outline:none;border-color:#e8a273;box-shadow:0 0 0 3px #e8a27322}
@media(max-width:700px){.atlas-route-name{padding:10px 14px 0}.atlas-route-card>footer{padding-top:9px}}
.atlas-route-card>footer .atlas-action{font-size:11px;padding:8px 9px;text-align:center;line-height:1.25}
@media(max-width:420px){.atlas-route-card>footer{gap:6px}.atlas-route-card>footer .atlas-action{font-size:9px;padding:7px 5px;min-width:0}}
/* Map fill: sea colour behind tiles, no letterbox */
.atlas-map-viewport{background:#0e3d49!important}
.atlas-map-viewport svg{background:transparent!important;display:block;width:100%;height:100%}
.atlas-map-tile{image-rendering:auto}
/* ---------- mobile atlas: no overlapping controls ---------- */
@media(max-width:700px){
  .atlas-map-controls{top:auto!important;bottom:calc(env(safe-area-inset-bottom) + 14px)!important;right:10px!important;flex-direction:column!important;gap:6px!important}
  .atlas-map-controls button{width:42px!important;height:42px!important}
  .atlas-add-marker{min-width:0!important;width:42px!important;padding:0!important;font-size:0!important}
  .atlas-add-marker::before{content:"+";font-size:22px}
  .atlas-add-marker.is-armed::before{content:"x"}
  .atlas-base-switch{top:calc(env(safe-area-inset-top) + 10px)!important;left:10px!important;right:auto!important;transform:none!important;width:calc(100% - 20px)!important;max-width:none!important;justify-content:space-between!important}
  .atlas-mobile-menu{top:calc(env(safe-area-inset-top) + 58px)!important;left:10px!important;height:38px!important;padding:0 10px!important;font-size:11px!important}
  .atlas-dossier{max-height:calc(100dvh - env(safe-area-inset-top) - 24px)!important}
  .atlas-dossier__tabs{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  .atlas-dossier__tabs button{flex:0 0 auto}
}
/* ---------- mobile: normal flow, map above list, SEO text visible ---------- */
@media(max-width:700px){
  html:has(.atlas-page),body:has(.atlas-page){height:auto!important;overflow:auto!important;overscroll-behavior:auto!important}
  .atlas-page{position:static!important;inset:auto!important;z-index:auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:16px 0 28px!important;overflow:visible!important;background:transparent!important}
  .atlas-page .atlas-seo-intro,.atlas-page .atlas-heading,.atlas-page .atlas-disclaimer,.atlas-page>.atlas-sources{display:block!important}
  .atlas-page .atlas-heading{margin-bottom:12px}
  .atlas-shell{position:static!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;border:1px solid var(--line)!important;border-radius:16px;overflow:hidden;background:var(--panel)}
  .atlas-map-area{position:relative!important;inset:auto!important;width:auto!important;height:58vh!important;min-height:340px!important;max-height:560px!important;order:0!important;background:#0e3d49!important}
  .atlas-map-viewport{position:absolute!important;inset:0!important;width:auto!important;height:auto!important}
  .atlas-mobile-menu{display:none!important}
  .atlas-sidebar{position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;width:auto!important;height:330px!important;max-height:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:var(--panel)!important;box-shadow:none!important;order:1!important}
  .atlas-sidebar__top{display:none!important}
  .atlas-dossier{position:fixed!important;inset:0!important;z-index:90!important;width:auto!important;height:auto!important;max-height:none!important;padding:52px 16px 20px!important;border:0!important;border-radius:0!important;overflow:auto!important}
  .atlas-dossier .atlas-detail__close{position:fixed!important;top:calc(env(safe-area-inset-top) + 10px)!important;right:12px!important;z-index:95!important}
  .atlas-base-switch{top:8px!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;transform:none!important}
  .atlas-base-switch button{flex:1;padding:8px 6px!important;font-size:9px!important}
  .atlas-map-controls{top:auto!important;bottom:10px!important;right:10px!important;flex-direction:column!important;gap:6px!important}
  .atlas-map-controls button{width:40px!important;height:40px!important}
  .atlas-add-marker{width:40px!important;min-width:0!important;padding:0!important;font-size:0!important}
  .atlas-add-marker::before{content:"+";font-size:20px}
}
/* MOBILE MAP 2026-11-21 */
.atlas-chip-toggle{position:absolute;z-index:25;top:14px;left:96px;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border:1px solid #ffffff26;border-radius:11px;background:rgba(12,27,32,.9);color:#cfdcd4;font:600 11.5px 'Onest',sans-serif;cursor:pointer;backdrop-filter:blur(12px);user-select:none}
.atlas-chip-toggle input{appearance:none;-webkit-appearance:none;width:30px;height:17px;border-radius:9px;background:#2b3f44;position:relative;cursor:pointer;transition:background .16s}
.atlas-chip-toggle input:after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#9fb3ac;transition:transform .16s,background .16s}
.atlas-chip-toggle input:checked{background:#f2b17c}
.atlas-chip-toggle input:checked:after{transform:translateX(13px);background:#1b2a2e}
.atlas-chip-toggle:has(input:checked){color:#f6d7b6;border-color:#f2b17c66}

@media(max-width:700px){
  html:has(.atlas-page),body:has(.atlas-page){height:100%;overflow:hidden!important}
  .atlas-page{position:fixed!important;inset:0!important;left:0!important;top:61px!important;width:100%!important;max-width:100%!important;height:calc(100dvh - 61px)!important;min-height:calc(100dvh - 61px)!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important;background:#0b171a!important;z-index:70!important}
  body:has(.atlas-page) .top{z-index:80!important}
  .atlas-page .atlas-seo-intro,.atlas-page .atlas-heading,.atlas-page .atlas-disclaimer,
  .atlas-page>.atlas-sources,.atlas-page .atlas-grid-jump,.atlas-page .atlas-map-topline,
  .atlas-page .atlas-map-mode,.atlas-page .atlas-label-toggle,.atlas-page .atlas-map-note{display:none!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
  .atlas-page .atlas-map-area{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;display:block!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .atlas-page .atlas-map-viewport svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
  .atlas-page .atlas-fullscreen-btn{top:calc(env(safe-area-inset-top) + 12px);left:12px;height:40px;padding:0 14px;z-index:60}
  .atlas-page .atlas-mobile-menu{left:auto;right:12px;top:calc(env(safe-area-inset-top) + 12px);height:40px;z-index:60}
  .atlas-page .atlas-base-switch{top:calc(env(safe-area-inset-top) + 60px);left:50%;right:auto;transform:translateX(-50%);z-index:55}
  .atlas-page .atlas-chip-toggle{top:calc(env(safe-area-inset-top) + 104px);left:12px;z-index:55;height:32px}
  .atlas-page .atlas-map-controls{top:calc(env(safe-area-inset-top) + 60px);right:12px;z-index:55}
  .atlas-page .atlas-map-legend{display:none!important}
  .atlas-page .atlas-sidebar{position:absolute!important;z-index:65;left:8px;right:8px;top:calc(env(safe-area-inset-top) + 58px);bottom:calc(env(safe-area-inset-bottom) + 8px);width:auto!important;max-width:none!important;border-radius:16px;transform:translateY(calc(100% + 40px));transition:transform .22s ease;box-shadow:0 18px 60px #000a}
  .atlas-page .atlas-sidebar.is-mobile-open{transform:translateY(0)}
  .atlas-page .atlas-map-area .atlas-dossier{position:absolute!important;inset:auto 0 0 0!important;left:0!important;right:0!important;top:auto!important;width:auto!important;height:auto!important;max-height:58dvh!important;overflow:auto!important;padding:40px 14px calc(14px + env(safe-area-inset-bottom))!important;border-radius:18px 18px 0 0!important;border:1px solid #ffffff1f!important;border-bottom:0!important;background:rgba(10,20,24,.98)!important}
  .atlas-page .atlas-map-area .atlas-dossier__head{grid-template-columns:minmax(0,1fr) 84px!important;gap:10px!important;padding-right:34px!important}
  .atlas-page .atlas-map-area .atlas-dossier__identity h2{font-size:19px!important;line-height:1.25!important;margin:4px 0 4px!important}
  .atlas-page .atlas-map-area .atlas-dossier .atlas-detail__close{position:absolute!important;top:8px!important;right:10px!important;width:36px!important;height:36px!important}
  .atlas-page .atlas-map-area .atlas-dossier__visual{min-height:78px!important}
}
/* MAP FIX 2026-11-21: site.css не должен перебивать правила карты из atlas-official.css */
@media (min-width:701px){
  .atlas-page{position:fixed!important;inset:68px 0 0!important;left:0!important;top:68px!important;width:100%!important;max-width:100%!important;height:calc(100dvh - 68px)!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important;background:#0b171a!important;z-index:40!important}
  body:has(.atlas-page){overflow:hidden!important}
  .atlas-page~.foot{display:none!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
  .atlas-page .atlas-map-area{grid-column:2!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;position:relative!important;inset:auto!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .atlas-page .atlas-map-viewport svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
  .atlas-page .atlas-mobile-menu{display:none!important}
  .atlas-page .atlas-sidebar{position:absolute!important;grid-column:auto!important;left:14px!important;top:70px!important;bottom:14px!important;width:min(370px,calc(100vw - 28px))!important;height:auto!important;transform:translateX(calc(-100% - 28px));transition:transform .22s ease}
  .atlas-page .atlas-sidebar.is-mobile-open{transform:translateX(0)}
  .atlas-page .atlas-base-switch{top:14px!important;left:50%!important;transform:translateX(-50%)!important}
  .atlas-page .atlas-map-controls{top:14px!important;right:14px!important}
  .atlas-page .atlas-map-legend{bottom:14px!important;left:14px!important}
  .atlas-page .atlas-map-topline{display:none!important}
}
@media (max-width:700px){
  .atlas-page{position:fixed!important;inset:0!important;left:0!important;top:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important;background:#0b171a!important;z-index:70!important}
  html:has(.atlas-page),body:has(.atlas-page){height:100%!important;overflow:hidden!important}
  .atlas-page .atlas-seo-intro,.atlas-page .atlas-heading,.atlas-page .atlas-disclaimer,
  .atlas-page>.atlas-sources,.atlas-page .atlas-grid-jump,.atlas-page .atlas-map-topline,
  .atlas-page .atlas-map-mode,.atlas-page .atlas-label-toggle,.atlas-page .atlas-map-note{display:none!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
  .atlas-page .atlas-map-area{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;display:block!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .atlas-page .atlas-map-viewport svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
  .atlas-page .atlas-sidebar{position:absolute!important;z-index:65!important;left:8px!important;right:8px!important;top:calc(env(safe-area-inset-top) + 58px)!important;bottom:calc(env(safe-area-inset-bottom) + 8px)!important;width:auto!important;height:auto!important;max-height:none!important;transform:translateY(calc(100% + 40px));transition:transform .22s ease;border-radius:16px}
  .atlas-page .atlas-sidebar.is-mobile-open{transform:translateY(0)!important}
  .atlas-page .atlas-base-switch{top:calc(env(safe-area-inset-top) + 60px)!important;left:50%!important;transform:translateX(-50%)!important;z-index:55}
  .atlas-page .atlas-map-controls{top:calc(env(safe-area-inset-top) + 60px)!important;right:12px!important;z-index:55}
  .atlas-page .atlas-map-legend{display:none!important}
  .atlas-page .atlas-map-area .atlas-dossier{position:absolute!important;inset:auto 0 0 0!important;left:0!important;right:0!important;top:auto!important;width:auto!important;height:auto!important;max-height:58dvh!important;overflow:auto!important;padding:40px 14px calc(14px + env(safe-area-inset-bottom))!important;border-radius:18px 18px 0 0!important;border:1px solid #ffffff1f!important;border-bottom:0!important;background:rgba(10,20,24,.98)!important}
  .atlas-page .atlas-map-area .atlas-dossier__head{grid-template-columns:minmax(0,1fr) 84px!important;gap:10px!important;padding-right:34px!important}
  .atlas-page .atlas-map-area .atlas-dossier__identity h2{font-size:19px!important;line-height:1.25!important;margin:4px 0!important}
  .atlas-page .atlas-map-area .atlas-dossier .atlas-detail__close{position:absolute!important;top:8px!important;right:10px!important;width:36px!important;height:36px!important}
  .atlas-page .atlas-map-area .atlas-dossier__visual{min-height:78px!important}
  .atlas-fullscreen-btn{top:calc(env(safe-area-inset-top) + 12px)!important;left:12px!important;z-index:60!important}
  .atlas-page .atlas-mobile-menu{left:auto!important;right:12px!important;top:calc(env(safe-area-inset-top) + 12px)!important;height:40px;z-index:60!important}
}

/* MAP OVERRIDE 2026-11-21 */
@media (min-width:701px){
  .atlas-page .atlas-sidebar{position:absolute!important;left:14px!important;top:70px!important;bottom:14px!important;width:min(370px,calc(100vw - 28px))!important;height:auto!important;transform:none!important;z-index:25!important}
  .atlas-page .atlas-sidebar.is-mobile-open{transform:none!important}
  .atlas-page .atlas-mobile-menu{display:none!important}
}
@media (max-width:700px){
  .atlas-page .atlas-sidebar{transform:translateY(calc(100% + 40px))!important}
  .atlas-page .atlas-sidebar.is-mobile-open{transform:translateY(0)!important}
  .atlas-page .atlas-mobile-menu{display:inline-flex!important;align-items:center;gap:9px;left:auto!important;right:12px!important;top:calc(env(safe-area-inset-top) + 12px)!important;height:40px!important;z-index:60!important}
  .atlas-fullscreen-btn{display:inline-flex!important;left:12px!important;top:calc(env(safe-area-inset-top) + 12px)!important;z-index:60!important}
}
.atlas-marker__icon{pointer-events:none;paint-order:stroke;stroke:rgba(0,0,0,.45);stroke-width:.6px}
.atlas-marker__label{display:none!important}
/* DESKTOP MAP FULL WIDTH 2026-11-21: карта на всю ширину, сайдбар поверх */
@media (min-width:701px){
  .atlas-page .atlas-shell{grid-template-columns:1fr!important}
  .atlas-page .atlas-map-area{grid-column:1!important;position:relative!important;inset:auto!important;width:100%!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .atlas-page .atlas-map-viewport svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important}
}
/* MOBILE FILL 2026-11-21: карта заполняет экран без пустоты снизу */
@media (max-width:700px){
  .atlas-page .atlas-map-viewport svg{object-fit:cover!important;object-position:center}
}


/* === GTA6 LAB: readable labels and distinct map layers === */
.atlas-map-caption{paint-order:stroke fill;stroke:rgba(6,18,22,.88);stroke-width:3px;stroke-linejoin:round;font-weight:700;opacity:.92}
.atlas-cluster circle{fill-opacity:.86}
.atlas-cluster text{paint-order:stroke fill;stroke:rgba(0,0,0,.65);stroke-width:2px;fill:#fff}
/* Reconstruction (YANIS) is visibly different from the game map */
.atlas-page:has([data-atlas-base="yanis"][aria-pressed="true"]) #atlasTileLayer{filter:sepia(.24) saturate(.78) hue-rotate(-8deg) brightness(1.05) contrast(1.05)}
.atlas-page:has([data-atlas-base="yanis"][aria-pressed="true"]) .atlas-map-note{color:#ffd9a8}
/* Poster: prominent category icons */
.atlas-page:has([data-atlas-base="poster"][aria-pressed="true"]) .atlas-marker__icon{font-size:15px!important}
.atlas-page:has([data-atlas-base="poster"][aria-pressed="true"]) .atlas-marker__dot{stroke:rgba(255,255,255,.9);stroke-width:1.5px}


/* Mobile map usability: larger marker hit targets and collapsible object actions. */
 .atlas-marker__hit{pointer-events:all}
 .atlas-detail__actions-list{display:flex;gap:7px;flex-wrap:wrap;flex:0 0 auto;width:100%}
.atlas-action--toggle{display:none}
@media(max-width:700px){
  .atlas-page .atlas-detail__actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
  .atlas-page .atlas-action--toggle{display:none!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:42px!important;font-size:12px!important}
  .atlas-page .atlas-detail__actions-list{display:flex;flex-wrap:wrap;gap:7px;width:100%}
  .has-js .atlas-page .atlas-action--toggle{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:42px!important;font-size:12px!important}
  .has-js .atlas-page .atlas-detail__actions-list{display:none}
  .has-js .atlas-page .atlas-detail__actions.is-expanded .atlas-detail__actions-list{display:flex}
  .atlas-page .atlas-detail__actions-list .atlas-action{flex:1 1 calc(50% - 8px);min-height:40px;white-space:normal;text-align:center}
}

/* Cluster interaction: zoom into the area and choose an exact landmark. */
.atlas-cluster-panel{position:absolute;z-index:58;left:16px;bottom:16px;width:min(360px,calc(100% - 32px));max-height:min(58vh,520px);display:flex;flex-direction:column;gap:8px;padding:13px;border:1px solid rgba(242,177,124,.42);border-radius:16px;background:rgba(10,22,26,.96);color:#edf4ee;box-shadow:0 16px 48px #0009;backdrop-filter:blur(16px)}
.atlas-cluster-panel[hidden]{display:none!important}
.atlas-cluster-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.atlas-cluster-panel>header b{display:block;font-size:13px;letter-spacing:.02em}
.atlas-cluster-panel>header small{display:block;margin-top:2px;color:#a9bbb4;font-size:11px}
.atlas-cluster-panel>header button{width:30px;height:30px;flex:0 0 30px;border:1px solid #ffffff24;border-radius:9px;background:#ffffff0b;color:#fff;font-size:21px;line-height:1;cursor:pointer}
.atlas-cluster-panel__list{display:grid;gap:5px;overflow:auto;min-height:0;overscroll-behavior:contain}
.atlas-cluster-panel__list button{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:2px 8px;width:100%;padding:8px 9px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff08;color:#eef5ef;text-align:left;cursor:pointer}
.atlas-cluster-panel__list button:active,.atlas-cluster-panel__list button:hover{background:#f2b17c1c;border-color:#f2b17c66}
.atlas-cluster-panel__list button>span{grid-row:span 2;display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#f2b17c20;color:#f2bd91;font-size:11px;font-weight:800}
.atlas-cluster-panel__list button>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.atlas-cluster-panel__list button>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9eb1aa;font-size:10px}
.atlas-cluster-panel__more{width:100%;padding:9px;border:1px solid #f2b17c55;border-radius:10px;background:#f2b17c14;color:#ffd5ae;font-size:12px;font-weight:700;cursor:pointer}
.atlas-cluster-panel>footer{color:#9eb1aa;font-size:10px;line-height:1.35}
@media(max-width:700px){
  .atlas-page .atlas-chip-toggle{max-width:calc(100% - 24px);height:34px!important;padding:0 9px!important;gap:6px!important;font-size:10px!important}
  .atlas-page .atlas-chip-toggle input{flex:0 0 28px;width:28px}
  .atlas-cluster-panel{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 68px);width:auto;max-height:38dvh;padding:10px;border-radius:14px}
  .atlas-cluster-panel__list button{min-height:43px;padding:7px 8px}
}

/* Separate, compact map data layers: unofficial records and unnamed records. */
.atlas-map-data-toggles{position:absolute;z-index:25;top:14px;left:96px;display:flex;align-items:center;gap:7px;max-width:calc(100% - 112px);flex-wrap:wrap}
.atlas-map-data-toggles .atlas-chip-toggle{position:static;max-width:100%;white-space:nowrap}
@media(max-width:700px){.atlas-page .atlas-map-data-toggles{top:calc(env(safe-area-inset-top) + 104px);left:12px;right:12px;max-width:none;gap:6px}.atlas-page .atlas-map-data-toggles .atlas-chip-toggle{height:32px;padding:0 9px;gap:6px;font-size:10px}.atlas-page .atlas-map-data-toggles .atlas-chip-toggle input{flex:0 0 28px;width:28px}}
@media(max-width:380px){.atlas-page .atlas-map-data-toggles{gap:5px}.atlas-page .atlas-map-data-toggles .atlas-chip-toggle{font-size:9px;padding:0 7px}}

.atlas-guest-more[hidden]{display:none!important}


/* Source confidence is shown through marker styling, not a visibility switch. */
.atlas-marker.is-community .atlas-marker__halo{stroke:#f2b17c;stroke-opacity:.62;stroke-dasharray:2.5 2.5;opacity:.2}
.atlas-marker.is-needs-review .atlas-marker__halo{stroke:#aeb9c2;stroke-opacity:.78;stroke-dasharray:1.5 2.5;opacity:.24}
.atlas-marker.is-official .atlas-marker__halo{stroke:#65c8ad;stroke-opacity:.52}

/* iPhone safe-area: keep the map background continuous beneath the home indicator. */
@media(max-width:700px){
  html:has(.atlas-page),body:has(.atlas-page){background:#0b171a!important;overscroll-behavior:none}
  .atlas-page{background:#0b171a!important;bottom:0!important;padding-bottom:env(safe-area-inset-bottom)!important;box-sizing:border-box!important}
  .atlas-page .atlas-shell,.atlas-page .atlas-map-area,.atlas-page .atlas-map-viewport{background-color:#0b171a!important}
}


/* Mobile map: preserve the complete viewport; tile nodes are now diff-updated in place. */
@media (max-width:700px) {
  .atlas-page .atlas-map-viewport svg { object-fit:fill!important; object-position:center!important; }
  .atlas-page .atlas-map-viewport { overflow:hidden!important; }
}
/* VISUAL POLISH v6 — mobile atlas alignment, full-height canvas and distinct map bases */
@media (max-width:700px){
  .atlas-page{position:fixed!important;top:120px!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;background:#0b171a!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important;box-sizing:border-box!important}
  .atlas-page .atlas-map-area{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;background:#174d59!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;transform:none!important}
  .atlas-page .atlas-map-viewport svg{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:fill!important;object-position:50% 50%!important;transform:none!important}
  .atlas-page .atlas-base-switch{position:absolute!important;top:10px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;width:min(340px,calc(100% - 24px))!important;max-width:none!important;display:grid!important;grid-template-columns:1fr 1.35fr .82fr!important;align-items:stretch!important;gap:5px!important;padding:5px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:16px!important;background:rgba(8,20,27,.94)!important;box-shadow:0 10px 28px rgba(0,0,0,.32)!important;backdrop-filter:blur(16px)!important}
  .atlas-page .atlas-base-switch button{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:39px!important;padding:7px 5px!important;border:1px solid transparent!important;border-radius:11px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font:700 10px/1.1 'Onest',sans-serif!important;letter-spacing:-.015em!important;color:#d4e1e8!important;background:rgba(255,255,255,.055)!important;box-shadow:none!important}
  .atlas-page .atlas-base-switch button[data-atlas-base="day"]{--map-tab:#ffb36f}
  .atlas-page .atlas-base-switch button[data-atlas-base="yanis"]{--map-tab:#b89aff}
  .atlas-page .atlas-base-switch button[data-atlas-base="poster"]{--map-tab:#65d4df}
  .atlas-page .atlas-base-switch button.is-active{color:#101b24!important;background:var(--map-tab,#ffb36f)!important;border-color:var(--map-tab,#ffb36f)!important;box-shadow:0 3px 12px color-mix(in srgb,var(--map-tab,#ffb36f) 38%,transparent)!important}
  .atlas-page .atlas-map-controls{right:12px!important;top:76px!important;z-index:40!important}
  .atlas-page .atlas-map-data-toggles{top:calc(env(safe-area-inset-top) + 8px)!important;left:12px!important;right:auto!important;max-width:calc(100% - 110px)!important}
  .atlas-page .atlas-fullscreen-btn{top:calc(env(safe-area-inset-top) + 10px)!important;left:12px!important;z-index:45!important}
  .atlas-page .atlas-mobile-menu{top:calc(env(safe-area-inset-top) + 10px)!important;right:12px!important;z-index:45!important}
}
@media (max-width:390px){.atlas-page .atlas-base-switch{width:calc(100% - 20px)!important;grid-template-columns:.95fr 1.35fr .78fr!important;gap:3px!important;padding:4px!important}.atlas-page .atlas-base-switch button{font-size:9px!important;padding-inline:3px!important}}
@media(prefers-reduced-motion:reduce){.atlas-page .atlas-base-switch button{transition:none!important}}
/* Clear visual identity for the three map bases on every screen size. */
.atlas-base-switch button[data-atlas-base="day"]{--map-tab:#ffb36f}
.atlas-base-switch button[data-atlas-base="yanis"]{--map-tab:#b89aff}
.atlas-base-switch button[data-atlas-base="poster"]{--map-tab:#65d4df}
.atlas-base-switch button.is-active{background:var(--map-tab,#ffb36f)!important;border-color:var(--map-tab,#ffb36f)!important;color:#101b24!important}

/* FIX 2026-11-21: base switcher and unnamed-source chip must never overlap. */
@media (max-width:700px){
  .atlas-page{position:fixed!important;top:0!important;bottom:0!important;height:100dvh!important}
  .atlas-page .atlas-mobile-menu{left:10px!important;right:auto!important;top:calc(env(safe-area-inset-top) + 8px)!important}
  .atlas-page .atlas-map-controls{right:10px!important;top:calc(env(safe-area-inset-top) + 8px)!important}
  .atlas-page .atlas-base-switch{
    top:calc(env(safe-area-inset-top) + 60px)!important;left:10px!important;right:52px!important;
    transform:none!important;justify-content:space-between!important;width:auto!important;max-width:none!important;
    padding:3px!important;flex-wrap:nowrap!important
  }
  .atlas-page .atlas-base-switch button{flex:1 1 0;min-width:0;padding:7px 3px;font-size:8.5px!important;line-height:1.15;white-space:normal!important}
  .atlas-page .atlas-map-data-toggles{top:calc(env(safe-area-inset-top) + 106px)!important;left:10px!important;right:auto!important;z-index:26!important;width:auto!important;min-width:calc(100% - 20px)!important;max-width:none!important}
  .atlas-page .atlas-chip-toggle{position:static!important;left:auto!important;top:auto!important;z-index:26!important;max-width:calc(100% - 90px)!important;height:32px!important}
}
@media (min-width:701px){
  .atlas-page .atlas-base-switch{left:16px!important;right:auto!important;top:14px!important;transform:none!important;flex-wrap:nowrap!important;width:max-content!important;max-width:calc(100% - 80px)!important}
  .atlas-page .atlas-base-switch button{font-size:9.5px!important;padding:8px 9px!important;white-space:nowrap!important}
  .atlas-page .atlas-map-data-toggles{top:62px!important;left:16px!important;right:auto!important;width:auto!important;min-width:0!important;max-width:none!important}
  .atlas-page .atlas-chip-toggle{position:static!important;left:auto!important;top:auto!important;width:auto!important;max-width:none!important;height:34px!important}
  .atlas-page .atlas-map-note{display:block!important;left:16px!important;right:auto!important;bottom:12px!important;max-width:min(40ch,46%)!important;text-align:left!important;font-size:9px!important;line-height:1.35!important;z-index:17!important}
}


/* GTA6LAB FINAL RECONSTRUCTION — desktop geometry + compact provenance */
.atlas-source-chip{position:absolute;left:12px;bottom:50px;z-index:19;font:10px 'Onest',sans-serif;letter-spacing:0;color:#dce9e7}
.atlas-source-chip>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border:1px solid #ffffff2b;border-radius:9px;background:rgba(8,22,27,.78);color:#c7d9d6;cursor:pointer;backdrop-filter:blur(8px);box-shadow:0 2px 10px #0003}
.atlas-source-chip>summary::-webkit-details-marker{display:none}
.atlas-source-chip>summary span{color:#8fd9ca;font-size:13px}
.atlas-source-chip[open]>summary{border-color:#74bdb1;background:rgba(8,22,27,.96)}
.atlas-source-chip__panel{position:absolute;left:0;bottom:34px;width:min(340px,calc(100vw - 36px));max-height:min(52vh,420px);overflow:auto;padding:13px 14px;border:1px solid #6b928d66;border-radius:12px;background:rgba(7,19,24,.97);box-shadow:0 12px 36px #0008;color:#c7d5d2;line-height:1.45;letter-spacing:0}
.atlas-source-chip__panel b{display:block;color:#eef7f4;font-size:11px;margin-bottom:5px}
.atlas-source-chip__panel p{margin:6px 0;font-size:10px}
.atlas-source-chip__panel a{display:block;margin-top:7px;color:#9edfd2;font-size:10px;text-decoration:none}
.atlas-source-chip__panel a:hover{text-decoration:underline}
.atlas-page #atlasTagFilter{min-width:0}
.atlas-marker.is-game-verified .atlas-marker__halo{fill:#43e1c0;stroke:#43e1c0;fill-opacity:.2;stroke-opacity:.9}
.atlas-marker.is-game-verified .atlas-marker__dot{fill:#43e1c0!important;stroke:#062c2a;stroke-width:2.5}
.atlas-source-badge.is-game-verified{color:#43e1c0!important;border-color:#43e1c088!important;background:#43e1c015}
@media (min-width:701px){
  html:has(.atlas-page),body:has(.atlas-page){height:100%;overflow:hidden;overscroll-behavior:none}
  .atlas-page{position:fixed!important;inset:68px 0 0!important;width:100vw!important;height:calc(100dvh - 68px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;display:grid!important;grid-template-columns:clamp(300px,27vw,370px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
  .atlas-page .atlas-sidebar{position:relative!important;grid-column:1!important;grid-row:1!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;transition:none!important;border:0!important;border-right:1px solid #ffffff18!important;border-radius:0!important;overflow:hidden!important;z-index:5!important}
  .atlas-page .atlas-map-area{position:relative!important;grid-column:2!important;grid-row:1!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:flex!important;flex-direction:column!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;overflow:hidden!important}
  .atlas-page .atlas-map-topline{display:flex!important;position:relative!important;flex:0 0 42px!important;width:100%!important}
  .atlas-page .atlas-map-viewport{position:relative!important;inset:auto!important;flex:1 1 auto!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;overflow:hidden!important}
  .atlas-page .atlas-map-viewport>svg{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;object-position:center!important;margin:0!important}
  .atlas-page .atlas-mobile-menu{display:none!important}
  .atlas-page .atlas-source-chip{left:12px;bottom:48px}
}
@media (max-width:700px){
  .atlas-page .atlas-source-chip{left:10px;right:auto;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:24}
  .atlas-page .atlas-source-chip__panel{bottom:34px;width:min(320px,calc(100vw - 28px));max-height:48dvh}
  .atlas-page .atlas-map-controls{z-index:26!important}
  .atlas-page .atlas-dossier{z-index:40!important}
}
@media(prefers-reduced-motion:reduce){.atlas-source-chip *{scroll-behavior:auto!important;transition:none!important}}


/* GTA6LAB V6 — true desktop full-canvas map with floating overlays.
   The map owns the complete atlas viewport; catalogue is an optional overlay. */
@media (min-width:701px){
  html:has(.atlas-page),body:has(.atlas-page){height:100%;overflow:hidden;overscroll-behavior:none}
  .atlas-page{position:fixed!important;inset:68px 0 0!important;width:100vw!important;height:calc(100dvh - 68px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
  .atlas-page .atlas-shell{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#0b171a!important;isolation:isolate!important}
  .atlas-page .atlas-map-area{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0b171a!important}
  .atlas-page .atlas-map-topline{position:absolute!important;left:16px!important;top:12px!important;z-index:22!important;width:auto!important;height:28px!important;padding:0 10px!important;border:1px solid #ffffff20!important;border-radius:9px!important;background:rgba(8,20,25,.76)!important;backdrop-filter:blur(10px)!important;pointer-events:none!important}
  .atlas-page .atlas-map-topline__hint{display:none!important}
  .atlas-page .atlas-map-viewport{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0e3d49!important}
  .atlas-page .atlas-map-viewport>svg{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:fill!important;object-position:50% 50%!important}
  /* Search opens as a floating panel above the map, never as a layout column. */
  .atlas-page .atlas-sidebar{position:absolute!important;z-index:50!important;left:14px!important;right:auto!important;top:58px!important;bottom:14px!important;width:clamp(300px,27vw,370px)!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:calc(100% - 28px)!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #ffffff2b!important;border-radius:16px!important;background:rgba(9,23,28,.96)!important;box-shadow:0 18px 65px #001419aa!important;backdrop-filter:blur(18px)!important;transform:translateX(0)!important;transition:transform .22s ease,opacity .22s ease!important;opacity:1!important}
  .atlas-page .atlas-shell.is-sidebar-hidden .atlas-sidebar{transform:translateX(calc(-100% - 24px))!important;opacity:0!important;pointer-events:none!important}
  .atlas-page .atlas-mobile-menu{position:absolute!important;display:flex!important;z-index:55!important;left:16px!important;right:auto!important;top:16px!important;height:38px!important;min-width:132px!important;padding:0 12px!important;border:1px solid #ffffff35!important;border-radius:11px!important;background:rgba(9,24,29,.92)!important;color:#f2f5ef!important;font:600 11px 'Onest',sans-serif!important;box-shadow:0 5px 22px #00171c66!important;backdrop-filter:blur(14px)!important;cursor:pointer!important}
  .atlas-page .atlas-shell:not(.is-sidebar-hidden) .atlas-mobile-menu{left:calc(clamp(300px,27vw,370px) + 28px)!important}
  .atlas-page .atlas-base-switch{position:absolute!important;left:16px!important;right:auto!important;top:54px!important;z-index:35!important;transform:none!important;max-width:calc(100% - 120px)!important}
  .atlas-page .atlas-map-data-toggles{position:absolute!important;left:16px!important;right:auto!important;top:104px!important;z-index:34!important;max-width:min(420px,calc(100% - 100px))!important}
  .atlas-page .atlas-map-controls{position:absolute!important;right:16px!important;top:16px!important;z-index:36!important}
  .atlas-page .atlas-map-legend{left:16px!important;bottom:16px!important;z-index:20!important}
  .atlas-page .atlas-map-note{right:16px!important;left:auto!important;bottom:16px!important;z-index:19!important;max-width:min(42ch,35vw)!important;text-align:right!important}
  .atlas-page .atlas-source-chip{left:16px!important;bottom:58px!important;z-index:38!important}
  .atlas-page .atlas-source-chip__panel{left:0!important;bottom:34px!important}
  .atlas-page .atlas-detail{z-index:45!important;left:clamp(16px,4vw,64px)!important;right:clamp(16px,4vw,64px)!important;bottom:58px!important;max-width:1200px!important;margin-inline:auto!important}
  .atlas-page .atlas-marker-dialog{z-index:70!important}
}
@media (max-width:700px){
  /* Preserve the previously working mobile full-screen layout unchanged. */
  .atlas-page .atlas-shell{display:block!important}
}
