:root {
  --ink: #2c2536;
  --muted: #6f6580;
  --accent: #7a5fa0;
  --line: #e4dfee;
  --bg: #f6f4f9;
  --card: #ffffff;
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 26px;
}

h1 {
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 26px;
}

section {
  margin-top: 24px;
}

h2 {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

h2 .num {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 9px;
  border-radius: 4px;
  background: #ece6f5;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  vertical-align: 1px;
}

p {
  overflow-wrap: anywhere;
}

.sources {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  font-size: 15px;
  color: var(--muted);
}

ul {
  list-style: none;
}

li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration: underline;
}

.related {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.related h2 {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .page {
    padding: 24px 14px 40px;
  }

  article {
    padding: 24px 18px;
  }

  h1 {
    font-size: 20px;
  }
}
