@charset "UTF-8";
/* ==========================================================================
   寻欢阁 静态仿站模板 —— 主样式表
   assets/css/style.css
   外观按原站 https://xunhuange.cfd/ 还原：
     浅灰底色 / 白色卡片 / 红色主色 / 图标方块导航条 / 药丸搜索框 + 红色搜索按钮
   ========================================================================== */

/* ---------------------------------------------------------------
   1. 设计变量（换肤只需要改这里）
   --------------------------------------------------------------- */
:root {
  --brand: #e4393c;
  --brand-dark: #c42427;
  --brand-soft: #fdecec;
  --brand-tint: #fff8f8;

  --ink: #222222;
  --ink-2: #4a4a4a;
  --muted: #999999;
  --line: #ececec;
  --line-2: #f5f5f5;

  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --bg-soft: #fafafa;

  --ok: #37a34d;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .05);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, .07), 0 12px 28px rgba(0, 0, 0, .09);

  --wrap: 1560px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f5;
    --ink-2: #c3cad3;
    --muted: #8d96a1;
    --line: #2b3138;
    --line-2: #23282e;
    --bg: #14171a;
    --bg-card: #1c2126;
    --bg-soft: #191d21;
    --brand-soft: #341917;
    --brand-tint: #1f1718;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-hover: 0 10px 28px rgba(0, 0, 0, .45);
  }
}

/* ---------------------------------------------------------------
   2. 基础重置与排版
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
h2 { font-size: clamp(1.15rem, 1.02rem + .6vw, 1.45rem); margin-top: 1.6em; }
h3 { font-size: 1.05rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .35em 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

blockquote {
  margin: 1.2em 0;
  padding: .8em 1.1em;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
}

code, pre, kbd { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .92em; }
code { background: var(--bg-soft); padding: .12em .38em; border-radius: 4px; }
pre {
  background: var(--bg-soft);
  padding: 1em;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: .95rem;
  display: block;
  overflow-x: auto;
}
th, td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
th { background: var(--brand-soft); font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------------------------------------------------------------
   3. 布局容器
   --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.main { display: block; padding: 18px 0 8px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--brand);
  color: #fff;
  padding: .6em 1em;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.section { margin: 0 0 18px; }
/* 内页的每个 section 也做成白卡片，与原站一致（无需改 HTML 结构） */
.main > .wrap > .section {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.main > .wrap > .section > h2 {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  font-size: 1.22rem;
  line-height: 1.35;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  line-height: 1.35;
}
.section-head h2 { margin: 0; font-size: 1.22rem; }
.section-head .more { font-size: .9rem; white-space: nowrap; }

.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* 白底大卡片容器（原站首页每个分区都是一块白卡） */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 0 0 18px;
}
.panel.is-tint {
  background: linear-gradient(180deg, var(--brand-tint), var(--bg-card) 70%);
  border-color: #fbe3e3;
}
@media (prefers-color-scheme: dark) {
  .panel.is-tint { border-color: #3a2426; }
}
.panel > .section-head { margin-bottom: 14px; }

/* ---------------------------------------------------------------
   4. 顶部：logo / 导航 / 成年人提示
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 8px rgba(228, 57, 60, .22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .02em;
  font-style: italic;
}
.brand-sub { font-size: .7rem; color: var(--muted); letter-spacing: .22em; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }

.nav { margin: 0 auto 0 0; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 10px 18px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover { color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.nav-list a.is-active,
.nav-list a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.adult-notice {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: .95rem;
  color: var(--ink-2);
  white-space: nowrap;
}
/* 独立成条时（cfg.adult_notice 在别处渲染）的样式 */
.adult-notice-bar {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  letter-spacing: .02em;
}
.adult-notice-bar .wrap { padding: 6px 20px; }

@media (max-width: 1200px) {
  .nav-list a { padding: 10px 12px; font-size: .96rem; }
}
@media (max-width: 1040px) {
  .adult-notice { display: none; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 66px; gap: 12px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 1.24rem; }
  .brand-sub { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 8px 12px 14px;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 12px 10px; border-bottom: 0; border-radius: var(--radius-sm); }
  .nav-list a.is-active,
  .nav-list a[aria-current="page"] { background: var(--brand-soft); }
}

/* ---------------------------------------------------------------
   5. 面包屑 / 首屏卡片 / 页面头部
   --------------------------------------------------------------- */
.crumbs {
  font-size: .84rem;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.9;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #d0d0d0; }

/* 首屏：白卡 + 圆角阴影 */
.hero {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  margin: 0 0 18px;
}
.hero .eyebrow {
  display: block;
  color: var(--brand);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.hero h1 { margin: 0 0 .5em; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.hero .lede { max-width: 96ch; margin: 0; color: var(--ink-2); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.page-head { margin: 0 0 18px; padding: 22px 26px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.page-head h1 { margin-bottom: .45em; }
.lede { color: var(--ink-2); font-size: 1rem; margin: 0 0 .8em; }

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-size: .88rem;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.page-meta .meta-key { color: var(--ink-2); font-weight: 600; }
.page-meta .meta-value { color: var(--ink); }

/* ---------------------------------------------------------------
   6. 按钮 / 徽标
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .52em 1.05em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.5;
  cursor: pointer;
}
.btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.tag {
  display: inline-block;
  font-size: .78rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 10px;
  margin: 0 4px 4px 0;
}
.tag-soft { background: var(--bg-soft); color: var(--muted); }
.tag-ok { background: #e7f6ee; color: var(--ok); }

.loc {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: .84rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------
   7. 图标方块导航条（原站首屏下方的彩色图标行）
   --------------------------------------------------------------- */
.tile-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.tile-nav li { margin: 0; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: .95rem;
  text-align: center;
  height: 100%;
}
.tile:hover {
  text-decoration: none;
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #f6d5d6;
}
.tile-icon { width: 52px; height: 52px; display: block; border-radius: 14px; }
.tile-label { font-weight: 500; }

@media (max-width: 1200px) {
  .tile-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px 6px; font-size: .88rem; }
  .tile-icon { width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------
   8. 搜索框 + 筛选（药丸输入框 + 红色搜索按钮 + 标签 chips）
   --------------------------------------------------------------- */
.searchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.searchbar input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 22px;
  border: 1px solid #e6e6e6;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: var(--bg-card);
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  outline: none;
}
.searchbar input:focus { border-color: #f3b9bb; }
.searchbar input::placeholder { color: #b6b6b6; }
.searchbar .btn-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.searchbar .btn-search:hover { background: var(--brand-dark); }
.searchbar-standalone { max-width: 560px; margin: 0 auto; }

.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.filterbar .searchbar { margin: 0 auto; flex: 1 1 380px; max-width: 620px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li { margin: 0; }
.chip {
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-2);
  border-radius: 8px;
  padding: .42em 1.15em;
  font-size: .94rem;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.6;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active {
  background: var(--brand-soft);
  border-color: #f6c9ca;
  color: var(--brand);
  font-weight: 600;
}

.empty-tip {
  display: none;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: .92rem;
  margin: 8px 0 0;
  background: var(--bg-soft);
}
.empty-tip.is-show { display: block; }
.is-hidden { display: none !important; }

/* ---------------------------------------------------------------
   9. 卡片网格
   --------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* 左文字 + 右侧彩色图标方块的卡片（原站首页热门信息） */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 108px 16px 18px;
  color: inherit;
  box-shadow: var(--shadow);
  transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #f6d5d6;
  transform: translateY(-2px);
  text-decoration: none;
}
.card h3 { margin: 0; font-size: 1.12rem; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card .card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: #b0b0b0;
}
.card .card-top .kicker { color: var(--muted); }
.card .card-top .sep { color: #dedede; }
.card .card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .84rem;
  color: var(--brand);
}
.card .card-foot .arrow { color: var(--muted); }

/* 右侧图标方块 */
.card-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 12px;
}
/* 纯文字卡片（无图标）时取消右侧留白 */
.card.no-icon { padding: 18px; }

/* 媒体型卡片（视频 / 解读） */
.card-media {
  height: 104px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-soft));
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--brand);
}
.card.has-media { padding: 16px; }

.group-label {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------
   10. 文章正文 / 分节
   --------------------------------------------------------------- */
.prose { max-width: 96ch; }
.prose h2 { padding-top: .1em; }
.prose h3 { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose > :first-child { margin-top: 0; }

.blocks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.block {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid #f6c9ca;
}
.block h3 { margin: 0 0 .35em; font-size: 1rem; }
.block p { margin: 0; color: var(--ink-2); font-size: .92rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps li strong { display: block; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { color: var(--brand); }
.faq details p { margin: .7em 0 0; color: var(--ink-2); font-size: .93rem; }

.notice {
  border: 1px solid #f6c9ca;
  background: var(--brand-soft);
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .93rem;
  margin: 18px 0 0;
}
.notice strong { color: var(--brand-dark); }

.related-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); list-style: none; padding: 0; margin: 0; }
.related-links li { margin: 0; }
.related-links a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--ink);
  font-size: .93rem;
}
.related-links a:hover { border-color: var(--brand); text-decoration: none; }
.related-links a strong { display: block; color: var(--brand); font-size: .82rem; letter-spacing: .04em; }

/* 视频栏目：图文摘要列表 */
.media-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.media-item {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.media-item .thumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand), #f8696c);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
}
.media-item .body h3 { margin: 0 0 .25em; font-size: 1rem; }
.media-item .body p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------
   11. 页脚
   --------------------------------------------------------------- */
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-2);
  font-size: .92rem;
}
.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(230px, 1.3fr) repeat(2, minmax(160px, 1fr));
  padding: 28px 20px 20px;
}
.footer-brand .brand { margin-bottom: 8px; }
.footer-brand p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.footer-col h3 {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 6px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 24px;
  color: var(--muted);
  font-size: .82rem;
  border-top: 1px solid var(--line-2);
}
.footer-bottom p { margin: 0; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   12. 底部悬浮条（居中，浮在屏幕下沿上方）
   结构：partials/float-promo.html  脚本：main.js -> initFloatPromo()
   =============================================================== */
.float-promo {
  position: fixed;
  left: 50%;
  bottom: var(--bar-gap, 20px);
  z-index: 45;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: calc(100% - 28px);
  padding: 15px 30px;
  border-radius: 10px;
  background: linear-gradient(100deg, #ef4056, #e4393c 55%, #f5613f);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 20px rgba(228, 57, 60, .3), 0 16px 40px rgba(0, 0, 0, .16);
  animation: fp-in .34s ease backwards;
}
.float-promo:hover,
.float-promo:focus-visible {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(100deg, #d92c42, var(--brand-dark) 55%, #e04f2f);
  box-shadow: 0 10px 24px rgba(228, 57, 60, .4), 0 20px 46px rgba(0, 0, 0, .2);
}
@keyframes fp-in {
  from { opacity: 0; transform: translateX(-50%) translateY(120%); }
  to { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .float-promo { animation: none; } }
.float-promo .fp-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
}
.float-promo .fp-text { white-space: nowrap; }

body { padding-bottom: var(--bar-h, 92px); }
html { scroll-padding-bottom: calc(var(--bar-h, 92px) + 12px); }

@media (max-width: 620px) {
  :root { --bar-gap: 14px; }
  .float-promo { font-size: .95rem; padding: 12px 20px; gap: 8px; }
  .float-promo .fp-icon { width: 18px; height: 18px; }
  .card { padding-right: 92px; }
  .card-icon { width: 54px; height: 54px; right: 12px; }
}
@media (max-height: 430px) {
  :root { --bar-gap: 8px; }
  .float-promo { padding: 8px 18px; font-size: .88rem; }
}

/* ---------------------------------------------------------------
   13. 工具类 / 打印
   --------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.2em; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.2em; }
.flex-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

@media print {
  .site-header, .nav-toggle, .filterbar, .float-promo, .skip-link { display: none !important; }
  body { color: #000; background: #fff; padding-bottom: 0; }
  .panel, .hero, .card, .tile { box-shadow: none; }
  a { color: #000; text-decoration: underline; }
}
