/* ==========================================================================
   包养网 · 全局样式
   视觉系统来自参考站样式表提取的设计 token（见 .site-work/baoyang.sbs/visual/tokens.md）
   浅色底、粉色系、1200px 门户容器；字级按可读性整体放大
   ========================================================================== */

:root {
  /* 线与底色 */
  --line: #F5D1DD;
  --line-strong: #FBA7CB;
  --wash: #FCEAF2;
  --wash-2: #FFF4FB;
  --bg: #FFFFFF;
  --card: #FFFFFF;

  /* 强调 */
  --accent: #F57486;
  --accent-deep: #B03A54;
  --link: #C9407A;
  --magenta: #FD66A9;
  --nav-a: #D8385E;
  --nav-b: #C42A55;
  --active: #F2F26A;
  --red: #FF0000;
  --red-deep: #C1121F;
  --orange: #F9B20A;

  /* 文字 */
  --text: #3D3D3D;
  --text-2: #666666;
  --text-3: #6F6A6F;
  --text-4: #7C757C;
  --text-wash: #5E5A5E;
  --ink: #1F1F1F;
  --overlay: #3D3D3D;

  /* 九宫格 */
  --t1: #68DBFA;
  --t2: #E9A2E8;
  --t3: #F57486;
  --t4: #95C649;
  --t5: #F8C900;
  --t6: #78C7C2;
  --t7: #9FBFE8;
  --t8: #6CDCFF;
  --t9: #C18B7F;

  --radius: 5px;
  --radius-lg: 6px;
  --container: 1200px;
  --pad: 14px;
  --gap: 10px;
  --font: Tahoma, "Microsoft YaHei", "SimSun", "Hiragino Sans GB", sans-serif;
  --font-title: "Microsoft YaHei", Tahoma, "SimSun", sans-serif;

  /* 中性件 */
  --white: #FFFFFF;
  --black: #000000;
  --wash-3: #F9DCE9;
  --row-alt: #FFFBFC;
  --chip-bg: #EFEFEF;
  --shadow-1: rgba(0, 0, 0, .12);
  --veil-1: rgba(0, 0, 0, .16);
  --veil-2: rgba(0, 0, 0, .28);
  --veil-3: rgba(0, 0, 0, .32);
  --veil-4: rgba(0, 0, 0, .5);
  --fade-72: rgba(255, 255, 255, .72);
  --fade-78: rgba(255, 255, 255, .78);
  --fade-90: rgba(255, 255, 255, .9);

  /* 排行与状态件 */
  --badge-1-bg: #FFD5DD;
  --badge-1-fg: #8C1B32;
  --badge-2-bg: #FFE3C9;
  --badge-2-fg: #8A4A00;
  --badge-3-bg: #E4F2CE;
  --badge-3-fg: #3F6410;
  --note-ok-bg: #F2F9EC;
  --note-ok-bd: #C6DDAE;
  --note-ok-fg: #4E7A16;
  --note-warn-bg: #FFFAEC;
  --note-warn-bd: #E8CE8E;
  --note-warn-fg: #8A6200;
  --note-danger-bg: #FEF1F3;
  --note-danger-bd: #F0B6C1;
  --note-danger-fg: #A32234;

  /* 拼图浅色填充 */
  --tint-1: #EAF7FD;
  --tint-2: #FBEFFB;
  --tint-3: #FDECEF;
  --tint-4: #F1F8E7;
  --tint-5: #FFF9E0;
  --tint-6: #EAF7F6;
  --tint-7: #EDF3FB;
  --tint-8: #E9F8FE;
  --tint-9: #F7EFEC;

  /* 按钮件 */
  --accent-darker: #A93B54;
  --cta-edge: #E24E7E;
  --cta-shadow: rgba(226, 78, 126, .32);

  --cta-loop: 2.8s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 108px;
  font: 16px/1.75 var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { font-family: var(--font-title); }
h1 { font-size: 26px; line-height: 1.45; margin: 0 0 12px; }
h2 { font-size: 20px; line-height: 1.5; margin: 0 0 10px; }
h3 { font-size: 18px; line-height: 1.5; margin: 0 0 8px; }
p { margin: 0 0 12px; }
img { max-width: 100%; height: auto; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--red-deep); text-decoration: underline; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; font-size: 14px; color: var(--text-3); padding: 0 0 8px; }
strong, b { font-weight: 700; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-deep); color: var(--white); padding: 10px 16px; z-index: 99;
}
.skip:focus { left: 8px; top: 8px; }

/* 键盘焦点：不依赖浏览器默认环，深玫瑰描边在白底与粉底上都清楚 */
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}

.wrap { width: var(--container); max-width: 100%; margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: linear-gradient(180deg, var(--wash) 0%, var(--wash-3) 100%);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 30px;
  color: var(--text-wash);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding: 0 var(--pad); min-height: 30px; }
.topbar__warn { flex: 1 1 auto; min-width: 0; }
.topbar__warn strong { color: var(--red-deep); }
.topbar__nav { flex: 0 0 auto; display: flex; gap: 12px; }
.topbar__nav a { color: var(--text-wash); }
.topbar__nav a:hover { color: var(--accent-deep); text-decoration: underline; }

/* ---------- 报头 ---------- */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead .wrap {
  display: flex; align-items: center; gap: 18px;
  padding: 16px var(--pad);
  flex-wrap: wrap;
}
.mark {
  font-family: var(--font-title);
  font-size: 30px; font-weight: 700; color: var(--accent-deep);
  letter-spacing: 1px; text-decoration: none;
}
.mark:hover { color: var(--accent-deep); text-decoration: none; }
.mark--home { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
.mark__a { color: var(--accent-deep); text-decoration: none; }
.mark__a:hover { color: var(--accent-deep); text-decoration: none; }
.mark__sub {
  font-family: var(--font); font-size: 15px; font-weight: 400;
  color: var(--text-2); letter-spacing: 0;
}
.mark__note {
  margin: 0; flex: 1 1 300px; min-width: 0;
  font-size: 15px; color: var(--text-2);
}
.hd-entry {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--wash-2); padding: 8px 12px; font-size: 14px;
}
.hd-entry b { color: var(--accent-deep); }

/* ---------- 主导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, var(--nav-a) 0%, var(--nav-b) 100%);
  border-bottom: 1px solid var(--cta-edge);
}
.nav__list { display: flex; flex-wrap: wrap; padding: 0 var(--pad); }
.nav__list a {
  display: block; padding: 0 20px; height: 45px; line-height: 45px;
  color: var(--white); font-size: 17px; font-weight: 700; text-decoration: none;
}
.nav__list a:hover { color: var(--white); background: var(--veil-1); text-decoration: underline; }
.nav__list a[aria-current="page"] {
  color: var(--white); background: var(--veil-2);
  box-shadow: inset 0 -3px 0 var(--active);
}

/* ---------- 搜索条 ---------- */
.scbar { background: var(--wash); border-bottom: 1px solid var(--line); }
.scbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px var(--pad); }
.scbar__form { display: flex; align-items: center; gap: 8px; }
.scbar__form label { font-size: 14px; color: var(--text-2); }
.scbar__in {
  width: 300px; max-width: 46vw; height: 32px;
  border: 1px solid var(--white); border-radius: var(--radius);
  padding: 0 10px; font-size: 15px; color: var(--text); background: var(--white);
}
.btn {
  height: 32px; padding: 0 18px; border: none; border-radius: var(--radius);
  background: var(--accent-deep); color: var(--white); font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn:hover { background: var(--accent-darker); }
.scbar__hot { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--text-2); }
.scbar__hot a { white-space: nowrap; }
.search-out { flex: 1 1 100%; font-size: 15px; }
.search-out ul { margin-top: 6px; }
.search-out li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.search-out li span { color: var(--text-3); font-size: 13px; margin-left: 8px; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 12px var(--pad) 0; font-size: 14px; color: var(--text-2); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--link); }
.crumbs__sep { margin: 0 8px; color: var(--text-3); }

/* ---------- 卡片 ---------- */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); margin-bottom: var(--gap);
}
.card__hd {
  background: var(--wash); border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0 var(--pad); min-height: 38px; line-height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--text);
}
.card__hd a.more { font-size: 14px; font-weight: 400; color: var(--text-2); white-space: nowrap; }
.card__hd a.more:hover { color: var(--link); }
.card__hd h2 {
  margin: 0; font-size: 17px; font-weight: 700; color: var(--text);
  line-height: 1.4; overflow: hidden;
}
.card__bd { padding: var(--pad); }
.card__bd > *:last-child { margin-bottom: 0; }

/* ---------- 栏目标题（参考站左竖条按 A25 改为短下划线） ---------- */
.st {
  position: relative; margin: 0 0 12px; padding: 0 0 8px;
  font-size: 20px; font-weight: 700; color: var(--black); line-height: 1.5;
}
.st::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; background: var(--accent); border-radius: 2px;
}
.st a.more { float: right; font-size: 14px; font-weight: 400; color: var(--text-3); }
.st a.more:hover { color: var(--link); }
.st tt {
  font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--text-2);
  padding: 0 10px; border-left: 1px solid var(--magenta); font-style: normal;
}
.st tt a { color: var(--text-2); }

/* ---------- 门户三栏 ---------- */
.portal__top { display: flex; gap: var(--gap); align-items: flex-start; padding: var(--pad) var(--pad) 0; }
.portal__left { flex: 1 1 auto; min-width: 0; display: flex; gap: var(--gap); }
.portal__col-a { flex: 0 0 360px; min-width: 0; }
.portal__col-b { flex: 1 1 auto; min-width: 0; }
.portal__right { flex: 0 0 358px; min-width: 0; }

/* ---------- 轮播 ---------- */
.slide { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--wash-2); }
.slide__tabs {
  position: absolute; right: 8px; top: 8px; z-index: 3; display: flex; gap: 5px;
}
.slide__tabs button {
  width: 22px; height: 22px; border: none; border-radius: var(--radius);
  background: var(--veil-3); color: var(--white); font-size: 13px; line-height: 22px;
  cursor: pointer; padding: 0;
}
.slide__tabs button[aria-selected="true"] { background: var(--fade-72); color: var(--black); font-weight: 700; }
.slide__stage { position: relative; }
.slide__item { display: none; min-height: 300px; padding: 24px 20px 58px; }
.slide__item[data-on="1"] { display: block; }
.slide__item h3 { font-size: 22px; color: var(--accent-deep); margin-bottom: 10px; }
.slide__item p { font-size: 16px; color: var(--text-2); }
.slide__item .tagline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px; line-height: 40px;
  background: var(--veil-4); color: var(--white); text-align: center; font-size: 15px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 12px;
}
.slide__nav { position: absolute; bottom: 6px; z-index: 3; }
.slide__nav button {
  width: 38px; height: 30px; border: none; border-radius: var(--radius);
  background: var(--fade-78); color: var(--accent-deep);
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.slide__nav--prev { left: 10px; }
.slide__nav--next { right: 10px; }

/* ---------- 曝光台 / 图位列表（无位图版的文字行） ---------- */
.trow { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.trow:last-child { border-bottom: none; }
.trow h3 { font-size: 16px; margin-bottom: 4px; }
.trow h3 a { color: var(--text); }
.trow h3 a:hover { color: var(--link); }
.trow p { font-size: 14px; color: var(--text-4); margin: 0; }
.trow .kind {
  display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 3px;
  background: var(--wash); color: var(--accent-deep); font-size: 13px; font-weight: 700;
}

/* ---------- 九宫格 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tiles a {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 6px; text-align: center;
  color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none;
}
.tiles a:hover { color: var(--black); text-decoration: underline; }
.tiles a:nth-child(1) { background: var(--t1); }
.tiles a:nth-child(2) { background: var(--t2); }
.tiles a:nth-child(3) { background: var(--t3); }
.tiles a:nth-child(4) { background: var(--t4); }
.tiles a:nth-child(5) { background: var(--t5); }
.tiles a:nth-child(6) { background: var(--t6); }
.tiles a:nth-child(7) { background: var(--t7); }
.tiles a:nth-child(8) { background: var(--t8); }
.tiles a:nth-child(9) { background: var(--t9); }

/* ---------- 排行 ---------- */
.rank li { padding: 9px 0; border-bottom: 1px dashed var(--line); overflow: hidden; }
.rank li:last-child { border-bottom: none; }
.rank em {
  float: left; width: 22px; height: 20px; margin-right: 8px; border-radius: 3px;
  background: var(--chip-bg); color: var(--text-2); font-size: 13px; font-style: normal;
  line-height: 20px; text-align: center;
}
.rank li:nth-child(1) em { background: var(--badge-1-bg); color: var(--badge-1-fg); }
.rank li:nth-child(2) em { background: var(--badge-2-bg); color: var(--badge-2-fg); }
.rank li:nth-child(3) em { background: var(--badge-3-bg); color: var(--badge-3-fg); }
.rank h3 { font-size: 17px; font-weight: 400; margin: 0; overflow: hidden; }
.rank h3 a { color: var(--text); }
.rank h3 span { float: right; margin-left: 8px; color: var(--text-3); font-size: 13px; }
.rank p { margin: 4px 0 0 30px; font-size: 14px; color: var(--text-4); }

/* ---------- 门户正文区与横排轨道 ---------- */
.portal__pad { padding: var(--pad) var(--pad) 0; }
.card__note { margin: 0 0 12px; font-size: 15px; color: var(--text-3); }
.rail { display: flex; gap: var(--gap); align-items: flex-start; }
.rail__a { flex: 0 0 360px; min-width: 0; }
.rail__b { flex: 1 1 auto; min-width: 0; }
.rail__b .rows li { padding: 8px 0; }
.rail__b .rows span { display: block; }

/* ---------- 拼图（照片位缺失，改为同几何的文字块） ---------- */
.mosaic { display: flex; gap: 5px; align-items: flex-start; }
.mosaic__col { display: flex; flex-direction: column; gap: 5px; }
.mosaic__col--a { flex: 0 0 340px; }
.mosaic__col--b { flex: 0 0 375px; }
.mosaic__col--c { flex: 1 1 auto; }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  padding: 14px 14px 44px; text-decoration: none; min-height: 140px;
}
.tile--tall { min-height: 285px; }
.tile h3 { font-size: 17px; color: var(--text); margin: 0 0 6px; }
.tile p { font-size: 14px; color: var(--text-2); margin: 0; }
.tile__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32px; line-height: 32px;
  background: var(--overlay); color: var(--white); text-align: center; font-size: 14px;
  padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: transform .25s ease;
}
.tile:hover { text-decoration: none; }
.tile:hover .tile__bar { transform: translateY(-4px); }
.tile:hover h3 { color: var(--accent-deep); }
.tile--1 { background: var(--tint-1); } .tile--2 { background: var(--tint-2); }
.tile--3 { background: var(--tint-3); } .tile--4 { background: var(--tint-4); }
.tile--5 { background: var(--tint-5); } .tile--6 { background: var(--tint-6); }
.tile--7 { background: var(--tint-7); } .tile--8 { background: var(--tint-8); }
.tile--9 { background: var(--tint-9); }

/* ---------- 通用列表块 ---------- */
.rows li { padding: 9px 0; border-bottom: 1px dashed var(--line); overflow: hidden; }
.rows li:last-child { border-bottom: none; }
.rows b { color: var(--text); margin-right: 8px; }
.rows span { color: var(--text-4); font-size: 14px; }
.rows a { color: var(--text); }
.rows a:hover { color: var(--link); }

.num { padding-left: 0; counter-reset: n; }
.num li {
  counter-increment: n; position: relative; padding: 9px 0 9px 32px;
  border-bottom: 1px dashed var(--line); color: var(--text-2);
}
.num li:last-child { border-bottom: none; }
.num li::before {
  content: counter(n); position: absolute; left: 0; top: 10px;
  width: 22px; height: 20px; border-radius: 3px; background: var(--accent-deep);
  color: var(--white); font-size: 13px; line-height: 20px; text-align: center;
}
.num b { color: var(--text); margin-right: 8px; }

.kv dt { font-weight: 700; color: var(--text); padding-top: 8px; }
.kv dd { color: var(--text-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line); margin: 0; }
.kv dd:last-child { border-bottom: none; }

.notes li { padding: 10px 12px; margin-bottom: 8px; border-radius: var(--radius); background: var(--wash-2); border: 1px solid var(--line); font-size: 15px; }
.notes li:last-child { margin-bottom: 0; }
.notes .tag {
  display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 3px;
  background: var(--accent-deep); color: var(--white); font-size: 13px; font-weight: 700;
}
.notes li[data-kind="ok"] { background: var(--note-ok-bg); border-color: var(--note-ok-bd); }
.notes li[data-kind="ok"] .tag { background: var(--note-ok-fg); }
.notes li[data-kind="warn"] { background: var(--note-warn-bg); border-color: var(--note-warn-bd); }
.notes li[data-kind="warn"] .tag { background: var(--note-warn-fg); }
.notes li[data-kind="danger"] { background: var(--note-danger-bg); border-color: var(--note-danger-bd); }
.notes li[data-kind="danger"] .tag { background: var(--note-danger-fg); }

.jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.jump a {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--wash-2); text-decoration: none;
}
.jump a:hover { border-color: var(--accent); text-decoration: none; }
.jump b { display: block; color: var(--text); font-size: 16px; }
.jump span { color: var(--text-3); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--wash-2); color: var(--text); font-size: 15px;
}
.chips a:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); text-decoration: none; }

.groups h3 { font-size: 16px; color: var(--text-2); margin: 12px 0 8px; }
.groups .chips { margin-bottom: 4px; }

/* ---------- 表格 ---------- */
.tbl-scroll { overflow-x: auto; margin-bottom: 12px; }
.tbl { min-width: 520px; font-size: 15px; }
.tbl caption { padding-bottom: 8px; }
.tbl th {
  background: var(--wash); color: var(--text); font-weight: 700; text-align: left;
  border: 1px solid var(--line); padding: 9px 10px;
}
.tbl td { border: 1px solid var(--line); padding: 9px 10px; color: var(--text-2); }
.tbl tbody tr:nth-child(even) td { background: var(--row-alt); }

/* ---------- 折叠问答 ---------- */
.fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 8px; }
.fold summary {
  cursor: pointer; padding: 12px 14px; font-size: 16px; font-weight: 700; color: var(--text);
  list-style: none; position: relative; padding-right: 40px;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after {
  content: "+"; position: absolute; right: 16px; top: 11px; color: var(--accent-deep); font-size: 18px; font-weight: 700;
}
.fold[open] summary::after { content: "–"; }
.fold[open] summary { border-bottom: 1px dashed var(--line); }
.fold > div { padding: 12px 14px; color: var(--text-2); }

/* ---------- 内容页两栏 ---------- */
.ct2 { display: flex; gap: var(--gap); align-items: flex-start; padding: var(--pad) var(--pad) 0; }
.ct2__mn { flex: 1 1 auto; min-width: 0; }
.ct2__sd { flex: 0 0 300px; min-width: 0; }
.lede { font-size: 17px; color: var(--text-2); }
.sec { margin-bottom: 22px; }
.sec p:last-child { margin-bottom: 0; }
.idx { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.idx a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash-2);
  color: var(--text-2); font-size: 14px;
}
.idx a:hover { border-color: var(--accent); color: var(--accent-deep); text-decoration: none; }
.idx__no { color: var(--accent-deep); font-weight: 700; }

/* ---------- 卡片网格 ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.grid-cards a {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-decoration: none;
}
.grid-cards a:hover { border-color: var(--accent); background: var(--wash-2); text-decoration: none; }
.grid-cards b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.grid-cards span { color: var(--text-3); font-size: 14px; }
.grid-cards em { color: var(--accent-deep); font-style: normal; font-weight: 700; margin-right: 6px; }

/* ---------- 门户列表（版块行） ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); }
.board a {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px;
  background: var(--white); text-decoration: none; color: var(--text);
}
.board a:hover { background: var(--wash-2); text-decoration: none; }
.board .no {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--wash); color: var(--accent-deep); font-weight: 700;
  line-height: 34px; text-align: center; font-size: 15px;
}
.board b { display: block; font-size: 16px; }
.board span { display: block; font-size: 14px; color: var(--text-3); }

/* ---------- 页脚 ---------- */
.foot { border-top: 2px solid var(--line); background: var(--white); margin-top: var(--pad); padding: 18px 0 40px; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding: 0 var(--pad); }
.foot h2 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.foot ul li { padding: 3px 0; font-size: 15px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--link); }
.foot__bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  border-top: 1px solid var(--line); margin: 16px var(--pad) 0; padding-top: 12px;
  font-size: 14px; color: var(--text-3);
}
.foot__brand { font-weight: 700; color: var(--accent-deep); }

/* ---------- 固定寻芳 CTA ---------- */
.site-cta {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 420px; max-width: 560px; min-height: 58px;
  padding: 12px 26px 12px 18px;
  border: 1px solid var(--cta-edge); border-radius: 30px;
  background: linear-gradient(180deg, var(--nav-a) 0%, var(--nav-b) 100%);
  color: var(--white); font-size: 18px; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 6px 16px var(--cta-shadow);
  text-decoration: none;
}
.site-cta:hover { color: var(--white); text-decoration: none; }
.site-cta__seal {
  position: relative; flex: 0 0 34px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--white); color: var(--accent-deep);
  font-family: var(--font-title); font-size: 19px; font-weight: 700;
  line-height: 34px; text-align: center;
  animation: cta-seal-press var(--cta-loop) ease-in-out infinite;
}
.site-cta::before {
  content: ""; position: absolute; left: 18px; top: 50%;
  width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: radial-gradient(circle, var(--fade-90) 0%, transparent 70%);
  animation: cta-ink-halo var(--cta-loop) ease-out infinite;
  pointer-events: none;
}
.site-cta__text { position: relative; z-index: 1; }

@keyframes cta-seal-press {
  0%, 62%, 100% { transform: translateY(0); }
  70% { transform: translateY(2px); }
  86% { transform: translateY(0); }
}
@keyframes cta-ink-halo {
  0%, 60% { transform: scale(1); opacity: 0; }
  68% { opacity: .9; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 18px; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 60; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--accent-deep);
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow-1);
}
.to-top[hidden] { display: none; }

/* ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-cta__seal { animation: none; }
  .site-cta::before { animation: none; opacity: .35; }
  .tile__bar { transition: none; }
}

@media (max-width: 1219px) {
  .portal__top { flex-wrap: wrap; }
  .portal__right { flex: 1 1 100%; }
  .portal__right .tiles { grid-template-columns: repeat(3, 1fr); }
  .ct2__sd { flex: 0 0 260px; }
}

@media (max-width: 979px) {
  .ct2 { flex-wrap: wrap; }
  .rail { flex-wrap: wrap; }
  .rail__a { flex: 1 1 100%; }
  .rail__b { flex: 1 1 100%; }
  .ct2__sd { flex: 1 1 100%; }
  .portal__left { flex-wrap: wrap; }
  .portal__col-a { flex: 1 1 100%; }
  .mosaic { flex-wrap: wrap; }
  .mosaic__col--a, .mosaic__col--b { flex: 1 1 46%; }
  .mosaic__col--c { flex: 1 1 100%; }
}

@media (max-width: 759px) {
  body { padding-bottom: 108px; font-size: 16px; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  .wrap { width: 100%; }
  .topbar__warn { font-size: 13px; line-height: 1.5; padding: 6px 0; }
  .topbar__nav { flex: 1 1 100%; }
  .mark { font-size: 26px; }
  .mark__note { flex: 1 1 100%; font-size: 14px; }
  .hd-entry { flex: 1 1 100%; }
  .nav__list a { padding: 0 12px; font-size: 15px; height: 42px; line-height: 42px; }
  .scbar__in { width: 100%; max-width: none; }
  .scbar__form { flex: 1 1 100%; }
  .portal__top { padding: 10px 10px 0; }
  .portal__col-a, .portal__col-b { flex: 1 1 100%; }
  .slide__item { min-height: 260px; padding: 20px 16px 54px; }
  .mosaic__col--a, .mosaic__col--b { flex: 1 1 100%; }
  .tile { min-height: 120px; }
  .card__bd, .ct2 { padding: 12px 10px; }
  .ct2 { padding: 12px 10px 0; }
  .tbl { min-width: 460px; }
  .site-cta {
    left: 10px; right: 10px; transform: none; min-width: 0; max-width: none;
    min-height: 54px; padding: 10px 18px 10px 12px; font-size: 16px;
  }
  .site-cta__seal { flex: 0 0 30px; width: 30px; height: 30px; line-height: 30px; font-size: 17px; }
  .site-cta::before { left: 12px; width: 30px; height: 30px; margin-top: -15px; }
  .to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
