.pc-friend-links[hidden] { display: none; }
.pc-friend-links {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}

.pc-friend-links__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}
.pc-friend-links__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #fd3666;
}
.pc-friend-links__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.pc-friend-links__item {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #303030;
  border-radius: 3px;
  background: #121212;
  color: #999;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.pc-friend-links__item:hover {
  border-color: #fd3666;
  background: rgba(253, 54, 102, 0.08);
  color: #fd3666;
}
@media (max-width: 1199px) {
  .pc-friend-links__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .pc-friend-links { min-width: 0; }
  .pc-friend-links__heading { gap: 6px; margin-bottom: 10px; font-size: 16px; line-height: 24px; }
  .pc-friend-links__icon { width: 20px; height: 20px; }
  .pc-friend-links__grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .pc-friend-links__item { min-height: 36px; padding: 7px 6px; font-size: 12px; line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-friend-links__item { transition: none; }
}

.pc-friend-links__item:focus-visible { outline: 2px solid #fd3666; outline-offset: 2px; }
