:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #62676d;
  --line: #e7e9ec;
  --brand: #2072c1;
  --canvas: #f2f3f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
button {
  font: inherit;
}
::selection {
  background: #d5e8fa;
  color: #103e6c;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.site-header {
  max-width: 760px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  gap: 16px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
}
main {
  max-width: 760px;
  min-height: 65vh;
  margin: 0 auto;
  background: #fff;
  padding: 36px 44px 28px;
  border-radius: 16px;
}
.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.avatar {
  object-fit: cover;
  border-radius: 50%;
  flex: none;
}
.avatar-fallback {
  width: 44px;
  height: 44px;
  background: #e4eef8;
}
.author-name {
  font-size: 15px;
  font-weight: 600;
}
.author time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.official {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  background: #fff1db;
  color: #8b4600;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
h1 {
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  margin: 0 0 22px;
  text-wrap: balance;
}
h2 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.post-body {
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post-images {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.post-images a {
  display: block;
}
.post-images img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--canvas);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.participate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}
.participate h2 {
  font-size: 17px;
  margin-bottom: 4px;
}
.participate p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 11px 18px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.button:hover {
  background: #175fa4;
}
.button:active {
  background: #154e87;
}
.more {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.more a {
  text-decoration: none;
}
.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.state {
  padding: 48px 0;
  max-width: 460px;
  margin: auto;
}
.state h1 {
  font-size: 26px;
}
.state p {
  color: var(--muted);
  margin: 0 0 24px;
}
.intro {
  padding: 0 0 28px;
}
.intro h1 {
  margin-bottom: 8px;
}
.intro p {
  color: var(--muted);
  margin: 0;
}
.feed-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.feed-author {
  color: var(--muted);
  font-size: 13px;
}
.feed-author time {
  float: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.feed-item h2 {
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
}
.feed-item h2 a {
  color: var(--ink);
  text-decoration: none;
}
.feed-item p {
  font-size: 15px;
  color: #4d4d4d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-link {
  font-size: 13px;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  :root {
    background: #fff;
  }
  .site-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }
  .header-note {
    display: none;
  }
  main {
    padding: 28px 20px 24px;
    border-radius: 0;
    min-height: 70vh;
  }
  h1 {
    font-size: 25px;
  }
  .post-body {
    font-size: 16px;
    line-height: 1.85;
  }
  .author {
    margin-bottom: 24px;
  }
  .participate {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .participate form,
  .participate .button {
    width: 100%;
  }
  .feed-author time {
    float: none;
    display: block;
    margin-top: 4px;
  }
  .site-footer {
    padding-bottom: calc(26px + env(safe-area-inset-bottom));
  }
}
