:root {
  --bg: #f3efe6;
  --bg-2: #e7e0d2;
  --ink: #1c1915;
  --muted: #6d665c;
  --line: #d8d0c2;
  --seal: #8c2e2b;
  --seal-deep: #6f221f;
  --paper: #fbf8f2;
  --gold: #9a7b49;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.7), rgba(243, 239, 230, 0) 220px),
    var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--paper);
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { transform: none; }

.masthead,
.wrap,
.site-footer {
  width: min(980px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.masthead { padding-top: 28px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.seal {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  background: var(--seal);
  color: #f8f1e7;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 28px;
  line-height: 1;
}

.brand-text { min-width: 0; }

.brand strong {
  display: block;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.15;
}

.brand em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 0.35rem 1.15rem;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 12px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.nav a[aria-current="page"],
.nav a:hover { color: var(--seal); }

.wrap { padding: 34px 0 72px; }

.intro h1,
.reading h1 {
  margin: 0.15em 0 0.35em;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.eyebrow,
.cat,
.meta,
.count {
  color: var(--seal);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.eyebrow,
.count,
.lede { margin: 0; }

.lede {
  max-width: 38em;
  color: var(--muted);
  margin-top: 10px;
}

.count { margin-top: 14px; }

.entries { margin-top: 28px; }

.entry {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 0.35rem 1.4rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.entries .entry:last-child { border-bottom: 1px solid var(--line); }

.entry-side {
  color: var(--muted);
  font-size: 13px;
  padding-top: 0.35rem;
}

.entry h2 {
  margin: 0.1rem 0 0.35rem;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.entry-lead h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }

.excerpt {
  margin: 0;
  color: var(--muted);
}

.entry:hover h2 { color: var(--seal); }

.pager {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  font-size: 14px;
}

.pager a { color: var(--seal); }

.pager span { color: var(--muted); }

.reading { max-width: 740px; }

.meta {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.meta a { color: var(--seal); text-decoration: none; }

.prose {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.prose p { margin: 0 0 1em; }

.prose h2,
.prose h3,
.prose h4 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.4;
  margin: 1.4em 0 0.5em;
}

.prose a { color: var(--seal); }

.prose blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 2px solid var(--gold);
  color: var(--muted);
}

.reviews {
  max-width: 740px;
  margin-top: 56px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}

.reviews h2 {
  margin: 0.6rem 0 0.2rem;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.reviews h2 span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: 6px;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.review-who {
  display: flex;
  gap: 12px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.review-who strong { color: var(--ink); font-weight: 600; }

.review-list p:last-child { margin: 0; overflow-wrap: anywhere; }

.empty { color: var(--muted); }

form label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border: 1px solid #cfc6b6;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  border-radius: 0;
}

textarea { min-height: 150px; resize: vertical; }

button,
.button {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: var(--seal);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

button:hover,
.button:hover { background: var(--seal-deep); }

button:disabled { opacity: 0.55; cursor: default; }

.hint,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-note:empty { display: none; }

.hp {
  position: absolute !important;
  left: -10000px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer a { color: var(--ink); }

.site-footer p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

::selection { background: #ead4c8; }

@media (max-width: 720px) {
  .brand strong { font-size: 24px; letter-spacing: 0.08em; }
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .entry { grid-template-columns: 1fr; gap: 0.15rem; }
  .entry-side { padding-top: 0; }
  .form-actions button { width: 100%; }
  .site-footer { flex-direction: column; }
}

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