/* ============================================================
 * 康美齿科·名医苑  设计系统 v2.0  蓝色高端版
 * 主色：康美齿科 LOGO 蓝 (#4FB8E8) + 深医疗蓝 (#2C7BE8)
 * 风格：Glassmorphism + 圆角 + 蓝调阴影
 * ============================================================ */

:root {
  /* ==== 主色 - LOGO 蓝 ==== */
  --km-blue:        #4FB8E8;   /* Logo 主蓝 */
  --km-blue-light:  #6FD0F1;
  --km-blue-deep:   #2C7BE8;   /* 深医疗蓝 */
  --km-blue-darker: #1E5BC8;
  --km-blue-50:     #F5FBFD;
  --km-blue-100:    #E6F4FB;
  --km-blue-200:    #C7E6F4;
  --km-blue-300:    #8FCFEC;

  /* ==== 渐变 ==== */
  --grad-primary:  linear-gradient(135deg, #6FD0F1 0%, #4FB8E8 45%, #2C7BE8 100%);
  --grad-soft:     linear-gradient(135deg, #E6F4FB 0%, #C7E6F4 100%);
  --grad-hero:     linear-gradient(160deg, #6FD0F1 0%, #4FB8E8 35%, #2C7BE8 80%, #1E5BC8 100%);
  --grad-glass:    linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.55) 100%);

  /* ==== 文字 ==== */
  --text-1: #0F1B2D;
  --text-2: #4B5563;
  --text-3: #94A3B8;
  --text-inv: #FFFFFF;

  /* ==== 中性 ==== */
  --bg:        #F2F7FB;
  --bg-card:   #FFFFFF;
  --border:    #E5EAF0;

  /* ==== 强调 / 状态 ==== */
  --accent:        #F59E0B;
  --accent-deep:   #D97706;
  --success:       #10B981;

  /* ==== 阴影 ==== */
  --shadow-xs:   0 2px 6px rgba(44,123,232,.06);
  --shadow-sm:   0 4px 12px rgba(44,123,232,.08);
  --shadow-md:   0 10px 30px rgba(44,123,232,.12);
  --shadow-lg:   0 24px 60px rgba(44,123,232,.18);
  --shadow-blue: 0 12px 30px rgba(79,184,232,.40);

  /* ==== 圆角 ==== */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* ==== 间距 ==== */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
}

/* ====== Reset ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
input { font: inherit; outline: none; }
ul, li { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; }

/* ====== 桌面预览：移动端容器 ====== */
.frame {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 88px;
  box-shadow: 0 0 60px rgba(44,123,232,.10);
}

/* ============================================================
 * 顶部英雄区 - 蓝渐变弧形
 * ============================================================ */
.hero {
  background: var(--grad-hero);
  padding: 12px 16px 90px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .ring {
  position: absolute; top: 60px; right: -40px;
  width: 140px; height: 140px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.hero .ring2 {
  position: absolute; top: 110px; right: -20px;
  width: 90px; height: 90px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
}

/* 顶部导航条 */
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; position: relative; z-index: 2;
}
.nav-title {
  font-size: 17px; font-weight: 600; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.nav-title .logo-mark {
  width: 26px; height: 26px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 16px; box-shadow: 0 4px 12px rgba(255,255,255,.25);
}
.nav-actions { display: flex; gap: 6px; }
.nav-btn {
  width: 38px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

/* 二级页顶部 */
.nav-page {
  background: var(--grad-hero);
  color: #fff;
  padding: 14px 16px 70px;
  position: relative;
  overflow: hidden;
}
.nav-page::before {
  content: ''; position: absolute; top: -80px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.nav-page .nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; position: relative; z-index: 2;
}
.nav-page .back {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  border-radius: 12px; font-size: 18px;
  backdrop-filter: blur(10px);
}
.nav-page .title {
  font-size: 18px; font-weight: 600; letter-spacing: 1px;
}
.nav-page .actions { display: flex; gap: 6px; }
.nav-page .iconbtn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  border-radius: 12px; font-size: 17px;
  backdrop-filter: blur(10px);
}

/* ============================================================
 * 位置栏 + 搜索
 * ============================================================ */
.location-row {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; position: relative; z-index: 2;
  font-size: 13px; opacity: .95;
}
.location-row .pin { font-size: 16px; }
.location-row .chev { font-size: 12px; opacity: .8; }

.search-bar {
  margin-top: 14px;
  position: relative; z-index: 2;
}
.search-bar .box {
  display: flex; align-items: center;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  padding: 10px 16px;
  height: 44px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  backdrop-filter: blur(8px);
}
.search-bar input {
  flex: 1; border: 0; background: transparent;
  font-size: 14px; color: var(--text-1);
}
.search-bar input::placeholder { color: var(--text-3); }
.search-bar .icon { color: var(--km-blue-deep); font-size: 18px; margin-right: 8px; }
.search-bar .go {
  background: var(--grad-primary);
  color: #fff; font-weight: 600;
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: 1px;
}

/* ============================================================
 * Hero 区主体内容
 * ============================================================ */
.hero-content {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.hero-text .slogan {
  font-size: 22px; font-weight: 700; line-height: 1.3;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.hero-text .slogan span { color: #FFE082; }
.hero-text .sub {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  background: rgba(255,255,255,.22);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.hero-text .sub .dot {
  width: 6px; height: 6px; background: #FFE082; border-radius: 50%;
  box-shadow: 0 0 8px #FFE082;
}

/* 牙齿 SVG 插画区 */
.hero-art {
  width: 130px; height: 130px;
  position: relative;
  display: grid; place-items: center;
}
.hero-art .glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.4), transparent 70%);
  border-radius: 50%;
}
.hero-art .tooth {
  width: 96px; height: 96px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 56px;
  box-shadow: 0 0 30px rgba(255,255,255,.3);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
 * 卡片主体区 - 上浮于 Hero
 * ============================================================ */
.body {
  position: relative;
  margin-top: -50px;
  padding: 0 14px;
  z-index: 5;
}

/* Section 标题 */
.sec-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 4px 12px;
}
.sec-title .left {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--text-1);
}
.sec-title .left::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.sec-title .more {
  font-size: 12px; color: var(--km-blue-deep);
  display: flex; align-items: center; gap: 2px;
}
.sec-title .more::after { content: '›'; font-size: 16px; }

/* ============================================================
 * 预约挂号 - 左右各占50%（左:品牌介绍大卡 右:找医院+找医生）
 * ============================================================ */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 左右严格各占 50% */
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 210px;
}
.card-brand {
  grid-row: 1 / 3;
  background: var(--grad-primary);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-blue);
}
.card-brand::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%);
  border-radius: 50%;
}
.card-brand::after {
  content: ''; position: absolute; bottom: -60px; left: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  border-radius: 50%;
}
.brand-title {
  position: relative; z-index: 2;
  font-size: 22px; font-weight: 700; letter-spacing: 2px;
  display: flex; align-items: center; gap: 6px;
}
.brand-title .badge {
  font-size: 10px; font-weight: 400;
  background: #FFE082; color: var(--text-1);
  padding: 2px 6px; border-radius: 4px;
  letter-spacing: 0;
}
.brand-desc {
  position: relative; z-index: 2;
  font-size: 12px; opacity: .92; margin-top: 6px;
  line-height: 1.6;
}
.brand-action {
  position: relative; z-index: 2;
  margin-top: auto;
  align-self: flex-start;
  background: #fff;
  color: var(--km-blue-deep);
  font-weight: 600; font-size: 12px;
  padding: 8px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}
.brand-stat {
  position: relative; z-index: 2;
  display: flex; gap: 12px; margin-top: 14px;
}
.brand-stat .item { font-size: 11px; }
.brand-stat .num { display: block; font-size: 16px; font-weight: 700; }
.brand-stat .bar {
  display: inline-block; width: 18px; height: 2px;
  background: rgba(255,255,255,.6); margin-bottom: 3px;
}

.card-mini {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(79,184,232,.12);
  transition: transform .15s;
}
.card-mini:active { transform: scale(.97); }
.card-mini .head {
  display: flex; align-items: center; justify-content: space-between;
}
.card-mini h3 {
  font-size: 16px; font-weight: 700; color: var(--text-1);
}
.card-mini p {
  font-size: 11px; color: var(--text-3);
}
.card-mini .go {
  font-size: 11px; color: var(--km-blue-deep);
  display: inline-flex; align-items: center; gap: 2px;
  margin-top: 6px;
}
.card-mini .go::after { content: '›'; font-size: 14px; }

/* 图标块 */
.iconbox {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  background: var(--km-blue-100);
  color: var(--km-blue-deep);
}
.iconbox.green {
  background: linear-gradient(135deg, #E0F8E9, #B9EFCD);
  color: #0F8C5A;
}
.iconbox.purple {
  background: linear-gradient(135deg, #EFEAFA, #D5C8F2);
  color: #6B4FBB;
}

/* ============================================================
 * 名医介绍 - 横滑卡片
 * ============================================================ */
.scroll-x {
  display: flex; gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 8px;
  scroll-snap-type: x mandatory;
}
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x > * { scroll-snap-align: start; }

.doctor-card {
  flex: 0 0 150px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px 12px 12px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(79,184,232,.10);
}
.doctor-card .tag {
  position: absolute; top: 0; left: 12px;
  background: var(--grad-primary);
  color: #fff; font-size: 10px; padding: 3px 8px 4px;
  border-radius: 0 0 6px 6px;
  letter-spacing: .5px;
}
.doctor-card .avatar {
  width: 64px; height: 64px;
  margin: 8px auto 8px;
  border-radius: 50%;
  background: var(--grad-soft);
  display: grid; place-items: center;
  font-size: 30px; color: var(--km-blue-deep);
  border: 3px solid #fff;
  box-shadow: var(--shadow-blue);
  position: relative;
}
.doctor-card .avatar .star {
  position: absolute; right: -2px; bottom: -2px;
  width: 20px; height: 20px;
  background: var(--accent);
  color: #fff; font-size: 11px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.doctor-card .name {
  font-size: 14px; font-weight: 700; color: var(--text-1);
}
.doctor-card .title {
  font-size: 11px; color: var(--text-3);
  margin-top: 4px; line-height: 1.5;
  text-align: center;
}

/* ============================================================
 * 9 家分院速览 - 大色块
 * ============================================================ */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.branch-tile {
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(79,184,232,.08);
  position: relative;
  overflow: hidden;
}
.branch-tile::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-primary);
}
.branch-tile .city {
  font-size: 10px; color: var(--text-3);
}
.branch-tile .name {
  font-size: 12px; font-weight: 600; color: var(--text-1);
  margin-top: 4px;
}
.branch-tile .dist {
  font-size: 9px; color: var(--km-blue-deep);
  margin-top: 6px; padding: 2px 6px;
  background: var(--km-blue-100);
  border-radius: 4px; display: inline-block;
}

/* ============================================================
 * AI 智享口腔 特色条
 * ============================================================ */
.ai-feature {
  background: linear-gradient(135deg, #0F2C5A 0%, #1E5BC8 50%, #2C7BE8 100%);
  border-radius: var(--r-lg);
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-feature::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(79,184,232,.5), transparent 70%);
  border-radius: 50%;
}
.ai-feature .row { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.ai-feature h4 { font-size: 16px; font-weight: 700; }
.ai-feature .ai-pill {
  background: rgba(255,255,255,.18); backdrop-filter: blur(10px);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px;
}
.ai-feature p {
  font-size: 12px; opacity: .82;
  margin-top: 8px; line-height: 1.6; position: relative; z-index: 2;
}
.ai-feature .actions {
  display: flex; gap: 8px; margin-top: 14px;
  position: relative; z-index: 2;
}
.ai-feature .btn-mini {
  flex: 1;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  padding: 8px; border-radius: 10px;
  text-align: center; font-size: 12px;
  border: 1px solid rgba(255,255,255,.2);
}
.ai-feature .btn-mini strong { display: block; font-size: 14px; margin-bottom: 2px; }
.ai-feature .btn-mini:active { background: rgba(255,255,255,.28); }

/* ============================================================
 * 七夕 / 活动 banner
 * ============================================================ */
.event-banner {
  background: linear-gradient(135deg, #FFD89B 0%, #FF9A8B 50%, #FF6A88 100%);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.event-banner h4 {
  font-size: 17px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.event-banner p { font-size: 11px; opacity: .92; margin-top: 4px; }
.event-banner .pill {
  background: rgba(255,255,255,.30);
  backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.event-banner::after {
  content: '🌹';
  position: absolute; right: 90px; top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  opacity: .6;
}

/* ============================================================
 * 双选器  (二级页 选择城市/科室)
 * ============================================================ */
.filter-bar {
  background: #fff;
  border-radius: var(--r-lg);
  margin: -34px 14px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  box-shadow: var(--shadow-md);
  position: relative; z-index: 5;
  overflow: hidden;
}
.filter-bar .cell {
  padding: 14px 16px;
  display: flex; align-items: center;
  background: #fff;
}
.filter-bar .cell + .cell { border-left: 1px solid var(--border); }
.filter-bar .label { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.filter-bar .val { flex: 1; font-size: 14px; font-weight: 600; color: var(--text-1); display: flex; align-items: center; gap: 4px; }
.filter-bar .val::after {
  content: '▾';
  margin-left: auto;
  font-size: 14px; color: var(--text-3);
}

/* ============================================================
 * Tab 切换 (二级页)
 * ============================================================ */
.tab-bar {
  display: flex; align-items: center;
  padding: 18px 16px 0;
  position: relative;
}
.tab-bar .item {
  padding: 8px 14px;
  font-size: 16px; font-weight: 600;
  color: var(--text-3);
  position: relative;
}
.tab-bar .item.active {
  color: var(--text-1);
  font-weight: 700;
}
.tab-bar .item.active::after {
  content: '';
  position: absolute; left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.tab-bar .spacer { flex: 1; }
.tab-bar .right {
  display: flex; gap: 14px;
  color: var(--text-3);
}
.tab-bar .right .ic {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--km-blue-100);
  color: var(--km-blue-deep);
  border-radius: 8px;
}

/* ============================================================
 * 列表卡 - 通用
 * ============================================================ */
.list { padding: 14px; }
.list-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px;
  margin-bottom: 14px;
  display: flex; gap: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid rgba(79,184,232,.08);
}

/* 医院列表卡 */
.list-card .logo {
  width: 70px; height: 70px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  display: grid; place-items: center;
  font-size: 30px; color: var(--km-blue-deep);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.list-card .logo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 18px;
  background: linear-gradient(to top, rgba(44,123,232,.18), transparent);
}
.list-card .info { flex: 1; min-width: 0; }
.list-card .name {
  font-size: 16px; font-weight: 700; color: var(--text-1);
  margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-card .intro {
  font-size: 11px; color: var(--text-2);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .meta {
  font-size: 11px; color: var(--text-3);
  margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-card .meta b { color: var(--km-blue-deep); font-weight: 600; }
.list-card .addr {
  font-size: 11px; color: var(--text-3);
  margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
}
.list-card .btns {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end; justify-content: space-between;
  flex-shrink: 0;
}
.list-card .btn-book {
  background: var(--grad-primary);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
}
.list-card .btn-home {
  background: #fff;
  color: var(--km-blue-deep); font-size: 12px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--km-blue-200);
}

/* 医生列表卡 */
.list-doc-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px;
  margin-bottom: 14px;
  display: flex; gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(79,184,232,.08);
  position: relative;
}
.list-doc-card::before {
  content: ''; position: absolute; top: 0; left: 14px; right: 14px;
  height: 3px;
  background: linear-gradient(90deg, var(--km-blue) 0%, var(--km-blue-deep) 60%, transparent 100%);
  border-radius: 0 0 4px 4px;
  opacity: .35;
}
.doc-avatar {
  width: 64px; height: 64px;
  flex-shrink: 0;
  background: var(--grad-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px; color: var(--km-blue-deep);
  position: relative;
  overflow: hidden;
}
.doc-avatar .label {
  position: absolute; bottom: 4px; left: 0; right: 0;  text-align: center;
  font-size: 9px; color: var(--text-2);
  background: rgba(255,255,255,.85);
  padding: 2px 0;
}
/* 真实头像图片(后台上传) */
.doc-avatar img,
.doctor-card .avatar img,
.doc-top .ava img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info .row1 {
  display: flex; align-items: center; gap: 8px;
}
.doc-info .name {
  font-size: 16px; font-weight: 700; color: var(--text-1);
}
.doc-info .tag {
  font-size: 11px;
  background: var(--km-blue-100);
  color: var(--km-blue-deep);
  padding: 2px 6px; border-radius: 4px;
  font-weight: 500;
}
.doc-points { margin-top: 8px; }
.doc-points .p {
  font-size: 12px; color: var(--text-2);
  line-height: 1.6;
}
.doc-points .p b { color: var(--km-blue-deep); font-weight: 600; }
.doc-points .p .tip {
  color: var(--text-3); font-size: 11px;
}
.doc-skill {
  font-size: 12px; color: var(--text-2);
  margin-top: 8px;
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.doc-skill b { color: var(--text-1); font-weight: 600; }
.doc-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.doc-stats {
  display: flex; gap: 7px; flex: 1; min-width: 0;
}
.doc-stats .stat-pill {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: linear-gradient(135deg, var(--km-blue-50), var(--km-blue-100));
  border: 1px solid rgba(79,184,232,.16);
  border-radius: 10px;
  padding: 6px 2px 5px;
}
.doc-stats .stat-pill .v {
  font-size: 13px; font-weight: 700;
  color: var(--km-blue-deep); line-height: 1.25;
  white-space: nowrap;
}
.doc-stats .stat-pill .l {
  font-size: 9px; color: var(--text-3); letter-spacing: .5px;
}
.doc-stats .stat-pill.rose {
  background: linear-gradient(135deg, #FFF1F3, #FFE4E9);
  border-color: rgba(225,29,72,.10);
}
.doc-stats .stat-pill.rose .v { color: #E11D48; }
.doc-stats .stat-pill.purple {
  background: linear-gradient(135deg, #F3F0FF, #EAE4FF);
  border-color: rgba(107,79,187,.10);
}
.doc-stats .stat-pill.purple .v { color: #6B4FBB; }
.doc-foot .btn-go {
  background: var(--grad-primary);
  color: #fff; font-weight: 600; font-size: 13px;
  padding: 8px 18px; border-radius: 999px;
  box-shadow: var(--shadow-blue);
}

/* ============================================================
 * 底部 TabBar
 * ============================================================ */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 420px; margin: 0 auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(79,184,232,.10);
  display: flex;
  padding: 8px 0 14px;
  z-index: 100;
  box-shadow: 0 -8px 24px rgba(44,123,232,.06);
}
.tabbar .item {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--text-3); font-size: 11px;
  position: relative;
}
.tabbar .item .ic {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  font-size: 20px;
}
.tabbar .item.acc { margin-top: -22px; }
.tabbar .item.acc .ic {
  width: 56px; height: 56px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(79,184,232,.55);
  border: 4px solid #fff;
}
.tabbar .item.acc span {
  color: var(--km-blue-deep); font-weight: 600;
  margin-top: 6px;
}
.tabbar .item.active { color: var(--km-blue-deep); }
.tabbar .item.active .ic { color: var(--km-blue-deep); }

/* ============================================================
 * 品牌介绍详情页
 * ============================================================ */
.brand-hero {
  background: var(--grad-hero);
  padding: 30px 20px 80px;
  color: #fff;
  position: relative; overflow: hidden;
}
.brand-hero .ring1 {
  position: absolute; top: 50px; right: -80px;
  width: 220px; height: 220px;
  border: 30px solid rgba(255,255,255,.10);
  border-radius: 50%;
}
.brand-hero .ring2 {
  position: absolute; top: 100px; right: -40px;
  width: 100px; height: 100px;
  border: 8px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.brand-hero .ring3 {
  position: absolute; bottom: -60px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  border-radius: 50%;
}
.brand-logo-big {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 40px; color: var(--km-blue-deep);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.brand-hero h1 {
  font-size: 28px; font-weight: 700;
  letter-spacing: 3px;
  position: relative; z-index: 2;
}
.brand-hero .slogan {
  font-size: 15px; margin-top: 8px; opacity: .95;
  letter-spacing: 1px;
  position: relative; z-index: 2;
}
.brand-hero .quote {
  display: inline-block; margin-top: 14px;
  padding: 8px 16px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 13px; letter-spacing: 2px;
  position: relative; z-index: 2;
}
.brand-hero .quote b { color: #FFE082; }

.brand-body {
  margin-top: -50px;
  padding: 0 14px 30px;
  position: relative; z-index: 5;
}

.brand-stats {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 18px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: 16px;
}
.brand-stats .s {
  border-right: 1px solid var(--border);
}
.brand-stats .s:last-child { border-right: 0; }
.brand-stats .num {
  font-size: 22px; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-stats .label { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.brand-section {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-section h3 {
  font-size: 16px; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.brand-section h3 .ic {
  width: 24px; height: 24px;
  background: var(--km-blue-100);
  color: var(--km-blue-deep);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 13px;
}
.brand-section p {
  font-size: 13px; line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 8px;
}
.brand-section .point {
  font-size: 13px; color: var(--text-2);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.brand-section .point::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--grad-primary);
  border-radius: 50%;
}

.brand-depts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.brand-depts .d {
  text-align: center;
  padding: 14px 6px;
  border-radius: var(--r-md);
  background: var(--km-blue-50);
  border: 1px solid var(--km-blue-100);
}
.brand-depts .d .emoji { font-size: 26px; }
.brand-depts .d .name { font-size: 12px; font-weight: 600; color: var(--text-1); margin-top: 6px; }
.brand-depts .d .num { font-size: 10px; color: var(--text-3); margin-top: 2px; }

.brand-quote-card {
  background: linear-gradient(135deg, #F5FBFD 0%, #E6F4FB 100%);
  border-left: 4px solid var(--km-blue-deep);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 14px; line-height: 1.8;
  color: var(--text-1);
  font-weight: 500;
  position: relative;
}
.brand-quote-card::before {
  content: '"';
  position: absolute; top: -8px; left: 12px;
  font-size: 60px; color: var(--km-blue-200);
  font-family: Georgia, serif;
  line-height: 1;
}
.brand-quote-card .sub {
  font-size: 12px; color: var(--text-3);
  margin-top: 10px; text-align: right;
}

/* ============================================================
 * 占位：底部空白
 * ============================================================ */
.bottom-pad { height: 40px; }
</content>
</invoke>