@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,sans-serif;color:#eef2fa;background:#090d16;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 47% 48%,#131d31 0,#090d16 63%);min-height:100vh}#app{max-width:1600px;margin:auto;padding:0 5.5vw}header{height:98px;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;border-bottom:1px solid #202838}.brand,.eyebrow,.stage-label,.legend,.coords,footer,.readout span,.formula,.hint,label{font-family:DM Mono,monospace;letter-spacing:.08em}.brand{font-size:12px;font-weight:500;color:#dce5f6}.brand span{color:#647188;font-size:9px;margin-left:8px}.title{text-align:center}.title small{font:9px DM Mono,monospace;letter-spacing:.2em;color:#7f8ba2}.title h1{font:600 23px Space Grotesk,sans-serif;margin:3px 0 0;letter-spacing:-.04em}.switch{justify-self:end;display:flex;border:1px solid #30394b;border-radius:6px;padding:3px}.switch button{background:transparent;border:0;color:#76839a;padding:7px 14px;border-radius:4px;font:11px DM Mono,monospace;cursor:pointer}.switch button.active{background:#27354b;color:#eef2fa}main{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:5vw;align-items:center;padding:34px 0 28px}.stage{height:min(67vh,680px);min-height:440px;position:relative;border:1px solid #202a3a;border-radius:8px;background:radial-gradient(ellipse at 48% 49%,#18243a 0,#0b111d 68%);overflow:hidden}.stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.025),transparent 40%)}#canvas{position:absolute;inset:0}canvas{display:block}.coords{position:absolute;top:22px;left:24px;color:#8e9bb1;font-size:9px;display:flex;align-items:center;gap:8px;pointer-events:none}.coords b{color:#ffd38a;font-size:11px}.dot{width:6px;height:6px;background:#ffd38a;border-radius:50%;box-shadow:0 0 12px #ffd38a}.legend{position:absolute;right:22px;top:22px;display:flex;align-items:center;gap:8px;color:#8491a7;font-size:8px;pointer-events:none}.legend i{width:14px;height:2px;background:#63e6d0;margin-left:6px}.legend i.inside{background:#ffbd75}.stage-label{position:absolute;bottom:18px;left:22px;color:#92a2bc;font-size:9px;pointer-events:none}.stage-label span{margin-left:12px;color:#57647a;font-size:8px}aside{padding:14px 0}.eyebrow{font-size:9px;color:#67dcca;letter-spacing:.16em}h2{font:500 32px/1.12 Space Grotesk,sans-serif;letter-spacing:-.045em;margin:18px 0}h2 em{font-style:normal;color:#ffbd75}aside p{color:#9aa6b9;font-size:13px;line-height:1.8;margin:0 0 42px}label{display:flex;justify-content:space-between;color:#77849a;font-size:9px}label strong{color:#e7edf8;font-weight:400;font-size:12px}input[type=range]{appearance:none;width:100%;height:2px;background:linear-gradient(90deg,#63e6d0,#ffbd75);margin:19px 0 34px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#e8f2ff;border:3px solid #63e6d0;box-shadow:0 0 12px #63e6d066}.readout{padding:17px 0;border-top:1px solid #263044;border-bottom:1px solid #263044;display:flex;flex-direction:column;gap:8px}.readout span{font-size:8px;color:#748199}.readout strong{font:500 24px Space Grotesk,sans-serif;color:#eaf2ff}.formula{font-size:11px;color:#98a8c0;padding:18px 0 6px}.hint{font-size:9px;color:#647188;letter-spacing:0}footer{height:54px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #202838;font-size:8px;color:#657188}footer i{font-style:normal;color:#63e6d0;margin:0 5px}@media(max-width:800px){#app{padding:0 20px}header{height:78px;grid-template-columns:1fr auto}.title{grid-row:1;grid-column:1;text-align:left}.title small{font-size:7px}.title h1{font-size:18px}.brand{display:none}.switch{grid-column:2}main{grid-template-columns:1fr;gap:10px;padding:20px 0}.stage{height:52vh;min-height:340px}.stage-label span{display:none}aside{padding:12px 2px}h2{font-size:27px;margin:12px 0}aside p{margin-bottom:22px}input[type=range]{margin-bottom:20px}footer{font-size:7px}footer span:last-child{max-width:45%;text-align:right}}.hud{position:absolute;top:56px;left:24px;display:flex;gap:22px;font:9px DM Mono,monospace;letter-spacing:.1em;color:#75849c;pointer-events:none}.hud b{color:#e9f2ff;font-weight:500;margin-left:7px}.hud span:last-child b{color:#ff8297}.touch{display:none;position:absolute;bottom:48px;right:14px;gap:8px}.touch button,.overlay button{border:1px solid #53647d;background:#111c2cdd;color:#e8f2ff;border-radius:7px;padding:12px 15px;font:11px DM Mono,monospace;touch-action:none}.touch [data-fire]{color:#63e6d0;border-color:#63e6d0}.overlay{position:absolute;inset:0;z-index:4;background:#080d16bb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font:600 27px Space Grotesk,sans-serif;color:#fff}.overlay.hidden{display:none}.overlay button{font-size:12px}@media(max-width:800px){.touch{display:flex}.hud{top:50px;left:18px}}html,body,#app{width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:none}#app{max-width:none;padding:0}header{position:absolute;z-index:5;inset:0 0 auto;height:76px;padding:0 28px;border:0;background:linear-gradient(#080d16cc,transparent);grid-template-columns:1fr auto 1fr;pointer-events:none}header>*{pointer-events:auto}.title{grid-column:1;text-align:left}.brand{display:none}.switch{grid-column:3}main{display:block;padding:0;margin:0}.stage{position:fixed;inset:0;width:100vw;height:100dvh;min-height:0;border:0;border-radius:0}#canvas,canvas{touch-action:none}aside,footer{display:none}.coords{top:94px;left:28px}.legend{top:94px;right:28px}.hud{top:96px;left:50%;transform:translate(-50%);gap:30px;font-size:11px}.stage-label{bottom:18px;left:50%;transform:translate(-50%);white-space:nowrap}.touch button{min-width:52px;min-height:52px;font-size:16px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}.overlay{position:fixed}.overlay button{min-height:48px;padding:14px 24px}@media(pointer:coarse),(max-width:1100px){.touch{display:grid;position:absolute;z-index:6;left:max(20px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));width:168px;height:168px;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:5px;touch-action:none}.touch button{padding:0;border-radius:14px;background:#111c2cbb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.touch button:nth-child(1){grid-area:1/2}.touch button:nth-child(2){grid-area:2/1}.touch button:nth-child(3){position:absolute;left:calc(100vw - 104px);bottom:10px;width:78px;height:78px;border-radius:50%;font-size:12px;background:#103a39dd;border-color:#63e6d0}.touch button:nth-child(4){grid-area:2/3}.touch button:nth-child(5){grid-area:3/2}.stage-label{bottom:18px;left:50%;font-size:7px}.stage-label span{display:none}.coords{left:18px;top:86px}.legend{right:18px;top:86px}.hud{top:86px}}@media(max-width:600px){header{height:64px;padding:0 16px}.title small{font-size:6px}.title h1{font-size:16px}.switch button{padding:6px 10px}.hud{top:72px;font-size:9px}.coords,.legend{top:106px;font-size:7px}.touch{width:150px;height:150px}.touch button{min-width:46px;min-height:46px}.touch button:nth-child(3){left:calc(100vw - 88px);width:68px;height:68px}}.touch{display:none}.stick{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));width:164px;height:164px;border:1px solid #8d9ab455;border-radius:50%;background:#101a2c88;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);touch-action:none;display:grid;place-items:center}.stick:before{content:"";position:absolute;width:58%;height:58%;border:1px solid #8d9ab433;border-radius:50%}.stick-thumb{position:absolute;width:54px;height:54px;border-radius:50%;background:#cbd7e933;border:1px solid #dbe7f077;box-shadow:0 3px 15px #0007;pointer-events:none}.touch [data-fire]{position:absolute;right:max(26px,env(safe-area-inset-right));bottom:max(38px,env(safe-area-inset-bottom));width:78px;height:78px;min-width:78px;min-height:78px;border-radius:50%;font-size:12px}.stick,.touch [data-fire]{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}@media(pointer:coarse),(max-width:1100px){.touch{display:block;position:absolute;inset:0;pointer-events:none}.touch>*{pointer-events:auto}.touch .stick{display:grid}.touch button:nth-child(3){left:auto;right:max(26px,env(safe-area-inset-right));bottom:max(38px,env(safe-area-inset-bottom));width:78px;height:78px}}.touch{width:auto;height:auto}.touch .stick{touch-action:none;pointer-events:auto}@media(orientation:landscape)and (max-height:500px){header{height:48px;padding-inline:16px}.title small{font-size:6px}.title h1{font-size:16px}.switch button{padding:5px 9px}.coords,.legend,.stage-label{display:none}.hud{top:max(52px,env(safe-area-inset-top));font-size:9px;gap:18px}.touch .stick{width:116px;height:116px;left:max(14px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom))}.stick-thumb{width:42px;height:42px}.touch [data-fire]{width:62px;height:62px;min-width:62px;min-height:62px;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom))}}
