*{box-sizing:border-box;margin:0;-webkit-tap-highlight-color:transparent}
body{font:16px/1.7 -apple-system,"PingFang SC",sans-serif;color:#3a2f2a;background:linear-gradient(160deg,#fff2e0,#ffe9f0 55%,#eaf5ff);min-height:100vh;padding:18px 14px 44px}
#app{max-width:440px;margin:0 auto}
.top{position:relative;text-align:center;padding:6px 0}.top .rainbow{font-size:30px}.top h1{font-size:23px;margin:4px 0 2px;letter-spacing:-.5px}.top .g{font-size:12px;color:#8b7d74}
.work-share{position:absolute;right:0;top:6px;border:1.5px solid #ffd26a;border-radius:999px;padding:7px 10px;background:#fffaf0;color:#b9791a;font:800 12px/1.2 -apple-system,"PingFang SC",sans-serif;cursor:pointer;white-space:nowrap;transition:.15s}.work-share:hover{background:#fff0c9;border-color:#ffbf3c}.work-share:active{transform:scale(.95)}
.bank{display:inline-block;margin-top:8px;background:#fff;border-radius:999px;padding:5px 15px;font-weight:800;color:#b9791a;box-shadow:0 4px 14px rgba(160,120,90,.12)}
.msg{background:#fff;border-radius:18px;padding:15px 16px 12px;margin:15px 0;box-shadow:0 5px 18px rgba(220,140,120,.14);border:1px solid #ffe0d0}
.msg .lbl{font-size:12px;color:#f2662a;font-weight:700}.msg p{font-size:15.5px;line-height:1.8;margin:7px 0 5px;font-family:"Kaiti SC","STKaiti",serif}.msg .sign{text-align:right;font-size:12.5px;color:#8b7d74}
.map{display:grid;gap:12px;margin-top:6px}
.lvl{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:0;cursor:pointer;background:#fff;border-radius:18px;padding:14px 15px;box-shadow:0 4px 14px rgba(160,120,90,.10);transition:.12s}
.lvl:active{transform:scale(.985)}.lvl.lock{opacity:.55;cursor:not-allowed}
.lvl .ln{flex:none;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#ff8a4c,#f2662a);color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center}
.lvl.lock .ln{background:#cfc6bd}.lvl .li{flex:1}.lvl .li b{font-size:16px}.lvl .li small{display:block;color:#8b7d74;font-size:12px;margin-top:1px}
.stars{margin-top:3px;font-size:16px;letter-spacing:2px}.stars .on{color:#ffb020}.stars .off{color:#e2ddd5}
.mistake-entry{display:flex;align-items:center;gap:11px;width:100%;margin-top:14px;padding:13px 15px;text-align:left;border:1.5px solid #e6d8ff;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(125,100,170,.10);cursor:pointer;color:#3a2f2a}.mistake-entry:active{transform:scale(.985)}
.mistake-entry .me-icon{font-size:25px}.mistake-entry .me-copy{flex:1;min-width:0}.mistake-entry .me-copy b{display:block;font-size:15px}.mistake-entry .me-copy small{display:block;color:#8b7d74;font-size:11.5px;margin-top:1px}.mistake-entry .me-go{flex:none;color:#8b5cf6;font-size:12px;font-weight:800}.mistake-entry.has-mistakes{border-color:#ffd3a8;background:#fffaf4}.mistake-entry.has-mistakes .me-go{color:#f2662a}.unit-gate{text-align:center;color:#a47738;font-size:12px;margin:8px 0 -4px}
.pet{background:#fff;border-radius:18px;padding:15px;margin-top:14px;text-align:center;box-shadow:0 4px 14px rgba(160,120,90,.10)}
.pet .a{font-size:52px;cursor:pointer;display:inline-block;transition:.15s}.pet .a:active{transform:scale(.9)}.pet b{display:block;margin-top:2px}.pet small{color:#8b7d74;font-size:12px}
.foot{text-align:center;color:#b0a49a;font-size:11px;margin-top:20px}
.maker-cta{text-align:center;margin-top:10px}.maker-cta a{display:inline-flex;align-items:center;gap:4px;padding:8px 15px;border:1px solid #f3c4a8;border-radius:999px;background:#fff8f1;color:#e56832;font-size:13px;font-weight:800;text-decoration:none;transition:.15s}.maker-cta a:active{transform:scale(.97);background:#fff0e4}.maker-cta a span{font-size:16px}
/* 收链人裂变钩子：看到别人家孩子玩得开心 → 给自己孩子也做一个 */
.maker-hook{margin-top:16px;padding:16px 15px 13px;border-radius:18px;background:linear-gradient(160deg,#fff3ea,#ffe9e0);border:1px solid #ffd7c2;box-shadow:0 6px 18px rgba(226,104,50,.10);text-align:center}
.maker-hook .mh-line{font-size:15px;color:#5a3d30;line-height:1.55}.maker-hook .mh-line b{color:#e0511f}
.maker-hook .mh-sub{font-size:13px;color:#8b7d74;margin:5px 0 12px;line-height:1.5}
.maker-hook .mh-btn{display:block;padding:13px;border-radius:14px;background:linear-gradient(135deg,#ff8a4c,#f2662a);color:#fff;font-size:16px;font-weight:800;text-decoration:none;box-shadow:0 5px 14px rgba(242,102,42,.32);transition:.15s}
.maker-hook .mh-btn:active{transform:scale(.98)}
.maker-hook .mh-foot{font-size:11.5px;color:#b0968a;margin-top:9px}
.lvtop{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.back{border:1px solid #eaddd0;background:#fff;border-radius:999px;padding:7px 14px;font-size:14px;cursor:pointer}
.lvname{font-weight:800;font-size:16px}
.card{background:#fff;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 4px 14px rgba(160,120,90,.09)}
.tag{display:inline-block;font-size:12px;font-weight:800;padding:4px 11px;border-radius:999px;margin-bottom:10px}
.tag.te{background:#e7f0ff;color:#3f7bff}.tag.tp{background:#e6f7f2;color:#12a08e}.tag.tb{background:#fff0e0;color:#f2662a}
.card h4{font-size:16px;margin:2px 0 4px}.card .sub{font-size:13px;color:#8b7d74;margin-bottom:10px;line-height:1.6}
.cv{background:#f7f9fc;border-radius:14px;padding:6px;margin:6px 0}.cv svg{width:100%;height:auto;display:block;touch-action:none}
.rowc{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0}
.rowc .lab{font-size:13px;color:#8b7d74}.rowc input[type=range]{flex:1;max-width:200px}
.hintline{text-align:center;font-size:13px;color:#5c6b8a;background:#eef3fb;border-radius:10px;padding:8px 10px;margin:6px 0}
.q{margin:12px 0;padding-top:12px;border-top:1px dashed #efe6db}.q:first-child{border:0;padding-top:0}
.qt{font-weight:600;margin-bottom:8px}.opts{display:grid;gap:8px}
.opt{text-align:left;border:1.5px solid #eaddd0;background:#fffdfa;border-radius:12px;padding:11px 14px;font-size:15px;cursor:pointer}
.opt.right{border-color:#12b6a6;background:#e6f7f2;font-weight:700}.opt.wrong{border-color:#ff6b6b;background:#ffeeee}
.irow{display:flex;align-items:center;gap:8px}.irow input{width:110px;padding:10px 12px;border:1.5px solid #eaddd0;border-radius:12px;font-size:16px}.irow .u{color:#8b7d74}
.fb{font-size:13px;margin-top:7px;min-height:16px}.fb.good{color:#12a08e}.fb.bad{color:#e0776b}
.q.ok{opacity:.92}
/* sortBins 分类投放 / relationGraph 关系图（共用条目样式） */
.sb-items{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:8px 0;min-height:38px;align-items:center}
.sb-item{display:inline-flex;align-items:center;gap:5px;border:1.5px solid #eaddd0;background:#fffdfa;border-radius:11px;padding:7px 11px;font-size:14px;color:#6b5849;cursor:pointer}
.sb-item.active{border-color:#f2662a;background:#ffe6d6;color:#e0511f;font-weight:700}
.sb-bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:8px 0}
.sb-bin{border:1.5px dashed #cfd8ea;background:#f7f9fc;border-radius:13px;padding:10px 8px;text-align:center;cursor:pointer}
.sb-bin b{display:block;font-size:13px;color:#5c6b8a}.sb-bin span{display:block;font-size:17px;margin-top:4px;min-height:20px;color:#8b7d74}
/* stageTimeline 阶段时间轴 */
.st-track{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:#f7f9fc;border-radius:13px;padding:10px;min-height:56px;margin:8px 0}
.st-track.ok{background:#e6f7f2}
.st-node{position:relative;border:1.5px solid #3f7bff;background:#fff;border-radius:11px;padding:6px 9px 6px 16px;font-size:13px;color:#20304a;cursor:pointer;text-align:center}
.st-node small{position:absolute;left:4px;top:4px;font-size:10px;color:#8aa0c6}
.st-node span{display:block;font-size:17px;line-height:1}.st-node b{font-size:12px}
.st-pool{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:6px 0}
.st-chip{display:inline-flex;align-items:center;gap:5px;border:1.5px solid #eaddd0;background:#fffdfa;border-radius:11px;padding:7px 11px;font-size:14px;color:#6b5849;cursor:pointer}
/* countObjects 数量点数 */
.cnt-stage{background:#f7f9fc;border-radius:14px;padding:12px;margin:6px 0;min-height:110px}
.cnt-items{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;min-height:64px;align-items:center}
.cnt-one{font-size:26px;font-style:normal;line-height:1}
.cnt-read{text-align:center;font-size:14px;color:#6b5849;margin-top:8px}.cnt-read b{font-size:22px;color:#f2662a}
.cnt-nums{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;margin:8px 0}
.cnt-num{border:1.5px solid #eaddd0;background:#fffdfa;border-radius:9px;padding:7px 0;font-size:15px;font-weight:700;color:#6b5849;cursor:pointer}
.cnt-num.on{background:#f2662a;border-color:#f2662a;color:#fff}
/* decimalPlace 小数数位表 */
.dp-table{display:flex;align-items:flex-end;justify-content:center;gap:6px;margin:8px 0}
.dp-col{background:#f7f9fc;border-radius:12px;padding:8px 10px;text-align:center;min-width:74px}
.dp-col .dp-nm{font-size:12px;color:#5c6b8a;font-weight:700}.dp-col .dp-w{font-size:11px;color:#98a4bb;margin-bottom:4px}
.dp-col b{display:block;font-size:24px;color:#3a2f2a;margin:2px 0}
.dp-col .b{width:26px;height:24px;border:0;border-radius:7px;background:#eef2f9;color:#5c6b8a;font-size:14px;font-weight:800;cursor:pointer}
.dp-dot{font-size:26px;font-weight:900;color:#f2662a;padding-bottom:6px}
/* 探索步下面的「说说你的发现」一问：答对才放行（explore 的 check 字段） */
.echk{margin-top:12px;padding:12px 12px 4px;background:#fff8f0;border:1.5px dashed #f0d7bd;border-radius:14px}
.echk .echkt{font-size:13px;font-weight:700;color:#c8703a;margin-bottom:6px}
.echk .q{border:0;padding-top:0;margin-top:0}
.btn{border:0;border-radius:12px;padding:11px 16px;font-size:15px;font-weight:700;cursor:pointer}
.btn.small{padding:8px 14px;font-size:14px}
.btn.primary{background:linear-gradient(135deg,#ff8a4c,#f2662a);color:#fff}
.btn.ghost{background:#f3ece4;color:#6b5d52}
.done{background:#fff;border-radius:18px;padding:20px 16px;text-align:center;box-shadow:0 5px 18px rgba(220,140,120,.16);border:1px solid #ffe0d0}
.done .db{font-size:18px;font-weight:800}.done .db .on{color:#ffb020}.done .db .off{color:#e2ddd5}
.done .dm{font-family:"Kaiti SC",serif;font-size:15px;color:#6b5d52;margin:12px 0;line-height:1.8}.done .dm span{color:#8b7d74;font-size:13px}
.mistake-intro{text-align:center;font-size:13px;color:#8b7d74;background:#fff7e7;border:1px solid #ffe3ad;border-radius:12px;padding:9px 12px;margin:0 0 12px}.mistake-card{border:1.5px solid #ffe0c8}.mistake-card .tag{margin-bottom:4px}.mistake-empty{background:#fff;border-radius:18px;padding:42px 16px;text-align:center;box-shadow:0 4px 14px rgba(160,120,90,.09);color:#6b5d52}.mistake-empty div{font-size:42px}.mistake-empty b{display:block;font-size:17px;margin-top:4px}.mistake-empty small{display:block;color:#a99b8e;font-size:12px;margin-top:4px}
.dbtns{display:flex;gap:10px;justify-content:center;margin-top:6px}
.bub{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);opacity:0;background:#2f2823;color:#fff;padding:9px 16px 9px 12px;border-radius:999px;font-size:14px;transition:.22s;max-width:88%;z-index:60;display:flex;align-items:center;gap:6px}
.bub.on{opacity:1;transform:translateX(-50%) translateY(0)}.bub .be{font-size:19px}
.confetti{position:fixed;inset:0;pointer-events:none;z-index:55;overflow:hidden}
.confetti i{position:absolute;top:-10px;width:9px;height:14px;border-radius:2px;animation:fall 1.5s linear forwards}
@keyframes fall{to{transform:translateY(102vh) rotate(540deg);opacity:.2}}
/* 整单元通关炫耀弹层 */
.celebrate{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(58,40,32,.5);backdrop-filter:blur(3px);animation:cbIn .25s ease}
@keyframes cbIn{from{opacity:0}to{opacity:1}}
.celebrate .cb-card{width:100%;max-width:340px;background:linear-gradient(165deg,#fff8f2,#ffeee2);border-radius:24px;padding:26px 22px 20px;text-align:center;box-shadow:0 18px 50px rgba(140,70,30,.35);animation:cbPop .35s cubic-bezier(.22,1.2,.4,1)}
@keyframes cbPop{from{transform:scale(.82);opacity:0}to{transform:scale(1);opacity:1}}
.celebrate .cb-emoji{font-size:56px;line-height:1;margin-bottom:6px}
.celebrate .cb-title{font-size:22px;font-weight:800;color:#3a2f2a;line-height:1.35}
.celebrate .cb-sub{font-size:14px;color:#8b7d74;margin:8px 0 4px}.celebrate .cb-sub b{color:#e0511f}
.celebrate .cb-msg{font-size:13.5px;color:#a4642f;background:#fff3e6;border-radius:12px;padding:9px 12px;margin:12px 0 4px;font-family:"Kaiti SC","STKaiti",serif;line-height:1.6}
.celebrate .cb-btn{display:block;width:100%;margin-top:12px;padding:14px;border:0;border-radius:14px;font-size:16px;font-weight:800;cursor:pointer;text-decoration:none;box-sizing:border-box;transition:.15s}
.celebrate .cb-btn.primary{background:linear-gradient(135deg,#ff8a4c,#f2662a);color:#fff;box-shadow:0 6px 16px rgba(242,102,42,.34)}
.celebrate .cb-btn.ghost{background:#fff;color:#e0511f;border:1.5px solid #f3c4a8}
.celebrate .cb-btn:active{transform:scale(.98)}
.celebrate .cb-close{margin-top:14px;border:0;background:none;color:#b0a49a;font-size:13px;cursor:pointer}
/* 数位表 placeValue */
.pv{display:flex;justify-content:center;gap:3px;margin:8px 0;overflow-x:auto;padding-bottom:4px}
.pvcol{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none}
.pvcol .b{width:30px;height:24px;border:0;border-radius:8px;background:#eef2f9;color:#5c6b8a;font-size:15px;font-weight:800;cursor:pointer;line-height:1}
.pvcol .b:active{transform:scale(.88)}
.pvd{width:32px;height:40px;border-radius:9px;background:#fff;border:2px solid #e3e9f3;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#3a2f2a}
.pvcol.wan .pvd{border-color:#d9c9f7}.pvcol.ge .pvd{border-color:#bfe6dd}
.pvl{font-size:10px;color:#8b7d74;white-space:nowrap}
.pvcol.wan .pvl{color:#8b5cf6}.pvcol.ge .pvl{color:#12a08e}
.pvout{text-align:center;margin:12px 0 4px}
.pvnum{font-size:21px;font-weight:800;letter-spacing:1px;color:#3f7bff;font-variant-numeric:tabular-nums}
.pvread{font-size:15px;color:#6b5849;margin-top:3px;min-height:20px;font-weight:600}
/* 数轴 numberLine */
.nlrow{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;font-size:13px;color:#6b5849;margin:8px 0}
.nlrow .b{width:28px;height:28px;border:0;border-radius:8px;background:#eef2f9;color:#5c6b8a;font-size:15px;font-weight:800;cursor:pointer}
.nlrow .b:active{transform:scale(.88)}
.nlrow b{min-width:22px;text-align:center;font-size:16px;color:#3a2f2a}
.nlrow .op{min-width:32px;width:auto;padding:0 11px;height:30px;border:0;border-radius:9px;background:#ffe6d6;color:#e0511f;font-size:16px;font-weight:800;cursor:pointer}
.nleq{text-align:center;font-size:20px;font-weight:800;color:#3f7bff;margin:6px 0}
.nleq b{color:#f2662a}
/* fractionBar 分数条+饼图 */
.frwrap{display:flex;align-items:center;justify-content:center;gap:24px;margin:10px 0}
.frbar{display:flex;width:150px;height:46px;border:2px solid #e3e9f3;border-radius:9px;overflow:hidden;background:#fff}
.frcell{flex:1;border-right:1px solid #e3e9f3}.frcell:last-child{border-right:0}.frcell.on{background:#ff8a4c}
.frpie{width:72px;height:72px;border-radius:50%;border:2px solid #e3e9f3}
.frout{text-align:center;font-size:20px;font-weight:800;color:#3f7bff;margin:6px 0}
.frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;font-size:17px;line-height:1.1}
.frac .fl{width:22px;height:2px;background:#3f7bff;margin:2px 0}
/* multTable 乘法口诀表 */
.mt-grid{display:flex;flex-direction:column;gap:2px;align-items:center;margin:10px 0;overflow-x:auto}
.mtrow{display:flex;gap:2px}
.mt{width:32px;height:28px;border:0;border-radius:6px;background:#eef2f9;color:#5c6b8a;font-size:12px;font-weight:700;cursor:pointer;flex:none}
.mt.on{background:#f2662a;color:#fff}
/* 学习乐园首页 · 单元卡片 */
.lyback{border:1px solid #eaddd0;background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;cursor:pointer;margin-bottom:6px}
.ugrid{display:grid;gap:11px;margin-top:6px}
.ucard{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;cursor:pointer;background:#fff;border-radius:16px;padding:12px 13px;box-shadow:0 4px 14px rgba(160,120,90,.10);transition:.12s}
.ucard:active{transform:scale(.985)}
.ucard .ue{flex:none;width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,#fff2e0,#ffe7ef);display:flex;align-items:center;justify-content:center;font-size:26px}
.ucard .ui{flex:1;min-width:0}.ucard .ui b{font-size:15px}.ucard .ui small{display:block;color:#8b7d74;font-size:11.5px;margin:1px 0 6px}
.ucard .ubar{display:block;height:6px;border-radius:3px;background:#eee6dc;overflow:hidden}
.ucard .ubar i{display:block;height:100%;background:linear-gradient(90deg,#ffb020,#ff8a4c)}
.ucard .us{flex:none;font-size:12px;font-weight:800;color:#b9791a;white-space:nowrap}

/* ===== 英语：发音按钮 / 连一连 / 排一排 / 单词卡 ===== */
.sbtn{border:0;background:#eaf1ff;color:#3f7bff;border-radius:999px;padding:3px 9px;font-size:14px;cursor:pointer;line-height:1.2;vertical-align:middle}
.sbtn:active,.sbtn.on{background:#3f7bff;color:#fff}
.sbtn.mini{padding:1px 6px;font-size:12px}
.sbtn.corner{position:absolute;right:14px;bottom:14px;width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;
  background:#fff;border:2px solid #d8e5ff;color:#3f7bff;font-size:22px;box-shadow:0 10px 22px -13px rgba(63,123,255,.65);z-index:2}
.sbtn.corner:active,.sbtn.corner.on{background:#3f7bff;border-color:#3f7bff;color:#fff;transform:scale(.96)}
/* 连一连 */
.mrow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.mcol{display:flex;flex-direction:column;gap:8px}
.mitem{border:2px solid #e6ddcd;background:#fff;border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;font-weight:700;
  cursor:pointer;text-align:center;transition:.15s;color:#3a2f2a}
.mitem.sel{border-color:#f2662a;background:#fff2e8}
.mitem.ok{border-color:#2fbf71;background:#e7f8ee;color:#1c8a4d;cursor:default}
.mitem.bad{border-color:#ff6b6b;background:#ffeaea}
.mitem:disabled{cursor:default}
/* 排一排 */
.oans{min-height:46px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:9px 10px;margin-top:8px;
  border:2px dashed #e6ddcd;border-radius:12px;background:#fffdf9}
.oans.ok{border-style:solid;border-color:#2fbf71;background:#e7f8ee}
.ohint{color:#b3a893;font-size:13px}
.opool{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.oitem{border:2px solid #e6ddcd;background:#fff;border-radius:10px;padding:7px 12px;font:inherit;font-size:15px;font-weight:700;
  cursor:pointer;color:#3a2f2a}
.oitem:active{transform:scale(.96)}
.oans .oitem{border-color:#f2662a;background:#fff2e8;color:#c0450a}
/* 单词卡 */
.wcard{background:linear-gradient(180deg,#fffdf9,#fff4ec);border:2px solid #e6ddcd;border-radius:20px;
  padding:20px 16px;text-align:center;margin-top:6px;box-shadow:0 6px 18px -10px rgba(120,70,30,.3);cursor:pointer}
.wem{font-size:64px;line-height:1.1}
.wen{font-size:26px;font-weight:800;margin-top:8px;color:#2a2118;display:flex;align-items:center;justify-content:center;gap:8px}
.wzh{font-size:15px;color:#8b7d74;margin-top:4px}

/* ===== 语文：汉字卡 / 拼音声调 / 古诗拼图 ===== */
.hzcard{position:relative;background:linear-gradient(180deg,#fffdf9,#fff4ec);border:2px solid #e6ddcd;border-radius:20px;
  min-height:186px;padding:18px 16px;text-align:center;margin-top:6px;box-shadow:0 6px 18px -10px rgba(120,70,30,.3);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.18s}
.hzcard:active{transform:scale(.985)}
.hzcard.flip{background:linear-gradient(180deg,#f7fbff,#fffdf9);border-color:#d8e5ff}
.hzem{font-size:54px;line-height:1}.hzbig{font-size:74px;font-weight:900;line-height:1.05;color:#2a2118;font-family:"Kaiti SC","STKaiti",serif}
.hzpy{font-size:31px;font-weight:900;color:#3f7bff}.hzw{font-size:24px;font-weight:900;color:#f2662a;margin-top:8px}.hzs{font-size:15px;color:#6b5849;margin-top:8px;line-height:1.6}
.pybox{position:relative;background:linear-gradient(180deg,#f7fbff,#fffdf9);border:2px solid #d8e5ff;border-radius:20px;text-align:center;padding:18px 14px;margin-top:6px}
.pymark{font-size:82px;font-weight:900;line-height:1;color:#3f7bff;font-family:Georgia,"Times New Roman",serif}
.pytip{font-size:14px;color:#6b5849;margin-top:8px}.pytip b{color:#f2662a}
.tonepath{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.tonebtn{border:2px solid #e6ddcd;background:#fff;border-radius:14px;padding:9px 4px;cursor:pointer;color:#3a2f2a}
.tonebtn span{display:block;font-size:28px;font-weight:900;line-height:1.1}.tonebtn small{display:block;font-size:11px;color:#8b7d74;margin-top:4px}
.tonebtn.on{border-color:#f2662a;background:#fff2e8}.tonebtn.on span{color:#f2662a}
.poemstage{background:linear-gradient(180deg,#fffdf9,#fff7ed);border:2px solid #eadbca;border-radius:18px;padding:14px 12px;margin-top:6px}
.poemscene{text-align:center;font-size:42px;line-height:1.2;margin-bottom:8px}
.poemans{min-height:132px;display:flex;flex-direction:column;gap:7px;padding:10px;border:2px dashed #e6ddcd;border-radius:14px;background:#fff}
.poemans.ok{border-style:solid;border-color:#2fbf71;background:#e7f8ee}
.poemline,.poemchip{border:2px solid #e6ddcd;background:#fff;border-radius:12px;padding:8px 11px;font:inherit;font-size:16px;font-weight:800;color:#3a2f2a;cursor:pointer}
.poemline{border-color:#f2662a;background:#fff2e8;color:#c0450a;font-family:"Kaiti SC","STKaiti",serif;font-size:18px}
.poempool{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.poemchip:active,.poemline:active{transform:scale(.97)}

/* ===== 语文同步探索：课文侦探 / 表达搭建 / 方法整理 / 拼音实验 ===== */
.ydetect,.ywork,.ypinyin{background:linear-gradient(180deg,#fffdf9,#f5fbff);border:2px solid #dbe8f8;border-radius:18px;padding:12px;margin-top:6px}
.yd-scene{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1.5px solid #e8dfd4;border-radius:14px;padding:10px 12px;margin-bottom:10px}
.yd-scene b{font-size:16px;color:#2a2118}.yd-scene small{font-size:11.5px;color:#8b7d74;text-align:right;line-height:1.35}
.yd-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.yd-card{min-height:92px;border:2px solid #e6ddcd;background:#fff;border-radius:14px;padding:10px;text-align:left;font:inherit;color:#3a2f2a;cursor:pointer;transition:.15s}
.yd-card span{display:inline-flex;background:#eef3fb;color:#3f7bff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800}
.yd-card b{display:block;font-size:15px;line-height:1.35;margin-top:7px}.yd-card small{display:block;color:#8b7d74;font-size:11.5px;line-height:1.4;margin-top:4px}
.yd-card.on{border-color:#2fbf71;background:#eaf8ef}.yd-card.on span{background:#d8f1e3;color:#188a50}
.yd-note{font-size:13px;color:#5c6b8a;background:#eef3fb;border-radius:12px;padding:9px 10px;margin-top:10px;text-align:center;line-height:1.5}.yd-note b{color:#f2662a}
.yw-goal{text-align:center;background:#fff5e8;border:1.5px solid #ffd7a8;border-radius:14px;color:#9b4a10;font-weight:900;padding:9px 10px;margin-bottom:10px}
.yw-track{min-height:104px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;padding:10px;border:2px dashed #e6ddcd;border-radius:14px;background:#fff}
.yw-track.ok{border-style:solid;border-color:#2fbf71;background:#e7f8ee}
.yw-pool{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:10px}
.yw-piece{border:2px solid #e6ddcd;background:#fff;border-radius:12px;padding:9px 11px;font:inherit;font-size:14px;font-weight:800;color:#3a2f2a;cursor:pointer;line-height:1.25}
.yw-piece small{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#f2662a;color:#fff;font-size:11px;margin-right:6px}
.yw-piece.on{border-color:#f2662a;background:#fff2e8;color:#b4410c}.yw-piece:active{transform:scale(.96)}
.ymethod{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.ym-card{min-height:92px;border:2px solid #e6ddcd;background:#fff;border-radius:15px;padding:10px;text-align:left;font:inherit;color:#3a2f2a;cursor:pointer;transition:.15s}
.ym-card small{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eef3fb;color:#3f7bff;font-weight:900}
.ym-card b{display:block;font-size:15px;margin-top:7px}.ym-card span{display:block;font-size:12px;color:#8b7d74;line-height:1.45;margin-top:4px}
.ym-card.on{border-color:#ffb020;background:#fff8e7}.ym-card.on small{background:#ffb020;color:#fff}
.yp-task{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-radius:14px;border:1.5px solid #dbe8f8;padding:9px 11px;margin-bottom:10px}
.yp-task b{color:#3f7bff}.yp-task small{font-size:11.5px;color:#8b7d74;text-align:right}
.yp-sounds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.yp-sound{min-height:76px;border:2px solid #e6ddcd;background:#fff;border-radius:16px;font:inherit;cursor:pointer;color:#3a2f2a;position:relative}
.yp-sound span{display:block;font-size:32px;font-weight:900;line-height:1.15;font-family:Georgia,"Times New Roman",serif}
.yp-sound .sbtn{margin-top:4px}.yp-sound.on{border-color:#3f7bff;background:#edf4ff;color:#245fc8}

/* 英语任务区：像一张随身任务卡，输入、选择和完成结果在同一块里闭环 */
.en-scene,.en-dialogue,.en-project{margin:10px 0;padding:14px;border:1px solid #cfe2e8;border-radius:14px;background:linear-gradient(135deg,#f5fffc,#f7fbff);box-shadow:0 8px 20px rgba(51,91,104,.08)}
.en-scene-top{position:relative;display:flex;align-items:center;gap:11px;min-height:58px;padding-right:58px}.en-scene-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#fff2d7;font-size:27px}.en-scene-top b,.en-dialogue-head b{display:block;color:#214c58;font-size:16px}.en-scene-top small{display:block;margin-top:4px;color:#6b7d86}.en-scene-top .sbtn.corner{right:0;bottom:4px;background:#d9f2ec;color:#176e61;border-color:#a7d8ce}.en-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}.en-option,.en-project-choice{min-height:44px;padding:9px 12px;border:1px solid #b9d4db;border-radius:10px;background:#fff;color:#315560;font:inherit;font-weight:700;cursor:pointer;text-align:left}.en-option:hover,.en-project-choice:hover{border-color:#3da892;transform:translateY(-1px)}.en-option.right,.en-project-choice.on{border-color:#299778;background:#e5f7f0;color:#176e61}.en-option.wrong{border-color:#e26d61;background:#fff0ed;animation:shake .24s linear}.en-feedback{margin-top:10px;min-height:20px;color:#6b7d86;font-size:13px}.en-feedback.good{color:#21845f}.en-feedback.bad{color:#c9554d}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
.en-dialogue-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px dashed #b9d4db}.en-dialogue-head span{font-size:25px}.en-turns{display:grid;gap:7px;margin-top:11px}.en-turn{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:9px 10px;border:1px solid #d4e2e5;border-radius:10px;background:#fff;color:#315560;text-align:left;font:inherit;cursor:pointer}.en-turn:disabled{cursor:default;opacity:.58}.en-turn.current{border-color:#efaa4c;box-shadow:0 0 0 2px #fff0d0}.en-turn.done{border-color:#8ed0bc;background:#effaf5}.en-turn b,.en-turn small{display:block}.en-turn small{margin-top:3px;color:#76878c;font-size:12px}.en-speaker{display:grid;place-items:center;width:34px;height:30px;border-radius:8px;background:#eaf4ff;color:#2465a2;font-weight:800;font-size:12px}.en-dialogue-tip{padding-top:10px;color:#637982;font-size:13px}.en-project-goal{padding:10px 12px;border-radius:10px;background:#fff2d7;color:#7f5b24;font-weight:800}.en-project-picks{display:flex;flex-wrap:wrap;gap:7px;min-height:38px;margin:10px 0;padding:8px;border:1px dashed #b9d4db;border-radius:10px;color:#82939a}.en-project-picks span{padding:5px 8px;border-radius:8px;background:#dff4ec;color:#176e61;font-weight:800}.en-project-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.en-project-choice{text-align:center;min-height:40px}.en-project-choice.on{box-shadow:inset 0 -3px 0 #299778}
@media(max-width:380px){.en-options{grid-template-columns:1fr}.en-project-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.en-turn{grid-template-columns:35px minmax(0,1fr) auto;padding:8px}.en-turn .sbtn.mini{padding:1px 4px}}
.edition-note{display:inline-block;margin-top:7px;padding:4px 9px;border:1px solid rgba(64,125,132,.2);border-radius:999px;background:rgba(255,255,255,.72);color:#477078;font-size:11px}
.yp-mouth{font-size:13px;color:#5c6b8a;background:#eef3fb;border-radius:12px;padding:9px 10px;margin-top:10px;text-align:center;line-height:1.5;min-height:38px}
@media (max-width:360px){
  .yd-cards,.ymethod{grid-template-columns:1fr}
  .yp-sounds{grid-template-columns:1fr 1fr}
}

/* 自然拼读 Let's spell（phonics 组件） */
.phn{background:linear-gradient(135deg,#eef6ff,#f6f0ff);border-radius:16px;padding:14px 12px;margin:10px 0}
.phn-rule{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap}
.phn-big{font-size:40px;font-weight:800;letter-spacing:2px;color:#3b5bdb;line-height:1.1}
.phn-snd{font-size:18px;color:#7048e8;font-weight:700}
.phn-tip{text-align:center;color:#555;font-size:14px;margin:8px 4px 12px}
.phn-ex{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.phn-w{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:84px;padding:10px 12px;border:2px solid #dbe4ff;border-radius:14px;background:#fff;cursor:pointer;font-family:inherit}
.phn-w:active{transform:scale(.96)}
.phn-w.on{border-color:#7048e8;background:#f8f5ff}
.phn-en{font-size:20px;font-weight:700;color:#222;letter-spacing:1px}
.phn-hi{color:#e8590c;font-weight:800}
.phn-zh{font-size:12px;color:#777}
.phn-spk{font-size:13px;opacity:.7}

/* 课文侦探：带判定的线索卡（答对才点亮） */
.yd-card.open{outline:2px solid #7048e8;outline-offset:2px}
.yd-quiz{grid-column:1/-1;background:#fff;border:2px dashed #dbe4ff;border-radius:14px;padding:10px 12px;margin:2px 0 6px}
.yd-quiz p{margin:0 0 8px;font-weight:700;color:#333;font-size:14px}
.yd-opt{display:block;width:100%;text-align:left;margin:6px 0;padding:9px 12px;border:2px solid #e3e8f5;border-radius:12px;background:#fafbff;font-family:inherit;font-size:14px;cursor:pointer}
.yd-opt:active{transform:scale(.985)}
.yd-opt.ok{border-color:#2f9e44;background:#e8f8ee;color:#2b8a3e;font-weight:700}
.yd-opt.no{border-color:#e03131;background:#fff0f0;color:#c92a2a}

/* 数学方法实验：先操作，再总结，比直接看一道题更容易留下方法记忆 */
.math-lab{margin:10px 0;padding:12px;border:2px solid #dce8f6;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f4f8ff)}
.math-expression{text-align:center;padding:11px 8px;border-radius:12px;background:#fff4d8;color:#8a5213;font-size:25px;font-weight:900;letter-spacing:1px}
.math-goal{padding:10px 11px;border-radius:12px;background:#fff4d8;color:#8a5213;font-weight:800;line-height:1.45}
.math-lab-tip{min-height:20px;margin:9px 2px;color:#526a86;font-size:13px;text-align:center;line-height:1.45}
.math-steps,.math-strategies{display:grid;gap:8px;margin-top:9px}
.math-step,.math-strategy{display:flex;align-items:flex-start;gap:9px;width:100%;padding:10px 11px;border:2px solid #dbe4ef;border-radius:12px;background:#fff;color:#28384d;text-align:left;font:inherit;cursor:pointer}
.math-step:disabled{opacity:.5;cursor:default}.math-step.done,.math-strategy.on{border-color:#35a875;background:#eaf8f0;color:#176a4a}
.math-step-no,.math-strategy-mark{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e8effa;color:#3768a8;font-size:12px;font-weight:900}
.math-step b,.math-strategy b{display:block;font-size:14px;line-height:1.35}.math-step small,.math-strategy small{display:block;margin-top:3px;color:#718196;font-size:12px;line-height:1.45}.math-step.done .math-step-no,.math-strategy.on .math-strategy-mark{background:#35a875;color:#fff}.math-strategy em{display:none}
@media(max-width:360px){.math-expression{font-size:22px}.math-step,.math-strategy{padding:9px}}

/* 可操作模拟：每个实验都有明确动作、即时结果和手机触控兜底 */
.sim-box{margin:10px 0;padding:13px;border:2px solid #f0d8ba;border-radius:17px;background:linear-gradient(180deg,#fffdf8,#fff4e7);color:#493729}
.sim-expression,.sim-feet,.stat-result,.fraction-read{padding:10px;border-radius:12px;background:#fff;font-weight:800;text-align:center;line-height:1.55}
.sim-hint{min-height:20px;margin-top:10px;color:#8b6c55;font-size:13px;text-align:center;line-height:1.45}.sim-list{display:grid;gap:8px;margin-top:10px}
.sim-sort-card{display:grid;grid-template-columns:25px 1fr;gap:3px 8px;padding:10px;border:2px solid #eadbca;border-radius:13px;background:#fff;text-align:left;color:#493729;font:inherit;cursor:grab}.sim-sort-card span{grid-row:span 2;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff0dc;color:#e06a2f;font-weight:900}.sim-sort-card small{grid-column:2;color:#8b6c55;font-size:12px}.sim-sort-card.selected{border-color:#e06a2f;background:#fff0dc}.sim-sort-card:active{cursor:grabbing;transform:scale(.985)}
.animal-row{display:flex;justify-content:space-around;font-size:16px}.animal-row b{color:#e06a2f}.sim-range{width:100%;accent-color:#e06a2f;margin:16px 0 8px}.chicken-sim .sim-feet{font-size:13px;font-weight:400}.chicken-sim .sim-feet b{color:#e06a2f}
.sim-items{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;min-height:42px}.sim-token{width:34px;height:34px;border:2px solid #e7b37e;border-radius:50%;background:#fff4d8;color:#e06a2f;font-size:20px;cursor:grab}.sim-token.active{outline:3px solid #f6b35f}.sim-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.sim-dropbox{min-height:78px;border:2px dashed #e7b37e;border-radius:13px;background:#fff;text-align:center;color:#76563d;font:inherit;cursor:pointer}.sim-dropbox b,.sim-dropbox span{display:block}.sim-dropbox span{margin-top:8px;color:#e06a2f;font-weight:800}
.outfit-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0}.outfit-group>b{width:44px;font-size:12px;color:#8b6c55}.sim-choice{padding:7px 9px;border:2px solid #eadbca;border-radius:10px;background:#fff;color:#493729;font:inherit;font-size:13px;cursor:pointer}.sim-choice.chosen{border-color:#e06a2f;background:#fff0dc}.outfit-current{padding:10px;margin:10px 0;border-radius:12px;background:#fff;font-size:14px;font-weight:800;text-align:center}.outfit-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.outfit-pill{padding:5px 7px;border-radius:999px;background:#e5f5e9;color:#27734d;font-size:11px}
.stat-bars{display:grid;gap:8px}.stat-row{display:grid;grid-template-columns:22px 1fr 80px 18px;align-items:center;gap:7px;font-size:13px}.stat-track{height:14px;border-radius:8px;background:#f6e6d7;overflow:hidden}.stat-track i{display:block;height:100%;border-radius:8px;background:#e06a2f;transition:width .15s}.stat-row input{width:80px;accent-color:#e06a2f}.stat-row em{font-style:normal;font-weight:800;color:#e06a2f}.stat-result{margin-top:10px;font-size:13px}.stat-result b{color:#e06a2f}.stat-result span{font-weight:400;color:#8b6c55}
.cake{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}.cake-slice{min-height:46px;border:2px solid #eadbca;border-radius:12px;background:#fff;font-size:25px;cursor:pointer}.cake-slice.on{border-color:#e06a2f;background:#fff0dc;transform:translateY(-2px)}
.eq-pan{display:flex;justify-content:space-around;gap:8px;padding:12px;border-radius:12px;background:#fff;font-weight:800;font-size:14px}.eq-balance{font-size:46px;text-align:center;line-height:1.4;transition:transform .25s}.eq-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.pour-scene{display:flex;align-items:end;justify-content:center;gap:10px;min-height:150px}.pour-cylinder,.pour-cone{position:relative;width:65px;height:110px;border:3px solid #e06a2f;background:#fff8ef;overflow:hidden;text-align:center}.pour-cylinder{border-radius:50% 50% 10px 10px}.pour-cone{height:85px;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0 0 10px 10px}.pour-cylinder i,.pour-cone i{position:absolute;bottom:0;left:0;width:100%;height:20px;background:#63b6d9;transition:height .35s}.pour-cylinder b,.pour-cone b{position:absolute;z-index:1;left:0;right:0;bottom:8px;font-size:12px;color:#77533a}.pour-arrow{font-size:24px;color:#e06a2f}
@media(max-width:360px){.stat-row{grid-template-columns:20px 1fr 68px 16px;gap:4px}.stat-row input{width:68px}.sim-boxes{gap:5px}.sim-dropbox{font-size:12px}.pour-scene{gap:5px}}
