*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{color:#fff;touch-action:none;-webkit-user-select:none;user-select:none;overscroll-behavior:none;background:#0d1030;height:100%;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow:hidden}canvas{display:block;position:fixed;top:0;bottom:0;left:0;right:0}.hidden{display:none!important}#hud{pointer-events:none;padding:calc(env(safe-area-inset-top) + 8px) 12px 0;position:fixed;top:0;bottom:0;left:0;right:0}#hud>div:not(#fx-chips){top:calc(env(safe-area-inset-top) + 8px);text-shadow:0 2px #00000059;font-size:20px;font-weight:800;position:absolute}.hud-left{left:12px}.hud-mid{text-align:center;left:50%;transform:translate(-50%)}.hud-right{text-align:right;align-items:flex-start;gap:10px;display:flex;right:12px}.small{opacity:.85;font-size:12px;font-weight:700}.seed{vertical-align:-1px;background:radial-gradient(circle at 35% 30%,#fff6b0,#ffd23f 45%,#c98a00);border-radius:50%;width:12px;height:15px;display:inline-block}.icon{pointer-events:auto;border-radius:12px;width:40px;height:40px;padding:0;font-size:14px}#fx-chips{top:calc(env(safe-area-inset-top) + 88px);flex-wrap:wrap;gap:6px;max-width:70%;display:flex;position:absolute;left:12px}.chip{color:#fff;text-shadow:0 1px #0006;border:2px solid #ffffffb3;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.chip.bad{border-color:#2a0a0e}#toast{text-align:center;text-shadow:0 3px #0006;pointer-events:none;white-space:nowrap;font-size:30px;font-weight:900;animation:.35s ease-out pop;position:fixed;top:28%;left:50%;transform:translate(-50%)}#toast .sub{opacity:.9;font-size:15px;font-weight:700;display:block}@keyframes pop{0%{opacity:0;transform:translate(-50%,10px)scale(.6)}to{opacity:1;transform:translate(-50%)scale(1)}}#rotate{z-index:50;background:#0d1030;place-items:center;font-size:22px;font-weight:800;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.screen{padding:calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px);-webkit-backdrop-filter:blur(3px);z-index:10;touch-action:manipulation;background:linear-gradient(#141e508c,#0a0a28cc);flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}#scr-title,#scr-levels{background:linear-gradient(#14286426,#0a0a288c)}.logo{letter-spacing:-2px;color:#ffd23f;text-shadow:0 6px #d27a35,0 10px 18px #00000059;flex-direction:column;align-items:center;font-size:min(22vw,110px);font-weight:900;line-height:.85;display:flex;transform:rotate(-4deg)}.logo span:nth-child(2){color:#fff;text-shadow:0 6px #3f97f5,0 10px 18px #00000059;margin-left:18%}.logo.small{white-space:nowrap;font-size:min(12vw,60px)}.tag{opacity:.95;text-align:center;text-shadow:0 2px #0000004d;margin:0;font-weight:700}.stack{flex-direction:column;gap:10px;width:min(320px,86vw);display:flex}.row{gap:10px;display:flex}.row button{flex:1}button{font:inherit;color:#fff;cursor:pointer;touch-action:manipulation;background:linear-gradient(#4fa8ff,#2f74e0);border:0;border-radius:16px;padding:12px 16px;font-size:17px;font-weight:800;box-shadow:0 4px #1d4f9e,0 6px 14px #00000040}button:active{transform:translateY(3px);box-shadow:0 1px #1d4f9e}button.big{color:#5a3200;background:linear-gradient(#ffe066,#ffb703);padding:15px 18px;font-size:22px;box-shadow:0 5px #c27c00,0 8px 16px #0000004d}button.danger{background:linear-gradient(#ff6b6b,#d43c3c);box-shadow:0 4px #8f1f1f}.stats{text-align:center;opacity:.95;text-shadow:0 2px #00000059;font-size:14px;font-weight:700;line-height:1.6}.stats.big{font-size:20px}.stats b{color:#ffd23f}h2{text-shadow:0 3px #00000059;margin:0;font-size:32px;font-weight:900}h3{color:#ffd23f;margin:14px 0 6px;font-size:17px}.scroll{touch-action:pan-y;background:#0000004d;border-radius:16px;width:min(460px,92vw);max-height:68vh;padding:4px 16px 14px;font-size:15px;line-height:1.4;overflow-y:auto}.legend{gap:6px;margin:0;padding:0;list-style:none;display:grid}.legend li{align-items:center;gap:10px;display:flex}.pl{border:2px solid #0000004d;border-radius:6px;flex:none;width:44px;height:12px}.pl.normal{background:#3fd26a}.pl.spring{background:#e23b3b}.pl.moving{background:#2f84e8}.pl.crumble{background:#c78947}.pl.conveyor{background:repeating-linear-gradient(90deg,#8492a8 0 8px,#ffd23f 8px 12px)}.pl.cloud{background:#fff}.rg{border:5px solid;border-radius:50%;flex:none;width:26px;height:26px;box-shadow:0 0 0 2px #fff}.rg.bad{border-style:dashed;box-shadow:0 0 0 2px #2a0a0e,0 0 0 5px #2a0a0e73}.form{background:#0000004d;border-radius:16px;flex-direction:column;gap:12px;width:min(360px,90vw);padding:16px;font-weight:700;display:flex}.form label{flex-direction:column;gap:6px;display:flex}.form label.chk{flex-direction:row;align-items:center;gap:10px}.form input[type=checkbox]{width:22px;height:22px}select{font:inherit;border:0;border-radius:12px;padding:10px;font-size:16px}input[type=range]{width:100%}#h-level{color:#ffd23f;font-size:14px}.glide-btn{left:12px;bottom:calc(env(safe-area-inset-bottom) + 18px);pointer-events:auto;background:linear-gradient(#8ff6ff,#2ab7d6);border-radius:50%;width:64px;height:64px;padding:0;font-size:26px;position:absolute;box-shadow:0 4px #157a91}.glide-btn span{color:#157a91;background:#fff;border-radius:999px;padding:0 6px;font-size:13px;position:absolute;bottom:0;right:2px}.pl.ledge{background:repeating-linear-gradient(90deg,#d8b072 0 10px,#9b7240 10px 12px);width:60px}.topbar{justify-content:space-between;align-items:center;width:min(460px,92vw);display:flex}.wallet{background:#00000059;border-radius:999px;padding:6px 12px;font-size:20px;font-weight:900}.row.wide{width:min(460px,92vw)}.level-grid{touch-action:pan-y;grid-template-columns:repeat(4,1fr);gap:10px;width:min(460px,92vw);max-height:62vh;padding:6px;display:grid;overflow-y:auto}.lvl{aspect-ratio:1;color:#fff;text-shadow:0 2px #00000059;border:3px solid #fffc;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px;font-size:22px;font-weight:900;display:flex;box-shadow:0 4px #00000059}.lvl .st{letter-spacing:-1px;color:#ffd23f;font-size:12px}.lvl .tm{opacity:.9;font-size:10px;font-weight:700}.lvl.city{background:linear-gradient(#7cc8ff,#3fae4f)}.lvl.sky{background:linear-gradient(#3f97f5,#b8e6ff)}.lvl.storm{background:linear-gradient(#273150,#6c7896)}.lvl.space{background:linear-gradient(#04051a,#3a2a8a)}.lvl.locked{filter:grayscale(.9)brightness(.6);border-style:dashed}.lvl.next{animation:1.2s ease-in-out infinite alternate glow}@keyframes glow{0%{box-shadow:0 4px #00000059,0 0 #ffd23f}to{box-shadow:0 4px #00000059,0 0 16px 4px #ffd23f}}.stars-big{letter-spacing:6px;color:#ffd23f;text-shadow:0 3px #c27c00;min-height:56px;font-size:46px}.stars-big .off{color:#ffffff40;text-shadow:none}.shop{max-height:52vh}.item{border-bottom:1px solid #ffffff1f;align-items:center;gap:10px;padding:8px 0;display:flex}.item .ic{text-align:center;width:36px;font-size:26px}.item .tx{flex:1;font-size:13px;line-height:1.25}.item .tx b{font-size:15px}.item .own{opacity:.9;font-size:12px}.item button{white-space:nowrap;border-radius:12px;padding:8px 10px;font-size:14px}.item button.eq{background:linear-gradient(#5be37d,#27b14e);box-shadow:0 3px #1d7f3a}.item button.uneq{box-shadow:none;background:#fff3}.item button:disabled{opacity:.45}.pips{color:#ffd23f;letter-spacing:1px}button.reward{background:linear-gradient(#c07bff,#7d3fe0);font-size:15px;box-shadow:0 4px #4f2391}.ad-slot{width:min(320px,90vw);min-height:50px}.ad-slot:empty{display:none}.ad-mock{color:#fff;background:repeating-linear-gradient(45deg,#ffffff14 0 10px,#ffffff05 10px 20px);border:2px dashed #ffffffb3;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;height:50px;font-size:12px;display:flex}.ad-mock b{letter-spacing:1px;text-transform:uppercase;font-size:13px}.ad-overlay{z-index:100;background:#000000d9;place-items:center;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.ad-box{aspect-ratio:9/14;text-align:center;background:repeating-linear-gradient(45deg,#222 0 16px,#2c2c2c 16px 32px);border:3px dashed #fff;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:min(340px,88vw);padding:16px;display:flex}.ad-tag{text-transform:uppercase;letter-spacing:1px;opacity:.8;font-size:12px}.ad-title{font-size:22px;font-weight:900}.ad-count{color:#ffd23f;font-size:44px;font-weight:900}.ad-skip{box-shadow:none;background:#fff3;font-size:13px}.hud-stack{text-align:right}.hud-stack .small{font-size:13px}.lvl .st{color:#fff}.lvl.locked .num{opacity:.8;font-size:13px}#game{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.note{background:#ffd23f29;border:1px solid #ffd23f80;border-radius:10px;margin:2px 0;padding:8px 10px;font-size:13px;font-weight:600;line-height:1.35}
