/**
 * fsmag.co 首页专属样式
 *
 * 来源：旧 _legacy/index.html 的 inline <style> 提取（Session 5 抽取）。
 * 包含：杂志风排版字体类、line-clamp 实用类、texture 纹理、各区块的视觉细节。
 *
 * 注意：本文件**仅在首页**使用（HomeShell 显式加载）；
 * 文件中部分 class 与 fsmag-tokens / Tailwind 重叠，但不影响其他页面。
 */

.font-song { font-family: "Ma Shan Zheng", "Songti SC", cursive; }
    .font-mono-tech { font-family: 'JetBrains Mono', monospace; }
    .font-monstera { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
    .img-hover { transition: opacity 0.2s ease; }
    .group:hover .img-hover { opacity: 0.96; }
    .line-clamp-2 { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
    .line-clamp-3 { display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
    .line-clamp-4 { display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden; }
    .line-clamp-5 { display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden; }
    .line-clamp-6 { display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden; }
    .texture-overlay { position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");opacity:0.1;z-index:1; }
    .texture-chinese-window { position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0.08;background-image:linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-size:20px 20px;background-position:0 0,10px 10px;mix-blend-mode:overlay; }
    .img-box { position:relative; overflow:hidden; background:#f3f4f6; display:block; }
    .img-box img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
    .tianya-card { background:linear-gradient(135deg,#FFFCF8 0%,#FAF8F5 100%);border:1px solid #D4C5B0;box-shadow:0 2px 8px rgba(139,115,85,0.08); }
    .tianya-card:hover { box-shadow:0 8px 24px rgba(139,115,85,0.15);border-color:#8B7355; }
    .tianya-badge { background:linear-gradient(135deg,#8B7355 0%,#6B5A47 100%);box-shadow:inset 0 1px 2px rgba(255,255,255,0.2); }
    .tianya-divider { background:linear-gradient(90deg,transparent 0%,#D4C5B0 50%,transparent 100%); }
    .group-footer { background-color:#020617;color:#64748b;font-family:'JetBrains Mono',monospace;position:relative;overflow:hidden; }
    .group-footer-content { max-width:1280px;margin:0 auto;padding:4rem 1.5rem;text-align:center; }
    .group-logo-box { display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:2.5rem; }
    .group-logo-img { width:3rem;height:3rem;filter:brightness(200%) opacity(0.8); }
    .group-brand-name { color:white;font-weight:700;font-size:1.5rem;letter-spacing:-0.025em;text-transform:uppercase;line-height:1; }
    .group-sub-tag { color:#0ea5e9;font-size:0.625rem;letter-spacing:0.3em;text-transform:uppercase;margin-top:0.25rem; }
    .footer-email-card { display:inline-flex;align-items:center;gap:1rem;padding:0.875rem 2rem;background-color:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:1rem;transition:all 0.5s ease;text-decoration:none;box-shadow:0 20px 25px -5px rgba(0,0,0,0.1);margin-bottom:3rem; }
    .footer-email-card:hover { background-color:rgba(14,165,233,0.1);border-color:rgba(14,165,233,0.4);transform:translateY(-2px); }
    .footer-icon-box { width:2.5rem;height:2.5rem;background-color:#0f172a;border-radius:0.75rem;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,0.1); }
    .footer-icon-svg { color:#38bdf8;width:1.25rem;height:1.25rem; }
    .footer-label { font-size:0.625rem;text-transform:uppercase;letter-spacing:0.2em;color:#64748b;margin-bottom:0.125rem;text-align:left; }
    .footer-email-card:hover .footer-label { color:#38bdf8; }
    .footer-value { font-size:1rem;color:#e2e8f0;letter-spacing:-0.025em;text-align:left; }
    .footer-email-card:hover .footer-value { color:white; }
    .footer-nav { display:flex;justify-content:center;gap:2.5rem;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:2.5rem; }
    .footer-nav a { color:#64748b;text-decoration:none;transition:color 0.3s; }
    .footer-nav a:hover { color:white; }
    .footer-copy { font-size:0.625rem;opacity:0.4;letter-spacing:0.05em; }
    /* 杂志页面：整体单页，封面/民国全通，其他区块左右留边 */
    .magazine-page { max-width:1400px; margin-left:auto; margin-right:auto; box-shadow:0 0 60px rgba(0,0,0,0.06); }
    .magazine-section-inset { max-width:1200px; margin-left:auto; margin-right:auto; padding-left:1rem; padding-right:1rem; }
    @media (min-width:768px) { .magazine-section-inset { padding-left:1.5rem; padding-right:1.5rem; } }
    @media (min-width:1024px) { .magazine-section-inset { padding-left:2rem; padding-right:2rem; } }
    /* 民国纪事：略增高留白，与全页节奏协调 */
    .republic-section { position:relative; padding:3.75rem 0 4.35rem; overflow:hidden; }
    @media (min-width: 768px) {
      .republic-section { padding:4.65rem 0 5.35rem; }
    }
    .republic-section { background: linear-gradient(rgba(10,30,60,.85),rgba(10,30,60,.9)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' fill='%23f0ebe0'/%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E"); background-size:cover; background-position:center; background-blend-mode:multiply; }
    .republic-section::before, .republic-section::after { content:""; position:absolute; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.6), transparent); z-index:1; pointer-events:none; }
    .republic-section::before { top:0; }
    .republic-section::after { bottom:0; }
    .republic-watermark { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-size:220px; color:rgba(255,255,255,0.05); font-family:"Ma Shan Zheng",serif; pointer-events:none; white-space:nowrap; z-index:1; }
    .republic-section .container-main { position:relative; z-index:2; }
    /* 民国纪事：右侧日记全文滚动区 */
    .roc-diary-scroll {
      max-height: min(70vh, 36rem);
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-color: rgba(197, 160, 89, 0.45) rgba(10, 22, 40, 0.35);
    }
    .roc-diary-scroll::-webkit-scrollbar { width: 6px; }
    .roc-diary-scroll::-webkit-scrollbar-thumb {
      background: rgba(197, 160, 89, 0.4);
      border-radius: 3px;
    }
    /* 民国纪事：左侧特色栏目入口（移动端：板块内顶部横向 pill） */
    .roc-column-nav {
      padding-top: 0.15rem;
      border-bottom: 1px solid rgba(197, 160, 89, 0.2);
      padding-bottom: 0.75rem;
    }
    @media (max-width: 1023px) {
      .roc-column-nav {
        padding-bottom: 0.65rem;
        margin-bottom: 0.25rem;
      }
      .roc-column-nav-label {
        margin-bottom: 0.45rem;
      }
      .roc-column-nav nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem 0.5rem;
        align-items: center;
      }
      .roc-column-nav a {
        display: inline-flex;
        align-items: center;
        padding: 0.32rem 0.72rem;
        border: 1px solid rgba(197, 160, 89, 0.38);
        border-radius: 9999px;
        background: rgba(10, 22, 40, 0.35);
        font-size: 11px;
        letter-spacing: 0.06em;
        border-bottom: 1px solid rgba(197, 160, 89, 0.38);
      }
      .roc-column-nav a:hover {
        color: #f0d78a;
        padding-left: 0.72rem;
        background: rgba(197, 160, 89, 0.14);
      }
    }
    @media (min-width: 1024px) {
      .roc-column-nav {
        position: sticky;
        top: 5.5rem;
        border-bottom: none;
        border-right: 1px solid rgba(197, 160, 89, 0.22);
        padding-right: 1rem;
        padding-bottom: 0;
      }
    }
    .roc-column-nav-label {
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(197, 160, 89, 0.68);
      margin-bottom: 0.6rem;
      font-family: ui-monospace, monospace;
    }
    .roc-column-nav a {
      display: block;
      font-size: 12px;
      letter-spacing: 0.08em;
      color: rgba(235, 225, 200, 0.88);
      text-decoration: none;
      padding: 0.35rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transition: color 0.2s, padding-left 0.2s;
    }
    .roc-column-nav a:hover { color: #f0d78a; padding-left: 0.25rem; }
    .roc-diary-ybtn {
      font-size: 10px;
      letter-spacing: 0.06em;
      padding: 0.25rem 0.5rem;
      border-radius: 9999px;
      border: 1px solid rgba(197, 160, 89, 0.35);
      background: rgba(6, 14, 28, 0.55);
      color: rgba(230, 210, 175, 0.85);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .roc-diary-ybtn:hover {
      border-color: rgba(240, 215, 138, 0.55);
      color: #f0d78a;
    }
    .roc-diary-ybtn.active {
      background: rgba(197, 160, 89, 0.22);
      border-color: rgba(240, 215, 138, 0.55);
      color: #f0d78a;
      font-weight: 600;
    }
    /* 首页封面 Hero：底部略重遮罩 + 左侧辅助，主稿区沉底，少压暗大图 */
    .hero-cover-gradient {
      background:
        linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.26) 42%, rgba(0,0,0,0.08) 62%, transparent 82%),
        linear-gradient(to right, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.1) 40%, transparent 72%);
    }
    @media (max-width: 767px) {
      .hero-cover-gradient {
        background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 45%, rgba(0,0,0,0.12) 100%);
      }
    }
    /* 洞见：左文右图时右侧画幅（桌面行高由 grid 拉齐） */
    .insights-split-visual.fsmag-cover-frame {
      min-height: 200px;
      aspect-ratio: 16 / 10;
    }
    @media (min-width: 768px) {
      .insights-split-visual.fsmag-cover-frame {
        aspect-ratio: auto;
        min-height: 260px;
        height: 100%;
      }
    }
    /* 最新列表：无卡片信息流 */
    .latest-row {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem 1rem;
      padding: 0.85rem 0;
      border-bottom: 1px solid rgba(229, 231, 235, 0.95);
      text-decoration: none;
      color: inherit;
      transition: background 0.15s ease;
    }
    .latest-row:hover { background: rgba(249, 250, 251, 0.6); }
    .latest-row time { flex-shrink: 0; font-size: 11px; font-family: ui-monospace, monospace; color: #9ca3af; width: 5.25rem; }
    .latest-row .latest-row-tag { flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: rgba(139, 0, 0, 0.85); width: 2.75rem; }
    .latest-row .latest-row-main { flex: 1; min-width: 0; }
    .latest-row h3 { font-size: 0.95rem; font-weight: 600; line-height: 1.4; margin: 0; }
    .latest-row .latest-row-en { opacity: 0.92; }
    @media (max-width: 639px) {
      .latest-row { flex-wrap: wrap; align-items: flex-start; }
      .latest-row h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    }
    .hero-cover-text { text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 0 24px rgba(0,0,0,0.35); }
    .hero-cover-tag { text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
    .pick-card { transition: border-color 0.2s ease; }
    .pick-lead-title { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.28; font-weight: 600; letter-spacing: -0.02em; }
    .pick-side-card { min-height: 8.75rem; }
    /* —— 首页：阅读流节奏与组件（A 内容卡 / B 重点视觉） —— */
    .fsmag-section-y { padding-top: 4.25rem; padding-bottom: 4.75rem; }
    @media (min-width: 768px) {
      .fsmag-section-y { padding-top: 5rem; padding-bottom: 5.5rem; }
    }
    .fsmag-meta-line {
      font-size: 12px;
      color: #888888;
      font-family: ui-monospace, monospace, "JetBrains Mono", monospace;
      letter-spacing: 0.1em;
    }
    .fsmag-article-title {
      font-family: "Noto Serif SC", "Songti SC", serif;
      font-size: 1.125rem;
      font-weight: 500;
      line-height: 1.45;
      letter-spacing: -0.02em;
      color: #1a1a1a;
    }
    @media (min-width: 768px) {
      .fsmag-article-title { font-size: 1.2rem; }
    }
    .fsmag-cover-kicker {
      font-family: ui-monospace, monospace, "JetBrains Mono", monospace;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.22em;
      color: #6b5a3e;
      text-transform: none;
    }
    .fsmag-card-a {
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 0.875rem;
      background: #fff;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
    }
    .fsmag-card-a:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
      border-color: rgba(0, 0, 0, 0.11);
    }
    .fsmag-btn-dark {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      padding: 0.65rem 1.35rem;
      border-radius: 2px;
      background: #1a1a1a;
      color: #fafafa;
      text-decoration: none;
      border: 1px solid #1a1a1a;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .fsmag-btn-dark:hover {
      background: #8B0000;
      border-color: #8B0000;
      color: #fff;
    }
    .fsmag-btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.58rem 1.15rem;
      border-radius: 2px;
      background: transparent;
      color: #444;
      text-decoration: none;
      border: 1px solid rgba(0, 0, 0, 0.14);
      transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    }
    .fsmag-btn-ghost:hover {
      border-color: rgba(139, 0, 0, 0.35);
      color: #8B0000;
      background: rgba(139, 0, 0, 0.03);
    }
    .fsmag-btn-ghost--gold {
      color: rgba(197, 160, 89, 0.95);
      border-color: rgba(197, 160, 89, 0.45);
    }
    .fsmag-btn-ghost--gold:hover {
      color: #f0d78a;
      border-color: rgba(240, 215, 138, 0.65);
      background: rgba(197, 160, 89, 0.08);
    }
    /* 文章精选：12 栏栅格 + 纯白卡片，与 #F7F7F5 区底 */
    .fsmag-editor-picks-section .section-headline-rule {
      background: rgba(0, 0, 0, 0.08);
    }
    .fsmag-editor-picks-section a.section-head-row:hover {
      background: rgba(0, 0, 0, 0.03);
    }
    .fsmag-pick-hero .fsmag-img-zoom,
    .fsmag-pick-medium .fsmag-img-zoom {
      transition: transform 0.45s ease;
    }
    .fsmag-pick-hero:hover .fsmag-img-zoom,
    .fsmag-pick-medium:hover .fsmag-img-zoom {
      transform: scale(1.02);
    }
    .fsmag-feed-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
    .fsmag-feed-chip {
      font-size: 11px;
      font-family: ui-monospace, monospace, "JetBrains Mono", monospace;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      background: #fff;
      color: #666;
      cursor: pointer;
      transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    }
    .fsmag-feed-chip:hover,
    .fsmag-feed-chip.is-active {
      border-color: rgba(139, 0, 0, 0.35);
      color: #8B0000;
      background: rgba(139, 0, 0, 0.04);
    }
    .fsmag-stream-item { position: relative; padding-bottom: 2.5rem; }
    .fsmag-stream-item:last-child { padding-bottom: 0; }
    .fsmag-stream-rail { border-left: 1px solid rgba(180, 130, 90, 0.22); padding-left: 1.35rem; margin-left: 0.2rem; }
    .fsmag-stream-dot {
      position: absolute;
      left: -0.42rem;
      top: 0.28rem;
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 999px;
      background: rgba(139, 90, 43, 0.5);
      box-shadow: 0 0 0 4px #f5ebe0;
    }
    .latest-row.is-filtered-out { display: none !important; }
    .fsmag-img-zoom { transition: transform 0.45s ease; }
    .group:hover .fsmag-img-zoom { transform: scale(1.02); }
    .fsmag-picks-scroll {
      scrollbar-width: thin;
      scrollbar-color: rgba(0,0,0,0.15) transparent;
    }
    .fsmag-picks-scroll::-webkit-scrollbar { height: 6px; }
    .fsmag-picks-scroll::-webkit-scrollbar-thumb {
      background: rgba(0,0,0,0.12);
      border-radius: 3px;
    }
    .fsmag-insights-more-scroll {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: thin;
    }
    .fsmag-insights-more-scroll > * { scroll-snap-align: start; flex: 0 0 min(88vw, 320px); }
    @media (min-width: 1024px) {
      .fsmag-insights-more-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; padding-bottom: 0; gap: 1.25rem; }
      .fsmag-insights-more-scroll > * { flex: none; min-width: 0; }
    }
    .roc-diary-years-scroll {
      overflow-x: auto;
      padding-bottom: 0.25rem;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }
    @media (min-width: 768px) {
      .pick-side-card { min-height: 9.75rem; }
    }
    .pick-side-thumb .fsmag-cover-frame {
      position: absolute;
      inset: 0;
      aspect-ratio: auto;
      min-height: 100%;
      width: 100%;
    }
    .latest-card {
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }
    .latest-card:hover {
      transform: translateY(-1px);
    }

    /* 字体层级：栏目标题略放大、杂志行距 */
    .fsmag-zone-title {
      /* 调小、字重轻、字距加宽 — 杂志标题更优雅，不再黑体笨重 */
      font-size: clamp(1.25rem, 1.85vw, 1.6rem);
      line-height: 1.2;
      letter-spacing: 0.02em;
      font-weight: 500;  /* 由 home-shell 中各处的 font-semibold(600) 覆盖前生效 */
    }
    .fsmag-card-title {
      font-size: 1.0625rem;
      line-height: 1.36;
      font-weight: 600;
    }
    @media (min-width: 768px) {
      .fsmag-card-title { font-size: 1.2rem; line-height: 1.34; }
    }
    .fsmag-dek {
      line-height: 1.78;
    }

    /* 主按钮：实心金 / 深色；次按钮：描边 */
    .btn-fs-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 0.55rem 1.2rem;
      border-radius: 2px;
      background: #c5a059;
      color: #0f172a;
      border: 1px solid transparent;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }
    .btn-fs-primary:hover {
      background: #d4b56e;
      color: #05080d;
    }
    .btn-fs-primary--inverse {
      background: #141a22;
      color: #f4efe6;
      border-color: rgba(197, 160, 89, 0.35);
    }
    .btn-fs-primary--inverse:hover {
      background: #1e2836;
      color: #fff;
    }
    .btn-fs-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.625rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 0.48rem 0.95rem;
      border-radius: 2px;
      background: transparent;
      border: 1px solid currentColor;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .btn-fs-secondary:hover {
      background: rgba(0, 0, 0, 0.04);
    }

    /* 天涯档案卡：年份主导 + 时间轴感 */
    .tianya-archive-card {
      border-radius: 6px;
      overflow: hidden;
    }
    .tianya-year-rail {
      background: linear-gradient(180deg, rgba(139, 115, 85, 0.14) 0%, rgba(212, 197, 176, 0.35) 100%);
      border-right: 1px solid rgba(139, 115, 85, 0.28);
    }
    @media (max-width: 639px) {
      .tianya-year-rail {
        border-right: none;
        border-bottom: 1px solid rgba(139, 115, 85, 0.28);
      }
    }

    /* 洞见区：轻量阅读底，与整站杂志纸一致 */
    .section-anchor-insights {
      position: relative;
      overflow: hidden;
      color: #1a1a1a;
      background: #f3f1ec;
      border-top: 1px solid #e5e2da;
      border-bottom: 1px solid #e5e2da;
    }
    .section-anchor-insights .anchor-zone-inner { position: relative; z-index: 1; }
    .section-anchor-insights { padding-bottom: 1.75rem; }
    @media (min-width: 768px) {
      .section-anchor-insights { padding-bottom: 2.25rem; }
    }
    .section-anchor-insights .section-headline { color: #111; }
    .section-anchor-insights .section-headline-rule { background: linear-gradient(90deg, transparent, rgba(120, 113, 100, 0.35), transparent); }
    .section-anchor-insights .section-headline-sub { color: #6b7280; }
    .section-anchor-insights .section-headline-sub:hover { color: #374151; }
    .section-anchor-insights a.section-head-row:hover { background: rgba(0, 0, 0, 0.03); }

    .section-anchor-lifestyle {
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, #fdfaf6 0%, #f5ebe0 45%, #efe3d4 100%);
      border-top: 1px solid rgba(180, 150, 120, 0.35);
      border-bottom: 1px solid rgba(160, 130, 100, 0.25);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }
    .section-anchor-lifestyle::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.14;
      background:
        linear-gradient(105deg, rgba(139, 90, 43, 0.03) 0%, transparent 42%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' fill='%23c4a574' filter='url(%23w)' opacity='0.12'/%3E%3C/svg%3E");
      background-size: auto, 180px 180px;
    }
    .section-anchor-lifestyle .anchor-zone-inner { position: relative; z-index: 1; }
    .section-anchor-lifestyle a.section-head-row:hover { background: rgba(139, 90, 43, 0.06); }
    .section-anchor-lifestyle .section-headline-rule { background: rgba(180, 150, 120, 0.45); }
    /* 生活·随笔：横向滚动卡片区（高度约 220–260px） */
    .lifestyle-rail-outer {
      margin-left: -0.25rem;
      margin-right: -0.25rem;
      padding-left: 0.25rem;
      padding-right: 0.25rem;
    }
    @media (min-width: 768px) {
      .lifestyle-rail-outer { margin-left: -0.5rem; margin-right: -0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; }
    }
    .lifestyle-scroll {
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scrollbar-width: thin;
      scrollbar-color: rgba(107, 68, 35, 0.28) transparent;
    }
    .lifestyle-scroll::-webkit-scrollbar { height: 5px; }
    .lifestyle-scroll::-webkit-scrollbar-thumb {
      background: rgba(107, 68, 35, 0.22);
      border-radius: 3px;
    }
    .lifestyle-rail-card {
      flex: 0 0 auto;
      scroll-snap-align: start;
      width: 148px;
      height: auto;
      min-height: 0;
      border-radius: 0.875rem;
      border: 1px solid rgba(120, 82, 48, 0.14);
      background: rgba(255, 252, 248, 0.92);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 6px 18px rgba(62, 42, 22, 0.06);
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }
    @media (min-width: 640px) {
      .lifestyle-rail-card { width: 164px; }
    }
    @media (min-width: 1024px) {
      .lifestyle-rail-card { width: 172px; }
    }
    .lifestyle-rail-card:hover {
      border-color: rgba(139, 0, 0, 0.18);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 26px rgba(62, 42, 22, 0.09);
      transform: translateY(-2px);
    }
    .lifestyle-rail-card__link {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0;
      color: inherit;
      text-decoration: none;
    }
    .lifestyle-rail-card__link:focus-visible {
      outline: 2px solid rgba(139, 0, 0, 0.45);
      outline-offset: 2px;
    }
    .lifestyle-rail-card__img {
      flex-shrink: 0;
      width: 100%;
      aspect-ratio: 1 / 1;
      height: auto;
      background: rgba(231, 219, 204, 0.45);
      overflow: hidden;
    }
    .lifestyle-rail-card__img--empty {
      background: linear-gradient(145deg, rgba(231, 219, 204, 0.55), rgba(212, 196, 176, 0.35));
    }
    .lifestyle-rail-card__body {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 0.65rem 0.7rem 0.6rem;
    }
    .lifestyle-rail-card__title {
      margin: 0;
      font-family: ui-serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
      font-size: 0.8125rem;
      line-height: 1.38;
      font-weight: 600;
      color: #1c1917;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      word-break: break-word;
      overflow-wrap: anywhere;
      transition: color 0.15s ease;
    }
    @media (min-width: 640px) {
      .lifestyle-rail-card__title { font-size: 0.875rem; line-height: 1.4; }
    }
    .group:hover .lifestyle-rail-card__title,
    .lifestyle-rail-card__link:hover .lifestyle-rail-card__title {
      color: #8b0000;
    }
    .lifestyle-rail-card__date {
      margin-top: 0.35rem;
      font-size: 10px;
      letter-spacing: 0.06em;
      color: rgba(87, 74, 62, 0.72);
    }

    .section-anchor-books {
      position: relative;
      overflow: hidden;
      background-color: #fdfcfa;
      background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 250, 246, 0.98) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23f5f0e8'/%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.035'/%3E%3C/svg%3E");
      border-top: 1px solid #e5e0d6;
      border-bottom: 1px solid #ebe6dc;
    }
    .section-anchor-books .anchor-zone-inner { position: relative; z-index: 1; }
    .section-anchor-books .books-inset { padding-top: 2.75rem; padding-bottom: 3.25rem; }
    @media (min-width: 768px) {
      .section-anchor-books .books-inset { padding-top: 3.25rem; padding-bottom: 3.75rem; }
    }
    /* 首页移动端导航：实底避免半透明与正文叠在一起难辨认 */
    #fsmag-mobile-drawer {
      background-color: #ffffff;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }
    #fsmag-mobile-drawer .fsmag-mobile-drawer-search {
      background-color: #f3efe8;
      border-top: 1px solid #e8e4dc;
    }
    #fsmag-mobile-drawer:not(.hidden) {
      animation: fsmag-drawer-in 0.2s ease-out;
    }
    @keyframes fsmag-drawer-in {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }