/* ============================================================
   肿瘤之家 · 全新模板 v3 —— 现代医疗门户风
   设计要点：
   - 多彩配色：主蓝渐变 + 六色辅助（青/橙/粉/紫/绿/靛）
   - 清晰层级：每栏独立主题色，标题彩色竖条 + 彩色徽标
   - 舒适阅读：正文 15px/1.8，标题加粗，留白充足
   本套样式独立完整，页面只加载此文件。
   ============================================================ */

/* ---------- 变量与基准 ---------- */
:root {
  --primary: #3b7cff;
  --primary-dark: #2a5fd9;
  --primary-2: #14c2c9;
  --ink: #1b2b3f;
  --text: #47586d;
  --muted: #8a99ab;
  --line: #e8eef5;
  --bg-soft: #f5f8fd;
  --bg-white: #fff;
  --blue: #3b7cff;
  --teal: #14b8a6;
  --orange: #ff9046;
  --pink: #ec5f9b;
  --purple: #8b5cf6;
  --green: #22c55e;
  --indigo: #6366f1;
  --shadow: 0 6px 22px rgba(25, 60, 130, .09);
  --shadow-lg: 0 14px 34px rgba(25, 60, 130, .14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .18s, transform .18s, box-shadow .18s
}

button,
input {
  font: inherit;
  border: none;
  outline: none;
  background: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px */
}

/* ---------- 顶部导航 ---------- */
.site-header {
  height: 118px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(25, 60, 130, .03)
}

.nav-wrap {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 36px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.5px;
  white-space: nowrap
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 4px 12px rgba(59, 124, 255, .35)
}

.brand-light {
  color: var(--primary)
}

.main-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(90deg, var(--primary) 0%, #2f8ff2 55%, var(--primary-2) 100%)
}

.main-nav a {
  height: 52px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0 26px;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  opacity: .92
}

.main-nav a:hover {
  background: rgba(255, 255, 255, .14);
  opacity: 1
}

.main-nav a.active {
  opacity: 1;
  font-weight: 600
}

.main-nav a.active:after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: #fff
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px
}

.icon-btn {
  font-size: 24px;
  color: #6b7c92;
  cursor: pointer;
  padding: 0 2px;
  transform: rotate(-20deg)
}

.login {
  font-size: 15px;
  color: #47586d
}

.login:hover {
  color: var(--primary)
}

.join {
  font-size: 15px;
  color: #fff;
  padding: 9px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), #2f9bff);
  box-shadow: 0 4px 12px rgba(59, 124, 255, .3)
}

.join:hover {
  box-shadow: 0 6px 18px rgba(59, 124, 255, .45);
  transform: translateY(-1px)
}

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #2b5cdb 0%, #3b7cff 42%, #18b6c8 100%);
  color: #fff
}

.hero:before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -300px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .05), 0 0 0 150px rgba(255, 255, 255, .04)
}

.hero:after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  left: -140px;
  bottom: -220px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, .05)
}

.hero-inner {
  min-height: 210px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1
}

.hero-copy {
  width: 100%;
  padding: 34px 0;
  display: flex;
  align-items: center;
  gap: 34px
}

.eyebrow {
  display: none
}

.hero h1 {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 40, 90, .25)
}

.hero h1 br {
  display: none
}

.hero h1 em {
  font-style: normal;
  color: #aef3e8
}

.hero p {
  display: none
}

.hero-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 500px;
  height: 50px;
  background: #fff;
  border-radius: 26px;
  padding: 0 6px 0 20px;
  box-shadow: 0 10px 28px rgba(6, 42, 90, .3)
}

.hero-search span {
  font-size: 20px;
  color: var(--muted);
  margin-right: 8px
}

.hero-search input {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
  min-width: 0
}

.hero-search input::placeholder {
  color: #a5b3c4
}

.hero-search button {
  height: 38px;
  padding: 0 30px;
  border-radius: 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #2f9bff);
  transition: filter .18s
}

.hero-search button:hover {
  filter: brightness(1.1)
}

.hot-search {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap
}

.hot-search a {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 2px 13px;
  margin-left: 8px;
  font-size: 13px
}

.hot-search a:hover {
  background: rgba(255, 255, 255, .3)
}

.hero-note {
  display: none
}

/* ---------- 快捷入口（四色瓷砖） ---------- */
.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -32px;
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden
}

.quick-entry>a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  position: relative;
  border-right: 1px solid var(--line)
}

.quick-entry>a:last-child {
  border-right: 0
}

.entry-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
  flex: 0 0 auto;
  color: #fff
}

.entry-icon.coral {
  background: linear-gradient(135deg, #ff8a65, #ff5e8a);
  box-shadow: 0 4px 12px rgba(255, 110, 130, .3)
}

.entry-icon.blue {
  background: linear-gradient(135deg, #42a5f5, #3b7cff);
  box-shadow: 0 4px 12px rgba(59, 124, 255, .3)
}

.entry-icon.green {
  background: linear-gradient(135deg, #34d399, #14b8a6);
  box-shadow: 0 4px 12px rgba(20, 184, 166, .3)
}

.entry-icon.violet {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  box-shadow: 0 4px 12px rgba(139, 92, 246, .3)
}

.quick-entry b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink)
}

.quick-entry small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px
}

.quick-entry i {
  font-style: normal;
  margin-left: auto;
  color: #c3cfdd;
  font-size: 15px
}

.quick-entry>a:hover i {
  color: var(--primary)
}

.quick-entry>a:hover {
  background: #fafcff
}

/* ---------- 栏目标题（彩色竖条 + 英文眉题） ---------- */
.section {
  padding: 46px 0 10px
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 26px;
  position: relative
}

.section-head>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  position: relative
}

.section-head>div:before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2))
}

.section h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.35
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase
}

.section-head p {
  display: none
}

.section-head .more {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 4px;
  white-space: nowrap
}

.section-head .more:hover {
  color: var(--primary)
}

.section-head .more span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .18s
}

.section-head .more:hover span {
  transform: translateX(3px)
}

/* 各栏专属主题色 */
.section#disease .kicker,
.section#disease .section-head>div:before {
  color: var(--blue);
  background: var(--blue)
}

.focus-section .kicker,
.focus-section .section-head>div:before {
  color: var(--orange);
  background: var(--orange)
}

.cancer-articles .kicker,
.cancer-articles .section-head>div:before {
  color: var(--pink);
  background: var(--pink)
}

.lung-articles .kicker,
.lung-articles .section-head>div:before {
  color: var(--teal);
  background: var(--teal)
}

.muted-section .kicker,
.muted-section .section-head>div:before {
  color: var(--purple);
  background: var(--purple)
}

.qa-section .kicker,
.qa-section .section-head>div:before {
  color: var(--green);
  background: var(--green)
}

.hospital-section .kicker,
.hospital-section .section-head>div:before {
  color: var(--indigo);
  background: var(--indigo)
}

.section#knowledge .kicker,
.section#knowledge .section-head>div:before {
  color: var(--teal);
  background: var(--teal)
}

/* ---------- 门户区：最新动态 / 横幅 / 快速入口 ---------- */
.portal-section {
  background: var(--bg-soft);
  padding: 34px 0 8px
}

.portal-top {
  display: grid;
  grid-template-columns: 3fr 1.1fr 1fr;
  gap: 22px;
  padding-top: 0;
  padding-bottom: 6px
}

/* 默认 min-width:auto 会让「最新动态」被最长标题顶住、收不窄；放开后快速入口才拿得到宽度 */
.portal-news {
  min-width: 0
}

.portal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  padding-bottom: 10px;
  height: auto
}

.portal-title h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 12px;
  position: relative
}

.portal-title h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2))
}

.portal-title a {
  font-size: 12px;
  color: var(--muted)
}

.portal-title a:hover {
  color: var(--primary)
}

.news-feature {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px
}

.news-image {
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b9bff, #3b7cff);
  color: #fff;
  padding: 22px 18px;
  font-size: 22px;
  line-height: 1.5;
  position: relative;
  overflow: hidden
}

.news-image:after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -46px;
  bottom: -56px;
  background: rgba(255, 255, 255, .16)
}

.news-image b {
  font-size: 18px
}

.news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.news-list a {
  display: flex;
  align-items: center;
  min-height: 33px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.news-list a:last-child {
  border-bottom: 0
}

.news-list a:hover {
  color: var(--primary)
}

.news-list a span {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--primary);
  background: #eaf1ff;
  border-radius: 4px;
  padding: 1px 7px;
  margin-right: 8px
}

/* 标题必须单独包一层：匿名文本 flex item 加不了样式，收窄时只会被硬裁，出不来省略号 */
.news-list a .news-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.news-list time {
  margin-left: auto;
  padding-left: 10px;
  color: #b3bfce;
  font-size: 11px;
  flex: 0 0 auto
}

.portal-banner {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  align-self: start
}

.portal-banner-art {
  height: 180px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  padding: 24px;
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
  position: relative;
  overflow: hidden
}

.portal-banner-art:after {
  content: '✦';
  position: absolute;
  right: 24px;
  top: 18px;
  font-style: normal;
  font-size: 80px;
  color: rgba(255, 255, 255, .15)
}

.portal-banner-art b {
  font-size: 26px
}

.portal-banner h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 16px 3px
}

.portal-banner p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 16px 16px
}

.portal-side {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 4px 12px 6px
}

.portal-side .portal-title {
  margin-bottom: 0
}

.portal-side>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 15px 0;
  color: var(--text);
  font-size: 14px
}

.portal-side>a:last-child {
  border-bottom: 0
}

.portal-side>a b {
  font-style: normal;
  color: var(--primary);
  font-weight: 500
}

.portal-side>a:hover {
  color: var(--primary)
}

/* 快速入口条目左侧图标：行内 SVG，颜色随条目区分 */
.portal-side>a .portal-entry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap
}

.portal-side>a .pe-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 15px;
  height: 15px
}

.portal-side>a .pe-icon svg {
  display: block;
  width: 100%;
  height: 100%
}

.portal-side>a .pe-icon.pe-blue {
  color: var(--primary)
}

.portal-side>a .pe-icon.pe-teal {
  color: var(--teal)
}

.portal-side>a .pe-icon.pe-purple {
  color: var(--purple)
}

.portal-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  background: linear-gradient(90deg, #eaf1ff, #e6fbf8);
  border-radius: 12px;
  padding: 0 18px;
  margin-top: 16px;
  font-size: 13px;
  color: #5d7290
}

.portal-notice b {
  color: var(--primary);
  font-weight: 600;
  flex: 0 0 auto
}

.portal-notice span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.portal-notice a {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 13px
}

.portal-notice a:hover {
  color: var(--primary-dark)
}

/* ---------- 肿瘤疾病百科（六色图标卡） ---------- */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.disease-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 14px 16px;
  min-height: 150px;
  transition: transform .2s, box-shadow .2s, border-color .2s
}

.disease-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.disease-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 12px
}

.disease-symbol svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.disease-symbol.rose {
  background: #fdeef3;
  color: #ec5f9b
}

.disease-symbol.blue {
  background: #eaf1ff;
  color: #3b7cff
}

.disease-symbol.amber {
  background: #fef3e4;
  color: #f0912d
}

.disease-symbol.green {
  background: #e6f9f0;
  color: #22c55e
}

.disease-symbol.purple {
  background: #f1ecfe;
  color: #8b5cf6
}

.disease-symbol.teal {
  background: #e4f8f8;
  color: #14b8a6
}

.disease-symbol.violet {
  background: #f1ecfe;
  color: #8b5cf6
}

.disease-symbol.mint {
  background: #dcf7ee;
  color: #0e9f7e
}

.disease-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px
}

.disease-card:hover strong {
  color: var(--primary)
}

.disease-card small {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.disease-card em {
  font-style: normal;
  font-size: 11px;
  color: #b3bfce;
  margin-top: auto;
  padding-top: 8px
}

.card-arrow {
  position: absolute;
  right: 13px;
  top: 13px;
  font-size: 13px;
  color: transparent;
  transition: color .2s
}

.disease-card:hover .card-arrow {
  color: var(--primary)
}

/* ---------- 重点癌种科普（彩色渐变大卡） ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.focus-card {
  display: block;
  position: relative;
  min-height: 272px;
  border-radius: 16px;
  padding: 26px 26px 24px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg)
}

.focus-card:after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -64px;
  bottom: -90px;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .11), 0 0 0 52px rgba(255, 255, 255, .07)
}

.focus-blue {
  background: linear-gradient(140deg, #e3efff, #b9d4fb);
  color: #1c4e8f
}

.focus-rose {
  background: linear-gradient(140deg, #ffe9f1, #f8c1d8);
  color: #8f3457
}

.focus-amber {
  background: linear-gradient(140deg, #fff3e0, #f6d8a8);
  color: #7d5a1e
}

.focus-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1
}

.focus-card-top span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: .75
}

.focus-card-top small {
  font-size: 12px;
  opacity: .8
}

.focus-card h3 {
  font-size: 25px;
  font-weight: 700;
  margin: 30px 0 6px;
  position: relative;
  z-index: 1
}

.focus-card strong {
  font-size: 16px;
  display: block;
  position: relative;
  z-index: 1;
  font-weight: 600
}

.focus-card p {
  font-size: 13px;
  line-height: 1.85;
  margin: 10px 0 16px;
  max-width: 300px;
  opacity: .82;
  position: relative;
  z-index: 1
}

.focus-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1
}

.focus-tags span {
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, .28)
}

.focus-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 20px;
  font-weight: 400;
  z-index: 1;
  transition: transform .2s
}

.focus-card:hover .focus-arrow {
  transform: translate(3px, -3px)
}

/* ---------- 癌种科普文章卡 ---------- */
.cancer-articles {
  background: #fff
}

.lung-articles {
  background: var(--bg-soft);
  padding-bottom: 46px
}

.article-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.topic-article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s
}

.topic-article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg)
}

.topic-article img {
  width: 100%;
  height: 136px;
  object-fit: cover
}

.topic-placeholder {
  height: 136px;
  background: linear-gradient(135deg, #ffd9e8, #ff9dbd);
  color: #b02b5e;
  padding: 18px 20px;
  position: relative;
  overflow: hidden
}

.lung-articles .topic-placeholder {
  background: linear-gradient(135deg, #c9f2ef, #7fd8d2);
  color: #0e7a74
}

.topic-placeholder:after {
  content: '✦';
  position: absolute;
  right: 22px;
  top: 12px;
  font-size: 64px;
  color: rgba(255, 255, 255, .4)
}

.topic-placeholder span {
  display: block;
  font-size: 12px;
  font-weight: 600
}

.topic-placeholder b {
  display: block;
  font-size: 24px;
  line-height: 1.3;
  margin-top: 10px;
  font-weight: 700
}

.topic-copy {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.topic-copy label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: #eaf1ff;
  border-radius: 4px;
  padding: 2px 9px
}

.lung-articles .topic-copy label {
  color: #0e9384;
  background: #e0f5f3
}

.topic-copy h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  margin: 10px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.topic-article:hover .topic-copy h3 {
  color: var(--primary)
}

.lung-articles .topic-article:hover .topic-copy h3 {
  color: #0e9384
}

.topic-copy p {
  font-size: 13px;
  color: #7c8ba0;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.topic-copy small {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: #b3bfce
}

/* ---------- 专业医生 ---------- */
.muted-section {
  background: var(--bg-soft);
  padding-bottom: 46px
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.doctor-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform .2s, box-shadow .2s
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.doctor-top {
  display: flex;
  align-items: center;
  gap: 13px
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex: 0 0 auto
}

.doctor-card:nth-child(2) .avatar {
  background: linear-gradient(135deg, #42a5f5, #3b7cff)
}

.doctor-card:nth-child(3) .avatar {
  background: linear-gradient(135deg, #34d399, #14b8a6)
}

.doctor-top h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink)
}

.verified {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  vertical-align: 1px
}

.doctor-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1px
}

.dots {
  margin-left: auto;
  color: #c3cfdd;
  font-size: 18px;
  cursor: pointer;
  letter-spacing: 1px
}

.hospital-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #63748a;
  margin: 15px 0;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line)
}

.doctor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px
}

.doctor-foot span {
  color: var(--orange);
  background: #fef3e4;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 12px
}

.doctor-foot a {
  color: var(--primary);
  font-size: 13px
}

.doctor-foot a:hover {
  color: var(--primary-dark)
}

/* ---------- 健康问答 ---------- */
.qa-section {
  background: #fff
}

.qa-list {
  display: flex;
  flex-direction: column
}

.qa-row {
  display: flex;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--bg-soft);
  align-items: flex-start
}

.qa-row:last-child {
  border-bottom: 0
}

.qa-doctor {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  gap: 10px
}

.qa-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #34d399, #14b8a6)
}

.qa-row:nth-child(2n) .qa-avatar {
  background: linear-gradient(135deg, #42a5f5, #3b7cff)
}

.qa-row:nth-child(3n) .qa-avatar {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6)
}

.qa-doctor b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap
}

.qa-doctor small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.qa-content {
  flex: 1;
  min-width: 0
}

.qa-content a {
  display: block
}

.qa-content strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  display: block
}

.qa-content strong:hover {
  color: var(--primary)
}

.qa-content strong em {
  font-style: normal;
  color: var(--green);
  font-weight: 800;
  margin-right: 7px
}

.qa-content p {
  font-size: 13px;
  color: #7c8ba0;
  line-height: 1.75;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.qa-content p em {
  font-style: normal;
  color: var(--primary);
  font-weight: 800;
  margin-right: 7px
}

.qa-row>time {
  flex: 0 0 auto;
  font-size: 12px;
  color: #b3bfce;
  padding-top: 3px
}

/* ---------- 肿瘤医院库 ---------- */
.hospital-section {
  background: var(--bg-soft);
  padding-bottom: 46px
}

.hospital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.hospital-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform .2s, box-shadow .2s
}

.hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.hospital-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #5b9bff, #3b7cff);
  color: #fff;
  font-size: 24px;
  flex: 0 0 auto
}

.hospital-card:nth-child(2) .hospital-logo {
  background: linear-gradient(135deg, #f472b6, #ec5f9b)
}

.hospital-card:nth-child(3) .hospital-logo {
  background: linear-gradient(135deg, #fbbf24, #f0912d)
}

.hospital-info {
  min-width: 0;
  flex: 1
}

.hospital-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px
}

.hospital-card:hover .hospital-info h3 {
  color: var(--primary)
}

.hospital-info p {
  font-size: 13px;
  color: #63748a;
  margin-bottom: 4px
}

.hospital-info p i {
  font-style: normal;
  font-size: 11px;
  color: var(--indigo);
  background: #ecebfe;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px
}

.hospital-info small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.hospital-card>b {
  color: #c3cfdd;
  font-size: 15px;
  transition: color .2s
}

.hospital-card:hover>b {
  color: var(--primary)
}

/* ---------- 图文科普 ---------- */
.knowledge-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: start
}

.featured-article {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s
}

.featured-article:hover {
  box-shadow: var(--shadow-lg)
}

.article-visual {
  flex: 0 0 240px;
  min-height: 200px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(140deg, #2b5cdb, #18b6c8);
  color: #fff;
  overflow: hidden
}

.article-visual>span {
  position: absolute;
  left: 20px;
  top: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: .7
}

.visual-orbit {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 0 24px rgba(255, 255, 255, .08), 0 0 0 50px rgba(255, 255, 255, .05)
}

.article-visual b {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-align: center
}

.article-visual b em {
  font-style: normal;
  color: #aef3e8
}

.article-content {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column
}

.article-content label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: #e0f5f3;
  border-radius: 4px;
  padding: 2px 9px
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 11px 0 8px
}

.featured-article:hover .article-content h3 {
  color: var(--primary)
}

.article-content p {
  font-size: 14px;
  color: #63748a;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.article-meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: #b3bfce
}

.article-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 6px 22px
}

.article-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-soft)
}

.article-row:last-child {
  border-bottom: 0
}

.mini-visual {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 19px;
  flex: 0 0 auto;
  background: #eaf1ff;
  color: #3b7cff
}

.mini-visual.rose {
  background: #fdeef3;
  color: #ec5f9b
}

.mini-visual.amber {
  background: #fef3e4;
  color: #f0912d
}

.mini-visual.green {
  background: #e6f9f0;
  color: #22c55e
}

.mini-visual.purple {
  background: #f1ecfe;
  color: #8b5cf6
}

.mini-visual.teal {
  background: #e4f8f8;
  color: #14b8a6
}

.mini-visual.violet {
  background: #f1ecfe;
  color: #8b5cf6
}

.mini-visual.mint {
  background: #dcf7ee;
  color: #0e9f7e
}

.row-copy {
  min-width: 0;
  flex: 1
}

.row-copy label {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600
}

.row-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  margin: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.article-row:hover .row-copy strong {
  color: var(--primary)
}

.row-copy small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.row-copy em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #b3bfce;
  margin-top: 3px
}

.article-row>i {
  font-style: normal;
  color: #c3cfdd;
  flex: 0 0 auto
}

.article-row:hover>i {
  color: var(--primary)
}

/* ---------- 病情管理横幅 ---------- */
.record-banner {
  margin: 46px 0 0;
  background: linear-gradient(115deg, #3b7cff 0%, #6366f1 55%, #8b5cf6 100%);
  color: #fff;
  position: relative;
  overflow: hidden
}

.record-banner:before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -220px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .06)
}

.record-inner {
  min-height: 170px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding: 36px 0
}

.record-inner .kicker {
  color: #aef3e8
}

.record-inner h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 1px;
  margin: 6px 0 8px
}

.record-inner p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85)
}

.primary-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 26px;
  box-shadow: 0 8px 22px rgba(10, 30, 80, .28)
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 30, 80, .36)
}

.record-orbit {
  display: none
}

/* ---------- 页脚 ---------- */
footer {
  margin-top: 50px;
  background: #152238;
  color: #93a3ba
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px
}

.footer-inner .brand {
  color: #fff;
  font-size: 21px
}

.footer-inner .brand-light {
  color: #5b9bff
}

.footer-inner .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 21px;
  border-radius: 8px
}

.footer-inner span {
  font-size: 13px
}

.footer-inner span:last-child {
  margin-left: auto
}

/* ---------- 响应式 ---------- */
@media(max-width:1100px) {
  .disease-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .hero h1 {
    font-size: 24px
  }

  .hero-search {
    width: 400px
  }

  .doctor-grid,
  .hospital-grid,
  .focus-grid,
  .article-topic-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .knowledge-layout {
    grid-template-columns: 1fr
  }
}

/* 窄于 960 时三列会把「快速入口」压到 170px 以下；改为最新动态独占一行、下面两栏对半。
   放在 1100 档里太早：1024 下会把两个卡片拉成 480px 宽却只有 265 高，比例反而散。 */
@media(max-width:960px) {
  .portal-top {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .portal-news {
    grid-column: 1 / -1
  }
}

@media(max-width:700px) {
  body {
    font-size: 14px
  }

  .site-header {
    height: 96px
  }

  .nav-wrap {
    height: 54px;
    gap: 14px
  }

  .brand {
    font-size: 20px
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 21px
  }

  .main-nav {
    top: 54px;
    height: 42px
  }

  .main-nav a {
    height: 42px;
    font-size: 13px;
    padding: 0 12px;
    letter-spacing: 0
  }

  .login {
    display: none
  }

  .join {
    font-size: 13px;
    padding: 7px 14px
  }

  .hero-inner {
    min-height: 150px
  }

  .hero-copy {
    display: block;
    padding: 22px 0 26px
  }

  .hero h1 {
    font-size: 22px;
    white-space: normal
  }

  .hero-search {
    width: 100%;
    margin-top: 16px
  }

  .hot-search {
    display: none
  }

  .quick-entry {
    grid-template-columns: repeat(2, 1fr);
    margin: 16px 12px 0
  }

  .quick-entry>a {
    border-right: 0;
    padding: 16px
  }

  .quick-entry small {
    display: none
  }

  .section {
    padding: 34px 0 6px
  }

  .section h2 {
    font-size: 20px
  }

  .portal-top {
    grid-template-columns: 1fr
  }

  .news-feature {
    grid-template-columns: 130px minmax(0, 1fr)
  }

  .news-image {
    height: 130px;
    font-size: 17px
  }

  .disease-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .focus-card h3 {
    font-size: 21px
  }

  .qa-doctor {
    flex-direction: column;
    align-items: flex-start;
    flex-basis: auto
  }

  .qa-row {
    flex-wrap: wrap
  }

  .qa-row>time {
    display: none
  }

  .record-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px
  }

  .record-inner h2 {
    font-size: 22px
  }

  .article-visual {
    flex: 0 0 150px
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 10px
  }

  .footer-inner span:last-child {
    margin-left: 0
  }
}

/* ============================================================
   详情页体系（医院 / 医生 / 科普 / 博客 / 搜索）
   —— 依赖上面的变量与卡片组件，新增的都是详情页专属结构。
   ============================================================ */

/* ---------- 顶栏内嵌搜索 ---------- */
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 212px;
  height: 38px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0 14px
}

.nav-search span {
  font-size: 15px;
  color: var(--muted)
}

.nav-search input {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--ink)
}

.nav-search input::placeholder {
  color: #a5b3c4
}

/* ---------- 面包屑 ---------- */
.detail-page {
  padding-bottom: 8px
}

.detail-bar {
  background: #fff;
  /* border-bottom: 1px solid var(--line) */
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  padding: 13px 0
}

.breadcrumb a {
  color: #63748a
}

.breadcrumb a:hover {
  color: var(--primary)
}

.breadcrumb i {
  font-style: normal;
  color: #c6d1de
}

.breadcrumb span {
  color: var(--ink)
}

/* ---------- 详情页头图（沿用 --accent 主题色） ---------- */
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, var(--accent, #3b7cff) 0%, var(--accent-2, #14c2c9) 100%);
  /* 整条与页面内容同宽（1200 居中），不再通栏。原来它铺满视口，
     而里面的 .detail-hero-inner 与面包屑都是 120..1320，两边对不齐。 */
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 6px;
}

.detail-hero:before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -300px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255, 255, 255, .06), 0 0 0 132px rgba(255, 255, 255, .04)
}

.detail-hero:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  left: -130px;
  bottom: -200px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .05)
}

.detail-hero-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 30px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
  min-height: 168px;
  padding: 26px;
}

.detail-hero-inner-wide {
  display: block
}

.detail-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  font-size: 34px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .36)
}

.detail-logo-round {
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700
}

.detail-logo-svg svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.detail-hero-copy {
  flex: 1;
  min-width: 0
}

.detail-hero-copy h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .5px;
  text-shadow: 0 2px 10px rgba(0, 40, 90, .2)
}

.detail-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 11px
}

.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.9;
  border-radius: 20px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .42)
}

a.tag:hover {
  background: rgba(255, 255, 255, .32)
}

.tag-level {
  background: rgba(255, 255, 255, .94);
  color: var(--accent, #2a5fd9);
  border-color: transparent;
  font-weight: 600
}

.tag-cat {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .52)
}

.tag-onco {
  background: rgba(255, 255, 255, .94);
  color: #0e9f7e;
  border-color: transparent;
  font-weight: 600
}

.detail-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
  margin-top: 12px
}

.detail-sub span {
  opacity: .85
}

.hero-link {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .6)
}

.hero-link:hover {
  border-bottom-color: #fff
}

.hero-verified {
  font-size: 12px;
  font-weight: 600;
  vertical-align: 4px;
  margin-left: 8px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 20px;
  padding: 2px 11px
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
  margin-top: 14px
}

.detail-meta i {
  font-style: normal;
  opacity: .55
}

.detail-stats {
  display: flex;
  gap: 14px;
  flex: 0 0 auto
}

.detail-stats>div {
  min-width: 98px;
  text-align: center;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3)
}

.detail-stats b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35
}

.detail-stats small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap
}

/* ---------- 主体两栏 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 26px;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 14px
}

.detail-layout-wide {
  grid-template-columns: minmax(0, 1fr) 300px
}

.detail-main,
.detail-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(25, 60, 130, .045)
}

.panel-soft {
  background: var(--bg-soft)
}

.panel-sticky {
  position: sticky;
  top: 134px;
  z-index: 2
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px
}

.panel-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  padding-left: 12px;
  position: relative
}

.panel-head h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2))
}

.panel-extra {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.panel-more {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap
}

.panel-more:hover {
  color: var(--primary)
}

.panel-more span {
  display: inline-block;
  margin-left: 3px;
  transition: transform .18s
}

.panel-more:hover span {
  transform: translateX(3px)
}

/* ---------- 正文排版 ---------- */
.panel-article {
  padding: 26px 30px 30px
}

.prose {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text)
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 28px 0 12px;
  padding-left: 13px;
  position: relative;
  scroll-margin-top: 140px
}

.prose h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2))
}

.prose h2:first-child {
  margin-top: 0
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 10px
}

.prose h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 8px
}

.prose p {
  margin: 12px 0
}

.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 22px
}

.prose li {
  margin: 8px 0;
  line-height: 1.9
}

.prose li::marker {
  color: var(--primary)
}

.prose strong {
  color: var(--ink);
  font-weight: 700
}

.prose a {
  color: var(--primary);
  border-bottom: 1px solid #cfe0ff
}

.prose img {
  border-radius: 12px;
  margin: 16px 0
}

.prose blockquote {
  margin: 22px 0 4px;
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
  border-left: 4px solid var(--primary);
  background: var(--bg-soft);
  color: #63748a;
  font-size: 14px
}

.prose blockquote p {
  margin: 0
}

.prose-plain {
  font-size: 14px;
  line-height: 1.9
}

.prose-plain p {
  margin: 0
}

.article-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #3c4c60;
  border-radius: 0 12px 12px 0;
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, #f2f7ff, #eefaf8);
  padding: 16px 18px;
  margin-bottom: 4px
}

/* ---------- 标签云 / 科室条 ---------- */
.dept-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.dept-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #4b5d73;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px
}

.dept-chip i {
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  padding: 0 7px
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chip-cloud a {
  font-size: 13px;
  color: #4b5d73;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 13px
}

.chip-cloud a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2f9bff);
  border-color: transparent
}

/* ---------- 详情页内的卡片网格 ---------- */
.doctor-grid-detail {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.doctor-grid-detail .doctor-card {
  padding: 18px
}

.doctor-grid-detail .doctor-card:nth-child(3n+1) .avatar {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6)
}

.doctor-grid-detail .doctor-card:nth-child(3n+2) .avatar {
  background: linear-gradient(135deg, #42a5f5, #3b7cff)
}

.doctor-grid-detail .doctor-card:nth-child(3n) .avatar {
  background: linear-gradient(135deg, #34d399, #14b8a6)
}

.hospital-grid-detail {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.hospital-grid-detail .hospital-card {
  padding: 18px
}

.hospital-grid-detail .hospital-card:nth-child(3n+1) .hospital-logo {
  background: linear-gradient(135deg, #5b9bff, #3b7cff)
}

.hospital-grid-detail .hospital-card:nth-child(3n+2) .hospital-logo {
  background: linear-gradient(135deg, #f472b6, #ec5f9b)
}

.hospital-grid-detail .hospital-card:nth-child(3n) .hospital-logo {
  background: linear-gradient(135deg, #fbbf24, #f0912d)
}

.detail-main .topic-article {
  min-height: auto
}

.detail-main .topic-placeholder {
  height: 112px
}

.detail-main .topic-placeholder b {
  font-size: 20px;
  margin-top: 6px
}

.disease-grid-wide {
  grid-template-columns: repeat(5, 1fr)
}

/* ---------- 执业医院行 ---------- */
.doctor-hospital-box {
  display: flex;
  align-items: center;
  gap: 15px
}

.doctor-hospital-box .hospital-info {
  flex: 1;
  min-width: 0
}

.doctor-hospital-box .hospital-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px
}

.doctor-hospital-box .hospital-info p {
  font-size: 13px;
  color: #63748a;
  margin-bottom: 4px
}

.doctor-hospital-box .hospital-info p span {
  color: #63748a
}

.doctor-hospital-box .hospital-info p i {
  font-style: normal;
  font-size: 11px;
  color: var(--indigo);
  background: #ecebfe;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px
}

.doctor-hospital-box .hospital-info p i.i-teal {
  color: #0e9f7e;
  background: #e0f5f3
}

.doctor-hospital-box .hospital-info small {
  font-size: 12px;
  color: var(--muted)
}

.ghost-btn {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--primary);
  background: #f4f8ff;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  padding: 8px 16px;
  white-space: nowrap
}

.ghost-btn:hover {
  background: #e8f1ff
}

/* ---------- 作者卡 ---------- */
.panel-author {
  display: flex;
  align-items: center;
  gap: 14px
}

.author-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #ff9046)
}

.author-info {
  flex: 1;
  min-width: 0
}

.author-info strong {
  display: block;
  font-size: 16px;
  color: var(--ink)
}

.author-info strong a:hover {
  color: var(--primary)
}

.author-info small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px
}

/* ---------- 侧栏列表 ---------- */
.side-list {
  display: flex;
  flex-direction: column
}

.side-article {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line)
}

.side-article:first-child {
  padding-top: 0
}

.side-article:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.side-rank {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #93a3ba;
  background: var(--bg-soft)
}

.side-rank.hot {
  color: #fff;
  background: linear-gradient(135deg, #ff9046, #ec5f9b)
}

.side-article-body {
  flex: 1;
  min-width: 0
}

.side-article-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6
}

.side-article:hover .side-article-body strong {
  color: var(--primary)
}

.side-article-body small {
  display: block;
  font-size: 12px;
  color: #b3bfce;
  margin-top: 3px
}

.side-hospital {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line)
}

.side-hospital:first-child {
  padding-top: 0
}

.side-hospital:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.side-hospital-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #5b9bff, #3b7cff)
}

.side-hospital-body {
  flex: 1;
  min-width: 0
}

.side-hospital-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.side-hospital:hover .side-hospital-body strong {
  color: var(--primary)
}

.side-hospital-body small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.side-hospital-body em {
  font-style: normal;
  color: #63748a
}

.side-hospital-body i {
  font-style: normal;
  font-size: 11px;
  color: var(--indigo);
  background: #ecebfe;
  border-radius: 4px;
  padding: 0 6px;
  margin-left: 5px
}

.side-blog {
  display: block;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line)
}

.side-blog:first-child {
  padding-top: 0
}

.side-blog:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.side-blog-tag {
  display: inline-block;
  font-size: 11px;
  line-height: 17px;
  color: var(--orange);
  background: #fef3e4;
  border-radius: 4px;
  padding: 0 8px
}

.side-blog strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  margin: 6px 0 3px
}

.side-blog:hover strong {
  color: var(--primary)
}

.side-blog small {
  display: block;
  font-size: 12px;
  color: #b3bfce
}

/* ---------- 目录 ---------- */
.toc {
  display: flex;
  flex-direction: column
}

.toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  color: #5d7290;
  padding: 9px 0 9px 15px;
  border-bottom: 1px dashed var(--line)
}

.toc a:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.toc a:first-child {
  padding-top: 0
}

.toc a:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6d1de
}

.toc a:hover {
  color: var(--primary)
}

.toc a:hover:before {
  background: var(--primary)
}

.toc a.is-current {
  color: var(--primary);
  font-weight: 600
}

.toc a.is-current:before {
  background: var(--primary)
}

.toc a i {
  font-style: normal;
  font-size: 11px;
  color: #b3bfce
}

/* ---------- 统计列表 ---------- */
.stat-list {
  display: flex;
  flex-direction: column
}

.stat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #5d7290;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line)
}

.stat-list li:first-child {
  padding-top: 0
}

.stat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.stat-list b {
  font-size: 14px;
  color: var(--ink)
}

/* ---------- 推荐位 ---------- */
.panel-feature {
  background: linear-gradient(120deg, #f2f7ff, #eefaf8);
  border-color: #dbe9ff
}

.feature-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  border-radius: 20px;
  padding: 3px 13px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2))
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 10px
}

.feature-title a:hover {
  color: var(--primary)
}

.feature-summary {
  font-size: 14px;
  color: #5d7290;
  line-height: 1.85
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin: 13px 0 16px
}

.feature-meta i {
  font-style: normal;
  color: #c6d1de
}

.solid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 22px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), #2f9bff);
  box-shadow: 0 6px 16px rgba(59, 124, 255, .28)
}

.solid-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 124, 255, .4)
}

.solid-btn-block {
  display: flex;
  justify-content: center;
  margin-top: 14px
}

/* ---------- 博客卡片 ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.blog-cover {
  position: relative;
  overflow: hidden;
  height: 118px;
  padding: 16px 18px;
  color: #9a5a1e;
  background: linear-gradient(135deg, #fff3e0, #ffdcc0)
}

.blog-card:nth-child(3n+2) .blog-cover {
  color: #1c4e8f;
  background: linear-gradient(135deg, #e3efff, #c4dafb)
}

.blog-card:nth-child(3n) .blog-cover {
  color: #0e7a54;
  background: linear-gradient(135deg, #e6f9f0, #bfeeda)
}

.blog-cover:after {
  content: '✦';
  position: absolute;
  right: 16px;
  bottom: -14px;
  font-size: 66px;
  color: rgba(255, 255, 255, .55)
}

.blog-cover span {
  display: block;
  font-size: 12px;
  font-weight: 600
}

.blog-cover b {
  display: block;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 8px;
  font-weight: 700;
  position: relative;
  z-index: 1
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px
}

.blog-card-body label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: #fef3e4;
  border-radius: 4px;
  padding: 2px 9px
}

.blog-card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  margin: 10px 0 8px
}

.blog-card:hover h3 {
  color: var(--primary)
}

.blog-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  color: #7c8ba0;
  line-height: 1.75
}

.blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px
}

.blog-author {
  font-size: 12px;
  color: #5d7290;
  background: var(--bg-soft);
  border-radius: 4px;
  padding: 2px 8px
}

.blog-card-foot small {
  font-size: 12px;
  color: #b3bfce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* ---------- 上一篇 / 下一篇 ---------- */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.post-nav-item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s
}

.post-nav-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px
}

.post-nav-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6
}

.post-nav-item:hover {
  border-color: #cfe0ff;
  box-shadow: var(--shadow)
}

.post-nav-item:hover strong {
  color: var(--primary)
}

.post-nav-item.is-next {
  text-align: right
}

.post-nav-item.is-empty {
  background: var(--bg-soft);
  border-color: transparent
}

.post-nav-item.is-empty strong {
  color: #a5b3c4;
  font-weight: 500
}

/* ---------- 分页 ---------- */
.pager {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.pager-btn,
.pager-num {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  color: #4b5d73;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px
}

.pager-btn:hover,
.pager-num:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.pager-num.is-current {
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), #2f9bff)
}

.pager-btn.is-disabled {
  color: #c6d1de;
  background: var(--bg-soft)
}

.pager-gap {
  color: #c6d1de
}

.pager-total {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted)
}

/* ---------- 空状态 ---------- */
.empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--muted)
}

.empty-state b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px
}

.empty-state p {
  font-size: 13px;
  line-height: 1.8
}

/* ---------- 搜索页 ---------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 560px;
  max-width: 100%;
  height: 50px;
  margin-top: 20px;
  padding: 0 6px 0 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(6, 42, 90, .28)
}

.search-bar span {
  font-size: 20px;
  color: var(--muted)
}

.search-bar input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink)
}

.search-bar input::placeholder {
  color: #a5b3c4
}

.search-bar button {
  height: 38px;
  padding: 0 28px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #2f9bff)
}

.search-bar button:hover {
  filter: brightness(1.08)
}

.hot-search-dark {
  color: rgba(255, 255, 255, .86)
}

.qa-doctor a {
  color: inherit
}

/* ---------- 详情页响应式 ---------- */
@media(max-width:1100px) {
  .nav-search {
    display: none
  }

  .detail-layout,
  .detail-layout-wide {
    grid-template-columns: minmax(0, 1fr)
  }

  .detail-side {
    order: 2
  }

  .panel-sticky {
    position: static
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .disease-grid-wide {
    grid-template-columns: repeat(4, 1fr)
  }

  .detail-stats>div {
    min-width: 84px;
    padding: 10px 12px
  }

  .detail-hero-inner {
    gap: 18px
  }
}

@media(max-width:700px) {
  .detail-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 24px;
    min-height: 0
  }

  .detail-logo {
    width: 60px;
    height: 60px;
    font-size: 26px
  }

  .detail-logo-svg svg {
    width: 32px;
    height: 32px
  }

  .detail-hero-copy h1 {
    font-size: 21px
  }

  .detail-meta,
  .detail-sub {
    font-size: 12px
  }

  .detail-stats {
    width: 100%;
    gap: 10px
  }

  .detail-stats>div {
    flex: 1;
    min-width: 0;
    padding: 10px 6px;
    border-radius: 12px
  }

  .detail-stats b {
    font-size: 18px
  }

  .detail-stats small {
    font-size: 11px;
    white-space: normal
  }

  .detail-layout {
    padding-top: 18px;
    gap: 16px
  }

  .detail-main,
  .detail-side {
    gap: 14px
  }

  .panel {
    padding: 18px 16px;
    border-radius: 14px
  }

  .panel-article {
    padding: 20px 16px
  }

  .panel-head h2 {
    font-size: 17px
  }

  .prose {
    font-size: 14px
  }

  .prose h2 {
    font-size: 17px
  }

  .article-lead {
    font-size: 15px;
    padding: 14px
  }

  .doctor-grid-detail,
  .hospital-grid-detail,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .article-topic-grid {
    grid-template-columns: minmax(0, 1fr) !important
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr)
  }

  .post-nav-item.is-next {
    text-align: left
  }

  .disease-grid-wide {
    grid-template-columns: repeat(2, 1fr)
  }

  .search-bar {
    width: 100%
  }

  .pager-total {
    width: 100%;
    margin-left: 0
  }

  .doctor-hospital-box {
    flex-wrap: wrap
  }

  .panel-author {
    flex-wrap: wrap
  }
}

/* ============================================================
   详情页主题色
   每个页面在 .detail-page 上注入 --accent / --accent-2，
   下方规则让面板标题竖条、正文标题、按钮、序号、图标等
   全部跟随页面主题色（选择器都限定在 .detail-page 内，首页不受影响）。
   ============================================================ */
.detail-page .panel-head h2:before {
  background: linear-gradient(180deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .prose h2:before {
  background: linear-gradient(180deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .prose blockquote {
  border-left-color: var(--accent, var(--primary))
}

.detail-page .article-lead {
  border-left-color: var(--accent, var(--primary))
}

.detail-page .panel-more:hover,
.detail-page .panel-more:hover span {
  color: var(--accent, var(--primary))
}

.detail-page .panel-feature {
  border-color: var(--accent, var(--primary))
}

.detail-page .dept-chip i {
  background: var(--accent, var(--primary))
}

.detail-page .side-hospital-logo {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .side-rank.hot {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .toc a:hover,
.detail-page .toc a.is-current {
  color: var(--accent, var(--primary))
}

.detail-page .toc a:hover:before,
.detail-page .toc a.is-current:before {
  background: var(--accent, var(--primary))
}

.detail-page .author-avatar {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .feature-label {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .solid-btn {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .pager-num.is-current {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .ghost-btn {
  color: var(--accent, var(--primary));
  border-color: var(--accent, var(--primary));
  background: transparent
}

.detail-page .ghost-btn:hover {
  color: #fff;
  background: var(--accent, var(--primary))
}

.detail-page .chip-cloud a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .verified {
  background: var(--accent, var(--primary))
}

.detail-page .avatar {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .hospital-logo {
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

.detail-page .doctor-card:hover strong,
.detail-page .blog-card:hover h3,
.detail-page .side-blog:hover strong,
.detail-page .side-article:hover .side-article-body strong,
.detail-page .side-hospital:hover .side-hospital-body strong {
  color: var(--accent, var(--primary))
}

.detail-page .doctor-foot a,
.detail-page .author-info strong a:hover {
  color: var(--accent, var(--primary))
}

.detail-page .tag-level {
  color: var(--accent, var(--primary))
}

.detail-page .tag-onco {
  color: var(--accent, var(--primary))
}

.detail-page .side-blog-tag {
  color: var(--accent, var(--primary));
  background: var(--bg-soft)
}

.detail-page .blog-card-body label {
  color: var(--accent, var(--primary));
  background: var(--bg-soft)
}

.detail-page .topic-copy label {
  color: var(--accent, var(--primary));
  background: var(--bg-soft)
}

.detail-page .doctor-foot span {
  color: var(--accent, var(--primary));
  background: var(--bg-soft)
}

.detail-page .topic-placeholder {
  color: #fff;
  background: linear-gradient(135deg, var(--accent, var(--primary)), var(--accent-2, var(--primary-2)))
}

/* 医生头像直链：首字打底 + 图片绝对定位覆盖，加载失败自动露出首字 */
.avatar {
  position: relative;
  overflow: hidden
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit
}

.detail-logo {
  position: relative;
  overflow: hidden
}

.detail-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit
}

.qa-avatar {
  position: relative;
  overflow: hidden
}

.qa-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit
}

.hospital-logo {
  position: relative;
  overflow: hidden
}

.hospital-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit
}

.hospital-intro p {
  margin: 0
}

.hospital-intro .intro-toggle {
  display: none
}

.hospital-intro .intro-clamp {
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden
}

.hospital-intro .intro-toggle:checked~.intro-clamp {
  display: block;
  -webkit-line-clamp: unset
}

.hospital-intro .intro-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  user-select: none
}

.hospital-intro .intro-more:hover {
  text-decoration: underline
}

.hospital-intro .intro-toggle:checked~.intro-more {
  display: none
}

.doctor-intro p {
  margin: 0
}

.doctor-intro .intro-toggle {
  display: none
}

.doctor-intro .intro-clamp {
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden
}

.doctor-intro .intro-toggle:checked~.intro-clamp {
  display: block;
  -webkit-line-clamp: unset
}

.doctor-intro .intro-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  user-select: none
}

.doctor-intro .intro-more:hover {
  text-decoration: underline
}

.doctor-intro .intro-toggle:checked~.intro-more {
  display: none
}