/* Public content actions with chevrons or text arrows. */
main :is(
  aside[class*="information-page-module__"][class$="__action"] > a[href="/atlas/terms"],
  aside[class*="information-page-module__"][class*="__action "] > a[href="/atlas/terms"],
  a.existing-member-link,
  [class*="gaming-module__"][class$="__heroActions"] > a[href="#my-gaming"],
  [class*="gaming-module__"][class$="__empty"] > a[href="/login?callbackUrl=/gaming"],
  [class*="gaming-module__"][class$="__empty"] > a[href="https://discord.steph1official.com"],
  [class*="gaming-module__"][class$="__empty"] > p > a[href="https://discord.steph1official.com"],
  [class*="gaming-module__"][class$="__empty"] > a[href="/fam/passport"],
  .media-locked-card > p > a[href^="/brand-partnerships?format=Video"],
  article.site-container > a:is([href="/blog"], [href="/press"], [href="/devoted-hearts"], [href="/podcast"]),
  .giveaway-empty > a[href="/fam/tickets"],
  [class*="investors-module__"][class$="__links"] > a:is([href="/agency"], [href="/brand-partnerships"]),
  a.foundation-connect,
  a[class*="foundation-module__"][class$="__textLink"][href*="Miriam-Rutherford"],
  .site-container > a:has(svg):is([href="/applications"], [href="/live"], [href="/gaming"]),
  .opportunity-card > p > a[href="/fam/opportunities"],
  .site-container > p > a[href="https://discord.steph1official.com"]:has(svg),
  [class*="promotion-page-module__"][class*="__card"] > .markdown-body > p > a:is([href^="/brand-partnerships?format="], [href="/pages/podcast-blog-promotion"]),
  a[class*="page-module__"][class$="__castLink"][href="#book-newsletter"],
  [class*="portfolio-module__"]:is([class$="__appFamilyBody"], [class$="__projectBody"]) > a:has(svg),
  a.passport-back:is([href="/shop"], [href="/explore"], [href="/explore#coming-soon"], [href="/music-group"]),
  .world-story-heading > a[href="/blog"],
  a[class*="broken-glass-showcase-module__"][class$="__secondary"][href="/books/broken-glass#book-newsletter"],
  p[class*="explore-module__"][class$="__intro"] > a[href="/music-group"],
  .world-membership-action > a[href="/#ecosystem"],
  section[id="project-inquiry"] > p > a[href^="/brand-partnerships?format=Livestream"],
  .auth-links > a[href="/login"]:has(svg),
  .member-page .site-container > p > a[href="/login"]:has(svg),
  [class*="scip-module__"][class$="__wrap"] > a[href="/agency"]
):not(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--gold, #d4af37);
  border-radius: 999px;
  background: #d4af3712;
  color: var(--ivory, #fff6db);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;

  &:hover {
    background: #d4af372b;
    text-decoration: none;
  }

  &:focus-visible {
    outline: 3px solid var(--ivory, #fff6db);
    outline-offset: 3px;
  }
}

/* Dashboard card action labels share the public action button treatment. */
main .fam-dashboard-v2 :is(.fam-account-hub-links > a, a.fam-public-card) > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--gold, #d4af37);
  border-radius: 999px;
  background: #d4af3712;
  color: var(--ivory, #fff6db);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
main .fam-dashboard-v2 :is(.fam-account-hub-links > a, a.fam-public-card):is(:hover, :focus-visible) > b {
  background: #d4af372b;
}

/* Keep dashboard panel decoration behind the card content. */
.member-connections,
.member-connection-card,
.fam-account-hub,
.fam-account-hub-links > a,
.fam-dashboard-v2 .fam-identity-card,
.fam-dashboard-v2 .fam-module-card,
.fam-dashboard-v2 .fam-public-card,
.fam-dashboard-v2 .owner-directory-shortcut,
.fam-dashboard-v2 .fam-survey-invite,
.fam-dashboard-v2 .fam-profile-setup,
.fam-goals-disclosure,
.fam-worlds-disclosure,
.account-experience-v2 .account-detail-panel,
.account-experience-v2 .account-control-panel,
.account-experience-v2 .account-discord-panel,
.account-experience-v2 .account-control-grid > article,
#dashboard-workspace nav[aria-label="Dashboard sections"] {
  background-image: var(--dashboard-panel-background, linear-gradient(135deg, #122531, #090f19)) !important;
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

/* Keep dashboard panel decoration behind the card content. */
html body main .member-connections,
html body main .member-connection-card,
html body main .fam-account-hub,
html body main .fam-account-hub-links > a,
html body main .fam-dashboard-v2 .fam-identity-card,
html body main .fam-dashboard-v2 .fam-module-card,
html body main .fam-dashboard-v2 .fam-public-card,
html body main .fam-dashboard-v2 .owner-directory-shortcut,
html body main .fam-dashboard-v2 .fam-survey-invite,
html body main .fam-dashboard-v2 .fam-profile-setup,
html body main .fam-goals-disclosure,
html body main .fam-worlds-disclosure,
html body main .account-experience-v2 .account-detail-panel,
html body main .account-experience-v2 .account-control-panel,
html body main .account-experience-v2 .account-discord-panel,
html body main .account-experience-v2 .account-control-grid > article,
html body main #dashboard-workspace nav[aria-label="Dashboard sections"] {
  background-image: var(--dashboard-panel-background, linear-gradient(135deg, #122531, #090f19)) !important;
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}
