@font-face{font-family:Mania;src:url(../fonts/mania.ttf) format("truetype");font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0a1021;color:#f7f5ef;font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffe07d;outline-offset:4px}button:disabled{opacity:.5}button:hover{filter:brightness(1.12)}[hidden]{display:none!important}#game{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}.screen-shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#080e21ec 0%,#080e2199 34%,transparent 80%),linear-gradient(0deg,#080e21e8,transparent 26%,transparent 65%,#080e21b0)}header{position:fixed;z-index:5;top:0;left:0;right:0;padding:25px 4%;display:flex;align-items:center;justify-content:space-between;gap:20px}header>a{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:2px}header img{width:26px;height:24px;object-fit:contain}header>a span{font:9px monospace;color:#99adbf;border-left:1px solid #687889;padding-left:13px;margin-left:4px}.tools{display:flex;gap:7px}.tools button{padding:9px 12px;border:1px solid #6b819755;background:#0b1934aa;font:9px monospace;letter-spacing:1px;min-height:36px}.tools button:last-child{font-size:15px;width:36px;padding:0}#menu{position:fixed;z-index:2;top:17%;left:8%;width:min(530px,84%)}.eyebrow{font:9px monospace;letter-spacing:2.5px;color:#ffdd7b}h1{font-family:Mania,monospace;font-weight:400;font-size:clamp(58px,6.6vw,102px);line-height:1.06;letter-spacing:-3px;margin:26px 0 19px;text-shadow:5px 5px 0 #182e5b}h1 em{font-style:normal;color:#ffdc75}.tagline{font-size:22px;line-height:1.4;letter-spacing:-.7px;margin:0 0 17px}.intro{font-size:13px;line-height:1.8;color:#b0c1d2;margin:0 0 23px}.mode-select{display:flex;gap:8px;margin-bottom:17px}.mode-select button{background:#10203e99;border:1px solid #5e759177;min-width:155px;text-align:left;padding:11px 14px;font:10px monospace;letter-spacing:1.4px}.mode-select button small{display:block;font:10px Arial;color:#aebfd2;letter-spacing:0;margin-top:6px}.mode-select [aria-pressed=true]{border-color:#ffdc75;background:#ffdc7515;color:#ffdc75}.menu-actions{display:flex;gap:9px}.primary{display:inline-flex;gap:38px;justify-content:space-between;align-items:center;min-height:52px;padding:17px 23px;background:#ffdc75;color:#17233b;font-size:10px;font-weight:800;letter-spacing:1.4px;transition:transform .2s,box-shadow .2s}.primary:hover{transform:translateY(-2px);box-shadow:3px 3px #fff2c955}.primary span{font-size:20px}.secondary{padding:16px;border:1px solid #768ba3;background:#10203d99;font:9px monospace;letter-spacing:1px}.hint{font:8px monospace;color:#9fb4cd;letter-spacing:1.3px;line-height:1.7;margin-top:15px}.personal{display:flex;align-items:center;gap:25px;margin-top:22px;color:#a3b4ca;font:9px monospace;letter-spacing:1px}.personal b{font-weight:400;color:#fff;margin-left:10px;font-size:13px}#last-rank{color:#ffdc75}footer{position:fixed;z-index:3;bottom:22px;left:4%;right:4%;display:flex;justify-content:space-between;gap:15px;font:8px monospace;letter-spacing:1px;color:#99adc7}footer i{font-style:normal;margin:0 9px;color:#ffdc75}footer a{font:10px Arial;letter-spacing:0}#hud{position:fixed;inset:0;pointer-events:none}#hud button{pointer-events:auto}.hud-left{position:absolute;top:110px;left:5%;display:flex;flex-direction:column;gap:9px}.hud-left small{font:9px monospace;letter-spacing:2px;color:#ffdc75}.hud-left strong{font-size:46px;font-weight:300;letter-spacing:3px;font-variant-numeric:tabular-nums}.hud-left>span{font:9px monospace;letter-spacing:1px;color:#acc8ec}#demo-label{color:#ffdc75;max-width:220px;line-height:1.5}#pause{position:absolute;right:5%;top:110px;width:44px;height:44px;background:#112744bb;border:1px solid #7186a0}.ring-meter{position:absolute;right:5%;bottom:135px;width:235px}.ring-meter>div:first-child{font:10px monospace;letter-spacing:2px;display:flex;justify-content:space-between}.ring-meter b{color:#ffdc75}.meter{height:5px;background:#3b4a60;margin:12px 0}.meter i{display:block;height:100%;width:0;background:#ffdc75;box-shadow:0 0 15px #ffdc7555}.ring-meter>span{font:8px monospace;letter-spacing:1px;color:#b9cede}.goal{position:absolute;left:5%;bottom:140px;font:10px monospace;letter-spacing:1px;color:#ffdc75;max-width:250px;line-height:1.7}.run-bottom{position:absolute;bottom:85px;left:5%;right:5%;display:flex;justify-content:space-between;color:#c6d8e6;font:10px monospace;letter-spacing:1px}#notice{position:absolute;top:30%;left:7%;right:7%;text-align:center;font-size:clamp(15px,2.7vw,32px);font-style:italic;letter-spacing:3px;color:#fff0ae;text-shadow:0 0 22px #ffb83a88}#jump{display:none}#overlay{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:22px;background:#040c1a99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.result-card{max-width:600px;width:100%;padding:40px;background:linear-gradient(135deg,#10223bf5,#191c35f5);border:1px solid #62749277}.result-card h2{font-family:Mania,monospace;font-weight:400;font-size:34px;line-height:1.3;color:#ffdc75;margin:23px 0}.result-card>p:not(.eyebrow):not(.hint){font-size:13px;color:#afc3d7;line-height:1.7}#results{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;border-top:1px solid #4d6175;padding:23px 0 8px;margin-top:23px}#results div{display:flex;flex-direction:column;gap:9px}#results small{font:8px monospace;letter-spacing:1px;color:#a6b9ce}#results b{font-size:25px;font-weight:400}.result-card .primary{margin:20px 8px 0 0}.playing .screen-shade{background:linear-gradient(0deg,#060e23e8,transparent 25%,transparent 70%,#060e23db)}#loading{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;background:#090e20;color:#ffdc75;font:12px monospace;padding:30px;text-align:center;letter-spacing:2px}#loading button{padding:18px;background:#ffdc75;color:#111e36}dialog{max-width:600px;width:90%;max-height:85dvh;overflow:auto;background:#11223c;color:#f6f6ed;border:1px solid #6b839b;padding:30px}dialog::backdrop{background:#050b1bd9}dialog h2{font-family:Mania,monospace;font-size:25px;line-height:1.4;color:#ffdc75}dialog h3{font-size:16px;margin-top:23px}dialog p{color:#bbcede;font-size:14px;line-height:1.7}dialog a{color:#ffdc75;text-decoration:underline}#close-guide{padding:13px 20px;background:#ffdc75;color:#16233b;margin-top:15px}@media(max-width:700px){header{padding:20px}.tools{gap:5px}.tools button{padding:8px;font-size:8px}header>a{font-size:10px;letter-spacing:1px}header>a span{display:none}header img{width:22px;height:21px}#menu{top:15%;left:7%;width:86%}.eyebrow{font-size:7px;letter-spacing:1.8px}h1{font-size:clamp(40px,11vw,58px);letter-spacing:-2px;margin:23px 0 20px}.tagline{font-size:18px;margin-bottom:12px}.intro{font-size:11px;margin-bottom:17px}.mode-select button{min-width:0;flex:1;font-size:9px;padding:10px}.mode-select button small{font-size:9px}.mode-select{max-width:335px;margin-bottom:14px}.primary{min-height:49px;padding:15px 18px;font-size:9px;gap:30px}.secondary{font-size:8px;padding:13px 12px}.personal{font-size:8px;gap:18px;margin-top:16px}.personal b{font-size:11px}.hint{font-size:7px;letter-spacing:.8px}.hud-left{top:91px;left:6%}.hud-left small{font-size:7px;letter-spacing:1px}.hud-left strong{font-size:34px}.hud-left>span{font-size:8px}.ring-meter{top:106px;right:6%;bottom:auto;width:125px}.ring-meter>span{font-size:6px;letter-spacing:.3px}.ring-meter>div:first-child{font-size:8px}.meter{margin:9px 0}#pause{top:176px;right:6%;width:40px;height:40px}.goal{bottom:192px;left:6%;font-size:8px;max-width:240px}.run-bottom{bottom:155px;left:6%;right:6%;font-size:8px}#notice{top:30%;font-size:17px;letter-spacing:1px}#jump{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;position:absolute;bottom:59px;right:6%;left:6%;height:70px;color:#ffdc75;border:1px solid #e5bd65;background:#142747d9;touch-action:none;font:13px monospace;letter-spacing:3px}#jump small{font:7px monospace;letter-spacing:2px;color:#c5d2e0}footer{bottom:18px;left:6%;right:6%}footer>span{display:none}footer a{font-size:9px}.result-card{padding:26px}.result-card h2{font-size:26px}#results{gap:10px}#results b{font-size:21px}.result-card .secondary{margin-top:12px}#demo-label{max-width:200px;font-size:7px}}@media(max-height:730px){#menu{top:14%}h1{font-size:clamp(37px,7vw,72px);margin:17px 0}.tagline{font-size:16px}.intro{margin-bottom:13px}.personal{margin-top:12px}.hint{margin-top:9px}}@media(pointer:coarse)and (min-width:701px){#jump{display:block;position:absolute;bottom:65px;right:5%;width:130px;height:60px;background:#193354c9;border:1px solid #ffdc75;color:#ffdc75;touch-action:none}#jump small{display:block;font:8px monospace;margin-top:6px}.ring-meter{bottom:150px}.goal{bottom:95px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.primary:hover{transform:none}}@media(max-height:520px)and (min-width:650px){#menu{top:80px;left:6%;width:88%;display:grid;grid-template-columns:1fr 1fr;gap:10px 30px}#menu>.eyebrow{grid-column:1/-1;margin:0 0 7px}#menu h1{grid-column:1;grid-row:2/6;font-size:50px;margin:0}#menu .tagline,#menu .hint{display:none}#menu .intro{grid-column:2;font-size:11px;margin:0}#menu .mode-select,#menu .menu-actions,#menu .personal{grid-column:2;margin:0}#menu .primary{padding:12px 16px;min-height:44px}#menu .mode-select button{padding:8px 10px}}.goal{background:#0b152bbd;border-left:2px solid #ffdc75;padding:8px 10px}#notice:empty{display:none}#notice:not(:empty){background:#0a142caa;padding:10px 15px;width:max-content;max-width:86%;margin-left:auto;margin-right:auto;border-bottom:1px solid #ffdc7544}.tools button{min-height:40px;min-width:40px}.challenge-select{display:flex;align-items:center;gap:12px;margin:0 0 12px;max-width:385px}.challenge-select label{font:8px monospace;letter-spacing:1px;color:#acbdcf;white-space:nowrap}.challenge-select select{font:11px Arial;color:#fff2c9;background:#11213d;border:1px solid #5e7591;min-height:40px;padding:8px 10px;border-radius:0;min-width:0;flex:1}.challenge-select select:focus-visible{outline:2px solid #ffdc75;outline-offset:3px}.collection{font:9px monospace;color:#b3c8dc;line-height:1.5;margin:12px 0}#flow-hud{position:fixed;right:5%;bottom:100px;width:260px;font:9px monospace;color:#ffdc75;background:#09162cdd;border:1px solid #52758b66;padding:12px}#flow-hud .meter{margin-top:10px}#flow-fill{background:#ffdc75}#dash{position:fixed;right:5%;bottom:170px;min-width:150px;min-height:52px;padding:10px 16px;background:#102442;border:1px solid #729bbb;color:#c2dbef;font:11px monospace;touch-action:manipulation}#dash small{display:block;font:8px monospace;margin-top:6px}#dash.ready{background:#ffdc75;color:#10213c;border-color:#ffe49a}#dash:disabled{opacity:.55;cursor:default}@media(max-width:700px){.challenge-select{max-width:335px;margin-bottom:10px}.challenge-select select{font-size:10px;min-height:38px}#menu h1{margin:16px 0}#menu .intro{margin-bottom:12px}#menu .tagline{margin-bottom:9px}.collection{font-size:8px;margin:8px 0}#flow-hud{left:6%;right:auto;bottom:145px;width:205px;padding:9px;font-size:8px}#dash{left:6%;right:auto;bottom:65px;width:130px;min-width:0;height:60px}#hud .goal{bottom:213px}.ring-meter{bottom:145px;max-width:120px}}@media(max-height:520px)and (min-width:650px){#menu .challenge-select,#menu .collection{grid-column:2;margin:0}#menu{top:65px;gap:5px 30px}#menu .personal{display:none}#flow-hud{bottom:65px;right:4%;width:200px;padding:8px}#dash{bottom:126px;min-height:44px}#hud .goal{bottom:65px;max-width:280px}}.ring-meter{top:180px;bottom:auto}#dash{bottom:185px}@media(max-width:700px){.ring-meter{top:106px;bottom:auto}#hud #jump{left:auto;right:6%;width:42%;bottom:59px;height:70px}#hud #dash{left:6%;right:auto;width:42%;bottom:59px;height:70px}#flow-hud{width:88%;bottom:150px}#hud .run-bottom{bottom:132px}#hud .goal{bottom:220px;right:6%;max-width:none}}@media(max-height:520px)and (min-width:650px){.ring-meter{top:100px;bottom:auto;width:180px}#dash{bottom:126px}}@media(max-height:520px)and (min-width:650px){.ring-meter{top:95px;right:100px;width:150px}}
