/* 中算智学云 / Чжунсуань Чжисюэ — 网页端原型样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #101a2e; --ink2: #1b2b47; --ink3: #2a3b59;
  --pri: #2f5bff; --pri-d: #2145c4; --pri-l: #eaf0ff;
  --red: #d64b32; --red-l: #fdeeea;
  --gold: #d99a3f; --gold-l: #fdf3e3;
  --green: #1b9a66; --green-l: #e6f7f0;
  --amber: #c9821c; --amber-l: #fdf2df;
  --bg: #f4f6fb; --line: #e2e7f0; --muted: #7b87a1; --muted2: #9aa4b8;
  --white: #fff;
}
html, body { background: #fff; }
body { font-family: "Segoe UI", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ===== App shell ===== */
.d-app { width: 1440px; height: 900px; display: flex; background: var(--bg); overflow: hidden; font-size: 13px; line-height: 1.45; }
.sb { width: 232px; background: linear-gradient(180deg, #0d1729 0%, #12203a 100%); color: #c3cde0; display: flex; flex-direction: column; flex: 0 0 232px; }
.sb-logo { height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sb-logo .mk { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--red), #a8321f); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.sb-logo b { color: #fff; font-size: 14.5px; letter-spacing: .3px; }
.sb-logo span { display: block; font-size: 10.5px; color: #8090ad; letter-spacing: .5px; font-weight: 400; }
.sb-nav { padding: 12px 10px; overflow: hidden; }
.sb-sec { font-size: 10.5px; color: #63718e; letter-spacing: 1.2px; padding: 12px 10px 6px; text-transform: uppercase; }
.sb-item { display: flex; align-items: center; gap: 10px; padding: 8.5px 10px; border-radius: 8px; color: #b8c4da; font-size: 12.8px; margin-bottom: 1px; }
.sb-item .ic { width: 17px; text-align: center; opacity: .9; font-size: 14px; }
.sb-item.on { background: rgba(47,91,255,.22); color: #fff; box-shadow: inset 2px 0 0 var(--pri); }
.sb-item .tag { margin-left: auto; font-size: 10px; background: var(--red); color: #fff; border-radius: 8px; padding: 1px 6px; }
.sb-user { margin-top: auto; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 10px; }
.sb-user .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#4b6cf5,#7f9bff); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; }
.sb-user b { display: block; color: #e7ecf7; font-size: 12px; font-weight: 600; }
.sb-user span { font-size: 10.5px; color: #7c8aa5; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.top { height: 60px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 24px; gap: 18px; flex: 0 0 60px; }
.top h1 { font-size: 16px; font-weight: 600; letter-spacing: .2px; }
.top .crumb { font-size: 11.5px; color: var(--muted); }
.search { margin-left: auto; width: 260px; height: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; padding: 0 11px; color: var(--muted); font-size: 12px; gap: 7px; }
.top .ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; position: relative; }
.top .ico .dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.top .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#4b6cf5,#7f9bff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.content { flex: 1; padding: 18px 24px 0; overflow: hidden; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .sp { margin-left: auto; }
.btn { height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink3); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.btn.pri { background: var(--pri); border-color: var(--pri); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.sm { height: 27px; padding: 0 10px; font-size: 11.5px; border-radius: 6px; }
.seg { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.seg span { padding: 4px 12px; font-size: 12px; color: var(--muted); border-radius: 6px; }
.seg span.on { background: var(--pri-l); color: var(--pri-d); font-weight: 600; }

/* ===== Cards / grid ===== */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.c { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.c-h { padding: 13px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.c-h b { font-size: 13px; font-weight: 600; }
.c-h .sub { font-size: 11px; color: var(--muted); }
.c-h .sp { margin-left: auto; }
.c-b { padding: 14px 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.kpi .k { font-size: 11.5px; color: var(--muted); }
.kpi .v { font-size: 24px; font-weight: 700; letter-spacing: -.4px; margin: 2px 0 1px; }
.kpi .v small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.kpi .f { font-size: 11px; color: var(--muted2); }
.kpi .f b { color: var(--green); }
.kpi .f b.warn { color: var(--amber); }
.kpi.dark { background: linear-gradient(135deg,#16233b,#243a63); border-color: transparent; color: #fff; }
.kpi.dark .k, .kpi.dark .f { color: #93a3c2; }
.kpi.dark .v { color: #fff; }

.b { display: inline-flex; align-items: center; padding: 1.5px 8px; border-radius: 20px; font-size: 10.8px; font-weight: 500; white-space: nowrap; }
.b-green { background: var(--green-l); color: var(--green); }
.b-blue { background: var(--pri-l); color: var(--pri-d); }
.b-amber { background: var(--amber-l); color: var(--amber); }
.b-red { background: var(--red-l); color: var(--red); }
.b-grey { background: #eef1f6; color: #67738c; }

/* ===== Table ===== */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 500; padding: 8px 10px; background: #f8fafd; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid #eef1f6; font-size: 12.2px; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .name { font-weight: 600; }
.tbl .dim { color: var(--muted); font-size: 11.5px; }
.tbl .num { font-variant-numeric: tabular-nums; }

/* ===== Misc ===== */
.pb { height: 6px; background: #eef1f6; border-radius: 6px; overflow: hidden; }
.pb i { display: block; height: 100%; background: var(--pri); border-radius: 6px; }
.pb i.green { background: var(--green); }
.pb i.gold { background: var(--gold); }
.rowline { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef1f6; }
.rowline:last-child { border-bottom: 0; }
.rowline .t { font-size: 12.5px; }
.rowline .s { font-size: 11px; color: var(--muted); }
.rowline .sp { margin-left: auto; }
.avs { display: flex; }
.avs .av { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; display: flex; align-items: center; justify-content: center; font-size: 9.5px; color: #fff; font-weight: 600; }
.avs .av:first-child { margin-left: 0; }
.dotst { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.chart { display: flex; align-items: flex-end; gap: 9px; height: 96px; padding-top: 8px; }
.chart .bar { flex: 1; background: linear-gradient(180deg, #7f9bff, #2f5bff); border-radius: 4px 4px 0 0; opacity: .9; }
.chart .bar.alt { background: linear-gradient(180deg, #f0b45c, #d99a3f); }
.chart-x { display: flex; gap: 9px; margin-top: 6px; }
.chart-x span { flex: 1; text-align: center; font-size: 10px; color: var(--muted2); }
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs span { padding: 8px 0; font-size: 12.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs span.on { color: var(--pri-d); border-color: var(--pri); font-weight: 600; }
.mono { font-variant-numeric: tabular-nums; }

/* ===== Marketing site ===== */
.site { display: block; width: 1440px; height: 900px; background: #fff; overflow: hidden; }
.s-top { height: 66px; display: flex; align-items: center; padding: 0 56px; border-bottom: 1px solid #eef1f6; gap: 34px; }
.s-logo { display: flex; align-items: center; gap: 10px; }
.s-logo .mk { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#d64b32,#a8321f); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.s-logo b { font-size: 16px; letter-spacing: .2px; }
.s-logo span { display: block; font-size: 10px; color: var(--muted); letter-spacing: .6px; }
.s-nav { display: flex; gap: 26px; font-size: 13px; color: #47536b; }
.s-top .sp { margin-left: auto; }
.s-top .btn { height: 36px; }
.s-hero { background: radial-gradient(circle at 78% 20%, rgba(214,75,50,.18), transparent 45%), radial-gradient(circle at 15% 90%, rgba(47,91,255,.16), transparent 45%), linear-gradient(135deg,#0c1628 0%, #14233d 55%, #1b2f52 100%); color: #fff; padding: 44px 56px 0; height: 450px; position: relative; }
.s-hero .badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 20px; padding: 5px 14px; font-size: 11.5px; color: #cdd8ec; margin-bottom: 16px; }
.s-hero h1 { font-size: 40px; line-height: 1.14; font-weight: 700; letter-spacing: -.5px; max-width: 700px; }
.s-hero h1 em { font-style: normal; color: #f0a04b; }
.s-hero p.sub { margin-top: 16px; font-size: 15px; line-height: 1.7; color: #aebbd4; max-width: 560px; }
.s-hero .cta { display: flex; gap: 12px; margin-top: 26px; }
.s-hero .cta a { height: 44px; padding: 0 22px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; }
.s-hero .cta .p { background: var(--red); color: #fff; }
.s-hero .cta .s { border: 1px solid rgba(255,255,255,.22); color: #dbe3f3; }
.s-stats { margin-top: 24px; display: flex; gap: 46px; }
.s-stats .st .n { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.s-stats .st .l { font-size: 11.5px; color: #8fa0bd; margin-top: 1px; }
.s-hero .card-float { position: absolute; right: 56px; bottom: 34px; width: 330px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(6px); }
.s-hero .card-float .t { font-size: 12px; color: #9fb0cc; }
.s-hero .card-float .big { font-size: 15px; font-weight: 600; margin-top: 4px; color: #fff; }
.s-hero .card-float .l { display: flex; gap: 8px; margin-top: 12px; }
.s-hero .card-float .l span { font-size: 10.5px; background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 9px; color: #d5deee; }
.s-body { padding: 24px 56px 0; }
.s-sec-h { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 16px; }
.s-sec-h h2 { font-size: 21px; font-weight: 700; letter-spacing: -.2px; }
.s-sec-h p { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.s-sec-h .more { margin-left: auto; font-size: 12px; color: var(--pri); }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.course .thumb { height: 92px; background: linear-gradient(135deg,#213a68,#3d63b8); position: relative; display: flex; align-items: flex-end; padding: 12px 14px; color: #fff; }
.course .thumb.t2 { background: linear-gradient(135deg,#7a3025,#c25a3f); }
.course .thumb.t3 { background: linear-gradient(135deg,#1d5c4c,#2f8a70); }
.course .thumb.t4 { background: linear-gradient(135deg,#4a3a72,#7a5fae); }
.course .thumb .lv { position: absolute; top: 10px; left: 12px; font-size: 10px; background: rgba(255,255,255,.16); border-radius: 5px; padding: 2px 7px; }
.course .thumb .cn { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.course .cd { padding: 12px 14px 14px; }
.course .cd h4 { font-size: 13.5px; font-weight: 600; }
.course .cd .meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.course .cd .foot { display: flex; align-items: center; margin-top: 10px; }
.course .cd .price { font-size: 15px; font-weight: 700; color: var(--red); }
.course .cd .price small { font-size: 10.5px; color: var(--muted); font-weight: 400; }
.course .cd .foot .btn { margin-left: auto; height: 27px; padding: 0 10px; font-size: 11.5px; }
.trust { display: flex; gap: 14px; margin-top: 18px; }
.trust .t { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; }
.trust .t .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--pri-l); color: var(--pri-d); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.trust .t b { display: block; font-size: 12px; }
.trust .t span { font-size: 10.5px; color: var(--muted); }

/* ===== Chat ===== */
.chatbox { display: flex; flex-direction: column; height: 100%; }
.chat-log { flex: 1; padding: 16px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; display: flex; gap: 9px; }
.msg .mav { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.msg .bub { background: #f2f5fb; border-radius: 10px 10px 10px 3px; padding: 9px 12px; font-size: 12.3px; line-height: 1.6; color: #2a3b59; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg.me .bub { background: var(--pri); color: #fff; border-radius: 10px 10px 3px 10px; }
.msg.ai .mav { background: linear-gradient(135deg,#d64b32,#a8321f); }
.msg.me .mav { background: #4b6cf5; }
.chat-input { border-top: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 8px; align-items: center; }
.chat-input .in { flex: 1; height: 34px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; padding: 0 12px; color: var(--muted2); font-size: 12px; background: #fff; }
.chat-input .btn { height: 34px; }

/* ===== Classroom ===== */
.stage { background: #101a2e; border-radius: 12px; position: relative; overflow: hidden; }
.stage .video { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, #2c4062 0%, #14203a 60%, #0c1424 100%); }
.stage .person { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); text-align: center; color: #e8eefb; }
.stage .person .head { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg,#5a7bd8,#8fa7f0); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.stage .person b { font-size: 14px; }
.stage .person span { display: block; font-size: 11px; color: #93a3c2; margin-top: 2px; }
.stage .pi { position: absolute; right: 14px; top: 14px; width: 150px; height: 100px; border-radius: 9px; background: linear-gradient(135deg,#243a63,#3f5c96); display: flex; align-items: center; justify-content: center; color: #dbe3f3; font-size: 12px; border: 1px solid rgba(255,255,255,.12); }
.stage .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: rgba(8,13,24,.8); display: flex; align-items: center; justify-content: center; gap: 10px; }
.stage .bar .ctl { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); color: #dbe3f3; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.stage .bar .ctl.red { background: var(--red); color: #fff; }
.stage .live { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.stage .live span { font-size: 10.5px; background: rgba(214,75,50,.9); color: #fff; border-radius: 6px; padding: 3px 9px; }

/* ===== Exam ===== */
.qbox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; }
.qbox .qno { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.qbox .q { font-size: 17px; line-height: 1.9; margin-top: 8px; color: #1b2b47; }
.qbox .opts { margin-top: 18px; display: grid; gap: 10px; }
.qbox .opt { border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; font-size: 13px; display: flex; align-items: center; gap: 12px; }
.qbox .opt.on { border-color: var(--pri); background: var(--pri-l); }
.qbox .opt .k { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #cfd7e6; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.qbox .opt.on .k { background: var(--pri); border-color: var(--pri); color: #fff; }
.timer { font-size: 20px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.qnav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.qnav span { height: 28px; border-radius: 6px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.qnav span.done { background: var(--pri-l); border-color: #c9d7ff; color: var(--pri-d); }
.qnav span.now { background: var(--pri); border-color: var(--pri); color: #fff; }

/* ===== Certificate ===== */
.cert { background: #fff; border: 1px solid #e6d9c2; border-radius: 4px; padding: 34px 40px; position: relative; box-shadow: 0 8px 30px rgba(20,30,60,.08); }
.cert::before { content: ''; position: absolute; inset: 9px; border: 1px solid #e9dcc4; border-radius: 2px; pointer-events: none; }
.cert h3 { font-size: 21px; letter-spacing: 3px; color: #7a5a2e; text-align: center; }
.cert .en { text-align: center; font-size: 9.5px; letter-spacing: 2px; color: #a58c66; margin-top: 2px; }
.cert .line { height: 1px; background: #e9dcc4; margin: 16px 0; }
.cert .big { text-align: center; font-size: 26px; font-weight: 700; color: #1b2b47; letter-spacing: 1px; }
.cert .meta { display: flex; justify-content: space-between; margin-top: 22px; font-size: 10.5px; color: #7c6a4d; }
.cert .qr { width: 62px; height: 62px; background: repeating-linear-gradient(45deg,#1b2b47 0 4px,#fff 4px 8px); }
/* ===== 中俄双语原型扩展 ===== */
.sb { width: 252px; flex: 0 0 252px; }
.sb-nav { padding: 8px 9px; overflow-y: auto; }
.sb-item { padding: 6.5px 9px; font-size: 11.8px; }
.sb-item .num { width: 20px; flex: 0 0 20px; font-size: 9.5px; color: #6f7f9c; }
.sb-item .lbl { min-width: 0; }
.sb-item .zh, .sb-sub .zh { font-size: 9.6px; margin-top: 0; color: #7c8aa5; }
.sb-sec { padding: 9px 9px 4px; font-size: 9.6px; }
.sb-sub { display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 24px; font-size: 10.6px; color: #a9b6cd; border-radius: 7px; }
.sb-sub .dot { width: 4px; height: 4px; border-radius: 50%; background: #4b5b78; flex: 0 0 4px; }
.sb-sub .lbl { min-width: 0; }
.sb-mod { display: flex; align-items: baseline; gap: 6px; padding: 8px 9px 5px; font-size: 10.8px; font-weight: 600; color: #cfd9ea; cursor: pointer; border-radius: 7px; }
.sb-mod:hover { background: rgba(255,255,255,.04); }
.sb-mod .tw { font-size: 9px; color: #6f7f9c; width: 10px; transition: transform .15s; }
.sb-mod .cnt { margin-left: auto; font-size: 9px; color: #5f6f8c; }
.sb-mod.open .tw { transform: rotate(0deg); }
.sb-mod:not(.open) .tw { transform: rotate(-90deg); }
.sb-pages { display: none; }
.sb-pages.open { display: block; }
.sb-mod .zh { font-size: 9.4px; color: #7c8aa5; }
.sb-mod.on { color: #fff; }
.sb-page { display: flex; align-items: baseline; gap: 7px; padding: 4px 9px 4px 24px; border-radius: 7px; font-size: 10.4px; color: #a9b6cd; }
.sb-page .num { font-size: 8.8px; color: #63718e; width: 24px; flex: 0 0 24px; }
.sb-page .zh { font-size: 9.2px; color: #7c8aa5; }
.sb-page.on { background: rgba(47,91,255,.14); color: #fff; }
.sb-page.on .num, .sb-page.on .zh { color: #c3cde0; }
.sb-sub.on { background: rgba(47,91,255,.14); color: #fff; }
.sb-user b { font-size: 11.5px; }
.sb-user span { font-size: 10px; }
.top { gap: 14px; }
.top .tt { min-width: 0; }
.top h1 { font-size: 15.5px; line-height: 1.25; }
.zh-title { font-size: 12px; color: #7b87a1; margin-top: 1px; }
.crumb-zh { color: #9aa4b8; margin-left: 6px; }
.lang { display: flex; gap: 2px; background: #f2f5fb; border: 1px solid #e2e7f0; border-radius: 7px; padding: 2px 3px; font-size: 10.5px; }
.lang b, .lang span { padding: 2px 7px; border-radius: 5px; font-weight: 500; color: #7b87a1; }
.lang b { background: #fff; color: #2145c4; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.zh { display: block; font-size: 10.5px; color: #8b95a9; font-weight: 400; line-height: 1.35; margin-top: 1px; letter-spacing: 0; }
.c-h b { font-size: 12.5px; }
.c-h .sub { font-size: 10.5px; }
.kpi .k { min-height: 28px; }
.tbl td { padding: 8px 10px; }
.tbl .zh { font-size: 9.8px; }
.btn.sm { height: 26px; font-size: 10.8px; }
.chip { display: inline-flex; white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; border: 1px solid #e2e7f0; background: #fff; border-radius: 14px; padding: 3px 10px; font-size: 10.5px; color: #4b5872; margin-right: 6px; }
.pgnav { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.pgbtn { height: 24px; min-width: 34px; padding: 0 7px; border-radius: 6px; border: 1px solid #e2e7f0; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; color: #4b5872; }
.pgbtn.off { color: #b6bfd0; background: #f7f9fd; }
.pgnav .pos { font-size: 10px; color: #9aa4b8; margin: 0 3px; }
.search2 { height: 30px; min-width: 170px; border: 1px solid #e2e7f0; background: #fff; border-radius: 8px; display: flex; align-items: center; padding: 0 10px; color: #9aa4b8; font-size: 11px; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #e2e7f0; }
.fn-list { padding: 4px 16px 10px; }
.fn { padding: 7px 0; border-bottom: 1px solid #eef1f6; }
.fn:last-child { border-bottom: 0; }
.fn-t { font-size: 11.6px; font-weight: 600; color: #2a3b59; }
.fn-t .fn-n { display: inline-block; width: 20px; color: #9aa4b8; font-weight: 500; font-size: 9.5px; }
.fn-t .zh { font-weight: 400; }
.fn-s { font-size: 10.3px; color: #8b95a9; margin: 2px 0 0 20px; }
.big-av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,#4b6cf5,#7f9bff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: 0 0 56px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; color: #2a3b59; margin-bottom: 5px; }
.field .req { color: #d64b32; }
.field .inp { height: 34px; border: 1px solid #e2e7f0; border-radius: 8px; background: #fff; display: flex; align-items: center; padding: 0 11px; font-size: 11px; color: #a8b1c2; }
.chat-panel { display: flex; flex-direction: column; height: 640px; }
.chat-log { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; }
.msg { max-width: 84%; display: flex; gap: 9px; }
.msg .mav { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; color: #fff; background: #4b6cf5; }
.msg.ai .mav { background: linear-gradient(135deg,#d64b32,#a8321f); }
.msg .bub { background: #f2f5fb; border-radius: 10px 10px 10px 3px; padding: 9px 12px; font-size: 11.8px; line-height: 1.6; color: #2a3b59; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg.me .bub { background: #2f5bff; color: #fff; border-radius: 10px 10px 3px 10px; }
.msg.me .bub .zh { color: #cdd9ff; }
.chat-input { border-top: 1px solid #e2e7f0; padding: 10px 12px; display: flex; gap: 8px; }
.toolbar .sp { margin-left: auto; }
.btn { white-space: nowrap; }
.inp .zh { display: inline; margin-left: 5px; }
.chat-input .in { flex: 1; height: 32px; border: 1px solid #e2e7f0; border-radius: 8px; display: flex; align-items: center; padding: 0 11px; color: #9aa4b8; font-size: 11px; }
.stage { background: #101a2e; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; height: 640px; }
.stage-video { flex: 1; position: relative; border-radius: 9px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2c4062 0%, #14203a 60%, #0c1424 100%); }
.stage-video .live { position: absolute; left: 12px; top: 12px; background: rgba(214,75,50,.9); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 5px; }
.stage-video .board { position: absolute; left: 12px; top: 50px; width: 326px; background: #fbfcfe; border-radius: 8px; padding: 11px 13px; color: #1b2b47; }
.board-k { font-size: 9.5px; color: #7b87a1; letter-spacing: .6px; }
.board-cn { font-size: 17px; letter-spacing: 1px; margin-top: 3px; }
.board-py { font-size: 10px; color: #7b87a1; }
.board-ru { font-size: 10.8px; color: #3a4a68; margin-top: 3px; }
.stage-video .pip { position: absolute; right: 12px; top: 12px; width: 150px; height: 92px; border-radius: 8px; background: linear-gradient(135deg,#243a63,#3f5c96); color: #dbe3f3; display: flex; align-items: center; justify-content: center; font-size: 10.5px; }
.stage-video .teach { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); text-align: center; color: #e8eefb; }
.teach .head { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg,#5a7bd8,#8fa7f0); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.teach b { font-size: 13px; white-space: nowrap; }
.teach span { display: block; font-size: 10px; color: #93a3c2; }
.stage-video .cc { position: absolute; left: 12px; right: 12px; bottom: 10px; background: rgba(0,0,0,.5); color: #dbe3f3; border-radius: 6px; padding: 6px 10px; font-size: 11px; text-align: center; }
.ctlbar { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; }
.ctlbar .ctl { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.1); color: #dbe3f3; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.ctlbar .ctl.on { background: rgba(47,91,255,.3); }
.ctlbar .ctl.red { width: 96px; background: #d64b32; color: #fff; font-size: 10.5px; }
.mini-msg { font-size: 11px; line-height: 1.55; padding: 6px 0; border-bottom: 1px solid #eef1f6; color: #3a4a68; }
.mini-msg:last-child { border-bottom: 0; }
.mini-msg b { color: #2145c4; }
.audio { display: flex; align-items: center; gap: 12px; background: #f5f7fb; border: 1px solid #e2e7f0; border-radius: 9px; padding: 11px 14px; }
.audio .play { width: 36px; height: 36px; border-radius: 50%; background: #2f5bff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.audio .wavebar { flex: 1; height: 6px; background: #dfe6f2; border-radius: 4px; overflow: hidden; }
.audio .wavebar i { display: block; height: 100%; background: #2f5bff; border-radius: 4px; }
.qtext { font-size: 12.5px; color: #3a4a68; margin: 14px 0 10px; }
.qtext .zh { font-size: 11px; }
.opts { display: grid; gap: 8px; }
.opt { border: 1px solid #e2e7f0; border-radius: 8px; padding: 9px 12px; font-size: 12px; display: flex; align-items: center; gap: 11px; color: #2a3b59; }
.opt .k { width: 22px; height: 22px; border-radius: 5px; border: 1px solid #cfd7e6; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #7b87a1; flex: 0 0 22px; }
.opt.on { border-color: #2f5bff; background: #eaf0ff; }
.opt.on .k { background: #2f5bff; border-color: #2f5bff; color: #fff; }
.timer { font-size: 18px; font-weight: 700; color: #d64b32; }
.qnav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.qnav span { height: 26px; border-radius: 5px; border: 1px solid #e2e7f0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #7b87a1; }
.qnav span.done { background: #eaf0ff; border-color: #c9d7ff; color: #2145c4; }
.qnav span.now { background: #2f5bff; border-color: #2f5bff; color: #fff; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-d { background: #f7f9fd; border-radius: 8px; min-height: 470px; padding: 7px; }
.cal-h { font-size: 10.5px; color: #7b87a1; text-align: center; padding-bottom: 5px; border-bottom: 1px solid #e7ecf4; margin-bottom: 6px; }
.cal-h .zh { font-size: 9px; }
.cal-b { border: 1px solid #e2e7f0; border-radius: 6px; padding: 6px; font-size: 9.8px; line-height: 1.4; }
.cal-b b { display: block; font-size: 10.5px; }
.cal-b .zh { font-size: 8.8px; color: inherit; opacity: .8; }
.switch { width: 34px; height: 19px; background: #cfd7e6; border-radius: 12px; display: inline-block; position: relative; }
.switch.on { background: #2f5bff; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.switch.on::after { left: 17px; }
.cert { border: 1px solid #e6d9c2; border-radius: 4px; padding: 26px 30px; position: relative; background: #fff; }
.cert-top { display: flex; align-items: center; gap: 9px; }
.cert-mk { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg,#d64b32,#a8321f); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cert-top b { font-size: 12px; display: block; }
.cert-top span { font-size: 8.5px; color: #a58c66; letter-spacing: .8px; }
.cert-no { margin-left: auto; font-size: 10px; color: #7a5a2e; font-weight: 600; }
.cert-line { height: 1px; background: #e9dcc4; margin: 14px 0; }
.cert-t { text-align: center; font-size: 19px; letter-spacing: 2px; color: #7a5a2e; font-weight: 700; }
.cert-t span { display: block; font-size: 10px; letter-spacing: 2px; color: #a58c66; font-weight: 400; margin-top: 2px; }
.cert-s { text-align: center; font-size: 10px; color: #7c6a4d; margin-top: 14px; }
.cert-name { text-align: center; font-size: 23px; font-weight: 700; color: #1b2b47; margin-top: 5px; }
.cert-name span { font-size: 12px; color: #7c6a4d; font-weight: 400; margin-left: 8px; }
.cert-d { text-align: center; font-size: 10.5px; color: #6b5a3d; margin-top: 7px; }
.cert-stats { display: flex; justify-content: center; gap: 36px; margin-top: 14px; }
.cert-stats div { text-align: center; }
.cert-stats b { font-size: 16px; color: #1b2b47; display: block; }
.cert-stats span { font-size: 8.5px; color: #a58c66; }
.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; font-size: 9.5px; color: #7c6a4d; }
.qr { width: 54px; height: 54px; background: repeating-linear-gradient(45deg,#1b2b47 0 4px,#fff 4px 8px); }
.essay { font-size: 15px; line-height: 2.3; letter-spacing: .4px; color: #1b2b47; }
.essay .fix { color: #d64b32; text-decoration: line-through; }
.essay .add { color: #1b9a66; }
.essay .note { font-size: 9px; color: #d64b32; background: #fdeeea; border-radius: 3px; padding: 1px 4px; }
.essay .ok { border-bottom: 2px solid #bfe6d5; }
.content { display: flex; flex-direction: column; }
.pagefoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 6px; border-top: 1px solid #e2e7f0; font-size: 9.8px; color: #9aa4b8; letter-spacing: .3px; }
.sb-logo { height: 56px; }
.sb-item { padding: 5px 9px; margin-bottom: 0; }
.sb-sub { padding: 4px 9px 4px 24px; }
.sb-sec { padding: 7px 9px 3px; }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.qa .q { background: #fff; border: 1px solid #e2e7f0; border-radius: 10px; padding: 11px 13px; }
.qa .q b { font-size: 11.5px; display: block; }
.qa .q span { font-size: 10px; color: #8b95a9; }
/* ===== 语言切换 ===== */
.lang { display: inline-flex; width: auto; }
.lang button { background: transparent; border: 0; font: inherit; font-size: 10.5px; color: #7b87a1; padding: 2px 7px; border-radius: 5px; cursor: pointer; }
.lang button.on { background: #fff; color: #2145c4; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html[data-lang="ru"] .zh { display: none !important; }
html[data-lang="zh"] .ru { display: none !important; }
html[data-lang="zh"] .zh { display: inline !important; font-size: inherit !important; color: inherit !important; font-weight: inherit !important; margin: 0 !important; line-height: inherit !important; letter-spacing: inherit !important; }
html[data-lang="ru"] .zh-title, html[data-lang="ru"] .crumb-zh { display: none !important; }
