body {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", serif;
  background: #0d1014;
  color: #d7dce4;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
nav,
.site-title {
  font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

article h1,
article h2,
article h3,
.post-card h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 400;
}

body > main.container,
body > footer.container {
  max-width: 820px;
}

body > main.container.home-main {
  max-width: 820px;
}

.index-title {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #242a33;
}

.index-title h1,
.index-title h2 {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1.35rem;
}

.index-title p {
  color: #9aa4b2;
  font-size: 0.95rem;
}

.post-list {
  display: grid;
  gap: 1.05rem;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid #242a33;
  background: transparent;
}

.post-card h2,
.post-card h3 {
  margin: 0 0 0.45rem;
  line-height: 1.16;
  font-size: 1.22rem;
  font-weight: 400;
}

.post-card h2 a,
.post-card h3 a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  color: #dce7ff;
}

.post-summary {
  margin: 0;
  color: #b8c0cb;
  line-height: 1.55;
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.post-meta {
  margin: 0.45rem 0 0;
  color: #8994a3;
  font-size: 0.82rem;
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  background: #171c23;
}

.more-link {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.more-link a {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}

.friend-list {
  display: grid;
  gap: 1.1rem;
}

.friend-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #242a33;
}

.friend-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.friend-item h2 a {
  color: #fff;
}

.friend-item p {
  margin-bottom: 0.35rem;
  color: #b8c0cb;
}

.friend-item small {
  color: #8994a3;
}

article p,
article li {
  max-width: 72ch;
}

article img {
  max-height: 520px;
  object-fit: contain;
}

.sakana-box {
  position: fixed !important;
  right: 1rem !important;
  bottom: 0 !important;
  z-index: 20 !important;
  transform-origin: 100% 100% !important;
  pointer-events: auto;
}

.sakana-box.is-hidden {
  display: none;
}

@media (max-width: 640px) {
  body > main.container.home-main {
    width: min(100% - 1.25rem, 820px);
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-thumb {
    order: -1;
  }

  .sakana-box {
    right: 0.35rem !important;
    bottom: 0 !important;
  }
}
