/* 最强大脑 · 全科全网技术 · 公开自学 · 导师陪跑服务平台 — 统一设计系统 */
:root {
  --primary: #9c1424;
  --primary-2: #c0392b;
  --accent: #d8a13c;
  --accent-soft: #fdf3e0;
  --ink: #172033;
  --ink-2: #4a5670;
  --ink-3: #7a869c;
  --line: #f0e0d4;
  --bg: linear-gradient(180deg, #7d0d1a 0%, #9c1424 46%, #6b0812 100%);
  --card: #ffffff;
  --success: #17915b;
  --danger: #d2453d;
  --warn: #c77700;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 22px rgba(78, 4, 14, .08);
  --shadow-lg: 0 12px 34px rgba(78, 4, 14, .14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: #fff7f2;
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.35; }
p { margin: 0 0 10px; }
ul { margin: 0; padding-left: 20px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 720px; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff; box-shadow: 0 2px 14px rgba(16,54,122,.18);
}
.topbar-inner { display: flex; align-items: center; gap: 14px; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #f0c470); color: #4b2c00; font-weight: 800; font-size: 14px;
}
.brand small { display: block; font-size: 10px; font-weight: 400; opacity: .75; letter-spacing: .3px; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 7px 11px; border-radius: 8px; font-size: 14px; opacity: .88; white-space: nowrap;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.14); opacity: 1; }
/* 身份入口（会员 / 推广 / 门店）：主标题 + 副标题两行，视觉上与内容栏目区分开 */
.nav-entry {
  display: flex; flex-direction: column; line-height: 1.25; text-align: left;
  border: 1px solid rgba(255,255,255,.22);
}
.nav-entry b { font-size: 13px; font-weight: 600; }
.nav-entry small { font-size: 10px; opacity: .68; font-weight: 400; white-space: nowrap; }
.nav-entry:hover, .nav-entry.active { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); opacity: 1; }

/* 右下角「全脑自学加油站」浮卡（v26，取代 v24 顶栏胶囊）
 * 全站每页 fixed 右下角常驻；名目（标签）灰小字、数值红/金大字，层级做区分。
 * 纯 right/bottom 定位，不用 inset（老内核），也不用 flex gap。 */
.sp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 316px;
  background: #fff;
  border: 1px solid #efd9a8;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(78, 4, 14, .22);
  overflow: hidden;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
}
.sp-head {
  padding: 9px 10px 9px 14px;
  background: linear-gradient(135deg, #c0392b 0%, #9c1424 100%);
  color: #fff;
}
.sp-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.sp-title:before { content: "⚡ "; font-size: 12px; opacity: .9; }
.sp-x {
  float: right;
  width: 22px; height: 22px;
  line-height: 20px;
  padding: 0;
  margin: -1px 0 0 8px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  opacity: .8;
}
.sp-x:hover { opacity: 1; background: rgba(255,255,255,.18); }
.sp-body { padding: 12px 14px 0; }
.sp-tip { margin: 0; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.sp-tip b { font-size: 15px; color: #c0392b; margin: 0 2px; }
.sp-blank { height: 12px; }
.sp-today { padding: 4px 0 10px; }
.sp-today:before, .sp-today:after { content: " "; display: table; }
.sp-today:after { clear: both; }
.sp-today-l { float: left; }
.sp-lab { display: block; font-size: 12px; color: var(--ink-3); }
.sp-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #c0392b;
  letter-spacing: -1px;
}
.sp-unit { font-size: 12px; color: #c0392b; margin-left: 3px; }
.sp-btn {
  float: right;
  margin-top: 12px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd982 0%, #e8ac3c 100%);
  color: #5a3300;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(200, 140, 20, .3);
}
.sp-btn:hover { background: linear-gradient(135deg, #ffe5a3 0%, #f2bd55 100%); }
.sp-done {
  float: right;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px dashed #d8cbb2;
  border-radius: 8px;
  background: #faf7f0;
  color: #8a7c62;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}
.sp-sum {
  padding: 9px 0;
  border-top: 1px dashed #f3e2d5;
  font-size: 12px;
  color: var(--ink-2);
}
.sp-sum b { font-size: 14px; color: #a9761a; margin: 0 2px; }
.sp-plan {
  display: block;
  padding: 9px 12px;
  margin: 0 0 12px;
  border-radius: 10px;
  background: #fdf3ea;
  border: 1px solid #f5ddc4;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.sp-plan:hover { background: #fbeada; border-color: #f0cfae; }
.sp-plan i { float: right; font-style: normal; color: var(--primary-2); font-weight: 700; }
.sp-foot {
  padding: 8px 14px;
  background: #fdf6f1;
  border-top: 1px solid #f3e2d5;
  font-size: 12px;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.5;
}
.sp-foot b { color: #c0392b; font-size: 13px; margin: 0 2px; }
/* 心疗页底部有固定播放器，浮卡上移让开 */
body.heal-page .sp { bottom: 96px; }
@media (max-width: 720px) {
  .sp { width: auto; left: 12px; right: 12px; bottom: 12px; }
  .sp-num { font-size: 24px; }
  body.heal-page .sp { bottom: 88px; }
}
.nav-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--primary); flex-direction: column; align-items: stretch; padding: 8px 12px 14px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-toggle { display: block; }
  .nav-entry { border: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-entry small { white-space: normal; }
}

/* ---------- 通用组件 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card { margin-top: 16px; }
.card, .stat, .svc, .course, .modal, .admin-side, .qr-frame, .scan-dialog, .fx-item, table.tb { color: var(--ink); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title h3 { margin: 0; font-size: 16px; }
.card-title .sub { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }

/* ---------- 积分成长计划（会员中心 / 积分页共用，v24） ----------
 * 三格概览（级别 / 剩余积分 / 累计）+ 一条竖排的赚分链路。
 * 仍然用 float 与百分比宽度，不依赖 flex gap / inset / aspect-ratio。 */
.pgs-top { display: block; margin: 0 0 14px; }
.pgs-top:before, .pgs-top:after { content: " "; display: table; }
.pgs-top:after { clear: both; }
.pgs-cell {
  float: left; width: 33.3333%;
  padding: 12px 8px; text-align: center;
  border-radius: 12px; box-sizing: border-box;
}
.pgs-cell.hot {
  background: linear-gradient(180deg, #fff8e6 0%, #fdf1d4 100%);
  border: 1px solid #e2bf6a;
}
.pgs-lab { font-size: 12px; color: var(--ink-3); }
.pgs-val { margin-top: 2px; font-size: 18px; font-weight: 700; color: var(--ink); }
.pgs-val.num { font-size: 30px; line-height: 1.2; color: #c0392b; }
.pgs-note { margin-top: 2px; font-size: 11px; color: #8a6a1f; }
.pgs-flow { border-left: 2px solid #f3e2d5; }
.pgs-step { position: relative; display: block; padding: 8px 0 8px 34px; }
.pgs-n {
  position: absolute; left: -13px; top: 9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #faecea; color: var(--primary-2);
  font-size: 12px; font-weight: 700; line-height: 24px; text-align: center;
}
.pgs-step.done .pgs-n { background: var(--success); color: #fff; }
.pgs-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.pgs-tag {
  margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-style: normal; font-weight: 400;
  color: #8a6a1f; background: #fdf3e0;
}
.pgs-step.done .pgs-tag { color: #0f6b43; background: #e6f6ee; }
.pgs-d { margin-top: 2px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.pgs-d b { color: var(--primary-2); }
@media (max-width: 560px) {
  .pgs-cell { float: none; width: 100%; padding: 8px 10px; }
  .pgs-cell.hot { margin: 6px 0; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--primary); color: #fff; font-size: 14.5px; cursor: pointer; transition: .18s;
}
.btn:hover { background: var(--primary-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.gold { background: linear-gradient(135deg, var(--accent), #eec06a); color: #40260a; font-weight: 600; }
.btn.gold:hover { filter: brightness(1.05); }
.btn.outline { background: #fff; color: var(--primary); border-color: #e3bfa6; }
.btn.outline:hover { border-color: var(--primary); background: #fdf6f1; }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn.ghost:hover { background: #f9ece2; }
.btn.danger { background: var(--danger); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn.xs { padding: 4px 9px; font-size: 12.5px; border-radius: 7px; }
.btn.block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; background: #faecea; color: var(--ink-2); }
.badge.ok { background: #e6f6ee; color: var(--success); }
.badge.warn { background: #fdf3e0; color: var(--warn); }
.badge.err { background: #fdeceb; color: var(--danger); }
.badge.info { background: #fae3d4; color: var(--primary-2); }
.badge.gold { background: linear-gradient(135deg, #fdeac6, #f7d79a); color: #6b4405; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
}
.stat .label { font-size: 12.5px; color: var(--ink-3); }
.stat .value { font-size: 24px; font-weight: 700; color: var(--primary); margin-top: 2px; letter-spacing: -.5px; }
.stat .value.gold { color: var(--warn); }
.stat .value.green { color: var(--success); }
.stat .foot { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* 表单 */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
input[type=text], input[type=tel], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #e8cdb8; border-radius: 10px; font-size: 15px;
  background: #fff; color: var(--ink); font-family: inherit; outline: none; transition: .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(192,57,43,.14); }
textarea { min-height: 84px; resize: vertical; }
.form-inline { display: flex; gap: 10px; }
.form-inline > * { flex: 1; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.tb th, table.tb td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tb th { background: #fdf6f1; color: var(--ink-2); font-weight: 600; font-size: 13px; position: sticky; top: 0; }
table.tb tbody tr:hover { background: #fdf7f0; }
table.tb td.wrap { white-space: normal; min-width: 180px; }
.empty { padding: 40px 16px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* 分区标题 */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 26px 0 14px; flex-wrap: wrap; }
.section-head h2 { font-size: 20px; margin: 0; }
.section-head p { margin: 0; color: rgba(255, 224, 207, .8); font-size: 13.5px; }

/* 首页 Hero */
.hero {
  background: linear-gradient(135deg, #7d0d1a 0%, #9c1424 55%, #c0392b 100%);
  color: #fff; border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,161,60,.35), transparent 65%);
}
.hero h1 { font-size: 27px; margin-bottom: 8px; }
.hero .lead { opacity: .9; max-width: 640px; font-size: 15px; }
.hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.hero .chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; border-radius: 999px; font-size: 13px; }

/* 服务卡片 */
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; position: relative;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #eccfb8; }
.svc .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--accent-soft); margin-bottom: 12px; }
.svc h4 { margin: 0 0 6px; font-size: 16px; }
.svc .desc { color: var(--ink-2); font-size: 13.5px; flex: 1; }
.svc .price { color: var(--danger); font-weight: 700; font-size: 17px; margin: 10px 0 12px; }
.svc .price small { font-size: 12px; color: var(--ink-3); font-weight: 400; }

.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 12px; background: #faecea; color: var(--primary-2); padding: 3px 9px; border-radius: 6px; }
.tag.gold { background: var(--accent-soft); color: #8a6212; }

/* 课程列表 */
.course {
  display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: .2s;
}
.course:hover { border-color: #eccfb8; box-shadow: var(--shadow-lg); }
.course .thumb {
  width: 86px; height: 86px; flex: 0 0 86px; border-radius: 12px; display: grid; place-items: center;
  font-size: 34px; background: linear-gradient(135deg, #faecea, #f9e2c8);
}
.course .body { flex: 1; min-width: 0; }
.course h4 { margin: 0 0 4px; font-size: 16.5px; }
.course .meta { font-size: 13px; color: var(--ink-3); }
@media (max-width: 620px) { .course .thumb { width: 62px; height: 62px; flex-basis: 62px; font-size: 26px; } }

/* 步骤条 */
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.step .n { width: 22px; height: 22px; border-radius: 50%; background: #f7e3d4; color: var(--ink-2); display: grid; place-items: center; font-size: 12.5px; }
.step.on { color: var(--primary); font-weight: 600; }
.step.on .n { background: var(--primary); color: #fff; }

/* 支付区 */
.pay-box { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; }
@media (max-width: 620px) { .pay-box { grid-template-columns: 1fr; } }
.qr-frame { background: #fff; border: 1px dashed #e3bfa6; border-radius: 12px; padding: 12px; text-align: center; }
.qr-frame img, .qr-frame canvas { width: 100%; max-width: 180px; margin: 0 auto; }
.amt-big { font-size: 30px; font-weight: 800; color: var(--danger); letter-spacing: -1px; }

/* 后台布局 */
.admin-wrap { display: flex; gap: 18px; align-items: flex-start; }
.admin-side {
  width: 200px; flex: 0 0 200px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; position: sticky; top: 74px;
}
.admin-side a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); }
.admin-side a:hover { background: #fbf1ea; }
.admin-side a.on { background: var(--primary); color: #fff; font-weight: 600; }
.admin-main { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; flex: none; position: static; display: flex; overflow-x: auto; gap: 6px; }
  .admin-side a { white-space: nowrap; }
}

/* Tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button {
  border: 0; background: none; padding: 10px 14px; font-size: 14.5px; color: var(--ink-2);
  cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; font-family: inherit;
}
.tabs button.on { color: var(--primary); border-color: var(--primary); font-weight: 600; }

/* 提示 */
.tip { background: #fdf6f1; border-left: 3px solid var(--primary-2); padding: 10px 14px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); }
.tip.warn { background: #fdf6e8; border-color: var(--accent); color: #7a5611; }
.tip.ok { background: #eef8f2; border-color: var(--success); color: #166b45; }

/* Toast */
#toast {
  position: fixed; left: 50%; top: 20%; transform: translate(-50%, -10px); z-index: 999;
  background: rgba(23, 32, 51, .92); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .22s; max-width: 80vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 模态 */
.mask { position: fixed; inset: 0; background: rgba(46, 4, 10, .6); display: none; z-index: 200; align-items: center; justify-content: center; padding: 16px; }
.mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 20px; width: 100%; max-width: 460px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal h3 { margin-bottom: 14px; }

/* 页脚 */
.footer { margin-top: 40px; padding: 22px 0 34px; color: rgba(255, 224, 207, .78); font-size: 13px; border-top: 1px solid var(--line); }
.footer .inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 视频通话房间 */
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .room-grid { grid-template-columns: 1fr; } }
.video-box { position: relative; background: #0d1526; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.video-box video { width: 100%; height: 100%; object-fit: cover; background: #0d1526; }
.video-box .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #7b88a5; font-size: 13.5px; }
.video-box .name { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.5); color: #fff; font-size: 12.5px; padding: 3px 9px; border-radius: 6px; }

.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 600; font-size: 14.5px; }
.list-item .li-sub { font-size: 12.5px; color: var(--ink-3); }
.list-item .li-right { text-align: right; white-space: nowrap; }
.right-gold { color: var(--warn); font-weight: 700; }
.right-green { color: var(--success); font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.text-muted { color: var(--ink-3); font-size: 13px; }
.text-danger { color: var(--danger); }
.text-sm { font-size: 13px; }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ===== 首页：温馨提示 / 版本 / 成功率 / 礼包 / 行动号召 ===== */
.card.notice { border-color:#f2ddca; }
.notice-list { display: grid; gap: 12px; }
.notice-item { display: flex; gap: 12px; align-items: flex-start; }
.notice-item .no {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; background: var(--primary);
  color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; margin-top: 2px;
}
.notice-item b { font-size: 14.5px; }
.notice-item p { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.ver-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ver-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rate { height: 6px; border-radius: 999px; background: #f6e7da; overflow: hidden; margin-top: 8px; }
.rate i { display: block; height: 100%; background: linear-gradient(90deg, #e0472f, #ffb347); border-radius: 999px; }
.cta-band {
  background: linear-gradient(135deg, #7d0d1a, #c0392b); color:#fff; border-radius: 20px;
  padding: 30px 28px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 22px; margin-bottom: 8px; }
.cta-band p { margin: 0 0 18px; opacity: .9; font-size: 14.5px; line-height: 1.7; }
.cta-band .btn-row { justify-content: center; }
.cta-tip { margin-top: 16px; font-size: 13px; line-height: 1.8; opacity: .85; }
.cta-tip b { color: #f6cf7d; }

/* ===== 课程详情：特色 / 效果 / 课时标签 ===== */
.fx-grid { display: grid; gap: 12px; }
.fx-item { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: #fffcf7; }
.fx-item .t { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.fx-item .d { color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.ef-list { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 13.8px; line-height: 1.9; }
.hours-badge { background: var(--accent-soft); color: #8a6212; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

/* ===== 矢量插画容器（真实大脑 + 玄幻光效） ===== */
.artbox {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, #fdf2e3, #fbe9d2);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(16,54,122,.08);
}
.artbox svg { width: 100%; height: 100%; display: block; }
.artbox.emoji { font-size: 24px; background: var(--accent-soft); }
.artbox.sm { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
.artbox.sm.emoji { font-size: 19px; }
.artbox.lg { width: 84px; height: 84px; flex-basis: 84px; border-radius: 18px; }
.artbox.lg.emoji { font-size: 38px; }
.artbox.hero { width: 108px; height: 108px; flex-basis: 108px; border-radius: 22px; }
.artbox.hero.emoji { font-size: 48px; }
.course-hero { display: flex; gap: 16px; align-items: center; }

/* ===== 扫码注册专属样式 ===== */
.lock-card { text-align: center; padding: 30px 24px; }
.lock-icon { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.lock-card h3 { margin: 0 0 10px; font-size: 19px; }
.lock-card p { color: var(--ink-2); font-size: 14px; line-height: 1.75; margin: 0; }
.lock-card ol { text-align: left; }
.lock-card .btn-row { justify-content: center; }

.scan-card { border-color: #cfe4d4; background: linear-gradient(135deg, #f6fdf8, #f2f9ff); }
.scan-owner { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.scan-owner .av {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 18px; font-weight: 700;
}
.own-name { font-size: 16px; font-weight: 700; }
.own-meta { color: var(--ink-2); font-size: 13px; margin-top: 3px; }
.own-tip { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }

.scan-mask {
  position: fixed; inset: 0; background: rgba(60,6,14,.62); z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(2px);
}
.scan-dialog {
  background: #fff; border-radius: 20px; padding: 26px 22px; max-width: 420px; width: 100%;
  box-shadow: 0 24px 60px rgba(8,22,48,.28); text-align: center; animation: scanIn .22s ease-out;
}
@keyframes scanIn { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.scan-qr { font-size: 42px; line-height: 1; margin-bottom: 8px; }
.scan-dialog h3 { margin: 0 0 10px; font-size: 19px; }
.scan-dialog p { color: var(--ink-2); font-size: 13.8px; line-height: 1.75; margin: 0; }
.scan-steps { margin: 16px 0 12px; display: grid; gap: 8px; text-align: left; }
.scan-steps div {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2);
  background: #fdf6f1; border: 1px solid var(--line); border-radius: 11px; padding: 9px 12px;
}
.scan-steps span {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: 12px; display: grid; place-items: center; font-weight: 700;
}
.scan-contact { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.scan-dialog .btn-row { justify-content: center; }

/* ===== 会员中心：推广身份入口 ===== */
.card.promo-band { border-color: #cfe4d4; background: linear-gradient(135deg, #f6fdf8, #f2f9ff); }
.card.promo-band h3 { font-size: 17px; }

/* ===== 后台：老师擅长课程多选 ===== */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 10px; max-height: 190px; overflow: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fdf8f2; }
.chk { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.chk input { width: 15px; height: 15px; accent-color: var(--primary); }

/* ===== 全站公告条 ===== */
.notice-bar { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; background: linear-gradient(135deg, #fff8e8, #fffdf6); border: 1px solid #f0dfb8; color: #7a5611; font-size: 13.8px; line-height: 1.7; }
.notice-bar .nb-i { flex: 0 0 auto; }
.notice-bar b { color: #6a4a0d; }

/* ===== 老师工作台 ===== */
.tc-head { display: flex; align-items: center; gap: 14px; }
.tc-av { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 20px; font-weight: 700; }
.wo-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.wo-row:last-child { border-bottom: 0; }
.wo-main { flex: 1; min-width: 0; }
.wo-title { font-weight: 700; font-size: 15px; }
.wo-sub { color: var(--ink-2); font-size: 13.2px; margin-top: 3px; line-height: 1.65; }
.wo-kw { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 20px; background: var(--accent-soft); color: var(--primary); font-size: 12.5px; }
.wo-act { flex: 0 0 auto; display: grid; gap: 6px; }


/* v43：后台「站点信息 → 首页门头图」上传控件（预览 + 上传 + 恢复出厂） */
.hero-pick { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.hero-pick img.hero-prev {
  width: 240px;
  height: 160px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7f3ee;
}
.hero-pick .hero-ops { flex: 1; min-width: 200px; display: grid; gap: 8px; }
.hero-pick .hero-ops .btn { justify-self: start; }
.hero-pick .hero-ops .tip { margin: 0; }

/* ---------- v108：后台 · 成果展示页视频位编辑卡 ---------- */
.mv-edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mv-edit { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(20, 30, 60, .05); }
/* ★v115：课程视频位「已关闭」态（后台） */
.mv-edit.is-off { border-style: dashed; background: #fafbfe; }
.mv-edit.is-off .mv-edit-v { opacity: .45; }
.badge.off { background: #eef0f6; color: #7c86a0; }
.mv-edit-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mv-edit-hd b { font-size: 14px; }
.mv-edit-v { display: block; width: 100%; height: 130px; border-radius: 10px; background: #0b1330; object-fit: contain; }
.mv-edit-v.is-empty, .mv-edit-v.is-link { display: flex; align-items: center; justify-content: center; height: 130px; border-radius: 10px; border: 1px dashed #d3d9e8; background: #f6f8fc; color: #8b96b0; font-size: 12.5px; }
.mv-edit .field { margin-bottom: 8px; }
.mv-edit .field label { font-size: 12.5px; }
.mv-edit-tip { margin-top: 6px; min-height: 16px; word-break: break-all; }
/* ★v31：成果展示页三大栏目文字（角标 / 标题 / 介绍）编辑块 */
.mv-tedit { padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-left: 3px solid #c9a227; border-radius: 10px; background: #fbfcff; }
.mv-tedit:last-child { margin-bottom: 0; }
.mv-tedit .mv-edit-hd { margin-bottom: 8px; }
.mv-tedit .field { margin-bottom: 8px; }
@media (max-width: 1180px) { .mv-edit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .mv-edit-grid { grid-template-columns: 1fr; } }
/* ---------- ★v37：课程音频后台卡（封面缩略 + 试听） ---------- */
.ca-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ca-cover {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%;
  background-color: #7d0d1a; background-size: cover; background-position: center;
  border: 3px solid #1b1b1f; box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}
.ca-cover.is-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #b9a6a9; background-image: none;
  background-color: #f7f3f4; border-color: #e3d9dc; box-shadow: none;
}
.ca-aud { flex: 1; min-width: 0; height: 38px; }
.ca-aud.is-empty {
  display: flex; align-items: center; justify-content: center;
  height: 62px; border-radius: 10px; border: 1px dashed #d3d9e8;
  background: #f6f8fc; color: #8b96b0; font-size: 12.5px;
}

/* ★v160 学习监测：单人详情弹窗加宽，五列表格不挤压 */
.modal.wide { max-width: 780px; }
