/* 童趣装饰：标题条、玩一玩入口、作业与复习卡片 */

/* ---------- 标题条（吉祥物 + 标题） ---------- */
.kid-banner{display:flex;align-items:center;gap:12px;flex:0 0 auto;margin:0 0 8px;padding:2px 4px}
.kid-banner h2{margin:0;font-size:26px;line-height:1.15;font-weight:400;color:var(--accent-dark,#3f7d52);letter-spacing:.06em}
.kid-banner p{margin:2px 0 0;font-size:15px;color:#7b887f}
.kid-mascot{display:block;width:52px;height:52px;flex:none;animation:kid-bob 3.2s ease-in-out infinite}
.kid-mascot.is-small{width:40px;height:40px;align-self:center}
.kid-mascot svg{display:block;width:100%;height:100%}
@keyframes kid-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.kid-mascot,.hub-card,.hub-art{animation:none!important;transition:none!important}}
/* 旧的小标题不要了，用标题条 */
html body #activities>.section-intro{display:none}
html body #panel-outline .kid-banner+.lc-panel-head{display:none}

/* ---------- 玩一玩入口：10 张插图卡片 ---------- */
.game-hub{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;flex:1 1 auto;min-height:0;padding:4px 2px 2px}
.hub-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;min-height:0;padding:10px 8px 10px;border:0;border-radius:30px;background:var(--bg,#eef7ec);box-shadow:inset 0 0 0 4px #ffffffb3,0 5px 0 color-mix(in srgb,var(--fg,#5fa374) 35%,transparent);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.hub-card:hover,.hub-card:focus-visible{transform:translateY(-4px) rotate(-1deg);box-shadow:inset 0 0 0 4px #ffffffb3,0 9px 0 color-mix(in srgb,var(--fg,#5fa374) 40%,transparent)}
.hub-card:active{transform:translateY(2px);box-shadow:inset 0 0 0 4px #ffffffb3,0 2px 0 color-mix(in srgb,var(--fg,#5fa374) 40%,transparent)}
.hub-card:focus-visible{outline:4px solid var(--fg,#5fa374);outline-offset:3px}
.hub-art{display:block;flex:1 1 auto;min-height:0;width:100%}
.hub-art svg{display:block;width:100%;height:100%}
.hub-card:hover .hub-art{animation:kid-wiggle .6s ease-in-out}
@keyframes kid-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-4deg) scale(1.03)}75%{transform:rotate(4deg) scale(1.03)}}
.hub-card b{flex:0 0 auto;font-size:clamp(17px,2.9vh,24px);font-weight:400;color:#2f3e2f;letter-spacing:.04em;white-space:nowrap}
.hub-card b::after{content:"";display:block;height:5px;margin:3px auto 0;width:46%;border-radius:999px;background:var(--fg,#5fa374);opacity:.55}

/* ---------- 进入游戏后：顶部小栏（返回 + 换游戏） ---------- */
.game-bar{display:none;align-items:center;gap:10px;flex:0 0 auto;margin:0 0 8px;padding:2px 2px}
.hub-back{flex:none;min-height:40px;padding:4px 16px;border:0;border-radius:999px;background:var(--accent,#e0852a);color:#fff;font-size:17px;cursor:pointer;box-shadow:0 3px 0 var(--accent-dark,#b86513)}
.hub-back:active{transform:translateY(2px);box-shadow:0 1px 0 var(--accent-dark,#b86513)}
.hub-mini{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.mini-card{width:42px;height:42px;padding:3px;border:3px solid transparent;border-radius:50%;background:var(--bg,#fff);cursor:pointer;transition:transform .12s}
.mini-card:hover{transform:scale(1.12)}
.mini-card[aria-pressed=true]{border-color:var(--accent,#e0852a);box-shadow:0 0 0 2px #fff inset}
.mini-card svg{display:block;width:100%;height:100%}
body[data-game-open="0"] #activities #activity-pane,body[data-game-open="0"] #activities #practice-pane,body[data-game-open="0"] #activities #game-bar{display:none!important}
body[data-game-open="1"] #activities #game-hub{display:none!important}
body[data-game-open="1"] #activities #game-bar{display:flex}
/* 菜单被入口卡片取代 */
html body #activities #game-menu{display:none!important}
@media(max-width:760px){.game-hub{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:150px;overflow:visible}}

/* ---------- 作业与复习：三张大卡片 ---------- */
@media(min-width:681px){
 html body #home-review:not([hidden]){display:flex!important;flex-direction:column}
 html body #home-review .home-cards-grid{display:contents}
}
html body #home-review>.home-card,html body #home-review>.resources-fold.home-card{position:relative}
@media(min-width:681px){
 html body #home-review:not([hidden]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto minmax(0,1fr);gap:14px;align-content:stretch}
 html body #home-review>.kid-banner{grid-column:1/-1}
}
.home-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:0;padding:12px 14px 16px!important;border:3px solid var(--line,#d9c9f0)!important;border-radius:30px!important;background:#fff!important;box-shadow:0 5px 0 var(--line,#d9c9f0);text-align:center}
.home-art{flex:1 1 auto;min-height:0;width:min(100%,190px)}
.home-art svg{display:block;width:100%;height:100%}
.home-head{display:grid;gap:2px;flex:0 0 auto}
.home-head b{font-size:22px;font-weight:400;color:var(--accent-dark,#6a47a1);letter-spacing:.06em}
.home-head small{font-size:14px;color:#7b887f}
.home-card h3{display:none}
.home-card .lesson-homework{margin:4px 0 0!important;padding:8px 12px!important;border-radius:18px!important;font-size:15px;line-height:1.5;text-align:left}
.home-card .lesson-homework p{margin:0}
.home-card .parent-print{display:grid;gap:6px;justify-items:center;margin:4px 0 0}
.home-card .parent-print .solid{min-height:44px;padding:4px 22px;border-radius:999px;font-size:17px}
.home-card .parent-print .small{font-size:13px;color:#7b887f}
/* 「更多好玩的」：点开是一个大弹窗 */
.home-card.is-more .resources-fold{margin:0;padding:0;border:0;background:none;box-shadow:none}
.home-card.is-more .resources-fold>summary{list-style:none;cursor:pointer;margin-top:4px;padding:8px 22px;border-radius:999px;background:var(--accent,#8a63c4);color:#fff;font-size:17px;box-shadow:0 3px 0 var(--accent-dark,#6a47a1);text-align:center;font-size:0}
.home-card.is-more .resources-fold>summary::before{content:var(--mc-ui-feec6d035b,"打开看看 ›");font-size:17px}
.home-card.is-more .resources-fold>summary::-webkit-details-marker{display:none}
.home-card.is-more .resources-fold[open]::before{content:"";position:fixed;inset:0;background:#2a1b4a55;z-index:70}
.home-card.is-more .resources-fold[open]{position:fixed;inset:5vh 6vw;z-index:71;overflow:auto;padding:20px;border-radius:30px;background:#fff;text-align:left;box-shadow:0 20px 60px #2a1b4a66}
.home-card.is-more .resources-fold[open]>summary{position:sticky;top:0;z-index:72;float:right;margin:0 0 8px 8px}
.home-card.is-more .resources-fold[open]>summary::before{content:var(--mc-ui-52e3ada51f,"关闭 ×")}

/* ---------- 课程目录卡片：再圆一点、像贴纸 ---------- */
html body #outline-list>.lc-card{border-radius:28px!important;border:3px solid var(--line,#d3e7cd)!important;box-shadow:0 5px 0 var(--line,#d3e7cd)!important;background:#fff!important}
html body #outline-list>.lc-card:hover{transform:translateY(-3px) rotate(-.6deg)}
html body #outline-list .kid-pic{border-radius:24px 24px 0 0!important}
html body #outline-list .kid-num{box-shadow:0 0 0 3px #fff,0 2px 6px #0003}
body[data-game-open="1"] #activities>.kid-banner{display:none}
@media(min-width:681px){
 html body.learning-page:not(.hanzi-page) #home-review:not([hidden]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto minmax(0,1fr);gap:14px;align-content:stretch;flex-direction:initial}
 html body.learning-page:not(.hanzi-page) #home-review>.kid-banner{grid-column:1/-1}
}
html body #home-review>.home-card{margin:0!important;align-self:stretch;height:auto;justify-content:space-between}
html body #home-review>.home-card.parents-section{padding-top:12px!important}
html body.learning-page:not(.hanzi-page) .learning-content>.lc-panel{margin-top:0!important;margin-bottom:0!important}

/* 自己生成的图片（PNG/WebP）：保持比例、放满插图位置 */
.has-photo-art img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 0 #0000000d)}
.kid-mascot.has-photo-art{animation:kid-bob 3.2s ease-in-out infinite}
.mini-card.has-photo-art{padding:2px}

/* ---------- 动画：进入时弹出、悬停摇一摇、点击弹一下（对手绘版和你的图片都生效） ---------- */
@keyframes kid-pop-in{0%{opacity:0;transform:translateY(14px) scale(.85)}60%{opacity:1;transform:translateY(-3px) scale(1.03)}100%{opacity:1;transform:none}}
.game-hub .hub-card{animation:kid-pop-in .5s cubic-bezier(.2,.9,.3,1.2) both}
.game-hub .hub-card:nth-child(1){animation-delay:.02s}.game-hub .hub-card:nth-child(2){animation-delay:.07s}.game-hub .hub-card:nth-child(3){animation-delay:.12s}.game-hub .hub-card:nth-child(4){animation-delay:.17s}.game-hub .hub-card:nth-child(5){animation-delay:.22s}
.game-hub .hub-card:nth-child(6){animation-delay:.27s}.game-hub .hub-card:nth-child(7){animation-delay:.32s}.game-hub .hub-card:nth-child(8){animation-delay:.37s}.game-hub .hub-card:nth-child(9){animation-delay:.42s}.game-hub .hub-card:nth-child(10){animation-delay:.47s}
.hub-card:active .hub-art{animation:none;transform:scale(.92) rotate(-3deg);transition:transform .1s}
.hub-art{transition:transform .15s ease}
.hub-art img{display:block;width:100%;height:100%;object-fit:contain}
.mini-card.has-photo-art:hover,.mini-card:hover{animation:kid-wiggle .5s ease-in-out}
/* 作业与复习的卡片、课程目录卡片也有小动作 */
.home-card{transition:transform .15s ease}
.home-card:hover{transform:translateY(-4px) rotate(-.6deg)}
.home-card:hover .home-art{animation:kid-wiggle .6s ease-in-out}
.kid-mascot:hover{animation:kid-wiggle .6s ease-in-out}
@media(prefers-reduced-motion:reduce){.game-hub .hub-card,.hub-card:hover .hub-art,.home-card:hover .home-art,.kid-mascot:hover{animation:none!important}}

/* ---------- 第二版：不要标题条和荷花；游戏卡片不要底色，图片自己就够了 ---------- */
.kid-banner,.kid-mascot{display:none!important}
html body #activities{background:linear-gradient(180deg,var(--soft) 0,#fff 220px)!important}
.hub-card{background:transparent!important;box-shadow:none!important;border-radius:28px;padding:6px 6px 8px}
.hub-card:hover,.hub-card:focus-visible{background:#ffffff80!important;box-shadow:none!important;transform:translateY(-5px) rotate(-1deg)}
.hub-card:active{box-shadow:none!important;transform:translateY(1px) scale(.97)}
.hub-card b::after{display:none}
.hub-card b{font-size:clamp(17px,3vh,24px);color:#5a4630}
.game-hub{gap:6px 10px;align-content:center}
.mini-card{background:transparent!important}
.mini-card[aria-pressed=true]{background:#fff!important}
@media(min-width:681px){
 html body.learning-page:not(.hanzi-page) #home-review:not([hidden]){grid-template-rows:minmax(0,1fr)!important;align-content:stretch}
}

/* ---------- 标签页小图标：用你的手绘图代替系统 emoji ---------- */
html body.learning-page [role=tablist] [data-tab]::before{content:""!important;display:inline-block;width:32px;height:32px;margin:-5px 8px -5px 0;vertical-align:middle;background:center/contain no-repeat;transition:transform .15s}
html body.learning-page [role=tablist] [data-tab="outline"]::before{background-image:url(/assets/art/tab-outline.webp)}
html body.learning-page [role=tablist] [data-tab="lesson"]::before{background-image:url(/assets/art/tab-lesson.webp)}
html body.learning-page [role=tablist] [data-tab="games"]::before{background-image:url(/assets/art/tab-games.webp?v=3)}
html body.learning-page [role=tablist] [data-tab="home"]::before{background-image:url(/assets/art/tab-home.webp)}
html body.learning-page [role=tablist] [data-tab="books"]::before{display:none}
html body.learning-page [role=tablist] [data-tab]:hover::before{transform:rotate(-8deg) scale(1.12)}
html body.learning-page [role=tablist] [data-tab][aria-selected=true]::before{filter:drop-shadow(0 0 0 #fff) drop-shadow(0 1px 0 #fff)}
/* 作业与复习：三张卡的插图区一样高，标题在同一条线上 */
html body #home-review>.home-card{justify-content:flex-start;gap:8px}
html body #home-review>.home-card .home-art{flex:0 0 52%;height:52%;width:min(100%,200px)}

/* 游戏舞台：内容按 --fit 缩小（舞台本身大小不变） */
html body #activities .practice-play>*{zoom:var(--fit,1)}

/* ---------- 课程目录：整张卡片可点，不要「上课」按钮和「+N」 ---------- */
html body #outline-list .kid-go{display:none!important}
html body #outline-list .kid-texts em,html body #outline-list .kid-chars em{display:none!important}
html body #outline-list>.lc-card{cursor:pointer}
html body #outline-list>.lc-card:hover{transform:translateY(-4px) rotate(-.5deg)}
html body #outline-list .kid-more summary{cursor:pointer}
/* 本课详情：独立浮出的页面 */
.detail-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:#2a1b0e66;opacity:0;transition:opacity .18s ease}
.detail-modal.is-in{opacity:1}
.detail-card{position:relative;width:min(92vw,480px);max-height:84vh;overflow:auto;padding:22px 26px 24px;border:4px solid #8a4a2b;border-radius:30px;background:#fffaf0;box-shadow:0 18px 50px #2a1b0e55;transform:translateY(14px) scale(.95);transition:transform .22s cubic-bezier(.2,1.3,.4,1);scrollbar-width:none}
.detail-card::-webkit-scrollbar{display:none}
.detail-modal.is-in .detail-card{transform:none}
.detail-card h3{margin:0 0 14px;font-size:26px;font-weight:400;color:#5a3a24}
.detail-card h3 small{margin-left:12px;font-size:16px;color:#8a6a4a}
.detail-card dl{display:grid;gap:12px;margin:0}
.detail-card dl>div{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:baseline}
.detail-card dt{color:#8a6a4a;font-size:15px}
.detail-card dd{margin:0;font-size:22px;line-height:1.6;color:#3b2a1e;letter-spacing:.06em}
.detail-card .lc-strokes{display:flex;gap:8px;flex-wrap:wrap}
.detail-card .stroke-ico{width:40px;height:40px;padding:4px;border:2px solid #f4d79b;border-radius:12px;background:#fff;color:#e0a026}
.detail-card .lc-combo{display:inline-block;margin:0 14px 4px 0}
.detail-close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:3px solid #8a4a2b;border-radius:50%;background:#fff3d6;color:#6a4128;font-size:18px;cursor:pointer}
.detail-close:hover{background:#ffe9b8}
body.detail-open{overflow:hidden}
/* 卡片里的「本课详情」是个小按钮样子，点开才有内容 */
html body #outline-list .kid-more>dl{display:none!important}
html body #outline-list .kid-more[open]>dl{display:none!important}

/* ---------- 进阶「课文与练习」：带封面的课文卡片 ---------- */
#lesson-texts .lesson-text-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;align-items:stretch}
.text-card{display:flex;flex-direction:column;overflow:hidden;border:3px solid var(--line,#b7e2dc);border-radius:26px;background:#fff;color:#3b2a1e;text-decoration:none;box-shadow:0 5px 0 var(--line,#b7e2dc);transition:transform .15s ease}
.text-card:hover,.text-card:focus-visible{transform:translateY(-4px) rotate(-.5deg)}
.text-card-pic{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#f3efe3}
.text-card-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.text-card-num{position:absolute;left:8px;top:8px;min-width:34px;height:34px;padding:0 9px;display:grid;place-items:center;border-radius:999px;background:#259a8c;color:#fff;font-style:normal;font-size:15px;box-shadow:0 0 0 3px #fff,0 2px 6px #0003}
.text-card b{padding:10px 8px 12px;text-align:center;font-size:22px;font-weight:400;letter-spacing:.06em}
html body #books #lesson-texts>h3,html body #books>h3{display:none}
#lesson-texts .lesson-text-content{grid-template-columns:repeat(auto-fit,minmax(180px,270px))!important;justify-content:center;padding:6px 0 10px}
html body #books>.lc-panel-head{display:none}
html body #books #lesson-texts{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:0}
html body #books #lesson-texts .lesson-text-content{width:100%;max-width:960px}
html body #books #lesson-texts{align-items:center}

/* ---------- 作业：平时只显示一个小标签，点开才有内容 ---------- */
html body .notice-homework span,html body .notice-homework small{display:none!important}
html body .notice-homework{cursor:pointer;display:flex;align-items:center;gap:8px}
html body .notice-homework::after{content:var(--mc-ui-d67748b932,"点开看 ›");margin-left:auto;padding:1px 12px;border-radius:999px;background:#fff3d6;border:2px solid #f0c880;color:#8a5a14;font-size:14px}
html body .notice-homework:hover::after{background:#ffe9b8}
html body #home-assignment .lesson-homework:not(.is-unassigned){display:none}
.home-open{margin-top:6px;min-height:42px;padding:4px 24px;border:3px solid #8a4a2b;border-radius:999px;background:#fff3d6;color:#6a4128;font-size:17px;cursor:pointer;box-shadow:0 3px 0 #e9cf9f;transition:transform .12s}
.home-open:hover{transform:translateY(-2px) rotate(-.8deg);background:#ffe9b8}
.detail-text{font-size:22px;line-height:1.8;color:#3b2a1e;letter-spacing:.05em}
.detail-text p{margin:0}
.detail-text .lesson-homework{margin:0;padding:0;border:0;background:none;color:inherit}
.detail-text .lesson-homework strong{display:none}
html body #home-assignment .lesson-homework{display:none!important}

/* 课程卡：手绘序号徽章和丝带标签 */
html body #outline-list .kid-num{background:url(/assets/art/ui/number-badge.webp) center/100% 100% no-repeat!important;box-shadow:none!important;width:44px!important;height:44px!important;font-size:18px!important;color:#3b2a1e!important;padding:0 0 1px;display:grid;place-items:center;border:0!important}
html body #outline-list .kid-pic .day-tag{background:url(/assets/art/ui/ribbon-pink.webp) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;color:#6a4128!important;min-width:64px;padding:5px 20px!important;text-align:center}
html body #outline-list .kid-pic .day-tag.kid-trial{background-image:url(/assets/art/ui/ribbon-yellow.webp)!important}

/* 课程目录卡片：只留日期，笔画等放进「本课详情」和课里 */
html body #outline-list .kid-body .kid-tags,html body #outline-list .kid-body .kid-chars{display:none!important}
html body #outline-list .kid-body .kid-texts{display:none!important}
html body #outline-list .kid-more dd.lc-strokes svg{width:28px;height:28px;color:#3b2a1e}
.detail-card dd,.detail-card dd *{font-size:18px!important;line-height:1.55!important}
.detail-card dd.lc-chars,.detail-card dd .lc-chars{letter-spacing:.12em}
.detail-card dt{font-size:15px!important}
.detail-card dd svg.stroke-ico{width:32px!important;height:32px!important}
.detail-card{max-height:min(92vh,640px);overflow:auto}

/* ---------- 你画的图标：步骤、工具栏、提醒栏、本课详情 ---------- */
html body .flow-steps [data-flow] span{background:transparent!important;box-shadow:none!important;border:0!important}
html body .flow-steps [data-flow="warm"] span::before,html body .flow-steps [data-flow="stroke"] span::before,html body .flow-steps [data-flow="learn"] span::before,html body .flow-steps [data-flow="quiz"] span::before,html body .flow-steps [data-flow="write"] span::before,html body .flow-steps [data-flow="combo"] span::before,html body .flow-steps [data-flow="play"] span::before{content:""!important;display:block;width:30px;height:30px;background:center/contain no-repeat}
html body .flow-steps [data-flow="warm"] span::before{background-image:url(/assets/art/steps/warm.webp)}
html body .flow-steps [data-flow="stroke"] span::before{background-image:url(/assets/art/steps/stroke.webp)}
html body .flow-steps [data-flow="learn"] span::before{background-image:url(/assets/art/steps/learn.webp)}
html body .flow-steps [data-flow="quiz"] span::before{background-image:url(/assets/art/steps/choose.webp)}
html body .flow-steps [data-flow="write"] span::before{background-image:url(/assets/art/steps/write.webp)}
html body .flow-steps [data-flow="combo"] span::before{background-image:url(/assets/art/steps/combine.webp)}
html body .flow-steps [data-flow="play"] span::before{background-image:url(/assets/art/steps/play.webp)}
html body .flow-steps [data-flow] span{width:30px!important;height:30px!important;display:inline-grid;place-items:center}

html body .panel-buttons>*{display:inline-flex;align-items:center;gap:6px}
html body .panel-buttons>a[href^="/hanzi"]::before,html body .panel-buttons>a[href="/rules.html"]::before,html body .panel-buttons>.pinyin-toggle::before,html body .panel-buttons>#classroom::before{content:"";width:24px;height:24px;background:center/contain no-repeat;flex:none}
html body .panel-buttons>a[href^="/hanzi"]::before{background-image:url(/assets/art/tool-hanzi.webp)}
html body .panel-buttons>a[href="/rules.html"]::before{background-image:url(/assets/art/tool-rules.webp)}
html body .panel-buttons>.pinyin-toggle::before{background-image:url(/assets/art/tool-pinyin.webp)}
html body .panel-buttons>#classroom::before{background-image:url(/assets/art/tool-screen.webp)}

html body .notice-icon{width:28px!important;height:28px!important;object-fit:contain;flex:none}

html body .detail-card dt[data-k="作业"]::before,html body .detail-card dt[data-k="预习"]::before,html body .detail-card dt[data-k="录音"]::before{content:"";display:block;width:30px;height:30px;margin:0 0 3px;background:center/contain no-repeat}
html body .detail-card dt[data-k="作业"]::before{background-image:url(/assets/art/detail-homework.webp)}
html body .detail-card dt[data-k="预习"]::before{background-image:url(/assets/art/detail-preview.webp)}
html body .detail-card dt[data-k="录音"]::before{background-image:url(/assets/art/detail-audio.webp)}

/* 本节课·玩：和「游戏」标签一样的图片卡片，一屏 5×2 */
html body .flow-stage .play-grid.game-hub{height:100%;min-height:300px;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:2px}
html body .flow-stage .play-card::before{content:none!important}
html body .flow-stage .play-card{min-height:0;width:auto}
@media(max-width:760px){html body .flow-stage .play-grid.game-hub{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:140px}}

/* ---------- 你画的细节图：笔画记忆、相框、答案卡、加号和箭头 ---------- */
.stroke-mem{display:block;width:clamp(70px,16vh,130px);height:clamp(70px,16vh,130px);object-fit:contain;margin:4px auto}
.combo-plus{width:28px;height:28px;object-fit:contain;vertical-align:middle;margin:0 4px}
.combo-arrow{width:42px;height:22px;object-fit:contain;vertical-align:middle;margin:0 6px}
.build-result .combo-plus{width:.7em;height:.7em}.build-result .combo-arrow{width:1em;height:.5em}
/* 选择题：照片放进相框，答案是手绘卡片 */
html body .quiz-photo-btn{display:block;width:clamp(170px,34vh,290px);aspect-ratio:385/420;padding:12% 13% 21% 13%!important;box-sizing:border-box;background:url(/assets/art/choose-photo-frame.webp) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;transform:rotate(-1.5deg)}
html body .quiz-photo-btn .quiz-photo{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:6px}
html body .quiz-options button{aspect-ratio:320/215;min-width:clamp(86px,15vh,130px);background:url(/assets/art/choose-answer-card.webp) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;font-size:clamp(34px,7vh,58px)!important;display:grid;place-items:center;padding:0 0 2% 0!important;color:#3b2a1e}
html body .quiz-options button:hover:not(:disabled){transform:translateY(-3px) rotate(-1.5deg)}
.solo-name{display:flex!important;align-items:center;justify-content:center;gap:12px}
.solo-name .stroke-mem{width:clamp(52px,9vh,84px);height:clamp(52px,9vh,84px);margin:0}

/* 热身：先回忆再翻开——字和拼音先遮住，点一下才出现并朗读 */
html body .warm-all:not(.is-all) .warm-card:not(.is-open) .warm-card-char,html body .warm-all:not(.is-all) .warm-card:not(.is-open) .py{visibility:hidden}
html body .warm-all:not(.is-all) .warm-card:not(.is-open){position:relative}
html body .warm-all:not(.is-all) .warm-card:not(.is-open)::after{content:"?";position:absolute;left:0;right:0;bottom:6%;text-align:center;font-size:clamp(26px,5vh,44px);color:#c99a6a;pointer-events:none}
html body .warm-all{position:relative}
.warm-tools{position:absolute;left:4px;top:4px;z-index:2}
.warm-tools button{min-height:32px!important;padding:2px 14px!important;font-size:15px!important}

/* 认：图放进手绘纸框；三步用演变纸条当导航（格子位置按图量出来） */
html body #visual-stage{display:flex!important;flex-direction:column;align-items:center;gap:6px}
html body #visual-stage .visual-prompt{display:flex;justify-content:center;gap:10px;margin:0}
html body #visual-stage .visual-prompt h3{margin:0;font-size:clamp(20px,3.4vh,28px);font-weight:400;color:#6a4128}
html body #visual-stage .visual-prompt span{display:none}
html body #visual-stage .picture-stage{background:transparent!important;border:0!important;padding:0;display:flex;justify-content:center;width:100%}
html body #visual-stage .recognition-picture{background:#fff8e0!important;border:5px dashed #c99a6a!important;border-radius:26px!important;padding:8px!important;max-width:min(100%,640px);box-shadow:0 5px 0 #e9cf9f!important;overflow:hidden}
html body #visual-stage .recognition-picture img{display:block;max-height:34vh;width:auto;max-width:100%;border-radius:16px}
html body #visual-stage .step-controls{display:flex!important;flex-direction:column!important;align-items:center;gap:6px;width:100%}
html body #visual-stage .step-controls #visual-prev{display:none}
html body #visual-stage .evo-strip{position:relative;width:min(520px,92%);aspect-ratio:420/107;background:url(/assets/art/learn-evolution-frame.webp) center/100% 100% no-repeat}
html body #visual-stage .evo-strip button{position:absolute;top:22%;height:57%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#6a4128;border-radius:12px}
html body #visual-stage .evo-strip button:nth-child(1){left:5.2%;width:22.7%}
html body #visual-stage .evo-strip button:nth-child(2){left:38.1%;width:22.4%}
html body #visual-stage .evo-strip button:nth-child(3){left:71.2%;width:23.6%}
html body #visual-stage .evo-strip button b{font-size:clamp(18px,3.4vh,26px);font-weight:400;line-height:1}
html body #visual-stage .evo-strip button span{font-size:clamp(12px,2vh,16px)}
html body #visual-stage .evo-strip button[aria-pressed="true"]{background:#bfe0a0!important;color:#2f4a1d}
html body #visual-stage #visual-next{min-width:140px;border-radius:999px!important;background:#6fb184!important;color:#fff!important;border:0!important;font-size:17px!important}

/* 认（简化）：一列——题目、大图、纸条；去掉多余按钮 */
html body .visual-lesson #visual-stage{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;padding-bottom:0!important;width:100%}
html body .visual-lesson #visual-stage .visual-prompt,html body .visual-lesson #visual-stage .picture-stage,html body .visual-lesson #visual-stage .step-controls{grid-column:auto!important;grid-row:auto!important}
html body .visual-lesson #visual-stage .picture-stage{height:auto!important;flex:0 0 auto}
html body .visual-lesson #visual-stage .recognition-picture img{max-height:30vh!important}
html body .visual-lesson #visual-stage .step-controls{flex-direction:column!important;align-items:center!important}
html body .visual-lesson #visual-stage #visual-next{display:none!important}
html body .visual-lesson .stage-learn>.lesson-actions,html body .visual-lesson .stage-learn .kids-actions{display:none!important}
html body .visual-lesson .stage-learn>.visual-character-picker{grid-column:auto!important;grid-row:auto!important}
html body .visual-lesson .stage-learn>#visual-stage{grid-column:auto!important;grid-row:auto!important}

/* 「下一次」那张卡和其他卡一样的边框（有丝带标签就够了） */
html body #outline-list>.lc-card.is-current,html body #outline-list .kid-card.is-current{border:3px solid var(--line,#d3e7cd)!important;box-shadow:0 5px 0 var(--line,#d3e7cd)!important}
html body .visual-lesson #visual-stage .visual-prompt{display:none!important}
html body .visual-lesson #visual-stage .recognition-picture img{max-height:22vh!important}
html body .visual-lesson #visual-stage .evo-strip{width:min(360px,70%)!important}
html body .visual-lesson #visual-stage{gap:8px!important}

/* 「下一次」「试听」标签：不要丝带和边框，只是一个干净的小圆标签 */
html body #outline-list .kid-pic .day-tag,html body #outline-list .kid-pic .day-tag.kid-trial{background:#fffdf3e8!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:999px!important;color:#6a4128!important;min-width:0!important;padding:3px 14px!important;font-size:14px!important}

/* ---------- 本节课统一清理：去掉左上标题和各步标题 ---------- */
html body .visual-lesson .panel-heading .lesson-title{display:none!important}
html body .visual-lesson .panel-heading{justify-content:flex-end!important}
html body .visual-lesson .flow-title{display:none!important}

/* 笔：笔画用图形，按钮一行同一风格 */
html body .solo-name{display:flex!important;align-items:center;justify-content:center;gap:16px}
html body .solo-name .stroke-ico{width:clamp(64px,13vh,110px);height:clamp(64px,13vh,110px);color:#e8737a}
html body .solo-name .stroke-mem{width:clamp(64px,13vh,110px);height:clamp(64px,13vh,110px)}
html body .solo-row{display:flex;flex-wrap:nowrap;gap:8px;justify-content:center;align-items:center;margin:10px 0 6px}
html body .solo-row button{white-space:nowrap;min-height:44px;padding:4px 16px!important;border:3px dashed #c99a6a!important;border-radius:999px!important;background:#fff8e0!important;color:#6a4128!important;font-size:18px!important;box-shadow:none!important}
html body .solo-row button.solid{background:#6fb184!important;border:3px solid #6fb184!important;color:#fff!important}
html body .solo-row button:hover{transform:translateY(-2px) rotate(-1deg)}
html body .solo-dots{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:6px}
html body .solo-dots span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff8e0;border:3px dashed #e0cfa6;color:#c9b88a;padding:0!important}
html body .solo-dots span .stroke-ico{width:26px;height:26px}
html body .solo-dots span.is-now{border-style:solid;border-color:#6fb184;background:#dff1e0;color:#2d6a43}
html body .solo-dots span.is-done{color:#6fb184;border-color:#6fb184}

/* 认：三步用三个同风格的胶囊按钮（不再用纸条图） */
html body #visual-stage .evo-pills{display:flex;gap:10px;justify-content:center}
html body #visual-stage .evo-pills button{min-height:44px;padding:4px 22px!important;border:3px dashed #c99a6a!important;border-radius:999px!important;background:#fff8e0!important;color:#6a4128!important;font-size:19px!important;box-shadow:none!important}
html body #visual-stage .evo-pills button[aria-pressed="true"]{background:#6fb184!important;border:3px solid #6fb184!important;color:#fff!important}
html body .solo-row [data-solo-find]{background:#fff8e0!important;color:#6a4128!important;border:3px dashed #c99a6a!important}

/* 选：拼音提示和答案用同一种手绘卡片 */
html body .quiz-pinyin{display:grid!important;place-items:center;width:clamp(170px,30vh,270px);aspect-ratio:320/215;padding:0 0 2%!important;background:url(/assets/art/choose-answer-card.webp) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#3b2a1e!important;font-size:clamp(34px,7vh,56px)!important}
html body .quiz-pinyin:hover{transform:translateY(-3px) rotate(-1.5deg)}

/* 写：一行控件、手绘田字格、去掉小标题 */
html body .visual-lesson #flow-stage .flow-title,html body .visual-lesson #flow-stage.stage-write .flow-title{display:none!important}
html body .sp-colors{display:none!important}
html body .sp[data-mode="watch"] .sp-pause{display:inline-flex!important}
html body .sp:not([data-mode="watch"]) .sp-pause{display:none!important}
html body .sp-bar{display:flex!important;justify-content:center;align-items:center;gap:10px;flex-wrap:nowrap;margin:2px 0 6px}
html body .sp-modes,html body .sp-tools{display:flex;gap:8px}
html body .sp-bar button{white-space:nowrap;min-height:42px;padding:4px 16px!important;border:3px dashed #c99a6a!important;border-radius:999px!important;background:#fff8e0!important;color:#6a4128!important;font-size:18px!important;box-shadow:none!important}
html body .sp-bar button[aria-pressed="true"]{background:#6fb184!important;border:3px solid #6fb184!important;color:#fff!important}
html body .sp-stage.writing-grid{background:url(/assets/art/ui/writing-grid-white.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0;box-sizing:border-box}
html body .sp-body{justify-content:center!important;gap:24px}
html body .sp-bar::before,html body .sp-bar::after{display:none!important;content:none!important}

/* 热：「复习」一行小字，「本节课」6 列图片卡（固定宽度，一屏放下） */
html body .warm-all{display:flex!important;flex-direction:column;align-items:center;gap:10px;width:100%;position:relative}
html body .warm-all .warm-group{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;margin:0!important;width:100%}
html body .warm-all .warm-group h3{margin:0!important;padding:2px 14px;border-radius:999px;background:#fff8e0;border:3px dashed #c99a6a;color:#6a4128;font-size:15px;font-weight:400;writing-mode:horizontal-tb!important;transform:none!important;flex:none}
html body .warm-all .warm-group.is-new h3{display:none!important}
html body .warm-all .warm-group.is-review .warm-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:6px;grid-template-columns:none!important}
html body .warm-all .warm-group.is-review .warm-card{width:44px;min-height:0;padding:2px 0!important;border:3px solid #d3e7cd!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 0 #d3e7cd}
html body .warm-all .warm-group.is-review .warm-card-char{font-size:26px!important;line-height:1.1}
html body .warm-all .warm-group.is-review .py{display:none}
html body .warm-all .warm-group.is-new .warm-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,132px))!important;gap:12px;justify-content:center}
html body .warm-all .warm-group.is-new .warm-card{border:3px solid #d3e7cd!important;border-radius:20px!important;background:#fff!important;box-shadow:0 4px 0 #d3e7cd;overflow:hidden;padding:0!important}
html body .warm-all .warm-card-img img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
html body .warm-all .warm-group.is-new .warm-card-char{font-size:44px!important;line-height:1.15}
html body .warm-tools{position:absolute!important;right:4px;top:-2px;z-index:2;margin:0}
html body .warm-all .warm-group.is-review,html body .warm-all .warm-group.is-new{grid-column:auto;grid-row:auto}
@media(max-width:760px){html body .warm-all .warm-group.is-new .warm-grid{grid-template-columns:repeat(3,minmax(0,132px))!important}}

/* 热（字很多、没有图的课，如进阶汉语）：10 列的小卡片 */
html body .warm-all .warm-group.is-new.is-compact .warm-grid{grid-template-columns:repeat(10,minmax(0,78px))!important;gap:8px}
html body .warm-all .warm-group.is-new.is-compact .warm-card{padding:4px 0 2px!important;border-radius:16px!important}
html body .warm-all .warm-group.is-new.is-compact .warm-card-char{font-size:36px!important}
html body .warm-all .warm-group.is-new.is-compact .warm-card .py{font-size:12px}
html body .warm-all .warm-group.is-new.is-compact h3{display:inline-block!important}
html body .warm-tools{position:static!important;margin:0 0 0 4px;display:inline-flex}
html body .warm-tools button{min-height:30px!important;padding:2px 12px!important;font-size:14px!important;border:3px dashed #c99a6a!important;border-radius:999px!important;background:#fff8e0!important;color:#6a4128!important}

/* 课文：封面卡压成一行小条，给下面的阅读页让出高度 */
html body .stage-text .text-reader-nav{display:flex!important;align-items:center;justify-content:center;gap:12px;height:auto!important;min-height:0}
html body .stage-text .text-picks{display:flex!important;gap:8px;height:auto!important;flex-wrap:nowrap}
html body .stage-text .text-pick{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;height:52px!important;min-height:0!important;padding:4px 12px 4px 6px!important;border:3px solid #d3e7cd!important;border-radius:16px!important;background:#fff!important;box-shadow:0 3px 0 #d3e7cd;width:auto!important;text-align:left}
html body .stage-text .text-pick.is-on{border-color:#6fb184!important;background:#eef7ec!important}
html body .stage-text .text-pick img{height:40px!important;width:auto!important;max-width:60px;object-fit:cover;border-radius:6px;aspect-ratio:auto!important}
html body .stage-text .text-pick small,html body .stage-text .text-pick em{display:none!important}
html body .stage-text .text-open{display:inline-flex;margin:0!important}
html body .stage-text .text-view{flex:1 1 auto;min-height:0}
html body .stage-text .lesson-text-frame{height:100%!important;min-height:230px}

/* 热（翻页版）：一页最多 6 个字，左右箭头；先复习、再本节课 */
html body .warm-paged{display:flex!important;flex-direction:column;align-items:center;gap:10px;width:100%}
html body .warm-paged .warm-top{display:flex;align-items:center;justify-content:center;gap:12px}
html body .warm-paged .warm-label{padding:3px 20px;border-radius:999px;background:#fff8e0;border:3px dashed #c99a6a;color:#6a4128;font-size:20px}
html body .warm-paged .warm-label.is-new{background:#dff1e0;border-color:#a8d4b1;color:#2d6a43}
html body .warm-paged .warm-pager{display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,24px);width:100%}
html body .warm-paged .warm-arrow{flex:none;width:56px;height:56px;border-radius:50%!important;border:3px dashed #c99a6a!important;background:#fff8e0!important;color:#6a4128!important;font-size:34px!important;line-height:1;padding:0 0 4px!important;box-shadow:none!important}
html body .warm-paged .warm-arrow:disabled{opacity:.3}
html body .warm-paged .warm-arrow:hover:not(:disabled){background:#bfe0a0!important;transform:scale(1.08)}
html body .warm-paged .warm-row{display:grid!important;grid-template-columns:repeat(var(--n,6),minmax(0,150px))!important;gap:12px;justify-content:center;margin:0}
html body .warm-paged .warm-card{border:3px solid #d3e7cd!important;border-radius:22px!important;background:#fff!important;box-shadow:0 4px 0 #d3e7cd;overflow:hidden;padding:0 0 4px!important}
html body .warm-paged .warm-card-img img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
html body .warm-paged .warm-card-char{font-size:clamp(46px,9vh,80px)!important;line-height:1.2}
html body .warm-paged .warm-card:not(:has(.warm-card-img)){min-height:clamp(120px,24vh,190px);display:grid;place-items:center}
html body .warm-paged .warm-dots{display:flex;gap:7px;justify-content:center}
html body .warm-paged .warm-dots i{width:10px;height:10px;border-radius:50%;background:#e0cfa6}
html body .warm-paged .warm-dots i.is-new{background:#a8d4b1}
html body .warm-paged .warm-dots i.is-now{background:#6fb184;transform:scale(1.4)}
html body .warm-paged .warm-card:not(:has(.warm-card-img)):not(.is-open)::after{bottom:auto!important;top:50%;transform:translateY(-50%);font-size:clamp(40px,8vh,64px)!important}

/* 短片：大小合适，右上角有关闭按钮 */
.clip-box{position:relative;display:block;width:fit-content;max-width:min(100%,520px);margin:10px auto 0}
.clip-box video{display:block;max-width:100%;max-height:32vh;border:5px dashed #c99a6a;border-radius:22px;background:#1f2a24}
.clip-close{position:absolute;top:-14px;right:-14px;width:46px;height:46px;border-radius:50%;border:3px solid #c99a6a;background:#fff8e0;color:#6a4128;font-size:30px;line-height:1;padding:0 0 4px;cursor:pointer;box-shadow:0 3px 0 #e9cf9f;z-index:3}
.clip-close:hover{background:#ffe3e3}

/* 认：左右箭头 + 小圆点（和「热」一样），题目文字保留 */
html body #visual-stage .visual-prompt{display:flex!important;justify-content:center}
html body #visual-stage .visual-prompt h3{font-size:clamp(18px,3vh,24px)}
html body #visual-stage .picture-stage{display:flex!important;align-items:center;justify-content:center;gap:clamp(8px,2vw,22px);width:100%}
html body .pg-arrow{flex:none;width:56px;height:56px;border-radius:50%!important;border:3px dashed #c99a6a!important;background:#fff8e0!important;color:#6a4128!important;font-size:34px!important;line-height:1;padding:0 0 4px!important;box-shadow:none!important}
html body .pg-arrow:disabled{opacity:.3}
html body .pg-arrow:hover:not(:disabled){background:#bfe0a0!important;transform:scale(1.08)}
html body #visual-stage .evo-dots{display:flex;gap:10px;justify-content:center}
html body #visual-stage .evo-dots button{width:14px;height:14px;padding:0!important;border-radius:50%!important;border:0!important;background:#e0cfa6!important;min-height:0!important}
html body #visual-stage .evo-dots button[aria-pressed="true"]{background:#6fb184!important;transform:scale(1.4)}
html body #visual-stage .clip-stage{display:flex;justify-content:center}

/* 作业与复习：今天的作业直接写在卡片里；更多好玩的整张卡直接跳转 */
html body #home-assignment .lesson-homework:not(.is-unassigned){display:block!important;margin:6px 0 0}
html body #home-assignment h3{display:block!important;margin:2px 0 0;font-size:16px;font-weight:400;color:#7b887f}
html body #home-assignment .lesson-homework{text-align:left;font-size:clamp(15px,2.3vh,19px);line-height:1.55;color:#3b2a1e}
html body #home-assignment .lesson-homework strong{display:none}
html body #home-assignment .lesson-homework p{margin:0;display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}
html body #home-assignment .home-art{width:clamp(70px,13vh,110px)!important;height:clamp(70px,13vh,110px)!important;margin-bottom:0}
html body #home-assignment .home-head small:empty,html body .home-card.is-more .home-head small:empty{display:none}
html body #home-assignment .hw-pager{display:flex;gap:14px;justify-content:center;margin-top:8px}
html body #home-assignment .hw-arrow{width:44px;height:44px;border-radius:50%;border:3px dashed #c99a6a;background:#fff8e0;color:#6a4128;font-size:28px;line-height:1;padding:0 0 3px;cursor:pointer}
html body #home-assignment .hw-arrow:disabled{opacity:.3;cursor:default}
html body .home-card.is-more{cursor:pointer}
html body .home-card.is-more::after{content:var(--mc-ui-feec6d035b,"打开看看 ›");display:inline-block;margin-top:10px;padding:8px 24px;border-radius:999px;background:#8a63c4;color:#fff;font-size:17px;box-shadow:0 4px 0 #6f4ea6}

/* 热：未翻开时，字所在的位置显示「？」；翻开后字出现在同一个位置（不再跳动） */
html body .warm-paged .warm-card{display:flex!important;flex-direction:column;align-items:center;justify-content:center}
html body .warm-paged .warm-card:not(:has(.warm-card-img)){min-height:clamp(120px,24vh,190px)}
html body .warm-paged .warm-card .warm-card-char{display:block;width:100%;text-align:center;visibility:visible!important}
html body .warm-paged .warm-card:not(.is-open) .warm-card-char{font-size:0!important}
html body .warm-paged .warm-card:not(.is-open) .warm-card-char::before{content:"?";font-size:clamp(46px,9vh,80px);color:#c99a6a;line-height:1.2}
html body .warm-paged .warm-all:not(.is-all) .warm-card:not(.is-open)::after,html body .warm-paged .warm-card::after{content:none!important;display:none!important}
html body .warm-paged.is-all .warm-card .warm-card-char{font-size:clamp(46px,9vh,80px)!important}
html body .warm-paged.is-all .warm-card .warm-card-char::before{content:none!important}
html body .warm-paged .warm-card .py{order:-1;font-size:16px}
html body .warm-paged .warm-card:not(.is-open) .py{visibility:hidden}
html body .warm-paged.is-all .warm-card .py{visibility:visible}

/* 笔：按钮往上靠，紧挨着笔画 */
html body .solo-wrap{align-items:flex-start!important}
html body .solo-side{align-self:flex-start!important;justify-content:flex-start!important;gap:6px}
html body .solo-name{margin:0!important}
html body .solo-row{margin:4px 0 4px!important}

/* 选：每道题的提示框一样高（拼音、照片、数笔画都一样大），竖图不再过大 */
html body .quiz-prompt{display:flex;justify-content:center;align-items:center;height:clamp(150px,27vh,240px)}
html body .quiz-prompt .quiz-pinyin,html body .quiz-prompt .quiz-photo-btn,html body .quiz-prompt .quiz-char-box{height:100%!important;width:auto!important}
html body .quiz-prompt .quiz-pinyin{aspect-ratio:320/215;min-width:clamp(220px,40vh,360px)}
html body .quiz-prompt .quiz-photo-btn{aspect-ratio:385/420}
html body .quiz-prompt .quiz-photo-btn .quiz-photo{object-fit:cover}
html body .quiz-prompt .quiz-char{display:grid;place-items:center;height:100%;aspect-ratio:320/215;min-width:clamp(220px,40vh,360px);background:url(/assets/art/choose-answer-card.webp) center/100% 100% no-repeat;font-size:clamp(60px,12vh,100px);color:#3b2a1e}
html body .quiz-prompt p{display:none}
html body .quiz-prompt .quiz-char::after{content:var(--mc-ui-f28b7f9fc0,"几笔？");font-size:.38em;margin-left:.4em}

/* 课程目录卡片：「下一次」「试听」都在图片右上角；日期在下面居中、醒目 */
html body #outline-list .kid-pic .day-tag,html body #outline-list .kid-pic .day-tag.kid-trial{top:8px!important;right:8px!important;bottom:auto!important;left:auto!important}
html body #outline-list .kid-pic .day-tag.kid-trial{top:40px!important}
html body #outline-list .kid-pic .day-tag:only-of-type.kid-trial,html body #outline-list .kid-pic .kid-trial:first-of-type{top:8px!important}
html body #outline-list .kid-date{text-align:center!important;font-size:clamp(18px,2.8vh,24px)!important;font-weight:600!important;color:#3b2a1e!important;margin:8px 0 6px!important;letter-spacing:.04em}

/* 写：控件一行居中；整页居中 */
html body .sp{width:100%;display:flex;flex-direction:column;align-items:center}
html body .sp-bar{width:100%;justify-content:center!important}
html body .sp-modes,html body .sp-tools{justify-content:center}
html body .sp-body{width:100%;justify-content:center!important}
/* 点：水滴转个方向——笔尖朝左上，圆头在右下，和「丶」一样 */
html body img.stroke-mem[src*="/dian."]{transform:rotate(-38deg)}
html body .sp-body{width:fit-content!important;max-width:100%;margin:0 auto!important;display:flex!important;justify-content:center!important;gap:24px}
html body .sp-left,html body .sp-right{flex:none}
html body .sp-right{flex:0 1 420px!important;min-width:260px}
html body .sp-rail{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px}
html body .sp-rail li{flex:0 0 auto}

/* 作业等纯文字弹窗：文字居中、放大 */
html body .detail-card:has(.detail-text){text-align:center}
html body .detail-card:has(.detail-text) h3{text-align:center}
html body .detail-card:has(.detail-text) h3 small{display:block;margin-top:4px}
html body .detail-text{text-align:center;font-size:clamp(22px,3.4vh,30px)}

/* 选：拼音提示不要底框，大小和下面的字差不多 */
html body .quiz-pinyin{background:none!important;aspect-ratio:auto!important;width:auto!important;min-width:0!important;height:auto!important;border:0!important;font-size:clamp(46px,9vh,72px)!important;letter-spacing:.04em;padding:0 20px!important}
html body .quiz-prompt .quiz-pinyin{min-width:0!important}
/* 热：卡片固定宽度，列数随屏幕宽度增加，最后一页的空位保持在右边不拉伸 */
html body .warm-paged .warm-row{grid-template-columns:repeat(var(--n,6),132px)!important;justify-content:center}
/* 笔：左右箭头在最两侧 */
html body .solo-wrap{display:flex!important;align-items:center!important;justify-content:center;gap:clamp(10px,3vw,40px);width:100%}

/* 每一步右下角的小熊猫向导（不挡内容、不能点） */
html body .visual-lesson .flow-stage{position:relative}
html body .visual-lesson .flow-stage::after{content:"";position:absolute;right:6px;bottom:4px;width:clamp(64px,11vh,104px);aspect-ratio:1;background:center/contain no-repeat;pointer-events:none;z-index:0}
html body .visual-lesson .flow-stage.stage-warm::after{background-image:url(/assets/art/panda-steps/warm.webp)}
html body .visual-lesson .flow-stage.stage-stroke::after{background-image:url(/assets/art/panda-steps/stroke.webp)}
html body .visual-lesson .flow-stage.stage-learn::after{background-image:url(/assets/art/panda-steps/learn.webp)}
html body .visual-lesson .flow-stage.stage-quiz::after{background-image:url(/assets/art/panda-steps/choose.webp)}
html body .visual-lesson .flow-stage.stage-write::after{background-image:url(/assets/art/panda-steps/write.webp)}
html body .visual-lesson .flow-stage.stage-combo::after{background-image:url(/assets/art/panda-steps/combine.webp)}
html body .visual-lesson .flow-stage.flow-game-stage::after{background-image:url(/assets/art/panda-steps/play.webp)}
@media(max-width:760px){html body .visual-lesson .flow-stage::after{display:none}}
html body #home-assignment .home-art{width:clamp(52px,9vh,78px)!important;height:clamp(52px,9vh,78px)!important}
html body #home-assignment .lesson-homework p{-webkit-line-clamp:5!important}
html body #home-assignment .lesson-homework{cursor:pointer}
html body #home-assignment .lesson-homework:not(.is-unassigned)::after{content:var(--mc-ui-094511df29,"点开看全文 ›");display:block;margin-top:4px;font-size:13px;color:#8a63c4;text-align:center}
html body #home-assignment .hw-pager{margin-top:6px}
html body #home-assignment .home-head b{font-size:20px}
html body #home-assignment{position:relative}
html body #home-assignment .hw-pager{position:absolute;top:10px;right:10px;margin:0;gap:6px}
html body #home-assignment .hw-arrow{width:34px;height:34px;font-size:22px;padding:0 0 2px}

/* 进阶「课文与练习」：和其他页一样的手绘卡片 */
html body #books .assigned-text.text-card{border:3px solid #d3e7cd!important;border-radius:26px!important;box-shadow:0 5px 0 #d3e7cd!important;background:#fff!important;transition:transform .14s}
html body #books .assigned-text.text-card:hover{transform:translateY(-4px) rotate(-1deg)}
html body #books .assigned-text.text-card strong,html body #books .assigned-text.text-card span{color:#3b2a1e}
html body #books .jj-books{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html body #books .jj-book{display:flex;align-items:center;gap:10px;padding:10px 14px!important;background:#fff!important;border:3px solid #d3e7cd!important;border-radius:20px!important;box-shadow:0 3px 0 #d3e7cd!important;color:#2d6a43!important;text-decoration:none;transition:transform .14s}
html body #books .jj-book:hover{transform:translateY(-3px) rotate(-1deg)}
html body #books .jj-book img{width:40px;height:auto;border-radius:6px}
html body #books .jj-book-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eef7ec;color:#2d6a43}
@media(max-width:900px){html body #books .jj-books{grid-template-columns:1fr 1fr}}

/* 启蒙汉语：先不出现拼音（只有进阶汉语有拼音） */
body.learning-page:not(.jinjie-page) .py,
body.learning-page:not(.jinjie-page) rt,
body.learning-page:not(.jinjie-page) .card-pinyin,
body.learning-page:not(.jinjie-page) .plain-py,
body.learning-page:not(.jinjie-page) .pinyin-toggle,
body.learning-page:not(.jinjie-page) [data-pinyin-toggle]{display:none!important}
body.learning-page:not(.jinjie-page) .card-speaker{font-size:20px}
body.learning-page:not(.jinjie-page) .card-speaker.is-big{font-size:clamp(40px,8vh,64px)}
html body .quiz-pinyin.is-speaker{font-size:clamp(46px,9vh,72px)!important}

/* =====================  做减法：更简单、更统一  ===================== */
/* 1. 本节课、作业、课文：暖色（黄、橘、棕），不再用蓝、紫、青 */
body.learning-page[data-view=lesson],body.learning-page[data-view=text]{--accent:#c98a2e;--accent-dark:#9f6a1b;--soft:#fff3dc;--line:#f0d9ae}
body.learning-page[data-view=home]{--accent:#b9783a;--accent-dark:#8f5a28;--soft:#fbeedd;--line:#ecd2b2}

/* 2. 田字格：用简单的线画（和汉字书写工具一样），汉字正好在格子正中 */
html body #flow-stage .solo-box.writing-grid,html body #flow-stage .sp-stage.writing-grid,html body #flow-stage .finder-box.writing-grid,html body #activity-finder .finder-box.writing-grid,html body #flow-stage #solo.solo-box{
 background:
  linear-gradient(to right,transparent calc(50% - .75px),#e6d3b8 calc(50% - .75px),#e6d3b8 calc(50% + .75px),transparent calc(50% + .75px)),
  linear-gradient(to bottom,transparent calc(50% - .75px),#e6d3b8 calc(50% - .75px),#e6d3b8 calc(50% + .75px),transparent calc(50% + .75px)),
  #fff!important;
 border:3px solid #9a5f2c!important;border-radius:12px!important;box-shadow:none!important;padding:0!important;box-sizing:border-box!important}
html body .solo-box svg,html body .finder-box svg{display:block;margin:0!important}
html body #flow-stage .solo-box.writing-grid{width:clamp(200px,38vh,320px)!important;height:clamp(200px,38vh,320px)!important}

/* 3. 按钮：没有虚线框，没有图标，只是干净的文字按钮 */
html body .solo-row button,html body .sp-bar button,html body #visual-stage .evo-pills button{border:0!important;background:var(--soft,#fff3dc)!important;color:#6a4128!important;box-shadow:none!important;border-radius:999px!important;padding:6px 20px!important;font-size:19px!important}
html body .solo-row button.solid,html body .sp-bar button[aria-pressed="true"],html body #visual-stage .evo-pills button[aria-pressed="true"]{background:var(--accent,#c98a2e)!important;color:#fff!important;border:0!important}
html body .solo-row [data-solo-find]{background:var(--soft,#fff3dc)!important;color:#6a4128!important;border:0!important}

/* 4. 选择题：背后什么都没有，直接显示字 */
html body .quiz-options button{background:none!important;border:0!important;border-bottom:5px solid transparent!important;border-radius:0!important;box-shadow:none!important;aspect-ratio:auto!important;min-width:clamp(80px,13vh,120px);font-size:clamp(54px,11vh,92px)!important;padding:0 14px!important;color:#3b2a1e!important;line-height:1.2}
html body .quiz-options button:hover:not(:disabled){border-bottom-color:var(--accent,#c98a2e)!important;transform:none}
html body .quiz-prompt .quiz-photo-btn{background:none!important;padding:0!important;aspect-ratio:auto!important;width:auto!important;height:auto!important;transform:none!important;border:0!important}
html body .quiz-prompt .quiz-photo-btn .quiz-photo{max-height:clamp(150px,27vh,240px);width:auto!important;height:auto!important;border-radius:18px}
html body .quiz-prompt .quiz-char{background:none!important;font-size:clamp(80px,16vh,130px);min-width:0!important}

/* 5. 组合字：直接用 ＋ 和 ＝ */
html body .combo .op,html body .build-result .op{font-style:normal;color:#9a5f2c;font-size:.7em;padding:0 .25em}
html body .combo .op,html body .build-result .op{font-size:1.1em!important;font-weight:700;color:#9a5f2c;padding:0 .3em;font-family:Arial,"Helvetica Neue",sans-serif!important}
html body #flow-stage .sp-stage.writing-grid{box-sizing:content-box!important}

/* =====================  再减一轮：白底、浅棕细线、一个强调色  ===================== */
html body .visual-lesson.lesson-panel-card,html body #lesson-panel>.lesson-panel-card{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body .visual-lesson .panel-heading{border-bottom:1px solid #eadfc9!important;background:none!important}
html body .visual-lesson .flow-stage{background:#fff!important}
html body .visual-lesson .flow-steps{background:none!important}

/* 步骤按钮：白底细线，当前这一步用强调色填满 */
html body .flow-steps button{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important;color:#6a4128!important}
html body .flow-steps button[aria-current="step"]{background:var(--accent,#c98a2e)!important;border-color:var(--accent,#c98a2e)!important;color:#fff!important}

/* 组合字：只有字、加号、等号，没有底色没有框 */
html body .combo-list .combo,html body .combo{background:none!important;border:0!important;box-shadow:none!important}
html body .combo .combo-part{background:none!important;border:0!important;box-shadow:none!important;color:#3b2a1e!important}
html body .combo .combo-result{background:none!important;border:0!important}
html body .combo .combo-result b{color:var(--accent-dark,#9f6a1b)!important}
html body .combo-list{gap:10px 40px}
html body .build-result{background:none!important;border:0!important;box-shadow:none!important}

/* 热：卡片白底细线，标签不要虚线 */
html body .warm-paged .warm-card{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body .warm-paged .warm-label,html body .warm-paged .warm-label.is-new,html body .warm-tools button{background:none!important;border:0!important;color:#6a4128!important;font-size:22px}
html body .warm-tools button{font-size:16px!important;text-decoration:underline;padding:0 8px!important}
html body .warm-paged .warm-arrow,html body .pg-arrow{background:#fff!important;border:2px solid #eadfc9!important;color:#6a4128!important}
html body .warm-paged .warm-dots i{background:#eadfc9}
html body .warm-paged .warm-dots i.is-new{background:#eadfc9}
html body .warm-paged .warm-dots i.is-now{background:var(--accent,#c98a2e)}

/* 笔：笔画记忆图、小圆点更安静 */
html body .solo-dots span{background:#fff!important;border:2px solid #eadfc9!important;color:#b9a784!important}
html body .solo-dots span.is-now{border-color:var(--accent,#c98a2e)!important;background:#fff!important;color:var(--accent-dark,#9f6a1b)!important}

/* 写：字在格子正中；分笔画小卡白底细线 */
html body .sp-rail li{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body .sp-rail li.is-now{border-color:var(--accent,#c98a2e)!important}

/* 认：图片框细线，三个小圆点用同一个强调色 */
html body #visual-stage .recognition-picture{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body #visual-stage .evo-dots button[aria-pressed="true"]{background:var(--accent,#c98a2e)!important}
html body #visual-stage .evo-dots button{background:#eadfc9!important}

/* 字选择条（认/写）：不要底色 */
html body .visual-character-picker button,html body .write-picker button{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body .visual-character-picker button[aria-pressed="true"],html body .write-picker button[aria-pressed="true"]{border-color:var(--accent,#c98a2e)!important;color:var(--accent-dark,#9f6a1b)!important}

/* 热：「复习 / 本节课」和「全部翻开」是并排的两个普通按钮，样式一样 */
html body .warm-paged .warm-top{gap:10px}
html body .warm-paged .warm-label,html body .warm-paged .warm-label.is-new,html body .warm-tools button{display:inline-flex;align-items:center;min-height:40px;padding:4px 20px!important;border:0!important;border-radius:999px!important;background:var(--soft,#fff3dc)!important;color:#6a4128!important;font-size:19px!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important}
html body .warm-paged .warm-label:hover,html body .warm-tools button:hover{background:var(--line,#f0d9ae)!important}

/* 组合字：每行两个，字放大，不挤成一行 */
html body .combo-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,4vh,40px) 40px;justify-items:center;align-items:center;width:100%;max-width:860px;margin:0 auto}
html body .combo-list .combo{font-size:clamp(44px,9vh,76px);display:flex;align-items:center;justify-content:center;gap:.15em;white-space:nowrap}
html body .combo .combo-part,html body .combo .combo-result b{font-size:1em}
html body .combo-list .combo{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center;gap:.1em;grid-template-columns:none!important;width:auto;padding:0!important}
html body .combo-list .combo>*{flex:none!important;margin:0!important;white-space:nowrap}
html body .combo-list .combo .combo-result{display:inline-flex;align-items:center}

/* 工具按钮（汉字库、规则、拼音、投屏）：并到步骤按钮那一行的右边，不再单独占一行 */
html body .visual-lesson.lesson-panel-card,html body #lesson-panel>.lesson-panel-card{position:relative}
html body .visual-lesson .panel-heading{position:absolute!important;top:10px;right:12px;z-index:5;padding:0!important;margin:0!important;border:0!important;background:none!important;width:auto!important;min-height:0!important}
html body .visual-lesson .panel-buttons{display:flex;gap:6px}
html body .visual-lesson .panel-buttons>*{min-height:30px!important;padding:2px 12px!important;font-size:14px!important;border:0!important;background:var(--soft,#fff3dc)!important;color:#6a4128!important;border-radius:999px!important;box-shadow:none!important}
html body .visual-lesson .panel-buttons>*::before{display:none!important}
html body .visual-lesson .flow-steps{margin-top:2px!important}
@media(max-width:1000px){html body .visual-lesson .panel-heading{position:static!important;display:flex;justify-content:flex-end;padding:6px 10px!important}}
html body .visual-lesson .stage-write .sp-stage svg,html body .visual-lesson .stage-write #flow-stroke-host .sp-stage svg,html body .visual-lesson .stage-write .sp-body .sp-stage svg{max-height:none!important;max-width:none!important}

/* 铺满画幅：内容往两边铺开，不留大片空白 */
html body .combo-list{column-gap:clamp(60px,10vw,160px)!important;max-width:none!important;width:100%}
html body .stage-write .sp-body{gap:clamp(32px,6vw,90px)!important}
html body .sp-rail{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:12px}
html body .sp-rail li{width:clamp(96px,9vw,130px)!important;height:clamp(96px,9vw,130px)!important}
html body .sp-rail li svg{width:100%!important;height:100%!important}

/* 听音提示：小而干净的喇叭线条图标 */
html body .quiz-pinyin.is-speaker{font-size:0!important;display:grid!important;place-items:center}
html body .quiz-pinyin.is-speaker .spk{width:clamp(34px,6vh,52px);height:clamp(34px,6vh,52px)}
html body .card-speaker .spk{width:clamp(28px,5vh,44px);height:clamp(28px,5vh,44px)}
html body .card-speaker.is-big .spk{width:clamp(40px,8vh,64px);height:clamp(40px,8vh,64px)}

/* 热：只显示字（没有图片），字大一点 */
html body .warm-paged .warm-card{min-height:clamp(110px,22vh,180px);display:grid!important;place-items:center}
html body .warm-paged .warm-row{grid-template-columns:repeat(var(--n,6),clamp(84px,9vw,128px))!important}
html body .warm-paged .warm-card-char,html body .warm-paged .warm-card:not(.is-open) .warm-card-char::before{font-size:clamp(52px,10vh,88px)!important}

/* 认：图片放大，占满画幅 */
html body .visual-lesson #visual-stage .recognition-picture img{max-height:none!important;height:clamp(190px,38vh,380px)!important;width:auto!important;max-width:100%!important}
html body .visual-lesson #visual-stage .recognition-picture{max-width:min(100%,760px)!important}
html body .visual-character-picker button{font-size:clamp(26px,4.4vh,40px)}
html body #activities button .spk{width:22px!important;height:22px!important;vertical-align:-4px;margin-right:4px}

/* 组：一行一个等式，「＝」对齐，结果在右边 */
html body .combo-list{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:clamp(6px,2vh,18px)!important;width:min(100%,640px)!important;margin:0 auto!important;grid-template-columns:none!important}
html body .combo-list .combo{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;column-gap:.3em;font-size:clamp(40px,8vh,68px)!important;width:100%;padding:0!important}
html body .combo-list .combo .combo-left{justify-self:end;display:inline-flex;align-items:center;white-space:nowrap}
html body .combo-list .combo .combo-result{justify-self:start}
html body .combo-list .combo>*{flex:none}

/* 游戏：背景统一成白底浅线，不要重的米黄色；说明文字 */
html body #activities,html body #activities #activity-stage,html body #activities .practice-play,html body #activities #practice-pane .practice-play{background:#fff!important;box-shadow:none!important}
html body #activities #activity-stage,html body #activities .practice-play{border:2px solid #eadfc9!important;border-radius:22px!important}
html body #activities .practice-play::before,html body #activities .practice-play::after{display:none!important}
html body #game-bar,html body .game-bar{background:none!important}
html body .hub-card{background:#fff!important;border:2px solid #eadfc9!important;box-shadow:none!important}
html body .hub-card:hover{border-color:#d9b98a!important;transform:translateY(-3px)}
html body .hub-card small{display:block;font-size:clamp(12px,1.9vh,15px);color:#8a7a62;font-weight:400;margin-top:-2px}
html body .game-hub{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body .warm-paged .warm-label,html body .warm-paged .warm-label.is-new{background:none!important;padding:0 6px!important;min-height:0!important;font-size:24px!important;color:#6a4128!important;cursor:default!important}
html body .combo .op{vertical-align:middle;line-height:1}

/* 游戏：内容在画幅里上下居中，不要都挤在上半屏 */
html body #activities .practice-play{display:flex!important;flex-direction:column;justify-content:center;align-items:center}
html body #activities #activity-stage[data-game="pairs"],html body #activities #activity-stage[data-game="listen"],html body #activities #activity-stage[data-game="strokefind"],html body #activities #activity-stage[data-game="combine"]{display:flex!important;flex-direction:column;justify-content:center;align-items:center}
html body #activities #practice-board{margin-block:auto}

/* 选：喇叭和字往上靠一点 */
html body .visual-lesson #flow-stage.stage-quiz{justify-content:flex-start!important;padding-top:clamp(6px,3vh,28px)!important;gap:clamp(14px,4vh,40px)}
html body .stage-quiz .quiz-prompt{height:auto!important;min-height:clamp(70px,14vh,130px)}
html body .stage-quiz .quiz-prompt .quiz-photo-btn .quiz-photo{max-height:clamp(120px,24vh,220px)!important}

/* 组：这节课的组合字小游戏 */
html body .cg{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(18px,5vh,44px);width:100%;min-height:100%}
html body .cg-eq{display:flex;align-items:center;justify-content:center;gap:.25em;font-size:clamp(64px,15vh,120px);line-height:1.1}
html body .cg-slot{display:inline-grid;place-items:center;width:1.15em;height:1.15em;border:3px dashed #d9c3a0;border-radius:14px;color:#3b2a1e}
html body .cg-slot.is-on{border:3px solid var(--accent,#c98a2e);background:#fff}
html body .cg-res{color:var(--accent-dark,#9f6a1b);font-weight:400}
html body .cg-opts{display:flex;gap:clamp(10px,2vw,28px);flex-wrap:wrap;justify-content:center}
html body .cg-opts button{width:1.3em;height:1.3em;font-size:clamp(44px,10vh,80px);border:2px solid #eadfc9!important;background:#fff!important;border-radius:16px!important;color:#3b2a1e!important;padding:0!important;box-shadow:none!important}
html body .cg-opts button:hover:not(:disabled){border-color:var(--accent,#c98a2e)!important}
html body .cg-opts button:disabled{opacity:.25}
html body .cg-opts button.is-bad{border-color:#d86a6a!important;animation:kid-shake .3s}
html body .cg-nav{display:flex;align-items:center;gap:18px;color:#8a7a62;font-size:18px}
html body .cg .op{font-style:normal;color:#9a5f2c;font-size:.6em;font-family:Arial,sans-serif}
/* 游戏区外层的底色也统一成白色 */
html body #activities,html body #activities #practice-pane,html body #activities #activity-pane,html body #activities .practice-footer,html body #activities .game-controls{background:#fff!important}

/* 页面切换：不要跳动——内容淡入，不滚动页面 */
@keyframes ce-fade{from{opacity:0}to{opacity:1}}
html body .visual-lesson #flow-stage>*{animation:ce-fade .18s ease-out both}

/* 组：整块内容在画幅里上下居中 */
html body .visual-lesson #flow-stage.stage-combo{display:flex!important;flex-direction:column;justify-content:center;align-items:center}
html body .stage-combo .cg{min-height:0;width:100%}

/* 难度：两个按钮 */
html body #activities .level-btns{display:inline-flex;gap:8px;align-items:center}
html body #activities .level-btns button{min-height:38px;padding:4px 18px!important;border:2px solid #eadfc9!important;border-radius:999px!important;background:#fff!important;color:#6a4128!important;font-size:17px!important;box-shadow:none!important;cursor:pointer;position:static}
html body #activities .level-btns button::before{display:none!important}
html body #activities .level-btns button[aria-pressed="true"]{background:var(--accent,#e0852a)!important;border-color:var(--accent,#e0852a)!important;color:#fff!important}

/* 页面切换：去掉淡入动画（过渡中间状态容易被看成「变回旧页面」） */
html body .visual-lesson #flow-stage>*{animation:none!important}
/* 笔顺卡片：在「下一笔」「我来写」里是隐藏的（不能把答案露出来），只有看笔顺和写完以后才显示 */
html body .sp-rail[hidden]{display:none!important}
/* 组：候选字和空格里的字，在格子里居中 */
html body .cg-opts button{display:grid!important;place-items:center;line-height:1!important}
html body .cg-slot{line-height:1!important}
