:root {
  color-scheme: light;
  --paper: #f5f5f3;
  --white: #fff;
  --ink: #20201f;
  --body: #454543;
  --muted: #777774;
  --line: #d8d8d5;
  --soft-line: #e7e7e4;
  --measure: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

.site-header { height: 76px; border-bottom: 1px solid var(--line); }
.header-inner { width: min(1120px, calc(100% - 56px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: grayscale(1); }
.brand-name { display: flex; align-items: baseline; gap: 8px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.brand-divider, .brand-sub { color: var(--muted); font-size: 13px; font-weight: 400; }
.header-inner nav { display: flex; gap: 30px; align-items: center; }
.header-inner nav a { color: var(--body); font-size: 14px; text-decoration: none; }
.header-inner nav a:hover, .header-inner nav a.active { color: var(--ink); }

.overline { margin: 0 0 23px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
h1, h2, h3, h4, p { margin-top: 0; }

.journal { padding: 65px 24px 76px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journal-heading, .entry-list, .list-note { width: min(var(--measure), 100%); margin-right: auto; margin-left: auto; }
.journal-heading { width: min(1120px, 100%); }
.journal-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
.journal-heading .overline { margin-bottom: 11px; }
.journal-heading h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.entry-count { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; width: min(1120px, 100%); margin: 0 auto; align-items: start; }
.journal-main { min-width: 0; }
.journal-layout .entry-list, .journal-layout .list-note { width: 100%; }
.calendar { width: 100%; margin: 27px 0 5px; padding: 18px 20px 13px; border: 1px solid var(--soft-line); }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar-heading h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.calendar-controls { display: flex; gap: 6px; }
.calendar-controls button { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); background: var(--white); color: var(--body); font: inherit; cursor: pointer; }
.calendar-controls button:hover { background: var(--paper); color: var(--ink); }
.calendar-grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.calendar-grid th { height: 29px; color: var(--muted); font-size: 12px; font-weight: 500; }
.calendar-grid td { height: 38px; padding: 2px; }
.calendar-day { display: inline-flex; width: 31px; height: 31px; align-items: center; justify-content: center; border-radius: 50%; color: #b8b8b4; font-size: 13px; text-decoration: none; }
.calendar-day.has-entry { background: var(--ink); color: var(--white); }
.calendar-day.has-entry:hover { background: #555552; }
.calendar-legend { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.calendar-legend-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tag-cloud { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--soft-line); }
.tag-cloud h4 { margin: 0 0 9px; color: var(--muted); font-size: 12px; font-weight: 500; }
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud-chip { gap: 6px; text-decoration: none; }
.tag-cloud-chip span { color: var(--muted); font-size: 11px; }
.tag-cloud-chip:hover, a.tag-chip:hover { border-color: var(--ink); color: var(--ink); }
.latest-posts { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--soft-line); }
.latest-posts h3, .latest-posts h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.latest-posts ol { margin: 0; padding: 0; list-style: none; }
.latest-posts li { border-bottom: 1px solid var(--soft-line); }
.latest-posts li:last-child { border-bottom: 0; }
.latest-posts li a { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; color: var(--body); text-decoration: none; }
.latest-posts li a:hover .latest-title { text-decoration: underline; text-underline-offset: 3px; }
.latest-date { color: var(--muted); font-size: 11px; }
.latest-title { font-size: 13px; line-height: 1.6; }
.article-latest-posts { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.article-latest-posts li a { padding: 10px 0; }
.article-latest-posts .latest-title { font-size: 15px; }
.entry { padding: 32px 0 29px; border-bottom: 1px solid var(--line); }
.entry-meta { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.entry-meta time { color: var(--body); }
.entry-tags { display: inline-flex; gap: 5px; }
.tag-chip { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-decoration: none; }
.entry h2, .entry h3 { margin: 14px 0 5px; font-size: 23px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.entry-reading { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.verse-preview, .reflection-preview { display: grid; grid-template-columns: 94px 1fr; column-gap: 16px; }
.verse-preview { margin-bottom: 13px; }
.label { padding-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.verse-preview p, .reflection-preview p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.85; }
.verse-preview p { color: #555552; }
.verse-dot { color: #aaa; }
.read-more-link { display: inline-flex; align-items: center; gap: 13px; margin: 20px 0 0 110px; color: var(--ink); font-size: 14px; text-decoration: none; }
.read-more-link span { color: var(--muted); font-size: 15px; }
.read-more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.list-note { margin-top: 25px; margin-bottom: 0; font-size: 14px; line-height: 1.8; text-align: right; }
.list-note a { color: var(--body); text-decoration: none; }
.list-note a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.list-note span { color: var(--muted); font-size: 15px; }

.article-page { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding: 49px 0 82px; }
.article-back { display: inline-block; color: var(--muted); font-size: 14px; text-decoration: none; }
.article-back:hover { color: var(--ink); }
.article-page article { padding-top: 54px; }
.article-page .overline { margin-bottom: 19px; }
.article-page h1 { max-width: 620px; margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.article-date { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.article-rule { margin: 31px 0 45px; border-top: 1px solid var(--line); }
.article-scripture { padding: 0 0 33px; border-bottom: 1px solid var(--line); }
.article-verse { padding: 30px 0; border-bottom: 1px solid var(--line); }
.article-verse h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.article-verse .verse-reference { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.article-verse blockquote { margin: 0; padding-left: 15px; border-left: 2px solid var(--line); color: var(--body); font-size: 17px; line-height: 1.9; white-space: pre-line; }
.article-scripture .overline, .article-reflection .overline { margin-bottom: 12px; }
.article-scripture h2, .article-reflection h2 { margin: 0 0 15px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.article-reading { margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.scripture-chapter { margin: 29px 0 34px; }
.scripture-chapter h2 { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.6; }
.scripture-text { margin: 0; color: var(--body); font-size: 16px; line-height: 2; }
.scripture-text sup { margin: 0 2px 0 1px; color: var(--muted); font-family: inherit; font-size: 11px; line-height: 1; vertical-align: super; }
.article-reflection { padding-top: 38px; }
.article-reflection h2 { font-size: 20px; margin-bottom: 14px; }
.article-reflection > p:last-child { margin: 0; color: var(--body); font-size: 16px; line-height: 1.95; white-space: pre-line; }
.article-reflection > h3 { margin: 30px 0 12px; font-size: 19px; line-height: 1.55; font-weight: 650; }
.article-reflection > h4 { margin: 24px 0 10px; font-size: 17px; line-height: 1.6; }
.article-reflection > p { margin: 0 0 16px; color: var(--body); font-size: 16px; line-height: 1.95; }
.article-reflection > ul, .article-reflection > ol { padding-left: 1.5em; color: var(--body); font-size: 16px; line-height: 1.9; }
.article-reflection blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--line); color: var(--body); line-height: 1.9; }
.article-reflection .table-scroll { overflow-x: auto; margin: 16px 0 24px; }
.article-reflection table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.article-reflection th, .article-reflection td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-reflection th { font-weight: 650; white-space: nowrap; }
.article-reflection figure { margin: 24px 0; }
.article-reflection figure img { display: block; width: 100%; height: auto; }
.article-reflection figcaption { margin-top: 7px; color: var(--muted); font-size: 13px; }
.article-reflection a { text-decoration: underline; text-underline-offset: 3px; }
.article-pagination { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.pagination-link { display: flex; flex: 1; flex-direction: column; gap: 6px; color: var(--body); text-decoration: none; }
.pagination-link span { color: var(--muted); font-size: 13px; }
.pagination-link strong { font-size: 15px; font-weight: 600; line-height: 1.6; }
.pagination-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.pagination-newer { text-align: right; }
.pagination-spacer { flex: 1; }
.article-bottom-back { margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--line); }
.not-found-copy { margin: 18px 0; color: var(--body); font-size: 16px; }

.about { width: min(var(--measure), calc(100% - 48px)); margin: 0 auto; padding: 81px 0 88px; }
.about .overline { margin-bottom: 22px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-grid h2 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.6; letter-spacing: 0; }
.about-grid p { margin: 4px 0 0; color: var(--body); font-size: 16px; line-height: 1.9; }
.site-footer { min-height: 70px; padding: 18px max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-brand { color: var(--ink); font-size: 14px; font-weight: 600; }
.footer-brand span { color: #aaa; }

@media (max-width: 820px) {
  .journal-layout { grid-template-columns: 1fr; gap: 30px; }
  .calendar { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .site-header { height: 66px; }
  .header-inner { width: calc(100% - 34px); }
  .brand { gap: 8px; }
  .brand img { width: 29px; height: 29px; }
  .brand-name { font-size: 15px; gap: 6px; }
  .brand-divider, .brand-sub { font-size: 12px; }
  .header-inner nav { gap: 15px; }
  .header-inner nav a { font-size: 14px; }
  .journal { padding: 48px 21px 56px; }
  .journal-heading { padding-bottom: 19px; }
  .journal-layout { grid-template-columns: 1fr; gap: 30px; }
  .journal-heading h2 { font-size: 25px; }
  .calendar { max-width: 360px; margin: 0 auto; padding: 15px 15px 11px; }
  .entry { padding: 25px 0 24px; }
  .entry-meta { align-items: flex-start; font-size: 12px; }
  .entry-meta span { text-align: right; }
  .entry h2, .entry h3 { font-size: 21px; margin: 12px 0 5px; }
  .entry-reading { margin-bottom: 14px; }
  .verse-preview, .reflection-preview { grid-template-columns: 1fr; row-gap: 5px; }
  .label { font-size: 12px; }
  .verse-preview p, .reflection-preview p { font-size: 15px; line-height: 1.8; }
  .read-more-link { margin: 17px 0 0; }
  .article-page { width: calc(100% - 42px); padding: 34px 0 57px; }
  .article-page article { padding-top: 42px; }
  .article-rule { margin: 27px 0 35px; }
  .article-pagination { gap: 14px; margin-top: 32px; }
  .pagination-link strong { font-size: 14px; }
  .article-page h1 { font-size: 30px; }
  .scripture-text { font-size: 16px; line-height: 1.9; }
  .article-reflection > p:last-child { font-size: 16px; line-height: 1.9; }
  .about { width: calc(100% - 42px); padding: 61px 0 65px; }
  .about-grid { grid-template-columns: 1fr; gap: 17px; }
  .about-grid h2 { font-size: 24px; }
  .about-grid p { font-size: 15px; }
  .site-footer { padding: 18px 21px; flex-wrap: wrap; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.article-image { display: block; width: 100%; height: auto; margin: 1.5rem 0; border-radius: 2px; }

.scripture-copyright { margin: 10px 0 0; color: var(--muted); font-size: 0.7pt; line-height: 1.4; }
