@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');
:root{color-scheme:dark;--ink:#e9eeef;--muted:#8c9aa6;--mint:#b7e6cd;--line:#ffffff18;--footer:224px;--header:76px}
*{box-sizing:border-box}body{margin:0;background:#05080c;color:var(--ink);font:14px 'DM Sans',sans-serif;overflow:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit;cursor:pointer}button{background:none;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:4px}button:disabled{opacity:.3;cursor:default}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
canvas,.vignette{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.vignette{background:linear-gradient(0deg,#05080c,transparent 36%,transparent 83%,#05080c99)}header{height:var(--header);padding:0 4%;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;background:linear-gradient(#05080cb0,transparent)}.brand{display:flex;align-items:center;font-family:'Space Grotesk',sans-serif;font-size:31px;font-weight:600;letter-spacing:-1.7px;gap:10px}.brand-icon{font-size:35px;color:var(--mint);font-weight:400}.brand-caption{font:9px 'DM Sans',sans-serif;letter-spacing:2px;color:var(--muted);margin-left:16px;padding-left:22px;border-left:1px solid var(--line)}nav{display:flex;background:#080e16b0;border:1px solid var(--line);border-radius:30px;padding:5px;gap:3px}.view{padding:10px 24px;border-radius:24px;font-size:12px;color:var(--muted)}.view.active{background:#ffffff0c;color:var(--ink);box-shadow:inset 0 0 0 1px #ffffff12}.view span{margin-left:10px}.quiet{font-size:11px;color:#a6b1b9}
main{position:relative;height:calc(100dvh - var(--header) - var(--footer));min-height:0;touch-action:none;cursor:grab}main.dragging{cursor:grabbing}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:500;color:#93a2af}.object-browser{position:absolute;top:18px;left:4%;right:4%;display:flex;align-items:center;gap:7px;overflow-x:auto;padding:3px 2px 9px;scrollbar-width:none;touch-action:pan-x}.object-browser::-webkit-scrollbar{display:none}.object-browser>span{font-size:7px;letter-spacing:1.6px;color:#83939f;margin-right:10px;white-space:nowrap}.object-browser button{flex-shrink:0;padding:7px 13px;border:1px solid var(--line);background:#0b121aba;border-radius:20px;font-size:10px;color:#aab8c3;transition:border-color .15s,color .15s}.object-browser button:hover,.object-browser button[aria-pressed=true]{border-color:#b7e6cd70;color:var(--mint)}
.moment-caption{position:absolute;top:82px;left:4%;max-width:365px;pointer-events:none;padding:0 12px 12px 0;background:radial-gradient(ellipse at left,#05080c9c,transparent 75%)}.moment-caption>.eyebrow{color:var(--mint);font-size:7px;letter-spacing:2px}.moment-caption h1{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:400;letter-spacing:-.8px;line-height:1.25;margin:11px 0}.moment-caption p{font-size:10px;color:#9baab7;line-height:1.75;max-width:305px;margin:0}.moment-caption button{pointer-events:auto;margin-top:12px;font-size:10px;color:var(--mint);padding:6px 0}body.has-focus .moment-caption{display:none}
#focus-panel{position:absolute;left:4%;top:82px;max-width:280px;padding:18px;background:#071017bb;border:1px solid #ffffff12;border-radius:8px;backdrop-filter:blur(16px);cursor:default}#focus-panel h2{font:400 27px 'Space Grotesk',sans-serif;margin:12px 0;letter-spacing:-1px}#focus-panel p{font-size:11px;line-height:1.8;color:#a7b5c1;margin:0 0 17px}#focus-panel>div{display:flex;justify-content:space-between;gap:15px}#focus-panel button{font-size:10px;color:var(--mint);padding:4px 0}
.event-card{display:none;position:absolute;right:4%;top:82px;width:290px;border:1px solid #c2d5e422;background:#08121deb;backdrop-filter:blur(18px);border-radius:9px;padding:23px;cursor:default;z-index:3}.show-info .event-card{display:block}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.2px;color:#8b9ba7}.status{color:var(--mint)}.event-card h3{font:500 21px 'Space Grotesk',sans-serif;letter-spacing:-.6px;margin:20px 0 12px}.event-card p{color:#a5b1bb;font-size:11px;line-height:1.9}.card-bottom{margin-top:20px;border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column;gap:9px}.card-bottom span{font-size:8px;letter-spacing:1.4px;color:#8496a3}.card-bottom strong{font-size:14px;font-weight:500}.event-card>button{width:100%;text-align:left;margin-top:20px;font-size:10px;color:var(--mint)}.event-card>button span{float:right}
.scene-bottom{position:absolute;left:4%;right:4%;bottom:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none}.scene-tools{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:#071019dc;gap:3px;padding:4px;pointer-events:auto;flex-shrink:0}.scene-tools button{min-width:30px;height:29px;font-size:18px;color:#aebcc6}.scene-tools span{font-size:10px;color:#aab8c3;min-width:39px;text-align:center}.scene-tools #reset{border-left:1px solid var(--line);margin-left:3px;font-size:18px}.scene-tools #info-toggle,.scene-tools #labels-toggle,.scene-tools #motion-toggle{width:auto;padding:0 9px;font-size:10px}.scene-tools button[aria-pressed=true]{color:var(--mint)}.scene-guide{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:7px;letter-spacing:1px;color:#8495a3;line-height:1.8}.scene-guide>button{font-size:8px;letter-spacing:0;pointer-events:auto;color:#9aaab7;white-space:nowrap;margin-left:7px}.live-dot{width:4px;height:4px;background:var(--mint);border-radius:50%;box-shadow:0 0 8px #b7e6cd60;flex-shrink:0}
footer{height:var(--footer);position:relative;padding:20px 4% 0;border-top:1px solid var(--line);background:#070d15eb;backdrop-filter:blur(18px)}.time-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.time-heading .eyebrow{font-size:7px}.time-number{font-family:'Space Grotesk',sans-serif;font-size:25px;letter-spacing:-.7px;margin-top:7px;min-height:32px;white-space:nowrap}.time-controls{display:flex;align-items:center;gap:5px}.time-controls>button{font-size:11px;color:#b0bec7;border:1px solid var(--line);border-radius:5px;height:34px;padding:0 12px}.time-controls #era-prev,.time-controls #era-next{font-size:15px;padding:0 10px}.time-controls #play{color:var(--mint);padding:0 13px;margin-left:5px}.play-icon{font-size:10px;margin-right:5px}.speed-control{display:flex;flex-direction:column;gap:3px;margin:0 9px 0 15px}.speed-control>span{font-size:6px;letter-spacing:1.5px;color:#91a0ab}.speed-control select{font-size:10px;background:#0a121b;border:0;outline-offset:2px;padding:0 15px 0 0;color:#bdcbd3}
.timeline-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-color:#35444f #0b131d;scrollbar-width:thin;margin-top:18px;touch-action:pan-x}.timeline-viewport::-webkit-scrollbar{height:4px}.timeline-viewport::-webkit-scrollbar-track{background:#0b131d}.timeline-viewport::-webkit-scrollbar-thumb{background:#35444f;border-radius:3px}.timeline-inner{position:relative;min-width:100%;height:81px;padding:22px 8px 0}.epoch-bands{position:absolute;left:8px;right:8px;top:0;height:16px;display:flex;gap:2px}.epoch-bands>span{font-size:6px;letter-spacing:1.5px;color:#9badbc;padding:0 10px;border-bottom:1px solid #c6dcfa1e;line-height:15px;white-space:nowrap}.epoch-bands>span:nth-child(2){color:#b8d8cb;border-color:#b7e6cd36}.epoch-bands>span:last-child{color:#c0b1d0;border-color:#c0b1d035}
input[type=range]{width:100%;margin:0;appearance:none;height:2px;background:linear-gradient(90deg,#9095c3,#aac8bf 69%,#6d597e);cursor:ew-resize;display:block;touch-action:none;--progress:0%}input[type=range]::-webkit-slider-thumb{appearance:none;background:#d1f4dd;border:4px solid #294637;width:16px;height:16px;border-radius:50%;box-shadow:0 0 20px #b7e6cd66}input[type=range]::-moz-range-thumb{background:#d1f4dd;border:4px solid #294637;width:8px;height:8px;border-radius:50%}.ticks{position:absolute;left:8px;right:8px;top:24px;height:45px}.ticks button{position:absolute;top:0;transform:translateX(-50%);font-size:8px;color:#8d9eac;padding:16px 2px 9px;white-space:nowrap}.ticks button:before{content:'';position:absolute;top:0;left:50%;height:6px;width:1px;background:#617481}.ticks button:first-child{transform:none}.ticks button:first-child:before{left:0}.ticks button:last-child{transform:translateX(-100%)}.ticks button:last-child:before{left:100%}.ticks button.active{color:var(--mint)}.ticks button.active:before{background:var(--mint);height:9px}.ticks button.today{font-weight:600}.ticks button.today:after{content:'NOW';position:absolute;top:32px;left:50%;transform:translateX(-50%);font-size:5px;letter-spacing:1px;color:#b7e6cd8f}.footer-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff09;padding-top:12px;margin-top:10px;font-size:8px;color:#82919e;gap:10px}.footer-meta b{font-weight:400;margin:0 9px}.footer-meta button{font-size:8px;color:#a9bac6;padding:0}.timeline-guide{font-size:6px;letter-spacing:1.3px}
dialog{width:min(610px,90vw);max-height:85dvh;border:1px solid #ffffff26;background:#101820;color:#dce4e7;border-radius:12px;padding:38px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#03070cc9;backdrop-filter:blur(6px)}dialog h2{font:400 30px 'Space Grotesk',sans-serif;letter-spacing:-.5px}dialog p{font-size:13px;line-height:1.85;color:#a8b5be}dialog a{color:var(--mint);text-decoration:underline}#close-modal{position:absolute;right:17px;top:10px;font-size:26px;color:#9ba9b2}dialog ul{padding-left:18px;line-height:2.3;font-size:12px}dialog .note{border-left:2px solid var(--mint);padding-left:15px}.catalog-photo{width:100%;max-height:320px;object-fit:contain;border-radius:5px;background:#05080e}.photo-credit{font-size:10px!important}.credit-list p{font-size:11px}
@media(max-width:1000px){.brand-caption{display:none}.scene-guide{max-width:44%}.time-number{font-size:22px}.time-controls>button{padding:0 9px}.speed-control{margin-left:8px}.timeline-guide{display:none}}
@media(max-width:760px){:root{--header:68px;--footer:202px}header{padding:0 4%;gap:12px}.brand{font-size:26px;gap:6px}.brand-icon{font-size:30px}.quiet{display:none}nav .view{padding:8px 13px;font-size:10px}.view span{margin-left:4px}.object-browser{top:9px;gap:5px}.object-browser>span{font-size:6px;margin-right:4px}.object-browser button{font-size:9px;padding:7px 11px}.moment-caption{top:67px;max-width:240px}.moment-caption h1{font-size:20px}.moment-caption p{font-size:9px;max-width:225px}.moment-caption button{font-size:9px}.moment-caption .eyebrow{font-size:6px}#focus-panel{top:65px;max-width:235px;padding:12px 14px}#focus-panel h2{font-size:21px;margin:8px 0}#focus-panel p{font-size:9px;line-height:1.65;margin-bottom:9px}#focus-panel button{font-size:9px}.scene-bottom{bottom:13px;gap:8px;align-items:flex-start;flex-direction:column-reverse}.scene-tools{align-self:flex-end}.scene-tools button{min-width:28px;height:29px}.scene-tools #info-toggle,.scene-tools #labels-toggle,.scene-tools #motion-toggle{font-size:9px;padding:0 7px}.scene-guide{max-width:100%;width:100%;font-size:5.5px;letter-spacing:.4px;gap:5px}.scene-guide>button{font-size:7px;margin-left:auto}.event-card{top:62px;left:4%;right:4%;width:auto;padding:18px;max-height:calc(100% - 110px);overflow:auto}.show-info .moment-caption,.show-info #focus-panel{visibility:hidden}.event-card h3{font-size:19px;margin-top:13px}.event-card p{font-size:10px}.card-bottom{margin-top:12px;padding-top:12px}.card-bottom strong{font-size:12px}.event-card>button{margin-top:14px}footer{padding:13px 4% 0}.time-heading{align-items:flex-start;gap:7px;flex-wrap:wrap}.time-heading>div:first-child{width:100%}.time-number{font-size:19px;margin-top:4px;min-height:25px}.time-controls{width:100%;justify-content:space-between;gap:5px;margin-top:4px}.time-controls>button{height:29px;font-size:9px;padding:0 8px}.time-controls #play{margin-left:auto;font-size:9px;padding:0 10px}.speed-control{flex-direction:row;align-items:center;margin:0 0 0 auto;gap:5px}.speed-control>span{display:none}.speed-control select{font-size:9px}.timeline-viewport{margin-top:12px}.timeline-inner{height:66px;padding-top:19px}.epoch-bands{height:13px}.epoch-bands>span{font-size:5px;line-height:12px}.ticks{top:21px}.ticks button{font-size:7px;padding-top:13px}.ticks button.today:after{top:27px}.footer-meta{margin-top:4px;padding-top:8px;font-size:7px}.footer-meta button{font-size:7px}.footer-meta b{margin:0 4px}dialog{padding:27px}dialog h2{font-size:25px}}
@media(max-height:650px){:root{--header:60px;--footer:185px}.moment-caption{top:62px}.moment-caption p{display:none}.moment-caption h1{font-size:18px}.time-number{font-size:20px;min-height:24px}footer{padding-top:12px}.timeline-viewport{margin-top:10px}.timeline-inner{height:68px}.scene-bottom{bottom:12px}.event-card{top:55px;max-height:calc(100% - 100px);overflow:auto}#focus-panel{top:62px;padding:10px;max-width:230px}#focus-panel h2{font-size:19px;margin:6px 0}#focus-panel p{font-size:9px;margin-bottom:6px}}
@media(max-width:760px) and (max-height:650px){:root{--footer:186px}.timeline-inner{height:54px}.scene-guide{display:none}#focus-panel{top:49px;left:4%;right:4%;max-width:none;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;gap:8px}#focus-panel p,#focus-panel>.eyebrow{display:none}#focus-panel h2{font-size:17px;margin:0}#focus-panel>div{gap:12px}.moment-caption button{margin-top:0}}
@media(max-height:500px) and (min-width:761px){:root{--header:52px;--footer:142px}.timeline-inner{height:48px}.footer-meta{display:none}.scene-guide{display:none}.moment-caption{top:60px}.moment-caption button{margin-top:2px}#focus-panel{top:58px;padding:10px}#focus-panel>.eyebrow,#focus-panel p{display:none}#focus-panel h2{font-size:20px;margin:0 0 8px}}
#focus-time-details{border-top:1px solid var(--line);padding-top:10px;margin-bottom:14px}#focus-time-details summary{font-size:10px;color:var(--mint);cursor:pointer}#focus-panel .focus-timeline{font-size:10px;line-height:1.7;color:#9fbfae;padding-top:8px;margin-bottom:0}#focus-panel .focus-timeline:empty{display:none}
@media(max-width:760px){#focus-panel .focus-timeline{font-size:9px;padding-top:7px}}
@media(max-height:650px){#focus-time-details{display:none}}
.time-controls #play{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border:1px solid #c8f2da;border-radius:8px;background:var(--mint);color:#082016;font-size:12px;font-weight:700;box-shadow:0 3px 18px #b7e6cd20;white-space:nowrap;transition:background .15s,box-shadow .15s}
.time-controls #play:hover{background:#d1f4df;box-shadow:0 3px 22px #b7e6cd38}.time-controls #play .play-icon{font-size:12px;margin:0}
.time-controls #play[aria-pressed=true]{background:#14372b;border-color:#91c8aa;color:#d1f4df;box-shadow:none}
.mobile-label,.mobile-links{display:none}
.scene-tools #info-toggle span{font-size:inherit;color:inherit;min-width:0}
/* Keep the mobile scene open; descriptions and references live in Details / Notes. */
@media(max-width:760px){
 :root{--header:60px;--footer:140px}
 .desktop-label{display:none}.mobile-label{display:inline}
 header{gap:8px}.brand{font-size:24px}.brand-icon{font-size:28px}nav .view{padding:8px 11px}
 .object-browser{top:4px}.object-browser>span{display:none}
 .moment-caption{top:49px;max-width:70%;padding:0 10px 4px 0}
 .moment-caption>.eyebrow,.moment-caption p{display:none}
 .moment-caption h1{font-size:18px;line-height:1.2;margin:4px 0}
 .moment-caption button{font-size:10px;margin-top:2px;padding:6px 0}
 #focus-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;top:49px;left:4%;right:4%;max-width:none;padding:6px 10px}
 #focus-panel>.eyebrow,#focus-panel p,#focus-time-details{display:none}
 #focus-panel h2{font-size:16px;line-height:1.2;letter-spacing:-.4px;margin:0}
 #focus-panel>div{gap:12px}#focus-panel button{font-size:10px;padding:10px 0;white-space:nowrap}
 .scene-bottom{bottom:10px}.scene-guide{display:none}
 .scene-tools{gap:2px;padding:3px;max-width:100%}
 .scene-tools button{min-width:30px;height:34px}
 .scene-tools span{min-width:33px}.scene-tools #reset{margin-left:1px}
 .scene-tools #info-toggle,.scene-tools #labels-toggle,.scene-tools #motion-toggle{padding:0 6px;font-size:10px}
 .event-card{top:49px;max-height:calc(100% - 102px)}
 .mobile-links{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:14px;padding-top:8px}
 .mobile-links button{font-size:11px;color:var(--mint);min-height:36px;padding:0 4px}
 footer{padding:8px 4% 4px}
 .time-heading{gap:4px}#time-prefix{display:none}
 .time-number{font-size:clamp(14px,4.3vw,18px);line-height:22px;min-height:22px;margin:0;letter-spacing:-.4px}
 .time-controls{flex-wrap:nowrap;justify-content:flex-start;gap:4px;margin:0}
 .time-controls>button{height:36px;font-size:10px;padding:0 8px;flex-shrink:0}
 .time-controls #era-prev,.time-controls #era-next{width:32px;padding:0}
 .speed-control{flex-shrink:0;margin:0}
 .speed-control select{width:52px;height:36px;padding:0 4px;font-size:10px;border:1px solid var(--line);border-radius:5px}
 .time-controls #play{flex:1 1 auto;min-width:0;height:36px;margin:0;padding:0 8px;gap:6px;font-size:11px}
 .timeline-viewport{margin-top:6px}
 .timeline-inner{height:52px;padding-top:0}.epoch-bands{display:none}
 input[type=range]{height:24px;background-size:100% 2px;background-repeat:no-repeat;background-position:center}
 .ticks{top:24px;height:28px;pointer-events:none}
 .ticks button{font-size:8px;min-height:28px;padding:5px 3px;pointer-events:auto}
 .ticks button:before{top:-12px}.ticks button.today:after{display:none}
 .footer-meta{display:none}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}
