/* 百科中医：只补充 ts-* / ws-* 没覆盖的部分，沿用全站变量 */

.zy-warn {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #F3D6A2;
  border-left: 4px solid #D98A1E;
  border-radius: 10px;
  background: #FFF9EC;
  font-size: 13px;
  line-height: 1.7;
  color: #7A5216;
}
.zy-warn strong { color: #8A4B00; }

.zy-nav {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  overflow-x: auto;
  scrollbar-width: none;
}
.zy-nav::-webkit-scrollbar { display: none; }
.zy-nav__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-fg);
  white-space: nowrap;
}
.zy-nav__item:hover { color: var(--fg); }
.zy-nav__item.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-sec));
  color: #fff;
}

.zy-hero { margin-top: 26px; }
.zy-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.zy-hero p { margin: 0; color: var(--muted-fg); line-height: 1.8; }

.zy-search {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.zy-search input {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
}
.zy-search input:focus { outline: 2px solid rgba(4, 120, 87, .3); outline-offset: 1px; }
.zy-search button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-sec));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.zy-section { margin-top: 34px; }
.zy-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.zy-section__head h2 { margin: 0; font-size: 19px; }
.zy-section__more { font-size: 13px; color: var(--accent); font-weight: 600; }

.zy-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.zy-stat {
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  text-align: center;
}
.zy-stat b { display: block; font-size: 20px; line-height: 1.2; }
.zy-stat span { font-size: 12px; color: var(--muted-fg); }

/* 新闻轮播 */
.zy-news {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}
.zy-news__track {
  display: flex;
  transition: transform .5s var(--ease, ease);
}
.zy-news__item {
  flex: 0 0 100%;
  padding: 18px 18px 14px;
  box-sizing: border-box;
}
.zy-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-news__title {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
}
.zy-news__title:hover { color: var(--accent); }
.zy-news__sum { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted-fg); }
.zy-news__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--border);
}
.zy-news__dots { display: flex; gap: 6px; }
.zy-news__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}
.zy-news__dot.is-active { background: var(--accent); }
.zy-news__hint { font-size: 12px; color: var(--muted-fg); }
.zy-news__empty { padding: 22px; text-align: center; color: var(--muted-fg); font-size: 14px; }
.zy-news__nav { display: flex; gap: 6px; }
.zy-news__nav button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  color: var(--muted-fg);
  cursor: pointer;
}
.zy-news__nav button:hover { border-color: var(--accent); color: var(--accent); }

/* 分类卡片 */
.zy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.zy-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .2s, transform .15s;
}
.zy-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.zy-card h3 { margin: 0 0 6px; font-size: 16px; }
.zy-card p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted-fg); }
.zy-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-card__foot .btn { flex: none; white-space: nowrap; }

/* 列表 */
.zy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.zy-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}
.zy-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
}
.zy-list a:hover { color: var(--accent); }
.zy-list__title { font-weight: 600; font-size: 15px; }
.zy-list__sub { font-size: 13px; color: var(--muted-fg); }
.zy-list__meta { margin-left: auto; font-size: 12px; color: var(--muted-fg); }

.zy-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zy-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-tag.is-active, .zy-tag:hover { border-color: var(--accent); color: var(--accent); }

/* 详情 */
.zy-detail {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}
.zy-detail h1 { margin: 0 0 4px; font-size: 26px; }
.zy-detail__sub { margin: 0 0 16px; font-size: 13px; color: var(--muted-fg); }
.zy-kv { margin: 0; display: grid; gap: 10px; }
.zy-kv > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.zy-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.zy-kv dt { font-size: 13px; color: var(--muted-fg); }
.zy-kv dd { margin: 0; font-size: 14px; line-height: 1.75; }
.zy-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zy-pairs li { font-size: 14px; line-height: 1.7; }
.zy-pairs b { font-weight: 600; }
.zy-source { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }
.zy-caution {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #F2C9C9;
  border-radius: 10px;
  background: #FFF5F5;
  font-size: 13px;
  line-height: 1.7;
  color: #8A2B2B;
}
.zy-prose { font-size: 15px; line-height: 1.9; }
.zy-prose p { margin: 0 0 12px; }

.zy-empty {
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  color: var(--muted-fg);
  font-size: 14px;
}

/* 分页 */
.zy-pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.zy-pager a, .zy-pager span {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted-fg);
  background: var(--card);
}
.zy-pager a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 559px) {
  .zy-hero h1 { font-size: 24px; }
  .zy-detail { padding: 16px; }
  .zy-kv > div { grid-template-columns: 76px 1fr; }
  .zy-list__meta { margin-left: 0; }
}

/* 问诊 */
.zy-consult {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}
.zy-consult__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.zy-field { display: flex; flex-direction: column; gap: 4px; }
.zy-field--wide { grid-column: 1 / -1; }
.zy-field label { font-size: 12px; color: var(--muted-fg); }
.zy-field input,
.zy-field select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg, #fff);
  font-size: 14px;
  color: var(--fg);
}
.zy-field input:focus,
.zy-field select:focus { outline: 2px solid rgba(4, 120, 87, .28); outline-offset: 1px; }

.zy-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.zy-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  color: var(--muted-fg);
  cursor: pointer;
}
.zy-chip:hover { border-color: var(--accent); color: var(--accent); }

.zy-consult__log {
  margin-top: 16px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg, #fafafa);
}
.zy-msg { display: flex; }
.zy-msg--user { justify-content: flex-end; }
.zy-msg__body {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.zy-msg--assistant .zy-msg__body {
  background: var(--card);
  border: 1px solid var(--border);
}
.zy-msg--user .zy-msg__body {
  background: linear-gradient(120deg, var(--accent), var(--accent-sec));
  color: #fff;
}
.zy-msg__note { margin: 4px 0 0; font-size: 11px; color: var(--muted-fg); text-align: left; }

.zy-consult__status { min-height: 18px; margin: 8px 0 0; font-size: 12px; color: var(--muted-fg); }

/* AI 输入区整块独立出来，与上方表单字段区分开 */
.zy-composer {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #BFDFD2;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 100% 0%, #E9F6EF 0%, rgba(233, 246, 239, 0) 58%),
    #F7FBF9;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.zy-composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, .10), 0 6px 18px rgba(4, 120, 87, .08);
}
.zy-composer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 10px;
}
.zy-composer__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--accent), var(--accent-sec));
  color: #fff;
}
.zy-composer__mark svg { width: 15px; height: 15px; display: block; }
.zy-composer__title { font-size: 14px; font-weight: 600; color: var(--fg); }
.zy-composer__hint { margin-left: auto; font-size: 11.5px; color: var(--muted-fg); white-space: nowrap; }

.zy-consult__form { display: flex; gap: 8px; align-items: flex-end; }
.zy-consult__form textarea {
  flex: 1 1 auto;
  min-height: 72px;
  max-height: 160px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  resize: none;
}
.zy-consult__form textarea::placeholder { color: var(--muted-fg); opacity: .9; }
.zy-consult__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, .12);
}
.zy-consult__form button {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-sec));
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease, box-shadow .18s ease, transform .15s ease;
}
.zy-consult__form button:hover { box-shadow: 0 4px 12px rgba(4, 120, 87, .26); }
.zy-consult__form button:active { transform: scale(.97); }
.zy-consult__form button:focus-visible { outline: 2px solid var(--accent-sec); outline-offset: 2px; }
.zy-consult__form button[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.zy-consult__disc { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }

@media (max-width: 559px) {
  .zy-consult { padding: 14px; }
  .zy-msg__body { max-width: 92%; }
  .zy-composer { padding: 10px; border-radius: 14px; }
  .zy-composer__hint { display: none; }
  .zy-consult__form { flex-direction: column; align-items: stretch; }
  .zy-consult__form button { width: 100%; }
  .zy-consult__form textarea { min-height: 84px; }
}

/* ---------- 自绘图解 ---------- */
.zy-art { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.zy-art svg { width: 18px; height: 18px; display: block; }
.zy-art--lg svg { width: 30px; height: 30px; }

.zy-tone--t1 { --zy-bg: #E9F5EF; --zy-fg: #0F6B4F; --zy-line: #BFDDD0; }
.zy-tone--t2 { --zy-bg: #FDF2E1; --zy-fg: #8A5216; --zy-line: #EBD3AE; }
.zy-tone--t3 { --zy-bg: #EAF1FA; --zy-fg: #245A8C; --zy-line: #C6D8EC; }
.zy-tone--t4 { --zy-bg: #FBECEC; --zy-fg: #8A2B2B; --zy-line: #EDCBCB; }
.zy-tone--t5 { --zy-bg: #F1EDFA; --zy-fg: #5B3F8C; --zy-line: #D6CBEC; }
.zy-tone--t6 { --zy-bg: #E8F4F5; --zy-fg: #14606A; --zy-line: #C3E0E3; }

/* 首页 hero 图解条 */
.zy-hero__art {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.zy-hero__artitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px 10px;
  border: 1px solid var(--zy-line, var(--border));
  border-radius: 14px;
  background: var(--zy-bg, var(--card));
  color: var(--zy-fg, var(--fg));
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.zy-hero__artitem b { font-size: 12px; }
.zy-hero__artitem i { font-size: 11px; font-style: normal; opacity: .72; }
.zy-hero__artitem:hover,
.zy-hero__artitem:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.zy-hero__artitem:active { transform: translateY(0); }
.zy-hero__artitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 卡片图标 */
.zy-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.zy-card__head h3 { margin: 0; }
.zy-card__art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-card__art .zy-art svg { width: 21px; height: 21px; }
.zy-card__head h3 { flex: 1 1 auto; }

.zy-section__head h2 { display: inline-flex; align-items: center; gap: 8px; }
.zy-section__head h2 .zy-art { color: var(--accent); }

/* 新闻缩略图 */
.zy-news__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.zy-news__body { min-width: 0; }
.zy-news__thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 104px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--zy-line, var(--border));
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-news__thumb-tag { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.zy-news__item .zy-news__title { margin-top: 6px; }

/* 症状图标 */
.zy-syms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zy-sym {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg, #fff);
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-sym .zy-art svg { width: 13px; height: 13px; }

/* 穴位徽标 */
.zy-pointbadge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--zy-line, var(--border));
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-pointbadge__code { font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.zy-pointbadge__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }

/* 图解容器 */
.zy-figure {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg, #fafafa);
}
.zy-figure__cap {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-fg);
}

/* 性味归经图 */
.zy-herbmap { display: flex; flex-direction: column; gap: 10px; }
.zy-herbmap__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.zy-herbmap__k { font-size: 12px; color: var(--muted-fg); }
.zy-herbmap__scale { min-width: 0; }
.zy-herbmap__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #BBD6EA, #E7EEF2 50%, #EFC7B5);
}
.zy-herbmap__mark {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  border: 3px solid var(--card, #fff);
  background: var(--accent, #047857);
  box-shadow: 0 0 0 1px var(--border);
  transform: translateY(-50%);
}
.zy-herbmap__axis { display: flex; justify-content: space-between; margin-top: 3px; font-size: 11px; color: var(--muted-fg); }
.zy-herbmap__cur { font-size: 13px; font-weight: 600; }
.zy-flavors { display: flex; flex-wrap: wrap; gap: 4px; }
.zy-flavor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-flavor.is-on {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(4, 120, 87, .08);
  color: var(--accent);
  font-weight: 700;
}
.zy-mers { display: flex; flex-wrap: wrap; gap: 5px; }
.zy-mer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 12px;
}
.zy-mer .zy-art svg { width: 12px; height: 12px; color: var(--accent); }
.zy-mer.is-empty { color: var(--muted-fg); }

/* 链路图（方剂/医案） */
.zy-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zy-flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  min-width: 0;
}
.zy-flow__step:not(:first-child)::before {
  content: '→';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted-fg);
}
.zy-flow__ico { color: var(--accent); }
.zy-flow__ico .zy-art svg { width: 18px; height: 18px; }
.zy-flow__k { font-size: 11px; color: var(--muted-fg); }
.zy-flow__v {
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 理论概念图 */
.zy-theorymap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--zy-line, var(--border));
  border-radius: 12px;
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-theorymap__ico { flex: 0 0 auto; }
.zy-theorymap__body { min-width: 0; }
.zy-theorymap__cat { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.zy-concepts { display: flex; flex-wrap: wrap; gap: 5px; }
.zy-concept {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  font-size: 12px;
  color: inherit;
}

/* 详情页图解间距 */
.zy-detail .zy-figure { margin-top: 16px; }

@media (max-width: 559px) {
  .zy-news__item { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .zy-news__thumb { width: 76px; border-radius: 10px; }
  .zy-news__thumb .zy-art svg { width: 22px; height: 22px; }
  .zy-news__thumb-tag { font-size: 10px; }
  .zy-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .zy-flow__step:not(:first-child)::before { content: '↓'; left: 50%; top: -15px; transform: translateX(-50%); }
  .zy-herbmap__row { grid-template-columns: 40px minmax(0, 1fr); }
  .zy-herbmap__cur { grid-column: 1 / -1; }
  .zy-theorymap { gap: 10px; padding: 12px; }
}

/* 图例说明 */
.zy-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.zy-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.zy-legend__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-legend__item b { font-size: 13px; }
.zy-legend__item p { margin: 3px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }

/* 列表图标 */
.zy-list__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--zy-bg, #F2F5F3);
  color: var(--zy-fg, var(--accent));
}
.zy-list__ico .zy-art svg { width: 17px; height: 17px; }

/* 穴位详情头部 */
.zy-pointdetail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg, #fafafa);
}
.zy-pointdetail__body { min-width: 0; }
.zy-pointdetail__k { margin: 0; font-size: 12px; color: var(--muted-fg); }
.zy-pointdetail .zy-syms { margin-top: 6px; }

/* 实拍图 / 示意图 */
.zy-photo {
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg, #fff);
}
.zy-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f7f7f5;
}
.zy-photo__cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-fg);
  border-top: 1px solid var(--border);
}
.zy-photo__src a { color: var(--accent); text-decoration: none; }
.zy-photo__src a:hover { text-decoration: underline; }
@media (max-width: 559px) {
  .zy-photo img { max-height: 300px; }
}
