@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(./nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(./nunito-latin-400-normal-DKg4f3fz.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(./nunito-latin-600-normal-Cd0eNu1l.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(./nunito-latin-700-normal-OcDqTBcA.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(./nunito-latin-800-normal-D-J0wlBY.woff)format("woff")}:root{color:#0c1738;--ui-font:Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;font-family:var(--ui-font);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#182342;--ink-dark:#0b1534;--muted:#74809f;--violet:#6551d8;--blue:#326bd6;--yellow:#ffb312;--line:#e8edf5;--panel:#fff;--soft:#f8faff;--shadow:0 24px 60px #414f711f, 0 8px 18px #414f7112;--button-shadow:0 14px 30px #4c597b1c, 0 3px 8px #4c597b0d;--board-size:min(75vmin, calc(100vh - 240px), calc(100vw - 64px), 680px);background:#f8faff}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;font-family:var(--ui-font);-webkit-user-select:none;user-select:none;background:#f7f9fe;margin:0;overflow:hidden}button{min-height:42px;color:var(--ink);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;font-weight:800}button:hover{transform:translateY(-1px)}.app-shell{place-items:center;width:100%;height:100dvh;padding:24px 24px 20px;display:grid}.home-screen{grid-template-rows:auto auto auto auto auto;align-content:space-between;place-items:center;gap:10px;width:min(100%,720px);height:100%;min-height:0;padding:0;display:none}.app-shell.home-mode .home-screen{display:grid}.app-shell.home-mode .stage{display:none}.home-topbar{justify-content:space-between;align-items:center;width:100%;display:flex}.home-wallet,.home-settings,.home-continue-card,.home-shop-card{box-shadow:var(--button-shadow);background:#fff;border:1px solid #eef2f8}.home-wallet{min-width:178px;min-height:66px;color:var(--ink-dark);border-radius:27px;justify-content:center;align-items:center;gap:18px;padding:0 24px;display:inline-flex}.home-wallet strong{font-size:27px;font-weight:800;line-height:1}.home-coin{color:#fff;background:var(--yellow);border:3px solid #ffd167;border-radius:999px;place-items:center;width:39px;height:39px;font-size:22px;font-weight:800;line-height:1;display:grid;box-shadow:0 9px 16px #ffb31238}.home-settings{width:66px;height:66px}.home-hero{text-align:center;width:100%}.home-logo{color:var(--ink-dark);letter-spacing:0;margin:0;font-size:clamp(66px,13vmin,104px);font-weight:800;line-height:.92}.home-logo-accent{color:#4d8edc;position:relative}.home-hero p{color:var(--ink-dark);letter-spacing:0;margin:18px 0 0;font-size:clamp(24px,3.8vmin,34px);font-weight:600}.home-hero strong{color:#4d8edc;font-weight:800}.home-continue-card{width:min(100%,460px);box-shadow:none;background:0 0;border:0;border-radius:0;justify-items:center;padding:0;display:grid}.home-primary{width:100%;min-height:66px;color:var(--ink-dark);letter-spacing:0;background:#f7faff;border:1px solid #dfe7f8;border-radius:18px;justify-content:center;align-items:center;gap:22px;font-size:28px;font-weight:800;display:inline-flex;box-shadow:0 13px 26px #3a58a01f,inset 0 1px #fffffff5}.home-primary .ui-icon{color:#4d8edc;stroke-width:2.8px;width:36px;height:36px}.home-shop-card{text-align:left;border-radius:28px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;width:min(100%,530px);min-height:102px;padding:0 34px;display:grid}.home-shop-icon{color:#5f6b8b;background:#f3f6fc;border-radius:999px;place-items:center;width:58px;height:58px;display:grid}.home-shop-icon .ui-icon{width:34px;height:34px}.home-shop-card strong{color:var(--ink-dark);font-size:25px;font-weight:800;line-height:1.15;display:block}.home-chevron{color:#7c849b;stroke-width:3.1px;width:34px;height:34px}.stage{grid-template-rows:auto minmax(0,1fr) auto;place-items:center;gap:26px;width:min(100%,900px);height:100%;min-height:0;display:grid}.hud{grid-template-columns:74px minmax(0,1fr) 74px;align-items:center;gap:18px;width:min(100%,860px);display:grid}.hud-pill,.icon-button,.hint-button,.hint-action,.victory-card{box-shadow:var(--button-shadow);background:#fff;border:1px solid #dde3ee}.hud-pill{min-height:70px;color:var(--ink-dark);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:28px;justify-content:center;align-items:center;gap:16px;padding:0 30px;font-size:clamp(22px,2.9vmin,31px);font-weight:800;display:inline-flex}.level-pill{justify-self:center}.hud-center{justify-content:center;justify-self:center;align-items:center;gap:20px;display:inline-flex}.timer-pill{gap:13px}.timer{font:inherit}.icon-button{color:#34415c;border-radius:28px;justify-self:end;place-items:center;width:70px;height:70px;padding:0;font-size:27px;line-height:1;display:grid}.undo-button{justify-self:start}.settings-button{justify-self:end}.icon-button[aria-pressed=true]{color:#9aa3bb}.ui-icon{color:currentColor;fill:none;stroke:currentColor;stroke-width:2.8px;stroke-linecap:round;stroke-linejoin:round;width:34px;height:34px;display:block}.settings-button .ui-icon{width:36px;height:36px}.timer-icon{width:38px;height:38px;color:var(--blue);flex:none}.level-star{width:38px;height:38px;fill:var(--yellow);stroke:var(--yellow);stroke-width:1.9px;filter:drop-shadow(0 5px 8px #ffb31240)}.game-panel{place-items:center;min-height:0;display:grid}.board-frame{width:var(--board-size);aspect-ratio:1;background:var(--panel);box-shadow:var(--shadow);border:1px solid #edf1f7;border-radius:2.25%;place-items:center;padding:0;display:grid;overflow:hidden}#game-container{aspect-ratio:1;place-items:center;width:100%;display:grid;position:relative}#game-container canvas{display:block;width:100%!important;height:100%!important}.bottom-actions{place-items:center;min-height:78px;display:grid}.tool-strip{justify-content:center;align-items:center;gap:30px;display:flex}.hint-action{width:190px;height:70px;color:var(--ink-dark);background:#f7faff;border:1px solid #dfe7f8;border-radius:25px;grid-template-columns:38px auto;justify-content:center;align-items:center;column-gap:15px;padding:0 34px;display:grid;position:relative;box-shadow:0 13px 26px #3a58a01f,inset 0 1px #fffffff5}.hint-action:nth-child(2){background:#faf9ff;border-color:#e4e0f5;box-shadow:0 13px 26px #4e45981a,inset 0 1px #fffffff5}.hint-action.empty{color:#7b849d}.hint-label{color:var(--ink-dark);letter-spacing:.3px;font-size:19px;font-weight:800;line-height:1}.top-timer{min-width:200px;min-height:70px;box-shadow:var(--button-shadow);color:var(--ink-dark);font-variant-numeric:tabular-nums;background:#fff;border:1px solid #dde3ee;border-radius:28px;justify-content:center;align-items:center;padding:0 30px;font-size:clamp(22px,2.9vmin,31px);font-weight:800;display:inline-flex}.hint-icon{stroke-width:2.7px;justify-self:end;width:34px;height:34px}#show-solution .hint-icon,#show-tutorial .hint-icon{color:var(--blue)}.hint-count{color:#fff;background:#326bd6;border:3px solid #fff;border-radius:999px;place-items:center;min-width:42px;height:42px;font-size:22px;font-weight:800;line-height:1;display:grid;position:absolute;top:-12px;right:-10px;box-shadow:0 7px 14px #2e63cf33}.hidden{display:none!important}.number-overlay{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.number-marker-face{fill:#fff;stroke:#dfe5ef;stroke-width:1.8px;transition:fill .14s,stroke .14s}.number-marker-text{fill:#0c1738;font-family:var(--ui-font);letter-spacing:0;text-anchor:middle;dominant-baseline:central;font-weight:800;transition:fill .14s}.number-marker-body{transform-box:fill-box;transform-origin:50%}.number-overlay g.visited .number-marker-face{fill:#4d8edc;stroke:#4d8edc}.number-overlay g.visited .number-marker-text{fill:#fff}.number-overlay g.pump .number-marker-body{animation:.21s ease-out number-marker-pump}.tutorial-overlay{z-index:3;pointer-events:none;position:absolute;inset:0}.tutorial-gesture{width:100%;height:100%;display:block;overflow:visible}.tutorial-gesture-arrow{fill:none;stroke:#6f7897;stroke-width:6px;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite tutorial-arrow-flow}.tutorial-gesture-finger{filter:drop-shadow(0 8px 12px #48547024);transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite tutorial-finger-tap}.tutorial-finger-icon{fill:none;stroke:#5f6b8b;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.tutorial-skip{min-height:34px;color:var(--ink);letter-spacing:.6px;pointer-events:auto;background:#fffffff2;border-radius:999px;padding:0 14px;font-size:11px;font-weight:800;position:absolute;top:12px;right:12px;box-shadow:0 8px 16px #48547024}.tutorial-overlay.hint-mode .tutorial-skip{display:none}.victory-modal{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f7f9fec7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.confetti-layer{z-index:24;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti-layer span{top:-28px;left:var(--start-x);width:var(--piece-width);height:var(--piece-height);background:var(--confetti-color);opacity:0;animation:confetti-fall var(--fall-duration) cubic-bezier(.18, .74, .28, 1) var(--fall-delay) forwards;border-radius:4px;position:absolute;transform:translate(0,0)rotate(0);box-shadow:0 4px 10px #2b395c14}.confetti-layer span:nth-child(3n){border-radius:999px}.confetti-layer span:nth-child(4n){height:calc(var(--piece-height) * .55)}.shop-modal,.settings-modal{z-index:22;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f7f9fec7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.shop-card{width:min(100%,360px);box-shadow:var(--shadow);text-align:center;background:#fff;border:1px solid #dde3ee;border-radius:30px;justify-items:center;padding:30px 28px 28px;display:grid;position:relative}.settings-card{width:min(100%,380px);box-shadow:var(--shadow);text-align:center;background:#fff;border:1px solid #dde3ee;border-radius:30px;justify-items:center;gap:20px;padding:30px 28px 28px;display:grid;position:relative}.shop-close,.settings-close{background:0 0;border-radius:14px;place-items:center;width:38px;height:38px;min-height:38px;padding:0;display:grid;position:absolute;top:13px;right:13px}.shop-close .ui-icon,.settings-close .ui-icon{stroke-width:3px;width:23px;height:23px}.shop-icon{width:68px;height:68px;color:var(--blue);background:#f7faff;border:1px solid #dfe7f8;border-radius:999px;place-items:center;display:grid;box-shadow:0 10px 20px #3a58a014,inset 0 1px #fffffff5}.shop-icon .ui-icon{stroke-width:2.7px;width:35px;height:35px}.shop-card h2{color:var(--ink-dark);margin:18px 0 8px;font-size:30px;font-weight:800;line-height:1.08}.settings-card h2{color:var(--ink-dark);margin:0;font-size:31px;font-weight:800;line-height:1.08}.settings-row{background:#f7faff;border:1px solid #dfe7f8;border-radius:20px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;width:100%;min-height:76px;padding:14px 14px 14px 18px;display:grid;box-shadow:0 10px 20px #3a58a014,inset 0 1px #fffffff5}.settings-copy{text-align:left;gap:4px;min-width:0;display:grid}.settings-copy strong{color:var(--ink-dark);font-size:18px;font-weight:800;line-height:1.15}.settings-copy span{color:var(--muted);font-size:14px;font-weight:700;line-height:1.25}.sound-toggle{min-width:108px;min-height:50px;color:var(--blue);background:#fff;border:1px solid #dbe6fb;border-radius:17px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:16px;font-weight:800;display:inline-flex;box-shadow:0 10px 18px #3a58a017,inset 0 1px #fffffff5}.sound-toggle-icon{place-items:center;display:grid}.sound-toggle-icon .ui-icon{stroke-width:2.8px;width:24px;height:24px}.sound-off,.settings-modal.sound-disabled .sound-on{display:none}.settings-modal.sound-disabled .sound-off{display:grid}.settings-modal.sound-disabled .sound-toggle{color:#7b849d;border-color:#e3e7ef;box-shadow:inset 0 1px #fffffff5}.settings-actions{gap:12px;width:100%;display:grid}.settings-actions button{width:100%;min-height:58px;color:var(--ink-dark);background:#f7faff;border:1px solid #dfe7f8;border-radius:18px;font-size:20px;font-weight:800;box-shadow:0 13px 26px #3a58a01f,inset 0 1px #fffffff5}.settings-replay{color:#fff!important;background:#4d8edc!important;border-color:#4d8edc!important;box-shadow:0 13px 26px #4d8edc38,inset 0 1px #ffffff47!important}.shop-card p{color:var(--muted);margin:0 0 20px;font-size:16px;font-weight:700;line-height:1.35}.shop-card p strong{color:var(--ink-dark);font-weight:800}.shop-wallet{width:100%;min-height:58px;color:var(--ink-dark);background:#f7faff;border:1px solid #dfe7f8;border-radius:17px;justify-content:center;align-items:center;gap:12px;margin:0 0 18px;font-size:18px;font-weight:800;display:inline-flex}.shop-wallet .ui-icon{color:#f7aa17;fill:#ffbe36;stroke:#f39a0b;stroke-width:1.9px;width:30px;height:30px}.shop-buy{width:100%;min-height:58px;color:var(--ink-dark);background:#f7faff;border:1px solid #dfe7f8;border-radius:17px;font-size:19px;font-weight:800;box-shadow:0 13px 26px #3a58a01f,inset 0 1px #fffffff5}.shop-buy:disabled{color:#98a1b8;cursor:default;transform:none;box-shadow:inset 0 1px #fffffff5}.step-tutorial-modal{z-index:21;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f6f8fcb8;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.step-tutorial-card{width:min(100%,386px);box-shadow:var(--shadow);text-align:center;background:#fff;border:1px solid #dde3ee;border-radius:28px;justify-items:center;padding:26px 24px 22px;display:grid;position:relative}.step-tutorial-close{background:0 0;border-radius:14px;place-items:center;width:38px;height:38px;min-height:38px;padding:0;display:grid;position:absolute;top:14px;right:14px}.step-tutorial-close .ui-icon{stroke-width:3px;width:23px;height:23px}.step-tutorial-kicker{color:var(--ink);letter-spacing:1.3px;margin:0 0 14px;font-size:12px;font-weight:800}.step-tutorial-visual{aspect-ratio:1;width:min(100%,218px);margin:0 0 20px}.step-board{width:100%;height:100%;display:block}.step-board-bg{fill:#fff;stroke:#e0e5ee;stroke-width:1.5px}.step-grid-line{fill:none;stroke:#edf1f6;stroke-width:1.5px}.step-grid-dot{fill:#d6d7db;opacity:.7}.step-dot-backing{fill:#fff;stroke:#d8deea;stroke-width:2px}.step-dot{fill:#fff;stroke:var(--step-accent);stroke-width:2.5px}.accent-stroke{stroke:var(--step-accent)}.step-line,.step-backtrack,.step-blocked{fill:none;stroke-width:15px;stroke-linecap:round;stroke-linejoin:round}.step-backtrack{stroke:#d9ddea;stroke-width:8px}.step-blocked{stroke:#d9ddea;stroke-width:10px;stroke-dasharray:6 10}.step-empty{fill:#d6d7db;opacity:.68}.step-number{fill:var(--step-accent);font-family:var(--ui-font);letter-spacing:0;text-anchor:middle;dominant-baseline:central;font-size:18px;font-weight:800}.step-x{fill:none;stroke:#ef5e5a;stroke-width:7px;stroke-linecap:round}.step-arrow{fill:none;stroke:#8b72d6;stroke-width:7px;stroke-linecap:round;stroke-linejoin:round}.step-tutorial-title{color:var(--ink-dark);margin:0 0 8px;font-size:24px;line-height:1.14}.step-tutorial-text{min-height:44px;color:var(--ink);margin:0;font-size:16px;font-weight:700;line-height:1.38}.step-tutorial-dots{gap:8px;margin:22px 0 20px;display:flex}.step-dot-indicator{background:#d7dce7;border-radius:999px;width:8px;height:8px}.step-dot-indicator.active{background:#6f7897}.step-tutorial-actions{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.step-primary,.step-secondary{border-radius:18px;min-height:52px}.step-primary{color:#fff;background:#4d8edc;box-shadow:0 10px 18px #4d8edc2e}.step-secondary{color:var(--ink);background:#fff;border:1px solid #dde3ee}.step-secondary:disabled{color:#c0c6d3;cursor:default;transform:none}.victory-card{width:min(100%,390px);box-shadow:var(--shadow);text-align:center;background:#fff;border:1px solid #dde3ee;border-radius:34px;padding:34px 34px 30px;position:relative;overflow:hidden}.victory-burst{pointer-events:none;width:178px;height:88px;position:absolute;top:28px;left:50%;transform:translate(-50%)}.victory-burst span{background:#9eb5de;border-radius:999px;width:9px;height:4px;position:absolute}.victory-burst span:first-child{top:12px;left:28px;transform:rotate(42deg)}.victory-burst span:nth-child(2){top:36px;left:8px}.victory-burst span:nth-child(3){top:12px;right:28px;transform:rotate(-42deg)}.victory-burst span:nth-child(4){top:36px;right:8px}.victory-star{z-index:1;width:92px;height:92px;fill:var(--yellow);stroke:#f7a90d;stroke-width:.8px;filter:drop-shadow(0 8px 10px #ffb31238);margin:0 auto 18px;display:block;position:relative}.victory-card h2{color:var(--ink-dark);margin:0 0 14px;font-size:36px;font-weight:800;line-height:1.08}.victory-level-pill{color:#5f6b8b;background:#f7faff;border:1px solid #dfe7f8;border-radius:999px;justify-content:center;align-items:center;width:156px;min-height:42px;margin:0 auto 18px;font-size:17px;font-weight:800;display:inline-flex}.victory-divider{background:#e5eaf3;height:1px;margin:0 0 20px}.victory-time-row{justify-content:center;align-items:center;gap:18px;min-height:62px;margin:0 0 20px;display:flex}.victory-time-row strong{color:var(--ink-dark);font-variant-numeric:tabular-nums;font-size:39px;font-weight:800;line-height:1}.victory-time-icon{color:#4d8edc;stroke-width:2.9px;width:42px;height:42px}.victory-score-panel{background:#f7faff;border:1px solid #dfe7f8;border-radius:18px;justify-content:center;align-items:center;gap:18px;min-height:72px;margin:0 0 26px;display:flex;box-shadow:0 10px 20px #3a58a014,inset 0 1px #fffffff5}.victory-score-panel strong{color:var(--ink-dark);font-variant-numeric:tabular-nums;font-size:30px;font-weight:800;line-height:1}.victory-coin-icon{color:#f7aa17;fill:#ffbe36;stroke:#f39a0b;stroke-width:1.9px;width:42px;height:42px}.action-button,.victory-card button{width:100%;min-height:66px;color:var(--ink-dark);background:#f7faff;border:1px solid #dfe7f8;border-radius:17px;justify-content:center;align-items:center;gap:16px;font-size:22px;font-weight:800;display:inline-flex;box-shadow:0 13px 26px #3a58a01f,inset 0 1px #fffffff5}.next-level-icon{color:#4d8edc;stroke-width:2.8px;width:30px;height:30px}@keyframes number-marker-pump{0%{transform:scale(1)}48%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes tutorial-arrow-flow{0%{opacity:0;transform:scale(.86)}40%{opacity:.95;transform:scale(1)}to{opacity:0;transform:scale(1)}}@keyframes tutorial-finger-tap{0%,to{opacity:.92}50%{opacity:1}}@keyframes confetti-fall{0%{opacity:0;transform:translate(0,0)rotate(0)}10%{opacity:1}to{opacity:0;transform:translate3d(var(--drift-x), 108vh, 0) rotate(var(--spin))}}@media (width<=720px){:root{--board-size:min(calc(100vw - 24px), calc(100vh - 232px))}.app-shell{padding:12px 10px}.home-screen{gap:18px;width:min(100%,430px);padding-top:0}.home-wallet{border-radius:21px;gap:11px;min-width:126px;min-height:50px;padding:0 15px}.home-wallet strong{font-size:21px}.home-coin{border-width:2px;width:31px;height:31px;font-size:17px}.home-settings{border-radius:19px;width:50px;height:50px}.home-settings .ui-icon{width:27px;height:27px}.home-logo{font-size:clamp(58px,19vw,82px)}.home-hero p{margin-top:16px;font-size:20px}.home-continue-card{width:min(100%,360px)}.home-primary{border-radius:16px;gap:12px;min-height:56px;font-size:19px}.home-primary .ui-icon{width:26px;height:26px}.home-shop-card{border-radius:24px;gap:14px;width:min(100%,360px);min-height:82px;padding:0 20px}.home-shop-icon{width:48px;height:48px}.home-shop-icon .ui-icon{width:29px;height:29px}.home-shop-card strong{font-size:21px}.home-chevron{width:25px;height:25px}.stage{gap:12px}.hud{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}.hud-center{gap:8px;min-width:0}.hud-pill{border-radius:18px;gap:8px;min-height:46px;padding:0 13px;font-size:18px}.top-timer{border-radius:18px;gap:7px;min-width:116px;min-height:46px;padding:0 12px;font-size:18px}.timer-icon,.level-star{width:24px;height:24px}.icon-button{border-radius:18px;width:42px;height:42px}.tool-strip{gap:12px}.hint-action{border-radius:20px;grid-template-columns:28px auto;column-gap:9px;width:132px;height:56px;padding:0 22px}.hint-icon{justify-self:end;width:25px;height:25px;transform:none}.hint-label{font-size:15px}.hint-count{border-width:2px;min-width:32px;height:32px;font-size:17px;top:-10px;right:-8px}.step-tutorial-card{border-radius:24px;padding:24px 18px 18px}.step-tutorial-visual{width:min(100%,190px);margin-bottom:16px}.step-tutorial-title{font-size:21px}.step-tutorial-text{font-size:15px}}@media (height<=800px) and (width>=721px){.app-shell{padding:14px 24px 12px}.home-screen{gap:10px;width:min(100%,650px)}.home-wallet{border-radius:21px;gap:12px;min-width:146px;min-height:50px;padding:0 17px}.home-wallet strong{font-size:22px}.home-coin{border-width:2px;width:32px;height:32px;font-size:18px}.home-settings{border-radius:19px;width:50px;height:50px}.home-settings .ui-icon{width:27px;height:27px}.home-logo{font-size:66px}.home-hero p{margin-top:9px;font-size:18px}.home-continue-card{width:min(100%,470px)}.home-primary{border-radius:15px;gap:12px;min-height:48px;font-size:18px}.home-primary .ui-icon{width:24px;height:24px}.home-shop-card{border-radius:21px;gap:13px;width:min(100%,470px);min-height:62px;padding:0 20px}.home-shop-icon{width:42px;height:42px}.home-shop-icon .ui-icon{width:25px;height:25px}.home-shop-card strong{font-size:19px}.home-chevron{width:23px;height:23px}}@media (height<=700px){.app-shell{padding:10px 18px}.home-screen{gap:8px;width:min(100%,610px)}.home-wallet{border-radius:18px;gap:10px;min-width:134px;min-height:44px;padding:0 15px}.home-wallet strong{font-size:20px}.home-coin{border-width:2px;width:28px;height:28px;font-size:16px}.home-settings{border-radius:17px;width:44px;height:44px}.home-settings .ui-icon{width:24px;height:24px}.home-logo{font-size:56px}.home-hero p{margin-top:7px;font-size:16px}.home-continue-card{width:min(100%,420px)}.home-primary{border-radius:14px;gap:10px;min-height:44px;font-size:16px}.home-primary .ui-icon{width:22px;height:22px}.home-shop-card{border-radius:19px;gap:12px;width:min(100%,420px);min-height:56px;padding:0 17px}.home-shop-icon{width:38px;height:38px}.home-shop-icon .ui-icon{width:23px;height:23px}.home-shop-card strong{font-size:17px}}@media (height>=481px) and (height<=700px) and (width>=721px) and (orientation:landscape){:root{--board-size:min(calc(100vh - 130px), calc(100vw - 260px), 520px)}.app-shell{padding:10px 18px 8px}.stage{gap:8px;width:min(100%,820px)}.hud{grid-template-columns:48px minmax(0,1fr) 48px;gap:10px;width:min(100%,760px)}.hud-center{gap:10px}.hud-pill,.top-timer{border-radius:17px;min-height:42px;padding:0 16px;font-size:19px}.top-timer{gap:8px;min-width:130px}.icon-button{border-radius:18px;width:48px;height:48px}.icon-button .ui-icon,.settings-button .ui-icon{width:28px;height:28px}.timer-icon,.level-star{width:26px;height:26px}.board-frame{border-radius:2.25%}.bottom-actions{min-height:50px}.tool-strip{gap:14px}.hint-action{border-radius:17px;grid-template-columns:25px auto;column-gap:8px;width:132px;height:48px;padding:0 18px}.hint-icon{width:24px;height:24px}.hint-label{font-size:15px}.hint-count{border-width:2px;min-width:30px;height:30px;font-size:16px;top:-9px;right:-7px}.victory-modal{align-items:center;padding:12px;overflow:hidden}.victory-card{overscroll-behavior:contain;scrollbar-width:none;border-radius:30px;width:min(100%,420px);max-height:calc(100vh - 24px);padding:20px 26px 22px;overflow-y:auto}.victory-card::-webkit-scrollbar{display:none}.victory-burst{display:none}.victory-star{width:58px;height:58px;margin-bottom:10px}.victory-card h2{margin-bottom:10px;font-size:30px}.victory-level-pill{width:142px;min-height:34px;margin-bottom:12px;font-size:15px}.victory-divider{margin-bottom:12px}.victory-time-row{gap:13px;min-height:48px;margin-bottom:12px}.victory-time-row strong{font-size:31px}.victory-time-icon,.victory-coin-icon{width:34px;height:34px}.victory-score-panel{border-radius:16px;gap:13px;min-height:52px;margin-bottom:14px}.victory-score-panel strong{font-size:25px}.victory-card button{border-radius:15px;gap:10px;min-height:48px;font-size:18px}.next-level-icon{width:24px;height:24px}}@media (height<=480px) and (orientation:landscape){:root{--board-size:min(calc(100vh - 126px), calc(100vw - 260px), 380px)}.app-shell{padding:8px 12px}.stage{gap:8px;width:min(100%,760px)}.hud{grid-template-columns:46px minmax(0,1fr) 46px;gap:10px;width:min(100%,720px)}.hud-center{gap:10px}.hud-pill,.top-timer{border-radius:17px;min-height:42px;padding:0 15px;font-size:18px}.top-timer{gap:8px;min-width:122px}.icon-button{border-radius:18px;width:46px;height:46px}.icon-button .ui-icon,.settings-button .ui-icon{width:28px;height:28px}.timer-icon,.level-star{width:25px;height:25px}.board-frame{border-radius:2.25%}.bottom-actions{min-height:50px}.tool-strip{gap:14px}.hint-action{border-radius:18px;grid-template-columns:26px auto;column-gap:8px;width:128px;height:48px;padding:0 20px}.hint-icon{width:24px;height:24px}.hint-label{font-size:15px}.hint-count{border-width:2px;min-width:31px;height:31px;font-size:16px;top:-9px;right:-8px}.victory-modal,.settings-modal,.shop-modal,.step-tutorial-modal{align-items:center;padding:8px;overflow:hidden}.victory-card,.settings-card,.shop-card,.step-tutorial-card{overscroll-behavior:contain;scrollbar-width:none;max-height:calc(100vh - 16px);overflow-y:auto}.victory-card::-webkit-scrollbar{display:none}.settings-card::-webkit-scrollbar{display:none}.shop-card::-webkit-scrollbar{display:none}.step-tutorial-card::-webkit-scrollbar{display:none}.victory-card{border-radius:26px;width:min(100%,348px);padding:14px 20px 16px}.victory-burst{display:none}.victory-star{width:44px;height:44px;margin-bottom:7px}.victory-card h2{margin-bottom:7px;font-size:26px}.victory-level-pill{width:132px;min-height:30px;margin-bottom:9px;font-size:14px}.victory-divider{margin-bottom:9px}.victory-time-row{gap:12px;min-height:42px;margin-bottom:9px}.victory-time-row strong{font-size:28px}.victory-time-icon,.victory-coin-icon{width:31px;height:31px}.victory-score-panel{border-radius:15px;gap:12px;min-height:46px;margin-bottom:10px}.victory-score-panel strong{font-size:24px}.action-button,.victory-card button{border-radius:15px;gap:10px;min-height:44px;font-size:18px}.next-level-icon{width:24px;height:24px}.settings-card{border-radius:26px;gap:10px;width:min(100%,360px);padding:14px 20px 16px}.settings-card h2{font-size:27px}.settings-close,.shop-close,.step-tutorial-close{width:32px;height:32px;min-height:32px;top:9px;right:9px}.settings-close .ui-icon,.shop-close .ui-icon,.step-tutorial-close .ui-icon{width:21px;height:21px}.settings-row{border-radius:17px;gap:12px;min-height:58px;padding:9px 10px 9px 13px}.settings-copy{gap:2px}.settings-copy strong{font-size:16px}.settings-copy span{font-size:12px;line-height:1.18}.sound-toggle{border-radius:15px;gap:6px;min-width:86px;min-height:40px;padding:0 12px;font-size:15px}.sound-toggle-icon .ui-icon{width:22px;height:22px}.settings-actions{gap:8px}.settings-actions button{border-radius:15px;min-height:42px;font-size:17px}.shop-card{border-radius:26px;width:min(100%,330px);padding:16px 20px}.shop-icon{width:46px;height:46px}.shop-icon .ui-icon{width:26px;height:26px}.shop-card h2{margin:8px 0 5px;font-size:24px}.shop-card p{margin-bottom:10px;font-size:13px}.shop-wallet,.shop-buy{border-radius:15px;min-height:42px;margin-bottom:9px;font-size:16px}.shop-buy{margin-bottom:0}.shop-wallet .ui-icon{width:24px;height:24px}.step-tutorial-card{border-radius:26px;grid-template-columns:minmax(132px,174px) minmax(0,1fr);grid-template-areas:"kicker kicker""visual title""visual text""visual dots""visual actions";place-items:center;gap:7px 18px;width:min(100%,560px);padding:15px 22px 16px;display:grid}.step-tutorial-kicker{grid-area:kicker;margin:0 44px 1px;font-size:11px}.step-tutorial-visual{grid-area:visual;width:min(100%,168px);margin:0}.step-tutorial-title{grid-area:title;margin:0;font-size:22px}.step-tutorial-text{grid-area:text;min-height:0;font-size:14px;line-height:1.25}.step-tutorial-dots{grid-area:dots;margin:4px 0}.step-tutorial-actions{grid-area:actions;gap:8px}.step-primary,.step-secondary{border-radius:14px;min-height:40px;font-size:14px}}
