/* DMD Stage Selector & Feedback Widget */
.dmd-fb *{box-sizing:border-box;margin:0;padding:0}
.dmd-fb{--fb-bg:#0E0E0E;--fb-card:#252540;--fb-border:#333355;--fb-text:#e0e0e0;--fb-dim:#8888aa;--fb-gold:#D4A853;--fb-blue:#6AB0FF;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;position:fixed;bottom:0;left:0;right:0;z-index:9999;background:var(--fb-card);border-top:1px solid var(--fb-border);padding:14px 20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;box-shadow:0 -4px 24px rgba(0,0,0,.4);transition:transform .3s ease,opacity .3s ease;font-size:14px;color:var(--fb-text)}
.dmd-fb.dmd-fb-hidden{transform:translateY(100%);opacity:0;pointer-events:none}
.dmd-fb-label{white-space:nowrap;font-weight:500;font-size:15px}
.dmd-fb-emojis{display:flex;gap:6px}
.dmd-fb-emoji{background:var(--fb-bg);border:1px solid var(--fb-border);border-radius:0;padding:6px 14px;cursor:pointer;font-size:15px;transition:all .2s;white-space:nowrap;color:var(--fb-dim);user-select:none}
.dmd-fb-emoji:hover{border-color:var(--fb-blue);color:var(--fb-text)}
.dmd-fb-emoji.selected{border-color:var(--fb-gold);color:var(--fb-gold);background:rgba(43,130,246,.08)}
.dmd-fb-input-wrap{display:none;flex:1;min-width:180px;max-width:400px}
.dmd-fb-input-wrap.show{display:flex;gap:8px;animation:fbFadeIn .3s ease}
.dmd-fb-input{flex:1;background:var(--fb-bg);border:1px solid var(--fb-border);border-radius:0;padding:8px 12px;color:var(--fb-text);font-size:14px;outline:none;transition:border-color .2s}
.dmd-fb-input:focus{border-color:var(--fb-blue)}
.dmd-fb-input::placeholder{color:var(--fb-dim)}
.dmd-fb-submit{background:linear-gradient(135deg,#D4A853,#1a5a9a);color:#fff;border:none;border-radius:0;padding:8px 18px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s}
.dmd-fb-submit:hover{background:linear-gradient(135deg,#2080cc,#D4A853);transform:translateY(-1px)}
.dmd-fb-submit:active{transform:translateY(0)}
.dmd-fb-thanks{display:none;text-align:center;padding:4px 0;color:var(--fb-gold);font-weight:600;font-size:15px;width:100%}
.dmd-fb-thanks.show{display:block;animation:fbFadeIn .3s ease}
@keyframes fbFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.dmd-fb{gap:8px;padding:10px 12px}.dmd-fb-label{font-size:13px}.dmd-fb-emoji{font-size:13px;padding:5px 10px}.dmd-fb-input-wrap{min-width:140px}}ound: #fff;
  border: 1px solid #e2e8f0;
  border-radius:0;
  padding: 16px;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.dmd-hosp-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.dmd-hosp-card.recommended {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
}

.dmd-hosp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.dmd-hosp-name {
  margin: 0;
  font-size: 16px;
  color: #0E0E0E;
  flex: 1;
  min-width: 200px;
}
.dmd-hosp-province {
  font-size: 12px;
  background: #D4A853;
  color: #fff;
  padding: 3px 10px;
  border-radius:0;
  white-space: nowrap;
}

/* Hospital Info Grid */
.dmd-hosp-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .dmd-hosp-info { grid-template-columns: 1fr; }
}
.dmd-hosp-field {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.dmd-hosp-label {
  font-weight: 600;
  color: #D4A853;
  min-width: 32px;
  flex-shrink: 0;
}
.dmd-hosp-value {
  color: #333;
}

/* Hospital Tip */
.dmd-hosp-tip {
  font-size: 12px;
  color: #92400e;
  background: #fef3c7;
  border-radius:0;
  padding: 8px 12px;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Hospital Tag Footer */
.dmd-hosp-tag {
  font-size: 11px;
  color: #666;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* Bottom CTA */
.dmd-bottom-cta {
  text-align: center;
  background: linear-gradient(135deg, #1a2a2a, #0a1a0a);
  border: 1px solid #3fb950;
  border-radius:0;
  padding: 28px 20px;
  margin: 32px 0 24px;
}
.dmd-bottom-cta h3 {
  color: #3fb950;
  font-size: 18px;
  margin: 0 0 8px;
}
.dmd-bottom-cta p {
  color: #999;
  font-size: 14px;
  margin: 0 0 16px;
}
.dmd-bottom-cta a {
  display: inline-block;
  background: #3fb950;
  color: #000;
  padding: 12px 32px;
  border-radius:0;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.dmd-bottom-cta a:hover { background: #4cd964; }

/* Accordions */
.dmd-accordion {
  border: 1px solid #e2e8f0;
  border-radius:0;
  margin-bottom: 12px;
  overflow: hidden;
}
.dmd-accordion summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  color: #0E0E0E;
  cursor: pointer;
  background: #f8fafc;
  list-style: none;
}
.dmd-accordion summary::-webkit-details-marker { display: none; }
.dmd-accordion summary:hover { background: #f1f5f9; }
.dmd-accordion[open] summary { border-bottom: 1px solid #e2e8f0; }
.dmd-accordion-content {
  padding: 16px 18px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}
.dmd-accordion-content ul, .dmd-accordion-content ol {
  padding-left: 20px;
  margin: 8px 0;
}
.dmd-accordion-content li { margin: 4px 0; }

/* Co-build section */
.dmd-cobuild {
  text-align: center;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius:0;
  padding: 24px 20px;
  margin: 24px 0;
  line-height: 1.8;
}
.dmd-cobuild p { margin: 4px 0; }

/* Mobile adjustments */
@media (max-width: 600px) {
  .dmd-guide-steps { flex-direction: column; align-items: flex-start; }
  .dmd-step-arrow { display: none; }
  .dmd-province-nav-wrapper { margin: 0 -15px 16px; padding: 8px 15px; }
  .dmd-map-cta-top { flex-direction: column; text-align: center; }
}
/* ===== Floating Table of Contents ===== */
.dmd-toc-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius:0;
  background: #D4A853;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  align-items: center;
  justify-content: center;
}
.dmd-toc-panel {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  max-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(26,26,46,.95);
  border: 1px solid #333;
  border-radius:0;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.dmd-toc-panel a {
  display: block;
  color: #999;
  text-decoration: none;
  padding: 4px 8px;
  border-radius:0;
  margin: 2px 0;
  transition: all .15s;
  border-left: 2px solid transparent;
}
.dmd-toc-panel a:hover,
.dmd-toc-panel a.active {
  color: #fff;
  background: rgba(26,111,181,.2);
  border-left-color: #D4A853;
}
.dmd-toc-panel a.dmd-toc-h3 {
  padding-left: 20px;
  font-size: 11px;
}

@media (max-width: 1200px) {
  .dmd-toc-panel { display: none; }
  .dmd-toc-toggle { display: flex; }
  .dmd-toc-panel.mobile-open {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 76px;
    top: auto;
    transform: none;
    max-height: 50vh;
    width: 240px;
  }
}

/* ==========================================
   统一右侧栏 — 搜索 / 公告&药讯 / 本页导航三层卡片
   版本: v2.1 统一三套UI为单一侧边栏
   ========================================== */

/* --- 桌面端：隐藏主题自带侧边栏(含旧搜索小工具) --- */
@media (min-width: 1024px) {
  .dmd-content-page .widget-area.sidebar {
    display: none;
  }
}

/* --- 桌面端：固定侧边栏容器 --- */
@media (min-width: 1024px) {
  .dmd-sidebar-right {
    position: fixed;
    right: max(calc((100vw - 780px) / 2 - 260px - 1.5rem), 1rem);
    top: 120px;
    width: 220px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* --- 统一卡片 --- */
  .dmd-sidebar-card {
    background: rgba(10,10,14,.92);
    border: 1px solid rgba(255,255,255,.06);
    border-radius:0;
    padding: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .dmd-sidebar-card__title {
    font-size: 13px;
    font-weight: 600;
    color: #D4A853;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(43,130,246,.12);
    letter-spacing: .03em;
  }

  /* --- 搜索卡片 --- */
  .dmd-sidebar-card--search {
    padding-bottom: 12px;
  }

  .dmd-sidebar-search {
    display: flex;
    gap: 0;
  }

  .dmd-sidebar-search__input {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-right: none;
    border-radius:0;
    color: #ddd;
    font-size: 12px;
    padding: 7px 10px;
    outline: none;
    transition: border-color .2s;
    min-width: 0;
  }

  .dmd-sidebar-search__input:focus {
    border-color: rgba(43,130,246,.3);
  }

  .dmd-sidebar-search__input::placeholder {
    color: #666;
  }

  .dmd-sidebar-search__btn {
    background: #D4A853;
    border: 1px solid #D4A853;
    border-radius:0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 12px;
    cursor: pointer;
    transition: background .2s;
    line-height: 1;
  }

  .dmd-sidebar-search__btn:hover {
    background: #C8924A;
  }

  /* --- 子区块（公告 / 药讯） --- */
  .dmd-sidebar-sub {
    margin-bottom: 10px;
  }
  .dmd-sidebar-sub:last-child {
    margin-bottom: 0;
  }

  .dmd-sidebar-sub__label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
  }

  /* --- 链接条目 --- */
  .dmd-sidebar-link {
    display: block;
    padding: 4px 0;
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
    transition: color .15s, background .15s;
    border-left: 2px solid transparent;
    padding-left: 8px;
    margin-left: -8px;
    border-radius:0;
  }

  .dmd-sidebar-link:hover {
    color: #D4A853;
    background: rgba(43,130,246,.06);
    border-left-color: rgba(43,130,246,.3);
  }

  .dmd-sidebar-link__date {
    color: #666;
    font-size: .85em;
    margin-right: 4px;
  }

  .dmd-sidebar-link__badge {
    display: inline-block;
    background: #FF6B47;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius:0;
    margin-right: 5px;
    vertical-align: middle;
    line-height: 1.4;
  }

  /* --- 本页导航 TOC --- */
  .dmd-sidebar-toc a {
    display: block;
    color: #999;
    text-decoration: none;
    padding: 3px 8px;
    border-radius:0;
    margin: 1px 0;
    border-left: 2px solid transparent;
    transition: all .15s;
    font-size: 11.5px;
  }

  .dmd-sidebar-toc a:hover,
  .dmd-sidebar-toc a.active {
    color: #fff;
    background: rgba(26,115,232,.15);
    border-left-color: #D4A853;
  }
}

/* --- 平板/移动端：侧边栏回到文档流 --- */
@media (max-width: 1023px) {
  .dmd-sidebar-right {
    margin: 2rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .dmd-sidebar-card {
    background: rgba(10,10,14,.9);
    border: 1px solid rgba(255,255,255,.06);
    border-radius:0;
    padding: 14px;
  }

  .dmd-sidebar-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #D4A853;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(43,130,246,.12);
  }

  .dmd-sidebar-search {
    display: flex;
    gap: 0;
  }

  .dmd-sidebar-search__input {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-right: none;
    border-radius:0;
    color: #ddd;
    font-size: 13px;
    padding: 8px 10px;
    outline: none;
  }

  .dmd-sidebar-search__btn {
    background: #D4A853;
    border: none;
    border-radius:0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 14px;
    cursor: pointer;
  }

  .dmd-sidebar-sub {
    margin-bottom: 10px;
  }

  .dmd-sidebar-sub__label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: .05em;
    margin-bottom: 6px;
  }

  .dmd-sidebar-link {
    display: block;
    padding: 5px 0;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .dmd-sidebar-link__badge {
    display: inline-block;
    background: #FF6B47;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius:0;
    margin-right: 5px;
  }

  .dmd-sidebar-link__date {
    color: #666;
    margin-right: 4px;
  }

  .dmd-sidebar-toc a {
    display: block;
    color: #999;
    text-decoration: none;
    padding: 4px 8px;
    font-size: 13px;
  }

  /* 移动端仍显示主题搜索（因为固定侧边栏到文档流末尾） */
  .dmd-content-page .widget-area.sidebar {
    margin: 1rem;
  }
}

/* ==========================================
   视觉审查修复 2026-06-05
   1. 标题层级加字重
   2. 浅色卡片自动暗文字
   3. 卡片圆角统一
   4. 表格交替行
   5. 链接颜色统一
   ========================================== */

/* --- P0-2: 标题层级 --- */
h1, .entry-content h1 { font-weight: 700 !important; }
h2, .entry-content h2 { font-weight: 600 !important; }
h3, .entry-content h3 { font-weight: 500 !important; }

/* --- P0-1: 浅色背景卡片强制深色文字 --- */
.entry-content [style*="background:#f"],
.entry-content [style*="background: #f"],
.entry-content [style*="background:#e"],
.entry-content [style*="background: #e"],
.entry-content [style*="background:rgb(2"],
.entry-content [style*="background: rgb(2"],
.entry-content [style*="background:#fff"],
.entry-content [style*="background: #fff"] {
  color: #222 !important;
}

/* 暗色卡片保持亮文字 */
.entry-content [style*="background:#1a"],
.entry-content [style*="background: #1a"],
.entry-content [style*="background:#0a"],
.entry-content [style*="background: #0a"] {
  color: #e0e0e0 !important;
}

/* 确保浅色卡片内的链接也可读 */
.entry-content [style*="background:#f"] a,
.entry-content [style*="background:#e"] a {
  color: #C8924A !important;
}

/* --- P1-1: 统一卡片圆角 --- */
.entry-content [style*="border-radius"] {
  border-radius:0;
}

/* --- P1-2: 表格交替行 --- */
.entry-content table tr:nth-child(even) td {
  background: rgba(255,255,255,.03);
}
.entry-content table th {
  background: rgba(255,255,255,.06);
  font-weight: 600;
}
.entry-content table {
  border-collapse: collapse;
}
.entry-content table td,
.entry-content table th {
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px 14px;
}

/* --- P2: 链接颜色统一 --- */
.entry-content a {
  color: #4a9dff;
}
.entry-content a:hover {
  color: #D4A853;
}

/* --- 移动端H3字号修正 --- */
@media (max-width: 768px) {
  h3, .entry-content h3 {
    font-size: 1.25rem;
  }
}
/* ===== 视觉增强 V1 · 2026-06-06 ===== */

/* --- 全局阅读体验 --- */
html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 正文排版优化 */
.entry-content p, .post-content p, article p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 1.2em;
  letter-spacing: 0.01em;
}

/* 段落间呼吸感 */
.entry-content > * + *, .post-content > * + * {
  margin-top: 0;
}

/* --- 标题视觉层级 --- */
h2 { 
  font-size: 24px; 
  font-weight: 700; 
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf1;
  letter-spacing: 0.02em;
}
h3 { 
  font-size: 19px; 
  font-weight: 600; 
  margin: 28px 0 12px;
  color: #333;
}
h4 { 
  font-size: 16px; 
  font-weight: 600; 
  margin: 20px 0 8px;
}

/* --- 链接视觉 --- */
.entry-content a, .post-content a, article a {
  text-decoration: underline;
  text-decoration-color: rgba(26,111,181,0.25);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.entry-content a:hover, .post-content a:hover, article a:hover {
  text-decoration-color: #D4A853;
  color: #155a8a;
}

/* --- 卡片微交互 --- */
.dmd-card, [style*="border-radius:0
[style*="border-radius:0
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dmd-card:hover, 
[style*="border-radius:0
[style*="cursor:pointer"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- 情绪锚增强 --- */
.emotional-anchor, [class*="emotional-anchor"] {
  position: relative;
}
.emotional-anchor::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius:0;
}

/* --- 希望绿盒增强 --- */
div[style*="border-left:4px solid #4caf50"] {
  position: relative;
  animation: hopeFadeIn 0.6s ease;
}
@keyframes hopeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- CTA按钮增强 --- */
a[style*="background:#D4A853"], 
.btn-primary, .button-primary {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(26,111,181,0.25);
  transition: all 0.2s ease !important;
}
a[style*="background:#D4A853"]:hover,
.btn-primary:hover, .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,111,181,0.35);
}

/* --- 表格优化 --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
th {
  background: #f0f4f8;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #dee2e8;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
}
td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: top;
}
tr:nth-child(even) td {
  background: rgba(240,244,248,0.4);
}

/* --- 分隔线 --- */
hr {
  border: none;
  border-top: 1px solid #e8ecf1;
  margin: 32px 0;
}

/* --- 引用块 --- */
blockquote {
  border-left: 3px solid #D4A853;
  margin: 20px 0;
  padding: 12px 20px;
  background: rgba(26,111,181,0.04);
  border-radius:0;
  font-style: normal;
}
blockquote p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* --- 列表增强 --- */
ul, ol {
  padding-left: 1.5em;
  margin: 12px 0;
}
li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* === 移动端优化 === */
@media (max-width: 768px) {
  .entry-content p, .post-content p, article p {
    font-size: 15px;
    line-height: 1.75;
  }
  h2 { font-size: 20px; margin: 28px 0 12px; }
  h3 { font-size: 17px; margin: 22px 0 10px; }
  
  /* 移动端表格横向滚动 */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  th, td { padding: 8px 10px; font-size: 13px; }
  
  /* 移动端卡片不悬停（触屏无hover） */
  .dmd-card:hover { transform: none; box-shadow: none; }
  
  /* 移动端更大的点击目标 */
  .dmd-fb-emoji { min-height: 40px; display: inline-flex; align-items: center; }
  
  /* 段落间距收紧 */
  .entry-content > * + * { margin-top: 0; }
}

@media (max-width: 480px) {
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  .entry-content p, .post-content p, article p { font-size: 15px; }
  blockquote { padding: 10px 14px; margin: 14px 0; }
}

/* === 暗色模式适配 === */
@media (prefers-color-scheme: dark) {
  /* 这些规则在暗色模式下覆盖亮色默认值 */
  h3 { color: #ccc; }
  h2 { border-bottom-color: #292929; }
  hr { border-top-color: #292929; }
  th { background: #0E0E0E; border-bottom-color: #333; }
  td { border-bottom-color: #0E0E0E; }
  tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
  blockquote { background: rgba(26,111,181,0.08); }
  
  /* 暗色模式下链接适配 */
  .entry-content a, .post-content a, article a {
    text-decoration-color: rgba(90,159,212,0.3);
  }
  .entry-content a:hover, .post-content a:hover, article a:hover {
    text-decoration-color: #6AB0FF;
    color: #6AB0FF;
  }
}
/* ============================================================
   旭辰DMD助手 — 深化组件 v3.0
   2026-06-06 · 统一暗色主题组件库
   追加到 dmd-custom.css 末尾
   ============================================================ */

/* ==========================================
   A. 提示框组件 (Callout Boxes)
   用法: <div class="dmd-callout dmd-callout--info">...</div>
   ========================================== */
.dmd-callout {
  padding: 16px 20px;
  border-radius:0;
  border-left: 4px solid;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}
.dmd-callout__icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}
.dmd-callout__content {
  color: #999;
}
.dmd-callout__content strong {
  color: #E6E6E6;
  font-weight: 600;
}

.dmd-callout--info {
  background: rgba(43,130,246,0.08);
  border-color: #D4A853;
}
.dmd-callout--warning {
  background: rgba(255,179,71,0.08);
  border-color: #FFB347;
}
.dmd-callout--danger {
  background: rgba(255,107,71,0.08);
  border-color: #FF6B47;
}

/* ==========================================
   B. 时间线组件 (Timeline)
   用法: <div class="dmd-timeline"> <div class="dmd-timeline__step dmd-timeline__step--done">...
   ========================================== */
.dmd-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 0;
}
.dmd-timeline__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 20px;
}
.dmd-timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
}
.dmd-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius:0;
  border: 2px solid #292929;
  background: transparent;
  flex-shrink: 0;
  z-index: 1;
}
.dmd-timeline__line {
  width: 2px;
  flex: 1;
  background: #292929;
  min-height: 24px;
}
.dmd-timeline__step--done .dmd-timeline__dot {
  background: #D4A853;
  border-color: #D4A853;
}
.dmd-timeline__step--done .dmd-timeline__line {
  background: #D4A853;
}
.dmd-timeline__step--current .dmd-timeline__dot {
  border-color: #D4A853;
  box-shadow: 0 0 0 4px rgba(43,130,246,0.15);
}
.dmd-timeline__title {
  font-size: 14px;
  font-weight: 600;
  color: #E6E6E6;
  margin-bottom: 2px;
}
.dmd-timeline__desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* 桌面端：水平排列 */
@media (min-width: 768px) {
  .dmd-timeline {
    flex-direction: row;
    justify-content: space-between;
  }
  .dmd-timeline__step {
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 8px;
    padding-bottom: 0;
  }
  .dmd-timeline__marker {
    flex-direction: row;
    width: auto;
  }
  .dmd-timeline__line {
    width: auto;
    height: 2px;
    min-height: 0;
    min-width: 24px;
    flex: 1;
  }
  .dmd-timeline__title { text-align: center; }
  .dmd-timeline__desc { text-align: center; }
}

/* ==========================================
   C. 增强版内容排版（暗色优先）
   覆盖 dmd-custom.css 中的亮色默认值
   ========================================== */
.dmd-content-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #292929;
  letter-spacing: 0.02em;
  color: #E6E6E6;
}
.dmd-content-page h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: #ccc;
}
.dmd-content-page h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: #bbb;
}
.dmd-content-page table th {
  background: #0E0E0E;
  color: #999;
  font-weight: 500;
  font-size: 13px;
  border-bottom: 1px solid #292929;
  padding: 10px 12px;
}
.dmd-content-page table td {
  padding: 10px 12px;
  border-bottom: 1px solid #1A1A1A;
  color: #E6E6E6;
  vertical-align: top;
}
.dmd-content-page table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.dmd-content-page table tr:hover td {
  background: rgba(43,130,246,0.04);
}
.dmd-content-page blockquote {
  border-left: 3px solid #D4A853;
  background: rgba(43,130,246,0.04);
  border-radius:0;
  padding: 12px 20px;
  margin: 20px 0;
}
.dmd-content-page blockquote p {
  color: #999;
  font-size: 15px;
}
.dmd-content-page hr {
  border: none;
  border-top: 1px solid #292929;
  margin: 32px 0;
}
.dmd-content-page .entry-content a,
.dmd-content-page .post-content a {
  color: #C8924A;
  text-decoration-color: rgba(74,157,255,0.25);
}
.dmd-content-page .entry-content a:hover,
.dmd-content-page .post-content a:hover {
  color: #6AB0FF;
  text-decoration-color: #6AB0FF;
}

/* ==========================================
   D. TOC增强 — 阅读进度条 + 滚动高亮
   ========================================== */
.dmd-toc-progress {
  height: 3px;
  background: #1A1A1A;
  border-radius:0;
  margin-bottom: 12px;
  overflow: hidden;
}
.dmd-toc-progress__bar {
  height: 100%;
  background: #D4A853;
  border-radius:0;
  width: 0%;
  transition: width 0.3s ease;
}

/* TOC链接激活态增强 */
#dmdSidebarTocNav a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #999;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
  margin-bottom: 2px;
}
#dmdSidebarTocNav a:hover {
  color: #E6E6E6;
  background: rgba(255,255,255,0.03);
}
#dmdSidebarTocNav a.active {
  color: #D4A853;
  border-left-color: #D4A853;
  background: rgba(43,130,246,0.06);
  font-weight: 500;
}

/* 移动端TOC折叠增强 */
.dmd-toc {
  background: #0E0E0E;
  border: 1px solid #292929;
  border-radius:0;
  padding: 12px 16px;
  margin: 16px 0;
}
.dmd-toc li {
  margin-bottom: 4px;
}
.dmd-toc a {
  color: #999;
  font-size: 14px;
  padding: 4px 0;
  display: block;
}
.dmd-toc a:hover {
  color: #D4A853;
}

/* ==========================================
   E. 药物管线表格增强
   ========================================== */
.dmd-drug-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius:0;
  font-size: 12px;
  font-weight: 500;
}
.dmd-drug-badge--approved {
  background: rgba(43,130,246,0.15);
  color: #D4A853;
}
.dmd-drug-badge--phase3 {
  background: rgba(255,179,71,0.12);
  color: #FFB347;
}
.dmd-drug-badge--phase2 {
  background: rgba(255,107,71,0.12);
  color: #FF6B47;
}
.dmd-drug-badge--phase1 {
  background: rgba(153,153,153,0.12);
  color: #999;
}

/* ==========================================
   F. 搜索栏增强（首页内嵌）
   ========================================== */
.dmd-search-inline {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.dmd-search-inline input {
  flex: 1;
  background: #0E0E0E;
  border: 1px solid #292929;
  border-radius:0;
  padding: 12px 16px;
  color: #E6E6E6;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.dmd-search-inline input:focus {
  border-color: #D4A853;
}
.dmd-search-inline input::placeholder {
  color: #666;
}
.dmd-search-inline button {
  background: #D4A853;
  color: #fff;
  border: none;
  border-radius:0;
  padding: 12px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.dmd-search-inline button:hover {
  background: #C8924A;
}

/* ==========================================
   G. 移动端适配
   ========================================== */
@media (max-width: 768px) {
  .dmd-content-page h2 { font-size: 20px; margin: 28px 0 12px; }
  .dmd-content-page h3 { font-size: 17px; margin: 22px 0 10px; }
  .dmd-callout { padding: 12px 16px; font-size: 13px; }
  .dmd-search-inline { padding: 0 16px; }
  .dmd-search-inline input { padding: 10px 14px; font-size: 14px; }
  .dmd-search-inline button { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 480px) {
  .dmd-content-page h2 { font-size: 18px; }
  .dmd-content-page h3 { font-size: 16px; }
}

/* ============================================
   视觉系统融合 v2 — 深空金辉适配
   2026-06-13
   ============================================ */

/* --- 设计令牌 --- */
:root {
  --dmd-gold: #FFD700;
  --dmd-gold-dim: rgba(255,215,0,0.15);
  --dmd-gold-glow: rgba(255,215,0,0.06);
  --dmd-dark: #000000;
  --dmd-dark-card: #0D0D0D;
  --dmd-dark-surface: #111111;
  --dmd-text: #D1D5DB;
  --dmd-text-muted: #9CA3AF;
  --dmd-text-dim: #6B7280;
  --dmd-transition: 0.4s ease;
}

/* --- 毛玻璃导航 --- */
.home-topbar {
  background: rgba(0,0,0,0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(43,130,246,0.12) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* --- 卡片hover升级 --- */
.dmd-hero-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.dmd-hero-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(43,130,246,0.3) !important;
  box-shadow: 0 8px 32px rgba(43,130,246,0.08) !important;
}

.dmd-quick-action {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.dmd-quick-action:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(43,130,246,0.25) !important;
}

.home-faq__link {
  transition: all 0.3s ease;
}
.home-faq__link:hover {
  transform: translateX(4px) !important;
  color: #6AB0FF !important;
}

/* --- 入场动画 --- */
.home-section-label,
.dmd-hero-cards,
.quick-section,
.home-faq,
.home-trust {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.home-section-label.visible,
.dmd-hero-cards.visible,
.quick-section.visible,
.home-faq.visible,
.home-trust.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 首页Hero微动效 --- */
.home-hero {
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .home-section-label,
  .dmd-hero-cards,
  .quick-section,
  .home-faq,
  .home-trust {
    opacity: 1 !important;
    transform: none !important;
  }
  .dmd-hero-card,
  .dmd-quick-action,
  .home-faq__link {
    transition-duration: 0.01ms !important;
  }
}
