.tpb-shell{--tpb-bg-1: #dff5ff;--tpb-bg-2: #fff1b8;--tpb-bg-3: #b3f0d8;--tpb-glow: rgba(255, 255, 255, .92);--tpb-accent: #ff8a00;--tpb-text: #20324a;--tpb-chip-bg: rgba(255, 255, 255, .7);position:relative;overflow:hidden;min-height:340px;padding:28px;border-radius:36px;isolation:isolate;background:radial-gradient(circle at 20% 18%,rgba(255,255,255,.95),transparent 24%),linear-gradient(135deg,var(--tpb-bg-1),var(--tpb-bg-2) 48%,var(--tpb-bg-3));box-shadow:inset 0 1px #fff9,0 30px 70px #20324a24}.tpb-shell.theme-dawn{--tpb-bg-1: #ffe8bf;--tpb-bg-2: #ffc7d9;--tpb-bg-3: #d7f0ff;--tpb-accent: #ff7c45;--tpb-text: #59341d}.tpb-shell.theme-morning{--tpb-bg-1: #d9f5ff;--tpb-bg-2: #fff2a8;--tpb-bg-3: #cbf6d9;--tpb-accent: #ffb400;--tpb-text: #23404f}.tpb-shell.theme-afternoon{--tpb-bg-1: #ffe0b2;--tpb-bg-2: #ffd1e4;--tpb-bg-3: #d2f0b0;--tpb-accent: #ff6b35;--tpb-text: #4d3423}.tpb-shell.theme-night{--tpb-bg-1: #18274f;--tpb-bg-2: #27438d;--tpb-bg-3: #2f6a7f;--tpb-glow: rgba(135, 202, 255, .42);--tpb-accent: #ffe16a;--tpb-text: #eff7ff;--tpb-chip-bg: rgba(255, 255, 255, .12)}.tpb-gradient,.tpb-mesh,.tpb-particles,.tpb-orbit,.tpb-horizon{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.tpb-gradient{background:radial-gradient(circle at 80% 20%,var(--tpb-glow),transparent 18%),radial-gradient(circle at 32% 70%,rgba(255,255,255,.42),transparent 28%)}.tpb-mesh{background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:24px 24px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.26),transparent 78%);mask-image:linear-gradient(180deg,rgba(0,0,0,.26),transparent 78%)}.tpb-orbit{border-radius:999px;border:1px solid rgba(255,255,255,.36);animation:tpb-orbit-spin linear infinite}.tpb-orbit-a{top:-26%;left:54%;width:240px;height:240px;animation-duration:20s}.tpb-orbit-b{top:14%;left:-4%;width:180px;height:180px;animation-duration:14s;animation-direction:reverse}.tpb-horizon{inset:auto 0 0 0;height:44%;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.45),transparent 24%),linear-gradient(180deg,transparent,rgba(255,255,255,.18));clip-path:ellipse(72% 100% at 50% 100%)}.tpb-content{position:relative;z-index:1;display:grid;gap:16px;max-width:520px;color:var(--tpb-text)}.tpb-kicker{margin:0;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.tpb-title{margin:0;font-size:clamp(34px,4vw,52px);line-height:.98}.tpb-subtitle{margin:0;max-width:44ch;font-size:15px;line-height:1.65}.tpb-chip-row{display:flex;flex-wrap:wrap;gap:10px}.tpb-chip{padding:10px 14px;border-radius:999px;background:var(--tpb-chip-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:13px;font-weight:800}.tpb-pet-badge{position:absolute;right:24px;bottom:22px;width:min(34vw,220px);aspect-ratio:1;display:grid;place-items:center}.tpb-pet-halo{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.94),rgba(255,255,255,.14) 58%,transparent 70%);animation:tpb-pulse 3.2s ease-in-out infinite}.tpb-particle{position:absolute;display:inline-block;color:#ffffffeb;text-shadow:0 0 12px rgba(255,255,255,.42);animation-name:tpb-float;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.theme-night .tpb-particle{color:#fff4b2f5;text-shadow:0 0 18px rgba(255,235,140,.56)}@keyframes tpb-float{0%,to{transform:translateZ(0) scale(.95)}50%{transform:translate3d(var(--tpb-drift-x),var(--tpb-drift-y),0) scale(1.08)}}@keyframes tpb-pulse{0%,to{transform:scale(.96);opacity:.86}50%{transform:scale(1.06);opacity:1}}@keyframes tpb-orbit-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 900px){.tpb-shell{min-height:420px}.tpb-pet-badge{position:relative;right:auto;bottom:auto;margin-top:8px;width:180px}}@media (max-width: 640px){.tpb-shell{min-height:440px;padding:22px}.tpb-subtitle{font-size:14px}}@media (prefers-reduced-motion: reduce){.tpb-particle,.tpb-orbit,.tpb-pet-halo{animation:none}}:root{font-family:Plus Jakarta Sans,PingFang SC,Microsoft YaHei,sans-serif;color:#1d2b3f;background:#eff7fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.demo-page{min-height:100vh;padding:28px;background:radial-gradient(circle at top left,rgba(255,255,255,.8),transparent 24%),linear-gradient(180deg,#f7fbff,#eaf7ef)}.demo-shell{max-width:1380px;margin:0 auto;display:grid;gap:24px}.demo-topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:28px;border-radius:34px;background:rgba(255,255,255,.76);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 28px 64px #1d2b3f1a}.demo-brandmark{position:relative;min-width:320px;padding:8px 0 4px}.demo-brandmark-shadow,.demo-brandmark-title{display:block;font-family:STKaiti,KaiTi,Kaiti SC,BiauKai,serif;font-size:clamp(42px,6vw,66px);line-height:1;letter-spacing:.08em;white-space:nowrap}.demo-brandmark-shadow{position:absolute;inset:14px auto auto 10px;color:#1a589c47;filter:blur(1px)}.demo-brandmark-title{position:relative;z-index:1;color:transparent;background:linear-gradient(180deg,#18a9ff,#0c7bff 48%,#00bfa5);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:1.4px rgba(255,255,255,.96);text-shadow:-2px 0 0 rgba(255,255,255,.96),2px 0 0 rgba(255,255,255,.96),0 -2px 0 rgba(255,255,255,.96),0 2px 0 rgba(255,255,255,.96),-2px -2px 0 rgba(255,255,255,.96),2px -2px 0 rgba(255,255,255,.96),-2px 2px 0 rgba(255,255,255,.96),2px 2px 0 rgba(255,255,255,.96),0 0 0 6px rgba(116,213,255,.26),0 12px 24px rgba(24,169,255,.22),0 0 18px rgba(0,191,165,.14)}.demo-controls{display:grid;gap:14px;width:100%;justify-items:end}.demo-topbar h1,.demo-sidecard h2,.demo-stage-panel h2,.demo-task-shell h2,.demo-modal-card h2{margin:0}.demo-kicker,.demo-card-kicker{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6d7b86}.demo-copy,.demo-sidecard p,.demo-bullet-list,.parent-panel-item span{margin:0;color:#5f6d7c;line-height:1.7}.demo-tabs{display:flex;flex-wrap:wrap;gap:10px;max-width:620px;justify-content:flex-end}.demo-toolbar{display:flex;flex-wrap:wrap;width:100%;margin-left:auto;gap:10px;justify-content:flex-end}.demo-tab{border:none;border-radius:999px;padding:12px 18px;font-weight:800;color:#4a5d6f;background:rgba(231,241,248,.92);cursor:pointer}.demo-tab.active{color:#fff;background:linear-gradient(180deg,#ff9f3a,#ff6f47)}.demo-input,.demo-select,.demo-action,.demo-link{border:none;border-radius:999px;padding:12px 18px;font-weight:800;font-size:14px;text-decoration:none}.demo-input,.demo-select{min-width:190px;color:#334556;background:rgba(231,241,248,.92)}.demo-auth-form{display:grid;gap:12px;width:min(100%,380px)}.demo-auth-tabs{display:inline-flex;gap:8px;padding:7px;border-radius:999px;background:rgba(231,241,248,.92)}.demo-action,.demo-link{color:#fff;background:linear-gradient(180deg,#ff9f3a,#ff6f47);cursor:pointer}.demo-action.large{min-width:170px}.demo-action.secondary{background:linear-gradient(180deg,#7fd5ff,#3a8fff)}.demo-action.ghost{color:#334556;background:rgba(231,241,248,.92)}.demo-action:disabled{cursor:default;background:#c7d5df}.demo-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:24px;align-items:start}.demo-stage-wrap{display:grid;gap:20px}.demo-stage-panel,.demo-task-shell,.demo-sidecard,.demo-empty{display:grid;gap:18px;padding:28px;border-radius:34px;background:rgba(255,255,255,.88);box-shadow:0 24px 58px #1d2b3f1a}.learning-shell{position:relative;display:grid;gap:24px}.learning-sad-face{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;pointer-events:none;z-index:4}.learning-sad-face-emoji{font-size:clamp(88px,16vw,180px);line-height:1;filter:drop-shadow(0 18px 26px rgba(29,43,63,.18));animation:learningSadPulse 5s ease-in-out forwards}.learning-pet-runner{position:absolute;inset:0 0 auto;height:180px;pointer-events:none;overflow:hidden;z-index:3}.learning-pet-track{position:absolute;left:-180px;top:18px;display:grid;justify-items:center;gap:10px;animation:learningPetRun 10s linear forwards}.learning-pet-sprite{width:120px;height:auto;filter:drop-shadow(0 16px 22px rgba(29,43,63,.18));animation:learningPetBounce .7s ease-in-out infinite}.learning-pet-bubble{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.96);color:#345168;font-weight:800;box-shadow:0 10px 20px #1d2b3f1f;white-space:nowrap}.learning-pet-dust{position:absolute;bottom:8px;font-size:18px;opacity:0;animation:learningPetDust .8s ease-out infinite}.learning-pet-dust.dust-a{left:-12px}.learning-pet-dust.dust-b{left:18px;animation-delay:.18s}.learning-pet-dust.dust-c{left:46px;animation-delay:.34s}.learning-topbar,.learning-card,.learning-empty{display:grid;gap:18px;padding:28px;border-radius:34px;background:rgba(255,255,255,.88);box-shadow:0 24px 58px #1d2b3f1a}.learning-topbar,.learning-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.learning-tabs{display:flex;flex-wrap:wrap;gap:10px}.learning-actions,.learning-summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.learning-summary{justify-content:space-between;padding:16px 18px;border-radius:22px;background:rgba(231,241,248,.72);color:#345168}.learning-math-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.learning-pinyin-layout,.learning-pinyin-grid{display:grid;gap:16px}.learning-pinyin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.learning-subcard{display:grid;gap:14px;padding:18px;border-radius:24px;background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(236,247,240,.96))}.learning-pinyin-card{display:grid;gap:8px;padding:18px;border-radius:20px;background:rgba(255,255,255,.86);box-shadow:inset 0 0 0 1px #3a8fff14}.learning-speak-card,.learning-chip-button{border:none;cursor:pointer;font:inherit;text-align:left}.learning-speak-card:hover,.learning-chip-button:hover{transform:translateY(-1px)}.learning-pinyin-card strong,.learning-pinyin-word{color:#153f70}.learning-pinyin-word{font-size:30px;font-weight:800}.learning-english-word{font-size:28px;font-weight:800;text-transform:capitalize;color:#153f70}.learning-chip-row{display:flex;flex-wrap:wrap;gap:10px}.learning-chip{padding:10px 14px;border-radius:999px;background:rgba(231,241,248,.92);color:#345168;font-weight:800}.learning-problem-card{display:grid;gap:10px;padding:20px;border-radius:24px;background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(236,247,240,.96));box-shadow:inset 0 0 0 1px #3a8fff14}.learning-problem-card.is-correct{background:linear-gradient(180deg,rgba(239,255,245,.98),rgba(225,250,234,.98));box-shadow:inset 0 0 0 1px #2ecc713d}.learning-problem-card.is-wrong{background:linear-gradient(180deg,rgba(255,248,244,.98),rgba(255,236,232,.98));box-shadow:inset 0 0 0 1px #ff7e5f38}.learning-problem-card strong{font-size:28px;color:#153f70}.learning-problem-card span:last-child,.learning-problem-index{color:#5f6d7c;font-weight:700}.learning-answer-input{min-width:0;text-align:center}.learning-answer-status{font-weight:800;color:#345168}.learning-answer-feedback{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.learning-detail-button{padding:8px 14px}.math-explanation-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:8px 14px;border-radius:999px;background:rgba(255,241,224,.96);color:#a85a12;font-weight:800}.math-explanation-steps{display:grid;gap:10px}.math-explanation-step{margin:0;padding:14px 16px;border-radius:18px;background:rgba(241,247,251,.96);color:#345168;font-weight:700;line-height:1.6}.math-explanation-answer{margin:0;color:#153f70;font-weight:800}.demo-sidecard{align-self:start}.demo-stage-head,.demo-task-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.demo-period-badge,.demo-task-counter{padding:10px 14px;border-radius:999px;background:rgba(231,241,248,.92);color:#334556;font-weight:800}.demo-stage-title{position:relative;display:inline-block;padding-right:10px;color:#153f70;text-shadow:0 8px 20px rgba(31,140,255,.16);animation:petTitleBob 2.8s ease-in-out infinite}.demo-stage-title:after{content:"✦";position:absolute;right:-10px;top:-6px;font-size:14px;color:#ff9a3c;animation:petTitleSpark 1.8s ease-in-out infinite}.demo-stage-hero{position:relative;display:grid;place-items:center;min-height:360px;border-radius:30px;overflow:hidden;isolation:isolate}.demo-stage-background{position:absolute;top:0;right:0;bottom:0;left:0;min-height:100%;padding:0;border-radius:inherit;box-shadow:none}.demo-stage-background .tpb-content{max-width:none}.demo-stage-background .tpb-pet-badge{right:50%;bottom:50%;width:min(46vw,280px);transform:translate(50%,50%)}.demo-stage-pet{position:relative;z-index:3;width:min(48%,220px);height:auto;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(29,43,63,.16));transition:transform .35s ease}.demo-stage-pet.performer{transform-origin:center center}.demo-stage-hero.is-petting .demo-stage-pet{transform:rotate(-6deg) scale(1.05)}.demo-stage-hero.is-eating .demo-stage-pet{transform:translateY(-6px) scale(1.03)}.demo-stage-hero.is-studying .demo-stage-pet{transform:translateY(-12px) rotate(-4deg) scale(1.02)}.demo-stage-hero.is-sleeping .demo-stage-pet{transform:translateY(10px) rotate(8deg) scale(.96);filter:drop-shadow(0 18px 24px rgba(29,43,63,.14)) saturate(.88)}.demo-stage-pet.motion-windmill{animation:danceWindmill 2.2s cubic-bezier(.65,.05,.35,1) infinite}.demo-stage-pet.motion-moonwalk{animation:danceMoonwalk 2.8s ease-in-out infinite}.demo-stage-pet.motion-poplock{animation:dancePoplock 1.8s steps(2,end) infinite}.demo-stage-pet.motion-headspin{animation:danceHeadspin 1.6s linear infinite}.demo-stage-pet.motion-freeze{animation:danceFreeze 2s ease-in-out infinite}.demo-stage-pet.motion-krump{animation:danceKrump 1.7s cubic-bezier(.7,0,.3,1) infinite}.demo-stage-pet.motion-glide{animation:danceGlide 2.6s ease-in-out infinite}.demo-stage-pet.motion-tut{animation:danceTut 2.2s steps(3,end) infinite}.demo-stage-pet.motion-flip{animation:danceFlip 2.4s ease-in-out infinite}.demo-stage-pet.motion-vortex{animation:danceVortex 1.9s linear infinite}.demo-stage-pet.motion-roll{animation:danceRoll 2.1s ease-in-out infinite}.demo-stage-pet.motion-bounce{animation:danceBounce 1.4s ease-in-out infinite}.demo-stage-pet.motion-shuffle{animation:danceShuffle 2.1s ease-in-out infinite}.demo-stage-pet.motion-laser{animation:danceLaser 1.8s cubic-bezier(.6,.02,.34,1) infinite}.demo-stage-hero.mode-battle .demo-stage-floor{background:radial-gradient(circle at center,rgba(255,255,255,.3),rgba(255,108,156,.18) 36%,transparent 70%),repeating-linear-gradient(90deg,rgba(255,255,255,.42) 0 14px,rgba(255,120,148,.28) 14px 28px,rgba(255,188,67,.22) 28px 42px)}.demo-stage-hero.mode-battle .demo-stage-routine-badge{background:linear-gradient(180deg,rgba(255,96,122,.95),rgba(255,138,61,.95))}.demo-stage-hero.mode-combo .demo-stage-routine-badge{background:linear-gradient(180deg,rgba(18,138,255,.95),rgba(0,191,165,.95))}.demo-stage-glow{position:absolute;z-index:2;inset:auto 50% 30px auto;width:220px;height:64px;border-radius:999px;transform:translate(50%);background:radial-gradient(circle,rgba(255,173,72,.35),transparent 70%)}.demo-stage-effects,.demo-stage-scene,.demo-stage-floats{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.demo-stage-float{position:absolute;font-size:30px;animation:stageFloatUp ease-in forwards}.scene-bowl,.scene-book,.scene-cloud,.scene-moon,.scene-pencil,.scene-snack,.scene-steam,.scene-thought,.scene-sleep-dot{position:absolute}.scene-bowl{left:50%;bottom:34px;width:132px;height:52px;transform:translate(-50%);border-radius:0 0 72px 72px;background:linear-gradient(180deg,#ffb15d,#ff7f4d);box-shadow:inset 0 8px #ffffff5c,0 14px 24px #ff7f4d3d}.scene-bowl:before{content:"";position:absolute;inset:-10px 12px auto;height:18px;border-radius:999px;background:linear-gradient(180deg,#fff8dd,#ffe8a8)}.scene-snack{font-size:28px;animation:snackBounce 1.8s ease-in-out infinite}.snack-a{left:34%;bottom:92px}.snack-b{left:50%;bottom:104px;animation-delay:-.6s}.snack-c{left:60%;bottom:88px;animation-delay:-1s}.scene-steam{width:18px;height:54px;border-radius:999px;border:3px solid rgba(255,255,255,.54);border-color:rgba(255,255,255,.64) transparent transparent transparent;animation:steamDrift 2.2s ease-in-out infinite}.steam-a{left:44%;bottom:102px}.steam-b{left:54%;bottom:98px;animation-delay:-1s}.scene-book{left:50%;bottom:34px;width:164px;height:100px;transform:translate(-50%);border-radius:18px;background:linear-gradient(90deg,rgba(19,129,255,.94) 0 49%,rgba(109,218,255,.94) 49% 51%,rgba(26,189,172,.94) 51% 100%);box-shadow:0 16px 28px #157bd53d}.scene-book:before,.scene-book:after{content:"";position:absolute;top:12px;bottom:12px;width:4px;border-radius:999px;background:rgba(255,255,255,.56)}.scene-book:before{left:48%}.scene-book:after{right:48%}.scene-pencil{width:90px;height:14px;border-radius:999px;background:linear-gradient(90deg,#ffd45f,#ff9d4d 70%,#6c5ce7 70% 84%,#fff1cf 84% 100%);box-shadow:0 10px 18px #ff9d4d2e;animation:pencilOrbit 3.4s linear infinite}.pencil-a{left:20%;top:22%}.pencil-b{right:18%;top:34%;animation-direction:reverse}.scene-thought{padding:10px 14px;border-radius:999px;color:#1b4d79;background:rgba(255,255,255,.86);box-shadow:0 12px 20px #268bff24;font-size:14px;font-weight:800;animation:thoughtPop 2.6s ease-in-out infinite}.thought-a{left:18%;top:18%}.thought-b{right:18%;top:20%;animation-delay:-1.2s}.scene-cloud{border-radius:999px;background:rgba(255,255,255,.7);filter:blur(.2px);animation:cloudDrift 4.8s ease-in-out infinite}.cloud-a{left:18%;top:20%;width:120px;height:42px}.cloud-b{right:16%;top:28%;width:94px;height:36px;animation-delay:-2.2s}.scene-moon{right:18%;top:16%;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 34% 34%,#fff8d0,#ffd86f 60%,#ffc65d);box-shadow:0 0 30px #ffe2755c}.scene-moon:after{content:"";position:absolute;top:10px;right:0;bottom:0;left:20px;width:58px;height:58px;border-radius:50%;background:rgba(47,79,142,.22)}.scene-sleep-dot{font-size:26px;animation:sleepDrift 2.8s ease-in-out infinite}.dot-a{left:28%;top:18%}.dot-b{left:40%;top:12%;animation-delay:-1.1s}.demo-stage-spotlight,.demo-stage-beat,.demo-stage-floor,.demo-stage-routine-badge{position:absolute}.demo-stage-spotlight{top:-10%;width:44%;height:72%;opacity:.7;mix-blend-mode:screen;filter:blur(4px);clip-path:polygon(48% 0,100% 100%,0 100%);animation:spotlightSweep 3.4s ease-in-out infinite alternate}.spotlight-left{left:-4%;background:linear-gradient(180deg,rgba(255,255,255,.68),rgba(89,223,255,.12))}.spotlight-right{right:-4%;background:linear-gradient(180deg,rgba(255,244,189,.72),rgba(255,120,148,.1));animation-delay:-1.4s}.demo-stage-beat{border-radius:50%;border:2px solid rgba(255,255,255,.72);box-shadow:0 0 24px #4adbff38;animation:beatPulse 2.2s ease-out infinite}.beat-a{left:16%;top:18%;width:52px;height:52px}.beat-b{right:18%;top:24%;width:32px;height:32px;animation-delay:-.8s}.beat-c{right:26%;bottom:24%;width:68px;height:68px;animation-delay:-1.4s}.demo-stage-floor{left:50%;bottom:18px;width:min(68%,340px);height:86px;transform:translate(-50%);border-radius:50%;background:radial-gradient(circle at center,rgba(255,255,255,.28),rgba(77,188,255,.16) 38%,transparent 70%),repeating-linear-gradient(90deg,rgba(255,255,255,.4) 0 18px,rgba(255,101,132,.24) 18px 36px,rgba(37,198,218,.24) 36px 54px);filter:blur(.2px);animation:floorFlash 1.2s linear infinite}.demo-stage-routine-badge{top:18px;left:18px;z-index:4;padding:10px 14px;border-radius:999px;color:#fff;background:linear-gradient(180deg,rgba(18,138,255,.92),rgba(0,191,165,.92));box-shadow:0 14px 24px #1176c438;font-size:13px;font-weight:800;letter-spacing:.04em}.demo-stage-placeholder{display:grid;place-items:center;width:160px;height:160px;border-radius:50%;color:#4a5d6f;background:radial-gradient(circle,rgba(255,255,255,.98),rgba(230,240,248,.9));font-size:28px;font-weight:800}.demo-stage-actions{display:flex;flex-wrap:wrap;gap:12px}.demo-empty{justify-items:start}.demo-empty h2{margin:0}.demo-pet-card{display:grid;gap:8px;padding:20px;border-radius:28px;background:linear-gradient(180deg,#fff3cc,#ffe4d9)}.demo-pet-card-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;align-items:center}.demo-pet-card strong{font-size:28px}.demo-pet-nav{border:none;width:44px;height:44px;border-radius:50%;color:#28507d;background:rgba(255,255,255,.76);box-shadow:0 10px 18px #1d2b3f14;font-size:20px;font-weight:800;cursor:pointer}.demo-pet-nav:disabled{opacity:.44;cursor:default}.demo-pet-image{width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 16px 22px rgba(29,43,63,.16))}.demo-pet-badge{width:fit-content;justify-self:center;padding:8px 12px;border-radius:999px;color:#fff;background:linear-gradient(180deg,#ffb24a,#ff7a45);font-size:12px;font-weight:800}.demo-pet-levels{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.demo-pet-level-card{display:grid;justify-items:center;gap:8px;padding:12px 10px;border-radius:22px;background:rgba(255,255,255,.66)}.demo-pet-level-card.locked{opacity:.56;filter:grayscale(.2) saturate(.72);background:rgba(230,236,244,.82)}.demo-pet-level-hint{padding:6px 10px;border-radius:999px;color:#5d6f84;background:rgba(255,255,255,.74);font-size:11px;font-weight:800}.demo-pet-level-tag{padding:6px 10px;border-radius:999px;color:#28507d;background:rgba(227,241,251,.9);font-size:12px;font-weight:800}.level-card-image{width:84px;height:84px}.demo-pet-lock-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;border-radius:22px;color:#fff;background:rgba(56,76,104,.44);-webkit-backdrop-filter:blur(4px) saturate(.8);backdrop-filter:blur(4px) saturate(.8);font-size:24px;font-weight:900;letter-spacing:.1em}.demo-pet-page-indicator{justify-self:center;padding:8px 12px;border-radius:999px;color:#4a5d6f;background:rgba(255,255,255,.72);font-size:12px;font-weight:800}.demo-bullet-list{padding-left:18px}.demo-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demo-stat{display:grid;gap:6px;padding:16px;border-radius:22px;background:rgba(241,247,251,.96)}.demo-stat span{color:#6d7b86;font-size:12px;font-weight:800}.demo-stat strong,.demo-inline-strong{color:#22384a}.demo-status{min-height:24px;margin:0;color:#16784f;font-weight:700}.demo-status.is-error{color:#d84d5b}.demo-status.is-success{color:#12946d}.parent-save-banner{padding:14px 18px;border-radius:18px;color:#0f6f57;font-weight:800;background:linear-gradient(135deg,rgba(189,255,224,.92),rgba(226,255,192,.92));box-shadow:0 16px 28px #12946d24}@keyframes petTitleBob{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes petTitleSpark{0%,to{transform:scale(.92) rotate(0);opacity:.68}50%{transform:scale(1.18) rotate(12deg);opacity:1}}.task-tabs{justify-content:flex-start;max-width:none}.demo-task-list,.demo-collection,.parent-panel-list{display:grid;gap:14px}.demo-task-item,.demo-collection-item,.parent-panel-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border-radius:24px;background:rgba(241,247,251,.96)}.demo-task-item.done{opacity:.72}.demo-task-copy{display:grid;gap:6px}.demo-task-copy strong{font-size:20px}.demo-task-copy span,.demo-collection-item span{color:#5f6d7c}.demo-task-empty{padding:26px;border-radius:24px;text-align:center;color:#5f6d7c;background:rgba(241,247,251,.96)}.demo-collection-item,.parent-panel-item{display:grid;justify-content:start;gap:4px}.demo-collection-item.current{box-shadow:inset 0 0 0 3px #3a8fff33}.demo-collection-item.maxed{background:linear-gradient(180deg,#fff3cc,#ffe5bb)}.reward-overlay{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:30}.reward-overlay.fireworks-on{background:radial-gradient(circle at center,rgba(255,255,255,.12),transparent 56%),radial-gradient(circle at top,rgba(255,214,102,.08),transparent 34%),radial-gradient(circle at bottom,rgba(116,192,252,.08),transparent 34%)}.reward-burst-item{position:absolute;font-size:28px;animation:rewardFloat var(--duration, 3.2s) ease-out forwards}.reward-firework-burst{position:absolute;width:0;height:0}.reward-firework-core{position:absolute;left:50%;top:50%;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(255,255,255,.98),rgba(255,214,102,.8),transparent 72%);animation:rewardFireworkCore 1.3s ease-out forwards}.reward-firework-particle{position:absolute;left:50%;top:50%;width:var(--spark-size);height:var(--spark-size);margin-left:calc(var(--spark-size) / -2);margin-top:calc(var(--spark-size) / -2);border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.98),var(--spark-color) 56%,transparent 75%);box-shadow:0 0 12px var(--spark-color);animation:rewardFireworkParticle ease-out forwards}.demo-modal-shell{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:24px}.demo-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(29,43,63,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.demo-modal-card{position:relative;z-index:1;width:min(100%,480px);display:grid;gap:18px;padding:28px;border-radius:34px;background:rgba(255,255,255,.96);box-shadow:0 28px 64px #1d2b3f2e}.demo-modal-card.large{width:min(100%,920px)}.demo-gate-question{margin:0;text-align:center;font-size:38px;font-weight:800;color:#22384a}.demo-modal-actions{display:flex;justify-content:space-between;gap:12px}.demo-modal-actions.end{justify-content:flex-end}.parent-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.parent-panel-card{display:grid;gap:14px;padding:18px;border-radius:28px;background:rgba(241,247,251,.96)}.parent-page{min-height:100vh;padding:28px}.parent-page-shell{max-width:1320px;margin:0 auto;display:grid;gap:24px}.parent-page-topbar,.parent-editor-card{display:grid;gap:18px;padding:28px;border-radius:34px;background:rgba(255,255,255,.9);box-shadow:0 24px 58px #1d2b3f1f}.parent-page-topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start}.parent-editor-layout{display:grid;gap:24px}.parent-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.parent-editor-head.compact strong,.parent-editor-card h3{margin:0}.parent-editor-list,.parent-task-groups{display:grid;gap:16px}.parent-editor-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 200px 120px;gap:12px;padding:16px;border-radius:24px;background:rgba(241,247,251,.96)}.parent-task-group{display:grid;gap:14px;padding:18px;border-radius:28px;background:rgba(241,247,251,.96)}.parent-task-title{min-width:0}.parent-task-goal{min-width:120px}.adoption-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.adoption-card{display:grid;gap:10px;padding:16px;border:none;border-radius:28px;text-align:center;color:#1d2b3f;background:rgba(241,247,251,.96);cursor:pointer}.adoption-card.selected{box-shadow:inset 0 0 0 3px #3a8fff42}.claim-card{width:100%;cursor:default}.claim-next-modal{overflow:hidden}.claim-next-burst{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.claim-next-ring,.claim-next-star{position:absolute}.claim-next-ring{border-radius:50%;border:2px solid rgba(255,188,67,.42);animation:claimRingPulse 2.8s ease-out infinite}.ring-a{width:180px;height:180px;right:-22px;top:-28px}.ring-b{width:110px;height:110px;left:-18px;bottom:24px;animation-delay:-1.2s}.claim-next-star{font-size:28px;animation:claimStarFloat 2.2s ease-in-out infinite}.star-a{right:28px;top:30px}.star-b{left:26px;top:64px;animation-delay:-.9s}.star-c{right:42px;bottom:84px;animation-delay:-1.4s}.adoption-card-media{display:grid;place-items:center;min-height:116px;border-radius:24px;background:radial-gradient(circle at center,rgba(255,255,255,.98),rgba(228,239,247,.88))}.adoption-card-media img{width:84px;height:84px;object-fit:contain}@keyframes rewardFloat{0%{opacity:0;transform:translateZ(0) scale(.72)}16%{opacity:1}to{opacity:0;transform:translate3d(var(--dx),var(--dy),0) scale(1.2)}}@keyframes rewardFirework{0%{opacity:0;transform:scale(.3);box-shadow:0 0 #ffb74aa6}20%{opacity:1}to{opacity:0;transform:scale(3.8);box-shadow:0 -56px #ffb74a8c,40px -30px #7ad4ff8c,52px 8px #ff7c927a,14px 48px #ffee7e85,-32px 38px #72f1ad7a,-52px -2px #ffbd5c80,-26px -40px #afcbff80}}@keyframes danceWindmill{0%{transform:translate3d(-8px,10px,0) rotate(0) scale(.94)}25%{transform:translate3d(22px,-16px,0) rotate(92deg) scale(1.06)}50%{transform:translate3d(0,-28px,0) rotate(180deg) scale(.92)}75%{transform:translate3d(-24px,-12px,0) rotate(272deg) scale(1.08)}to{transform:translate3d(-8px,10px,0) rotate(360deg) scale(.94)}}@keyframes danceMoonwalk{0%{transform:translate3d(-56px,0,0) rotate(-8deg) scale(.98)}20%{transform:translate3d(-18px,-10px,0) rotate(4deg) scale(1.02)}50%{transform:translate3d(48px,-4px,0) rotate(-6deg) scale(1.04)}70%{transform:translate3d(12px,-16px,0) rotate(6deg) scale(.97)}to{transform:translate3d(-56px,0,0) rotate(-8deg) scale(.98)}}@keyframes dancePoplock{0%{transform:translateZ(0) rotate(0) scale(.96)}20%{transform:translate3d(26px,-18px,0) rotate(8deg) scale(1.1)}40%{transform:translate3d(-22px,-2px,0) rotate(-9deg) scale(.94)}60%{transform:translate3d(28px,10px,0) rotate(10deg) scale(1.08)}80%{transform:translate3d(-14px,-24px,0) rotate(-8deg) scale(.95)}to{transform:translateZ(0) rotate(0) scale(.96)}}@keyframes danceHeadspin{0%{transform:translate3d(0,-10px,0) rotate(0) scale(.96)}50%{transform:translate3d(0,-22px,0) rotate(180deg) scale(1.08)}to{transform:translate3d(0,-10px,0) rotate(360deg) scale(.96)}}@keyframes danceFreeze{0%,to{transform:translateZ(0) rotate(-4deg) scale(.96)}20%{transform:translate3d(30px,-26px,0) rotate(14deg) scale(1.08)}45%{transform:translate3d(30px,-26px,0) rotate(14deg) scale(1.08)}70%{transform:translate3d(-24px,-6px,0) rotate(-12deg) scale(.92)}}@keyframes danceKrump{0%,to{transform:translateZ(0) rotate(0) scale(.98)}25%{transform:translate3d(24px,-8px,0) rotate(10deg) scale(1.12)}50%{transform:translate3d(-30px,-18px,0) rotate(-12deg) scale(.92)}75%{transform:translate3d(12px,14px,0) rotate(8deg) scale(1.08)}}@keyframes danceGlide{0%{transform:translate3d(-72px,4px,0) rotate(-6deg) scale(.96)}35%{transform:translate3d(34px,-16px,0) rotate(4deg) scale(1.04)}70%{transform:translate3d(70px,2px,0) rotate(-2deg) scale(.98)}to{transform:translate3d(-72px,4px,0) rotate(-6deg) scale(.96)}}@keyframes danceTut{0%,to{transform:translateZ(0) rotate(0) scale(.95)}20%{transform:translate3d(18px,-18px,0) rotate(8deg) scale(1.04)}40%{transform:translate3d(-18px,-18px,0) rotate(-8deg) scale(1.02)}60%{transform:translate3d(22px,12px,0) rotate(10deg) scale(1.06)}80%{transform:translate3d(-22px,12px,0) rotate(-10deg) scale(.94)}}@keyframes danceFlip{0%,to{transform:translateZ(0) rotate(0) scale(.96)}30%{transform:translate3d(0,-40px,0) rotate(160deg) scale(1.08)}60%{transform:translate3d(0,-10px,0) rotate(320deg) scale(.98)}}@keyframes danceVortex{0%{transform:translate3d(0,-6px,0) rotate(0) scale(.96)}50%{transform:translate3d(0,-22px,0) rotate(180deg) scale(1.12)}to{transform:translate3d(0,-6px,0) rotate(360deg) scale(.96)}}@keyframes danceRoll{0%,to{transform:translate3d(-8px,0,0) rotate(-6deg) scale(.98)}25%{transform:translate3d(24px,-18px,0) rotate(10deg) scale(1.02)}50%{transform:translate3d(-22px,8px,0) rotate(-12deg) scale(.95)}75%{transform:translate3d(18px,-6px,0) rotate(8deg) scale(1.05)}}@keyframes danceBounce{0%,to{transform:translateZ(0) scale(.94)}25%{transform:translate3d(18px,-34px,0) scale(1.1)}50%{transform:translate3d(0,-8px,0) scale(.98)}75%{transform:translate3d(-18px,-28px,0) scale(1.08)}}@keyframes danceShuffle{0%,to{transform:translate3d(-30px,0,0) rotate(-4deg) scale(.96)}25%{transform:translate3d(26px,-8px,0) rotate(4deg) scale(1.01)}50%{transform:translate3d(-10px,-18px,0) rotate(-7deg) scale(1.03)}75%{transform:translate3d(40px,2px,0) rotate(6deg) scale(.98)}}@keyframes danceLaser{0%,to{transform:translateZ(0) rotate(0) scale(.96)}20%{transform:translate3d(36px,-10px,0) rotate(10deg) scale(1.06)}40%{transform:translate3d(-30px,-24px,0) rotate(-12deg) scale(1.08)}60%{transform:translate3d(24px,12px,0) rotate(8deg) scale(.98)}80%{transform:translate3d(-16px,-10px,0) rotate(-6deg) scale(1.04)}}@keyframes spotlightSweep{0%{transform:translateY(0) rotate(-10deg) scaleX(.92);opacity:.44}to{transform:translateY(10px) rotate(8deg) scaleX(1.06);opacity:.82}}@keyframes beatPulse{0%{transform:scale(.42);opacity:.84}to{transform:scale(1.8);opacity:0}}@keyframes floorFlash{0%{opacity:.66;transform:translate(-50%) scaleX(.96)}50%{opacity:1;transform:translate(-50%) scaleX(1.04)}to{opacity:.66;transform:translate(-50%) scaleX(.96)}}@keyframes stageFloatUp{0%{opacity:0;transform:translate3d(0,16px,0) scale(.84)}18%{opacity:1}to{opacity:0;transform:translate3d(0,-72px,0) scale(1.14)}}@keyframes snackBounce{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-18px) rotate(8deg)}}@keyframes steamDrift{0%{opacity:.2;transform:translateY(0) rotate(-6deg)}50%{opacity:.7}to{opacity:0;transform:translateY(-34px) rotate(8deg)}}@keyframes pencilOrbit{0%{transform:rotate(0) translate(10px) rotate(0)}to{transform:rotate(360deg) translate(10px) rotate(-360deg)}}@keyframes thoughtPop{0%,to{transform:translateY(0) scale(.94);opacity:.72}50%{transform:translateY(-12px) scale(1.04);opacity:1}}@keyframes cloudDrift{0%,to{transform:translate(0)}50%{transform:translate(18px)}}@keyframes sleepDrift{0%{opacity:0;transform:translateY(10px) scale(.8)}30%{opacity:1}to{opacity:0;transform:translateY(-34px) scale(1.08)}}@keyframes rewardFireworkCore{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}to{opacity:0;transform:translate(-50%,-50%) scale(2.4)}}@keyframes rewardFireworkParticle{0%{opacity:0;transform:translateZ(0) scale(.35)}12%{opacity:1}to{opacity:0;transform:translate3d(var(--dx),var(--dy),0) scale(.08)}}@keyframes learningPetRun{0%{transform:translate(0)}to{transform:translate(calc(100vw + 260px))}}@keyframes learningPetBounce{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-14px) rotate(-3deg)}}@keyframes learningPetDust{0%{opacity:0;transform:translateZ(0) scale(.6)}30%{opacity:1}to{opacity:0;transform:translate3d(-24px,10px,0) scale(1.1)}}@keyframes learningSadPulse{0%{opacity:0;transform:scale(.7)}12%{opacity:1;transform:scale(1)}82%{opacity:1;transform:scale(1.04)}to{opacity:0;transform:scale(.88)}}@keyframes claimRingPulse{0%{opacity:.2;transform:scale(.84)}to{opacity:0;transform:scale(1.28)}}@keyframes claimStarFloat{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(8deg)}}@media (max-width: 1080px){.demo-topbar,.demo-grid,.parent-panel-grid,.parent-page-topbar{grid-template-columns:1fr}.parent-editor-row{grid-template-columns:1fr 1fr}.adoption-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.learning-topbar,.learning-card-head{flex-direction:column}.learning-math-grid,.learning-pinyin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-controls,.demo-tabs{justify-content:flex-start;justify-items:start}.demo-brandmark{min-width:0}}@media (max-width: 720px){.demo-page,.parent-page{padding:14px}.demo-topbar,.demo-sidecard,.demo-empty,.demo-stage-panel,.demo-task-shell,.learning-topbar,.learning-card,.learning-empty,.parent-page-topbar,.parent-editor-card,.demo-modal-card{padding:22px}.demo-stage-head,.demo-task-head,.demo-stage-actions,.demo-task-item,.demo-modal-actions{flex-direction:column;align-items:stretch}.demo-toolbar,.demo-tabs{gap:8px}.demo-brandmark-shadow{inset:10px auto auto 8px}.parent-editor-head,.parent-editor-row{grid-template-columns:1fr}.demo-input,.demo-select,.demo-action,.demo-link,.demo-tab{width:100%}.adoption-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-stats,.learning-math-grid,.learning-pinyin-grid{grid-template-columns:1fr}}
