/* 统一手机界面：所有设备使用同一布局；宽屏只在两侧留白。 */
:root{--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
html{-webkit-text-size-adjust:100%;scroll-padding-top:20px}button,a,input,select{touch-action:manipulation}button{user-select:none}.mobile-only,.mobile-record-list,.mobile-person-list,.mobile-nav-more{display:none}.modal-open{overflow:hidden;overscroll-behavior:none}.modal h2{overflow-wrap:anywhere}.study-brandbar{height:64px;max-width:950px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:12px}.study-brandbar .brand small{display:none}.study-brandbar .brand-mark{height:34px;width:34px}.study-brandbar .brand strong{font-size:15px}.study-brandbar .study-person{color:var(--muted);font-size:12px;white-space:nowrap}.option{overflow-wrap:anywhere;min-width:0}.option .letter{flex-shrink:0}.mobile-record-list .btn{white-space:normal}.report-preview{user-select:auto;-webkit-touch-callout:default}.word-title>div{min-width:0}.detail-en{overflow-wrap:anywhere}.section-title>h2{min-width:0}.identity-name{max-width:80px}
@media all{
 body{font-size:15px;line-height:1.65;background:#f6f8f2}
 h1{font-size:28px;letter-spacing:-.6px}h2{font-size:22px}
 .desktop-only{display:none!important}.mobile-only{display:initial}.mobile-nav-more{display:inline-flex}
 .demo-banner{font-size:10px;padding:4px 10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar{height:64px;padding:0 16px;gap:10px}.topbar .brand{gap:8px;min-width:0;flex-shrink:1}.brand strong{font-size:15px;white-space:nowrap}.topbar .brand small{display:none}.topbar .brand-mark{height:34px;width:34px}.top-links{gap:7px!important;flex-shrink:0}.topbar .pill{max-width:110px;flex-shrink:0;padding:5px 8px 5px 5px;gap:6px;min-height:42px}.topbar .pill .avatar{width:28px;height:28px}.identity-name{max-width:55px;font-size:12px;display:block}.mobile-nav-more{min-width:44px;min-height:44px;padding:8px!important;font-size:24px!important;line-height:1;letter-spacing:2px}
 .btn{min-height:48px;border-radius:13px;font-size:15px;padding:12px 18px}.btn.small,.btn.ghost.small{min-height:44px;font-size:13px;padding:10px 12px}.close{height:44px;width:44px;flex-shrink:0}.sound{height:48px;width:48px;flex-shrink:0}.link-btn{min-height:44px}.input,input.input,select.input{font-size:16px!important;min-height:50px;border-radius:12px}.note{font-size:12px}.badge{font-size:12px}.kicker{font-size:10px;letter-spacing:1.6px}
 .main{padding:0 16px;margin:10px auto 30px}.page-header{margin:22px 0;gap:12px;align-items:center}.page-header h1{font-size:28px;overflow-wrap:anywhere;margin:4px 0 7px}.page-header p{font-size:13px}.page-header>.badge{font-size:11px;white-space:nowrap}.page-header .btn{font-size:12px;padding:10px 12px}.footer{padding:20px 18px;margin-top:25px;font-size:11px}.footer span{display:block}.demo-menu{position:static;display:flex;justify-content:center;padding:4px 16px calc(20px + var(--safe-bottom));margin:0;z-index:1}.demo-menu button{min-height:44px;background:transparent;box-shadow:none;font-size:12px;padding:10px 15px}
 /* 登录首屏首先展示表单。 */
 .landing{display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:0;padding:10px 16px 15px;max-width:480px}
 .landing-copy{padding:5px 8px 8px}.landing-copy>.kicker,.landing-copy>p,.landing-copy>.row,.mini-steps{display:none}.landing-copy h1{font-size:29px;line-height:1.4;margin:3px 0 10px;letter-spacing:-.8px}.landing-copy h1 br{display:none}.landing-copy h1 em{white-space:normal}.landing-copy h1 em:after{height:8px}.login-card{margin:0;padding:23px 21px;border-radius:22px;box-shadow:0 7px 25px #263e3408}.decor-window{display:none}.login-card>.kicker{display:none}.login-card h2{font-size:22px;margin-top:0}.login-card>.muted{font-size:13px!important}.login-form{gap:17px;margin-top:22px}.login-form .field{gap:7px}.field label{font-size:14px}.code-line{gap:8px}.code-line .btn{font-size:12px;min-width:104px;padding:11px}.login-form>.btn{font-size:16px;min-height:52px}.demo-login{font-size:12px;padding:13px;margin-top:18px;line-height:1.9}.demo-login button{min-height:30px}.login-footer{font-size:11px;margin-top:15px}
 /* 家庭与营期的选择卡片更紧凑，按钮仍保留独立触控区域。 */
 .children-grid{display:grid;grid-template-columns:1fr;gap:12px}.child-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 14px;padding:20px;border-radius:20px;align-items:center}.child-card .avatar{width:52px;height:52px;grid-column:1;grid-row:1}.child-card>div{min-width:0}.child-card h2{font-size:22px;overflow-wrap:anywhere}.child-card .btn{grid-column:1 / -1;margin-top:8px;width:100%;min-height:48px}.child-card.add-child{display:flex;min-height:94px;flex-direction:row;justify-content:flex-start;padding:18px 20px;gap:15px;text-align:left}.add-child .circle-plus{width:44px;height:44px;flex-shrink:0}.add-child h3{font-size:15px}.add-child>.note{display:none}.children-grid+.spacer{height:10px}
 .enrollment-grid{display:grid;grid-template-columns:1fr;gap:16px}.enrollment-card{padding:22px}.enrollment-card h2{font-size:24px;line-height:1.5}.enrollment-card .meta{gap:12px;font-size:13px;flex-wrap:wrap}.enrollment-card .actions{align-items:center;gap:8px}.enrollment-card .actions>.btn:first-child{flex:1}.enrollment-card .actions>.ghost{padding:10px 8px;font-size:13px}.summary-strip{padding:18px 16px;gap:12px;grid-template-columns:1fr 1fr}.summary-strip .stat:last-child{display:none}.summary-strip .stat:not(:first-child){padding-left:19px}.stat .label{font-size:12px}.stat .number{font-size:29px}.stat .number small{font-size:12px}.lesson-feature{display:block;margin-bottom:20px}.lesson-copy{padding:24px}.lesson-copy h2{font-size:25px;margin:12px 0}.lesson-copy p{font-size:13px}.lesson-copy>.btn{width:100%;min-height:52px;font-size:16px}.lesson-art{display:none}.past-report{padding:18px}.past-report .row{flex-direction:column;align-items:stretch!important;gap:12px}.past-report .btn{width:100%;min-height:46px;font-size:14px}.past-report .note{font-size:12px}.section-title small{font-size:11px}.course-grid{grid-template-columns:1fr 1fr;gap:10px}.course-tile{padding:16px}.course-tile h3{font-size:14px}.section-title{gap:12px}
 /* 答题区：缩短顶部信息，四个选项纵向排列，跳过按钮放在拇指区。 */
 body[data-view="study"]{padding-bottom:calc(88px + var(--safe-bottom))}
 body[data-view="study"] .demo-banner{display:none}
 .study-brandbar{padding:0 16px;height:54px;background:#f6f8f2;border-bottom:1px solid #e9ede3}.study-brandbar .brand strong{font-size:13px}.study-brandbar .brand-mark{height:28px;width:28px;border-radius:10px}.study-brandbar .brand{gap:8px}.study-brandbar .study-person{font-size:12px;max-width:45%;overflow:hidden;text-overflow:ellipsis}
 .study-shell{max-width:540px;padding:0 16px;margin:9px auto 14px}.study-head{margin:0 0 14px}.study-head .row.between>.row{gap:8px}.study-head .row.between>.row>.muted{font-size:13px;white-space:nowrap;color:#506e5b}.study-head .badge{font-size:10px;padding:4px 8px}.study-head .btn{min-height:44px;padding:8px 0;background:transparent;border:none;color:#6f8175;font-size:12px}.study-head .progress{margin:7px 0 0;height:5px}.study-head>.note{display:none}.study-context{display:none}
 .quiz-card{padding:20px 18px 19px;border-radius:22px;box-shadow:none}.question-type{font-size:12px;letter-spacing:0}.question-type .badge{margin-bottom:8px;font-size:11px}.question-type p{color:#7b8c7e;font-size:12px}.quiz-card h1{font-size:28px;line-height:1.5;margin:11px 0 21px;overflow-wrap:anywhere}.quiz-card h1 small{font-size:15px!important}.quiz-options{grid-template-columns:1fr;gap:10px}.option{min-height:58px;line-height:1.35;padding:14px 15px;font-size:21px;text-align:left;gap:14px;border-radius:13px;background:#fff}.option .letter{height:28px;width:28px;font-size:12px}.option:hover{background:#fff;border-color:var(--line)}.option:active{border-color:var(--green);background:#edf4e9}.skip{position:fixed;left:0;right:0;bottom:0;z-index:25;margin:0;padding:15px 18px calc(15px + var(--safe-bottom));min-height:70px;width:100%;border-top:1px solid #e4eadd;background:#f6f8f2f7;color:#6b7c6d;text-decoration:none;font-size:14px;backdrop-filter:blur(12px)}.skip::before{content:'?';display:inline-grid;place-items:center;border:1px solid #cdd8c7;border-radius:50%;width:21px;height:21px;margin-right:8px;font-size:12px}.study-note{font-size:11px;margin:14px 0 8px;color:#91a08c}
 /* 讲解与报告使用底部常驻按钮，内容保留足够的滚动留白。 */
 .feedback{padding:13px 15px;gap:9px;font-size:12px;line-height:1.7;margin-bottom:14px;overflow-wrap:anywhere}.feedback>div{min-width:0}.feedback .icon{width:20px;height:20px}.word-panel{padding:23px 22px;border-radius:22px}.word-title{gap:10px;margin-bottom:21px}.word-title .kicker{font-size:10px;letter-spacing:1.6px}.word-title h1{font-size:38px;line-height:1.2;margin:7px 0;overflow-wrap:anywhere}.phonetic{font-size:15px}.meaning-line{padding:14px 16px;font-size:17px;line-height:1.6;margin-bottom:24px}.word-detail{grid-template-columns:1fr;gap:23px}.detail-label{font-size:11px;letter-spacing:.7px;margin-bottom:8px}.detail-en{font-size:18px;line-height:1.65}.detail-cn{font-size:14px;line-height:1.75;margin-top:7px}.lecture-group{font-size:11px;line-height:1.6;margin-top:22px;padding-top:16px}.learning-actions{position:fixed;bottom:0;left:0;right:0;z-index:25;padding:12px 16px calc(12px + var(--safe-bottom));margin:0;background:#f6f8f2f5;border-top:1px solid #e0e7da;backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center}.learning-actions>.note{display:none}.learning-actions>.btn{width:100%;max-width:508px;min-height:52px;font-size:16px;border-radius:14px}
 body[data-view="report"]{padding-bottom:calc(82px + var(--safe-bottom))}.report-hero{padding:22px 0 8px}.report-hero .circle-plus{width:52px;height:52px}.report-hero h1{font-size:28px;line-height:1.5;max-width:320px;margin:12px auto 9px}.report-hero .kicker{display:none}.report-hero p{font-size:12px;line-height:1.8}.report-stats{margin:20px 0 26px;gap:9px}.report-stat{padding:18px 7px;border-radius:15px}.report-stat b{font-size:29px}.report-stat span{font-size:11px}.report-actions{position:fixed;bottom:0;left:0;right:0;z-index:25;padding:12px 16px calc(12px + var(--safe-bottom));margin:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:9px;border-top:1px solid #e0e7da;background:#f6f8f2f5;backdrop-filter:blur(14px)}.report-actions .btn{min-height:51px;font-size:14px;padding:11px 10px;white-space:normal;line-height:1.4;gap:6px}.report-actions .icon{width:18px;height:18px}.report-section .section-title{align-items:center;gap:8px;margin-top:25px}.report-section .section-title h2{font-size:20px;line-height:1.5}.report-section .section-title>.badge{font-size:10px;white-space:nowrap;padding:5px 8px}.report-count{font-size:12px;white-space:nowrap}.word-chips{grid-template-columns:1fr 1fr;gap:10px}.word-chip{padding:15px 13px;min-width:0;gap:6px}.word-chip b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.word-chip small{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.word-chip em{font-size:10px}.report-section+.note{font-size:11px;line-height:1.8}
 /* 手机上以卡片展示教师数据，不要求来回横滑表格。 */
 .teacher-layout{display:block;padding-bottom:calc(80px + var(--safe-bottom))}.sidebar{padding:14px 16px;height:61px;position:static;border-right:0}.sidebar>.brand strong{font-size:15px}.sidebar>.brand small,.side-label,.sidebar-bottom{display:none}.side-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;background:#fffffff5;border-top:1px solid #dfe7d9;padding:7px 16px calc(7px + var(--safe-bottom));gap:12px;backdrop-filter:blur(14px)}.side-nav button{min-height:52px;justify-content:center;gap:8px;font-size:14px;border-radius:13px}.side-nav .icon{width:21px;height:21px}.teacher-content{padding:0 16px 24px;max-width:700px;margin:auto}.teacher-top{padding:13px 0;display:flex;justify-content:flex-end;min-height:58px}.teacher-top .badge{font-size:11px}.teacher-top>.eyebrow{display:none}.teacher-top>.row{width:100%;justify-content:space-between}.teacher-top .btn{min-height:44px;font-size:13px;padding:9px}.teacher-top .pill{display:none}.teacher-header{margin:18px 0 20px;display:block}.teacher-header .kicker{font-size:10px}.teacher-header h1{font-size:26px;line-height:1.45;margin:5px 0 8px;letter-spacing:-.5px}.teacher-header p{font-size:13px;line-height:1.8}.teacher-header>.badge{margin-top:13px}.teacher-header .desktop-title{display:none}.teacher-header .mobile-title{display:inline}
 .filters{gap:10px;margin:19px 0;display:flex;flex-wrap:wrap}.filters select.input{width:calc(50% - 5px);min-width:0;font-size:14px!important;padding:12px 10px;min-height:49px}.filters select.input:last-child:not(#teacher-sort){width:100%}.filters form.grow{width:100%;min-width:0;flex-basis:100%;gap:8px}.filters form .input.grow{min-width:0;flex:1;width:0;padding:12px}.filters form .btn{min-height:50px;padding:11px 13px;font-size:13px;gap:5px}.filters #teacher-sort{width:100%}.metrics{grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.metric{padding:17px;border-radius:18px}.metric .metric-top{font-size:12px}.metric .metric-icon{width:29px;height:29px}.metric b{font-size:31px;margin:10px 0 4px}.metric small{font-size:10px;line-height:1.6}.insight{padding:17px;gap:10px;border-radius:17px}.insight h3{font-size:14px;line-height:1.6;margin-bottom:7px}.insight p{font-size:12px;line-height:1.9}.table-card{background:transparent;border:none;border-radius:0;overflow:visible}.table-heading{padding:9px 0 16px;gap:10px}.table-heading h3{font-size:18px;margin-bottom:4px}.table-heading small{font-size:11px}.table-heading>.badge{white-space:nowrap}.desktop-table{display:none!important}.mobile-record-list{display:grid;gap:12px}.mobile-record{background:#fff;border:1px solid #e2e8dd;border-radius:18px;padding:18px;min-width:0}.record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.record-top>div{min-width:0}.record-word{font-size:22px;line-height:1.3;font-weight:600;overflow-wrap:anywhere}.record-meaning{font-size:13px;color:#8a9685;margin-top:5px;line-height:1.7;overflow-wrap:anywhere}.record-rate{text-align:right;white-space:nowrap;flex-shrink:0;color:var(--green)}.record-rate strong{font-size:26px;line-height:1.3}.record-rate small{font-size:10px;display:block;color:#91a18a;margin-top:3px}.record-rate.weak{color:#b68a45}.record-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#f7f9f3;padding:12px 5px;border-radius:11px;margin:16px 0 11px}.record-counts div{text-align:center;min-width:0}.record-counts b{display:block;font-size:18px;font-weight:600;line-height:1.4}.record-counts small{display:block;font-size:10px;color:#95a08e;margin-top:4px}.record-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.record-bottom>.note{font-size:11px}.record-bottom .link-btn{font-size:13px;min-height:44px;padding:8px 0}.record-student .record-top{align-items:center;gap:10px}.record-student .record-top>.avatar{width:42px;height:42px;font-size:16px}.record-student .student-identity{flex:1;min-width:0}.student-identity>b{font-size:18px;line-height:1.4;display:block;overflow-wrap:anywhere}.student-identity .record-meaning{font-size:12px;margin-top:4px}.record-student .record-top .badge{font-size:10px;padding:5px 8px}.record-student .record-bottom .note{font-size:12px}.table-footer{background:transparent;padding:18px 0;gap:16px;display:flex;flex-direction:column;align-items:stretch;border:none}.table-footer>span{font-size:11px;line-height:1.8}.paging{justify-content:center;gap:20px;font-size:13px}.paging button{min-width:45px;min-height:44px;border-radius:12px;font-size:24px;background:white}.student-detail-head{padding:18px;background:white;border:1px solid var(--line);border-radius:18px;margin-bottom:15px;gap:11px;flex-wrap:wrap}.student-detail-head h2{font-size:22px}.student-detail-head .note{font-size:12px}.student-detail-head+div:not(.mobile-record-list){padding:4px 3px 20px!important}.stat-caption{font-size:12px;line-height:1.85}.teacher-back{margin:0 0 12px}.record-detail .record-word{font-size:19px}.record-detail .record-top{align-items:center}.record-detail .record-bottom{border-top:1px solid #edf1e7;margin-top:12px;padding-top:12px;font-size:12px;color:var(--muted)}.record-choice{color:#6d7e68;overflow-wrap:anywhere}.teacher-layout+.demo-menu{padding-bottom:calc(96px + var(--safe-bottom));margin-top:-74px}
 /* 底部弹层与系统键盘、刘海和底部手势区配合。 */
 .modal-backdrop{align-items:flex-end;padding:0;height:var(--visual-height,100dvh);top:var(--visual-top,0px);bottom:auto}.modal{max-width:700px!important;border-radius:24px 24px 0 0;max-height:calc(var(--visual-height,100dvh) - 16px);padding:23px 20px calc(24px + var(--safe-bottom));overscroll-behavior:contain;scroll-padding-top:20px;overflow:auto}.modal-header{margin-bottom:18px;align-items:flex-start;gap:12px}.modal-header h2{font-size:22px;line-height:1.5;padding-top:5px}.modal .field{margin:18px 0}.modal .field label{font-size:14px}.modal .note{font-size:12px;line-height:1.8}.class-choice{padding:17px 15px;min-height:75px;gap:12px}.class-choice input{height:21px;width:21px;flex-shrink:0}.class-choice small{font-size:12px;margin-top:3px}.modal .btn.full{min-height:51px;font-size:15px}.modal-actions{gap:10px}.modal-actions .btn{white-space:normal;flex:1}.mobile-person-list{display:flex;flex-direction:column}.mobile-person{padding:15px 0;border-bottom:1px solid var(--line)}.mobile-person:last-child{border:none}.mobile-person .row{gap:12px}.mobile-person .row>b{font-size:15px}.mobile-person>p{font-size:12px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.report-preview{border-radius:13px;margin:19px 0 0}.modal:has(.report-preview)>.note{margin-bottom:14px}.modal:has(.report-preview)>a.btn{display:flex;width:100%;min-height:51px;position:sticky;top:0;z-index:2}
 #toast{top:76px;bottom:auto;left:50%;max-width:calc(100vw - 32px);width:max-content;font-size:12px;line-height:1.7;padding:11px 17px;transform:translate(-50%,-6px);box-shadow:0 6px 20px #203e3420}#toast.visible{transform:translate(-50%,0)}
}
.mobile-title{display:none}.more-menu{display:grid;gap:9px}.menu-action{width:100%;display:flex;align-items:center;gap:13px;padding:14px 16px;min-height:55px;background:#f4f7ef;color:var(--green);border:1px solid #e5ebde;border-radius:13px;text-align:left;font-size:15px}.menu-action>span{flex:1}.menu-action:hover{background:#eaf1e3}
@media all{
 .filters select.input{font-size:16px!important}
 .filters #teacher-camp{width:100%}
 .filters #teacher-class{width:calc(50% - 5px)}
 .filters #teacher-class+select.input{width:calc(50% - 5px)!important}
 .modal-backdrop{height:min(var(--visual-height,100dvh),100dvh)}
 .modal{max-height:calc(min(var(--visual-height,100dvh),100dvh) - 16px)}
 .modal-header{position:sticky;top:-23px;z-index:4;background:white;padding:8px 0 10px}
 .modal:has(.report-preview)>a.btn{top:64px}
 .quiz-card.long-meaning h1{font-size:24px;line-height:1.45}
}
@media(max-width:370px) and (max-height:650px){.quiz-card.long-meaning h1{font-size:22px;line-height:1.4}.quiz-card.long-meaning .question-type p{display:none}}
@media(max-width:370px){.brand strong{font-size:14px}.identity-name{max-width:45px}.landing-copy h1{font-size:26px}.login-card{padding:21px 18px}.login-card h2{font-size:21px}.code-line .btn{min-width:95px;padding:10px;font-size:11px}.study-shell{padding:0 13px}.quiz-card{padding:18px 15px}.quiz-card h1{font-size:26px;margin:10px 0 17px}.question-type p{font-size:11px}.option{min-height:55px;font-size:20px;padding:13px 14px}.quiz-options{gap:9px}.study-head{margin-bottom:12px}.study-head .row.between>.row{gap:5px}.study-head .badge{font-size:9px}.study-head .row.between>.row>.muted{font-size:12px}.word-panel{padding:22px 19px}.word-title h1{font-size:34px}.report-actions .btn{font-size:13px}.report-hero h1{font-size:26px}.report-section .section-title h2{font-size:18px}.word-chip b{font-size:16px}.record-word{font-size:21px}.record-counts b{font-size:17px}}
@media(max-height:650px){.study-brandbar{height:46px}.study-head{margin-bottom:9px}.study-head .btn{min-height:39px}.quiz-card{padding-top:16px;padding-bottom:15px}.question-type .badge{margin-bottom:5px}.quiz-card h1{margin:8px 0 15px}.quiz-options{gap:8px}.option{min-height:52px;padding-top:11px;padding-bottom:11px}.study-note{margin-top:10px}.skip{min-height:62px;padding-top:12px;padding-bottom:calc(12px + var(--safe-bottom))}}

/* 手机画布与固定控件共用宽度；不能给 body 加 transform，以免改变 fixed 定位。 */
:root{--phone-width:430px}
.teacher-entry-actions{display:flex;justify-content:center;margin-top:20px}
.teacher-entry-actions>.btn{max-width:100%;white-space:normal;text-align:center;min-height:48px}
.code-demo-hint{margin:0;text-align:right;font-size:11px;line-height:1.7;color:#71806d;overflow-wrap:anywhere}
html{background:#e8ede5}
body{width:100%;max-width:var(--phone-width);min-height:100dvh;margin:0 auto;background:#f6f8f2;box-shadow:0 0 0 1px #dfe6d9}
body .skip,body .learning-actions,body .report-actions,body .side-nav{left:50%;right:auto;width:min(100%,var(--phone-width));transform:translateX(-50%)}
.modal{max-width:var(--phone-width)!important}
#toast{max-width:min(calc(100vw - 32px),398px)}
.mobile-record-list{display:grid}
.mobile-person-list{display:flex}
.mobile-title{display:inline}
.footer{display:block}
.sidebar .brand{margin:0}
.sidebar{flex-direction:row;align-items:center}
.btn:hover,.child-card:hover{transform:none}
.student-progress{padding:4px 3px 20px}
/* 淡入不能变换 fixed 控件的祖先，否则底栏会短暂锚定内容区。 */
.fade{animation:mobile-fade .2s ease-out}
@keyframes mobile-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.fade{animation:none}}

/* 修改点1：答题反馈独立成一步，先确认结果，再主动揭秘。 */
.option-word{flex:1;min-width:0;overflow-wrap:anywhere}
.option:disabled{opacity:1;cursor:default}
.option.is-correct,.option.is-correct:hover{border-color:#39805d;background:#edf7ef;color:#235b3d}
.option.is-wrong,.option.is-wrong:hover{border-color:#c45a50;background:#fff0ed;color:#a83731}
.answer-mark{font-size:22px;font-weight:700;flex-shrink:0}
.answer-result{display:flex;flex-direction:column;text-align:left;padding:14px 0 0;gap:4px;font-size:13px;line-height:1.6}
.answer-result b{color:#a83731}.answer-result.result-correct b{color:#28624f}.answer-result.result-skip b{color:#986600}
.answer-result span{color:var(--muted);overflow-wrap:anywhere}
.answered-card .question-type p{display:none}
.answered-card .quiz-options{gap:8px}
.answered-card .option{min-height:50px;padding-top:11px;padding-bottom:11px}
.answered-card h1{margin-bottom:15px}
.result-next-hint{font-size:12px;line-height:1.7;text-align:left;color:var(--muted);margin:8px 0 0}
.answered-card .question-type{display:none}
body[data-view="study"][data-phase="result"]{padding-bottom:16px}
@media(max-height:650px){.answered-card .option{min-height:44px;padding:8px 12px;font-size:19px}.answered-card .quiz-options{gap:6px}.answered-card h1{margin:6px 0 12px;line-height:1.4}.answered-card .answer-result{padding-top:10px}.answered-card .result-next-hint{margin-top:5px}}

/* 报告以逐词行呈现，行内状态使用文字和不同颜色双重区分。 */
.report-rows{display:block}
.report-word-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) 52px;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #e0e7db;min-height:45px}
.report-word-row>b{font-size:16px;line-height:1.4;overflow-wrap:anywhere;min-width:0;font-weight:600}
.report-word-row>small{font-size:12px;line-height:1.6;color:#6c7b68;overflow-wrap:anywhere;min-width:0}
.report-result{font-size:11px;font-style:normal;white-space:nowrap;text-align:right;font-weight:500}
.report-result.result-wrong{color:#b23b32}.report-result.result-skip{color:#986600}.report-result.result-correct{color:#28624f}
.report-section .section-title h2{font-size:19px}
.report-section .section-title>.badge{display:none}

/* 教师全部80词连续展示，采用两行紧凑记录而不是大卡片。 */
.weak-word-list{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;margin-top:12px}
.weak-word-list button{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;background:transparent;border-bottom:1px solid #cfdbc4;min-height:36px;padding:5px 0;color:#48623d;font-size:12px;overflow-wrap:anywhere}
.weak-word-list button span{font-size:11px;color:#7f7448;flex-shrink:0}
.vocab-list{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.vocab-row{padding:12px 13px;border-bottom:1px solid #e9eee4}
.vocab-row:last-child{border-bottom:0}
.vocab-line{display:grid;grid-template-columns:minmax(0,1fr) 48px 40px;gap:8px;align-items:center}
.vocab-line>div{min-width:0}
.vocab-line b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.vocab-meaning{display:block;font-size:11px;line-height:1.5;color:#8a9683;overflow-wrap:anywhere}
.vocab-rate{font-size:18px;color:#28624f;text-align:right}
.vocab-rate.weak{color:#a8782d}
.vocab-line .link-btn{font-size:12px;min-height:44px}
.vocab-counts{display:flex;justify-content:space-between;gap:5px;font-size:11px;color:#8c9783;margin-top:5px}
.vocab-counts b{font-size:12px;font-weight:500}
.back-to-top{position:fixed;z-index:35;bottom:calc(88px + var(--safe-bottom));right:max(12px,calc((100vw - 430px)/2 + 12px));width:46px;height:54px;border-radius:14px;background:#28624fed;color:white;box-shadow:0 4px 14px #173e3424;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:22px;line-height:1;gap:4px}
.back-to-top span{font-size:10px}.back-to-top[hidden]{display:none}
.student-course-summary{padding:2px 2px 15px}
.student-course-summary>b{font-size:19px}
.student-lesson-list{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.student-lesson-row{padding:16px;border-bottom:1px solid #e8eee3}
.student-lesson-row:last-child{border-bottom:0}
.student-lesson-row h3{font-size:17px}
.student-lesson-row>.note{margin-top:7px}
.student-lesson-row>.link-btn{font-size:13px;margin-top:4px}
@media(max-width:370px){.report-word-row{gap:6px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}.report-word-row>b{font-size:14px}.report-word-row>small{font-size:11px}.report-result{font-size:10px}.report-section .section-title h2{font-size:18px}.vocab-row{padding:11px}.vocab-line{gap:6px;grid-template-columns:minmax(0,1fr) 43px 38px}}

/* 修改点2：重点词区域撑满容器，单词与正确率均有明确层级。 */
.insight>div{flex:1;width:100%;min-width:0}
.weak-word-list{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:0;margin-top:12px}
.weak-word-list button{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;align-content:center;gap:4px;min-height:64px;padding:10px 0}
.weak-word-list .weak-word{font-size:18px;line-height:1.35;color:#235e46;font-weight:700;overflow-wrap:anywhere}
.weak-word-list .weak-rate{display:block;font-size:11px;color:#75816a;white-space:nowrap}
.weak-word-list .weak-rate b{font-size:13px;color:#94702d;font-weight:600}
.vocab-line{grid-template-columns:minmax(0,1fr) 86px 38px;gap:7px}
.vocab-line .vocab-word{font-size:20px;line-height:1.35;color:#235e46;font-weight:700}
.vocab-rate-wrap{display:flex;align-items:baseline;justify-content:flex-end;gap:0;white-space:nowrap}
.vocab-rate-label{font-size:10px;color:#7b8874}
.vocab-rate-wrap .vocab-rate{font-size:18px}
.course-availability{font-size:12px;line-height:1.7;color:#7f8a78;margin:0 0 14px;padding:10px 12px;background:#edf2e7;border-radius:10px}
.student-lesson-row .badge,.record-student .record-top .badge{white-space:nowrap}
.vocab-line{grid-template-columns:minmax(0,1fr) 94px 38px}
.vocab-rate-label{font-size:11px;color:#64735b}
.weak-word-list .weak-rate{color:#65745b}
@media(max-width:370px){.weak-word-list{column-gap:12px}.weak-word-list .weak-word{font-size:17px}.weak-word-list button{min-height:62px}.vocab-line{grid-template-columns:minmax(0,1fr) 80px 36px;gap:5px}.vocab-line .vocab-word{font-size:18px}.vocab-rate-wrap .vocab-rate{font-size:17px}.vocab-rate-label{font-size:10px}.record-student .record-top{flex-wrap:wrap}.record-student .record-top>.badge{margin-left:auto}}
@media(max-width:370px){.vocab-line{grid-template-columns:minmax(0,1fr) 86px 36px}.vocab-rate-label{font-size:11px}}
