.book-description {
  margin: 0.25rem 0 1rem;
  opacity: 0.8;
}

/* 代码不得继承正文的 case 特性，否则部分等宽字体会显示为全大写。 */
code,
kbd,
samp,
pre {
  font-feature-settings: normal;
}

.source-list {
  overflow-wrap: anywhere;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.friend-card {
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 0.5rem;
}

.friend-card > a {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  height: 100%;
  padding: 1rem;
  text-decoration: none;
}

.friend-card img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.friend-card__body {
  display: grid;
  gap: 0.25rem;
}

.friend-card__body span {
  opacity: 0.8;
}
