/* ============================================================
   大学招生报名 H5 —— 全站样式（移动端优先，适配微信内置浏览器）
   ============================================================ */
:root {
  --primary: #2b4a9b;
  --primary-deep: #1d3575;
  --primary-grad: linear-gradient(135deg, #2b4a9b 0%, #3d63c4 100%);
  --accent: #e8a33d;
  --accent-soft: #fdf3e3;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #212934;
  --text-2: #5c6773;
  --text-3: #98a2ae;
  --line: #e6eaf2;
  --green: #07c160;
  --blue: #1677ff;
  --red: #e5484d;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(30, 45, 90, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }

.page { max-width: 640px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.page.no-cta { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--primary-grad);
  color: #fff;
  padding: 18px 16px 16px;
}
.topbar .school { font-size: 13px; opacity: .85; letter-spacing: 1px; }
.topbar h1 { font-size: 21px; font-weight: 700; margin-top: 2px; }
.topbar .sub { font-size: 12px; opacity: .8; margin-top: 4px; }

/* 非首页的简洁顶栏 */
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  background: var(--primary-grad); color: #fff;
  padding: 13px 16px;
}
.navbar .back { color: #fff; font-size: 20px; line-height: 1; padding: 2px 6px 2px 0; }
.navbar .title { font-size: 17px; font-weight: 600; flex: 1; }
.navbar .right { font-size: 13px; opacity: .9; }

/* ---------- 卡片与分区 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  margin: 14px 16px 0;
}
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; margin-bottom: 12px;
}
.section-title::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px;
  background: var(--accent); flex: none;
}
.section-title .hint { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: auto; }

.muted { color: var(--text-2); font-size: 13px; }
.small { font-size: 12px; color: var(--text-3); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; }
.hero svg { width: 100%; height: auto; }
.hero-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 20px 18px;
  background: linear-gradient(180deg, rgba(19, 30, 66, 0) 0%, rgba(19, 30, 66, .82) 100%);
  color: #fff;
}
.hero-body .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.hero-body h1 { font-size: 24px; font-weight: 800; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero-body p { font-size: 13px; opacity: 1; margin-top: 4px; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }

/* ---------- 数据条 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { text-align: center; padding: 10px 4px; background: #f7f9fd; border-radius: 10px; }
.stat b { display: block; font-size: 17px; color: var(--primary); font-weight: 800; }
.stat span { font-size: 11px; color: var(--text-2); }

/* ---------- 专业列表 ---------- */
/* ---------- 报名通道卡 ---------- */
.entry-cards { display: grid; gap: 10px; }
.entry-card {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px; background: #fff; color: var(--text);
  transition: border-color .15s, background .15s;
}
.entry-card:active { border-color: var(--primary); background: #f2f5fd; }
.entry-card .ico { width: 42px; height: 42px; border-radius: 10px; background: #eef2fb; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.entry-card.xueli .ico { background: var(--accent-soft); }
.entry-card .meta { flex: 1; min-width: 0; }
.entry-card .meta b { display: block; font-size: 15px; }
.entry-card .meta span { font-size: 12px; color: var(--text-3); }
.entry-card .arrow { color: var(--text-3); font-size: 22px; flex: none; line-height: 1; }

/* ---------- 学历提升板块 ---------- */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.adv-item { display: flex; gap: 10px; align-items: flex-start; background: #f7f9fd; border-radius: 10px; padding: 10px; }
.adv-item .ico { font-size: 20px; line-height: 1.4; }
.adv-item b { font-size: 13px; display: block; }
.adv-item p { font-size: 11px; color: var(--text-2); line-height: 1.5; }
.school-list { display: grid; gap: 10px; }
.school-item { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.school-item .head-row { display: flex; align-items: center; gap: 8px; }
.school-item .head-row b { font-size: 14px; flex: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 12px; padding: 3px 10px; background: #eef2fb; color: var(--primary); border-radius: 999px; }

.major-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.major-tab {
  flex: 1; text-align: center; padding: 8px 0;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  background: #f0f3fa; color: var(--text-2); border: 1px solid transparent;
  cursor: pointer;
}
.major-tab.active { background: var(--primary); color: #fff; }
.major-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.major-item {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; display: flex; align-items: center; gap: 10px;
}
.major-item .ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.major-item .name { font-size: 14px; font-weight: 600; }
.major-item .desc { font-size: 11px; color: var(--text-3); }

/* ---------- 校园风光（真实照片） ---------- */
.campus-featured { position: relative; border-radius: 12px; overflow: hidden; }
.campus-featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.campus-featured figcaption,
.campus-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 8px 6px; font-size: 11px; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62));
  text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.campus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.campus-grid figure { border-radius: 10px; overflow: hidden; position: relative; }
.campus-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.campus-grid figure.wide { grid-column: 1 / -1; }
.campus-grid figure.wide img { aspect-ratio: 16 / 8; }

/* ---------- 报名须知 ---------- */
.step-list { display: grid; gap: 10px; }
.step-item { display: flex; gap: 12px; align-items: flex-start; }
.step-item .no {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.step-item b { font-size: 14px; }
.step-item p { font-size: 12px; color: var(--text-2); }
.notice-list { padding-left: 18px; font-size: 13px; color: var(--text-2); display: grid; gap: 6px; }
.notice-list li::marker { color: var(--accent); }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
details.faq:last-child { border-bottom: none; }
details.faq summary {
  list-style: none; cursor: pointer; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--text-3); font-size: 17px; }
details.faq[open] summary::after { content: "−"; }
details.faq .answer { font-size: 13px; color: var(--text-2); padding-top: 6px; }

/* ---------- 底部 ---------- */
.footer { text-align: center; padding: 24px 16px 8px; font-size: 12px; color: var(--text-3); line-height: 1.9; }
.footer b { color: var(--text-2); }

/* 吸底报名按钮 */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: 640px; margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(30, 45, 90, .1);
  display: flex; align-items: center; gap: 12px;
}
.sticky-cta .fee { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.sticky-cta .fee b { display: block; font-size: 18px; color: var(--red); font-weight: 800; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 12px; cursor: pointer;
  font-size: 16px; font-weight: 600; padding: 12px 22px;
  transition: opacity .15s, transform .05s;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: 0 4px 14px rgba(43, 74, 155, .3); }
.btn-ghost { background: #eef2fa; color: var(--primary); }
.btn-green { background: var(--green); color: #fff; }
.btn-block { flex: 1; width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading::after {
  content: ""; width: 15px; height: 15px; margin-left: 6px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 步骤条（表单/收银台页） ---------- */
.steps { display: flex; align-items: center; padding: 16px 20px 4px; }
.steps .s { flex: 1; text-align: center; position: relative; font-size: 11px; color: var(--text-3); }
.steps .s .dot {
  width: 22px; height: 22px; border-radius: 50%; margin: 0 auto 4px;
  background: #e3e8f2; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.steps .s.done .dot { background: var(--green); color: #fff; }
.steps .s.active .dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(43,74,155,.15); }
.steps .s.active { color: var(--primary); font-weight: 600; }
.steps .s::after {
  content: ""; position: absolute; top: 11px; left: calc(50% + 15px); right: calc(-50% + 15px);
  height: 2px; background: #e3e8f2;
}
.steps .s:last-child::after { display: none; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field > label .req { color: var(--red); margin-right: 2px; }
.field > label .opt { color: var(--text-3); font-weight: 400; font-size: 11px; margin-left: 4px; }

.control {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 74, 155, .12); }
.control.invalid { border-color: var(--red); }
textarea.control { resize: none; min-height: 70px; }
select.control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2398a2ae' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.field-error { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.field-error.show { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 单选胶囊（性别 / 考生类别） */
.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-group label { position: relative; cursor: pointer; }
.pill-group input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.pill-group span {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 18px; font-size: 14px; color: var(--text-2); background: #fff;
}
.pill-group input:checked + span {
  border-color: var(--primary); color: var(--primary);
  background: #eef2fb; font-weight: 600;
}

/* 复选同意 */
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.agree input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); flex: none; }

/* ---------- 上传 ---------- */
.upload-box {
  border: 1.5px dashed #c9d3e4; border-radius: 12px;
  padding: 18px 12px; text-align: center; cursor: pointer;
  background: #fafbfe; transition: border-color .15s;
}
.upload-box:active { border-color: var(--primary); }
.upload-box .ico { font-size: 26px; }
.upload-box p { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.upload-box .small { margin-top: 2px; }
.upload-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.upload-previews .thumb {
  position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #f2f4f9;
}
.upload-previews .thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-previews .thumb .file { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-2); padding: 4px; text-align: center; word-break: break-all; }

/* ---------- 收银台 ---------- */
.pay-amount { text-align: center; padding: 26px 16px 10px; }
.pay-amount .label { font-size: 13px; color: var(--text-2); }
.pay-amount .num { font-size: 40px; font-weight: 800; color: var(--text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pay-amount .num::before { content: "¥"; font-size: 24px; margin-right: 2px; }

.order-info { display: grid; gap: 8px; }
.order-info .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.order-info .row .k { color: var(--text-3); flex: none; }
.order-info .row .v { color: var(--text); text-align: right; word-break: break-all; }

.channel-list { display: grid; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; cursor: pointer; background: #fff;
  transition: border-color .15s, background .15s;
}
.channel.selected { border-color: var(--primary); background: #f2f5fd; }
.channel .logo {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #fff; font-weight: 700;
}
.channel .logo.wx { background: var(--green); }
.channel .logo.ext { background: var(--primary); }
.channel .logo.ali { background: var(--blue); }
.channel .logo.mock { background: #8b95a5; }
.channel .meta { flex: 1; min-width: 0; }
.channel .meta .name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.channel .meta .desc { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.channel .radio {
  width: 19px; height: 19px; border-radius: 50%; border: 2px solid #cdd6e4; flex: none;
  position: relative;
}
.channel.selected .radio { border-color: var(--primary); }
.channel.selected .radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary);
}
.tag {
  font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; line-height: 1.6;
}
.tag-demo { background: var(--accent-soft); color: #b97b1e; border: 1px solid #f0d9ae; }
.tag-green { background: #e8f8ef; color: #0a8f4c; }
.tag-gray { background: #eef1f6; color: var(--text-2); }

/* ---------- 弹层：模拟收银台 / 二维码 ---------- */
.mask {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 42, .55);
  display: none; align-items: flex-end; justify-content: center;
}
.mask.show { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }

.sheet {
  width: 100%; max-width: 640px; background: #fff;
  border-radius: 18px 18px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  animation: slideUp .25s cubic-bezier(.22,1,.36,1);
}
@keyframes slideUp { from { transform: translateY(48px); opacity: .4; } }
.sheet .sheet-title { text-align: center; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.sheet .sheet-close { float: right; color: var(--text-3); font-size: 18px; padding: 0 4px; }
.sheet .amount { text-align: center; font-size: 34px; font-weight: 800; margin: 8px 0 4px; }
.sheet .amount::before { content: "¥"; font-size: 20px; }
.sheet .sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet .mock-tips {
  background: var(--accent-soft); border-radius: 10px; padding: 10px 12px;
  font-size: 12px; color: #8a6320; line-height: 1.7; margin-top: 6px;
}

/* 二维码弹层 */
.qr-wrap { text-align: center; }
.qr-wrap img, .qr-wrap .qr-img {
  width: 210px; height: 210px; margin: 6px auto; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; padding: 8px;
}
.qr-wrap .qr-tip { font-size: 13px; color: var(--text-2); line-height: 1.8; }
.qr-wrap .qr-tip b { color: var(--primary); }
.qr-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-top: 10px; }
.qr-status .dot-loading {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #cdd6e4; border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}

/* ---------- 结果页 ---------- */
.result-hero { text-align: center; padding: 40px 16px 10px; }
.result-hero .icon { width: 74px; height: 74px; margin: 0 auto 14px; }
.result-hero h2 { font-size: 22px; font-weight: 800; }
.result-hero p { font-size: 13px; color: var(--text-2); margin-top: 6px; }

.check-svg circle { stroke: var(--green); stroke-width: 3; fill: none; animation: drawCircle .5s ease-out forwards; stroke-dasharray: 220; stroke-dashoffset: 220; }
.check-svg path { stroke: var(--green); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .35s .45s ease-out forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.pending-svg circle { stroke: var(--accent); stroke-width: 3; fill: none; }
.pending-svg text { fill: var(--accent); font-size: 40px; font-weight: 700; }

.enroll-no {
  background: #f2f5fd; border: 1px dashed #b9c6e6; border-radius: 12px;
  padding: 12px; text-align: center; margin-top: 14px;
}
.enroll-no .k { font-size: 12px; color: var(--text-2); }
.enroll-no .v { font-size: 21px; font-weight: 800; letter-spacing: 1.5px; color: var(--primary); font-variant-numeric: tabular-nums; }

.kv-list { display: grid; gap: 9px; }
.kv-list .row { display: flex; font-size: 13px; gap: 12px; }
.kv-list .row .k { color: var(--text-3); flex: none; width: 74px; }
.kv-list .row .v { color: var(--text); word-break: break-all; text-align: right; flex: 1; }

.tips-card { background: #f7f9fd; border-radius: 12px; padding: 12px 14px; }
.tips-card li { list-style: none; font-size: 12px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.9; }
.tips-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 18vh; transform: translateX(-50%) translateY(10px);
  background: rgba(23, 32, 51, .9); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 999px; z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 管理端 ---------- */
.admin-toolbar { display: flex; gap: 8px; margin-top: 12px; }
.admin-toolbar .control { flex: 1; }
.admin-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-size: 13px; }
.admin-item .head { display: flex; align-items: center; gap: 8px; }
.admin-item .head b { font-size: 15px; }
.admin-item .head .status { margin-left: auto; }
.admin-item .rows { margin-top: 8px; display: grid; gap: 4px; color: var(--text-2); font-size: 12px; }
.admin-item .links { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.admin-item .links a { font-size: 12px; }

/* 管理端素材缩略图 */
.admin-thumbs { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-wrap { width: 68px; }
.thumb-wrap a { display: block; }
.thumb-wrap img {
  width: 68px; height: 68px; object-fit: cover; display: block;
  border-radius: 8px; border: 1px solid var(--line); background: #f2f4f9;
}
.thumb-wrap .cap { display: block; font-size: 10px; color: var(--text-3); text-align: center; margin-top: 3px; }
.thumb-wrap.missed img, .thumb-wrap.missed a { display: none; }
.thumb-wrap.missed::before {
  content: "素材缺失"; display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 8px;
  background: #eef1f6; color: var(--text-3); font-size: 11px; text-align: center;
  border: 1px dashed #c9d3e4;
}
.status-badge { font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.status-badge.paid { background: #e8f8ef; color: #0a8f4c; }
.status-badge.pending { background: #fdf3e3; color: #b97b1e; }
.admin-filter { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; }
.admin-filter select { width: auto; padding: 6px 30px 6px 10px; font-size: 13px; }
.admin-count { color: var(--text-3); font-size: 12px; margin-left: auto; }

/* ---------- 空状态 / 加载 ---------- */
.empty { text-align: center; color: var(--text-3); font-size: 13px; padding: 40px 0; }
.empty .ico { font-size: 34px; margin-bottom: 8px; }

@media (min-width: 641px) {
  .page { box-shadow: 0 0 40px rgba(30, 45, 90, .08); }
}

/* ---------- 专业一览 v2（升级覆盖） ---------- */
.major-tabs { gap: 7px; margin-bottom: 14px; }
.major-tab {
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  background: #f4f6fb; color: var(--text-2); border: 1px solid #e4e9f4;
  transition: all .15s;
}
.major-tab:active { transform: scale(.96); }
.major-tab.active {
  background: linear-gradient(135deg, var(--primary), #3d63c4);
  border-color: transparent; box-shadow: 0 4px 12px rgba(43, 74, 155, .28);
}
.major-grid { gap: 9px; }
.major-item {
  border: 1px solid #e8edf6; border-radius: 16px; padding: 13px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 2px 8px rgba(30, 45, 90, .05);
  transition: all .15s; align-items: flex-start;
}
.major-item:active { transform: scale(.98); box-shadow: 0 3px 12px rgba(30, 45, 90, .1); }
.major-item .ico {
  width: 42px; height: 42px; border-radius: 13px; font-size: 21px;
  box-shadow: inset 0 -6px 12px rgba(255, 255, 255, .35), 0 3px 8px rgba(30, 45, 90, .12);
}
.major-item .ico.t0 { background: linear-gradient(135deg, #3560c2, #5d85e8); }
.major-item .ico.t1 { background: linear-gradient(135deg, #0e8f74, #43bd9a); }
.major-item .ico.t2 { background: linear-gradient(135deg, #c78422, #e6ad55); }
.major-item .name { font-size: 15px; font-weight: 700; }
.major-item .desc { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.dir-chip { font-size: 10px; padding: 3px 9px; background: #eef2fb; color: #4a5a92; border-radius: 999px; line-height: 1.5; border: 1px solid #e0e7f6; }
.dir-chip.dir-more { background: #f4f6fb; color: #98a2ae; font-weight: 600; border-color: transparent; }

/* ---------- 专业一览 v3（手机单列全宽，方向横排） ---------- */
.major-grid { grid-template-columns: 1fr; gap: 9px; }
.major-item { padding: 12px 14px; gap: 12px; }
.major-item .ico { width: 44px; height: 44px; font-size: 22px; }
.major-item .name { font-size: 15px; line-height: 1.3; }
.major-item .desc { font-size: 11px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dir-chip { font-size: 10.5px; padding: 3px 10px; }

/* ---------- 页脚备案号 ---------- */
.footer .icp { margin-top: 2px; }
.footer .icp a { color: inherit; text-decoration: none; }
