:root {
  --ink: #183a3b;
  --ink-soft: #506a6b;
  --blue: #dceff3;
  --blue-strong: #2b6f77;
  --green: #dcece2;
  --green-strong: #39715c;
  --warm: #f4eee5;
  --paper: #fbfcfa;
  --white: #ffffff;
  --line: #cedcda;
  --focus: #155d6a;
  --shadow: 0 16px 40px rgba(35, 69, 67, 0.09);
  --radius: 8px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #8baaa5 #edf3f1;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: #edf3f1;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: #8baaa5;
  border: 2px solid #edf3f1;
  border-radius: 5px;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ===== 下拉框统一外观 =====
   全站唯一的 select 视觉来源：胶囊圆角 + 自绘下箭头。
   各处只负责宽度/布局，不要再单独写 border / border-radius / background，
   否则会出现粗细、圆角不一致。 */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 8px 38px 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23506a6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

select:hover {
  border-color: var(--blue-strong);
}

select:focus,
select:focus-visible {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(43, 111, 119, 0.15);
}

select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== 自定义下拉（dropdown.js）=====
   原生 select 的展开面板由系统渲染，无法套用页面样式，
   所以把它藏起来当状态载体，用下面这套接管外观。 */
.dd {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.dd-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 18px 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dd-trigger::after {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23506a6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / 14px 14px;
  transition: transform 180ms ease;
}

.dd-open .dd-trigger::after {
  transform: rotate(180deg);
}

.dd-trigger:hover {
  border-color: var(--blue-strong);
}

.dd-trigger:focus,
.dd-trigger:focus-visible {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(43, 111, 119, 0.15);
}

.dd-trigger.is-placeholder {
  color: var(--ink-soft);
}

.dd-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-height: 264px;
  overflow-y: auto;
}

.dd-option {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.dd-option.is-active,
.dd-option:hover {
  background: #eef5f4;
}

.dd-option.is-selected {
  background: var(--blue-strong);
  color: var(--white);
  font-weight: 600;
}

.dd-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: transparent;
}

:focus-visible {
  outline: 3px solid rgba(21, 93, 106, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(159, 181, 178, 0.65);
  background: rgba(251, 252, 250, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

/* 品牌英文标识：跟在中文品牌名后面，弱化的字距排版 */
.brand-en {
  margin-left: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  vertical-align: 0.18em;
}

/* 品牌后缀：｜心理护航陪伴者 */
.brand-tag {
  margin-left: 1px;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand-tag {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-en {
    margin-left: 5px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green);
  color: var(--ink);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(590px, calc(100vh - 72px));
  align-items: center;
  overflow: hidden;
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 92px;
  background-color: #2b6f77;
  background-image: url("assets/home-bg.jpg?v=20261026");
  background-position: center;
  background-size: cover;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(43, 111, 119, 0.42);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 700;
}

.home-hero h1 {
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: 116px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin: 28px 0 36px;
  color: #2b5050;
  font-size: 24px;
  line-height: 1.55;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  background: #285354;
  transform: translateY(-1px);
}

.primary-link:active {
  transform: translateY(0);
}

.image-status {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(251, 252, 250, 0.9);
  color: var(--ink-soft);
  font-size: 12px;
}

.branch-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px 36px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* 四张入口卡片：宽屏一行四个；中等宽度改两行两列，
   避免 3 列布局把第四张挤到下一行落单。≤860px 由下方媒体查询接管为单列。 */
@media (max-width: 1120px) {
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.branch-card {
  display: grid;
  min-height: 310px;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 75, 73, 0.04);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.branch-card:hover {
  border-color: #94b5b0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.branch-card--assessment {
  border-top: 5px solid #8ab1bb;
}

.branch-card--education {
  border-top: 5px solid #8eb39d;
}

.branch-card--guide {
  border-top: 5px solid #c2a77c;
}
.branch-card--cbt {
  border-top: 5px solid #9aa8c9;
}

.branch-number {
  color: #78918e;
  font-family: Georgia, serif;
  font-size: 20px;
}

.branch-type {
  margin: 0 0 8px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 700;
}

.branch-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.branch-card p:not(.branch-type) {
  margin: 0;
  color: var(--ink-soft);
}

.branch-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.branch-card > a:hover {
  color: var(--blue-strong);
}

.notice-panel {
  display: grid;
  max-width: 1132px;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  margin: 28px auto 80px;
  padding: 24px;
  border-left: 4px solid #85aaa3;
  background: #edf4f1;
}

.notice-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.companion-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 76px;
}

.companion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.companion-card {
  display: grid;
  min-height: 210px;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 75, 73, 0.04);
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.companion-card:hover {
  border-color: #94b5b0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.companion-card--warm {
  border-color: #e3d9c6;
  background: var(--warm);
}

.companion-icon {
  margin: 0;
  font-size: 28px;
}

.companion-msg {
  margin: 0;
  color: var(--blue-strong);
  font-size: 20px;
  font-weight: 600;
}

.companion-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.companion-count strong {
  color: var(--ink);
  font-size: 20px;
}

.companion-btn {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.companion-btn--ghost {
  border: 1px solid var(--blue-strong);
  background: transparent;
  color: var(--blue-strong);
}

.companion-btn--ghost:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.companion-btn--solid {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.companion-btn--solid:hover {
  background: #285354;
  transform: translateY(-1px);
}

/* 点过一次后的「谢谢你」：不再是可点的按钮，用浅底弱色表明已完成 */
.companion-btn:disabled {
  cursor: default;
  transform: none;
}

.companion-btn--solid:disabled {
  border-color: var(--line);
  background: #edf2f0;
  color: var(--ink-soft);
  font-weight: 600;
}

@media (max-width: 720px) {
  .companion-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #e8f1ef;
  color: #365655;
  font-size: 13px;
}

.page-main {
  min-height: 70vh;
}

.page-intro {
  padding: 42px max(24px, calc((100vw - 1180px) / 2)) 62px;
  border-bottom: 1px solid var(--line);
  background: var(--blue);
}

.page-intro--education {
  background: var(--green);
}

.page-intro--guide {
  background: var(--warm);
}

.page-intro h1 {
  margin: 8px 0 12px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
}

.page-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumb a {
  text-underline-offset: 3px;
}

.page-disclaimer {
  display: grid;
  max-width: 1132px;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 24px;
  margin: 26px auto 0;
  padding: 16px 20px;
  border: 1px solid #bdd0cc;
  border-radius: 6px;
  background: #f2f7f5;
  color: var(--ink-soft);
}

.page-disclaimer strong {
  color: var(--ink);
}

.page-disclaimer p {
  margin: 0;
}

.content-browser,
.api-reference {
  max-width: 1132px;
  margin: 0 auto;
}

.content-browser {
  padding: 56px 0 22px;
}

.browser-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.browser-heading h2,
.api-reference h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 750;
}

/* 合并页「就医流程」版面：暖色 kicker 呼应原就医页主题 */
.content-browser--guide .section-kicker {
  color: #a8854f;
}

.browser-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-color: #9eb9b4 #edf3f1;
  scrollbar-width: thin;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid #b6c9c6;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 14px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.category-tabs button:hover {
  border-color: #719892;
  color: var(--ink);
}

.category-tabs button:active {
  background: #e5efec;
}

.category-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.category-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.content-panel {
  min-height: 380px;
  padding-top: 12px;
}

.placeholder-card {
  display: grid;
  min-height: 350px;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(35, 69, 67, 0.05);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 700;
}

.placeholder-card h3 {
  margin: 0;
  font-size: 24px;
}

.card-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.card-body {
  min-height: 110px;
  padding: 20px;
  border: 1px dashed #afc5c1;
  border-radius: 5px;
  background: #f7faf8;
  color: #6d807e;
}

.placeholder-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.api-reference {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr);
  gap: 36px;
  margin-top: 34px;
  margin-bottom: 72px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4f8f6;
}

.api-reference p:not(.section-kicker) {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.api-reference > code {
  align-self: center;
  padding: 14px;
  border-radius: 5px;
  background: #e1ece8;
  overflow-wrap: anywhere;
}

.api-reference pre {
  grid-column: 2;
  margin: -12px 0 0;
  padding: 14px;
  overflow-x: auto;
  border-radius: 5px;
  background: #1d3b3b;
  color: #e9f2ef;
  font-size: 13px;
}

.endpoint-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.endpoint-list li {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 5px;
  background: #e1ece8;
}

.endpoint-list span {
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-notice {
  font-weight: 700;
}

.footer-hotline {
  margin-top: 8px !important;
}

.footer-hotline span {
  margin-right: 10px;
  color: var(--green-strong);
  font-weight: 700;
}

.footer-hotline i::after {
  content: "·";
  margin: 0 8px;
  font-style: normal;
}

.footer-brand {
  margin-top: 20px !important;
  color: #6d8582;
}

.footer-copy {
  margin-top: 12px !important;
  color: #6d8582;
}

.footer-links {
  margin-top: 6px !important;
  color: #6d8582;
}

.footer-links a {
  color: var(--green-strong);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== 信息页（常见问题 / 关于我们 / 支持我们）===== */
.info-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.info-block {
  margin-bottom: 40px;
}

.info-block h2 {
  margin: 0 0 14px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 26px;
  font-weight: 600;
}

.info-block p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 75, 73, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--green-strong);
  font-size: 18px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 10px;
  }

  .site-nav {
    width: 100%;
  }

  .home-hero {
    min-height: 560px;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .branch-card {
    min-height: 250px;
  }

  .page-disclaimer,
  .content-browser,
  .api-reference {
    margin-inline: 24px;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .home-hero {
    min-height: 520px;
    padding-block: 60px 72px;
  }

  .home-hero h1 {
    font-size: 72px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .notice-panel {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-inline: 24px;
  }

  .page-intro h1 {
    font-size: 40px;
  }

  .page-intro > p:last-child {
    font-size: 18px;
  }

  .page-disclaimer,
  .api-reference {
    grid-template-columns: 1fr;
  }

  .api-reference pre {
    grid-column: 1;
  }

  .browser-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .placeholder-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-nav {
    width: 100%;
    overflow-x: auto;
  }
}

/* ========== 暖心互助板块 ========== */
.aid-section { position: relative; max-width: 1180px; margin: 0 auto; padding: 36px 24px 76px; }

/* 安全须知遮罩（合规：进入板块前必须阅读确认，覆盖板块区域） */
.aid-mask { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-start; justify-content: center; padding-top: 40px; background: rgba(251, 252, 250, 0.82); backdrop-filter: blur(6px); border-radius: var(--radius); }
.aid-mask-card { max-width: 460px; margin: 0 16px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green-strong); border-radius: var(--radius); box-shadow: var(--shadow); animation: aid-fade-up 260ms ease; }
.aid-mask-card h3 { margin: 0 0 12px; font-size: 19px; color: var(--ink); }
.aid-mask-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.aid-mask-btn { width: 100%; padding: 12px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; transition: background 160ms ease; }
.aid-mask-btn:hover { background: #285354; }

/* 顶部切换 */
.aid-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.aid-tab { padding: 9px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: 14px; cursor: pointer; transition: all 160ms ease; }
.aid-tab:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.aid-tab.is-active { background: var(--blue-strong); border-color: var(--blue-strong); color: var(--white); font-weight: 700; }

/* 提问面板 */
.aid-label { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.aid-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.aid-tag { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: 13px; cursor: pointer; transition: all 160ms ease; }
.aid-tag:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.aid-tag.is-active { background: var(--green); border-color: var(--green-strong); color: var(--ink); font-weight: 600; }
.aid-desc-wrap { position: relative; margin-bottom: 16px; }
.aid-desc { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 14px; line-height: 1.7; resize: none; }
.aid-desc:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(43, 111, 119, 0.15); }
.aid-count { position: absolute; right: 10px; bottom: 8px; font-size: 12px; color: var(--ink-soft); }
.aid-submit { padding: 11px 28px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; transition: background 160ms ease; }
.aid-submit:hover { background: #285354; }
.aid-hint { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--green-strong); }

/* 广场分区 */
.aid-zone-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ink); }
.aid-zone-sub { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.aid-featured { margin-bottom: 30px; }

/* 提问卡片（淡入动画） */
.aid-card { position: relative; margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 22px rgba(38, 75, 73, 0.04); animation: aid-fade-up 300ms ease; }
.aid-card--featured { border-color: #c8b185; background: linear-gradient(180deg, #fbf7ef, #ffffff); }
.aid-badge { position: absolute; top: -10px; right: 16px; padding: 2px 12px; border-radius: 999px; background: #c2a77c; color: var(--white); font-size: 12px; font-weight: 700; }
.aid-card-meta { margin: 0 0 8px; }
.aid-tag-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--green); color: var(--green-strong); font-size: 12px; font-weight: 600; }
.aid-card-text { margin: 0 0 14px; color: var(--ink); font-size: 15px; line-height: 1.7; }
.aid-card-actions { display: flex; justify-content: flex-end; margin-bottom: 4px; }

/* 留言 */
.aid-msg { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: #f2f7f5; animation: aid-fade-up 300ms ease; }
.aid-msg--featured { background: #f4eee5; }
.aid-msg-text { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.7; }
.aid-msg-bar { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.aid-like { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: none; border-radius: 999px; background: transparent; color: var(--ink-soft); font-size: 13px; cursor: pointer; transition: color 160ms ease; }
.aid-like:hover { color: #c56b6b; }
.aid-like.is-liked { color: #c56b6b; animation: aid-pop 220ms ease; }
.aid-warm-tip { margin: 6px 0 0; font-size: 12px; color: #c2a77c; }
/* 点赞超过 15 的暖心高亮（合规文案：仅提示"被认为很暖心"） */
.aid-msg--warm { border: 1px solid #e0cfa8; background: #fbf7ec; }

/* 举报按钮（每条提问/留言必备） */
.aid-report { padding: 3px 10px; border: none; border-radius: 999px; background: transparent; color: #9db3b0; font-size: 12px; cursor: pointer; transition: color 160ms ease; }
.aid-report:hover { color: #b0563e; }

/* 回答区：快捷暖心短句 + 15 字自定义 */
.aid-reply { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.aid-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.aid-quick-chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--blue-strong); font-size: 13px; cursor: pointer; transition: all 160ms ease; }
.aid-quick-chip:hover { border-color: var(--blue-strong); background: var(--blue); }
.aid-custom { display: flex; gap: 8px; }
.aid-custom input { flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--ink); }
.aid-custom input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(43, 111, 119, 0.15); }
.aid-custom button { padding: 8px 16px; border: 1px solid var(--blue-strong); border-radius: 6px; background: transparent; color: var(--blue-strong); font-size: 13px; font-weight: 700; cursor: pointer; transition: background 160ms ease; }
.aid-custom button:hover { background: var(--blue); }

@keyframes aid-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aid-pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }

@media (max-width: 720px) {
  .aid-section { padding: 28px 16px 56px; }
  .aid-tabs { width: 100%; }
  .aid-tab { flex: 1; text-align: center; }
  .aid-custom { flex-wrap: wrap; }
  .aid-custom button { width: 100%; }
}

/* ============================================================
   首页改版 2026-10：以「陪伴者指南」为核心的视觉层级
   -----------------------------------------------------------
   只新增 .hp-* 规则，不改动其他页面复用的类；
   层级：首屏陪伴者指南主卡（最大）> 场景卡（中）> 功能分组（小）。
   ============================================================ */

/* 首屏沿用原来的照片开屏（.home-hero 的样式在文件前部，未改动），
   陪伴者指南主卡作为紧随其后的第一个内容区块。 */
.hp-guide-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 8px;
}

.hp-guide-intro {
  max-width: 880px;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.hp-intro-hl {
  color: var(--blue-strong);
  white-space: nowrap;
  background-image: linear-gradient(to top, rgba(194, 167, 124, 0.4) 0.34em, rgba(194, 167, 124, 0) 0.34em);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hp-guide-sub {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
}

/* ---- 陪伴者指南主卡：全站视觉权重最高的元素 ---- */
.hp-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 44px 48px;
  border-radius: 22px;
  background: linear-gradient(118deg, #235c63 0%, #2b6f77 46%, #44785f 100%);
  box-shadow: 0 28px 58px rgba(30, 70, 68, 0.24);
  color: #ffffff;
}

.hp-guide::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 68%);
  content: "";
  pointer-events: none;
}

.hp-guide__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hp-guide__tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hp-guide h2 {
  margin: 0 0 14px;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.2;
}

.hp-guide__desc {
  max-width: 34em;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.85;
  text-wrap: pretty;
}

.hp-guide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.hp-guide__cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 46, 45, 0.18);
  color: #235c63;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hp-guide__cta:hover {
  background: #f8f2e6;
  box-shadow: 0 14px 30px rgba(15, 46, 45, 0.24);
  transform: translateY(-2px);
}

.hp-guide__cta:active {
  transform: translateY(0);
}

.hp-guide__link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hp-guide__link:hover {
  color: #ffffff;
}

.hp-guide__art {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: 340px;
}

.hp-guide__art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- 场景化入口 ---- */
.hp-scenes {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px 8px;
}

.hp-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hp-scene {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(38, 75, 73, 0.045);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hp-scene:hover {
  border-color: #9dbbb5;
  box-shadow: 0 16px 34px rgba(38, 75, 73, 0.1);
  transform: translateY(-3px);
}

.hp-scene__icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: var(--green-strong);
}

.hp-scene__icon svg {
  width: 20px;
  height: 20px;
}

.hp-scene--crisis .hp-scene__icon,
.hp-scene--signal .hp-scene__icon {
  background: #f7e7e3;
  color: #a4534a;
}

.hp-scene--family .hp-scene__icon {
  background: #eaeaf6;
  color: #4d5590;
}

.hp-scene--talk .hp-scene__icon,
.hp-scene--listen .hp-scene__icon {
  background: #e3eef1;
  color: var(--blue-strong);
}

.hp-scene--self .hp-scene__icon {
  background: #f8f0e1;
  color: #a9834b;
}

.hp-scene__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
}

.hp-scene__q {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.hp-scene__meta {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.hp-scene__arrow {
  flex: 0 0 auto;
  align-self: center;
  color: #9db3b0;
  font-size: 16px;
  transition: transform 160ms ease, color 160ms ease;
}

.hp-scene:hover .hp-scene__arrow {
  color: var(--blue-strong);
  transform: translateX(3px);
}

.hp-scene-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px dashed #b9cfc9;
  border-radius: 14px;
  background: #f4f8f6;
}

.hp-scene-more p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.hp-scene-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-strong);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.hp-scene-more a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- 其他功能分组：刻意比场景卡更轻 ---- */
.hp-explore {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 8px;
}

.hp-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hp-explore-group {
  padding: 20px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.hp-explore-group__label {
  margin: 0 0 10px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hp-explore-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eef3f1;
  color: var(--ink);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 160ms ease;
}

.hp-explore-group a:first-of-type {
  border-top: none;
}

.hp-explore-group a:hover {
  color: var(--blue-strong);
}

.hp-explore-group a span {
  color: #9db3b0;
  font-size: 14px;
}

.hp-explore-group a:hover span {
  color: var(--blue-strong);
}

.hp-guide-section :focus-visible,
.hp-scene:focus-visible,
.hp-explore-group a:focus-visible,
.hp-scene-more a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .hp-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hp-guide-section {
    padding-top: 40px;
  }

  .hp-guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 34px 28px;
    border-radius: 18px;
  }

  .hp-guide__art {
    display: none;
  }

  .hp-guide__cta {
    width: 100%;
    justify-content: center;
  }

  .hp-guide__actions {
    gap: 12px;
  }

  .hp-guide__link {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .hp-guide-section {
    padding: 32px 16px 8px;
  }

  .hp-guide-intro {
    font-size: clamp(21px, 5.4vw, 26px);
    line-height: 1.5;
  }

  .hp-guide-sub {
    margin: 0 0 22px;
  }

  .hp-guide {
    padding: 26px 20px;
  }

  .hp-guide__art {
    max-width: 168px;
  }

  .hp-scenes,
  .hp-explore {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hp-scenes {
    padding-top: 48px;
  }

  .hp-explore {
    padding-top: 44px;
  }

  .hp-scene-grid,
  .hp-explore-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-scene {
    padding: 18px 16px;
  }

  .hp-scene-more {
    padding: 18px 16px;
  }

  .hp-scene-more a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-guide__cta,
  .hp-scene,
  .hp-scene__arrow {
    transition: none;
  }

  .hp-guide__cta:hover,
  .hp-scene:hover {
    transform: none;
  }
}

/* ============================================================
   陪伴者指南 1.0：分类页 / 文章页 / 搜索
   ============================================================ */

.cg-intro-lead { max-width: 760px; margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }

a.cg-card { color: inherit; text-decoration: none; }

.gd-wrap { max-width: 820px; margin: 0 auto; padding: 26px 24px 72px; }

.gd-article {
  padding: 32px 34px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 75, 73, 0.04);
}

.gd-head h1 {
  margin: 10px 0 14px;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.35;
}

.gd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.gd-tag {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.gd-time { color: var(--ink-soft); font-size: 12.5px; }
.gd-risk {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f7e7e4;
  color: #a2503f;
  font-size: 12px;
  font-weight: 700;
}

.gd-summary {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid #c2a77c;
  border-radius: 4px;
  background: #faf6ee;
  color: #5d6f6d;
  font-size: 15px;
  line-height: 1.85;
}

.gd-body { margin-top: 26px; color: var(--ink); font-size: 15.5px; line-height: 1.95; }
.gd-body h2 {
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "Songti SC", SimSun, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}
.gd-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.gd-body p { margin: 0 0 12px; }
.gd-body ul, .gd-body ol { margin: 0 0 14px; padding-left: 22px; }
.gd-body li { margin-bottom: 8px; }
.gd-body strong { font-weight: 700; }
.gd-body a { color: var(--blue-strong); }
.gd-body .tip {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #cfe0dc;
  border-radius: 8px;
  background: #f3f9f7;
  font-size: 14.5px;
}
.gd-body .callout {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #e5c3bb;
  border-left: 4px solid #c0504d;
  border-radius: 8px;
  background: #fdf4f2;
  font-size: 14.5px;
}
.gd-body table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.gd-body th, .gd-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.gd-body th { background: #f2f7f5; font-weight: 650; }

.gd-warn {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #e2b8ae;
  border-left: 4px solid #c0504d;
  border-radius: 8px;
  background: #fdf4f2;
}
.gd-warn strong { display: block; margin-bottom: 6px; color: #8f3b32; font-size: 15px; }
.gd-warn p { margin: 0; color: #6d504b; font-size: 14px; line-height: 1.85; }
.gd-warn a { color: #a2503f; font-weight: 700; }

.gd-meta { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.gd-meta__title { margin: 0 0 12px; color: var(--ink); font-size: 15px; }
.gd-meta dl { display: grid; gap: 10px; margin: 0; }
.gd-meta dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; font-size: 13.5px; }
.gd-meta dt { color: var(--ink-soft); }
.gd-meta dd { margin: 0; color: var(--ink); line-height: 1.75; }
.gd-badge--pending {
  padding: 1px 9px;
  border-radius: 999px;
  background: #fdf0d9;
  color: #8a5a12;
  font-size: 12px;
  font-weight: 700;
}

.gd-back { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; }
.gd-back a { color: var(--blue-strong); font-size: 14px; text-decoration: none; }
.gd-back a:hover { text-decoration: underline; }

.gd-list { display: grid; gap: 14px; margin-top: 22px; }
.gd-list--compact { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gd-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(38, 75, 73, 0.04);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.gd-card:hover { transform: translateY(-2px); border-color: #9dbfb8; box-shadow: 0 14px 30px rgba(38, 75, 73, 0.09); }
.gd-card h3 { margin: 6px 0 8px; font-size: 17px; line-height: 1.45; }
.gd-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }
.gd-card__meta { display: block; font-size: 12px; color: var(--ink-soft); }
.gd-card__more { display: inline-block; margin-top: 10px; color: var(--blue-strong); font-size: 13px; font-weight: 650; }

.gd-search { position: relative; margin-top: 6px; }
.gd-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #8aa5a1; }
.gd-search input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
}
.gd-search input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(43, 111, 119, 0.14); }
.gd-empty { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 720px) {
  .cg-intro-lead { font-size: 14px; }
  .gd-wrap { padding: 18px 16px 56px; }
  .gd-article { padding: 22px 18px 20px; border-radius: 12px; }
  .gd-body { font-size: 15px; line-height: 1.9; }
  .gd-body h2 { margin-top: 28px; font-size: 20px; }
  .gd-meta dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gd-summary { font-size: 14px; }
}

/* ============================================================
   移动端规范 2026-11（v2）
   ------------------------------------------------------------
   目标：单列、紧凑、可读。统一覆盖 ≤760px（手机）/ ≤380（小屏）。
   所有规则放在文件末尾，确保覆盖前面同优先级规则。
   ============================================================ */

@media (max-width: 760px) {
  /* ---------- 顶部导航：单行 + 横向滚动 ---------- */
  .site-header {
    min-height: 56px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 16px;
  }

  .brand-logo { width: 28px; height: 28px; border-radius: 6px; }

  .brand-en { margin-left: 4px; font-size: 9px; letter-spacing: 0.12em; }

  .site-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav a {
    padding: 7px 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* ---------- 首页首屏 ---------- */
  .home-hero {
    min-height: auto;
    padding: 34px 16px 30px;
  }

  .home-hero h1 { font-size: 56px; }

  .hero-lead {
    margin: 14px 0 22px;
    font-size: 16px;
    line-height: 1.6;
  }

  .primary-link { min-height: 44px; padding: 10px 16px; }

  .image-status { display: none; }

  /* ---------- 通用标题层级 ---------- */
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 22px; line-height: 1.35; }
  .section-heading > p:last-child { font-size: 13.5px; line-height: 1.7; }
  .eyebrow { margin-bottom: 8px; font-size: 12px; }

  /* 分类标签在手机端换行展示 */
  .category-tabs { flex-wrap: wrap; overflow-x: visible; padding-bottom: 8px; }
  .category-tabs button { padding: 8px 13px; font-size: 13px; }

  /* ---------- 内页页头 ---------- */
  .page-intro { padding: 18px 16px 20px; }
  .page-intro h1 { font-size: 26px; line-height: 1.3; }
  .page-intro > p:last-child { font-size: 14px; line-height: 1.7; }
  .breadcrumb { margin-bottom: 10px; font-size: 12px; }

  /* ---------- 首页各区块间距 ---------- */
  .branch-section { padding: 32px 16px 12px; }
  .hp-guide-section { padding: 28px 16px 8px; }
  .hp-hero { padding: 0; }

  .hp-guide-intro { font-size: 21px; line-height: 1.45; }
  .hp-guide-sub { margin: 0 0 18px; font-size: 14px; }
  .hp-guide { gap: 18px; padding: 22px 18px; border-radius: 16px; }
  .hp-guide__tag { margin-bottom: 12px; padding: 4px 10px; font-size: 11.5px; }
  .hp-guide h2 { font-size: 24px; margin-bottom: 10px; }
  .hp-guide__desc { font-size: 13.5px; line-height: 1.75; }
  .hp-guide__actions { margin-top: 18px; gap: 10px; }
  .hp-guide__cta { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
  .hp-guide__link { font-size: 13px; }

  .hp-scenes { padding: 36px 16px 8px; }
  .hp-explore { padding: 32px 16px 8px; }
  .hp-scene-grid, .hp-explore-grid { gap: 10px; }
  .hp-scene { gap: 11px; padding: 14px 14px; border-radius: 12px; }
  .hp-scene__icon { width: 34px; height: 34px; border-radius: 10px; }
  .hp-scene__icon svg { width: 17px; height: 17px; }
  .hp-scene__q { font-size: 14.5px; line-height: 1.5; }
  .hp-scene__meta { font-size: 11.5px; }
  .hp-scene-more { margin-top: 12px; padding: 14px 16px; border-radius: 12px; }
  .hp-scene-more p { font-size: 13px; }
  .hp-scene-more a { font-size: 13.5px; }

  .hp-explore-group { padding: 14px 16px 8px; border-radius: 12px; }
  .hp-explore-group__label { margin-bottom: 6px; font-size: 11px; }
  .hp-explore-group a { padding: 9px 0; font-size: 14px; }

  /* ---------- 互助与相伴 ---------- */
  .aid-section { padding: 32px 16px 40px; }
  .aid-mask { padding-top: 16px; }
  .aid-mask-card { padding: 20px 18px; }
  .companion-section { padding: 28px 16px 48px; }
  .companion-grid { gap: 12px; }
  .companion-card { min-height: 150px; padding: 18px; }

  /* ---------- 页脚 ---------- */
  .site-footer { padding: 24px 16px 32px; font-size: 12.5px; line-height: 1.7; }
  .footer-notice, .footer-copy { font-size: 12px; }
  .footer-hotline { font-size: 12px; }
  .footer-links { font-size: 12px; }

  /* ---------- 陪伴者指南：分类页 / 文章页 ---------- */
  .gd-wrap { padding: 16px 16px 40px; }
  .gd-article { padding: 18px 16px 16px; border-radius: 12px; }
  .gd-head h1 { margin: 8px 0 10px; font-size: 22px; line-height: 1.35; }
  .gd-tags { gap: 8px; }
  .gd-tag, .gd-risk { padding: 2px 9px; font-size: 11.5px; }
  .gd-time { font-size: 11.5px; }
  .gd-summary { padding: 11px 13px; font-size: 13.5px; line-height: 1.75; }
  .gd-body { margin-top: 18px; font-size: 15px; line-height: 1.85; }
  .gd-body h2 { margin: 24px 0 8px; padding-top: 14px; font-size: 18px; }
  .gd-body p { margin: 0 0 10px; }
  .gd-body ul, .gd-body ol { padding-left: 18px; margin-bottom: 12px; }
  .gd-body li { margin-bottom: 6px; }
  .gd-body .tip, .gd-body .callout { margin: 12px 0; padding: 11px 13px; font-size: 13.5px; }
  .gd-body table { font-size: 12.5px; }
  .gd-body th, .gd-body td { padding: 8px 9px; }
  .gd-warn { margin: 14px 0; padding: 12px 14px; }
  .gd-warn strong { font-size: 14px; margin-bottom: 4px; }
  .gd-warn p { font-size: 13px; line-height: 1.75; }
  .gd-meta { margin-top: 24px; padding-top: 16px; }
  .gd-meta__title { font-size: 14px; margin-bottom: 8px; }
  .gd-meta dl { gap: 8px; }
  .gd-meta dl > div { font-size: 12.5px; gap: 2px; }
  .gd-back { margin-top: 18px; }
  .gd-back a { font-size: 13px; }
  .gd-list { gap: 10px; margin-top: 16px; }
  .gd-card { padding: 14px 16px; border-radius: 12px; }
  .gd-card h3 { font-size: 15.5px; margin: 4px 0 6px; }
  .gd-card p { font-size: 13px; line-height: 1.65; }
  .gd-card__more { margin-top: 8px; font-size: 12.5px; }
  .gd-search input { padding: 12px 16px 12px 42px; font-size: 14px; }
  .gd-search svg { left: 14px; width: 16px; height: 16px; }
}

@media (max-width: 380px) {
  .home-hero h1 { font-size: 48px; }
  .section-heading h2 { font-size: 20px; }
  .page-intro h1 { font-size: 23px; }
  .hp-guide-intro { font-size: 19px; }
  .hp-guide h2 { font-size: 22px; }
  .gd-head h1 { font-size: 20px; }
  .site-nav a { padding: 7px 7px; font-size: 12.5px; }
}

/* 互助区空状态 */
.aid-empty {
  padding: 26px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fafcfb;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* 已通过文案审核的徽标（区别于医学/专业审核） */
.gd-badge--reviewed {
  padding: 1px 9px;
  border-radius: 999px;
  background: #e6f2ea;
  color: #2f6b4a;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   量表自评入口：第二核心的轻量强调块
   ------------------------------------------------------------
   视觉权重：低于陪伴者指南主卡（深色大卡），高于普通功能分组。
   仅作入口强化，不新增功能、不改变 /scale/ 任何行为。
   ============================================================ */

.scale-entry-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.scale-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 32px;
  padding: 30px 34px;
  border: 1px solid #cfe0da;
  border-radius: 18px;
  background: linear-gradient(120deg, #f2f7f4 0%, #fbfcfa 62%);
}

.scale-entry__body h2 {
  margin: 6px 0 10px;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}

.scale-entry__desc {
  max-width: 44em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.scale-entry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}

.scale-entry__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--blue-strong);
  box-shadow: 0 8px 20px rgba(43, 111, 119, 0.18);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.scale-entry__cta:hover {
  background: #245f66;
  transform: translateY(-1px);
}

.scale-entry__note {
  color: var(--ink-soft);
  font-size: 12.5px;
}

.scale-entry__tags {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scale-entry__tags li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

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

.scale-entry__tags span {
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 760px) {
  .scale-entry-wrap {
    padding: 28px 16px 0;
  }

  .scale-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  .scale-entry__body h2 {
    font-size: 22px;
  }

  .scale-entry__desc {
    font-size: 14px;
  }

  .scale-entry__cta {
    width: 100%;
    justify-content: center;
  }

  .scale-entry__tags li {
    padding: 8px 12px;
    font-size: 12.5px;
  }
}
