/* ============================================================
   方案十一 · 金融蓝 · 现代财经资讯风
   Finance Blue — sleek market and editorial palette
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --fp-bg: #edf5fb; /* 冰蓝灰页面背景 */
  --fp-bg-soft: #dfeef8; /* 深一点的轻蓝灰 */
  --fp-card: #ffffff; /* 纯白卡片 */
  --fp-text: #102a43; /* 主标题文字 深海蓝 */
  --fp-text-mid: #35536d; /* 正文/摘要 中等蓝灰 */
  --fp-text-dim: #6f8aa1; /* 辅助信息 灰蓝 */
  --fp-accent: #0b6ea8; /* 强调色（金融蓝） */
  --fp-accent-soft: #084d78; /* 悬停态 深海蓝 */
  --fp-tag-bg: #e7f3fb; /* 分类标签背景 轻蓝 */
  --fp-tag-text: #0f5c8a; /* 分类标签文字 深蓝 */
  --fp-divider: #d3e4f0; /* 分割线 浅蓝 */
  --fp-divider-thin: #dfeaf4; /* 极细分隔线 */
  --fp-up: #1ea97c; /* 涨 绿色 */
  --fp-down: #d95d5d; /* 跌 红色 */
  --fp-gold: #f0b24d; /* 资讯高亮金 */
  --fp-shadow: 0 2px 10px rgba(11, 110, 168, 0.08);
  --fp-shadow-hover:
    0 8px 24px rgba(11, 110, 168, 0.14), 0 0 8px rgba(11, 110, 168, 0.08);
  --fp-max: 1200px;
  --fp-serif: "Playfair Display", "Times New Roman", serif;
  --fp-body: "Nunito", "Segoe UI", sans-serif;
  --fp-mono: "Roboto Mono", "Courier New", monospace;
  --fp-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fp-hand: "Playfair Display", "Brush Script MT", cursive;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
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;
  overflow-x: hidden;
}
/* 冷蓝灰渐变光晕，营造金融和科技感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      120% 80% at 0% 0%,
      rgba(13, 104, 170, 0.18) 0%,
      rgba(13, 104, 170, 0) 45%
    ),
    radial-gradient(
      90% 70% at 100% 100%,
      rgba(66, 126, 176, 0.12) 0%,
      rgba(66, 126, 176, 0) 50%
    );
}
/* 极淡的冷蓝灰整体氛围 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(11, 110, 168, 0.03);
}
img {
  max-width: 100%;
  display: block;
  filter: saturate(1.03) brightness(1.02);
}
a {
  color: var(--fp-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--fp-accent-soft);
}
h1,
h2,
h3,
h4 {
  font-family: var(--fp-serif);
  font-weight: 700;
  color: var(--fp-text);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}
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: 1px 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: 700;
  font-size: 18px;
  letter-spacing: 1px;
  border-radius: 2px;
  box-shadow:
    0 2px 4px rgba(90, 60, 35, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.fp-brand-text {
  font-family: var(--fp-serif);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 1.5px;
  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: 0.4px;
  color: var(--fp-text-mid);
  border-radius: 2px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.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: 2px;
  color: var(--fp-text-mid);
  transition:
    background 0.2s,
    color 0.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: 0.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(120, 72, 30, 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);
  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.35;
  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: #b6d2b6;
}
.fp-ticker-chg.down {
  color: #e0b8b8;
}

/* ---------- 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;
}
/* 仿邮戳圆形（左上角 #A67B5B 空心圆） */
.fp-hero::before {
  content: "ARCHIVE · EST. 2026";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 78px;
  height: 78px;
  border: 2px solid var(--fp-accent);
  border-radius: 50%;
  color: var(--fp-accent);
  font-family: var(--fp-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.3;
  transform: rotate(-14deg);
  opacity: 0.55;
  box-shadow: inset 0 0 0 3px rgba(210, 138, 60, 0.18);
  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: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-tag-text);
  background: var(--fp-tag-bg);
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(210, 138, 60, 0.15);
}
.fp-hero-title {
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.3px;
  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.75;
  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: 700;
  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);
}
.fp-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.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(0, 0, 0, 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 0.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: -0.2px;
}
.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(210, 138, 60, 0.12);
  position: relative;
  overflow: hidden;
}
/* 卡片边缘极淡暖色渐变光晕（从左上角发散） */
.fp-cards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  pointer-events: none;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 196, 120, 0.18) 0%,
    rgba(255, 196, 120, 0) 70%
  );
  z-index: 0;
}
.fp-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px;
  border-bottom: 2px dotted var(--fp-divider-thin);
  position: relative;
  z-index: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
/* 卡片左上角小太阳图标（浅金线条） */
.fp-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--fp-accent) 0 28%, transparent 30%),
    conic-gradient(
      from 0deg,
      transparent 0,
      transparent 8%,
      rgba(210, 138, 60, 0.85) 10%,
      transparent 12%,
      transparent 22%,
      rgba(210, 138, 60, 0.85) 24%,
      transparent 26%,
      transparent 36%,
      rgba(210, 138, 60, 0.85) 38%,
      transparent 40%,
      transparent 50%,
      rgba(210, 138, 60, 0.85) 52%,
      transparent 54%,
      transparent 64%,
      rgba(210, 138, 60, 0.85) 66%,
      transparent 68%,
      transparent 78%,
      rgba(210, 138, 60, 0.85) 80%,
      transparent 82%,
      transparent 100%
    );
  background-size:
    18px 18px,
    18px 18px;
  background-position: center, center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 2;
}
.fp-card:last-child {
  border-bottom: none;
}
.fp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fp-shadow-hover);
  background: #fffdf8;
  z-index: 2;
}
.fp-card-img {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  background: var(--fp-bg-soft);
  border: 1px solid rgba(210, 138, 60, 0.18);
  border-radius: 8px;
}
.fp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.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: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fp-tag-text);
  background: var(--fp-tag-bg);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(210, 138, 60, 0.15);
}
.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: 50%;
  box-shadow: 0 2px 6px rgba(90, 60, 35, 0.3);
  z-index: 3;
}
.fp-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.fp-card-title {
  font-size: 22px;
  line-height: 1.28;
  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.7;
  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.8;
  color: var(--fp-text-mid);
  transition:
    max-height 0.4s ease,
    margin 0.4s ease,
    opacity 0.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: 2px dotted var(--fp-divider-thin);
}
.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 0.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);
}

/* ---------- 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-top: 3px solid var(--fp-accent);
  border: 1px solid rgba(210, 138, 60, 0.18);
  border-top: 3px solid var(--fp-accent);
  border-radius: 12px;
}
.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: 700;
  font-size: 22px;
  color: var(--fp-gold);
  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: 700;
  line-height: 1.35;
  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: 700;
  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: 700;
  line-height: 1.3;
  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 0.55s ease,
    transform 0.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: 700;
  font-size: 19px;
  letter-spacing: 1.5px;
  color: #f7f0e3;
}
.fp-footer-desc {
  font-family: var(--fp-body);
  font-size: 13px;
  line-height: 1.7;
  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: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-tag-text);
  background: var(--fp-tag-bg);
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(210, 138, 60, 0.15);
}
.fp-detail-title {
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -0.4px;
  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: 2px dotted 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(210, 138, 60, 0.2);
  border-radius: 12px;
}
.fp-detail-body {
  font-family: var(--fp-body);
  font-size: 17px;
  line-height: 1.85;
  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: 700;
  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.7;
  color: var(--fp-text);
}
.fp-detail-divider {
  height: 1px;
  background: var(--fp-divider);
  margin: 36px 0;
  position: relative;
  border-bottom: 2px dotted var(--fp-divider-thin);
  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: 20px;
}
.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(210, 138, 60, 0.18);
  border-radius: 12px;
  transition:
    transform 0.25s,
    box-shadow 0.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: 700;
  color: var(--fp-text);
  line-height: 1.35;
}
.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(210, 138, 60, 0.18);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.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 0.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: 999px;
  box-shadow: 0 0 6px rgba(210, 138, 60, 0.15);
}
.fp-rel-card-title {
  font-family: var(--fp-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  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;
}
.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.85;
  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.8;
  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: 10px;
}
.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 0.2s;
  border-radius: 10px;
}
.fp-form button:hover {
  background: var(--fp-accent-soft);
}

.fp-static-content {
  display: block;
  padding: 36px 40px;
  font-family: var(--fp-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--fp-text);
}
.fp-static-content p {
  max-width: 780px;
  margin: 0 0 22px;
}
.fp-static-content h3 {
  max-width: 780px;
  margin: 34px 0 12px;
  font-family: var(--fp-display);
  font-size: 21px;
  line-height: 1.35;
  color: var(--fp-ink);
}

/* ---------- 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-static-content {
    padding: 24px 20px;
    font-size: 16px;
    line-height: 1.75;
  }
  .fp-static-content p {
    margin-bottom: 18px;
  }
  .fp-static-content h3 {
    margin-top: 28px;
    font-size: 19px;
  }
  .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;
  }
}
