/* Consistent community controls on managed and indexed listings. */
.indexed-identity__copy { min-width: 0; display: grid; gap: .4rem; }
.indexed-identity__copy .listing-state { width: fit-content; font-size: .65rem; }
.indexed-card-content h3 { overflow-wrap: anywhere; }
.indexed-card-content > .community-actions { width: 100%; margin-top: .15rem; }
.clan-card .community-actions { border-radius: .45rem; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; }
.clan-card .community-action { display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; gap: .25rem .4rem; min-height: 68px; padding: .55rem .25rem; font-size: .72rem; letter-spacing: 0; text-transform: none; }
.clan-card .community-action span:not(.sr-only) { display: block; grid-column: 1 / -1; grid-row: 2; }
.clan-card .community-action strong { color: inherit; font-size: .8rem; }
.community-action.is-selected strong { color: inherit; }
.community-action:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; z-index: 1; }
.community-action:hover { background: rgba(117, 201, 211, .08); }
.community-action.is-selected { box-shadow: inset 0 -2px var(--cyan); }
.community-action--recommend.is-selected { box-shadow: inset 0 -2px var(--gold); }
.indexed-profile__note { margin: 0; max-width: 65ch; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.indexed-profile .community-actions--profile { max-width: 42rem; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: .45rem; }
.indexed-profile .community-action { min-height: 72px; font-size: .75rem; text-transform: none; letter-spacing: 0; border-bottom: 0; border-right: 1px solid var(--line); }
.indexed-profile .community-action:last-child { border-right: 0; }
.indexed-profile .community-action strong { position: static; margin: 0; color: inherit; }
.clan-board { scroll-margin-top: 6rem; }
.clan-board__heading a { color: var(--cyan); text-underline-offset: 3px; }
.clan-board__heading > div { min-width: 0; }
.clan-board__empty { padding: 2rem 1.25rem; }
@media (min-width: 1000px) {
  .clan-grid[data-view="list"] .indexed-card-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .clan-grid[data-view="list"] .indexed-card-content > .community-actions { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .clan-card .community-action { font-size: .65rem; }
  .indexed-profile .community-actions--profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indexed-profile .community-action:nth-child(2) { border-right: 0; }
  .indexed-profile .community-action:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Spotlight uses a flat surface, with no decorative image or light effects. */
.spotlight-feature { background: #0b171e; }
.spotlight-feature::before { content: none; background: none; }
.spotlight-feature__beam { display: none; }
.spotlight-feature > .clan-sigil { filter: none; }
.spotlight-feature .community-action { min-height: 44px; font-size: .7rem; text-transform: none; letter-spacing: 0; }
.spotlight-feature .indexed-claim-link { grid-column: 1 / -1; }
.clan-card__action-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clan-card__action-rail .community-actions { grid-column: 1 / -1; order: 0; }
.clan-card__action-rail .compare-toggle { order: 1; }
.clan-card__action-rail .clan-card__view { order: 2; }

.spotlight-feature .community-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 600px) {
  .spotlight-feature .community-action { flex-direction: column; gap: .25rem; min-height: 68px; padding: .5rem .25rem; font-size: .65rem; }
}

/* Align the discussion heading without a decorative icon column. */
.clan-board__heading { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 720px) {
  .clan-board__heading { grid-template-columns: minmax(0, 1fr); }
  .clan-board__count { grid-column: 1; }
}
