/* IP-HOME-256 独立简洁短文排版：左侧竖线引导的阅读列 */
:root {
  --ink: #26303a;
  --muted: #5c6b78;
  --line: #c8d4dd;
  --accent: #0e6e5c;
  --bg: #f4f6f4;
}

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

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

body {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  padding: 2.5rem 1rem 3rem;
  overflow-wrap: anywhere;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 2rem 1.75rem;
}

h1 {
  font-size: 1.45rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

h2 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--accent);
}

p { margin-bottom: 1rem; }

article ul,
.sources ul,
.related ul {
  list-style: none;
  margin-bottom: 1rem;
}

article ul li {
  padding-left: 1.1em;
  position: relative;
  margin-bottom: 0.5rem;
}

article ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sources li,
.related li {
  padding-left: 1.1em;
  position: relative;
  margin-bottom: 0.4rem;
}

.sources li::before,
.related li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--line);
  font-weight: 700;
}

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

a:hover { color: #08513f; }

@media (max-width: 480px) {
  body { padding: 1.25rem 0.75rem 2rem; }
  main { padding: 1.5rem 1.1rem; border-left-width: 3px; }
  h1 { font-size: 1.3rem; }
}
