* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7f6f2;
  color: #1e2a3a;
  font-size: 15px;
}
.app { max-width: 640px; margin: 0 auto; min-height: 100vh; padding-bottom: 62px; }
.app-header {
  background: #1e2a3a;
  color: #fff;
  padding: 24px 20px 20px;
  text-align: center;
}
.brand { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.brand-sub { margin-top: 7px; font-size: 12px; color: #c8a45a; }
.content { padding: 14px 14px 36px; }
.view { display: none; }
.view.active { display: block; }

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(30,42,58,.06);
}
.card-title { font-size: 17px; margin: 0 0 12px; }
.card h3.card-title { font-size: 16px; }
.feat { font-size: 14px; color: #4a5568; margin: 8px 0; line-height: 1.6; }
.muted { color: #8a919c; font-size: 12px; }
.intro { font-size: 14px; color: #4a5568; line-height: 1.7; margin: 0; }

.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 0;
  font-size: 15px;
  margin-top: 12px;
  cursor: pointer;
}
.btn-primary { background: #1e2a3a; color: #fff; }
.btn-gold { background: #c8a45a; color: #fff; }
.btn-ghost { background: #e5e1d8; color: #4a5568; }
.btn.small { display: inline-block; width: auto; padding: 8px 24px; font-size: 13px; margin-top: 12px; }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { flex: 1; margin-top: 20px; }
.btn-row .main { flex: 2; }
.cta { margin-top: 8px; }

/* 分类栏 */
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 4px 12px; }
.cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e1d8;
  cursor: pointer;
}
.cat.on { background: #1e2a3a; border-color: #1e2a3a; }
.cat-name { font-size: 14px; font-weight: 600; color: #1e2a3a; }
.cat.on .cat-name { color: #fff; }
.cat-sub { font-size: 10px; color: #8a919c; margin-top: 2px; }
.cat.on .cat-sub { color: #c8a45a; }

/* 院校网格 */
.school-list {
  background: #fff;
  border-radius: 16px;
  margin-top: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30,42,58,.06);
}
.school-row {
  display: flex;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #f0ede5;
  cursor: pointer;
}
.school-row:last-child { border-bottom: none; }
.logo {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo span { font-size: 16px; font-weight: 800; }
.logo-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  object-fit: contain;
}
.logo-img.hide { display: none; }
.info { flex: 1; margin-left: 12px; min-width: 0; }
.s-name { font-size: 13px; font-weight: 700; line-height: 1.3; word-break: break-word; }
.s-en { font-size: 12px; color: #8a919c; margin-top: 3px; }
.s-meta { font-size: 11px; color: #4a5568; margin-top: 4px; }
.tags { margin-top: 6px; }
.arrow { font-size: 20px; color: #d8c9a3; margin-left: 10px; font-weight: 300; }
.tags { margin-top: 8px; }
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  background: #f0e9d8;
  color: #8a6d2f;
  margin: 0 5px 5px 0;
}
.empty { text-align: center; color: #8a919c; padding: 30px 0; }

/* 学校详情 */
.school-head {
  color: #fff;
  border-radius: 0 0 24px 24px;
  padding: 28px 24px 24px;
}
.logo-lg {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.logo-lg span { font-size: 22px; font-weight: 800; }
.s-name-lg { font-size: 21px; font-weight: 700; }
.s-en-lg { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.s-meta-lg { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 6px; }
.tag-l {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255,255,255,.2);
  color: #fff;
  margin: 0 6px 4px 0;
}
.kv { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid #f0ede5; }
.kv:last-of-type { border-bottom: none; }
.k { font-size: 11px; color: #8a6d2f; font-weight: 600; margin-bottom: 4px; }
.v { font-size: 14px; color: #1e2a3a; line-height: 1.6; }
.note { font-size: 11px; color: #8a919c; margin: 10px 0 0; }

.locked-box {
  border: 1px dashed #d8c9a3;
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  background: #fbf8f0;
}
.lock-icon { font-size: 30px; }
.lock-title { font-size: 15px; font-weight: 700; margin-top: 8px; }
.lock-desc { font-size: 12px; color: #4a5568; margin-top: 6px; }
.lock-price { font-size: 14px; color: #8a6d2f; font-weight: 700; margin-top: 10px; }

.assess-cta { margin-top: 6px; }
.cta-title { font-size: 16px; font-weight: 700; }
.cta-sub { font-size: 12px; color: #4a5568; margin-top: 6px; }

/* 测评 */
.progress-wrap { position: relative; height: 9px; background: #e5e1d8; border-radius: 999px; margin: 4px 4px 18px; }
.progress-bar { height: 9px; background: #c8a45a; border-radius: 999px; transition: width .3s; }
.progress-text { position: absolute; right: 0; top: -20px; font-size: 12px; color: #8a919c; }
.q-title { font-size: 18px; line-height: 1.5; margin: 0; }
.q-sub { font-size: 12px; color: #8a6d2f; margin: 6px 0 12px; }
.option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e1d8;
  border-radius: 12px;
  padding: 14px 15px;
  margin-top: 11px;
  font-size: 14px;
  cursor: pointer;
}
.option.on { border-color: #c8a45a; background: #faf5e8; color: #8a6d2f; }
.check { color: #c8a45a; font-weight: 700; }
.video { width: 100%; border-radius: 12px; background: #000; max-height: 320px; }
.video-name { font-size: 12px; color: #4a5568; margin-top: 8px; }
.skip-tip { font-size: 11px; color: #8a919c; text-align: center; margin-top: 12px; }
.submit-btn { margin-top: 14px; }

/* 流程步骤 */
.step { display: flex; align-items: flex-start; padding: 8px 0; }
.step-no {
  width: 24px; height: 24px; border-radius: 50%;
  background: #c8a45a; color: #fff;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px; flex-shrink: 0;
}
.step-t { font-size: 13px; color: #1e2a3a; line-height: 1.55; }

/* 价格卡 */
.price-card { text-align: center; }
.price { font-size: 30px; font-weight: 800; color: #8a6d2f; }
.price-sub { font-size: 12px; color: #4a5568; margin-top: 6px; }
.paid-tip { font-size: 11px; color: #8a919c; margin-top: 10px; }

/* 提交成功 */
.done-hero {
  background: #1e2a3a;
  color: #fff;
  padding: 40px 20px 34px;
  text-align: center;
  border-radius: 0 0 24px 24px;
}
.ok-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #c8a45a; color: #fff;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.done-brand { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.done-sub { margin-top: 8px; font-size: 14px; color: #c8a45a; }

/* 我的 */
.profile {
  background: #1e2a3a;
  color: #fff;
  padding: 34px 20px 30px;
  border-radius: 0 0 24px 24px;
  text-align: center;
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: #c8a45a; color: #fff;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.p-name { font-size: 18px; font-weight: 700; }
.p-sub { margin-top: 6px; font-size: 12px; color: #c8a45a; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; }
.row-label { font-size: 14px; color: #1e2a3a; font-weight: 600; }
.row-sub { font-size: 11px; color: #8a919c; }
.row-value { font-size: 13px; color: #4a5568; }
.status { font-size: 12px; color: #8a919c; }
.status.done { color: #2e7d32; }
.status.doing { color: #c8a45a; }
.price { font-size: 14px; color: #8a6d2f; font-weight: 700; cursor: pointer; }

/* 底部导航 */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid #e5e1d8;
  display: flex;
  z-index: 50;
}
.tab {
  flex: 1;
  text-align: center;
  padding: 12px 0 14px;
  font-size: 13px;
  color: #8a919c;
  cursor: pointer;
}
.tab.on { color: #c8a45a; font-weight: 700; }

/* 弹窗 / 提示 */
.modal-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(30,42,58,.55);
  display: flex; align-items: center; justify-content: center; z-index: 99;
}
.modal {
  background: #fff; border-radius: 16px; padding: 24px; width: 84%; max-width: 420px;
}
.modal h3 { margin: 0 0 10px; font-size: 18px; }
.modal p { font-size: 13px; color: #4a5568; line-height: 1.6; }
.modal-note { font-size: 11px; color: #8a919c; }
.toast {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%);
  background: rgba(30,42,58,.9); color: #fff; font-size: 13px;
  padding: 10px 20px; border-radius: 999px; z-index: 100;
}

/* 我的：个人结果页 + 设置页 */
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.link { padding-bottom: 16px; cursor: pointer; }
.arrow { font-size: 20px; color: #c8a45a; font-weight: 300; line-height: 1; }
.status-row { display: flex; align-items: center; margin-top: 4px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #c8a45a; margin-right: 8px; flex-shrink: 0; }
.status-dot.doing { background: #c8a45a; }
.status-dot.done { background: #2e7d32; }
.status-text { font-size: 13px; color: #1e2a3a; flex: 1; }
.map-sub { font-size: 12px; color: #4a5568; margin: 8px 0 10px; }
.set-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid #f0ede5; font-size: 14px; cursor: pointer;
}
.set-row:last-child { border-bottom: none; }
.set-row .arrow { font-size: 18px; }

/* 首页：张隽指导产品介绍 */
.home-hero {
  background: #1e2a3a;
  color: #fff;
  padding: 34px 24px 30px;
  border-radius: 0 0 24px 24px;
  margin: -14px -14px 14px;
}
.home-brand { font-size: 23px; font-weight: 700; letter-spacing: 1px; }
.home-slogan { margin-top: 10px; font-size: 17px; color: #c8a45a; }
.home-sub { margin-top: 8px; font-size: 12px; color: #b9c0cc; }
.feat-no { color: #c8a45a; font-weight: 700; margin-right: 6px; }
p.feat { display: flex; align-items: flex-start; }
.feat-t { flex: 1; }

/* 学校地图：分类分组 */
.intro-card { margin-top: 4px; }
.map-group { margin-bottom: 14px; }
.group-head {
  background: #1e2a3a;
  color: #fff;
  padding: 16px 18px 14px;
  border-radius: 16px 16px 0 0;
}
.group-title { font-size: 17px; font-weight: 700; }
.group-en { font-size: 12px; color: #c8a45a; margin-top: 4px; }
.group-reason { font-size: 12px; color: #cfd6e0; line-height: 1.6; margin-top: 8px; }
.group-special {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(200, 164, 90, 0.16);
  border-radius: 12px;
}
.special-label { font-size: 12px; color: #c8a45a; font-weight: 700; }
.special-item {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: rgba(200, 164, 90, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 6px 6px 0 0;
}
.sub-head {
  background: #fbf8f0;
  padding: 10px 14px;
  border-bottom: 1px solid #f0ede5;
  font-size: 12px;
  color: #8a6d2f;
  font-weight: 700;
}
.school-list { border-radius: 0 0 16px 16px; }
.price-year { font-size: 15px; font-weight: 600; color: #8a6d2f; margin-left: 4px; }
