:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f3f0e5;background:#10191e;font-family:Avenir Next,Avenir,system-ui,sans-serif}*{box-sizing:border-box}html,body{overscroll-behavior:none;background:#10191e;min-height:100%;margin:0;overflow:hidden}button,select{font:inherit;color:inherit}button{cursor:pointer}#app{width:min(100vw,480px);height:100dvh;padding:max(10px, env(safe-area-inset-top)) 14px max(10px, env(safe-area-inset-bottom));-webkit-user-select:none;user-select:none;grid-template-rows:auto minmax(0,1fr);gap:8px;margin:auto;display:grid;position:relative}.hud{align-items:center;gap:clamp(8px,2.5vw,16px);min-height:60px;display:flex}.hud div{gap:2px;display:grid}.hud span{color:#a7b7bc;letter-spacing:.1em;font-size:10px;font-weight:750}.hud strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(18px,5vw,26px);font-weight:900;line-height:1}.score-block strong{color:#f3f0e5;letter-spacing:-.04em;font-size:clamp(28px,7vw,34px)}.hud-spacer{flex:1}.correction strong{color:#79e3cf;letter-spacing:.02em;font-size:12px}.correction.spent strong{color:#a7b7bc;font-size:10px}.correction.spent{opacity:.78}#save-status{color:#ffc76b;margin:-5px 0 0;font-size:11px;font-weight:700}#lives{color:#ffc76b;letter-spacing:2px;font-size:16px}#pause,#options{color:#f3f0e5;background:0 0;border:1px solid #0000;border-radius:50%;width:44px;height:44px;padding:0;font-size:18px;font-weight:900}#pause:hover,#options:hover,button:focus-visible{background:#79e3cf1f;border-color:#79e3cf;outline:none}#timer.urgent,#timer-label.urgent{color:#ff7d86}#score{vertical-align:bottom;height:1.08em;display:inline-flex;overflow:hidden}.score-slot{width:.63em;height:1.08em;display:inline-block;position:relative;overflow:hidden}.score-digit{text-align:center;display:block}.score-slot.changed .score-digit:first-child{animation:.28s ease-in forwards score-out;position:absolute;inset:0}.score-slot.changed .score-digit:last-child{animation:.28s cubic-bezier(.2,.85,.2,1) both score-in}.playfield-wrap{place-items:center;min-height:0;display:grid;position:relative}#game{aspect-ratio:390/650;touch-action:none;background:#14242b;border:1px solid #355058;border-radius:12px;width:auto;max-width:100%;height:100%;max-height:100%;display:block}#result{pointer-events:none;letter-spacing:.045em;opacity:0;text-shadow:0 2px 8px #10191e;font-size:24px;font-weight:900;position:absolute;top:27%;left:50%;translate:-50% -50%}#result.show{animation:.52s ease-out result-pop}#result.result-close,#result.result-corner,#result.result-perfect{color:#ffc76b}#time-bonus{pointer-events:none;color:#f3f0e5;opacity:0;font-size:16px;font-weight:900;position:absolute;top:52%;left:50%;translate:-50% -50%}#time-bonus.show{animation:.56s cubic-bezier(.2,.8,.2,1) time-bonus-pop}#hint{pointer-events:none;text-align:center;opacity:0;text-shadow:0 2px 8px #10191e;gap:3px;width:90%;display:grid;position:absolute;top:18px;left:50%;translate:-50%}#hint strong{letter-spacing:.04em;font-size:14px}#hint span{color:#a7b7bc;letter-spacing:.04em;font-size:10px;font-weight:750}#hint.show{animation:3.5s both run-hint}@keyframes result-pop{0%{opacity:0;scale:.82}18%{opacity:1;scale:1.04}70%{opacity:1}to{opacity:0;translate:-50% -76%}}@keyframes run-hint{0%,72%{opacity:1}to{opacity:0}}@keyframes time-bonus-pop{0%{opacity:0;translate:-50% -35%;scale:.85}18%{opacity:1}to{opacity:0;translate:-50% -105%}}@keyframes score-in{0%{translate:0 -100%}to{translate:0}}@keyframes score-out{0%{translate:0}to{translate:0 100%}}.overlay,.home-overlay{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#10191ed1;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.overlay.hidden,.home-overlay.hidden{display:none}.hidden{display:none!important}.card{text-align:center;background:#14242b;border:1px solid #49626a;border-radius:22px;gap:13px;width:min(100%,350px);padding:28px;display:grid;box-shadow:0 22px 60px #00000061}.card h1{letter-spacing:-.045em;margin:0;font-size:36px;font-weight:900}.card p,.stats{color:#a7b7bc;white-space:pre-line;margin:0;line-height:1.5}.card button{background:0 0;border:1px solid #49626a;border-radius:14px;min-height:48px;font-weight:800}.card #primary-action,.options-card #apply-options{color:#10191e;background:#79e3cf;border-color:#79e3cf}.card #share:not(.hidden){color:#ffc76b;border-color:#ffc76b}.options-overlay{z-index:30}.options-card{text-align:left}.options-card h1{text-align:center}.options-card label{color:#a7b7bc;letter-spacing:.08em;gap:7px;font-size:11px;font-weight:800;display:grid}.options-card select{color:#f3f0e5;background:#10191e;border:1px solid #49626a;border-radius:12px;width:100%;min-height:46px;padding:0 12px;font:700 16px system-ui}.options-card small{color:#a7b7bc;line-height:1.4}.home-overlay{z-index:25;background:linear-gradient(#10191e73,#10191eeb);align-content:center;justify-items:center;gap:14px}.home-mark{width:180px;height:120px;margin-bottom:8px;position:relative}.home-mark i{background:#79e3cf;border:2px solid #f3f0e58c;border-radius:18px;width:110px;height:54px;position:absolute;top:34px;left:15px;transform:rotate(-12deg);box-shadow:0 10px 20px #0000004d}.home-mark i:after{content:"";border-top:4px solid #14242b;border-right:4px solid #14242b;border-radius:0 3px 0 0;width:17px;height:14px;position:absolute;top:15px;right:17px}.home-mark b{border-bottom:8px solid #ffc76b;border-right:8px solid #ffc76b;border-radius:0 0 12px;width:66px;height:66px;position:absolute;bottom:15px;right:17px;box-shadow:5px 5px 14px #ffc76b33}.eyebrow{color:#ffc76b;letter-spacing:.18em;margin:0;font-size:13px;font-weight:800}.home-overlay h1{text-align:center;letter-spacing:-.055em;margin:0;font-size:clamp(29px,8vw,40px);line-height:1.02}.home-best{color:#a7b7bc;letter-spacing:.1em;margin:4px 0 10px;font-size:12px;font-weight:800}.home-best strong{color:#f3f0e5;font-size:18px}.primary-play{color:#10191e;letter-spacing:.08em;background:#79e3cf;border:0;border-radius:18px;width:min(260px,82vw);min-height:56px;padding:0 22px;font-weight:900;box-shadow:0 8px #4cb6a5}.primary-play span{float:right;font-size:22px}.quiet-action{color:#a7b7bc;letter-spacing:.08em;background:0 0;border:0;font-size:12px;font-weight:800}@media (width<=390px){.hud{gap:7px}.hud strong{font-size:17px}.score-block strong{font-size:27px}.correction{display:none}#pause,#options{width:37px}}@media (orientation:landscape) and (height<=520px){#app{width:min(45vw,390px)}.hud{min-height:42px}.hud strong{font-size:17px}.score-block strong{font-size:23px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.about-links{flex-wrap:wrap;justify-content:center;gap:8px 20px;display:flex}.about-links a{color:#79e3cf;align-items:center;min-height:44px;font-size:14px;display:inline-flex}.about-links a:focus-visible{outline-offset:3px;outline:2px solid #ffc76b}.home-brand{object-fit:contain;width:150px;height:150px}.home-overlay>a.quiet-action{align-items:center;min-height:44px;display:inline-flex}
