/**
 * Brand Bridge — reusable primitives
 * Shared by home, hubs, and future screens.
 */

.kp-circle-img {
  --kp-circle-size: 5.5rem;
  display: block;
  box-sizing: border-box;
  width: var(--kp-circle-size) !important;
  height: var(--kp-circle-size) !important;
  max-width: 100%;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  flex-shrink: 0;
  background: var(--bb-surface-2, #eef6ff);
}

.kp-circle-img--sm {
  --kp-circle-size: 2.75rem;
}

.kp-circle-img--md {
  --kp-circle-size: 5.5rem;
}

.kp-circle-img--lg {
  --kp-circle-size: 6.75rem;
}

.kp-circle-img--border {
  border: 3px solid var(--bb-surface, #ffffff);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.kp-circle-img--empty {
  display: block;
}

/* Grid cells: keep circles round when column is narrow */
@media (max-width: 639px) {
  .kp-home-browse__avatar.kp-circle-img,
  .kp-home-circle .kp-circle-img {
    width: min(var(--kp-circle-size), 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* -------------------------------------------------------------------------
 * Advertisement slot — reserved sizes, quiet placeholder
 * ------------------------------------------------------------------------- */
.kp-bb-ad {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.kp-bb-ad__label {
  display: block;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-muted, #64748b);
}

.kp-bb-ad__box {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--bb-border, #d4e5f7);
  border-radius: 0.5rem;
  background: var(--bb-surface-2, #eef6ff);
  color: var(--bb-muted, #64748b);
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  box-sizing: border-box;
}

.kp-bb-ad__box[aria-hidden="true"]:empty,
.kp-bb-ad__box[aria-hidden="true"]:not(:empty) {
  border-color: transparent;
  color: transparent;
  font-size: 0;
}

.kp-bb-ad__box--728 {
  width: min(728px, 100%);
  min-height: 90px;
}

.kp-bb-ad__box--300 {
  width: min(300px, 100%);
  min-height: 250px;
}

/* Play Store badge — fixed display box (CLS). */
.kp-footer-play-badge,
img.kp-footer-play-badge,
img[src*="play-badge"],
img[src*="googleplay"],
img[src*="en_badge_web_generic"] {
  display: inline-block;
  width: 135px;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.kp-bb-ad__box--320 {
  width: min(320px, 100%);
  min-height: 100px;
}

.kp-bb-ad--728 {
  align-items: center;
}

.kp-bb-ad--300,
.kp-bb-ad--320 {
  align-items: flex-start;
}

html[data-theme="dark"] .kp-bb-ad__box {
  background: var(--bb-surface, #1e293b);
  border-color: var(--bb-border, #334155);
}

/* Live network markup — drop placeholder chrome so creatives aren't boxed twice */
.kp-bb-ad__box.kp-sc-ad__live {
  border-color: transparent;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: block;
  overflow: hidden;
}

.kp-bb-ad__box.kp-sc-ad__live ins.adsbygoogle {
  margin: 0 auto;
  display: block;
  width: 100%;
  min-width: 250px;
  max-width: 100%;
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------
 * Share utility — quiet pill row
 * ------------------------------------------------------------------------- */
.kp-bb-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bb-border, #d4e5f7);
  border-radius: var(--bb-radius, 0.75rem);
  background: var(--bb-surface, #ffffff);
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
}

.kp-bb-share__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-muted, #64748b);
  margin-right: 0.15rem;
}

.kp-bb-share__links,
.kp-bb-share .social-share-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.kp-bb-share__link,
.kp-bb-share .share-btn {
  appearance: none;
  background: var(--bb-bg, #f8fcff) !important;
  border: 1px solid var(--bb-border, #d4e5f7) !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  padding: 0.4rem 0.85rem !important;
  margin: 0 !important;
  color: var(--bb-text, #0f172a) !important;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
}

.kp-bb-share__link:hover,
.kp-bb-share .share-btn:hover {
  border-color: var(--bb-accent, #e30613) !important;
  color: var(--bb-accent, #e30613) !important;
}

.kp-bb-share .share-btn i,
.kp-bb-share__link i {
  display: none !important;
}

html[data-theme="dark"] .kp-bb-share {
  background: var(--bb-surface, #1e293b);
  border-color: var(--bb-border, #334155);
}

html[data-theme="dark"] .kp-bb-share__label {
  color: var(--bb-muted, #94a3b8);
}

html[data-theme="dark"] .kp-bb-share__link,
html[data-theme="dark"] .kp-bb-share .share-btn {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .kp-bb-share__link:hover {
  border-color: var(--bb-accent, #ff4d4d) !important;
  color: var(--bb-accent, #ff4d4d) !important;
}

/* Shared intro collapse mechanics (page CSS owns type/color) */
.kp-bb-intro-wrap--collapsed .kp-bb-intro__body {
  max-height: 5.1em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}

.kp-bb-intro-wrap--expanded .kp-bb-intro__body {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.kp-bb-intro__more {
  appearance: none;
  display: inline-flex;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bb-accent, var(--kp-accent, #e30613)) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kp-bb-intro__more:hover,
.kp-bb-intro__more:focus,
.kp-bb-intro__more:focus-visible,
.kp-bb-intro__more:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* Stay on brand red — do not inherit GeneratePress accent (can look pink). */
  color: var(--bb-accent-hover, var(--kp-accent-hover, #b8050f)) !important;
}

/* Shared list row (song lists, related hubs, etc.) */
.kp-bb-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: var(--bb-surface, #fff);
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.kp-bb-row:hover {
  border-color: var(--bb-border, #d4e5f7);
  background: color-mix(in srgb, var(--bb-surface, #fff) 72%, var(--bb-surface-2, #eef6ff) 28%);
  transform: translateY(-1px);
}

.kp-bb-row:hover .kp-bb-row__title,
.kp-bb-row:hover .kp-movie-song__title {
  color: var(--bb-accent, #e30613) !important;
}

.kp-bb-row__media {
  position: relative;
  flex-shrink: 0;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--bb-border, #d4e5f7);
  background: var(--bb-surface-2, #eef6ff);
}

.kp-bb-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kp-bb-row__num {
  position: absolute;
  left: 0.2rem;
  bottom: 0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bb-accent, #e30613) 92%, #000);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.kp-bb-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.kp-bb-row__title {
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--bb-text, #0f172a) !important;
  line-height: 1.3;
}

.kp-bb-row__meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bb-muted, #64748b) !important;
  line-height: 1.35;
}

.kp-bb-row__chev {
  flex-shrink: 0;
  color: var(--bb-muted, #64748b);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.55;
}

.kp-bb-row:hover .kp-bb-row__chev {
  opacity: 1;
  color: var(--bb-accent, #e30613);
}

html[data-theme="dark"] .kp-bb-row {
  background: var(--bb-surface, #1e293b);
  box-shadow: none;
}

/* -------------------------------------------------------------------------
 * Breadcrumbs — Rank Math / Yoast (quiet professional label trail)
 * ------------------------------------------------------------------------- */
body[class*="kp-bb-"] .kp-category__header .rank-math-breadcrumb,
body[class*="kp-bb-"] .kp-category__header .yoast-breadcrumb,
body[class*="kp-bb-"] .kp-category__header .breadcrumb,
body[class*="kp-bb-"] .kp-category__header nav[aria-label="breadcrumb"],
body[class*="kp-bb-"] .kp-archives__header .rank-math-breadcrumb,
body[class*="kp-bb-"] .kp-archives__header .yoast-breadcrumb,
body[class*="kp-bb-"] .kp-learn__header .rank-math-breadcrumb,
body[class*="kp-bb-"] .kp-learn__header .yoast-breadcrumb,
body[class*="kp-bb-"] .kp-movie__header .rank-math-breadcrumb,
body[class*="kp-bb-"] .kp-movie__header .yoast-breadcrumb,
body[class*="kp-bb-"] .kp-movie__header .breadcrumb,
body[class*="kp-bb-"] .kp-movie__header nav[aria-label="breadcrumb"],
body[class*="kp-bb-"] .kp-song__header .rank-math-breadcrumb,
body[class*="kp-bb-"] .kp-song__header .yoast-breadcrumb,
body[class*="kp-bb-"] .kp-song__header .breadcrumb,
body[class*="kp-bb-"] .kp-song__header nav[aria-label="breadcrumb"],
body[class*="kp-bb-"] .kp-category-shell > .rank-math-breadcrumb,
body[class*="kp-bb-"] .inside-article > .rank-math-breadcrumb,
body[class*="kp-bb-"] .entry-header .rank-math-breadcrumb {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.4 !important;
  color: var(--bb-muted, #64748b) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[class*="kp-bb-"] .rank-math-breadcrumb p,
body[class*="kp-bb-"] .yoast-breadcrumb p {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

body[class*="kp-bb-"] .rank-math-breadcrumb a,
body[class*="kp-bb-"] .yoast-breadcrumb a,
body[class*="kp-bb-"] .breadcrumb a,
body[class*="kp-bb-"] nav[aria-label="breadcrumb"] a {
  color: var(--bb-muted, #64748b) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  background: transparent !important;
  transition: color 0.15s ease;
}

body[class*="kp-bb-"] .rank-math-breadcrumb a:hover,
body[class*="kp-bb-"] .yoast-breadcrumb a:hover,
body[class*="kp-bb-"] .breadcrumb a:hover,
body[class*="kp-bb-"] nav[aria-label="breadcrumb"] a:hover {
  color: var(--bb-accent, #e30613) !important;
}

/* Soft "/" separators (Rank Math defaults to ») */
body[class*="kp-bb-"] .rank-math-breadcrumb .separator {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0.45rem !important;
  padding: 0 !important;
  color: color-mix(in srgb, var(--bb-muted, #64748b) 55%, transparent) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  user-select: none;
}

body[class*="kp-bb-"] .rank-math-breadcrumb .separator::before {
  content: "/";
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

body[class*="kp-bb-"] .rank-math-breadcrumb .last,
body[class*="kp-bb-"] .yoast-breadcrumb .breadcrumb_last {
  color: var(--bb-text, #0f172a) !important;
  font-weight: 600 !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-category__header .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category__header .yoast-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives__header .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn__header .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__header .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song__header .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .rank-math-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .yoast-breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] .breadcrumb,
html[data-theme="dark"] body[class*="kp-bb-"] nav[aria-label="breadcrumb"] {
  color: var(--bb-muted, #94a3b8) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .rank-math-breadcrumb a,
html[data-theme="dark"] body[class*="kp-bb-"] .yoast-breadcrumb a,
html[data-theme="dark"] body[class*="kp-bb-"] .breadcrumb a {
  color: var(--bb-muted, #94a3b8) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .rank-math-breadcrumb a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .yoast-breadcrumb a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .breadcrumb a:hover {
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .rank-math-breadcrumb .separator {
  color: color-mix(in srgb, var(--bb-muted, #94a3b8) 50%, transparent) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .rank-math-breadcrumb .last,
html[data-theme="dark"] body[class*="kp-bb-"] .yoast-breadcrumb .breadcrumb_last {
  color: var(--bb-text, #f8fafc) !important;
}

/* -------------------------------------------------------------------------
 * Dark mode — link / control hover (override GeneratePress a:hover #3282B8
 * and --accent-hover pink on hubs, archives, trending, learn, tax pages)
 * ------------------------------------------------------------------------- */
html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-intro__more:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-intro__more:focus,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-intro__more:focus-visible,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__learn a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__learn a:focus,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category__learn-inline:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-trending__browse-all a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn__prose a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn-intro-wrap a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie-intro-wrap a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-intro-wrap a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives-shell a:hover:not(.kp-movie__hero-cta):not(.kp-category-toolbar__chip.is-active):not(.kp-archives-sort__chip.is-active),
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-shell a:hover:not(.kp-movie__hero-cta):not(.kp-category-toolbar__chip.is-active):not(.kp-archives-sort__chip.is-active),
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn-shell a:hover:not(.kp-movie__hero-cta),
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-movie__hero-secondary:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__hero-secondary:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__list-more-link:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__list-more-btn:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-toolbar__chip:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives-sort__chip:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-movie__chip:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category__pagination a.page-numbers:hover {
  color: var(--bb-accent, var(--kp-accent, #ff4d4d)) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-intro__more:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-trending__browse-all a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn__prose a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-learn-intro-wrap a:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-intro-wrap .kp-bb-intro__more:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie-intro-wrap .kp-bb-intro__more:hover {
  color: var(--bb-accent-hover, var(--kp-accent-hover, #e30613)) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-row:hover .kp-bb-row__title,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-row:hover .kp-movie-song__title {
  color: var(--bb-accent, var(--kp-accent, #ff4d4d)) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-bb-row:hover {
  border-color: var(--bb-border, #2a364a);
  background: color-mix(in srgb, var(--bb-surface, #1e293b) 70%, var(--bb-surface-2, #334155) 30%);
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__hero-cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-movie__hero-cta:hover {
  color: #ffffff !important;
  background: var(--bb-accent-hover, var(--kp-accent-hover, #e30613)) !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-toolbar__chip.is-active:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives-sort__chip.is-active:hover {
  color: #ffffff !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-toolbar {
  background: color-mix(in srgb, var(--bb-bg, #0b1220) 90%, transparent);
}

/* -------------------------------------------------------------------------
 * Dark mode — song / movie / artist singles
 * Dark chrome sets link colors with !important; without :hover twins,
 * GeneratePress blue wins or hover appears “missing”.
 * ------------------------------------------------------------------------- */
html[data-theme="dark"] body.single-post.kp-bb-song a.kp-song__hero-secondary:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-secondary:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie a.kp-movie__hero-secondary:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__hero-secondary:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist a.kp-movie__hero-secondary:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__hero-secondary:hover {
  border-color: var(--bb-accent, #ff4d4d) !important;
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-info:hover {
  border-color: var(--bb-accent, #ff4d4d) !important;
  background: color-mix(in srgb, var(--bb-accent, #ff4d4d) 18%, #1e293b) !important;
  color: var(--bb-accent-hover, #e30613) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song a.kp-song__hero-cta:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-cta:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie a.kp-movie__hero-cta:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__hero-cta:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist a.kp-movie__hero-cta:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__hero-cta:hover {
  color: #ffffff !important;
  background: #b8050f !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__learn a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__learn a:focus,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__learn a:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__learn a:focus,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__learn a:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__learn a:focus {
  color: var(--bb-accent-hover, #e30613) !important;
  text-decoration-color: var(--bb-accent-hover, #e30613) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__more:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-bb-intro__more:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie-intro-wrap a:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-bb-intro__more:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie-intro-wrap a:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-bb-intro__more:hover {
  color: var(--bb-accent-hover, #e30613) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-table a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-table td a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-card a.link_custom:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .inside-article .kp-song-info-card .link_custom:hover {
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics h3 a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics li a:hover,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-similar-songs a:hover {
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__cta-link:hover,
html[data-theme="dark"] body.single-post.kp-bb-song a.kp-song__cta-link:hover {
  color: #ffffff !important;
  background: var(--bb-accent-hover, #e30613) !important;
}

html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-bb-row:hover .kp-bb-row__title,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-bb-row:hover .kp-movie-song__title,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-bb-row:hover .kp-bb-row__title,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-bb-row:hover .kp-movie-song__title {
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-movie.kp-bb-movie a.kp-movie__chip:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist a.kp-movie__chip:hover {
  border-color: var(--bb-accent, #ff4d4d) !important;
  color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__list-more-link:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .kp-movie__list-more-btn:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__list-more-link:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .kp-movie__list-more-btn:hover {
  color: var(--bb-accent-hover, #e30613) !important;
  border-color: var(--bb-accent, #ff4d4d) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .rank-math-breadcrumb a:hover,
html[data-theme="dark"] body.single-movie.kp-bb-movie .rank-math-breadcrumb a:hover,
html[data-theme="dark"] body.single-artist.kp-bb-artist .rank-math-breadcrumb a:hover {
  color: var(--bb-accent, #ff4d4d) !important;
}

/* -------------------------------------------------------------------------
 * Sticky WhatsApp channel rail (GP Element paste: sticky-whatsapp-element.html)
 * Brand Bridge surface + WhatsApp green icon — light/dark safe
 * ------------------------------------------------------------------------- */
.kp-bb-sticky-wa {
  position: fixed;
  right: 0;
  bottom: 5.5rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.kp-bb-sticky-wa__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  margin: 0;
  padding: 0.55rem 0.7rem 0.55rem 0.75rem;
  border: 1px solid var(--bb-border, #d4e5f7);
  border-right: 0;
  border-radius: 0.65rem 0 0 0.65rem;
  background: var(--bb-surface, #ffffff) !important;
  color: var(--bb-text, #0f172a) !important;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.kp-bb-sticky-wa__btn:hover,
.kp-bb-sticky-wa__btn:focus-visible {
  background: var(--bb-surface-2, #eef6ff) !important;
  border-color: color-mix(in srgb, #25d366 45%, var(--bb-border, #d4e5f7)) !important;
  color: var(--bb-text, #0f172a) !important;
  outline: none;
  transform: translateX(-3px);
}

.kp-bb-sticky-wa__icon {
  display: block;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: #25d366;
}

.kp-bb-sticky-wa__label {
  display: none;
  white-space: nowrap;
}

@media (min-width: 783px) {
  .kp-bb-sticky-wa__btn:hover .kp-bb-sticky-wa__label,
  .kp-bb-sticky-wa__btn:focus-visible .kp-bb-sticky-wa__label {
    display: inline;
  }
}

html[data-theme="dark"] .kp-bb-sticky-wa__btn {
  background: var(--bb-surface, #1e293b) !important;
  border-color: var(--bb-border, #334155) !important;
  color: var(--bb-text, #f8fafc) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .kp-bb-sticky-wa__btn:hover,
html[data-theme="dark"] .kp-bb-sticky-wa__btn:focus-visible {
  background: var(--bb-surface-2, #334155) !important;
  border-color: color-mix(in srgb, #22c55e 40%, #334155) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .kp-bb-sticky-wa__icon {
  color: #4ade80;
}

@media (max-width: 480px) {
  .kp-bb-sticky-wa {
    bottom: 4.75rem;
  }

  .kp-bb-sticky-wa__btn {
    min-height: 2.5rem;
    padding: 0.5rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kp-bb-sticky-wa__btn,
  .kp-bb-sticky-wa__btn:hover,
  .kp-bb-sticky-wa__btn:focus-visible {
    transition: none;
    transform: none;
  }
}

@media print {
  .kp-bb-sticky-wa {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------
 * In-content WhatsApp channel banner (paste: whatsapp-highlight-banner.html)
 * Also styles legacy .whatsapphighlight if class is kept on old markup.
 * ------------------------------------------------------------------------- */
.kp-bb-wa-banner,
.whatsapphighlight.kp-bb-wa-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: 100%;
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bb-border, #d4e5f7);
  border-radius: 0.65rem;
  background: var(--bb-surface-2, #eef6ff);
  box-sizing: border-box;
}

.kp-bb-wa-banner__title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--bb-text, #0f172a);
}

.kp-bb-wa-banner__icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  color: #25d366;
}

.kp-bb-wa-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: #25d366 !important;
  color: #fff !important;
  font-family: var(--bb-font, "Manrope", system-ui, sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
  transition: background 0.15s ease;
}

.kp-bb-wa-banner__cta:hover,
.kp-bb-wa-banner__cta:focus-visible {
  background: #1ebe57 !important;
  color: #fff !important;
  outline: none;
}

html[data-theme="dark"] .kp-bb-wa-banner,
html[data-theme="dark"] .whatsapphighlight.kp-bb-wa-banner {
  background: var(--bb-surface, #1e293b);
  border-color: var(--bb-border, #334155);
}

html[data-theme="dark"] .kp-bb-wa-banner__title {
  color: var(--bb-text, #f8fafc);
}

html[data-theme="dark"] .kp-bb-wa-banner__icon {
  color: #4ade80;
}

html[data-theme="dark"] .kp-bb-wa-banner__cta {
  background: #22c55e !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .kp-bb-wa-banner__cta:hover,
html[data-theme="dark"] .kp-bb-wa-banner__cta:focus-visible {
  background: #16a34a !important;
}

@media (max-width: 520px) {
  .kp-bb-wa-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .kp-bb-wa-banner__cta {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
 * Dark mode — filled CTAs: solid brand red, no neon #ff4d4d bloom
 * Link accent stays --bb-accent (#ff4d4d); button fills use --bb-fill.
 * ------------------------------------------------------------------------- */
html[data-theme="dark"] {
  --bb-fill: #e30613;
  --bb-fill-hover: #b8050f;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__hero-cta,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-movie__hero-cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song__hero-cta,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-song__hero-cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-hero__app,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-hero__app,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-app__cta,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-app__cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-spotlight__cta,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-spotlight__cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song__cta-link,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-song__cta-link,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-bb-footer__cta,
html[data-theme="dark"] .kp-bb-site-footer a.kp-bb-footer__cta,
html[data-theme="dark"] .site-footer a.kp-bb-footer__cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-auth-btn--primary,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-auth-btn--primary,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-account-app-promo__cta,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-account-app-promo__cta,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song-feedback__btn--primary,
html[data-theme="dark"] body[class*="kp-bb-"] button.kp-song-feedback__btn--primary,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-signin-gate__btn--primary,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-walkthrough__btn--primary,
html[data-theme="dark"] .kp-walkthrough a.kp-walkthrough__store,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-toolbar__chip.is-active,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives-sort__chip.is-active,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-az-toolbar .kp-category-toolbar__chip.is-active,
html[data-theme="dark"] body[class*="kp-bb-"] .wpcf7-submit,
html[data-theme="dark"] body[class*="kp-bb-"] input.wpcf7-submit,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-search__submit,
html[data-theme="dark"] body[class*="kp-bb-"] button.kp-search__submit {
  background: var(--bb-fill) !important;
  background-color: var(--bb-fill) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html[data-theme="dark"] body[class*="kp-bb-"] .kp-movie__hero-cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-movie__hero-cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song__hero-cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-song__hero-cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-hero__app:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-hero__app:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-app__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-app__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-home-spotlight__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-home-spotlight__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song__cta-link:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-song__cta-link:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-bb-footer__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-bb-footer__cta:focus,
html[data-theme="dark"] .kp-bb-site-footer a.kp-bb-footer__cta:hover,
html[data-theme="dark"] .site-footer a.kp-bb-footer__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-auth-btn--primary:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-auth-btn--primary:focus-visible,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-account-app-promo__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] a.kp-account-app-promo__cta:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-song-feedback__btn--primary:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-signin-gate__btn--primary:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-walkthrough__btn--primary:hover,
html[data-theme="dark"] .kp-walkthrough a.kp-walkthrough__store:hover,
html[data-theme="dark"] .kp-walkthrough a.kp-walkthrough__store:focus-visible,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-category-toolbar__chip.is-active:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .kp-archives-sort__chip.is-active:hover,
html[data-theme="dark"] body[class*="kp-bb-"] .wpcf7-submit:hover,
html[data-theme="dark"] body[class*="kp-bb-"] input.wpcf7-submit:hover {
  background: var(--bb-fill-hover) !important;
  background-color: var(--bb-fill-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Light + dark: kill accent “bloom” shadows on filled CTAs (eye strain) */
body[class*="kp-bb-"] .kp-movie__hero-cta,
body[class*="kp-bb-"] .kp-song__hero-cta,
body[class*="kp-bb-"] .kp-home-hero__app,
body[class*="kp-bb-"] a.kp-home-hero__app,
body[class*="kp-bb-"] .kp-home-app__cta,
body[class*="kp-bb-"] a.kp-home-app__cta,
body[class*="kp-bb-"] .kp-auth-btn--primary {
  box-shadow: none !important;
}

body[class*="kp-bb-"] .kp-home-app__cta:hover,
body[class*="kp-bb-"] a.kp-home-app__cta:hover,
body[class*="kp-bb-"] .kp-home-hero__app:hover,
body[class*="kp-bb-"] a.kp-home-hero__app:hover {
  box-shadow: none !important;
}


