/* Text links share weight, underlines and a directional color reveal. */
:is(main a:not(:where(.button, .studio-button, .studio-icon-button, .card-link, .clubhouse-row, .clubhouse-primary > a, .link-hub-item, .support-contact-card, .nearby-player, .leaderboard-card-link, .viewer-rank, .team-card, .team-member, .discord-message a, .discord-embed a, [role="button"], [role="tab"], :has(img))), .footer-fan-policy a, .clubhouse-open) {
  font-weight: 600;
  text-decoration-line: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
/* Footer identity and navigation stay clean; legal copy keeps its underline. */
.site-footer :is(.footer-team a, .footer-links a) {
  font-weight: 600;
  text-decoration: none !important;
  --link-wipe-rest: var(--muted);
  --link-wipe-hover: var(--brand);
}
.home-directory .clubhouse-row h3 { text-decoration: none; }
/* Card contents remain separate from the animated text. */
.clubhouse-row h3, .clubhouse-row-action { --link-wipe-rest: var(--text); --link-wipe-hover: var(--brand); }
a.clubhouse-staff { --link-wipe-rest: var(--text); --link-wipe-hover: var(--brand); }
.footer-fan-policy a { --link-wipe-rest: var(--muted); }
@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    :is(
  main a:not(:where(.button, .studio-button, .studio-icon-button, .card-link, .clubhouse-row, .clubhouse-primary > a, .link-hub-item, .support-contact-card, .nearby-player, .leaderboard-card-link, .viewer-rank, .team-card, .team-member, .discord-message a, .discord-embed a, [role="button"], [role="tab"], :has(img))),
  .site-footer a:not([aria-current="page"]),
  .clubhouse-open,
  .clubhouse-row h3,
  .clubhouse-row-action
) {
      background-image: linear-gradient(to right, var(--link-wipe-hover, var(--text)) 50%, var(--link-wipe-rest, var(--brand)) 50%);
      background-size: 200% 100%;
      background-position: 100% 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
      color: transparent !important;
      -webkit-text-fill-color: transparent;
      text-decoration-color: var(--link-wipe-rest, var(--brand));
      transition: background-position 220ms ease-in-out !important;
    }
    :is(main a:not(:where(.button, .studio-button, .studio-icon-button, .card-link, .clubhouse-row, .clubhouse-primary > a, .link-hub-item, .support-contact-card, .nearby-player, .leaderboard-card-link, .viewer-rank, .team-card, .team-member, .discord-message a, .discord-embed a, [role="button"], [role="tab"], :has(img))), .site-footer a:not([aria-current="page"])):is(:hover, :focus-visible),
    .clubhouse-primary > a:is(:hover, :focus-visible) .clubhouse-open,
    .clubhouse-row:is(:hover, :focus-visible) :is(h3, .clubhouse-row-action) { background-position: 0 0; }
    @media (prefers-reduced-motion: reduce) {
      :is(
  main a:not(:where(.button, .studio-button, .studio-icon-button, .card-link, .clubhouse-row, .clubhouse-primary > a, .link-hub-item, .support-contact-card, .nearby-player, .leaderboard-card-link, .viewer-rank, .team-card, .team-member, .discord-message a, .discord-embed a, [role="button"], [role="tab"], :has(img))),
  .site-footer a:not([aria-current="page"]),
  .clubhouse-open,
  .clubhouse-row h3,
  .clubhouse-row-action
) { transition: none !important; }
    }
  }
}
