:root{font-family:"Segoe UI",Arial,sans-serif;color:#26392f;background:#f8f8f4;font-synthesis:none;--paper:#f8f8f4;--ink:#22372c;--line:#d7dcd2}
#site-language{margin-inline-start:auto;padding:6px 5px;max-width:7em;border:1px solid #bdcbbf;border-radius:5px;background:var(--paper);color:var(--ink);font:600 14px/1.2 "Segoe UI",sans-serif;cursor:pointer;flex-shrink:0}
.formation-head #site-language{margin-inline-end:8px}
.on-globe #site-language{background:#203039;color:#f4f5ee;border-color:#647c75}
:lang(zh-Hant-HK) :is(h1,h2,h3){letter-spacing:normal;line-height:1.17}
@media(max-width:600px){.topbar #site-language{padding:5px 2px;font-size:12px}.topbar .brand span{display:none}.on-globe .topbar .brand span{display:inline}.formation-head #site-language{font-size:12px}}
*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;display:grid;grid-template-rows:64px minmax(0,1fr) auto;overflow:hidden}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #b88c38;outline-offset:-3px}
svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.defs{position:absolute;width:0;height:0;overflow:hidden}
.topbar{background:var(--paper);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(15px,2.8vw,48px);border-bottom:1px solid var(--line);gap:12px;z-index:2}
.brand,.top-actions,.photo-action,.gesture,.dialog-top span,.download,.views-label{display:flex;align-items:center}.brand{gap:11px}.brand span{font:600 clamp(21px,2.1vw,28px)/1 Georgia,"Times New Roman",serif;letter-spacing:-1.2px}.brand .mark{width:36px;height:36px;stroke:none}
.top-actions{gap:5px}.icon,.photo-action,.dismiss{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center}.icon{width:38px;height:38px;border-radius:6px}.icon:hover,.photo-action:hover{background:#e8ece4}.photo-action{gap:9px;padding:9px 12px;border-radius:5px;font-size:14px;font-weight:550}.sep{height:21px;border-left:1px solid #ccd2c8;margin:0 7px}
.viewer{position:relative;min-height:0;background:#b7d1dd;overflow:hidden}.viewer:after{content:"";pointer-events:none;position:absolute;inset:42% 0 0;background:linear-gradient(0deg,rgba(8,29,29,.60),rgba(11,31,29,.13) 43%,transparent 80%)}#world{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#world.dragging{cursor:grabbing}
#loading{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:20px;font-weight:500;color:#334b48;background:#d4e1e4;z-index:2}#loading[hidden]{display:none}#loading.failed{background:linear-gradient(#0004,#0008),url("assets/overview.webp") center/cover;color:white;gap:14px}#loading a{color:white}
.compass{position:absolute;right:clamp(16px,2.5vw,45px);top:20px;display:flex;flex-direction:column;align-items:center;gap:1px;user-select:none;color:#314b4d}.compass span{font-size:12px;font-weight:700;line-height:1}.compass svg{width:40px;height:40px}.compass path{stroke:none}
.navigation{position:absolute;right:clamp(16px,2.5vw,45px);top:48%;transform:translateY(-50%);display:flex;flex-direction:column;background:rgba(248,249,243,.94);border:1px solid #ffffff9a;border-radius:8px;box-shadow:0 3px 15px #122b3329;z-index:1;padding:3px}.navigation .icon{width:35px;height:35px}.navigation i{width:21px;height:1px;background:#c7cec5;margin:2px auto}
.scene-caption{pointer-events:none;position:absolute;bottom:clamp(22px,3.6vh,45px);left:clamp(20px,3.5vw,64px);color:#fffdf4;z-index:1;text-shadow:0 2px 10px #102a2b40}.scene-caption p{margin:0}#eyebrow{font-size:12px;letter-spacing:2.1px;text-transform:uppercase;font-weight:650}#eyebrow b,.gesture b{margin:0 4px;opacity:.68}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(36px,4.1vw,71px);line-height:1.04;letter-spacing:-.048em;margin:7px 0}#local-name{font-size:14px;letter-spacing:.13em;opacity:.93}
.gesture{gap:7px;color:#fafbf5;position:absolute;right:clamp(18px,2.8vw,48px);bottom:clamp(20px,3.6vh,40px);font-size:13px;z-index:1;text-shadow:0 1px 5px #00212c95}.gesture svg{width:19px}.mobile{display:none}
.viewer-footer{display:contents}
.pan-keys,.direction-keys{display:flex;align-items:center;gap:3px}.direction-keys{flex:none}.pan-keys span{margin-right:3px}
.pan-keys button{min-width:27px;height:28px;padding:0 4px;border:1px solid #ffffff9c;border-radius:4px;color:#fff;background:#163132da;font-weight:600;touch-action:manipulation}
.pan-keys button:hover{background:#314f47}.pan-keys button:active,.pan-keys button.held{color:#193529;background:#edf3df;border-color:#fff}
.island-modes{position:absolute;left:clamp(14px,2.8vw,48px);top:60px;display:flex;gap:6px;z-index:2}
.island-modes .back-globe{position:static}
#tour-toggle{border:1px solid #d6dfd2;border-radius:6px;padding:6px 12px;background:#f8f9f2ef;color:#294536;font-size:14px;font-weight:600}
#tour-toggle[aria-expanded=true],#tour-next{background:#294536;color:white}
.forming #tour-toggle,.touring .views,.touring .gesture,#tour-dock[hidden]{display:none}
#tour-dock{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(16px,3vw,48px);border-top:1px solid var(--line);background:var(--paper);max-height:42dvh;overflow:auto}
.tour-copy{max-width:78ch}.tour-stop{display:flex;align-items:baseline;gap:10px}.tour-stop span{font-size:12px;font-weight:650;color:#546e58}.tour-stop strong{font:600 19px Georgia,serif}.tour-copy p{margin:5px 0 0;font-size:15px;line-height:1.45}
.tour-actions{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.tour-actions button{font-size:14px;font-weight:600;padding:7px 11px;border-radius:5px;border:1px solid #b8c7b8}.tour-actions button:disabled{opacity:.45}
.touring .scene-caption{display:none}
.thingvellir #stations,.thingvellir #island-stages,.tsing-shan #stations,.tsing-shan #island-stages,.po-toi #stations,.po-toi #island-stages{grid-template-columns:repeat(4,minmax(0,1fr))}
.thingvellir.forming #rift-picker,.thingvellir.touring #rift-picker,.thingvellir #sailboat,.thingvellir #dive,.thingvellir #return-to-land,.thingvellir .island-milestones,.tsing-shan #sailboat,.tsing-shan #dive,.tsing-shan #return-to-land,.tsing-shan .island-milestones,.po-toi .island-milestones{display:none}
#tour-dock{align-items:flex-start;flex-direction:column;gap:8px}
.tour-copy{max-width:90ch}.tour-stop{flex-wrap:wrap}
#tour-phase{color:#65532e;border-left:1px solid #bcc6b4;padding-left:10px}
#tour-style{border:1px solid #b8c7b8;border-radius:5px;padding:6px;color:#294536;background:var(--paper);font:inherit;font-size:14px}
#tour-reveal{color:white;background:#294536}
#tour-back,#tour-voice{background:transparent}
@media(max-width:950px){#tour-dock{display:block}.tour-actions{margin-top:8px}}
@media(max-width:700px){#tour-toggle,.tour-actions button{font-size:12px}.tour-copy p{font-size:14px}#tour-dock{padding:9px 13px}}
@media(max-width:700px){
  #tour-dock{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;justify-content:stretch;max-height:52dvh;overflow:hidden;padding-bottom:max(9px,env(safe-area-inset-bottom))}
  .tour-copy{min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .tour-actions{margin:0}
}
#walk-mode{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #edf2e5b3;border-radius:6px;background:#f8f9f2ef;color:#294536;font:600 14px/1.2 "Segoe UI",sans-serif;box-shadow:0 2px 9px #19302b1c}
#walk-mode svg{width:16px;height:16px}#walk-mode[aria-pressed=true]{color:white;background:#294536}
#walk-mode:disabled{opacity:.6}.forming #walk-mode,.walk-hint,.walking .gesture :is(.desktop,.mobile){display:none}
.walking .walk-hint{display:inline}.walking .pan-keys button{touch-action:none;user-select:none}
.walk-action{display:none}.walking .walk-action{display:block}.walking .walk-action:disabled{opacity:.55;cursor:default}
.walking .walk-action[hidden]{display:none}
.walking .gesture{flex-direction:column;align-items:flex-end;max-width:49%}
.walking .pan-keys{max-width:100%;flex-wrap:wrap;justify-content:flex-end;row-gap:5px}
.walking .pan-keys button{flex:none;white-space:nowrap;height:auto;min-height:28px;padding-block:3px}
@media(max-width:700px){
  .island-modes{left:13px;top:52px}#walk-mode{font-size:12px}
  .walking .viewer-footer{position:absolute;inset:auto 13px 9px;z-index:1;display:grid;gap:8px;pointer-events:none}
  .walking .viewer-footer .scene-caption,.walking .viewer-footer .gesture{position:static}
  .walking .gesture{align-items:flex-start;max-width:100%}.walking .walk-hint{display:none}
  .walking .pan-keys{justify-content:flex-start;pointer-events:auto}
  .walking .pan-keys button{min-width:34px;min-height:32px}
}
#offshore-notice{position:absolute;top:30%;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:12px;max-width:90%;padding:5px 6px 5px 12px;border:1px solid #c9d4c7;border-radius:7px;background:var(--paper);box-shadow:0 2px 10px #142d3326;font-size:14px}
#offshore-notice[hidden]{display:none}#return-to-coast{padding:8px 10px;border:0;border-radius:4px;background:#2d483a;color:white;font-weight:600;white-space:nowrap}
.views{display:flex;align-items:center;gap:clamp(17px,2.2vw,42px);padding:16px clamp(14px,2.8vw,48px) max(16px,env(safe-area-inset-bottom));background:var(--paper);min-width:0;border-top:1px solid #ffffffa6;z-index:2}.views-label{gap:9px;font-size:14px;font-weight:600;white-space:nowrap}.views-label svg{width:17px;height:17px}
#stations{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(5px,1.1vw,20px);flex:1}
.station{display:flex;align-items:center;padding:5px;gap:clamp(6px,.85vw,15px);border:1px solid transparent;background:transparent;color:#405248;border-radius:7px;text-align:left;font-size:14px;line-height:1.25;font-weight:550}.station img{width:clamp(45px,4.8vw,84px);height:46px;object-fit:cover;border-radius:3px;flex-shrink:0}.station:hover{background:#e9ede5}.station[aria-pressed=true]{background:#e8ede2;border-color:#91a38d;color:#233b2b}.station span{overflow-wrap:normal}
dialog{padding:0;border:1px solid #d9dfd3;border-radius:12px;background:var(--paper);color:var(--ink);max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px);box-shadow:0 20px 90px #071b2466}dialog::backdrop{background:#10242485;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:8px 12px 8px 18px;border-bottom:1px solid var(--line);font-weight:600;font-size:14px}.dialog-top span{gap:9px}.photo-dialog{width:635px}.photo-dialog img{display:block;width:100%;max-height:55dvh;object-fit:contain;background:#20312a}.photo-caption,.guide-body{padding:20px 24px}.photo-caption h2,.guide-body h2{font-size:28px;letter-spacing:-.035em;margin:0 0 8px}.photo-caption p,.guide-body p{margin:0;line-height:1.55;font-size:16px;color:#4c6053}.guide-dialog{width:462px}.guide-body dl{display:grid;grid-template-columns:auto 1fr;gap:9px 17px;padding:18px 0;border-block:1px solid var(--line);font-size:14px;line-height:1.45}.guide-body dt{font-weight:600}.guide-body dd{margin:0;color:#516257}.download{margin-top:19px;gap:9px;font-size:14px;text-decoration:none;color:var(--ink);font-weight:600}.download:hover{text-decoration:underline}.download small{font-size:12px;color:#66776a}
@media(min-width:1650px){.views{padding-block:20px}.station img{height:54px}}
@media(max-width:1000px){.views{gap:10px;padding-inline:12px}.views-label{display:none}.station{font-size:13px}.station img{width:45px}}
@media(max-width:700px){body{grid-template-rows:54px minmax(0,1fr) auto}.brand .mark{width:30px;height:30px}.brand{gap:8px}.photo-action{padding:8px}.photo-action span,.sep{display:none}.top-actions{gap:0}.topbar{padding-inline:13px}.views{padding:8px 5px max(9px,env(safe-area-inset-bottom))}#stations{gap:2px}.station{flex-direction:column;justify-content:flex-start;gap:4px;text-align:center;padding:4px 1px;font-size:12px;font-weight:600}.station img{width:calc(100% - 7px);max-width:75px;height:34px}.compass{right:15px;top:13px}.navigation{right:13px}.scene-caption{bottom:34px}#eyebrow{font-size:11px;letter-spacing:1.6px}#local-name{font-size:13px}.gesture{font-size:11px;left:20px;right:auto;bottom:9px;gap:5px}.gesture svg{width:15px;height:15px}.desktop{display:none}.mobile{display:inline}.photo-caption,.guide-body{padding:17px 20px}}
@media(max-height:480px) and (min-width:550px){body{grid-template-rows:43px minmax(0,1fr) auto}.topbar .mark{height:28px;width:28px}.views{padding-block:4px}.station img{height:32px}.scene-caption{bottom:13px}.scene-caption h1{font-size:29px}.compass{top:8px}.navigation{top:59%}.gesture{bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.location-picker{position:absolute;top:16px;left:clamp(14px,2.8vw,48px);display:flex;align-items:center;gap:7px;padding:4px 8px 4px 10px;border:1px solid #edf2e5b3;border-radius:6px;background:#f8f9f2ef;box-shadow:0 2px 9px #19302b1c;color:#294536;z-index:2}
.location-picker[hidden]{display:none}
.location-picker svg{width:15px;height:15px}.location-picker select{border:0;background:transparent;color:inherit;font:600 14px/1.3 "Segoe UI",sans-serif;cursor:pointer;min-height:26px}
.po-pin #stations{grid-template-columns:repeat(4,minmax(0,1fr))}.po-pin #island-stages{grid-template-columns:repeat(5,minmax(0,1fr))}.po-pin #loading.failed{background-image:linear-gradient(#0004,#0008),url("assets/po-overlook.webp")}
.sharp-island #stations{grid-template-columns:repeat(3,minmax(0,1fr))}
.sharp-island #island-stages{grid-template-columns:repeat(5,minmax(0,1fr))}
.sharp-island #loading.failed{background-image:linear-gradient(#0004,#0008),url("assets/sharp-kiutau.webp")}
.tide-control{position:absolute;left:clamp(14px,2.8vw,48px);top:105px;z-index:2;background:#f8f9f2ef;border:1px solid #d9e1d7;border-radius:6px;padding:5px 8px;color:#294536;font-size:14px;font-weight:600;box-shadow:0 2px 9px #19302b1c}
.tide-control select{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer}
.tide-control[hidden],.forming .tide-control,.touring .tide-control,.tide-settings [hidden]{display:none}
.touring #ash-panel.city-stop:not([hidden]){display:block}
#ash-panel[open]{width:min(260px,calc(100% - 66px));padding:8px 12px}
#ash-panel label{display:flex;align-items:center;gap:8px;margin-top:8px}
#ash-panel select{border:1px solid #a6b9ac;background:var(--paper);padding:3px;border-radius:4px}
#ash-panel p{margin:6px 0;font-weight:500}
#ash-panel small{color:#52695a}
.tide-control summary{cursor:pointer;padding:2px 1px}
.tide-control output{font-variant-numeric:tabular-nums}
.tide-settings{display:grid;gap:8px;width:min(250px,68vw);padding:8px 2px 3px;font-size:13px}
.tide-settings label{display:flex;align-items:center;justify-content:space-between;margin:5px 0}
.tide-settings select,.tide-settings input[type=date]{background:white;border:1px solid #bdc9bf;border-radius:4px;padding:4px;color:inherit;font:inherit}
.tide-settings input[type=range]{width:100%;margin:4px 0;accent-color:#3c654c}
.tide-settings small{font-weight:400;font-size:12px;line-height:1.35}
.tide-settings a{color:inherit}
#tide-play{background:#31523e;color:white;border:0;border-radius:5px;padding:6px 12px;font:inherit;cursor:pointer}
.tide-play-note{display:block;margin-top:6px}
.tide-control[open]{max-height:calc(100% - 114px);overflow:auto;overscroll-behavior:contain}
.tide-settings{width:min(315px,76vw)}
.tide-chart{margin:8px 0 9px}
.tide-chart svg{display:block;width:100%;height:auto;stroke:none}
.tide-chart text{fill:#495c57;font:11px "Segoe UI",sans-serif}
.tide-chart .grid{stroke:#cad6d0;stroke-width:.8}
#tide-windows{fill:#deead1}
#tide-crest-line{stroke:#678252;stroke-width:1;stroke-dasharray:3 3}
#tide-curve{fill:none;stroke:#216275;stroke-width:2.2}
#tide-peaks{fill:white;stroke:#216275;stroke-width:1.6}
#tide-cursor{stroke:#70401e;stroke-width:1.4}
#tide-current{fill:#a35622;stroke:white;stroke-width:1.3}
.tide-chart figcaption{font-size:12px;line-height:1.45;font-weight:400;font-variant-numeric:tabular-nums}
.tide-chart figcaption div{margin-top:3px}
.tide-chart figcaption span:first-child{font-weight:650}
.peak-key:before,.exposure-key:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px}
.peak-key:before{border:1.5px solid #216275;border-radius:50%;background:white}
.exposure-key:before{background:#deead1;border:1px solid #678252}
@media(max-width:700px){.tide-control{left:13px;top:90px;font-size:13px}}
@media(max-width:700px){.location-picker{top:12px;left:13px}.location-picker select{font-size:12px}}
@media(max-width:700px){.scene-caption{bottom:45px}}
@media(min-width:701px) and (max-width:1050px){.forming .gesture .desktop{display:none}}
#ambient-sound[aria-pressed="true"]{background:#dce9dc;color:#214c3e}
