:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f0f4fb;
  --ink: #172a4a;
  --ink-2: #334566;
  --muted: #73819b;
  --primary: #3568f5;
  --primary-dark: #214ed2;
  --primary-soft: #eaf0ff;
  --accent: #ff8a4c;
  --accent-soft: #fff1e8;
  --green: #16a87c;
  --green-soft: #e6f8f1;
  --red: #e5534b;
  --line: #e5eaf2;
  --shadow-sm: 0 2px 10px rgba(23, 42, 74, .05);
  --shadow: 0 12px 36px rgba(23, 42, 74, .09);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; height: 70px; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #6a95ff);
  color: #fff; font-weight: 700; font-size: 19px;
  box-shadow: 0 6px 14px rgba(53, 104, 245, .28);
}
.brand-text { font-weight: 700; font-size: 18px; letter-spacing: .5px; line-height: 1.1; }
.brand-text em { display: block; font-style: normal; font-size: 9px; letter-spacing: 2.4px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav a { font-size: 14px; color: var(--ink-2); font-weight: 500; padding: 8px 0; position: relative; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--primary);
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 22px; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 20px; font-size: 14px; font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(53, 104, 245, .24); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(255, 138, 76, .24); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; border-color: #f4c7c4; color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eef3ff 0%, #f7f9ff 55%, #fff6ef 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .5;
}
.hero::before { width: 340px; height: 340px; right: -90px; top: -140px; background: radial-gradient(circle, #cfe0ff, transparent 70%); }
.hero::after { width: 260px; height: 260px; left: -110px; bottom: -150px; background: radial-gradient(circle, #ffe2cc, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 84px 0 78px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 13px; color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.hero-tag span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: 50px; line-height: 1.2; margin: 22px 0 18px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; }
.hero-stats div strong { display: block; font-size: 27px; line-height: 1; color: var(--ink); }
.hero-stats div span { font-size: 13px; color: var(--muted); }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 26px; box-shadow: var(--shadow); transform: rotate(1.2deg);
}
.hero-card h3 { margin: 0 0 18px; font-size: 16px; }
.mini-class { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mini-class:last-child { border-bottom: 0; }
.mini-class .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.mini-class .dot.orange { background: var(--accent-soft); color: var(--accent); }
.mini-class b { display: block; font-size: 14px; }
.mini-class small { color: var(--muted); font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { font-size: 31px; margin: 0 0 8px; letter-spacing: -.5px; }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; margin-bottom: 8px; }
.link-more { color: var(--primary); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.teacher-card { padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 25px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.teacher-card h3 { margin: 0 0 3px; font-size: 19px; }
.teacher-title { color: var(--primary); font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.teacher-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; min-height: 66px; }
.teacher-card .ip-card-intro { margin: 0 0 16px; }
.teacher-card .ip-intro-item { gap: 7px; }
.teacher-card .ip-intro-label { min-width: 0; padding: 2px 6px; font-size: 10px; }
.teacher-card .ip-intro-text { font-size: 12px; line-height: 1.6; }
.modal-body .ip-card-intro { margin: 0 0 20px; }
.modal-body .ip-intro-text { font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { background: var(--surface-2); color: var(--ink-2); border-radius: 6px; padding: 4px 10px; font-size: 12px; }
.tag.primary { background: var(--primary-soft); color: var(--primary); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.orange { background: var(--accent-soft); color: #d96a2e; }

/* ---------- Teacher qualifications ---------- */
.teacher-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 12px; }
.badge.certified { background: var(--green-soft); color: var(--green); }
.badge.pending { background: var(--accent-soft); color: #d96a2e; }
.form-section-title { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 4px; }
.cert-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cert-head h3 { margin: 0; font-size: 15px; }
.cert-grid { margin-top: 14px; }
.info-item.full { grid-column: 1 / -1; }

/* ---------- Student files (staff only) ---------- */
#student-file-form textarea { min-height: 84px; font-family: inherit; line-height: 1.6; }
#student-photo-preview { min-height: 90px; max-width: 220px; }
#student-photo-preview img { max-height: 140px; }
.cert-photo { margin-top: 14px; }
.cert-photo img { max-height: 180px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cert-upload-field .cert-file { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; background: var(--surface-2); }
.cert-upload-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cert-preview { margin-top: 10px; min-height: 76px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.cert-preview img { max-height: 160px; max-width: 100%; object-fit: contain; }
.cert-inline { display: inline-block; margin-top: 4px; }

.class-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.class-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.class-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.class-subject { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 1px; }
.class-card h3 { margin: 4px 0 0; font-size: 19px; }
.badge { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 4px 11px; white-space: nowrap; }
.badge.ongoing { background: var(--green-soft); color: var(--green); }
.badge.forming { background: var(--accent-soft); color: #d96a2e; }
.badge-col { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.badge.mode-badge { background: var(--primary-soft); color: var(--primary); }
.badge.mode-badge.mode-offline { background: var(--accent-soft); color: #d96a2e; }
.badge.mode-badge.mode-both { background: var(--green-soft); color: var(--green); }
.filter-group { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.filter-group .filters { margin-bottom: 0; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.class-meta { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.class-meta div { display: flex; gap: 9px; align-items: center; }
.class-meta i { width: 16px; text-align: center; color: var(--muted); font-style: normal; }
.class-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 20px; font-weight: 700; color: var(--accent); }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.price-dual { display: flex; flex-direction: column; gap: 4px; font-size: 17px; }
.price-line { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.price-line em { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; padding: 1px 6px; border-radius: 999px; background: var(--accent); }
.price-line:first-child em { background: var(--muted); }
.price-dual small { font-size: 11px; }
.hours-tag { display: inline-block; font-size: 11px; font-weight: 600; color: #3568f5; background: var(--primary-soft); border-radius: 999px; padding: 2px 8px; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
.price-dual .price-hours { margin-top: 2px; }
.price-dual .hours-tag { margin-left: 0; }
.info-item .hint { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }

.cta-band { background: linear-gradient(120deg, var(--primary), #5a86ff); border-radius: 22px; padding: 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 8px; font-size: 27px; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .btn { background: #fff; color: var(--primary); }

/* ---------- IP landing page ---------- */
.ip-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff8f0 0%, #f4f7ff 58%, #eef3ff 100%);
  border-bottom: 1px solid var(--line);
}
.ip-hero::before, .ip-hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .45; }
.ip-hero::before { width: 360px; height: 360px; right: -100px; top: -160px; background: radial-gradient(circle, #ffe0c2, transparent 70%); }
.ip-hero::after { width: 280px; height: 280px; left: -120px; bottom: -170px; background: radial-gradient(circle, #d8e5ff, transparent 70%); }
.ip-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 78px 0 72px; }
.ip-hero h1 { font-size: 47px; line-height: 1.22; margin: 20px 0 16px; letter-spacing: -1px; }
.ip-hero h1 em { font-style: normal; color: var(--accent); }
.ip-hero p.lead { font-size: 16px; color: var(--ink-2); max-width: 540px; margin: 0 0 26px; }
.ip-wechat { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow-sm); font-size: 13px; color: var(--muted); }
.ip-wechat b { color: var(--ink); font-size: 15px; }
.ip-stats { margin-top: 34px; }
.ip-hero-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); text-align: center; }
.ip-portrait { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 14px; background: linear-gradient(135deg, var(--accent), #ffb27c); color: #fff; display: grid; place-items: center; font-size: 38px; font-weight: 700; overflow: hidden; }
.ip-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ip-identity h3 { margin: 0; font-size: 22px; }
.ip-identity > div { color: var(--muted); font-size: 13px; margin: 3px 0 8px; }
.ip-card-intro { color: var(--ink-2); font-size: 13px; line-height: 1.7; margin: 14px 0 0; }
.ip-intro-list { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.ip-intro-item { display: flex; align-items: flex-start; gap: 9px; }
.ip-intro-label { flex: 0 0 auto; min-width: 36px; text-align: center; padding: 2px 7px; border-radius: 7px; background: var(--accent-soft); color: #d9662e; font-size: 11px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.ip-intro-text { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.65; }
.ip-qr-wrap { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.ip-qr { width: 182px; height: 182px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
.ip-qr img { width: 100%; height: 100%; object-fit: contain; }
.ip-qr-empty { width: 182px; height: 182px; margin: 0 auto; border: 1px dashed var(--line); border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: var(--surface-2); }
.ip-qr-empty small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.ip-qr-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.value-card { padding: 26px 24px; }
.value-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 14px; }
.value-card h3 { margin: 0 0 8px; font-size: 18px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }
.ip-review-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-card { padding: 26px 24px; }
.review-quote { font-size: 44px; line-height: .8; color: var(--accent); opacity: .5; font-family: Georgia, serif; }
.review-card p { margin: 12px 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.review-author { font-size: 13px; color: var(--muted); font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.lead-wx { display: flex; align-items: center; gap: 10px; justify-content: center; background: var(--surface-2); border-radius: 12px; padding: 14px; font-size: 14px; }
.ip-form .modal-body { padding: 24px; }
.ip-upload-preview { margin-top: 10px; min-height: 110px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.ip-upload-preview img { max-height: 180px; max-width: 100%; object-fit: contain; }

/* ---------- Achievements & videos ---------- */
.ip-media-section { border-top: 1px solid var(--line); }
.media-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.media-thumb { position: relative; height: 168px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #eef3ff, #fff3e8); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { font-size: 17px; font-weight: 700; color: #a9b6cf; letter-spacing: 2px; }
.video-card .media-thumb { background: linear-gradient(135deg, #172a4a, #2f4e86); }
.video-card .thumb-placeholder { color: rgba(255, 255, 255, .5); }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .93); color: var(--primary); display: grid; place-items: center; font-size: 18px; padding-left: 3px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.platform-badge { position: absolute; top: 10px; right: 10px; background: rgba(15, 27, 48, .72); color: #fff; border-radius: 99px; padding: 3px 9px; font-size: 11px; }
.media-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.media-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.media-body h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.media-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
/* 成果榜单：入口卡片 + 图片完整展示（榜单截图不裁切） */
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.board-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.board-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.board-cover { height: 180px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #eef3ff, #fff3e8); border-bottom: 1px solid var(--line); }
.board-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.board-body { padding: 20px 22px 22px; }
.board-body h3 { margin: 0 0 8px; font-size: 22px; }
.board-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.board-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.board-count { font-size: 13px; color: var(--muted); }
.board-go { font-size: 14px; font-weight: 600; color: var(--primary); }
.media-thumb-full { height: auto; background: #fff; padding: 8px; }
.media-thumb-full img { width: 100%; height: auto; object-fit: contain; }
.ach-card-full { align-items: stretch; }
/* 成果互动：点赞 / 收藏 / 评论 */
.int-wrap { margin-top: auto; padding-top: 14px; }
.int-actions { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.int-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; cursor: pointer; transition: all .18s ease; white-space: nowrap; }
.int-btn:hover { border-color: var(--primary); color: var(--primary); }
.int-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.int-ico { font-size: 15px; line-height: 1; }
.int-num { font-variant-numeric: tabular-nums; opacity: .9; }
/* 成果分享窗口 */
.share-modal { text-align: left; }
.share-preview { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.share-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; flex: none; }
.share-preview-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.share-preview-text b { font-size: 15px; color: var(--ink); line-height: 1.4; }
.share-tip { margin: 16px 0 12px; line-height: 1.6; }
.share-native { width: 100%; margin-bottom: 12px; }
.share-link-row { display: flex; gap: 8px; }
.share-link-input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink-2); font-size: 12px; }
.share-link-row .btn { flex: none; white-space: nowrap; }
.int-panel { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.int-comments { display: flex; flex-direction: column; gap: 10px; max-height: 220px; overflow-y: auto; }
.int-comment { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.int-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.int-comment-head b { font-size: 13px; color: var(--ink); }
.int-comment p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); word-break: break-word; }
.int-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.int-form input, .int-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; color: var(--ink); background: var(--surface); resize: vertical; }
.int-form input:focus, .int-form textarea:focus { outline: none; border-color: var(--primary); }
.int-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.media-upload-field .media-file { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; background: var(--surface-2); }
.media-preview { margin-top: 10px; min-height: 100px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.media-preview img { max-height: 180px; max-width: 100%; object-fit: contain; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.video-link-box { text-align: center; padding: 18px 0 8px; }
.video-link-box .success-icon { background: var(--primary-soft); color: var(--primary); }
.video-link-box p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.about-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.about-panel h3 { margin-top: 0; }
.value-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row .num { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 8px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Modal ---------- */
.modal-mask { position: fixed; inset: 0; z-index: 100; background: rgba(15, 27, 48, .52); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(10, 20, 40, .25); width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.modal.wide { width: min(860px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-close { border: 0; background: var(--surface-2); color: var(--ink-2); width: 32px; height: 32px; border-radius: 9px; font-size: 18px; line-height: 1; }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px 24px; display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px;
  background: #fff; color: var(--ink); outline: none; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(53, 104, 245, .1); }
.field textarea { resize: vertical; min-height: 74px; }
.hint { font-size: 12px; color: var(--muted); }

/* ---------- Success / parent link ---------- */
.success-hero { text-align: center; padding: 8px 0 18px; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 30px; margin: 0 auto 12px; }
.success-hero h3 { margin: 0 0 6px; font-size: 21px; }
.success-hero p { margin: 0; color: var(--muted); }
.pending-big-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff4e6; color: #e08b2b; display: grid; place-items: center; font-size: 30px; margin: 0 auto 12px; }
.pay-note-box { padding: 14px 16px; background: var(--primary-soft); border-radius: 12px; font-size: 14px; }
.pay-note-box b { display: block; margin-bottom: 6px; color: var(--primary); }
.pending-alert { margin-top: 8px !important; color: #c0392b !important; font-weight: 600; }
tr.row-pending { background: #fffbf5; }
.icon-btn.ok { color: var(--green); border-color: var(--green); }
.qr-box { display: flex; gap: 20px; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 18px; }
.qr-box canvas { background: #fff; border-radius: 10px; padding: 6px; flex-shrink: 0; }
.qr-box .link-info { min-width: 0; flex: 1; }
.qr-box .link-info b { display: block; margin-bottom: 6px; }
.link-text { font-size: 11px; color: var(--muted); word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; max-height: 72px; overflow: auto; }

/* ---------- Parent page ---------- */
.parent-page { max-width: 720px; margin: 0 auto; padding: 48px 0 80px; }
.parent-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.parent-head { padding: 30px 32px; background: linear-gradient(120deg, #eef3ff, #fff6ef); border-bottom: 1px solid var(--line); }
.parent-head h1 { margin: 6px 0 4px; font-size: 25px; }
.parent-head p { margin: 0; color: var(--muted); font-size: 13px; }
.parent-body { padding: 28px 32px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.info-item span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.info-item b { font-size: 15px; }
.hours-box { margin-top: 26px; background: var(--surface-2); border-radius: 14px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hours-box strong { font-size: 31px; color: var(--primary); line-height: 1; }
.online-entry { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--primary-soft); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.online-pending { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px dashed var(--primary); color: var(--primary); font-size: 13px; font-weight: 600; }
.attend-list { margin-top: 22px; }
.attend-list h3 { font-size: 15px; margin: 0 0 10px; }
.attend-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.attend-row:last-child { border-bottom: 0; }
.parent-foot { padding: 16px 32px; background: var(--surface-2); font-size: 12px; color: var(--muted); }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 36px 0 70px; align-items: start; }
.admin-side { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: sticky; top: 92px; }
.admin-side h3 { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin: 12px 10px 8px; }
.admin-side button { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink-2); padding: 10px 12px; border-radius: 9px; font-size: 14px; margin-bottom: 3px; }
.admin-side button:hover { background: var(--surface-2); }
.admin-side button.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.admin-main { min-width: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-head h2 { margin: 0; font-size: 25px; }
.admin-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat-card span { font-size: 12px; color: var(--muted); }
.stat-card strong { display: block; font-size: 27px; margin-top: 5px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 12px; }
tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: 6px; }
.icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 4px 9px; font-size: 12px; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.del:hover { border-color: var(--red); color: var(--red); }
.empty { padding: 46px 20px; text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 30px; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.footer p { margin: 0; color: var(--muted); font-size: 13px; max-width: 330px; }
.footer-links { display: flex; gap: 20px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.footer-links button { border: 0; background: transparent; color: var(--ink-2); font-size: 13px; padding: 0; }
.footer-links a:hover, .footer-links button:hover { color: var(--primary); }
.footer-note { font-size: 12px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast-root { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); animation: toast-in .2s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Parent-only layout ---------- */
body.parent-mode .topbar, body.parent-mode .footer { display: none; }
body.parent-mode .main { min-height: 100vh; }

/* ---------- 课程目录 / 适合人群 / 资质（家长端与班课详情共用） ---------- */
.class-suitable { margin-top: 12px; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); color: #a4522b; font-size: 13px; line-height: 1.5; }
.class-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.syllabus-block { margin-top: 22px; padding: 20px 22px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--line); }
.syllabus-title { font-size: 15px; margin: 0 0 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.syllabus-title::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--primary); }
.syllabus-list { display: flex; flex-direction: column; gap: 10px; }
.syllabus-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.syllabus-idx { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.syllabus-text { min-width: 0; }
.syllabus-text b { font-size: 14px; color: var(--ink-2); }
.syllabus-text .hint { margin-top: 2px; font-size: 12px; }
.syllabus-image { margin-top: 14px; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.syllabus-image img { display: block; width: 100%; height: auto; }
.suitable-text { margin: 0; color: var(--ink-2); line-height: 1.7; }
.weekly-block { background: var(--primary-soft); border-color: var(--primary); }
.weekly-focus { color: var(--ink); font-size: 14px; line-height: 1.8; white-space: normal; }
.trial-entry { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.trial-entry .hint { font-size: 12px; }
.teacher-qual-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.teacher-qual-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.teacher-qual-name .hint { font-weight: 400; font-size: 12px; }
.class-detail-cert { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.class-detail-cert .cert-photo { margin-top: 10px; }

/* ---------- 渠道链接与平台挂链 ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 24px; }
.channel-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: #fff; }
.channel-card-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.channel-icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.channel-card-head b { font-size: 14px; color: var(--ink); }
.channel-card-head .hint { font-size: 12px; line-height: 1.5; }
.channel-link-box { display: flex; gap: 8px; align-items: center; }
.channel-link-box input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; }
.channel-bar { width: 120px; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.channel-bar span { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.channel-guides { padding: 4px 24px 22px; }
.guide-block { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); }
.guide-block h3 { font-size: 14px; margin: 0 0 8px; color: var(--ink); }
.guide-block ol { margin: 0; padding-left: 20px; }
.guide-block li { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 周末排班表（可编辑） ---------- */
.sched-panel { padding: 0; overflow: hidden; }
.sched-table { width: 100%; border-collapse: collapse; min-width: 1280px; }
.sched-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 12px 10px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.sched-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sched-table tbody tr:hover { background: #fbfcff; }
.sched-table input, .sched-table select {
  width: 100%; min-width: 82px; padding: 7px 8px; font-size: 12px; font-family: inherit;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; outline: none;
}
.sched-table input:focus, .sched-table select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.sched-table input[type=number] { min-width: 60px; text-align: center; }
.sched-table .sched-num { white-space: nowrap; }
.sched-table .sched-num input { display: inline-block; width: 56px; }
.sched-group td { padding: 10px 12px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 13px; }
.sched-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.sched-foot .hint { max-width: 70%; line-height: 1.6; }

/* 圆梦时刻 · 录取榜表格 */
.adm-board { margin: 8px 0 44px; }
.adm-board-head { margin-bottom: 22px; }
.adm-board-head .eyebrow { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.adm-board-head h3 { margin: 6px 0 8px; font-size: 25px; letter-spacing: -.4px; }
.adm-live { font-size: 13px; font-weight: 500; color: var(--muted); }
.adm-board-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.adm-tables { display: flex; flex-direction: column; gap: 26px; }
.adm-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.adm-table-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: linear-gradient(135deg, var(--primary), #6a95ff); color: #fff; }
.adm-table-badge { font-size: 20px; line-height: 1; }
.adm-table-head h3 { margin: 0; font-size: 19px; font-weight: 700; }
.adm-table-count { margin-left: auto; background: rgba(255,255,255,.2); border-radius: 99px; padding: 3px 12px; font-size: 12px; font-weight: 600; }
.adm-table-scroll { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.adm-table thead th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .5px; }
.adm-table tbody tr { border-bottom: 1px solid var(--line); transition: background .15s ease; }
.adm-table tbody tr:nth-child(even) { background: #fafbfe; }
.adm-table tbody tr:hover { background: var(--primary-soft); }
.adm-table tbody tr:last-child { border-bottom: 0; }
.adm-table td { padding: 12px 16px; vertical-align: middle; }
.adm-year { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.adm-name-cell { min-width: 96px; }
.adm-name { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; flex-direction: column; gap: 2px; }
a.adm-name:hover { color: var(--primary); }
.adm-go { font-size: 11px; font-weight: 500; color: var(--primary); }
.adm-from { font-size: 11px; font-weight: 400; color: var(--muted); }
.adm-score { font-weight: 800; color: #e0403f; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-rank { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.adm-dash { color: #b6c0d2; font-weight: 400; }
.adm-school { font-weight: 600; color: var(--ink); min-width: 140px; }
.adm-major { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.adm-proof { width: 76px; }
.adm-shot { display: inline-flex; width: 58px; height: 42px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.adm-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.adm-shot-empty { align-items: center; justify-content: center; color: #b6c0d2; background: var(--surface-2); }
.adm-cases-title { margin: 44px 0 20px; padding-top: 30px; border-top: 1px solid var(--line); }
.adm-cases-title .eyebrow { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.adm-cases-title h3 { margin: 6px 0 6px; font-size: 22px; }
.adm-cases-title p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .adm-board-head h3 { font-size: 21px; }
  .adm-table-head { padding: 14px 16px; }
  .adm-table td, .adm-table thead th { padding: 10px 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .hero h1 { font-size: 38px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .ip-hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 56px 0; }
  .ip-hero h1 { font-size: 37px; }
  .ip-hero-card { max-width: 340px; }
  .admin-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-side h3 { display: none; }
  .admin-side button { width: auto; margin: 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .ip-hero h1 { font-size: 30px; }
  .ip-hero-card { max-width: 100%; }
  .hero-stats { gap: 22px; }
  .cta-actions .btn { flex: 1; min-width: 120px; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .media-thumb { height: 140px; }
  .grid-3, .grid-2, .form-grid, .about-grid, .info-grid { grid-template-columns: 1fr; }
  .filter-group { align-items: flex-start; flex-direction: column; gap: 6px; }
  .class-top { flex-wrap: wrap; }
  .badge-col { justify-content: flex-start; }
  .class-bottom { flex-wrap: wrap; }
  .class-actions { width: 100%; justify-content: flex-start; }
  .syllabus-block { padding: 16px; }
  .channel-grid { grid-template-columns: 1fr; padding: 16px; }
  .channel-guides { padding: 4px 16px 18px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
  .qr-box { flex-direction: column; align-items: stretch; }
  .qr-box canvas { align-self: center; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .parent-body, .parent-head, .parent-foot { padding-left: 20px; padding-right: 20px; }
  .sched-foot { flex-direction: column; align-items: stretch; }
  .sched-foot .hint { max-width: 100%; }
}

/* ---------- Qualification evidence chain ---------- */
.credential-page { padding-top: 52px; }
.credential-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; margin-bottom: 28px; }
.credential-summary h2 { margin: 0 0 6px; font-size: 25px; }
.credential-summary p { margin: 0; color: var(--muted); }
.credential-summary-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 320px; text-align: right; }
.credential-summary-side .hint { line-height: 1.55; }

.evidence-timeline { position: relative; display: grid; gap: 20px; }
.evidence-timeline::before { content: ''; position: absolute; left: 52px; top: 32px; bottom: 32px; width: 2px; background: linear-gradient(180deg, var(--primary-soft), var(--line)); }
.evidence-card { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 24px; }
.evidence-index { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 6px 18px rgba(53, 104, 245, .25); }
.evidence-body { min-width: 0; }
.evidence-meta { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .3px; margin-bottom: 6px; }
.evidence-body h3 { margin: 0 0 8px; font-size: 19px; }
.evidence-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.evidence-shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; cursor: zoom-in; }
.evidence-shot img { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #fff; }
.evidence-zoom { margin-top: 7px; text-align: right; }
.evidence-missing { padding: 18px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); background: var(--surface-2); }
.credential-notice { margin-top: 24px; padding: 18px 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.credential-notice b { display: block; color: var(--ink); margin-bottom: 4px; }

.credential-strip { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.evidence-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.evidence-thumb { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; cursor: zoom-in; }
.evidence-thumb img { width: 100%; height: 100%; object-fit: cover; }
.evidence-lightbox { text-align: center; }
.evidence-lightbox img { max-height: 72vh; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.evidence-lightbox-meta { margin-top: 14px; color: var(--primary); font-size: 12px; font-weight: 700; }
.evidence-lightbox p { color: var(--muted); font-size: 14px; margin: 8px auto 0; max-width: 720px; }

@media (max-width: 720px) {
  .credential-summary { flex-direction: column; align-items: flex-start; }
  .credential-summary-side { align-items: flex-start; text-align: left; max-width: 100%; }
  .evidence-timeline::before { left: 34px; }
  .evidence-card { grid-template-columns: 1fr; padding: 20px 18px; }
  .evidence-index { width: 48px; height: 48px; font-size: 15px; }
  .evidence-shot img { max-height: 360px; }
  .credential-strip { align-items: flex-start; }
  .evidence-thumb { width: 56px; height: 56px; }
}

/* ===== 学员案例滚动展播 ===== */
.reel-wrap { margin: 0 0 34px; padding: 24px 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reel-head { margin-bottom: 18px; }
.reel-head h3 { font-size: 20px; margin: 4px 0 6px; display: flex; align-items: center; gap: 12px; }
.reel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.reel-live { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
.reel-viewport { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; width: max-content; animation: reel-scroll 72s linear infinite; }
.reel-viewport:hover .reel-track { animation-play-state: paused; }
.reel-group { display: flex; gap: 16px; padding-right: 16px; }
.reel-card { flex: 0 0 208px; display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface, #fff); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.reel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.reel-thumb { position: relative; height: 200px; background: var(--surface-2); overflow: hidden; }
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.reel-thumb-ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: 22px; font-weight: 800; }
.reel-year { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.reel-caption { padding: 11px 12px 13px; }
.reel-caption b { display: block; font-size: 13px; line-height: 1.45; margin-bottom: 5px; }
.reel-caption span { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; }
.reel-hint { margin-top: 10px; text-align: center; color: var(--muted); font-size: 11px; }
@keyframes reel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } }
@media (max-width: 720px) {
  .reel-card { flex-basis: 168px; }
  .reel-thumb { height: 164px; }
  .reel-head h3 { font-size: 18px; }
}

/* ===== 家长评价滚动（原版文字 + 真实截图） ===== */
.review-reel { padding: 8px 0 4px; }
.review-reel-track { animation-duration: 84s; }
.review-reel-card { flex: 0 0 320px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface, #fff); }
.review-shot { position: relative; display: block; width: 100%; height: 168px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--surface-2); overflow: hidden; cursor: zoom-in; }
.review-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.review-shot-zoom { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; }
.review-reel-body { padding: 10px 16px 18px; min-height: 138px; }
.review-reel-body .review-quote { font-size: 34px; }
.review-reel-body p { margin: 8px 0 12px; color: var(--ink-2); font-size: 13px; line-height: 1.75; }
@media (max-width: 720px) {
  .review-reel-card { flex-basis: 260px; }
  .review-shot { height: 140px; }
}

/* ===== 单学生案例详情 + 多图 ===== */
.media-thumb { position: relative; }
.media-thumb .media-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; }
.reel-count { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; }
.reel-caption .reel-go { display: block; margin-top: 8px; color: var(--primary); font-size: 11px; font-weight: 700; }
.case-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.case-detail-head h2 { font-size: 26px; margin: 6px 0 12px; line-height: 1.4; }
.case-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.case-detail-desc { padding: 18px 20px; margin-bottom: 22px; border-radius: 12px; background: var(--surface-2); color: var(--ink); line-height: 1.8; font-size: 14px; }
.case-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.case-shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.case-shot:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(23,42,74,.12); }
.case-shot-img { display: block; width: 100%; height: 240px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.case-shot-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.case-shot-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; }
.case-shot-no { padding: 2px 9px; border-radius: 12px; background: rgba(53,104,245,.10); color: var(--primary); font-size: 11px; font-weight: 700; }
.case-shot-zoom { color: var(--muted); font-size: 11px; }
.case-shot:hover .case-shot-zoom { color: var(--primary); }
.case-detail-foot { max-width: 980px; margin: 24px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* 案例大图灯箱：左右箭头 + 缩略图条 */
.case-lightbox { padding: 0 0 8px; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.lb-stage > img { display: block; max-width: 100%; max-height: 66vh; border-radius: 8px; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(15,27,48,.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-arrow:hover { background: var(--primary); }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
.lb-counter { position: absolute; right: 10px; top: 10px; padding: 4px 12px; border-radius: 14px; background: rgba(15,27,48,.6); color: #fff; font-size: 12px; font-weight: 700; }
.lb-thumbs { display: flex; gap: 8px; margin-top: 14px; padding: 6px 2px 8px; overflow-x: auto; justify-content: flex-start; }
.lb-thumb { flex: 0 0 62px; width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--surface-2); cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.lb-thumb:hover { opacity: 1; }
.lb-thumb.on { opacity: 1; border-color: var(--primary); }
.lb-hint { margin-top: 4px; color: var(--muted); font-size: 11px; text-align: center; }
@media (max-width: 900px) { .case-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .case-detail-head h2 { font-size: 20px; }
  .case-detail-desc { padding: 14px 16px; }
  .case-shot-img { height: 200px; }
  .lb-arrow { width: 36px; height: 36px; font-size: 24px; }
}

/* ---------- 课堂实况画廊 ---------- */
.ip-classroom-section { background: var(--surface, #fff); }
.classroom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.classroom-card { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface, #fff); text-align: left; cursor: zoom-in; transition: transform .18s ease, box-shadow .18s ease; }
.classroom-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(23,42,74,.10); }
.classroom-shot { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2, #f4f6fa); }
.classroom-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.classroom-info { display: flex; flex-direction: column; gap: 7px; padding: 13px 15px 17px; }
.classroom-tag { align-self: flex-start; padding: 3px 9px; border-radius: 20px; background: rgba(53,104,245,.10); color: var(--primary, #3568f5); font-size: 11px; font-weight: 700; }
.classroom-info strong { color: var(--ink, #172a4a); font-size: 14px; }
.classroom-desc { color: var(--muted, #73819b); font-size: 12px; line-height: 1.65; }
.classroom-note { margin-top: 18px; color: var(--muted, #73819b); font-size: 12px; text-align: center; }
@media (max-width: 900px) { .classroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .classroom-grid { grid-template-columns: 1fr; } }

/* ============ 招生落地页 ============ */
.nav-admission { color: #d96a2e !important; font-weight: 700 !important; }
.adm-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #eef3ff 0%, #fff6ef 100%); border-bottom: 1px solid var(--line); }
.adm-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 76px 0; }
.adm-hero h1 { font-size: 46px; line-height: 1.2; margin: 22px 0 16px; letter-spacing: -1px; color: var(--ink); }
.adm-hero h1 em { font-style: normal; color: var(--accent); }
.adm-hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 500px; margin: 0 0 28px; }
.adm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.adm-hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.adm-price-label { display: inline-block; background: var(--accent-soft); color: #d96a2e; border-radius: 99px; padding: 5px 13px; font-size: 13px; font-weight: 700; }
.adm-price { font-size: 48px; font-weight: 800; color: var(--red); line-height: 1.2; margin: 14px 0 4px; }
.adm-price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.adm-price-was { color: var(--muted); font-size: 13px; text-decoration: line-through; margin-bottom: 16px; }
.adm-countdown { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--primary-soft); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.adm-countdown span { font-size: 13px; color: var(--ink-2); }
.adm-countdown b { font-size: 18px; color: var(--primary); font-variant-numeric: tabular-nums; }
.adm-seats { color: var(--muted); font-size: 13px; text-align: center; margin-bottom: 14px; }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.5px; }
.sec-head p { margin: 0; color: var(--muted); }
.section-soft { background: var(--surface-2); }
.adm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.adm-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.adm-step-tag { align-self: flex-start; background: var(--primary-soft); color: var(--primary); border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.adm-step-n { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; margin: 14px 0 10px; }
.adm-step h3 { font-size: 17px; margin: 0 0 10px; color: var(--ink); }
.adm-step p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; flex: 1; }
.adm-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.adm-proof .card h3 { font-size: 18px; margin: 0 0 12px; }
.adm-proof .card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.adm-final { text-align: center; }
.adm-final h2 { font-size: 30px; margin: 0 0 12px; }
.adm-final p { color: var(--muted); margin: 0 0 24px; }
@media (max-width: 980px) { .adm-hero-inner { grid-template-columns: 1fr; gap: 32px; } .adm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .adm-hero h1 { font-size: 34px; } .adm-steps, .adm-proof { grid-template-columns: 1fr; } }

/* ============ 老带新邀请码 ============ */
.invite-applied { grid-column: 1 / -1; background: #fff4ec; border: 1px solid #ffd9bf; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #b4531a; margin-bottom: 4px; }
.invite-applied b { color: #d96a2e; }
.adm-invite-tip { margin-top: 16px; background: #fff4ec; border: 1px solid #ffd9bf; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #b4531a; }
.adm-invite-tip b { color: #d96a2e; }
.invite-rule-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.invite-rule-box b { font-size: 14px; color: var(--ink); }
.invite-rule-box p { font-size: 13px; line-height: 1.7; color: var(--ink-2); margin: 8px 0 0; }
.invite-rule-box p.hint { color: var(--muted); font-size: 12px; }
.invite-card { margin-top: 18px; background: linear-gradient(135deg, #fff6ef, #f0f5ff); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.invite-card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.invite-gift { font-size: 26px; line-height: 1; }
.invite-card-head h3 { font-size: 16px; margin: 0 0 6px; color: var(--ink); }
.invite-card-head p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.invite-code-row, .invite-link-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.invite-code-row > span, .invite-link-row > span { font-size: 13px; color: var(--muted); flex: 0 0 68px; }
.invite-code-row b { font-size: 18px; letter-spacing: 1px; color: #d96a2e; font-variant-numeric: tabular-nums; }
.invite-link-text { flex: 1; min-width: 180px; font-size: 12px; color: var(--ink-2); word-break: break-all; }
.invite-card .hint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.invite-stats { margin-bottom: 18px; }
@media (max-width: 700px) { .invite-code-row b { font-size: 15px; } }
