/* The Living Mountain: quiet chrome, large readable type, measured landscape. */
:root { --gold:#dcb57b; --gold-soft:#f4dcba; --ink:#09151b; --glass:rgba(9,21,27,.86); --line:rgba(215,189,147,.27); }
#title h1 { font-size:clamp(27px,3.6vw,48px); font-weight:400; letter-spacing:.25em; }
#title h1 span { font-size:.55em; letter-spacing:.35em; margin-top:9px; color:#e6c6a0; }
#title p { font-size:10px; letter-spacing:.18em; color:#e0e9e3; }
#title .living-edition { color:#f1c688; margin-bottom:11px; font-size:9px; letter-spacing:.24em; }
#bar { border-color:rgba(199,214,202,.2); background:rgba(9,21,27,.91); box-shadow:0 8px 45px #0006; }
.entry { min-height:44px; font-size:12px; }
.chip { min-height:34px; display:inline-flex; align-items:center; justify-content:center; }
.sheet, .crystal-dialog, .evidence-dialog { background:#0b1a21f5; border-color:#acbaa640; }
.sheet h2, .crystal-dialog h2, .evidence-dialog h2 { font-weight:500; letter-spacing:.005em; }
.exp-launch { position:fixed; top:max(26px,env(safe-area-inset-top)); right:26px; z-index:18; background:#0b1a21e8; color:#f7dfbc; border:1px solid #ceb68c70; border-radius:28px; padding:12px 19px; min-height:44px; font-size:12px; cursor:pointer; opacity:0; pointer-events:none; transition:opacity .6s; }
body.intro-done .exp-launch { opacity:1; pointer-events:auto; }
body[data-mode='journey'] .exp-launch { display:none; }
.no-webgl .exp-launch { display:none; }
.exp-launch span { color:#91c8bc; margin-right:8px; }
#intro-invitation { position:fixed; bottom:max(56px,calc(env(safe-area-inset-bottom) + 32px)); left:24px; right:24px; z-index:10; text-align:center; pointer-events:none; opacity:0; transition:opacity 1.1s; text-shadow:0 2px 20px #000; }
body.loaded:not(.intro-done) #intro-invitation { opacity:1; }
#intro-invitation span { color:#f0ce9f; font-size:9px; letter-spacing:.3em; }
#intro-invitation p { font:400 clamp(20px,2.5vw,30px)/1.5 Georgia,serif; color:#fff2dc; margin:10px 0 20px; }
#intro-invitation i { display:block; margin:auto; height:1px; width:68px; background:linear-gradient(90deg,transparent,#e3c38f,transparent); }
body:not(.intro-done) #bar { display:none; pointer-events:none; }
body:not(.intro-done) .exp-launch { visibility:hidden; }
@media(max-width:600px) { #intro-invitation p { font-size:21px; } }
@media(prefers-reduced-motion:reduce) { #intro-invitation { transition:none; } }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible { outline:2px solid #94ddd0; outline-offset:4px; }
[data-web-signin] { display:grid; gap:8px; margin:16px 0; }
[data-web-signin] input { width:100%; box-sizing:border-box; padding:12px; border:1px solid #536469; border-radius:8px; background:#121d22; color:#f1f0e8; font:inherit; }
body.expedition-open #bar,body.expedition-open #title,body.expedition-open #hint,body.expedition-open .exp-launch { visibility:hidden; }
#expedition-dialog { border:1px solid #a0b0a13d; border-radius:22px; background:linear-gradient(125deg,#0c1d25f5,#101e23ed); color:#e6ece7; width:min(1200px,calc(100vw - 48px)); max-width:none; height:min(800px,calc(100dvh - 48px)); max-height:none; margin:auto; padding:0; overflow:auto; box-shadow:0 30px 100px #0008; }
#expedition-dialog::backdrop { background:#040c1260; backdrop-filter:blur(7px); }
.exp-head { display:flex; align-items:start; justify-content:space-between; gap:16px; padding:28px 34px 20px; border-bottom:1px solid #afc0b223; }
.exp-head h2 { font-weight:500; font-size:clamp(23px,3vw,32px); letter-spacing:-.02em; margin:7px 0 0; }
.exp-head h2:focus { outline:none; }
.exp-head-actions { display:flex; align-items:center; gap:18px; }
.exp-kicker { color:#d9b583; letter-spacing:.18em; text-transform:uppercase; font-size:10px; line-height:1.5; }
.exp-icon { width:42px; height:42px; border:1px solid #c0cbb23d; color:#eee7d6; background:transparent; border-radius:50%; cursor:pointer; font-size:24px; flex-shrink:0; }
.exp-catalog { display:grid; grid-template-columns:.9fr 1.8fr; gap:32px; padding:32px 34px; }
.exp-introduction h3 { font-family:Georgia,serif; font-weight:400; font-size:clamp(30px,3.7vw,48px); line-height:1.12; margin:18px 0 22px; letter-spacing:-.025em; color:#f6e3c6; }
.exp-introduction>p:not(.exp-kicker) { margin:14px 0; line-height:1.65; }
.exp-small { font-size:11px; line-height:1.65; color:#b0bcb7; }
.exp-routes { display:grid; gap:16px; }
.exp-route { display:grid; grid-template-columns:160px 1fr; text-align:left; padding:0; border:1px solid #abc8b528; border-radius:16px; overflow:hidden; color:inherit; background:#15252b9c; cursor:pointer; transition:background .2s,border-color .2s; }
.exp-route:hover { background:#203239; border-color:#e0c9a280; }
.exp-route-art { position:relative; display:flex; align-items:center; overflow:hidden; background:radial-gradient(ellipse at center,#663c293a,transparent); }
.exp-route-art svg { width:210px; max-width:none; margin-left:-20px; }
.exp-route-art .exp-svg-label,.exp-route-art .exp-svg-note { display:none; }
.exp-route.mineral .exp-route-art { background:#17343c60; }
.exp-route.ocean .exp-route-art { background:#122f3850; }
.exp-number { position:absolute; top:14px; left:18px; font-size:12px; letter-spacing:.12em; color:#c2c8b3; }
.exp-route-copy { padding:19px 22px; }
.exp-route-copy h3 { font-size:22px; font-weight:500; margin:7px 0 10px; letter-spacing:-.02em; }
.exp-route-copy>p:not(.exp-kicker) { font-size:12px; line-height:1.65; color:#c2cfca; }
.exp-route-link { display:flex; justify-content:space-between; color:#e9cb9c; font-size:11px; margin-top:13px; }
.exp-primary { background:#e4c28f; border:1px solid #e4c28f; color:#152128; padding:12px 18px; font-size:12px; border-radius:9px; min-height:44px; font-weight:650; cursor:pointer; }
.exp-primary:hover { background:#f0d7b1; }
.exp-primary:disabled { opacity:.45; cursor:default; }
.exp-text { display:inline-block; background:none; border:0; color:#dbccb1; font-size:11px; line-height:1.5; padding:9px 0; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.exp-text:disabled { opacity:.35; }
.exp-purchase-note { color:#a2c8be; font-size:10px; margin:24px 0 9px; }
[data-purchase-area] .exp-primary { width:100%; }
[data-purchase-area] .exp-text { margin-right:15px; }
.exp-status { font-size:11px; line-height:1.6; color:#bbc7c2; min-height:35px; }
.exp-preview-label { padding:8px 34px; font-size:10px; color:#172228; background:#e4c28f; letter-spacing:.08em; }
.exp-station { display:grid; grid-template-columns:1fr 1.15fr; gap:34px; padding:28px 34px 34px; }
.exp-science-art { align-self:start; position:sticky; top:20px; }
.exp-science-art svg { width:100%; }
.exp-svg-label { fill:#dfd9bd; font:11px system-ui,sans-serif; }
.exp-svg-note { fill:#9aafa9; font:9px system-ui,sans-serif; }
.exp-illustration-label { font-size:10px; text-transform:uppercase; letter-spacing:.14em; color:#e0b97f; text-align:center; margin:10px 0 24px; }
.exp-progress { display:flex; list-style:none; gap:10px; margin:10px 0 14px; }
.exp-progress li>span { display:flex; width:32px; height:32px; align-items:center; justify-content:center; border:1px solid #c6d0b82c; border-radius:50%; color:#98ada4; font-size:10px; }
.exp-progress .visited { background:#183d37; color:#c1dfd3; }
.exp-progress .current { background:#e4c28f; color:#1b2b30; border-color:#e4c28f; }
.exp-copy { font-size:15px; line-height:1.8; margin:13px 0 22px; color:#d9e2dd; }
.exp-question { border:0; margin:18px 0; }
.exp-question legend { font-size:13px; line-height:1.5; margin-bottom:13px; color:#f0d9b9; }
.exp-answer { display:block; width:100%; text-align:left; border:1px solid #c3cfb833; background:#0b1b2290; color:#ccd8d2; padding:13px 15px; font-size:12px; line-height:1.55; margin:8px 0; border-radius:9px; cursor:pointer; }
.exp-answer[aria-pressed='true'] { border-color:#ddbf8d; background:#46392f88; color:#f4dfb8; }
.exp-feedback { color:#9dd0c3; line-height:1.7; font-size:12px; margin-top:14px; }
.exp-source { border-top:1px solid #b9c9b727; padding:14px 0; font-size:11px; line-height:1.7; color:#adbcb4; }
.exp-source summary { color:#d5be98; cursor:pointer; }
.exp-source p { margin:9px 0; }
.exp-source a,.exp-journal a { color:#acddd1; }
.exp-station-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin:18px 0 12px; }
.exp-lab { background:#152a2f; border:1px solid #97baab30; padding:20px; border-radius:12px; margin:18px 0; }
.exp-lab label { display:block; color:#efdab9; font-size:12px; margin-bottom:12px; }
.exp-lab input[type='range'] { width:100%; accent-color:#ddbd88; min-height:36px; }
.exp-range-ends { display:flex; justify-content:space-between; font-size:10px; color:#a5c2b7; margin:0 0 16px; }
.exp-lab-result { color:#a7dace; font-size:12px; line-height:1.65; margin:10px 0; }
.exp-unlock { max-width:570px; margin:auto; text-align:center; padding:20px 30px 36px; }
.exp-unlock svg { max-height:230px; width:100%; }
.exp-unlock h3 { font-family:Georgia,serif; font-size:27px; font-weight:400; margin:5px 0 16px; }
.exp-unlock>p { line-height:1.75; font-size:13px; color:#bfcec6; }
.exp-journal { max-width:800px; margin:auto; padding:22px 34px 40px; }
.exp-journal article { margin:28px 0; }
.exp-journal h3 { font-family:Georgia,serif; font-weight:400; font-size:26px; margin:8px 0 20px; color:#edd3ad; }
.exp-journal-entry { border-left:1px solid #b3c6af40; padding-left:18px; margin:22px 0; font-size:13px; line-height:1.7; }
.exp-journal-entry h4 { color:#d5ded7; font-weight:500; margin-bottom:6px; }
.exp-journal-entry a { font-size:11px; }
.exp-journal>.exp-text { margin-left:20px; }
.exp-copy-fallback { width:100%; min-height:200px; color:#e4e7d4; background:#101d24; padding:14px; }
.experience-settings { margin:auto; border:1px solid #b3c5b34d; border-radius:18px; padding:28px; background:#0b1b23; color:#e7e4d3; width:min(430px,calc(100vw - 32px)); }
.experience-settings::backdrop { background:#0009; }
.experience-settings h2 { font-size:23px; font-weight:500; margin-bottom:12px; }
.experience-settings p { font-size:12px; color:#b3c5bc; line-height:1.7; }
.experience-settings label { display:block; margin:24px 0; font-size:13px; }
.experience-settings select { display:block; padding:11px; background:#193139; border:1px solid #b3c5b34d; border-radius:8px; color:#eddfc0; margin-top:10px; width:100%; font-size:13px; }
.experience-settings .exp-primary { margin-top:20px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media(max-width:760px) {
  #expedition-dialog { width:100%; height:100dvh; border:0; border-radius:0; }
  .exp-head { padding:calc(20px + env(safe-area-inset-top)) 22px 18px; }
  .exp-head-actions { gap:12px; }
  .exp-catalog { grid-template-columns:1fr; padding:25px 22px max(28px,env(safe-area-inset-bottom)); gap:26px; }
  .exp-introduction h3 { font-size:36px; }
  .exp-introduction h3 br:nth-of-type(2) { display:none; }
  .exp-route { grid-template-columns:110px 1fr; }
  .exp-route-art svg { width:170px; margin-left:-32px; }
  .exp-route-copy { padding:17px 16px; }
  .exp-route-copy h3 { font-size:20px; }
  .exp-station { grid-template-columns:1fr; padding:15px 22px max(26px,env(safe-area-inset-bottom)); gap:15px; }
  .exp-science-art { position:static; }
  .exp-science-art svg { max-height:245px; }
  .exp-illustration-label { margin:0 0 16px; }
  .exp-progress { justify-content:center; }
  .exp-science-art>.exp-small { text-align:center; }
  .exp-copy { font-size:14px; }
  .exp-station-actions { position:sticky; bottom:0; background:#0b1b23; padding:12px 0; z-index:1; }
  .exp-station-actions .exp-primary { margin-left:auto; }
  .exp-launch { top:max(19px,env(safe-area-inset-top)); right:16px; padding:10px 13px; font-size:11px; }
  #title p { max-width:240px; font-size:8px; }
  .exp-preview-label { padding:8px 22px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; } .exp-launch,.exp-route { transition:none; } .ra-disc { animation:none; } }
