/* ============================================================
   金榜志愿 · app.css — 终稿「权威数据风 + 朱砂印章 + 鎏金 VIP」
   主体：考试院 / 数据终端（海军蓝 + 点睛蓝 + 等宽数字 + 精密表格）
   品牌点：仅 logo 用朱砂印章（蓝白界面里唯一的信任符号）
   付费层：VIP / 解锁 / 卡密 一律鎏金（蓝=免费可信，金=VIP 尊贵）
   语义：冲=暖红(警示) 稳=蓝(中性) 保=绿(安全) · 色相+明度双区分
   零依赖 · 仅系统字体 · 移动优先 375–430px · 不含深色模式
   ============================================================ */

:root {
  /* —— 底 / 面 —— */
  --bg:        #eef1f6;
  --bg-2:      #e6eaf2;
  --surface:   #ffffff;
  --surface-2: #f6f8fc;

  /* —— 字 —— */
  --ink:    #11203a;
  --ink-2:  #45566f;
  --ink-3:  #8390a6;
  --ink-on: #ffffff;

  /* —— 线 —— */
  --line:      #dde3ee;
  --line-soft: #e9edf4;
  --line-ink:  #11203a;

  /* —— 主色：海军蓝 + 点睛蓝 —— */
  --navy:       #15335c;
  --navy-deep:  #0e2444;
  --navy-lite:  #234b80;
  --accent:     #1f5fd0;
  --accent-deep:#1849a8;
  --accent-soft:#e8f0fd;
  --accent-line:#bcd4f6;

  /* —— 品牌印章：朱砂（仅用于 logo / 品牌名） —— */
  --vermilion:      #b4362a;
  --vermilion-deep: #8c281e;
  --vermilion-lite: #cf5142;

  /* —— VIP 鎏金：仅用于付费 / 解锁 / 卡密 层 —— */
  --gold:      #9a6a12;
  --gold-deep: #785109;
  --gold-lite: #c79a3f;
  --gold-pale: #e7c976;
  --gold-soft: #f8efd6;
  --gold-line: #e6d29a;
  --vip-ink:   #2a251c;

  /* —— 冲 / 稳 / 保 —— */
  --chong:      #d23b34;  --chong-deep: #a3261f;  --chong-soft: #fdeceb;  --chong-line: #f4c4c1;
  --wen:        #2563c4;  --wen-deep:   #1a4a9c;  --wen-soft:   #eaf1fc;  --wen-line:   #c2d6f3;
  --bao:        #1f8a5b;  --bao-deep:   #156845;  --bao-soft:   #e7f4ee;  --bao-line:   #bae0cc;

  --danger: #d23b34;
  --ok:     #1f8a5b;

  /* —— 字族（CSP: font-src 'self'，仅系统字体） —— */
  --serif: "Songti SC", "STSong", "SimSun", "FangSong", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --num:   "SF Mono", "PingFang SC", var(--sans);

  /* —— 字阶（4 级 + 大数字） —— */
  --fs-display: 46px;
  --fs-h1:      19px;
  --fs-h2:      15px;
  --fs-body:    15px;
  --fs-cap:     12.5px;
  --fs-micro:   10.5px;

  /* —— 间距节奏（8 基准） —— */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px;

  /* —— 圆角 —— */
  --r-card: 10px;
  --r-ctrl: 8px;
  --r-tag:  4px;

  /* —— 阴影（冷调、克制、清晰） —— */
  --sh-1: 0 1px 2px rgba(17,32,58,.06);
  --sh-2: 0 1px 2px rgba(17,32,58,.05), 0 6px 18px -10px rgba(17,32,58,.22);
  --sh-3: 0 16px 44px -16px rgba(17,32,58,.38);
  --sh-gold: 0 8px 20px -8px rgba(154,106,18,.5);

  --tabbar-h: 62px;
  --dur: 200ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: linear-gradient(180deg, #f3f5f9 0%, var(--bg) 220px), var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 var(--s4) calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 28px);
}
.wrap.no-tab { padding-bottom: 40px; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: var(--fs-body); color: var(--ink); }

.page { animation: pagein .36s var(--ease); }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   顶栏 · 品牌（朱砂印章 = 全站唯一品牌识别点）
   ============================================================ */
.topbar { display: flex; align-items: center; gap: var(--s3); padding: 20px 2px 14px; }
.brand-seal {
  width: 46px; height: 46px; flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, var(--vermilion-lite), var(--vermilion) 55%, var(--vermilion-deep));
  color: #fff8ec; font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.04;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 9px; letter-spacing: 1px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,248,236,.55),
    inset 0 0 0 4px var(--vermilion),
    0 3px 8px -2px rgba(140,40,30,.5);
  transform: rotate(-3deg);
}
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 3px; color: var(--ink); }
.brand-slogan { font-size: var(--fs-micro); color: var(--ink-3); letter-spacing: 1.2px; margin-top: 2px; }

/* 子页返回头 */
.subbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--s2);
  margin: 0 calc(-1 * var(--s4)); padding: 12px var(--s4);
  background: #eef1f6;
  border-bottom: 1px solid var(--line);
}
.subbar .back {
  width: 34px; height: 34px; border: 1px solid var(--line);
  border-radius: var(--r-ctrl); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 20px; line-height: 1; box-shadow: var(--sh-1);
}
.subbar .back:active { background: var(--bg-2); }
.subbar h1 { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.subbar .sub-extra { margin-left: auto; font-size: var(--fs-cap); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ============================================================
   演示数据警示（合规·必须醒目） / 公告
   ============================================================ */
.banner-demo {
  margin: 0 calc(-1 * var(--s4));
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff6e2;
  border-top: 1px solid #f0d68f; border-bottom: 1px solid #f0d68f;
  color: #8a5a06; font-size: var(--fs-cap); font-weight: 600; letter-spacing: .3px;
  padding: 9px 16px; text-align: center;
}
.banner-demo::before {
  content: "演示"; flex-shrink: 0;
  background: #e0961a; color: #fff; font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 3px; letter-spacing: 1px;
}
.banner-announce {
  display: flex; gap: var(--s2); align-items: flex-start;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent); border-radius: var(--r-card);
  padding: 11px 13px; font-size: var(--fs-cap); line-height: 1.55;
  color: var(--accent-deep); margin-bottom: var(--s3);
}

/* ============================================================
   卡片
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-2);
  padding: var(--s4);
  margin-bottom: var(--s3);
  position: relative;
}
.card-title {
  font-size: var(--fs-h2); font-weight: 700; letter-spacing: .5px;
  display: flex; align-items: center; gap: var(--s2);
  margin-bottom: var(--s3); color: var(--ink);
}
.card-title::before {
  content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--accent);
}
.card-title .right { margin-left: auto; font-size: var(--fs-cap); font-weight: 400; color: var(--ink-3); letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ============================================================
   表单
   ============================================================ */
.field { margin-bottom: var(--s3); }
.field label { display: block; font-size: var(--fs-cap); color: var(--ink-2); margin-bottom: 6px; letter-spacing: .3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px;
  border: 1px solid var(--line); border-radius: var(--r-ctrl);
  background: var(--surface-2); outline: none;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.field input::placeholder { color: #aab4c4; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(31,95,208,.15);
}
.field-row { display: flex; gap: var(--s3); }
.field-row .field { flex: 1; }
.score-input input {
  font-family: var(--num); font-size: 32px; font-weight: 800; text-align: center;
  letter-spacing: 3px; color: var(--navy); font-variant-numeric: tabular-nums;
}

/* 按钮 */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 14px; border-radius: var(--r-ctrl);
  border: 1px solid transparent; font-size: 16px; font-weight: 700; letter-spacing: 2px;
  transition: transform 120ms ease, box-shadow 160ms ease, opacity 120ms, background 160ms;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary {
  background: linear-gradient(165deg, var(--accent), var(--accent-deep));
  color: var(--ink-on);
  box-shadow: 0 8px 20px -8px rgba(31,95,208,.55), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:active { box-shadow: 0 4px 12px -6px rgba(31,95,208,.55); }
.btn-navy { background: linear-gradient(165deg, var(--navy-lite), var(--navy-deep)); color: var(--ink-on); box-shadow: 0 8px 20px -8px rgba(21,51,92,.5); }
.btn-ghost {
  background: var(--surface); border-color: var(--line); color: var(--ink-2);
  font-size: 14px; letter-spacing: .5px; box-shadow: var(--sh-1);
}
.btn-ghost:active { background: var(--bg-2); }
.btn-sm { width: auto; padding: 8px 15px; font-size: 13px; letter-spacing: .5px; border-radius: 7px; }
/* 鎏金按钮：VIP / 解锁 / 卡密激活 专用 */
.btn-gold {
  background: linear-gradient(160deg, var(--gold-lite), var(--gold) 70%, var(--gold-deep));
  color: #fff8e6;
  box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-gold:active { box-shadow: 0 4px 12px -6px rgba(154,106,18,.55); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ============================================================
   标签 / 徽标
   ============================================================ */
.tags { display: inline-flex; gap: 5px; flex-wrap: wrap; vertical-align: middle; }
.seal-tag {
  font-size: var(--fs-micro); font-weight: 700; color: var(--navy);
  border: 1px solid var(--navy); border-radius: var(--r-tag);
  padding: 1px 6px; letter-spacing: 1px; background: var(--surface); white-space: nowrap;
}
.seal-tag.s211 { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
/* VIP 标签：鎏金 */
.seal-tag.vip, .tag-vip {
  color: var(--gold-deep); border: 1px solid var(--gold-line);
  background: var(--gold-soft); font-weight: 700;
  font-size: var(--fs-micro); border-radius: var(--r-tag); padding: 1px 6px; letter-spacing: 1px; white-space: nowrap;
}
.tag-plain {
  font-size: var(--fs-micro); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: var(--r-tag);
  padding: 1px 6px; white-space: nowrap; background: var(--surface-2);
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-cap); padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  white-space: nowrap; transition: all 150ms;
}
.chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.chip-row { display: flex; gap: var(--s2); overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }

/* 冲稳保字色 */
.c-chong { color: var(--chong); } .c-wen { color: var(--wen); } .c-bao { color: var(--bao); }

.pill-cat {
  font-weight: 700; font-size: 11px; padding: 2px 9px; border-radius: var(--r-tag);
  letter-spacing: .5px; white-space: nowrap;
}
.pill-cat.chong { color: #fff; background: var(--chong); }
.pill-cat.wen   { color: #fff; background: var(--wen); }
.pill-cat.bao   { color: #fff; background: var(--bao); }

/* 专业组编号：普通灰字，不加徽标格式，与专业名同基线对齐 */
.major-code {
  margin-left: 5px; vertical-align: baseline;
  font-family: var(--num); font-size: 12px; font-weight: 500;
  color: var(--ink-3);
}

/* 概率徽标（数据样式：方正圆角、等宽数字） */
.prob-stamp {
  width: 58px; height: 58px; border-radius: 12px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; border: 1px solid transparent;
}
.prob-stamp .pv { font-family: var(--num); font-size: 19px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.prob-stamp .pl { font-size: 9px; letter-spacing: 1px; opacity: .9; margin-top: 2px; }
.prob-stamp.chong { color: var(--chong-deep); background: var(--chong-soft); border-color: var(--chong-line); }
.prob-stamp.wen   { color: var(--wen-deep);   background: var(--wen-soft);   border-color: var(--wen-line); }
.prob-stamp.bao   { color: var(--bao-deep);   background: var(--bao-soft);   border-color: var(--bao-line); }

/* ============================================================
   院校卡
   ============================================================ */
.school-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-2); padding: 14px; margin-bottom: var(--s3);
  position: relative; overflow: hidden;
}
.school-card.is-chong { border-top: 3px solid var(--chong); }
.school-card.is-wen   { border-top: 3px solid var(--wen); }
.school-card.is-bao   { border-top: 3px solid var(--bao); }
.school-head { display: flex; gap: var(--s3); align-items: flex-start; }
.school-main { flex: 1; min-width: 0; }
.school-name {
  font-size: 17px; font-weight: 700; letter-spacing: .2px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.3; color: var(--ink);
}
.school-meta { font-size: var(--fs-cap); color: var(--ink-3); margin-top: 4px; }
.school-meta b { color: var(--ink-2); font-weight: 600; }
.mini-years { display: flex; border-top: 1px solid var(--line-soft); margin-top: 11px; padding-top: 9px; gap: 4px; }
.mini-year { flex: 1; text-align: center; }
.mini-year .y { font-size: var(--fs-micro); color: var(--ink-3); letter-spacing: .5px; }
.mini-year .s { font-family: var(--num); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; display: block; color: var(--ink); }
.mini-year .r { font-size: var(--fs-micro); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.school-actions { display: flex; gap: var(--s2); margin-top: 11px; }

/* 锁定遮罩卡（付费层 → 鎏金） */
.lock-panel {
  border: 1.5px solid var(--gold-line);
  background: radial-gradient(120% 90% at 50% 0%, var(--gold-soft), transparent 72%), linear-gradient(180deg, #fefaf0, #fbf3e2);
  border-radius: var(--r-card); text-align: center; padding: 24px 18px; margin: 4px 0 var(--s3);
  position: relative;
}
.lock-panel .lk-ico { display: block; font-size: 22px; margin-bottom: 6px; filter: saturate(0) brightness(.55); }
.lock-panel .lk-title { font-size: 17px; font-weight: 800; color: var(--gold-deep); letter-spacing: .5px; }
.lock-panel .lk-sub { font-size: var(--fs-cap); color: var(--ink-2); margin: 7px 0 14px; line-height: 1.55; }
.lock-panel .btn { max-width: 250px; margin: 0 auto; }
/* 锁定卡里的主按钮自动转鎏金（无需改 HTML） */
.lock-panel .btn-primary {
  background: linear-gradient(160deg, var(--gold-lite), var(--gold) 70%, var(--gold-deep));
  color: #fff8e6; box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255,255,255,.28);
}

.skeleton-row {
  height: 66px; border-radius: var(--r-card); margin-bottom: var(--s3);
  background: linear-gradient(90deg, var(--bg-2), var(--surface-2), var(--bg-2));
  background-size: 200% 100%; animation: shimmer 1.5s infinite linear;
  border: 1px solid var(--line-soft);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============================================================
   数字荣誉块（数据终端）
   ============================================================ */
.stat-hero { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.stat-big {
  font-family: var(--num); font-size: var(--fs-display); font-weight: 800; line-height: 1;
  color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.stat-unit { font-size: 13px; color: var(--ink-2); }
.stat-grid { display: flex; gap: 0; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.stat-cell { flex: 1; text-align: center; border-left: 1px solid var(--line-soft); }
.stat-cell:first-child { border-left: none; }
.stat-cell .v { font-family: var(--num); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; display: block; color: var(--ink); }
.stat-cell .k { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* 进度条 */
.bar { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin-top: 9px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--navy)); transition: width .8s var(--ease); }

/* ============================================================
   表格（金融终端：精密、斑马行、列对齐）
   ============================================================ */
table.sheet-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sheet-table th {
  font-weight: 700; font-size: 12px; color: var(--ink-2); letter-spacing: .5px;
  border-bottom: 2px solid var(--line-ink); padding: 8px 4px; text-align: center; white-space: nowrap;
  background: var(--surface-2);
}
.sheet-table td { border-bottom: 1px solid var(--line-soft); padding: 9px 4px; text-align: center; font-variant-numeric: tabular-nums; }
.sheet-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.sheet-table tr:last-child td { border-bottom: none; }
.sheet-table tr.hl td { background: var(--accent-soft) !important; font-weight: 700; color: var(--accent-deep); }
.sheet-table .num { font-family: var(--num); font-weight: 700; }

/* ============================================================
   快捷功能格
   ============================================================ */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-bottom: var(--s3); }
.quick-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 13px 4px 11px; text-align: center; box-shadow: var(--sh-1);
  transition: transform 150ms, box-shadow 150ms; color: var(--ink-2);
}
.quick-item:active { transform: scale(.96); box-shadow: var(--sh-2); }
.quick-item .q-ico {
  width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--serif); font-size: 19px; font-weight: 700;
}
.quick-item svg { width: 26px; height: 26px; }
.quick-item .q-ico.gold { background: var(--gold-soft); color: var(--gold); }
.quick-item .q-name { font-size: var(--fs-cap); color: var(--ink-2); letter-spacing: .3px; }

/* ============================================================
   流程步骤
   ============================================================ */
.steps { counter-reset: step; }
.step-item { display: flex; gap: var(--s3); padding: 11px 0; align-items: flex-start; }
.step-item + .step-item { border-top: 1px solid var(--line-soft); }
.step-no {
  counter-increment: step; width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent); border-radius: 9px;
  font-family: var(--num); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-no::before { content: counter(step); }
.step-item b { font-size: 14.5px; display: block; color: var(--ink); }
.step-item p { font-size: var(--fs-cap); color: var(--ink-3); }

/* ============================================================
   冲稳保切换 tab（分段控件）
   ============================================================ */
.cat-tabs {
  position: sticky; top: 54px; z-index: 25;
  display: flex; margin: 0 calc(-1 * var(--s4)) var(--s3); padding: 9px var(--s4); gap: var(--s2);
  background: #eef1f6;
}
.cat-tab {
  flex: 1; text-align: center; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r-ctrl); padding: 8px 2px; font-size: 15px; font-weight: 600; letter-spacing: .5px;
  color: var(--ink-2); box-shadow: var(--sh-1);
}
.cat-tab small { display: block; font-size: var(--fs-micro); font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-top: 1px; font-variant-numeric: tabular-nums; }
.cat-tab.on.t-chong { border-color: var(--chong); color: #fff; background: var(--chong); }
.cat-tab.on.t-wen   { border-color: var(--wen);   color: #fff; background: var(--wen); }
.cat-tab.on.t-bao   { border-color: var(--bao);   color: #fff; background: var(--bao); }
.cat-tab.on small { color: rgba(255,255,255,.85); }

/* ============================================================
   志愿表
   ============================================================ */
.vol-item {
  display: flex; gap: var(--s3); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-2); padding: 13px; margin-bottom: var(--s2); align-items: flex-start;
}
.vol-no {
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--navy-lite), var(--navy-deep));
  color: var(--ink-on); font-family: var(--num); font-weight: 800;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-variant-numeric: tabular-nums;
}
.vol-main { flex: 1; min-width: 0; }
.vol-main .school-name { font-size: 15.5px; }
.vol-majors { font-size: var(--fs-cap); color: var(--ink-2); margin-top: 4px; word-break: break-all; line-height: 1.5; }
.vol-note { font-size: 11.5px; color: var(--accent); margin-top: 3px; }
.vol-ops { display: flex; flex-direction: column; gap: 5px; }
.op-btn {
  width: 32px; height: 27px; border: 1px solid var(--line); background: var(--surface-2);
  border-radius: 7px; font-size: 13px; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
}
.op-btn:active { background: var(--bg-2); }
.op-btn.del { color: var(--danger); }

/* 志愿表：按生成分数分段 */
.vol-seg { margin-bottom: 20px; }
.vol-seg-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 2px 2px 10px;
}
.vol-seg-score {
  font-size: 15px; font-weight: 800; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 7px;
}
.vol-seg-score::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--accent); }
.vol-seg-meta { font-size: var(--fs-cap); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 同一所学校的多个专业组：合并进一张学校卡片，专业组在其下分行（各自独立排序/删除） */
.vol-school {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-2); padding: 12px 13px; margin-bottom: var(--s2);
}
.vol-school-name { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.vol-school-name a { color: var(--ink); }
.vol-school-name .tags { margin-left: 4px; }
.vol-grp-row { display: flex; gap: var(--s3); align-items: flex-start; padding-top: 11px; margin-top: 11px; border-top: 1px dashed var(--line); }
.vol-school-name + .vol-grp-row { border-top: none; padding-top: 9px; margin-top: 7px; }
.vol-grp-main { flex: 1; min-width: 0; }
.vol-grp-head { font-size: var(--fs-cap); color: var(--ink-2); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

/* ============================================================
   空状态
   ============================================================ */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty .e-seal {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border: 2px solid var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--line);
}
.empty p { font-size: 13px; margin-bottom: 16px; }

/* ============================================================
   底部导航
   ============================================================ */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: #ffffff;
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar-inner { max-width: 460px; margin: 0 auto; display: flex; height: var(--tabbar-h); }
.tab-item {
  position: relative;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-2); font-size: 12px; font-weight: 500; letter-spacing: .5px; transition: color 150ms;
}
.tab-item svg { width: 25px; height: 25px; }
.tab-item .ti-ico { font-size: 21px; line-height: 1; }
.tab-item.on { color: var(--accent); font-weight: 700; }
/* 选中项：图标放大 */
.tab-item.on .ti-ico,
.tab-item.on svg { transform: scale(1.12); }

/* ============================================================
   提示气泡
   ============================================================ */
#toast-box {
  position: fixed; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 18px);
  left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; flex-direction: column; gap: var(--s2); width: max-content; max-width: 86vw;
}
.toast {
  background: rgba(17,32,58,.96); color: #fff; font-size: 13px;
  padding: 10px 17px; border-radius: var(--r-ctrl); text-align: center;
  animation: toastin .25s var(--ease); box-shadow: var(--sh-3);
}
.toast.err  { background: rgba(163,38,31,.97); }
.toast.ok-t { background: rgba(21,104,69,.97); }
@keyframes toastin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }

/* ============================================================
   底部抽屉
   ============================================================ */
.sheet-mask { position: fixed; inset: 0; background: rgba(17,32,58,.45); z-index: 100; animation: fadein .2s; }
@keyframes fadein { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 101;
  max-width: 460px; margin: 0 auto; background: var(--surface);
  border-radius: 18px 18px 0 0; border: 1px solid var(--line); border-bottom: none;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  max-height: 80dvh; overflow-y: auto; animation: sheetup .3s var(--ease); box-shadow: var(--sh-3);
}
@keyframes sheetup { from { transform: translateY(40%); opacity: .5; } }
.sheet-grip { width: 42px; height: 4px; background: var(--line); border-radius: 99px; margin: 4px auto 14px; }
.sheet h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .5px; margin-bottom: 4px; }

/* 添加到主屏：步骤引导 */
.install-steps { margin: 12px 0 16px; padding-left: 4px; list-style: none; counter-reset: istep; }
.install-steps li {
  counter-increment: istep; position: relative; padding: 9px 0 9px 36px;
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
}
.install-steps li + li { border-top: 1px solid var(--line-soft); }
.install-steps li::before {
  content: counter(istep); position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--num); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.install-steps b { color: var(--ink); }

/* ============================================================
   VIP 横条（付费层 → 鎏金贵重感）
   ============================================================ */
.vip-strip {
  display: flex; align-items: center; gap: var(--s3);
  background:
    radial-gradient(120% 200% at 100% 0%, rgba(199,154,63,.30), transparent 60%),
    linear-gradient(135deg, var(--vip-ink), #423829 70%, #5a4a2c);
  color: #f1e0b2; border-radius: var(--r-card); padding: 14px;
  margin-bottom: var(--s3); box-shadow: var(--sh-2); position: relative; overflow: hidden;
}
.vip-strip::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-card);
  border: 1px solid rgba(230,210,154,.28); pointer-events: none;
}
.vip-strip .v-ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold-lite));
  display: flex; align-items: center; justify-content: center; color: var(--vip-ink);
  font-weight: 800; font-size: 16px; letter-spacing: .5px;
}
.vip-strip .v-title { font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.vip-strip .v-sub { font-size: 11.5px; opacity: .78; margin-top: 1px; }
.vip-strip .v-btn {
  margin-left: auto; background: linear-gradient(135deg, #f3e2a8, #d6b262);
  color: #4a3a16; font-weight: 700; font-size: 13px; border-radius: 8px;
  padding: 8px 16px; letter-spacing: .5px; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.4);
}

/* ============================================================
   列表载入 / 页脚 / 分隔
   ============================================================ */
.load-more { margin: 4px 0 12px; }
.footer-note {
  font-size: 11.5px; color: var(--ink-3); text-align: center; line-height: 1.85;
  padding: 20px 12px 4px; border-top: 1px solid var(--line); margin-top: var(--s4);
}
.footer-note b { color: var(--ink-2); }
.divider-cut { border: none; border-top: 1px dashed var(--line); margin: 20px 0; }

/* ============================================================
   登录 / 我的
   ============================================================ */
.auth-tabs { display: flex; background: var(--bg-2); border-radius: var(--r-ctrl); padding: 3px; margin-bottom: var(--s4); }
.auth-tab {
  flex: 1; text-align: center; padding: 9px; font-size: 15px; letter-spacing: 1px;
  color: var(--ink-2); border-radius: 6px; font-weight: 600;
}
.auth-tab.on { color: var(--navy); background: var(--surface); box-shadow: var(--sh-1); font-weight: 700; }

.kv { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--ink-3); }
.kv .v { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.kv .v.big { font-family: var(--num); font-size: 18px; color: var(--accent); }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.right { margin-left: auto; }
.mt8 { margin-top: var(--s2); } .mt12 { margin-top: var(--s3); } .mt16 { margin-top: var(--s4); }
.muted { color: var(--ink-3); font-size: var(--fs-cap); }
.hidden { display: none !important; }

/* ============================================================
   打印（志愿表正式样张 · 黑白激光）
   ============================================================ */
@media print {
  body { background: #fff; color: #000; font-size: 12px; }
  .tabbar, .subbar, .no-print, #toast-box, .banner-demo, .banner-announce, .vip-strip, .quick-grid, .cat-tabs { display: none !important; }
  .wrap { max-width: 100%; padding: 0; }
  .screen-only { display: none !important; }
  .print-sheet { display: block !important; }
  .print-title { font-family: var(--serif); text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 5px; margin: 8px 0 2px; }
  .print-meta { text-align: center; font-size: 11px; color: #444; margin-bottom: 14px; }
  .print-table { width: 100%; border-collapse: collapse; }
  .print-table th, .print-table td { border: 1px solid #333; padding: 6px; font-size: 11.5px; text-align: center; }
  .print-table th { background: #eee; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-sign { display: flex; justify-content: space-between; margin-top: 28px; font-size: 12px; }
}
.print-sheet { display: none; }
