/* FFV6_STAR_REFERRAL_TOP_PILL_HARD_CLEANUP_V1 */

/*
  Star page only:
  The remaining top pill is not the first page child, so remove the visual chrome
  from old badge/pill/kicker wrappers in the hero/top area.
*/

body.bw-star-referral-top-pill-hard-cleanup main > *:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > header:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > section:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > div:first-child{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Strip old pill chrome anywhere in the top/hero area. */
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .pill,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .badge,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .kicker,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .eyebrow,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .bw-pill,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .bw-badge,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .bw-kicker,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child .bw-eyebrow,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child [class*="pill"],
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child [class*="badge"],
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child [class*="kicker"],
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child [class*="eyebrow"],
body.bw-star-referral-top-pill-hard-cleanup main .hero .pill,
body.bw-star-referral-top-pill-hard-cleanup main .hero .badge,
body.bw-star-referral-top-pill-hard-cleanup main .hero .kicker,
body.bw-star-referral-top-pill-hard-cleanup main .hero .eyebrow,
body.bw-star-referral-top-pill-hard-cleanup main [class*="hero"] [class*="pill"],
body.bw-star-referral-top-pill-hard-cleanup main [class*="hero"] [class*="badge"],
body.bw-star-referral-top-pill-hard-cleanup main [class*="hero"] [class*="kicker"],
body.bw-star-referral-top-pill-hard-cleanup main [class*="hero"] [class*="eyebrow"]{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  border-radius:0 !important;
}

/* If the pill is a standalone top label, hide the box entirely. */
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .pill:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .badge:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .kicker:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .eyebrow:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .bw-pill:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .bw-badge:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .bw-kicker:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > .bw-eyebrow:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > [class*="pill"]:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > [class*="badge"]:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > [class*="kicker"]:first-child,
body.bw-star-referral-top-pill-hard-cleanup main > *:first-child > [class*="eyebrow"]:first-child{
  display:none !important;
}

/* Keep the actual Bedside Star content aligned with the Luna/home system. */
body.bw-star-referral-top-pill-hard-cleanup main h1,
body.bw-star-referral-top-pill-hard-cleanup main h2,
body.bw-star-referral-top-pill-hard-cleanup main p{
  max-width:900px !important;
}
