/* Premium badge on Me (own profile) and For You. Gold, not the lime Beta look.
   Readable in dark (default), light theme, and the Matrix page look. */

.profile-badges-row,
.home-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
}

.profile-badges-row {
  margin: 0 0 0.5rem;
}

.home-badges-row {
  margin-top: -0.6rem;
  margin-bottom: 1rem;
}

[data-home-beta-tester] .mark {
  margin-bottom: 0;
}

[data-profile-premium] .mark,
.hero-card [data-home-premium] .mark {
  display: inline-block;
  background: #1c1508;
  color: #ffd76a;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid #e8b84a;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
  box-shadow: 0 0 8px rgba(232, 184, 74, 0.35);
}

/* Light theme: dark gold pill, pale gold text (well above 4.5:1). */
html[data-theme="light"] [data-profile-premium] .mark,
html[data-theme="light"] .hero-card [data-home-premium] .mark {
  background: #3f2d08 !important;
  color: #fff6d4 !important;
  border-color: #e8b84a !important;
  box-shadow: none;
}

/* Matrix look: a slightly stronger gold glow on the green-black field. */
html[data-page-look="matrix"] [data-profile-premium] .mark {
  box-shadow: 0 0 10px rgba(255, 215, 106, 0.45);
}

/* My site shortcut stays hidden until the Premium flag is known. */
[data-my-site-shortcut][hidden] {
  display: none !important;
}

/* For You promo: same green hero card as Signed in, gold Premium mark.
   Lives under the signed-in hero, never in the Site Notice slot. */
[data-premium-site-promo] {
  text-align: center;
  margin-top: 0.25rem;
}

[data-premium-site-promo] h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
}

.hero-card[data-premium-site-promo] .mark {
  display: inline-block;
  background: #1c1508;
  color: #ffd76a;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid #e8b84a;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(232, 184, 74, 0.35);
}

html[data-theme="light"] .hero-card[data-premium-site-promo] .mark {
  background: #3f2d08 !important;
  color: #fff6d4 !important;
  border-color: #e8b84a !important;
  box-shadow: none;
}

html[data-page-look="matrix"] .hero-card[data-premium-site-promo] .mark {
  box-shadow: 0 0 10px rgba(255, 215, 106, 0.45);
}
