*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#100e21;color:#f8eedb;font-family:Georgia,serif;touch-action:none}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #cae5ec44;background:#141a2cc9;border-radius:12px;min-height:44px;touch-action:none}button:hover{border-color:#b0ffef}button:focus-visible{outline:2px solid #b0ffef;outline-offset:3px}[hidden]{display:none!important}#stage{height:100%;height:100svh;width:100%;position:relative;overflow:hidden}canvas{display:block;width:100%;height:100%}#hud{position:absolute;top:max(20px,env(safe-area-inset-top));left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}small,#hint,#guide,#message,button{font-family:system-ui,sans-serif}small{font-size:10px;letter-spacing:2px;color:#c7c0db}h1{font-size:25px;margin:6px 0;text-shadow:0 2px 6px #000}nav{display:flex;gap:8px;pointer-events:auto}nav button{width:45px;font-size:23px;background:#141526b5}#sound{font-size:12px;width:62px}#guide{position:absolute;top:104px;left:50%;transform:translateX(-50%);width:min(580px,86%);text-align:center;font-size:13px;text-shadow:0 2px 5px #000}#harmony{margin-top:8px;font-size:23px;letter-spacing:8px;color:#a6f4f4}#message{position:absolute;bottom:115px;left:50%;transform:translateX(-50%);width:min(620px,90%);text-align:center;color:#fff4d3;font-size:13px;text-shadow:0 2px 5px #000;pointer-events:none}#instrument{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center}.tones{display:flex;gap:6px}.tones button{width:65px;height:63px;font-size:27px;background:#151529d9}.tones small{display:block;font-size:9px;letter-spacing:.3px;color:inherit}.tones button.active{border-color:var(--tone);box-shadow:inset 0 0 18px #98ede520,0 0 12px #9c9bff33;color:var(--tone)}#pulse{height:63px;padding:0 20px;font-size:12px;letter-spacing:2px;background:#a2e3e7;color:#10252c;font-weight:800}#pulse small{color:#10252c;letter-spacing:0;margin-left:8px}#hint{position:absolute;bottom:8px;width:100%;text-align:center;font-size:10px;color:#b1abbf;pointer-events:none}#overlay{position:absolute;inset:0;background:linear-gradient(90deg,#0e1128ec,#12102688 45%,transparent);display:flex;align-items:center;padding:5vw}#card{width:450px;max-width:100%;text-shadow:0 2px 12px #000}#eyebrow{color:#9de5ec}h2{font-size:clamp(42px,5vw,76px);font-weight:400;line-height:1.02;letter-spacing:-2px;margin:18px 0}#description{font-size:18px;line-height:1.55;color:#e2d9e7}#instructions{border-left:1px solid #6ab8bf66;padding-left:18px;margin:24px 0}#instructions b{font-size:28px;color:#a6eeee;letter-spacing:10px}#instructions p{font-size:15px;line-height:1.6;margin:8px 0}#instructions span{font:11px system-ui;color:#bfb5d0}#primary{background:#a5e8e4;color:#14282f;border:0;padding:16px 27px;font-size:14px;font-weight:700;letter-spacing:.5px}#retry,#home{margin-left:7px;padding:10px 16px;font-size:12px}#levels{display:flex;gap:8px;margin-top:22px}#levels button{padding:10px 14px;font-size:11px}#touch{position:absolute;bottom:30px;left:24px;right:24px;pointer-events:none}#stick{width:112px;height:112px;border-radius:50%;border:1px solid #afebec66;background:#0e1e2d66;position:absolute;bottom:0;left:0;pointer-events:auto;touch-action:none}#stick i{display:block;position:absolute;width:44px;height:44px;left:33px;top:33px;background:#a4e5e56b;border:1px solid #e3ffff99;border-radius:50%}#jump{position:absolute;bottom:0;right:0;width:70px;height:70px;border-radius:50%;font-size:30px;pointer-events:auto}#jump small{display:block;font-size:9px;letter-spacing:1px}#error{position:absolute;inset:30%;background:#211b37;padding:25px;z-index:9}@media(pointer:coarse){#hint{display:none}#touch:not([hidden]){display:block}#instrument{bottom:165px}#message{bottom:245px}}@media(max-width:600px){#hud{left:16px;right:16px;top:16px}h1{font-size:19px;max-width:220px}#chapter{font-size:8px;letter-spacing:1.2px}nav{gap:5px}nav button{width:35px;min-height:37px;font-size:20px}#sound{width:43px;font-size:10px}#guide{top:87px;font-size:12px;width:90%}#overlay{padding:26px;background:linear-gradient(90deg,#101326eb,#14132888)}h2{font-size:54px}#description{font-size:16px}#instructions{margin:18px 0}#levels{gap:5px}#levels button{padding:9px;font-size:10px}#instrument{bottom:166px;gap:8px}.tones button{width:56px;height:58px}#pulse{height:58px;padding:0 13px}#touch{bottom:28px;left:21px;right:21px}#message{bottom:244px;font-size:12px}}@media(max-height:500px){#hud{top:12px}h1{font-size:18px;margin-top:3px}#guide{top:67px;width:65%;font-size:11px}#harmony{font-size:18px;margin-top:3px}#instrument{bottom:17px}#message{bottom:95px;font-size:11px}#overlay{padding:22px 6vw}#card{width:550px}h2{font-size:40px;margin:10px 0}#description{font-size:14px;margin:7px 0}#instructions{margin:9px 0;display:flex;align-items:center;gap:12px}#instructions b{font-size:20px;letter-spacing:3px;white-space:nowrap}#instructions p{font-size:11px;margin:0}#instructions span{display:none}#primary{padding:12px 20px}#levels{margin-top:10px}#levels button{padding:6px 10px}#touch{bottom:20px}#stick{width:92px;height:92px}#stick i{left:23px;top:23px}#jump{height:64px;width:64px}}
