/* ============================================================
   华巽云科创经理人学院 · H5 移动端设计系统
   与 PC 官网同风格同色系，布局移动优先（max-width 750 设计基准）
   ============================================================ */
:root {
  --blue: #0B4DA2;
  --blue-deep: #08306B;
  --blue-dark: #062044;
  --blue-light: #E8F0FB;
  --gold: #C9A45C;
  --gold-deep: #B08D45;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --ink-3: #9CA3AF;
  --line: #E5E7EB;
  --bg: #F5F7FA;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(8, 48, 107, .08);
  --font: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 14px; line-height: 1.65; padding-bottom: calc(56px + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea { font-family: inherit; outline: none; }

/* ---------- 顶部品牌栏 ---------- */
.h5-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, #0A3D91 0%, #0B4DA2 100%);
  color: #fff; padding-top: env(safe-area-inset-top);
}
.h5-header .bar { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.h5-header .brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(201, 164, 92, .5);
  color: var(--gold); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.h5-header .brand-name { font-size: 15.5px; font-weight: 700; letter-spacing: .5px; flex: 1; min-width: 0; }
.h5-header .brand-name small {
  display: block; font-size: 9px; font-weight: 400; letter-spacing: .3px;
  color: inherit; opacity: .6; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.h5-header .login-mini { font-size: 12.5px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 4px 12px; }
.h5-header .menu-btn { width: 34px; height: 34px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.h5-header .menu-btn i { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- 抽屉菜单 ---------- */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(6, 32, 68, .55); z-index: 190;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 72%; max-width: 300px; z-index: 195;
  background: #fff; transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding-top: env(safe-area-inset-top);
}
.drawer.show { transform: translateX(0); }
.drawer .d-head {
  padding: 18px 20px; color: #fff;
  background: linear-gradient(135deg, #0A3D91, #0B4DA2);
}
.drawer .d-head h3 { font-size: 17px; font-weight: 700; }
.drawer .d-head p { font-size: 12px; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.drawer nav { flex: 1; overflow-y: auto; padding: 10px 0; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.drawer nav a.active { color: var(--blue); font-weight: 700; background: var(--blue-light); }
.drawer nav a .arr { color: #CBD5E1; }
.drawer .d-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer .d-foot .btn { width: 100%; padding: 11px; font-size: 14.5px; }
.drawer .d-foot .pc-link { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0A3D91 0%, #0B4DA2 45%, #08306B 100%);
  padding: 34px 20px 38px; text-align: center;
}
.hero::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, .22), transparent 70%);
}
.hero h1 { font-size: 24px; font-weight: 700; letter-spacing: 1px; position: relative; z-index: 1; }
.hero .sub { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .82); position: relative; z-index: 1; }
.hero .levels { margin-top: 8px; font-size: 12px; color: var(--gold); position: relative; z-index: 1; }
.hero .hero-art { margin: 16px auto 0; max-width: 300px; position: relative; z-index: 1; }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; justify-content: center; position: relative; z-index: 1; }
.hero-cta .btn { flex: 1; max-width: 170px; padding: 11px 0; font-size: 14px; }

/* ---------- 页面标题 ---------- */
.page-banner {
  color: #fff; text-align: center; padding: 26px 20px;
  background: linear-gradient(140deg, #0A3D91, #08306B);
}
.page-banner h1 { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.page-banner .sub { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.crumb {
  background: #fff; padding: 10px 16px; font-size: 12.5px; color: var(--ink-3);
  display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line);
}
.crumb .side-tag { border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; font-size: 11px; }

/* ---------- 区块 ---------- */
.section { padding: 22px 16px; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 18px; }
.section-head h2 { font-size: 19px; font-weight: 700; color: var(--blue-deep); }
.section-head h2::after {
  content: ""; display: block; width: 36px; height: 3px; border-radius: 2px;
  background: var(--gold); margin: 10px auto 0;
}
.section-head p { margin-top: 8px; font-size: 12px; color: var(--ink-3); }

/* ---------- 卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 16px 12px;
  box-shadow: var(--shadow); text-align: center; border-top: 3px solid var(--blue);
}
.feature-card .icon {
  width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 10px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
}
.feature-card .icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 13.5px; font-weight: 600; }
.feature-card p { margin-top: 4px; font-size: 11px; color: var(--ink-3); }

.dark-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dark-card {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #0B4DA2, #08306B);
  border-radius: var(--radius); padding: 18px 14px; min-height: 104px;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow);
}
.dark-card::after {
  content: ""; position: absolute; right: -24px; bottom: -24px; width: 80px; height: 80px;
  border-radius: 50%; background: rgba(201, 164, 92, .16);
}
.dark-card h3 { font-size: 14.5px; font-weight: 700; }
.dark-card h3 .arrow { color: var(--gold); }
.dark-card p { margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, .72); position: relative; z-index: 1; }
.dark-card .tag {
  position: absolute; top: 10px; right: 10px; font-size: 9.5px;
  border: 1px solid rgba(201, 164, 92, .55); color: var(--gold); border-radius: 999px; padding: 0 8px;
}

/* ---------- 筛选 / 搜索 ---------- */
.filter-bar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; margin-bottom: 14px; }
.filter-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button {
  flex-shrink: 0; padding: 5px 14px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
}
.filter-tabs button.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.search-box {
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: var(--bg);
}
.search-box input { border: none; background: none; flex: 1; font-size: 13px; }
.search-box svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- 课程卡 ---------- */
.course-list { display: flex; flex-direction: column; gap: 12px; }
.course-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; }
.course-thumb {
  position: relative; width: 118px; flex-shrink: 0; min-height: 96px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-size: 13px; font-weight: 700; padding: 10px;
}
.course-thumb.t1 { background: linear-gradient(135deg, #0B4DA2, #1565C0); }
.course-thumb.t2 { background: linear-gradient(135deg, #08306B, #0B4DA2); }
.course-thumb.t3 { background: linear-gradient(135deg, #0F5CB8, #0A3D91); }
.course-thumb.t4 { background: linear-gradient(135deg, #12499E, #062044); }
.course-thumb .badge {
  position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 600;
  background: rgba(255, 255, 255, .92); color: var(--blue); border-radius: 4px; padding: 1px 7px;
}
.course-thumb .badge.live { background: var(--gold); color: #fff; }
.course-body { padding: 12px 14px; flex: 1; min-width: 0; }
.course-body h3 { font-size: 14.5px; font-weight: 600; }
.course-meta { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }
.course-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.course-foot .stat { font-size: 11.5px; color: var(--ink-3); }
.course-foot .link { font-size: 12.5px; color: var(--blue); font-weight: 600; }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.pager button, .pager span {
  min-width: 32px; height: 32px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12.5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pager button[disabled] { opacity: .45; }
.pager span.current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pager-tip { text-align: center; margin-top: 10px; font-size: 11px; color: var(--ink-3); }

/* ---------- 合伙人等级 ---------- */
.level-list { display: flex; flex-direction: column; gap: 14px; }
.level-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.level-card .lv-head {
  padding: 13px 16px; color: #fff; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #0B4DA2, #0A3D91);
}
.level-card:nth-child(2) .lv-head { background: linear-gradient(135deg, #1565C0, #0B4DA2); }
.level-card:nth-child(3) .lv-head { background: linear-gradient(135deg, var(--gold-deep), var(--gold)); }
.level-card .lv-head h3 { font-size: 15px; font-weight: 700; }
.level-card .lv-head .go { font-size: 16px; }
.level-card .lv-body { padding: 12px 16px; }
.level-card .lv-body li {
  position: relative; padding: 6px 0 6px 22px; font-size: 13px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.level-card .lv-body li:last-child { border-bottom: none; }
.level-card .lv-body li::before { content: "✓"; position: absolute; left: 2px; top: 6px; color: var(--blue); font-weight: 700; }
.level-card .lv-foot {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--gold-deep); font-weight: 600; background: #FDFBF6;
}

.flow { display: flex; align-items: center; justify-content: center; margin: 18px 0 4px; flex-wrap: wrap; gap: 0; }
.flow .node {
  padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: #fff; border: 1px solid var(--blue); color: var(--blue); box-shadow: var(--shadow);
}
.flow .node.hot { background: var(--blue); color: #fff; }
.flow .arrow-line { width: 26px; height: 2px; background: #C7D6EA; position: relative; }
.flow .arrow-line::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  border-left: 7px solid #C7D6EA; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.faq-item .q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-item .q .sign {
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.faq-item.open .q .sign { background: var(--blue); color: #fff; }
.faq-item .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item .a-inner { padding: 0 16px 14px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- 案例 ---------- */
.case-list { display: flex; flex-direction: column; gap: 12px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.case-card .inner { display: flex; gap: 12px; padding: 12px; }
.case-thumb {
  width: 96px; height: 76px; flex-shrink: 0; border-radius: 8px; position: relative;
  background: linear-gradient(135deg, #0B4DA2, #08306B);
  display: flex; align-items: center; justify-content: center;
}
.case-thumb svg { width: 32px; height: 32px; }
.case-thumb .lock {
  position: absolute; top: 6px; right: 6px; width: 20px; height: 20px;
  background: rgba(6, 32, 68, .72); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.case-body { flex: 1; min-width: 0; }
.case-body h3 { font-size: 14px; font-weight: 600; }
.case-body p { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }

.side-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-top: 14px; }
.side-panel .sp-head {
  padding: 12px 16px; color: #fff; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #0B4DA2, #08306B);
}
.side-panel .sp-body { padding: 14px 16px; }
.side-panel .sp-body h4 { font-size: 13px; color: var(--blue-deep); margin-bottom: 6px; }
.side-panel .sp-body p, .side-panel .sp-body li { font-size: 12px; color: var(--ink-2); }
.side-panel .sp-body ol { padding-left: 18px; list-style: decimal; }
.side-panel .sp-body ol li { margin: 4px 0; }
.side-panel textarea {
  width: 100%; min-height: 76px; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px; font-size: 12.5px; resize: vertical; background: var(--bg);
}
.side-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.side-photos .ph {
  aspect-ratio: 4/3; border-radius: 6px; background: linear-gradient(135deg, #0B4DA2, #1565C0);
  display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .9); font-size: 10.5px;
}

/* ---------- 线下走访 ---------- */
.activity-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; }
.activity-thumb {
  border-radius: 8px; min-height: 96px; background: linear-gradient(150deg, #0B4DA2, #08306B);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 12px; margin-bottom: 12px;
}
.activity-thumb .t { font-size: 15px; font-weight: 700; }
.activity-thumb .s { margin-top: 4px; font-size: 10.5px; color: rgba(255, 255, 255, .75); }
.activity-info h3 { font-size: 15.5px; font-weight: 700; }
.activity-info .tags { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }
.activity-info .tags em { font-style: normal; margin-right: 10px; }
.activity-info .desc { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.activity-info .foot { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.activity-info .foot .kv { font-size: 11.5px; color: var(--ink-3); }
.activity-info .foot .kv b { color: var(--ink-2); }
.btn-sm { padding: 7px 16px; font-size: 12.5px; }

/* ---------- 师资 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.teacher-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 12px; text-align: center; }
.teacher-card .avatar {
  width: 62px; height: 62px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--blue-light);
}
.teacher-card h3 { font-size: 14.5px; font-weight: 700; }
.teacher-card .title { margin-top: 3px; font-size: 11px; color: var(--gold-deep); }
.teacher-card .desc { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); }

.partner-strip { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.partner-chip { border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px; font-size: 13px; color: var(--ink-2); background: var(--bg); font-weight: 600; }
.partner-chip small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 400; }

/* ---------- 考试认证 ---------- */
.cert-list { display: flex; flex-direction: column; gap: 12px; }
.cert-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 16px; border-bottom: 3px solid var(--blue);
}
.cert-card.gold { border-bottom-color: var(--gold); }
.cert-card .lv {
  display: inline-block; font-size: 11px; color: var(--blue); font-weight: 700;
  border: 1px solid var(--blue); border-radius: 999px; padding: 1px 10px;
}
.cert-card.gold .lv { color: var(--gold-deep); border-color: var(--gold); }
.cert-card h3 { margin-top: 10px; font-size: 16px; font-weight: 700; }
.cert-card p { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.cert-card .price { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.cert-card .price b { color: var(--gold-deep); font-size: 16px; }

.verify-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.verify-box .row { display: flex; flex-direction: column; gap: 10px; }
.verify-box input { border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; background: var(--bg); }
.verify-box input:focus { border-color: var(--blue); }
.verify-result { margin-top: 12px; font-size: 12.5px; }
.verify-result .ok, .verify-result .fail { padding: 12px 14px; border-radius: 8px; }
.verify-result .ok { background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.verify-result .fail { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* ---------- 学员赋能 ---------- */
.empower-list { display: flex; flex-direction: column; gap: 12px; }
.empower-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 16px; border-top: 3px solid var(--gold);
}
.empower-card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: #FDF6E7;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.empower-card .icon svg { width: 20px; height: 20px; }
.empower-card h3 { font-size: 15px; font-weight: 700; }
.empower-card p { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }

.news-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 14px;
}
.news-item .date {
  flex-shrink: 0; text-align: center; color: var(--blue-deep); font-weight: 700;
  border-right: 1px solid var(--line); padding-right: 14px; min-width: 56px;
}
.news-item .date b { display: block; font-size: 19px; }
.news-item .date span { font-size: 10.5px; color: var(--ink-3); font-weight: 400; }
.news-item h3 { font-size: 14px; font-weight: 600; }
.news-item p { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #0B4DA2, #08306B); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -30px; bottom: -50px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(201, 164, 92, .16);
}
.cta-band h3 { font-size: 18px; font-weight: 700; position: relative; z-index: 1; }
.cta-band p { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .78); position: relative; z-index: 1; }
.cta-band .btn { margin-top: 16px; position: relative; z-index: 1; padding: 11px 26px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; font-weight: 600; transition: all .2s; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff; padding: 10px 22px; font-size: 14px;
  box-shadow: 0 4px 12px rgba(201, 164, 92, .35);
}
.btn-blue { background: var(--blue); color: #fff; padding: 10px 22px; font-size: 14px; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .65); color: #fff; padding: 10px 22px; font-size: 14px; background: rgba(255, 255, 255, .1); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); padding: 8px 18px; font-size: 13px; background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- 底部 tab ---------- */
.h5-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex; padding-bottom: env(safe-area-inset-bottom);
}
.h5-tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 7px 0 5px; font-size: 10.5px; color: var(--ink-3); gap: 2px;
}
.h5-tabbar a svg { width: 21px; height: 21px; }
.h5-tabbar a.active { color: var(--blue); font-weight: 600; }

/* ---------- 登录弹层 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(6, 32, 68, .55); z-index: 200;
  display: none; align-items: flex-end; justify-content: center;
}
.sheet-mask.show { display: flex; }
.sheet {
  background: #fff; border-radius: 16px 16px 0 0; width: 100%;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  animation: up .25s ease;
}
@keyframes up { from { transform: translateY(30px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.sheet h3 { font-size: 17px; font-weight: 700; color: var(--blue-deep); text-align: center; }
.sheet .tip { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); text-align: center; }
.sheet .field { margin-top: 14px; }
.sheet .field label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 5px; }
.sheet .field input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: 14px; background: var(--bg);
}
.sheet .field input:focus { border-color: var(--blue); }
.sheet .btn { width: 100%; margin-top: 16px; padding: 12px; font-size: 15px; }
.sheet .wx-btn {
  width: 100%; margin-top: 10px; padding: 12px; border-radius: 8px;
  background: #07C160; color: #fff; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sheet .alt { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--ink-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 20%; transform: translateX(-50%);
  background: rgba(6, 32, 68, .88); color: #fff; font-size: 13px;
  padding: 9px 20px; border-radius: 8px; z-index: 300; display: none; max-width: 80%;
}
.toast.show { display: block; }

/* ---------- 页脚 ---------- */
.h5-footer { background: var(--blue-dark); color: rgba(255, 255, 255, .6); padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); text-align: center; font-size: 11.5px; line-height: 1.9; }
.h5-footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 10px; }
.h5-footer .links a { font-size: 12px; }
.h5-footer .links a:hover { color: var(--gold); }
.h5-footer .pc-link { display: inline-block; margin-top: 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 16px; font-size: 11.5px; }
/* 官网站点设置（后台「官网页面管理」驱动）：ICP/公安备案行留空自动隐藏 */
.h5-footer .icp-line:empty { display: none; }
/* 后台配置 Logo 图片后替换文字徽标 */
.h5-header .brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
