:root{--bg:#0b1d3a;--bg2:#142c57;--card:#ffffff14;--card-b:#ffffff29;--fg:#f5f7ff;--muted:#a9b6d6;--accent:#ffd23f;--accent2:#4dabf7;--ok:#51cf66;--err:#ff8787;--radius:22px;--cursor-glow:#3ef0ff;--thumb-w:min(18vw, 160px, 27vh);--kid-font:clamp(40px, 8vmin, 64px);--kid-font-2:clamp(22px, 4vmin, 34px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--fg);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;margin:0;font-family:-apple-system,PingFang SC,HarmonyOS Sans SC,Microsoft YaHei,sans-serif;overflow:hidden}#app,.app{position:fixed;inset:0}input,textarea,select{-webkit-user-select:text;user-select:text}.starfield{z-index:0;pointer-events:none;background:radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 70%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 35%, #cfe0ff 50%, transparent 51%), radial-gradient(2px 2px at 80% 15%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 55%, #ffe9a8 50%, transparent 51%), radial-gradient(1px 1px at 20% 90%, #fff 50%, transparent 51%), radial-gradient(ellipse at 50% 120%, #2b4f8f 0%, transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);background-size:400px 400px,500px 500px,300px 300px,600px 600px,350px 350px,450px 450px,380px 380px,100% 100%,100% 100%;animation:8s ease-in-out infinite alternate twinkle;position:absolute;inset:0}@keyframes twinkle{0%{opacity:.85}to{opacity:1}}.page{z-index:1;padding:max(16px, env(safe-area-inset-top)) 20px 20px;position:absolute;inset:0;overflow:auto}.page-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.muted{color:var(--muted)}.hint{color:var(--muted);margin:6px 0;font-size:14px}.error{color:var(--err);margin:6px 0}.ok-text{color:var(--ok);margin:6px 0}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.stack{flex-direction:column;align-items:center;gap:12px;display:flex}h1,h2,h3{margin:0 0 8px}.logo{color:var(--accent);text-shadow:0 4px 24px #ffd23f73;letter-spacing:4px;font-size:clamp(40px,8vw,72px)}.card{background:var(--card);border:1px solid var(--card-b);border-radius:var(--radius);padding:18px 20px}.btn{background:var(--accent);color:#2b2100;cursor:pointer;border:0;border-radius:999px;min-height:48px;padding:10px 24px;font-size:18px;font-weight:700}.btn:disabled{color:#c5cde0;cursor:not-allowed;background:#4a5878}.btn-secondary{color:var(--fg);background:#ffffff24}.btn-big{min-height:64px;font-size:24px}.btn-text,.link{color:var(--accent2);cursor:pointer;background:0 0;border:0;padding:8px;font-size:16px}.air-btn{--p:0;color:#3a2500;cursor:pointer;background:linear-gradient(#ffe066,#ffb703);border:4px solid #fffc;border-radius:999px;min-width:20vw;min-height:max(96px,12vh);padding:16px 32px;font-size:clamp(24px,4vw,40px);font-weight:800;transition:transform .12s,box-shadow .12s;position:relative;box-shadow:0 8px #c77d00,0 12px 30px #00000059}.air-btn:active,.air-btn.air-hover{transform:scale(1.08)}.air-btn.air-hover{border-color:#fff;box-shadow:0 8px #c77d00,0 0 0 6px #3ef0ff8c,0 0 40px 8px #ffffff8c}.air-btn:disabled{filter:grayscale()brightness(.7)}.air-label{justify-content:center;align-items:center;gap:.3em;display:inline-flex;position:relative}.btn-icon{flex:none;width:.9em;height:.9em}.btn-go{min-width:24vw}.btn-small{min-height:72px;font-size:24px}.air-btn.btn-secondary{color:#062b4d;background:linear-gradient(#8ecbff,#4dabf7);box-shadow:0 8px #1c6fb5}.air-btn.btn-secondary.air-hover{box-shadow:0 8px #1c6fb5,0 0 0 6px #fff9,0 0 40px 8px #ffffff80}.air-cursor{--cs:clamp(72px, 11vmin, 140px);left:calc(var(--cs) / -2);top:calc(var(--cs) / -2);z-index:1000;pointer-events:none;width:var(--cs);height:var(--cs);filter:drop-shadow(0 0 6px var(--cursor-glow)) drop-shadow(0 0 14px #3ef0ffb3);transition:transform 40ms linear;position:fixed}.air-cursor-svg{width:100%;height:100%;display:block;overflow:visible}.air-cursor-track{fill:#0b1d3a59;stroke:#0b1d3a;stroke-width:9px}.air-cursor-ring{fill:none;stroke:var(--cursor-glow);stroke-width:7px;stroke-linecap:round;transition:stroke-dashoffset 60ms linear}.air-cursor-outline{fill:#0b1d3a;stroke:#0b1d3a;stroke-width:7px;stroke-linejoin:round}.air-cursor-fill{fill:#f2fdff}.air-cursor.on-target .air-cursor-fill{fill:var(--cursor-glow)}.cam{background:#000;position:relative;overflow:hidden}.cam-video{object-fit:cover;width:100%;height:100%;display:block;transform:scaleX(-1)}.cam-thumb{z-index:5;width:var(--thumb-w);aspect-ratio:3/4;border:3px solid #fff9;border-radius:18px;position:fixed;bottom:12px;right:12px;box-shadow:0 6px 20px #0006}.cam-off .cam-video{opacity:.2}.thumb-outline{fill:none;stroke:#ffffff8c;stroke-width:3px;stroke-dasharray:7 5;pointer-events:none;width:56%;height:86%;position:absolute;inset:10% 22% 4%}.cam-off-icon{background:#1b2a48;place-items:center;display:grid;position:absolute;inset:0}.cam-off-icon svg{fill:none;width:46%;height:auto;stroke:var(--muted);stroke-width:3px;stroke-linejoin:round}.cam-off-slash{stroke:var(--err);stroke-width:4px;stroke-linecap:round}.cam-off-icon+svg,.cam-off .thumb-outline{opacity:.5}.parent-entry{z-index:20;top:max(10px, env(safe-area-inset-top));border:1px solid var(--card-b);width:40px;height:40px;color:var(--muted);cursor:pointer;opacity:.7;background:#0000004d;border-radius:50%;place-items:center;display:grid;position:fixed;right:10px}.setup{grid-template-columns:1.2fr 1fr;align-items:center;gap:20px;display:grid}.setup .cam-large{border-radius:var(--radius);border:3px solid var(--card-b);height:calc(100vh - 60px)}.silhouette{fill:url(#sil-fill);stroke:#fffc;stroke-width:2.5px;stroke-dasharray:6 4;width:50%;height:84%;transition:stroke .2s;position:absolute;inset:8% 25%}.silhouette.sil-calib{stroke:#8ce99a}.silhouette.sil-lost{stroke:var(--err);stroke-width:4px;stroke-dasharray:none;animation:.8s ease-in-out infinite alternate sil-blink}.silhouette.sil-ok{stroke:var(--ok);stroke-width:4px;stroke-dasharray:none;filter:drop-shadow(0 0 10px #51cf66cc)}@keyframes sil-blink{0%{opacity:1}to{opacity:.45}}.hip-arrow{pointer-events:none;width:clamp(90px,20vmin,180px);animation:.9s ease-in-out infinite nudge-r;position:absolute;top:38%}.hip-arrow svg{width:100%;height:auto;fill:var(--accent);stroke:#3a2500;stroke-width:2px;filter:drop-shadow(0 4px 10px #00000080)}.hip-arrow.to-right{right:6%}.hip-arrow.to-left{animation-name:nudge-l;left:6%}@keyframes nudge-r{50%{transform:translate(16px)}}@keyframes nudge-l{50%{transform:translate(-16px)}}.star-burst{pointer-events:none;width:0;height:0;position:absolute;top:45%;left:50%}.burst-star{width:44px;height:44px;fill:var(--accent);filter:drop-shadow(0 0 8px #ffd23fe6);opacity:0;animation:burst 1.2s cubic-bezier(.2, .8, .3, 1) var(--d) forwards;position:absolute;top:-22px;left:-22px}@keyframes burst{0%{opacity:1;transform:rotate(var(--a)) translateY(0) scale(.3)}70%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translateY(-32vmin) scale(1.1)}}.setup-panel{flex-direction:column;align-items:flex-start;gap:16px;display:flex}.kid-title{font-size:var(--kid-font);white-space:nowrap;margin:0;line-height:1.15}.setup .progress{height:40px}.setup .progress-label{font-size:18px}.setup-parent p{max-width:360px;margin:0;font-size:16px}.setup-ok{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.setup-ok .bubble{font-size:clamp(30px,6vmin,48px)}.setup-tips{gap:10px;margin:0;padding:0;list-style:none;display:flex}.setup-tips li{background:var(--card);border:1px solid var(--card-b);width:104px;color:var(--muted);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;font-size:14px;display:flex}.setup-tips svg{fill:none;width:48px;height:48px;stroke:var(--fg);stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round}.setup-tips .tip-fill{fill:var(--fg);stroke:none}@media (orientation:portrait){.setup{grid-template-rows:60vh auto;grid-template-columns:1fr}.setup .cam-large{height:60vh}}.progress{background:#ffffff1f;border-radius:999px;width:min(420px,80vw);height:28px;position:relative;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent2), var(--accent));height:100%;transition:width .3s}.progress-label{place-items:center;font-size:16px;font-weight:700;display:grid;position:absolute;inset:0}.home{flex-direction:column;gap:16px;display:flex}.home-top{justify-content:space-between;align-items:center;gap:12px;padding-right:104px;display:flex}.profile-switch{gap:8px;display:flex}.profile-switch button{color:var(--fg);cursor:pointer;background:#ffffff1a;border:0;border-radius:999px;padding:8px 18px;font-size:18px}.profile-switch button.on{background:var(--accent2);color:#062b4d;font-weight:700}.star-count{color:var(--accent);align-items:center;gap:8px;font-size:32px;font-weight:800;display:flex}.reward-meter{background:#ffffff1a;border-radius:999px;gap:3px;margin-left:6px;padding:5px 7px;display:inline-flex}.reward-meter i{background:#ffffff38;border-radius:50%;width:14px;height:14px}.reward-meter i.on{background:var(--accent);box-shadow:0 0 6px #ffd23fcc}.gift-icon{width:34px;height:34px;animation:1.6s ease-in-out infinite icon-pulse}.reward-left{color:var(--fg);white-space:nowrap;font-size:18px;font-weight:700}.announce-btn{z-index:20;top:max(10px, env(safe-area-inset-top));border:1px solid var(--card-b);width:40px;height:40px;color:var(--muted);cursor:pointer;background:#0000004d;border-radius:50%;place-items:center;display:grid;position:fixed;right:58px}.red-dot{border:2px solid var(--bg);background:#ff4d4f;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;right:2px}.announce-pop{z-index:21;text-align:left;background:#1d3566;width:min(360px,80vw);font-size:16px;line-height:1.6;position:fixed;top:58px;right:12px}.announce-pop p{white-space:pre-wrap;margin:0 0 6px}.home-main{flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:32px;display:flex}.home-right{flex-direction:column;align-items:center;gap:20px;display:flex}.task{flex-direction:column;gap:10px;min-width:300px;display:flex}.task h3{margin:0}.task-row{white-space:nowrap;align-items:center;gap:10px;font-size:clamp(18px,3.2vmin,26px);display:flex}.task-row b{color:var(--accent);font-size:1.3em}.task-mark{fill:#fff3;flex:none;width:1.4em;height:1.4em}.task-mark.on{fill:var(--accent);filter:drop-shadow(0 0 6px #ffd23fcc)}.task .progress{width:100%;height:16px}.rest-card{align-items:center;gap:12px;font-size:20px;display:flex}.planets{padding-bottom:8px;padding-right:calc(var(--thumb-w) + 12px);flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.planet{flex-direction:column;align-items:center;gap:6px;font-size:20px;font-weight:700;display:flex}.planet-ball{border-radius:50%;place-items:center;width:72px;height:72px;display:grid;box-shadow:inset -10px -10px #00000040,0 0 24px #fff3}.planet-lock{fill:#ffffffe6;width:45%;height:45%}.btn-start{min-width:30vw;font-size:var(--kid-font)}.home .bubble{font-size:var(--kid-font)}.planet-0 .planet-ball{background:#69db7c}.planet-1 .planet-ball{background:#ffa94d}.planet-2 .planet-ball{background:#74c0fc}.planet-3 .planet-ball{background:#b197fc}.planet.locked{opacity:.5}.pet{flex-direction:column;align-items:center;display:flex;position:relative}.pet svg{max-width:min(28vh,200px);height:auto;animation:2.4s ease-in-out infinite bob}.pet-cheer svg{animation:.7s ease-in-out infinite hop}.pet-dance svg{transform-origin:50% 90%;animation:1s ease-in-out infinite dance}@keyframes dance{0%,to{transform:rotate(0)translateY(0)}25%{transform:rotate(-12deg)translateY(-14px)}50%{transform:rotate(0)translateY(0)}75%{transform:rotate(12deg)translateY(-14px)}}@keyframes bob{50%{transform:translateY(-6px)}}@keyframes hop{50%{transform:translateY(-18px)}}.bubble{color:#233;width:max-content;max-width:90vw;font-size:var(--kid-font-2);white-space:nowrap;background:#fff;border-radius:.45em;flex:none;margin-bottom:12px;padding:.2em .5em;font-weight:800;line-height:1.3;position:relative}.bubble:after{content:"";border:10px solid #0000;border-top-color:#fff;border-bottom:0;margin-left:-10px;position:absolute;bottom:-10px;left:50%}.stars{gap:4px;display:inline-flex}.star{fill:#fff3}.star.on{fill:var(--accent);filter:drop-shadow(0 0 6px #ffd23fb3)}.adventure{padding:0}.game-host{position:absolute;inset:0}.game-host canvas{width:100%;height:100%;display:block}.fake-runner{place-items:center;font-size:48px;font-weight:800;display:grid;position:absolute;inset:0}.phase-card{z-index:3;text-align:center;background:#0b1d3ad1;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}.phase-card h2{font-size:var(--kid-font);white-space:nowrap;margin:0;line-height:1.15}.countdown{color:var(--accent);margin:0;font-size:clamp(56px,12vmin,96px);font-weight:900}.pause-dock{z-index:4;right:16px;bottom:max(16px, env(safe-area-inset-bottom));align-items:center;gap:8px;display:flex;position:absolute}.pause-btn{color:#fff;cursor:pointer;background:#00000073;border:2px solid #ffffff80;border-radius:50%;place-items:center;width:64px;height:64px;display:grid}.pause-btn svg{fill:currentColor;width:28px;height:28px}.handsup-hint{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;opacity:.85;background:#00000059;border-radius:12px;width:44px;height:44px;padding:4px}.handsup-hint circle{fill:#fff;stroke:none}.level-dots{z-index:6;top:max(14px, env(safe-area-inset-top));pointer-events:none;background:#00000059;border-radius:999px;gap:14px;margin:0;padding:8px 14px;list-style:none;display:flex;position:absolute;left:50%;transform:translate(-50%)}.level-dots li{background:0 0;border:3px solid #ffffffb3;border-radius:50%;width:clamp(18px,3.2vmin,28px);height:clamp(18px,3.2vmin,28px)}.level-dots li.done{background:var(--accent);border-color:var(--accent);box-shadow:0 0 10px #ffd23fcc}.level-dots li.current{background:#ffffff80;border-color:#fff;animation:.8s ease-in-out infinite alternate dot-blink}@keyframes dot-blink{0%{opacity:.6;transform:scale(.85)}to{opacity:1;transform:scale(1.15)}}.summary-card{background:#0b1d3af2;grid-template-areas:"stars""say""pet""tally""skip";align-content:center;justify-items:center;gap:10px;display:grid}.summary-pet{grid-area:pet}.summary-stars{grid-area:stars;gap:10px}.summary-say{grid-area:say}.summary-tally{grid-area:tally}.summary-skip{grid-area:skip}.summary-stars.drop .star{animation:.7s cubic-bezier(.3,1.5,.5,1) both star-drop;animation-delay:calc(var(--i) * .45s + .2s)}@keyframes star-drop{0%{opacity:0;transform:translateY(-60vh)rotate(-40deg)}60%{opacity:1}to{opacity:1;transform:none}}@media (orientation:landscape){.summary-card{grid-template-columns:auto auto;grid-template-areas:"pet stars""pet say""pet tally""pet skip";column-gap:6vw}}.tally{flex-wrap:wrap;justify-content:center;gap:10px 18px;margin:0;padding:0;list-style:none;display:flex}.tally-chip{font-size:var(--kid-font-2);white-space:nowrap;background:#ffffff1f;border-radius:999px;align-items:center;gap:8px;padding:6px 16px 6px 8px;font-weight:800;display:inline-flex}.tally-icon{width:1.4em;height:1.4em;fill:var(--accent);stroke:var(--accent)}.overlay{z-index:50;text-align:center;background:#050c1ee0;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:24px;display:flex;position:fixed;inset:0}.pause-overlay h2,.confirm-overlay h2,.body-lost-overlay h2{font-size:clamp(26px,4vw,40px)}.btn-resume{min-width:30vw}.btn-home-small{min-width:14vw;min-height:72px;padding:10px 22px;font-size:clamp(20px,2.6vw,28px);position:fixed;bottom:18px;right:18px;box-shadow:0 6px #1c6fb5}.btn-home-small.air-hover{transform:scale(1.06)}.pause-parent{opacity:.8;font-size:14px;position:fixed;bottom:12px;left:12px}.confirm-row{justify-content:center;align-items:center;gap:17vw;display:flex}.btn-confirm{min-width:22vw;min-height:max(120px,18vh)}.btn-confirm .air-label{flex-direction:column;gap:0}.confirm-mark{width:1.6em;height:1.6em}.confirm-cap{font-size:.55em}.pause-preview{z-index:45;pointer-events:none;text-shadow:0 2px 8px #0009;flex-direction:column;align-items:center;gap:6px;font-size:clamp(20px,3vw,30px);font-weight:800;display:flex;position:fixed;top:12%;left:50%;transform:translate(-50%)}.pause-preview svg{width:clamp(90px,18vmin,160px);height:clamp(90px,18vmin,160px)}.pp-track{fill:#0b1d3ab3;stroke:#ffffff40;stroke-width:8px}.pp-ring{fill:none;stroke:var(--cursor-glow);stroke-width:8px;stroke-linecap:round}.pause-preview rect{fill:#fff}.intro-card{flex-direction:row;gap:6vw}.intro-text{flex-direction:column;align-items:center;gap:8px;display:flex}.intro-text h2{margin:0}.intro-index{font-size:var(--kid-font-2);color:var(--muted);margin:0;font-weight:800}.action-demo{grid-template-areas:"icon stage""say say";place-items:center;gap:4px 16px;display:grid}.action-icon{width:min(20vh,150px);height:min(20vh,150px);fill:var(--accent);stroke:var(--accent);filter:drop-shadow(0 0 12px #ffd23f99);grid-area:icon;animation:1.2s ease-in-out infinite icon-pulse}.action-icon-knee path:first-child{fill:none}.demo-stage{grid-area:stage;width:auto;height:min(40vh,300px);overflow:visible}.demo-say{color:#fff;grid-area:say;margin:0;font-size:clamp(24px,4vw,40px);font-weight:800}.demo-figure line{stroke:#fff;stroke-width:8px;stroke-linecap:round}.demo-head{fill:#ffd166;stroke:#fff;stroke-width:4px}.demo-shadow{fill:#00000059}.demo-arm-l{transform:rotate(28deg)}.demo-arm-r{transform:rotate(-28deg)}.demo-jump .demo-body{animation:1.1s ease-in-out infinite demo-jump}.demo-jump .demo-shadow{transform-origin:60px 158px;animation:1.1s ease-in-out infinite demo-shadow}.demo-jump .demo-arm-l{animation:1.1s ease-in-out infinite demo-jump-arm-l}.demo-jump .demo-arm-r{animation:1.1s ease-in-out infinite demo-jump-arm-r}.demo-squat .demo-body{animation:1.6s ease-in-out infinite demo-squat-body}.demo-squat .demo-thigh-l{animation:1.6s ease-in-out infinite demo-thigh-l}.demo-squat .demo-thigh-r{animation:1.6s ease-in-out infinite demo-thigh-r}.demo-squat .demo-shin-l{animation:1.6s ease-in-out infinite demo-shin-l}.demo-squat .demo-shin-r{animation:1.6s ease-in-out infinite demo-shin-r}.demo-squat .demo-arm-l{animation:1.6s ease-in-out infinite demo-squat-arm-l}.demo-squat .demo-arm-r{animation:1.6s ease-in-out infinite demo-squat-arm-r}.demo-move .demo-figure{animation:2s ease-in-out infinite demo-move}.demo-knee .demo-thigh-l{animation:1s ease-in-out infinite demo-knee-thigh-l}.demo-knee .demo-shin-l{animation:1s ease-in-out infinite demo-knee-shin-l}.demo-knee .demo-thigh-r{animation:1s ease-in-out .5s infinite demo-knee-thigh-r}.demo-knee .demo-shin-r{animation:1s ease-in-out .5s infinite demo-knee-shin-r}.demo-raise .demo-arm-l{animation:1.6s ease-in-out infinite demo-raise-l}.demo-raise .demo-arm-r{animation:1.6s ease-in-out infinite demo-raise-r}@keyframes icon-pulse{50%{transform:scale(1.12)}}@keyframes demo-jump{0%,to{transform:translateY(0)}45%,55%{transform:translateY(-34px)}}@keyframes demo-shadow{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.6)}}@keyframes demo-jump-arm-l{0%,to{transform:rotate(28deg)}50%{transform:rotate(150deg)}}@keyframes demo-jump-arm-r{0%,to{transform:rotate(-28deg)}50%{transform:rotate(-150deg)}}@keyframes demo-squat-body{0%,15%,to{transform:translateY(0)}45%,70%{transform:translateY(21px)}}@keyframes demo-thigh-l{0%,15%,to{transform:rotate(0)}45%,70%{transform:rotate(50deg)}}@keyframes demo-thigh-r{0%,15%,to{transform:rotate(0)}45%,70%{transform:rotate(-50deg)}}@keyframes demo-shin-l{0%,15%,to{transform:rotate(0)}45%,70%{transform:rotate(-100deg)}}@keyframes demo-shin-r{0%,15%,to{transform:rotate(0)}45%,70%{transform:rotate(100deg)}}@keyframes demo-squat-arm-l{0%,15%,to{transform:rotate(28deg)}45%,70%{transform:rotate(80deg)}}@keyframes demo-squat-arm-r{0%,15%,to{transform:rotate(-28deg)}45%,70%{transform:rotate(-80deg)}}@keyframes demo-move{0%,to{transform:translate(-28px)}50%{transform:translate(28px)}}@keyframes demo-knee-thigh-l{0%,to{transform:rotate(0)}50%{transform:rotate(75deg)}}@keyframes demo-knee-shin-l{0%,to{transform:rotate(0)}50%{transform:rotate(-80deg)}}@keyframes demo-knee-thigh-r{0%,to{transform:rotate(0)}50%{transform:rotate(-75deg)}}@keyframes demo-knee-shin-r{0%,to{transform:rotate(0)}50%{transform:rotate(80deg)}}@keyframes demo-raise-l{0%,15%,to{transform:rotate(28deg)}50%,75%{transform:rotate(165deg)}}@keyframes demo-raise-r{0%,15%,to{transform:rotate(-28deg)}50%,75%{transform:rotate(-165deg)}}@media (orientation:portrait){.intro-card{flex-direction:column;gap:16px}}.result{text-align:center;grid-template-columns:1fr;grid-template-areas:"title""stars""num""goal""tally""pet""btn";align-content:center;justify-items:center;gap:12px;display:grid}.result-title{grid-area:title;margin:0}.result-stars{flex-wrap:wrap;grid-area:stars;justify-content:center;align-items:center;gap:14px;display:flex}.result-num{grid-area:num;margin:0}.result-goal{font-size:var(--kid-font-2);opacity:0;animation:fade-up .5s ease-out var(--goal-delay) forwards;grid-area:goal;margin:0;font-weight:800}.result-tally{grid-area:tally}.result-pet{grid-area:pet;align-self:center}.result-pet .bubble{font-size:clamp(36px,6.5vmin,56px)}.result-btn{grid-area:btn}.result h1{color:var(--accent)}.star-group{background:#ffffff14;border-radius:14px;gap:2px;padding:4px 6px;display:inline-flex}.star-group svg,.star-total-badge svg{width:clamp(28px,5vmin,40px);height:clamp(28px,5vmin,40px)}.star.fly{animation:star-fly .5s cubic-bezier(.3, 1.4, .5, 1) var(--delay) both}@keyframes star-fly{0%{opacity:0;transform:translate(-30vw,-20vh)scale(2)rotate(-90deg)}to{opacity:1;transform:none}}.star-total-badge{font-size:var(--kid-font-2);color:var(--accent);align-items:center;gap:4px;font-weight:900;display:inline-flex}.star-total-badge b{font-size:1.3em}.result-grow{opacity:0;animation:fade-up .4s ease-out var(--grow-delay) forwards;align-items:center;gap:12px;display:flex}.result-grow .pet svg{animation:none}.grow-bar{background:#ffffff24;border-radius:999px;width:clamp(180px,30vw,340px);height:26px;position:relative;overflow:hidden}.grow-fill{height:100%;width:var(--to);background:linear-gradient(90deg, var(--ok), var(--accent));animation:grow 1.2s ease-out var(--grow-delay) both}@keyframes grow{0%{width:var(--from)}to{width:var(--to)}}.grow-plus{font-size:var(--kid-font-2);color:var(--ok);font-weight:900}@keyframes fade-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.big-num{font-size:22px}.big-num b{color:var(--accent);font-size:30px}.form{text-align:left;flex-direction:column;gap:12px;min-width:min(420px,90vw);display:flex}.form label{flex-direction:column;gap:6px;font-size:16px;display:flex}input,textarea,select{font:inherit;border:1px solid var(--card-b);color:var(--fg);background:#00000040;border-radius:12px;padding:10px 14px;font-size:17px}.form label.check,label.check{flex-direction:row;align-items:flex-start;gap:10px;font-size:15px;line-height:1.5}label.check input{width:20px;height:20px;margin-top:4px}.seg{background:#00000040;border-radius:999px;gap:6px;padding:4px;display:inline-flex}.seg.wrap{border-radius:18px;flex-wrap:wrap}.seg button{color:var(--fg);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:8px 16px;font-size:16px}.seg button.on{background:var(--accent2);color:#062b4d;font-weight:700}.captcha-row{align-items:flex-end;gap:12px;display:flex}.captcha{cursor:pointer;background:#fff;border-radius:8px;width:120px;height:44px}.captcha.placeholder{color:#666;place-items:center;font-size:13px;display:grid}.code-input{letter-spacing:2px;text-transform:uppercase;font-family:Menlo,Consolas,monospace}.parent{background:#0b1d3af5}.parent-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.tabs{gap:6px;margin:12px 0;display:flex;overflow-x:auto}.tabs button{color:var(--fg);cursor:pointer;background:#ffffff14;border:0;border-radius:12px;flex:none;padding:10px 18px;font-size:17px}.tabs button.on{background:var(--accent);color:#2b2100;font-weight:700}.parent-main{max-width:760px;margin:0 auto}.parent-col{max-width:760px;margin-left:auto;margin-right:auto}.rate-table{border-collapse:collapse;background:var(--card);border-radius:12px;width:100%;overflow:hidden}.rate-table th,.rate-table td{text-align:left;border-bottom:1px solid #ffffff14;padding:10px 14px}.rate-table th{color:var(--muted);font-size:14px;font-weight:600}.rate-table td:not(:first-child),.rate-table th:not(:first-child){text-align:right}.tab-body{flex-direction:column;gap:14px;display:flex}.stat-row{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.stat{background:var(--card);text-align:center;border-radius:16px;padding:14px}.stat-v{color:var(--accent);font-size:30px;font-weight:800}.stat-l{color:var(--muted)}.stat-h{color:var(--muted);font-size:12px}.count-list,.device-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.count-list li,.device-list li{background:var(--card);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.chart{margin:0}.chart svg{width:100%;height:auto;max-height:260px}.chart-grid{stroke:#ffffff1f}.chart-tick,.chart-x{fill:var(--muted);font-size:10px}.chart-x.on{fill:var(--fg);font-weight:700}.bar-a{fill:var(--accent2)}.bar-b{fill:var(--accent)}.chart-val{fill:var(--fg);font-size:9px;font-weight:700}.chart-goal line{stroke:var(--ok);stroke-width:1.5px}.chart-goal text{fill:var(--ok);font-size:9px;font-weight:700}.chart-legend{color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:14px;display:flex}.lg{border-radius:3px;width:12px;height:12px;margin-left:8px;display:inline-block}.lg-a{background:var(--accent2)}.lg-b{background:var(--accent)}.lg-goal{border-top:2px dashed var(--ok);border-radius:0;width:16px;height:0}.lock-card{grid-template-areas:"side""keys""back";justify-items:center;gap:10px;min-width:min(360px,92vw);display:grid}.lock-side{flex-direction:column;grid-area:side;align-items:center;gap:10px;display:flex}.lock-side h2,.lock-side p{margin:0}.keypad{grid-area:keys}.lock-back{grid-area:back}.lock-q{margin:4px 0;font-size:40px;font-weight:800}.lock-input{letter-spacing:6px;border-bottom:3px solid var(--accent);min-width:160px;padding:4px 8px;font-size:36px;font-weight:800}.keypad{grid-template-columns:repeat(3,72px);gap:10px;display:grid}.keypad button{height:60px;color:var(--fg);cursor:pointer;background:#ffffff1f;border:0;border-radius:16px;font-size:26px;font-weight:700}.keypad button.ok{background:var(--accent);color:#2b2100;font-size:20px}.keypad button:disabled{opacity:.5}.shake{animation:.35s shake}@keyframes shake{25%{transform:translate(-8px)}75%{transform:translate(8px)}}.wechat-guide{text-align:right;justify-content:flex-start;align-items:flex-end;padding-top:24px}.wechat-arrow{margin-right:10px}.guide-card{text-align:left;max-width:420px}.guide-steps{flex-direction:column;gap:14px;padding-left:20px;font-size:17px;display:flex}.guide-steps li span{vertical-align:middle;margin-right:8px;display:inline-block}.guide-steps svg{vertical-align:middle}.rotate-hint{z-index:60}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.fatigue-tip{z-index:4;pointer-events:none;position:absolute;bottom:16px;left:16px}.fatigue-tip .bubble{font-size:var(--kid-font-2)}@media (orientation:landscape){.route-home .home,.route-result .result{padding-right:calc(var(--thumb-w) + 28px)}.result{grid-template-columns:auto auto;grid-template-areas:"pet title""pet stars""pet num""pet goal""pet tally""pet btn";justify-content:center;column-gap:4vw}.route-home .planets{padding-right:0}}@media (height<=480px){.page{padding:max(8px, env(safe-area-inset-top)) 14px 8px}.air-btn{min-height:max(72px,12vh);padding:10px 26px;font-size:clamp(22px,7vh,34px);box-shadow:0 6px #c77d00,0 8px 20px #00000059}.bubble{margin-bottom:8px}.countdown{font-size:clamp(36px,13vh,72px)}.phase-card,.home{gap:6px}.profile-switch button{padding:6px 14px;font-size:16px}.star-count{gap:6px;font-size:24px}.star-count .stars svg,.gift-icon{width:26px;height:26px}.reward-meter i{width:10px;height:10px}.reward-left{font-size:15px}.home-main{flex-wrap:nowrap;gap:20px}.home-right{gap:12px}.task{gap:6px;min-width:260px;padding:10px 14px}.task h3{font-size:17px}.task .progress{height:10px}.planets{justify-content:flex-start;gap:12px;padding-bottom:0}.planet{flex-direction:row;font-size:16px}.planet-ball{width:36px;height:36px;box-shadow:inset -5px -5px #00000040,0 0 12px #fff3}.result{gap:6px 20px}.result-pet .pet svg{max-width:min(30vh,200px)}.summary-card{row-gap:6px}.summary-stars svg{width:min(20vh,96px);height:min(20vh,96px)}.intro-card{gap:4vw}.action-icon{width:min(24vh,110px);height:min(24vh,110px)}.demo-stage{height:min(52vh,220px)}.demo-say{font-size:clamp(20px,7vh,32px)}.btn-confirm{min-height:max(96px,24vh)}.btn-home-small{min-height:60px;padding:8px 18px}.lock-card{grid-template-columns:auto auto;grid-template-areas:"side keys""back keys";align-items:center;gap:6px 28px;padding:12px 18px}.lock-q{font-size:32px}.lock-input{font-size:28px}.keypad{gap:8px}.keypad button{height:52px}.setup .cam-large{height:calc(100vh - 24px)}.setup-panel{gap:10px}.setup .progress{height:30px}.setup-tips li{width:86px;padding:6px 4px;font-size:12px}.setup-tips svg{width:34px;height:34px}}.still-there{z-index:60;text-align:center;background:#050c1ed1;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.still-there .kid-title{margin:0}.still-there-btn{min-width:min(60vw,420px);min-height:120px;font-size:clamp(32px,6vmin,56px)}.route-sleep .starfield{display:none}.sleep-page{cursor:pointer;z-index:70;background:#020308;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:fixed;inset:0}.sleep-moon{opacity:.35}.sleep-hint{color:#ffffff59;margin:0;font-size:clamp(18px,3vmin,26px)}.elsewhere p{font-size:22px}
