/* ============================================================
   栖遇 · 综合旅居生活平台 — 设计系统
   真实 · 信任 · 透明 · 互助 · 共创
   ============================================================ */

:root {
  /* 品牌色 */
  --brand: #0e7c6b;
  --brand-dark: #0a5b4f;
  --brand-deep: #073f37;
  --brand-light: #e4f3ef;
  --brand-faint: #f2faf8;
  --accent: #f2693d;
  --accent-dark: #d9522a;
  --accent-light: #fdeee8;
  --gold: #e8a13a;
  --gold-light: #fdf3e2;

  /* 中性色 */
  --ink: #16202e;
  --ink-soft: #51606f;
  /* 2026-10-04 全站体检：原 #8592a1 在白底上对比度仅 3.13:1，低于 WCAG AA 的 4.5:1，
     弱视用户和日光下阅读吃力。调深为 #667485（4.67:1），视觉仍属"浅灰辅助色"层级。 */
  --ink-faint: #667485;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --line: #e6ebe9;
  --line-strong: #d4dcda;

  /* 语义 */
  --good: #1c9a6c;
  --warn: #e8a13a;
  --bad: #d9534f;

  /* 布局 */
  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 46, .04), 0 2px 8px rgba(22, 32, 46, .04);
  --shadow-md: 0 6px 20px rgba(22, 32, 46, .07);
  --shadow-lg: 0 16px 40px rgba(22, 32, 46, .10);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* 2026-10-04：与 body 的 overflow-x:hidden 配成双层保险，确保 documentElement.scrollWidth
     不统计被裁剪到 viewport 外的横向滚动内容（index.html 的轮播/需求流在移动端撑 body）。 */
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  /* 2026-10-04 全站体检：阻止任何横向滚动轮播/表格把 body 撑开，避免手机端左右晃屏。
     内部独立的 overflow-x:auto 容器仍然可滚动，只是不撑 body。 */
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(14, 124, 107, .18); }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar-left { letter-spacing: .04em; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.lang-switch, .role-switch { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; user-select: none; }
.lang-switch svg { opacity: .8; }
.role-switch { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 20px; padding: 2px 4px; }
.role-switch span { padding: 2px 10px; border-radius: 16px; color: rgba(255,255,255,.75); }
.role-switch span.active { background: #fff; color: var(--brand-deep); font-weight: 600; }
.topbar .divider { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
/* 2026-10-04 全站体检：顶栏「登录 / 注册」原尺寸只有 25×16px，远低于 44×44 的可用点击区域。
   用 CSS 放大触控区，不改 main.js。 */
.auth-area { display: inline-flex; align-items: center; gap: 6px; }
.auth-area a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 28px; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.92);
  font-size: 12.5px; font-weight: 500; transition: background .16s ease;
}
.auth-area a:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- 头部导航 ---------- */
.site-header, #site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 66px; gap: 26px; }
.back-btn { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.back-btn:hover { color: var(--brand); background: var(--brand-faint); border-color: var(--brand); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: .02em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), #14a58f);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(14,124,107,.28);
}
.brand-sub { font-size: 12px; color: var(--ink-faint); font-weight: 600; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.main-nav a {
  color: var(--ink-soft); font-weight: 500; padding: 8px 13px; border-radius: 9px;
  transition: all .16s ease; white-space: nowrap; font-size: 14.5px;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-faint); }
.main-nav a.active { color: var(--brand); background: var(--brand-light); font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); }

.mobile-menu { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: all .16s ease;
  background: var(--brand); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14,124,107,.18); }
.btn.btn-accent { background: var(--accent); }
.btn.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(242,105,61,.20); }
.btn.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.btn-outline:hover { background: var(--brand-light); }
.btn.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn.btn-ghost:hover { background: #eceff1; }
.btn.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 12px; }
.btn.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -12%, rgba(20,165,143,.14), transparent 62%),
    radial-gradient(860px 400px at 6% 108%, rgba(242,105,61,.07), transparent 55%),
    linear-gradient(180deg, #f4fbf9, #ffffff);
  padding: 92px 0 0;
}
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(1280px, 100%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 84px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 15px; font-size: 13px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.hero h1 { font-size: 48px; letter-spacing: -.02em; line-height: 1.18; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand), #14a58f 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }
.hero-trust b { display: block; font-size: 21px; color: var(--ink); font-weight: 800; }
.hero-trust i { font-style: normal; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(20,165,143,.35), transparent 40%, rgba(242,105,61,.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hc-badge { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-light); padding: 4px 10px; border-radius: 8px; }
.hc-title { font-weight: 700; }
.hero-chip { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 100px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-soft); }
.chip.hot { background: var(--accent-light); color: var(--accent-dark); border-color: #f7d3c6; }
.chip.ok { background: var(--brand-light); color: var(--brand-dark); border-color: #cde8e1; }
.hero-float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 16px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero-float.f1 { top: -22px; right: -12px; }
.hero-float.f2 { bottom: -20px; left: -10px; }

/* ---------- 章节通用 ---------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; letter-spacing: -.01em; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* ---------- 网格卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); cursor: pointer; }
a.card .card-link { color: var(--brand); }
.card .icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; background: var(--brand-light); color: var(--brand);
}
.card .icon.warm { background: var(--accent-light); color: var(--accent-dark); }
.card .icon.gold { background: var(--gold-light); color: var(--gold); }
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 14px; }
.card .card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13.5px; font-weight: 600; }

/* 领域卡片 */
.domain-card { display: block; color: var(--ink); padding: 30px 28px; }
.domain-card:hover { color: var(--ink); }
.domain-card .icon { width: 54px; height: 54px; border-radius: 15px; }
.domain-card h3 { font-size: 19px; margin-bottom: 8px; }
.domain-card p { font-size: 14px; }
.domain-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.domain-card .tags span { font-size: 12px; padding: 4px 11px; border-radius: 100px; background: var(--brand-faint); color: var(--ink-soft); border: 1px solid var(--line); }
.domain-card .go { margin-top: 18px; font-weight: 700; color: var(--brand); font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; transition: gap .16s ease; }
.domain-card:hover .go { gap: 9px; }

/* 支柱（差异化） */
.pillar { text-align: left; padding: 30px; }
.pillar .icon { width: 56px; height: 56px; border-radius: 16px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar ul { list-style: none; margin-top: 12px; }
.pillar li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 7px; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  background: var(--brand-light); border-radius: 4px;
}
.pillar li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 4px; height: 6px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}

/* ---------- 特性行 ---------- */
.feature-row { display: flex; gap: 12px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.feature-row .num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-faint); color: var(--brand); font-weight: 800; font-size: 14px;
}
.feature-row h4 { font-size: 15.5px; margin-bottom: 4px; }
.feature-row p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 流程 ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; min-width: 86px; flex: 1;
}
.flow-step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; margin-bottom: 7px; }
.flow-step b { font-size: 13.5px; font-weight: 700; }
.flow-step span { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.flow-arrow { color: var(--brand); font-size: 20px; font-weight: 700; flex-shrink: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 13.5px; }
thead th { background: var(--brand-faint); color: var(--brand-dark); text-align: left; padding: 14px 16px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line); }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: none; }
tbody th { text-align: left; padding: 13px 16px; font-weight: 700; color: var(--ink); white-space: nowrap; background: var(--bg-soft); }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--ink-faint); }
.limited { color: var(--warn); font-weight: 600; }

/* ---------- 徽章 / 标签 ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 100px; }
.tag.green { background: var(--brand-light); color: var(--brand-dark); }
.tag.orange { background: var(--accent-light); color: var(--accent-dark); }
.tag.gray { background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line); }

/* ---------- 高亮提示条 ---------- */
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: 14px; background: var(--brand-faint); border: 1px solid #cde8e1; margin: 18px 0;
}
.callout.warn { background: var(--gold-light); border-color: #f0ddbb; }
.callout.danger { background: #fdf0ef; border-color: #f2c8c5; }
.callout .c-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }
.callout.warn .c-icon { color: var(--gold); }
.callout.danger .c-icon { color: var(--bad); }
.callout b { display: block; font-size: 14px; margin-bottom: 2px; }
.callout p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--brand); }
.stat span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- CTA 带 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 55%, #14a58f);
  padding: 52px 48px; text-align: center;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 80% 0%, rgba(255,255,255,.14), transparent 60%); }
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-bottom: 26px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn-accent { background: #fff; color: var(--brand-dark); }
.cta-band .btn-accent:hover { background: #f2f7f6; }

/* ---------- 页头（子页 banner） ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(20,165,143,.16), transparent 55%),
    linear-gradient(180deg, var(--brand-faint), #fff);
  padding: 60px 0 46px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 34px; margin-bottom: 12px; }
.page-hero .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 720px; }
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.72); margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 13.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.85); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 分割标题内嵌图标 ---------- */
.half { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.half .kicker { margin-bottom: 12px; }
.half h2 { font-size: 28px; margin-bottom: 16px; }
.half p { color: var(--ink-soft); }
.half-visual { border-radius: 20px; background: linear-gradient(150deg, var(--brand-faint), #fff); border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow-sm); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .half { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav, .nav-cta .btn-outline, .topbar-left { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-cta { margin-left: auto; }
  .mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 10px 20px 16px; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
  .mobile-menu a.active { color: var(--brand); }
  .hero h1 { font-size: 32px; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 36px 24px; }
  .flow-step { min-width: 64px; }
  .section { padding: 52px 0; }
}

/* ============================================================
   聚合首页（分类导航 + 内容聚合）—— 正常运营网站形态
   ============================================================ */
.cat-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 10px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; text-align: center; color: var(--ink); transition: all .16s ease;
}
.cat-item:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.cat-item .ci { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-light); color: var(--brand); }
.cat-item .ci.warm { background: var(--accent-light); color: var(--accent-dark); }
.cat-item .ci.gold { background: var(--gold-light); color: var(--gold); }
.cat-item .ci.blue { background: #e7f0ff; color: #3a6fd8; }
.cat-item b { font-size: 14px; font-weight: 700; }
.cat-item span { font-size: 12px; color: var(--ink-faint); }

.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec-title h2 { font-size: 22px; }
.sec-title .more { font-size: 13px; color: var(--brand); font-weight: 600; }

.cnt-card {
  display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; transition: all .16s ease; color: var(--ink); align-items: center;
}
.cnt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.cnt-card .thumb { width: 104px; height: 80px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 13px; }
.cnt-card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cnt-card .info h4 { font-size: 15.5px; }
.cnt-card .info p { font-size: 13px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cnt-card .meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-faint); }
.cnt-card .side { text-align: right; flex-shrink: 0; }
.cnt-card .side b { font-size: 18px; color: var(--accent); font-weight: 800; display: block; }
.cnt-card .side span { font-size: 12px; color: var(--ink-faint); }

.cnt-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

@media (max-width: 768px) {
  /* 2026-10-04 全站体检：不同页面的 .cat-nav 元素数量不统一（有的 5 个、有的 8 个），
     固定列数在窄屏下容易因文字换行/最小宽度不一致导致整行被撑开、body 出现横向滚动。
     改成 auto-fill 让网格根据剩余宽度自动换行，既避免溢出，也减少末尾单列的孤单感。 */
  .cat-nav { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .cat-item { padding: 18px 8px 14px; }
  .cnt-list { grid-template-columns: 1fr; }
}

/* ============================================================
   2026-10-04 全站体检：可横向滑动区域的"右侧还有内容"提示
   ------------------------------------------------------------
   问题：首页轮播（#swTrack / #liveTrack）、房型页信任胶囊（.trust-chips）、
   房型相册（.rd-album）、筛选标签条等都是 overflow-x:auto 的横滑容器，
   但移动端没有可见滚动条，用户不知道右侧还有内容，容易直接划走错过。
   做法：用 mask-image 在容器右侧做渐隐。mask 相对元素 border box 定位，
   不随内容滚动 —— 因此不需要新增 DOM、不需要改父元素 position，零布局风险
   （这是放弃 ::after 渐变遮罩方案的原因：absolute 伪元素会跟着内容滚走）。
   滚到最右端时，main.js 的 initScrollHint() 会给容器加 .at-end 移除渐隐，
   避免最后一张卡片被永久淡出。
   不支持 mask 的旧浏览器优雅降级（只是没有提示，其余功能不受影响）。
   ============================================================ */
.qy-scroll-x {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), rgba(0, 0, 0, .25));
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), rgba(0, 0, 0, .25));
}
.qy-scroll-x.at-end {
  -webkit-mask-image: none;
  mask-image: none;
}
