@font-face{font-family:DM Sans;src:url(assets/dm-sans-400.ttf)}@font-face{font-family:DM Sans;src:url(assets/dm-sans-600.ttf);font-weight:600}
@font-face{font-family:Instrument Serif;src:url(assets/instrument-serif-400.ttf)}@font-face{font-family:IBM Plex Mono;src:url(assets/ibm-plex-mono-400.ttf)}
:root{color-scheme:dark;--bg:#141516;--line:#303031;--soft:#a5a19e;--peach:#e9b790;--mono:"IBM Plex Mono",monospace;--edge:clamp(22px,4.15vw,82px);font-family:"DM Sans",sans-serif;color:#f0ede7;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column}button,input{font:inherit}button{color:inherit;cursor:pointer}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--peach);outline-offset:4px}button:disabled{opacity:.45;cursor:default}
svg:not(.symbols){width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none;pointer-events:none}
.symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
[hidden]{display:none!important}
.app-header{height:72px;flex:none;display:flex;align-items:center;padding:0 var(--edge);gap:23px;background:#141516;border-bottom:1px solid #323234}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:39px;height:39px}.brand span{font-weight:600;font-size:25px;letter-spacing:-1.35px}
.app-subtitle{color:#aaa8a5;border-left:1px solid #3d3d3d;padding:4px 0 4px 23px;font-size:13px}.app-header nav{margin-left:auto;display:flex;align-items:center;gap:10px}
.about-button{display:flex;align-items:center;gap:8px;color:#c1bcb8;padding:9px 8px;font-size:13px}.about-button svg{width:16px;height:16px}.about-button:hover{color:white}.nav-line{height:21px;border-left:1px solid var(--line);margin:0 7px}
.icon-button{border:1px solid #373738;border-radius:7px;display:grid;place-items:center;width:36px;height:35px;background:#1c1d1e;color:#d0cecb}
.icon-button:hover,.reset:hover{background:#30302f;color:white}.icon-button[aria-pressed=true]{color:var(--peach);border-color:#7a6554}
main{display:flex;flex-direction:column;flex:1;min-width:0}
.view{position:relative;overflow:hidden;isolation:isolate;min-height:360px;flex:1;background:#5a4f57}

#world{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;outline:0}
#world:active{cursor:grabbing}
.view-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(8,10,15,.65),transparent 26%),linear-gradient(180deg,#1715212b,transparent 17%)}
.view-tools{display:flex;align-items:center;gap:12px}
.home-camera{border:1px solid #d4cac65c;border-radius:5px;background:#1a1b2159;display:grid;place-items:center;width:32px;height:31px;color:#f5ebe1}
.home-camera svg{width:14px;height:14px}
.scene-message{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:80%;padding:11px 15px;background:#1b1b20de;color:#eee4d6;border-radius:5px;font-size:13px;text-align:center}
.view-top,.view-bottom{pointer-events:none}.view-top button,.view-bottom button{pointer-events:auto}
#joystick{display:none;position:absolute;left:var(--edge);bottom:124px;width:68px;height:68px;border:1px solid #f0d9c87a;border-radius:50%;background:#1719204d;align-items:center;justify-content:center;touch-action:none;user-select:none}
#joystick span{width:26px;height:26px;border-radius:50%;background:#e5d5c77a;border:1px solid #f7e9d585;pointer-events:none}
.walk-tip,.desktop-tip{display:flex;align-items:center;gap:7px;color:#bbb4ae}.desktop-tip i{width:3px;height:3px;background:#73706e;border-radius:50%;margin:0 4px}.touch-tip{display:none}
.walk-tip kbd{padding:0 4px}.immersive #joystick{bottom:30px}.view-bottom h1{font-size:clamp(61px,5.9vw,94px)}
@media(pointer:coarse){#joystick{display:flex}.touch-tip{display:inline}.desktop-tip{display:none}}
@media(max-width:620px){.walk-tip{font-size:9px}.desktop-tip{display:none}.view-bottom h1{font-size:51px}.view-tools{gap:8px}.home-camera{width:27px;height:27px}#joystick{bottom:109px}}
.view-top,.view-bottom{left:var(--edge);right:var(--edge);position:absolute;display:flex;justify-content:space-between}
.view-top{top:27px;align-items:center}
.live,.angle{display:flex;align-items:center;gap:9px;color:#efebe7;font-family:var(--mono);font-size:10px;letter-spacing:1.25px;text-transform:uppercase}
.live{background:#14151c77;border:1px solid #d6cfc73b;padding:7px 11px;border-radius:4px;backdrop-filter:blur(8px)}
.status-light{width:6px;height:6px;border-radius:50%;background:#e9b28c;box-shadow:0 0 8px #e9aa745e}.angle{letter-spacing:.4px;color:#e1dde0;opacity:.87}.angle svg{width:16px;height:16px}
.view-bottom{bottom:30px;align-items:flex-end;gap:15px}
.kicker{display:flex;align-items:center;gap:10px;font-family:var(--mono);text-transform:uppercase;font-size:10px;line-height:1.6;letter-spacing:1.9px;color:#f0c6a7}
.kicker i{width:25px;height:1px;background:var(--peach)}
h1{margin:4px 0 5px;font:400 clamp(74px,7.1vw,116px)/.99 "Instrument Serif",Georgia,serif;letter-spacing:-.042em;color:#fff4e7}
.properties{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.1px;color:#d7d2cd}.properties i{display:block;width:3px;height:3px;background:#a49d97;border-radius:50%}.properties span:last-child{font-family:var(--mono);font-size:11px;letter-spacing:.15px}
.approach,.restore{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d2c8b35c;border-radius:6px;padding:11px 15px;font-weight:600;font-size:12px;letter-spacing:.12px;background:#17181a8a;color:#f4ece3;backdrop-filter:blur(12px)}
.approach svg{width:15px;height:15px;color:var(--peach)}.approach:hover,.restore:hover{border-color:var(--peach);background:#252323c9}.approach[aria-pressed=true]{border-color:#b68863}
.controls{z-index:1;display:grid;grid-template-columns:1.04fr 1fr;gap:clamp(28px,4vw,88px);padding:24px var(--edge) 26px;border-top:1px solid #4f4840;background:linear-gradient(100deg,#1a1a1b,#18191a 75%);flex:none}
.controls h2{margin:0;display:flex;align-items:center;gap:9px;color:#bdb9b3;font:400 10px/18px var(--mono);text-transform:uppercase;letter-spacing:1.6px}
.controls h2 svg{color:#c8a68a;width:16px;height:16px}
.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:13px}
.choice{position:relative;background:#202123;border:1px solid #363637;border-radius:7px;min-width:0;height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:background .15s,border-color .15s}
.choice span{font-size:12px;letter-spacing:.1px;color:#d6d2cc}
.choice img{width:39px;height:39px;object-fit:contain;pointer-events:none}.choice[data-object=saturn] img{width:61px}.choice[data-object=sun] img{width:48px;height:40px}
.choice[aria-pressed=true]{border-color:#ab8061;background:linear-gradient(150deg,#382e28,#272321)}
.choice[aria-pressed=true] span{color:#f4d8be}
.choice[aria-pressed=true]::after{content:"";position:absolute;right:8px;top:8px;background:#ecc29f;border-radius:50%;width:4px;height:4px}
.choice:hover{background-color:#2e2d2c;border-color:#8e7765}
.distance-panel{border-left:1px solid #343435;padding-left:clamp(28px,4vw,86px);min-width:0}.distance-head{display:flex;align-items:center;justify-content:space-between;height:18px}.reset{color:#aca6a2;padding:5px;border-radius:4px;display:grid;place-items:center}.reset svg{width:14px;height:14px}
.readout{height:51px;display:flex;align-items:center}.readout>button{display:flex;align-items:baseline;gap:7px;padding:0;font-family:var(--mono)}#km{font-size:clamp(23px,1.75vw,36px);letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.unit{color:#b7afa9;font-size:13px}.readout>button svg{width:12px;height:12px;margin-left:2px;color:#9b8d80;opacity:.4}.readout>button:hover svg{opacity:1}
#distance-form{display:flex;align-items:center;gap:8px;width:100%}#distance-value{width:100%;max-width:200px;min-width:0;background:#202022;color:#fff;border:1px solid #7b6758;border-radius:4px;padding:5px 8px;font-family:var(--mono);font-size:16px}
#distance-form button{font-size:12px;border:1px solid #595049;border-radius:4px;padding:6px 9px}
.slider-wrap{height:21px;display:flex;align-items:center;position:relative}
#distance{width:100%;height:22px;appearance:none;cursor:pointer;margin:0;background:transparent;--progress:25%}
#distance::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,#d8aa83 var(--progress),#404040 var(--progress));border-radius:2px}
#distance::-moz-range-track{height:3px;border-radius:2px;background:#404040}#distance::-moz-range-progress{background:#d8aa83;height:3px}
#distance::-webkit-slider-thumb{appearance:none;width:13px;height:13px;margin-top:-5px;border-radius:50%;border:2px solid #edc7a6;background:#dba77d;box-shadow:0 0 0 4px #b78d6c1d}
#distance::-moz-range-thumb{width:10px;height:10px;border-radius:50%;border:2px solid #edc7a6;background:#dba77d}
.scale{display:flex;justify-content:space-between;color:#a7a09a;font:400 10px/17px var(--mono);letter-spacing:.15px;margin-top:2px}
footer{height:46px;flex:none;border-top:1px solid #303032;padding:0 var(--edge);display:flex;justify-content:space-between;align-items:center;background:#151617;color:#aaa6a1;font-size:11px}
.location,.footer-actions,.foot-full,.footer-actions button{display:flex;gap:8px;align-items:center}.location svg{width:14px;height:14px;color:#c9a68c}.footer-actions{gap:14px}.footer-actions button{padding:7px 0;font:inherit}.footer-actions button:hover{color:var(--peach)}.footer-rule{width:1px;height:12px;background:#393939}
kbd{border:1px solid #494949;border-radius:3px;background:#1c1d1e;color:#b2afaa;font:9px/15px var(--mono);min-width:16px;display:inline-block;text-align:center}
.restore{position:absolute;right:var(--edge);top:20px;opacity:.7}.restore:hover,.restore:focus-visible{opacity:1}
body.immersive .app-header,body.immersive .controls,body.immersive footer,body.immersive .chrome{display:none}
body.immersive .view{height:100svh;min-height:100svh}
dialog{width:min(460px,91vw);max-height:85svh;color:#e8e4de;background:#202021;border:1px solid #484340;border-radius:12px;padding:24px 28px;box-shadow:0 24px 70px #0008}
dialog::backdrop{background:#0b0d10b8;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}dialog h2{font:400 43px/1.1 "Instrument Serif",Georgia,serif;margin:16px 0}dialog p{font-size:14px;line-height:1.55;color:#c9c4bf}dialog h3{font-size:14px;font-weight:600;margin:22px 0 4px}dialog .credits{font-size:12px;line-height:1.8;margin-top:0}dialog a{color:var(--peach)}
@media(min-width:1650px){.controls{padding-top:29px;padding-bottom:30px}.choice{height:94px}.view-bottom{bottom:38px}}
@media(max-width:780px){.app-header{height:60px;gap:14px}.brand{gap:8px}.brand span{font-size:22px}.brand img{width:34px;height:34px}.app-subtitle{padding-left:14px;font-size:11px}.controls{gap:20px;padding-top:18px;padding-bottom:19px}.distance-panel{padding-left:20px}.choices{gap:5px}.choice{height:75px}.choice span{font-size:11px}.choice img{width:31px;height:30px}.choice[data-object=sun] img{width:36px;height:30px}.choice[data-object=saturn] img{width:43px}.view{min-height:340px}.view-bottom{bottom:24px}.view-top{top:19px}}
@media(max-width:620px){:root{--edge:20px}.app-header{gap:9px}.app-subtitle{display:none}.app-header nav{gap:6px}.nav-line{margin:0 1px}.about-button{padding:8px}.about-button span{display:none}.app-header .icon-button{width:34px;height:34px}.view{min-height:325px}.view-top{top:15px}.live,.angle{font-size:8px}.live{padding:5px 8px}.view-bottom{bottom:20px}.kicker{font-size:8px;letter-spacing:1.35px}.kicker i{width:20px}h1{font-size:65px;margin-bottom:7px}.properties{font-size:11px;gap:7px}.properties span:last-child{font-size:9px}.approach{padding:9px;gap:4px;font-size:10px}.approach svg{width:14px;height:14px}.controls{display:flex;flex-direction:column;gap:18px;padding-top:16px;padding-bottom:16px}.choices{gap:7px;margin-top:8px}.choice{height:65px;gap:3px}.controls h2{font-size:9px;letter-spacing:1.3px}.distance-panel{border:none;padding:0}.distance-head{height:18px}.readout{height:34px}#km{font-size:23px}.scale{margin-top:0;font-size:9px}.slider-wrap{height:20px}footer{height:38px;font-size:10px}.foot-full,.footer-rule{display:none}.footer-actions button kbd{display:none}.footer-actions button::before{content:"";width:10px;height:6px;border:1px solid currentColor;border-radius:50%}.restore{top:15px}}
@media(max-width:360px){:root{--edge:14px}.properties{gap:5px}.about-button{padding:5px}.app-header nav{gap:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.distance-tools{display:flex;align-items:center;gap:10px}.frame-object{font-size:11px;color:#d0b49a;padding:4px 7px;border:1px solid #48423f;border-radius:4px}.frame-object:hover{border-color:#c8a58a}.view-shade{background:linear-gradient(0deg,rgba(9,11,15,.44),transparent 23%)}
