@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cormorant+Garamond:wght@400;600&family=DM+Sans:wght@400;500;600&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--atlas-night:#07171a;--atlas-deep:#0b2024;--atlas-panel:#102a2e;--atlas-paper:#f4eedf;--atlas-gold:#d5af59;--atlas-muted:#bac3bc;--atlas-rule:#d5af5947}
body.atlas-public,body.atlas-map-page,body.atlas-city-page,body.atlas-flags-page,body.atlas-journey-page{font-family:'DM Sans','Noto Sans Arabic',sans-serif}
html[lang=ar] body.atlas-public,html[lang=ar] body.atlas-map-page,html[lang=ar] body.atlas-city-page,html[lang=ar] body.atlas-flags-page,html[lang=ar] body.atlas-journey-page{font-family:'Noto Sans Arabic',sans-serif}
body.atlas-public h1,body.atlas-public h2,body.atlas-public h3,body.atlas-map-page h1,body.atlas-map-page h2,body.atlas-map-page h3,body.atlas-city-page h1,body.atlas-city-page h2,body.atlas-flags-page h1,body.atlas-flags-page h2,body.atlas-journey-page h1,body.atlas-journey-page h2,body.atlas-journey-page h3{font-family:'Cormorant Garamond','Amiri',Georgia,serif}
html[lang=ar] body.atlas-public h1,html[lang=ar] body.atlas-public h2,html[lang=ar] body.atlas-public h3,html[lang=ar] body.atlas-map-page h1,html[lang=ar] body.atlas-map-page h2,html[lang=ar] body.atlas-map-page h3,html[lang=ar] body.atlas-city-page h1,html[lang=ar] body.atlas-city-page h2,html[lang=ar] body.atlas-flags-page h1,html[lang=ar] body.atlas-flags-page h2,html[lang=ar] body.atlas-journey-page h1,html[lang=ar] body.atlas-journey-page h2,html[lang=ar] body.atlas-journey-page h3{font-family:'Amiri',serif}
/* The public introduction now shares the dark Atlas masthead and reading palette. */
body.atlas-public{--paper:#07171a;--surface:#102a2e;--ink:#f4eedf;--muted:#bac3bc;--gold:#d5af59;--line:#d5af5940;--dark:#0b2024;background:var(--paper);color:var(--ink)}
.atlas-public .site-header{border-bottom:1px solid var(--atlas-rule);min-height:82px;max-width:none;width:100%;padding-block:12px}.atlas-public .brand small{color:var(--atlas-muted)}.atlas-public .public-nav a:hover,.atlas-public .start-actions a:hover{color:var(--atlas-gold)}.atlas-public .login-link{border-color:var(--atlas-rule);border-radius:7px}.atlas-public .museum-hero{min-height:650px;max-height:760px}.atlas-public .hero-shade{background:linear-gradient(270deg,#07171afc 0%,#07171ae8 29%,#07171a65 70%,#07171a20),linear-gradient(0deg,#07171acc,transparent 44%)}html[dir=ltr] .atlas-public .hero-shade{background:linear-gradient(90deg,#07171afc 0%,#07171ae8 29%,#07171a65 70%,#07171a20),linear-gradient(0deg,#07171acc,transparent 44%)}.atlas-public .hero-copy h1 em{color:#e4c77d}.atlas-public .primary-action{background:var(--atlas-gold);border-color:var(--atlas-gold);color:var(--atlas-night);border-radius:6px}.atlas-public .primary-action:hover{background:#e9cd8a}.atlas-public .collection{padding-top:75px}.atlas-public .section-heading{padding-bottom:26px;border-bottom:1px solid var(--atlas-rule)}.atlas-public .collection-art{background:var(--atlas-deep)}.atlas-public .folio-art{background:#46504a}.atlas-public .folio-page{background:var(--atlas-paper)}.atlas-public .collection-more{background:var(--atlas-deep);padding:20px 24px;margin-top:40px;border:1px solid var(--atlas-rule);border-radius:8px}.atlas-public .time-window{margin-top:75px;background:#10282c;border-block:1px solid var(--atlas-rule)}.atlas-public .reading-room{border-bottom:1px solid var(--atlas-rule);padding-block:85px}.atlas-public .reading-room .primary-action,.atlas-public .closing .primary-action{background:var(--atlas-gold);border-color:var(--atlas-gold);color:var(--atlas-night)}.atlas-public .closing,.atlas-public.dark-mode .closing{background:#0b2024}.atlas-public .reading-number{color:#d5af590d}.atlas-public .closing-mark{color:#d5af5909}.atlas-public .public-footer{border-top:1px solid var(--atlas-rule)}
/* The signed-in map keeps its broad canvas, but all surrounding surfaces use Atlas colours. */
body.atlas-map-page,body.atlas-map-page.light-mode{--bg:#07171a;--shell:#07171a;--panel:#10282c;--ink:#f4eedf;--muted:#bac3bc;--gold:#d5af59;--line:#d5af593d;--soft:#d5af5914;--shadow:0 18px 50px #0008;color-scheme:dark}.atlas-map-page .map-header{background:var(--shell)}.atlas-map-page .hub-tab[aria-selected=true]{background:#d5af5922;color:#f0d58f}.atlas-map-page .map-stage{background:#07171a;border:1px solid var(--atlas-rule)}.atlas-map-page .map-pane,.atlas-map-page .map-timebar,.atlas-map-page .account-menu nav{background:var(--panel)}.atlas-map-page .hub-search{background:#0b2024}.atlas-map-page .map-chat-compose textarea{background:#07171a;color:var(--ink)}.atlas-map-page .map-stage-tabs{background:#10282ce8}.atlas-map-page .map-stage-tabs button{color:var(--ink)}.atlas-map-page .map-stage-tabs button[aria-expanded=true]{background:var(--atlas-gold);color:var(--atlas-night)}.atlas-map-page .map-tools button,.atlas-map-page .time-more summary{background:var(--panel);color:var(--ink)}.atlas-map-page .map-greeting,.atlas-map-page .workspace-heading small{color:var(--atlas-muted)}
/* City, flag and Jordan archive share the same frame, navigation and panels. */
body.atlas-city-page,body.atlas-city-page.light-mode{--bg:#07171a;--panel:#10282c;--panel2:#10282c;--text:#f4eedf;--muted:#bac3bc;--gold:#d5af59;--line:#d5af5940;background:var(--bg);color:var(--text);color-scheme:dark}
body.atlas-flags-page,body.atlas-flags-page.flags-light{--atlas-wood:#07171a;--atlas-paper:#10282c;--paper:#f4eedf;--gold:#d5af59;--line:#d5af5940;--muted:#bac3bc;background:#07171a;color:#f4eedf;color-scheme:dark}
body.atlas-journey-page{--ink:#f4eedf;--muted:#bac3bc;--sand:#d5af59;--red:#986b4b;--panel:#10282c;--line:#d5af5940;background:#07171a;color:#f4eedf;color-scheme:dark}
.atlas-city-page .city-header,.atlas-flags-page .flags-header,.atlas-journey-page .topbar{background:#07171a;border-bottom:1px solid var(--atlas-rule);min-height:82px;padding-block:13px}
.atlas-city-page .city-brand,.atlas-journey-page .brand{font:600 31px/1.1 'Amiri',serif}.atlas-city-page .city-brand img,.atlas-journey-page .brand img{width:44px;height:44px}.atlas-city-page .city-brand small,.atlas-journey-page .brand small{font:500 9px/1.5 'Noto Sans Arabic',sans-serif;color:var(--atlas-muted)}.atlas-flags-page .flags-brand{display:flex;align-items:center;gap:11px;color:var(--atlas-paper);text-decoration:none}.atlas-flags-page .flags-brand img{width:44px;height:44px;object-fit:contain}.atlas-flags-page .flags-brand span{font:600 31px/1 'Amiri',serif}.atlas-flags-page .flags-brand small{display:block;font:500 9px/1.5 'Noto Sans Arabic',sans-serif;color:var(--atlas-muted);margin-top:5px}
.atlas-city-page .city-header nav,.atlas-flags-page .flags-header nav,.atlas-journey-page .topbar nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.atlas-city-page .city-header nav a,.atlas-city-page .city-header nav button,.atlas-flags-page .flags-header nav a,.atlas-flags-page .flags-header nav button,.atlas-journey-page .topbar nav a{border:0;border-radius:5px;background:transparent;color:var(--atlas-paper);padding:8px 4px;text-decoration:none;font:500 12px/1.5 'Noto Sans Arabic',sans-serif}.atlas-city-page .city-header nav a:hover,.atlas-city-page .city-header nav button:hover,.atlas-flags-page .flags-header nav a:hover,.atlas-flags-page .flags-header nav button:hover,.atlas-journey-page .topbar nav a:hover{color:var(--atlas-gold)}
.atlas-city-page .city-hero,.atlas-flags-page .flags-hero{padding-block:42px 28px;max-width:none;border-bottom:1px solid var(--atlas-rule);margin-bottom:22px}.atlas-city-page .city-hero h1,.atlas-flags-page .flags-hero h1{font-size:clamp(45px,5vw,70px);line-height:1.25;margin:10px 0}.atlas-city-page .city-hero>p:last-child,.atlas-flags-page .flags-hero>p:last-child{color:var(--atlas-muted);font-size:14px;line-height:1.9}.atlas-city-page .city-hero .eyebrow,.atlas-flags-page .flags-hero .eyebrow,.atlas-journey-page .kicker{color:var(--atlas-gold)}
.atlas-city-page .city-intro,.atlas-city-page .landmark-card,.atlas-city-page .city-chat,.atlas-flags-page .flag-card,.atlas-flags-page .flag-dialog{background:var(--atlas-deep);color:var(--atlas-paper);border-color:var(--atlas-rule);box-shadow:none;border-radius:8px}.atlas-city-page .city-intro,.atlas-city-page .landmark-card{--text:#f4eedf;--muted:#bac3bc;--gold:#d5af59;--line:#d5af5940}.atlas-city-page .city-intro p,.atlas-city-page .landmark-body p,.atlas-flags-page .flag-card small,.atlas-flags-page .dialog-head p,.atlas-flags-page .history-entry p{color:var(--atlas-muted)}.atlas-city-page .city-picker select,.atlas-city-page .city-search-form input,.atlas-flags-page .search input{background:#10282c;color:#f4eedf;border-color:var(--atlas-rule)}.atlas-city-page .landmark-list button{background:#10282c;color:#f4eedf;border-color:var(--atlas-rule)}.atlas-city-page .landmark-list button:hover,.atlas-city-page .landmark-list button.active{background:#d5af59;color:#07171a}.atlas-city-page .jordan-feature{background:#10282c;border:1px solid var(--atlas-rule);border-radius:8px;color:#f4eedf}.atlas-city-page .jordan-feature:hover{background:#18363a}.atlas-flags-page .flag-card:hover{border-color:#d5af59;background:#17383d}.atlas-flags-page .flag-card img{background:#ffffff0a}.atlas-flags-page .flag-dialog .dialog-close,.atlas-flags-page .flag-dialog .country-facts,.atlas-flags-page .flag-dialog .history-empty{color:var(--atlas-paper)}.atlas-flags-page .filters button.active{background:#d5af59;color:#07171a}
.atlas-journey-page main{max-width:1500px}.atlas-journey-page .hero{background:linear-gradient(130deg,#10282c,#163238 60%,#584732);border:1px solid var(--atlas-rule);border-radius:0 0 12px 12px}.atlas-journey-page .hero-art{background:radial-gradient(circle at 57% 37%,#d5af59 0 8%,transparent 9%),linear-gradient(160deg,#2a4143,#806744 62%,#162f34)}.atlas-journey-page .sun{background:#e8d19a}.atlas-journey-page .dune{background:#705e41}.atlas-journey-page .dune-two{background:#233e40}.atlas-journey-page .hero h1 em,.atlas-journey-page .story-card .landmark{color:#e0c47e}.atlas-journey-page .start-link,.atlas-journey-page .route-list button[aria-current=step]{background:#d5af59;color:#07171a;border-radius:6px}.atlas-journey-page .map-wrap,.atlas-journey-page .story-wrap{background:#10282c;border-color:var(--atlas-rule);border-radius:8px}.atlas-journey-page .route-list button{background:#0b2024;border-color:var(--atlas-rule);border-radius:6px;color:#f4eedf}.atlas-journey-page .story-card{background:#10282c}.atlas-journey-page .story-card p{color:var(--atlas-muted)}.atlas-journey-page .story-links a{border-color:var(--atlas-rule);color:var(--atlas-gold)}.atlas-journey-page #jordan-map{background:#07171a}.atlas-journey-page .stop-pin{background:#0b2024;border-color:#d5af59}.atlas-journey-page .stop-pin.active{background:#d5af59;color:#07171a}
@media(max-width:900px){.atlas-public .museum-hero{min-height:600px}.atlas-city-page .city-header,.atlas-flags-page .flags-header,.atlas-journey-page .topbar{min-height:0}.atlas-city-page .city-hero,.atlas-flags-page .flags-hero{padding-block:25px 14px}.atlas-city-page .city-hero h1,.atlas-flags-page .flags-hero h1{font-size:35px}.atlas-city-page .city-header nav,.atlas-flags-page .flags-header nav,.atlas-journey-page .topbar nav{gap:10px;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;max-width:100%}.atlas-city-page .city-header nav a,.atlas-city-page .city-header nav button,.atlas-flags-page .flags-header nav a,.atlas-flags-page .flags-header nav button,.atlas-journey-page .topbar nav a{font-size:11px;min-height:35px;flex:none}}
@media(max-width:600px){.atlas-public .museum-hero{min-height:630px}.atlas-public .collection{padding-top:55px}.atlas-public .collection-more{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.atlas-public .collection-more>span{grid-column:1/-1}.atlas-public .collection-more a{font-size:11px}.atlas-city-page .city-header,.atlas-flags-page .flags-header,.atlas-journey-page .topbar{padding:10px 14px}.atlas-flags-page .flags-brand span{font-size:27px}.atlas-city-page .city-hero h1,.atlas-flags-page .flags-hero h1{font-size:31px}.atlas-journey-page .hero{grid-template-columns:1fr}.atlas-journey-page .hero-art{min-height:160px}}
.atlas-flags-page .flags-brand,.atlas-flags-page .flags-header nav a,.atlas-flags-page .flags-header nav button{color:#f4eedf}.atlas-flags-page .flags-header nav .chat-link{color:#f4eedf;background:#d5af591b}.atlas-flags-page .flag-card{color:#f4eedf}.atlas-flags-page .flag-dialog{color:#f4eedf}
@media(max-width:900px){.atlas-flags-page .flags-header{display:flex;flex-direction:column;align-items:stretch;gap:8px}.atlas-flags-page .flags-brand{flex:none}.atlas-flags-page .flags-header nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;width:100%;overflow-x:auto;scrollbar-width:thin}.atlas-flags-page .flags-header nav a,.atlas-flags-page .flags-header nav button{flex:none;min-height:38px}}
/* Theme controls retain a readable light setting; the historical palette is the default. */
body.atlas-public.light-mode{--paper:#f4eedf;--surface:#fffaf0;--ink:#17292a;--muted:#5d6b65;--gold:#886629;--line:#8b713655;background:var(--paper);color:var(--ink)}.atlas-public.light-mode .site-header{background:#f4eedf}.atlas-public.light-mode .collection-more{background:#e9e1cf}.atlas-public.light-mode .reading-room .primary-action,.atlas-public.light-mode .closing .primary-action{background:#d5af59;border-color:#d5af59;color:#07171a}.atlas-public.light-mode .closing{background:#e9e1cf}.atlas-public.light-mode .time-window{background:#10282c;color:#f4eedf}
body.atlas-map-page.light-mode{--bg:#d9e1d9;--shell:#f4eedf;--panel:#fffaf0;--ink:#17292a;--muted:#65736b;--gold:#886629;--line:#8b713655;--soft:#8b713613;color-scheme:light}.atlas-map-page.light-mode .map-header{background:var(--shell)}.atlas-map-page.light-mode .map-pane,.atlas-map-page.light-mode .map-timebar,.atlas-map-page.light-mode .account-menu nav{background:var(--panel)}.atlas-map-page.light-mode .hub-search,.atlas-map-page.light-mode .map-chat-compose textarea,.atlas-map-page.light-mode .map-tools button,.atlas-map-page.light-mode .time-more summary{background:#fffaf0;color:#17292a}.atlas-map-page.light-mode .hub-tab[aria-selected=true]{background:#e8dec4;color:#17292a}
body.atlas-city-page.light-mode{--bg:#f4eedf;--panel:#fffaf0;--panel2:#fffaf0;--text:#17292a;--muted:#5d6b65;--gold:#886629;--line:#8b713655;background:var(--bg);color:var(--text);color-scheme:light}.atlas-city-page.light-mode .city-intro,.atlas-city-page.light-mode .landmark-card{background:#fffaf0;color:#17292a;--text:#17292a;--muted:#5d6b65;--gold:#886629;--line:#8b713655}.atlas-city-page.light-mode .city-intro p,.atlas-city-page.light-mode .landmark-body p{color:#5d6b65}.atlas-city-page.light-mode .city-picker select,.atlas-city-page.light-mode .city-search-form input{background:#fffaf0;color:#17292a}.atlas-city-page.light-mode .jordan-feature{background:#e7d5aa;color:#17292a}
body.atlas-flags-page.flags-light{--paper:#17292a;--gold:#886629;--line:#8b713655;--muted:#5d6b65;background:#f4eedf;color:#17292a;color-scheme:light}.atlas-flags-page.flags-light .flags-header{background:#f4eedf}.atlas-flags-page.flags-light .flags-brand,.atlas-flags-page.flags-light .flags-header nav a,.atlas-flags-page.flags-light .flags-header nav button{color:#17292a}.atlas-flags-page.flags-light .flag-card,.atlas-flags-page.flags-light .flag-dialog{background:#fffaf0;color:#17292a}.atlas-flags-page.flags-light .flag-card small,.atlas-flags-page.flags-light .dialog-head p,.atlas-flags-page.flags-light .history-entry p{color:#5d6b65}.atlas-flags-page.flags-light .search input{background:#fffaf0;color:#17292a}
/* Sign-in stays part of the same archive. */
body.auth-page:not(.light-mode){--auth-bg:#07171a;--auth-panel:#10282c;--auth-ink:#f4eedf;--auth-muted:#bac3bc;--auth-gold:#d5af59;--atlas-paper:#10282c;--atlas-ink:#f4eedf;--atlas-muted:#bac3bc;--atlas-brass:#d5af59;background:#07171a;color:#f4eedf}.auth-page:not(.light-mode) .auth-header{background:#07171a}.auth-page:not(.light-mode) .auth-panel{--auth-ink:#f4eedf;--auth-muted:#bac3bc;--auth-gold:#d5af59;background:#10282c;color:#f4eedf;border-color:var(--atlas-rule);box-shadow:none}.auth-page:not(.light-mode) .auth-panel p{color:#bac3bc}.auth-page:not(.light-mode) #auth-form input{background:#07171a;color:#f4eedf;border-color:var(--atlas-rule)}.auth-page:not(.light-mode) #auth-submit{background:#d5af59;border-color:#d5af59;color:#07171a}.auth-page:not(.light-mode) .auth-chronology{border-color:var(--atlas-rule)}
@media(max-width:600px){.auth-page .auth-header{display:flex;align-items:center;justify-content:space-between;gap:9px;height:72px;padding:0 15px}.auth-page .auth-header .brand{min-width:0;flex:none}.auth-page .auth-header .brand .header-logo-frame{width:37px;height:37px}.auth-page .auth-header .brand strong{font-size:24px}.auth-page .auth-header .header-actions{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0;flex:none}.auth-page .auth-header .theme-toggle,.auth-page .auth-header .auth-language{min-height:36px;padding:5px 8px;font-size:11px;white-space:nowrap}}
@media(max-width:600px){.auth-page .auth-header .header-actions{flex-wrap:nowrap;width:170px;max-width:none;height:auto;justify-content:flex-start}.auth-page .auth-header .header-actions>*{flex:none}}
@media(max-width:600px){.auth-page .auth-header .header-actions .theme-toggle,.auth-page .auth-header .header-actions .auth-language{width:auto;max-width:none;min-width:0;position:static;inset:auto}}
/* Give the globe the full viewport: navigation sits above it and time sits over its edge. */
@media(min-width:901px){
  .atlas-map-page .map-app{grid-template-columns:minmax(0,1fr);grid-template-rows:76px 54px minmax(0,1fr) auto;grid-template-areas:'header' 'rail' 'workspace' 'sources'}
  .atlas-map-page .map-header{padding:10px 23px;min-height:0}
  .atlas-map-page .atlas-hub-tabs{flex-direction:row;align-items:center;gap:16px;padding:0 23px;border-inline-end:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;background:var(--shell)}
  .atlas-map-page .rail-caption{font-size:10px;white-space:nowrap}
  .atlas-map-page .hub-tab-list,.atlas-map-page .rail-archives{flex-direction:row;align-items:center;gap:5px}
  .atlas-map-page .rail-archives{padding:0 0 0 14px;border:0;border-inline-start:1px solid var(--line)}
  .atlas-map-page .hub-tab,.atlas-map-page .rail-archives a{flex-direction:row;width:auto;min-height:40px;padding:8px 14px;gap:8px;white-space:nowrap;font-size:11px}
  .atlas-map-page .hub-tab>.atlas-icon,.atlas-map-page .rail-archives .atlas-icon{width:19px;height:19px}
  .atlas-map-page .hub-tab[aria-selected=true]::before{inset-inline:12px;bottom:-7px;width:auto;height:2px}
  .atlas-map-page .rail-home{display:none}
  .atlas-map-page .map-workspace{position:relative;padding:0;gap:0;grid-template-rows:minmax(0,1fr)}
  .atlas-map-page .map-stage{border:0;border-radius:0}
  .atlas-map-page .map-workspace.has-data,.atlas-map-page .map-workspace.has-chat,.atlas-map-page .map-workspace.has-data.has-chat{gap:0}
  .atlas-map-page .map-pane{margin:0;border-radius:0;border-top:0;border-bottom:0;box-shadow:none}
  .atlas-map-page .map-timebar{position:absolute;z-index:4;bottom:13px;inset-inline-end:14px;width:calc(100% - 28px);height:57px;grid-row:auto;grid-column:auto;border:1px solid var(--line);border-radius:7px;padding:8px 14px;box-shadow:0 9px 28px #0006;background:#10282cee;backdrop-filter:blur(10px)}
  .atlas-map-page .has-data .map-timebar{width:calc(100% - 355px - 28px)}
  .atlas-map-page .has-chat .map-timebar,.atlas-map-page .has-data.has-chat .map-timebar{width:calc(60% - 28px)}
  .atlas-map-page .map-stage-bottom{bottom:85px}
  .atlas-map-page .hub-experience{margin:0;border-radius:0;border:0}
}
@media(min-width:901px) and (max-width:1250px){.atlas-map-page .has-data .map-timebar{width:calc(100% - 330px - 28px)}.atlas-map-page .has-chat .map-timebar,.atlas-map-page .has-data.has-chat .map-timebar{width:calc(100% - 390px - 28px)}}
@media(max-width:900px){.atlas-map-page .map-workspace,.atlas-map-page .map-workspace.has-data,.atlas-map-page .map-workspace.has-chat{padding-inline:0}.atlas-map-page .map-stage{border-radius:0;border-inline:0}.atlas-map-page .map-timebar{padding-inline:13px}.atlas-map-page .map-pane{margin-inline:10px;width:calc(100% - 20px)}}
/* Header, navigation, docks and overlays follow the selected appearance. */
.atlas-map-page .map-stage-label{color:#f4eedf}.atlas-map-page .map-coverage-note summary{background:#10282cea;color:#f4eedf;border-color:#d5af5966}.atlas-map-page .map-tools{background:#10282c;border-color:#d5af5966}.atlas-map-page .map-tools button{background:#10282c;color:#f4eedf}.atlas-map-page .map-timebar{color:#f4eedf}.atlas-map-page .map-timebar input,.atlas-map-page .map-timebar select{accent-color:#d5af59}.atlas-map-page .map-pane-close{color:var(--ink)}.atlas-map-page .map-chat-compose{background:var(--panel)}
.atlas-map-page.light-mode .atlas-hub-tabs{background:#f4eedf}.atlas-map-page.light-mode .map-timebar{background:#fffaf0ee;color:#17292a;box-shadow:0 9px 28px #07171a2b}.atlas-map-page.light-mode .map-coverage-note summary{background:#fffaf0ee;color:#17292a;border-color:#8b713688}.atlas-map-page.light-mode .map-tools,.atlas-map-page.light-mode .map-tools button{background:#fffaf0;color:#17292a;border-color:#8b713688}.atlas-map-page.light-mode .map-stage-label{color:#f4eedf}.atlas-map-page.light-mode .map-timebar input,.atlas-map-page.light-mode .map-timebar select{accent-color:#886629}
@media(min-width:901px){.atlas-map-page .map-timebar{inset-inline-end:auto;inset-inline-start:14px}}
.atlas-map-page.light-mode .map-stage-tabs{background:#fffaf0f2;border-color:#8b713688;box-shadow:0 7px 25px #07171a38}.atlas-map-page.light-mode .map-stage-tabs button{color:#17292a}.atlas-map-page.light-mode .map-stage-tabs button[aria-expanded=true]{background:#d5af59;color:#07171a}.atlas-map-page.light-mode .map-tools button{background:#fffaf0;color:#17292a}.atlas-map-page.light-mode .map-timebar .time-more summary{background:#fffaf0;color:#17292a}.atlas-map-page.light-mode .map-caption{background:#fffaf0;color:#5d6b65}
.atlas-map-page .account-menu #hub-logout{color:var(--gold)}.atlas-map-page .compose-actions button{background:#d5af59;border-color:#d5af59;color:#07171a}.atlas-map-page .map-stage-tabs button[aria-expanded=true]{background:#d5af59;color:#07171a}.atlas-map-page .battle-item:hover,.atlas-map-page .polity-card:hover{border-color:#d5af59}.atlas-map-page .maplibregl-popup-content{background:#10282c;color:#f4eedf;border-color:#d5af59}.atlas-map-page .maplibregl-popup-tip{border-top-color:#10282c!important;border-bottom-color:#10282c!important}
.atlas-city-page .map-panel,.atlas-city-page .story-panel{border-color:var(--atlas-rule)}.atlas-city-page .city-search-form button{background:#d5af59;border-color:#d5af59;color:#07171a}.atlas-city-page .jordan-feature:focus-visible{background:#18363a}.atlas-city-page.light-mode .city-search-form button{background:#d5af59;color:#07171a}.atlas-city-page.light-mode .map-panel,.atlas-city-page.light-mode .story-panel{border-color:#8b713655}
.atlas-flags-page .archive-sources{background:#10282c;color:#f4eedf;border-color:#d5af5940}.atlas-flags-page .archive-sources p{color:#bac3bc}.atlas-flags-page .archive-sources a{color:#d5af59}.atlas-flags-page .filters button{border-color:#d5af5966;color:#bac3bc}.atlas-flags-page .filters button.active,.atlas-flags-page .filters button:hover{background:#d5af59;border-color:#d5af59;color:#07171a}.atlas-flags-page.flags-light .archive-sources{background:#fffaf0;color:#17292a;border-color:#8b713655}.atlas-flags-page.flags-light .archive-sources p{color:#5d6b65}
.atlas-journey-page .hero{background:linear-gradient(130deg,#10282c,#153338 68%,#1a4145)}.atlas-journey-page .hero-art{background:radial-gradient(circle at 57% 37%,#d5af59 0 8%,transparent 9%),linear-gradient(160deg,#244146,#42636a 60%,#10282c)}.atlas-journey-page .dune{background:#31565b}.atlas-journey-page .dune-two{background:#102c30}.atlas-journey-page .maplibregl-popup-content{background:#10282c;color:#f4eedf;border-color:#d5af59}.atlas-journey-page .maplibregl-popup-tip{border-top-color:#10282c!important}
@media(max-width:900px){.atlas-city-page .city-header nav,.atlas-flags-page .flags-header nav,.atlas-journey-page .topbar nav{scrollbar-width:none}.atlas-city-page .city-header nav::-webkit-scrollbar,.atlas-flags-page .flags-header nav::-webkit-scrollbar,.atlas-journey-page .topbar nav::-webkit-scrollbar{display:none}}
/* One appearance palette for all reading surfaces and navigation. */
body:is(.atlas-city-page,.atlas-flags-page,.atlas-journey-page,.atlas-map-page){--ui-bg:#07171a;--ui-panel:#10282c;--ui-text:#f4eedf;--ui-muted:#bac3bc;--ui-gold:#d5af59;--ui-line:#d5af5940}
body:is(.atlas-city-page,.atlas-flags-page,.atlas-journey-page,.atlas-map-page):is(.light-mode,.flags-light){--ui-bg:#f4eedf;--ui-panel:#fffaf0;--ui-text:#17292a;--ui-muted:#5d6b65;--ui-gold:#886629;--ui-line:#8b713655}
body:is(.atlas-city-page,.atlas-flags-page,.atlas-journey-page){background:var(--ui-bg);color:var(--ui-text);--panel:var(--ui-panel);--ink:var(--ui-text);--text:var(--ui-text);--muted:var(--ui-muted);--gold:var(--ui-gold);--sand:var(--ui-gold);--line:var(--ui-line)}
body.atlas-city-page .city-header,body.atlas-flags-page .flags-header,body.atlas-journey-page .topbar{background:var(--ui-bg);border-color:var(--ui-line)}
body.atlas-city-page .city-header nav :is(a,button),body.atlas-flags-page .flags-header nav :is(a,button),body.atlas-journey-page .topbar nav :is(a,button){color:var(--ui-text);background:transparent;border-color:var(--ui-line);font:500 12px/1.5 'Noto Sans Arabic',sans-serif;text-decoration:none;white-space:nowrap;min-height:38px;padding:8px 6px}
body.atlas-city-page :is(.city-intro,.landmark-card,.city-chat,.jordan-feature),body.atlas-flags-page :is(.flag-card,.flag-dialog,.archive-sources),body.atlas-journey-page :is(.map-wrap,.story-wrap,.story-card){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-line)}
body.atlas-city-page :is(.city-intro p,.landmark-body p,.city-hero>p:last-child),body.atlas-flags-page :is(.flag-card small,.dialog-head p,.history-entry p,.history-empty,.country-facts,.flags-hero>p:last-child,.archive-sources p),body.atlas-journey-page :is(.story-card p,.journey-heading>p){color:var(--ui-muted)}
body.atlas-city-page :is(.city-brand small,.city-picker>label),body.atlas-flags-page .flags-brand small,body.atlas-journey-page .brand small{color:var(--ui-muted)}
body.atlas-city-page .jordan-feature:is(:hover,:focus-visible){background:var(--ui-panel);border-color:var(--ui-gold)}
body.atlas-flags-page :is(.flag-dialog .dialog-close,.flag-dialog .country-facts,.flag-dialog .history-empty,.flags-header nav .chat-link){color:var(--ui-text)}
body.atlas-journey-page :is(.route-list button,.journey-controls button,.map-top button,.story-links a){background:var(--ui-bg);color:var(--ui-text);border-color:var(--ui-line)}
body.atlas-journey-page .route-list button[aria-current=step]{background:#d5af59;color:#07171a}
body.atlas-city-page :is(.city-globe-section,.maplibregl-popup-content){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-line)}
body.atlas-map-page .map-greeting,body.atlas-map-page .workspace-heading small{color:var(--ui-muted)}
body.atlas-map-page .maplibregl-popup-content{background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-gold)}body.atlas-map-page .maplibregl-popup-tip{border-top-color:var(--ui-panel)!important;border-bottom-color:var(--ui-panel)!important}
.atlas-city-page .city-hero{padding-block:26px 18px;margin-bottom:18px}.atlas-city-page .city-hero h1{font-size:clamp(35px,4vw,54px)}
.atlas-public .hero-painting{filter:saturate(.88) brightness(.95);transform:none}
.atlas-public .hero-shade{background:linear-gradient(270deg,#07171af5 0%,#07171ad6 28%,#07171a32 68%,#07171a12),linear-gradient(0deg,#07171ab0,transparent 35%)}
html[dir=ltr] .atlas-public .hero-shade{background:linear-gradient(90deg,#07171af5 0%,#07171ad6 28%,#07171a32 68%,#07171a12),linear-gradient(0deg,#07171ab0,transparent 35%)}
@media(max-width:760px){.atlas-public .hero-shade,html[dir=ltr] .atlas-public .hero-shade{background:linear-gradient(0deg,#07171ad9,#07171a9c 30%,#07171a9c 72%,#07171ab0)}.atlas-city-page .city-hero h1{font-size:35px}}
body.atlas-journey-page .hero{color:#f4eedf}body.atlas-flags-page .archive-sources :is(strong,a){color:var(--ui-gold)}body.atlas-city-page.light-mode .city-hero>p:last-child{color:var(--ui-muted)}
body.auth-page.light-mode{--auth-bg:#f4eedf;--auth-panel:#fffaf0;--auth-ink:#17292a;--auth-muted:#5d6b65;--auth-gold:#886629;background:#f4eedf;color:#17292a}.auth-page.light-mode .auth-header{background:#f4eedf}.auth-page.light-mode .auth-panel{background:#fffaf0;color:#17292a;border-color:#8b713655;box-shadow:none}.auth-page.light-mode #auth-submit{background:#d5af59;color:#07171a;border-color:#d5af59}
