
#game{background:#20235a}#game[data-ready="false"]> :not(#loading){visibility:hidden}#loading{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:radial-gradient(ellipse at top,#3852ac,#161b4c);font-size:14px;color:#bdeeff}#loading img{width:62%;max-width:270px}#game[data-ready="true"] #loading{display:none}#retry[hidden]{display:none}
#logo{position:absolute;top:6.5%;margin:0;width:57%;max-width:none;transform:none;filter:drop-shadow(0 5px 8px #11185588)}#logo img{width:100%;display:block}#chapter{position:absolute;top:26%;margin:0;padding:9px 18px;max-width:86%;font-size:clamp(11px,3.3vw,16px);letter-spacing:.7px;border:2px solid #5aeaff;border-radius:8px;background:linear-gradient(#333da0,#141956);box-shadow:0 0 10px #37dfff,inset 0 0 10px #468fff;color:#ffe86c}
#bottom{bottom:4%;left:4%;right:4%;height:31%;display:flex;flex-direction:column;gap:17px;align-items:center}.hint{display:none}#play{margin:0;width:86%;min-height:56px;flex:0 0 29%;font-size:clamp(21px,6vw,30px);font-style:italic;color:#60200c;border:3px solid #fff5ab;border-radius:17px;background:linear-gradient(165deg,#fff871,#ffce00 50%,#ffad09);box-shadow:0 4px 0 #c56419,0 0 0 5px #3446a2,0 0 18px #39d9ff;text-shadow:0 1px #fff28b}
.upgrades{width:100%;flex:1;gap:7px}.upgrades button{--glow:#37e6ff;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;min-height:0;padding:7px 3px;border:2px solid var(--glow);border-radius:13px;background:linear-gradient(145deg,#154b9c,#082a5c);box-shadow:inset 0 0 13px #29b8ff66,0 0 8px #28bfff55;font-size:clamp(10px,2.8vw,13px)}.upgrades button:nth-child(2){--glow:#ffbb4e;background:linear-gradient(145deg,#9d481e,#492637);box-shadow:inset 0 0 14px #ff981866,0 0 8px #ff981844}.upgrades button:nth-child(3){--glow:#ff6ba9;background:linear-gradient(145deg,#9b235f,#461642);box-shadow:inset 0 0 14px #ff488766,0 0 8px #ff488744}.upgrades button:nth-child(4){--glow:#90ff62;background:linear-gradient(145deg,#19783f,#073a39);box-shadow:inset 0 0 14px #61ff4866,0 0 8px #61ff4844}.upgrades svg{height:40%;width:65%;overflow:visible;fill:var(--glow);stroke:#fff;stroke-width:1.5;stroke-linejoin:round;filter:drop-shadow(0 0 6px var(--glow))}.upgrades strong{white-space:nowrap}.upgrades small{font-size:10px;color:#d5f5ff}.price{display:block;width:96%;padding:3px 0;border:1px solid var(--glow);border-radius:8px;background:#09283acc;color:#fff5b3;font-size:12px}.price em{color:#92ff58;font-style:normal}.upgrades [aria-disabled=true] .price{color:#b1becb;opacity:.7}
#hud{z-index:2;top:14px;left:14px;right:14px}#pause{width:42px;height:42px;padding:0;font-size:28px;border:2px solid #6deaff;background:linear-gradient(#315caf,#15265b);box-shadow:0 0 0 3px #183d78,0 0 12px #2ee7ff66}#money{color:#fff;border:2px solid #6eeaff;background:linear-gradient(#303b89,#191a50);box-shadow:0 0 8px #43d7ff77;font-size:18px!important;min-width:100px;text-align:center}#version{display:none}#toast{z-index:6;top:61%;font-size:14px;color:#fff;text-shadow:none;background:#142752ed;border-radius:10px;padding:9px;left:12%;right:12%}.panel{box-shadow:0 12px 60px #070d40aa;border-width:2px;background:linear-gradient(145deg,#283b83,#111c42)}.panel h1{font-size:28px;text-shadow:none}.panel button{font-size:14px}button{transition:transform .16s,filter .16s,box-shadow .16s}button:hover{filter:brightness(1.15)}button:active{transform:scale(.96);filter:brightness(1.3)}button:focus-visible{outline:3px solid #fff;outline-offset:4px}#paused,#result{z-index:5;backdrop-filter:blur(8px)}
@media(max-height:650px){#bottom{gap:12px}.upgrades button{padding:4px 2px}#play{min-height:42px}#chapter{padding:5px 12px}#hud{top:8px}.upgrades svg{height:32%}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
