@font-face{font-family:AtlasSans;src:url('../assets/fonts/noto-sans-thai-latin.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:AtlasThai;src:url('../assets/fonts/anuphan-400-700.woff2') format('woff2');font-display:swap;font-weight:400 700;unicode-range:U+0E00-0E7F,U+200C-200D,U+25CC}
@font-face{font-family:AtlasThai;src:url('../assets/fonts/anuphan-latin-400-700.woff2') format('woff2');font-display:swap;font-weight:400 700;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --paper:#f3f6f4;
  --paper-deep:#e2e8e5;
  --ink:#151815;
  --muted:#66685f;
  --rule:#aab4af;
  --history:#d04a3a;
  --sport:#176b87;
  --technology:#6d4bb5;
  --food:#c88213;
  --culture:#bb2f6b;
  --header-h:76px;
  --rail-w:238px;
  --dossier-w:360px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{color-scheme:light;background:var(--paper);scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:var(--paper);color:var(--ink);font-family:AtlasSans,"Noto Sans",sans-serif;font-size:15px;line-height:1.45;text-rendering:optimizeLegibility}
button,input{font:inherit}
button{color:inherit}
::selection{background:#151815;color:#fff}
:focus-visible{outline:3px solid #151815;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:99;left:16px;top:12px;min-height:44px;padding:10px 14px;background:var(--ink);color:#fff;display:flex;align-items:center;transform:translateY(-150%);transition:transform .2s;text-decoration:none}
.skip-link:focus{transform:none}

.atlas-header{height:var(--header-h);display:grid;grid-template-columns:var(--rail-w) minmax(260px,680px) 1fr;align-items:center;gap:24px;padding:0 24px;border-bottom:1px solid var(--ink);background:var(--paper);position:relative;z-index:20}
.atlas-brand{min-height:44px;display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;width:max-content}
.atlas-brand svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6}
.atlas-brand span{display:grid;line-height:1.05}
.atlas-brand strong{font-size:15px;letter-spacing:-.02em}
.atlas-brand small{font-size:11px;color:var(--muted);margin-top:5px;letter-spacing:.09em;text-transform:uppercase}
.atlas-search{position:relative;height:46px;display:flex;align-items:center;border:1px solid var(--ink);background:#fbfdfc}
.atlas-search>svg{width:20px;height:20px;margin-left:14px;fill:none;stroke:currentColor;stroke-width:1.7}
.atlas-search input{width:100%;height:100%;border:0;background:transparent;padding:0 56px 0 11px;color:var(--ink);outline:0}
.atlas-search input::placeholder{color:#76776f}
.atlas-search kbd{position:absolute;right:9px;border:1px solid var(--rule);background:var(--paper);padding:3px 6px;font:11px AtlasSans,sans-serif;color:var(--muted)}
.search-results{position:absolute;top:calc(100% + 7px);left:-1px;right:-1px;background:#fbfdfc;border:2px solid var(--ink);padding:7px;z-index:40}
.search-result{width:100%;min-height:46px;border:0;background:transparent;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:8px 10px;cursor:pointer}
.search-result:hover,.search-result:focus-visible{background:var(--paper-deep)}
.search-result>span{display:grid}.search-result strong{font-size:13px;color:var(--ink)}.search-result small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.search-result b{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}.search-result b img{width:18px;height:18px}
.search-empty{padding:14px;color:var(--muted);font-size:13px}
.atlas-purpose{justify-self:end;display:flex;align-items:center;gap:9px;margin:0;font-size:12px;color:var(--muted);letter-spacing:.04em}
.atlas-purpose span{width:8px;height:8px;background:var(--culture);border-radius:50%}

.atlas-shell{height:calc(100vh - var(--header-h));display:grid;grid-template-columns:var(--rail-w) minmax(0,1fr) var(--dossier-w);background:var(--paper)}
.route-rail{border-right:1px solid var(--ink);padding:28px 18px 18px;display:flex;flex-direction:column;min-height:0;background:#e8eeeb}
.route-intro p{margin:10px 0 22px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.13em}
.route-intro h1{font-size:26px;line-height:1.02;letter-spacing:-.045em;margin:0;max-width:190px}
#route-list{display:grid;gap:2px}
.route-button{--route:#151815;position:relative;border:0;border-bottom:1px solid #c8c1b4;background:transparent;min-height:52px;width:100%;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;text-align:left;padding:4px 4px;cursor:pointer}
.route-button::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--route);box-shadow:0 0 0 4px #e8eeeb,0 0 0 5px var(--route)}
.route-button>span:first-child{display:grid;align-content:center;min-width:0}
.route-button strong{font-size:14px;line-height:1.15}.route-button small{font-size:11px;line-height:1.25;color:var(--muted);margin-top:3px}
.route-button>span:last-child{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.route-button:hover,.route-button[aria-pressed="true"]{background:var(--route);color:#fff;padding-left:10px;padding-right:10px}
.route-button:hover::before,.route-button[aria-pressed="true"]::before{box-shadow:0 0 0 4px var(--route),0 0 0 5px #fff;background:#fff}
.route-button:hover small,.route-button:hover span,.route-button[aria-pressed="true"] small,.route-button[aria-pressed="true"] span{color:rgba(255,255,255,.78)}
.surprise-button{margin-top:auto;min-height:48px;border:1px solid var(--ink);background:transparent;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:700}
.surprise-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.surprise-button:hover{background:var(--ink);color:#fff}
.prototype-note{font-size:12px;line-height:1.45;color:var(--muted);margin:12px 0 0}

.map-stage{position:relative;overflow:hidden;min-width:0;background-color:var(--paper);background-image:linear-gradient(90deg,transparent calc(50% - .5px),rgba(21,24,21,.07) 50%,transparent calc(50% + .5px));}
.map-heading{position:absolute;z-index:3;top:24px;left:28px;pointer-events:none}
.map-heading p{margin:7px 0 0;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.map-heading h2{margin:0;font-size:clamp(23px,2.2vw,34px);line-height:1;letter-spacing:-.045em}
.country-explorer{position:absolute;z-index:5;top:80px;left:28px;right:20px;display:flex;align-items:center;gap:12px;min-width:0}
.country-explorer>span{flex:0 0 auto;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:800}
.country-strip{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 5px;min-width:0}
.country-button{flex:0 0 auto;min-height:44px;border:1px solid var(--rule);background:rgba(251,253,252,.9);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:5px 9px;cursor:pointer;text-align:left}
.country-button strong{font-size:10px;border:1px solid var(--ink);padding:2px 4px;letter-spacing:.06em}.country-button span{font-size:11px;white-space:nowrap}.country-button small{font-size:10px;color:var(--muted)}
.country-button:hover,.country-button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.country-button:hover strong,.country-button[aria-pressed="true"] strong{border-color:#fff}.country-button:hover small,.country-button[aria-pressed="true"] small{color:#dfe6e2}
.history-branches{position:absolute;z-index:6;top:136px;left:28px;right:20px;display:flex;align-items:center;gap:5px;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}
.history-branch-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--history);font-weight:850;margin-right:5px;white-space:nowrap}
.history-branch-button{flex:0 0 auto;min-height:44px;border:1px solid var(--history);background:#fff8f5;display:flex;align-items:center;gap:8px;padding:4px 9px;cursor:pointer}
.history-branch-button strong{font-size:11px}.history-branch-button span{font-size:11px;color:var(--muted)}
.history-branch-button:hover,.history-branch-button[aria-pressed="true"]{background:var(--history);color:#fff}.history-branch-button:hover span,.history-branch-button[aria-pressed="true"] span{color:#fff}
.atlas-map{position:absolute;inset:50% auto auto 50%;width:min(100%,1050px);height:auto;transform:translate(-50%,-52%);overflow:visible}
.map-grid path{fill:none;stroke:#d8d1c3;stroke-width:1;stroke-dasharray:2 7}
.world-ghost path{fill:#dde5e1;stroke:#bdc8c2;stroke-width:1.5}
.route-line{fill:none;stroke:var(--route);stroke-width:8;stroke-linecap:round;stroke-linejoin:round;opacity:.86;pointer-events:none;transition:opacity .28s ease,filter .28s ease}
.route-line.is-muted{opacity:.08;stroke-width:5}
.route-line.is-active{opacity:1;stroke-width:11;filter:drop-shadow(0 4px 0 rgba(21,24,21,.1))}
.station{cursor:pointer;transition:opacity .25s ease,filter .25s ease}
.station.is-muted{opacity:.13;pointer-events:none}
.station:hover,.station:focus-visible,.station.is-selected{filter:drop-shadow(0 3px 0 rgba(21,24,21,.24));outline:none}
.station-hit{fill:transparent;stroke:none;pointer-events:all}
.station-ring{fill:var(--paper);stroke:var(--ink);stroke-width:2.5}
.station-core{fill:var(--ink)}
.station.interchange .station-ring{stroke-width:4}
.station.interchange .station-core{fill:var(--paper);stroke:var(--ink);stroke-width:2}
.station.is-selected .station-ring{fill:#fff;stroke-width:6}
.station.is-related .station-ring{stroke-width:4;stroke-dasharray:3 2}
.station.is-related .station-label{font-weight:900}
.station-label{font-family:AtlasSans,sans-serif;font-size:13px;font-weight:750;fill:var(--ink);paint-order:stroke;stroke:var(--paper);stroke-width:5;stroke-linejoin:round}
.map-legend{position:absolute;left:28px;bottom:98px;display:flex;align-items:center;gap:16px;color:var(--muted);font-size:11px}
.map-legend span{display:flex;align-items:center;gap:6px}
.legend-station,.legend-interchange{width:11px;height:11px;border-radius:50%;display:inline-block;background:var(--ink);border:2px solid var(--paper);box-shadow:0 0 0 1px var(--ink)}
.legend-interchange{width:14px;height:14px;background:var(--paper);border:3px solid var(--ink);box-shadow:none}
.timeline-wrap{position:absolute;z-index:4;left:0;right:0;bottom:0;min-height:88px;border-top:1px solid var(--ink);background:rgba(243,246,244,.97);padding:9px 28px 7px}
.timeline-labels{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.timeline-labels output{color:var(--ink);font-weight:800}
#timeline{width:100%;height:44px;margin:-10px 0;accent-color:var(--ink);cursor:pointer}
.timeline-stops{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}

.station-dossier{position:relative;border-left:1px solid var(--ink);background:#fbfdfc;overflow:auto;min-width:0}
.dossier-empty{height:100%;display:grid;align-content:center;justify-items:center;text-align:center;padding:38px}
.dossier-empty svg{width:120px;fill:none;stroke:var(--rule);stroke-width:2;margin-bottom:24px}
.dossier-empty p{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 0 8px}
.dossier-empty strong{font-size:17px;line-height:1.35;max-width:260px}
.dossier-content{position:relative;padding:30px 28px 40px}
.dossier-close{position:absolute;right:18px;top:18px;width:44px;height:44px;border:1px solid var(--ink);background:transparent;display:grid;place-items:center;cursor:pointer}
.dossier-close:hover{background:var(--ink);color:#fff}
.dossier-close svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.station-code{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--station-color,var(--ink));color:#fff;font-size:12px;font-weight:900;margin-bottom:22px}
.dossier-eyebrow{margin:0 56px 6px 0;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.dossier-content>h2{margin:0;font-size:34px;line-height:1.02;letter-spacing:-.055em}
.dossier-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:14px}
.meta-chip{min-height:28px;border:1px solid var(--rule);background:var(--paper);padding:4px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.06em;display:inline-flex;align-items:center}
button.meta-chip{min-width:44px;min-height:44px;cursor:pointer}.meta-chip.country:hover,.meta-chip.history:hover{background:var(--ink);border-color:var(--ink);color:#fff}.meta-chip.entity-type{border-color:var(--station-color,var(--ink));color:var(--station-color,var(--ink));font-weight:850}
.dossier-rule{height:8px;background:var(--station-color,var(--ink));margin:20px 0 25px}
.dossier-content section{margin:0 0 22px}
.dossier-content h3{margin:0 0 6px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.dossier-content p{margin:0;font-size:14px;line-height:1.62}
.conversation-platform{border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:18px 0 4px}
.conversation-platform>div{display:grid;grid-template-columns:45px 1fr;gap:8px;margin:12px 0}
.conversation-platform span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--station-color,var(--ink));font-weight:900}
.connection-platform{border-top:1px solid var(--ink);padding-top:18px}
.connection-list{display:grid;gap:5px}
.connection-item{width:100%;min-height:52px;border:1px solid var(--rule);background:transparent;display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:10px;text-align:left;padding:8px 10px;cursor:pointer}
.connection-item:hover,.connection-item:focus-visible{border-color:var(--ink);background:var(--paper-deep)}
.connection-item i{width:9px;height:9px;border-radius:50%;background:var(--connection-color,var(--ink))}.connection-item>span{display:grid;min-width:0}.connection-item strong{font-size:12px}.connection-item small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-item b{font-size:14px}
.connection-empty{color:var(--muted)}
.country-overview>p{font-size:15px!important;line-height:1.55!important}
.country-groups{display:grid;grid-template-columns:1fr;gap:18px;margin-top:22px}
.country-group-row{display:grid;grid-template-columns:88px 1fr;gap:8px;padding:8px 0;border-top:1px solid var(--rule)}
.country-group-row>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding-top:5px}.country-group-row>div{display:flex;flex-wrap:wrap;gap:4px}
.country-group-row button{min-width:44px;min-height:44px;border:0;background:var(--paper-deep);padding:7px 9px;font-size:10px;text-align:left;cursor:pointer}.country-group-row button:hover{background:var(--ink);color:#fff}
.source-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:800;text-underline-offset:4px}
.source-link:hover{text-decoration-thickness:3px}

.mobile-route-dock{display:none}.toast{position:fixed;left:50%;bottom:22px;z-index:80;transform:translate(-50%,120px);background:var(--ink);color:#fff;padding:11px 16px;box-shadow:0 10px 30px rgba(21,24,21,.25);font-size:12px;transition:transform .3s cubic-bezier(.22,1,.36,1)}.toast.show{transform:translate(-50%,0)}

@media (max-width:1100px){
  :root{--rail-w:205px;--dossier-w:320px}
  .atlas-header{grid-template-columns:var(--rail-w) 1fr}.atlas-purpose{display:none}
  .route-intro h1{font-size:22px}
  .atlas-shell{grid-template-columns:var(--rail-w) minmax(470px,1fr) var(--dossier-w)}
  .dossier-content{padding-left:22px;padding-right:22px}
}
@media (max-width:1000px){
  :root{--header-h:124px}
  body{overflow:auto}
  .atlas-header{height:var(--header-h);grid-template-columns:1fr;padding:12px 14px;gap:8px;align-content:center}
  .atlas-brand{height:44px}.atlas-search{height:46px}.atlas-search kbd{display:none}
  .atlas-shell{height:auto;min-height:calc(100vh - var(--header-h));display:block;padding-bottom:62px}
  .route-rail{display:none}
  .map-stage{height:calc(100vh - var(--header-h) - 62px);min-height:540px;border-bottom:1px solid var(--ink);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain}
  .map-heading{position:sticky;top:18px;left:16px;width:calc(100vw - 32px)}.map-heading h2{font-size:24px;max-width:300px}
  .country-explorer{position:sticky;top:100px;left:16px;width:calc(100vw - 32px);right:auto;display:block}.country-explorer>span{display:block;margin-bottom:4px}.country-strip{background:rgba(243,246,244,.94)}
  .history-branches{position:sticky;top:170px;left:16px;width:calc(100vw - 32px);right:auto;background:rgba(243,246,244,.96)}
  .atlas-map{position:relative;inset:auto;width:760px;max-width:none;height:auto;transform:none;margin:100px 0 96px}
  .map-legend{position:sticky;left:16px;bottom:100px;width:max-content;background:rgba(243,246,244,.94);border:1px solid var(--ink);padding:5px 8px}.map-legend span{display:none}
  .map-legend::after{content:"Swipe map to travel";color:var(--ink);font-weight:700}
  .timeline-wrap{position:sticky;left:0;bottom:0;width:100vw;padding-left:16px;padding-right:16px}
  .station-dossier{position:fixed;z-index:60;left:0;right:0;bottom:0;height:min(84vh,760px);border:2px solid var(--ink);border-bottom:0;transform:translateY(calc(100% + 8px));transition:transform .34s cubic-bezier(.22,1,.36,1)}
  .station-dossier.is-open{transform:translateY(0)}
  .dossier-empty{display:none}.dossier-content{padding-bottom:90px}
  .mobile-route-dock{display:flex;position:fixed;z-index:50;bottom:0;left:0;right:0;height:62px;background:#e8eeeb;border-top:1px solid var(--ink);overflow-x:auto;scrollbar-width:none;padding:5px 8px;gap:3px}
  .mobile-route-dock::-webkit-scrollbar{display:none}
  .mobile-route-button{--route:#151815;flex:1 0 58px;min-width:58px;border:0;background:transparent;display:grid;place-items:center;gap:1px;font-size:11px;cursor:pointer}
  .mobile-route-button i{width:13px;height:13px;border-radius:50%;background:var(--route)}
  .mobile-route-button[aria-pressed="true"]{background:var(--route);color:#fff}
  .mobile-route-button[aria-pressed="true"] i{background:#fff}
}
@media (max-width:460px){
  .atlas-brand strong{font-size:14px}.atlas-brand small{font-size:11px}
  .map-stage{min-height:520px}
  .atlas-map{width:760px;left:auto}
  .map-heading h2{font-size:21px;max-width:260px}
  .map-legend{gap:12px}
  .dossier-content>h2{font-size:30px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.route-line,.station,.station-dossier,.toast{transition:none!important}}

/* North Star geographic atlas */
:root{
  --bg:#030712;
  --surface:#08101d;
  --surface-2:#0d1728;
  --surface-3:#121f34;
  --text:#f0f0f5;
  --muted:#98a3b8;
  --line:rgba(255,255,255,.11);
  --line-strong:rgba(255,255,255,.22);
  --gold:#c9a84c;
  --gold-light:#e5c586;
  --paper:var(--bg);
  --paper-deep:var(--surface-2);
  --ink:var(--text);
  --rule:var(--line);
  --history:#ff6b6b;
  --sport:#5bcbd0;
  --technology:#b097ed;
  --food:#f2b84b;
  --culture:#e463a2;
  --header-h:72px;
  --rail-w:220px;
  --dossier-w:350px;
}
html{color-scheme:dark;background:var(--bg)}
body{background:var(--bg);color:var(--text)}
::selection{background:var(--gold);color:#0a0b10}
:focus-visible{outline-color:var(--gold)}
.skip-link{background:var(--gold);color:#0a0b10;border-radius:6px}
.atlas-header{height:var(--header-h);grid-template-columns:var(--rail-w) minmax(260px,680px) 1fr;border-color:var(--line);background:rgba(3,7,18,.95);backdrop-filter:blur(12px)}
.atlas-brand{color:var(--gold-light)}
.atlas-brand small,.atlas-purpose{color:var(--muted)}
.atlas-purpose span{background:var(--gold);box-shadow:none}
.atlas-search{height:46px;border-color:var(--line-strong);border-radius:8px;background:rgba(255,255,255,.04)}
.atlas-search:focus-within{border-color:var(--gold);box-shadow:none}
.atlas-search input{color:var(--text)}
.atlas-search input::placeholder{color:#7f899d}
.atlas-search kbd{border-color:var(--line);border-radius:4px;background:var(--surface-2);color:var(--muted)}
.search-results{background:var(--surface-2);border:1px solid var(--gold);border-radius:8px;box-shadow:none}
.search-result:hover,.search-result:focus-visible{background:rgba(201,168,76,.1)}
.search-result strong{color:var(--text)}
.atlas-shell{background:var(--bg);transition:grid-template-columns .28s ease}
.atlas-shell:has(.station-dossier:not(.is-open)){--dossier-w:88px}
.route-rail{border-color:var(--line);background:var(--surface);padding:26px 16px 16px}
.route-intro h1{color:var(--text);font-size:25px}
.route-intro p,.prototype-note{color:var(--muted)}
.route-button{border-color:var(--line);border-radius:7px;padding-inline:6px}
.route-button::before{box-shadow:0 0 0 4px var(--surface),0 0 0 5px var(--route)}
.route-button:hover,.route-button[aria-pressed="true"]{color:#08101d;box-shadow:none}
.route-button:hover::before,.route-button[aria-pressed="true"]::before{box-shadow:0 0 0 4px var(--route),0 0 0 5px #08101d;background:#08101d}
.route-button:hover small,.route-button:hover span,.route-button[aria-pressed="true"] small,.route-button[aria-pressed="true"] span{color:rgba(8,16,29,.78)}
.surprise-button{border-color:var(--gold);border-radius:8px;color:var(--gold-light);background:rgba(201,168,76,.04)}
.surprise-button:hover{background:var(--gold);color:#0a0b10}
.map-stage{background:radial-gradient(circle at 62% 24%,rgba(36,71,121,.2),transparent 34%),var(--bg);background-image:radial-gradient(rgba(255,255,255,.22) .6px,transparent .7px),radial-gradient(circle at 62% 24%,rgba(36,71,121,.2),transparent 34%);background-size:34px 34px,auto;background-position:0 0,0 0}
.map-heading{top:22px;left:24px}
.map-heading h2{color:var(--text);font-size:clamp(24px,2.1vw,34px)}
.map-heading p{color:var(--gold);font-weight:750}
.country-explorer{top:78px;left:24px;right:18px}
.country-lens-label{color:var(--gold);font-size:11px}
.country-scroll-hint{display:none;color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.country-strip{gap:7px}
.country-button{min-height:44px;border-color:var(--line);border-radius:7px;background:rgba(8,16,29,.9);color:var(--text);grid-template-columns:auto 1fr auto;padding:5px 10px}
.country-flag{width:20px;height:20px;display:block}
.country-button span:not(.country-flag){font-size:11px}
.country-button small{font-size:11px}.country-button:hover,.country-button[aria-pressed="true"]{background:rgba(201,168,76,.16);border-color:var(--gold);color:var(--gold-light)}
.country-button:hover small,.country-button[aria-pressed="true"] small{color:var(--gold-light)}
.history-branches{top:132px;left:24px;right:18px}
.history-branch-label{color:var(--history);font-size:11px}
.history-branch-button{border-color:rgba(255,107,107,.4);border-radius:7px;background:rgba(255,107,107,.06)}
.history-branch-button:hover,.history-branch-button[aria-pressed="true"]{background:var(--history);color:#111827}
.atlas-map{position:absolute;inset:148px 14px 96px;width:calc(100% - 28px);height:calc(100% - 244px);transform:none;overflow:hidden;touch-action:none;cursor:grab;user-select:none}
.atlas-map.is-panning{cursor:grabbing}
.atlas-map:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}
#map-camera{transform-origin:0 0}
.world-map-image{opacity:.94}
.country-anchor{cursor:pointer}
.country-anchor-hit{fill:transparent;stroke:none;pointer-events:all}
.country-anchor-dot{fill:#07101d;stroke:var(--gold);stroke-width:1.5;filter:none}
.country-anchor-leader{fill:none;stroke:rgba(229,197,134,.65);stroke-width:1;stroke-dasharray:2 2}
.country-map-flag{pointer-events:none;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.country-anchor:hover .country-anchor-dot,.country-anchor:focus-visible .country-anchor-dot,.country-anchor[aria-pressed="true"] .country-anchor-dot{fill:#14223a;stroke:#fff;stroke-width:2.5}
.country-anchor:focus-visible{outline:none}
.route-line{stroke-width:4;opacity:.56;filter:none;vector-effect:non-scaling-stroke}
.route-line.is-muted{opacity:.05;stroke-width:2}
.route-line.is-active{opacity:.95;stroke-width:6;filter:none}
/* Story lines: a thin glowing arc with a dotted pulse drifting in time order. */
.route-line{stroke-width:2.2;opacity:.7;filter:drop-shadow(0 0 3px color-mix(in srgb,var(--route) 70%,transparent))}
.route-line.is-active{stroke-width:2.6;opacity:.92;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--route) 75%,transparent))}
.route-flow{fill:none;stroke:color-mix(in srgb,var(--route) 35%,#fff);stroke-width:3.4;stroke-linecap:round;stroke-dasharray:0 22;vector-effect:non-scaling-stroke;opacity:0;pointer-events:none;animation:route-flow 1.6s linear infinite;transition:opacity .2s ease}
.route-flow.is-active{opacity:.95}
.route-flow.is-hidden,.atlas-map.has-selection .route-flow,.atlas-map[data-geo="on"] .route-flow{opacity:0;visibility:hidden}
.atlas-map.hide-stories .route-flow,.atlas-map[data-map-mode="sports"] .route-flow{display:none}
@keyframes route-flow{to{stroke-dashoffset:-22}}
@media (prefers-reduced-motion:reduce){.route-flow{animation:none}}
.station-ring{fill:#07101d;stroke:#f5f6f8;stroke-width:2.4;vector-effect:non-scaling-stroke}
.station-core{fill:var(--gold-light)}
.station.interchange .station-core{fill:#07101d;stroke:var(--gold-light);stroke-width:2;vector-effect:non-scaling-stroke}
.station.interchange .station-ring,.station.is-related .station-ring{vector-effect:non-scaling-stroke}
.station:hover,.station:focus-visible,.station.is-selected{filter:drop-shadow(0 3px 2px rgba(0,0,0,.7))}
.station-label{font-size:12px;fill:var(--text);stroke:#030712;stroke-width:5;transition:opacity .18s ease}
.atlas-map .station-label{opacity:0;pointer-events:none}
.map-story-preview{position:absolute;z-index:9;width:max-content;max-width:320px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--gold);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px;font-weight:750;line-height:1.45;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 3px 14px rgba(0,0,0,.4)}
.map-story-preview[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.station-label{transition:none}}
.map-controls{position:absolute;z-index:8;right:18px;bottom:122px;display:grid;grid-template-columns:44px 54px 44px;align-items:center;border:1px solid var(--line-strong);border-radius:9px;overflow:hidden;background:rgba(8,16,29,.94);box-shadow:none}
.map-controls button{min-width:44px;min-height:44px;border:0;background:transparent;color:var(--text);cursor:pointer;font-size:22px;font-weight:600}
.map-controls button:hover{background:rgba(201,168,76,.16);color:var(--gold-light)}
.map-controls output{height:44px;display:grid;place-items:center;border-inline:1px solid var(--line);color:var(--gold-light);font-size:11px;font-variant-numeric:tabular-nums}
.map-controls .zoom-reset{grid-column:1/-1;width:100%;border-top:1px solid var(--line);font-size:11px;letter-spacing:.04em;color:var(--muted)}
.map-help{position:absolute;z-index:6;right:18px;bottom:96px;margin:0;color:var(--muted);font-size:12px}
.map-legend{left:24px;bottom:102px;color:var(--muted)}
.map-legend a{color:var(--muted);text-underline-offset:3px}
.legend-station{background:var(--gold-light);border-color:#07101d;box-shadow:0 0 0 1px var(--text)}
.legend-interchange{background:#07101d;border-color:var(--gold-light)}
.timeline-wrap{border-color:var(--line);background:rgba(3,7,18,.96)}
.timeline-labels,.timeline-stops{color:var(--muted)}
.timeline-labels output{color:var(--gold-light)}
#timeline{accent-color:var(--gold)}
.station-dossier{border-color:var(--line);background:var(--surface);transition:background .2s ease}
.atlas-shell:has(.station-dossier:not(.is-open)) .dossier-empty{padding:14px}
.atlas-shell:has(.station-dossier:not(.is-open)) .dossier-empty svg{width:38px;margin:0;stroke:var(--gold)}
.atlas-shell:has(.station-dossier:not(.is-open)) .dossier-empty p,.atlas-shell:has(.station-dossier:not(.is-open)) .dossier-empty strong{display:none}
.dossier-empty svg{stroke:var(--line-strong)}
.dossier-empty p,.dossier-eyebrow,.dossier-content h3{color:var(--muted)}
.dossier-close{border-color:var(--line-strong);border-radius:7px}
.dossier-close:hover{background:var(--gold);color:#0a0b10}
.station-code{background:var(--station-color,var(--gold));color:#07101d;font-size:12px;box-shadow:none}
.station-code[aria-label]{font-size:20px}.dossier-flag{width:26px;height:26px;display:block}
.meta-chip{border-color:var(--line);border-radius:999px;background:var(--surface-2);color:var(--muted);gap:5px;font-size:11px}
.meta-flag{width:17px;height:17px;display:block}
.meta-chip.country:hover,.meta-chip.history:hover{background:rgba(201,168,76,.15);border-color:var(--gold);color:var(--gold-light)}
.dossier-rule{height:3px;background:var(--station-color,var(--gold))}
.conversation-platform,.connection-platform{border-color:var(--line)}
.connection-item{border-color:var(--line);border-radius:8px;background:rgba(255,255,255,.025)}
.connection-item:hover,.connection-item:focus-visible{border-color:var(--gold);background:rgba(201,168,76,.08)}
.country-group-row{border-color:var(--line)}
.country-group-row>span,.country-group-row button,.connection-item small{font-size:11px}
.country-group-row button{border-radius:6px;background:var(--surface-2);color:var(--text)}
.country-group-row button:hover{background:var(--gold);color:#0a0b10}
.source-link{color:var(--gold-light)}
.toast{background:var(--gold);color:#0a0b10;box-shadow:0 12px 36px rgba(0,0,0,.4)}

/* Atlas v3 interaction states */
.route-line.is-hidden,.station.is-hidden,.country-anchor.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.station.is-hidden *,.country-anchor.is-hidden *,.city-marker.is-hidden *{pointer-events:none!important}
.route-line,.station,.country-anchor{transition:opacity .2s ease,visibility .2s ease}
.city-marker{opacity:0;pointer-events:none;transition:opacity .2s ease}
.city-marker.is-hidden{opacity:0!important;visibility:hidden;pointer-events:none!important}
.atlas-map[data-zoom="detail"] .city-marker{opacity:1;pointer-events:auto}
.city-marker circle{fill:var(--surface);stroke:var(--gold-light);stroke-width:1.5;vector-effect:non-scaling-stroke}
.city-hit{r:16px;fill:transparent!important;stroke:none!important;pointer-events:all}
.city-marker text{font-family:AtlasSans,"Noto Sans",sans-serif;font-size:11px;font-weight:760;fill:#d8e1f1;paint-order:stroke;stroke:#030712;stroke-width:4;stroke-linejoin:round}
.city-marker:focus-visible{outline:none}.city-marker:focus-visible circle,.city-marker:hover circle{fill:var(--gold-light);stroke:#fff}

@media (min-width:1001px) and (max-width:1349px){.city-hit{r:27px}}

@media (min-width:1001px){
  .country-strip{order:2}
  .country-scroll-hint{display:block;order:3;flex:0 0 auto;margin-left:4px;color:var(--gold-light)}
}

.map-key{position:absolute;z-index:9;left:24px;bottom:101px;color:var(--muted);font-size:11px}
.map-key summary{min-height:44px;display:flex;align-items:center;gap:8px;width:max-content;padding:0 13px;border:1px solid var(--line-strong);border-radius:8px;background:rgba(8,16,29,.96);color:var(--text);font-weight:800;cursor:pointer;list-style:none}
.map-key summary::-webkit-details-marker{display:none}
.map-key summary::before{content:"?";width:19px;height:19px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold-light);font-size:11px}
.map-key[open] summary{border-color:var(--gold);color:var(--gold-light)}
.map-key-panel{position:absolute;left:0;bottom:calc(100% + 8px);width:min(430px,calc(100vw - 48px));padding:16px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(8,16,29,.98);box-shadow:0 16px 36px rgba(0,0,0,.36)}
.map-key-symbols,.map-key-routes{display:flex;flex-wrap:wrap;gap:11px 16px}
.map-key-symbols span,.map-key-routes span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.map-key-routes{margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}
.map-key-routes i{width:22px;height:3px;border-radius:2px;background:var(--key-color)}
.map-key-panel>p{margin:14px 0 10px;max-width:48ch;line-height:1.5;color:var(--text)}
.map-key-sources{display:flex;gap:14px}.map-key-sources a{color:var(--muted);text-underline-offset:3px}
.legend-country,.legend-city,.legend-related{display:inline-block;flex:0 0 auto}
.legend-country{width:11px;height:11px;border-radius:50%;background:var(--gold-light);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--gold)}
.legend-city{width:8px;height:8px;border-radius:50%;background:var(--surface);border:1px solid var(--gold-light)}
.legend-related{width:14px;height:14px;border-radius:50%;border:2px dashed var(--gold-light)}

.dossier-resize{position:absolute;z-index:6;left:-7px;top:0;bottom:0;width:14px;cursor:ew-resize;touch-action:none}
.dossier-resize::after{content:"";position:absolute;left:6px;top:42%;width:2px;height:70px;border-radius:2px;background:var(--line-strong);transition:background .2s ease}
.dossier-resize:hover::after,.dossier-resize:focus-visible::after,.is-resizing-dossier .dossier-resize::after{background:var(--gold)}
.dossier-actions{position:absolute;z-index:3;right:18px;top:18px;display:flex;gap:7px}
.dossier-actions button{width:44px;height:44px;border:1px solid var(--line-strong);border-radius:7px;background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer}
.dossier-actions button:hover{background:var(--gold);color:#0a0b10}
.dossier-actions svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.dossier-close{position:static}
.dossier-eyebrow{margin-right:104px}
.station-dossier.is-fullscreen{position:fixed;z-index:90;inset:var(--header-h) 0 0;border:0;width:auto;max-width:none;background:var(--bg);box-shadow:0 4px 0 var(--bg)}
.station-dossier.is-fullscreen .dossier-resize{display:none}
.station-dossier.is-fullscreen .dossier-content{width:min(100%,1100px);margin:0 auto;padding:46px 64px 80px}
.station-dossier.is-fullscreen .dossier-content>h2{font-size:clamp(42px,5vw,72px);max-width:15ch}
.station-dossier.is-fullscreen .dossier-content p{font-size:16px;max-width:72ch}
body.dossier-fullscreen{overflow:hidden}

.country-guide-tabs{display:flex;gap:5px;overflow-x:auto;margin:22px 0 12px;padding-bottom:4px;scrollbar-width:thin}
.country-guide-tabs button{flex:0 0 auto;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);cursor:pointer}
.country-guide-tabs button[aria-selected="true"],.country-guide-tabs button:hover{border-color:var(--gold);background:rgba(201,168,76,.12);color:var(--gold-light)}
.country-guide-content{padding:16px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.country-guide-content:empty{display:none}
.country-guide-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.country-guide-list li{display:grid;gap:3px}.country-guide-list strong{font-size:14px}.country-guide-list span{color:var(--muted);font-size:12px;line-height:1.5}
.food-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.food-tags span{padding:6px 9px;border:1px solid rgba(242,184,75,.35);border-radius:999px;color:#f6d694;background:rgba(242,184,75,.07)}
.guide-source{display:inline-flex;min-height:44px;align-items:center;margin-top:12px;color:var(--gold-light);font-weight:750;text-underline-offset:3px}

@media (max-width:1100px) and (min-width:1001px){
  :root{--rail-w:196px;--dossier-w:320px}
  .atlas-shell{grid-template-columns:var(--rail-w) minmax(460px,1fr) var(--dossier-w)}
  .atlas-shell:has(.station-dossier:not(.is-open)){--dossier-w:72px}
  .map-heading{left:18px}.country-explorer,.history-branches{left:18px}
}
@media (max-width:1000px){
  :root{--header-h:124px}
  body{overflow:auto}
  .atlas-header{height:var(--header-h);grid-template-columns:1fr;background:rgba(3,7,18,.98)}
  .atlas-shell{display:block;padding-bottom:62px}
  .map-stage{height:calc(100dvh - var(--header-h) - 62px);min-height:560px;border-color:var(--line);overflow:hidden}
  .map-heading{position:absolute;top:14px;left:16px;width:calc(100% - 32px)}
  .country-explorer{top:102px;left:16px;right:16px;width:auto;display:block}
  .country-scroll-hint{display:block;position:absolute;top:0;right:0}
  .country-strip{scroll-snap-type:x proximity;scroll-padding-inline:2px}
  .country-button{scroll-snap-align:start}
  .country-strip{background:rgba(3,7,18,.84);border-radius:8px}
  .history-branches{position:absolute;top:162px;left:16px;right:16px;width:auto;background:rgba(3,7,18,.9);border-radius:8px}
  .atlas-map{position:absolute;inset:auto 8px auto;top:176px;width:calc(100% - 16px);height:auto;aspect-ratio:16/9;margin:0;transform:none}
  .map-stage:has(.history-branches:not([hidden])) .atlas-map{top:220px}
  .map-controls{right:12px;bottom:118px}
  .map-help{display:none}
  .map-key{left:12px;bottom:103px}
  .map-key-panel{width:calc(100vw - 24px)}
  .map-legend{position:absolute;left:12px;bottom:103px;width:auto;border-color:var(--line);border-radius:6px;background:rgba(3,7,18,.9)}
  .map-legend::after{content:"Drag · zoom for stories";color:var(--gold-light)}
  .map-legend a{display:flex!important}
  .timeline-wrap{position:absolute;width:100%;background:rgba(3,7,18,.97)}
  .station-dossier{background:var(--surface);border-color:var(--line-strong)}
  .dossier-resize{display:none}
  .station-dossier.is-fullscreen{inset:0;height:100dvh;transform:none;border:0}
  .station-dossier.is-fullscreen .dossier-content{width:100%;padding:34px 22px 90px}
  .city-hit{r:33px}
  .station-dossier.is-fullscreen .dossier-content>h2{font-size:36px}
  .mobile-route-dock{z-index:70;background:rgba(8,16,29,.98);border-color:var(--line);backdrop-filter:blur(12px)}
  .mobile-route-button[aria-pressed="true"]{color:#08101d}
}
@media (max-width:600px){
  .atlas-map{top:176px}
  .map-stage:has(.history-branches:not([hidden])) .atlas-map{top:220px}
  .station-hit{r:58px}
  .atlas-map[data-zoom="overview"] .station{pointer-events:none}
  .station-label{font-size:22px;stroke-width:7}
  .city-marker text{font-size:18px;stroke-width:6}
  .map-controls{grid-template-columns:44px 48px 44px;bottom:118px}
  .map-controls .zoom-reset{font-size:11px}
  .map-legend a{display:none!important}
}
@media (prefers-reduced-motion:reduce){.atlas-shell{transition:none}}

/* Atlas v4 — country zoom, world labels, timeline drawer */
.land-country{fill:#101a2d;stroke:#31415e;stroke-width:.85px;stroke-linejoin:round;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .15s ease}
.land-country:hover{fill:#16233b}
.land-country.is-focused{fill:#182842;stroke:rgba(229,197,134,.7);stroke-width:1.3px}
.atlas-map.is-panning .land-country{cursor:grabbing}
.world-label-layer,.world-city-layer,.world-country-label-layer{pointer-events:none}
.world-country-label{pointer-events:auto;cursor:pointer}
.world-country-text{font-family:AtlasSans,"Noto Sans",sans-serif;font-size:11px;font-weight:720;letter-spacing:.12em;text-transform:uppercase;fill:rgba(216,225,241,.6);paint-order:stroke;stroke:#030712;stroke-width:3px;stroke-linejoin:round}
.world-country-label:hover .world-country-text,.world-country-label.is-focused .world-country-text{fill:var(--gold-light)}
.world-city-dot{fill:#8f9bb2;stroke:#030712;stroke-width:1px}
.world-city-text{font-family:AtlasSans,"Noto Sans",sans-serif;font-size:10.5px;font-weight:560;fill:#98a5bb;paint-order:stroke;stroke:#030712;stroke-width:3px;stroke-linejoin:round}
.world-city.is-regional .world-city-dot{fill:#c3cde0}
.world-city.is-regional .world-city-text{font-size:11.5px;font-weight:650;fill:#cdd6e6}
.world-city.is-major .world-city-dot{fill:#dfe6f1;stroke-width:1.5px}
.world-city.is-major .world-city-text{font-size:12.5px;font-weight:760;fill:#dfe6f1;stroke-width:3.4px}
.world-city.is-capital .world-city-dot{fill:#ff5470;stroke:#fff;stroke-width:1.2px}
.world-city.is-capital .world-city-text{font-size:14px;font-weight:880;fill:#ff8fa3;letter-spacing:.01em;stroke-width:4px}
.world-city.is-pinned .world-city-dot{fill:#fff;stroke:var(--gold);stroke-width:2px}
.world-city.is-pinned .world-city-text{font-size:13.5px;font-weight:860;fill:#fff}
.atlas-map[data-geo="on"] .station.is-conceptual:not(.is-selected):not(.is-related){opacity:.3}
.atlas-map[data-geo="on"] .route-line,.atlas-map[data-geo="on"] .route-line.is-active{opacity:.16;stroke-width:2.5}
.legend-world-city,.legend-capital{display:inline-block;flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:#c3cde0}
.legend-capital{width:9px;height:9px;border-radius:0;background:#ff5470;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}

.station-code .type-glyph{width:22px;height:22px;fill:none;stroke:#07101d;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.meta-chip.when{color:var(--gold-light);border-color:rgba(201,168,76,.35)}
.key-moments{margin-top:22px}
.key-moments ol{list-style:none;margin:10px 0 0;padding:0 0 0 14px;border-left:2px solid var(--station-color,var(--gold));display:grid;gap:16px}
.key-moments li{position:relative;display:grid;gap:3px}
.key-moments li::before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--station-color,var(--gold))}
.key-moments time{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-light)}
.key-moments p{margin:0;color:var(--text);font-size:14px;line-height:1.55}
.moment-source{width:max-content;min-height:32px;display:inline-flex;align-items:center;font-size:12px;color:var(--muted);text-underline-offset:3px}
.moment-source:hover{color:var(--gold-light)}

.timeline-toggle{position:absolute;z-index:9;left:24px;bottom:153px;min-height:44px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid var(--line-strong);border-radius:8px;background:rgba(8,16,29,.96);color:var(--text);font-size:11px;font-weight:800;cursor:pointer}
.timeline-toggle svg{width:18px;height:18px;fill:none;stroke:var(--gold-light);stroke-width:1.8;stroke-linecap:round}
.timeline-toggle span{min-width:22px;padding:2px 6px;border-radius:999px;background:rgba(201,168,76,.16);color:var(--gold-light);font-variant-numeric:tabular-nums;text-align:center}
.timeline-toggle:hover,.timeline-toggle[aria-expanded="true"]{border-color:var(--gold);color:var(--gold-light)}
.timeline-drawer{position:absolute;z-index:40;left:0;top:0;bottom:88px;width:min(372px,92%);display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--line-strong);box-shadow:18px 0 40px rgba(0,0,0,.35);transform:translateX(-104%);visibility:hidden;transition:transform .22s ease,visibility 0s linear .22s}
.timeline-drawer.is-open{transform:none;visibility:visible;transition:transform .22s ease}
.timeline-drawer-head{display:flex;justify-content:space-between;gap:12px;padding:20px 18px 14px;border-bottom:1px solid var(--line)}
.timeline-drawer-head h2{margin:0;font-size:22px;letter-spacing:-.02em;color:var(--text)}
.timeline-drawer-head p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.timeline-close{flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line-strong);border-radius:7px;background:transparent;color:var(--text);display:grid;place-items:center;cursor:pointer}
.timeline-close svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.9}
.timeline-close:hover{background:var(--gold);color:#0a0b10}
.timeline-filter-note{margin:0;padding:10px 18px;font-size:12px;color:var(--gold-light);border-bottom:1px solid var(--line);background:rgba(201,168,76,.06)}
.timeline-list{list-style:none;margin:0;padding:6px 12px 24px 12px;overflow-y:auto;flex:1;scrollbar-width:thin;overscroll-behavior:contain}
.timeline-era{position:sticky;top:0;z-index:1;margin:0 -12px;padding:14px 18px 6px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);background:var(--surface)}
.timeline-item{--route:var(--gold);position:relative;width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:11px 12px 11px 26px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.timeline-item::before{content:"";position:absolute;left:10px;top:0;bottom:0;width:2px;background:var(--line)}
.timeline-item::after{content:"";position:absolute;left:6px;top:15px;width:10px;height:10px;border-radius:50%;background:var(--route);box-shadow:0 0 0 3px var(--surface)}
.timeline-item time{grid-column:1/-1;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--gold-light)}
.timeline-item strong{font-size:15px;line-height:1.25}
.timeline-item small{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.timeline-flags{grid-row:2;grid-column:2;display:flex;gap:3px;align-items:center;font-size:11px;color:var(--muted)}
.timeline-flags img{width:16px;height:16px;display:block}
.timeline-moments{grid-column:1/-1;font-size:11px;color:var(--muted)}
.timeline-item:hover,.timeline-item:focus-visible{border-color:var(--line-strong);background:rgba(255,255,255,.035)}
.timeline-item[aria-current="true"]{border-color:var(--gold);background:rgba(201,168,76,.09)}
.timeline-item.is-outside-era,.timeline-item.is-filtered-out{opacity:.42}
.timeline-item:focus-visible{outline:2px solid var(--gold);outline-offset:1px}

@media (max-width:1000px){
  .timeline-toggle{left:12px;bottom:155px}
  .timeline-drawer{width:min(360px,88vw);bottom:88px}
}
@media (prefers-reduced-motion:reduce){.timeline-drawer,.timeline-drawer.is-open{transition:none}}
.atlas-map[data-geo="on"] .country-anchor{opacity:0;visibility:hidden;pointer-events:none}
.atlas-map[data-geo="on"] .country-anchor *{pointer-events:none!important}
@media (max-width:1000px){
  /* Let the map use the full stage height so country zoom has room to breathe. */
  .atlas-map,.map-stage:has(.history-branches:not([hidden])) .atlas-map{bottom:96px;height:auto;aspect-ratio:auto}
}

/* Atlas v4.1 — node glyphs, people, timeline chips */
.station-core{fill:transparent!important;stroke:none!important}
.station-glyph{fill:none;stroke:var(--gold-light);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.station:hover .station-glyph,.station.is-selected .station-glyph{stroke:#fff}
.legend-major-city{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f0f3f8}
.dossier-photo{margin:0 0 18px;display:grid;gap:6px}
.dossier-photo img{width:100%;max-width:260px;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface-2)}
.dossier-photo figcaption a{font-size:11px;color:var(--muted);text-underline-offset:3px}
.people-group{margin-top:16px}
.people-group h4{margin:0 0 8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold)}
.people-list{display:grid;gap:8px}
.person-card{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:center;width:100%;min-height:64px;padding:8px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025);color:var(--text);text-align:left;cursor:pointer}
.person-card:hover,.person-card:focus-visible{border-color:var(--gold);background:rgba(201,168,76,.08)}
.person-card-photo{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 20%;background:var(--surface-2);border:1px solid var(--line-strong)}
.person-card>span{display:grid;gap:2px;min-width:0}
.person-card strong{font-size:14px}
.person-card small{font-size:11.5px;color:var(--muted)}
.timeline-chips{display:flex;flex-wrap:wrap;gap:6px;padding:12px 18px;border-bottom:1px solid var(--line)}
.timeline-chip{--chip:var(--gold);min-height:36px;padding:0 12px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.timeline-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--chip)}
.timeline-chip.is-all::before{display:none}
.timeline-chip:hover{border-color:var(--chip)}
.timeline-chip[aria-pressed="true"]{background:var(--chip);border-color:var(--chip);color:#08101d}
.timeline-chip[aria-pressed="true"]::before{background:#08101d}
.timeline-filter-note{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.timeline-clear{min-height:30px;padding:0 10px;border:1px solid rgba(201,168,76,.5);border-radius:6px;background:transparent;color:var(--gold-light);font-size:12px;font-weight:700;cursor:pointer}
.timeline-clear:hover{background:var(--gold);color:#08101d}
.timeline-empty{padding:24px 12px;color:var(--muted);font-size:13px}
@media (max-width:1000px){.timeline-chip{min-height:44px}}

/* Atlas v4.2 — story lines, before/after, node images */
.relation-lines{pointer-events:none}
.relation-line{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linecap:round;opacity:.9}
.relation-line.is-before{stroke:#8fa3c4;stroke-dasharray:5 5}
.relation-line.is-after{stroke:var(--gold-light)}
.relation-line.is-related{stroke:rgba(216,225,241,.35);stroke-dasharray:2 4}
.legend-before,.legend-after{display:inline-block;width:22px;height:0;border-top:2px dashed #8fa3c4}
.legend-after{border-top:2px solid var(--gold-light)}
.connection-heading{margin:14px 0 6px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.connection-heading.is-after{color:var(--gold-light)}
.connection-heading.is-before{color:#8fa3c4}
.connection-item em{display:block;font-style:normal;font-size:11px;font-weight:800;color:var(--gold-light)}
.connection-item.is-before em{color:#8fa3c4}
.station.is-minor .station-ring{stroke-width:1.6}
.station-photo{pointer-events:none}
.station.has-photo .station-glyph{display:none}
.station.has-photo .station-ring{fill:#07101d}
.station.has-photo .station-ring{stroke:var(--gold-light);stroke-width:2.2}
.station.is-selected.has-photo .station-ring{stroke:#fff;stroke-width:3}
.dossier-photo.is-banner img{max-width:100%;aspect-ratio:16/9;object-position:50% 50%}
.city-marker.is-capital circle.city-dot{fill:#ff5470;stroke:#fff}
.city-marker.is-capital text{fill:#ff8fa3}

/* Atlas v4.4 — impact sizing and label priority */
.station.impact-5 .station-label{font-size:15px;font-weight:880}
.station.impact-4 .station-label{font-size:13.5px;font-weight:820}
.station.impact-2 .station-label{font-size:11.5px}
.station.impact-1 .station-label{font-size:11px;font-weight:650}
.station.impact-5 .station-ring{stroke-width:3}
.city-marker.label-collides text{opacity:0}
.world-city{transition:opacity .15s ease}
@media (max-width:600px){
  /* The SVG is drawn smaller on phones, so label units are larger to stay readable. */
  .station .station-label,.station.impact-1 .station-label,.station.impact-2 .station-label{font-size:19px;stroke-width:6}
  .station.impact-4 .station-label{font-size:21px;stroke-width:6}
  .station.impact-5 .station-label{font-size:23px;stroke-width:7}
}

/* Atlas v4.5 — Empires mode */
.empire-toggle{position:absolute;z-index:9;left:24px;bottom:205px;min-height:44px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid var(--line-strong);border-radius:8px;background:rgba(8,16,29,.96);color:var(--text);font-size:11px;font-weight:800;cursor:pointer}
.empire-toggle svg{width:18px;height:18px;fill:none;stroke:var(--gold-light);stroke-width:1.8;stroke-linecap:round}
.empire-toggle:hover,.empire-toggle[aria-pressed="true"]{border-color:var(--gold);color:var(--gold-light)}
.empire-legend{position:absolute;z-index:12;right:18px;top:16px;width:min(300px,calc(100% - 32px));max-height:calc(100% - 140px);overflow:auto;padding:14px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(8,16,29,.97);box-shadow:0 16px 36px rgba(0,0,0,.36)}
.empire-legend-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.empire-legend-title{margin:0;font-size:14px;color:var(--gold-light)}
.empire-legend-head button{width:36px;height:36px;border:1px solid var(--line-strong);border-radius:7px;background:transparent;color:var(--text);font-size:18px;cursor:pointer}
.empire-legend-note,.empire-legend-hint{margin:8px 0;font-size:11.5px;line-height:1.45;color:var(--muted)}
.empire-legend-list{display:grid;gap:2px}
.empire-legend-item{--empire:#fff;display:grid;grid-template-columns:14px 1fr auto;align-items:center;gap:8px;min-height:32px;padding:0 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);font-size:12px;text-align:left;cursor:pointer}
.empire-legend-item i{width:12px;height:12px;border-radius:3px;background:var(--empire)}
.empire-legend-item b{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.empire-legend-item:hover,.empire-legend-item[aria-pressed="true"]{border-color:var(--empire);background:rgba(255,255,255,.04)}
.atlas-map.is-empire-mode .land-country.is-empire{opacity:.88}
.atlas-map.is-empire-mode .land-country.is-empire-core{opacity:.5;stroke:#fff;stroke-width:1.6px}
.atlas-map.is-empire-mode .land-country.is-empire-dim{opacity:.18}
.atlas-map.is-empire-mode .station,.atlas-map.is-empire-mode .route-line,.atlas-map.is-empire-mode .relation-line{opacity:.2;pointer-events:none}
.atlas-map.is-empire-mode .country-anchor{opacity:0;pointer-events:none}
.territory-quote{margin:6px 0 0;padding:8px 10px;border-left:2px solid var(--station-color,var(--gold));background:rgba(255,255,255,.03);color:var(--text);font-size:12.5px;line-height:1.5}
.meta-chip.empire{color:var(--text);border-color:var(--station-color,var(--line))}
@media (max-width:1000px){
  .empire-toggle{left:12px;bottom:207px}
  .empire-legend{top:auto;bottom:100px;right:8px;max-height:45%}
}

/* Selecting a story filters out everything unrelated until the card closes */
.atlas-map.has-selection .station:not(.is-selected):not(.is-related){opacity:0;visibility:hidden;pointer-events:none}
.atlas-map.has-selection .route-line{opacity:0}
.territory-caveat{margin:4px 0 0!important;font-size:11.5px!important;color:var(--muted)!important}

/* Atlas v4.7 — empire year slider */
.empire-year{margin:10px 0 4px;padding:10px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.02)}
.empire-year-row{display:flex;justify-content:space-between;align-items:center}
.empire-year output{font-size:26px;font-weight:880;color:var(--gold-light);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.empire-play{min-height:36px;padding:0 12px;border:1px solid var(--gold);border-radius:7px;background:transparent;color:var(--gold-light);font-size:12px;font-weight:800;cursor:pointer}
.empire-play[aria-pressed="true"],.empire-play:hover{background:var(--gold);color:#08101d}
#empire-year{width:100%;height:32px;accent-color:var(--gold);cursor:pointer}
.empire-key-years{display:flex;flex-wrap:wrap;gap:4px}
.empire-key-year{min-height:30px;padding:0 8px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--muted);font-size:11px;font-weight:700;cursor:pointer}
.empire-key-year[aria-pressed="true"],.empire-key-year:hover{border-color:var(--gold);color:var(--gold-light)}
@media (max-width:1000px){.empire-key-year{min-height:40px}}

/* Atlas v4.8 — one timebar + empire profile */
.timeline-wrap.is-empire .timeline-labels,.timeline-wrap.is-empire #timeline,.timeline-wrap.is-empire .timeline-stops{display:none}
.timeline-wrap.is-empire .empire-year{margin:0;padding:6px 0 0;border:0;background:transparent;display:grid;grid-template-columns:auto auto 1fr;grid-template-areas:"year play keys" "slider slider slider";align-items:center;gap:4px 14px}
.timeline-wrap.is-empire .empire-year-row{display:contents}
.timeline-wrap.is-empire #empire-year-output{grid-area:year}
.timeline-wrap.is-empire .empire-play{grid-area:play}
.timeline-wrap.is-empire .empire-key-years{grid-area:keys;justify-content:flex-end}
.timeline-wrap.is-empire #empire-year{grid-area:slider;height:28px}
.empire-chart-item{display:block!important}
.empire-chart-item::before{display:none}
.empire-chart{width:100%;height:auto;display:block}
.empire-chart-axis{stroke:var(--line-strong)}
.empire-chart-now{stroke:var(--gold-light);stroke-dasharray:3 3}
.empire-chart-label{font-size:9.5px;fill:var(--muted);font-family:AtlasSans,sans-serif}
.empire-territory-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.empire-territory{min-height:30px;padding:0 9px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-size:12px;cursor:pointer}
.empire-territory:hover{border-color:var(--station-color,var(--gold));color:#fff}
.empire-change{display:grid;grid-template-columns:52px 1fr;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.empire-change.is-current{background:rgba(201,168,76,.07)}
.empire-change-year{align-self:start;min-height:30px;border:1px solid var(--line-strong);border-radius:6px;background:transparent;color:var(--gold-light);font-weight:800;font-variant-numeric:tabular-nums;cursor:pointer}
.empire-change p{margin:0 0 4px;font-size:12.5px;line-height:1.9;color:var(--muted)}
.empire-change .empire-territory{min-height:26px;font-size:11.5px}
.empire-gain{color:#8fd19e!important}
.empire-loss{color:#ff8fa3!important}
@media (max-width:1000px){.timeline-wrap.is-empire .empire-year{grid-template-columns:auto auto;grid-template-areas:"year play" "slider slider" "keys keys"}.timeline-wrap.is-empire .empire-key-years{justify-content:flex-start}}

/* Atlas v4.9 — honest empire rendering */
.atlas-map.is-empire-mode .land-country.is-empire-dominion{opacity:.38;stroke-dasharray:3 3}
.empire-marker{cursor:pointer}
.empire-marker-halo{fill:rgba(3,7,18,.75);stroke:#fff;stroke-width:1.5}
.empire-marker-dot{stroke:#030712;stroke-width:1.5}
.empire-marker:hover .empire-marker-halo{stroke:var(--gold-light);stroke-width:2.5}
.empire-marker.is-empire-dim{opacity:.2}
.atlas-map:not(.is-empire-mode) .empire-marker-layer{display:none}
.empire-legend-key{list-style:none;margin:4px 0 10px;padding:0;display:grid;gap:5px;font-size:11.5px;color:var(--muted)}
.empire-legend-key li{display:flex;align-items:center;gap:8px}
.empire-legend-key i{flex:0 0 18px;height:12px;border-radius:3px;background:#e0525e}
.empire-legend-key .key-dominion{opacity:.4;outline:1px dashed #e0525e}
.empire-legend-key .key-core{opacity:.5;outline:1.5px solid #fff}
.empire-legend-key .key-dot{flex-basis:12px;height:12px;border-radius:50%;border:2px solid #fff;background:#e0525e}

.empire-chart-modes{display:flex;gap:4px;margin-bottom:6px}
.empire-chart-modes button{min-height:30px;padding:0 10px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--muted);font-size:11.5px;font-weight:700;cursor:pointer}
.empire-chart-modes button[aria-pressed="true"]{border-color:var(--station-color,var(--gold));color:var(--text);background:rgba(255,255,255,.05)}

/* Atlas v4.11 — views: Map (history) · Explore · Countries */
.view-tabs{justify-self:end;display:flex;gap:4px;padding:4px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(255,255,255,.03)}
.view-tabs button{min-height:36px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12.5px;font-weight:800;cursor:pointer}
.view-tabs button[aria-selected="true"]{background:var(--gold);color:#08101d}
.view-tabs button:hover:not([aria-selected="true"]){color:var(--text);background:rgba(255,255,255,.05)}
.page-view{position:absolute;z-index:45;inset:0;overflow:auto;padding:26px 28px 40px;background:var(--bg)}
.page-view-head h2{margin:0;font-size:clamp(24px,2.1vw,34px);color:var(--text)}
.page-view-head p{margin:6px 0 16px;color:var(--muted);font-size:13px;max-width:70ch}
.explore-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}
.explore-tabs{display:flex;flex-wrap:wrap;gap:6px}
.explore-tabs button{min-height:40px;padding:0 16px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-weight:800;font-size:13px;cursor:pointer}
.explore-tabs button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#08101d}
.explore-country-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.explore-country-label select{min-height:40px;padding:0 10px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface-2);color:var(--text);color-scheme:dark}
.timeline-page-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.timeline-lenses{display:flex;flex-wrap:wrap;gap:6px}
.timeline-lenses button{min-height:40px;padding:0 14px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-size:12.5px;font-weight:800;cursor:pointer}
.timeline-lenses button:hover{border-color:var(--gold)}
.timeline-lenses button[aria-pressed="true"]{border-color:var(--gold);background:var(--gold);color:#08101d}
.timeline-sports{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.timeline-sports[hidden]{display:none}
.timeline-sports button{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(91,203,208,.04);color:var(--text);font-size:12.5px;cursor:pointer}
.timeline-sports button span{font-size:16px;line-height:1}
.timeline-sports button b{font-weight:800}
.timeline-sports button small{min-width:20px;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.08);color:#b7bfcf;font-size:11px;font-weight:800;text-align:center}
.timeline-sports button:hover{border-color:var(--sport)}
.timeline-sports button[aria-pressed="true"]{border-color:var(--sport);background:color-mix(in srgb,var(--sport) 20%,transparent);box-shadow:inset 0 -3px 0 var(--sport)}
.timeline-sports button[aria-pressed="true"] small{background:var(--sport);color:#061019}
/* Business history: People/Companies chips, connected-group tags, and the tag explainer card. */
.timeline-business{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);--biz:#e5c586}
.timeline-business[hidden]{display:none}
.timeline-business-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.timeline-business-label{margin-right:4px;color:var(--gold-light);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.timeline-business button{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(229,197,134,.04);color:var(--text);font-size:12.5px;cursor:pointer}
.timeline-business button span{font-size:16px;line-height:1}
.timeline-business button b{font-weight:800}
.timeline-business button small{min-width:20px;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.08);color:#b7bfcf;font-size:11px;font-weight:800;text-align:center}
.timeline-business button:hover,.timeline-business button:focus-visible{border-color:var(--biz)}
.timeline-business button[aria-pressed="true"]{border-color:var(--biz);background:color-mix(in srgb,var(--biz) 18%,transparent);box-shadow:inset 0 -3px 0 var(--biz)}
.timeline-business button[aria-pressed="true"] small{background:var(--biz);color:#08101d}
.timeline-business-row.is-tags button{border-style:dashed;border-radius:999px}
.timeline-business-row.is-tags button[aria-pressed="true"]{border-style:solid}
.timeline-tag-card{display:grid;gap:6px;max-width:760px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--biz) 55%,var(--line));border-radius:12px;background:linear-gradient(105deg,rgba(229,197,134,.10),var(--surface) 60%)}
.timeline-tag-card strong{font-size:15px;color:var(--gold-light)}
.timeline-tag-card p{margin:0;color:var(--text);font-size:13px;line-height:1.5}
.timeline-tag-card blockquote{margin:0;padding-left:10px;border-left:3px solid var(--biz);color:#c9cfdd;font-size:12.5px;font-style:italic;line-height:1.5}
.timeline-tag-card a{color:var(--gold-light);font-size:12px;font-weight:700}
.timeline-business .timeline-tag-clear{justify-self:start;min-height:36px;border-radius:999px;font-size:12px}
.timeline-page-card:has(>img)>.timeline-card-tags,.timeline-page-card:has(>img):has(>.timeline-card-tags)>small{grid-column:2}
.timeline-page-card:has(.timeline-card-tags)>img{grid-row:1/6}
.timeline-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.timeline-card-tags i{padding:2px 8px;border:1px solid rgba(229,197,134,.45);border-radius:999px;background:rgba(229,197,134,.08);color:var(--gold-light);font-size:11px;font-style:normal;font-weight:800}
.meta-chip.business-tag{color:var(--gold-light);border-color:rgba(229,197,134,.55);border-style:dashed;text-transform:none;letter-spacing:0;font-weight:800}
.meta-chip.business-tag:hover{background:rgba(229,197,134,.15);border-style:solid}
.timeline-page-note{margin:0 0 18px;color:var(--gold-light);font-size:12px;font-weight:700}
.timeline-page-list{display:grid;gap:26px;max-width:1040px}
.timeline-page-era{display:grid;grid-template-columns:minmax(110px,160px) minmax(0,1fr);gap:18px}
.timeline-page-era h3{position:sticky;top:0;align-self:start;margin:0;padding:8px 0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.timeline-page-era ol{position:relative;list-style:none;margin:0;padding:0 0 0 24px;display:grid;gap:8px}
.timeline-page-era ol::before{content:"";position:absolute;left:5px;top:18px;bottom:18px;width:1px;background:var(--line-strong)}
.timeline-page-card{position:relative;width:100%;min-height:112px;display:grid;grid-template-columns:112px 1fr;grid-template-rows:auto auto 1fr auto;column-gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.timeline-page-card::before{content:"";position:absolute;left:-24px;top:23px;width:11px;height:11px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--bg)}
.timeline-page-card:hover,.timeline-page-card:focus-visible{border-color:var(--gold);background:rgba(201,168,76,.055)}
.timeline-page-card>img{grid-row:1/5;width:112px;height:88px;border-radius:8px;object-fit:cover}
.timeline-page-card time{font-size:11px;font-weight:800;letter-spacing:.05em;color:var(--gold-light)}
.timeline-page-card>strong{font-size:18px;line-height:1.25}
.timeline-page-card>span{margin-top:5px;max-width:70ch;color:var(--muted);font-size:13px;line-height:1.5}
.timeline-page-card>small{display:flex;align-items:center;gap:8px;margin-top:8px;color:var(--muted);font-size:11.5px}
.timeline-page-card .card-flags{display:inline-flex;margin:0}
.timeline-page-feature h3{color:var(--sport)}
.timeline-page-feature ol::before{background:var(--sport)}
.timeline-page-feature .timeline-page-card{min-height:152px;grid-template-columns:220px 1fr;padding:14px 16px;border-color:color-mix(in srgb,var(--sport) 58%,var(--line));background:linear-gradient(105deg,rgba(91,203,208,.12),var(--surface) 58%)}
.timeline-page-feature .timeline-page-card::before{background:var(--sport)}
.timeline-page-feature .timeline-page-card>img{width:220px;height:122px}
.timeline-page-feature .timeline-page-card>strong{font-size:24px}
.explore-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.subject-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:72px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;text-decoration:none;cursor:pointer}
.subject-card:hover,.subject-card:focus-visible{border-color:var(--gold);background:rgba(201,168,76,.06)}
.subject-card-photo{width:52px;height:52px;border-radius:8px;object-fit:cover}
.subject-card:not(:has(.subject-card-photo)){grid-template-columns:1fr auto}
.subject-card-text{display:grid;gap:3px;min-width:0}
.subject-card strong{font-size:14.5px}
.subject-card small{font-size:12px;color:var(--muted);line-height:1.4}
.card-flags{display:flex;gap:3px}
.card-flags img{width:20px;height:20px}
.subject-card.is-city{grid-template-columns:1fr}
.explore-empty{color:var(--muted)}
.countries-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.country-card{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:78px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.country-card img{grid-row:1/3;width:40px;height:40px}
.country-card strong{font-size:16px}
.country-card small{font-size:12px;color:var(--muted)}
.country-card:hover{border-color:var(--gold)}
.country-page-head h2{display:flex;align-items:center;gap:12px;margin:12px 0 6px;font-size:clamp(28px,3vw,44px)}
.country-page-head h2 img{width:40px;height:40px}
.country-page-head p{color:var(--muted);max-width:70ch}
.country-back,.country-on-map{min-height:38px;padding:0 12px;border:1px solid var(--line-strong);border-radius:8px;background:transparent;color:var(--text);font-weight:700;cursor:pointer}
.country-on-map{margin-top:6px;border-color:var(--gold);color:var(--gold-light)}
.country-page-section{margin-top:24px}
.country-page-section h3{margin:0 0 10px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.map-stage.is-page-view .timeline-toggle,.map-stage.is-page-view .empire-toggle,.map-stage.is-page-view .map-key,.map-stage.is-page-view .map-controls{visibility:hidden}
@media (max-width:1000px){
  .view-tabs{justify-self:stretch;justify-content:space-between}
  .view-tabs button{flex:1;min-height:44px}
  .page-view{padding:18px 16px 90px}
  .explore-list,.countries-grid{grid-template-columns:1fr}
  .timeline-page-era{grid-template-columns:1fr;gap:6px}
  .timeline-page-era h3{position:static;padding:0}
  .timeline-page-card{min-height:104px;grid-template-columns:88px 1fr}
  .timeline-page-card>img{width:88px;height:82px}
}

/* The site-wide nav is fixed (64px, 60px on phones) and used to cover the atlas header,
   hiding search and the view tabs. Reserve its height everywhere below. */
:root{--site-nav-h:64px}
@media (max-width:1000px){:root{--site-nav-h:60px}}
body{padding-top:var(--site-nav-h)}
.atlas-shell{height:calc(100vh - var(--header-h) - var(--site-nav-h))}
.station-dossier.is-fullscreen{inset:calc(var(--header-h) + var(--site-nav-h)) 0 0}
@media (max-width:1000px){
  .atlas-shell{height:auto;min-height:calc(100vh - var(--header-h) - var(--site-nav-h))}
  .map-stage{height:calc(100dvh - var(--header-h) - var(--site-nav-h) - 62px)}
  .atlas-header{height:auto;min-height:var(--header-h);padding:10px 16px;gap:10px}
}

.subject-card{grid-template-columns:auto 1fr}
.subject-card:not(:has(.subject-card-photo)){grid-template-columns:1fr}
.explore-list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.card-flags{align-items:center;font-size:11px;color:var(--muted);margin-top:3px}

/* Explore: section → category → items */
.explore-crumbs{margin:0 0 12px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:4px}
.crumb-back{min-height:34px;padding:0 10px;border:1px solid var(--line-strong);border-radius:7px;background:transparent;color:var(--gold-light);font-weight:800;cursor:pointer}
.explore-list.is-categories{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.category-tile{display:grid;gap:4px;align-content:center;min-height:86px;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.category-tile strong{font-size:16px}
.category-tile small{font-size:12px;color:var(--gold-light)}
.category-tile:hover:not(:disabled){border-color:var(--gold);background:rgba(201,168,76,.07)}
.category-tile:disabled{opacity:.45;cursor:default}
.category-tile:disabled small{color:var(--muted)}

/* Category tiles: emoji marker */
.category-tile .category-icon{font-size:26px;line-height:1;margin-bottom:4px}

/* Provinces and states (v4.15) */
.province-layer{pointer-events:none}
.province-shape{fill:none;stroke:rgba(150,168,200,.42);stroke-width:.7px;stroke-dasharray:3 2.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.province-text{font-family:AtlasSans,"Noto Sans",sans-serif;font-size:9.5px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;fill:rgba(170,186,214,.72);paint-order:stroke;stroke:#030712;stroke-width:3px;stroke-linejoin:round}
.atlas-map.hide-provinces .province-layer{display:none}

/* Layer switches */
.atlas-map.hide-stories #station-layer,.atlas-map.hide-stories #route-lines,.atlas-map.hide-stories #relation-lines{display:none}
.atlas-map.hide-countries #country-map-layer{display:none}
.atlas-map.hide-cities #city-layer,.atlas-map.hide-cities #world-city-layer{display:none}
.layer-control{position:absolute;z-index:10;left:24px;bottom:257px}
.layer-toggle{min-height:44px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid var(--line-strong);border-radius:8px;background:rgba(8,16,29,.96);color:var(--text);font-size:11px;font-weight:800;cursor:pointer}
.layer-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.layer-toggle[aria-expanded="true"]{border-color:var(--gold);color:var(--gold-light)}
.layer-panel{position:absolute;left:0;bottom:52px;min-width:220px;margin:0;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(8,16,29,.98);display:grid;gap:4px}
.layer-panel[hidden]{display:none}
.layer-panel legend{float:left;width:100%;padding:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-light)}
.layer-panel label{display:flex;align-items:center;gap:10px;min-height:36px;font-size:13px;color:var(--text);cursor:pointer}
.layer-panel input{width:18px;height:18px;accent-color:var(--gold)}
.layer-note{margin:4px 0 0;font-size:11px;color:var(--muted)}
.map-stage.is-page-view .layer-control{visibility:hidden}
@media (max-width:1000px){.layer-control{left:12px;bottom:259px}}

/* Bangkok districts (v4.18) */

.district-shape{fill:var(--district-color,#8f9bb2);fill-opacity:.2;stroke:var(--district-color,#8f9bb2);stroke-opacity:.85;stroke-width:1px;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill-opacity .15s ease}
.district-shape:hover{fill-opacity:.34}
.district-shape.is-selected{fill-opacity:.5;stroke:#fff;stroke-width:2px}
.atlas-map.hide-provinces .district-layer{display:none!important}
.district-text{font-family:"Noto Sans Thai","Noto Sans",AtlasSans,sans-serif;font-size:12px;font-weight:700;fill:#eef2f8;paint-order:stroke;stroke:#030712;stroke-width:3.2px;stroke-linejoin:round}
.district-text-en{font-family:AtlasSans,"Noto Sans",sans-serif;font-size:9px;font-weight:600;letter-spacing:.04em;fill:rgba(190,204,226,.8);paint-order:stroke;stroke:#030712;stroke-width:3px;stroke-linejoin:round}
.district-card{position:absolute;z-index:9;right:18px;top:96px;width:min(330px,calc(100% - 36px));max-height:calc(100% - 300px);overflow:auto;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;background:rgba(8,16,29,.97);color:var(--text);font-size:12.5px;line-height:1.45}
.district-card[hidden]{display:none}
.district-card h3{margin:0 0 8px;font-size:14px;color:var(--gold-light)}
.district-schemes{display:flex;gap:6px;flex-wrap:wrap}
.district-schemes button{min-height:32px;padding:0 10px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-size:11.5px;font-weight:700;cursor:pointer}
.district-schemes button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#111}
.district-scheme-summary{margin:10px 0 8px;color:var(--muted)}
.district-legend{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:4px}
.district-legend li{display:grid;grid-template-columns:14px 1fr auto;gap:8px;align-items:center}
.district-swatch{width:14px;height:14px;border-radius:3px;background:var(--district-color);opacity:.85}
.district-legend small{color:var(--muted);font-variant-numeric:tabular-nums}
.district-detail{padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.04);margin-bottom:8px}
.district-detail strong{display:block;font-size:14px;margin-bottom:2px}
.district-detail p{margin:0;color:var(--muted)}
.district-rings summary{cursor:pointer;color:var(--gold-light);font-weight:700}
.district-rings p{margin:6px 0 0;color:var(--muted)}
.district-sources{margin:8px 0 0;font-size:11px;color:var(--muted)}
.district-sources a{color:var(--muted)}
.map-stage.is-page-view .district-card{visibility:hidden}
@media (max-width:1000px){.district-card{top:auto;bottom:320px;right:12px;left:12px;width:auto;max-height:34%}}

/* Country names outrank everything else in size (v4.20) */
.world-country-label.is-large .world-country-text{font-weight:800;letter-spacing:.28em;fill:rgba(226,233,245,.5);stroke-width:4px}

/* Browser focus outlines inside the map are drawn in map space, so deep zoom magnifies them into
   giant rings (Bangkok districts, 9000%). Map controls show focus with their own styles instead. */
#atlas-map *:focus{outline:none}

/* Pins: true location of a node that was nudged aside (v4.23) */
.station-pin-layer{pointer-events:none}
.station-leader{stroke:rgba(229,197,134,.75);stroke-width:1.2px;vector-effect:non-scaling-stroke}
.station-pin{fill:var(--gold-light);stroke:#030712;stroke-width:1px;vector-effect:non-scaling-stroke}
.atlas-map.hide-stories #station-pin-layer{display:none}
.atlas-map.is-empire-mode .station-pin-layer{opacity:.2}

/* Mobile: layers above the zoom buttons with a bottom-sheet panel; district card starts as a pill */
.district-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.district-card-head h3{flex:1 1 auto}
.district-card-toggle{display:none;min-height:32px;padding:0 12px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--gold-light);font-size:11.5px;font-weight:800;cursor:pointer}
@media (max-width:1000px){
  .layer-control{left:auto;right:12px;bottom:214px}
  .layer-panel{position:fixed;left:12px;right:12px;bottom:84px;min-width:0;z-index:60}
  .district-card{top:184px;bottom:auto;left:auto;right:12px;width:min(330px,calc(100% - 24px));max-height:55vh;padding:8px 12px}
  .district-card h3{margin:0;font-size:12.5px}
  .district-card-toggle{display:inline-flex;align-items:center}
  .district-card:not(.is-open) > :not(.district-card-head){display:none}
  .district-card:not(.is-open) .district-schemes{display:none}
}

/* ---------- Phone layout (v4.27): the map gets the screen ----------
   Before: header 185px + title 107px + strip 61px left the map ~200px of a 780px phone.
   Now: compact header, no page title in map view, a thin country row, tools as small chips
   along the top edge, and the map fills everything down to the era bar (cropped to fill,
   like a phone map app; pan to see the rest of the world). */
@media (max-width:760px){
  :root{--header-h:104px}
  .atlas-header{padding:8px 12px;gap:8px;min-height:0;height:var(--header-h)}
  .atlas-brand{display:none}
  .atlas-search{height:42px}
  .view-tabs button{min-height:38px}
  .map-stage{height:calc(100dvh - var(--header-h) - var(--site-nav-h) - 62px);min-height:420px}
  .map-heading{display:none}
  .country-explorer{top:6px;left:8px;right:8px}
  .country-explorer>.country-lens-label,.country-explorer>.country-scroll-hint{display:none}
  .country-strip{padding:3px;scrollbar-width:none}
  .country-strip::-webkit-scrollbar{display:none}
  .country-button{min-height:34px}
  .history-branches{top:48px;left:8px;right:8px}
  /* An SVG with height:auto keeps its 16:9 ratio even with top+bottom set, so size it explicitly. */
  .atlas-map,.map-stage:has(.history-branches:not([hidden])) .atlas-map{top:48px;bottom:auto;left:0;right:0;width:100%;height:calc(100% - 122px);aspect-ratio:auto}
  .map-stage:has(.history-branches:not([hidden])) .atlas-map{top:92px;height:calc(100% - 166px)}
  .timeline-wrap{min-height:0;padding:4px 14px 6px}
  .timeline-labels{margin-bottom:0}
  #timeline{height:30px;margin:-6px 0}
  /* Tools: one row of small chips along the top edge of the map */
  .timeline-toggle,.empire-toggle,.map-key,.layer-control{top:58px;bottom:auto}
  .timeline-toggle{left:8px}
  .empire-toggle{left:146px}
  .timeline-toggle,.empire-toggle,.map-key summary,.layer-toggle{min-height:36px;padding:0 10px;font-size:11px}
  .map-key{left:auto;right:52px}
  .map-key summary{font-size:0;padding:0 8px;gap:0}
  .map-key summary::before{font-size:11px}
  .layer-control{right:8px}
  .layer-toggle{font-size:0;padding:0 8px;gap:0}
  .map-stage:has(.history-branches:not([hidden])) :is(.timeline-toggle,.empire-toggle,.map-key,.layer-control){top:102px}
  .map-key-panel{position:fixed;left:12px;right:12px;bottom:84px;width:auto;max-height:60vh;overflow:auto;z-index:60}
  .timeline-drawer{bottom:66px}
  /* Zoom: compact, bottom right above the era bar */
  .map-controls{right:8px;bottom:84px;grid-template-columns:40px 40px}
  .map-controls output{display:none}
  .map-controls button{min-width:40px;min-height:40px;font-size:20px}
  .map-controls .zoom-reset{min-height:32px;font-size:10.5px}
  .district-card{top:102px}
  .empire-legend{bottom:84px}
}
/* ── Time zones (v4.30): night shading, hour bands, pinned hour ruler, country local time ── */
.timezone-layer{pointer-events:none}
.tz-night{fill:#01030b;fill-opacity:.5}
.tz-band-line{stroke:rgba(229,197,134,.16);stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.tz-home-band{fill:rgba(229,197,134,.05)}
.tz-sun{fill:#ffe39a;stroke:#fff6d8;stroke-width:1;vector-effect:non-scaling-stroke}
.tz-sun-glow{opacity:.85}
.timezone-ruler{pointer-events:none}
.tz-ruler-bg{fill:rgba(3,7,18,.72)}
.tz-ruler-text{font-size:8.6px;font-weight:700;fill:#c9cfdd;letter-spacing:.02em}
.tz-ruler-zone{font-size:6.6px;font-weight:600;fill:#7f889c}
.tz-ruler-text.is-home .tz-ruler-time{fill:#e5c586}
.tz-ruler-text.is-home .tz-ruler-zone{fill:#c9a84c}
.atlas-map.hide-timezones #timezone-layer,.atlas-map.hide-timezones #timezone-ruler{display:none}
.country-time{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;margin:.55rem 0 0;padding:.5rem .7rem;border:1px solid rgba(201,168,76,.28);border-radius:10px;background:rgba(201,168,76,.06);font-size:.8rem;color:#c9cfdd}
.country-time strong{color:#e5c586;font-size:.95rem}
@media(max-width:760px){.timezone-ruler{display:none}}
/* ── Assets mode (v4.32) ── */
.assets-view{overflow-y:auto}
.assets-head{max-width:1180px}
.assets-kicker{margin:0 0 .25rem;color:#c9a84c;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.assets-head h2{margin:0;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.05}
.assets-head h2 span{color:#8b93a7;font-weight:600}
.assets-lead{margin:.55rem 0 0;max-width:72ch;color:#aeb6c8;font-size:.86rem;line-height:1.6}
.assets-lead b{color:#e5c586}
.assets-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-top:1.1rem}
.assets-start-label{display:flex;align-items:center;gap:.45rem;font-size:.82rem;color:#c9cfdd;font-weight:600}
.assets-start{background:#0b1224;color:#f4f5f7;border:1px solid rgba(229,197,134,.35);border-radius:999px;padding:.38rem .8rem;font:inherit;font-weight:700;color-scheme:dark;cursor:pointer}
.assets-toggle{display:inline-flex;padding:3px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.03)}
.assets-toggle button{background:none;border:0;border-radius:999px;color:#aeb6c8;font:600 .76rem inherit;padding:.36rem .85rem;cursor:pointer;transition:background .2s,color .2s}
.assets-toggle button[aria-pressed="true"]{background:linear-gradient(135deg,#e5c586,#c9a84c);color:#14100a;box-shadow:0 2px 10px rgba(201,168,76,.3)}
.assets-legend{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.9rem}
.assets-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.36rem .8rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--c) 45%,transparent);background:color-mix(in srgb,var(--c) 10%,transparent);color:#f4f5f7;font:600 .78rem inherit;cursor:pointer;transition:opacity .2s,transform .2s,background .2s}
.assets-chip:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--c) 20%,transparent)}
.assets-chip i{width:9px;height:9px;border-radius:50%;background:var(--c);box-shadow:0 0 8px var(--c)}
.assets-chip[aria-pressed="false"]{opacity:.4;background:none}
.assets-chip[aria-pressed="false"] i{box-shadow:none}
.assets-chip.is-unavailable{opacity:.45;cursor:not-allowed;border-style:dashed;transform:none}
.assets-chip small{color:#8b93a7;font-weight:500}
.assets-chip.is-dim{opacity:.35}
.assets-chart-wrap{position:relative;margin-top:1.1rem;border:1px solid rgba(229,197,134,.16);border-radius:20px;padding:.6rem .6rem .2rem;background:radial-gradient(ellipse 70% 60% at 20% 0%,rgba(91,203,208,.07),transparent 70%),radial-gradient(ellipse 60% 70% at 100% 100%,rgba(229,197,134,.06),transparent 70%),linear-gradient(180deg,rgba(11,18,36,.85),rgba(3,7,18,.92));box-shadow:0 20px 50px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04)}
.assets-chart{display:block;width:100%;height:auto;overflow:visible}
.assets-grid line{stroke:rgba(255,255,255,.055)}
.assets-grid line.is-base{stroke:rgba(229,197,134,.4);stroke-dasharray:3 5}
.assets-grid line.is-x{stroke:rgba(255,255,255,.03)}
.assets-grid text{fill:#6f788c;font-size:10.5px;font-weight:600}
.assets-grid text.is-base{fill:#c9a84c}
.assets-grid text.assets-year{fill:#8b93a7}
.assets-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;transition:opacity .25s,stroke-width .25s}
.assets-line.is-reference{stroke-dasharray:6 5;stroke-width:1.6;opacity:.85}
.assets-line.is-official{stroke-dasharray:1.5 4;stroke-width:1.8;opacity:.7}
.assets-series,.assets-end{transition:opacity .25s}
.assets-series.is-dim,.assets-end.is-dim{opacity:.12}
.assets-series.is-focus .assets-line{stroke-width:3}
.assets-end{font-size:11.5px;font-weight:700;cursor:default}
.assets-end-mult{font-weight:800}
.assets-end-dot{stroke:#030712;stroke-width:1.5}
.assets-chart.is-drawing .assets-end,.assets-chart.is-drawing .assets-end-dot{opacity:0}
.assets-end,.assets-end-dot{animation:assets-fade .6s ease 1s backwards}
@keyframes assets-fade{from{opacity:0}to{opacity:1}}
.assets-hit{fill:transparent;cursor:crosshair}
.assets-event{cursor:pointer;outline:none}
.assets-event-line{stroke:var(--ev);stroke-opacity:0;stroke-dasharray:2 4;transition:stroke-opacity .2s;pointer-events:none}
.assets-event-mark{fill:#0b1224;stroke:var(--ev);stroke-width:1.5;transition:fill .2s}
.assets-event-hit{fill:transparent}
.assets-event.is-on .assets-event-line,.assets-event:focus .assets-event-line{stroke-opacity:.6}
.assets-event.is-on .assets-event-mark,.assets-event:focus .assets-event-mark{fill:var(--ev)}
.assets-cursor{pointer-events:none}
.assets-cursor line{stroke:rgba(255,255,255,.28)}
.assets-cursor-dot{stroke:#030712;stroke-width:2}
.assets-tip{position:absolute;z-index:3;min-width:150px;padding:.55rem .7rem;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(8,12,24,.94);box-shadow:0 12px 30px rgba(0,0,0,.45);backdrop-filter:blur(6px);pointer-events:none;font-size:.78rem;color:#dfe3ec}
.assets-tip>b{display:block;margin-bottom:.3rem;font-size:.82rem;color:#fff}
.assets-tip>span{display:block;color:#8b93a7;font-size:.72rem}
.assets-tip ul{list-style:none;margin:0;padding:0;display:grid;gap:.18rem}
.assets-tip li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem}
.assets-tip li i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.assets-tip li b{color:var(--c);font-variant-numeric:tabular-nums}
.assets-empty{padding:3.5rem 1rem;text-align:center;color:#aeb6c8}
.assets-table{width:100%;max-width:1180px;border-collapse:collapse;margin-top:1.2rem;font-size:.84rem}
.assets-table caption{text-align:left;color:#e5c586;font-weight:700;margin-bottom:.5rem}
.assets-table th,.assets-table td{padding:.55rem .7rem;border-bottom:1px solid rgba(255,255,255,.07);text-align:left}
.assets-table th{color:#7f889c;font-weight:600;font-size:.72rem;letter-spacing:.03em}
.assets-table tbody tr{transition:background .2s,opacity .2s}
.assets-table tbody tr:hover{background:rgba(255,255,255,.03)}
.assets-table tbody tr.is-dim{opacity:.4}
.assets-table td i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:.5rem}
.assets-table .assets-num{font-variant-numeric:tabular-nums;font-weight:700;color:#f4f5f7}
.assets-table .assets-basis{color:#7f889c;font-size:.74rem}
.assets-sources{margin:1.1rem 0 2rem;max-width:1180px;font-size:.78rem;color:#aeb6c8}
.assets-sources summary{cursor:pointer;color:#e5c586;font-weight:700}
.assets-sources ul{padding-left:1.1rem;line-height:1.7}
.assets-sources a{color:#79b7f2}
.assets-sources small{color:#8b93a7}
.assets-warning{color:#ffd08a}
@media(max-width:760px){.assets-table .assets-basis,.assets-table th:last-child{display:none}.assets-chart-wrap{padding:.3rem;border-radius:16px}.assets-tip{min-width:130px;font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.assets-end,.assets-end-dot{animation:none}}
/* ── Assets v4.33: market events + impact card ── */
.assets-event-mark{fill:#0b1224;stroke:#e5c586;stroke-width:1.5}
.assets-event-line{stroke:#e5c586}
.assets-event.is-on .assets-event-mark,.assets-event:focus .assets-event-mark,.assets-event.is-selected .assets-event-mark{fill:#e5c586}
.assets-event.is-selected .assets-event-line{stroke-opacity:.8}
.assets-event-window{fill:rgba(229,197,134,.07);stroke:rgba(229,197,134,.25);stroke-dasharray:3 4;pointer-events:none}
.assets-event-card{max-width:1180px;margin-top:1rem;padding:1.1rem 1.2rem 1rem;border:1px solid rgba(229,197,134,.3);border-radius:18px;background:linear-gradient(160deg,rgba(40,34,22,.55),rgba(8,12,24,.95) 55%);animation:assets-card-in .35s ease}
@keyframes assets-card-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.assets-event-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1rem;align-items:start}
.assets-event-date{margin:0;color:#c9a84c;font-size:.72rem;font-weight:700;letter-spacing:.06em}
.assets-event-head h3{margin:.2rem 0 .3rem;font-size:1.3rem;color:#fff}
.assets-event-what{margin:0;color:#aeb6c8;font-size:.84rem;line-height:1.6;max-width:70ch}
.assets-event-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem}
.assets-event-source{color:#79b7f2;font-size:.74rem;text-decoration:none}
.assets-event-source:hover{text-decoration:underline}
.assets-event-open{border:1px solid rgba(229,197,134,.5);background:rgba(229,197,134,.1);color:#e5c586;border-radius:999px;padding:.35rem .8rem;font:600 .76rem inherit;cursor:pointer}
.assets-event-close{border:0;background:none;color:#8b93a7;font-size:1.3rem;line-height:1;cursor:pointer}
.assets-impact-window{margin:1rem 0 .6rem;color:#8b93a7;font-size:.76rem}
.assets-impact{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}
.assets-impact-item{position:relative;overflow:hidden;padding:.65rem .75rem .75rem;border:1px solid color-mix(in srgb,var(--c) 35%,transparent);border-radius:12px;background:rgba(3,7,18,.55)}
.assets-impact-name{display:block;color:var(--c);font-size:.76rem;font-weight:700}
.assets-impact-item strong{display:block;margin:.15rem 0;font-size:1.25rem;font-variant-numeric:tabular-nums}
.assets-impact-item strong.is-up{color:#8fe3b1}
.assets-impact-item strong.is-down{color:#ff9d92}
.assets-impact-item small{color:#8b93a7;font-size:.7rem}
.assets-impact-item.is-missing{opacity:.5}
.assets-impact-bar{position:absolute;left:50%;bottom:0;height:3px;width:var(--w)}
.assets-impact-bar.is-up{background:#6fd39a}
.assets-impact-bar.is-down{background:#ff7a66;transform:translateX(-100%)}
.assets-impact-note{margin:.7rem 0 0;color:#7f889c;font-size:.72rem}
.assets-chip.is-unavailable{cursor:pointer}
@media(max-width:760px){.assets-event-head{grid-template-columns:1fr auto}.assets-event-actions{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}}
/* ── Assets v4.34: Anuphan type, growth/price modes, prices everywhere ── */
.assets-view,.assets-view button,.assets-view select,.assets-chart text{font-family:AtlasThai,AtlasSans,"Noto Sans",sans-serif}
.assets-view{letter-spacing:0}
.assets-head h2{font-weight:700;letter-spacing:-.01em;line-height:1.2}
.assets-head h2 span{display:block;font-size:.62em;font-weight:500;margin-top:.15rem}
.assets-lead{font-size:.9rem}
.assets-modes{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:1.1rem;padding:4px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.03)}
.assets-modes button{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;min-width:170px;padding:.55rem .9rem;border:0;border-radius:10px;background:none;color:#c9cfdd;font-weight:700;font-size:.9rem;cursor:pointer;text-align:left;transition:background .2s,color .2s}
.assets-modes button small{color:#7f889c;font-weight:500;font-size:.72rem}
.assets-modes button[aria-selected="true"]{background:linear-gradient(135deg,rgba(229,197,134,.22),rgba(201,168,76,.12));color:#fff;box-shadow:inset 0 0 0 1px rgba(229,197,134,.45)}
.assets-modes button[aria-selected="true"] small{color:#e5c586}
.assets-chip.is-radio[aria-pressed="false"]{opacity:.55}
.assets-chip.is-radio[aria-pressed="true"]{background:color-mix(in srgb,var(--c) 26%,transparent);box-shadow:0 0 0 1px var(--c)}
.is-price-mode .assets-start-label::after{content:"";}
.assets-chart{width:100%;height:auto}
.assets-grid text{font-size:12px;font-weight:600}
.assets-end{font-size:13px;font-weight:700}
.assets-area{pointer-events:none}
.assets-tip{min-width:210px}
.assets-tip li{grid-template-columns:auto 1fr auto auto;gap:.5rem}
.assets-tip li span{color:#dfe3ec}
.assets-tip li em{font-style:normal;color:#8b93a7;font-size:.72rem;font-variant-numeric:tabular-nums}
.assets-table .assets-price{color:#c9cfdd;font-variant-numeric:tabular-nums;white-space:nowrap}
.assets-impact-price{display:block;color:#aeb6c8;font-size:.72rem;font-variant-numeric:tabular-nums;margin-bottom:.1rem}
@media(max-width:760px){.assets-modes{display:grid;width:100%}.assets-modes button{min-width:0}.assets-table .assets-price{display:none}.assets-table th:nth-child(4){display:none}}

/* Timeline + sports venue map: stories, people and places remain separate entities. */
.map-heading{pointer-events:none}
.map-mode-tabs{display:flex;gap:4px;margin-top:14px;pointer-events:auto;width:max-content;padding:3px;border:1px solid var(--line-strong);background:rgba(8,16,29,.94);box-shadow:0 12px 28px rgba(0,0,0,.26)}
.map-mode-tabs button{min-height:40px;border:0;background:transparent;color:var(--muted);padding:7px 12px;font-size:11px;font-weight:800;letter-spacing:.04em;cursor:pointer}
.map-mode-tabs button:hover,.map-mode-tabs button[aria-pressed="true"]{background:var(--gold);color:#08101d}
.atlas-shell{transition:grid-template-columns .24s ease}
.atlas-shell.is-sports-map{grid-template-columns:0 minmax(0,1fr) var(--dossier-w)}
.atlas-shell.is-sports-map .route-rail{visibility:hidden;opacity:0;overflow:hidden;padding:0;border:0;pointer-events:none}
.atlas-shell.is-sports-map .timeline-wrap,.atlas-shell.is-sports-map .timeline-toggle,.atlas-shell.is-sports-map .map-legend,.atlas-shell.is-sports-map .mobile-route-dock{display:none}
.atlas-shell.is-sports-map .layer-control,.atlas-shell.is-sports-map #empire-toggle,.atlas-shell.is-sports-map .map-key{display:none}
.atlas-map[data-map-mode="history"] .sports-venue-layer{display:none}
.atlas-map[data-map-mode="sports"] .route-lines,.atlas-map[data-map-mode="sports"] .relation-lines,.atlas-map[data-map-mode="sports"] .station-pin-layer,.atlas-map[data-map-mode="sports"] .station-layer{display:none}
.sports-venue{cursor:pointer;transition:opacity .2s ease,filter .2s ease}
.sports-venue.is-hidden{display:none}
.sports-venue.is-clustered{display:none}
.sports-venue-cluster-orbit{fill:none;stroke:color-mix(in srgb,var(--venue) 75%,#fff);stroke-width:1.2;stroke-dasharray:2.5 2.5;vector-effect:non-scaling-stroke;pointer-events:none}
.sports-venue-hit{fill:transparent;pointer-events:all}
.sports-venue-leader{stroke:color-mix(in srgb,var(--sport) 64%,transparent);stroke-width:1.25;stroke-dasharray:3 3;vector-effect:non-scaling-stroke;pointer-events:none}
.sports-venue-pin{fill:var(--sport);stroke:#08101d;stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:none}
.sports-venue-halo{fill:#08101d;fill-opacity:.85;pointer-events:none}
.sports-venue-ring{fill:var(--venue);stroke:#f4f0e6;stroke-width:1.8;vector-effect:non-scaling-stroke;pointer-events:none;transition:stroke-width .16s}
.sports-venue-round{font:800 9.5px AtlasSans,sans-serif;fill:#fff;text-anchor:middle;pointer-events:none;font-variant-numeric:tabular-nums}
.sports-venue-route-glow{fill:none;stroke:color-mix(in srgb,#d04a3a 12%,transparent);stroke-width:4;vector-effect:non-scaling-stroke;pointer-events:none}
.sports-venue-route{fill:none;stroke:color-mix(in srgb,var(--route,#d04a3a) 70%,transparent);stroke-width:1.2;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none;stroke-dasharray:1;stroke-dashoffset:0;animation:sports-route-draw 2.2s cubic-bezier(.4,0,.2,1) both}
@keyframes sports-route-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.atlas-map[data-map-mode="sports"] #timezone-layer{opacity:.35}
.sports-venue-label{font:700 11px AtlasSans,sans-serif;fill:var(--text);paint-order:stroke;stroke:#08101d;stroke-width:4;stroke-linejoin:round;opacity:1;transition:opacity .16s;pointer-events:none}
.sports-venue.label-collides:not(.is-selected):not(:hover):not(:focus-visible) .sports-venue-label{opacity:0}
.sports-venue:hover,.sports-venue:focus-visible,.sports-venue.is-selected,.sports-venue.is-peek{filter:drop-shadow(0 0 7px color-mix(in srgb,var(--venue) 70%,transparent));outline:none}
.sports-venue:hover .sports-venue-label,.sports-venue:focus-visible .sports-venue-label,.sports-venue.is-selected .sports-venue-label,.sports-venue.is-peek .sports-venue-label{opacity:1}
.sports-venue.is-selected .sports-venue-ring,.sports-venue.is-peek .sports-venue-ring{stroke:#fff;stroke-width:3.2}
.sports-venue.is-peek .sports-venue-label{fill:#fff}
.sports-venue-panel{position:absolute;z-index:8;left:24px;top:154px;bottom:24px;width:min(320px,calc(100% - 48px));display:flex;flex-direction:column;border:1px solid var(--line-strong);background:rgba(8,16,29,.95);box-shadow:0 20px 46px rgba(0,0,0,.36);backdrop-filter:blur(14px)}
.sports-venue-panel header{display:grid;gap:2px;padding:15px 16px 12px;border-bottom:1px solid var(--line)}
.sports-venue-panel header span{color:var(--gold-light);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.sports-venue-panel header strong{font-size:18px;letter-spacing:-.025em}
.sports-venue-collections{display:grid;grid-template-columns:repeat(3,1fr);padding:10px;border-bottom:1px solid var(--line);gap:6px}
.sports-venue-collections button{min-height:56px;display:grid;justify-items:center;align-content:center;gap:3px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.025);color:#b7bfcf;padding:7px 6px;text-align:center;font-size:11px;font-weight:800;line-height:1.15;cursor:pointer;transition:border-color .16s,background .16s,color .16s}
.sports-venue-collections button span{font-size:20px;line-height:1}
.sports-venue-collections button:hover{border-color:color-mix(in srgb,var(--collection) 60%,var(--line));color:var(--text)}
.sports-venue-collections button[aria-pressed="true"]{border-color:var(--collection);background:color-mix(in srgb,var(--collection) 22%,transparent);color:#fff;box-shadow:inset 0 -3px 0 var(--collection)}
.sports-venue-summary{margin:0;padding:11px 14px;color:var(--muted);font-size:11px;line-height:1.45;border-bottom:1px solid var(--line)}
.sports-venue-list{list-style:none;margin:0;padding:5px;overflow:auto;min-height:0}
.sports-venue-list li{margin:0}
.sports-venue-list button{width:100%;min-height:58px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:8px 10px;text-align:left;cursor:pointer}
.sports-venue-list button.has-thumb{grid-template-columns:64px 1fr;gap:1px 12px}
.sports-venue-list button.has-thumb strong{grid-column:2;grid-row:1}
.sports-venue-list button.has-thumb span{grid-column:2;grid-row:2;text-align:left}
.sports-venue-list button.has-thumb small{grid-column:2;grid-row:3}
.sports-venue-thumb{grid-row:1/4;align-self:center;width:64px!important;height:48px!important;grid-column:1;width:56px;height:42px;object-fit:cover;border-radius:6px;border:1px solid var(--line-strong);background:#f4f0e6}
.sports-venue-list button.is-layout .sports-venue-thumb{object-fit:contain;padding:2px}
.dossier-photo.is-banner.is-layout img{object-fit:contain;background:#f4f0e6}
.sports-venue-list button strong{font-size:13px;line-height:1.25}.sports-venue-list button span{grid-row:1;grid-column:2;color:var(--gold-light);font-size:11px;text-align:right}.sports-venue-list button small{grid-column:1/-1;color:#a3abbc;font-size:11px}
.sports-venue-list button{box-shadow:inset 3px 0 0 color-mix(in srgb,var(--venue,transparent) 85%,transparent)}
.sports-venue-list button:hover,.sports-venue-list button.is-selected{background:rgba(255,255,255,.07)}
.sports-venue-list button.is-selected{box-shadow:inset 4px 0 0 var(--venue,var(--gold))}
.sports-venue-source{min-height:44px;display:flex;align-items:center;padding:8px 14px;border-top:1px solid var(--line);color:var(--gold-light);font-size:11px;font-weight:800;text-underline-offset:3px}
.moment-venue{display:block;min-height:40px;margin-top:8px;border:1px solid var(--sport);background:rgba(91,203,208,.08);color:var(--sport);padding:7px 10px;text-align:left;font-size:11px;font-weight:800;cursor:pointer}
.moment-venue:hover{background:var(--sport);color:#061019}
@media(max-width:1000px){
  .atlas-shell.is-sports-map{display:block}
  body.atlas-page-mode .atlas-shell,body.atlas-sports-map-mode .atlas-shell{padding-bottom:0}
  body.atlas-page-mode .mobile-route-dock,body.atlas-sports-map-mode .mobile-route-dock{display:none}
  body.atlas-sports-map-mode{overflow:auto}
  body.atlas-sports-map-mode .map-stage{display:flex;flex-direction:column;height:auto;min-height:calc(100vh - var(--header-h));overflow:visible}
  .atlas-shell.is-sports-map .map-heading{display:block;position:relative;order:0;top:auto;left:auto;width:100%;min-height:92px;padding:14px 16px 10px;z-index:10}
  .atlas-shell.is-sports-map .map-heading>h2,.atlas-shell.is-sports-map .map-heading>p{display:none}
  .sports-venue-panel{position:relative;order:2;z-index:9;left:auto;top:auto;bottom:auto;width:calc(100% - 24px);max-height:none;margin:12px}
  .sports-venue-list{max-height:52vh}
  .atlas-shell.is-sports-map .atlas-map{position:relative;order:1;inset:auto;width:calc(100% - 24px);height:clamp(320px,46vh,430px);min-height:320px;margin:0 12px}
  .map-mode-tabs button{min-height:44px}
}
@media(min-width:1001px) and (max-height:820px){
  .sports-venue-panel header{padding:9px 12px 8px}
  .sports-venue-panel header strong{font-size:15px}
  .sports-venue-summary{display:none}
  .sports-venue-list{min-height:116px}
}
@media(max-width:560px){
  .sports-venue-collections{grid-template-columns:repeat(3,1fr)}
  .sports-venue-summary{display:none}
  .timeline-page-feature .timeline-page-card{grid-template-columns:88px 1fr;min-height:112px;padding:12px 14px;background:var(--surface)}
  .timeline-page-feature .timeline-page-card>img{width:88px;height:82px}
  .timeline-page-feature .timeline-page-card>strong{font-size:18px}
}
@media(max-width:760px){.view-tabs button{min-height:44px}}

/* Atlas v4.52 — responsive reading workspace and stable dossier focus return. */
@media(min-width:1001px){:root{--dossier-w:clamp(280px,30vw,640px)}}
@media(max-width:1100px) and (min-width:1001px){.atlas-shell{grid-template-columns:var(--rail-w) minmax(0,1fr) var(--dossier-w)}}
/* Height-capped list: rows keep their content height (no squeeze-and-overlap) and the list scrolls instead. */
#route-list{min-height:0;overflow-y:auto;scrollbar-width:thin;grid-auto-rows:max-content}
.sport-quick-link{width:calc(100% - 28px);min-height:46px;margin:3px 0 7px 28px;padding:7px 8px;border:1px solid color-mix(in srgb,var(--sport) 55%,transparent);border-radius:8px;background:rgba(91,203,208,.06);color:var(--text);display:grid;grid-template-columns:auto 1fr;gap:1px 7px;text-align:left;cursor:pointer}
.sport-quick-link>span{grid-row:1/3;color:var(--sport);font-size:18px}.sport-quick-link strong{font-size:12px}.sport-quick-link small{color:var(--muted);font-size:10px}.sport-quick-link:hover,.sport-quick-link:focus-visible{border-color:var(--sport);background:rgba(91,203,208,.14)}

.dossier-content{padding:26px 26px 56px}
.dossier-content>h2{max-width:18ch;font-size:clamp(34px,2.6vw,44px);line-height:1.04}
.dossier-content>h2,.dossier-eyebrow,.dossier-meta,.dossier-rule,.dossier-photo{max-width:760px}
.dossier-reading-grid{display:grid;gap:26px}
.dossier-story-column{min-width:0}
.station-story{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.station-story section{margin:0;padding:16px 17px 18px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015))}
.station-story section:first-child{border-color:color-mix(in srgb,var(--station-color,var(--gold)) 48%,var(--line))}
.station-story p,.key-moments p{font-size:15px;line-height:1.7}
.dossier-context-column{min-width:0;border-top:1px solid var(--line);padding-top:22px}

.story-cast{margin:0 0 26px!important;padding:0}
.story-cast-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.story-cast-card{min-height:64px;display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025);color:var(--text);padding:7px;text-align:left;cursor:pointer}
.story-cast-card:hover,.story-cast-card:focus-visible{border-color:var(--sport);background:rgba(91,203,208,.08)}
.story-cast-card img{width:48px;height:48px;border-radius:9px;object-fit:cover;object-position:50% 20%;border:1px solid var(--line-strong)}
.story-cast-card>span{display:grid;gap:2px;min-width:0}.story-cast-card strong{font-size:13px}.story-cast-card small{font-size:11px;line-height:1.35;color:var(--muted)}

.key-moments{margin-top:28px}
.key-moments ol{margin:11px 0 0;padding:0;border:0;display:grid;gap:12px}
.key-moments li{position:relative;display:grid;gap:8px;padding:16px 16px 15px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018))}
.key-moments li::before{display:none}
.key-moments time{font-size:11px;color:var(--gold-light)}
.key-moments h4{margin:0;font-size:17px;line-height:1.25;color:var(--text)}
.key-moments li.has-beat{border-left:4px solid var(--beat);scroll-margin:90px}
.moment-beat{justify-self:start;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--beat) 18%,transparent);border:1px solid color-mix(in srgb,var(--beat) 55%,transparent);color:color-mix(in srgb,var(--beat) 70%,#fff);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.moment-standing{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin:2px 0 0!important;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.04);border:1px solid var(--line);font-size:12px!important;line-height:1.4!important;color:#b7bfcf!important}
.moment-standing strong{color:var(--leader);font-size:13px;white-space:nowrap}
.moment-why{margin:0!important;padding-left:10px;border-left:2px solid color-mix(in srgb,var(--beat,var(--gold)) 60%,transparent);color:#d6dbe6!important;font-size:14px!important}
.moment-why b{display:block;color:var(--gold-light);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.story-arc{margin:12px 0 4px;padding:14px 14px 10px;border:1px solid var(--line-strong);border-radius:14px;background:linear-gradient(160deg,rgba(91,203,208,.07),rgba(255,255,255,.015))}
.story-arc[hidden]{display:none}
.story-arc-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px}
.story-arc-head strong{font-size:14px;color:var(--text)}
.story-arc-head small{font-size:11px;color:#a3abbc}
.story-arc-caption{margin:6px 0 4px!important;font-size:13px!important;line-height:1.5!important;color:#d6dbe6!important}
.story-arc-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}
.story-arc-tabs button{min-height:36px;padding:0 12px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font-size:12px;font-weight:800;cursor:pointer}
.story-arc-tabs button:hover{border-color:var(--sport)}
.story-arc-tabs button[aria-pressed="true"]{border-color:var(--sport);background:color-mix(in srgb,var(--sport) 22%,transparent)}
.key-moments li.moment-act,.key-moments li.moment-next{padding:0;border:0;background:none}
.moment-act button{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:4px 10px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:12px;background:linear-gradient(105deg,rgba(201,168,76,.12),rgba(255,255,255,.02));color:var(--text);text-align:left;cursor:pointer}
.moment-act button small{color:var(--gold-light);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.moment-act button strong{font-size:16px}
.moment-act button span{color:#a3abbc;font-size:12px;white-space:nowrap}
.moment-act button[aria-expanded="true"]{border-color:var(--gold)}
.moment-act button[aria-expanded="true"] span{color:var(--gold-light)}
.moment-next button{width:100%;min-height:44px;padding:10px 14px;border:1px dashed var(--gold);border-radius:12px;background:transparent;color:var(--gold-light);font-size:13px;font-weight:800;text-align:left;cursor:pointer}
.moment-next button:hover{background:rgba(201,168,76,.1)}
.key-moments li[hidden]{display:none}
.story-arc-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 4px!important;font-size:11.5px!important;font-weight:800}
.story-arc-legend .is-a{color:var(--a)}.story-arc-legend .is-b{color:var(--b)}
.story-arc-note{margin:2px 0 0!important;font-size:11px!important;line-height:1.45!important;color:#a3abbc!important}
.story-arc-chart{display:block;width:100%;height:auto;overflow:visible}
.story-arc-side{font:800 9px AtlasSans,sans-serif;letter-spacing:.04em}
.story-arc-zero{stroke:rgba(255,255,255,.35);stroke-width:1;stroke-dasharray:3 3}
.story-arc-line{fill:none;stroke:#eef1f6;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.story-arc-race{font:700 6.4px AtlasSans,sans-serif;fill:#8d96a8}
.story-arc-marker{cursor:pointer;outline:none}
.story-arc-hit{fill:transparent}
.story-arc-dot{fill:var(--beat);stroke:#08101d;stroke-width:2;transition:r .15s}
.story-arc-marker:hover .story-arc-dot,.story-arc-marker:focus-visible .story-arc-dot{r:7;stroke:#fff}
.story-arc-value{font:800 9px AtlasSans,sans-serif;paint-order:stroke;stroke:#08101d;stroke-width:3}
.moment-entity-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}
.moment-entity-tags:empty{display:none}
.moment-entity-tag{min-height:44px;max-width:100%;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:7px;padding:5px 10px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface-2);color:var(--text);text-align:left;cursor:pointer}
.moment-entity-tag img{grid-row:1/3;width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.moment-entity-tag span{font-size:10px;line-height:1.1;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.moment-entity-tag strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.25}
.moment-entity-tag.is-place{border-color:rgba(91,203,208,.45);color:#b9f1f3}.moment-entity-tag.is-person{border-color:rgba(228,99,162,.4)}
.moment-entity-tag:hover,.moment-entity-tag:focus-visible{border-color:var(--gold);background:rgba(201,168,76,.12)}
.moment-source{min-height:36px;color:#8fb9e7}
.moment-story{min-height:44px;border:1px solid var(--gold);border-radius:8px;background:rgba(201,168,76,.08);color:var(--gold-light);padding:8px 11px;text-align:left;font-size:11px;font-weight:800;cursor:pointer}.moment-story:hover{background:var(--gold);color:#08101d}

.sports-archive-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px;border-bottom:1px solid var(--line)}
.sports-archive-tabs button{min-height:44px;border:1px solid var(--line);background:transparent;color:var(--muted);padding:7px 8px;font-size:11px;font-weight:800;cursor:pointer}.sports-archive-tabs button[aria-selected="true"],.sports-archive-tabs button:hover{border-color:var(--gold);background:rgba(201,168,76,.14);color:var(--gold-light)}
.sports-archive-pane{display:flex;flex:1;min-height:0;flex-direction:column}
.sports-archive-pane[hidden],.station-story[hidden]{display:none!important}
.f1-champions-summary{margin:0;padding:11px 14px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.5}
.f1-champions-list{list-style:none;margin:0;padding:5px;overflow:auto;min-height:0;scrollbar-width:thin}
.f1-champions-list li{margin:0}
.f1-champion-card{width:100%;min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 10px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left;text-decoration:none;cursor:pointer}
.f1-champion-card:hover,.f1-champion-card:focus-visible{background:rgba(255,255,255,.07)}
.f1-champion-card time{color:var(--gold-light);font-size:11px;font-weight:850}.f1-champion-card>span{display:grid;gap:2px;min-width:0}.f1-champion-card strong{font-size:12px}.f1-champion-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}.f1-champion-card b{color:var(--sport);font-size:11px;white-space:nowrap}

@media(min-width:1001px){
  .station-dossier.is-fullscreen .dossier-reading-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:48px;align-items:start}
  .station-dossier.is-fullscreen .dossier-context-column{position:sticky;top:0;border-top:0;border-left:1px solid var(--line);padding:0 0 0 28px}
}
@media(max-width:1100px) and (min-width:1001px){.station-story{grid-template-columns:1fr}.story-cast-list{grid-template-columns:1fr}}
@media(max-width:1000px){
  .dossier-content{padding:24px 20px 90px}.dossier-content>h2{font-size:34px}
  .station-story{grid-template-columns:1fr}.story-cast-list{grid-template-columns:1fr 1fr}
  .sports-archive-pane{flex:none}.f1-champions-list{max-height:52vh}
}
@media(max-width:560px){
  .story-cast-list{grid-template-columns:1fr}.moment-entity-tags{display:grid}.moment-entity-tag{width:100%;border-radius:10px}
  .key-moments li{padding:14px 13px}.station-story p,.key-moments p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.atlas-shell,.sports-venue{transition:none}.sports-venue-route{animation:none}}
/* ⭐ Favourites */
.dossier-actions .dossier-fav{font-size:20px;line-height:1;color:var(--gold-light)}
.dossier-actions .dossier-fav[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#08101d}
.dossier-actions .dossier-fav[hidden]{display:none}
.timeline-page-list li{position:relative}
.timeline-fav{position:absolute;top:8px;right:8px;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:999px;background:rgba(8,16,29,.85);color:#c3cad8;font-size:18px;line-height:1;cursor:pointer;transition:transform .15s,background .15s,color .15s}
.timeline-fav:hover{color:var(--gold-light);border-color:var(--gold);transform:scale(1.06)}
.timeline-fav[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#08101d}
.timeline-page-list li.is-favorite .timeline-page-card{border-color:color-mix(in srgb,var(--gold) 65%,var(--line));box-shadow:inset 3px 0 0 var(--gold)}
.timeline-page-card{padding-right:56px}
@media(max-width:600px){
  .timeline-page-card,.timeline-page-feature .timeline-page-card{grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px;min-height:0;padding:12px}
  .timeline-page-card>img,.timeline-page-feature .timeline-page-card>img,.timeline-page-card:has(.timeline-card-tags)>img{grid-column:1;grid-row:1/3;width:64px;height:64px}
  .timeline-page-card>time,.timeline-page-card>strong{grid-column:2;min-width:0;overflow-wrap:anywhere}
  .timeline-page-card>time{grid-row:1;min-height:28px;padding-right:40px}
  .timeline-page-card>strong,.timeline-page-feature .timeline-page-card>strong{grid-row:2;font-size:18px}
  .timeline-page-card>span,.timeline-page-card>small,.timeline-page-card:has(>img)>.timeline-card-tags,.timeline-page-card:has(>img):has(>.timeline-card-tags)>small{grid-column:1/-1;min-width:0;max-width:100%;overflow-wrap:anywhere}
  .timeline-page-card>small{flex-wrap:wrap}
  .timeline-page-card:not(:has(>img))>time,.timeline-page-card:not(:has(>img))>strong{grid-column:1/-1}
}
.timeline-lenses button.is-favorites-lens{border-color:color-mix(in srgb,var(--gold) 55%,var(--line-strong))}
.timeline-fav-empty{margin:18px 0;padding:18px;border:1px dashed var(--line-strong);border-radius:12px;color:#c3cad8;font-size:14px;line-height:1.6}
.toast-action{margin-left:10px;padding:4px 10px;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}
@media(prefers-reduced-motion:reduce){.timeline-fav{transition:none}}
.subject-card-wrap{position:relative;display:grid}
.subject-card-wrap .subject-card{padding-right:56px}
.subject-card-wrap .timeline-fav{top:50%;transform:translateY(-50%);right:8px}
.subject-card-wrap .timeline-fav:hover{transform:translateY(-50%) scale(1.06)}
.subject-card-wrap.is-favorite .subject-card{border-color:color-mix(in srgb,var(--gold) 65%,var(--line));box-shadow:inset 3px 0 0 var(--gold)}
.station-fav{display:none;font:900 22px AtlasSans,sans-serif;fill:#ffd66b;stroke:#08101d;stroke-width:4;paint-order:stroke;pointer-events:none}
.station.is-favorite .station-fav{display:inline}

/* Map-mode toggle sits beside the title, not under the caption, so it never lands on the Country lens row. */
@media(min-width:761px){
  .map-heading{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:16px;row-gap:6px;max-width:calc(100% - 48px)}
  .map-heading>h2{grid-column:1;grid-row:1}
  .map-heading>.map-mode-tabs{grid-column:2;grid-row:1;margin-top:0}
  .map-heading>p{grid-column:1/-1;grid-row:2;margin:0}
}
@media(min-width:1001px){
  .map-mode-tabs button{min-height:30px;padding:5px 12px}
  .country-explorer{top:90px}
  .history-branches{top:146px}
}
/* Tablet header stacks brand + search + view tabs (44+46+54 + gaps/padding = 185px); the old 124px pushed the era slider under the bottom route dock. */
@media(min-width:761px) and (max-width:1000px){:root{--header-h:185px}}
/* Timeline history-type chips carry the same colour dot as their map-rail line. */
.timeline-lenses button.is-branch-lens{display:inline-flex;align-items:center;gap:7px}
.timeline-lenses button.is-branch-lens::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--lens-color,var(--gold));box-shadow:0 0 0 2px color-mix(in srgb,var(--lens-color,var(--gold)) 30%,transparent)}
.timeline-lenses button.is-branch-lens[aria-pressed="true"]::before{background:#08101d;box-shadow:0 0 0 2px var(--lens-color,var(--gold))}
/* Click-through copy of the country labels drawn above the pins; the real, clickable anchors stay in #country-map-layer below. */
.country-label-overlay,.country-label-overlay *{pointer-events:none!important}
.country-label-overlay .country-anchor-hit,.country-label-overlay .country-anchor-leader{display:none}
.country-label-overlay .country-anchor[data-pressed="true"] .country-anchor-dot{fill:#14223a;stroke:#fff;stroke-width:2.5}
/* Phones: 12 lens chips wrapped into a ~270px block; keep them on one swipeable row with a fade hinting at more. */
@media(max-width:560px){
  .timeline-lenses{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding-bottom:2px;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  .timeline-lenses::-webkit-scrollbar{display:none}
  .timeline-lenses button{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
}
/* Long source names (e.g. "U.S. Department of State, Office of the Historian: …") wrap instead of widening the whole dossier. */
.moment-source{width:auto;min-width:0;justify-self:start;overflow-wrap:anywhere}
.atlas-map.hide-countries #country-label-overlay{display:none}
.atlas-map.hide-countries #world-country-label-layer{display:none}
/* Phones: the History/Sports switch used to vanish in History mode (the heading is hidden). Keep it in the country-strip row with short emoji labels; the full label stays the button's accessible name. */
@media(max-width:760px){
  .atlas-shell:not(.is-sports-map) .map-heading{display:block;position:absolute;top:6px;left:8px;width:auto;z-index:7;pointer-events:none}
  .atlas-shell:not(.is-sports-map) .map-heading>h2,.atlas-shell:not(.is-sports-map) .map-heading>p{display:none}
  .map-mode-tabs{margin-top:0;width:150px;padding:3px;border-radius:8px}
  .map-mode-tabs button{flex:1 1 0;min-width:0;min-height:34px;padding:0 4px;font-size:0;border-radius:6px}
  .map-mode-tabs button::before{content:attr(data-short);font-size:11px;letter-spacing:0;white-space:nowrap}
  .atlas-shell:not(.is-sports-map) .country-explorer{box-sizing:border-box;padding-left:164px}
}
/* Story names scrolled under the time-zone ruler used to show through its 72% band and tangle with the times; make the band opaque with a hairline edge. */
.tz-ruler-bg{fill:rgba(3,7,18,.96);stroke:rgba(229,197,134,.18);stroke-width:.6}

/* Key-moment "More detail" fold */
.moment-detail{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025)}
.moment-detail summary{min-height:36px;display:flex;align-items:center;padding:0 10px;color:var(--gold-light);font-size:12px;font-weight:800;cursor:pointer;list-style:none}
.moment-detail summary::-webkit-details-marker{display:none}
.moment-detail summary::after{content:"▾";margin-left:auto;transition:transform .2s ease}
.moment-detail[open] summary::after{transform:rotate(180deg)}
.moment-detail>p{margin:0 10px 6px;font-size:13px;line-height:1.55;color:var(--text)}
.moment-detail blockquote{margin:0 10px 6px;padding-left:9px;border-left:3px solid var(--gold);color:#c9cfdd;font-size:12px;font-style:italic;line-height:1.5}
.moment-detail .moment-source{display:inline-block;margin:0 10px 10px}

/* ===== v4-79 calm-down polish (2026-10-08) — less clutter, easier reading ===== */
/* Left rail: one readable column, quiet dividers, footer never collides with the list. */
@media(min-width:761px){
  .route-rail{padding:22px 12px 14px;gap:0}
  .route-intro h1{font-size:21px;line-height:1.14;letter-spacing:-.025em;max-width:none}
  .route-intro p{margin:8px 0 14px;font-size:10.5px;letter-spacing:.12em;color:var(--gold)}
  #route-list{flex:1 1 auto;min-height:0;overflow-y:auto;gap:3px;padding:0 4px 8px 0;scrollbar-width:thin;scrollbar-color:rgba(201,168,76,.4) transparent;overscroll-behavior:contain}
  .route-button{min-height:58px;padding:9px 8px;border:1px solid transparent;border-radius:10px;gap:10px;grid-template-columns:18px 1fr auto}
  .route-button:not([aria-pressed="true"]):hover{background:rgba(255,255,255,.05);color:var(--text);border-color:var(--line)}
  .route-button:not([aria-pressed="true"]):hover small,.route-button:not([aria-pressed="true"]):hover span{color:var(--muted)}
  .route-button strong{font-size:13.5px;line-height:1.2}
  .route-button small{font-size:11.5px;line-height:1.35;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .route-button>span:last-child{min-width:26px;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.07);text-align:center;font-size:11px;font-weight:700}
  .route-button[aria-pressed="true"]>span:last-child{background:rgba(8,16,29,.16)}
  .route-button[aria-pressed="true"]{border-color:transparent;box-shadow:0 6px 18px rgba(0,0,0,.28)}
  .surprise-button{flex:0 0 auto;margin-top:10px;min-height:44px;font-size:13px}
  .prototype-note{flex:0 0 auto;margin:10px 2px 0;font-size:11px;line-height:1.4;color:var(--muted)}
}
/* Map header: caption reads as a sentence, not a shouted label. */
@media(min-width:761px){
  .map-heading p{font-size:12.5px;letter-spacing:.01em;text-transform:none;color:var(--gold-light);font-weight:650}
}
/* Country lens: pills with a soft edge fade; thin scrollbar so the row is not a bar + a rail + a ruler. */
.country-explorer{align-items:center}
.country-lens-label{letter-spacing:.1em;white-space:nowrap}
.station.is-clustered,.station.is-clustered *{visibility:hidden;pointer-events:none!important}
.story-cluster{cursor:pointer}
.story-cluster-circle{fill:#13243b;stroke:#e5c586;stroke-width:2;transition:fill .18s ease}
.story-cluster text{fill:#fff2ca;font:800 15px AtlasSans,sans-serif;pointer-events:none}
.story-cluster:hover .story-cluster-circle,.story-cluster:focus-visible .story-cluster-circle{fill:#355477;stroke:#fff2ca;stroke-width:3}
.story-routes-toggle{position:absolute;z-index:8;right:20px;bottom:270px;min-height:44px;padding:8px 12px;border:1px solid #71849d;border-radius:10px;background:#0b1626;color:#d4deeb;font:700 11px AtlasSans,sans-serif;cursor:pointer}
.story-routes-toggle[aria-pressed="true"]{background:#e5c586;color:#101827;border-color:#e5c586}
.story-routes-toggle[hidden]{display:none}
@media(max-width:600px){.story-routes-toggle{right:12px;bottom:198px;max-width:160px}}
@media(prefers-reduced-motion:reduce){.story-cluster-circle{transition:none}}
.country-strip{padding:2px 24px 7px 2px;scrollbar-width:thin;scrollbar-color:rgba(201,168,76,.35) transparent;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
.country-button{min-height:38px;border-radius:999px;padding:4px 12px 4px 8px;gap:8px;background:rgba(8,16,29,.82)}
.country-button span:not(.country-flag){font-size:12px;font-weight:650}
.country-button small{font-size:11px;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.07)}
.country-button:hover small,.country-button[aria-pressed="true"] small{background:rgba(201,168,76,.18)}
/* Map tools: one tidy column, same width and left edge. */
@media(min-width:761px){
  .layer-toggle,.empire-toggle,.timeline-toggle,.map-key summary{width:136px;justify-content:flex-start;border-radius:10px;font-size:12px}
  .timeline-toggle span{margin-left:auto}
  .map-key summary{box-sizing:border-box}
  .map-controls{border-radius:12px}
  .map-help{font-size:11.5px;opacity:.8}
}
/* Labels: stronger halo so names stay readable over crowded markers. */
.station-label{stroke-width:6}
.station.is-inspected .station-ring{stroke:#fff;stroke-width:3.5px}
.map-inspection-layer,.map-inspection-layer *{pointer-events:none!important}
.inspection-marker .station-ring,.inspection-marker .sports-venue-ring{stroke:#fff;stroke-width:3.5px}
/* Page views (Timeline / Explore / Countries): calmer rhythm and one reading width. */
.page-view{padding:30px 36px 56px}
.page-view-head{max-width:1040px}
.page-view-head h2{font-size:clamp(26px,2.4vw,36px);letter-spacing:-.02em}
.page-view-head p{font-size:14px;line-height:1.6;color:#aeb8cc;margin:8px 0 20px}
.timeline-lenses button,.explore-tabs button{min-height:38px;font-size:12.5px;transition:border-color .15s,background .15s}
.timeline-lenses button:not([aria-pressed="true"]):hover,.explore-tabs button:not([aria-pressed="true"]):hover{background:rgba(255,255,255,.05);border-color:var(--gold)}
.explore-list.is-categories{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.category-tile{border-color:var(--line);transition:transform .15s,border-color .15s,background .15s}
.category-tile:hover:not(:disabled){transform:translateY(-2px)}
.countries-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.country-card{min-height:84px;padding:14px;border-radius:12px;transition:transform .15s,border-color .15s,background .15s}
.country-card:hover{transform:translateY(-2px);background:rgba(201,168,76,.06)}
.country-card small{line-height:1.45}
.timeline-page-card{border-radius:14px}
@media(prefers-reduced-motion:reduce){.category-tile,.country-card{transition:none}.category-tile:hover:not(:disabled),.country-card:hover{transform:none}}
@media(min-width:1200px){:root{--rail-w:248px}}
@media(min-width:761px){
  .route-button small{-webkit-line-clamp:3}
  .country-strip{scrollbar-color:rgba(201,168,76,.22) transparent}
}
@media(max-width:760px){.page-view{padding:20px 16px 48px}.page-view-head p{font-size:13.5px}}
.country-strip{padding-bottom:12px}
@media(max-width:760px){.view-tabs{overflow-x:auto;scrollbar-width:none}.view-tabs::-webkit-scrollbar{display:none}.view-tabs button{flex:1 0 auto;padding:0 12px;white-space:nowrap}}
.route-note{margin:-6px 0 12px;font-size:11.5px;line-height:1.45;color:var(--muted)}
@media(max-width:760px){.route-note{display:none}}
.route-intro .route-note{text-transform:none;letter-spacing:0;color:var(--muted);font-size:11.5px;font-weight:400;margin:-6px 0 12px}

.map-stage.is-page-view .story-routes-toggle{display:none}
.map-help[hidden],.map-stage.is-page-view .map-help{display:none}
.atlas-map.hide-stories #story-cluster-layer,.atlas-map.is-empire-mode #story-cluster-layer{display:none}
@media(max-width:1000px){.map-help{display:block;left:12px;right:auto;bottom:150px;max-width:190px;padding:5px 8px;background:#0b1626;color:#d4deeb;border-radius:6px;font-size:11px;line-height:1.5}}
@media(max-width:760px){.map-help{left:8px;bottom:190px;max-width:145px}}
@media(max-width:760px){.story-routes-toggle{bottom:190px;right:8px;font-size:10px;max-width:160px}}
