:root{color-scheme:dark;--ink:#080d20;--mint:#75f0c6;--violet:#a18aff;--white:#f5f7ff;--muted:#a1a9c5;--gold:#ffe080}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at center,#141a3c,#060a18 78%);color:var(--white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;display:grid;place-items:center}button{font:inherit;color:inherit}.game{position:relative;width:min(100vw,56.25svh);height:min(100svh,177.78vw);min-height:0;max-height:100svh;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 55%,#171c49,#080d20 78%);box-shadow:0 0 60px #0009}canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1;touch-action:none}.hud{position:absolute;z-index:2;top:max(13px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));display:grid;grid-template-columns:1fr auto 42px;gap:clamp(8px,2vw,20px);align-items:center;pointer-events:none}.brand{display:flex;align-items:center;gap:9px;text-shadow:0 2px 12px #0008}.brand-star{color:#b5a4ff;font-size:26px;text-shadow:0 0 18px #9582ff}.brand strong{font-size:clamp(15px,2.5vw,21px);font-weight:950;letter-spacing:.15em}.brand small{display:block;color:#a8b1cf;font-size:8px;letter-spacing:.2em;font-weight:800;margin-top:1px}.scorebar{display:flex;align-items:center;gap:clamp(12px,3vw,27px);padding:8px 14px;border:1px solid #ffffff20;border-radius:14px;background:#090e24bf;backdrop-filter:blur(12px);box-shadow:0 5px 22px #0003}.scorebar div{text-align:center}.scorebar div>span{display:block;font-size:8px;letter-spacing:.15em;font-weight:800;color:#a5acc5}.scorebar strong{font-size:clamp(15px,2.1vw,20px);font-weight:950;font-variant-numeric:tabular-nums}.scorebar strong span{font-size:10px;color:#99a6c7;margin-left:2px}.scorebar i{height:25px;width:1px;background:#ffffff20}.scorebar div:last-child strong{color:#c4b4ff}.scorebar .bonus-stat strong{color:#ffe080}.icon-btn{pointer-events:auto;width:42px;height:42px;border-radius:13px;border:1px solid #ffffff22;background:#090e24cf;backdrop-filter:blur(9px);display:grid;place-items:center;cursor:pointer}.icon-btn svg{width:21px;fill:none;stroke:#e8eaff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tip{position:absolute;z-index:1;top:clamp(66px,10vh,94px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #ffffff18;border-radius:99px;background:#090e24ad;backdrop-filter:blur(8px);font-size:clamp(8px,1.2vw,10px);font-weight:900;letter-spacing:.15em;color:#d7daf0;white-space:nowrap}.tip-dot{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 10px var(--mint)}.touch-controls{position:absolute;z-index:2;inset:0;display:none;pointer-events:none}.game.touch-device .touch-controls{display:block}.game.tilt-ready .touch-controls{display:none}.touch-controls .move-left{left:max(16px,env(safe-area-inset-left))}.touch-controls .move-right{right:max(16px,env(safe-area-inset-right))}.touch-controls button{position:absolute;bottom:max(41px,env(safe-area-inset-bottom));pointer-events:auto;width:clamp(46px,7vh,60px);height:clamp(46px,7vh,60px);border:1px solid #ffffff2d;border-radius:17px;background:#101735c9;backdrop-filter:blur(7px);font-size:33px;line-height:1;font-weight:400;color:#e7e9ff;touch-action:none}.touch-controls button:active{background:#6151b5;transform:scale(.94)}footer{position:absolute;z-index:1;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:8px;color:#a2a9c2;font-size:8px;font-weight:800;letter-spacing:.13em;text-shadow:0 1px 6px #000;pointer-events:none}footer i{font-size:7px;color:var(--mint);margin-right:5px}.overlay{position:absolute;z-index:5;inset:0;display:grid;place-items:center;padding:18px;background:#070b1bd9;backdrop-filter:blur(12px);opacity:0;visibility:hidden;transition:.22s}.overlay.show{opacity:1;visibility:visible}.card{width:min(90vw,100%,390px);padding:clamp(22px,4vh,32px);text-align:center;border:1px solid #a69aff36;border-radius:26px;background:linear-gradient(145deg,#1d2145,#10152f 82%);box-shadow:0 25px 80px #000a}.orb,.end-orb{width:56px;height:56px;border-radius:20px;display:grid;place-items:center;margin:0 auto 12px;background:linear-gradient(145deg,#7969df,#3cccae);font-size:29px;color:white;box-shadow:0 8px 25px #8475ff55,inset 0 1px #ffffff77;transform:rotate(-7deg)}.kicker{font-size:9px;font-weight:900;letter-spacing:.22em;color:#9cffe1}.start-card h1{font-size:clamp(33px,6vh,44px);font-weight:1000;letter-spacing:.16em;margin:5px 0 0;text-shadow:0 5px 25px #9d87ff5e}.subhead{font-size:9px;font-weight:900;letter-spacing:.28em;color:#b6a8ff;margin:1px 0 13px}.card p{color:#c0c5dc;font-size:clamp(11px,1.7vh,13px);line-height:1.55;margin:0 auto 16px}.controls-note{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:0 0 18px}.controls-note span{padding:6px 9px;border:1px solid #ffffff18;border-radius:99px;background:#ffffff08;color:#d0d4e7;font-size:9px;font-weight:700}.primary{width:100%;height:47px;border:0;border-radius:14px;background:linear-gradient(110deg,#54d9b3,#a5f0c9);color:#0a1a25;font-weight:950;font-size:11px;letter-spacing:.12em;cursor:pointer;box-shadow:0 7px 22px #53dbba39,inset 0 1px #ffffff9e}.primary b{float:right;margin-right:13px;font-size:16px;line-height:13px}.end-orb{background:linear-gradient(145deg,#8274e9,#4d477f);color:#fff}.end-card h2{font-size:clamp(21px,3.8vh,27px);margin:0 0 8px;letter-spacing:-.04em}.end-card p{margin-bottom:0}.final-height{display:block;font-size:clamp(42px,8vh,58px);line-height:1.1;font-variant-numeric:tabular-nums;color:#c3b6ff}.final-height span{font-size:18px;color:#a8a9c7;margin-left:3px}.record-note{margin:8px 0 18px;padding:10px;border-radius:12px;background:#ffffff08;color:#c9cbe0;font-size:10px}.landscape{display:none!important}@media(max-width:370px){.hud{grid-template-columns:1fr auto 38px;left:9px;right:9px;gap:6px}.scorebar{gap:10px;padding:7px 9px}.scorebar div>span{font-size:7px}.icon-btn{width:38px;height:38px}.brand{gap:6px}.brand-star{font-size:22px}.brand small{font-size:7px}.touch-controls .move-left{left:10px}.touch-controls .move-right{right:10px}}@media(max-height:420px) and (orientation:portrait){.hud{top:6px}.tip{top:53px}.card{padding:15px 22px}.orb{width:38px;height:38px;margin:0 auto 6px;font-size:22px}.start-card h1{font-size:29px}.subhead{margin-bottom:7px}.card p{margin-bottom:8px}.controls-note{margin-bottom:9px}.primary{height:39px}.touch-controls button{bottom:23px;width:38px;height:38px;border-radius:12px;font-size:27px}footer{bottom:6px;font-size:7px}}

@media (orientation:landscape) and (max-height:600px){.brand-star{font-size:18px}.brand{gap:5px}.brand strong{font-size:13px;letter-spacing:.1em}.brand small{display:none}.hud{grid-template-columns:1fr auto 32px;left:8px;right:8px;gap:5px}.scorebar{gap:4px;padding:5px 5px}.scorebar div>span{font-size:6px}.scorebar strong{font-size:12px}.scorebar strong span{font-size:8px}.scorebar i{height:19px}.icon-btn{width:32px;height:32px}.icon-btn svg{width:17px}.tip{top:50px;font-size:7px;padding:5px 8px}.touch-controls .move-left{left:7px}.touch-controls .move-right{right:7px}.touch-controls button{bottom:24px;width:36px;height:36px;border-radius:12px;font-size:27px}footer{left:8px;right:8px;bottom:6px;font-size:6px;letter-spacing:.07em}footer span:last-child{display:none}.card{padding:16px 18px}.orb{width:38px;height:38px;margin:0 auto 6px;font-size:21px}.start-card h1{font-size:27px}.subhead{margin-bottom:7px}.card p{font-size:10px;margin-bottom:8px}.controls-note{margin-bottom:9px}.controls-note span{font-size:8px;padding:5px 7px}.primary{height:38px;font-size:10px}}
@media(max-width:240px){.hud{left:5px;right:5px;grid-template-columns:1fr auto 28px;gap:3px}.brand-star{font-size:15px}.brand{gap:3px}.brand strong{font-size:11px}.scorebar{gap:3px;padding:4px}.scorebar div>span{letter-spacing:.05em}.icon-btn{width:28px;height:28px}.touch-controls .move-left{left:5px}.touch-controls .move-right{right:5px}.touch-controls button{width:32px;height:32px}.tip{max-width:94%;white-space:normal;text-align:center;justify-content:center;font-size:7px}.card{padding:14px 12px}}
