/* ============================================================
   组件层
   ============================================================ */

/* 内联小字块：避免 span 默认同行 */
.user-name, .user-meta, .quick-title, .quick-sub, .rd-name, .rd-sub,
.fc-author .name, .fc-author .sub, .author .a-name, .author .a-sub,
.mr-title, .mr-sub, .sr-title, .sr-sub, .mi-title, .mi-meta { display: block; }
.pc-head .follow-mini { margin-left: auto; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  display: grid;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(31, 48, 42, 0.08);
  box-shadow: var(--shadow);
  background: #eee6d7;
  isolation: isolate;
}
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 360px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s var(--ease);
  position: relative;
}
.hero-slide.is-on { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide[data-pal="sage"] {
  background:
    radial-gradient(520px 320px at 88% 12%, rgba(255, 252, 246, 0.55), transparent 62%),
    linear-gradient(118deg, #f1f0e2 0%, #e2ead9 52%, #d3e0d4 100%);
}
.hero-slide[data-pal="peach"] {
  background:
    radial-gradient(520px 320px at 88% 12%, rgba(255, 252, 246, 0.5), transparent 62%),
    linear-gradient(118deg, #f7eee1 0%, #f6e4d2 55%, #efd3bf 100%);
}
.hero-slide[data-pal="sky"] {
  background:
    radial-gradient(520px 320px at 88% 12%, rgba(255, 252, 246, 0.5), transparent 62%),
    linear-gradient(118deg, #eef0e5 0%, #e3eae4 52%, #d5e3e4 100%);
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding: 38px 18px 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  backdrop-filter: blur(6px);
}
.hero-kicker .ic { width: 12px; height: 12px; }
.hero h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.25vw, 43px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 7px;
  background: rgba(232, 131, 78, 0.26);
  border-radius: 99px;
  z-index: -1;
}
.hero-slide[data-pal="peach"] h1 em { color: #b95a2c; }
.hero-slide[data-pal="peach"] h1 em::after { background: rgba(47, 99, 83, 0.18); }
.hero-desc {
  margin-top: 13px;
  max-width: 33em;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-actions .btn-primary { padding: 12px 20px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 10.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hero-meta .ic { width: 13px; height: 13px; opacity: 0.7; }
.hero-meta b { font-weight: 700; }

.hero-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.hero-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-char {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(150px, 17vw, 226px);
  font-weight: 500;
  line-height: 1;
  color: rgba(47, 99, 83, 0.16);
  user-select: none;
  letter-spacing: -0.04em;
}
.hero-slide[data-pal="peach"] .hero-char { color: rgba(185, 90, 44, 0.17); }
.hero-slide[data-pal="sky"] .hero-char { color: rgba(55, 98, 111, 0.14); }
.hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(255, 252, 246, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px -20px rgba(31, 48, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-2);
  animation: floaty 7s ease-in-out infinite;
}
.hero-float .ic { width: 14px; height: 14px; color: var(--green); }
.hero-float b { font-weight: 700; color: var(--ink); }
.hero-float.f1 { right: 12%; top: 17%; animation-delay: -1.2s; }
.hero-float.f2 { left: 6%; bottom: 15%; animation-delay: -3.4s; }
.hero-float.f3 { right: 8%; bottom: 8%; animation-delay: -2s; }

.hero-dots {
  position: absolute;
  left: 40px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-dots button {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(31, 48, 42, 0.22);
  transition: width 0.35s var(--ease), background 0.3s;
}
.hero-dots button.is-on { width: 22px; background: var(--green); }

/* ---------- 快捷入口 ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin: 16px 0 2px;
}
.quick {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.72);
  text-align: left;
  transition: transform 0.22s var(--ease), background 0.2s, box-shadow 0.2s;
}
.quick:hover { transform: translateY(-2px); background: var(--card); box-shadow: var(--shadow-soft); }
.quick-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
}
.quick-ico .ic { width: 18px; height: 18px; }
.quick-ico.peach { background: var(--peach-soft); color: var(--peach-deep); }
.quick-ico.honey { background: var(--honey-soft); color: #8a631f; }
.quick-ico.sky { background: var(--sky-soft); color: #37626f; }
.quick-title { font-size: 11.5px; font-weight: 600; line-height: 1.35; }
.quick-sub { font-size: 9.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }

/* ---------- 今日护理 ---------- */
.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(232, 131, 78, 0.09), transparent 60%),
    linear-gradient(120deg, #fffdf8, #f6f0e4);
  position: relative;
  overflow: hidden;
}
.care-copy h2 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.care-copy h2 .tag { font-family: var(--sans); }
.care-copy p { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.care-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 13px; }
.care-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.78);
  font-size: 10.5px;
  color: var(--ink-2);
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.care-item:hover { border-color: var(--line-strong); }
.care-item .care-check {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: transparent;
  background: #fff;
  transition: all 0.25s var(--ease);
}
.care-item .care-check .ic { width: 10px; height: 10px; stroke-width: 3; }
.care-item .care-ico { color: var(--muted); display: inline-flex; }
.care-item .care-ico .ic { width: 14px; height: 14px; }
.care-item.is-done { background: var(--green-mist); border-color: rgba(47, 99, 83, 0.18); }
.care-item.is-done .care-check { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.02); }
.care-item.is-done .care-ico { color: var(--green); }
.care-item.is-done span:last-child { color: var(--green); }
.care-ring { position: relative; width: 88px; height: 88px; justify-self: end; }
.care-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.care-ring .ring-bg { fill: none; stroke: rgba(31, 48, 42, 0.08); stroke-width: 7; }
.care-ring .ring-fg {
  fill: none;
  stroke: var(--green);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s var(--ease);
}
.care-ring .ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.care-ring .ring-label b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.care-ring .ring-label span { font-size: 9px; color: var(--muted); margin-top: 2px; }

/* ---------- 封面色块 ---------- */
.cover-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce8df;
  isolation: isolate;
}
.cover-art.tall { aspect-ratio: 4 / 3; }
.cover-art .ca-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-art .ca-char {
  position: absolute;
  right: 4%;
  bottom: -16%;
  font-family: var(--serif);
  font-size: clamp(80px, 9vw, 126px);
  font-weight: 500;
  line-height: 1;
  color: rgba(31, 48, 42, 0.15);
  letter-spacing: -0.05em;
  user-select: none;
}
.cover-art .ca-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.cover-art .ca-play {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 252, 246, 0.82);
  color: var(--green);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -8px rgba(31, 48, 42, 0.5);
}
.cover-art .ca-play .ic { width: 14px; height: 14px; margin-left: 1px; }
.cover-art .ca-duration {
  position: absolute;
  right: 53px;
  bottom: 20px;
  z-index: 3;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(31, 48, 42, 0.7);
  letter-spacing: 0.04em;
}
.pal-sage { background: linear-gradient(135deg, #e3ecdf 0%, #c9dccd 55%, #b3cdbd 100%); }
.pal-peach { background: linear-gradient(135deg, #faeadb 0%, #f4d3bd 55%, #eebb9e 100%); }
.pal-sky { background: linear-gradient(135deg, #e6efef 0%, #cfe1e3 55%, #b7d2d7 100%); }
.pal-sand { background: linear-gradient(135deg, #f5ecda 0%, #eaddc0 55%, #dcc8a1 100%); }
.pal-clay { background: linear-gradient(135deg, #f6e6df 0%, #ecd0c5 55%, #ddb5a5 100%); }
.pal-lilac { background: linear-gradient(135deg, #f0ecf5 0%, #e0d9eb 55%, #cec3df 100%); }
.pal-sage .ca-char { color: rgba(35, 76, 64, 0.16); }
.pal-peach .ca-char { color: rgba(160, 74, 38, 0.16); }
.pal-sky .ca-char { color: rgba(47, 91, 105, 0.15); }
.pal-sand .ca-char { color: rgba(112, 82, 40, 0.16); }
.pal-clay .ca-char { color: rgba(112, 58, 41, 0.15); }
.pal-lilac .ca-char { color: rgba(83, 65, 112, 0.15); }

/* ---------- 内容卡片 ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.feed-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px -22px rgba(31, 48, 42, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.feed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(31, 48, 42, 0.14); }
.feed-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.02fr 1fr; min-height: 236px; }
.feed-card.feature .cover-art { height: 100%; min-height: 236px; aspect-ratio: auto; }
.feed-card.feature .cover-art .ca-char { font-size: 170px; bottom: -22%; }
.fc-body { padding: 15px 17px 14px; display: flex; flex-direction: column; flex: 1; }
.feature .fc-body { padding: 24px 24px 18px; justify-content: center; }
.fc-kicker { display: flex; align-items: center; gap: 7px; font-size: 9.5px; color: var(--muted); }
.fc-kicker .tag { font-size: 9.5px; }
.fc-title {
  margin-top: 7px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature .fc-title { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.fc-excerpt {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature .fc-excerpt { font-size: 12.5px; -webkit-line-clamp: 3; }
.fc-author { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 13px; }
.fc-author .name { font-size: 10.5px; font-weight: 500; color: var(--ink-2); }
.fc-author .sub { font-size: 9.5px; color: var(--muted-2); }
.fc-author .meta { margin-left: auto; font-size: 9.5px; gap: 9px; }
.fc-author .meta .ic { width: 12px; height: 12px; }

/* 混合流中的求助卡 */
.feed-q {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px 19px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, #fffdf7, #f8f3e8);
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.feed-q:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.feed-q .fq-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-deep); }
.feed-q .fq-title { font-size: 13.5px; font-weight: 600; line-height: 1.55; }
.feed-q .fq-meta { margin-top: 3px; font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.feed-q .fq-side { text-align: center; min-width: 60px; }
.feed-q .fq-side b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--green); }
.feed-q .fq-side span { font-size: 9px; color: var(--muted); }

/* ---------- 内容类型 tabs ---------- */
.tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(31, 48, 42, 0.055);
}
.tabs button {
  padding: 6.5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}
.tabs button:hover { color: var(--ink-2); }
.tabs button.is-on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 2px 7px rgba(31, 48, 42, 0.09); }

/* ---------- 作者 / 互动 ---------- */
.author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.author .a-name { font-size: 11px; font-weight: 600; line-height: 1.3; }
.author .a-sub { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.author .a-badge { display: inline-flex; align-items: center; gap: 2px; font-size: 8.5px; color: var(--green); background: var(--green-mist); padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.author .a-badge .ic { width: 8px; height: 8px; stroke-width: 3; }

.actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
  transition: background 0.2s, color 0.2s;
}
.action:hover { background: rgba(31, 48, 42, 0.05); color: var(--ink-2); }
.action .ic { width: 14px; height: 14px; }
.action.is-on { color: var(--peach-deep); }
.action.is-on .ic { fill: currentColor; }
.action.save.is-on { color: var(--green); }
.action.save.is-on .ic { fill: currentColor; }
.action.push-right { margin-left: auto; }
.action.pop .ic { animation: pop 0.4s var(--ease); }

/* ---------- 问答 ---------- */
.qa-list { display: flex; flex-direction: column; gap: 11px; }
.qa-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 18px;
  padding: 19px 21px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 8px 24px -24px rgba(31, 48, 42, 0.5);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
  cursor: pointer;
}
.qa-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(31, 48, 42, 0.14); }
.qa-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 10.5px; color: var(--muted); }
.qa-top .avatar { width: 26px; height: 26px; font-size: 11px; }
.qa-top b { color: var(--ink-2); font-weight: 600; font-size: 11px; }
.qa-title { margin-top: 8px; font-size: 15.5px; font-weight: 600; line-height: 1.55; letter-spacing: -0.005em; }
.qa-detail {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qa-bottom { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.qa-side {
  border-left: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.qa-count { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--green); }
.qa-count-label { font-size: 9.5px; color: var(--muted); }
.qa-bounty {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--honey-soft);
  color: #8a631f;
  font-size: 9.5px;
  font-weight: 600;
}
.qa-bounty .ic { width: 11px; height: 11px; }

/* ---------- 社区 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 8px 24px -24px rgba(31, 48, 42, 0.5);
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.post-card .pc-body { padding: 15px 17px 13px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-head { display: flex; align-items: center; gap: 8px; }
.post-card .pc-head .follow-mini { margin-left: auto; }
.post-card .pc-title { margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.55; }
.post-card .pc-text {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .pc-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 11px; color: var(--muted); font-size: 9.5px; }
.post-card .pc-foot .meta { gap: 9px; }
.post-card .pc-foot .meta .ic { width: 12px; height: 12px; }

.composer-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.composer-bar:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.composer-bar .fake-input {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 99px;
  background: rgba(31, 48, 42, 0.045);
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- 医生 ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doctor-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 8px 24px -24px rgba(31, 48, 42, 0.5);
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.doc-cover { height: 66px; position: relative; }
.doc-cover .doc-char {
  position: absolute;
  right: 14px;
  bottom: -16px;
  font-family: var(--serif);
  font-size: 82px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.34);
  user-select: none;
}
.doc-online {
  position: absolute;
  left: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 252, 246, 0.75);
  font-size: 9px;
  font-weight: 600;
  color: var(--green);
  backdrop-filter: blur(5px);
}
.doc-online::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #62a97f; }
.doc-online.off { color: var(--muted); }
.doc-online.off::before { background: var(--muted-2); }
.doc-body { padding: 0 17px 15px; display: flex; flex-direction: column; flex: 1; }
.doc-avatar { margin-top: -25px; margin-bottom: 9px; position: relative; z-index: 2; width: max-content; }
.doc-avatar .avatar { border: 3px solid var(--card); box-shadow: 0 8px 18px -12px rgba(31, 48, 42, 0.55); }
.doc-name-row { display: flex; align-items: center; gap: 7px; }
.doc-name-row h3 { font-size: 16px; font-weight: 600; }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1.5px 5px;
  border-radius: 5px;
  background: var(--green-mist);
  color: var(--green);
  font-size: 8.5px;
  font-weight: 600;
}
.verified .ic { width: 8px; height: 8px; stroke-width: 3; }
.doc-sub { margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.doc-tags { margin-top: 9px; }
.doc-tags .tag { font-size: 9.5px; padding: 2px 7px; }
.doc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}
.doc-stats div { text-align: left; }
.doc-stats b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.1; }
.doc-stats span { font-size: 9px; color: var(--muted); }
.doc-card-actions { display: flex; gap: 7px; margin-top: auto; padding-top: 12px; }
.doc-card-actions .btn { flex: 1; padding: 8px 10px; font-size: 11px; }

/* ---------- 积分 / 奖励 ---------- */
.points-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 26px 28px;
  color: #f5f0e4;
  background:
    radial-gradient(420px 260px at 94% 8%, rgba(232, 131, 78, 0.34), transparent 62%),
    radial-gradient(360px 260px at 70% 110%, rgba(229, 180, 91, 0.24), transparent 62%),
    linear-gradient(120deg, #2e5f50, #1e4238);
  box-shadow: 0 24px 50px -30px rgba(24, 48, 40, 0.8);
  isolation: isolate;
}
.points-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: -110px;
  border: 1px solid rgba(247, 242, 231, 0.16);
  border-radius: 50%;
}
.points-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 30px;
  top: -60px;
  border: 1px solid rgba(247, 242, 231, 0.1);
  border-radius: 50%;
}
.points-hero .ph-kicker { font-size: 10px; letter-spacing: 0.14em; opacity: 0.72; display: flex; align-items: center; gap: 6px; }
.points-hero .ph-kicker .ic { width: 13px; height: 13px; }
.points-hero .ph-balance { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; }
.points-hero .ph-balance b { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.points-hero .ph-balance span { font-size: 11px; opacity: 0.7; }
.points-hero .ph-level { display: flex; align-items: center; gap: 10px; margin-top: 13px; max-width: 340px; }
.points-hero .ph-level .bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(247, 242, 231, 0.18); overflow: hidden; }
.points-hero .ph-level .bar i { display: block; height: 100%; width: 64%; border-radius: 99px; background: linear-gradient(90deg, #f0c078, #e8834e); }
.points-hero .ph-level span { font-size: 9.5px; opacity: 0.7; white-space: nowrap; }
.points-hero .ph-actions { display: flex; gap: 9px; margin-top: 20px; position: relative; z-index: 2; }
.points-hero .ph-actions .btn { padding: 9px 16px; font-size: 11.5px; }
.points-hero .ph-actions .btn-white { color: var(--green-deep); }
.points-hero .ph-actions .btn-glass {
  border: 1px solid rgba(247, 242, 231, 0.24);
  color: #f5f0e4;
  background: rgba(255, 255, 255, 0.06);
}
.points-hero .ph-actions .btn-glass:hover { background: rgba(255, 255, 255, 0.12); }
.ph-stamp {
  position: absolute;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  opacity: 0.55;
  letter-spacing: 0.08em;
}

/* 任务 */
.checkin-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}
.checkin-days { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 14px; }
.checkin-day { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.checkin-day .cd-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(31, 48, 42, 0.05);
  border: 1px solid transparent;
}
.checkin-day .cd-label { font-size: 9px; color: var(--muted-2); }
.checkin-day.is-past .cd-dot { background: var(--green-mist); color: var(--green); }
.checkin-day.is-today .cd-dot { background: var(--peach); color: #fff; box-shadow: 0 0 0 4px rgba(232, 131, 78, 0.14); }
.checkin-day.is-today .cd-label { color: var(--peach-deep); font-weight: 600; }
.checkin-day.is-done .cd-dot { background: var(--green); color: #fff; }
.checkin-day .cd-dot .ic { width: 12px; height: 12px; stroke-width: 3; }

.task-list { border-radius: 20px; border: 1px solid var(--line); background: var(--card); padding: 4px 20px; }
.task-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-mist); color: var(--green); flex: none; }
.task-ico .ic { width: 19px; height: 19px; }
.task-ico.peach { background: var(--peach-soft); color: var(--peach-deep); }
.task-ico.honey { background: var(--honey-soft); color: #8a631f; }
.task-ico.sky { background: var(--sky-soft); color: #37626f; }
.task-ico.lilac { background: var(--lilac-soft); color: #5d4b78; }
.task-title { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.task-desc { font-size: 10px; color: var(--muted); margin-top: 2px; }
.task-points { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #9a6a1d; white-space: nowrap; }
.task-row .btn { flex: none; }
.task-row.is-done .task-ico { background: var(--green); color: #fff; }
.task-row.is-done .task-title { color: var(--muted); }

.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  padding: 17px;
  min-height: 158px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.activity-card .ac-char {
  position: absolute;
  right: 4px;
  bottom: -18px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: rgba(31, 48, 42, 0.09);
  pointer-events: none;
}
.activity-card .ac-tag { align-self: flex-start; font-size: 9px; }
.activity-card h4 { margin-top: 10px; font-family: var(--serif); font-size: 17px; line-height: 1.4; position: relative; z-index: 1; }
.activity-card .ac-sub { margin-top: 3px; font-size: 10px; color: var(--muted); position: relative; z-index: 1; }
.activity-card .ac-reward { margin-top: 7px; font-size: 10px; font-weight: 600; color: var(--peach-deep); position: relative; z-index: 1; }
.activity-card .ac-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; position: relative; z-index: 1; }
.activity-card .ac-foot .join { font-size: 9px; color: var(--muted); }
.activity-card .btn { padding: 5px 11px; font-size: 10px; }

.mechanism {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 252, 246, 0.45);
}
.mech-node { text-align: center; }
.mech-node .mn-ico { width: 38px; height: 38px; margin: 0 auto 7px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--green); }
.mech-node b { display: block; font-size: 11.5px; }
.mech-node span { font-size: 9.5px; color: var(--muted); }
.mech-arrow { color: var(--muted-2); }
.mech-arrow .ic { width: 16px; height: 16px; }

/* 商城 */
.mall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.reward-card {
  display: flex;
  flex-direction: column;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.reward-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.reward-card .cover-art { aspect-ratio: 16 / 10; }
.reward-card .cover-art .ca-char { font-size: 92px; bottom: -14%; }
.reward-card .rw-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.reward-card h4 { font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.reward-card .rw-desc { margin-top: 3px; font-size: 9.5px; color: var(--muted); line-height: 1.55; }
.reward-card .rw-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.reward-card .rw-points { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--peach-deep); line-height: 1; }
.reward-card .rw-points small { font-family: var(--sans); font-size: 9px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.reward-card .stock { font-size: 9px; color: var(--muted); }
.reward-card .btn { padding: 6px 12px; font-size: 10px; }
.reward-card.is-out { opacity: 0.55; }

/* ---------- 医生主页 / 个人页 ---------- */
.doc-profile-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(130deg, #eef0e3, #d9e5da);
  padding: 24px 22px 18px;
  margin-bottom: 6px;
}
.doc-profile-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(47, 99, 83, 0.16);
}
.doc-profile-hero .dph-char {
  position: absolute;
  right: 8px;
  bottom: -28px;
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
  color: rgba(47, 99, 83, 0.1);
}
.dph-top { display: flex; align-items: flex-end; gap: 14px; position: relative; z-index: 2; }
.dph-top .avatar { border: 3px solid rgba(255, 252, 246, 0.85); }
.dph-name { display: flex; align-items: center; gap: 7px; }
.dph-name h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.dph-sub { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.dph-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.dph-actions { display: flex; gap: 8px; margin-top: 14px; position: relative; z-index: 2; }
.dph-actions .btn { flex: 1; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.profile-stats div { text-align: center; }
.profile-stats b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.1; }
.profile-stats span { font-size: 9.5px; color: var(--muted); }

.doc-intro { padding: 17px 2px; border-bottom: 1px solid var(--line); }
.doc-intro p { font-size: 12px; line-height: 1.85; color: var(--ink-2); }
.doc-intro .quote {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--green-mist);
  font-family: var(--serif);
  font-size: 12px;
  color: var(--green-deep);
  line-height: 1.75;
}
.schedule {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 48, 42, 0.04);
  font-size: 11px;
  color: var(--ink-2);
}
.schedule .ic { width: 16px; height: 16px; color: var(--green); }

.history-item {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.history-item:last-child { border-bottom: 0; }
.history-item .hi-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--green-mist);
  color: var(--green);
}
.history-item .hi-ico .ic { width: 17px; height: 17px; }
.history-item h4 { font-size: 12px; font-weight: 600; line-height: 1.5; }
.history-item .hi-meta { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.history-item .hi-side { margin-left: auto; color: var(--muted-2); }

/* ---------- 个人中心 ---------- */
.profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(232, 131, 78, 0.16), transparent 60%),
    linear-gradient(120deg, #fffdf8, #f5eee1);
  border: 1px solid var(--line);
}
.profile-hero .ph-char {
  position: absolute;
  right: 12px;
  bottom: -30px;
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
  color: rgba(31, 48, 42, 0.055);
}
.profile-hero .prof-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.profile-hero h2 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.profile-hero .prof-baby { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.profile-hero .prof-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.profile-hero .prof-edit { position: absolute; right: 18px; top: 18px; z-index: 3; }
.profile-stats-lg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-strong);
  position: relative;
  z-index: 2;
}
.profile-stats-lg div { text-align: center; }
.profile-stats-lg b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.profile-stats-lg span { font-size: 9.5px; color: var(--muted); }

.ad-file { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ad-file .af-item { padding: 11px 13px; border-radius: 12px; background: rgba(31, 48, 42, 0.035); }
.ad-file .af-item span { display: block; font-size: 9.5px; color: var(--muted); }
.ad-file .af-item b { display: block; font-size: 11.5px; font-weight: 600; margin-top: 2px; }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.menu-card { border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.follow-mini { flex: none; white-space: nowrap; }
.pc-head .follow-mini { padding: 4px 9px; font-size: 9.5px; }
.redemption-row .rd-art .cover-art { width: 100%; height: 100%; aspect-ratio: auto; }
.redemption-row .rd-art .ca-char { font-size: 22px; bottom: 2px; }
.redemption-row .rd-art .ca-tag { display: none; }
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background 0.2s;
}
.menu-row:last-child { border-bottom: 0; }
.menu-row:hover { background: rgba(31, 48, 42, 0.03); }
.menu-row .mr-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-mist); color: var(--green); }
.menu-row .mr-ico .ic { width: 15px; height: 15px; }
.menu-row .mr-title { font-size: 12px; font-weight: 500; }
.menu-row .mr-sub { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.menu-row .mr-arrow { margin-left: auto; color: var(--muted-2); }
.menu-row .mr-arrow .ic { width: 15px; height: 15px; }

.role-switch-card {
  padding: 17px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}
.role-switch-card h4 { font-size: 12.5px; }
.role-switch-card p { font-size: 10px; color: var(--muted); margin: 3px 0 10px; }
.role-switch-card .role-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.role-switch-card .role-btn {
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.6);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
}
.role-switch-card .role-btn .ic { width: 17px; height: 17px; }
.role-switch-card .role-btn:hover { border-color: var(--line-strong); }
.role-switch-card .role-btn.is-on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- 工作台 / 后台 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.stat-card {
  padding: 15px 16px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
}
.stat-card .sc-label { font-size: 9.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.stat-card .sc-value { margin-top: 5px; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.stat-card .sc-value small { font-family: var(--sans); font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.stat-card .sc-delta { margin-top: 4px; font-size: 9px; color: var(--green); display: flex; align-items: center; gap: 3px; }
.stat-card .sc-delta.down { color: var(--danger); }
.stat-card .sc-ico { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--green-mist); color: var(--green); }
.stat-card .sc-ico .ic { width: 14px; height: 14px; }
.stat-card.accent { background: linear-gradient(135deg, #2f6353, #244d41); color: #f7f2e7; border-color: transparent; }
.stat-card.accent .sc-label, .stat-card.accent .sc-value small, .stat-card.accent .sc-delta { color: rgba(247, 242, 231, 0.7); }
.stat-card.accent .sc-ico { background: rgba(255, 255, 255, 0.14); color: #f7f2e7; }

.panel { border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px 12px; }
.panel-head h3 { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.panel-head h3 .ic { width: 16px; height: 16px; color: var(--green); }
.panel-head .tiny { color: var(--muted); }
.panel-body { padding: 0 18px 16px; }
.panel-body.pad { padding: 14px 18px 18px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 118px; padding-top: 6px; }
.bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .bar-col i { display: block; width: 100%; max-width: 26px; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4f8371, #2f6353); transition: height 0.4s var(--ease); }
.bars .bar-col:nth-child(2n) i { background: linear-gradient(180deg, #ecc39d, #e8834e); }
.bars .bar-col span { font-size: 8.5px; color: var(--muted); }
.chart-legend { display: flex; gap: 12px; font-size: 9px; color: var(--muted); margin-top: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 4px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--green); }
.chart-legend i.peach { background: var(--peach); }

.inbox-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.inbox-item:last-child { border-bottom: 0; }
.inbox-item .ib-body { flex: 1; min-width: 0; }
.inbox-item h4 { font-size: 11.5px; font-weight: 600; line-height: 1.55; }
.inbox-item .ib-meta { margin-top: 3px; font-size: 9.5px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; }
.inbox-item .ib-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.inbox-item .ib-side .bounty { font-size: 9px; color: #9a6a1d; font-weight: 600; }

.audit-item { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.audit-item:last-child { border-bottom: 0; }
.audit-item .au-top { display: flex; align-items: center; gap: 7px; }
.audit-item .au-title { font-size: 11.5px; font-weight: 600; line-height: 1.5; }
.audit-item .au-meta { font-size: 9.5px; color: var(--muted); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.audit-item .au-actions { display: flex; gap: 6px; margin-top: 8px; }

.config-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.config-row:last-child { border-bottom: 0; }
.config-row .cfg-label { font-size: 11.5px; }
.config-row .cfg-sub { font-size: 9.5px; color: var(--muted); }
.stepper { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.stepper button { width: 24px; height: 24px; border-radius: 7px; background: rgba(31, 48, 42, 0.06); display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { background: rgba(31, 48, 42, 0.12); }
.stepper button .ic { width: 12px; height: 12px; }
.stepper b { min-width: 22px; text-align: center; font-size: 12px; font-weight: 600; }

.ticket-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row .tk-type { padding: 2px 7px; border-radius: 6px; font-size: 8.5px; font-weight: 600; background: var(--sky-soft); color: #37626f; }
.ticket-row .tk-type.doctor { background: var(--lilac-soft); color: #5d4b78; }
.ticket-row .tk-title { font-size: 11.5px; font-weight: 500; }
.ticket-row .tk-meta { font-size: 9px; color: var(--muted); margin-top: 1px; }
.ticket-row .tk-side { margin-left: auto; flex: none; }

/* ---------- 文章 / 问答详情 ---------- */
.article-hero { margin: -20px -24px 0; }
.article-hero .cover-art { aspect-ratio: 16 / 8; }
.article-hero .cover-art .ca-char { font-size: 190px; bottom: -30%; }
.article-head { padding: 20px 0 6px; }
.article-head h1 { font-family: var(--serif); font-size: 26px; line-height: 1.5; letter-spacing: -0.01em; }
.article-head .meta { margin-top: 10px; }
.article-author { display: flex; align-items: center; gap: 9px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.article-author .aa-name { font-size: 12px; font-weight: 600; }
.article-author .aa-sub { font-size: 10px; color: var(--muted); }
.article-author .btn { margin-left: auto; }
.article-body { padding: 18px 0 4px; }
.article-body p { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 14px; }
.article-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 22px 0 9px;
  padding-left: 11px;
  border-left: 3px solid var(--peach);
  line-height: 1.5;
}
.article-body ul { margin: 0 0 15px; display: flex; flex-direction: column; gap: 8px; }
.article-body li {
  position: relative;
  padding: 11px 13px 11px 32px;
  border-radius: 12px;
  background: rgba(31, 48, 42, 0.035);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--peach);
}
.article-body blockquote {
  margin: 18px 0;
  padding: 15px 17px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--green-mist), rgba(255, 252, 246, 0.4));
  border-left: 3px solid var(--green);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
  color: var(--green-deep);
}
.article-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclaimer {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(31, 48, 42, 0.035);
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  display: flex;
  gap: 7px;
}
.disclaimer .ic { width: 14px; height: 14px; margin-top: 2px; flex: none; }

.question-detail .qd-title { font-family: var(--serif); font-size: 23px; line-height: 1.55; letter-spacing: -0.01em; }
.question-detail .qd-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.question-detail .qd-body { margin-top: 14px; padding: 15px 16px; border-radius: 14px; background: rgba(31, 48, 42, 0.035); font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }
.question-detail .qd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.answer-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 6px; }
.answer-head h3 { font-size: 13px; font-weight: 600; }
.answer-head span { font-size: 10px; color: var(--muted); }
.answer-item { padding: 15px 0; border-bottom: 1px dashed var(--line); }
.answer-item:last-child { border-bottom: 0; }
.answer-item .an-top { display: flex; align-items: center; gap: 9px; }
.answer-item .an-name { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.answer-item .an-sub { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.answer-item .an-text { margin-top: 9px; font-size: 12.5px; line-height: 1.95; color: var(--ink-2); }
.answer-item .an-foot { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.answer-item.adopted { background: linear-gradient(120deg, rgba(220, 232, 223, 0.5), transparent); border-radius: 12px; padding: 15px 13px; margin: 0 -13px; }
.adopt-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 5px; background: var(--green); color: #fff; font-size: 8.5px; font-weight: 600; }
.adopt-badge .ic { width: 9px; height: 9px; stroke-width: 3; }
.answer-compose { margin-top: 16px; }
.answer-compose textarea { min-height: 90px; }

/* 评论 */
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 9px; }
.comment .c-body { flex: 1; min-width: 0; }
.comment .c-top { display: flex; align-items: center; gap: 7px; }
.comment .c-name { font-size: 11px; font-weight: 600; }
.comment .c-time { font-size: 9px; color: var(--muted-2); }
.comment .c-text { margin-top: 3px; font-size: 11.5px; line-height: 1.8; color: var(--ink-2); }
.comment-input { display: flex; gap: 8px; align-items: flex-end; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.comment-input .input { flex: 1; }
.comment-input .btn { flex: none; }

/* 搜索 */
.search-box { position: relative; }
.search-box .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search-box .input { padding-left: 42px; height: 46px; border-radius: 14px; font-size: 14px; }
.search-groups { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.search-group h4 { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.search-result {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  text-align: left;
  transition: background 0.2s;
}
.search-result:hover { background: rgba(31, 48, 42, 0.045); }
.search-result .sr-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-mist); color: var(--green); flex: none; }
.search-result .sr-ico .ic { width: 14px; height: 14px; }
.search-result .sr-title { font-size: 11.5px; font-weight: 500; line-height: 1.45; }
.search-result .sr-sub { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.search-result .ic.chevron { margin-left: auto; width: 14px; height: 14px; color: var(--muted-2); }
.search-suggest { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- 入驻 / 兑换 / 成功态 ---------- */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
}
.step .s-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 48, 42, 0.06);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  flex: none;
}
.step.is-on .s-dot { background: var(--green); color: #fff; }
.step.is-on { color: var(--ink); font-weight: 600; }
.step.is-done .s-dot { background: var(--green-soft); color: var(--green); }
.step-line { height: 1px; flex: 1; background: var(--line-strong); }
.onboard-step { display: none; }
.onboard-step.is-on { display: block; animation: rise 0.3s var(--ease) both; }
.upload-box {
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(31, 48, 42, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-box:hover { border-color: var(--green); background: var(--green-mist); }
.upload-box .ic { width: 22px; height: 22px; margin-bottom: 6px; color: var(--green); }
.upload-box b { display: block; font-size: 11.5px; color: var(--ink-2); }
.upload-box span { font-size: 9.5px; }
.onboard-actions { display: flex; gap: 8px; margin-top: 18px; }
.onboard-actions .btn { flex: 1; }

.redeem-confirm { text-align: center; padding: 4px 0 6px; }
.redeem-confirm .rc-art { width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 24px; overflow: hidden; }
.redeem-confirm h3 { font-family: var(--serif); font-size: 20px; }
.redeem-confirm .rc-points { margin-top: 6px; font-family: var(--serif); font-size: 26px; color: var(--peach-deep); }
.redeem-confirm p { margin-top: 6px; font-size: 11px; color: var(--muted); }
.success-state { text-align: center; padding: 18px 8px 6px; }
.success-state .succ-ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(47, 99, 83, 0.8);
  animation: pop 0.5s var(--ease);
}
.success-state .succ-ico .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.success-state h3 { font-family: var(--serif); font-size: 22px; }
.success-state p { margin-top: 6px; font-size: 11.5px; color: var(--muted); line-height: 1.75; }
.success-state .btn { margin-top: 18px; }

/* ---------- 通用小件 ---------- */
.banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(232, 131, 78, 0.16), transparent 60%),
    linear-gradient(120deg, #f2eee1, #e9e2d2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.banner .bn-char {
  position: absolute;
  right: 10px;
  bottom: -28px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: rgba(31, 48, 42, 0.06);
}
.banner h3 { font-family: var(--serif); font-size: 18px; }
.banner p { font-size: 10.5px; color: var(--muted); margin-top: 3px; max-width: 34em; }
.banner .btn { margin-left: auto; flex: none; position: relative; z-index: 1; }

.online-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 15px;
  background: rgba(255, 252, 246, 0.6);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.online-strip::-webkit-scrollbar { display: none; }
.online-strip .os-label { font-size: 9.5px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.online-strip .os-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #62a97f; }
.online-strip .os-person { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.online-strip .os-person span { font-size: 8.5px; color: var(--muted); }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.filter-bar .grow-line { flex: 1; min-width: 10px; }
.filter-search {
  position: relative;
  min-width: 180px;
  flex: 1;
  max-width: 260px;
}
.filter-search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.filter-search .input { padding: 8px 12px 8px 33px; border-radius: 99px; font-size: 11.5px; background: rgba(255, 252, 246, 0.7); }

.topic-grid { display: flex; flex-wrap: wrap; gap: 6px; }

.mini-stats { display: flex; gap: 18px; padding: 3px 2px 0; flex-wrap: wrap; }
.mini-stat { display: flex; align-items: baseline; gap: 5px; }
.mini-stat b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.mini-stat span { font-size: 9.5px; color: var(--muted); }

.kpi-num { font-family: var(--serif); font-size: 24px; font-weight: 600; }

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.load-more:hover { border-color: var(--green); color: var(--green); background: rgba(47, 99, 83, 0.03); }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 48, 42, 0.045);
  font-size: 9.5px;
  color: var(--muted);
}
.pill-note .ic { width: 11px; height: 11px; }
