.link-feed {
  --link-feed-gap: 8px;
  width: 100%;
  max-width: 932px;
  margin: 0 auto;
}

.link-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--link-feed-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-feed__item {
  margin: 0;
  padding: 0;
}

.link-feed__link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #ececec;
}

.link-feed__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.2s ease;
}

a.link-feed__link:hover .link-feed__image,
a.link-feed__link:focus-visible .link-feed__image {
  transform: scale(1.03);
  filter: brightness(0.92);
}

a.link-feed__link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.link-feed__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.45));
}

.link-feed__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.link-feed__more {
  display: block;
  width: max-content;
  margin: 32px auto 0;
  padding: 10px 22px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  color: #3a3a3a;
  font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
}

.link-feed__more:hover {
  border-color: #3a3a3a;
}

.link-feed__more[aria-busy="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.link-feed__empty {
  text-align: center;
  color: #777;
}

body.link-feed-page {
  margin: 0;
  background: #fff;
  color: #262626;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.link-feed-header {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ebebeb;
  padding: 16px;
}

.link-feed-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.link-feed-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #262626;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.link-feed-header__logo {
  display: block;
  width: auto;
  height: 30px;
}

.link-feed-header__name {
  font-size: 14px;
  font-weight: 500;
}

.link-feed-main {
  padding: 0 16px 48px;
}

.link-feed-intro {
  margin: 22px 0;
  text-align: center;
  color: #6b6b6b;
  font-size: 14px;
}

@media (max-width: 600px) {
  .link-feed-page .link-feed {
    --link-feed-gap: 3px;
  }

  .link-feed-main {
    padding: 0 0 32px;
  }
}
