:root{font-family:Arial,Helvetica,sans-serif;color:#fff2d5;background:#080d16;font-synthesis:none;-webkit-tap-highlight-color:transparent;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible{outline:3px solid #ffe395;outline-offset:5px}svg{width:24px;height:24px;flex-shrink:0}button{touch-action:manipulation}button svg{pointer-events:none}.app-shell{width:100%;height:100svh;min-height:280px;display:grid;place-items:center;background:#080d16}.game-frame{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;background:#101e2e}.engine,.game-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.engine{contain:layout paint}.game-canvas{touch-action:none}.vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(#03081170,transparent 28%,transparent 65%,#03081170);box-shadow:inset 0 0 160px #01071150}.ui-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;pointer-events:none}.ui-layer button,.ui-layer input{pointer-events:auto}.menu-screen{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 30%,#08101d70,transparent 60%)}.title-lockup{position:absolute;top:8%;left:0;width:100%;text-align:center;filter:drop-shadow(0 5px 3px #040913)}.band-name{display:flex;align-items:center;justify-content:center;gap:18px;letter-spacing:.42em;font-size:13px;font-weight:700;color:#ffe7b7}.band-name span{width:42px;height:1px;background:linear-gradient(90deg,transparent,#a99872)}.band-name span:last-child{transform:rotate(180deg)}h1{margin:12px 0 0;font:bold clamp(58px,7.7vw,112px) / .83 Georgia,"Times New Roman",serif;letter-spacing:-.055em;color:#ffd783;text-shadow:0 3px #8c4a22,0 7px #482e22,0 10px 28px #000b;transform:rotate(-3deg)}h1 span{display:block;font-size:.81em;letter-spacing:-.035em;margin-top:9px}.title-ornament{color:#e9b663;margin-top:18px;font-size:15px}.menu-actions{position:absolute;left:50%;bottom:9%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:21px;width:min(340px,80vw)}.primary{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:62px;padding:16px 25px;border:1px solid #ffe3a0;border-radius:9px;background:linear-gradient(#ffe2a0,#e8ac4c);color:#382217;font-size:16px;font-weight:800;box-shadow:0 5px #815728,0 8px 26px #0008,inset 0 1px #fff4cf;text-shadow:0 1px #fff5;transition:filter .15s,transform .15s}.primary:hover{filter:brightness(1.1);transform:translateY(-2px)}.primary:active{transform:translateY(3px);box-shadow:0 2px #815728}.score-link{display:flex;align-items:center;justify-content:center;gap:11px;background:transparent;color:#e4d5b8;font-size:13px;padding:8px 12px;text-shadow:0 2px 4px #000}.score-link svg{width:18px;height:18px;color:#deb461}.score-link b{font-variant-numeric:tabular-nums;color:#fff0c9}.icon-button{width:46px;height:46px;border:1px solid #f2d9a325;border-radius:50%;display:grid;place-items:center;background:#0b1829b5;color:#eddfc3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.icon-button:hover{background:#314051}.sound-control{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:8}.hud{position:absolute;top:max(25px,env(safe-area-inset-top));left:max(30px,env(safe-area-inset-left));right:max(30px,env(safe-area-inset-right));z-index:3;pointer-events:none}.hud-row{display:flex;align-items:center;gap:26px}.hud button{pointer-events:auto}.score{display:flex;align-items:center;gap:12px;flex:1;color:#ffe0a0;text-shadow:0 2px 5px #000}.score svg{width:31px;height:31px}.score strong{font-size:32px;font-variant-numeric:tabular-nums}.timer{display:flex;align-items:center;gap:7px;font-size:21px;font-weight:700;text-shadow:0 2px 5px #000}.timer svg{width:19px}.timer small{font-size:12px;color:#c9c0b4}.urgent{color:#ff9c83}.hud-sub{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.hearts{display:flex;gap:6px;color:#f28e7a;filter:drop-shadow(0 2px 4px #000)}.hearts svg{width:20px;height:20px}.zone-track{display:flex;gap:5px;margin-right:72px}.zone-track i{width:22px;height:3px;border-radius:3px;background:#f4ddaf30}.zone-track .active{box-shadow:0 0 12px #d3dfcc88}.combo{margin-top:16px;font:700 25px Georgia;color:#ffe6a8;transition:opacity .25s}.combo span{font:12px Arial;color:#dacaae;margin-left:10px}.effects{display:flex;gap:8px;position:absolute;right:0;top:106px;max-width:60%;flex-wrap:wrap;justify-content:flex-end}.effect{position:relative;width:42px;height:42px;display:grid;place-items:center;background:#111d32d9;border:1px solid #a79fd459;border-radius:10px;font-size:23px;overflow:hidden}.effect i{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ceacff;transform-origin:left}.find-toast{position:absolute;z-index:4;left:50%;top:24%;transform:translate(-50%);font:700 22px Georgia;text-align:center;color:#ffedbd;text-shadow:0 3px 7px #000;pointer-events:none;max-width:80%;animation:toast .3s ease-out}.touch-controls{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:30px;right:30px;display:flex;justify-content:space-between;pointer-events:none;z-index:4}.touch-controls button{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;width:78px;height:78px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#101b2aad;border:1px solid #f8dda946;box-shadow:inset 0 1px #fff1,0 6px 20px #0005;color:#ffe1a2;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.touch-controls button:active{background:#cd9b5070;transform:scale(.95)}.touch-controls svg{width:30px;height:30px}.touch-controls kbd{font:9px Arial;letter-spacing:.1em;color:#dac99c}.in-game .sound-control{right:calc(50% - 23px);bottom:30px;width:36px;height:36px}.in-game .sound-control svg{width:18px;height:18px}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;pointer-events:auto;background:#050b17a3;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);padding:20px}.modal{position:relative;width:min(400px,100%);max-height:calc(100svh - 40px);overflow-y:auto;text-align:center;padding:32px;border:1px solid #d8b27450;background:linear-gradient(145deg,#192939f5,#0b1323f8);border-radius:20px;box-shadow:0 20px 100px #0008}.modal h2{font:700 31px Georgia;color:#ffe0a4;margin:15px 0 18px}.rune{font-size:60px;color:#e6b464}.pause-modal .home-button{margin:24px auto 0}.modal>.close{position:absolute;right:12px;top:12px;width:35px;height:35px}.records>svg,.end-icon svg{width:34px;height:34px;color:#f1c270}.records h2{margin-bottom:7px}.local-label{font-size:11px;color:#b8b4b0}.records ol{list-style:none;padding:0;margin:22px 0;max-height:45svh;overflow:auto}.records li{display:flex;align-items:center;text-align:left;gap:12px;padding:12px 0;border-bottom:1px solid #dcb67520;font-size:13px}.records li span{color:#9e9b9e}.records li strong{flex:1;overflow-wrap:anywhere}.records li b{color:#f5cf8d;font-variant-numeric:tabular-nums}.empty-score{font-size:50px;color:#967c55;padding:30px}.result-score{font:700 58px Georgia;color:#ffe2a1}.stats{display:flex;gap:24px;justify-content:center;margin:18px 0 22px;font-size:12px;color:#d1c4b2}.stats span{display:flex;align-items:center;gap:6px}.stats svg{width:16px;height:16px}.end-modal form{display:flex;gap:8px;margin-bottom:24px}.end-modal input{min-width:0;width:100%;border-radius:8px;border:1px solid #cfaf7840;background:#07111d;padding:12px;color:#ffe4b0;outline-offset:2px}.save-score{border-radius:9px;flex-shrink:0}.end-actions{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:24px}.storage-message{position:fixed;bottom:12px;left:50%;transform:translate(-50%);max-width:90%;background:#132234;padding:12px 20px;border-radius:10px;z-index:20;font-size:12px}.at-menu .vignette{box-shadow:inset 0 0 150px #020614a0}.end-modal h2{margin:10px 0}.end-modal .primary{font-size:14px}@keyframes toast{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@media(min-width:1500px){.game-frame{max-width:1800px;max-height:1100px}}@media(max-width:600px){.title-lockup{top:12%}h1{font-size:clamp(64px,19vw,100px)}.band-name{font-size:11px;letter-spacing:.3em}.band-name span{width:24px}.menu-actions{bottom:12%;width:270px;gap:18px}.primary{min-height:58px;font-size:14px}.hud{top:max(22px,env(safe-area-inset-top));left:20px;right:20px}.hud-row{gap:18px}.score strong{font-size:27px}.score svg{width:25px}.timer{font-size:18px}.hud-row .icon-button{width:42px;height:42px}.zone-track{margin-right:64px}.find-toast{top:24%;font-size:18px;width:85%}.touch-controls{bottom:max(55px,env(safe-area-inset-bottom));left:26px;right:26px}.touch-controls button{width:88px;height:88px}.touch-controls svg{width:34px;height:34px}.touch-controls kbd{display:none}.in-game .sound-control{bottom:30px}.effects{top:102px}.sound-control{bottom:22px;right:20px}.modal{padding:28px 24px}.title-ornament{margin-top:20px}}@media(max-height:550px)and (orientation:landscape){.title-lockup{top:6%;left:7%;width:48%}.band-name{font-size:10px}h1{font-size:70px}.title-ornament{display:none}.menu-actions{bottom:13%;left:31%;width:250px;gap:9px}.primary{min-height:48px;padding:12px 20px}.hud{top:14px;left:20px;right:20px}.score strong{font-size:24px}.hud-row{gap:18px}.hud-sub{margin-top:7px}.hud-row .icon-button{height:38px;width:38px}.timer{font-size:16px}.touch-controls{bottom:14px;left:20px;right:20px}.touch-controls button{width:58px;height:58px}.touch-controls svg{width:25px;height:25px}.touch-controls kbd{display:none}.in-game .sound-control{bottom:14px}.find-toast{top:17%;font-size:17px}.combo{margin-top:6px;font-size:20px}.effects{top:78px}.effect{width:32px;height:32px;font-size:18px}.modal{padding:18px 24px;max-height:calc(100svh - 20px)}.modal-backdrop{padding:10px}.end-modal{width:520px;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;align-items:center}.end-icon{display:none}.end-modal h2{font-size:25px;grid-column:1}.result-score{font-size:45px;grid-column:1}.stats{grid-column:1;margin:8px 0;gap:13px}.end-modal form{grid-column:2;grid-row:1;margin:0}.end-modal>.primary{grid-column:2;grid-row:2;font-size:12px}.end-actions{grid-column:2;grid-row:3;margin:0}.rune{font-size:35px}.pause-modal h2{margin:8px 0 20px}.pause-modal .home-button{margin-top:14px}.records ol{max-height:35svh}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.effect canvas{width:30px;height:30px;object-fit:contain}@media(max-height:550px)and (orientation:landscape){.effect canvas{width:24px;height:24px}}.collection-progress{display:flex;gap:18px;margin-top:10px;align-items:center}.collection-meter{display:flex;align-items:center;gap:5px;filter:drop-shadow(0 2px 3px #000)}.collection-meter canvas{width:24px;height:24px}.collection-meter span{display:flex;gap:4px}.collection-meter i{width:5px;height:5px;border-radius:50%;background:#d1c1a638;border:1px solid #ead8b85c}.collection-meter i.filled{background:#ffda8f;box-shadow:0 0 7px #ffb75299}.collection-progress+.combo{margin-top:7px}@media(max-height:550px)and (orientation:landscape){.collection-progress{position:absolute;top:4px;left:160px;margin:0;gap:12px}.collection-meter canvas{width:20px;height:20px}}.in-game .icon-button,.touch-controls button{-webkit-backdrop-filter:none;backdrop-filter:none}.heart-slot{position:relative;display:block;width:20px;height:20px}.heart-break,.heart-break>span{position:absolute;top:0;right:0;bottom:0;left:0}.heart-break{color:#ffad94}.heart-break>span{animation:heart-split-left .7s ease-out both;animation-play-state:inherit}.heart-break>span:first-child{clip-path:polygon(0 0,56% 0,44% 40%,58% 58%,43% 100%,0 100%)}.heart-break>span:last-child{clip-path:polygon(56% 0,100% 0,100% 100%,43% 100%,58% 58%,44% 40%);animation-name:heart-split-right}@keyframes heart-split-left{0%{transform:scale(1.2);opacity:1}to{transform:translate(-9px,13px) rotate(-24deg);opacity:0}}@keyframes heart-split-right{0%{transform:scale(1.2);opacity:1}to{transform:translate(9px,13px) rotate(24deg);opacity:0}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){.heart-break>span{animation:none}.heart-break>span:first-child{transform:translate(-2px)}.heart-break>span:last-child{transform:translate(2px)}}.run-event{position:absolute;z-index:5;left:50%;top:20px;transform:translate(-50%);width:min(570px,calc(100% - 36px));display:grid;grid-template-columns:120px 1fr;align-items:center;gap:16px;padding:15px 23px 15px 12px;min-height:145px;pointer-events:none;background:linear-gradient(115deg,#172834f5,#0a1521f5 65%);border:2px solid #caa15e;border-radius:10px 24px;box-shadow:0 9px #02091380,inset 0 0 0 4px #07121b,0 16px 32px #0008;animation:event-arrival .24s cubic-bezier(.2,.8,.2,1) both}.run-event:before,.run-event:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#f1c984;top:8px}.run-event:before{left:8px}.run-event:after{right:8px}.run-event canvas{width:120px;height:110px}.event-copy{min-width:0}.event-copy strong{display:block;font:900 clamp(28px,3.1vw,44px) / 1.05 Georgia,serif;color:#ffebbb;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 3px 0 #0009}.event-copy small{display:block;color:#dbbc83;font-size:10px;letter-spacing:.12em;margin-bottom:9px}.run-event-band{grid-template-columns:164px 1fr;border-color:#ead29a;background:linear-gradient(120deg,#3c2534f5,#101a25f5 65%)}.run-event-band canvas{width:164px;height:150px}.event-star svg{width:82px;height:82px;color:#ffe6a5;margin-left:16px}.run-event-damage{border:3px solid #ff9d81;background:linear-gradient(115deg,#6c2427fa,#30151ffa);box-shadow:0 8px #210d16aa,inset 0 0 0 4px #2b1018,0 12px 38px #0009}.run-event-damage strong{color:#fff2de}.damage-emblem{position:relative;color:#f88b77;height:105px}.damage-emblem svg{position:absolute;top:7px;right:7px;bottom:7px;left:7px;width:104px;height:91px}.damage-emblem b{position:absolute;top:12px;right:0;bottom:0;left:0;text-align:center;font:900 59px/1.2 Georgia,serif;color:#34151f}.remaining-hearts{display:flex;gap:7px;margin-top:10px;color:#ffac93}.remaining-hearts svg{width:24px;height:24px}.event-paused{animation-play-state:paused}@keyframes event-arrival{0%{opacity:0;transform:translate(-50%,-12px) scale(.93)}to{opacity:1;transform:translate(-50%) scale(1)}}@media(max-width:600px){.run-event{top:clamp(138px,19%,170px);grid-template-columns:86px 1fr;gap:9px;padding:14px 14px 14px 7px;min-height:135px}.run-event canvas{width:86px;height:79px}.run-event-band{grid-template-columns:112px 1fr}.run-event-band canvas{width:112px;height:103px}.run-event-band .event-copy strong{font-size:25px}.event-copy strong{font-size:29px}.damage-emblem{height:85px}.damage-emblem svg{width:81px;height:74px;top:6px;right:0;bottom:6px;left:0}.damage-emblem b{font-size:47px;top:12px}.event-star svg{width:68px;height:68px;margin-left:8px}}@media(max-height:550px)and (orientation:landscape){.run-event{top:10px;width:min(430px,65%);min-height:90px;grid-template-columns:75px 1fr;gap:10px;padding:9px 16px 9px 6px}.collection-progress{left:0;top:72px;flex-direction:column;align-items:flex-start;gap:5px}.run-event canvas{width:75px;height:69px}.event-copy strong{font-size:27px}.damage-emblem{height:70px}.damage-emblem svg{width:74px;height:65px;top:2px;right:0;bottom:2px;left:0}.damage-emblem b{font-size:43px;top:8px}.remaining-hearts{margin-top:6px}.remaining-hearts svg{width:18px;height:18px}}@media(max-width:600px)and (max-height:700px){.run-event{top:133px;padding-top:6px;padding-bottom:6px;min-height:110px}.run-event-band{grid-template-columns:100px 1fr}.run-event-band canvas{width:100px;height:92px}.event-copy strong{font-size:26px}.run-event-band .event-copy strong{font-size:23px}.event-copy small{font-size:9px;margin-bottom:5px}}
