:root {
  color-scheme: dark;
  --background: #070a09;
  --foreground: #f2f3e9;
  --muted: #a4ada4;
  --accent: #d4f788;
  --accent-rgb: 212, 247, 136;
  --line: rgba(226, 238, 218, .19);
  --gutter: clamp(24px, 4vw, 72px);
  --mono: 'Space Mono', monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { height: 100%; background: var(--background); }
body { margin: 0; width: 100%; height: 100%; height: 100dvh; overflow: hidden; background: var(--background); color: var(--foreground); font-family: 'Space Grotesk', sans-serif; -webkit-font-smoothing: antialiased; }
body[data-stage="1"] { --accent: #ffb47e; --accent-rgb: 255, 180, 126; }
body[data-stage="2"] { --accent: #a9e8f5; --accent-rgb: 169, 232, 245; }
body[data-stage="3"] { --accent: #c8b1fb; --accent-rgb: 200, 177, 251; }
body[data-stage="4"] { --accent: #e0ef9d; --accent-rgb: 224, 239, 157; }
button, input, a, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button, input { font: inherit; }
button, a, summary, input[type="range"] { cursor: pointer; }
button { color: inherit; border: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
button[hidden], section[hidden], div[hidden], [hidden] { display: none !important; }
::selection { color: var(--background); background: var(--accent); }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 16px; background: var(--accent); color: var(--background); }
.skip-link:focus { top: 16px; }
.scene-stage { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
#lab-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; touch-action: none; cursor: grab; transition: opacity 1.8s ease; }
#lab-canvas:active { cursor: grabbing; }
.scene-ready #lab-canvas { opacity: 1; }
.ambient-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(var(--accent-rgb), .075), transparent 52%), var(--background); }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #070a094d, transparent 22%, transparent 56%, #070a0922 67%, #070a09e6), radial-gradient(ellipse at center, transparent 32%, #070a094d 100%); }
.scene-grain { position: absolute; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.fallback-sculpture { position: absolute; width: min(40vw, 470px); aspect-ratio: 1; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); transition: opacity 1s; }
.fallback-sculpture i { position: absolute; inset: 10%; border: 1px solid rgba(var(--accent-rgb), .55); border-radius: 50%; transform: rotateY(58deg) rotateX(20deg); box-shadow: 0 0 24px rgba(var(--accent-rgb), .08); }
.fallback-sculpture i:nth-child(2) { transform: rotateY(-58deg) rotateX(20deg); }
.fallback-sculpture i:nth-child(3) { transform: rotateX(65deg); }
.fallback-sculpture b { position: absolute; inset: 34%; border: 1px solid rgba(var(--accent-rgb), .7); border-radius: 50%; background: radial-gradient(circle at 36% 28%, #a7b698, #2b362a 36%, #080c0a 72%); box-shadow: 0 0 60px rgba(var(--accent-rgb), .14); }
.scene-ready .fallback-sculpture { opacity: 0; }
.viewfinder { position: fixed; inset: 110px 23px 86px; pointer-events: none; z-index: 2; opacity: .5; }
.viewfinder i { position: absolute; width: 12px; height: 12px; border-color: var(--line); border-style: solid; border-width: 1px 0 0 1px; }
.viewfinder i:nth-child(1) { left: 0; top: 0; }
.viewfinder i:nth-child(2) { right: 0; top: 0; transform: rotate(90deg); }
.viewfinder i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.viewfinder i:nth-child(4) { left: 0; bottom: 0; transform: rotate(270deg); }
.lab-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 98px; padding: max(20px, env(safe-area-inset-top)) var(--gutter) 18px; background: linear-gradient(#070a09b3, #070a0900); }
.lab-brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.lab-brand > svg { width: 31px; height: 36px; stroke: var(--foreground); stroke-width: 1.25; }
.lab-brand > span { display: grid; gap: 5px; }
.lab-brand strong { font-size: 21px; letter-spacing: 6px; line-height: 1; font-weight: 500; }
.lab-brand small { font: 7px var(--mono); letter-spacing: 1.25px; color: var(--muted); }
.header-coordinate { display: flex; gap: 10px; align-items: center; font: 8px var(--mono); letter-spacing: 1.6px; color: var(--muted); margin: 0; }
.live-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px rgba(var(--accent-rgb), .45); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 10px; background: transparent; color: var(--muted); transition: color .2s, background .2s; }
.icon-button:hover { color: var(--foreground); background: rgba(var(--accent-rgb), .04); }
.icon-button svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; }
.icon-button[aria-pressed="true"] { color: var(--accent); }
.control-label { font-size: 11px; white-space: nowrap; }
#sound-toggle .sound-wave { display: none; }
#sound-toggle[aria-pressed="true"] .sound-wave { display: block; }
#sound-toggle[aria-pressed="true"] .sound-slash { display: none; }
.menu-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 15px; margin-left: 8px; font-size: 11px; background: #0e13105e; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.menu-button:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); }
.menu-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1; }
.menu-button svg circle { fill: var(--background); }
#journey { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.journey-heading { position: absolute; top: 137px; left: var(--gutter); }
.micro-label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font: 9px var(--mono); letter-spacing: 1.1px; line-height: 1.65; }
.tiny-plus { color: var(--accent); font-size: 16px; line-height: 1; }
.intro-statement { margin-top: 37px; font-size: clamp(28px, 3vw, 48px); line-height: 1.08; letter-spacing: -1.7px; font-weight: 400; transition: opacity 1s, transform 1.2s var(--ease-out); }
.intro-statement em { font-weight: 400; font-family: 'Newsreader', Georgia, serif; color: var(--accent); }
body[data-awake="true"] .intro-statement, body:not([data-stage="0"]) .intro-statement { opacity: 0; transform: translateY(-15px); }
.world-telemetry { position: absolute; right: var(--gutter); top: 146px; display: flex; align-items: center; gap: 13px; color: var(--muted); font: 8px var(--mono); letter-spacing: 1.4px; }
.telemetry-line { width: 34px; height: 1px; background: var(--line); }
.world-telemetry > span:last-child { font-size: 12px; color: var(--accent); }
.fragment-inventory { position: absolute; right: var(--gutter); top: 210px; text-align: right; opacity: 1; transition: opacity .7s; }
.fragment-inventory > .micro-label { justify-content: flex-end; font-size: 8px; }
body[data-stage="0"] .fragment-inventory { opacity: 0; }
.fragment-slots { display: flex; justify-content: flex-end; gap: 20px; margin-top: 14px; }
.fragment-slots > span { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #839081; font: 8px var(--mono); }
.fragment-slots svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: .8; opacity: .48; transition: color .45s, opacity .45s, filter .45s; }
.fragment-slots .is-collected, .fragment-slots [data-collected="true"], .fragment-slots .collected { color: var(--accent); }
.fragment-slots .is-collected svg, .fragment-slots [data-collected="true"] svg, .fragment-slots .collected svg { opacity: 1; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .5)); fill: rgba(var(--accent-rgb), .12); }
.target-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.scene-target { position: absolute; left: 0; top: 0; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--accent); background: transparent; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.target-reticle { position: absolute; inset: 3px; border: 1px solid rgba(var(--accent-rgb), .45); border-radius: 50%; background: rgba(7, 10, 9, .22); transition: background .2s, border-color .2s, scale .4s var(--ease-out); }
.target-reticle::before, .target-reticle::after { content: ''; position: absolute; inset: -5px; border: 1px solid transparent; border-top-color: var(--accent); border-bottom-color: var(--accent); border-radius: 50%; opacity: .6; }
.target-reticle::after { inset: 7px; border-top-color: transparent; border-bottom-color: transparent; border-right-color: rgba(var(--accent-rgb), .5); transform: rotate(-25deg); }
.scene-target > svg { position: relative; width: 22px; height: 22px; stroke: currentColor; stroke-width: 1; }
.scene-target:hover .target-reticle, .scene-target:focus-visible .target-reticle, .scene-target.is-active .target-reticle, .scene-target:active .target-reticle { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); scale: 1.08; }
.target-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 12px; font: 8px var(--mono); letter-spacing: 1.1px; white-space: nowrap; color: var(--foreground); text-shadow: 0 1px 8px #070a09; }
.target-label::before { content: ''; position: absolute; bottom: calc(100% + 4px); left: 50%; width: 1px; height: 6px; background: var(--accent); opacity: .65; }
.target-index { position: relative; font: 13px var(--mono); }
.fragment-target { width: 60px; height: 60px; }
.fragment-target .target-reticle { border-radius: 5px; transform: rotate(45deg); inset: 9px; }
.fragment-target .target-reticle::before { inset: -6px; border-radius: 0; border-left-color: var(--accent); border-bottom-color: transparent; width: 8px; height: 8px; }
.fragment-target .target-reticle::after { inset: auto -6px -6px auto; width: 8px; height: 8px; border-radius: 0; transform: none; border-bottom-color: var(--accent); }
.fragment-target .target-label { margin-top: 7px; }
.fragment-target .target-label::before { display: none; }
.arrival-caption { position: absolute; top: 73%; left: 50%; transform: translate(-50%, -50%); max-width: 380px; margin: 0; text-align: center; font: 10px var(--mono); line-height: 1.7; letter-spacing: 1px; color: var(--accent); text-shadow: 0 2px 12px var(--background); }
.arrival-caption:empty { display: none; }
.mission-dock { position: absolute; z-index: 6; bottom: 107px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; transition: opacity .4s ease, transform .65s var(--ease-out); }
.mission-panel { width: min(420px, 42%); }
.mission-kicker { margin: 0 0 13px; display: flex; align-items: center; gap: 9px; font: 9px var(--mono); color: var(--accent); letter-spacing: 1.8px; }
.mission-kicker::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
#mission-title { margin: 0; font-weight: 400; font-size: clamp(29px, 3.1vw, 46px); line-height: 1.08; letter-spacing: -1.8px; text-wrap: balance; }
.mission-copy { margin: 15px 0 0; max-width: 360px; color: #b0b9ad; font-size: 13px; line-height: 1.75; }
.interaction-panel { width: min(355px, 38%); pointer-events: auto; }
.task-readout { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
#mission-instruction { margin: 0; color: #c7cec3; font-size: 12px; line-height: 1.65; }
#task-value { flex-shrink: 0; color: var(--accent); font: 10px var(--mono); white-space: nowrap; line-height: 1.8; }
.task-progress { position: relative; height: 2px; margin: 13px 0 18px; background: #ffffff1a; overflow: hidden; }
.task-progress > span { display: block; height: 100%; width: 100%; transform: scaleX(var(--task-progress, 0)); transform-origin: left; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .5); transition: transform .14s linear, background .4s; }
.mission-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.action-button, .next-button { min-height: 52px; padding: 15px 22px; font-size: 12px; font-weight: 500; letter-spacing: .05px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; width: 100%; background: var(--accent); color: #12190d; transition: background .2s, box-shadow .25s, transform .2s; touch-action: none; user-select: none; -webkit-user-select: none; }
.action-button:hover, .next-button:hover { background: #f0ffd6; box-shadow: 0 0 32px rgba(var(--accent-rgb), .14); }
.action-button:active, .action-button.is-active, .next-button:active { transform: scale(.986); box-shadow: 0 0 38px rgba(var(--accent-rgb), .28); }
.action-button:disabled, .next-button:disabled { opacity: .55; box-shadow: none; }
.next-button { background: rgba(var(--accent-rgb), .07); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .55); touch-action: manipulation; }
.next-button:hover { background: rgba(var(--accent-rgb), .17); }
.next-button > span { font-size: 18px; }
.text-button { min-height: 44px; background: transparent; font-size: 11px; padding: 10px 0; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a4ada455; transition: color .2s; }
.text-button:hover { color: var(--accent); }
#replay-button { margin: -5px auto; }
.instrument-control { margin: 19px 0 14px; }
.instrument-label { display: flex; justify-content: space-between; gap: 12px; align-items: center; font: 8px var(--mono); letter-spacing: .8px; }
.instrument-label output { font-size: 10px; color: var(--accent); letter-spacing: 0; }
input[type="range"] { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 44px; margin: 2px 0 0; padding: 0; background: transparent; accent-color: var(--accent); touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: repeating-linear-gradient(90deg, #9ba998 0, #9ba998 1px, transparent 1px, transparent 7px), #313c32; }
input[type="range"]::-moz-range-track { height: 2px; background: #52614f; }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 15px; height: 23px; margin-top: -10px; border: 3px solid #131b12; border-radius: 1px; background: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .5), 0 0 15px rgba(var(--accent-rgb), .16); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 18px; border: 3px solid #131b12; border-radius: 1px; background: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .5); }
.instrument-scale { display: flex; align-items: center; gap: 16px; margin-top: -3px; font: 7px var(--mono); letter-spacing: .8px; color: var(--muted); }
.instrument-scale > i { height: 1px; background: var(--line); flex: 1; }
.completion-panel { position: absolute; z-index: 6; top: 185px; left: var(--gutter); max-width: 360px; animation: text-arrive 1.2s var(--ease-out) both; }
.completion-panel h2 { font-weight: 400; font-size: 36px; line-height: 1.14; letter-spacing: -1.3px; margin: 17px 0 13px; text-wrap: balance; }
.completion-panel > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.creation-tools { width: min(350px, 42%); pointer-events: auto; }
#creation-unavailable { margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.creation-heading { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 8px; }
.creation-heading .micro-label { flex: 1; font-size: 8px; letter-spacing: 1px; }
#stroke-count { color: var(--accent); font: 9px var(--mono); white-space: nowrap; }
.clear-strokes { min-height: 44px; padding: 0 4px 0 8px; background: transparent; color: var(--muted); font-size: 10px; }
.clear-strokes:disabled { opacity: .4; }
.clear-strokes:hover:not(:disabled) { color: var(--accent); }
.creation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.creation-button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; text-align: left; background: #0b1113d9; border: 1px solid #c9ebde33; font-size: 11px; color: #d3e0db; transition: border-color .2s, background .2s; }
.creation-button svg { width: 17px; height: 17px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.2; }
.creation-button:hover:not(:disabled), .creation-button[aria-pressed="true"] { border-color: var(--accent); background: #283325c9; color: var(--accent); }
.creation-button:disabled { opacity: .4; }
.is-drawing #lab-canvas, .is-drawing #lab-canvas:active { cursor: crosshair; }
body[data-stage="4"][data-complete="true"] .mission-panel { display: none; }
body[data-stage="4"][data-complete="true"] .task-progress { display: none; }
body[data-stage="4"][data-complete="true"] .task-readout { margin-bottom: 18px; }
body[data-stage="4"][data-complete="true"] #task-value { display: none; }
body[data-stage="4"][data-complete="true"] .fragment-inventory { opacity: .55; }
.exit-contemplation { position: fixed; z-index: 40; bottom: max(28px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; min-height: 44px; max-width: calc(100vw - 32px); padding: 12px 20px; color: #dae9d2; background: #0a1019ba; border: 1px solid #c8e6ca38; font-size: 11px; white-space: nowrap; backdrop-filter: blur(8px); }
.exit-contemplation:hover { border-color: var(--accent); }
.is-contemplating .lab-header, .is-contemplating #journey, .is-contemplating .lab-footer, .is-contemplating .viewfinder { visibility: hidden; opacity: 0; }
.is-contemplating .scene-vignette { opacity: .35; }
.lab-footer { position: fixed; z-index: 8; bottom: 0; left: var(--gutter); right: var(--gutter); min-height: 73px; padding: 14px 0 max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.journey-state { display: flex; align-items: center; gap: 15px; }
.journey-count { color: var(--accent); font: 9px var(--mono); white-space: nowrap; }
.journey-track { width: 94px; height: 2px; background: repeating-linear-gradient(90deg, #7a867755 0 16px, transparent 16px 20px); overflow: hidden; }
#journey-progress { width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--journey-progress, var(--progress, 0))); transition: transform 1.2s var(--ease-out), background .5s; }
.journey-state-label { color: var(--muted); font: 8px var(--mono); letter-spacing: 1px; }
.pointer-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; color: var(--muted); }
.pointer-hint svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.1; }
.about-button { background: none; min-height: 44px; display: inline-flex; align-items: center; gap: 17px; font-size: 11px; white-space: nowrap; padding: 8px 0; color: #bdc6b8; }
.about-button:hover { color: var(--accent); }
.scene-status { position: fixed; z-index: 30; top: 104px; left: 50%; transform: translateX(-50%); max-width: min(90vw, 470px); padding: 10px 18px; border: 1px solid rgba(var(--accent-rgb), .24); background: #11180feb; color: var(--accent); font: 10px var(--mono); line-height: 1.7; text-align: center; pointer-events: none; }
.scene-status:empty { display: none; }
.letterbox { position: fixed; left: 0; right: 0; height: clamp(24px, 6vh, 64px); z-index: 22; background: #030503; pointer-events: none; transition: transform .85s var(--ease-out); }
.letterbox-top { top: 0; transform: translateY(-100%); }
.letterbox-bottom { bottom: 0; transform: translateY(100%); }
.transition-caption { position: fixed; z-index: 23; top: 78%; left: 50%; width: calc(100% - 48px); max-width: 600px; text-align: center; transform: translate(-50%, 16px); color: var(--foreground); font-size: clamp(17px, 2vw, 25px); font-weight: 400; letter-spacing: -.3px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .4s, transform .9s var(--ease-out); text-shadow: 0 1px 20px #000; }
.is-travelling .transition-caption { opacity: 1; transform: translate(-50%, 0); }
.is-travelling .letterbox { transform: none; }
.is-travelling .mission-dock { opacity: 0; transform: translateY(18px); pointer-events: none; }
.is-travelling .interaction-panel, .is-travelling .scene-target { pointer-events: none; }
.is-travelling .scene-target, .is-travelling .arrival-caption, .is-travelling .fragment-inventory, .is-travelling .intro-statement { opacity: 0; }
.is-travelling .lab-footer, .is-travelling .journey-heading, .is-travelling .world-telemetry { opacity: .2; transition: opacity .4s; }
.lab-dialog { width: min(640px, calc(100vw - 48px)); max-height: calc(100dvh - 64px); overflow-y: auto; padding: 30px 40px 25px; color: var(--foreground); background: #111611; border: 1px solid #3b4436; box-shadow: 0 35px 120px #0008; scrollbar-width: thin; scrollbar-color: #536344 transparent; }
.lab-dialog::backdrop { background: rgba(3, 6, 4, .74); backdrop-filter: blur(12px); }
.lab-dialog[open] { animation: dialog-arrive .4s var(--ease-out) both; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.dialog-top .icon-button { margin-right: -10px; }
.lab-dialog h2 { font-size: clamp(27px, 3.5vw, 40px); font-weight: 400; line-height: 1.12; letter-spacing: -1.3px; margin: 0; }
.lab-dialog h2 em { font-family: 'Newsreader', Georgia, serif; color: var(--accent); font-weight: 400; }
.dialog-intro { font-size: 12px; line-height: 1.75; color: #b6c0ae; margin: 19px 0 25px; max-width: 460px; }
.experience-list { border-top: 1px solid var(--line); }
.experience-list > button { display: grid; grid-template-columns: 28px 1fr 1.35fr 15px; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 64px; background: transparent; border-bottom: 1px solid var(--line); padding: 12px 4px; transition: background .2s, color .2s; }
.experience-list > button:hover:not(:disabled) { background: rgba(var(--accent-rgb), .035); color: var(--accent); }
.experience-list > button:disabled { color: #6f7b69; }
.experience-list > button:disabled b { opacity: .15; }
.experience-list > button:disabled small { color: #7b8576; }
.experience-list > button[aria-current] { color: var(--accent); }
.experience-list > button > span { font: 9px var(--mono); color: var(--muted); }
.experience-list strong { font-weight: 400; font-size: 18px; }
.experience-list small { font-size: 10px; line-height: 1.6; color: #a8b4a0; }
.experience-list b { font-size: 16px; font-weight: 400; }
.discovery-control { min-height: 64px; margin-top: 19px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.discovery-control input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0 2px 0 0; flex-shrink: 0; }
.discovery-control > span { font-size: 12px; }
.discovery-control small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.index-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 13px; }
.index-footer > span { font: 8px var(--mono); color: var(--muted); }
.tech-list { border-top: 1px solid var(--line); }
.tech-list > div { display: flex; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.tech-list > div > span { color: var(--accent); font: 9px var(--mono); padding-top: 2px; }
.tech-list p { margin: 0; color: #adb7a6; font-size: 11px; line-height: 1.7; }
.tech-list strong { display: block; color: var(--foreground); font-size: 12px; font-weight: 500; margin-bottom: 5px; }
.research-details { margin-top: 15px; }
.research-details summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 44px; font-size: 11px; line-height: 1.6; list-style: none; }
.research-details summary::-webkit-details-marker { display: none; }
.research-details summary > span { color: var(--accent); font-size: 20px; }
.research-details p { font-size: 11px; line-height: 1.75; color: var(--muted); }
.source-links { display: flex; flex-direction: column; align-items: flex-start; }
.source-links a { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; color: var(--accent); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a8bb7855; }
.dialog-note { margin: 21px 0 4px; font-size: 10px; color: var(--muted); }
.dialog-note a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--foreground); }
.no-script { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 50; padding: 20px; background: #202a17; border: 1px solid var(--accent); text-align: center; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .completion-panel, .motion-paused .lab-dialog[open] { animation: none; }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes text-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1550px) { .mission-dock { bottom: 123px; } .mission-panel { max-width: 470px; width: 40%; } .mission-copy { font-size: 14px; max-width: 390px; } .interaction-panel { width: 375px; } .lab-footer { min-height: 83px; } .journey-heading { top: 160px; } .world-telemetry { top: 169px; } .fragment-inventory { top: 235px; } }
@media (max-width: 1100px) { .header-coordinate { display: none; } .header-actions { gap: 4px; } .mission-dock { gap: 36px; } .mission-copy { font-size: 12px; } .interaction-panel { width: 310px; } .journey-state-label { display: none; } .intro-statement { font-size: 33px; } .pointer-hint { font-size: 9px; } .fragment-inventory { top: 196px; } }
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .lab-header { min-height: 85px; padding-top: max(18px, env(safe-area-inset-top)); gap: 12px; }
  .lab-brand > svg { width: 24px; height: 28px; }
  .lab-brand { gap: 9px; }
  .lab-brand strong { font-size: 18px; letter-spacing: 4px; }
  .lab-brand small { font-size: 5.5px; letter-spacing: .9px; }
  .header-actions { gap: 0; }
  .header-actions .control-label, .fullscreen-button { display: none; }
  .menu-button { gap: 0; width: 44px; padding: 0; justify-content: center; margin-left: 3px; }
  .menu-button > span { display: none; }
  .menu-button::after { content: ''; position: absolute; }
  .viewfinder { inset: 100px 12px 69px; }
  .journey-heading { top: 113px; }
  .journey-heading > .micro-label { font-size: 7px; letter-spacing: .9px; }
  .intro-statement { font-size: 32px; line-height: 1.12; letter-spacing: -1px; margin-top: 23px; }
  .world-telemetry { display: none; }
  .fragment-inventory { top: 155px; }
  .fragment-inventory > .micro-label { font-size: 6px; max-width: 84px; margin-left: auto; letter-spacing: .7px; }
  .fragment-slots { gap: 11px; margin-top: 9px; }
  .fragment-slots svg { width: 20px; height: 20px; }
  .fragment-slots > span { font-size: 7px; }
  .scene-target { width: 56px; height: 56px; }
  .scene-target > svg { width: 19px; height: 19px; }
  .target-label { font-size: 7px; letter-spacing: 1px; }
  .target-index { font-size: 11px; }
  .fragment-target { width: 54px; height: 54px; }
  .mission-dock { bottom: 86px; display: grid; grid-template-columns: 1fr; gap: 19px; }
  .mission-panel, .interaction-panel { width: 100%; max-width: 100%; }
  .mission-kicker { font-size: 8px; margin-bottom: 9px; letter-spacing: 1.3px; }
  #mission-title { font-size: 29px; line-height: 1.07; letter-spacing: -1px; }
  .mission-copy { margin-top: 10px; max-width: 100%; font-size: 12px; line-height: 1.55; }
  #mission-instruction { font-size: 11px; line-height: 1.5; }
  #task-value { font-size: 9px; }
  .task-progress { margin: 10px 0 12px; }
  .action-button, .next-button { min-height: 48px; padding: 13px 18px; font-size: 11px; }
  .mission-actions { gap: 8px; }
  .mission-actions:has(.action-button:not([hidden])) .next-button:not([hidden]) { width: auto; flex: 1; }
  .mission-actions:has(.next-button:not([hidden])) .action-button:not([hidden]) { width: auto; flex: 1; }
  .instrument-control { margin: 12px 0 9px; }
  .instrument-label { font-size: 7px; }
  .instrument-scale { font-size: 6px; }
  .lab-footer { min-height: 65px; padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); gap: 8px; }
  .journey-state { gap: 10px; }
  .journey-count { font-size: 8px; }
  .journey-track { width: 74px; background-size: 16px 2px; }
  .pointer-hint { position: absolute; left: 0; right: 0; bottom: calc(100% + 12px); display: none; }
  .about-button { font-size: 10px; gap: 10px; }
  .arrival-caption { top: 55%; width: 75%; max-width: 300px; font-size: 8px; }
  .scene-status { top: 87px; max-width: calc(100% - 48px); width: max-content; padding: 8px 12px; font-size: 9px; }
  .completion-panel { top: 153px; max-width: 230px; }
  .completion-panel > .micro-label { font-size: 7px; }
  .completion-panel h2 { font-size: 28px; margin: 12px 0; }
  .completion-panel > p { font-size: 11px; }
  body:has(#completion-panel:not([hidden])) .fragment-inventory { opacity: 0; }
  body[data-stage="4"][data-complete="true"] .mission-panel { display: none; }
  .transition-caption { top: 72%; font-size: 19px; }
  .fallback-sculpture { width: 65vw; }
  .lab-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 30px); padding: 17px 23px 16px; }
  .dialog-top { margin-bottom: 11px; }
  .dialog-top > .micro-label { font-size: 8px; }
  .dialog-intro { font-size: 11px; margin: 15px 0 20px; }
  .lab-dialog h2 { font-size: 29px; letter-spacing: -.9px; }
  .experience-list > button { grid-template-columns: 20px 1fr 14px; gap: 10px; min-height: 61px; padding: 13px 2px; }
  .experience-list small { display: none; }
  .experience-list strong { font-size: 19px; }
  .discovery-control { margin-top: 14px; }
  .discovery-control > span { font-size: 11px; }
  .discovery-control small { font-size: 9px; }
  .index-footer { margin-top: 10px; }
  .index-footer > span { display: none; }
  .tech-list > div { gap: 14px; }
}
@media (max-width: 380px) {
  :root { --gutter: 19px; }
  .lab-header { gap: 7px; }
  .lab-brand > svg { width: 21px; height: 26px; }
  .lab-brand { gap: 8px; }
  .lab-brand strong { font-size: 16px; letter-spacing: 3px; }
  .lab-brand small { font-size: 5px; letter-spacing: .6px; }
  .header-actions .icon-button { padding: 8px; }
  .intro-statement { font-size: 28px; }
  .mission-dock { gap: 15px; }
  #mission-title { font-size: 26px; }
  .mission-copy { font-size: 11px; }
  .mission-kicker { font-size: 7px; }
  .lab-dialog { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 760px) and (max-height: 730px) {
  .journey-heading { top: 103px; }
  .intro-statement { margin-top: 16px; font-size: 27px; }
  .mission-dock { bottom: 73px; gap: 13px; }
  .mission-copy { font-size: 11px; line-height: 1.45; margin-top: 8px; }
  #mission-title { font-size: 26px; }
  .mission-kicker { margin-bottom: 7px; }
  .task-progress { margin: 8px 0 10px; }
  .instrument-control { margin-top: 8px; }
  .instrument-scale { display: none; }
  .fragment-inventory { top: 146px; }
  .completion-panel { top: 140px; max-width: 205px; }
  .completion-panel h2 { font-size: 25px; }
  .completion-panel > p { display: none; }
  .lab-footer { min-height: 58px; }
}
@media (max-width: 760px) and (max-height: 610px) {
  .lab-header { min-height: 74px; padding-top: max(11px, env(safe-area-inset-top)); padding-bottom: 11px; }
  .journey-heading { top: 90px; }
  .intro-statement { font-size: 25px; margin-top: 13px; }
  .mission-dock { bottom: 67px; gap: 10px; }
  .mission-kicker { margin-bottom: 6px; font-size: 7px; }
  #mission-title { font-size: 24px; }
  .mission-copy { font-size: 10px; line-height: 1.4; margin-top: 7px; }
  #mission-instruction { font-size: 10px; }
  .action-button, .next-button { min-height: 44px; padding: 11px 10px; }
  .lab-footer { min-height: 54px; padding-top: 4px; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .scene-status { top: 73px; font-size: 8px; }
  .viewfinder { inset: 84px 9px 60px; }
  .fragment-inventory { top: 126px; }
  .completion-panel { top: 123px; max-width: 182px; }
  .completion-panel h2 { font-size: 23px; }
  .arrival-caption { top: 51%; font-size: 7px; }
  .instrument-label { font-size: 6px; }
  input[type="range"] { margin-top: 0; }
}
@media (orientation: landscape) and (max-height: 560px) {
  :root { --gutter: max(24px, env(safe-area-inset-left)); }
  .lab-header { min-height: 70px; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .lab-brand > svg { width: 24px; height: 27px; }
  .lab-brand strong { font-size: 17px; letter-spacing: 4px; }
  .lab-brand small { font-size: 5px; }
  .header-coordinate { display: none; }
  .control-label { display: none; }
  .header-actions { gap: 1px; }
  .menu-button { min-height: 44px; }
  .journey-heading { top: 83px; }
  .journey-heading > .micro-label { font-size: 7px; }
  .intro-statement { font-size: 27px; line-height: 1.08; margin-top: 16px; }
  .world-telemetry { display: none; }
  .fragment-inventory { top: 88px; }
  .fragment-inventory > .micro-label { font-size: 6px; }
  .fragment-slots { margin-top: 8px; gap: 14px; }
  .fragment-slots svg { width: 20px; height: 20px; }
  .viewfinder { inset: 79px 12px 60px; }
  .mission-dock { display: flex; bottom: 69px; gap: 22%; align-items: flex-end; }
  .mission-panel { width: 37%; }
  .interaction-panel { width: 35%; }
  .mission-kicker { margin-bottom: 7px; font-size: 7px; }
  #mission-title { font-size: 27px; line-height: 1.05; }
  .mission-copy { margin-top: 9px; font-size: 10px; line-height: 1.5; }
  #mission-instruction { font-size: 10px; line-height: 1.5; }
  #task-value { font-size: 8px; }
  .task-progress { margin: 8px 0 11px; }
  .action-button, .next-button { min-height: 44px; padding: 10px 13px; font-size: 10px; }
  .instrument-control { margin: 9px 0 6px; }
  .instrument-label { font-size: 6px; }
  .instrument-scale { display: none; }
  .mission-actions { gap: 7px; }
  .lab-footer { min-height: 54px; padding-top: 4px; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .pointer-hint { display: none; }
  .journey-state-label { display: none; }
  .scene-target { width: 56px; height: 56px; }
  .scene-status { top: 72px; font-size: 8px; }
  .arrival-caption { top: 77%; max-width: 230px; font-size: 8px; }
  .completion-panel { top: 113px; max-width: 230px; }
  .completion-panel > .micro-label { font-size: 7px; }
  .completion-panel h2 { font-size: 26px; margin: 10px 0; }
  .completion-panel > p { display: none; }
  .transition-caption { top: 76%; font-size: 19px; }
  .lab-dialog { max-height: calc(100dvh - 24px); width: min(590px, calc(100% - 48px)); padding: 20px 30px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  body:is([data-stage="2"], [data-stage="3"]) .mission-panel { position: fixed; top: 160px; left: var(--gutter); right: var(--gutter); width: auto; isolation: isolate; }
  body:is([data-stage="2"], [data-stage="3"]) .mission-panel::after { content: ''; position: absolute; z-index: -1; inset: -12px calc(-1 * var(--gutter)) -18px; background: linear-gradient(180deg, #070a09a8, #070a0999 70%, transparent); pointer-events: none; }
  body:is([data-stage="2"], [data-stage="3"]) .mission-dock { gap: 0; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-inventory { top: 110px; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-inventory > .micro-label { display: none; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-slots { margin-top: 0; gap: 8px; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-slots svg { width: 16px; height: 16px; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-slots > span { gap: 3px; font-size: 6px; }
}
@media (max-width: 760px) and (max-height: 730px) and (orientation: portrait) {
  body:is([data-stage="2"], [data-stage="3"]) .mission-panel { top: 140px; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-inventory { top: 101px; }
}
@media (max-width: 760px) and (max-height: 610px) and (orientation: portrait) {
  body:is([data-stage="2"], [data-stage="3"]) .mission-panel { top: 124px; }
  body:is([data-stage="2"], [data-stage="3"]) #mission-title { font-size: 22px; text-wrap: initial; }
  body:is([data-stage="2"], [data-stage="3"]) .mission-copy { max-width: 270px; }
  body:is([data-stage="2"], [data-stage="3"]) .fragment-inventory { top: 87px; }
  .fragment-target .target-label { display: none; }
}
@media (max-width: 700px) and (max-height: 640px) {
  body:is([data-stage="2"], [data-stage="3"]) .mission-copy,
  body:is([data-stage="2"], [data-stage="3"]) .arrival-caption { display: none; }
}
@media (max-width: 760px) {
  .creation-tools { width: 100%; max-width: none; }
  .creation-heading { margin-bottom: 3px; }
  .creation-heading .micro-label { font-size: 7px; }
  .creation-grid { gap: 6px; }
  .creation-button { min-height: 44px; padding: 10px 12px; font-size: 10px; gap: 8px; }
  body[data-stage="4"][data-complete="true"] .mission-dock { gap: 12px; }
  body[data-stage="4"][data-complete="true"] .task-readout { display: none; }
  body[data-stage="4"][data-complete="true"] #replay-button { display: none; }
  body[data-stage="4"][data-complete="true"] .arrival-caption { display: none; }
  body[data-stage="4"][data-complete="true"] .completion-panel { max-width: 250px; }
  body[data-stage="4"][data-complete="true"] .fragment-inventory { display: none; }
  body[data-stage="4"][data-complete="true"] .completion-panel > p { max-width: 210px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  body[data-stage="4"][data-complete="true"] .mission-dock { gap: 20%; }
  .creation-tools { width: 43%; }
  .creation-heading .micro-label { font-size: 6px; }
  .creation-button { font-size: 9px; min-height: 44px; padding: 8px; gap: 7px; }
  body[data-stage="4"][data-complete="true"] .task-readout, body[data-stage="4"][data-complete="true"] #replay-button { display: none; }
  body[data-stage="4"][data-complete="true"] .completion-panel { top: 96px; }
  body[data-stage="4"][data-complete="true"] .completion-panel h2 { font-size: 21px; margin: 8px 0; }
}
@media (max-width: 760px) and (max-height: 650px) and (orientation: portrait) {
  body[data-stage="4"][data-complete="true"] .completion-panel { top: 115px; }
  body[data-stage="4"][data-complete="true"] .completion-panel > .micro-label { display: none; }
  body[data-stage="4"][data-complete="true"] .completion-panel h2 { font-size: 20px; max-width: 180px; margin: 0; }
  .creation-heading .micro-label { font-size: 6px; letter-spacing: .5px; }
  .creation-button { font-size: 9px; padding: 8px; }
  body[data-stage="4"][data-complete="true"] .mission-dock { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scene-grain { display: none; }
  .is-travelling .letterbox { transform: translateY(-100%); }
  .is-travelling .letterbox-bottom { transform: translateY(100%); }
}
