* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  margin: 0;
  color: #f2f2ed;
  background: #000;
  font-family: Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.page {
  width: min(100% - 32px, 1056px);
  margin: 0 auto;
  padding-bottom: 64px;
}

.hero {
  width: 100%;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.intro {
  margin: 12px 0 22px;
}

.intro h1 {
  margin: 0 0 2px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.intro p {
  margin: 0;
  color: #aaa;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.45;
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 24px;
}

.participant {
  min-width: 0;
  text-align: center;
}

.profile-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: #fff000;
  transition: transform .18s ease, opacity .18s ease;
}

.profile-link:hover {
  transform: scale(1.045);
  opacity: .9;
}

.profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.participant-name {
  display: inline-block;
  max-width: 100%;
  margin: 9px 0 8px;
  overflow-wrap: anywhere;
  color: #d8d8d2;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.participant-name:hover {
  color: #fff;
  text-decoration: underline;
}

.platform-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.platform {
  display: inline-block;
  min-width: 72px;
  padding: 3px 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}

.platform:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

.platform.youtube {
  background: #f00000;
}

.platform.twitch {
  background: #9146ff;
}

@media (max-width: 760px) {
  .participant-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 22px;
  }
}

@media (max-width: 480px) {
  .page {
    width: min(100% - 22px, 1056px);
  }

  .participant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 20px;
  }

  .participant-name {
    font-size: 14px;
  }

  .platform {
    min-width: 0;
    padding: 3px 7px;
    font-size: 12px;
  }
}
