/* ============================================================
   主题十一 · 朱砂 · 东方雅韵（红褐中式型）
   Cinnabar — Eastern elegant editorial stylesheet
   以朱砂红、墨褐与宣纸色为基调，融合东方美学与现代排版
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --fp-bg: #F7F0E6;            /* 页面背景 宣纸色 暖米白 */
  --fp-bg-soft: #F0E6D8;       /* slightly deeper paper */
  --fp-card: #FFFFFF;          /* 卡片背景 纯白，带淡淡红褐阴影 */
  --fp-text: #2B1A12;          /* 主标题文字 墨褐 */
  --fp-text-mid: #4D3428;      /* 正文/摘要 暖棕 */
  --fp-text-dim: #8A7568;      /* 辅助信息 灰褐 */
  --fp-accent: #B5433A;        /* 强调色（朱砂红）链接/按钮 */
  --fp-accent-soft: #8F2E26;   /* 悬停态 深朱砂 */
  --fp-tag-bg: #F0DCD0;        /* 分类标签背景 淡红底 */
  --fp-tag-text: #A53F34;      /* 分类标签文字 朱砂字 */
  --fp-divider: #E6D6C8;       /* 分割线 暖灰线 */
  --fp-divider-thin: #E6D6C8;  /* ultra-thin card divider */
  --fp-up: #A67B5B;            /* 涨 赭石 */
  --fp-down: #B5433A;          /* 跌 朱砂 */
  --fp-gold: #A53F34;          /* editor's pick badge 朱砂印 */
  --fp-shadow: 0 2px 8px rgba(150,60,40,0.06);
  --fp-shadow-hover: 0 6px 22px rgba(150,60,40,0.14), 0 0 6px rgba(181,67,58,0.10);
  --fp-max: 1200px;
  --fp-serif: 'Noto Serif SC', '华文楷体', 'KaiTi', 'Songti SC', serif;
  --fp-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --fp-mono: 'Roboto Mono', monospace;
  --fp-sans: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --fp-hand: 'Noto Serif SC', 'KaiTi', serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-text);
  font-family: var(--fp-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* 极淡的水墨晕染纹理（径向渐变），取代纸纹理 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(181,67,58,0.05) 0%, rgba(181,67,58,0) 42%),
    radial-gradient(90% 70% at 100% 100%, rgba(120,60,40,0.05) 0%, rgba(120,60,40,0) 50%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(181,67,58,0.015);
}
img { max-width: 100%; display: block; filter: saturate(0.98) brightness(1.0); }
a { color: var(--fp-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--fp-accent-soft); }
h1, h2, h3, h4 { font-family: var(--fp-serif); font-weight: 600; color: var(--fp-text); margin: 0; line-height: 1.4; letter-spacing: 0.5px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Layout containers ---------- */
.fp-wrap { width: 100%; max-width: var(--fp-max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.fp-main { position: relative; z-index: 1; padding: 0 0 56px; }

/* ---------- Top nav (64px) ---------- */
.fp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--fp-card);
  border-bottom: 2px solid var(--fp-divider);
  box-shadow: var(--fp-shadow);
}
.fp-nav-inner {
  height: 100%;
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.fp-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.fp-brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--fp-accent);
  color: #F7F0E3;
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(90,30,20,0.20), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.fp-brand-text {
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 2px;
  color: var(--fp-text);
  line-height: 1;
}
.fp-brand-sub {
  display: block;
  font-family: var(--fp-sans);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--fp-text-dim);
  text-transform: uppercase;
  margin-top: 3px;
}
.fp-nav-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.fp-nav-cats::-webkit-scrollbar { display: none; }
.fp-nav-cats li { flex-shrink: 0; }
.fp-nav-cats a {
  display: block;
  padding: 8px 14px;
  font-family: var(--fp-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--fp-text-mid);
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.fp-nav-cats a:hover { color: var(--fp-accent); background: var(--fp-bg-soft); }
.fp-nav-cats a.active { color: #F7F0E3; background: var(--fp-accent); }
.fp-nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fp-icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 4px;
  color: var(--fp-text-mid);
  transition: background .2s, color .2s;
}
.fp-icon-btn:hover { background: var(--fp-bg-soft); color: var(--fp-accent); }
.fp-icon-btn svg { width: 18px; height: 18px; }
.fp-mobile-btn { display: none; flex-direction: column; gap: 4px; width: 38px; height: 38px; align-items: center; justify-content: center; }
.fp-mobile-btn span { width: 18px; height: 2px; background: var(--fp-text-mid); transition: .25s; }
.fp-mobile-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fp-mobile-btn.active span:nth-child(2) { opacity: 0; }
.fp-mobile-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Search overlay ---------- */
.fp-search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(60,30,20,0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px;
}
.fp-search-overlay.active { display: flex; }
.fp-search-box {
  width: 100%; max-width: 640px;
  background: var(--fp-card);
  border: 1px solid var(--fp-divider);
  border-top: 3px solid var(--fp-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 22px;
  position: relative;
}
.fp-search-close {
  position: absolute; top: 12px; right: 14px;
  font-size: 26px; line-height: 1; color: var(--fp-text-dim);
}
.fp-search-input-wrap { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--fp-accent); padding: 8px 4px; }
.fp-search-input-wrap svg { width: 20px; height: 20px; color: var(--fp-accent); flex-shrink: 0; }
.fp-search-input { flex: 1; border: none; outline: none; font-family: var(--fp-body); font-size: 18px; background: transparent; color: var(--fp-text); }
.fp-search-results { margin-top: 14px; max-height: 56vh; overflow-y: auto; }
.fp-search-empty { padding: 18px 4px; color: var(--fp-text-dim); font-style: italic; font-family: var(--fp-body); }
.fp-search-result-item { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-search-result-item:hover { background: var(--fp-bg-soft); }
.fp-search-result-thumb { width: 56px; height: 42px; flex-shrink: 0; overflow: hidden; }
.fp-search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-search-result-cat { font-family: var(--fp-sans); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-accent); }
.fp-search-result-title { font-family: var(--fp-serif); font-size: 14px; color: var(--fp-text); line-height: 1.4; margin-top: 2px; }

/* ---------- Market ticker (flip animation) ---------- */
.fp-ticker {
  background: var(--fp-accent);
  color: #F7F0E3;
  border-bottom: 3px solid var(--fp-accent-soft);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.fp-ticker-track {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fp-ticker-track::-webkit-scrollbar { display: none; }
.fp-ticker-label {
  flex-shrink: 0;
  font-family: var(--fp-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.fp-ticker-item { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fp-ticker-name { font-family: var(--fp-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: rgba(255,255,255,0.85); }
.fp-ticker-val {
  font-family: var(--fp-mono);
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  perspective: 200px;
  transform-style: preserve-3d;
}
.fp-ticker-val.flip { animation: fp-flip 0.55s ease; }
@keyframes fp-flip {
  0% { transform: rotateX(0deg); }
  45% { transform: rotateX(90deg); opacity: 0.2; }
  55% { transform: rotateX(90deg); opacity: 0.2; }
  100% { transform: rotateX(0deg); }
}
.fp-ticker-chg { font-family: var(--fp-mono); font-size: 12px; font-weight: 600; }
.fp-ticker-chg.up { color: #E6D2B8; }
.fp-ticker-chg.down { color: #F2C9C4; }

/* ---------- Hero (320px) ---------- */
.fp-hero {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 32px 28px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 320px;
  border-bottom: 1px solid var(--fp-divider);
  position: relative;
}
/* 仿印章（左上角 朱砂空心方印） */
.fp-hero::before {
  content: 'FN';
  position: absolute;
  top: 18px; left: 18px;
  width: 78px; height: 78px;
  border: 2px solid var(--fp-accent);
  border-radius: 6px;
  color: var(--fp-accent);
  font-family: var(--fp-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.3;
  transform: rotate(-6deg);
  opacity: 0.55;
  box-shadow: inset 0 0 0 3px rgba(181,67,58,0.12);
  pointer-events: none;
}
.fp-hero-text { min-width: 0; }
.fp-hero-tag {
  display: inline-block;
  font-family: var(--fp-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-tag-text);
  background: var(--fp-tag-bg);
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(181,67,58,0.12);
}
.fp-hero-title {
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.fp-hero-title a { color: inherit; }
.fp-hero-title a:hover { color: var(--fp-accent); }
.fp-hero-summary {
  font-family: var(--fp-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--fp-text-mid);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-hero-author { display: flex; align-items: center; gap: 12px; }
.fp-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 15px;
  color: #F7F0E3;
  flex-shrink: 0;
  border: 2px solid var(--fp-card);
  box-shadow: 0 0 0 1px var(--fp-divider);
}
.fp-hero-author-info { font-family: var(--fp-sans); line-height: 1.4; }
.fp-hero-author-name { font-size: 13px; font-weight: 600; color: var(--fp-text); }
.fp-hero-author-role { font-size: 11px; color: var(--fp-text-dim); letter-spacing: 0.3px; }
.fp-hero-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--fp-bg-soft);
  box-shadow: var(--fp-shadow);
  border: 1px solid rgba(181,67,58,0.12);
  border-radius: 6px;
}
.fp-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fp-hero:hover .fp-hero-img img { transform: scale(1.03); }
.fp-hero-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  font-family: var(--fp-sans);
  font-size: 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(43,26,18,0.6));
  letter-spacing: 0.3px;
}

/* ---------- Body: two columns ---------- */
.fp-body {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 36px 28px 0;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
}
.fp-content { min-width: 0; transition: opacity .2s ease; }
.fp-content.switching { opacity: 0; }

/* ---------- Module ---------- */
.fp-module { margin-bottom: 44px; }
.fp-module-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fp-accent);
}
.fp-module-title {
  font-size: 24px;
  letter-spacing: 1px;
}
.fp-module-label {
  font-family: var(--fp-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-accent);
}
.fp-module-meta { margin-left: auto; font-family: var(--fp-sans); font-size: 12px; color: var(--fp-text-dim); }

/* ---------- Cards (horizontal list) — 朱砂·东方雅韵 ---------- */
.fp-cards { background: var(--fp-card); box-shadow: var(--fp-shadow); border: 1px solid rgba(181,67,58,0.10); position: relative; overflow: hidden; border-radius: 6px; }
/* 卡片左上角朱砂印（仿印章，空心方块） */
.fp-cards::before {
  content: '印';
  position: absolute;
  top: 12px; left: 12px;
  width: 26px; height: 26px;
  border: 2px solid var(--fp-accent);
  border-radius: 3px;
  color: var(--fp-accent);
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 14px;
  display: grid;
  place-items: center;
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}
.fp-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--fp-divider);
  position: relative;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.fp-card:last-child { border-bottom: none; }
.fp-card:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-hover); background: #FDF9F3; z-index: 2; }
.fp-card-img {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  background: var(--fp-bg-soft);
  border: 1px solid rgba(181,67,58,0.14);
  border-radius: 6px;
}
.fp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fp-card:hover .fp-card-img img { transform: scale(1.05); }
.fp-card-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--fp-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fp-tag-text);
  background: var(--fp-tag-bg);
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(181,67,58,0.12);
}
.fp-card-tag.red { background: var(--fp-accent); color: #fff; border-color: var(--fp-accent-soft); }
.fp-card-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--fp-gold);
  color: #F7F0E3;
  font-size: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(90,30,20,0.30);
  z-index: 3;
}
.fp-card-body { min-width: 0; display: flex; flex-direction: column; }
.fp-card-title {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.fp-card-title a { color: var(--fp-text); cursor: pointer; }
.fp-card-title a:hover { color: var(--fp-accent); }
.fp-card-excerpt {
  font-family: var(--fp-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--fp-text-mid);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card-full {
  max-height: 0;
  overflow: hidden;
  font-family: var(--fp-body);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--fp-text-mid);
  transition: max-height .4s ease, margin .4s ease, opacity .4s ease;
  opacity: 0;
}
.fp-card.expanded .fp-card-full { max-height: 600px; margin: 0 0 14px; opacity: 1; }
.fp-card.expanded .fp-card-excerpt { display: none; }
.fp-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--fp-divider);
}
.fp-card-author { display: flex; align-items: center; gap: 10px; }
.fp-card-author .fp-avatar { width: 30px; height: 30px; font-size: 12px; }
.fp-card-author-info { font-family: var(--fp-sans); line-height: 1.3; }
.fp-card-author-name { font-size: 12px; font-weight: 600; color: var(--fp-text); }
.fp-card-author-role { font-size: 10px; color: var(--fp-text-dim); }
.fp-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fp-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--fp-accent);
  white-space: nowrap;
}
.fp-card-read svg { width: 14px; height: 14px; transition: transform .2s ease; }
.fp-card-read:hover svg { transform: translateX(3px); }
.fp-card-read.inline { display: none; }
.fp-card.expanded .fp-card-read.inline { display: inline-flex; }
.fp-card-quote {
  border-left: 4px solid var(--fp-accent);
  padding: 4px 0 4px 16px;
  margin: 0 0 12px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fp-text);
}
/* 重要文章（编辑甄选）左侧竖条为朱砂红（3px） */
.fp-card.featured { border-left: 3px solid var(--fp-accent); }
.fp-card.featured::after {
  content: '★';
  position: absolute;
  top: 12px; right: 14px;
  width: 22px; height: 22px;
  border: 2px solid var(--fp-accent);
  border-radius: 3px;
  color: var(--fp-accent);
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 13px;
  display: grid; place-items: center;
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
}

/* ---------- Flat category list (filtered view) ---------- */
.fp-cat-head { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--fp-accent); }
.fp-cat-head .fp-module-label { display: block; margin-bottom: 6px; }
.fp-cat-head h2 { font-size: 28px; }

/* ---------- Sidebar ---------- */
.fp-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 28px; }
.fp-widget { background: var(--fp-card); box-shadow: var(--fp-shadow); padding: 22px 20px; border: 1px solid rgba(181,67,58,0.14); border-top: 3px solid var(--fp-accent); border-radius: 6px; }
.fp-widget-title {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fp-divider);
  display: flex; align-items: center; gap: 8px;
}
.fp-widget-title .star { color: var(--fp-gold); }
.fp-widget-title .accent { color: var(--fp-accent); }

/* Editor's picks */
.fp-pick { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-pick:last-child { border-bottom: none; padding-bottom: 0; }
.fp-pick-num {
  font-family: var(--fp-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--fp-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
}
.fp-pick-body { min-width: 0; }
.fp-pick-title {
  font-family: var(--fp-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fp-text);
  margin-bottom: 4px;
}
.fp-pick-title:hover { color: var(--fp-accent); }
.fp-pick-cat { font-family: var(--fp-sans); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-text-dim); }

/* Market calendar */
.fp-cal-item { padding: 12px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-cal-item:last-child { border-bottom: none; padding-bottom: 0; }
.fp-cal-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fp-cal-name { font-family: var(--fp-serif); font-size: 14px; font-weight: 600; color: var(--fp-text); }
.fp-cal-time { font-family: var(--fp-mono); font-size: 11px; color: var(--fp-text-dim); white-space: nowrap; }
.fp-cal-countdown {
  font-family: var(--fp-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-accent);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.fp-cal-impact { font-family: var(--fp-sans); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }
.fp-cal-impact.high { color: var(--fp-down); border: 1px solid var(--fp-down); }
.fp-cal-impact.med { color: var(--fp-accent); border: 1px solid var(--fp-accent); }

/* Most read */
.fp-trend-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-trend-item:last-child { border-bottom: none; padding-bottom: 0; }
.fp-trend-thumb { width: 64px; height: 48px; flex-shrink: 0; overflow: hidden; }
.fp-trend-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-trend-title { font-family: var(--fp-serif); font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--fp-text); }
.fp-trend-title:hover { color: var(--fp-accent); }

/* ---------- Load sentinel ---------- */
.fp-sentinel { height: 40px; display: grid; place-items: center; }
.fp-sentinel .fp-spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--fp-divider);
  border-top-color: var(--fp-accent);
  animation: fp-spin 0.8s linear infinite;
}
@keyframes fp-spin { to { transform: rotate(360deg); } }
.fp-end-note { text-align: center; font-family: var(--fp-serif); font-style: italic; color: var(--fp-text-dim); padding: 20px 0; font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.fp-reveal { opacity: 0; transform: translateY(30px); transition: opacity .55s ease, transform .55s ease; }
.fp-reveal.visible { opacity: 1; transform: none; }

/* ---------- Footer (80px) ---------- */
.fp-footer {
  background: var(--fp-accent);
  color: rgba(247,240,227,0.82);
  border-top: 4px solid var(--fp-accent-soft);
  position: relative;
  z-index: 1;
}
.fp-footer-inner {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.fp-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fp-footer-brand .fp-brand-mark { width: 34px; height: 34px; font-size: 16px; }
.fp-footer-brand-text { font-family: var(--fp-serif); font-weight: 600; font-size: 19px; letter-spacing: 2px; color: #F7F0E3; }
.fp-footer-desc { font-family: var(--fp-body); font-size: 13px; line-height: 1.8; color: rgba(247,240,227,0.7); margin: 0; max-width: 380px; }
.fp-footer-col h4 { font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #F7F0E3; margin-bottom: 14px; }
.fp-footer-col ul li { margin-bottom: 8px; }
.fp-footer-col a { font-family: var(--fp-sans); font-size: 13px; color: rgba(247,240,227,0.72); }
.fp-footer-col a:hover { color: #F7F0E3; }
.fp-social { display: flex; gap: 10px; margin-top: 4px; }
.fp-social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(247,240,227,0.25); border-radius: 50%; color: rgba(247,240,227,0.7); }
.fp-social a:hover { background: var(--fp-accent-soft); border-color: var(--fp-accent-soft); color: #F7F0E3; }
.fp-social svg { width: 15px; height: 15px; }
.fp-footer-bottom {
  border-top: 1px solid rgba(247,240,227,0.15);
  text-align: center;
  padding: 14px 28px;
  font-family: var(--fp-sans);
  font-size: 12px;
  color: rgba(247,240,227,0.55);
  letter-spacing: 0.3px;
}

/* ---------- Detail page ---------- */
.fp-detail-wrap { max-width: 800px; margin: 0 auto; padding: 40px 28px 60px; position: relative; z-index: 1; }
.fp-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fp-sans); font-size: 13px; color: var(--fp-text-mid); margin-bottom: 22px; }
.fp-back svg { width: 16px; height: 16px; }
.fp-back:hover { color: var(--fp-accent); }
.fp-detail-tag {
  display: inline-block;
  font-family: var(--fp-sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--fp-tag-text); background: var(--fp-tag-bg); padding: 5px 14px; margin-bottom: 16px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(181,67,58,0.12);
}
.fp-detail-title { font-size: 38px; line-height: 1.4; letter-spacing: 0.5px; margin-bottom: 18px; }
.fp-detail-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--fp-sans); font-size: 13px; color: var(--fp-text-dim); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px dashed var(--fp-divider); }
.fp-detail-meta .fp-card-author { gap: 10px; }
.fp-detail-meta .fp-card-author .fp-avatar { width: 36px; height: 36px; font-size: 13px; }
.fp-detail-img { width: 100%; height: 420px; object-fit: cover; margin-bottom: 28px; box-shadow: var(--fp-shadow); border: 1px solid rgba(181,67,58,0.16); border-radius: 6px; }
.fp-detail-body { font-family: var(--fp-body); font-size: 17px; line-height: 1.9; color: var(--fp-text); }
.fp-detail-body p { margin: 0 0 20px; }
.fp-detail-body p:first-child::first-letter { font-family: var(--fp-serif); font-size: 58px; font-weight: 600; float: left; line-height: 0.9; padding: 6px 12px 0 0; color: var(--fp-accent); }
.fp-detail-quote { border-left: 4px solid var(--fp-accent); padding: 6px 0 6px 18px; margin: 24px 0; font-style: italic; font-size: 18px; line-height: 1.8; color: var(--fp-text); }
.fp-detail-divider { height: 1px; background: var(--fp-divider); margin: 36px 0; position: relative; border-bottom: 1px dashed var(--fp-divider); background: transparent; }
.fp-detail-divider::before { content: '❖'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--fp-bg); padding: 0 14px; font-family: var(--fp-body); color: var(--fp-accent); font-size: 18px; }
.fp-detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 44px; }
.fp-detail-nav a { display: block; padding: 18px; background: var(--fp-card); box-shadow: var(--fp-shadow); border: 1px solid rgba(181,67,58,0.14); border-radius: 6px; transition: transform .25s, box-shadow .25s; }
.fp-detail-nav a:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-hover); }
.fp-detail-nav a.disabled { opacity: 0.4; pointer-events: none; }
.fp-detail-nav-label { font-family: var(--fp-sans); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-text-dim); margin-bottom: 6px; }
.fp-detail-nav-title { font-family: var(--fp-serif); font-size: 15px; font-weight: 600; color: var(--fp-text); line-height: 1.45; }
.fp-related-title { font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fp-accent); margin-bottom: 18px; }
.fp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fp-rel-card { background: var(--fp-card); box-shadow: var(--fp-shadow); border: 1px solid rgba(181,67,58,0.14); border-radius: 6px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.fp-rel-card:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-hover); }
.fp-rel-card-img { height: 130px; overflow: hidden; position: relative; background: var(--fp-bg-soft); }
.fp-rel-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fp-rel-card:hover .fp-rel-card-img img { transform: scale(1.05); }
.fp-rel-card-tag { position: absolute; top: 8px; left: 8px; font-family: var(--fp-sans); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-tag-text); background: var(--fp-tag-bg); padding: 3px 9px; border-radius: 6px; box-shadow: 0 0 6px rgba(181,67,58,0.12); }
.fp-rel-card-title { font-family: var(--fp-serif); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--fp-text); padding: 14px; margin: 0; }
.fp-rel-card:hover .fp-rel-card-title { color: var(--fp-accent); }
/* 阅读时间手写体标记 */
.fp-detail-readtime {
  display: block;
  margin: 8px 0 0;
  font-family: var(--fp-hand);
  font-style: italic;
  font-size: 19px;
  color: var(--fp-accent);
  letter-spacing: 0.3px;
}

/* ---------- Generic page (about/contact/privacy) ---------- */
.fp-page { max-width: 760px; margin: 0 auto; padding: 48px 28px 64px; position: relative; z-index: 1; }
.fp-page h1 { font-size: 34px; margin-bottom: 8px; letter-spacing: 1px; }
.fp-page .fp-page-lead { font-family: var(--fp-sans); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-accent); margin-bottom: 24px; }
.fp-page h2 { font-size: 22px; margin: 28px 0 12px; }
.fp-page p { font-family: var(--fp-body); font-size: 16px; line-height: 1.9; color: var(--fp-text-mid); margin: 0 0 16px; }
.fp-page ul.bullets { list-style: none; padding: 0; margin: 0 0 16px; }
.fp-page ul.bullets li { font-family: var(--fp-body); font-size: 16px; line-height: 1.9; color: var(--fp-text-mid); padding-left: 20px; position: relative; }
.fp-page ul.bullets li::before { content: '❖'; position: absolute; left: 0; color: var(--fp-accent); font-family: var(--fp-serif); }
.fp-form { display: grid; gap: 16px; max-width: 520px; margin-top: 8px; }
.fp-form label { font-family: var(--fp-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--fp-text-mid); }
.fp-form input, .fp-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--fp-divider); background: var(--fp-card); font-family: var(--fp-body); font-size: 15px; color: var(--fp-text); border-radius: 6px; }
.fp-form input:focus, .fp-form textarea:focus { outline: none; border-color: var(--fp-accent); }
.fp-form button { justify-self: start; padding: 12px 26px; background: var(--fp-accent); color: #F7F0E3; font-family: var(--fp-sans); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: background .2s; border-radius: 6px; }
.fp-form button:hover { background: var(--fp-accent-soft); }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .fp-body { grid-template-columns: 1fr; gap: 32px; }
  .fp-sidebar { position: static; flex-direction: column; }
  .fp-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .fp-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .fp-nav-cats { display: none; }
  .fp-nav-cats.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--fp-card); padding: 10px 16px;
    border-bottom: 1px solid var(--fp-divider); box-shadow: var(--fp-shadow-hover);
    gap: 2px;
  }
  .fp-nav-cats.mobile-open a { padding: 12px 14px; }
  .fp-mobile-btn { display: flex; }
  .fp-hero { grid-template-columns: 1fr; min-height: auto; padding: 24px 20px; gap: 20px; }
  .fp-hero-img { height: 200px; order: -1; }
  .fp-hero-title { font-size: 28px; }
  .fp-hero-summary { -webkit-line-clamp: 3; }
  .fp-body { padding: 28px 20px 0; }
  .fp-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .fp-card-img { height: 180px; }
  .fp-card-title { font-size: 20px; }
  .fp-module-title { font-size: 21px; }
  .fp-detail-title { font-size: 28px; }
  .fp-detail-img { height: 240px; }
  .fp-detail-nav { grid-template-columns: 1fr; }
  .fp-related-grid { grid-template-columns: 1fr; }
  .fp-ticker-track { padding: 9px 20px; gap: 20px; }
  .fp-wrap { padding: 0 20px; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; }
  body::before { display: none; }
  .fp-nav, .fp-ticker, .fp-sidebar, .fp-footer, .fp-search-overlay, .fp-mobile-btn, .fp-icon-btn, .fp-card-read, .fp-card-badge { display: none !important; }
  .fp-hero { border: none; min-height: auto; padding: 0 0 16px; }
  .fp-card { box-shadow: none; border-bottom: 1px solid #ccc; break-inside: avoid; }
  .fp-card:hover { transform: none; box-shadow: none; }
  .fp-card-full { max-height: none; opacity: 1; }
  .fp-card-excerpt { display: none !important; }
  .fp-reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: underline; }
  .fp-hero-img, .fp-card-img { break-inside: avoid; }
}
