@font-face{font-family:Romance;src:url('assets/romance.ttf')}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#030407;color:#f0ece4;font-family:Arial,sans-serif}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #d4b581;outline-offset:4px}#universe{position:fixed;inset:0;width:100%;height:100%;touch-action:none;outline:none;cursor:grab}.shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,#030408b0,transparent 30%,transparent 55%,#030408d9)}body.welcoming .shade{background:linear-gradient(90deg,#03040865,#03040822),linear-gradient(0deg,#030408b0,transparent 60%)}header{position:fixed;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:28px 36px;pointer-events:none}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:12px;letter-spacing:2.4px;pointer-events:auto;text-shadow:0 2px 8px #000}.brand-icon{font-size:36px;color:#ddc295;font-weight:normal}.brand i{font-family:Romance;font-size:18px;color:#d7be92}.brand small{display:block;font-size:7px;letter-spacing:2.6px;color:#b6b5bd;margin-top:9px}.header-actions{display:flex;gap:10px;pointer-events:auto}.header-actions button{border:1px solid #ffffff30;border-radius:50%;background:#090c14b0;color:#eee;width:38px;height:38px;font-size:20px}.welcome{position:fixed;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:100px 20px}.overline{font-size:10px;letter-spacing:2.5px;color:#d1bb98;text-transform:uppercase}.welcome .overline{display:flex;align-items:center;gap:16px}.overline span{width:25px;height:1px;background:#cdb99588}h1{font-weight:400;font-family:Georgia,serif;font-size:clamp(36px,5.5vw,76px);line-height:1.18;letter-spacing:-1px;margin:32px 0 23px;text-shadow:0 4px 40px #000}h1 em{font-family:Romance;font-weight:400;color:#f5e5c9}.welcome p{color:#d7d5d6;font-size:14px;line-height:1.9;margin:0 0 30px;text-shadow:0 2px 10px #000}.primary{background:#e2ccb0;color:#1b1713;border:1px solid #f0dec6;padding:16px 26px;border-radius:3px;font-size:12px;letter-spacing:.7px;box-shadow:0 4px 35px #0005;transition:.2s}.primary:hover{background:#fae8cd;transform:translateY(-2px)}.welcome-note{font-size:8px;letter-spacing:2.5px;color:#b6afb0;margin-top:25px}.panel{background:linear-gradient(130deg,#080d17e8,#090c14ae);backdrop-filter:blur(16px);border:1px solid #ffffff18}.story{position:fixed;left:30px;top:125px;width:260px;padding:24px;border-radius:5px;z-index:4;max-height:calc(100vh - 300px);overflow:auto;scrollbar-width:thin}.story h2{font:italic 29px Romance,Georgia,serif;margin:17px 0 12px;font-weight:400}.story p{font-size:11px;line-height:1.8;color:#b8bcc5;margin:0}.rule{height:1px;background:#ffffff1c;margin:21px 0}.facts{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.facts span{font-size:8px;letter-spacing:1.3px;color:#a0a7b4}.facts strong{font-weight:400;font-size:20px;font-family:Georgia,serif;color:#dfc5a1}.story label{display:block;font-size:10px;color:#bfc2c9;margin:14px 0 7px}.story output{float:right;color:#e0c8a7}input[type=range]{width:100%;height:4px;accent-color:#d7b985;cursor:pointer}select{width:100%;font-size:11px;padding:10px;background:#101521;color:#eee;border:1px solid #ffffff28;border-radius:3px}.secondary{display:block;width:100%;text-align:center;text-decoration:none;background:#ffffff07;color:#d7c6ae;border:1px solid #ffffff23;font-size:10px;border-radius:3px;padding:10px;margin:12px 0}.text-button{border:0;background:transparent;color:#a8acb7;font-size:10px;padding:15px 0 0}.distance{font-size:9px;color:#9fa7b8;margin-top:14px}.distance strong{display:block;color:#e1d2ba;font-size:15px;margin-top:5px;font-weight:400}.check{display:flex!important;gap:8px;align-items:center}.check input{accent-color:#d7b985}.bottom{position:fixed;bottom:38px;left:50%;transform:translateX(-50%);z-index:5;width:min(720px,95vw)}.interaction{display:flex;justify-content:center;align-items:center;gap:20px;padding-bottom:17px;font-size:10px;color:#c1c3cb;text-shadow:0 1px 8px #000}.interaction button{border:0;background:#060a12a0;color:#d6c3a8;border-radius:20px;padding:8px 12px;font-size:10px}.interaction button[aria-pressed=true]{color:#fff;background:#5b4c35}.modes{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #ffffff25;border-radius:6px;overflow:hidden;background:#080c17de;backdrop-filter:blur(16px)}.modes button{padding:17px 12px;border:0;border-right:1px solid #ffffff18;background:transparent;color:#bdc1cb;text-align:left;font-size:12px;transition:background .2s}.modes button:last-child{border-right:0}.modes button span{font-size:9px;color:#9b886e;margin-right:10px}.modes button small{display:block;margin:6px 0 0 26px;font-size:9px;color:#7c8597}.modes button[aria-pressed=true]{background:#dbbd8620;color:#ffe8c8;box-shadow:inset 0 2px #d9be91}.modes button[aria-pressed=true] small{color:#c3b59f}.credit{position:fixed;bottom:10px;left:20px;right:20px;text-align:center;font-size:9px;color:#9198a7;z-index:5;text-shadow:0 1px 6px #000}.credit a{color:#c9bda8}#crosshair{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;color:#bdc9db88;font-size:20px;font-weight:100}#star-labels{position:fixed;inset:0;pointer-events:none;z-index:2}.star-name{position:absolute;white-space:nowrap;font-size:10px;color:#d2c8b3;text-shadow:0 1px 5px black;transform:translate(-50%,-150%)}.touch-flight{position:fixed;right:20px;top:45%;z-index:5;display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.touch-flight button{touch-action:none;background:#11192adb;border:1px solid #ffffff33;border-radius:4px;color:#ddc8ac;padding:12px 8px;font-size:10px}#notice{position:fixed;top:105px;left:50%;transform:translateX(-50%);max-width:90vw;background:#172135ed;color:#ece4d6;border:1px solid #d1b78044;font-size:12px;padding:12px 18px;border-radius:5px;z-index:12;display:none}dialog{background:#0b101beF;color:#c7cedb;border:1px solid #bca57d55;border-radius:8px;padding:38px;width:min(600px,94vw);max-height:85vh;font-size:12px;line-height:1.8;backdrop-filter:blur(25px)}dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}dialog h2{font:32px Romance,Georgia,serif;color:#f4e1c1}dialog h3{color:#e0caab;font-size:13px;margin-top:24px}dialog a{color:#dfc699}.close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#ddd;font-size:25px}#fatal{position:fixed;inset:0;z-index:30;background:#080c17f5;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px;text-align:center}#fatal p{max-width:550px;line-height:1.8}#fatal button,#fatal a{padding:12px;margin:8px;color:#eee;background:#253146;border:1px solid #65718b;border-radius:4px}
@media(max-width:800px){header{padding:18px}.brand{font-size:10px;letter-spacing:1.4px}.brand small{font-size:6px}.brand-icon{font-size:29px}.story{top:90px;left:16px;width:210px;padding:15px;max-height:calc(100dvh - 285px)}.story h2{font-size:23px;margin:10px 0}.story p{font-size:10px}.story .rule{margin:12px 0}.facts{margin-bottom:10px}.bottom{bottom:42px}.modes button{font-size:10px;padding:13px 7px}.modes button small{font-size:8px;margin-left:0}.modes button span{display:none}.interaction{font-size:9px;gap:8px;padding-bottom:10px}.interaction button{font-size:9px}.credit{font-size:8px;bottom:8px}.touch-flight{right:12px;top:55%}.welcome-note{font-size:7px;letter-spacing:1.2px}.welcome p{font-size:12px}.overline{font-size:8px;letter-spacing:1.8px}}
@media(max-width:480px){.story{width:185px;padding:12px}.story #mode-description{display:none}.story h2{font-size:21px}.story .overline{font-size:7px}.story label{margin-top:10px}.facts strong{font-size:17px}.touch-flight button{padding:13px 7px}.welcome h1{font-size:36px}.header-actions button{width:32px;height:32px}.modes button{padding:12px 6px}.interaction{flex-direction:column;gap:4px}.bottom{width:94vw}.story{max-height:calc(100dvh - 330px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
