@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;font-family:'DM Sans',sans-serif;color:#e8f0f4;background:#08141f;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;color:inherit;border:1px solid #45606f;background:#142b39e8;border-radius:8px;padding:10px 15px}button:hover{background:#244250}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ffc782;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#atlas{height:100svh;min-height:760px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 60% 40%,#163447,#08141f 70%)}header{position:absolute;left:38px;right:38px;top:25px;display:flex;align-items:center;justify-content:space-between;z-index:12;gap:20px}.brand{font:700 16px 'Manrope',sans-serif;letter-spacing:.13em;text-decoration:none;color:#eef5f8;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{font-size:36px;color:#89e0e2}.edition{font:500 12px 'DM Sans',sans-serif;color:#a5b5c1;letter-spacing:.12em;margin-left:8px;border-left:1px solid #3b4f5b;padding-left:20px}nav{display:flex;gap:7px}nav button{font-size:13px;background:#0c1c2780;border-color:#34536280}#scene{position:absolute;inset:70px 0 30px}canvas{display:block;width:100%;height:100%;touch-action:none}#loading{position:absolute;top:48%;left:45%;font-size:16px;color:#b9dce5}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.geo-label{position:absolute;white-space:nowrap;color:#c1d1d8;text-shadow:0 2px 6px #08141f;font:500 12px 'DM Sans',sans-serif;transform:translate(-50%,-50%)}.geo-label.sea{font:italic 14px Georgia,serif;letter-spacing:.14em;color:#9ebccb}.geo-label.river{color:#c4f5f5}.geo-label.tributary{color:#a5fcf0;background:#0d343bd9;padding:6px 9px;border-radius:6px}.geo-label.source{color:#ffdeb4;background:#192a34e8;border:1px solid #967753;padding:7px 11px;border-radius:6px;max-width:235px;white-space:normal}.geo-label.source:before{content:'◉';margin-right:7px}.eyebrow{font-size:11px;letter-spacing:.16em;color:#8bd4dc;font-weight:700}.intro{position:absolute;top:120px;left:42px;width:315px}h1{font:500 43px/1.12 'Manrope',sans-serif;letter-spacing:-.045em;margin:14px 0}p{font-size:15px;line-height:1.65;color:#b7cbd6}.intro p{margin:14px 0 23px}.primary{width:100%;background:#b9edef;border:0;color:#112e38;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding:14px 16px}.primary:hover{background:#d0f9f8}.primary span:last-child{font-size:12px;font-weight:400}#panel{position:absolute;left:42px;top:390px;width:315px;padding:18px;border:1px solid #34536590;border-radius:13px;background:#102330ed;backdrop-filter:blur(15px)}.destination-options{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.destination-options button{font-size:12px;border-color:#3c5968;padding:8px 9px;display:flex;align-items:center;gap:6px}.destination-options button[aria-pressed=true]{background:#315263;border-color:#98cedb}.destination-options i{width:7px;height:7px;border-radius:50%;background:#8ce6ed}.destination-options .arabian-dot{background:#ffca8a}.destination-options .inland-dot{background:#c7b2ff}#destination-text{font-size:13px;line-height:1.55;margin:12px 0 18px}#panel>label{font-size:11px;letter-spacing:.14em;color:#b6ced9}select{width:100%;padding:12px;border:1px solid #456271;background:#152e3b;border-radius:7px;color:#f0f6f8;font-size:15px}#river{margin:9px 0 13px}.layers{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#c3d5dd}.layers label{display:flex;align-items:center;gap:7px;cursor:pointer}input[type=checkbox]{accent-color:#99e3e8;width:15px;height:15px;margin:0}.mapnote{font-size:11px;line-height:1.5;color:#9eb6c5;border-top:1px solid #324b59;padding-top:12px;margin:13px 0 0}.map-controls{position:absolute;right:30px;bottom:110px;display:flex;flex-direction:column;gap:7px}.map-controls button{font-size:21px;width:42px;height:42px;padding:0}.compass{position:absolute;right:42px;top:110px;display:flex;flex-direction:column;align-items:center;gap:6px;color:#b6cbd7;font-size:12px}.compass i{font-style:normal;font-size:27px;display:block}footer{position:absolute;bottom:14px;left:40px;right:35px;display:flex;justify-content:space-between;gap:18px;color:#a4b9c6;font-size:11px;pointer-events:none;text-shadow:0 2px 5px #071521}
.cinematic #scene{inset:75px 0 30px}.cinematic #scene:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#071521aa 0,transparent 40%),linear-gradient(0deg,#071521c9 0,transparent 24%)}.tour-heading{position:absolute;top:110px;left:42px;max-width:330px;z-index:3}.tour-heading h1{font-size:39px;margin:12px 0 8px}.tour-heading p{font-size:13px;line-height:1.6;margin:0 0 15px;max-width:300px}.tour-heading select{font-size:13px;max-width:270px;padding:10px}#exit-tour{position:absolute;right:35px;top:111px;font-size:12px}#resume-camera{position:absolute;top:185px;right:34px;background:#e3bf89;color:#142a32;border:0;font-weight:700;font-size:13px;z-index:4}#story-card{position:absolute;left:42px;bottom:187px;width:325px;z-index:3;padding:15px 0 0;border-top:1px solid #6b899960}#story-card h2{font:500 29px/1.18 'Manrope',sans-serif;letter-spacing:-.035em;margin:12px 0}#story-card p{font-size:15px;line-height:1.65;margin:0;color:#d0dfe7;text-shadow:0 2px 5px #0a1b24}#story-kind{color:#ffd6a1}.cinematic .compass{top:180px}.cinematic .map-controls{bottom:205px}#transport{position:absolute;bottom:50px;left:42px;right:35px;border:1px solid #55748380;border-radius:12px;background:#10232fee;backdrop-filter:blur(14px);overflow:hidden;z-index:5}#chapter-tabs{display:flex;border-bottom:1px solid #3c566880;padding:0 15px}.chapter-tab{flex:1;min-width:0;border:0;border-radius:0;background:transparent;color:#9fb5c3;padding:14px 5px 12px;font-size:12px;border-bottom:2px solid transparent}.chapter-tab[aria-current=step]{color:#ffdaaa;border-bottom-color:#ffc98b}.chapter-tab.passed{color:#d4e4eb}.chapter-tab:hover{background:#213b4a}.playback{display:flex;align-items:center;gap:11px;padding:15px 18px}.playback>button{height:37px;border:0;background:transparent;padding:0 8px}#play{width:40px;background:#e9c590;color:#17303d;border-radius:50%;font-size:15px;flex-shrink:0}#play-label{font-size:13px;color:#e3edf3;min-width:88px;text-align:left}#previous,#next{font-size:25px}.timeline{flex:1;min-width:0;margin:0 10px}.timeline-labels{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#bccfd8}#elapsed{white-space:nowrap;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:#ffc17b;cursor:pointer;margin:10px 0 0}#chapter-position{font-size:12px;font-variant-numeric:tabular-nums;color:#95b0c2;white-space:nowrap}#next-journeys{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}#next-journeys button{font-size:12px;padding:10px;background:#bfe7e5;color:#19333e;border:0}.muted{color:#a4b8c4}dialog{max-width:620px;width:calc(100% - 32px);max-height:85svh;background:#122a38;color:#eef6f9;border:1px solid #4d6b7c;border-radius:18px;padding:35px;box-shadow:0 25px 100px #000a}dialog::backdrop{background:#030c15bb;backdrop-filter:blur(8px)}dialog h2{font:500 32px/1.2 'Manrope',sans-serif}dialog a{color:#9ee5e9}dialog li{margin:10px 0;font-size:14px}dialog p{font-size:14px}#close-about{float:right;font-size:24px;padding:0;width:34px;height:34px}dialog h3{font-size:16px}
@media(min-width:621px) and (max-height:820px){.intro{top:105px}h1{font-size:35px}.intro p{margin:10px 0 16px}.intro .primary{padding:12px}#panel{top:345px;padding:15px}.destination-options{margin:10px 0}#destination-text{margin:8px 0 13px}.mapnote{font-size:11px;padding-top:9px;margin-top:11px}.tour-heading{top:108px}.tour-heading h1{font-size:32px}#story-card{bottom:178px}#story-card h2{font-size:26px}#story-card p{font-size:14px}.tour-heading p{max-width:305px}.playback{padding:12px 16px}}
@media(max-width:1000px){header{left:24px;right:24px}.edition{display:none}nav button{font-size:12px;padding:9px}.intro,#panel,.tour-heading,#story-card{left:24px;width:280px}.intro h1{font-size:37px}#transport{left:24px;right:24px}.tour-heading{max-width:280px}#story-card h2{font-size:25px}.chapter-tab{font-size:11px}.timeline-labels{font-size:11px}.playback{gap:5px}#play-label{min-width:70px;font-size:12px}#chapter-position{display:none}footer{left:24px;right:24px;font-size:10px}}
@media(max-width:620px){#atlas{height:auto;min-height:100svh;padding:80px 16px 22px;overflow:visible;display:flex;flex-direction:column}header{top:14px;left:16px;right:16px;align-items:flex-start;gap:10px}.brand{font-size:12px;gap:6px}.brand-mark{font-size:27px}nav{gap:3px;flex-wrap:wrap;justify-content:flex-end}nav button{font-size:10px;padding:7px}.edition{display:none}#scene,.cinematic #scene{position:relative;inset:auto;order:2;height:450px;margin:0 -16px}.intro{position:relative;inset:auto;width:auto;order:1}.intro h1{font-size:33px;margin:10px 0}.intro h1 br{display:none}.intro p{font-size:14px;margin:12px 0}.intro p br{display:none}.intro .primary{max-width:360px}.intro .eyebrow{font-size:10px}#panel{position:relative;inset:auto;width:auto;order:3;margin:10px 0;padding:18px}.destination-options button{font-size:13px}.layers{font-size:13px}#destination-text{font-size:14px}#river{font-size:16px}.map-controls{top:480px;right:14px;bottom:auto;gap:5px}.map-controls button{width:36px;height:36px}.compass{top:310px;right:23px}.geo-label{font-size:11px}.geo-label.sea{font-size:11px;letter-spacing:.06em}footer{position:relative;inset:auto;order:5;flex-direction:column;font-size:10px;gap:5px;margin-top:12px}#loading{left:14%;font-size:14px}.cinematic #scene{order:1;height:440px}.cinematic #scene:after{background:linear-gradient(0deg,#071521bb,transparent 25%)}#cinema{display:contents}.tour-heading{position:relative;inset:auto;order:0;width:auto;max-width:none;padding-right:0;margin-bottom:12px}.tour-heading h1{font-size:30px}.tour-heading p{max-width:none;margin:8px 0 12px}.tour-heading select{max-width:none;width:100%;font-size:14px}#exit-tour{position:relative;inset:auto;order:4;align-self:flex-start;margin-top:16px;padding:10px;font-size:12px}.cinematic .compass{top:300px}.cinematic .map-controls{top:440px;bottom:auto}#resume-camera{top:320px;right:60px;font-size:12px;padding:10px}#story-card{position:relative;inset:auto;width:auto;order:2;border-top:1px solid #496777;margin-top:8px;padding-top:18px}#story-card h2{font-size:27px}#story-card p{font-size:15px}#transport{position:relative;inset:auto;order:3;margin-top:20px}#chapter-tabs{display:none}.playback{padding:12px;flex-wrap:wrap;gap:9px}#play-label{min-width:100px}.timeline{flex-basis:100%;margin:4px 0 0}.timeline-labels{font-size:12px}#chapter-position{display:block;margin-left:auto}.eyebrow{font-size:11px}dialog{padding:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Local river scenes: the scene is the primary surface; controls sit at its edges. */
#local-overlay{position:absolute;inset:80px 0 180px;z-index:4;pointer-events:none}
#local-heading{position:absolute;top:22px;left:36px;max-width:65%;filter:drop-shadow(0 3px 12px #102e38)}
#local-region{font-size:12px;font-weight:700;letter-spacing:.2em;color:#f4d9ae}
#local-city{font:500 clamp(38px,4.7vw,68px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:12px 0 8px;color:#fff2db}
#local-place{font-size:16px;letter-spacing:.025em;color:#dce5dc;margin:0}
#local-locator{position:absolute;right:30px;top:23px;width:194px;padding:14px 15px 11px;border:1px solid #a6c8be50;border-radius:12px;background:#102f39c9;backdrop-filter:blur(12px)}
#local-locator>div{display:flex;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:.07em;color:#d1ded6}
#local-beat{color:#ffcf90}#route-locator{display:block;width:100%;height:87px;margin-top:5px}#route-locator text{fill:#d3ddd2;font:10px sans-serif}#locator-current{font-size:12px;color:#f6d6a8;font-weight:500}
#local-panel{position:absolute;top:178px;bottom:5px;left:36px;width:294px;overflow:auto;scrollbar-width:thin;pointer-events:auto;padding:18px 20px;background:linear-gradient(140deg,#13313cf2,#14353cdc);border:1px solid #a2bbb244;border-radius:14px;backdrop-filter:blur(13px)}
#local-panel .eyebrow{color:#d9bc91;font-size:10px}#local-detail-title{font:500 23px/1.2 Georgia,serif;letter-spacing:-.025em;margin:12px 0;color:#fff0d6}#local-description{font-size:14px;line-height:1.6;color:#d6e0da;margin:0 0 18px}
#local-actions{display:flex;flex-direction:column;gap:7px}#local-actions button{text-align:left;background:#bad2c40d;border-color:#c6d4ba40;font-size:14px;padding:11px 12px;border-radius:7px;min-height:42px}#local-actions button:before{content:'+';display:inline-block;width:20px;color:#f4c787}#local-actions button:hover,#local-actions button[aria-pressed=true]{background:#d8c19825;border-color:#e5c58d}
.local-view-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.local-view-controls button{font-size:12px;padding:9px 8px;background:transparent;color:#bed7cf;border-color:#a6bda940;flex:1;min-height:38px;white-space:nowrap}
#local-continue{width:100%;margin-top:12px;background:#f0ce95;color:#243c40;border:0;font-size:14px;font-weight:700;padding:13px}
#local-tip{font-size:12px;line-height:1.5;color:#a8c3bf;margin:14px 0 8px}#local-source{font-size:12px;color:#d4d6b8;text-decoration:none}.miniature-note{display:block;margin-top:8px;font-size:11px;color:#9bb9b4}
#local-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}.place-label{position:absolute;transform:translate(-50%,-100%);font-size:13px;padding:9px 12px;white-space:nowrap;border-color:#eed4a773;background:#143b42dd;color:#fff0d2;pointer-events:auto;box-shadow:0 5px 16px #0b263752}.place-label:after{content:'';position:absolute;width:1px;height:18px;background:#eed4a790;bottom:-19px;left:50%}.place-label:before{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#f5d191;bottom:-23px;left:calc(50% - 2px)}
.local-scene .tour-heading,.local-scene #story-card,.local-scene .compass,.local-scene .map-controls,.local-scene #resume-camera{display:none!important}.local-scene #scene:after{background:linear-gradient(90deg,#0b222a99,transparent 36%),linear-gradient(0deg,#0a243388,transparent 20%)}.local-scene #exit-tour{top:84px;right:30px;font-size:11px;padding:5px 9px;z-index:6}.local-scene footer{color:#b5c9c7}.local-scene #transport{background:#102f39ef;border-color:#9cbaa45c}.local-scene .chapter-tab[aria-current=step]{color:#ffdb9e}.local-scene #chapter-tabs{padding:0 8px}.local-scene .chapter-tab{font-size:12px}
#scene-transition{position:absolute;inset:0;pointer-events:none;z-index:6;background:#183c46;opacity:0}#scene-transition.crossing{animation:scene-crossing .7s ease-out both}@keyframes scene-crossing{from{opacity:.85}to{opacity:0}}
#local-error{position:absolute;right:30px;top:250px;max-width:270px;background:#142f3a;padding:16px;border-radius:10px;border:1px solid #d8b986;z-index:8;font-size:14px}#local-error button{margin-top:12px}
.geo-label.source{font-size:14px;font-weight:600;letter-spacing:.015em;border-color:#d8bb8b80;background:#14313bdc}.geo-label.source:before{content:'';margin:0}
@media(min-width:701px) and (max-height:820px){#local-overlay{bottom:170px}#local-panel{top:148px;padding:14px 16px;width:270px}#local-city{font-size:48px}#local-heading{top:15px}#local-place{font-size:14px}#local-detail-title{font-size:21px}#local-description{font-size:14px;margin-bottom:12px}#local-actions button{padding:9px;font-size:13px}#local-locator{top:28px;width:174px}}
@media(max-width:1050px) and (min-width:701px){#local-heading,#local-panel{left:24px}#local-panel{width:260px}#local-locator{right:22px;width:160px}#local-city{font-size:46px}.local-scene .chapter-tab{font-size:11px}}
@media(max-width:700px){.local-scene #atlas{height:auto;min-height:100svh;padding:80px 16px 22px;overflow:visible;display:flex;flex-direction:column}.local-scene #scene{position:relative;inset:auto;order:1;height:530px;margin:0 -16px}.local-scene #cinema,#local-overlay{display:contents;pointer-events:none}#local-heading{position:absolute;top:105px;left:22px;max-width:90%;z-index:4}#local-city{font-size:42px}#local-region{font-size:10px;letter-spacing:.12em}#local-place{font-size:14px}#local-locator{position:absolute;top:433px;right:16px;width:143px;padding:10px;z-index:4}#route-locator{height:65px}#local-locator>div{font-size:9px}#locator-current{font-size:11px}#local-panel{position:relative;inset:auto;order:2;width:auto;max-height:none;overflow:visible;pointer-events:auto;padding:20px;margin-top:12px}#local-detail-title{font-size:27px}#local-description{font-size:16px}#local-actions button{font-size:15px;min-height:46px}#local-tip{font-size:13px}.local-view-controls button{font-size:14px;min-height:44px}#local-continue{font-size:15px;min-height:46px}.local-scene #transport{position:relative;inset:auto;order:3;margin-top:16px}.local-scene #chapter-tabs{display:flex;overflow:auto;padding:0}.local-scene .chapter-tab{flex:none;min-width:95px;font-size:12px}.local-scene #exit-tour{position:relative;inset:auto;order:4;pointer-events:auto;align-self:flex-start;margin:16px 0 8px;font-size:13px;padding:10px}.local-scene footer{position:relative;inset:auto;order:5}.local-scene .playback{flex-wrap:wrap}.local-scene .timeline{flex-basis:100%}.place-label{font-size:12px;padding:9px}#local-error{top:250px;right:16px}}
@media(prefers-reduced-motion:reduce){#scene-transition.crossing{animation:none}}

/* The guide shares the existing reading panel in both map and miniature views. */
#story-card.has-guide>#story-kind,#story-card.has-guide>#story-title,#story-card.has-guide>#story-text,
#local-panel.has-guide>.eyebrow,#local-panel.has-guide>#local-detail-title,#local-panel.has-guide>#local-description{display:none}
#journey-guide{pointer-events:auto;margin:0 0 18px;min-width:0}
.guide-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px;color:#9fbdbd;font-size:11px;letter-spacing:.035em}
#guide-position{white-space:nowrap;font-variant-numeric:tabular-nums}
#guide-title{font:500 25px/1.18 Georgia,serif;color:#fff0d6;margin:10px 0 12px;letter-spacing:-.02em}
#guide-text,#story-card #guide-text{font-size:15px;line-height:1.65;color:#d9e5df;margin:0;min-height:7em;text-shadow:none}
#guide-source{display:block;color:#a9d9d7;font-size:11px;line-height:1.5;margin-top:12px;text-underline-offset:3px;overflow-wrap:anywhere}
.guide-buttons{display:flex;align-items:center;gap:7px;margin-top:16px}
.guide-buttons button{min-height:38px;padding:8px 10px;font-size:12px}
#guide-hold{flex:1;background:#264b50;color:#ffe0ad;border-color:#89b0a767}
#guide-hold[aria-pressed=true]{background:#e9c590;color:#17303d}
#guide-status,#story-card #guide-status{font-size:11px;line-height:1.4;color:#9db5b6;margin:9px 0 0}
#speed-control{display:flex;align-items:center;gap:8px;pointer-events:auto;color:#c3d7d9;font-size:12px;white-space:nowrap}
#journey-speed{padding:7px 8px;font-size:13px;min-height:36px;width:72px;background:#17343d;color:#ffe0ad;border:1px solid #608182;border-radius:7px;cursor:pointer}
#local-locator #speed-control{margin-top:10px;padding-top:10px;border-top:1px solid #577b7d66;justify-content:space-between;letter-spacing:0}
#speed-slot:empty{display:none}
.local-scene #transport{pointer-events:auto}
@media(min-width:701px){#local-panel.has-guide{width:320px}#local-panel.has-guide #guide-text{font-size:14px;min-height:0}#local-panel.has-guide .guide-top{margin-bottom:12px}#local-panel.has-guide #guide-title{font-size:23px}#local-panel.has-guide .guide-buttons{margin-top:12px}}
@media(min-width:701px){#story-card.has-guide{left:auto;right:35px;top:215px;bottom:180px;width:300px;overflow:auto;padding:18px;background:#102b36ed;border:1px solid #63868366;border-radius:13px;scrollbar-width:thin}}
@media(max-width:700px){.playback{flex-wrap:wrap}.timeline{flex-basis:100%}#journey-guide{margin-bottom:20px}#guide-title{font-size:27px}#guide-text,#story-card #guide-text{font-size:16px;min-height:0}.guide-buttons button{min-height:44px}#local-locator{top:395px}#local-locator #speed-control{font-size:11px}#local-locator #journey-speed{min-height:32px;padding:5px 6px}#story-card.has-guide{position:relative;inset:auto;order:2;width:auto}#speed-slot{margin-left:auto}}
@media(max-width:700px){.local-scene.guided-notes #scene{height:clamp(280px,44svh,430px)}.local-scene.guided-notes #local-city{font-size:36px}.local-scene.guided-notes #local-locator{top:calc(80px + clamp(280px,44svh,430px) - 160px)}.local-scene.guided-notes #route-locator{height:40px}.local-scene.guided-notes .guide-top{margin-bottom:12px}}
/* Project credits stay usable in both the atlas and miniature scenes. */
footer{align-items:center}
footer .project-links{display:flex;align-items:center;gap:18px;pointer-events:auto;flex-wrap:wrap;justify-content:center}
.project-links a{display:inline-flex;align-items:center;gap:5px;min-height:28px;color:#c8dedf;text-decoration:none;white-space:nowrap;border-bottom:1px solid transparent}
.project-links a:hover{color:#ffe0ad;border-bottom-color:#ffe0ad88}
.project-links a span{color:#79c9cf}
.about-project{margin:24px 0 0;padding:18px 0 0;border-top:1px solid #63868366}
.about-project h3{margin:0 0 8px}
.about-project .project-links{display:flex;gap:18px;flex-wrap:wrap}
#map-journey-tools{position:absolute;left:40px;top:290px;width:270px;z-index:6;padding:16px;background:#102b36ec;border:1px solid #63868366;border-radius:12px;color:#c3d9de;pointer-events:auto}
#route-progress-text{display:block;font-size:14px;color:#ffe0ad;margin-bottom:12px}
.route-legend{display:flex;flex-wrap:wrap;gap:10px 12px;font-size:11px;margin-bottom:14px}
.route-legend span{display:flex;align-items:center;gap:5px}
.route-legend i{width:18px;height:3px;border-radius:2px;background:#ffd18b}
.route-legend .onward{background:#55c6d7}.route-legend .incoming{background:#9aeee9}
#map-journey-tools button{display:block;width:100%;text-align:left;padding:9px 10px;border:1px solid #577c8666;border-radius:7px;background:#193e49;color:#e1eff0;cursor:pointer;font:inherit;font-size:12px;min-height:38px;margin-top:7px}
#map-journey-tools button:hover{background:#295561}#map-journey-tools button:disabled{opacity:.55;cursor:default}
#map-journey-tools p{font-size:10px;line-height:1.5;margin:12px 0 0;color:#9cb8bf}
.local-scene #map-journey-tools{display:none}
@media(min-width:701px) and (max-height:780px){#map-journey-tools{top:265px;padding:12px}#map-journey-tools p{margin-top:8px}}
@media(max-width:700px){#map-journey-tools{position:relative;inset:auto;width:auto;order:2;margin:12px 0 0;padding:14px}#map-journey-tools button{min-height:44px}.cinematic #story-card{order:3}.cinematic #transport{order:4}.cinematic #exit-tour{order:5}.cinematic footer{order:6}#route-progress-text{font-size:15px}.route-legend{font-size:12px}}
@media(min-width:701px) and (max-width:1000px){footer .map-hint{display:none}footer .project-links{gap:12px}}
@media(max-width:700px){footer{align-items:flex-start;gap:7px}footer .project-links{justify-content:flex-start;gap:16px;order:-1}footer .project-links a{min-height:44px}.about-project .project-links a{min-height:44px}}
