/* r9 only: existing landscapes, original calibrated SVGs, no WebGL. */
.paleo-journey[data-journey-expedition="true"][data-journey-phase="stop"][data-journey-finale="false"] .paleo-journey-stage{grid-template-rows:minmax(240px,1fr) auto auto;grid-template-columns:minmax(0,1fr);gap:8px;justify-content:stretch}
.paleo-journey[data-journey-expedition="true"][data-journey-phase="stop"][data-journey-finale="false"] .paleo-journey-scene{display:none}
.paleo-journey[data-journey-expedition="true"][data-world-scale="true"][data-journey-phase="stop"][data-journey-finale="false"] .paleo-journey-scene{display:block;grid-row:auto}
.paleo-journey[data-journey-expedition="true"] .paleo-world-size-button{display:block}
.paleo-journey[data-journey-expedition="true"] .paleo-journey-epochs,.paleo-journey[data-journey-expedition="true"] .paleo-journey-stage-footer{grid-row:auto}
.paleo-journey[data-journey-expedition="true"] .paleo-world-viewport{min-height:260px;max-height:520px}
.paleo-journey[data-journey-expedition="true"] .paleo-world-view-controls{flex-wrap:wrap;gap:6px}
.paleo-journey[data-journey-expedition="true"] .paleo-world-viewport[data-world-view="landscape"] + .paleo-world-view-controls [data-world-view="present"]{display:none}
.paleo-journey[data-journey-expedition="true"] .paleo-world-view-controls button{min-height:40px;font-size:12px;padding:7px 11px}
.exp-scenery{position:absolute;inset:0;z-index:2;pointer-events:none;--exp-sway:0deg;--exp-drift:0px}
.exp-scenery[hidden]{display:none}[data-world-arrival="orbit"] .exp-scenery{visibility:hidden}
.exp-actors,.exp-foreground{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.exp-actors{filter:drop-shadow(0 4px 4px #1a201c80);transform:translateY(calc(var(--exp-drift)*.12))}
.exp-foreground{transform:rotate(var(--exp-sway));transform-origin:50% 100%;filter:drop-shadow(0 7px 6px #051e1a80)}
.exp-foreground{opacity:.8}
[data-exp-ambience="wind"] .exp-water-light{display:none}
.exp-water-light{position:absolute;inset:58% 10% 12%;background:linear-gradient(171deg,transparent 40%,#e9ddad16 48%,transparent 52%,#e9ddad0d 58%,transparent 65%);transform:translateX(var(--exp-drift));mix-blend-mode:screen}
.exp-atmosphere{position:absolute;inset:25% 0 0;background:radial-gradient(ellipse at 26% 70%,#fff2c80a,transparent 43%);transform:translateX(calc(var(--exp-drift)*-.6))}
.exp-scene-caption{position:absolute;bottom:10px;right:12px;max-width:65%;color:#e4eedc;font-size:10px;text-shadow:0 1px 4px #09231d;text-align:right}
.paleo-page .exp-hotspot{position:absolute;left:var(--point-x,50%);top:var(--point-y,70%);transform:translate(-50%,-50%);pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;background:#092d33ed;border:1px solid #e5ce97;border-radius:30px;box-shadow:0 2px 0 #082c30,0 0 0 5px #edcf981c;color:#fff4d4;font-size:12px;white-space:nowrap}
.exp-hotspot>span:first-child{font-size:24px;line-height:1}
[data-exp-verified="true"] .exp-hotspot{border-color:#9de2b5;background:#224b3ce8;box-shadow:0 0 0 7px #a6e0ad24}
[data-exp-verified="true"] .exp-plant-target{filter:drop-shadow(0 0 8px #d4df8a88)}
.exp-sound-note,.exp-audio-status{font-size:10px;line-height:1.45;color:#b9d5cd;margin:4px 0 0}.exp-audio-status:empty{display:none}
.exp-image-fallback{min-height:44px;margin-top:8px}.exp-photo-error{font-size:12px;line-height:1.5;color:#e6d19a}
.exp-workbench{padding:18px;border:1px solid #85a58b73;background:linear-gradient(145deg,#1b3f3d,#0d2c36);border-radius:12px;margin:16px 0 20px;width:100%;box-sizing:border-box;scroll-margin-top:16px}.exp-workbench[hidden]{display:none}
.exp-eyebrow{color:#b2d69e;font-size:11px;letter-spacing:.04em;margin:0 0 8px}
.paleo-journey .exp-workbench h3{font-size:24px;line-height:1.25;color:#f1f2d8;margin:5px 0 14px}.exp-workbench>p{font-size:14px;line-height:1.65;color:#dceade}
.exp-study{margin:15px 0;background:#12353d;border:1px solid #7c9d8d66;border-radius:10px;overflow:hidden}
.exp-schematic{width:100%;height:auto;max-height:210px;display:block;transition:filter .15s ease;box-sizing:border-box}
.exp-study[data-detail="true"] .exp-schematic{filter:contrast(calc(1 + var(--detail,1)*.15)) brightness(calc(1 + var(--detail,1)*.15));outline:2px solid #bdcc8d;outline-offset:-5px}
.exp-observation-trace{opacity:var(--detail,0)}.exp-observation-trace *{fill:none!important;stroke:#efd99c!important;stroke-width:3}
.exp-study figcaption{padding:9px 11px;font-size:11px;line-height:1.5;color:#bdd6ce}
.exp-observe{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:9px 0 16px}.exp-observe label{display:block;flex:1 1 170px;font-size:12px;line-height:1.5;color:#c9e3d2}
.exp-observe input,.exp-split-label input{display:block;width:100%;min-height:36px;accent-color:#dcc38b}.paleo-page .exp-observe button{font-size:12px;min-height:42px;padding:8px 12px}
.exp-observation{border-left:3px solid #91baa1;padding:4px 0 4px 12px}
.exp-question{padding:14px 0 0;margin:17px 0 0;border:0;border-top:1px solid #71978566;display:grid;gap:9px}.exp-question legend{font-size:15px;line-height:1.5;font-weight:600;color:#f2edce;padding:0 0 8px;max-width:100%}
.paleo-page .exp-question button{text-align:left;min-height:48px;width:100%;font-size:14px;line-height:1.45;background:#133d44;padding:11px 14px;white-space:normal}.paleo-page .exp-question button[aria-pressed="true"]{background:#385b3d;border-color:#d6d29d;color:#fff8dc}
.exp-feedback{font-size:14px;line-height:1.65;color:#f2cc95;margin:13px 0}.exp-feedback:empty{display:none}.exp-feedback[data-correct="true"]{color:#b8edbf}
[data-exp-reward]{border:1px solid #93b99588;border-radius:9px;background:#20443888;padding:14px;margin:14px 0}[data-exp-reward][hidden]{display:none}[data-exp-reward]>p{font-size:14px;line-height:1.6;color:#e5f2de;margin:5px 0 13px}[data-exp-reward] .exp-earned{font-size:12px;letter-spacing:.02em;font-weight:650;color:#cbe7aa}
.exp-share-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px}.exp-share-status{font-size:12px;line-height:1.5;color:#d2e5cd}
.exp-link{display:block;font-size:12px;line-height:1.5;color:#d7e9d4}.exp-link[hidden]{display:none}.exp-link input{display:block;width:100%;box-sizing:border-box;min-height:44px;background:#0c2b35;color:#e8f2df;padding:9px;border:1px solid #86a992;border-radius:5px;font:inherit;font-size:12px}
.exp-limits,.exp-notebook{border-top:1px solid #75918466;margin:15px 0 0;font-size:13px;line-height:1.6;color:#d2e5d4}.exp-limits summary,.exp-notebook summary{min-height:44px;cursor:pointer;display:list-item;padding-top:8px}
.exp-sources{font-size:11px!important;line-height:1.6!important;overflow-wrap:anywhere}.exp-sources a{color:#bee4ce;text-underline-offset:3px}
.exp-notebook{width:100%;margin-top:20px}.exp-notebook ol{padding:0;list-style:none;display:grid;gap:7px}.paleo-page .exp-notebook button{display:flex;width:100%;justify-content:space-between;gap:10px;text-align:left;font-size:12px;line-height:1.4;min-height:45px;background:#143740}.exp-notebook button span{color:#dcd59a;font-size:11px;flex-shrink:0}
.exp-compare{width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:25px;border:1px solid #719b8b;border-radius:14px;background:#0d2d37;color:#e8f0df;box-sizing:border-box;overflow:auto}.exp-compare::backdrop{background:#02151ee8}
.paleo-page dialog.exp-compare[open]{display:block;width:min(900px,calc(100vw - 28px));max-width:900px;max-height:calc(100dvh - 32px);padding:25px;background:#0d2d37;color:#e8f0df;opacity:1;border:1px solid #719b8b;transform:none;animation:none;transition:none}
.paleo-page dialog.exp-compare h2{color:#edf4dc}.paleo-page dialog.exp-compare p,.paleo-page dialog.exp-compare label,.paleo-page dialog.exp-compare strong{color:#d2e5d4}
.paleo-page dialog.exp-compare::backdrop{background:#02151ee8}
.exp-compare header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:15px}.exp-compare h2{font-size:28px;line-height:1.2;margin:0 0 8px;color:#edf4dc}
.exp-compare button,.exp-compare select{font:inherit;background:#1a4046;color:#edf4dc;border:1px solid #779c88;border-radius:6px;padding:10px 13px;min-height:44px;cursor:pointer}.exp-compare button:focus-visible,.exp-compare select:focus-visible,.exp-compare input:focus-visible,.exp-hotspot:focus-visible{outline:3px solid #efd495;outline-offset:3px}.exp-compare header button{white-space:nowrap}
.exp-compare-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.exp-compare-tabs [aria-pressed="true"]{background:#36573f;border-color:#ccca91}.exp-comparison-select{display:block;font-size:12px;line-height:1.5;color:#c5decf;margin:10px 0}.exp-comparison-select select{display:block;margin-top:5px;width:100%;box-sizing:border-box}
.exp-compare-labels{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4;padding:8px 0}.exp-compare-labels strong{max-width:48%}.exp-compare-labels strong:last-child{text-align:right}
.exp-comparison-image{position:relative;isolation:isolate;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:9px;background:#102e38;--split:50%}.exp-comparison-image img{display:block;width:100%;height:100%;object-fit:contain}.exp-comparison-image>img{position:absolute;inset:0}.exp-comparison-after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split))}.exp-divider{position:absolute;inset:0 auto 0 var(--split);width:3px;background:#f4ddb0;box-shadow:0 0 8px #112d32;pointer-events:none}.exp-compare-globes img{padding:10px;box-sizing:border-box}.exp-compare-image-error{position:absolute;inset:auto 10px 10px;background:#102f38f0;padding:12px;font-size:13px;line-height:1.4}
.exp-comparison-image[data-exp-ready="false"] img{opacity:0}.exp-comparison-loading{position:absolute;inset:40% 15px auto;text-align:center;background:#102e38;color:#d2e5d4;padding:10px;font-size:14px}
.exp-split-label{display:block;margin:14px 0;font-size:13px;color:#dfecd9}.exp-compare-scope{font-size:12px;line-height:1.6;color:#b9d3c8}
.exp-differences{display:grid;grid-template-columns:1fr 1fr;gap:18px}.exp-differences section{padding:14px;border-left:2px solid #9baf80;background:#173e3d;border-radius:0 8px 8px 0}.exp-differences h3{font-size:16px;margin:0 0 10px;color:#eaf0d7}.exp-differences p{font-size:13px;line-height:1.55;margin:7px 0;color:#d1e4d2}
.exp-reading{border-top:1px solid #b2c6bc;margin-top:22px;padding-top:10px;font-size:15px;color:#214842}.exp-reading>summary{min-height:44px;cursor:pointer}.exp-reading section{margin:20px 0;padding:14px;background:#edf2e7;border-radius:9px}.exp-reading .exp-schematic{max-height:190px}.exp-reading .exp-sources a{color:#245443}
@media(max-width:1000px){.paleo-journey[data-journey-expedition="true"] .paleo-world-viewport{height:300px;min-height:300px}.paleo-journey[data-journey-expedition="true"] .paleo-journey-stage{padding-top:10px}.exp-scenery .exp-hotspot{font-size:12px}}
@media(max-width:540px){.paleo-journey[data-journey-expedition="true"] .paleo-world-viewport{height:245px;min-height:245px}.paleo-journey[data-journey-expedition="true"] .paleo-world-place{padding:9px 11px;background:linear-gradient(#092b35f5,#092b359c)}.paleo-journey[data-journey-expedition="true"] .paleo-world-place>.paleo-world-date{font-size:18px}.paleo-journey[data-journey-expedition="true"] .paleo-world-place>.paleo-world-period{font-size:10px;margin-top:3px}.paleo-journey[data-journey-expedition="true"] .paleo-world-view-controls{justify-content:flex-start;gap:5px}.paleo-journey[data-journey-expedition="true"] .paleo-world-view-controls button{font-size:10px;min-height:36px;padding:6px 8px}.paleo-page .exp-hotspot{font-size:10px;gap:5px;padding:6px 9px;min-height:40px}.exp-scene-caption{font-size:8px;bottom:7px;right:8px}.exp-sound-note{font-size:9px}.exp-workbench{padding:14px;margin-top:13px}.paleo-journey .exp-workbench h3{font-size:23px}.exp-compare{padding:15px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.exp-compare h2{font-size:23px}.exp-compare header{gap:10px}.exp-compare header button{font-size:11px;padding:8px}.exp-compare-labels{font-size:11px}.exp-compare-tabs button{font-size:12px;padding:9px}.exp-differences{gap:9px}.exp-differences section{padding:10px}.exp-differences h3{font-size:14px}.exp-differences p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.exp-schematic{transition:none}.exp-actors,.exp-foreground,.exp-water-light,.exp-atmosphere{transform:none!important}}
@media(max-width:540px){.paleo-page dialog.exp-compare[open]{padding:15px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}
@media(forced-colors:active){.exp-hotspot,.exp-workbench,.exp-question button,.exp-compare,.exp-differences section{border:1px solid CanvasText;background:Canvas;color:CanvasText}.exp-schematic,.exp-scenery{forced-color-adjust:none}}
