@charset "utf-8";
:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #64716a;
  --line: #d9e1dc;
  --paper: #f8faf8;
  --panel: #ffffff;
  --accent: #245f48;
  --accent-2: #7c3f2d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.78;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-header, main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 28px 0 18px; border-bottom: 1px solid var(--line); }
.site-header h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; letter-spacing: 0; }
.site-header p { margin: 6px 0; color: var(--muted); }
.site-header.hero { padding-top: 42px; }
.back { margin: 0 0 12px; }
.meta, .en-title, .footer-note { color: var(--muted); }
.home { padding: 24px 0 56px; }
.notice {
  border-left: 4px solid var(--accent);
  background: var(--panel);
  padding: 14px 18px;
  margin: 0 0 22px;
}
.notice h2 { margin-top: 0; }
.work-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.work-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.work-list h2 { margin: 0 0 2px; font-size: 1.2rem; }
.work-list p { margin: 8px 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  background: #fff;
  text-decoration: none;
}
.toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(248, 250, 248, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.toolbar-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 6px;
  font: inherit;
}
button[aria-pressed="true"] { border-color: var(--accent); color: white; background: var(--accent); }
.reader { padding: 22px 0 60px; }
.block { border-bottom: 1px solid var(--line); padding: 18px 0; }
.parallel .block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.original { display: none; color: var(--muted); }
.parallel .original { display: block; }
.zh, .original { min-width: 0; overflow-wrap: anywhere; }
.greek {
  font-family: "Noto Serif", "Gentium Plus", "SBL Greek", "Palatino Linotype", "Times New Roman", serif;
}
.kind-heading .zh { font-weight: 700; font-size: 1.2rem; }
.kind-heading .original { font-weight: 700; }
.narrow { width: min(860px, calc(100% - 32px)); padding: 24px 0 60px; }
.reading p { margin: 0 0 1.1em; }
.reading h2 { margin-top: 1.8em; }
.name-table { margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
th { color: var(--accent-2); font-weight: 700; }
@media (max-width: 760px) {
  .parallel .block { grid-template-columns: 1fr; gap: 10px; }
  .site-header, main, .toolbar-inner, .narrow { width: min(100% - 20px, 1120px); }
  .site-header h1 { font-size: 2rem; }
}
