:root{font-family:system-ui,sans-serif;color:#f1f7fb;color-scheme:dark;background:#07121b}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:#102b3ddd;border:1px solid #7ca4b366;border-radius:999px;padding:.6rem 1.05rem;cursor:pointer;backdrop-filter:blur(12px)}button:hover{background:#244d60}button:focus-visible,a:focus-visible{outline:2px solid #b8fff0;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}button[hidden],[hidden]{display:none!important}a{color:#a0e5da}#globe{width:100%;height:100%;display:block;outline:none}.masthead{position:absolute;top:25px;left:30px;display:flex;gap:20px;align-items:center;text-shadow:0 2px 8px #000;pointer-events:none;font-size:13px;letter-spacing:.04em}.masthead a{pointer-events:auto;font-size:18px;letter-spacing:.02em;color:#fff;text-decoration:none;font-weight:700}.masthead span{opacity:.8}#journey-toggle{position:absolute;top:18px;right:24px;z-index:5}#journey{position:absolute;top:70px;right:24px;width:min(330px,calc(100% - 48px));max-height:calc(100% - 200px);overflow:auto;background:#081924f2;border:1px solid #63839460;border-radius:18px;padding:10px;z-index:5;box-shadow:0 15px 50px #0006}#chapters{display:grid;gap:5px}#chapters button{text-align:left;border:0;border-radius:10px;background:transparent;font-size:14px;padding:12px}#chapters button[aria-current]{background:#204858;color:#abf2df}#welcome{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#05121ad9,#05121a22);z-index:6;pointer-events:none}.welcome-inner{pointer-events:auto;text-align:center;max-width:90vw;padding:32px}.eyebrow{text-transform:uppercase;color:#ace5dc;letter-spacing:.22em;font-size:12px}h1{font-size:clamp(42px,6.5vw,90px);line-height:1.04;font-weight:500;letter-spacing:-.055em;margin:24px 0 36px}h1 em{font-style:normal;color:#b4ebdd}#start{font-size:17px;font-weight:650;color:#08201f;background:#a7efda;border:0;padding:15px 32px}.sound-note{display:block;color:#c1d5db;font-size:12px;margin-top:18px;letter-spacing:.05em}#picture{position:absolute;left:28px;top:85px;margin:0;max-width:min(31vw,420px);max-height:calc(100% - 310px);pointer-events:none;filter:drop-shadow(0 10px 25px #0008);animation:reveal .7s ease}#picture img{display:block;max-width:100%;max-height:calc(100vh - 310px);width:auto;height:auto;border:3px solid #edf7f0b3;border-radius:4px;object-fit:contain}#caption-zone{position:absolute;bottom:120px;left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 48px));pointer-events:none;text-align:center}#subtitle{display:inline-block;font-size:clamp(17px,1.45vw,22px);line-height:1.45;background:#06131be8;border:1px solid #a7ccd02b;border-radius:12px;padding:12px 22px;box-shadow:0 3px 30px #0004;text-wrap:pretty;text-shadow:0 1px 3px #000}#transport{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:min(780px,calc(100% - 70px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;border-radius:18px;background:#091b27e8;border:1px solid #648b9b60;backdrop-filter:blur(15px)}.chapter-position{display:grid;gap:3px;min-width:0;font-size:14px}#chapter-number{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#8fb9c4}#chapter-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.buttons{display:flex;gap:6px;flex-shrink:0}.buttons button{font-size:13px;padding:9px 13px;background:#183849}#previous,#next{font-size:19px!important;padding:4px 13px!important}#status{position:absolute;bottom:calc(100% + 6px);right:5px;font-size:12px;background:#091b27dd;border-radius:6px;padding:3px 8px}#status:empty{display:none}#error{position:absolute;inset:30% 15%;z-index:10;background:#162b37;padding:20px;border-radius:12px}dialog{border:1px solid #55778b;border-radius:18px;background:#0b1e2c;color:#d9e8ee;max-width:min(640px,90vw);max-height:80vh;padding:28px;line-height:1.6}dialog::backdrop{background:#0009}#credits-close{float:right;padding:4px 12px}dialog p{font-size:13px}dialog a{font-size:13px}#credit-list article{border-top:1px solid #284455;margin:15px 0;padding-top:10px}#credit-list h3{margin:0;font-size:15px}@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:680px){.masthead{top:22px;left:16px}.masthead span{display:none}#journey-toggle{right:16px}#picture{top:80px;left:16px;max-width:42vw;max-height:calc(100% - 300px)}#picture img{max-height:calc(100vh - 300px)}#transport{bottom:14px;width:calc(100% - 54px);padding:10px;gap:6px}.chapter-position{font-size:11px}.buttons{gap:3px}.buttons button{font-size:11px;padding:8px}.buttons #credits-open{padding:8px 6px}#caption-zone{bottom:115px;width:calc(100% - 28px)}#subtitle{padding:10px 14px;font-size:17px;line-height:1.35}}@media(max-height:520px){#picture{top:65px;max-height:calc(100% - 230px)}#picture img{max-height:calc(100vh - 230px)}#caption-zone{bottom:90px}#subtitle{font-size:16px;padding:8px 14px}#transport{bottom:10px}.masthead{top:17px}h1{font-size:40px;margin:16px 0} .eyebrow{margin:8px 0}.sound-note{margin-top:10px}}@media(prefers-reduced-motion:reduce){#picture{animation:none}}

@media(max-width:680px){#transport{flex-direction:column;align-items:stretch}.chapter-position{text-align:center;gap:2px}#chapter-number{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#chapter-title{font-size:12px}.buttons{justify-content:center}}

.preload{display:grid;gap:8px;width:min(320px,70vw);margin:0 auto 24px;font-size:12px;color:#c1d5db}progress{width:100%;height:6px;border:0;border-radius:9px;overflow:hidden;accent-color:#a7efda}progress::-webkit-progress-bar{background:#365261}progress::-webkit-progress-value{background:#a7efda}

/* Photo chapters stay above the globe at the upper left, without cropping. */
#picture{z-index:1}#picture-year{position:absolute;right:10px;bottom:10px;font-size:13px;font-weight:650;letter-spacing:.04em;line-height:1.3;padding:2px 8px;border-radius:6px;background:#06131bd9;color:#f1f7fb}#picture img{object-fit:contain}
.masthead{z-index:3;filter:drop-shadow(0 1px 4px #000)}#caption-zone,#transport{z-index:4}

#language{font:inherit;font-size:15px;color:#e4f5f1;background:#102b3de8;border:1px solid #7ca4b366;border-radius:10px;padding:9px 34px 9px 14px;margin-bottom:10px;max-width:100%;cursor:pointer}
#language:focus-visible{outline:2px solid #b8fff0;outline-offset:3px}.buttons{flex-wrap:wrap;justify-content:center}#subtitles-toggle[aria-pressed="true"]{border-color:#a7efda;color:#b4ebdd}#subtitles-toggle[aria-pressed="false"]{opacity:.6}
/* Idle: controls fade out while the journey plays (shared/audio-journey.js) */
#transport,#journey-toggle{transition:opacity .5s ease,visibility 0s linear 0s}
.journey-idle #transport,.journey-idle #journey-toggle{opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s}
#caption-zone{transition:bottom .5s ease}
.journey-idle #globe{cursor:none}
@media(prefers-reduced-motion:reduce){#transport,#journey-toggle,#caption-zone{transition:none}}
/* Muted automatic start: one button turns the narration on */
#sound-on{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:6;background:#102b3df2;border-color:#a7efda;color:#d9fff4;box-shadow:0 3px 20px #0006}
