@font-face{font-family:Bungee;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bungee-latin.woff2)format("woff2")}:root{--gold:#e8b84a;--gold-light:#ffe7a3;--gold-dark:#8a6218;--neon:#ff4fa8;--neon-blue:#2aa8ff;--ink:#0b0712;--panel:#0b0712cc;--text:#fff;--muted:#ffffffad;--good:#9dffb0;--bad:#ffb3b3;--display:"Bungee", "Arial Black", Impact, sans-serif;--body:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--radius:14px;--gutter:16px}html,body{background:var(--ink);height:100%;font-family:var(--body);color:var(--text);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;margin:0;overflow:hidden}[hidden]{display:none!important}#app{touch-action:none;width:100vw;height:100vh;position:relative;overflow:hidden}@media (max-width:768px){#app{aspect-ratio:9/16;max-width:100vw;height:100dvh;margin:0 auto}}#game{width:100%;height:100%;display:block}.fade{opacity:0;pointer-events:none;background:#000;transition-property:opacity;transition-timing-function:ease-in-out;position:absolute;inset:0}#ui{pointer-events:none;position:absolute;inset:0}.hud{top:calc(env(safe-area-inset-top,0px) + 12px);right:var(--gutter);background:var(--panel);color:var(--gold-light);font-family:var(--display);font-variant-numeric:tabular-nums;text-shadow:0 0 8px #e8b84a80;border:1px solid #e8b84a73;border-radius:999px;align-items:center;gap:8px;padding:7px 14px 5px;font-size:20px;display:flex;position:absolute}.mute{top:calc(env(safe-area-inset-top,0px) + 12px);left:var(--gutter);z-index:1;background:var(--panel);width:40px;height:40px;color:var(--gold-light);pointer-events:auto;cursor:pointer;border:1px solid #e8b84a73;border-radius:999px;padding:8px;position:absolute}.mute svg{width:100%;height:100%;display:block}.power-ups{top:calc(env(safe-area-inset-top,0px) + 64px);right:var(--gutter);gap:10px;display:flex;position:absolute}.power-up{background:radial-gradient(closest-side, #16171b 80%, transparent 82%), conic-gradient(var(--ring,#fff) var(--left,100%), #ffffff2e 0);border-radius:50%;place-items:center;width:56px;height:56px;display:grid;box-shadow:0 2px 8px #00000073}.power-up svg{width:38px;height:38px}.coin-icon{flex:none;width:1em;height:1em}.screen{touch-action:pan-y;padding:calc(env(safe-area-inset-top,0px) + 64px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 24px);text-align:center;pointer-events:auto;background:radial-gradient(90% 70% at 50% 40%,#0b07129e,#050309e6);flex-direction:column;justify-content:safe center;align-items:center;gap:14px;display:flex;position:absolute;inset:0;overflow-y:auto}.screen.launch{background:#000;padding:0}.screen h1{font-family:var(--display);letter-spacing:.02em;color:#fff;text-shadow:0 0 6px var(--neon), 0 0 18px var(--neon), 0 0 42px #ff4fa899;margin:0 0 6px;font-size:34px;font-weight:400}@media (prefers-reduced-motion:no-preference){.screen h1{animation:7s ease-in-out infinite neon-hum}}@keyframes neon-hum{0%,to{opacity:1}48%{opacity:1}50%{opacity:.86}52%{opacity:1}83%{opacity:.94}}.screen h2{font-family:var(--display);letter-spacing:.12em;color:var(--gold);text-align:left;margin:0 0 10px;font-size:13px;font-weight:400}.screen p{color:var(--muted);margin:0;font-size:17px;line-height:1.4}.screen p strong{color:var(--text)}.screen .score{font-family:var(--display);color:var(--gold-light);text-shadow:0 0 10px #e8b84ab3,0 0 30px #e8b84a59;font-size:52px}.screen button{border-radius:var(--radius);background:linear-gradient(180deg, #ffd978 0%, var(--gold) 55%, #c9962f 100%);color:#2a1a05;min-width:220px;font-family:var(--display);letter-spacing:.03em;cursor:pointer;box-shadow:0 4px 0 var(--gold-dark), 0 8px 20px #00000073, inset 0 1px 0 #fff3c4;border:0;padding:15px 28px 13px;font-size:18px;font-weight:400;transition:transform 80ms,box-shadow 80ms}.screen button:active{box-shadow:0 1px 0 var(--gold-dark), 0 3px 10px #00000073, inset 0 1px 0 #fff3c4;transform:translateY(3px)}.screen button:disabled{opacity:.5;cursor:default}.screen button.secondary{color:var(--gold-light);border:2px solid var(--gold);background:#ffffff0f;box-shadow:0 0 14px #e8b84a40}.screen button.secondary:active{box-shadow:none;transform:scale(.97)}.screen button.link{min-width:0;color:var(--muted);font-family:var(--body);letter-spacing:0;text-underline-offset:3px;box-shadow:none;background:0 0;padding:8px;font-size:15px;font-weight:600;text-decoration:underline}.screen button.link:active{color:var(--text);transform:none}.screen button .icon{vertical-align:-.12em;width:1em;height:1em;margin-right:.3em}.button-row{gap:18px;display:flex}.screen .hint{max-width:320px;font-size:14px}.screen .error{min-height:1.4em;color:var(--bad);font-size:15px}.screen .result{min-height:1.4em;color:var(--text);font-weight:600}.screen .result.good{color:var(--good)}.screen .result.bad{color:var(--bad)}.tabs{background:#0006;border:1px solid #e8b84a59;border-radius:12px;gap:4px;padding:4px;display:flex}.screen .tabs .tab{min-width:0;color:var(--muted);box-shadow:none;background:0 0;border-radius:9px;padding:9px 16px 7px;font-size:14px}.screen .tabs .tab:active{transform:none}.screen .tabs .tab[aria-selected=true]{background:var(--gold);color:#2a1a05}.auth-form{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:320px;display:flex}.auth-form label{width:100%;color:var(--muted);text-align:left;flex-direction:column;gap:4px;font-size:14px;display:flex}.auth-form input{color:var(--text);font:inherit;-webkit-user-select:text;user-select:text;background:#00000073;border:1px solid #e8b84a59;border-radius:10px;padding:12px;font-size:17px}.auth-form input:focus{outline:2px solid var(--gold);outline-offset:1px}.telegram-form{flex-direction:column;align-items:center;gap:8px;width:100%;max-width:340px;display:flex}.telegram-row{gap:8px;width:100%;display:flex}.telegram-row input{min-width:0;color:var(--text);font:inherit;-webkit-user-select:text;user-select:text;background:#00000073;border:1px solid #e8b84a59;border-radius:10px;flex:1;padding:10px 12px;font-size:17px}.telegram-row input:focus{outline:2px solid var(--gold);outline-offset:1px}.screen .telegram-row button{min-width:0;padding:10px 16px 8px;font-size:15px}.screen button.corner{top:calc(env(safe-area-inset-top,0px) + 12px);right:var(--gutter);background:var(--panel);width:40px;min-width:0;height:40px;color:var(--gold-light);box-shadow:none;border:1px solid #e8b84a73;border-radius:999px;padding:9px;position:absolute}.screen button.corner:active{box-shadow:none;transform:scale(.94)}.screen button.corner svg{width:100%;height:100%;display:block}.screen.feedback{touch-action:pan-y;justify-content:flex-start;overflow-y:auto}.feedback-form{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:360px;display:flex}.feedback-form label{width:100%;color:var(--muted);text-align:left;flex-direction:column;gap:4px;font-size:14px;display:flex}.feedback-form textarea{color:var(--text);font:inherit;resize:vertical;-webkit-user-select:text;user-select:text;background:#00000073;border:1px solid #e8b84a59;border-radius:10px;padding:12px;font-size:17px}.feedback-form textarea:focus{outline:2px solid var(--gold);outline-offset:1px}.board{touch-action:pan-y;width:100%;max-width:340px;max-height:55dvh;margin:0;padding:0;list-style:none;overflow-y:auto}.board li{font-variant-numeric:tabular-nums;border-radius:8px;gap:10px;padding:8px 12px;display:flex}.board li:nth-child(odd){background:#ffffff12}.board li.top-1{background:linear-gradient(90deg,#ffd84a52,#ffd84a14)}.board li.top-2{background:linear-gradient(90deg,#d8dde642,#d8dde60f)}.board li.top-3{background:linear-gradient(90deg,#d98c4a4d,#d98c4a12)}.board li.top-1 .rank,.board li.top-2 .rank,.board li.top-3 .rank{font-family:var(--display);font-size:14px}.board li.top-1 .rank{color:#ffd84a;text-shadow:0 0 8px #ffd84ab3}.board li.top-2 .rank{color:#e6eaf0;text-shadow:0 0 8px #d8dde699}.board li.top-3 .rank{color:#e8a060;text-shadow:0 0 8px #d98c4ab3}.board li.me{box-shadow:inset 0 0 0 2px var(--gold);background:#e8b84a47}.board li.me .name{color:var(--gold-light);font-weight:700}.board li.gap{color:var(--muted);letter-spacing:.2em;background:0 0;justify-content:center;padding:0 12px}.board li.no-prize{opacity:.4}.board .rank{width:3.5em;color:var(--muted);text-align:left}.board .crown{vertical-align:-.15em;color:#ffd84a;filter:drop-shadow(0 0 4px #ffd84acc);width:1.1em;height:1.1em;margin-left:.35em}.board-box{flex-direction:column;align-items:stretch;gap:4px;width:100%;max-width:340px;display:flex}.screen .board-title{text-align:center;margin:0}.board.mini{max-height:none;font-size:15px;overflow:visible}.board.mini li{padding:6px 12px}.board .name{text-align:left;text-overflow:ellipsis;flex:1;overflow:hidden}.board .coins{font-family:var(--display);color:var(--gold-light);font-size:15px}.screen.settings{touch-action:pan-y;justify-content:flex-start;gap:12px;overflow-y:auto}.settings-body{flex-direction:column;gap:10px;width:100%;max-width:360px;display:flex}.settings-body section{text-align:left;background:#ffffff0d;border:1px solid #e8b84a59;border-radius:16px;padding:14px}.settings-body .hint{max-width:none;margin:8px 0 2px;font-size:13px}.settings-body .row{justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:16px;display:flex}.settings-body .row small{color:var(--muted);margin-left:4px;font-size:12px}.settings-body .link{margin:0 auto;display:block}.seg{background:#0006;border:1px solid #e8b84a59;border-radius:12px;gap:3px;width:100%;padding:3px;display:flex}.seg.small{width:auto}.screen .seg button{min-width:0;color:var(--muted);box-shadow:none;background:0 0;border-radius:9px;flex:1;padding:10px 6px 8px;font-size:13px}.screen .seg.small button{padding:8px 14px 6px}.screen .seg button:active{transform:none}.screen .seg button[aria-checked=true]{background:var(--gold);color:#2a1a05}.screen .switch{background:#ffffff29;border-radius:999px;flex:none;width:52px;min-width:0;height:30px;padding:0;transition:background .15s;position:relative;box-shadow:inset 0 1px 3px #00000080}.screen .switch:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000080}.screen .switch:active{transform:none}.screen .switch[aria-checked=true]{background:var(--gold)}.screen .switch[aria-checked=true]:after{transform:translate(22px)}.slider{grid-template-columns:5em 1fr 3em;align-items:center;gap:10px;min-height:40px;font-size:15px;display:grid}.slider input{width:100%;accent-color:var(--gold);touch-action:pan-x;margin:0}.slider output{font-variant-numeric:tabular-nums;text-align:right;color:var(--muted)}.screen.intro{padding:calc(env(safe-area-inset-top,0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 20px);cursor:pointer;background:radial-gradient(90% 70%,#0f0a19e0,#050309fa);justify-content:space-between}.intro-header{justify-content:space-between;align-items:center;width:100%;max-width:600px;padding:0 4px;display:flex}.intro-tag{font-family:var(--display);letter-spacing:.12em;color:var(--gold);text-shadow:0 0 10px #e8b84a80;font-size:14px}.intro-skip{cursor:pointer;transition:all .15s;min-width:0!important;color:var(--muted)!important;font-family:var(--body)!important;letter-spacing:.02em!important;box-shadow:none!important;background:#ffffff14!important;border:1px solid #fff3!important;border-radius:999px!important;padding:6px 14px!important;font-size:13px!important;font-weight:600!important}.intro-skip:hover{color:#fff!important;border-color:var(--gold)!important;background:#e8b84a26!important}.intro-frame{flex:1;justify-content:center;align-items:center;width:100%;max-width:600px;min-height:0;margin:10px 0;display:flex}.intro-panel-img{object-fit:contain;border:3px solid #1a1528;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:65vh;box-shadow:0 12px 36px #000000bf,0 0 24px #e8b84a26}.intro-panel-img.fade-in{animation:.2s cubic-bezier(.16,1,.3,1) intro-panel-appear}@keyframes intro-panel-appear{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.intro-footer{flex-direction:column;align-items:center;gap:10px;width:100%;max-width:600px;display:flex}.intro-dots{justify-content:center;align-items:center;gap:8px;display:flex}.intro-dot{background:#ffffff40;border-radius:50%;width:8px;height:8px;transition:all .2s}.intro-dot.active{background:var(--gold);border-radius:4px;width:22px;box-shadow:0 0 10px #e8b84ab3}.intro-hint{letter-spacing:.02em;color:var(--muted)!important;font-size:14px!important}@media (prefers-reduced-motion:no-preference){.intro-hint{animation:2s ease-in-out infinite intro-pulse}}@keyframes intro-pulse{0%,to{opacity:.7}50%{opacity:1}}.launch{height:100%;min-height:100%;position:relative}.ld-plain{background:#000;justify-content:center;align-items:center;height:100%;min-height:100%;display:flex;overflow:hidden}.ld-plain-clock{color:#fff;font-variant-numeric:tabular-nums;font:800 clamp(28px,8vw,88px)/1 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;display:flex}.ld-plain-cell{text-align:center;width:.62em}.ld-plain-cell-colon{width:.38em}
