/* =========================================================
   Additional pages: 唯识概要 / 文献 / 学修 / 动态 / 关于
   ========================================================= */

/* ---------- shared page bits ---------- */
.section-tight { padding: 62px 0 80px; }
.section-rule { height: 1px; background: var(--line); }
.kicker-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); }
.text-link:hover { color: var(--red); }
.text-link svg { width: 12px; height: 12px; }

/* ---------- 唯识概要 ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding: 52px 0 90px; align-items: start; }
.guide-main { min-width: 0; }
.guide-section { scroll-margin-top: 150px; padding-bottom: 55px; margin-bottom: 55px; border-bottom: 1px solid var(--line); }
.guide-section:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.guide-section > .eyebrow { margin-bottom: 14px; }
.guide-section h2 { font-family: var(--sans); font-size: 34px; font-weight: 600; line-height: 1.4; letter-spacing: -0.025em; }
.guide-section h3 { margin-top: 28px; font-size: 21px; font-weight: 600; }
.guide-prose { max-width: 760px; margin-top: 18px; font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.guide-prose + .guide-prose { margin-top: 14px; }
.guide-prose strong { color: var(--ink); font-weight: 600; }
.guide-quote {
  position: relative;
  margin: 34px 0;
  padding: 24px 28px 22px 31px;
  background: var(--paper-2);
  border-left: 2px solid var(--red);
  font-size: 20px;
  line-height: 1.9;
  color: var(--ink);
}
.guide-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 13px; font-style: normal; color: var(--muted); }

.definition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.definition-card { padding: 22px 20px; background: rgba(252, 250, 245, 0.6); border: 1px solid var(--line); }
.definition-card .glyph { display: block; font-family: var(--display); font-size: 36px; line-height: 1; color: var(--red); }
.definition-card b { display: block; margin-top: 15px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.definition-card p { margin-top: 4px; font-size: 14px; line-height: 1.75; color: var(--muted); }

.contrast-table { margin-top: 26px; border-top: 1px solid var(--line-strong); }
.contrast-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contrast-row .wrong { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.contrast-row .right { color: var(--ink); font-size: 15.5px; line-height: 1.7; }
.contrast-head { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--quiet); }
.contrast-head .wrong, .contrast-head .right { font-size: 12px; font-weight: 600; color: var(--quiet); }

.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 27px; }
.concept-card { position: relative; padding: 25px 24px 22px; background: rgba(252, 250, 245, 0.6); border: 1px solid var(--line); transition: border-color 0.25s ease, transform 0.3s var(--ease); }
.concept-card:hover { transform: translateY(-3px); border-color: rgba(166, 64, 45, 0.4); }
.concept-card .no { position: absolute; top: 20px; right: 20px; font-size: 12px; color: var(--quiet); }
.concept-card h3 { margin-top: 0; font-size: 21px; font-weight: 600; }
.concept-card p { margin-top: 7px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.concept-card .text-link { margin-top: 16px; font-size: 13px; }

.path-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-strong); }
.path-step { position: relative; padding: 22px 24px 18px 0; border-right: 1px solid var(--line); }
.path-step:last-child { border-right: 0; padding-right: 0; }
.path-step .no { font-family: var(--display); font-size: 28px; color: var(--red); line-height: 1; }
.path-step h3 { margin-top: 13px; font-size: 18px; }
.path-step p { margin-top: 5px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.path-step span { display: block; margin-top: 10px; font-size: 12px; color: var(--quiet); }

.faq-list { margin-top: 26px; border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; font-size: 20px; font-weight: 300; color: var(--red); line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 740px; padding: 0 36px 18px 0; font-size: 15.5px; line-height: 1.9; color: var(--muted); }

.guide-side { position: sticky; top: 150px; }
.side-panel { padding: 22px 22px 20px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.48); }
.side-panel + .side-panel { margin-top: 16px; }
.side-panel .side-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--quiet); }
.side-panel .side-label b { font-weight: 500; color: var(--red); letter-spacing: 0.02em; }
.guide-toc { margin-top: 12px; border-left: 1px solid var(--line); }
.guide-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14.5px; color: var(--muted); }
.guide-toc a:hover, .guide-toc a.is-active { color: var(--red); border-left-color: var(--red); }
.mini-person { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-person:first-of-type { margin-top: 8px; }
.mini-person:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-person img { width: 36px; height: 36px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; filter: saturate(0.65) sepia(0.08); }
.mini-person b { display: block; font-size: 14px; font-weight: 600; }
.mini-person span { display: block; margin-top: 1px; font-size: 12.5px; color: var(--quiet); }
.next-panel { padding: 24px; color: #f3ecdf; background: var(--green); }
.next-panel .eyebrow { color: #d6bf99; font-size: 12px; }
.next-panel h3 { margin-top: 12px; font-size: 19px; font-weight: 500; line-height: 1.6; }
.next-panel p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: rgba(243, 236, 223, 0.55); }
.next-panel .btn { width: 100%; margin-top: 18px; }

/* ---------- 文献 ---------- */
.library-search-band { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.library-search-inner { display: flex; align-items: center; gap: 20px; padding: 24px 0; }
.library-search-field { display: flex; align-items: center; gap: 13px; flex: 1; height: 54px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line); }
.library-search-field svg { width: 19px; height: 19px; color: var(--red); flex: 0 0 auto; }
.library-search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 15.5px; }
.library-search-field input::placeholder { color: var(--quiet); }
.library-search-inner .btn { height: 54px; flex: 0 0 auto; }
.library-search-count { flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.library-search-count b { font-family: var(--sans); font-size: 19px; font-weight: 600; color: var(--ink); margin-right: 4px; }

.library-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 58px; padding: 42px 0 90px; align-items: start; }
.library-main { min-width: 0; }
.filter-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); }
.filter-groups { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.filter-chip span { font-size: 12.5px; color: var(--quiet); }
.filter-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-chip.is-active { color: var(--paper); background: var(--green); border-color: var(--green); }
.filter-chip.is-active span { color: rgba(246, 242, 233, 0.55); }
.sort-select { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; font-size: 13px; color: var(--muted); }
.sort-select b { font-weight: 500; color: var(--ink); }
.sort-select svg { width: 11px; height: 11px; }
.subfilter-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--quiet); }
.subfilter-row a { color: var(--muted); }
.subfilter-row a:hover { color: var(--red); }
.subfilter-row .dot { color: var(--line-strong); }

.article-list { margin-top: 6px; }
.article-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) 24px; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background 0.2s ease; }
.article-item:hover h3 { color: var(--red); }
.article-item .art-cat { padding-top: 3px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--red); }
.article-item .art-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--quiet); }
.article-item .art-meta .series { color: var(--muted); }
.article-item h3 { margin-top: 7px; font-size: 21px; font-weight: 600; line-height: 1.55; transition: color 0.2s ease; }
.article-item p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.article-item .read-line { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; font-size: 12.5px; color: var(--ink-2); }
.article-item .read-line svg { width: 11px; height: 11px; }
.article-item > svg { width: 14px; height: 14px; align-self: center; color: var(--quiet); transition: transform 0.25s var(--ease), color 0.2s ease; }
.article-item:hover > svg { transform: translateX(4px); color: var(--red); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; }
.page-nums { display: flex; align-items: center; gap: 6px; }
.page-nums a { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.page-nums a:hover, .page-nums a.is-active { color: var(--paper); background: var(--green); border-color: var(--green); }
.pagination > span { font-size: 12px; color: var(--quiet); }

.library-side { position: sticky; top: 150px; }
.library-side .side-panel + .side-panel { margin-top: 14px; }
.collection-list { margin-top: 8px; }
.collection-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.collection-list a:last-child { border-bottom: 0; }
.collection-list a:hover { color: var(--red); }
.collection-list span { flex: 0 0 auto; font-size: 12.5px; color: var(--quiet); }
.author-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.author-chips a { padding: 4px 8px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.author-chips a:hover { color: var(--red); border-color: rgba(166, 64, 45, 0.4); }
.library-note { padding: 18px 18px 16px; border: 1px solid var(--line); background: var(--paper-2); }
.library-note p { margin-top: 7px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.library-note a { display: inline-flex; margin-top: 11px; font-size: 12.5px; color: var(--red); }

/* ---------- 学修中心 ---------- */
.practice-hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 20px; margin-top: 8px; }
.checkin-card { position: relative; padding: 34px 36px 30px; color: #f3ecdf; background: var(--green); overflow: hidden; }
.checkin-card::after { content: "修"; position: absolute; right: -15px; bottom: -75px; font-family: var(--display); font-size: 230px; line-height: 1; color: rgba(243, 236, 223, 0.045); }
.checkin-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.checkin-top .eyebrow { color: #d6bf99; font-size: 12px; }
.checkin-top .date { font-size: 13px; color: rgba(243, 236, 223, 0.45); }
.checkin-main { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 24px; margin-top: 26px; }
.checkin-number { font-family: var(--display); font-size: 92px; font-weight: 400; line-height: 0.9; color: #e0c99f; }
.checkin-copy { padding-bottom: 7px; }
.checkin-copy b { display: block; font-size: 17px; font-weight: 500; }
.checkin-copy span { display: block; margin-top: 4px; font-size: 13px; color: rgba(243, 236, 223, 0.55); }
.week-row { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 28px; }
.week-day { flex: 1; min-width: 0; padding: 9px 0 8px; text-align: center; border: 1px solid rgba(243, 236, 223, 0.16); }
.week-day span { display: block; font-size: 12px; color: rgba(243, 236, 223, 0.42); }
.week-day b { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: rgba(243, 236, 223, 0.7); }
.week-day.is-done { background: rgba(216, 185, 126, 0.14); border-color: rgba(216, 185, 126, 0.46); }
.week-day.is-today { background: #d8b97e; border-color: #d8b97e; }
.week-day.is-today span, .week-day.is-today b { color: #242d28; }
.checkin-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-top: 23px; }
.checkin-actions .btn { height: 44px; font-size: 15px; }
.checkin-actions small { font-size: 12px; color: rgba(243, 236, 223, 0.42); }
.today-card { padding: 26px 24px; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.6); }
.today-card .side-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 0.14em; color: var(--quiet); }
.today-card .side-label b { font-weight: 500; color: var(--red); letter-spacing: 0.02em; }
.today-card h3 { margin-top: 14px; font-size: 22px; font-weight: 600; }
.today-card > p { margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.task-list { margin-top: 16px; border-top: 1px solid var(--line); }
.task { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.task i { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; border: 1px solid var(--line-strong); }
.task.is-done i { background: var(--green); border-color: var(--green); position: relative; }
.task.is-done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--paper); }
.task span { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.task small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--quiet); }

.course-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 60px 0 25px; }
.course-section-head h2 { font-size: 32px; font-weight: 600; }
.course-section-head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.course-section-head a { font-size: 13.5px; color: var(--muted); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(252, 250, 245, 0.55); transition: transform 0.3s var(--ease), border-color 0.2s ease; }
.course-card:hover { transform: translateY(-4px); border-color: rgba(166, 64, 45, 0.4); }
.course-cover { position: relative; aspect-ratio: 16 / 8.4; overflow: hidden; background: var(--paper-3); }
.course-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) sepia(0.08); }
.course-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(22, 28, 24, 0.55)); }
.course-cover .course-state { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #f5efe4; font-size: 12px; letter-spacing: 0.1em; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.course-body .course-meta { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--quiet); }
.course-body h3 { margin-top: 7px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.course-body p { margin-top: 5px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.course-body .course-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.course-progress { flex: 1; }
.course-progress .bar { height: 3px; background: var(--paper-3); }
.course-progress .bar i { display: block; height: 100%; background: var(--red); }
.course-progress span { display: block; margin-top: 5px; font-size: 12px; color: var(--quiet); }
.course-bottom .link-arrow { font-size: 12px; }

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.level-card { padding: 26px 28px 24px 0; border-right: 1px solid var(--line); }
.level-card:not(:first-child) { padding-left: 28px; }
.level-card:last-child { border-right: 0; }
.level-card .level-no { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--red); }
.level-card h3 { margin-top: 13px; font-size: 21px; font-weight: 600; }
.level-card .level-sub { margin-top: 3px; font-size: 12px; letter-spacing: 0.08em; color: var(--quiet); }
.level-card p { margin-top: 9px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.level-card .level-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.level-card .level-tags span { padding: 3px 7px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

.event-list { margin-top: 6px; border-top: 1px solid var(--line-strong); }
.event-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) 105px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-row .event-date { font-size: 13px; color: var(--red); letter-spacing: 0.02em; }
.event-row h4 { font-size: 15px; font-weight: 500; }
.event-row p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.event-row .event-state { justify-self: end; font-size: 12px; color: var(--quiet); }
.event-row:hover h4 { color: var(--red); }

/* ---------- 学堂动态 ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 58px; padding: 46px 0 90px; align-items: start; }
.news-feature { display: grid; grid-template-columns: 0.95fr 1.05fr; border: 1px solid var(--line); background: var(--paper-2); }
.news-feature-art { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; color: #f3ecdf; background: var(--green); }
.news-feature-art::after { content: "聞"; position: absolute; right: -10px; bottom: -70px; font-family: var(--display); font-size: 220px; line-height: 1; color: rgba(243, 236, 223, 0.055); }
.news-feature-art .notice-tag { position: relative; z-index: 1; align-self: flex-start; padding: 5px 9px; border: 1px solid rgba(243, 236, 223, 0.3); font-size: 12px; letter-spacing: 0.12em; color: #d8c19b; }
.news-feature-art .notice-date { position: relative; z-index: 1; font-family: var(--display); font-size: 58px; line-height: 1; color: #e0c99f; }
.news-feature-body { padding: 30px 30px 26px; }
.news-feature-body .eyebrow { font-size: 12.5px; }
.news-feature-body h2 { margin-top: 13px; font-size: 27px; font-weight: 600; line-height: 1.5; }
.news-feature-body p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.news-feature-body .link-arrow { margin-top: 20px; font-size: 13px; }
.month-head { display: flex; align-items: baseline; gap: 13px; margin: 42px 0 6px; }
.month-head h3 { font-family: var(--display); font-size: 24px; font-weight: 500; }
.month-head span { font-size: 12px; letter-spacing: 0.16em; color: var(--quiet); }
.month-head i { flex: 1; height: 1px; background: var(--line); }
.news-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 72px; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-row .day { font-family: var(--display); font-size: 21px; color: var(--red); }
.news-row .news-tag { display: inline-flex; margin-right: 8px; padding: 2px 6px; font-size: 11.5px; color: var(--muted); background: rgba(32, 38, 31, 0.05); }
.news-row h4 { display: inline; font-size: 15px; font-weight: 500; }
.news-row p { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.news-row .news-time { justify-self: end; font-size: 12.5px; color: var(--quiet); }
.news-row:hover h4 { color: var(--red); }
.news-side .side-panel + .side-panel { margin-top: 14px; }
.news-side .side-label { margin-bottom: 10px; }

/* ---------- 关于 ---------- */
.about-statement { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; padding: 26px 0 78px; }
.about-statement h1 { margin-top: 20px; font-size: clamp(46px, 4.8vw, 67px); font-weight: 600; line-height: 1.3; letter-spacing: -0.035em; }
.about-statement .about-lead { max-width: 620px; margin-top: 22px; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.about-sign { display: flex; align-items: center; gap: 13px; margin-top: 30px; font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); }
.about-sign i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--red); color: var(--red); font-family: var(--display); font-style: normal; font-size: 15px; }
.about-art { position: relative; padding: 13px; background: var(--green); border-radius: 220px 220px 2px 2px; }
.about-art img { width: 100%; height: 500px; object-fit: cover; object-position: 50% 18%; border-radius: 208px 208px 1px 1px; filter: saturate(0.7) sepia(0.08); }
.about-art::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 13px; height: 150px; border-radius: 0 0 1px 1px; background: linear-gradient(180deg, transparent, rgba(16, 28, 22, 0.78)); pointer-events: none; }
.about-art-caption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; padding: 12px 14px; border-top: 1px solid rgba(243, 236, 223, 0.34); color: #f3ecdf; font-size: 12px; letter-spacing: 0.1em; background: rgba(16, 28, 22, 0.52); backdrop-filter: blur(8px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line-strong); }
.pillar { padding: 28px 30px 26px 0; border-right: 1px solid var(--line); }
.pillar:not(:first-child) { padding-left: 30px; }
.pillar:last-child { border-right: 0; }
.pillar .no { font-family: var(--display); font-size: 33px; line-height: 1; color: var(--red); }
.pillar h3 { margin-top: 14px; font-size: 22px; font-weight: 600; }
.pillar p { margin-top: 7px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.about-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; padding: 70px 0; border-top: 1px solid var(--line); }
.about-split h2 { font-size: 35px; font-weight: 600; line-height: 1.45; }
.about-split h2 span { color: var(--red); }
.about-split p { margin-top: 16px; font-size: 15.5px; line-height: 1.95; color: var(--muted); }
.about-timeline { margin-top: 8px; border-top: 1px solid var(--line-strong); }
.about-timeline .tl-row { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-timeline b { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--red); }
.about-timeline h4 { font-size: 15px; font-weight: 500; }
.about-timeline p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.contact-band { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; margin-top: 30px; padding: 42px 44px; color: #f3ecdf; background: var(--green); }
.contact-band h2 { font-size: 31px; font-weight: 500; line-height: 1.5; }
.contact-band p { max-width: 570px; margin-top: 10px; font-size: 14px; line-height: 1.9; color: rgba(243, 236, 223, 0.55); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.contact-links a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border: 1px solid rgba(243, 236, 223, 0.26); font-size: 12.5px; color: #e5d5b8; }
.contact-links a:hover { background: rgba(243, 236, 223, 0.1); }
.contact-links svg { width: 12px; height: 12px; }

/* ---------- responsive for added pages ---------- */
@media (max-width: 1080px) {
  .guide-layout { grid-template-columns: 1fr; gap: 36px; }
  .guide-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .guide-side .side-panel, .guide-side .next-panel { margin-top: 0; }
  .library-layout, .news-layout { grid-template-columns: 1fr; gap: 36px; }
  .library-side, .news-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .library-side .side-panel, .news-side .side-panel { margin-top: 0; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .about-statement { gap: 40px; }
  .about-art img { height: 430px; }
}

@media (max-width: 820px) {
  .guide-layout { padding: 34px 0 60px; }
  .guide-section { padding-bottom: 38px; margin-bottom: 38px; }
  .guide-section h2 { font-size: 28px; }
  .guide-prose { font-size: 16px; }
  .definition-grid { grid-template-columns: 1fr; }
  .concept-grid { grid-template-columns: 1fr; }
  .contrast-row { gap: 14px; }
  .path-steps { grid-template-columns: 1fr; border-top: 0; }
  .path-step { border-right: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .guide-side { grid-template-columns: 1fr; }
  .library-search-inner { flex-wrap: wrap; gap: 12px; }
  .library-search-field { flex: 1 1 100%; }
  .library-search-count { order: 2; }
  .library-search-inner .btn { order: 3; margin-left: auto; }
  .filter-bar { flex-direction: column; gap: 14px; }
  .article-item { grid-template-columns: 1fr 20px; gap: 12px; }
  .article-item .art-cat { grid-column: 1; }
  .article-item > svg { grid-column: 2; grid-row: 1 / span 2; }
  .library-side, .news-side { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .checkin-card { padding: 28px 24px 24px; }
  .checkin-number { font-size: 72px; }
  .course-grid { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .level-card, .level-card:not(:first-child) { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-row { grid-template-columns: 74px 1fr; }
  .event-row .event-state { grid-column: 2; justify-self: start; margin-top: -8px; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature-art { min-height: 210px; }
  .news-row { grid-template-columns: 40px 1fr; }
  .news-row .news-time { grid-column: 2; justify-self: start; margin-top: -6px; }
  .about-statement { grid-template-columns: 1fr; }
  .about-art { max-width: 460px; }
  .about-split { grid-template-columns: 1fr; gap: 26px; padding: 46px 0; }
  .pillar-grid { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar:not(:first-child) { padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); }
  .contact-band { grid-template-columns: 1fr; padding: 30px 26px; }
  .contact-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .guide-section h2 { font-size: 25px; }
  .definition-card { padding: 18px; }
  .contrast-row { grid-template-columns: 1fr; gap: 3px; padding: 14px 0; }
  .contrast-head { display: none; }
  .contrast-row .wrong::before { content: "常见误解 · "; color: var(--red); font-size: 12px; letter-spacing: 0.06em; }
  .contrast-row .right::before { content: "唯识表述 · "; color: var(--green-3); font-size: 12px; letter-spacing: 0.06em; }
  .faq-list summary { font-size: 15px; }
  .checkin-main { align-items: flex-start; gap: 15px; }
  .checkin-number { font-size: 62px; }
  .week-row { gap: 5px; }
  .week-day { padding: 7px 0 6px; }
  .checkin-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .course-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .event-row { grid-template-columns: 1fr; gap: 4px; }
  .event-row .event-state { margin-top: 0; }
  .news-row { grid-template-columns: 1fr; gap: 4px; }
  .news-row .news-time { margin-top: 0; }
  .about-statement h1 { font-size: 42px; }
  .about-art img { height: 390px; }
  .about-art-caption { left: 24px; right: 24px; bottom: 22px; }
  .contact-band h2 { font-size: 26px; }
}

/* ---------- dark mode for added pages ---------- */
[data-theme="dark"] .definition-card,
[data-theme="dark"] .concept-card,
[data-theme="dark"] .today-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .side-panel,
[data-theme="dark"] .library-note {
  background: rgba(25, 31, 27, 0.72);
  border-color: var(--line);
}
[data-theme="dark"] .guide-quote { background: #1c221e; color: var(--ink); }
[data-theme="dark"] .guide-quote cite { color: var(--muted); }
[data-theme="dark"] .guide-toc { border-color: var(--line); }
[data-theme="dark"] .mini-person img { filter: saturate(0.55) sepia(0.04) brightness(0.8); }
[data-theme="dark"] .library-search-band { background: #181f1b; }
[data-theme="dark"] .library-search-field { background: var(--surface); }
[data-theme="dark"] .course-cover img { filter: saturate(0.6) sepia(0.04) brightness(0.8); }
[data-theme="dark"] .news-feature { background: #181f1b; border-color: var(--line); }
[data-theme="dark"] .news-feature-art { background: #242e29; }
[data-theme="dark"] .news-row .news-tag { background: rgba(237, 232, 220, 0.06); }
[data-theme="dark"] .about-art { background: #242e29; }
[data-theme="dark"] .about-art img { filter: saturate(0.6) sepia(0.06) brightness(0.8); }
[data-theme="dark"] .contact-band { background: #242e29; }
[data-theme="dark"] .level-grid { border-color: var(--line); }
