/* 小程序预览 · 手机外壳与小程序风格组件 */
.mp-body { margin: 0; min-height: 100vh; background: radial-gradient(900px 500px at 15% -10%, #e3ebff, transparent 60%), #eef2f9; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #1b2436; }
.mp-stage { display: flex; align-items: flex-start; justify-content: center; gap: 44px; padding: 34px 30px 40px; flex-wrap: wrap; }
.mp-side { width: 290px; padding-top: 60px; }
.mp-side h1 { font-size: 25px; font-weight: 700; letter-spacing: .5px; }
.mp-side .lead { color: #7b879c; font-size: 13px; line-height: 1.8; margin: 12px 0 22px; }
.mp-side .feat { background: #fff; border: 1px solid #e5eaf2; border-radius: 14px; padding: 16px 18px; box-shadow: 0 8px 28px rgba(28,45,90,.06); }
.mp-side .feat li { font-size: 12.5px; color: #47536b; padding: 7px 0 7px 20px; position: relative; }
.mp-side .feat li::before { content: '✓'; position: absolute; left: 0; color: #3d6bf5; font-weight: 700; }
.mp-side .links { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.mp-side .links a { font-size: 12.5px; color: #3d6bf5; }
.mp-side .note { font-size: 11.5px; color: #93a0b5; line-height: 1.7; margin-top: 18px; }

.phone { width: 390px; height: 800px; flex: none; background: #101828; border-radius: 48px; padding: 10px; box-shadow: 0 30px 80px rgba(16, 30, 60, .28), inset 0 0 0 2px #2b3a55; position: relative; }
.mp-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #f6f8fc; display: flex; flex-direction: column; }
.mp-statusbar { height: 30px; flex: none; background: #3d6bf5; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 11px; font-weight: 600; }
.mp-navbar { height: 48px; flex: none; background: #3d6bf5; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.mp-navbar .nav-title { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.mp-capsule { position: absolute; right: 12px; top: 9px; height: 30px; border: 1px solid rgba(255,255,255,.45); border-radius: 16px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 12px; }
.mp-capsule i { width: 1px; height: 15px; background: rgba(255,255,255,.4); }
.mp-content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 12px 14px 18px; }
.mp-content::-webkit-scrollbar { width: 0; }
.mp-tabbar { height: 58px; flex: none; background: #fff; border-top: 1px solid #e9edf5; display: flex; }
.mp-tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; color: #8491a8; }
.mp-tabbar button .tb-ico { width: 21px; height: 21px; object-fit: contain; }
.mp-tabbar button.on { color: #3d6bf5; font-weight: 700; }
.mp-tabbar.hidden { display: none; }
.mp-homebar { height: 16px; flex: none; background: #fff; display: flex; align-items: center; justify-content: center; }
.mp-homebar i { width: 110px; height: 4px; border-radius: 4px; background: #1b2436; opacity: .8; }

.mp-toast { position: absolute; left: 50%; bottom: 90px; transform: translate(-50%, 8px); background: rgba(20, 32, 56, .9); color: #fff; font-size: 12px; padding: 9px 16px; border-radius: 20px; opacity: 0; pointer-events: none; transition: .2s; max-width: 300px; text-align: center; z-index: 60; }
.mp-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 小程序组件 —— 所有按钮文字上下左右居中 */
button { display: flex; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; }
.m-card { background: #fff; border: 1px solid #e9edf5; border-radius: 12px; padding: 13px; margin-bottom: 12px; }
.m-row { display: flex; align-items: center; }
.m-between { justify-content: space-between; }
.m-spacer { flex: 1; }
.m-title { font-size: 14px; font-weight: 700; }
.m-muted { color: #8491a8; font-size: 11px; }
.m-bold { font-weight: 700; }
.m-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 600; background: #eaf0ff; color: #3d6bf5; }
.m-tag.green { background: #e4f7f0; color: #12a37a; }
.m-tag.orange { background: #fff3df; color: #c47c14; }
.m-tag.red { background: #fdecec; color: #eb5c5c; }
.m-up { color: #12a37a; }
.m-down { color: #eb5c5c; }
.m-section { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 9px; }
.m-section .st { font-size: 13px; font-weight: 700; }
.m-section .ss { font-size: 10.5px; color: #8491a8; }

.m-banner { display: flex; align-items: center; gap: 10px; background: linear-gradient(110deg, #eaf0ff, #f4f7ff); border: 1px solid #dce6ff; border-radius: 12px; padding: 11px 12px; margin-bottom: 12px; }
.m-banner.closed { background: linear-gradient(110deg, #fff5e6, #fffaf2); border-color: #fae3bf; }
.m-banner .bi { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.m-banner .bt { font-size: 12.5px; font-weight: 700; }
.m-banner .bs { font-size: 10.5px; color: #6c7891; margin-top: 1px; }

.m-filter { display: flex; gap: 8px; margin-bottom: 4px; }
.m-filter select, .m-filter input, .m-input { height: 34px; border: 1px solid #e5eaf2; border-radius: 9px; background: #fff; color: #1b2436; font-size: 12px; padding: 0 10px; min-width: 0; }
.m-filter select { flex: none; width: 118px; }
.m-filter input { flex: 1; }
.m-input:focus, .m-filter input:focus { outline: none; border-color: #3d6bf5; }

.m-class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.m-class { background: #fff; border: 1px solid #e9edf5; border-radius: 11px; padding: 11px; position: relative; text-align: left; }
.m-class.on { border-color: #3d6bf5; box-shadow: 0 0 0 2px rgba(61,107,245,.13); }
.m-class .cn { font-size: 14px; font-weight: 700; }
.m-class .cd { position: absolute; right: 9px; top: 9px; font-size: 10px; font-weight: 700; }
.m-class .cb { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 9px; }
.m-class .cs { font-size: 21px; font-weight: 700; line-height: 1; }
.m-class .cs small { font-size: 9px; color: #8491a8; font-weight: 400; }

.m-recent { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f3f8; font-size: 11.5px; }
.m-recent:last-child { border-bottom: none; }
.m-recent .rm { flex: 1; }
.m-undo { width: 26px; height: 26px; border-radius: 8px; background: #f2f5fb; color: #eb5c5c; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.m-empty { text-align: center; color: #8491a8; font-size: 12px; padding: 26px 0; }

.m-head { background: linear-gradient(135deg, #3d6bf5, #5a83ff); color: #fff; border-radius: 14px; padding: 15px; margin-bottom: 12px; }
.m-head .ht { font-size: 15px; font-weight: 700; }
.m-head .hs { font-size: 10.5px; opacity: .85; margin-top: 3px; }
.m-kpis { display: flex; margin-top: 14px; }
.m-kpis .k { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,.22); }
.m-kpis .k:last-child { border-right: none; }
.m-kpis .k .kl { font-size: 10px; opacity: .85; }
.m-kpis .k .kv { font-size: 19px; font-weight: 700; }
.m-datebar { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e9edf5; border-radius: 10px; padding: 7px 10px; margin-bottom: 12px; font-size: 11.5px; }
.m-datebar button { color: #3d6bf5; font-size: 11.5px; font-weight: 600; }
.m-datebar button.off { color: #c3ccdb; }
.m-rank { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f3f8; font-size: 12px; }
.m-rank:last-child { border-bottom: none; }
.m-rank .rn { width: 22px; height: 22px; border-radius: 6px; background: #f2f5fb; color: #8491a8; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.m-rank .rn.t1 { background: #fff0cf; color: #c8890c; }
.m-rank .rn.t2 { background: #e9edf5; color: #6d7c96; }
.m-rank .rn.t3 { background: #f9e4d4; color: #b87844; }
.m-rank .rname { flex: 1; font-weight: 600; }
.m-rank .rbar { width: 58px; height: 5px; border-radius: 5px; background: #eef2f9; overflow: hidden; }
.m-rank .rbar span { display: block; height: 100%; background: linear-gradient(90deg, #6d94ff, #3d6bf5); border-radius: 5px; }
.m-rank .rs { width: 34px; text-align: right; font-weight: 700; font-size: 14px; }

.m-me { display: flex; align-items: center; gap: 12px; }
.m-avatar { width: 48px; height: 48px; border-radius: 50%; background: #eaf0ff; color: #3d6bf5; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.m-kv { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f3f8; font-size: 12px; }
.m-kv:last-child { border-bottom: none; }
.m-btn { width: 100%; height: 38px; border-radius: 9px; background: #3d6bf5; color: #fff; font-size: 13px; font-weight: 700; }
.m-btn.ghost { background: #f2f5fb; color: #47536b; }
.m-btn.danger { background: #fdecec; color: #eb5c5c; }
.m-link { color: #3d6bf5; font-size: 11.5px; }

/* 登录 */
.m-login { padding: 30px 4px 10px; text-align: center; }
.m-logo { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(145deg, #5a83ff, #3161ee); box-shadow: 0 8px 20px rgba(61,107,245,.28); display: flex; align-items: center; justify-content: center; }
.m-logo svg { width: 32px; height: 32px; }
.m-login h2 { font-size: 18px; font-weight: 700; }
.m-login .sub { font-size: 11px; color: #8491a8; margin: 5px 0 20px; }
.m-login-card { background: #fff; border: 1px solid #e9edf5; border-radius: 16px; padding: 16px; text-align: left; box-shadow: 0 8px 24px rgba(28,45,90,.06); }
.m-seg { display: flex; background: #eff2f8; border-radius: 22px; padding: 4px; margin-bottom: 18px; }
.m-seg button { flex: 1; height: 32px; border-radius: 18px; font-size: 12px; color: #7d8aa1; font-weight: 600; }
.m-seg button.on { background: #fff; color: #1b2436; box-shadow: 0 2px 8px rgba(25,45,90,.1); }
.m-label { display: block; font-size: 11.5px; font-weight: 600; color: #47536b; margin: 0 0 5px; }
.m-login .m-input { width: 100%; height: 40px; margin-bottom: 12px; }
.m-login .m-btn { margin-top: 6px; }
.m-quick { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.m-quick button { width: 100%; height: 32px; border: 1px dashed #c9d8ff; border-radius: 9px; background: #f7f9ff; color: #3d6bf5; font-size: 11px; }
.m-error { background: #fdecec; color: #eb5c5c; border-radius: 8px; padding: 8px 10px; font-size: 11px; margin-bottom: 12px; }

/* 底部评分面板 */
.m-mask { position: absolute; inset: 0; background: rgba(18,30,55,.42); z-index: 40; display: flex; align-items: flex-end; }
.m-sheet { width: 100%; background: #fff; border-radius: 18px 18px 0 0; max-height: 76%; display: flex; flex-direction: column; }
.m-sheet-head { padding: 14px 16px 12px; border-bottom: 1px solid #e9edf5; display: flex; align-items: center; justify-content: space-between; }
.m-sheet-close { font-size: 22px; color: #8491a8; line-height: 1; }
.m-sheet-extra { padding: 10px 16px; background: #f7f9fd; border-bottom: 1px solid #e9edf5; }
.m-ex-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.m-ex-row .m-label { width: 68px; margin: 0; flex: none; }
.m-ex-row .m-input { flex: 1; height: 30px; font-size: 11.5px; }
.m-sheet-body { overflow-y: auto; padding: 4px 16px 18px; }
.m-dim { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #f0f3f8; }
.m-dim-ico { width: 32px; height: 32px; border-radius: 9px; background: #eaf0ff; color: #3d6bf5; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.m-dim-info { flex: 1; min-width: 0; }
.m-dim-info .dn { font-size: 12.5px; font-weight: 700; }
.m-dim-info .dd { font-size: 10px; color: #8491a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-op { width: 30px; height: 30px; border-radius: 9px; border: 1px solid #e5eaf2; background: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.m-op.minus { color: #eb5c5c; }
.m-op.plus { color: #12a37a; }
.m-op.off { opacity: .3; }
.m-op-val { font-size: 10px; color: #8491a8; width: 28px; text-align: center; flex: none; }

/* ---- 逐班聚焦打分页：进度条 / 红点 / 选分 / 切换与完成动效 ---- */
.m-strip-wrap { background: #fff; border: 1px solid #e9edf5; border-radius: 12px; padding: 9px 6px 8px; margin: 12px 0 10px; }
.m-strip { position: relative; display: flex; gap: 6px; overflow-x: auto; scroll-behavior: smooth; padding: 2px 4px 8px; scrollbar-width: none; }
.m-strip::-webkit-scrollbar { height: 0; }
.m-step { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f2f5fb; color: #8491a8; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s, color .25s; }
.m-step.done { background: #eaf7f2; color: #12a37a; }
.m-step.on { background: #c9384a; color: #fff; transform: scale(1.16); box-shadow: 0 3px 10px rgba(201,56,74,.32); }
.m-step .m-dot { position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; border: 1.5px solid #fff; transform-origin: center; }
.m-step .m-dot.out { animation: dotOut .5s ease forwards; }
.m-step.just-done { animation: stepDone .75s ease; }
@keyframes dotOut { 0% { transform: scale(1); opacity: 1 } 45% { transform: scale(1.5); opacity: 1 } 100% { transform: scale(0); opacity: 0 } }
@keyframes stepDone { 0% { box-shadow: 0 0 0 0 rgba(18,163,122,.5) } 60% { box-shadow: 0 0 0 7px rgba(18,163,122,.18) } 100% { box-shadow: 0 0 0 0 rgba(18,163,122,0) } }
.m-strip-track { height: 3px; border-radius: 3px; background: #eef2f9; overflow: hidden; margin: 2px 4px 0; }
.m-strip-track > span { display: block; height: 100%; background: linear-gradient(90deg, #f08a96, #c9384a); border-radius: 3px; transition: width .6s cubic-bezier(.2,.8,.2,1); }

.m-progress-card { background: #fff; border: 1px solid #e9edf5; border-radius: 12px; padding: 11px 13px; margin-bottom: 12px; }
.m-pc-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #47536b; font-weight: 600; }
.m-pc-row span:last-child { color: #8491a8; font-weight: 400; }
.m-bar { height: 5px; border-radius: 5px; background: #eef2f9; overflow: hidden; margin-top: 9px; }
.m-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #6d94ff, #3d6bf5); border-radius: 5px; transition: width .6s cubic-bezier(.2,.8,.2,1); }

.m-score-wrap { position: relative; padding: 0; touch-action: pan-y; }
.m-swipe-hint { text-align: center; font-size: 10.5px; color: #9aa7bd; margin: 0 0 8px; letter-spacing: .5px; }
.m-score-card { position: relative; background: #fff; border: 1px solid #e9edf5; border-radius: 14px; padding: 14px 13px 15px; box-shadow: 0 6px 20px rgba(28,45,90,.05); transition: transform .18s ease; }
.m-score-card.anim-next { animation: slideNext .36s cubic-bezier(.2,.8,.2,1); }
.m-score-card.anim-prev { animation: slidePrev .36s cubic-bezier(.2,.8,.2,1); }
@keyframes slideNext { from { transform: translateX(30px); opacity: .2 } to { transform: none; opacity: 1 } }
@keyframes slidePrev { from { transform: translateX(-30px); opacity: .2 } to { transform: none; opacity: 1 } }
.m-score-card.scored { animation: cardGlow 1s ease; }
@keyframes cardGlow { 0%,100% { border-color: #e9edf5; box-shadow: 0 6px 20px rgba(28,45,90,.05) } 35% { border-color: #12a37a; box-shadow: 0 0 0 4px rgba(18,163,122,.2) } }
.m-sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-sc-title { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; min-width: 0; }
.m-sc-plus { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9384a; color: #c9384a; font-size: 13px; line-height: 16px; text-align: center; flex: none; }
.m-sc-score { font-size: 10.5px; font-weight: 600; color: #3d6bf5; background: #eaf0ff; border-radius: 20px; padding: 2px 7px; white-space: nowrap; }
.m-sc-score.bump { animation: scoreBump .8s ease; }
@keyframes scoreBump { 0% { transform: scale(1) } 35% { transform: scale(1.35); background: #d9f5e9; color: #12a37a } 100% { transform: scale(1) } }
.m-switch { width: 38px; height: 22px; border-radius: 20px; background: #d9dfe9; padding: 2px; flex: none; transition: background .25s; justify-content: flex-start; }
.m-switch i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.16); transition: transform .25s; }
.m-switch.on { background: #3d6bf5; }
.m-switch.on i { transform: translateX(16px); }
.m-sc-sub { font-size: 10.5px; color: #8491a8; margin: 6px 0 12px; }
.m-auto-hint { color: #3d6bf5; }

.m-dims { display: flex; flex-direction: column; gap: 8px; }
.m-dim-block { padding-bottom: 7px; border-bottom: 1px dashed #eff2f8; }
.m-dim-block:last-child { border-bottom: none; padding-bottom: 2px; }
.m-dim-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.m-dh-name { font-size: 12.5px; font-weight: 700; color: #1b2436; }
.m-dh-range { font-size: 10px; color: #a3adc0; }
.m-dim-picks { display: flex; align-items: center; gap: 7px; }
.m-pick { width: 36px; height: 36px; border-radius: 9px; border: 1px solid #e5eaf2; background: #fff; color: #47536b; font-size: 13px; font-weight: 600; transition: transform .16s, background .16s, border-color .16s, color .16s; }
.m-pick:active { transform: scale(.9); }
.m-pick.on { background: #3d6bf5; border-color: #3d6bf5; color: #fff; transform: scale(1.06); box-shadow: 0 3px 10px rgba(61,107,245,.28); animation: pickPop .3s ease; }
@keyframes pickPop { 0% { transform: scale(.8) } 60% { transform: scale(1.16) } 100% { transform: scale(1.06) } }
.m-pick:disabled { opacity: .45; }
.m-sign { margin-left: auto; height: 26px; padding: 0 8px; border-radius: 14px; border: 1px solid #e5eaf2; background: #f7f9fd; color: #12a37a; font-size: 10px; font-weight: 600; white-space: nowrap; }
.m-sign.neg { color: #eb5c5c; }
.m-sign.fixed { opacity: .75; }
.m-dim-block.picked .m-dh-name::after { content: ' ✓'; color: #12a37a; font-size: 11px; }
.m-submit-bar { position: sticky; bottom: 0; z-index: 2; background: #fff; padding: 8px 0 2px; box-shadow: 0 -10px 16px rgba(255,255,255,.94); }
.m-sc-foot { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: #a3adc0; margin: 4px 0 8px; }
.m-clear { color: #c9384a; font-size: 10.5px; }
.m-submit { width: 100%; height: 40px; border-radius: 10px; background: #d7a3ac; color: #fff; font-size: 13px; font-weight: 700; transition: background .25s, transform .15s, box-shadow .25s; }
.m-submit.ready { background: #c9384a; box-shadow: 0 6px 16px rgba(201,56,74,.25); }
.m-submit.ready:active { transform: scale(.98); }
.m-success { position: absolute; left: 50%; top: 38%; transform: translate(-50%,0); background: #12a37a; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 22px; box-shadow: 0 10px 26px rgba(18,163,122,.32); z-index: 4; pointer-events: none; animation: successFloat 1.15s ease forwards; white-space: nowrap; }
@keyframes successFloat { 0% { opacity: 0; transform: translate(-50%,12px) scale(.75) } 22% { opacity: 1; transform: translate(-50%,0) scale(1.08) } 38% { transform: translate(-50%,0) scale(1) } 78% { opacity: 1; transform: translate(-50%,-8px) scale(1) } 100% { opacity: 0; transform: translate(-50%,-20px) scale(.96) } }

/* ---- 个人中心表单 ---- */
.m-form .m-label { margin-top: 8px; }
.m-form .m-input { width: 100%; height: 34px; margin-bottom: 4px; box-sizing: border-box; }
.m-form-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.m-form-desc { font-size: 10.5px; color: #8491a8; line-height: 1.65; margin-bottom: 10px; }
.m-code { color: #3d6bf5; letter-spacing: 1px; font-family: var(--font-mono, monospace); font-size: 12px; }
.m-gen { text-align: right; margin: 0 0 8px; }

/* ---- 独立页返回条 ---- */
.m-back { width: 100%; height: 32px; font-size: 11.5px; margin-bottom: 10px; }

/* ---- 工作台扣分入口 ---- */
.m-quick-entry { display: flex; align-items: center; gap: 10px; background: linear-gradient(110deg, #fff2f3, #ffffff); border: 1px solid #f6dadd; border-radius: 12px; padding: 10px 11px; margin-bottom: 10px; cursor: pointer; }
.qe-ico { width: 32px; height: 32px; border-radius: 10px; background: #fff; color: #c9384a; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.qe-main { flex: 1; min-width: 0; }
.qe-title { font-size: 12.5px; font-weight: 700; }
.qe-sub { font-size: 10px; color: #8491a8; margin-top: 2px; }
.qe-arrow { font-size: 17px; color: #c9384a; flex: none; }

/* ---- 我的：班级格子与菜单 ---- */
.m-class-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.m-cls { background: #f8faff; border: 1px solid #e6ecf8; border-radius: 9px; padding: 7px 3px; text-align: center; }
.m-cls.done { background: #effaf5; border-color: #cceede; }
.m-cls .cn { font-size: 11px; font-weight: 700; }
.m-cls .cg { font-size: 9px; color: #8491a8; margin-top: 1px; }
.m-cls .cd { font-size: 9px; color: #c9384a; margin-top: 2px; }
.m-cls.done .cd { color: #12a37a; }
.m-menu-card { padding: 2px 12px; }
.m-menu-row { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid #f0f3f8; cursor: pointer; }
.m-menu-row:last-child { border-bottom: none; }
.m-menu-row .mi { width: 27px; height: 27px; border-radius: 8px; background: #eaf0ff; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.m-menu-row .mm { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; }
.m-menu-row .ms { font-size: 10px; color: #8491a8; font-weight: 400; margin-top: 2px; }
.m-menu-row .ma { color: #b4bfd1; font-size: 16px; }
.m-code-current { background: #eaf0ff; color: #47536b; font-size: 11.5px; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }

/* ---- 扣分登记 ---- */
.m-intro { background: linear-gradient(135deg, #fff2f3, #ffffff); border-color: #f6dadd; }
.dd-status { margin-top: 8px; background: #fff; border: 1px solid #f3dfe2; border-radius: 7px; padding: 7px 9px; font-size: 10.5px; color: #8c6070; }
.dd-code-row { display: flex; align-items: center; gap: 12px; }
.dd-code-box { width: 106px; height: 56px; border: 2px solid #3d6bf5; border-radius: 10px; background: #fff; color: #3d6bf5; font-size: 30px; font-weight: 700; letter-spacing: 9px; text-align: center; padding-left: 9px; box-sizing: border-box; outline: none; }
.dd-code-box::placeholder { color: #c8d4ee; }
.dd-code-tip { font-size: 10.5px; color: #8491a8; line-height: 1.6; }
.dd-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.dd-key { height: 34px; border-radius: 8px; border: 1px solid #e5eaf2; background: #f7f9fd; font-size: 16px; font-weight: 700; color: #33405a; }
.dd-key.fn { font-size: 11.5px; color: #c9384a; }
.dd-key:active { background: #eaf0ff; }
.m-match { display: flex; align-items: center; gap: 8px; background: #effaf5; border: 1px solid #cceede; border-radius: 9px; padding: 8px 10px; font-size: 11.5px; }
.m-match .mi { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #12a37a; font-size: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.m-match .mm { flex: 1; }
.m-hint { font-size: 10.5px; color: #8491a8; line-height: 1.6; padding: 8px 2px 2px; }
.dd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-chip { min-height: 29px; padding: 0 9px; border-radius: 8px; border: 1px solid #e5eaf2; background: #fff; font-size: 11px; color: #47536b; }
.dd-chip.on { background: #fff0f1; border-color: #c9384a; color: #c9384a; font-weight: 700; }
.dd-point { min-width: 54px; height: 32px; border-radius: 8px; border: 1px solid #e5eaf2; background: #fff; font-size: 12px; font-weight: 700; color: #47536b; }
.dd-point.on { background: #c9384a; border-color: #c9384a; color: #fff; }
.dd-submit { margin-top: 12px; background: #c9384a; }
.dd-submit:disabled { background: #e3b9bf; }
.dd-grade { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; }
.dd-grade .gn { width: 50px; flex: none; font-size: 10.5px; font-weight: 700; padding-top: 4px; }
.dd-grade .gc { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; }
.dd-grade .ci { min-width: 38px; padding: 3px 2px; border-radius: 6px; background: #f6f8fc; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dd-grade .ci b { font-size: 10.5px; color: #3d6bf5; }
.dd-grade .ci small { font-size: 8.5px; color: #8491a8; }

/* 微信绑定：小程序码展示 */
.m-wx-qr { display: flex; align-items: center; justify-content: center; padding: 8px 0 12px; }
.m-wx-qr img { width: 168px; height: 168px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fff; object-fit: contain; box-shadow: 0 4px 14px rgba(29,39,64,.08); }
.m-wx-count { text-align: center; font-size: 10.5px; color: #3d6bf5; font-weight: 700; margin-top: 8px; }
.m-code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .4px; }

@media (max-width: 1100px) { .mp-side { display: none; } }
@media (max-height: 880px) { .mp-stage { padding-top: 12px; } .phone { transform: scale(.88); transform-origin: top center; margin-bottom: -90px; } }
