html,
body {
  max-width: 100%;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

/* Keep support notices readable beneath the live announcement. */
.home-spotlights {
  grid-template-columns: minmax(0, 1fr);
  color: #fff;
}

.home-spotlights .news-spotlight {
  min-width: 0;
  padding: clamp(20px, 4vw, 30px);
}

.home-spotlights .spot-meta {
  flex-wrap: wrap;
  font-size: .8rem;
}

.home-spotlights .artist-tag {
  font-size: .72rem;
  line-height: 1.4;
}

.home-spotlights h3 {
  color: #fff;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.home-spotlights p {
  max-width: none;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.home-spotlights .vote-deadline {
  font-size: .875rem !important;
}

.home-spotlights .btn {
  min-height: 44px;
  border-color: #bbc0cd;
  color: #fff;
  font-size: .875rem;
}

.home-spotlights .btn.primary {
  background: #fff;
  color: #111214;
  border-color: #fff;
}

img,
.modal-content,
.artist-panel,
.member-detail,
.member-detail > *,
.fan-kit-grid,
.fan-kit-item {
  min-width: 0;
  max-width: 100%;
}

.news-genre-filters,
.mv-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.news-genre-filter,
.mv-filter-tab {
  border: 1px solid #4b4c52;
  border-radius: 999px;
  padding: 7px 11px;
  background: transparent;
  color: inherit;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  cursor: pointer;
}

.news-genre-filter.active {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.mv-filter-tab {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.mv-filter-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Wide partner artwork keeps its original proportions and spans two cards. */
.site-link--wide {
  grid-column: span 2;
  min-width: 0;
}

.site-link--wide .link-banner {
  aspect-ratio: auto;
}

.site-link--wide .link-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.studio-url-copy {
  margin: 0 0 24px;
}

.studio-url-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.studio-url-copy-button:hover {
  border-color: var(--ink);
}

.studio-url-copy-text {
  min-width: 0;
  flex: 0 1 auto;
}

.studio-url-copy-icon {
  flex: 0 0 16px;
}

.studio-url-copy-label,
.studio-url-copy-address {
  display: block;
}

.studio-url-copy-label {
  margin-bottom: 4px;
  font-size: .875rem;
}

.studio-url-copy-address {
  font-size: .875rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.studio-url-copy-action {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}

.studio-url-copy-status {
  margin: 8px 0 0;
  font-size: .875rem;
  line-height: 1.6;
}

.studio-url-copy-status:empty {
  display: none;
}

.studio-url-copy-fallback {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .home-spotlights .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .brand {
    font-size: 1rem;
  }

  .brand span {
    margin-left: 4px;
    font-size: .5rem;
    letter-spacing: .12em;
  }

  .member-detail,
  .modal-hero,
  .modal-hero.group-hero {
    overflow: hidden;
  }

  .pill-list,
  .fan-kit-member-tabs {
    max-width: 100%;
  }

  .fan-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fan-kit-item span,
  .artist-about,
  .profile-chip strong {
    overflow-wrap: anywhere;
  }
}
