@import url('brand-theme.css');
/* 闪记英语 H5 V3 · 学生端七步游戏化交互层 */
:root{
  --sj-purple:#6b54ff;--sj-purple-2:#8c68ff;--sj-blue:#4b9dff;--sj-ink:#272044;
  --sj-muted:#7f7898;--sj-cream:#fbfaff;--sj-lilac:#f1efff;--sj-yellow:#ffd85a;
  --sj-green:#31c98a;--sj-red:#ff6c86;--sj-card:#fff;--sj-line:#e9e6f5;
  --sj-shadow:0 16px 40px rgba(78,57,150,.12);--sj-soft-shadow:0 8px 22px rgba(78,57,150,.09);
  --sj-r-xl:30px;--sj-r-lg:24px;--sj-r-md:18px;--sj-r-sm:14px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{min-height:100%;background:#ebe9f8;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--sj-ink)}
body{margin:0;display:flex;justify-content:center}
button{font:inherit}
.sj-app{width:100%;min-height:100vh;background:linear-gradient(180deg,#f8f6ff 0,#fbfaff 34%,#f7f8ff 100%);position:relative;overflow:hidden}
@media(min-width:540px){.sj-app{max-width:430px;box-shadow:0 20px 70px rgba(39,32,68,.22)}}
.sj-app:before,.sj-app:after{content:"";position:fixed;border-radius:50%;filter:blur(2px);pointer-events:none;opacity:.7}
.sj-app:before{width:210px;height:210px;right:-110px;top:70px;background:radial-gradient(circle,#dcd4ff 0,rgba(220,212,255,0) 70%)}
.sj-app:after{width:180px;height:180px;left:-100px;bottom:110px;background:radial-gradient(circle,#d7edff 0,rgba(215,237,255,0) 70%)}
.game-topbar{position:relative;z-index:6;display:grid;grid-template-columns:42px 1fr 66px;gap:10px;align-items:center;padding:14px 16px 8px}
.icon-btn{width:40px;height:40px;border:0;border-radius:15px;background:rgba(255,255,255,.9);box-shadow:var(--sj-soft-shadow);display:grid;place-items:center;color:var(--sj-ink)}
.icon-btn svg{width:20px;height:20px}
.top-title{text-align:center}.top-title strong{display:block;font-size:15px;letter-spacing:.3px}.top-title span{font-size:11px;color:var(--sj-muted)}
.star-pill{height:38px;border-radius:16px;background:#fff5cf;display:flex;align-items:center;justify-content:center;gap:5px;color:#7a5e00;font-weight:900;font-size:13px;box-shadow:0 7px 17px rgba(187,145,0,.08)}
.star-shape{width:15px;height:15px;background:var(--sj-yellow);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 2px 2px rgba(156,106,0,.18))}
.journey{position:relative;z-index:4;margin:4px 14px 10px;padding:12px 12px 9px;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 10px 26px rgba(78,57,150,.06);backdrop-filter:blur(12px)}
.journey-track{display:grid;grid-template-columns:repeat(7,1fr);position:relative;gap:2px}.journey-track:before{content:"";position:absolute;height:3px;left:5%;right:5%;top:15px;border-radius:5px;background:#e5e1f4}
.journey-node{position:relative;z-index:2;text-align:center}.journey-dot{margin:auto;width:31px;height:31px;border-radius:50%;background:#ebe8f4;border:4px solid #fff;box-shadow:0 3px 10px rgba(74,58,135,.12);display:grid;place-items:center;font-size:11px;font-weight:950;color:#9b94ad;transition:.28s cubic-bezier(.2,.9,.2,1.2)}
.journey-node.active .journey-dot{transform:scale(1.16);color:#fff;background:linear-gradient(135deg,var(--sj-purple),var(--sj-blue));box-shadow:0 6px 17px rgba(107,84,255,.32)}
.journey-node.done .journey-dot{background:var(--sj-green);color:white}.journey-name{font-size:9px;margin-top:6px;color:#9b94ad;white-space:nowrap}.journey-node.active .journey-name{color:var(--sj-purple);font-weight:900}
.game-main{position:relative;z-index:3;padding:4px 14px 24px;min-height:calc(100vh - 158px);display:flex;flex-direction:column}
.stage-intro{display:flex;align-items:flex-end;justify-content:space-between;margin:5px 4px 12px}.stage-copy .eyebrow{font-size:10px;font-weight:950;color:var(--sj-purple);letter-spacing:1.4px}.stage-copy h1{font-size:24px;line-height:1.08;margin:4px 0 3px}.stage-copy p{font-size:12px;color:var(--sj-muted);margin:0}.stage-badge{padding:8px 10px;border-radius:14px;background:#ebe7ff;color:var(--sj-purple);font-size:10px;font-weight:900}
.game-card{background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.95);border-radius:30px;box-shadow:var(--sj-shadow);padding:20px 16px;position:relative;overflow:hidden;min-height:480px}
.game-card:before{content:"";position:absolute;width:100px;height:100px;right:-45px;top:-45px;background:radial-gradient(circle,#e9e2ff 0,rgba(233,226,255,0) 72%)}
.instruction{font-size:13px;color:var(--sj-muted);text-align:center;margin-bottom:13px}.instruction b{color:var(--sj-ink)}
.word-prompt{text-align:center;padding:4px 0 14px}.word-prompt .cn{font-size:27px;font-weight:950}.word-prompt .en{font-size:30px;font-weight:950;letter-spacing:.5px}.word-prompt .phonetic{color:var(--sj-muted);font-size:12px;margin-top:4px}
.mini-speaker{margin:8px auto 0;width:36px;height:36px;border:0;border-radius:14px;background:#f1efff;color:var(--sj-purple);display:grid;place-items:center}.mini-speaker svg{width:18px;height:18px}
/* mascot */
.mascot-peek{position:absolute;right:7px;bottom:7px;width:65px;height:65px;pointer-events:none;filter:drop-shadow(0 8px 10px rgba(92,67,177,.12));transform-origin:bottom center}.mascot-peek.cheer{animation:mascotCheer .65s cubic-bezier(.2,.9,.2,1.25)}
@keyframes mascotCheer{0%{transform:translateY(12px) scale(.82) rotate(-8deg)}55%{transform:translateY(-6px) scale(1.09) rotate(7deg)}100%{transform:none}}
/* feedback — 居中庆祝卡 + 烟花 */
.feedback-backdrop{
  position:fixed;inset:0;z-index:120;pointer-events:none;
  background:radial-gradient(circle at 50% 42%,rgba(91,61,245,.18),rgba(15,23,42,.28) 55%,rgba(15,23,42,.42));
  opacity:0;transition:opacity .28s ease;
}
.feedback-backdrop.show{opacity:1}
.feedback-toast{
  position:fixed;z-index:130;left:50%;top:50%;
  transform:translate(-50%,-46%) scale(.82);
  opacity:0;pointer-events:none;
  min-width:min(300px,86vw);max-width:90vw;
  border-radius:28px;padding:18px 20px 18px 16px;
  background:linear-gradient(165deg,#ffffff 0%,#faf8ff 55%,#f3f0ff 100%);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 28px 64px rgba(47,34,103,.32),0 0 0 1px rgba(91,61,245,.06),inset 0 1px 0 rgba(255,255,255,.9);
  display:flex;align-items:center;gap:14px;
  transition:opacity .28s cubic-bezier(.2,.9,.2,1.15),transform .38s cubic-bezier(.2,.9,.2,1.25);
}
.feedback-toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.feedback-toast.ok::before{
  content:"";position:absolute;inset:-2px;border-radius:30px;z-index:-1;
  background:linear-gradient(135deg,#a78bfa,#60a5fa,#34d399,#fbbf24);
  opacity:.55;filter:blur(10px);
}
.feedback-toast.bad{background:linear-gradient(165deg,#fff,#fff8f9)}
.feedback-dot{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#e8fbf3;flex-shrink:0}
.feedback-dot svg{width:22px;height:22px;color:#20b878}
.feedback-toast.bad .feedback-dot{background:#fff0f3}
.feedback-toast.bad .feedback-dot svg{color:var(--sj-red)}
.feedback-copy{min-width:0}
.feedback-copy strong{display:block;font-size:18px;font-weight:950;letter-spacing:-.02em;color:var(--sj-ink)}
.feedback-copy span{display:block;margin-top:4px;font-size:12px;color:var(--sj-muted);line-height:1.45}
.feedback-mascot{
  width:58px;height:58px;object-fit:contain;flex:0 0 58px;
  filter:drop-shadow(0 8px 12px rgba(91,61,245,.22));
  animation:feedbackMascotPop .55s cubic-bezier(.2,.9,.2,1.3);
}
@keyframes feedbackMascotPop{
  0%{transform:scale(.4) rotate(-18deg)}
  60%{transform:scale(1.12) rotate(8deg)}
  100%{transform:none}
}
.feedback-ring{
  position:fixed;left:50%;top:42%;width:120px;height:120px;margin:-60px 0 0 -60px;
  border-radius:50%;border:3px solid rgba(167,139,250,.55);
  opacity:0;pointer-events:none;z-index:125;
}
.feedback-ring.show{animation:feedbackRing .7s ease-out forwards}
@keyframes feedbackRing{
  0%{transform:scale(.4);opacity:.8}
  100%{transform:scale(2.4);opacity:0}
}
.fw-particle{
  position:fixed;z-index:128;pointer-events:none;border-radius:2px;
  width:8px;height:8px;opacity:1;
  animation:fwFly var(--dur,.9s) cubic-bezier(.15,.7,.25,1) forwards;
  box-shadow:0 0 8px currentColor;
}
@keyframes fwFly{
  0%{transform:translate(0,0) scale(1) rotate(0deg);opacity:1}
  70%{opacity:1}
  100%{transform:translate(var(--dx),var(--dy)) scale(.15) rotate(220deg);opacity:0}
}
.fw-spark{
  position:fixed;z-index:129;pointer-events:none;width:4px;height:4px;border-radius:50%;
  background:#fff;box-shadow:0 0 10px 3px currentColor;
  animation:fwSpark .55s ease-out forwards;
}
@keyframes fwSpark{
  0%{transform:scale(0);opacity:1}
  40%{transform:scale(1.8);opacity:1}
  100%{transform:scale(0);opacity:0}
}
/* common animation */
.shake{animation:shake .34s ease}.pop{animation:pop .42s cubic-bezier(.2,.9,.2,1.2)}
@keyframes shake{20%{transform:translateX(-7px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
@keyframes pop{0%{transform:scale(.85)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
.particle{position:fixed;width:8px;height:8px;z-index:80;pointer-events:none;background:var(--sj-yellow);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);animation:particle .72s ease-out forwards}@keyframes particle{to{transform:translate(var(--dx),var(--dy)) rotate(150deg) scale(.2);opacity:0}}
/* Step 1 connect */
.connect-board{position:relative;min-height:335px;padding:4px 0}.connect-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:1}.connect-path{fill:none;stroke:url(#connectGradient);stroke-width:5;stroke-linecap:round;filter:none;transition:none}.connect-path.draft{stroke:#8a73ff;stroke-dasharray:8 7}.connect-path.error{stroke:var(--sj-red);animation:pathReject .42s ease forwards}@keyframes pathReject{50%{opacity:1;stroke-width:7}100%{opacity:0;stroke-width:2}}
.connect-cols{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:54px}.connect-col{display:flex;flex-direction:column;gap:12px}.connect-item{height:58px;border-radius:19px;background:#faf9ff;border:1.5px solid #ece9f7;box-shadow:0 5px 13px rgba(68,50,126,.05);display:flex;align-items:center;padding:0 13px;font-weight:900;font-size:14px;position:relative;transition:border-color .15s,box-shadow .15s,background .15s,color .15s,transform .15s}.connect-item.left{justify-content:flex-end;padding-right:21px}.connect-item.right{justify-content:flex-start;padding-left:21px}.connect-item.matched{background:#effbf6;border-color:#bdebd8;color:#188e63;transform:scale(.98)}.connect-port{position:absolute;width:19px;height:19px;border-radius:50%;background:#fff;border:5px solid #9b89ff;box-shadow:0 2px 7px rgba(90,66,180,.18);touch-action:none}.left .connect-port{right:-10px}.right .connect-port{left:-10px}.matched .connect-port{border-color:var(--sj-green);background:#eafff6}
/* Step2 */
.timer-shell{height:7px;border-radius:8px;background:#eeeaf8;overflow:hidden;margin:2px 5px 16px}.timer-fill{height:100%;width:100%;background:linear-gradient(90deg,var(--sj-blue),var(--sj-purple));transform-origin:left;animation:countdown 8s linear forwards}@keyframes countdown{to{transform:scaleX(.08)}}
.swat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.swat-card{min-height:82px;border:0;border-radius:22px;background:linear-gradient(180deg,#fff,#f8f6ff);box-shadow:0 7px 18px rgba(71,53,136,.08),inset 0 0 0 1px #ece8fa;font-size:18px;font-weight:950;color:var(--sj-ink);position:relative;overflow:hidden;transition:.18s;animation:softFloat 2.8s ease-in-out infinite}.swat-card:nth-child(2){animation-delay:-.8s}.swat-card:nth-child(3){animation-delay:-1.5s}.swat-card:nth-child(4){animation-delay:-2.1s}@keyframes softFloat{50%{transform:translateY(-3px)}}.swat-card.correct{background:#eafaF3;color:#188e63;box-shadow:0 10px 24px rgba(49,201,138,.14)}.swat-card.wrong{background:#fff0f3;color:#c7425b}.combo{text-align:center;margin:15px auto 0;display:table;padding:7px 13px;border-radius:15px;background:#fff7d7;color:#7c6100;font-size:11px;font-weight:900}
/* Step3 */
.error-word{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:14px 0 22px}.error-letter{width:42px;height:52px;border:0;border-radius:16px;background:#f5f3fd;box-shadow:inset 0 -4px 0 #e7e2f7,0 6px 13px rgba(67,49,129,.06);font-size:22px;font-weight:950;color:var(--sj-ink);transition:.18s}.error-letter.selected{transform:translateY(-8px);background:#fff0f3;color:#d64764;box-shadow:inset 0 -4px 0 #ffd7df,0 11px 18px rgba(213,71,100,.12)}.repair-tray{padding:13px;background:#f7f6fc;border-radius:22px}.repair-title{text-align:center;font-size:11px;color:var(--sj-muted);margin-bottom:10px}.repair-options{display:flex;justify-content:center;gap:9px}.repair-key{width:48px;height:48px;border:0;border-radius:16px;background:#fff;box-shadow:0 7px 15px rgba(68,50,128,.08);font-size:20px;font-weight:950;color:var(--sj-purple)}.repair-key.fly{animation:keyFly .5s cubic-bezier(.2,.9,.2,1.2)}@keyframes keyFly{50%{transform:translateY(-28px) scale(1.15)}}
/* Step4 */
.drag-word-zone{height:120px;display:grid;place-items:center}.drag-word{width:174px;height:78px;border-radius:26px;background:linear-gradient(135deg,#7256ff,#519dff);color:#fff;display:grid;place-items:center;font-size:25px;font-weight:950;box-shadow:0 14px 28px rgba(92,73,223,.25),inset 0 1px 0 rgba(255,255,255,.25);touch-action:none;user-select:none;transition:transform .25s cubic-bezier(.2,.9,.2,1.2),opacity .2s}.drag-word.dragging{opacity:.25}.drag-ghost{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-50%) scale(1.06);width:174px;height:78px;border-radius:26px;background:linear-gradient(135deg,#7256ff,#519dff);color:#fff;display:grid;place-items:center;font-size:25px;font-weight:950;box-shadow:0 18px 36px rgba(92,73,223,.3)}.meaning-zones{display:grid;gap:10px}.meaning-target{height:62px;border-radius:20px;border:1.5px dashed #d8d2ef;background:#fbfaff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:850;transition:.18s}.meaning-target.hot{transform:scale(1.03);border-color:#8b75ff;background:#f0edff}.meaning-target.correct{border-style:solid;border-color:#9ce0c4;background:#effbf6;color:#178b61}.meaning-target.wrong{border-color:#ffb7c4;background:#fff1f4;color:#c7425b}
/* Step5 */
.sort-slots{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;min-height:64px;margin:12px 0 22px}.sort-slot{width:45px;height:54px;border-radius:15px;border:2px dashed #d7d1eb;background:#faf9ff;display:grid;place-items:center;transition:.18s}.sort-slot.hot{transform:scale(1.08);border-color:#8c74ff;background:#f0edff}.letter-pool{min-height:116px;border-radius:24px;background:#f7f6fc;padding:15px;display:flex;align-content:flex-start;justify-content:center;gap:9px;flex-wrap:wrap}.letter-tile{width:47px;height:50px;border-radius:15px;background:#fff;box-shadow:0 8px 15px rgba(66,48,125,.09),inset 0 -4px 0 #e9e5f6;display:grid;place-items:center;font-size:20px;font-weight:950;color:var(--sj-purple);touch-action:none;user-select:none}.letter-tile.ghosted{opacity:.2}.tile-ghost{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-50%) scale(1.12) rotate(-3deg);width:47px;height:50px;border-radius:15px;background:#fff;box-shadow:0 15px 30px rgba(66,48,125,.2);display:grid;place-items:center;font-size:20px;font-weight:950;color:var(--sj-purple)}
/* Step6 */
.blank-word{display:flex;justify-content:center;align-items:flex-end;gap:5px;flex-wrap:wrap;margin:18px 0 25px}.fixed-letter,.blank-slot{width:39px;height:52px;display:grid;place-items:center;font-size:22px;font-weight:950}.fixed-letter{border-bottom:3px solid #e4e0ef}.blank-slot{border:2px dashed #bcb1ea;border-radius:14px;background:#f6f3ff;transition:.18s}.blank-slot.hot{transform:scale(1.08);border-color:var(--sj-purple)}.blank-slot.locked{border-style:solid;border-color:#9ce0c4;background:#effbf6;color:#14855c}.letter-ball-pool{display:flex;justify-content:center;gap:11px;flex-wrap:wrap;padding:14px;background:#f7f6fc;border-radius:22px}.letter-ball{width:48px;height:48px;border-radius:50%;background:linear-gradient(180deg,#fff,#f5f2ff);box-shadow:0 8px 16px rgba(72,54,132,.1),inset 0 -4px 0 #e4def5;display:grid;place-items:center;font-size:19px;font-weight:950;color:var(--sj-purple);touch-action:none;user-select:none}.letter-ball.used{opacity:.3;pointer-events:none}
/* Step7 trail */
.spell-arena{position:relative;margin:4px auto 0;min-height:270px;border-radius:26px;background:radial-gradient(circle at 50% 45%,#f0ecff 0,#faf9ff 65%);overflow:hidden}.spell-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.spell-line{fill:none;stroke:#775dff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;opacity:.65;filter:drop-shadow(0 4px 5px rgba(95,75,215,.2))}.spell-bubbles{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;justify-items:center;padding:24px 28px;gap:13px}.spell-bubble{width:58px;height:58px;border-radius:50%;background:#fff;box-shadow:0 9px 18px rgba(69,50,128,.1),inset 0 -5px 0 #e9e3f7;display:grid;place-items:center;font-size:22px;font-weight:950;color:var(--sj-ink);touch-action:none;user-select:none;transition:.15s}.spell-bubble.selected{transform:scale(1.1);background:linear-gradient(180deg,#8067ff,#6d52f6);color:#fff;box-shadow:0 10px 20px rgba(91,68,215,.28)}.spell-build{text-align:center;font-size:22px;font-weight:950;letter-spacing:4px;min-height:30px;color:var(--sj-purple);margin:7px 0 11px}
/* pass card */
.pass-mask{position:fixed;z-index:60;inset:0;background:rgba(39,32,68,.18);backdrop-filter:blur(6px);display:grid;place-items:center;padding:18px;opacity:0;pointer-events:none;transition:.22s}.pass-mask.show{opacity:1;pointer-events:auto}.pass-card{width:min(398px,100%);background:#fff;border-radius:30px;padding:20px 18px 17px;box-shadow:0 24px 60px rgba(38,28,91,.25);transform:translateY(12px) scale(.96);transition:.35s cubic-bezier(.2,.9,.2,1.15)}.pass-mask.show .pass-card{transform:none}.pass-stars{display:flex;justify-content:center;gap:8px}.pass-stars i{display:block;width:35px;height:35px;background:var(--sj-yellow);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 4px 3px rgba(160,113,0,.15));animation:pop .5s backwards}.pass-stars i:nth-child(2){animation-delay:.1s}.pass-stars i:nth-child(3){animation-delay:.2s}.pass-card h2{text-align:center;margin:11px 0 4px;font-size:23px}.pass-card p{text-align:center;margin:0 0 15px;color:var(--sj-muted);font-size:12px}.pass-btn{width:100%;height:52px;border:0;border-radius:18px;color:#fff;font-weight:950;background:linear-gradient(100deg,var(--sj-purple),var(--sj-blue));box-shadow:0 10px 22px rgba(95,74,222,.22)}
/* home */
.home-v3{padding-bottom:90px}.home-head{padding:17px 18px 12px;display:flex;justify-content:space-between;align-items:center}.hello small{display:block;color:var(--sj-muted);font-size:11px}.hello strong{font-size:18px}.avatar{width:45px;height:45px;border-radius:18px;background:linear-gradient(145deg,#846bff,#58a4ff);display:grid;place-items:center;color:#fff;font-weight:950;box-shadow:0 9px 20px rgba(95,74,222,.2)}
.hero-mission{margin:5px 15px 14px;border-radius:31px;padding:20px;background:linear-gradient(135deg,#674fff 0,#806aff 48%,#4a9dff 100%);color:#fff;box-shadow:0 18px 38px rgba(91,70,217,.25);position:relative;overflow:hidden}.hero-mission:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-60px;top:-90px;background:rgba(255,255,255,.1)}.hero-tag{display:inline-flex;padding:6px 10px;border-radius:12px;background:rgba(255,255,255,.14);font-size:10px;font-weight:850}.hero-mission h1{font-size:26px;margin:10px 0 5px;line-height:1.1}.hero-mission p{font-size:12px;color:rgba(255,255,255,.8);margin:0}.mission-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:17px 0 14px}.mission-stat{padding:10px 5px;border-radius:18px;background:rgba(255,255,255,.12);text-align:center}.mission-stat strong{font-size:19px}.mission-stat span{display:block;font-size:9px;color:rgba(255,255,255,.74);margin-top:2px}.hero-start{width:100%;height:53px;border:0;border-radius:18px;background:#fff;color:#5b43db;font-weight:950;font-size:15px;box-shadow:0 8px 18px rgba(45,27,125,.16)}
.section-v3{padding:0 15px 14px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:6px 2px 10px}.section-title strong{font-size:16px}.section-title a{font-size:11px;color:var(--sj-purple);text-decoration:none}.progress-card-v3{background:#fff;border-radius:26px;padding:17px;box-shadow:var(--sj-soft-shadow)}.progress-row{display:flex;justify-content:space-between;align-items:end}.progress-row strong{font-size:24px}.progress-row span{font-size:11px;color:var(--sj-muted)}.progress-bar-v3{height:9px;border-radius:10px;background:#ece9f6;margin-top:12px;overflow:hidden}.progress-bar-v3 i{display:block;height:100%;width:72%;border-radius:10px;background:linear-gradient(90deg,var(--sj-purple),var(--sj-blue))}.quest-list{display:grid;gap:10px}.quest{background:#fff;border-radius:22px;padding:14px;box-shadow:0 7px 17px rgba(72,53,130,.06);display:grid;grid-template-columns:45px 1fr 36px;gap:12px;align-items:center}.quest-icon{width:45px;height:45px;border-radius:17px;background:#f0edff;display:grid;place-items:center;color:var(--sj-purple)}.quest-icon svg{width:23px;height:23px}.quest strong{font-size:13px}.quest p{font-size:10px;color:var(--sj-muted);margin:3px 0 0}.quest-go{width:32px;height:32px;border-radius:13px;background:#f5f3fb;display:grid;place-items:center;color:#8d84a5}.quest-go svg{width:17px;height:17px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);height:72px;padding:9px 18px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.9);backdrop-filter:blur(15px);border-top:1px solid #f0edf8;display:grid;grid-template-columns:repeat(4,1fr)}.nav-item{text-decoration:none;color:#aaa3b8;text-align:center;font-size:9px}.nav-item svg{display:block;width:21px;height:21px;margin:0 auto 4px}.nav-item.active{color:var(--sj-purple);font-weight:900}
@media(max-height:720px){.game-card{min-height:420px}.game-main{min-height:auto}.journey{margin-bottom:6px;padding-top:9px}.stage-intro{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.letter-ball.ghosted{opacity:.22}
.result-v3{padding:22px 16px 28px}.result-hero{border-radius:32px;padding:28px 20px;background:linear-gradient(145deg,#6d53ff,#6c6eff 48%,#4b9fff);color:#fff;box-shadow:0 20px 44px rgba(83,65,205,.28);text-align:center;position:relative;overflow:hidden}.result-hero:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-70px;top:-100px;background:rgba(255,255,255,.1)}.result-stars{display:flex;justify-content:center;gap:9px;margin-bottom:12px}.result-stars i{width:43px;height:43px;background:#ffd85a;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%);filter:drop-shadow(0 4px 3px rgba(115,77,0,.16))}.result-hero h1{font-size:28px;margin:0 0 6px}.result-hero p{font-size:12px;color:rgba(255,255,255,.8);margin:0}.result-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.result-stat{border-radius:18px;padding:11px 5px;background:rgba(255,255,255,.13)}.result-stat strong{font-size:21px}.result-stat span{display:block;font-size:9px;color:rgba(255,255,255,.72);margin-top:2px}.result-section{margin-top:15px;background:#fff;border-radius:28px;padding:17px;box-shadow:var(--sj-soft-shadow)}.result-section h2{font-size:15px;margin:0 0 12px}.step-chip-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.step-chip{padding:11px;border-radius:18px;background:#f8f7fd;border:1px solid #efecf7}.step-chip small{color:var(--sj-purple);font-size:9px;font-weight:950}.step-chip strong{display:block;font-size:12px;margin-top:3px}.result-home-btn{width:100%;height:54px;border:0;border-radius:19px;color:white;background:linear-gradient(100deg,var(--sj-purple),var(--sj-blue));font-weight:950;margin-top:15px;box-shadow:0 11px 22px rgba(93,73,218,.2)}

/* =========================================================
   V4 USER-FEEDBACK OPTIMIZATION LAYER
   目标：品牌插画化、学生端统一导航、欢迎仪式、七步手势可感知
   ========================================================= */
:root{
  --v4-bg:var(--fm-bg,#f7f6ff);--v4-paper:#fff;--v4-lilac:#f0edff;--v4-lilac2:#e7e2ff;
  --v4-purple:var(--fm-primary,#5B3DF5);--v4-blue:var(--fm-accent,#4A9DFF);--v4-ink:var(--fm-ink,#241A57);--v4-sub:#8c86a6;
  --v4-yellow:var(--fm-yellow,#FFC400);--v4-pink:var(--fm-pink,#FF72AE);--v4-mint:var(--fm-success,#35D39A);
}
body{background:#e9e7f5}
.sj-app,.student-page{width:100%;min-height:100vh;background:linear-gradient(180deg,#f8f7ff 0,#f5f6ff 48%,#fbfbff 100%);position:relative;overflow-x:hidden;overflow-y:auto;color:var(--v4-ink);padding-bottom:88px}
@media(min-width:540px){.student-page{max-width:430px;box-shadow:0 20px 70px rgba(39,32,68,.22)}}
.student-page:before{content:"";position:fixed;pointer-events:none;width:180px;height:180px;border-radius:50%;right:-100px;top:160px;background:radial-gradient(circle,#dcd6ff 0,rgba(220,214,255,0) 70%)}
.student-page:after{content:"";position:fixed;pointer-events:none;width:160px;height:160px;border-radius:50%;left:-95px;bottom:140px;background:radial-gradient(circle,#d9edff 0,rgba(217,237,255,0) 70%)}
.student-topbar{height:68px;padding:10px 15px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;position:relative;z-index:5;background:rgba(249,248,255,.82);backdrop-filter:blur(14px)}
.student-topbar .back{width:40px;height:40px;border:0;background:#fff;border-radius:16px;box-shadow:0 7px 18px rgba(71,52,132,.07);display:grid;place-items:center;color:var(--v4-ink)}
.student-topbar .back svg{width:20px}.student-title{text-align:center}.student-title strong{display:block;font-size:18px}.student-title span{font-size:10px;color:var(--v4-sub)}
.student-topbar .mini-badge{width:40px;height:40px;border-radius:16px;background:linear-gradient(145deg,#8067ff,#56a5ff);color:#fff;font-weight:900;display:grid;place-items:center;box-shadow:0 8px 18px rgba(88,70,201,.18)}

/* 全局统一底部导航：任何学生端页面只能使用这一套 */
.student-tabbar{position:fixed;z-index:45;left:50%;bottom:0;transform:translateX(-50%);width:min(430px,100%);height:76px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.94);border-top:1px solid #ece9f7;box-shadow:0 -10px 30px rgba(57,42,112,.06);backdrop-filter:blur(18px)}
.student-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:#a9a3b9;font-size:9px;font-weight:750;min-width:0}
.tab-icon-wrap{width:34px;height:29px;display:grid;place-items:center;color:#a9a3b9}.tab-icon-wrap svg{width:21px;height:21px}
.student-tab.active{color:var(--v4-purple)}.student-tab.active .tab-icon-wrap{color:#a9a3b9;background:none;transform:none;box-shadow:none}

/* 欢迎仪式 · 整屏贴图 + 动态称呼 + 跳过/开始热区 */
.welcome-ceremony{
  position:fixed;z-index:200;inset:0;display:flex;justify-content:center;align-items:center;
  background:#E6DFF8;opacity:0;pointer-events:none;transition:opacity .35s ease;overflow:hidden
}
.welcome-ceremony.show{opacity:1;pointer-events:auto}
.welcome-ceremony.closing,.welcome-ceremony.entering{opacity:0}
.welcome-inner{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;background:#E6DFF8
}
.welcome-stage{
  position:relative;
  width:min(100vw, calc(100dvh * 576 / 1024));
  height:min(100dvh, calc(100vw * 1024 / 576));
  overflow:hidden;background:#E6DFF8
}
.welcome-art{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:fill;display:block;pointer-events:none;user-select:none
}
.welcome-skip,.welcome-enter{
  position:absolute;z-index:4;border:0;padding:0;background:transparent;cursor:pointer
}
.welcome-skip{
  top:1.8%;right:3.2%;width:19%;height:5.2%;min-height:32px;border-radius:999px
}
.welcome-hello{
  position:absolute;z-index:3;left:4%;right:4%;top:68.4%;height:13.8%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:6px 10px 4px;text-align:center;pointer-events:none;
  background:linear-gradient(180deg,rgba(243,240,252,.55),#F4F1FC 18%,#F4F1FC 86%,rgba(243,240,252,.4));
  border-radius:20px
}
.welcome-hello-line{
  margin:0;font-size:clamp(15px,3.9vw,18px);font-weight:800;color:#2A2460;
  display:flex;align-items:center;justify-content:center;gap:8px
}
.welcome-hello-line b{font-weight:800;color:#5B3DF5}
.welcome-hello-sub{margin:5px 0 0;font-size:11px;color:#7A7398}
.welcome-star{
  width:10px;height:10px;flex:0 0 10px;background:#FFD85A;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 72%,21% 91%,32% 57%,2% 35%,39% 35%)
}
.welcome-enter{
  left:6.6%;right:6.6%;top:92.4%;height:6.8%;min-height:48px;border-radius:999px
}
.welcome-skip:active,.welcome-enter:active{background:rgba(255,255,255,.1)}
.sj-parent-return{
  position:fixed;z-index:90;left:50%;bottom:86px;transform:translateX(-50%);
  border:0;border-radius:999px;padding:10px 16px;font-weight:800;font-size:12px;
  color:#5B3DF5;background:#fff;box-shadow:0 10px 24px rgba(57,42,112,.16);cursor:pointer
}

/* 首页：把大块纯渐变改为品牌插画遮罩 + 内容卡 */
.home-v4{padding-bottom:92px}.home-v4 .home-head{position:relative;z-index:3;padding:18px 18px 10px}.home-v4 .hello small{font-size:11px;color:#827b9a}.home-v4 .hello strong{font-size:21px;margin-top:3px;display:block}.home-v4 .avatar{border-radius:18px;position:relative;overflow:hidden}.home-v4 .avatar:after{content:"";width:16px;height:16px;background:#ffd85a;position:absolute;right:-3px;bottom:-3px;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%)}
.home-story{margin:2px 14px 15px;border-radius:32px;overflow:hidden;position:relative;min-height:315px;box-shadow:0 20px 44px rgba(80,61,188,.21);background:linear-gradient(145deg,#775cff,#6479ff 55%,#4ea5ff)}
.home-story .sky-mask{position:absolute;inset:0;background:url('../assets/brand/brand-sky-mask.svg') center top/cover no-repeat;opacity:.96}.home-story .book-world{position:absolute;width:250px;right:-28px;top:26px;filter:drop-shadow(0 15px 18px rgba(55,39,136,.2));opacity:.96}
.home-story-copy{position:relative;z-index:3;padding:21px 18px 17px;color:#fff;max-width:68%}.home-story-copy .pill{display:inline-block;padding:6px 10px;border-radius:12px;background:rgba(255,255,255,.16);font-size:9px;font-weight:900;letter-spacing:.4px}.home-story-copy h1{font-size:27px;line-height:1.08;margin:12px 0 7px}.home-story-copy p{font-size:11px;line-height:1.55;color:rgba(255,255,255,.78);margin:0}.home-story-bottom{position:absolute;z-index:3;left:16px;right:16px;bottom:15px;background:rgba(255,255,255,.95);border-radius:22px;padding:11px 11px 11px 14px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;box-shadow:0 10px 22px rgba(49,34,123,.14)}
.home-story-bottom .mission-inline{display:flex;gap:10px}.home-story-bottom .mission-inline div{min-width:46px}.home-story-bottom strong{font-size:17px;color:#2a2147}.home-story-bottom span{display:block;font-size:8px;color:#8c85a1;margin-top:2px}.story-start{width:116px;height:43px;border:0;border-radius:16px;color:#fff;background:linear-gradient(120deg,#7659ff,#4d9fff);font-size:11px;font-weight:950;box-shadow:0 8px 18px rgba(101,78,228,.2)}
.home-card-v4{background:#fff;border-radius:27px;padding:17px;box-shadow:0 9px 25px rgba(68,51,126,.07)}.home-card-v4 .big-progress{display:grid;grid-template-columns:auto 1fr;gap:15px;align-items:center}.progress-orbit{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#7258ff 0 72%,#ece9f7 72%);position:relative}.progress-orbit:before{content:"";position:absolute;width:60px;height:60px;border-radius:50%;background:#fff}.progress-orbit strong{position:relative;font-size:19px}.home-note{padding:12px 14px;border-radius:20px;background:linear-gradient(110deg,#f0edff,#edf7ff);font-size:11px;line-height:1.65;color:#746d8f}.home-note b{color:#5e47db}

/* 课程页：一列卡通章节，而不是办公数据表 */
.course-summary{margin:0 15px 12px;padding:14px 16px;border-radius:24px;background:#fff;box-shadow:0 8px 22px rgba(68,50,126,.06);display:flex;align-items:center;justify-content:space-between}
.lesson-story-list{padding:0 14px 18px;display:grid;gap:12px}
.lesson-list-head{display:flex;align-items:baseline;justify-content:space-between;padding:0 18px 10px;margin-top:-4px}
.lesson-list-head strong{font-size:14px;color:#2a2147}
.lesson-list-head span{font-size:10px;color:#8c86a6}
.lesson-story-card{
  position:relative;min-height:128px;border-radius:28px;background:#fff;padding:16px 15px 15px 132px;
  box-shadow:0 10px 28px rgba(64,48,123,.07);overflow:hidden;border:1.5px solid #f0edf9;
  text-decoration:none;color:inherit;transition:border-color .18s,box-shadow .18s,transform .18s
}
.lesson-story-card.unlocked{
  border-color:#c8b8ff;background:linear-gradient(180deg,#fff,#faf8ff);
  box-shadow:0 12px 30px rgba(91,61,245,.12)
}
.lesson-story-card.unlocked.recent{
  border-color:#8f7bff;
  box-shadow:0 14px 34px rgba(91,61,245,.18);
  transform:translateY(-1px)
}
.lesson-story-card.locked{
  opacity:.72;filter:saturate(.45) grayscale(.15);background:#f7f6fb;border-color:#e8e5f0;
  pointer-events:none;cursor:not-allowed
}
.lesson-recent-tag{
  position:absolute;top:12px;right:12px;z-index:3;
  padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900;color:#fff;
  background:linear-gradient(100deg,#5B3DF5,#4A9DFF);box-shadow:0 4px 12px rgba(91,61,245,.25)
}
.lessons-v4 .lesson-lock{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:14px;background:rgba(255,255,255,.85);
  display:grid;place-items:center;box-shadow:0 4px 12px rgba(60,48,110,.1)
}
.lessons-v4 .lesson-lock svg{width:18px;height:18px;color:#9b93b0}
.lesson-story-card.locked .lesson-art{filter:saturate(.35) brightness(1.05)}
.lesson-art{position:absolute;left:14px;top:12px;width:104px;height:104px;border-radius:24px;background:linear-gradient(145deg,#efeaff,#edf7ff);display:grid;place-items:center;overflow:hidden}.lesson-art:before{content:"";position:absolute;width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.7);right:-25px;top:-28px}.lesson-art svg{width:88px;height:74px;position:relative}.lesson-badge{font-size:9px;font-weight:900;color:#6b54ff;letter-spacing:.7px}.lesson-story-card h3{font-size:18px;margin:5px 0 6px}.lesson-story-card p{font-size:10px;color:var(--v4-sub);margin:0}.lesson-progress-line{height:8px;border-radius:9px;background:#ece9f5;overflow:hidden;margin-top:12px}.lesson-progress-line i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#7459ff,#4da5ff)}.lesson-mini-stats{display:flex;gap:7px;margin-top:8px}.lesson-mini-stats span{padding:5px 8px;border-radius:12px;background:#f5f2ff;color:#766e91;font-size:8px}.lesson-lock{position:absolute;right:15px;top:14px;width:28px;height:28px;border-radius:11px;background:#f2eff9;display:grid;place-items:center}.lesson-lock svg{width:15px;color:#aaa4bb}

/* 错词页 */
.error-hero-v4{margin:0 15px 14px;border-radius:29px;padding:18px;background:linear-gradient(135deg,#ffedf3,#f0edff);display:grid;grid-template-columns:1fr 110px;align-items:center;overflow:hidden;box-shadow:0 10px 26px rgba(76,56,139,.07)}.error-hero-v4 h2{font-size:23px;margin:0 0 5px}.error-hero-v4 p{font-size:10px;color:#817991;margin:0;line-height:1.6}.error-hero-v4 svg{width:110px}.error-list-v4{padding:0 14px 20px;display:grid;gap:10px}.error-word-card{background:#fff;border-radius:23px;padding:13px 14px;display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;box-shadow:0 7px 20px rgba(66,49,122,.06)}.error-mini-art{width:54px;height:54px;border-radius:18px;background:#f5f2ff;display:grid;place-items:center;overflow:hidden}.error-mini-art svg{width:52px}.error-word-card strong{font-size:16px}.error-word-card p{font-size:9px;color:#8a849e;margin:3px 0 0}.error-state{padding:6px 8px;border-radius:12px;background:#fff0f4;color:#e04e70;font-size:8px;font-weight:900}

/* 成长页：去掉橙色大板和 Emoji 花园，换成插画场景 */
.growth-hero{margin:0 15px 15px;border-radius:30px;overflow:hidden;position:relative;min-height:220px;background:linear-gradient(145deg,#7358ff,#617bff 58%,#4ea5ff);color:#fff;box-shadow:0 18px 38px rgba(79,60,186,.22);padding:20px}.growth-hero:after{content:"";position:absolute;width:190px;height:190px;right:-70px;top:-80px;border-radius:50%;background:rgba(255,255,255,.1)}.growth-hero .star-orbit{width:78px;height:78px;border-radius:28px;background:#fff4c5;color:#6a5400;display:grid;place-items:center;margin-bottom:13px;position:relative;z-index:2}.growth-hero .star-orbit svg{width:38px;fill:#ffd34e}.growth-hero h2{font-size:30px;margin:0;position:relative;z-index:2}.growth-hero p{font-size:10px;color:rgba(255,255,255,.72);position:relative;z-index:2}.growth-metrics{display:flex;gap:17px;margin-top:16px;position:relative;z-index:2}.growth-metrics strong{display:block;font-size:17px}.growth-metrics span{font-size:8px;color:rgba(255,255,255,.7)}
.garden-card-v4{margin:0 15px 14px;border-radius:30px;padding:17px;background:linear-gradient(180deg,#edfaff,#f4efff);box-shadow:0 9px 25px rgba(71,53,130,.06);overflow:hidden}.garden-head{display:flex;justify-content:space-between;align-items:center}.garden-head strong{font-size:16px}.garden-level{padding:6px 9px;border-radius:12px;background:#fff;color:#6b54ff;font-size:9px;font-weight:900}.garden-scene{height:180px;position:relative;margin-top:4px;background:linear-gradient(180deg,transparent 0 60%,#dff2dd 60% 100%);border-radius:22px;overflow:hidden}.garden-cloud{position:absolute;width:75px;height:24px;background:#fff;border-radius:20px;opacity:.9}.garden-cloud:before,.garden-cloud:after{content:"";position:absolute;background:#fff;border-radius:50%}.garden-cloud:before{width:32px;height:32px;left:13px;top:-15px}.garden-cloud:after{width:24px;height:24px;right:13px;top:-8px}.garden-cloud.one{left:24px;top:34px}.garden-cloud.two{right:19px;top:62px;transform:scale(.72)}.plant{position:absolute;bottom:29px;width:50px;height:70px}.plant:before{content:"";position:absolute;width:8px;height:43px;left:21px;bottom:0;background:#6dbb72;border-radius:8px}.plant:after{content:"";position:absolute;width:44px;height:44px;left:3px;top:0;border-radius:50% 50% 46% 54%;background:radial-gradient(circle at 35% 30%,#ffd1e8 0 18%,#ff79b5 19% 100%);box-shadow:inset 0 0 0 8px rgba(255,255,255,.18)}.plant.p1{left:34px;transform:scale(.8)}.plant.p2{left:108px}.plant.p3{left:188px;transform:scale(.72)}.plant.p4{right:20px;transform:scale(.92)}.garden-ground{position:absolute;left:0;right:0;bottom:0;height:34px;background:#bfe2b8}.garden-caption{text-align:center;font-size:10px;color:#738c73;margin-top:10px}
.badge-grid-v4{padding:0 15px 16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.badge-v4{background:#fff;border-radius:22px;padding:13px 8px;text-align:center;box-shadow:0 7px 19px rgba(67,49,126,.05)}.badge-icon-v4{width:54px;height:54px;border-radius:19px;margin:auto;background:linear-gradient(145deg,#eeeaff,#edf7ff);display:grid;place-items:center}.badge-icon-v4 svg{width:32px}.badge-v4 strong{display:block;font-size:10px;margin-top:8px}.badge-v4 span{display:block;font-size:7px;color:#9992aa;margin-top:2px}

/* 单词插画卡：七步都要像儿童英语内容，而不是“表单” */
.word-art-card{width:150px;margin:0 auto 10px;border-radius:23px;background:linear-gradient(145deg,#f4f0ff,#edf7ff);padding:9px 10px 8px;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9)}.word-art-visual{height:86px;display:grid;place-items:center}.word-art-visual svg{width:128px;height:90px}.word-art-label strong{font-size:14px}.word-art-label span{display:block;font-size:9px;color:#8c85a1;margin-top:1px}

/* 七步整体重排 */
.game-topbar{grid-template-columns:42px 1fr 62px;padding:12px 14px 6px}.journey{margin:5px 12px 9px;border-radius:22px;padding:10px 8px 8px}.journey-name{font-size:8px}.stage-intro{margin:6px 2px 10px;align-items:center}.stage-copy h1{font-size:25px}.stage-copy p{font-size:10px}.stage-badge{border-radius:13px;background:#eeeaff;font-size:9px}.game-main{padding:2px 12px 24px}.game-card{border-radius:30px;padding:16px 14px 18px;min-height:488px;border:1px solid #efecfa;box-shadow:0 14px 36px rgba(65,48,126,.09)}
.game-card:after{content:"";position:absolute;left:13px;right:13px;top:12px;height:70px;border-radius:23px;background:linear-gradient(110deg,rgba(240,236,255,.5),rgba(233,247,255,.42));pointer-events:none;z-index:0}.game-card>*{position:relative;z-index:1}.instruction{font-size:11px;line-height:1.5;margin-bottom:10px;color:#817a98}.instruction b{color:#372b63}.word-prompt{padding:0 0 10px}.word-prompt .cn{font-size:25px}.word-prompt .phonetic{font-size:9px}
.mascot-peek{width:55px;height:55px;right:7px;bottom:7px;opacity:.96}

/* Step1 对齐、留白、跟手虚线 */
.connect-board{min-height:320px;padding:6px 3px 2px}.connect-cols{gap:50px}.connect-col{gap:12px}.connect-item{height:56px;border-radius:18px;font-size:13px;background:linear-gradient(180deg,#fff,#faf9ff);border-color:#eae6f7}.connect-item.left{padding-right:19px}.connect-item.right{padding-left:19px}.connect-port{width:18px;height:18px;border-width:5px}.connect-path{stroke-width:4.5;transition:none}.connect-path.draft{stroke:#826dff;stroke-width:4.5;stroke-dasharray:8 7;stroke-linecap:round;animation:none;filter:none;opacity:.92}.connect-item.drag-hot{border-color:#a998ff;box-shadow:0 7px 20px rgba(111,86,238,.12);transform:translateY(-1px)}
.connect-board.is-drawing{touch-action:none;user-select:none;-webkit-user-select:none;overscroll-behavior:none}
.connect-board.is-finished{pointer-events:none}
.connect-board.is-drawing .connect-item{transition:none}
.connect-port{touch-action:none}
.connect-item.left,.connect-item.right{touch-action:none;-webkit-user-select:none;user-select:none}
.connect-port.source::after,.connect-port.target::after{content:"";position:absolute;inset:-22px;border-radius:50%}
.connect-thumb .word-art-photo,.connect-thumb img{width:28px;height:28px;object-fit:contain;display:block;pointer-events:none}
.connect-item.right.drag-hot{
  border-color:#8f7bff;
  background:#f3f0ff;
  box-shadow:0 8px 22px rgba(111,86,238,.16);
  transform:scale(1.03);
}
.connect-item.right.drag-hot .connect-port{
  border-color:#6b54ff;
  transform:scale(1.25);
  box-shadow:0 0 0 6px rgba(107,84,255,.16);
}

/* Step2 卡片更像词卡 */
.swat-grid{gap:10px}.swat-card{min-height:72px;border-radius:20px;font-size:17px;box-shadow:0 7px 17px rgba(69,51,128,.07),inset 0 0 0 1px #ece8f8}.swat-card:before{content:"ABC";position:absolute;left:9px;top:8px;font-size:7px;letter-spacing:1px;color:#c5bddf}.combo{margin-top:11px}

/* Step3 */
.error-word{margin:8px 0 15px;gap:6px}.error-letter{width:40px;height:49px;border-radius:15px;font-size:20px}.repair-tray{border-radius:21px;background:linear-gradient(145deg,#f5f2ff,#f1f8ff)}.repair-key{border-radius:15px}

/* Step4 */
.drag-word-zone{height:88px}.drag-word,.drag-ghost{width:158px;height:65px;border-radius:22px;font-size:22px}.meaning-zones{gap:8px}.meaning-target{height:55px;border-radius:18px;font-size:14px;background:#fbfaff}

/* Step5 */
.sort-slots{margin:6px 0 14px;gap:5px}.sort-slot{width:41px;height:49px;border-radius:14px}.letter-pool{min-height:92px;border-radius:20px;padding:12px}.letter-tile,.tile-ghost{width:43px;height:47px;border-radius:14px}.letter-tile{box-shadow:0 7px 14px rgba(66,48,125,.08),inset 0 -4px 0 #e7e1f6}

/* Step6 */
.blank-word{margin:8px 0 15px}.fixed-letter,.blank-slot{width:36px;height:48px;font-size:20px}.letter-ball-pool{padding:12px;border-radius:20px}.letter-ball{width:45px;height:45px}

/* Step7：按住后虚线跟手；已经过的节点是实线，指针到下一点始终有 draft */
.spell-arena{min-height:278px;border-radius:24px;background:radial-gradient(circle at 50% 42%,#eee9ff 0,#f9f8ff 65%);border:1px solid #eeeafa}.spell-line{stroke-width:7;opacity:.72;filter:none}.spell-trail-draft{fill:none;stroke:#8b77ff;stroke-width:4;stroke-linecap:round;stroke-dasharray:7 9;opacity:.85;animation:none;filter:none}.spell-arena.is-drawing{touch-action:none;user-select:none;-webkit-user-select:none}.spell-bubbles{padding:23px 27px;gap:12px}.spell-bubble{width:55px;height:55px;font-size:20px;box-shadow:0 8px 17px rgba(68,50,126,.09),inset 0 -4px 0 #e7e1f6;transition:transform .12s,box-shadow .12s,background .12s,color .12s}.spell-bubble.selected{transform:scale(1.08);box-shadow:0 10px 22px rgba(91,68,215,.24)}.spell-bubble.near{box-shadow:0 0 0 6px rgba(117,88,255,.1),0 10px 22px rgba(91,68,215,.18)}.spell-build{font-size:21px;min-height:29px;margin:2px 0 8px}.trail-tip{text-align:center;font-size:8px;color:#9a92ae;margin-top:7px}

/* result */
.result-v3{padding-bottom:32px}.result-hero{background:linear-gradient(145deg,#7659ff,#6678ff 55%,#4ca6ff)}

@media(max-width:360px){.lesson-story-card{padding-left:120px}.lesson-art{width:92px;height:96px}.home-story-copy{max-width:72%}.home-story .book-world{width:220px;right:-40px}.connect-cols{gap:42px}.connect-item{font-size:12px}}
/* V4 game illustration helpers */
.game-visual-strip{height:132px;margin:0 auto 10px;border-radius:22px;background:linear-gradient(145deg,#f0ecff,#edf7ff);display:grid;place-items:center;overflow:hidden;position:relative;padding:8px 12px;box-sizing:border-box}.game-visual-strip:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-35px;top:-40px;background:rgba(255,255,255,.7);pointer-events:none}.game-visual-strip svg{width:min(148px,70%);height:auto;max-height:116px;position:relative;z-index:1}.game-visual-strip .word-art-photo,.game-visual-strip img{width:100%;height:100%;max-height:116px;object-fit:contain;object-position:center;display:block;position:relative;z-index:1}.connect-thumb{width:34px;height:34px;border-radius:11px;background:#f1edff;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.connect-thumb svg{width:40px;height:32px}.connect-item.left{gap:7px}.connect-item.left .connect-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.stage-ribbon{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:13px;background:#f1edff;color:#6e57e6;font-size:9px;font-weight:900;margin-bottom:8px}.stage-ribbon i{width:7px;height:7px;border-radius:50%;background:#ffd85a;box-shadow:0 0 0 4px rgba(255,216,90,.18)}
.practice-v4{background:linear-gradient(180deg,#f2efff 0,#f8f7ff 180px,#fbfbff 100%)}.practice-v4:before{width:100%;height:178px;left:0;right:auto;top:0;border-radius:0;background:url('../assets/brand/brand-sky-mask.svg') center -30px/cover no-repeat;opacity:.1;filter:none}.practice-v4:after{display:none}.practice-v4 .game-topbar,.practice-v4 .journey,.practice-v4 .game-main{position:relative;z-index:2}

/* =========================================================
   V4.1 全局返回 + 顶栏 / Tab / Hero 加厚卡通层
   ========================================================= */
.global-back,
.student-topbar .back,
.game-topbar .icon-btn,
.home-head .global-back{
  width:42px;height:42px;border:0;border-radius:16px;flex:0 0 42px;
  background:linear-gradient(180deg,#fff,#f4f1ff);
  box-shadow:0 8px 18px rgba(71,52,132,.12),inset 0 -3px 0 #ece7fa;
  color:#4a3d86;display:grid;place-items:center;text-decoration:none;cursor:pointer
}
.global-back svg,.student-topbar .back svg,.game-topbar .icon-btn svg,.home-head .global-back svg{width:22px;height:22px}
body>.global-back{position:fixed;z-index:80;top:calc(12px + env(safe-area-inset-top));left:max(12px,calc(50% - 203px))}

.student-page{padding-bottom:108px}
.student-topbar{
  height:auto;min-height:64px;margin:10px 12px 8px;padding:8px 10px;
  display:grid;grid-template-columns:42px 1fr 42px;gap:8px;align-items:center;
  border-radius:24px;background:rgba(255,255,255,.94);border:1px solid #fff;
  box-shadow:0 12px 28px rgba(68,50,126,.1);backdrop-filter:blur(16px)
}
.student-title strong{font-size:16px;letter-spacing:.2px}
.student-title span{display:block;margin-top:2px;font-size:10px;color:#8a83a0}
.student-topbar .mini-badge{
  width:42px;height:42px;border-radius:16px;
  background:linear-gradient(145deg,#8067ff,#56a5ff);color:#fff;font-weight:900;
  display:grid;place-items:center;font-size:12px;
  box-shadow:0 8px 18px rgba(88,70,201,.22),inset 0 1px 0 rgba(255,255,255,.35)
}

.student-tabbar{
  position:fixed;z-index:45;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));
  transform:translateX(-50%);width:calc(min(430px,100%) - 18px);height:auto;
  min-height:74px;padding:6px;display:grid;grid-template-columns:repeat(4,1fr);
  isolation:isolate;overflow:visible;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(244,241,255,.82));
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 18px 40px rgba(53,44,99,.18),0 0 0 1px rgba(123,108,255,.14),inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter:blur(22px) saturate(1.4)
}
.student-tabbar:before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
  background:linear-gradient(110deg,transparent 18%,rgba(123,108,255,.1) 46%,rgba(74,157,255,.16) 52%,transparent 82%);
  background-size:220% 100%;animation:tabScan 5.6s ease-in-out infinite
}
.tab-indicator{
  position:absolute;z-index:0;top:6px;bottom:6px;left:6px;width:calc((100% - 12px)/4);
  border-radius:22px;pointer-events:none;
  background:linear-gradient(180deg,rgba(123,108,255,.2),rgba(74,157,255,.1));
  box-shadow:0 0 20px rgba(91,61,245,.24),inset 0 0 0 1px rgba(168,154,255,.45);
  transform:translateX(calc(var(--tab-from, var(--tab-index, 0)) * 100%))
}
.student-tabbar.ready .tab-indicator{
  transform:translateX(calc(var(--tab-index, 0) * 100%));
  transition:transform .46s cubic-bezier(.2,.85,.2,1.18)
}
.student-tab{
  position:relative;z-index:1;gap:4px;font-size:11px;font-weight:800;
  transition:transform .16s ease
}
.student-tab:active,.student-tab.press{transform:scale(.93)}
.tab-icon-wrap{
  position:relative;width:42px;height:34px;border-radius:14px;
  background:rgba(243,240,255,.55);color:#a9a3b9
}
.tab-icon-wrap svg{width:21px;height:21px;position:relative;z-index:1}
.tab-glow{display:none}
.tab-label{line-height:1;letter-spacing:.2px}
.student-tab.active{color:var(--fm-primary,#5B3DF5)}
.student-tab.active .tab-icon-wrap{
  color:var(--fm-primary,#5B3DF5);
  background:linear-gradient(180deg,#fff,#efeaff);
  box-shadow:0 8px 18px rgba(91,61,245,.2),0 0 18px rgba(74,157,255,.32);
  animation:tabIconPop .5s cubic-bezier(.2,.9,.2,1.22)
}
.student-tab.active .tab-glow{
  display:block;position:absolute;inset:-7px;border-radius:18px;z-index:0;pointer-events:none;
  background:radial-gradient(circle,rgba(123,108,255,.32),transparent 72%);
  animation:tabPulse 1.7s ease-in-out infinite
}
.student-tab.active .tab-label{animation:tabLabelIn .32s ease}
.student-tab.active .tab-label:after{
  content:"";display:block;width:14px;height:3px;margin:5px auto 0;border-radius:99px;
  background:linear-gradient(90deg,#5B3DF5,#4A9DFF);
  box-shadow:0 0 10px rgba(91,61,245,.6);
  animation:tabDash .5s cubic-bezier(.2,.9,.2,1.15)
}
@keyframes tabScan{0%,100%{background-position:130% 0}50%{background-position:-30% 0}}
@keyframes tabIconPop{0%{transform:translateY(7px) scale(.84)}58%{transform:translateY(-4px) scale(1.1)}100%{transform:none}}
@keyframes tabPulse{50%{opacity:.42;transform:scale(1.1)}}
@keyframes tabLabelIn{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes tabDash{from{width:0;opacity:0}to{width:14px;opacity:1}}

.home-v4 .home-head{
  display:grid;grid-template-columns:42px 1fr 45px;gap:10px;align-items:center;
  padding:12px 14px 8px
}
.home-v4 .hello{min-width:0}
.home-v4 .hello small,.home-v4 .hello strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.hero-chip{
  display:inline-flex;align-items:center;padding:5px 10px;border-radius:11px;
  background:rgba(255,255,255,.2);font-size:9px;font-weight:900;letter-spacing:.4px;color:#fff
}
.hero-blobs{position:absolute;inset:0;pointer-events:none}
.hero-blobs:before,.hero-blobs:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.hero-blobs:before{width:160px;height:160px;right:-48px;top:-72px;background:rgba(255,255,255,.16)}
.hero-blobs:after{width:90px;height:90px;left:18px;bottom:-40px;background:rgba(255,255,255,.1)}
.float-chip{
  position:absolute;z-index:3;padding:6px 10px;border-radius:12px;background:#fff;
  color:#6650e6;font-size:10px;font-weight:900;box-shadow:0 8px 16px rgba(40,28,90,.16);
  animation:chipFloat 3.1s ease-in-out infinite
}
.float-chip.c1{right:8px;top:10px;transform:rotate(-8deg)}
.float-chip.c2{right:18px;bottom:14px;transform:rotate(7deg);animation-delay:-1.2s}

.course-summary,.course-hero-v4{
  position:relative;margin:4px 14px 14px;padding:18px 16px 16px;min-height:168px;
  border-radius:30px;overflow:hidden;color:#fff;
  display:grid;grid-template-columns:1fr 118px;align-items:end;gap:8px;
  background:linear-gradient(145deg,#775cff,#6479ff 55%,#4ea5ff);
  box-shadow:0 18px 38px rgba(80,61,188,.22)
}
.course-hero-copy{position:relative;z-index:2}
.course-hero-copy h2,.course-summary h2{font-size:24px;line-height:1.15;margin:10px 0 6px;color:#fff;font-weight:800}
.course-hero-copy h2 span{font-size:inherit;font-weight:inherit;color:inherit;vertical-align:baseline;line-height:inherit}
.course-hero-copy p,.course-summary p{font-size:11px;color:rgba(255,255,255,.78);margin:0}
.course-hero-metrics{display:flex;gap:16px;margin-top:14px}
.course-hero-metrics strong{display:block;font-size:18px}
.course-hero-metrics span{font-size:9px;color:rgba(255,255,255,.72)}
.course-hero-book{position:absolute;width:168px;right:-28px;top:8px;z-index:1;filter:drop-shadow(0 12px 16px rgba(40,28,90,.2));pointer-events:none}

.error-hero-v4{
  position:relative;margin:4px 14px 14px;min-height:176px;padding:18px 16px 16px;
  border-radius:30px;overflow:hidden;color:#fff;
  display:grid;grid-template-columns:1fr 118px;align-items:center;gap:8px;
  background:linear-gradient(145deg,#ff8aa0 0%,#d08cff 46%,#7aa6ff 100%);
  box-shadow:0 18px 38px rgba(186,80,130,.2)
}
.error-hero-v4 h2{font-size:24px;margin:8px 0 6px;color:#fff;line-height:1.15}
.error-hero-v4 p{font-size:11px;color:rgba(255,255,255,.8);margin:0;line-height:1.55}
.error-hero-copy{position:relative;z-index:2}
.error-hero-art-wrap{position:relative;min-height:110px}
.error-hero-art-wrap #errorHeroArt{position:relative;z-index:2;filter:drop-shadow(0 10px 12px rgba(40,28,90,.16))}
.error-hero-v4 svg{width:110px}
.error-hero-v4 .story-start{margin-top:12px;width:112px;background:#fff;color:#6a48e0}

.growth-hero{
  position:relative;margin:4px 14px 14px;min-height:236px;padding:20px 18px 18px;
  border-radius:30px;overflow:hidden;color:#fff;
  background:linear-gradient(145deg,#7358ff,#617bff 58%,#4ea5ff);
  box-shadow:0 18px 38px rgba(79,60,186,.22)
}
.growth-hero .sky-mask{position:absolute;inset:0;background:url('../assets/brand/brand-sky-mask.svg') center top/cover no-repeat;opacity:.55;pointer-events:none}
.growth-book{position:absolute;width:190px;right:-36px;top:18px;opacity:.92;filter:drop-shadow(0 14px 16px rgba(40,28,90,.22));pointer-events:none}
.growth-hero .star-orbit{width:72px;height:72px;border-radius:26px;background:#fff4c5;color:#6a5400;display:grid;place-items:center;margin-bottom:12px;position:relative;z-index:2;box-shadow:0 10px 20px rgba(40,28,90,.16)}
.growth-hero .star-orbit svg{width:34px;fill:#ffd34e}
.growth-hero h2,.growth-hero p,.growth-metrics{position:relative;z-index:2}
.growth-hero h2{font-size:32px;margin:0}
.growth-hero p{font-size:11px;color:rgba(255,255,255,.78);margin:4px 0 0}
.growth-metrics{display:flex;gap:10px;margin-top:16px}
.growth-metrics div{min-width:72px;padding:10px 8px;border-radius:16px;background:rgba(255,255,255,.14)}
.growth-metrics strong{display:block;font-size:17px}
.growth-metrics span{font-size:9px;color:rgba(255,255,255,.72)}

.sj-app.practice-v4 .game-topbar,
.sj-app.result-v3 .student-topbar{
  margin:10px 12px 6px;padding:8px 10px;border-radius:24px;
  background:rgba(255,255,255,.94);border:1px solid #fff;
  box-shadow:0 12px 28px rgba(68,50,126,.1)
}
.result-v3{padding:8px 0 28px}
.result-v3 .result-hero{margin:4px 14px 14px;min-height:220px;padding:22px 18px 20px}
.result-v3 .result-hero .hero-chip{position:relative;z-index:2}
.result-v3 .result-hero:after{content:"";position:absolute;width:170px;height:170px;left:-60px;bottom:-70px;border-radius:50%;background:rgba(255,255,255,.1)}
.result-section{margin:0 14px 12px}

.learn-v4 .learn-progress-shell{
  margin:2px 14px 12px;border:1px solid #f2effa
}

/* =========================================================
   UI 美化增强补丁：官方吉祥物 / Logo / 空状态
   ========================================================= */
img.mascot-peek, .fm-mascot-helper{
  width:78px;height:auto;right:4px;bottom:2px;background:none;
  filter:drop-shadow(0 10px 12px rgba(91,61,245,.18))
}
.home-v4 .avatar{padding:0;background:linear-gradient(145deg,#efeaff,#edf7ff)}
.home-v4 .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.home-v4 .avatar:after{display:none}
.home-mascot{position:absolute;z-index:4;width:128px;right:4px;bottom:68px;filter:drop-shadow(0 12px 16px rgba(40,28,90,.22));pointer-events:none}
.home-story .book-world{opacity:.62;width:220px}

.course-hero-mascot{position:absolute;width:108px;right:8px;bottom:-6px;z-index:2;filter:drop-shadow(0 10px 12px rgba(40,28,90,.2));pointer-events:none}
.lesson-lock{overflow:hidden}
.lesson-lock img,.lesson-lock-mark{width:18px;height:18px;object-fit:contain}

.error-mascot{width:118px;display:block;filter:drop-shadow(0 10px 12px rgba(40,28,90,.18))}
.fm-empty{margin:8px 14px 20px;padding:28px 18px 22px;text-align:center;background:#fff;border-radius:28px;box-shadow:var(--fm-shadow-card,0 12px 32px rgba(91,61,245,.08));border:1px solid var(--fm-stroke,#E7E1FF)}
.fm-empty img{width:150px;margin:0 auto 10px;display:block;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 10px 14px rgba(91,61,245,.14))}
.fm-empty strong{display:block;font-size:16px}
.fm-empty p{font-size:12px;color:#8a83a3;margin:6px 0 0;line-height:1.6}

.growth-mascot-head{position:absolute;z-index:3;width:72px;right:16px;top:16px;filter:drop-shadow(0 8px 10px rgba(40,28,90,.2))}
.garden-mascot{position:absolute;z-index:3;width:92px;right:8px;bottom:18px;filter:drop-shadow(0 8px 10px rgba(40,28,90,.16))}

.result-mascot{width:150px;margin:6px auto 8px;display:block;position:relative;z-index:2;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 12px 16px rgba(40,28,90,.18))}
.gate-logo{height:42px;width:auto;display:block;margin:0 auto 16px;object-fit:contain}

/* 抠图吉祥物 + 主 Logo + 干净 Hero 排版 */
.brand-logo{
  height:34px;width:auto;max-width:124px;object-fit:contain;justify-self:end;
  filter:drop-shadow(0 6px 12px rgba(91,61,245,.18))
}
.home-v4 .home-head,.student-topbar{
  grid-template-columns:42px 1fr auto;gap:10px
}
.home-story{
  display:grid;grid-template-columns:1fr 150px;grid-template-rows:1fr auto;
  align-items:end;min-height:286px;padding:18px 8px 14px 16px;overflow:hidden
}
.home-story .sky-mask{opacity:.35}
.home-story .book-world{opacity:0;width:0;height:0;overflow:hidden}
.home-story-copy,.page-hero-copy{position:relative;z-index:2;max-width:none;padding:4px 6px 10px 0}
.home-story-copy h1{font-size:26px;margin:10px 0 8px}
.home-story-copy p{max-width:92%}
.home-story .hero-mascot-wrap{grid-row:1;grid-column:2;align-self:end;margin:0 2px 0 0}
.home-story-bottom{position:relative;grid-column:1 / -1;left:auto;right:auto;bottom:auto;margin:4px 8px 0 0}

.page-hero{
  display:grid;grid-template-columns:1fr 142px;align-items:center;gap:4px;
  overflow:hidden
}
.hero-mascot-wrap{
  position:relative;z-index:3;display:grid;place-items:end center;align-self:end;
  pointer-events:none;min-height:150px
}
.hero-mascot-wrap:before{display:none}
.hero-mascot{
  position:relative;z-index:1;width:138px;height:auto;display:block;
  filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 8px 14px rgba(40,28,90,.18));
}
.course-hero-v4 .hero-mascot,.error-hero-v4 .hero-mascot,.growth-hero .hero-mascot{width:132px}
.course-hero-book,.course-hero-mascot,.growth-book,.growth-mascot-head{display:none}
.error-hero-art-wrap,.float-chip{display:none}
.growth-hero{min-height:210px;padding:18px 8px 16px 18px}
.growth-hero .star-orbit{display:none}
.growth-hero h2{font-size:30px;margin:8px 0 4px}
.growth-metrics{margin-top:12px;flex-wrap:wrap}

/* =========================================================
   闪记大冒险 · 对齐参考图：紫空 + 玻璃进度 + 魔法书主卡
   ========================================================= */
.practice-v4{
  background:linear-gradient(180deg,#5B3DF5 0%,#7B68FF 38%,#C9D8FF 78%,#E8EEFF 100%)!important
}
.practice-v4:before{
  width:100%;height:100%;left:0;top:0;right:0;border-radius:0;opacity:1;filter:none;
  background:
    radial-gradient(circle at 12% 18%,rgba(255,255,255,.35) 0 2px,transparent 3px),
    radial-gradient(circle at 78% 12%,rgba(255,255,255,.28) 0 1.5px,transparent 3px),
    radial-gradient(circle at 88% 28%,rgba(255,255,255,.22) 0 2px,transparent 3px),
    radial-gradient(circle at 22% 8%,rgba(255,216,90,.45) 0 2px,transparent 3px),
    radial-gradient(ellipse at 50% 100%,rgba(255,255,255,.55),transparent 42%)
}
.practice-v4:after{display:none}
.sj-app.practice-v4 .game-topbar{
  margin:max(8px,env(safe-area-inset-top)) 12px 4px;padding:4px 4px;
  background:transparent;border:0;box-shadow:none;border-radius:0
}
.practice-v4 .game-topbar .icon-btn{
  width:42px;height:42px;border-radius:50%;background:#fff;
  box-shadow:0 8px 18px rgba(40,28,90,.16);color:#4A3D86
}
.practice-v4 .top-title strong{color:#fff;font-size:18px;text-shadow:0 2px 8px rgba(40,28,90,.18)}
.practice-v4 .top-title span{color:rgba(255,255,255,.82);font-size:11px}
.practice-v4 .star-pill{
  height:36px;border-radius:999px;background:#FFF4C4;color:#7A5E00;
  box-shadow:0 6px 14px rgba(40,28,90,.12)
}
.practice-v4 .journey{
  margin:6px 14px 10px;padding:12px 8px 10px;border-radius:26px;
  background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.38);
  box-shadow:0 10px 24px rgba(40,28,90,.1);backdrop-filter:blur(16px)
}
.practice-v4 .journey-track:before{
  height:0;top:16px;border-top:2px dotted rgba(255,255,255,.7);background:none;border-radius:0
}
.practice-v4 .journey-dot{
  width:26px;height:26px;border:2px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.28);color:#fff;box-shadow:none;font-size:10px
}
.practice-v4 .journey-node.active .journey-dot{
  width:32px;height:32px;transform:none;background:#5B3DF5;border:3px solid #fff;
  color:#fff;box-shadow:0 6px 16px rgba(91,61,245,.35)
}
.practice-v4 .journey-node.done .journey-dot{background:#31C98A;border-color:#fff;color:#fff}
.practice-v4 .journey-name{font-size:9px;color:rgba(255,255,255,.8);margin-top:5px}
.practice-v4 .journey-node.active .journey-name{color:#fff;font-weight:900}
.practice-v4 .game-main{padding:0 12px 18px;min-height:0;flex:1}
.practice-v4 .game-book{
  position:relative;background:linear-gradient(180deg,#fff 0 72%,#F8F6FF 88%,#F3F0FF 100%);
  border-radius:32px 32px 28px 28px;padding:16px 14px 72px;
  box-shadow:0 18px 40px rgba(40,28,90,.18);overflow:hidden;min-height:520px
}
.practice-v4 .game-book:before{
  content:"";position:absolute;left:6%;right:6%;bottom:0;height:88px;z-index:0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%,rgba(167,139,250,.22),transparent 72%),
    radial-gradient(ellipse 40% 55% at 50% 100%,rgba(255,216,90,.28),transparent 70%);
  pointer-events:none
}
.practice-v4 .game-book:after{display:none}
.practice-v4 .game-book-foot.power-rail{
  position:absolute;left:14px;right:14px;bottom:12px;z-index:3;
  pointer-events:none;user-select:none
}
.power-rail-meta{
  display:flex;align-items:center;justify-content:space-between;
  margin:0 2px 7px;font-size:11px;font-weight:800
}
.power-rail-label{color:#6B6288;letter-spacing:.02em}
.power-rail-pct{color:#5B3DF5;font-variant-numeric:tabular-nums}
.power-rail-pct b{font-size:13px}
.power-rail-track{
  position:relative;height:12px;border-radius:999px;
  background:linear-gradient(180deg,#ebe6ff,#f6f4ff);
  box-shadow:inset 0 1px 3px rgba(91,61,245,.12),0 0 0 1px rgba(167,139,250,.2);
  overflow:visible
}
.power-rail-glow{
  position:absolute;inset:-6px -4px;border-radius:999px;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,rgba(167,139,250,.28),transparent 70%);
  opacity:.55;filter:blur(4px);animation:powerGlowPulse 2.4s ease-in-out infinite
}
.power-rail-fill{
  position:absolute;left:0;top:0;bottom:0;width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#8B7CF7 0%,#6B54FF 42%,#4EA5FF 78%,#FFD85A 100%);
  box-shadow:0 0 14px rgba(107,84,255,.55),0 0 28px rgba(255,216,90,.25);
  transition:width .55s cubic-bezier(.2,.9,.2,1.05)
}
.power-rail-fill:after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.45) 48%,transparent 100%);
  background-size:200% 100%;animation:powerShimmer 1.8s linear infinite
}
.power-rail-head{
  position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;left:0%;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff,#FFD85A 42%,#F5B800 100%);
  box-shadow:0 0 0 3px rgba(255,216,90,.35),0 0 16px rgba(107,84,255,.55);
  transition:left .55s cubic-bezier(.2,.9,.2,1.05);
  opacity:0
}
.power-rail.has-progress .power-rail-head{opacity:1}
.power-rail.absorb .power-rail-track{
  animation:powerAbsorbFlash .55s ease-out
}
.power-rail.absorb .power-rail-head{
  animation:powerHeadPop .55s cubic-bezier(.2,.9,.2,1.3)
}
@keyframes powerGlowPulse{
  0%,100%{opacity:.4;transform:scaleY(1)}
  50%{opacity:.85;transform:scaleY(1.15)}
}
@keyframes powerShimmer{
  0%{background-position:120% 0}
  100%{background-position:-40% 0}
}
@keyframes powerAbsorbFlash{
  0%{box-shadow:inset 0 1px 3px rgba(91,61,245,.12),0 0 0 1px rgba(167,139,250,.2),0 0 0 0 rgba(255,216,90,0)}
  40%{box-shadow:inset 0 1px 3px rgba(91,61,245,.12),0 0 0 2px rgba(255,216,90,.55),0 0 22px rgba(107,84,255,.45)}
  100%{box-shadow:inset 0 1px 3px rgba(91,61,245,.12),0 0 0 1px rgba(167,139,250,.2),0 0 0 0 rgba(255,216,90,0)}
}
@keyframes powerHeadPop{
  0%{transform:scale(.8)}
  45%{transform:scale(1.35)}
  100%{transform:scale(1)}
}
.power-orb{
  position:fixed;z-index:140;width:10px;height:10px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 30% 30%,#fff,#C4B5FD 40%,#6B54FF 100%);
  box-shadow:0 0 10px rgba(107,84,255,.7),0 0 18px rgba(255,216,90,.35);
  animation:powerOrbFly var(--dur,.7s) cubic-bezier(.15,.7,.2,1) forwards
}
.power-orb.gold{
  background:radial-gradient(circle at 30% 30%,#fff,#FFE27A 45%,#FFC400 100%);
  box-shadow:0 0 10px rgba(255,200,60,.75),0 0 16px rgba(107,84,255,.3)
}
@keyframes powerOrbFly{
  0%{transform:translate(0,0) scale(1);opacity:1}
  70%{opacity:1}
  100%{transform:translate(var(--tx),var(--ty)) scale(.2);opacity:0}
}
@media (max-height:760px){
  .practice-v4 .game-book{min-height:0;padding:12px 12px 64px}
  .practice-v4 .stage-mascot{width:88px}
  .practice-v4 .stage-copy h1{font-size:22px}
}
.practice-v4 .stage-intro{
  display:grid;grid-template-columns:1fr 108px;align-items:start;gap:4px;
  margin:0 2px 10px;position:relative;z-index:2
}
.practice-v4 .stage-copy .eyebrow{
  display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;
  background:#EFEAFF;color:#5B3DF5;font-size:10px;letter-spacing:.4px;font-weight:800
}
.practice-v4 .stage-copy h1{font-size:26px;margin:8px 0 4px;color:#241A57}
.practice-v4 .stage-copy p{font-size:12px;color:#8A83A3}
.practice-v4 .stage-mascot{
  width:108px;height:auto;justify-self:end;align-self:start;margin-top:2px;
  filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 8px 12px rgba(91,61,245,.16))
}
.practice-v4 .game-card{
  background:transparent;border:0;box-shadow:none;padding:0;min-height:0;overflow:visible;border-radius:0
}
.practice-v4 .game-card:before,.practice-v4 .game-card:after{display:none}
.practice-v4 .mascot-peek{display:none}
.practice-v4 .stage-ribbon{display:none}
.practice-v4 .instruction{
  text-align:left;margin:0 0 14px;padding:12px 12px 12px 44px;border-radius:18px;
  background:linear-gradient(90deg,#EEF4FF,#F4EEFF);color:#6F6888;font-size:12px;line-height:1.5;
  position:relative
}
.practice-v4 .instruction:before{
  content:"";position:absolute;left:12px;top:50%;width:18px;height:18px;transform:translateY(-50%);
  background:#FFD85A;clip-path:polygon(50% 0,62% 38%,100% 38%,68% 62%,80% 100%,50% 76%,20% 100%,32% 62%,0 38%,38% 38%)
}
.practice-v4 .instruction b{color:#241A57}
.practice-v4 .connect-board{padding:8px 2px 4px}
.practice-v4 .connect-cols{
  display:flex;justify-content:space-between;align-items:stretch;
  gap:64px;grid-template-columns:unset
}
.practice-v4 .connect-col{width:112px;flex:0 0 112px;gap:14px}
.practice-v4 .connect-item{
  width:100%;height:46px;border-radius:16px;padding:0 14px;
  display:flex;align-items:center;justify-content:center;gap:6px;
  background:#fff;border:1px solid #EEEAF8;box-shadow:0 6px 14px rgba(91,61,245,.07);
  font-size:13px;text-align:center
}
.practice-v4 .connect-item.left,
.practice-v4 .connect-item.right{justify-content:center;padding:0 14px}
.practice-v4 .connect-item.left .connect-label{
  min-width:0;overflow:visible;text-overflow:unset;text-align:center
}
.practice-v4 .connect-thumb{width:22px;height:22px;border-radius:8px;flex:0 0 22px}
.practice-v4 .connect-thumb svg{width:22px;height:18px}
.practice-v4 .game-visual-strip{height:140px;margin-bottom:12px;padding:10px 14px}
@media (max-width:360px){
  .practice-v4 .connect-cols{gap:48px}
  .practice-v4 .connect-col{width:100px;flex-basis:100px}
}

/* =========================================================
   全站 Hero · 紫蓝魔法卡 + 玻璃标签 + 白底数据条
   ========================================================= */
.fm-hero{
  position:relative;margin:4px 14px 16px;padding:16px 12px 12px 16px;
  min-height:268px;border-radius:30px;overflow:hidden;color:#fff;
  display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(145deg,#8A4DFF 0%,#5B5BFF 46%,#2F7BFF 100%);
  box-shadow:0 20px 44px rgba(70,48,190,.28)
}
.fm-hero-fx{position:absolute;inset:0;pointer-events:none;z-index:0}
.fm-hero-dots{
  position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.38) 1.15px,transparent 1.25px);
  background-size:16px 16px;
  -webkit-mask-image:linear-gradient(135deg,#000 0 32%,transparent 62%);
  mask-image:linear-gradient(135deg,#000 0 32%,transparent 62%);
  opacity:.7
}
.fm-bolt-deco{
  position:absolute;width:28px;height:42px;opacity:.18;
  background:#fff;
  clip-path:polygon(48% 0,78% 0,42% 46%,68% 46%,22% 100%,38% 54%,14% 54%)
}
.fm-bolt-deco.d1{left:8%;top:18%;transform:rotate(-18deg)}
.fm-bolt-deco.d2{right:22%;top:8%;width:22px;height:34px;transform:rotate(12deg);opacity:.12}
.fm-bolt-deco.d3{right:6%;bottom:36%;transform:rotate(24deg);opacity:.1}
.fm-letter{
  position:absolute;font-weight:900;color:rgba(255,255,255,.13);
  font-family:Arial,sans-serif;line-height:1;letter-spacing:-2px
}
.fm-letter.la{right:34%;top:6%;font-size:64px}
.fm-letter.lb{right:10%;top:22%;font-size:48px}
.fm-letter.lc{right:24%;bottom:34%;font-size:42px}
.fm-hero-main{
  position:relative;z-index:2;display:grid;grid-template-columns:1fr 132px;
  align-items:end;gap:4px;flex:1;min-height:168px
}
.fm-hero .page-hero-copy,.fm-hero .home-story-copy,.fm-hero .course-hero-copy,.fm-hero .error-hero-copy{
  max-width:none;padding:2px 4px 6px 0
}
.fm-hero-chip,.fm-hero .hero-chip,.fm-hero .pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 11px;border-radius:999px;
  background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  font-size:10px;font-weight:900;letter-spacing:.3px;color:#fff
}
.fm-chip-bolt{
  width:11px;height:14px;flex:0 0 11px;background:#FFD85A;
  clip-path:polygon(48% 0,80% 0,42% 48%,70% 48%,18% 100%,40% 54%,12% 54%);
  filter:drop-shadow(0 0 4px rgba(255,216,90,.6))
}
.fm-hero h1,.fm-hero h2{
  position:relative;margin:12px 0 8px;font-size:26px;line-height:1.12;font-weight:900;color:#fff
}
.fm-hero h1 span,.fm-hero h2 span{
  font-size:inherit;font-weight:inherit;color:inherit;vertical-align:baseline;line-height:inherit
}
.fm-hero p{margin:0;max-width:94%;font-size:11px;line-height:1.55;color:rgba(255,255,255,.86)}
.fm-hero-rule{
  display:block;width:54px;height:3px;margin-top:10px;border-radius:99px;
  background:linear-gradient(90deg,#C9A6FF,#7FE8FF)
}
.fm-spark{
  position:absolute;width:10px;height:10px;background:#FFD85A;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 72%,21% 91%,32% 57%,2% 35%,39% 35%);
  filter:drop-shadow(0 0 4px rgba(255,216,90,.7))
}
.fm-spark.s1{right:8px;top:-6px}
.fm-spark.s2{left:76px;bottom:-8px;width:7px;height:7px}
.fm-hero .hero-mascot-wrap{
  min-height:158px;margin:0 10px 0 0;align-self:end;place-items:end center;
  transform:translateX(-12px)
}
.fm-hero .hero-mascot-wrap:before{
  content:"";position:absolute;right:-8px;top:-8px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.22),transparent 68%)
}
.fm-hero .hero-mascot{
  width:148px;max-width:none;
  filter:drop-shadow(0 14px 18px rgba(28,18,90,.28))
}
.fm-hero-dock,.fm-hero .home-story-bottom{
  position:relative;z-index:3;left:auto;right:auto;bottom:auto;margin:0 2px 0 0;
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;
  background:#fff;border-radius:20px;padding:10px 10px 10px 14px;
  box-shadow:0 10px 22px rgba(40,28,110,.14)
}
.fm-hero.growth-hero .fm-hero-dock{grid-template-columns:1fr}
.fm-hero-dock .mission-inline,.fm-hero .mission-inline,.fm-hero-metrics{
  display:flex;align-items:center;gap:0;min-width:0;flex-wrap:nowrap
}
.fm-hero-dock .mission-inline-3>div,.fm-hero-dock .mission-inline-3>.mission-stat{flex:1;min-width:0;text-align:center;padding:0 6px}
.home-v4 .fm-hero-dock .mission-inline-3>div:first-child,.home-v4 .fm-hero-dock .mission-inline-3>.mission-stat:first-child{padding-left:0}
.home-v4 .fm-hero-dock .mission-inline-3>div:last-child,.home-v4 .fm-hero-dock .mission-inline-3>.mission-stat:last-child{padding-right:0}
.home-v4 .home-hero-dock-v2 .mission-inline-3>div:first-child,.home-v4 .home-hero-dock-v2 .mission-inline-3>.mission-stat:first-child{padding-left:4px}
.home-v4 .home-hero-dock-v2 .mission-inline-3>div:last-child,.home-v4 .home-hero-dock-v2 .mission-inline-3>.mission-stat:last-child{padding-right:4px}
.home-v4 .mission-stat{
  border:0;background:transparent;padding:2px 6px;margin:0;cursor:pointer;border-radius:14px;
  transition:background .15s,transform .15s;font:inherit;color:inherit
}
.home-v4 .mission-stat:active{transform:scale(.97)}
.home-v4 .mission-stat-review strong{color:#6B54FF}
.home-v4 .mission-stat-review span{color:#8f84c8}
.home-v4 .mission-stat-mistake strong{color:#E04E70}
.home-v4 .mission-stat-mistake span{color:#d8899c}
.home-v4 .mission-stat-new strong{color:#1FA883}
.home-v4 .mission-stat-new span{color:#6aab98}
.home-v4 .mission-stat-review:hover,.home-v4 .mission-stat-review:focus-visible{background:rgba(107,84,255,.08)}
.home-v4 .mission-stat-mistake:hover,.home-v4 .mission-stat-mistake:focus-visible{background:rgba(224,78,112,.08)}
.home-v4 .mission-stat-new:hover,.home-v4 .mission-stat-new:focus-visible{background:rgba(31,168,131,.08)}
.home-v4 .fm-hero-dock .mission-inline-3 strong{
  display:block;font-size:22px;line-height:1;font-weight:900;letter-spacing:-.5px;font-variant-numeric:tabular-nums
}
.home-v4 .fm-hero-dock .mission-inline-3 span{display:block;margin-top:4px;font-size:9px;font-weight:800;letter-spacing:.3px;line-height:1.2}
.home-v4 .fm-hero-dock .mission-inline-3{align-items:stretch}
.home-v4 .fm-hero-dock .mission-inline-3>.mission-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:44px}
.fm-hero-dock .mission-inline>div,.fm-hero-metrics>div{
  min-width:52px;padding:0 10px;position:relative
}
.fm-hero-dock .mission-inline>div:first-child,.fm-hero-metrics>div:first-child{padding-left:0}
.fm-hero-dock .mission-inline>div+div:before,.fm-hero-metrics>div+div:before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:#eee9f6
}
.fm-hero-dock strong,.fm-hero-metrics strong,.fm-hero .home-story-bottom strong{
  display:block;font-size:18px;line-height:1.1;color:#2A2147
}
.fm-hero-dock span,.fm-hero-metrics span,.fm-hero .home-story-bottom span{
  display:block;margin-top:2px;font-size:10px;font-weight:700;color:#8C85A1
}
.fm-hero-cta,.fm-hero .story-start{
  display:inline-flex;align-items:center;justify-content:center;text-decoration:none;
  height:42px;min-width:108px;padding:0 16px;border:0;border-radius:999px;
  color:#fff;font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer;
  background:linear-gradient(100deg,#7A4DFF,#4A9DFF);
  box-shadow:0 8px 16px rgba(90,70,220,.26)
}
.fm-hero.home-story{
  display:flex;grid-template-columns:unset;align-items:stretch;min-height:286px;padding:16px 12px 12px 16px
}
.fm-hero.home-story .sky-mask{opacity:.18}
.fm-hero.course-hero-v4,.fm-hero.error-hero-v4,.fm-hero.growth-hero,.fm-hero.result-hero{
  display:flex;grid-template-columns:unset;align-items:stretch;
  background:linear-gradient(145deg,#8A4DFF 0%,#5B5BFF 46%,#2F7BFF 100%)
}
.fm-hero.error-hero-v4 .story-start{
  margin-top:0;width:auto;background:linear-gradient(100deg,#7A4DFF,#4A9DFF);color:#fff
}
.fm-hero.growth-hero .growth-metrics{display:none}
.fm-hero.result-hero{text-align:left;min-height:268px}
.fm-hero.result-hero .result-mascot{width:148px;margin:0;display:block}
.fm-hero.result-hero .result-stars{justify-content:flex-start;margin:0 0 8px}
.fm-hero.result-hero .result-stat-grid{display:none}
.fm-hero .book-world{opacity:0;width:0;height:0;overflow:hidden;position:absolute}
@media(max-width:360px){
  .fm-hero h1,.fm-hero h2{font-size:22px}
  .fm-hero .hero-mascot,.fm-hero.result-hero .result-mascot{width:122px}
  .fm-hero-main{grid-template-columns:1fr 108px}
  .fm-hero-cta,.fm-hero .story-start{min-width:96px;font-size:11px;padding:0 12px}
}

/* =========================================================
   学生首页 V2 · 儿童学习入口
   ========================================================= */
.home-v4.home-v2{
  background:#F7F6FF;
  overflow-x:hidden;
  padding-bottom:108px
}
.home-v4.home-v2 .home-head{
  padding:14px 18px 8px;
  gap:10px
}
.home-head-right{
  display:flex;align-items:center;justify-content:flex-end;gap:8px
}
.home-msg-slot{
  width:32px;height:32px;flex:0 0 32px;display:none
}
.home-v4.home-v2 .section-v3{
  padding:0 18px 22px
}
.home-v4.home-v2 .section-title{
  margin:0 2px 12px
}
.home-v4.home-v2 .section-title a,
.section-swap,.section-sub{
  font-size:11px;font-weight:800;color:#6B54FF;background:none;border:0;padding:0;cursor:pointer
}
.section-sub{color:#8c86a6;font-weight:700;cursor:default}

.fm-hero.home-story{
  background:linear-gradient(120deg,#623CFF 0%,#565BFF 45%,#41A4FF 100%);
  margin:4px 16px 22px;min-height:286px
}
.home-v4.home-v2 .fm-hero-arc{
  position:absolute;right:-36px;top:18px;width:210px;height:210px;border-radius:50%;
  border:18px solid rgba(255,255,255,.08);pointer-events:none
}
.home-v4.home-v2 .fm-hero-stars{
  position:absolute;width:8px;height:8px;background:#FFD85A;opacity:.7;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 72%,21% 91%,32% 57%,2% 35%,39% 35%);
  filter:drop-shadow(0 0 4px rgba(255,216,90,.55))
}
.home-v4.home-v2 .fm-hero-stars.s1{right:28%;top:12%}
.home-v4.home-v2 .fm-hero-stars.s2{right:8%;top:38%;width:6px;height:6px;opacity:.45}
.home-v4.home-v2 .fm-hero-stars.s3{right:18%;bottom:42%;width:10px;height:10px;opacity:.55}
.home-v4.home-v2 .fm-hero-stars.s4{right:42%;top:8%;width:5px;height:5px;opacity:.4}
.home-v4.home-v2 .hero-mascot-wrap{
  overflow:visible;transform:translateX(-10px)
}
.home-v4.home-v2 .hero-mascot-ghost{
  position:absolute;right:-42px;bottom:-18px;width:210px;max-width:none;
  opacity:.12;z-index:0;pointer-events:none;
  animation:homeGhostFloat 5.2s ease-in-out infinite
}
.home-v4.home-v2 .hero-mascot{
  position:relative;z-index:1;
  animation:homeMascotIn .5s ease-out both,homeMascotFloat 4.2s ease-in-out .5s infinite
}
.home-v4.home-v2 .fm-hero-stars.s1{right:28%;top:12%;animation:homeStarTwinkle 2.4s ease-in-out infinite}
.home-v4.home-v2 .fm-hero-stars.s2{right:8%;top:38%;width:6px;height:6px;opacity:.45;animation:homeStarTwinkle 3s ease-in-out .6s infinite}
.home-v4.home-v2 .fm-hero-stars.s3{right:18%;bottom:42%;width:10px;height:10px;opacity:.55;animation:homeStarTwinkle 2.8s ease-in-out 1s infinite}
.home-v4.home-v2 .fm-hero-stars.s4{right:42%;top:8%;width:5px;height:5px;opacity:.4;animation:homeStarTwinkle 3.2s ease-in-out .3s infinite}
.home-v4.home-v2 .fm-hero-cta:not(.home-hero-adventure-btn){
  animation:homeCtaBreathe 2.6s ease-in-out infinite
}
@keyframes homeMascotIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes homeGhostFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
@keyframes homeCtaBreathe{
  0%,100%{transform:scale(1);box-shadow:0 8px 16px rgba(90,70,220,.26)}
  50%{transform:scale(1.03);box-shadow:0 10px 20px rgba(90,70,220,.34)}
}

.daily-flash-card{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,44%);gap:12px;align-items:center;
  background:#fff;border-radius:28px;padding:14px;overflow:hidden;
  box-shadow:0 10px 26px rgba(68,51,126,.08)
}
.daily-flash-copy{min-width:0;display:flex;flex-direction:column}
.daily-flash-kicker{
  font-size:9px;font-weight:900;letter-spacing:.8px;color:#8B83FF
}
.daily-flash-word{
  display:block;margin-top:8px;font-size:28px;line-height:1.1;color:#2A2147
}
.daily-flash-phon{
  display:block;margin-top:4px;font-size:12px;color:#8C85A1
}
.daily-flash-cn{
  display:block;margin-top:4px;font-size:16px;font-weight:800;color:#3D3460
}
.daily-flash-title{
  margin:10px 0 0;font-size:11px;line-height:1.5;color:#746D8F
}
.daily-flash-action{
  margin-top:auto;padding-top:12px;font-size:13px;font-weight:900;color:#5B3DF5;
  display:inline-flex;align-items:center;gap:4px
}
.daily-flash-action i,
.home-reward-go i{
  width:6px;height:6px;border-right:2px solid currentColor;border-top:2px solid currentColor;
  transform:rotate(45deg)
}
.daily-flash-media{
  position:relative;width:100%;aspect-ratio:1/1;min-width:0;border-radius:22px;overflow:hidden;
  background:#fff;box-shadow:inset 0 0 0 1px #efeaff;
  animation:dailyFlashIn .45s ease-out both
}
@keyframes dailyFlashIn{
  from{opacity:0;transform:scale(.96)}
  to{opacity:1;transform:scale(1)}
}
.daily-flash-img{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;z-index:2;background:#fff
}
.daily-flash-ph{
  position:absolute;inset:0;display:grid;place-items:center;overflow:hidden
}
.daily-flash-ph-ghost{
  position:absolute;right:-18%;bottom:-22%;width:78%;opacity:.22;pointer-events:none
}
.daily-flash-ph-bolt{
  position:absolute;left:10px;top:10px;width:18px;opacity:.85
}
.daily-flash-ph-card{
  position:relative;z-index:1;width:86%;height:78%;border-radius:18px;
  background:rgba(255,255,255,.72);display:grid;place-items:center;
  box-shadow:0 8px 18px rgba(91,61,245,.08)
}
.daily-flash-ph-card svg{width:88%;height:88%}
.daily-flash-ph-letter{
  font-size:42px;font-weight:900;color:#6B54FF
}

.home-growth-card{border-radius:28px;padding:18px}
.home-growth-main strong{display:block;font-size:16px}
.home-growth-main b{color:#5B3DF5}
.home-growth-main p{
  margin:6px 0 0;font-size:11px;line-height:1.55;color:#8B849F
}
.home-growth-track{margin-top:14px}
.home-growth-meta{
  display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px
}
.home-growth-meta span{font-size:13px;font-weight:800;color:#2A2147}
.home-growth-meta em{
  font-style:normal;font-size:11px;font-weight:700;color:#B0A8C4
}
.home-growth-bar{
  height:10px;border-radius:99px;background:#ECE9F7;overflow:hidden
}
.home-growth-bar i{
  display:block;height:100%;border-radius:99px;
  background:linear-gradient(90deg,#623CFF,#41A4FF)
}

.home-plan-card{
  position:relative;overflow:hidden;border-radius:26px;padding:16px 88px 16px 16px;
  background:linear-gradient(110deg,#F0EDFF,#EDF7FF)
}
.home-plan-sticker{
  position:absolute;right:2px;bottom:-6px;width:78px;opacity:.92;
  filter:drop-shadow(0 8px 12px rgba(40,28,90,.12));pointer-events:none
}
.home-plan-list{margin:0;padding:0;counter-reset:plan}
.home-plan-list li{
  position:relative;list-style:none;padding:7px 0 7px 28px;
  font-size:13px;font-weight:800;line-height:1.45;color:#4A4268
}
.home-plan-list li:before{
  counter-increment:plan;content:counter(plan);
  position:absolute;left:0;top:7px;width:20px;height:20px;border-radius:50%;
  background:#fff;color:#5B3DF5;font-size:11px;font-weight:900;
  display:grid;place-items:center;box-shadow:0 4px 10px rgba(91,61,245,.1)
}

.home-reward-card{
  display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;
  background:#fff;border-radius:28px;padding:14px 16px;
  box-shadow:0 10px 26px rgba(68,51,126,.07)
}
.home-reward-art{
  width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#EFEAFF,#EDF7FF);
  display:grid;place-items:center
}
.home-reward-art svg{width:42px;height:42px}
.home-reward-copy strong{display:block;font-size:14px}
.home-reward-copy p{margin:3px 0 0;font-size:12px;color:#5A5374}
.home-reward-copy span{display:block;margin-top:4px;font-size:11px;color:#8B849F}
.home-reward-go{
  font-size:12px;font-weight:900;color:#5B3DF5;white-space:nowrap;
  display:inline-flex;align-items:center;gap:4px
}

@media(max-width:390px){
  .home-v4.home-v2 .fm-hero-main{grid-template-columns:1fr 118px}
  .home-v4.home-v2 .hero-mascot{width:128px}
  .home-v4.home-v2 .hero-mascot-ghost{width:176px;right:-34px}
  .daily-flash-word{font-size:24px}
  .home-plan-card{padding-right:76px}
  .home-plan-sticker{width:68px}
}
@media(max-width:375px){
  .home-v4.home-v2 .section-v3{padding:0 16px 20px}
  .fm-hero.home-story{margin:4px 16px 20px}
  .home-v4.home-v2 .home-story-copy p{max-width:88%}
  .daily-flash-card{grid-template-columns:minmax(0,1fr) minmax(0,42%);padding:12px;gap:10px}
  .home-reward-card{grid-template-columns:50px 1fr auto;gap:10px;padding:12px}
}
.word-art-photo,
.lesson-art img,
.connect-thumb img,
.error-mini-art img{
  width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1
}
.word-art-visual .word-art-photo{
  width:100%;height:100%;object-fit:contain;object-position:center
}
.game-visual-strip img,
.game-visual-strip .word-art-photo{
  width:100%;height:100%;max-height:116px;object-fit:contain;object-position:center
}
.practice-v4 .game-visual-strip{
  height:140px;margin-bottom:12px;padding:10px 14px
}
.practice-v4 .game-visual-strip .word-art-photo,
.practice-v4 .game-visual-strip img{
  max-height:120px
}
@media(prefers-reduced-motion:reduce){
  .home-v4.home-v2 .hero-mascot,
  .home-v4.home-v2 .hero-mascot-ghost,
  .home-v4.home-v2 .fm-hero-cta,
  .daily-flash-media{animation:none!important;opacity:1;transform:none}
}

/* =========================================================
   成长页 V5 · 单词花园 + 成长勋章
   ========================================================= */
.growth-v5{padding-bottom:118px}
.garden-v5{
  margin:0 16px 22px;padding:18px 16px 16px;border-radius:28px;overflow:hidden;
  background:linear-gradient(165deg,#F3EFFF 0%,#EEF6FF 58%,#F7FBFF 100%);
  box-shadow:0 12px 28px rgba(91,61,245,.08);position:relative
}
.garden-v5:before{
  content:"";position:absolute;right:-40px;top:-50px;width:160px;height:160px;border-radius:50%;
  background:rgba(255,255,255,.45);pointer-events:none
}
.garden-v5-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;position:relative;z-index:1}
.garden-v5-head strong{display:block;font-size:18px}
.garden-v5-head p{margin:4px 0 0;font-size:11px;color:#8C86A6}
.garden-v5-level{
  display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;
  background:#fff;color:#5B3DF5;font-size:11px;font-weight:800;
  box-shadow:0 8px 16px rgba(91,61,245,.1)
}
.garden-v5-level svg{width:16px;height:16px}
.garden-v5-level b{font-size:12px}
.garden-path{
  display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:18px 0 16px;position:relative;z-index:1
}
.garden-path:before{
  content:"";position:absolute;left:12%;right:12%;top:28px;height:4px;border-radius:99px;
  background:linear-gradient(90deg,#C9B6FF,#7FE8FF)
}
.garden-stage{position:relative;text-align:center}
.stage-art{
  width:56px;height:56px;margin:0 auto 6px;border-radius:50%;background:#fff;
  display:grid;place-items:center;box-shadow:0 8px 16px rgba(68,51,126,.1);
  border:3px solid #fff
}
.garden-stage.done .stage-art,.garden-stage.now .stage-art{border-color:#B9A6FF}
.garden-stage.now .stage-art{box-shadow:0 0 0 4px rgba(123,101,255,.16),0 8px 16px rgba(68,51,126,.12)}
.stage-art svg{width:40px;height:40px}
.garden-stage b{display:block;font-size:11px;color:#5B3DF5}
.garden-stage span{display:block;margin-top:2px;font-size:10px;color:#8C86A6;font-weight:700}
.garden-meter{position:relative;z-index:1;background:rgba(255,255,255,.72);border-radius:20px;padding:12px}
.garden-meter-copy{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:10px}
.garden-meter-copy span{font-size:12px;font-weight:800;color:#2A2147}
.garden-meter-copy em{font-style:normal;font-size:11px;color:#8C86A6}
.garden-bar-row{display:grid;grid-template-columns:1fr 40px;gap:8px;align-items:center}
.garden-bar{position:relative;height:12px;border-radius:99px;background:#ECE8FF;overflow:visible}
.garden-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#623CFF,#41A4FF)}
.garden-bar-star{
  position:absolute;top:50%;width:18px;height:18px;margin-left:-9px;transform:translateY(-50%);
  background:#FFD85A;border-radius:50%;box-shadow:0 0 0 3px #fff,0 4px 10px rgba(255,200,0,.4);
  clip-path:none
}
.garden-bar-star:before{
  content:"";position:absolute;inset:3px;background:#fff;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 72%,21% 91%,32% 57%,2% 35%,39% 35%)
}
.garden-gift{width:40px;height:40px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 16px rgba(255,114,174,.18)}
.garden-gift svg{width:28px;height:28px}
.garden-foot{margin:12px 4px 0;text-align:center;font-size:11px;line-height:1.55;color:#746D8F;position:relative;z-index:1}

.medal-v5{padding:0 16px 12px}
.medal-v5 .section-title{margin:0 2px 12px}
.medal-feature{
  display:grid;grid-template-columns:108px 1fr;gap:12px;align-items:center;
  padding:16px;border-radius:28px;color:#fff;overflow:hidden;position:relative;
  background:linear-gradient(120deg,#623CFF 0%,#565BFF 48%,#41A4FF 100%);
  box-shadow:0 16px 32px rgba(91,61,245,.22)
}
.medal-3d{position:relative;display:grid;place-items:center;min-height:96px}
.medal-3d svg{width:86px;height:86px;filter:drop-shadow(0 10px 12px rgba(20,10,60,.25))}
.medal-3d i{position:absolute;bottom:4px;width:64px;height:14px;border-radius:50%;background:rgba(255,216,90,.35);filter:blur(1px)}
.medal-copy{min-width:0}
.medal-chip{
  display:inline-flex;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.2);
  font-size:10px;font-weight:800
}
.medal-copy h3{margin:8px 0 4px;font-size:20px}
.medal-copy p{margin:0;font-size:12px;color:rgba(255,255,255,.86)}
.medal-copy small{display:block;margin-top:6px;font-size:11px;color:rgba(255,255,255,.78)}
.medal-share{
  margin-top:12px;height:40px;padding:0 16px;border:0;border-radius:999px;
  background:#FFD85A;color:#5A4300;font-size:12px;font-weight:900;cursor:pointer;
  box-shadow:0 8px 16px rgba(255,200,0,.28)
}
.badge-grid-v5{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.badge-v5{
  background:#fff;border-radius:22px;padding:14px 8px 12px;text-align:center;
  box-shadow:0 8px 18px rgba(67,49,126,.06)
}
.badge-v5-icon{
  width:52px;height:52px;margin:0 auto;border-radius:18px;
  background:linear-gradient(145deg,#F4F0FF,#EDF7FF);display:grid;place-items:center
}

/* ========== 单词中心（效果图高保真） ========== */
.word-hub-page{
  background:#F5F6FA !important;
  padding-bottom:calc(120px + env(safe-area-inset-bottom));
}
.word-hub-page:before,.word-hub-page:after{display:none !important}

.wh-tabs{
  position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;margin:6px 14px 14px;padding:5px;
  border-radius:999px;background:#EEEDF6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)
}
.wh-tabs button{
  position:relative;z-index:1;border:0;border-radius:999px;padding:11px 4px;
  font-size:12px;font-weight:850;color:#6E6888;background:transparent;cursor:pointer;
  white-space:nowrap;line-height:1.15
}
.wh-tabs button.active{
  color:#fff;
  background:linear-gradient(100deg,#7B5CFF 0%,#5B7CFF 55%,#4EA5FF 100%);
  box-shadow:0 10px 22px rgba(91,61,245,.28)
}
.wh-tabs button.active:after{
  content:"";position:absolute;left:50%;bottom:-6px;width:8px;height:8px;
  background:#fff;border-radius:2px;transform:translateX(-50%) rotate(45deg);
  box-shadow:0 2px 4px rgba(91,61,245,.18)
}

.wh-hero{
  margin:0 14px 14px;padding:0;border:0;background:transparent;
  box-shadow:none;overflow:visible;color:#fff
}
.wh-hero-frame{
  position:relative;
  display:grid;grid-template-columns:1fr 110px;align-items:stretch;
  min-height:176px;padding:8px;
  border-radius:28px;background:#fff;
  border:1px solid #EBE7F5;
  box-shadow:0 14px 32px rgba(73,53,168,.1);
  overflow:hidden
}
.wh-hero-bg{
  position:absolute;inset:8px;pointer-events:none;border-radius:20px;overflow:hidden;
  background-color:#8A6BFF;
  background-repeat:no-repeat;
  background-position:center;
  /* 略放大裁掉素材自带圆角描边，只保留我们统一的白框 */
  background-size:112% 112%
}
.wh-hero.hub-tab-wrong .wh-hero-bg{
  background-image:url('../assets/word-hub/hero-wrong.png?v=2')
}
.wh-hero.hub-tab-weak .wh-hero-bg{
  background-image:url('../assets/word-hub/hero-weak.png?v=2')
}
.wh-hero.hub-tab-mastered .wh-hero-bg{
  background-image:url('../assets/word-hub/hero-mastered.png?v=2')
}
.wh-hero.hub-tab-review21 .wh-hero-bg{
  background-image:url('../assets/word-hub/hero-review21.png?v=2')
}
.wh-hero-bg:after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(90deg,rgba(40,28,90,.16) 0%,rgba(40,28,90,.05) 42%,transparent 70%);
  pointer-events:none
}
.wh-hero-copy{
  position:relative;z-index:1;padding:14px 6px 12px 14px;min-width:0;
  display:flex;flex-direction:column;align-items:flex-start;gap:0
}
.wh-chip{
  display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 11px;border-radius:999px;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.42);
  box-shadow:none;backdrop-filter:blur(8px);
  font-size:11px;font-weight:850
}
.wh-chip i.ico{
  width:auto;height:auto;border:0;background:transparent;box-shadow:none;
  font-style:normal;font-size:11px;line-height:1;opacity:.95
}
.wh-count{display:flex;align-items:baseline;gap:6px;margin:12px 0 8px}
.wh-count b{font-size:40px;font-weight:950;line-height:1;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.wh-count small{font-size:15px;font-weight:800;opacity:.95}
.wh-hero-copy p{
  margin:0 0 14px;font-size:12px;line-height:1.55;color:rgba(255,255,255,.92);
  max-width:210px;font-weight:650
}
.wh-cta{
  border:0;border-radius:999px;height:40px;padding:0 16px;cursor:pointer;
  color:#5B3DF5;background:#fff;font-size:13px;font-weight:950;
  box-shadow:none
}
.wh-cta:active{transform:scale(.98)}
.wh-mascot{
  position:relative;z-index:1;align-self:end;justify-self:end;
  width:112px;height:auto;margin:0 2px -2px 0;pointer-events:none;
  filter:drop-shadow(0 10px 14px rgba(28,18,90,.2))
}

.wh-extra{margin:0 14px 12px}
.wh-progress-card{
  background:#fff;border-radius:22px;padding:14px 14px 16px;
  box-shadow:0 10px 28px rgba(70,55,130,.07)
}
.wh-progress-head{
  display:flex;align-items:center;gap:8px;margin-bottom:14px
}
.wh-progress-head strong{font-size:14px;font-weight:900;color:#2A2147}
.wh-stage-row{display:flex;justify-content:space-between;gap:4px}
.wh-stage{flex:1;text-align:center;min-width:0}
.wh-stage i{
  display:grid;place-items:center;width:18px;height:18px;margin:0 auto 6px;
  border-radius:50%;background:#EDEAF8;border:2px solid #E2DDF3;
  font-size:10px;font-weight:900;color:#fff;font-style:normal;line-height:1
}
.wh-stage.done i{
  background:linear-gradient(145deg,#7B5CFF,#4EA5FF);border-color:#6B54FF
}
.wh-stage.active i{
  background:#fff;border:3px solid #6B54FF;
  box-shadow:0 0 0 4px rgba(107,84,255,.18)
}
.wh-stage b{display:block;font-size:10px;font-weight:800;color:#9A94B0}
.wh-stage.done b,.wh-stage.active b{color:#5B3DF5}

.wh-list{padding:0 14px 8px;display:grid;gap:14px}
.wh-group{display:grid;gap:10px}
.wh-lesson-head{
  display:flex;align-items:center;gap:8px;padding:2px 2px 0
}
.wh-lesson-head strong{flex:1;font-size:14px;font-weight:900;color:#2A2147}
.wh-lesson-head em{font-style:normal;font-size:12px;font-weight:800;color:#9A94B0}
.wh-lesson-ico{width:18px;height:18px;display:grid;place-items:center;flex-shrink:0}
.wh-lesson-ico svg{width:18px;height:18px}
.wh-flag{color:#7B5CFF;font-size:13px}

.wh-wcard{
  display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;
  padding:12px 12px;border-radius:20px;background:#fff;
  box-shadow:0 8px 22px rgba(70,55,130,.06);cursor:pointer
}
.wh-thumb{
  width:58px;height:58px;border-radius:16px;overflow:hidden;
  background:#F4F2FF;display:grid;place-items:center;flex-shrink:0
}
.wh-thumb img,.wh-thumb .word-art-photo,.wh-thumb svg{width:100%;height:100%;object-fit:cover}
.wh-thumb svg{width:54px;height:54px}
.wh-wcard-body{min-width:0}
.wh-wcard-body strong{display:block;font-size:16px;font-weight:900;color:#1E1A3C;line-height:1.2}
.wh-wcard-body p{margin:3px 0 0;font-size:12px;color:#8B849F;font-weight:650}
.wh-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:7px}
.wh-miss{font-size:11px;font-weight:850;color:#E85B7A}
.wh-step{font-size:11px;font-weight:800;color:#7A748F}
.wh-step.star{color:#C9921E}
.wh-tag{
  display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;
  font-size:10px;font-weight:850;background:#F0ECFF;color:#6B54FF
}
.wh-bar{
  margin-top:8px;height:5px;border-radius:999px;background:#EDEAF6;overflow:hidden
}
.wh-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7B5CFF,#4EA5FF)}
.wh-trail{display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding-right:2px}
.wh-status{
  display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:850;white-space:nowrap
}
.wh-status.is-wrong{color:#E85B7A}
.wh-status.is-weak{
  color:#E08A2E;background:#FFF3E4;padding:4px 8px;border-radius:999px
}
.wh-status.is-weak i{font-style:normal;font-size:10px}
.wh-chev{font-style:normal;font-size:22px;line-height:1;color:#C8C2D8;font-weight:400}
.wh-review-btn{
  border:1.5px solid #C9BFFF;border-radius:999px;height:34px;padding:0 12px;
  background:#fff;color:#6B54FF;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap
}
.wh-review-btn:active{transform:scale(.97)}

.wh-grid-mastered{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.wh-mcard{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:14px 10px 12px;border-radius:20px;background:#fff;
  box-shadow:0 8px 22px rgba(70,55,130,.06)
}
.wh-mcard .wh-thumb{width:72px;height:72px;border-radius:18px;margin-bottom:10px;background:#EEF8F4}
.wh-mcard strong{font-size:15px;font-weight:900;color:#1E1A3C}
.wh-mcard p{margin:4px 0 10px;font-size:12px;color:#8B849F;font-weight:650}
.wh-badge{
  display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:999px;
  font-size:11px;font-weight:850
}
.wh-badge.is-mastered{background:#E6F8EF;color:#1F9D67}
.wh-badge.is-mastered i{font-style:normal;font-size:11px}

.wh-empty{
  margin-top:8px;padding:36px 18px;text-align:center;border-radius:22px;background:#fff;
  box-shadow:0 8px 22px rgba(70,55,130,.05)
}
.wh-empty strong{display:block;font-size:15px;color:#2A2147}
.wh-empty p{margin:8px 0 0;font-size:12px;line-height:1.55;color:#8C86A6}
.word-hub-loading{display:grid;place-items:center;gap:10px;padding:40px 20px;color:#8C86A6;font-size:12px}
.word-hub-loading i{
  width:26px;height:26px;border-radius:50%;border:3px solid #E8E3FF;border-top-color:#7358FF;
  animation:reviewSpin .8s linear infinite
}

@media(max-width:360px){
  .wh-tabs button{font-size:11px;padding:10px 2px}
  .wh-hero-copy p{max-width:180px;font-size:11px}
  .wh-count b{font-size:34px}
  .wh-wcard{grid-template-columns:50px 1fr auto;gap:10px;padding:10px}
  .wh-thumb{width:50px;height:50px}
}

/* legacy hooks kept harmless */
.word-hub-panel,.word-hub-head,.word-hub-body{display:contents}
.connect-item.failed-out{opacity:.38;pointer-events:none;filter:grayscale(.35)}
.connect-item.failed-out .connect-label{text-decoration:line-through}
.error-state.is-wrong{background:#ffe8ef;color:#d4476a}
.error-state.is-weak{background:#fff1e4;color:#d77a2f}
.error-state.is-review21{background:#eeeaff;color:#6b54ff}
.error-state.is-mastered{background:#e7f8f0;color:#1f9d67}
.review-daily-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}
.review-daily-copy strong{display:block;font-size:15px;line-height:1.35;margin-bottom:4px}
.review-daily-copy p{margin:0;font-size:12px;color:#8c86a6}
.review-daily-btn{border:0;border-radius:16px;padding:10px 14px;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(100deg,#5B3DF5,#4A9DFF);white-space:nowrap}
.review-metrics div{min-width:0}
.review-stage-row{display:flex;justify-content:space-between;gap:6px;padding:0 14px 16px}
.review-stage{flex:1;text-align:center}
.review-stage i{display:block;width:14px;height:14px;border-radius:50%;margin:0 auto 6px;background:#e8e4f5;border:2px solid #ddd6f0}
.review-stage.done i,.review-stage.active i{background:linear-gradient(135deg,#765cff,#49a2ff);border-color:#6b54ff;box-shadow:0 0 0 4px rgba(107,84,255,.15)}
.review-stage.active i{transform:scale(1.15)}
.review-stage b{font-size:10px;color:#8c86a6;font-weight:800}
.review-stage.done b,.review-stage.active b{color:#5b3df5}
.review-track-card{margin:0 14px 8px}
.review-entry-banner{
  display:flex;align-items:center;gap:10px;margin:10px 14px 0;padding:12px 14px;
  border-radius:18px;background:linear-gradient(100deg,#5B3DF5,#4A9DFF);color:#fff;
  text-decoration:none;box-shadow:0 10px 24px rgba(91,61,245,.28)
}
.review-entry-tag{font-size:11px;font-weight:900;background:rgba(255,255,255,.18);padding:4px 8px;border-radius:999px}
.review-entry-text{flex:1;font-size:14px;font-weight:800}
.review-entry-text b{font-size:18px;margin:0 2px}
.review-entry-go{font-size:12px;font-weight:900;opacity:.92}
.mission-inline .mission-review{cursor:pointer}
.home-v4 .fm-hero-dock{grid-template-columns:1fr 108px;gap:6px;padding:10px 10px 10px 12px}
.home-v4 .fm-hero-dock.home-hero-dock-v2{
  display:flex;flex-direction:column;align-items:stretch;gap:12px;
  grid-template-columns:unset;padding:14px 14px 14px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 12px 28px rgba(40,28,110,.16),inset 0 1px 0 rgba(255,255,255,.9)
}
.home-v4 .home-hero-stats-row{display:flex;width:100%;align-items:stretch;gap:10px}
.home-v4 .home-hero-stats-row>.mission-stat{flex:1;position:relative;min-height:72px}
.home-v4 .home-hero-stats-row>.mission-stat+.mission-stat:before{display:none}
.home-v4 .home-hero-dock-v2 .mission-stat{
  padding:12px 6px 10px;border-radius:16px;border:0;
  box-shadow:0 6px 14px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.28);
  animation:homeStatIn .5s ease-out both;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
  overflow:hidden
}
.home-v4 .home-hero-dock-v2 .mission-stat:active{
  transform:translateY(2px) scale(.98);
  box-shadow:0 3px 8px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.22)
}
.home-v4 .home-hero-dock-v2 .mission-stat-review{
  animation-delay:.05s;
  background:linear-gradient(165deg,#9B8CFF 0%,#6B54FF 52%,#5440E8 100%)
}
.home-v4 .home-hero-dock-v2 .mission-stat-mistake{
  animation-delay:.12s;
  background:linear-gradient(165deg,#FF8AA3 0%,#E04E70 52%,#C93A5E 100%)
}
.home-v4 .home-hero-dock-v2 .mission-stat-new{
  animation-delay:.19s;
  background:linear-gradient(165deg,#4AE8B0 0%,#10B981 52%,#0A9A6E 100%)
}
.home-v4 .home-hero-dock-v2 .mission-stat:after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.22) 0%,transparent 42%);
  opacity:.85
}
.home-v4 .home-hero-dock-v2 .mission-stat strong{
  position:relative;z-index:1;
  display:block;font-size:34px;line-height:1;font-weight:900;letter-spacing:-1px;
  font-variant-numeric:tabular-nums;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.22);
  -webkit-text-stroke:0
}
.home-v4 .home-hero-dock-v2 .mission-stat span{
  position:relative;z-index:1;
  display:block;margin-top:6px;font-size:11px;font-weight:800;letter-spacing:.5px;line-height:1.2;
  color:rgba(255,255,255,.94);-webkit-text-stroke:0
}
.home-v4 .home-hero-dock-v2 .mission-stat-review:hover,
.home-v4 .home-hero-dock-v2 .mission-stat-mistake:hover,
.home-v4 .home-hero-dock-v2 .mission-stat-new:hover{filter:brightness(1.06)}
.home-v4 .home-hero-dock-v2 .mission-stat strong.stat-pop{animation:homeStatBump .42s ease}
.home-v4 .home-hero-adventure-btn{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;height:56px;margin:0;padding:0 16px;
  font-size:18px;font-weight:900;letter-spacing:.4px;gap:8px;
  position:relative;overflow:hidden;border:0;border-radius:999px;
  color:#fff;
  background:linear-gradient(180deg,#7B5CFF 0%,#5B3DF5 48%,#4330D4 100%);
  box-shadow:0 6px 0 #2E2299,0 14px 28px rgba(67,48,212,.38);
  animation:homeCtaPulse 2.6s ease-in-out infinite;
  transition:transform .12s ease,box-shadow .12s ease
}
.home-v4 .home-hero-adventure-btn:active{
  transform:translateY(4px);
  box-shadow:0 2px 0 #2E2299,0 8px 18px rgba(67,48,212,.28);
  animation:none
}
.home-v4 .home-hero-adventure-btn .cta-icon{
  font-size:18px;line-height:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));
  animation:homeSparkSpin 2.4s ease-in-out infinite
}
.home-v4 .home-hero-adventure-btn .cta-label{
  position:relative;z-index:1;flex:1;text-align:center;
  font-size:18px;font-weight:900;color:#fff;letter-spacing:.5px;
  text-shadow:0 2px 8px rgba(0,0,0,.22)
}
.home-v4 .home-hero-adventure-btn .cta-go{
  min-width:34px;height:26px;padding:0 8px;border-radius:999px;
  background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.35);
  font-size:11px;font-weight:950;letter-spacing:.6px;line-height:26px;text-align:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25)
}
.home-v4 .home-hero-adventure-btn:before{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(105deg,transparent 28%,rgba(255,255,255,.24) 50%,transparent 72%);
  transform:translateX(-130%);animation:homeCtaShine 3s ease-in-out infinite
}
.home-v4 .fm-hero-cta,.home-v4 .story-start{min-width:100px;height:40px;font-size:10px;padding:0 12px}
.home-v4 .home-hero-adventure-btn.fm-hero-cta{
  min-width:0;height:56px;font-size:18px;padding:0 16px;
  color:#fff;background:linear-gradient(180deg,#7B5CFF 0%,#5B3DF5 48%,#4330D4 100%);
  box-shadow:0 6px 0 #2E2299,0 14px 28px rgba(67,48,212,.38)
}
@keyframes homeStatIn{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes homeStatBump{0%,100%{transform:scale(1)}45%{transform:scale(1.1)}}
@keyframes homeCtaPulse{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.06)}
}
@keyframes homeCtaShine{0%,100%{transform:translateX(-130%)}42%,58%{transform:translateX(130%)}}
@keyframes homeSparkSpin{0%,100%{transform:rotate(-6deg) scale(1)}50%{transform:rotate(8deg) scale(1.08)}}
@keyframes homeArrowNudge{0%,100%{transform:rotate(45deg) translate(0,0)}50%{transform:rotate(45deg) translate(2px,-2px)}}
@keyframes homeMascotFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes homeStarTwinkle{0%,100%{opacity:.45;transform:scale(1)}50%{opacity:1;transform:scale(1.15)}}
.home-card-v4.review-daily-card{background:linear-gradient(145deg,#f8f6ff,#fff);border:1px solid #ece8fa}
.badge-v5-icon svg{width:34px;height:34px}
.badge-v5 strong{display:block;margin-top:8px;font-size:11px}
.badge-v5 span{display:block;margin-top:3px;font-size:9px;line-height:1.35;color:#8C86A6}
.growth-toast{
  position:fixed;z-index:80;left:50%;bottom:96px;transform:translateX(-50%) translateY(8px);
  padding:10px 14px;border-radius:16px;background:#241A57;color:#fff;font-size:12px;font-weight:700;
  opacity:0;pointer-events:none;transition:.22s
}
.growth-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:375px){
  .garden-stage b{font-size:10px}
  .medal-feature{grid-template-columns:88px 1fr;padding:14px}
  .medal-3d svg{width:72px;height:72px}
  .badge-v5 strong{font-size:10px}
}

.review-loading{display:grid;place-items:center;gap:10px;padding:48px 20px;color:#8c86a6;font-size:12px}
.review-loading i{width:28px;height:28px;border-radius:50%;border:3px solid #e8e3ff;border-top-color:#7358ff;animation:reviewSpin .8s linear infinite}
@keyframes reviewSpin{to{transform:rotate(360deg)}}
.review-empty{padding:36px 18px 28px;text-align:center}
.review-empty img{width:120px;margin:0 auto 12px;display:block}
.review-empty strong{display:block;font-size:16px;color:#2a2147}
.review-empty p{font-size:12px;color:#8c86a6;margin:8px 0 0;line-height:1.55}
.review-empty-btn{margin-top:18px;border:0;cursor:pointer;width:100%;max-width:220px;height:44px;font-size:12px}

/* ===== 星星商城 / 明细 ===== */
.star-balance-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,#FFF6D6,#FFE8A3);color:#7A5A00;text-decoration:none;font-weight:900;font-size:13px;box-shadow:0 4px 12px rgba(180,130,0,.12)}
.star-balance-pill i{width:12px;height:12px;background:#FFD85A;clip-path:polygon(50% 0,62% 38%,100% 38%,68% 62%,80% 100%,50% 76%,20% 100%,32% 62%,0 38%,38% 38%)}
.star-wallet-card{margin:8px 14px 14px;padding:16px;border-radius:24px;background:linear-gradient(145deg,#6B54FF,#4EA5FF);color:#fff;box-shadow:0 14px 28px rgba(80,60,200,.22)}
.star-wallet-card small{opacity:.8;font-size:11px}
.star-wallet-card strong{display:block;font-size:36px;margin-top:4px;letter-spacing:-.03em}
.star-wallet-meta{display:flex;gap:14px;margin-top:10px;font-size:11px;opacity:.9}
.star-wallet-meta b{font-weight:900}
.star-wallet-actions{display:flex;gap:10px;margin-top:14px}
.star-wallet-actions a{flex:1;text-align:center;padding:9px;border-radius:14px;background:rgba(255,255,255,.18);color:#fff;text-decoration:none;font-size:12px;font-weight:800}
.star-wallet-card.compact strong{font-size:28px}
.star-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.star-product-card{background:#fff;border-radius:20px;padding:14px 12px;box-shadow:0 8px 18px rgba(70,50,130,.07);display:flex;flex-direction:column;gap:4px}
.spc-art{font-size:28px;line-height:1}
.star-product-card strong{font-size:13px;color:#2a2147}
.spc-type{font-size:10px;color:#8c86a6}
.spc-foot{font-size:12px;color:#6B54FF;font-weight:800;margin-top:4px}
.spc-btn{margin-top:8px;border:0;border-radius:12px;height:36px;background:linear-gradient(120deg,#7659ff,#4d9fff);color:#fff;font-weight:900;font-size:12px;cursor:pointer}
.star-order-list,.star-ledger-list{display:grid;gap:8px}
.star-order-row,.star-ledger-row{background:#fff;border-radius:16px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 6px 14px rgba(70,50,130,.05)}
.star-order-row strong,.star-ledger-row strong{display:block;font-size:13px}
.star-order-row small,.star-ledger-row small{display:block;font-size:10px;color:#8c86a6;margin-top:3px}
.star-ledger-row.in b{color:#1f9d67}
.star-ledger-row.out b{color:#d64764}
.star-order-row .tag{font-size:10px;padding:4px 8px;border-radius:999px;background:#f1edff;color:#6B54FF;font-weight:800}
.star-mall-page .empty{padding:24px;text-align:center;color:#8c86a6;font-size:12px;background:#fff;border-radius:16px}
.star-mall-page .section-v3{padding:0 14px 18px}
.star-mall-page .section-title{display:flex;justify-content:space-between;align-items:center;margin:4px 2px 10px}
.star-mall-page .section-title .sub{font-size:10px;color:#8c86a6}
.modal-mask{position:fixed;inset:0;z-index:80;background:rgba(30,24,60,.35);backdrop-filter:blur(4px);display:none;place-items:center;padding:18px}
.modal-mask.show{display:grid}
.sheet.star-sheet,.sheet{width:min(360px,100%);background:#fff;border-radius:22px;padding:18px;box-shadow:0 20px 40px rgba(40,28,90,.2)}
.sheet h3{margin:0 0 6px;font-size:17px}
.sheet .sub{font-size:12px;color:#8c86a6;line-height:1.5;margin:0}
.btn{border:0;border-radius:14px;height:42px;padding:0 14px;font-weight:900;font-size:13px;cursor:pointer;flex:1}
.btn-primary{background:linear-gradient(120deg,#7659ff,#4d9fff);color:#fff}
.btn-ghost{background:#f3f0ff;color:#5b4cf5}
.home-star-chip{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:5px 9px;border-radius:999px;background:#FFF4C5;color:#7A5A00;text-decoration:none;font-size:11px;font-weight:900}
.home-star-chip i{width:10px;height:10px;background:#FFD85A;clip-path:polygon(50% 0,62% 38%,100% 38%,68% 62%,80% 100%,50% 76%,20% 100%,32% 62%,0 38%,38% 38%)}

/* ===== 星星记录页入口 ===== */
.star-gate-section{padding:0 14px 12px;display:grid;gap:10px}
.star-gate-card{
  display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;
  padding:14px 14px;border-radius:20px;text-decoration:none;
  background:#fff;box-shadow:0 10px 22px rgba(70,50,130,.08);border:1px solid #efeafc
}
.star-gate-card.mall{
  background:linear-gradient(120deg,#fff 0%,#f4f0ff 55%,#eef7ff 100%);
  border-color:#e4dcff
}
.star-gate-card .sg-icon{
  width:44px;height:44px;border-radius:16px;display:grid;place-items:center;
  background:#fff4c5;font-size:22px;box-shadow:inset 0 -3px 0 rgba(180,130,0,.12)
}
.star-gate-card.mall .sg-icon{background:linear-gradient(145deg,#efe8ff,#dcebff)}
.star-gate-card .sg-copy strong{display:block;font-size:15px;color:#2a2147}
.star-gate-card .sg-copy span{display:block;margin-top:3px;font-size:11px;color:#8c86a6}
.star-gate-card .sg-go{
  font-style:normal;font-size:12px;font-weight:900;color:#fff;
  padding:8px 12px;border-radius:999px;
  background:linear-gradient(120deg,#7659ff,#4d9fff);
  box-shadow:0 6px 14px rgba(90,70,210,.22)
}
.star-gate-card.ledger .sg-go{background:#f3f0ff;color:#5b4cf5;box-shadow:none}
.star-recent-section{padding-bottom:6px}
.star-records-page .student-topbar .star-balance-pill{font-size:12px}

.star-earn-list{display:grid;gap:8px}
.star-earn-row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;background:#fff;box-shadow:0 6px 14px rgba(70,50,130,.05)}
.star-earn-row .ser-icon{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#fff6d6;font-size:18px}
.star-earn-row strong{display:block;font-size:13px;color:#2a2147}
.star-earn-row span{display:block;margin-top:3px;font-size:10px;color:#8c86a6;line-height:1.4}
.star-earn-row b{color:#5B3DF5;font-size:16px}
.star-records-page .section-v3{padding:0 14px 14px}
.star-records-page .section-title{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 10px}
.star-records-page .section-title a{font-size:11px;color:#5B3DF5;text-decoration:none;font-weight:800}
.star-records-page .empty{padding:20px;text-align:center;color:#8c86a6;font-size:12px;background:#fff;border-radius:16px}

/* ===== 我的 · 账号 + 星星一体卡 ===== */
.me-unified-card{
  margin:4px 14px 16px;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 36px rgba(70,50,130,.14)
}
.me-unified-card .me-profile-card{
  margin:0;padding:14px 14px 12px;
  border-radius:0;background:#fff;box-shadow:none;
  display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center
}
.me-avatar{
  width:52px;height:52px;border-radius:18px;
  display:grid;place-items:center;color:#fff;font-size:20px;font-weight:950;
  background:linear-gradient(145deg,#8A4DFF,#4EA5FF);
  box-shadow:0 8px 16px rgba(90,70,210,.22)
}
.me-profile-main strong{display:block;font-size:17px;color:#2a2147}
.me-meta-row{display:flex;flex-wrap:wrap;gap:10px 14px;margin-top:6px}
.me-meta-row span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#2a2147}
.me-meta-row em{font-style:normal;color:#8c86a6;font-size:11px}
.me-meta-row b{font-weight:850}
.me-logout{
  border:0;border-radius:12px;height:34px;padding:0 12px;cursor:pointer;
  background:#f3f0ff;color:#5b4cf5;font-size:12px;font-weight:900
}
.me-star-panel{
  position:relative;
  padding:16px 14px 14px 18px;
  background:linear-gradient(145deg,#8A4DFF 0%,#5B5BFF 46%,#2F7BFF 100%);
  color:#fff;overflow:hidden;min-height:148px
}
.me-star-fx{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 88% 18%,rgba(255,255,255,.22),transparent 42%),
    radial-gradient(circle at 12% 88%,rgba(120,220,255,.18),transparent 40%),
    url('../assets/brand/brand-sky-mask.svg') center top/cover no-repeat;
  opacity:.55
}
.me-star-body{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr 118px;align-items:end;gap:4px;min-height:120px
}
.me-star-copy{padding:2px 0 6px;min-width:0}
.me-star-label{
  display:inline-flex;align-items:center;gap:6px;
  height:26px;padding:0 10px;border-radius:999px;
  background:rgba(255,255,255,.16);backdrop-filter:blur(6px);
  font-size:11px;font-weight:850;letter-spacing:.2px
}
.me-star-label:before{
  content:"";width:10px;height:10px;border-radius:3px;
  background:linear-gradient(135deg,#FFE56A,#FFB020);
  box-shadow:0 0 0 2px rgba(255,220,100,.25)
}
.me-star-balance{
  display:flex;align-items:baseline;gap:8px;margin-top:10px
}
.me-star-balance strong{
  font-size:44px;line-height:1;font-weight:950;letter-spacing:-1px;
  font-variant-numeric:tabular-nums;text-shadow:0 6px 18px rgba(20,20,80,.2)
}
.me-star-balance em{
  font-style:normal;font-size:13px;font-weight:800;opacity:.88
}
.me-star-side{
  margin:10px 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;
  font-size:11px;font-weight:700;color:rgba(255,255,255,.78)
}
.me-star-side b{font-weight:900;color:#fff;font-variant-numeric:tabular-nums}
.me-star-side i{
  display:inline-block;width:3px;height:3px;border-radius:50%;
  background:rgba(255,255,255,.45)
}
.me-star-mascot{
  display:grid;place-items:end center;align-self:end;pointer-events:none
}
.me-star-mascot img{
  width:118px;height:auto;display:block;margin-bottom:-6px;
  filter:drop-shadow(0 12px 16px rgba(28,18,90,.28))
}
.me-page .student-topbar .star-balance-pill b{font-weight:950}

/* 多词题型 · 闲置闪记口诀 */
.sj-mnemonic-tip{
  position:fixed;left:50%;top:42%;transform:translate(-50%,-46%) scale(.94);
  z-index:120;width:min(320px,86vw);padding:16px 16px 14px;
  border-radius:22px;background:rgba(255,255,255,.97);
  box-shadow:0 18px 40px rgba(50,30,120,.22),0 0 0 1px rgba(120,100,220,.12);
  opacity:0;pointer-events:none;transition:opacity .22s,transform .22s;
  text-align:center
}
.sj-mnemonic-tip.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.sj-mnemonic-tip .sj-mn-en{display:block;font-size:18px;font-weight:950;color:#5B3DF5;margin-bottom:4px}
.sj-mnemonic-tip strong{display:block;font-size:11px;color:#8c86a6;font-weight:800;letter-spacing:.4px}
.sj-mnemonic-tip p{margin:8px 0 0;font-size:14px;line-height:1.55;color:#2a2147;font-weight:700}

/* 大冒险 · 错词收纳悬浮窗 */
.sj-error-float{
  position:fixed;left:50%;bottom:92px;transform:translateX(-50%) translateY(12px);
  z-index:130;display:flex;align-items:center;gap:10px;
  min-width:min(300px,86vw);max-width:92vw;padding:10px 12px 10px 10px;
  border:0;border-radius:18px;cursor:pointer;text-align:left;
  background:linear-gradient(120deg,#fff 0%,#f6f2ff 100%);
  box-shadow:0 14px 32px rgba(70,40,140,.22),0 0 0 1px rgba(120,90,220,.14);
  opacity:0;pointer-events:none;transition:opacity .22s,transform .22s
}
.sj-error-float.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto}
.sj-error-float .sj-ef-ico{
  width:36px;height:36px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;
  background:linear-gradient(145deg,#FF7A9A,#9B6BFF);color:#fff;font-style:normal;font-size:16px;
  box-shadow:0 6px 14px rgba(180,70,140,.25)
}
.sj-error-float .sj-ef-body{flex:1;min-width:0}
.sj-error-float .sj-ef-body b{display:block;font-size:12px;color:#5B3DF5;font-weight:900}
.sj-error-float .sj-ef-body em{display:block;margin-top:2px;font-style:normal;font-size:14px;font-weight:850;color:#2a2147;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sj-error-float u,.sj-error-float .sj-ef-go{flex:0 0 auto;font-size:11px;font-weight:900;color:#fff;text-decoration:none;
  padding:7px 10px;border-radius:999px;background:linear-gradient(100deg,#7B5CFF,#4EA5FF)}
.sj-error-float.kind-weak .sj-ef-ico{background:linear-gradient(145deg,#FFB347,#FF7EB0)}
.sj-error-float.kind-mastered .sj-ef-ico{background:linear-gradient(145deg,#3ECF9A,#6B7CFF)}
.sj-error-float.kind-weak .sj-ef-body b{color:#d77a2f}
.sj-error-float.kind-mastered .sj-ef-body b{color:#1f9d67}

/* ========== 首页 V3 · 对齐设计稿图一 ========== */
.home-v3{padding-left:0;padding-right:0}
.home-v3 .section-v3{padding-left:16px;padding-right:16px;margin-bottom:24px}
.home-v3 .section-title{margin-bottom:12px}

/* 顶栏：头像 + 问候 + 星星 + Logo */
.home-v3 .home-back-hidden,
.home-v3 .home-head .global-back.home-back-hidden{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;border:0!important;opacity:0!important;
  pointer-events:none!important;flex:0 0 0!important;min-width:0!important;
  box-shadow:none!important;background:transparent!important
}
.home-v3 .home-head-v3{
  display:flex;align-items:center;gap:10px;
  padding:16px 16px 10px;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif
}
.home-v3 .home-avatar{
  flex:0 0 44px;width:44px;height:44px;border-radius:999px;overflow:hidden;
  background:linear-gradient(145deg,#8B6BFF,#5B8CFF);
  box-shadow:0 6px 16px rgba(90,70,200,.22);
  display:grid;place-items:center
}
.home-v3 .home-avatar img{width:118%;height:118%;object-fit:cover;object-position:center 18%}
.home-v3 .hello{flex:1;min-width:0}
.home-v3 .hello strong{
  display:block;font-size:18px;font-weight:800;color:#1E1A3C;line-height:1.25;letter-spacing:-.2px
}
.home-v3 .hello small{
  display:block;margin-top:3px;font-size:12px;color:#9A94B8;font-weight:500
}
.home-v3 .home-head-right{gap:10px}
.home-v3 .home-star-chip{
  margin-left:0;padding:6px 11px;gap:6px;
  background:#FFE9A8;color:#8A6200;
  box-shadow:0 4px 10px rgba(220,170,40,.2)
}
.home-v3 .home-star-chip b{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.home-v3 .brand-logo-sm{height:30px;max-width:102px;opacity:.95}

/* Hero 主卡 */
.home-v3 .fm-hero.home-hero-fig1,
.home-v3 .home-hero-fig1{
  margin:4px 16px 18px;padding:18px 14px 14px 16px;
  border-radius:28px;min-height:auto;
  background:linear-gradient(135deg,#6B4DFF 0%,#5B6BFF 42%,#3B9BFF 100%);
  box-shadow:0 18px 40px rgba(70,50,200,.28);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif
}
.home-v3 .home-hero-fig1 .fm-hero-main{
  grid-template-columns:1fr 132px;
  align-items:start;min-height:168px;gap:0
}
.home-v3 .home-hero-fig1 .home-story-copy{
  padding:2px 0 8px;max-width:none
}
.home-v3 .home-hero-fig1 .fm-hero-chip{
  padding:7px 12px;gap:7px;
  background:rgba(40,28,90,.28);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font-size:11px;font-weight:700;letter-spacing:.2px
}
.home-v3 .home-hero-fig1 #heroTitle,
.home-v3 .home-hero-fig1 h1{
  display:grid;gap:4px;margin:14px 0 10px;font-size:inherit;line-height:1.05
}
.home-v3 .home-hero-fig1 .hero-mins{
  display:block;font-size:34px;font-weight:800;color:#fff;
  letter-spacing:-.6px;text-shadow:0 2px 12px rgba(30,20,80,.18)
}
.home-v3 .home-hero-fig1 .hero-line2{
  display:block;font-size:22px;font-weight:800;color:#fff;letter-spacing:-.3px
}
.home-v3 .home-hero-fig1 .hero-gates{
  font-style:normal;color:#FFE14A;font-weight:900;
  text-shadow:0 0 12px rgba(255,220,70,.45)
}
.home-v3 .home-hero-fig1 #heroDesc,
.home-v3 .home-hero-fig1 .home-story-copy p{
  margin:0;max-width:11.5em;font-size:12px;line-height:1.65;
  color:rgba(255,255,255,.88);font-weight:500
}
.home-v3 .home-hero-fig1 .hero-progress{
  display:flex;align-items:center;gap:8px;margin-top:14px;max-width:132px
}
.home-v3 .home-hero-fig1 .hero-progress-star{
  flex:0 0 14px;width:14px;height:14px;background:#FFD85A;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 72%,21% 91%,32% 57%,2% 35%,39% 35%);
  filter:drop-shadow(0 0 5px rgba(255,216,90,.7))
}
.home-v3 .home-hero-fig1 .hero-progress-track{
  flex:1;height:4px;border-radius:99px;background:rgba(255,255,255,.28);overflow:hidden
}
.home-v3 .home-hero-fig1 .hero-progress-track b{
  display:block;height:100%;border-radius:99px;
  background:linear-gradient(90deg,#B8F0FF,#C9A8FF 55%,#9B7BFF);
  box-shadow:0 0 8px rgba(180,220,255,.55)
}
.home-v3 .home-hero-fig1 .hero-mascot-wrap{
  position:relative;min-height:178px;margin:0;align-self:end;
  place-items:end center;transform:translate(4px,6px);overflow:visible
}
.home-v3 .home-hero-fig1 .hero-mascot-glow{
  position:absolute;left:50%;bottom:8px;transform:translateX(-50%);
  width:110px;height:36px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,230,120,.55),transparent 70%);
  filter:blur(2px);pointer-events:none
}
.home-v3 .home-hero-fig1 .hero-mascot{
  width:148px;position:relative;z-index:2;
  filter:drop-shadow(0 16px 20px rgba(28,18,90,.3))
}
.home-v3 .home-hero-fig1 .hero-mascot-ghost{
  width:190px;opacity:.22;filter:blur(10px);right:-28px;bottom:-6px
}

/* 白底数据条 + 粉彩三卡 + CTA（图一） */
.home-v3.home-v4 .home-hero-fig1 .fm-hero-dock.home-hero-dock-v2,
.home-v3 .home-hero-fig1 .fm-hero-dock.home-hero-dock-v2{
  background:#fff;
  border:0;border-radius:22px;
  box-shadow:0 12px 28px rgba(40,28,100,.14);
  gap:12px;padding:12px;margin-top:4px
}
.home-v3 .home-hero-fig1 .home-hero-stats-row{gap:8px}
.home-v3.home-v4 .home-hero-fig1 .home-hero-dock-v2 .mission-glass-stat,
.home-v3 .home-hero-fig1 .home-hero-dock-v2 .mission-glass-stat{
  position:relative;
  display:grid;justify-items:center;align-content:center;gap:2px;
  min-height:78px;padding:12px 4px 10px;border-radius:16px;
  border:0 !important;overflow:hidden;
  box-shadow:0 4px 12px rgba(60,45,120,.1) !important
}
.home-v3 .home-hero-fig1 .home-hero-dock-v2 .mission-glass-stat:after{display:none !important}
.home-v3 .home-hero-fig1 .stat-wm{
  position:absolute;right:4px;bottom:2px;font-style:normal;
  font-size:28px;font-weight:900;line-height:1;opacity:.14;
  font-family:Arial,sans-serif;pointer-events:none;color:inherit
}
.home-v3 .home-hero-fig1 #statReviewBtn .stat-wm{color:#5A4200;opacity:.16}
.home-v3 .home-hero-fig1 #statMistakeBtn .stat-wm,
.home-v3 .home-hero-fig1 #statNewBtn .stat-wm{color:#fff;opacity:.18}
.home-v3 .home-hero-fig1 .stat-ico,
.home-v3 .home-hero-fig1 .mission-glass-stat em{
  position:relative;z-index:1;width:22px;height:22px;border-radius:999px;
  display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:900;
  background:rgba(255,255,255,.45)
}
.home-v3 .home-hero-fig1 .mission-glass-stat strong{
  position:relative;z-index:1;font-size:30px !important;line-height:1;
  font-weight:800 !important;letter-spacing:-.5px;
  text-shadow:none !important;-webkit-text-stroke:0 !important
}
.home-v3 .home-hero-fig1 .mission-glass-stat span{
  position:relative;z-index:1;font-size:12px !important;margin-top:1px !important;
  font-weight:700 !important;letter-spacing:.2px;opacity:.95
}

/* 复习：主题黄（提高饱和） */
.home-v3 .home-hero-fig1 #statReviewBtn{
  background:#FFD24A !important;
  box-shadow:0 5px 14px rgba(230,160,20,.32) !important;color:#5A4200
}
.home-v3 .home-hero-fig1 #statReviewBtn .stat-ico,
.home-v3 .home-hero-fig1 #statReviewBtn em{background:rgba(90,66,0,.14);color:#6B4E00 !important}
.home-v3 .home-hero-fig1 #statReviewBtn strong,
.home-v3 .home-hero-fig1 #statReviewBtn span{color:#2A2140 !important}

/* 错词：更饱和的粉红（仍偏柔和） */
.home-v3 .home-hero-fig1 #statMistakeBtn{
  background:#E87A8A !important;
  box-shadow:0 5px 14px rgba(200,70,90,.28) !important;color:#fff
}
.home-v3 .home-hero-fig1 #statMistakeBtn .stat-ico,
.home-v3 .home-hero-fig1 #statMistakeBtn em{background:rgba(255,255,255,.32);color:#fff !important}
.home-v3 .home-hero-fig1 #statMistakeBtn strong,
.home-v3 .home-hero-fig1 #statMistakeBtn span{color:#fff !important}

/* 新词：更饱和的薄荷绿 */
.home-v3 .home-hero-fig1 #statNewBtn{
  background:#2FCB8A !important;
  box-shadow:0 5px 14px rgba(20,150,100,.28) !important;color:#fff
}
.home-v3 .home-hero-fig1 #statNewBtn .stat-ico,
.home-v3 .home-hero-fig1 #statNewBtn em{background:rgba(255,255,255,.32);color:#fff !important}
.home-v3 .home-hero-fig1 #statNewBtn strong,
.home-v3 .home-hero-fig1 #statNewBtn span{color:#fff !important}

/* CTA：黄闪 + 紫钮 + 箭头圆 */
.home-v3 .home-hero-fig1 .home-hero-adventure-btn,
.home-v3 .home-hero-fig1 .home-hero-adventure-btn.fm-hero-cta{
  display:flex;align-items:center;justify-content:flex-start;gap:10px;
  width:100%;min-width:0;height:54px;margin:0;padding:0 12px 0 12px;
  border:0;border-radius:999px;overflow:visible;
  color:#fff;font-size:16px;font-weight:800;letter-spacing:.2px;
  background:linear-gradient(100deg,#8B5CFF 0%,#6B54FF 48%,#5B6BFF 100%);
  box-shadow:
    0 8px 0 #3D2BB8,
    0 14px 28px rgba(90,60,220,.35),
    0 0 24px rgba(120,90,255,.28);
  animation:none!important
}
.home-v3 .home-hero-fig1 .home-hero-adventure-btn:before{display:none!important}
.home-v3 .home-hero-fig1 .home-hero-adventure-btn:active{
  transform:translateY(3px);
  box-shadow:0 4px 0 #3D2BB8,0 8px 18px rgba(90,60,220,.28);
  animation:none!important
}
.home-v3 .home-hero-fig1 .cta-bolt,
.home-v3 .home-hero-fig1 .cta-icon{
  flex:0 0 28px;width:28px;height:28px;border-radius:999px;
  display:grid;place-items:center;font-size:14px;line-height:1;
  background:#FFD24A;color:#5B3DF5;
  box-shadow:0 2px 8px rgba(255,200,40,.4);
  animation:none!important;filter:none
}
.home-v3 .home-hero-fig1 .cta-label{
  flex:1!important;text-align:center;font-size:16px!important;font-weight:800!important;
  text-shadow:none;letter-spacing:.2px
}
.home-v3 .home-hero-fig1 .cta-go,
.home-v3 .home-hero-fig1 .cta-go-arrow{
  flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;margin:0;
  border-radius:999px;display:grid;place-items:center;
  background:rgba(255,255,255,.22)!important;color:#fff!important;
  border:0;font-size:15px;font-weight:900;line-height:1;
  box-shadow:none
}

@media(max-width:360px){
  .home-v3 .home-hero-fig1 .hero-mins{font-size:30px}
  .home-v3 .home-hero-fig1 .hero-line2{font-size:19px}
  .home-v3 .home-hero-fig1 .hero-mascot{width:128px}
  .home-v3 .home-hero-fig1 .fm-hero-main{grid-template-columns:1fr 112px}
}

/* 小闪推荐指示器 */
.home-reco-dots{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%);
  display:flex;align-items:center;gap:6px;z-index:2;
  padding:4px 8px;border-radius:999px;background:rgba(30,22,70,.28);
  backdrop-filter:blur(6px)
}
.home-reco-dot{
  width:6px;height:6px;border:0;border-radius:999px;padding:0;cursor:pointer;
  background:rgba(255,255,255,.45);transition:width .2s,background .2s
}
.home-reco-dot.is-active{
  width:18px;background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.35)
}

.home-resume-card{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border-radius:24px;background:#fff;
  box-shadow:0 10px 28px rgba(70,55,130,.07);border:1px solid #efeafc
}
.home-resume-card strong{display:block;font-size:14px;color:#2a2147}
.home-resume-card p{margin:4px 0 0;font-size:12px;color:#8c86a6}
.home-resume-btn{
  border:0;border-radius:999px;padding:10px 14px;font-size:12px;font-weight:900;
  color:#fff;background:linear-gradient(100deg,#7B5CFF,#4EA5FF);white-space:nowrap
}

.review-daily-v3{align-items:flex-start}
.review-daily-v3 .review-daily-kicker{display:block;font-size:11px;font-weight:850;color:#6B54FF;margin-bottom:6px}
.review-daily-v3.is-empty .review-daily-btn{display:none}

.home-reco{border-radius:24px;overflow:hidden}
.home-reco-viewport{position:relative;width:100%;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#efeafc}
.home-reco-track{display:flex;height:100%;width:100%;transition:transform .45s cubic-bezier(.22,.7,.25,1)}
.home-reco-slide{
  position:relative;flex:0 0 100%;height:100%;display:block;text-decoration:none;color:#fff;overflow:hidden
}
.home-reco-slide img{width:100%;height:100%;object-fit:cover;display:block}
.home-reco-slide img.is-broken{object-fit:contain;padding:28px;background:#f3f0ff}
.home-reco-caption{
  position:absolute;left:0;right:0;bottom:0;padding:14px 14px 22px;
  background:linear-gradient(180deg,transparent,rgba(30,20,70,.55));
  display:grid;gap:2px
}
.home-reco-caption strong{font-size:15px;font-weight:900}
.home-reco-caption span{font-size:12px;opacity:.92}
.home-reco-caption em{font-style:normal;font-size:11px;font-weight:850;margin-top:4px}

.daily-flash-card-v3{overflow:visible}
.daily-flash-media-pop{transform:translate(8px,-8px)}
.daily-flash-card-v3 .daily-flash-title{display:none}

.home-ask-card{
  display:grid;grid-template-columns:1fr 88px;gap:8px;align-items:center;
  padding:16px;border-radius:24px;background:#fff;
  box-shadow:0 10px 28px rgba(70,55,130,.07);border:1px solid #efeafc
}
.home-ask-copy strong{display:block;font-size:15px;color:#2a2147}
.home-ask-copy p{margin:6px 0 12px;font-size:12px;color:#8c86a6}
.home-ask-btn{
  border:0;border-radius:999px;padding:10px 14px;font-size:12px;font-weight:900;
  color:#5B3DF5;background:#F0ECFF
}
.home-ask-avatar{width:88px;height:auto;justify-self:end;filter:drop-shadow(0 8px 14px rgba(70,50,130,.16))}

.home-ask-sheet[hidden]{display:none!important}
.home-ask-sheet{position:fixed;inset:0;z-index:120}
.home-ask-mask{position:absolute;inset:0;background:rgba(30,22,70,.35)}
.home-ask-panel{
  position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:min(430px,100%);max-height:82vh;overflow:auto;
  background:#fff;border-radius:28px 28px 0 0;padding:10px 16px 24px;
  box-shadow:0 -16px 40px rgba(40,28,90,.18)
}
.home-ask-handle{width:42px;height:5px;border-radius:999px;background:#e6e1f5;margin:4px auto 12px}
.home-ask-head{display:grid;grid-template-columns:44px 1fr 36px;gap:10px;align-items:center;margin-bottom:14px}
.home-ask-head img{width:44px;height:44px;border-radius:16px;object-fit:cover;background:#f3f0ff}
.home-ask-head strong{display:block;font-size:15px}
.home-ask-head span{display:block;font-size:11px;color:#8c86a6;margin-top:2px}
.home-ask-x{border:0;background:#f3f0ff;border-radius:12px;font-size:20px;color:#6b54ff;cursor:pointer}
.home-ask-label{font-size:12px;font-weight:850;color:#6b6488;margin:0 0 8px}
.home-ask-topics{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.home-ask-topics button{
  border:1px solid #e8e3ff;background:#faf9ff;border-radius:999px;padding:8px 12px;
  font-size:12px;font-weight:800;color:#5B3DF5;cursor:pointer
}
.home-ask-topics button.is-on{background:linear-gradient(100deg,#7B5CFF,#4EA5FF);color:#fff;border-color:transparent}
.home-ask-panel textarea{
  width:100%;border:1px solid #e8e3ff;border-radius:16px;padding:12px;font:inherit;resize:none;min-height:84px;background:#faf9ff
}
.home-ask-submit{
  width:100%;margin-top:12px;border:0;border-radius:999px;padding:13px;
  font-size:14px;font-weight:950;color:#fff;background:linear-gradient(100deg,#7B5CFF,#4EA5FF)
}
.home-ask-done{text-align:center;padding:28px 12px}
.home-ask-done strong{display:block;font-size:16px;margin-bottom:8px}
.home-ask-done p{color:#8c86a6;font-size:13px;margin:0 0 16px}
.home-ask-reply-card{padding:12px 0;border-bottom:1px solid #f0edf8}
.home-ask-reply-card b{display:block;font-size:13px;margin-bottom:6px}
.home-ask-reply-card p{margin:0 0 8px;font-size:13px;color:#4a4466}
.home-ask-reply{padding:10px 12px;border-radius:14px;background:#f5f2ff}
.home-ask-reply strong{display:block;font-size:11px;color:#6B54FF;margin-bottom:4px}
.home-ask-reply span{font-size:13px;color:#2a2147}
.home-ask-reply-card small{display:block;margin-top:8px;color:#9a94b0;font-size:11px}
.home-ask-empty{padding:28px;text-align:center;color:#8c86a6;font-size:13px}
