/* IP-HOME-264 — 独立简洁短文排版 */
:root {
  --ink: #2b2620;
  --muted: #6e6558;
  --accent: #8a5a2b;
  --line: #e6ddd0;
  --bg: #faf7f1;
  --card: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  padding: 2.5rem 1rem 3rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

h1 {
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 700;
  padding-bottom: 1.1rem;
  margin-bottom: 1.6rem;
  border-bottom: 3px double var(--line);
}

p {
  margin-bottom: 1.3rem;
  overflow-wrap: anywhere;
}

section { margin-top: 2.2rem; }

h2 {
  font-size: 1.08rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

ul {
  list-style: none;
}

li {
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-left: 2px solid var(--line);
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--accent); }

.refs li { border-left-color: #c9b99a; }
.refs a { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 480px) {
  body { padding: 1.5rem 1rem 2.5rem; font-size: 16px; }
  h1 { font-size: 1.3rem; }
}
