/* Requested UI polish: uncropped artwork, centered desktop hero, and compact streamer cards. */
.home-character-art {
  border-radius: 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.home-character:hover .home-character-art {
  border-radius: 10px;
}

.streamer-card {
  position: relative;
}
.channel-avatar-wrap {
  aspect-ratio: 1 / 1;
  max-height: none;
  position: relative;
}
.channel-avatar-wrap .channel-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.streamer-row {
  padding-right: 0;
}
.streamer-row > .favorite {
  display: none;
}
.streamer-card > .favorite-overlay {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #d8d9df;
  border-radius: 999px;
  background: #fffffff0;
  color: #b0004b;
  box-shadow: 0 3px 12px #0002;
  backdrop-filter: blur(4px);
}
.streamer-card > .favorite-overlay.on {
  background: #ffe8f1f2;
  color: #c60058;
  border-color: #efbed2;
}
.streamer-card > .favorite-overlay:hover {
  background: #fff;
  transform: scale(1.04);
}

.streamer-stats {
  margin-top: 6px;
}
.streamer-stats span {
  white-space: normal;
}

.streamer-characters {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 7px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
}
.streamer-characters > b {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  padding-top: 3px;
}
.streamer-character-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.streamer-character-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid #dedfe5;
  border-radius: 999px;
  background: #f5f6f8;
  color: var(--text);
  font-weight: 700;
}
.streamer-character-empty {
  color: var(--muted);
  padding-top: 2px;
}

.streamer-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  min-width: 0;
}
.streamer-hashtags span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  max-width: 100%;
  padding: 2px 8px;
  overflow: hidden;
  border: 1px solid #e2dbe0;
  border-radius: 999px;
  background: #fff7fa;
  color: #9d164f;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Long activity diagnostics are intentionally hidden from list cards. */
.streamer-card .streamer-activity,
.streamer-card .streamer-profile-tags {
  display: none !important;
}

@media (min-width: 1600px) {
  .hub-hero {
    padding-left: max(40px, calc((100% - 1480px) / 2 + 36px));
    padding-right: max(40px, calc((100% - 1480px) / 2 + 36px));
  }
  .hero-copy {
    width: 44%;
    max-width: 600px;
  }
  .hero-art {
    left: 50%;
    right: max(40px, calc((100% - 1480px) / 2));
  }
}

@media (max-width: 760px) {
  .home-character-art {
    border-radius: 9px;
  }
  .streamer-characters {
    display: grid;
    gap: 3px;
  }
  .streamer-characters > b {
    padding-top: 0;
  }
  .streamer-card > .favorite-overlay {
    top: 15px;
    right: 15px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }
  .streamer-hashtags span {
    font-size: 10px;
    padding-inline: 7px;
  }
}
