*{box-sizing:border-box;margin:0;padding:0}html,body{color:#fff;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#0e1015;width:100%;height:100%;font-family:Fredoka,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow:hidden}canvas#game{touch-action:none;width:100%;height:100%;display:block;position:fixed;top:0;bottom:0;left:0;right:0}a{color:#b9a8ff}[hidden]{display:none!important}.overlay{-webkit-backdrop-filter:blur(4px);z-index:20;background:#080a108c;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.overlay.show{display:flex}.card{text-align:center;background:#1b1e2b;border:2px solid #ffffff12;border-radius:24px;width:min(410px,100%);margin:auto;padding:26px 22px 20px;position:relative;box-shadow:0 24px 70px #0000008c}.lang{gap:4px;display:flex;position:absolute;top:12px;right:12px}.lang button{font:inherit;cursor:pointer;color:#8a8fa8;background:0 0;border:1px solid #ffffff1f;border-radius:8px;padding:4px 8px;font-size:12px;font-weight:600}.lang button.on{color:#241a00;background:#fc0;border-color:#fc0}.logo{letter-spacing:3px;color:#fc0;text-shadow:0 5px #8a5d00,0 10px 24px #00000080;font-size:72px;font-weight:700;line-height:.9}.logo .o{vertical-align:-.02em;background:radial-gradient(circle,#000 55%,#1d2030 80%);border:5px solid #fc0;border-radius:50%;width:.5em;height:.5em;margin-right:.12em;display:inline-block;box-shadow:0 5px #8a5d00}.tag{color:#c8cbe0;margin-top:10px;font-size:17px}input#nick{width:100%;font:inherit;text-align:center;color:#fff;-webkit-user-select:text;user-select:text;background:#12141e;border:2px solid #ffffff1a;border-radius:14px;outline:none;margin-top:18px;padding:11px 14px;font-size:19px;font-weight:500}input#nick:focus{border-color:#fc0}.btn{width:100%;font:inherit;cursor:pointer;border:0;border-radius:14px;margin-top:12px;padding:12px 16px;font-size:19px;font-weight:600;transition:transform 80ms,filter .15s;display:block}.btn:active{transform:translateY(2px)scale(.99)}.btn:hover{filter:brightness(1.08)}.btn:disabled{filter:grayscale(.8)brightness(.7);cursor:default}.btn.primary{color:#241a00;background:#fc0;box-shadow:0 5px #a87e00}.btn.online{color:#04291b;background:#22c08a;box-shadow:0 5px #13805a}.btn.ad{color:#fff;background:#7c5cff;font-size:17px;box-shadow:0 5px #4b33b8}.btn small{opacity:.8;font-size:12px;font-weight:500;display:block}.btn.ghost{color:#c8cbe0;background:0 0;border:2px solid #ffffff1f;padding:10px;font-size:16px}.bank{background:#7c5cff1a;border:1px solid #7c5cff40;border-radius:16px;margin-top:16px;padding:12px}.bank-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:15px;display:flex}.bank-top b{color:#fc0}.chk{color:#c8cbe0;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:flex}.chk small{opacity:.7}.chk input{accent-color:#fc0;width:17px;height:17px}.bank .btn{margin-top:10px}.bank-msg{color:#b9a8ff;min-height:16px;margin-top:8px;font-size:13px}.account{color:#c8cbe0;margin-top:12px;font-size:15px}.account .btn{margin-top:0}.hint{color:#8a8fa8;margin-top:14px;font-size:13px}.rec{color:#ffe37a;min-height:18px;margin-top:10px;font-size:15px}.foot{margin-top:10px;font-size:12px}h2{font-size:32px;font-weight:700;line-height:1.05}.sub{color:#c8cbe0;margin-top:6px;font-size:16px}.big{color:#fc0;margin-top:6px;font-size:54px;font-weight:700;line-height:1}.rank{text-align:left;margin:14px 0 4px;font-size:16px}.rank div{border-radius:10px;justify-content:space-between;padding:6px 10px;display:flex}.rank div:nth-child(odd){background:#ffffff09}.rank div.me{color:#ffe37a;background:#ffcc0029;font-weight:600}.newrec{color:#7bd389;margin-top:8px;font-size:17px;font-weight:600}#hud{pointer-events:none;z-index:10;display:none;position:fixed;top:0;bottom:0;left:0;right:0}#hud.show{display:block}.pill{background:#0f111ab8;border-radius:14px;padding:7px 14px;font-size:20px;font-weight:600;position:absolute}#timer{text-align:center;min-width:92px;font-size:24px;top:12px;left:50%;transform:translate(-50%)}#timer.hurry{background:#dc283cd9}#zonePill{white-space:nowrap;font-size:15px;display:none;top:60px;left:50%;transform:translate(-50%)}#zonePill.show{display:block}#zonePill.warn{background:#dc283cd9;animation:.5s infinite alternate blink}@keyframes blink{to{background:#780a19d9}}#score{top:12px;left:12px}#score span{color:#fc0}#board{background:#0f111ab8;border-radius:14px;width:190px;padding:8px 10px;font-size:14px;position:absolute;top:12px;right:12px}#board .t{color:#8a8fa8;letter-spacing:1px;margin-bottom:4px;font-size:12px;font-weight:600}#board .row{justify-content:space-between;gap:8px;padding:1px 0;display:flex}#board .row .n{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#board .row.me{color:#fc0;font-weight:600}#feed{flex-direction:column;gap:6px;display:flex;position:absolute;bottom:12px;left:12px}#feed div{background:#0f111ab8;border-radius:10px;padding:5px 10px;font-size:14px;animation:.25s fin}@keyframes fin{0%{opacity:0;transform:translate(-10px)}}#mini{background:#0f111ab8;border-radius:12px;width:130px;height:130px;position:absolute;bottom:12px;right:12px}#toast{z-index:30;color:#fc0;text-shadow:0 3px #000;opacity:0;white-space:nowrap;pointer-events:none;font-size:24px;font-weight:700;transition:opacity .25s;position:fixed;top:112px;left:50%;transform:translate(-50%)}#toast.show{opacity:1}#mute{z-index:11;color:#fff;cursor:pointer;background:#0f111ab8;border:0;border-radius:12px;width:38px;height:38px;margin-left:62px;font-size:18px;display:none;position:fixed;top:12px;left:50%}#hud.show~#mute{display:block}#exit{z-index:11;color:#fff;height:38px;font:inherit;cursor:pointer;background:#0f111ab8;border:0;border-radius:12px;margin-left:106px;padding:0 12px;font-size:15px;font-weight:600;display:none;position:fixed;top:12px;left:50%}#exit:hover{background:#dc283cd9}#hud.show~#exit{display:block}#adOverlay{z-index:50;text-align:center;background:#05060a;flex-direction:column;justify-content:center;align-items:center;padding:20px;display:none;position:fixed;top:0;bottom:0;left:0;right:0}#adOverlay.show{display:flex}#adOverlay .lbl{color:#8a8fa8;letter-spacing:1px;font-size:13px;position:absolute;top:14px;left:16px}#adOverlay .box{aspect-ratio:16/9;background:repeating-linear-gradient(45deg,#1b1e2b 0 22px,#20243a 22px 44px);border:2px dashed #ffffff2e;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;width:min(560px,100%);padding:20px;display:flex}#adTitle{font-size:26px;font-weight:700}#adOverlay p{color:#c8cbe0;max-width:420px;margin-top:8px;font-size:15px}#adCount{color:#fc0;margin-top:14px;font-size:44px;font-weight:700}#adSkip{font:inherit;color:#c8cbe0;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:10px;margin-top:18px;padding:8px 14px;font-size:14px}@media (max-width:600px){#board{width:150px;font-size:12px}#mini{width:96px;height:96px}.pill{font-size:16px}#timer{min-width:74px;font-size:19px;top:58px;left:12px;transform:none}#mute{width:36px;height:36px;margin-left:0;top:58px;left:96px}#exit{height:36px;margin-left:0;font-size:14px;top:58px;left:138px}#zonePill{white-space:normal;max-width:calc(100% - 180px);font-size:13px;top:102px;left:12px;transform:none}.logo{font-size:58px}.card{padding:20px 16px 16px}}
