/*
  法谈摘录 · 森林派袈裟金 × 现代冷灰
  Based on user-provided meditation-card CSS design vocabulary.
  All original article content and data remain unchanged.

  Maintenance guide: modify the theme tokens immediately below to change colors globally.
  This stylesheet is loaded after site.css and intentionally overrides its presentation.
*/
:root {
  color-scheme: light;
  --ink: #1a2a3a;
  --muted: #728493;
  --green: #8c5815;
  --green-dark: #70420f;
  --gold: #b37d14;
  --gold-dark: #8c5815;
  --page: #f8fafc;
  --white: #ffffff;
  --line: #e3e9ee;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(150,165,180,.08);
  --cool: #3a4a5a;
  --cool-2: #4a5a6a;
  --warm-pale: #faf6f0;
  --focus: #b37d14;
}
html { scroll-padding-top: 24px; }
body {
  background: var(--page);
  color: var(--cool);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a,button,input { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { color: var(--gold-dark); }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.shell { width: min(1090px, calc(100% - 64px)); }

/* The wide white paper-like main container mirrors the reference card surface. */
body > main:not(.shell):not(.article-wrap) {
  max-width: 1200px;
  margin: 28px auto 46px;
  background: #fff;
  border: 1px solid rgba(180,190,200,.4);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(150,165,180,.08);
  overflow: clip;
}
body > main.shell {
  background: #fff;
  padding: 32px 35px 64px;
  margin-top: 26px;
  margin-bottom: 42px;
  border: 1px solid rgba(180,190,200,.4);
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: min(1150px,calc(100% - 54px));
}
body > main.shell > .archive-banner:first-child { margin-top: 8px; }

/* Site masthead: deliberately quiet, with warm gold accents only at focus points. */
.site-header {
  height: 92px;
  background: #fff;
  border-top: 3px solid #b37d14;
  border-bottom: 1px solid #e5eaf0;
}
.nav-inner { height: 100%; gap: 25px; }
.brand { gap: 14px; white-space: nowrap; }
.brand-mark {
  height: 46px; width: 46px;
  color: #8c5815;
  background: #faf6f0;
  border: 1px solid rgba(179,125,20,.35);
  border-radius: 50%;
}
.brand-seal {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(179,125,20,.42);
  font-size: 20px;
  font-weight: 750;
  color: #8c5815;
}
.brand-txt strong { color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: 2px; line-height: 1.35; }
.brand-txt span { color: #5c7c8c; font-weight: 600; font-size: 10px; letter-spacing: 1.8px; }
.nav-links { gap: 26px; color: #5f7180; font-size: 13px; }
.nav-links a { position: relative; font-weight: 600; }
.nav-links a.active, .nav-links .active { color: #8c5815; font-weight: 750; }
.nav-links a.active::after { content: ""; position: absolute; height: 2px; background: var(--gold); bottom: -14px; left: 0; right: 0; border-radius: 2px; }

/* Centered, typographic chapter header and the warm hairline divider. */
.hero { padding-top: 46px; padding-bottom: 43px; }
.hero-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 0 0 28px;
  border-bottom: none;
  margin: 0 0 32px;
}
.hero-heading::after, .archive-banner::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 150px; height: 2px;
  background: linear-gradient(90deg,rgba(140,67,35,0),rgba(140,67,35,.35),rgba(140,67,35,1),rgba(140,67,35,.35),rgba(140,67,35,0));
}
.kicker { display:block; color:#5c7c8c; font-size:12px; letter-spacing:3px; font-weight:650; margin-bottom:10px; }
.kicker-sep { color:#b37d14; padding:0 3px; }
.hero h1 { margin: 5px 0 0; color: var(--ink); font-size: clamp(28px,3.6vw,40px); font-weight:800; letter-spacing: 2px; line-height:1.4; font-family:inherit; }
.title-dot { color: #b37d14; font-size: 30px; margin-left: 4px; }
.subhead { color: #718493; font-size: 13px; margin: 10px auto 0; max-width: 760px; letter-spacing: .5px; }
.hero-index {
  display: inline-flex; flex-direction: row; justify-content: center; align-items: center;
  gap: 13px; min-width: 0; margin-top: 20px; padding: 5px 15px;
  border: 1px solid #e3e9ee;
  background: #f8fafc;
  border-radius: 999px; color: #728493;
  text-align: center;
}
.hero-index > span { font-size: 11px; letter-spacing: .6px; }
.hero-index strong { color: var(--gold-dark); font-size: 17px; font-weight: 750; line-height: 1.4; font-family: inherit; }
.hero-index i { color: #728493; font-size: 11px; font-weight: 500; }

/* Live player: separate white paper card; keep the poster and original controls intact. */
.live-panel { max-width: 990px; margin: auto; border: 1px solid rgba(180,190,200,.45); border-radius: 14px; background: #fff; box-shadow: 0 7px 26px rgba(150,165,180,.12); overflow: hidden; }
.live-box { background:#101d26; }
.poster-layer { background:#172b39; }
.poster-shade { background: linear-gradient(0deg,rgba(20,30,40,.55),transparent 39%); }
.glass-label { background:rgba(26,42,58,.74); border:1px solid rgba(255,255,255,.35); border-radius:5px; padding:7px 13px; letter-spacing:.5px; font-size:12px; }
.live-controls { background:#fff; padding:16px 19px; border-top:1px solid #eef1f4; }
.live-meta { color:#334b5c; font-size:12px; font-weight:700; }
.dot { background:#beac8c; }
.dot.on { background:#d64f37; }
.status-txt { font-size:12px; color:#81909c; }
.control-right { gap:11px; }
.control-right a { color:#697d8c; font-size:12px; padding: 0 2px; }
.control-right a:hover { color:var(--gold-dark); }
.primary { border-radius:30px; padding:9px 18px; background:#fff; border:1px solid #e1e8ed; color:#3a4a5a; font-weight:650; }
.primary:hover { background:#faf6f0; border-color:#b37d14; color:#8c5815; }
.primary.light { background:#fff; border-color:#fff; color:#8c5815; }
.primary.light:hover { background:#faf6f0; color:#70420f; }
.light-btn { background:#fff; border:1px solid #dbe4ea; color:#3a4a5a; border-radius:30px; padding:8px 15px; font-size:12px; font-weight:600; }
.light-btn:hover { background:#faf6f0; border-color:#b37d14; color:#8c5815; box-shadow:0 4px 9px rgba(179,125,20,.08); }
.player-top { background:#ad3e2d; border-radius:5px; }

/* Consistent section-head chapter rule with a short gold rule, as in the sample CSS. */
.section { padding: 37px 0 42px; border-top: none; }
.catalog-section { border-top:1px solid #eef1f4; }
.recent-section { border-top:1px solid #eef1f4; padding-bottom: 56px; }
.section-head {
  position: relative; align-items:end;
  border-bottom: 1px solid #eef1f4;
  padding-bottom: 13px;
  margin-bottom: 22px;
  gap: 18px;
}
.section-head::after { content:""; position:absolute; bottom:-1px; left:0; width:36px; height:3px; border-radius:2px; background:#b37d14; }
.section h2 { color:var(--ink); font-family:inherit; font-size:clamp(22px,2.2vw,27px); font-weight:750; letter-spacing:1px; line-height:1.4; margin:0; }
.section-head .kicker { margin-bottom: 6px; }
.section-side { display:flex; align-items:center; gap:18px; }
.section-side > span { color:#8b9ba7; font-size:12px; }
.section-action { color:#8c5815; font-size:12px; font-weight:700; border-bottom:1px dashed #b37d14; padding-bottom:2px; white-space:nowrap; }
.section-action:hover { color:#6f420f; border-bottom-style:solid; }

.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:0; }
.cat-card {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  background:#fff; border:1px solid rgba(180,190,200,.38); border-radius:12px;
  padding:18px 17px; min-height:100px;
  box-shadow:0 4px 14px rgba(0,0,0,.02);
  position:relative;
}
.cat-card::before { display:none; }
.cat-card:hover { transform:translateY(-2px); border-color:rgba(179,125,20,.5); box-shadow:0 12px 30px rgba(179,125,20,.12); background:#fff; }
.cat-title { color:#1a2a3a; font-size:15px; font-weight:700; line-height:1.6; }
.cat-count { color:#84949d; font-size:11px; }
.cat-arrow { color:#b37d14; font-size:16px; }

/* A cool summary-panel with compact, warm-indexed topic chips. All topics stay visible. */
.topic-section {
  background:#f8fafc;
  border:1px solid rgba(180,190,200,.35);
  border-radius:12px;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.01);
  max-width:none;
  width:min(1090px,calc(100% - 64px));
  padding:31px 30px 37px;
  margin:10px auto 18px;
}
.topic-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; margin:0 0 17px; padding:0; border-bottom:0; }
.topic-toolbar p { color:#81909d; font-size:12px; }
.topic-filter-label { font-size:12px; color:#506473; font-weight:700; gap:10px; }
.topic-filter-label input {
  width:215px; padding:9px 12px; border:1px solid #dbe4ea; border-radius:8px;
  background:#fff; color:#1a2a3a; font-size:12px; outline:none;
}
.topic-filter-label input:focus { border-color:#b37d14; box-shadow:0 0 0 3px rgba(179,125,20,.11); }
.topic-section .tag-cloud { margin:0; gap:8px; }
.topic-tag {
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; border:1px solid #e1e8ed; border-radius:30px;
  padding:6px 11px; color:#3a4a5a; font-size:12px; line-height:1.5;
  box-shadow:0 2px 4px rgba(0,0,0,.015);
}
.topic-tag::before { content:"•"; color:#b37d14; font-size:16px; line-height:1; }
.topic-tag:hover { background:#faf6f0; border-color:#b37d14; color:#8c5815; transform:translateY(-1px); box-shadow:0 4px 8px rgba(179,125,20,.10); }
.topic-tag small { color:#8e9aa4; font-size:10px; border:0; padding:0; }
.topic-tag[hidden], .topic-no-match[hidden] { display:none!important; }
.topic-no-match { color:#8c5815; font-size:13px; }

/* Calm academic reading cards. */
.article-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.article-card { background:#fff; border:1px solid rgba(180,190,200,.38); border-radius:12px; min-height:224px; padding:22px 21px 19px; box-shadow:0 4px 14px rgba(0,0,0,.02); }
.article-card:hover { border-color:rgba(179,125,20,.45); box-shadow:0 10px 24px rgba(179,125,20,.11); transform:translateY(-2px); }
.article-card .tag { background:#faf6f0; color:#8c5815; border:1px solid #ecdcc2; border-radius:5px; padding:3px 8px; font-size:11px; font-weight:700; }
.article-card h3 { font-family:inherit; font-size:17px; color:#1a2a3a; font-weight:750; line-height:1.6; }
.article-excerpt { font-size:12px; line-height:1.85; color:#728493; }
.article-bottom { color:#8e9ea9; border-top:1px solid #eef1f4; padding-top:12px; font-size:11px; }
.read-link { color:#8c5815; font-size:11px; font-weight:750; }

/* Archive, search, category detail and the full-length articles share the same theme. */
.archive-banner {
  position:relative; text-align:center; border-bottom:0; padding:13px 0 30px;
  margin:18px auto 31px;
}
.archive-banner h1 { color:#1a2a3a; font-size:clamp(26px,3vw,34px); font-family:inherit; font-weight:800; letter-spacing:1px; line-height:1.5; margin:4px 0 10px; }
.archive-banner p { color:#81919d; font-size:13px; }
.archive-banner .kicker { color:#5c7c8c; }
.search-cta { margin:0 0 22px; font-size:13px; }
.search-cta a { color:#8c5815; text-underline-offset:4px; }
.site-search { background:#f8fafc; border:1px solid #dfe8ed; border-radius:12px; padding:24px 28px; margin-bottom:25px; }
.site-search label { color:#1a2a3a; font-weight:750; font-size:13px; }
.search-input-row input { background:#fff; border:1px solid #d6e0e7; color:#1a2a3a; border-radius:9px; }
.search-input-row input:focus { border-color:#b37d14; box-shadow:0 0 0 3px rgba(179,125,20,.1); }
.search-input-row .primary { background:#8c5815; color:white; border-color:#8c5815; border-radius:9px; }
.search-input-row .primary:hover { background:#6f420f; }
.pager a,.pager button { border-radius:30px; background:#fff; border:1px solid #dfe7ec; color:#526778; }
.pager a:hover,.pager button:hover { background:#faf6f0; border-color:#b37d14; color:#8c5815; }
.pager span { color:#81909d; }
.empty { border-radius:12px; border:1px solid #e1e8ed; color:#728493; }

.article-wrap { width:min(970px,calc(100% - 46px)); margin:29px auto 70px; }
.breadcrumbs { color:#8695a0; margin:0 0 19px; font-size:12px; }
.breadcrumbs a { color:#556c7c; }
.breadcrumbs a:hover { color:#8c5815; }
.article-sheet { border-radius:16px; background:#fff; border:1px solid rgba(180,190,200,.40); padding:clamp(25px,5vw,56px); box-shadow:var(--shadow); }
.article-sheet h1 { color:#1a2a3a; font-family:inherit; font-size:clamp(26px,3vw,33px); font-weight:800; line-height:1.5; text-align:center; letter-spacing:.6px; }
.article-byline { display:flex; justify-content:center; text-align:center; color:#8796a0; font-size:12px; padding:0 0 28px; margin-bottom:29px; gap:12px; flex-wrap:wrap; border-bottom:1px solid #eef1f4; position:relative; }
.article-byline::after { content:""; position:absolute; bottom:-1px; left:50%; transform:translateX(-50%); height:2px; width:92px; background:linear-gradient(90deg,transparent,#b37d14,transparent); }
.article-byline a { color:#8c5815; }
.prose { font-size:15.5px; line-height:2.06; color:#3a4a5a; overflow-wrap:anywhere; }
.prose h2,.prose h3 { color:#1a2a3a; font-family:inherit; font-weight:750; padding-bottom:9px; border-bottom:1px solid #eef1f4; position:relative; }
.prose h2::after,.prose h3::after { content:""; position:absolute; bottom:-1px; left:0; height:2px; width:36px; background:#b37d14; }
.prose blockquote { border-left:3px solid #b37d14; background:#faf6f0; color:#62503c; border-radius:0 8px 8px 0; }
.prose a { color:#8c5815; text-decoration:underline; text-underline-offset:3px; }
.prose img { border-radius:8px; }
.article-tags { border-top:1px solid #eef1f4; gap:8px; }
.article-tags strong { color:#1a2a3a; font-weight:700; }
.article-nav { border-top:1px solid #eef1f4; padding-top:25px; }
.article-nav a { color:#8c5815; }

.site-footer { background:#fff; border-top:1px solid #e5eaf0; color:#8c9aa5; padding:29px 0; }
.footer-brand { color:#1a2a3a; font-size:13px; font-weight:800; }
.footer-links a { color:#687e8e; }
.footer-links a:hover { color:#8c5815; }

/* Responsive treatment; full categories and tags remain visible on mobile. */
@media (max-width:980px) {
  .shell { width:calc(100% - 46px); }
  .nav-links { gap:17px; }
  .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body > main:not(.shell):not(.article-wrap) { margin:20px 18px 34px; }
}
@media (max-width:700px) {
  .shell { width:calc(100% - 32px); }
  .site-header { height:auto; min-height:80px; }
  .nav-inner { flex-direction:column; align-items:stretch; gap:10px; padding:12px 0 11px; }
  .brand-mark { width:42px; height:42px; }
  .brand-seal { width:31px; height:31px; }
  .brand-txt strong { font-size:21px; }
  .brand-txt span { font-size:9px; }
  .nav-links { display:flex; width:100%; overflow-x:auto; justify-content:flex-start; gap:20px; white-space:nowrap; padding-bottom:3px; }
  .nav-links a { flex:none; font-size:12px; }
  .nav-links a:nth-child(3) { display:inline; }
  .nav-links a.active::after { bottom:-5px; }
  body > main:not(.shell):not(.article-wrap) { margin:14px 10px 24px; border-radius:13px; }
  body > main.shell { padding:19px 16px 36px; width:calc(100% - 20px); margin-top:14px; border-radius:13px; }
  .hero { padding:34px 0 28px; }
  .hero-heading { margin:0 0 24px; padding-bottom:22px; }
  .hero h1 { font-size:30px; }
  .title-dot { font-size:23px; }
  .hero-index { margin-top:15px; }
  .live-panel { border-radius:11px; }
  .live-controls { display:flex; align-items:flex-start; padding:12px; gap:7px; }
  .control-left { margin:0; gap:5px; }
  .control-right { justify-content:flex-start; border-top:1px solid #eef1f4; padding-top:9px; gap:10px; width:100%; }
  .control-right a { border:none; padding:0; }
  .section { padding:28px 0 32px; }
  .section-head { margin-bottom:17px; }
  .section h2 { font-size:23px; }
  .section-side { gap:10px; }
  .section-side>span { display:none; }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .cat-card { padding:15px 12px; min-height:87px; }
  .cat-title { font-size:13px; }
  .cat-count { font-size:11px; }
  .topic-section { width:calc(100% - 32px); padding:23px 16px 28px; margin:8px auto 15px; }
  .topic-toolbar { display:block; }
  .topic-toolbar p { margin-bottom:11px; }
  .topic-filter-label { display:flex; justify-content:space-between; width:100%; }
  .topic-filter-label input { min-width:0; width:auto; flex:1; max-width:260px; }
  .topic-tag { padding:6px 10px; font-size:11px; }
  .topic-section .tag-cloud { gap:7px; }
  .article-grid { grid-template-columns:1fr; }
  .article-card { min-height:0; padding:20px; }
  .recent-section { padding-bottom:34px; }
  .article-wrap { width:calc(100% - 22px); margin:18px auto 35px; }
  .article-sheet { padding:23px 19px; border-radius:13px; }
  .article-sheet h1 { font-size:25px; }
  .article-byline { gap:8px; }
  .prose { font-size:15px; }
  .archive-banner { margin:12px auto 25px; }
}
@media (max-width:395px) {
  .brand-txt span { letter-spacing:.7px; }
  .brand-txt strong { font-size:20px; }
  .nav-links { gap:14px; }
  .category-grid { grid-template-columns:1fr 1fr; }
  .cat-card { padding:14px 10px; }
  .control-right { gap:7px; }
  .footer-links { gap:9px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }
}
