/* ==========================================================================
   Xunren 寻人网 - 主样式
   设计基准：暖白底 + 朱红主色 + 金色点缀，圆角卡片，全端自适应
   ========================================================================== */

:root {
  --red: #e33b1d;
  --red-2: #c92a10;
  --red-3: #f4623c;
  --gold: #ffc24b;
  --gold-2: #f2a51f;
  --bg: #faf6f1;
  --card: #ffffff;
  --ink: #221b18;
  --ink-2: #5c514a;
  --muted: #8c7e75;
  --line: #efe3d8;
  --soft: #fff4ec;
  --soft-2: #fdece2;
  --green: #1f8a5b;
  --green-soft: #e8f6ef;
  --blue: #2563a8;
  --blue-soft: #eaf2fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(94, 45, 28, 0.1);
  --shadow-sm: 0 4px 14px rgba(94, 45, 28, 0.06);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.xr-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }

.xr-wrap { width: 100%; max-width: none; margin: 0 auto; padding: 0 clamp(18px, 2.6vw, 56px); }
.xr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.xr-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.xr-skip:focus { left: 0; }

/* ---------- 通用按钮 ---------- */
.xr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.xr-btn:hover { transform: translateY(-1px); }
.xr-btn--red { background: linear-gradient(135deg, var(--red-3), var(--red-2)); color: #fff; box-shadow: 0 8px 18px rgba(200, 45, 20, 0.25); }
.xr-btn--red:hover { color: #fff; box-shadow: 0 12px 24px rgba(200, 45, 20, 0.32); }
.xr-btn--gold { background: linear-gradient(135deg, #ffd166, var(--gold-2)); color: #4a2a00; box-shadow: 0 8px 18px rgba(242, 165, 31, 0.28); }
.xr-btn--gold:hover { color: #4a2a00; }
.xr-btn--ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.xr-btn--ghost:hover { border-color: var(--red); color: var(--red); background: var(--soft); }
.xr-btn--white { background: #fff; color: var(--red); }
.xr-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.xr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .xr-header { top: 32px; }
.xr-header__in { display: flex; align-items: center; gap: 16px; height: 70px; flex-wrap: nowrap; }

.xr-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.xr-logo__mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 14px rgba(200, 45, 20, 0.28);
}
.xr-logo__mark svg { width: 22px; height: 22px; }
.xr-logo__text { display: flex; flex-direction: row; align-items: center; gap: 9px; line-height: 1; }
.xr-logo__name { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; color: var(--ink); }
.xr-logo__name:hover { color: var(--ink); }
.xr-logo__slogan {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 5px;
  background: var(--red); color: #fff;
  font-size: 18px; font-weight: 800; font-style: italic;
  letter-spacing: 0.5px; line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(227, 59, 29, 0.22);
}

.xr-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.xr-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.xr-nav li { position: relative; }
.xr-nav a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.xr-nav a:hover { color: var(--red); background: var(--soft); }
.xr-nav .current-menu-item > a,
.xr-nav .current_page_item > a { color: var(--red); background: var(--soft); }

/* 发布寻人 CTA（菜单第一项） */
.xr-menu__cta > a {
  padding: 9px 18px; border-radius: 999px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  box-shadow: 0 8px 18px rgba(200, 45, 20, 0.22);
}
.xr-menu__cta > a:hover,
.xr-menu__cta.current-menu-item > a,
.xr-menu__cta.current_page_item > a { color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red-2)); }

/* 导航右侧工具区：多彩样式 + 登录注册 */
.xr-nav__util {
  display: flex; align-items: center; gap: 8px;
  margin-left: 2px; padding-left: 12px; border-left: 1px solid var(--line);
}
.xr-iconbtn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap; transition: 0.2s;
}
.xr-iconbtn svg { width: 16px; height: 16px; flex: none; }
.xr-iconbtn.xr-iconbtn--round {
  width: 38px; height: 38px; padding: 0; gap: 0;
  border-radius: 50%; justify-content: center;
}
.xr-iconbtn--round svg { width: 19px; height: 19px; }
.xr-iconbtn:hover, .xr-iconbtn[aria-expanded="true"] {
  border-color: var(--red); color: var(--red); background: var(--soft);
}

.xr-theme { position: relative; }
.xr-theme__panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: 248px; z-index: 130;
  padding: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
}
.xr-theme__panel[hidden] { display: none; }
.xr-theme__title { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.xr-theme__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.xr-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2);
  transition: 0.18s;
}
.xr-swatch i { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.xr-swatch:hover { border-color: var(--red); color: var(--red); }
.xr-swatch.is-active { border-color: var(--red); background: var(--soft); color: var(--red); box-shadow: 0 0 0 2px rgba(227, 59, 29, 0.12); }

.xr-auth { display: flex; align-items: center; gap: 6px; }
.xr-auth__link {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px; border-radius: 9px;
  border: 1px solid transparent; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; transition: 0.2s;
}
.xr-auth__link--ghost { border-color: var(--line); color: var(--ink-2); }
.xr-auth__link--ghost:hover { border-color: var(--red); color: var(--red); background: var(--soft); }
.xr-auth__link--solid { background: var(--soft); color: var(--red); }
.xr-auth__link--solid:hover { background: var(--red); color: #fff; }
.xr-auth__link--reg { border-color: var(--green); color: var(--green); }
.xr-auth__link--reg:hover { background: var(--green); border-color: var(--green); color: #fff; }

.xr-header__actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; flex: none; }
.xr-burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; padding: 0; place-items: center;
}
.xr-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.xr-burger span::before, .xr-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s;
}
.xr-burger span::before { top: -6px; }
.xr-burger span::after { top: 6px; }

/* ==========================================================================
   首页英雄区
   ========================================================================== */
.xr-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, var(--red-3) 0%, var(--red) 42%, var(--red-2) 100%);
  color: #fff;
}
.xr-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 196, 120, 0.32), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}
.xr-hero__in { position: relative; padding: 34px 0 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 28px; align-items: center; }
.xr-hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.xr-hero__eyebrow span {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffe9df;
}
.xr-hero h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(120, 20, 0, 0.18);
}
.xr-hero h1 em { font-style: normal; color: #ffd58a; }
.xr-hero__sub { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.86); letter-spacing: 0.5px; }

.xr-search { display: flex; gap: 6px; margin-top: 20px; max-width: 600px; background: #fff; padding: 6px; border-radius: 13px; box-shadow: 0 14px 30px rgba(120, 20, 0, 0.18); }
.xr-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 14px; font-size: 15px; color: var(--ink); }
.xr-search input::placeholder { color: #a99a90; }
.xr-search button { border: 0; flex: none; height: 40px; padding: 0 24px; border-radius: 9px; background: linear-gradient(135deg, #ffd166, var(--gold-2)); color: #4a2a00; font-weight: 800; }
.xr-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.xr-hero__promise {
  margin: 0; padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  font-size: 13.5px; line-height: 1.7; letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.92);
}
.xr-hero__actions .xr-btn--publish { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.xr-hero__actions .xr-btn--publish:hover { background: #fff; color: var(--red); }
.xr-hero__hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; }
.xr-hero__hot b { font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.xr-hero__hot a { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.13); color: #fff; font-size: 12px; }
.xr-hero__hot a:hover { background: #fff; color: var(--red); }

/* 英雄区右侧卡片 */
.xr-hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 210px; }
.xr-mock {
  width: 86%; max-width: 300px; background: #fff; border-radius: 14px;
  padding: 14px; transform: rotate(-4deg); box-shadow: 0 24px 50px rgba(90, 15, 0, 0.28);
}
.xr-mock__dots { display: flex; gap: 5px; margin-bottom: 12px; }
.xr-mock__dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff8a65; }
.xr-mock__dots i:nth-child(2) { background: #ffc24b; }
.xr-mock__dots i:nth-child(3) { background: #8bc34a; }
.xr-mock__row { display: flex; align-items: center; gap: 10px; }
.xr-mock__avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--soft-2); color: var(--red); display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.xr-mock__lines { flex: 1; }
.xr-mock__lines i { display: block; height: 8px; border-radius: 4px; background: #f1e6dc; margin-bottom: 7px; }
.xr-mock__lines i:nth-child(2) { width: 72%; }
.xr-mock__lines i:nth-child(3) { width: 48%; margin-bottom: 0; background: #fbe3d2; }
.xr-mock__note {
  position: absolute; right: 0; bottom: 16px; background: #fff; color: var(--ink);
  border-radius: 10px; padding: 8px 12px; box-shadow: 0 12px 26px rgba(90, 15, 0, 0.22);
  font-size: 12px; line-height: 1.4; transform: rotate(2deg);
}
.xr-mock__note b { color: var(--red); font-size: 18px; }
.xr-hero__dots { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); display: flex; gap: 5px; }
.xr-hero__dots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.35); }
.xr-hero__dots i.on { width: 14px; background: #fff; }

/* 英雄区数据条 */
.xr-hero__stats {
  position: relative; margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center;
}
.xr-hero__stat { padding: 16px 0 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 22px; }
.xr-hero__stat:first-child { border-left: 0; padding-left: 0; }
.xr-hero__stat b { display: block; font-size: 26px; line-height: 1.1; color: #ffd58a; }
.xr-hero__stat span { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.xr-hero__cta { padding: 16px 0 18px; }
.xr-hero__cta .xr-btn { background: #fff; color: var(--red); box-shadow: 0 10px 22px rgba(90, 15, 0, 0.2); }
.xr-hero__cta .xr-btn:hover { color: var(--red-2); }

/* ==========================================================================
   公告条
   ========================================================================== */
.xr-notice { margin-top: -1px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.xr-notice__icon { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--soft-2); color: var(--red); display: grid; place-items: center; }
.xr-notice__text { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-notice__text strong { color: var(--red); margin-right: 8px; }
.xr-notice__meta { flex: none; font-size: 12px; color: var(--muted); }
.xr-badge { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--red); color: #fff; }

/* ==========================================================================
   快捷入口卡片
   ========================================================================== */
.xr-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.xr-quick__card {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.xr-quick__card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.xr-quick__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--red); }
.xr-quick__icon svg { width: 22px; height: 22px; }
.xr-quick__t { font-size: 15px; font-weight: 700; }
.xr-quick__d { font-size: 12px; color: var(--muted); margin-top: 1px; }
.xr-quick__card--cta { background: linear-gradient(120deg, var(--red-3), var(--red-2)); border-color: transparent; color: #fff; }
.xr-quick__card--cta .xr-quick__icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.xr-quick__card--cta .xr-quick__d { color: rgba(255, 255, 255, 0.78); }
.xr-quick__card--cta:hover { color: #fff; }
.xr-quick__card--cta .xr-quick__go { margin-left: auto; background: #fff; color: var(--red); border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* ==========================================================================
   分类标签导航
   ========================================================================== */
.xr-tabs { margin-top: 18px; }
.xr-tabs__in { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.xr-tabs__in::-webkit-scrollbar { display: none; }
.xr-tabs__link {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 8px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.xr-tabs__link:hover { border-color: var(--red); color: var(--red); }
.xr-tabs__link.is-active { background: linear-gradient(135deg, var(--red-3), var(--red-2)); border-color: transparent; color: #fff; box-shadow: 0 8px 16px rgba(200, 45, 20, 0.24); }
.xr-tabs__link svg { width: 14px; height: 14px; }
.xr-tabs__more { margin-left: auto; flex: none; font-size: 13px; color: var(--muted); padding-left: 10px; }
.xr-tabs__more:hover { color: var(--red); }

/* ==========================================================================
   首页分类版块
   ========================================================================== */
.xr-section { margin-top: 34px; }
.xr-sec-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.xr-sec-head h2 { position: relative; display: flex; align-items: center; gap: 9px; font-size: 22px; letter-spacing: 1px; }
.xr-sec-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--red-3), var(--red-2)); }
.xr-sec-head h2 em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.xr-sec-head p { font-size: 13px; color: var(--muted); padding-bottom: 3px; }
.xr-sec-head__more { margin-left: auto; font-size: 13px; color: var(--muted); padding-bottom: 3px; white-space: nowrap; }
.xr-sec-head__more:hover { color: var(--red); }

.xr-sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; gap: 16px; }
.xr-sec-grid__side { display: grid; gap: 10px; align-content: start; }

/* ---------- 大卡片 ---------- */
.xr-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.xr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f0d6c6; }
.xr-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f7ece2; }
.xr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.xr-card:hover .xr-card__media img { transform: scale(1.04); }
.xr-card__status {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700;
  background: rgba(227, 59, 29, 0.92); color: #fff; backdrop-filter: blur(4px);
}
.xr-card__status--ok { background: rgba(31, 138, 91, 0.92); }
.xr-card__status--info { background: rgba(37, 99, 168, 0.92); }
.xr-card__status--warn { background: rgba(242, 165, 31, 0.95); color: #fff; }
.xr-card__body { display: flex; flex-direction: column; gap: 8px; padding: 13px 15px 15px; flex: 1; }
.xr-card__cat { font-size: 12px; font-weight: 700; color: var(--red); }
.xr-card__title { font-size: 16px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xr-card__title a:hover { color: var(--red); }
.xr-card__excerpt { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xr-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: var(--ink-2); margin-top: auto; padding-top: 2px; }
.xr-card__meta span { display: inline-flex; align-items: center; gap: 3px; }
.xr-card__meta svg { width: 12px; height: 12px; color: var(--red); opacity: 0.8; }
.xr-card__foot { display: flex; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.xr-card__foot .xr-avatar { width: 22px; height: 22px; border-radius: 50%; font-size: 11px; }
.xr-card__foot .xr-time { margin-left: auto; }

/* ---------- 小列表项 ---------- */
.xr-item { display: flex; gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.xr-item:hover { border-color: #f0d0bd; box-shadow: var(--shadow-sm); }
.xr-item__thumb { flex: none; width: 88px; height: 64px; border-radius: 9px; overflow: hidden; background: #f7ece2; }
.xr-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.xr-item__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.xr-item__title { font-size: 13.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xr-item__meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 图片占位 ---------- */
.xr-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, #fbe7d8, #f7d0b8);
  color: rgba(196, 60, 28, 0.35); font-weight: 800; font-size: 34px; position: relative;
}
.xr-item__thumb .xr-ph { font-size: 22px; }
.xr-ph::after { content: "寻"; position: absolute; right: 6px; bottom: 2px; font-size: 11px; letter-spacing: 1px; color: rgba(196, 60, 28, 0.22); }
.xr-ph--2 { background: linear-gradient(135deg, #f5e6d0, #eccfae); }
.xr-ph--3 { background: linear-gradient(135deg, #f3e3e0, #efc9c1); }
.xr-ph--4 { background: linear-gradient(135deg, #e9edf5, #d6dfef); color: rgba(37, 80, 140, 0.4); }
.xr-ph--5 { background: linear-gradient(135deg, #e7f0e9, #cfe4d6); color: rgba(31, 138, 91, 0.4); }

/* ---------- 滚动新闻 ---------- */
.xr-ticker { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 9px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.xr-ticker__label { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--red); }
.xr-ticker__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(227, 59, 29, 0.12); }
.xr-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; }
.xr-ticker__track { display: flex; width: max-content; gap: 36px; animation: xr-marquee 44s linear infinite; }
.xr-ticker:hover .xr-ticker__track { animation-play-state: paused; }
.xr-ticker__track a { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.xr-ticker__track a::before { content: "·"; color: var(--red); margin-right: 8px; }
.xr-ticker__track a:hover { color: var(--red); }
@keyframes xr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   首页 CTA 区块
   ========================================================================== */
.xr-cta {
  margin-top: 40px; border-radius: 20px; padding: 30px 34px;
  background: linear-gradient(118deg, #f0502a, #c4240d);
  color: #fff; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(160, 40, 15, 0.2);
}
.xr-cta h2 { font-size: 24px; letter-spacing: 1px; }
.xr-cta p { font-size: 14px; color: rgba(255, 255, 255, 0.82); margin-top: 6px; }
.xr-cta__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.xr-cta .xr-btn--white:hover { color: var(--red); }

/* ==========================================================================
   分类页 / 搜索页
   ========================================================================== */
.xr-page-head { background: linear-gradient(118deg, #f0502a, #cc2c12); color: #fff; padding: 30px 0 26px; }
.xr-page-head h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: 1px; }
.xr-page-head p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.82); max-width: 760px; }
.xr-page-head__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.xr-page-head__meta span { background: rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 3px 10px; }

.xr-crumb { font-size: 12.5px; color: var(--muted); padding: 16px 0 0; }
.xr-crumb a { color: var(--muted); }
.xr-crumb a:hover { color: var(--red); }
.xr-crumb span { margin: 0 6px; color: #c8b6a8; }

.xr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; padding: 18px 0 10px; }
.xr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.xr-empty { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 46px 20px; text-align: center; color: var(--muted); }
.xr-empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

.xr-pagination { display: flex; justify-content: center; gap: 8px; padding: 26px 0 6px; flex-wrap: wrap; }
.xr-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
}
.xr-pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.xr-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.xr-pagination .dots { border: 0; background: transparent; }

/* ---------- 侧栏 ---------- */
.xr-side { display: grid; gap: 16px; }
.xr-widget { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.xr-widget__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.xr-widget__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--red-3), var(--red-2)); }
.xr-rank { display: grid; gap: 10px; }
.xr-rank__item { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.xr-rank__no { flex: none; width: 18px; height: 18px; border-radius: 6px; background: var(--soft); color: var(--red); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }
.xr-rank__item:nth-child(-n+3) .xr-rank__no { background: var(--red); color: #fff; }
.xr-rank__item a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xr-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.xr-tagcloud a { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--red); }
.xr-tagcloud a:hover { background: var(--red); color: #fff; }
.xr-side__notice {
  background: #fff; border: 1px solid #f4dccd; border-radius: 14px;
  overflow: hidden; box-shadow: 0 10px 24px rgba(190, 60, 25, 0.09);
}
.xr-side__notice-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; color: #fff;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
}
.xr-side__notice-icon {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.xr-side__notice-title b { display: block; font-size: 15px; letter-spacing: 0.4px; }
.xr-side__notice-title em {
  display: block; margin-top: 2px; font-style: normal;
  font-size: 11px; opacity: 0.85; letter-spacing: 0.3px;
}
.xr-side__notice-badge {
  margin-left: auto; padding: 2px 9px; border-radius: 999px;
  background: #fff; color: var(--red); font-size: 11px; font-weight: 800;
}
.xr-side__notice ul { display: grid; gap: 9px; margin: 0; padding: 13px 14px 6px; list-style: none; }
.xr-side__notice li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px;
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
}
.xr-side__notice li span {
  width: 18px; height: 18px; margin-top: 1px; border-radius: 6px;
  display: grid; place-items: center;
  background: #fdece2; color: var(--red); font-size: 11px; font-weight: 800;
}
.xr-side__notice-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 10px 14px 14px; padding: 9px;
  border: 1px dashed #f0c6b3; border-radius: 9px;
  background: #fff4ee; color: var(--red);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.xr-side__notice-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.xr-side__text { font-size: 13px; line-height: 1.8; color: #5c514a; }
.xr-side__text b { color: var(--red); font-weight: 800; }
.xr-side__btn { margin-top: 12px; }

/* ==========================================================================
   文章详情
   ========================================================================== */
.xr-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; padding: 18px 0 10px; }
.xr-article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 30px; box-shadow: var(--shadow-sm); }
.xr-article__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.xr-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--red); }
.xr-tag--ok { background: var(--green-soft); color: var(--green); }
.xr-tag--info { background: var(--blue-soft); color: var(--blue); }
.xr-tag--new { background: #fff2d9; color: #b97900; }
.xr-article__title { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.5; font-weight: 800; letter-spacing: 0.5px; }
.xr-article__title::before { content: "【"; color: var(--red); }
.xr-article__title::after { content: "】"; color: var(--red); }
.xr-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.xr-article__meta .xr-avatar { width: 26px; height: 26px; font-size: 12px; }
.xr-article__meta strong { color: var(--ink-2); }

.xr-archive { margin-top: 22px; }
.xr-archive__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--red); margin-bottom: 12px; }
.xr-archive__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); }
.xr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xr-field {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  background: var(--soft); border: 1px solid #f8e2d2; border-radius: 10px;
  padding: 9px 13px; font-size: 14px;
}
.xr-field::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.xr-field__k { flex: none; color: var(--muted); font-size: 13px; }
.xr-field__v { color: var(--ink); font-weight: 600; word-break: break-all; }
.xr-field--wide { grid-column: 1 / -1; }
.xr-field--contact { background: #fff6ef; border-color: #f6cdb6; }
.xr-field--contact .xr-field__v { color: var(--red); font-weight: 800; font-size: 16px; letter-spacing: 0.5px; }

.xr-desc { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.xr-desc h2, .xr-desc h3 { font-size: 17px; color: var(--red); margin: 22px 0 10px; }
.xr-desc p { margin: 0 0 12px; }
.xr-desc ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.xr-desc li { margin-bottom: 4px; }
.xr-desc img { border-radius: 12px; margin: 14px 0; }
.xr-desc a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.xr-feature { margin-top: 18px; padding: 14px 16px; background: #fffaf6; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.xr-feature b { color: var(--red); margin-right: 6px; }

.xr-disclaimer { margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.xr-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.xr-share a, .xr-share button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; background: var(--soft); color: var(--red); border: 0; font-size: 12.5px; }
.xr-share a:hover, .xr-share button:hover { background: var(--red); color: #fff; }

.xr-person { background: linear-gradient(160deg, #fff8f3, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.xr-avatar { display: inline-grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f4623c, #c92a10); color: #fff; font-weight: 800; }
.xr-person__avatar { width: 74px; height: 74px; font-size: 30px; margin: 0 auto 10px; box-shadow: 0 10px 20px rgba(200, 45, 20, 0.24); }
.xr-person h3 { font-size: 19px; }
.xr-person__sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.xr-person__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.xr-person__tags span { font-size: 12px; background: var(--soft); color: var(--ink-2); border-radius: 6px; padding: 3px 8px; }
.xr-person__call { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--red-3), var(--red-2)); color: #fff; font-weight: 700; font-size: 14px; }
.xr-person__call:hover { color: #fff; opacity: 0.92; }

.xr-related { margin-top: 22px; }
.xr-related h2 { font-size: 18px; margin-bottom: 12px; }
.xr-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ==========================================================================
   静态页面
   ========================================================================== */
.xr-page { padding: 20px 0 10px; }
.xr-page__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 34px; box-shadow: var(--shadow-sm); max-width: 920px; margin: 0 auto; }
.xr-page__title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.xr-page__content { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.xr-page__content h2 { font-size: 18px; color: var(--ink); margin: 24px 0 10px; }
.xr-page__content h3 { font-size: 16px; color: var(--ink); margin: 18px 0 8px; }
.xr-page__content p { margin-bottom: 12px; }
.xr-page__content ul, .xr-page__content ol { padding-left: 22px; margin-bottom: 14px; }
.xr-page__content ul { list-style: disc; }
.xr-page__content ol { list-style: decimal; }
.xr-page__content li { margin-bottom: 6px; }
.xr-page__content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.xr-page__content img { border-radius: 12px; margin: 12px 0; }
.xr-page__content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.xr-page__content th, .xr-page__content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.xr-page__content th { background: var(--soft); }

/* ==========================================================================
   前台发布表单
   ========================================================================== */
.xr-publish { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; padding: 18px 0 10px; }
.xr-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 30px; box-shadow: var(--shadow-sm); }
.xr-form__head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.xr-form__head h1 { font-size: 22px; }
.xr-form__head p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.xr-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xr-form__row { display: flex; flex-direction: column; gap: 6px; }
.xr-form__row--full { grid-column: 1 / -1; }
.xr-form label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.xr-form label i { color: var(--red); font-style: normal; margin-left: 2px; }
.xr-form input[type="text"], .xr-form input[type="email"], .xr-form input[type="tel"], .xr-form input[type="date"], .xr-form input[type="number"], .xr-form select, .xr-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #fffdfb;
  padding: 10px 12px; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.xr-form input:focus, .xr-form select:focus, .xr-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 59, 29, 0.1); }
.xr-form textarea { min-height: 96px; resize: vertical; }
.xr-form__tip { font-size: 12px; color: var(--muted); }
.xr-form__actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.xr-form__actions .xr-btn { height: 46px; padding: 0 30px; }
.xr-form__agree { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.xr-alert { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; }
.xr-alert--ok { background: var(--green-soft); color: var(--green); border: 1px solid #c9e9d8; }
.xr-alert--err { background: #fff1ef; color: #c22e12; border: 1px solid #f7d3cb; }

/* ==========================================================================
   页脚
   ========================================================================== */
.xr-footer { margin-top: 50px; background: #f5eee6; border-top: 1px solid #eee0d3; }
.xr-footer__top { padding: 34px 0 26px; }
.xr-footer__card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; box-shadow: var(--shadow-sm); }
.xr-fcol h3 { position: relative; font-size: 15px; padding-left: 11px; margin-bottom: 12px; }
.xr-fcol h3::before { content: ""; position: absolute; left: 0; top: 3px; width: 3px; height: 14px; border-radius: 2px; background: var(--red); }
.xr-fcol p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.xr-fcol li { margin-bottom: 6px; font-size: 13px; }
.xr-fcol li a { color: var(--ink-2); }
.xr-fcol li a:hover { color: var(--red); }
.xr-fcol__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.xr-fcol__btns .xr-btn { height: 32px; padding: 0 12px; font-size: 12px; }
.xr-footer__bar { border-top: 1px solid #e7d9cc; padding: 18px 0 22px; }
.xr-footer__bar-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.xr-footer__brand { display: flex; align-items: center; gap: 8px; }
.xr-footer__brand b { font-size: 17px; }
.xr-footer__brand span { font-size: 11px; background: var(--red); color: #fff; border-radius: 4px; padding: 1px 6px; }
.xr-footer__desc { font-size: 12px; color: var(--muted); max-width: 560px; }
.xr-footer__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.xr-footer__links a { color: var(--muted); }
.xr-footer__links a:hover { color: var(--red); }
.xr-footer__meta { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e3d4c6; font-size: 11.5px; color: #a8988a; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .xr-nav a { padding: 8px 9px; font-size: 14px; }
  .xr-logo__slogan { display: none; }
  .xr-iconbtn__label { display: none; }
  .xr-iconbtn { padding: 0 10px; }
  .xr-sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xr-sec-grid__side { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-layout, .xr-single, .xr-publish { grid-template-columns: minmax(0, 1fr); }
  .xr-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-footer__card { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .xr-header__in { height: 62px; gap: 10px; }
  .xr-logo__slogan { display: none; }
  .xr-nav {
    position: fixed; left: 0; right: 0; top: 62px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    box-shadow: 0 18px 30px rgba(60, 30, 15, 0.12);
    max-height: calc(100vh - 62px); overflow-y: auto;
  }
  .admin-bar .xr-nav { top: 94px; }
  .xr-header.is-open .xr-nav { display: flex; }
  .xr-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .xr-nav a { padding: 11px 12px; font-size: 15px; }
  .xr-menu__cta > a { padding: 11px 12px; border-radius: 10px; text-align: center; }
  .xr-nav__util {
    flex-direction: column; align-items: stretch; gap: 10px;
    margin: 10px 0 0; padding: 12px 0 0;
    border-left: 0; border-top: 1px solid var(--line);
  }
  .xr-iconbtn { justify-content: center; height: 40px; font-size: 14px; padding: 0 12px; }
  .xr-iconbtn__label { display: inline; }
  .xr-theme__panel { position: static; width: auto; margin-top: 8px; box-shadow: none; background: var(--soft); }
  .xr-auth { gap: 8px; }
  .xr-auth__link { flex: 1; height: 40px; font-size: 14px; }
  .xr-burger { display: grid; margin-left: auto; }
  .xr-header__actions { margin-left: auto; }

  .xr-hero__in { grid-template-columns: 1fr; padding-top: 26px; gap: 10px; }
  .xr-hero__visual { display: none; }
  .xr-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .xr-hero__stat { border-left: 0; padding-left: 0; padding: 12px 0; }
  .xr-hero__stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 18px; }
  .xr-hero__cta { grid-column: 1 / -1; padding: 4px 0 16px; }
  .xr-hero__cta .xr-btn { width: 100%; }

  .xr-quick { grid-template-columns: repeat(2, 1fr); }
  .xr-sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-sec-grid__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-sec-grid > .xr-card:nth-child(3) { display: none; }
  .xr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-fields { grid-template-columns: 1fr; }
  .xr-side { grid-template-columns: 1fr; }
  .xr-footer__card { grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
  .xr-footer__links { margin-left: 0; }
  .xr-cta { padding: 24px; }
  .xr-cta__actions { margin-left: 0; width: 100%; }
  .xr-cta__actions .xr-btn { flex: 1; }
}

@media (max-width: 640px) {
  .xr-wrap { padding: 0 14px; }
  .xr-hero h1 { letter-spacing: 1px; }
  .xr-hero__sub { font-size: 13.5px; }
  .xr-search { margin-top: 16px; }
  .xr-search button { padding: 0 16px; }
  .xr-hero__hot a { font-size: 11.5px; }
  .xr-quick { grid-template-columns: 1fr; }
  .xr-tabs__link { padding: 7px 12px; font-size: 13px; }
  .xr-sec-grid { grid-template-columns: 1fr; }
  .xr-sec-grid > .xr-card:nth-child(3) { display: flex; }
  .xr-sec-grid__side { grid-template-columns: 1fr; }
  .xr-grid, .xr-grid--2 { grid-template-columns: 1fr; }
  .xr-card__media { aspect-ratio: 16 / 9; }
  .xr-article { padding: 20px 16px 24px; }
  .xr-page__card { padding: 22px 16px; }
  .xr-form { padding: 20px 16px 24px; }
  .xr-form__grid { grid-template-columns: 1fr; }
  .xr-form__actions { flex-direction: column; align-items: stretch; }
  .xr-related__grid { grid-template-columns: 1fr; }
  .xr-footer__card { grid-template-columns: 1fr; }
  .xr-footer__top { padding-top: 24px; }
  .xr-cta { padding: 20px; }
  .xr-cta h2 { font-size: 20px; }
  .xr-notice { padding: 9px 12px; gap: 8px; }
  .xr-notice__meta { display: none; }
  .xr-notice__text { font-size: 13px; }
  .xr-sec-head { flex-wrap: wrap; }
  .xr-sec-head p { display: none; }
  .xr-sec-head__more { margin-left: auto; }
}

/* ==========================================================================
   补充样式
   ========================================================================== */
.xr-quick__t, .xr-quick__d { display: block; }
.xr-quick__card > span:nth-child(2) { min-width: 0; }
.xr-single__main { display: grid; gap: 22px; min-width: 0; }
.xr-crumb i { font-style: normal; color: var(--ink-2); }
.xr-search button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.xr-btn--onred { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.xr-btn--onred:hover { background: #fff; color: var(--red); }
.xr-form input[type="file"] { border: 1px dashed var(--line); border-radius: 9px; padding: 10px; background: #fffdfb; font-size: 13px; width: 100%; }
.xr-field--contact a { color: var(--red); }
.xr-footer__desc { flex: 1; }
.xr-page-head .xr-search { margin-top: 16px; box-shadow: 0 10px 24px rgba(120, 20, 0, 0.16); }
.xr-person__call svg { flex: none; }
.xr-article__meta svg { vertical-align: -2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .xr-ticker__track { animation: none; }
  .xr-card:hover { transform: none; }
}

/* ==========================================================================
   多彩配色主题
   ========================================================================== */
html[data-xr-theme="blue"] {
  --red: #2c6fdb; --red-2: #1f55b8; --red-3: #4f8ef0;
  --soft: #eef4ff; --soft-2: #dfeaff; --bg: #f6f9fd; --line: #dbe7f6;
  --ink: #16202c; --ink-2: #48566a; --muted: #7d8a99;
}
html[data-xr-theme="green"] {
  --red: #1e8a5b; --red-2: #147048; --red-3: #37a874;
  --soft: #ecf8f2; --soft-2: #d9f1e4; --bg: #f5faf7; --line: #d8ebe1;
  --ink: #12211a; --ink-2: #44574d; --muted: #7c8d84;
}
html[data-xr-theme="purple"] {
  --red: #7a3ce0; --red-2: #6028bd; --red-3: #9a68f2;
  --soft: #f3eefe; --soft-2: #e7dcfd; --bg: #f8f6fd; --line: #e3daf4;
  --ink: #1d1630; --ink-2: #504665; --muted: #8b81a0;
}
html[data-xr-theme="orange"] {
  --red: #e07b00; --red-2: #b96000; --red-3: #f59b25;
  --soft: #fff5e8; --soft-2: #ffecd2; --bg: #fdf8f2; --line: #f0e0c9;
  --ink: #241a0f; --ink-2: #5c4a35; --muted: #94836d;
}
html[data-xr-theme="teal"] {
  --red: #0d8f8a; --red-2: #07706c; --red-3: #2bb0a9;
  --soft: #eaf7f6; --soft-2: #d3eeec; --bg: #f5faf9; --line: #d6e9e7;
  --ink: #12211f; --ink-2: #445a57; --muted: #7a908d;
}
body.xr-body { transition: background-color 0.3s ease; }

/* ==========================================================================
   第三阶段：邮箱验证码 / 隐私脱敏 / 待核实 / 线索举报
   ========================================================================== */

/* 验证码输入组 */
.xr-code { display: flex; gap: 8px; align-items: stretch; }
.xr-code input { flex: 1 1 auto; min-width: 0; }
.xr-code .xr-btn { flex: none; height: auto; white-space: nowrap; }
.xr-code .xr-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* 待核实徽标（列表卡片） */
.xr-badge-stale {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(255, 194, 75, 0.95); color: #6b4400;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.3px;
}
.xr-tag--stale { background: #fff2d9; color: #b97900; }

/* 照片隐私打码 */
.xr-img.is-blur { filter: blur(9px); transform: scale(1.06); transition: filter 0.35s; }
.xr-card__media:hover .xr-img.is-blur { filter: blur(4px); }

/* 详情页联系方式脱敏 */
.xr-contact { letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.xr-reveal {
  margin-left: 10px; padding: 3px 10px; border-radius: 6px;
  border: 1px solid #f0b79c; background: #fff; color: var(--red);
  font-size: 12px; font-weight: 700;
}
.xr-reveal:hover { background: var(--red); border-color: var(--red); color: #fff; }
.xr-privacy-tip { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 线索举报 / 信息纠错 */
.xr-report {
  margin-top: 26px; padding: 22px 24px 24px;
  background: #fffaf5; border: 1px solid var(--line); border-radius: 16px;
}
.xr-report__head { margin-bottom: 14px; }
.xr-report__head h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; color: var(--red);
}
.xr-report__head h2::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red);
}
.xr-report__head p { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.xr-report .xr-form__actions .xr-form__tip { flex: 1 1 100%; }

@media (max-width: 620px) {
  .xr-code { flex-wrap: wrap; }
  .xr-code .xr-btn { width: 100%; height: 40px; }
  .xr-report { padding: 18px 16px 20px; }
  .xr-reveal { margin-left: 6px; }
}

/* 锚点定位（避开吸顶导航） */
#xr-contact, #xr-report { scroll-margin-top: 90px; }
.xr-field--contact.is-flash { animation: xr-flash 1.2s ease; }
@keyframes xr-flash {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 3px rgba(227, 59, 29, 0.25); }
}
.xr-reveal[disabled] { opacity: 0.55; cursor: default; }

/* ==========================================================================
   置顶 / 加急 标记
   ========================================================================== */
.xr-card__tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.xr-flag {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 5px;
  font-size: 11px; font-weight: 700; line-height: 1.5;
}
.xr-flag--top { background: var(--red); color: #fff; }
.xr-flag--urg { background: #fff2d9; color: #b97900; }
.xr-item__meta .xr-badge-stale { position: static; top: auto; right: auto; }

/* ==========================================================================
   宽屏平铺：≥1600px 增加一列，充分利用横向空间
   ========================================================================== */
@media (min-width: 1600px) {
  .xr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xr-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xr-hero__in { padding-top: 44px; }
}

/* 手机端隐藏页脚白色信息板块（PC 端保留） */
@media (max-width: 640px) {
  .xr-footer__top { display: none; }
  .xr-footer { margin-top: 30px; }
}

/* ==========================================================================
   区块标题栏美化（精致极简）
   ========================================================================== */
.xr-sec-head {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 0 16px; min-height: 32px;
}
.xr-sec-head h2 {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 21px; font-weight: 800; letter-spacing: 0.5px; color: var(--ink);
}
.xr-sec-head h2::before {
  content: ""; width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--red-3), var(--red-2));
}
.xr-sec-head h2 em {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 20px; padding: 0 7px;
  font-style: normal; font-size: 12px; font-weight: 800; line-height: 1;
  color: var(--red); background: #fdece2; border-radius: 999px;
}
.xr-sec-head p {
  padding: 0 0 0 12px; margin-left: 2px;
  border-left: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.5; color: #9b8b80;
}
.xr-sec-head__more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 12.5px; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.xr-sec-head__more:hover {
  color: var(--red); border-color: #f3c4b5; background: var(--soft);
}

@media (max-width: 860px) {
  .xr-sec-head h2 { font-size: 19px; }
}
@media (max-width: 640px) {
  .xr-sec-head { gap: 8px; margin-bottom: 12px; min-height: 28px; }
  .xr-sec-head h2 { font-size: 18px; gap: 8px; }
  .xr-sec-head h2::before { height: 17px; }
  .xr-sec-head h2 em { min-width: 20px; height: 18px; font-size: 11px; }
  .xr-sec-head__more { padding: 5px 11px; font-size: 12px; }
}

/* ==========================================================================
   导航搜索按钮与搜索面板
   ========================================================================== */
.xr-searchbar {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 14px 0 16px; background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(60, 20, 0, 0.1);
  animation: xr-drop 0.18s ease;
}
.xr-searchbar[hidden] { display: none; }
@keyframes xr-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.xr-searchbar__form {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 6px 14px;
  background: #fff7f2; border: 1px solid #f2d8cb; border-radius: 12px;
}
.xr-searchbar__form > svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.xr-searchbar__form input[type="search"] {
  flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 8px 4px; font-size: 15px; color: var(--ink);
}
.xr-searchbar__form input::placeholder { color: #a99a90; }
.xr-searchbar__submit {
  flex: none; height: 38px; padding: 0 22px; border: 0; border-radius: 9px;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  color: #fff; font-size: 14px; font-weight: 800;
}
.xr-searchbar__submit:hover { filter: brightness(1.06); }
.xr-searchbar__close {
  flex: none; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font-size: 22px; line-height: 1;
}
.xr-searchbar__close:hover { background: #f7ece5; color: var(--red); }

/* 最新动态条移到分类标题上方后的间距 */
.xr-ticker { margin-top: 0; margin-bottom: 14px; }

@media (max-width: 640px) {
  .xr-searchbar { padding: 10px 0 12px; }
  .xr-searchbar__form { padding: 5px 6px 5px 11px; }
  .xr-searchbar__form input[type="search"] { font-size: 14px; }
  .xr-searchbar__submit { height: 34px; padding: 0 15px; font-size: 13px; }
  .xr-searchbar__close { width: 30px; height: 30px; font-size: 19px; }
}

/* ==========================================================================
   首页最新动态独立板块
   ========================================================================== */
.xr-live { margin-top: 18px; }
.xr-live__card {
  display: flex; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(120, 40, 10, 0.07);
  overflow: hidden;
}
.xr-live__brand {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  color: #fff;
}
.xr-live__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ffe08a;
  box-shadow: 0 0 0 3px rgba(255, 224, 138, 0.28);
  animation: xr-live-pulse 1.8s ease-in-out infinite;
}
@keyframes xr-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}
.xr-live__brandtext { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.xr-live__brandtext strong { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; }
.xr-live__brandtext em {
  font-style: normal; font-size: 11px; opacity: 0.82;
  padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.xr-live__viewport {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.xr-live__track {
  display: flex; align-items: center; width: max-content;
  animation: xr-live-scroll 60s linear infinite;
}
.xr-live__card:hover .xr-live__track { animation-play-state: paused; }
@keyframes xr-live-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.xr-live__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 20px; border-right: 1px solid #f6ebe4;
  font-size: 13.5px; color: var(--ink); white-space: nowrap;
}
.xr-live__cat {
  flex: none; padding: 2px 7px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: var(--red); background: #fdece2;
}
.xr-live__title { font-weight: 600; transition: color 0.2s; }
.xr-live__item:hover .xr-live__title { color: var(--red); }
.xr-live__meta { font-size: 12px; color: #a3948a; }
.xr-live__more {
  flex: none; display: inline-flex; align-items: center;
  padding: 0 20px; border-left: 1px solid var(--line);
  background: #fdf7f2; font-size: 12.5px; font-weight: 700; color: var(--muted);
  white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.xr-live__more:hover { color: var(--red); background: #fbeadf; }

@media (max-width: 860px) {
  .xr-live__brand { padding: 0 14px; }
  .xr-live__brandtext em { display: none; }
  .xr-live__item { padding: 13px 14px; font-size: 13px; }
  .xr-live__more { padding: 0 14px; }
}
@media (max-width: 640px) {
  .xr-live { margin-top: 14px; }
  .xr-live__card { border-radius: 13px; }
  .xr-live__brand { padding: 0 12px; }
  .xr-live__brandtext strong { font-size: 13px; }
  .xr-live__item { gap: 6px; padding: 11px 12px; font-size: 12.5px; }
  .xr-live__meta { display: none; }
  .xr-live__more { padding: 0 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .xr-live__track, .xr-live__dot { animation: none; }
}

/* ==========================================================================
   面包屑导航美化
   ========================================================================== */
.xr-crumb {
  display: inline-flex; align-items: center; flex-wrap: wrap; row-gap: 4px;
  margin: 14px 0 2px; padding: 7px 15px 7px 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 3px 10px rgba(120, 40, 10, 0.04);
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.xr-crumb svg { width: 14px; height: 14px; color: var(--red); margin-right: 8px; flex: none; }
.xr-crumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.xr-crumb a:hover { color: var(--red); }
.xr-crumb span { margin: 0 7px; color: #cdb9ab; font-size: 11px; line-height: 1; }
.xr-crumb i {
  font-style: normal; font-weight: 600; color: var(--ink-2);
  max-width: min(62vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ==========================================================================
   线索举报表单控件美化
   ========================================================================== */
.xr-report .xr-form__row label {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.xr-report .xr-form__row label i { color: var(--red); font-style: normal; }
.xr-report input[type="text"],
.xr-report select,
.xr-report textarea {
  width: 100%; padding: 11px 14px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink);
  background-color: #fff;
  border: 1px solid #eeddd3; border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(120, 40, 10, 0.035);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.xr-report input::placeholder,
.xr-report textarea::placeholder { color: #b7a79c; }
.xr-report input[type="text"]:hover,
.xr-report select:hover,
.xr-report textarea:hover { border-color: #e2c8b9; }
.xr-report input[type="text"]:focus,
.xr-report select:focus,
.xr-report textarea:focus {
  border-color: var(--red); background-color: #fff;
  box-shadow: 0 0 0 3px rgba(227, 59, 29, 0.1);
}
.xr-report select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3755f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 14px;
}
.xr-report textarea { min-height: 112px; resize: vertical; }

@media (max-width: 640px) {
  .xr-crumb { margin-top: 10px; padding: 6px 12px; border-radius: 12px; font-size: 12px; }
  .xr-crumb i { max-width: 58vw; }
  .xr-report input[type="text"], .xr-report select, .xr-report textarea { font-size: 13px; padding: 10px 12px; }
}

/* 分享条举报按钮 */
.xr-share a.xr-share__report {
  margin-left: auto; padding: 7px 18px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(227, 59, 29, 0.24);
  transition: background 0.2s, transform 0.2s;
}
.xr-share a.xr-share__report:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); }

/* ==========================================================================
   最新动态列表页
   ========================================================================== */
.xr-page-head__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11.5px; letter-spacing: 0.08em;
}
.xr-feed { display: grid; gap: 12px; }
.xr-feed__item {
  display: grid; grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 16px; align-items: center;
  padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.xr-feed__item:hover {
  transform: translateY(-2px); border-color: #efd6c7;
  box-shadow: 0 14px 30px rgba(140, 50, 20, 0.1);
}
.xr-feed__media {
  display: block; width: 148px; height: 104px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
}
.xr-feed__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xr-feed__letter {
  display: grid; place-items: center; width: 100%; height: 100%;
  color: #fff; font-size: 34px; font-weight: 800; letter-spacing: 1px;
}
.xr-feed__body { min-width: 0; }
.xr-feed__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.xr-feed__cat {
  padding: 2px 8px; border-radius: 6px; background: #fdece2;
  font-size: 11px; font-weight: 700; color: var(--red);
}
.xr-feed__time { margin-left: auto; font-size: 12px; color: #a3948a; }
.xr-feed__title { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; line-height: 1.45; }
.xr-feed__title a { color: var(--ink); }
.xr-feed__title a:hover { color: var(--red); }
.xr-feed__desc {
  margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.xr-feed__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; font-size: 12px; color: #a3948a; }
.xr-feed__meta span { position: relative; padding-left: 11px; }
.xr-feed__meta span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px;
  border-radius: 50%; background: #d8c5b8; transform: translateY(-50%);
}
.xr-feed__meta span:first-child { padding-left: 0; }
.xr-feed__meta span:first-child::before { display: none; }
.xr-feed__go {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; color: var(--red);
}
.xr-feed__go span { transition: transform 0.2s; }
.xr-feed__item:hover .xr-feed__go span { transform: translateX(3px); }

@media (max-width: 860px) {
  .xr-feed__item { grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 12px; }
  .xr-feed__media { width: 112px; height: 84px; }
  .xr-feed__go { display: none; }
  .xr-feed__title { font-size: 15px; }
}
@media (max-width: 640px) {
  .xr-feed { gap: 10px; }
  .xr-feed__item { grid-template-columns: 92px minmax(0, 1fr); gap: 11px; padding: 11px; border-radius: 12px; }
  .xr-feed__media { width: 92px; height: 76px; border-radius: 8px; }
  .xr-feed__letter { font-size: 26px; }
  .xr-feed__title { font-size: 14.5px; margin-bottom: 4px; }
  .xr-feed__desc { display: none; }
  .xr-feed__time { display: none; }
  .xr-feed__meta { margin-top: 6px; font-size: 11.5px; }
}


/* ---------- 标记已找到 ---------- */
.xr-article__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.xr-article__head .xr-article__title { flex: 1 1 60%; min-width: 0; }
.xr-found-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px; margin-top: 2px;
  border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green-soft); color: var(--green);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: 0.2s;
}
.xr-found-btn svg { width: 15px; height: 15px; }
.xr-found-btn:hover { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(31, 138, 91, 0.25); }

.xr-found-modal[hidden] { display: none; }
.xr-found-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.xr-found-modal__mask { position: absolute; inset: 0; background: rgba(30, 18, 12, 0.5); backdrop-filter: blur(3px); }
.xr-found-modal__card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px 24px;
}
.xr-found-modal__x {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; border: 0; background: transparent;
  font-size: 24px; line-height: 1; color: var(--muted); border-radius: 8px;
}
.xr-found-modal__x:hover { background: var(--soft); color: var(--red); }
.xr-found-modal__card h3 { font-size: 18px; margin-bottom: 8px; }
.xr-found-modal__tip { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.xr-found-modal__row { margin-bottom: 14px; }
.xr-found-modal__row label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.xr-found-modal__row input, .xr-found-modal__row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; background: #fff;
  outline: none; transition: border-color 0.2s;
}
.xr-found-modal__row input:focus, .xr-found-modal__row textarea:focus { border-color: var(--red); }
.xr-found-modal__code { display: flex; gap: 8px; }
.xr-found-modal__code input { flex: 1; }
.xr-found-modal__code .xr-btn { flex: none; }
.xr-found-modal__msg { min-height: 20px; font-size: 13px; margin: 4px 0 12px; }
.xr-found-modal__submit { width: 100%; }
@media (max-width: 640px) {
  .xr-found-btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .xr-found-modal__card { padding: 22px 18px 18px; }
}

/* ---------- 归档页底部兜底 ---------- */
.xr-endnote {
  margin: 22px 0 8px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--soft); border: 1px dashed #f0d6c6; border-radius: var(--radius);
}
.xr-endnote p { font-size: 13.5px; color: var(--ink-2); }
.xr-endnote p b { color: var(--red); }

/* ---------- 404 寻人列表 ---------- */
.xr-404-list { margin-top: 48px; }
.xr-404-list__title {
  font-size: 22px; text-align: center; letter-spacing: 1px;
}
.xr-404-list__title::before, .xr-404-list__title::after { content: "—"; color: var(--red); margin: 0 12px; opacity: 0.6; }
.xr-404-list__sub { text-align: center; font-size: 13.5px; color: var(--muted); margin: 8px 0 24px; }

/* ---------- 留言板（便签墙） ---------- */
.xr-board { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-bottom: 48px; }
.xr-board-notice {
  margin: 0 0 18px; padding: 14px 18px;
  background: var(--green-soft); border: 1px solid #bfe3d1; border-radius: var(--radius-sm);
  color: var(--green); font-size: 14px; font-weight: 600;
}
.xr-board__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xr-note {
  position: relative; padding: 26px 18px 14px; min-height: 150px;
  display: flex; flex-direction: column;
  border-radius: 4px 4px 14px 4px;
  box-shadow: 0 8px 18px rgba(94, 45, 28, 0.12);
  transition: transform 0.22s, box-shadow 0.22s;
}
.xr-note:nth-child(odd) { transform: rotate(-1.2deg); }
.xr-note:nth-child(even) { transform: rotate(1.1deg); }
.xr-note:nth-child(3n) { transform: rotate(0.6deg); }
.xr-note:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 16px 30px rgba(94, 45, 28, 0.18); z-index: 2; }
.xr-note--yellow { background: linear-gradient(180deg, #fff6c9, #ffe98f); }
.xr-note--pink { background: linear-gradient(180deg, #ffe1ea, #ffc9d8); }
.xr-note--blue { background: linear-gradient(180deg, #dceeff, #c4e0ff); }
.xr-note--green { background: linear-gradient(180deg, #dcf5e5, #c2ecd3); }
.xr-note--purple { background: linear-gradient(180deg, #ece4ff, #dcd0ff); }
.xr-note__pin {
  position: absolute; top: -7px; left: 50%; margin-left: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a70, var(--red-2) 70%);
  box-shadow: 0 3px 5px rgba(94, 45, 28, 0.35);
}
.xr-note__text {
  flex: 1; font-size: 14px; line-height: 1.85; color: #43302a;
  word-break: break-word;
}
.xr-note__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 8px; border-top: 1px dashed rgba(67, 48, 42, 0.18);
  font-size: 12px; color: rgba(67, 48, 42, 0.65);
}
.xr-note__author { font-weight: 700; }

.xr-board__card {
  position: sticky; top: 90px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px;
}
.xr-board__card h2 { font-size: 17px; margin-bottom: 6px; }
.xr-board__hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.xr-board__card label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 5px; }
.xr-board__card input, .xr-board__card textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; background: #fffdfb;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.xr-board__card input:focus, .xr-board__card textarea:focus { border-color: var(--red); }
.xr-board__card .comment-form-author, .xr-board__card .comment-form-email, .xr-board__card .comment-form-comment { margin: 0 0 14px; }
.xr-board__card .required { color: var(--red); }
.xr-board__safe { font-size: 12px; color: var(--muted); margin: 4px 0 12px; }
.xr-board__submit { width: 100%; }
.xr-board__card .form-submit { margin: 0; }

@media (max-width: 1100px) {
  .xr-board { grid-template-columns: minmax(0, 1fr); }
  .xr-board__card { position: static; }
  .xr-board__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .xr-board__wall { grid-template-columns: 1fr; }
}

/* ---------- 首页祝福滚动条 ---------- */
.xr-wishes {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, #fff8ec, #ffefd9);
  border-bottom: 1px solid #f3e2c8;
  padding: 10px clamp(18px, 2.6vw, 56px);
}
.xr-wishes__label {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd166, var(--gold-2)); color: #4a2a00;
  font-size: 12.5px; font-weight: 800;
}
.xr-wishes__label:hover { color: #4a2a00; opacity: 0.9; }
.xr-wishes__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.xr-wishes__roll { display: inline-flex; gap: 34px; white-space: nowrap; animation: xr-wishes-roll 40s linear infinite; }
.xr-wishes:hover .xr-wishes__roll { animation-play-state: paused; }
@keyframes xr-wishes-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.xr-wishes__item { font-size: 13px; color: #7a5c2e; }
.xr-wishes__item b { color: #54380f; }
.xr-wishes__item:hover { color: var(--red); }
.xr-wishes__more { flex: none; font-size: 12.5px; font-weight: 700; color: #a3620a; }
.xr-wishes__more:hover { color: var(--red); }

/* ---------- 导航：留言板 / 媒体合作 ---------- */
.xr-menu__board > a {
  padding: 9px 16px !important; border-radius: 999px;
  background: linear-gradient(135deg, #ffd166, var(--gold-2)) !important;
  color: #4a2a00 !important; font-weight: 700;
  box-shadow: 0 6px 14px rgba(242, 165, 31, 0.25);
}
.xr-menu__board > a:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold-2)) !important; color: #4a2a00 !important; }
.xr-menu__media > a {
  padding: 8px 15px !important; border-radius: 999px;
  border: 1.5px solid var(--red) !important; color: var(--red) !important;
  font-weight: 700; background: transparent !important;
}
.xr-menu__media > a:hover { background: var(--soft) !important; }

/* ---------- 寻人信息查询页 ---------- */
.xr-search-hero {
  display: flex; align-items: center; gap: 18px;
  margin: 26px 0 34px; padding: 26px 28px;
  background: linear-gradient(120deg, #fff, #fff7f0);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.xr-search-hero__icon {
  flex: none; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  box-shadow: 0 8px 18px rgba(200, 45, 20, 0.25);
}
.xr-search-hero .xr-search { flex: 1; display: flex; gap: 10px; }
.xr-search-hero .xr-search input {
  flex: 1; height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.xr-search-hero .xr-search input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 59, 29, 0.1); }
.xr-search-hero .xr-search button {
  height: 48px; padding: 0 30px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #ffd166, var(--gold-2)); color: #4a2a00;
  font-size: 15px; font-weight: 800; letter-spacing: 2px;
  box-shadow: 0 8px 18px rgba(242, 165, 31, 0.3); transition: transform 0.2s, box-shadow 0.2s;
}
.xr-search-hero .xr-search button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(242, 165, 31, 0.38); }

.xr-search-sec { margin-bottom: 38px; }
.xr-search-sec__title { font-size: 19px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--red); }
.xr-search-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.xr-search-cat {
  display: flex; flex-direction: column; gap: 10px; position: relative;
  padding: 18px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.xr-search-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.xr-search-cat__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
}
.xr-search-cat--red .xr-search-cat__icon { background: var(--soft-2); color: var(--red); }
.xr-search-cat--gold .xr-search-cat__icon { background: #fff4d9; color: var(--gold-2); }
.xr-search-cat--green .xr-search-cat__icon { background: var(--green-soft); color: var(--green); }
.xr-search-cat--blue .xr-search-cat__icon { background: var(--blue-soft); color: var(--blue); }
.xr-search-cat--purple .xr-search-cat__icon { background: #f1ebff; color: #7c5cd6; }
.xr-search-cat__body b { display: block; font-size: 15px; }
.xr-search-cat__body b em {
  font-style: normal; font-size: 11px; font-weight: 700; margin-left: 6px;
  padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--red);
}
.xr-search-cat__body i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.xr-search-cat__arrow { position: absolute; right: 14px; top: 16px; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.xr-search-cat:hover .xr-search-cat__arrow { transform: translateX(4px); color: var(--red); }

.xr-search-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.xr-search-tip {
  position: relative; padding: 20px 18px 18px;
  background: var(--soft); border: 1px dashed #f0d6c6; border-radius: var(--radius);
}
.xr-search-tip__no {
  position: absolute; top: -11px; left: 16px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800;
  box-shadow: 0 4px 8px rgba(200, 45, 20, 0.3);
}
.xr-search-tip b { font-size: 14.5px; }
.xr-search-tip p { font-size: 13px; color: var(--ink-2); line-height: 1.75; margin-top: 6px; }

@media (max-width: 1000px) { .xr-search-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .xr-search-hero { flex-direction: column; }
  .xr-search-tips { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .xr-search-cats { grid-template-columns: 1fr; } }

/* ---------- 媒体合作页 ---------- */
.xr-media { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-bottom: 48px; }
.xr-media__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xr-media__item {
  padding: 22px 20px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.xr-media__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.xr-media__icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px;
  background: var(--soft-2); color: var(--red);
}
.xr-media__item b { display: block; font-size: 16px; margin-bottom: 6px; }
.xr-media__item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.xr-media__contact {
  position: sticky; top: 90px;
  padding: 24px 22px;
  background: linear-gradient(160deg, #fff, #fff7f0);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.xr-media__contact h2 { font-size: 17px; margin-bottom: 4px; }
.xr-media__lead { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.xr-media__row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.xr-media__label { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); }
.xr-media__row b { flex: 1; font-size: 15px; letter-spacing: 0.5px; }
.xr-media__safe { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 12px 0 16px; padding: 10px 12px; background: #fffaf0; border-radius: 8px; }
@media (max-width: 1000px) { .xr-media { grid-template-columns: minmax(0, 1fr); } .xr-media__contact { position: static; } }
@media (max-width: 640px) { .xr-media__grid { grid-template-columns: 1fr; } }

/* ---------- 导航 hover 动效 ---------- */
.xr-nav li:not(.xr-menu__cta):not(.xr-menu__board):not(.xr-menu__media) > a {
  position: relative;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s, background 0.2s;
}
.xr-nav li:not(.xr-menu__cta):not(.xr-menu__board):not(.xr-menu__media) > a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red-3), var(--gold));
  transition: width 0.25s ease, left 0.25s ease;
}
.xr-nav a:hover::after { width: 56%; left: 22%; }
.xr-nav a:hover { transform: translateY(-1.5px); }
.xr-menu__cta > a, .xr-menu__board > a {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s, background 0.2s !important;
}
.xr-menu__cta > a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(200, 45, 20, 0.35) !important; }
.xr-menu__board > a:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 20px rgba(242, 165, 31, 0.4) !important; }
.xr-menu__media > a { transition: transform 0.22s, background 0.2s, box-shadow 0.22s; }
.xr-menu__media > a:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(227, 59, 29, 0.15); }

/* ---------- 留言板：验证码与提交按钮间距 ---------- */
.comment-form-cookies-consent { margin-bottom: 16px !important; }
.comment-form-captcha { margin: 0 0 6px; }
.xr-board__card .comment-form-captcha input { margin-top: 6px; }
.xr-board__card .form-submit { margin-top: 22px !important; }

/* ---------- 媒体合作页卡片优化 ---------- */
.xr-media__grid { gap: 18px; }
.xr-media__item {
  position: relative; overflow: hidden;
  padding: 26px 22px 22px 26px;
}
.xr-media__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--red-3), var(--gold));
  border-radius: 4px 0 0 4px; opacity: 0; transition: opacity 0.25s;
}
.xr-media__item:hover::before { opacity: 1; }
.xr-media__item:nth-child(1) .xr-media__icon { background: var(--soft-2); color: var(--red); }
.xr-media__item:nth-child(2) .xr-media__icon { background: #fff4d9; color: var(--gold-2); }
.xr-media__item:nth-child(3) .xr-media__icon { background: var(--blue-soft); color: var(--blue); }
.xr-media__item:nth-child(4) .xr-media__icon { background: var(--green-soft); color: var(--green); }
.xr-media__item .xr-media__icon { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.xr-media__item:hover .xr-media__icon { transform: scale(1.08) rotate(-4deg); }
