:root{--ink:#1b2a41;--muted:#5c6f87;--bg:#eaf6ff;--card:#fff;--primary:#ff8a3d;--primary-dark:#e86a17;--ok:#2f9e44;--warn:#e8590c;--star:#ffc107;--skin:#ffdcc0;--skin-line:#e7a77c;--radius:22px;color:var(--ink);background:var(--bg);font-family:Nunito,Arial Rounded MT Bold,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{-webkit-user-select:none;user-select:none;background:linear-gradient(#d0ebff 0%,#eaf6ff 55%,#fff4e6 100%);overflow:hidden}h1,h2{margin:.2em 0;font-weight:900}.muted{color:var(--muted);font-weight:600}button{font:inherit;color:inherit;cursor:pointer}.btn{background:#fff;border:0;border-radius:999px;padding:12px 24px;font-size:20px;font-weight:800;transition:transform .1s;box-shadow:0 4px #c5d6e6}.btn:active{transform:translateY(3px);box-shadow:0 1px #c5d6e6}.btn.primary{background:var(--primary);color:#fff;box-shadow:0 4px 0 var(--primary-dark)}.link{color:var(--muted);background:0 0;border:0;margin-top:12px;font-weight:700;text-decoration:underline}.chip{background:#fff;border:0;border-radius:999px;padding:8px 14px;font-weight:800;box-shadow:0 2px #c5d6e6}.icon-btn{background:#fff;border:0;border-radius:50%;width:44px;height:44px;font-size:18px;box-shadow:0 3px #c5d6e6}.row{flex-wrap:wrap;justify-content:center;gap:14px;margin-top:20px;display:flex}kbd{min-width:1.8em;font:inherit;text-align:center;background:#fff;border:2px solid #c5d6e6;border-radius:8px;margin:0 3px;padding:2px 8px;font-weight:900;display:inline-block}.screen{flex-direction:column;align-items:center;height:100%;padding:24px 16px;display:flex;overflow:auto}.screen-bar{grid-template-columns:auto 1fr auto;align-items:center;gap:16px;width:100%;max-width:980px;display:grid}.screen-bar h2{text-align:center}.top-right{gap:8px;display:flex;position:absolute;top:16px;right:16px}.home{text-align:center;justify-content:center}.logo{letter-spacing:-2px;font-size:clamp(48px,9vw,96px)}.logo span:first-child{color:var(--primary)}.logo-paw{animation:2.4s ease-in-out infinite wiggle;display:inline-block}.tagline{color:var(--muted);margin-bottom:32px;font-size:22px;font-weight:700}.course-grid{flex-wrap:wrap;justify-content:center;gap:24px;margin-top:16px;display:flex}.course-card{border-radius:var(--radius);background:var(--card);border:0;flex-direction:column;align-items:center;gap:8px;width:260px;padding:28px 20px;transition:transform .15s;display:flex;box-shadow:0 8px #c5d6e6,0 12px 30px #1b2a4114}.course-card:hover{transform:translateY(-4px)rotate(-1deg)}.course-flag{font-size:56px}.course-name{font-size:28px;font-weight:900}.course-sample{letter-spacing:3px;color:var(--muted);font-size:18px;font-weight:800}.course-stars{color:var(--star);font-size:20px;font-weight:900}.path{flex-wrap:wrap;justify-content:center;gap:22px;max-width:980px;margin-top:32px;display:flex}.lesson-node{border-radius:var(--radius);background:var(--card);width:200px;min-height:180px;transform:translateY(calc(sin(var(--i) * 1.3) * 14px));border:0;flex-direction:column;align-items:center;gap:6px;padding:16px 12px;transition:transform .15s;display:flex;position:relative;box-shadow:0 6px #c5d6e6}.lesson-node:not(.locked):hover{transform:translateY(calc(sin(var(--i) * 1.3) * 14px - 5px))}.lesson-node.locked{opacity:.55;cursor:not-allowed}.lesson-node.boss{background:linear-gradient(160deg,#fff3bf,#ffe066);box-shadow:0 6px #f0b400}.lesson-node.mastered:after{content:"🏅";font-size:30px;position:absolute;top:-10px;right:-6px}.lesson-num{background:var(--bg);border-radius:50%;place-items:center;width:28px;height:28px;font-size:15px;font-weight:900;display:grid;position:absolute;top:10px;left:12px}.lesson-face{align-items:center;gap:10px;min-height:70px;font-size:44px;font-weight:900;display:flex}.lesson-key{flex-direction:column;align-items:center;line-height:1;display:flex}.lesson-key-emoji{font-size:28px}.lesson-kind{color:var(--muted);font-weight:800}.stars{gap:2px;display:inline-flex}.star{color:#dee2e6}.star.on{color:var(--star)}.stars.sm{font-size:22px}.stars.md{font-size:34px}.stars.lg{gap:8px;font-size:64px}.stars.animate .star.on{animation:.5s cubic-bezier(.3,1.8,.5,1) both pop-in}.play{flex-direction:column;height:100%;display:flex}.play-bar{align-items:center;gap:16px;padding:12px 20px;display:flex}.progress{background:#fff;border-radius:999px;flex:1;height:18px;position:relative;box-shadow:inset 0 2px #c5d6e6}.progress-fill{background:linear-gradient(90deg,#69db7c,#38d9a9);border-radius:999px;height:100%;transition:width .25s}.progress-pet{font-size:24px;transition:left .25s;position:absolute;top:50%;transform:translate(-50%,-50%)}.hint-dots{gap:5px;display:flex}.dot{background:#c5d6e6;border-radius:50%;width:10px;height:10px}.dot.on{background:var(--primary)}.stage{border-radius:var(--radius);background:linear-gradient(#74c0fc 0%,#a5d8ff 60%,#d0ebff 100%);flex:1;min-height:260px;margin:0 20px;position:relative;overflow:hidden}.stage.boss{background:linear-gradient(#5f3dc4 0%,#9775fa 60%,#d0bfff 100%)}.stage canvas{position:absolute;inset:0}.banner{z-index:2;white-space:nowrap;border-radius:999px;padding:10px 20px;font-size:18px;font-weight:800;position:absolute;top:14px;left:50%;transform:translate(-50%)}.banner.warn{color:var(--warn);background:#fff;animation:.5s wiggle;box-shadow:0 4px #ffc078}.banner.soft{color:var(--muted);background:#fffc}.deck{flex-direction:column;align-items:center;padding:6px 20px 16px;display:flex}.deck>svg{width:min(920px,100vw - 40px,70vh);display:block}.hands{margin-bottom:-4px}.vk-key rect:first-child{stroke:#1b2a4126;stroke-width:2px;transition:opacity .2s}.vk-key.control rect:first-child,.vk-key[data-code=Space] rect:first-child{fill:#e9eef4}.vk-key.dim rect:first-child{opacity:.28}.vk-key.dim .vk-label{opacity:.45}.vk-label{text-anchor:middle;dominant-baseline:middle;fill:var(--ink);pointer-events:none;font-size:30px;font-weight:900}.vk-label.small{fill:var(--muted);font-size:15px;font-weight:800}.vk-bump{fill:#1b2a4173}.vk-key{transform-box:fill-box;transform-origin:50%}.vk-key.target{animation:.9s ease-in-out infinite key-pulse}.vk-key.target rect:first-child{stroke:var(--ink);stroke-width:7px;opacity:1;filter:drop-shadow(0 0 10px #ff8a3df2)}.vk-key.target .vk-label{opacity:1}.vk-key.wrong rect:first-child{opacity:1;animation:.3s shake;fill:#ff6b6b!important}.vk-key.held rect:first-child{stroke:var(--ink);stroke-width:5px;opacity:1}.vk-path line{stroke:var(--ink);stroke-width:6px;stroke-linecap:round;stroke-dasharray:10 10;animation:.6s linear infinite dash}.vk-path-start{fill:var(--ink);opacity:.35}.vk-arrowhead{fill:var(--ink)}.skin{fill:var(--skin);stroke:var(--skin-line);stroke-width:3px}.hand-finger{transform-box:view-box;transition:transform .15s,opacity .2s}.hand-finger.active{animation:.9s ease-in-out infinite finger-press}.hand-finger.active .skin{fill:#fff0e3;stroke:var(--ink);stroke-width:6px}.hand-finger.active{filter:drop-shadow(0 0 10px #ff8a3de6)}.hand-finger.correction .skin{stroke:#fa5252;stroke-width:8px}.hand-finger.correction{filter:drop-shadow(0 0 10px #fa5252e6);animation:.45s ease-in-out infinite finger-press}.hand-finger.resting{transform:translateY(8px)}.overlay{z-index:10;background:#1b2a4159;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.card{background:var(--card);text-align:center;border-radius:28px;width:100%;max-width:640px;padding:28px 32px;box-shadow:0 10px #c5d6e6}.stage-panel{z-index:3;place-items:center;padding:10px;display:grid;position:absolute;inset:0}.check-card{max-width:720px;max-height:100%;padding:clamp(10px,2vh,20px) 24px;overflow:auto;box-shadow:0 6px #c5d6e6,0 16px 36px #1b2a412e}.check-card h2{margin:4px 0;font-size:clamp(18px,3vh,26px)}.check-card p{margin:4px 0;font-size:clamp(13px,1.9vh,16px);line-height:1.35}.check-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:8px;display:flex}.check-pill{background:var(--bg);letter-spacing:2px;border-radius:999px;padding:6px 16px;font-size:clamp(16px,2.6vh,22px);font-weight:900;transition:background .2s}.check-pill.on{background:#ffe8cc}.check-pill.ok{color:var(--ok);background:#d3f9d8}.check-row .btn{padding:8px 20px;font-size:18px}.btn.ready{animation:.9s ease-in-out infinite key-pulse}.check-card .go{color:var(--ok);font-size:clamp(15px,2.2vh,19px);font-weight:900;animation:.4s both pop-in}.new-keys{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-bottom:4px;display:flex}.new-keys-title{color:var(--muted);font-weight:800}.new-key{border:3px solid;border-radius:14px;align-items:center;gap:8px;padding:2px 10px;display:inline-flex}.new-key-emoji{font-size:clamp(22px,3.6vh,32px)}.new-key-char{border-radius:8px;padding:0 10px;font-size:clamp(20px,3.2vh,28px);font-weight:900}.new-key-name{font-weight:800}.result{justify-content:flex-start}.accuracy{flex-direction:column;align-items:center;margin:10px 0;display:flex}.accuracy-label{color:var(--muted);font-weight:800}.accuracy-value{color:var(--warn);font-size:56px;font-weight:900}.accuracy-value.ok{color:var(--ok)}.badge{background:#fff9db;border-radius:14px;padding:8px 14px;font-size:18px;font-weight:800;display:inline-block}.practice{font-size:18px;font-weight:800}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}@keyframes pop-in{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes key-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.14)}}@keyframes finger-press{0%,to{transform:translateY(0)}50%{transform:translateY(34px)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@keyframes dash{to{stroke-dashoffset:-20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=760px),(height<=560px){.top-right{align-self:flex-end;margin-bottom:12px;position:static}}input{font:inherit}.small{font-size:14px}.bad{color:var(--warn);font-weight:800}.btn.small{padding:7px 14px;font-size:15px}.btn.danger{background:#ffe3e3;box-shadow:0 4px #ffa8a8}.btn:disabled{opacity:.5;cursor:not-allowed}.row.left{justify-content:flex-start}.coins{align-items:center;gap:6px;font-size:20px;font-weight:900;display:inline-flex}.coins.big{font-size:26px}.coin-icon{background:radial-gradient(circle at 35% 35%,#fff3bf,#fcc419 45%,#f08c00);border-radius:50%;width:1em;height:1em;box-shadow:inset 0 0 0 2px #e67700}.streak{opacity:.45;font-size:20px;font-weight:900}.streak.on{opacity:1}.dressed{flex:none;place-items:center;line-height:1;display:inline-grid;position:relative}.dressed.round{border-radius:50%;box-shadow:inset 0 -4px #00000014}.dressed>span{position:absolute}.dressed-base{font-size:1em}.dressed-hat{font-size:.6em;top:-6%}.dressed-glasses{font-size:.48em;top:30%}.dressed-neck{font-size:.45em;bottom:2%}.dressed.bounce{animation:1.6s ease-in-out infinite bounce}.screen.kid{flex-direction:column;align-items:stretch;padding:0;display:flex;overflow:auto}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.topbar-left,.topbar-nav{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.hero-btn{background:#fff;border:0;border-radius:999px;align-items:center;gap:8px;padding:4px 14px 4px 4px;display:flex;box-shadow:0 3px #c5d6e6}.hero-name{font-size:18px;font-weight:900}.nav-btn{background:#fff;border:0;border-radius:16px;align-items:center;gap:6px;padding:6px 12px;font-size:22px;display:flex;position:relative;box-shadow:0 3px #c5d6e6}.nav-btn span{font-size:15px;font-weight:800}.badge-dot{color:#fff;background:#fa5252;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:13px;display:grid;position:absolute;top:-6px;right:-6px}.profiles{text-align:center;justify-content:center}.profile-grid{flex-wrap:wrap;justify-content:center;gap:22px;margin-top:16px;display:flex}.profile-card{border-radius:var(--radius);background:#fff;border:0;flex-direction:column;align-items:center;gap:8px;width:180px;padding:20px 12px;transition:transform .15s;display:flex;box-shadow:0 6px #c5d6e6}.profile-card:hover{transform:translateY(-4px)}.profile-name{font-size:22px;font-weight:900}.profile-card.add{box-shadow:none;background:#fff9;border:3px dashed #c5d6e6;justify-content:center}.add-plus{color:var(--muted);font-size:64px;line-height:1}.form-screen{justify-content:flex-start}.form-card{text-align:left;max-width:720px}.form-card h1{text-align:center}.field{flex-direction:column;gap:8px;margin:14px 0;font-weight:800;display:flex}.field input,.setting-row input,.gate-input{border:3px solid #c5d6e6;border-radius:14px;outline:none;padding:10px 14px;font-size:20px;font-weight:800}.field input:focus,.gate-input:focus{border-color:var(--primary)}.choice-row{flex-wrap:wrap;gap:10px;display:flex}.choice{text-align:left;background:#fff;border:3px solid #dee2e6;border-radius:16px;flex-direction:column;gap:2px;padding:10px 16px;font-weight:800;display:flex}.choice small{color:var(--muted);font-weight:700}.choice.on{border-color:var(--primary);background:#fff4e6}.choice.small{padding:6px 12px;font-size:15px;display:inline-flex}.avatar-card{text-align:center}.avatar-card .field{text-align:left}.avatar-preview{flex-direction:column;align-items:center;gap:6px;font-size:22px;display:flex}.emoji-grid{flex-wrap:wrap;gap:8px;margin:4px 0;display:flex}.emoji-btn{background:var(--bg);border:3px solid #0000;border-radius:14px;place-items:center;width:54px;height:54px;font-size:30px;display:grid;position:relative}.emoji-btn small{font-size:12px;font-weight:900;position:absolute;bottom:-2px;right:2px}.emoji-btn.on{border-color:var(--primary);background:#fff4e6}.swatch{border:4px solid #fff;border-radius:50%;width:44px;height:44px;box-shadow:0 0 0 2px #dee2e6}.swatch.on{box-shadow:0 0 0 4px var(--primary)}.map{flex-direction:column;flex:1;align-items:center;padding:0 16px 24px;display:flex}.course-tabs{gap:8px;margin:4px 0 8px;display:flex}.course-tabs.left{align-self:flex-start;margin-left:4px}.tab{background:#fff9;border:0;border-radius:999px;align-items:center;gap:6px;padding:8px 16px;font-size:16px;font-weight:800;display:inline-flex}.tab.on{background:#fff;box-shadow:0 3px #c5d6e6}.world-path{width:min(1000px,100%);height:max(520px,100vh - 170px);position:relative}.world-road{width:100%;height:100%;position:absolute;inset:0}.world-road path{fill:none;stroke:#fff;stroke-width:2.4px;stroke-dasharray:3 3;vector-effect:non-scaling-stroke;stroke-width:10px;opacity:.8}.world-node{background:#fff;border:0;border-radius:26px;flex-direction:column;align-items:center;gap:4px;width:170px;padding:12px 10px;transition:transform .15s;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 7px #c5d6e6}.world-node:not(.locked):hover{transform:translate(-50%,-54%)scale(1.04)}.world-node.locked{opacity:.6;cursor:not-allowed}.world-node.beaten{background:linear-gradient(160deg,#fff,#fff3bf)}.world-emoji{font-size:44px;line-height:1}.world-title{text-align:center;font-size:16px;font-weight:900}.world-stars{color:#f08c00;font-size:14px;font-weight:900}.world-node.w0{top:16%;left:9%}.world-node.w1{top:22%;left:37%}.world-node.w2{top:15%;left:66%}.world-node.w3{top:40%;left:88%}.world-node.w4{top:52%;left:52%}.world-node.w5{top:76%;left:16%}.world-node.w6{top:82%;left:80%}.world-screen{flex-direction:column;flex:1;align-items:center;padding:0 16px 24px;display:flex}.lesson-face.text{font-size:40px}.lesson-node.race,.lesson-node.rhythm{background:linear-gradient(160deg,#fff,#e7f5ff)}.stage.game-meteors{background:radial-gradient(at 50% 120%,#364fc7 0%,#1b2a41 60%,#0b1120 100%)}.stage.game-castle{background:linear-gradient(#91a7ff 0%,#bac8ff 60%,#e5dbff 100%)}.stage.game-race{background:linear-gradient(#74c0fc 0%,#a5d8ff 45%,#d0ebff 100%)}.stage.game-rhythm{background:linear-gradient(#e599f7 0%,#d0bfff 55%,#edf2ff 100%)}.stage.boss.game-castle{background:linear-gradient(#5f3dc4 0%,#9775fa 60%,#d0bfff 100%)}.goal{color:var(--ink);margin:4px 0;font-weight:800}.game-pick{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:6px 0;display:flex}.game-chip{background:#fff;border:3px solid #dee2e6;border-radius:999px;padding:4px 12px;font-size:15px;font-weight:800}.game-chip.on{border-color:var(--primary);background:#fff4e6}.praise{z-index:4;color:#fff;-webkit-text-stroke:2px var(--primary-dark);text-shadow:0 4px 0 var(--primary-dark);pointer-events:none;white-space:nowrap;font-size:44px;font-weight:900;animation:1.3s both praise;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.strip{white-space:nowrap;text-align:center;letter-spacing:1px;background:#fff;border-radius:16px;margin:8px 20px 0;padding:8px 16px;font-size:clamp(20px,3vh,30px);font-weight:800;overflow:hidden;box-shadow:0 3px #c5d6e6}.strip-word{color:#adb5bd;margin-right:2px}.strip-word.cur{color:var(--ink)}.strip-word.done{color:#8ce99a}.strip .ok{color:var(--ok)}.strip .next{border-bottom:4px solid var(--primary);background:#ffe8cc;border-radius:4px}.strip .sp{opacity:.5;font-size:.7em}.strip .sp.next{opacity:1}.vk-sublabel{text-anchor:middle;fill:var(--ink);opacity:.75;font-size:13px;font-weight:800}.result-card{max-width:680px;padding:20px 28px;position:relative;overflow:hidden}.result-card h1{font-size:30px}.metrics{flex-wrap:wrap;justify-content:center;gap:28px;margin:8px 0;display:flex}.metric{flex-direction:column;align-items:center;display:flex}.metric-label{color:var(--muted);font-weight:800}.metric-value{font-size:38px;font-weight:900}.metric-value.ok{color:var(--ok)}.metric-value.bad{color:var(--warn)}.rescued-list{justify-content:center;gap:16px;margin-top:4px;display:flex}.rescued-pet{flex-direction:column;align-items:center;font-size:44px;animation:.5s .6s both pop-in;display:flex}.rescued-pet small{font-size:14px;font-weight:800}.rewards{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin:10px 0;display:flex}.reward-coins{align-items:center;gap:8px;display:inline-flex}.chest-btn{background:0 0;border:0;flex-direction:column;align-items:center;margin:4px auto;display:flex}.chest-hint{color:var(--muted);font-weight:800}.chest-prize{flex-direction:column;align-items:center;font-weight:900;animation:.5s cubic-bezier(.3,1.8,.5,1) both pop-in;display:flex}.chest-prize-emoji{font-size:54px}.chest:not(.open){animation:1.4s ease-in-out infinite chest-wiggle}.chest-lid{transform-box:fill-box;transform-origin:50% 100%;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}.chest.open .chest-lid{transform:translateY(-20px)rotate(-14deg)}.chest-glow{fill:#fff3bf;opacity:.9;animation:.4s both pop-in}.finger-offer{background:#e7f5ff;border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:8px 12px;font-weight:800;display:flex}.confetti{pointer-events:none;position:absolute;inset:0}.confetti i{border-radius:2px;width:9px;height:14px;animation:linear both confetti;position:absolute;top:-12px}.rest-emoji{font-size:72px}.pets-screen,.shop-screen,.parent-screen{align-items:stretch}.pets-screen .screen-bar,.shop-screen .screen-bar,.parent-screen .screen-bar{max-width:none}.pets-layout{align-items:flex-start;gap:20px;margin-top:12px;display:flex}.pets-grid-wrap{flex:1}.pets-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:12px;display:grid}.pet-card{background:#fff;border:3px solid #0000;border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;display:flex;box-shadow:0 4px #c5d6e6}.pet-card.on{border-color:var(--primary)}.pet-card.unknown{box-shadow:none;cursor:default;background:#ffffff80}.pet-card.unknown .dressed{filter:brightness(0)opacity(.18)}.hearts{letter-spacing:2px;font-size:24px}.hearts.small{font-size:12px}.pet-detail{text-align:center;width:320px;position:sticky;top:12px}.pet-detail h3{margin:12px 0 4px}.pet-detail .emoji-grid{justify-content:center}.shop-body{max-width:1000px}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.shop-item{background:#fff;border-radius:18px;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;display:flex;box-shadow:0 4px #c5d6e6}.shop-item.rare{background:linear-gradient(160deg,#fff,#f3f0ff);box-shadow:0 4px #b197fc}.shop-emoji{font-size:46px}.shop-name{text-align:center;font-weight:800}.quests-card{text-align:left}.quests-card h2{text-align:center}.quest-list{flex-direction:column;gap:12px;padding:0;list-style:none;display:flex}.quest{background:var(--bg);border-radius:16px;align-items:center;gap:12px;padding:10px 14px;font-weight:800;display:flex}.quest.done{background:#fff9db}.quest.claimed{background:#d3f9d8}.quest-text{flex-direction:column;flex:1;gap:4px;display:flex}.quest-bar{background:#fff;border-radius:999px;height:10px;overflow:hidden}.quest-bar i{background:linear-gradient(90deg,#ffd43b,#ff922b);height:100%;display:block}.quest-ok{color:var(--ok);font-weight:900}.gate-card{max-width:380px}.gate-card p{font-size:22px;font-weight:800}.gate-input{text-align:center;width:140px;font-size:28px}.parent-screen{padding-bottom:40px}.parent-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.stat-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:8px 0 16px;display:grid}.stat-card{background:#fff;border-radius:16px;flex-direction:column;gap:4px;padding:12px 14px;display:flex;box-shadow:0 3px #c5d6e6}.stat-card b{font-size:24px}.parent-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.parent-section{text-align:left;max-width:none;margin-bottom:16px;box-shadow:0 4px #c5d6e6}.parent-section.wide{grid-column:1/-1}.parent-section .vk{width:100%;max-width:760px;margin:0 auto;display:block}.parent-section h3{align-items:center;gap:8px;margin-top:0;display:flex}.setting-row{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.setting-row>span:first-child{min-width:190px;font-weight:800}.setting-row input{padding:6px 10px;font-size:16px}.toggle{align-items:center;gap:10px;font-weight:800;display:flex}.toggle input{width:22px;height:22px}.chart{width:100%;height:auto}.chart .grid{stroke:#e9ecef}.chart .axis{fill:var(--muted);font-size:11px;font-weight:700}.chart .axis.mid{text-anchor:middle}.chart .line{fill:none;stroke-width:3px;stroke-linejoin:round}.chart .line.acc,.chart .acc-key{stroke:#2f9e44;fill:#2f9e44}.chart .line.acc{fill:none}.chart .line.cpm,.chart .cpm-key{stroke:#339af0;fill:#339af0}.chart .line.cpm{fill:none}.chart .legend text{fill:var(--ink);font-size:11px;font-weight:800}.chart .bar{fill:#74c0fc}.chart .limit{stroke:#fa5252;stroke-dasharray:6 4;stroke-width:2px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes praise{0%{opacity:0;transform:translate(-50%,-50%)scale(.3)}20%{opacity:1;transform:translate(-50%,-50%)scale(1.15)}70%{opacity:1}to{opacity:0;transform:translate(-50%,-90%)scale(1)}}@keyframes chest-wiggle{0%,70%,to{transform:rotate(0)}78%{transform:rotate(-6deg)}86%{transform:rotate(6deg)}94%{transform:rotate(-3deg)}}@keyframes confetti{0%{opacity:1;transform:translateY(0)rotate(0)}80%{opacity:1}to{opacity:0;transform:translateY(100vh)rotate(720deg)}}@media (width<=900px){.parent-grid{grid-template-columns:1fr}.pets-layout{flex-direction:column}.pet-detail{width:100%;position:static}.world-node{width:130px}.world-emoji{font-size:32px}}.plus{font-size:26px;font-weight:900}.chart .dot.acc{fill:#2f9e44}.chart .dot.cpm{fill:#339af0}.warmup-card{background:linear-gradient(120deg,#fff4e6,#fff);border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;width:min(1000px,100%);margin-bottom:6px;padding:12px 18px;display:flex;box-shadow:0 4px #ffc078}.warmup-card.done{background:#fff;box-shadow:0 3px #c5d6e6}.warmup-card>div:first-child{flex-direction:column;gap:4px;display:flex}.warmup-keys kbd{font-size:18px}.warmup-action{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.blind-tip{color:#5f3dc4;margin:4px 0;font-weight:800}.screen>.card{flex-shrink:0;margin-block:auto}.prize-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:22px;margin:6px 0;display:flex}.prize{flex-direction:column;align-items:center;gap:2px;min-width:110px;display:flex}.prize .rescued-list{margin:0}.prize .rescued-pet{font-size:38px}.chest-btn{border-radius:16px;margin:0;padding:4px 8px}.chest-btn:focus{outline:none}.chest-btn:focus-visible{outline:3px solid var(--primary)}.chest-btn .chest-prize-emoji{font-size:40px}.chest-btn .chest-prize{max-width:160px}.chest-hint{max-width:150px;font-size:14px}
