/**
 * Brand Bridge B2 — Song single
 * Refs: stitch-gate0/song-390.png · song-1280.png
 * Cover: rail above Song Info (desktop); thumbnail with Song Info (mobile) — no full-bleed hero
 */

body.single-post.kp-bb-song {
  --bb-bg: #f8fcff;
  --bb-surface: #ffffff;
  --bb-surface-2: #eef6ff;
  --bb-text: #0f172a;
  --bb-muted: #64748b;
  --bb-border: #d4e5f7;
  --bb-accent: #e30613;
  --bb-accent-hover: #b8050f;
  --bb-link: #0059a8;
  --bb-notation: #5c4033;
  --bb-radius: 0.75rem;
  --bb-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bb-bg) !important;
  color: var(--bb-text);
  font-family: var(--bb-font);
}

html[data-theme="dark"] body.single-post.kp-bb-song {
  --bb-bg: #0f172a;
  --bb-surface: #1e293b;
  --bb-surface-2: #334155;
  --bb-text: #f8fafc;
  --bb-muted: #94a3b8;
  --bb-border: #334155;
  --bb-accent: #ff4d4d;
  --bb-accent-hover: #e30613;
  --bb-link: #93c5fd;
  --bb-notation: #fcd34d;
}

body.single-post.kp-bb-song,
body.single-post.kp-bb-song #page,
body.single-post.kp-bb-song .site,
body.single-post.kp-bb-song .site-content,
body.single-post.kp-bb-song #content,
body.single-post.kp-bb-song .content-area,
body.single-post.kp-bb-song .inside-article,
body.single-post.kp-bb-song .one-container .site-content,
body.single-post.kp-bb-song .separate-containers .inside-article {
  background: var(--bb-bg) !important;
  color: var(--bb-text);
}

body.single-post.kp-bb-song .inside-article {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1.25rem 2rem !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Hide legacy meta / promo chrome */
body.single-post.kp-bb-song .entry-meta,
body.single-post.kp-bb-song .posted-on,
body.single-post.kp-bb-song .cat-links,
body.single-post.kp-bb-song .hrCustom,
body.single-post.kp-bb-song .kp-inline-top-cta,
body.single-post.kp-bb-song .kp-app-promo-card,
body.single-post.kp-bb-song .page-header,
body.single-post.kp-bb-song .generate-columns-container > .sidebar,
body.single-post.kp-bb-song #right-sidebar {
  display: none !important;
}

body.single-post.kp-bb-song .entry-header,
body.single-post.kp-bb-song .kp-song__header {
  margin-bottom: 1.15rem !important;
  padding-bottom: 0 !important;
  border: 0 !important;
}

body.single-post.kp-bb-song .kp-song__header .rank-math-breadcrumb,
body.single-post.kp-bb-song .kp-song__header .yoast-breadcrumb,
body.single-post.kp-bb-song .kp-song__header .breadcrumb,
body.single-post.kp-bb-song .kp-song__header nav[aria-label="breadcrumb"] {
  margin: 0 0 0.65rem !important;
  font-family: var(--bb-font) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--bb-muted) !important;
  line-height: 1.4 !important;
}

body.single-post.kp-bb-song .kp-song__header .rank-math-breadcrumb a,
body.single-post.kp-bb-song .kp-song__header .yoast-breadcrumb a,
body.single-post.kp-bb-song .kp-song__header .breadcrumb a {
  color: var(--bb-muted) !important;
  text-decoration: none !important;
}

body.single-post.kp-bb-song .kp-song__header .rank-math-breadcrumb a:hover,
body.single-post.kp-bb-song .kp-song__header .yoast-breadcrumb a:hover {
  color: var(--bb-accent) !important;
}

body.single-post.kp-bb-song .kp-song__title-block,
body.single-post.kp-bb-song .kp-song__hero {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bb-accent) 8%, var(--bb-surface)) 0%, var(--bb-surface) 42%, var(--bb-bg) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

body.single-post.kp-bb-song .kp-song__hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bb-accent);
}

body.single-post.kp-bb-song .entry-header .entry-title,
body.single-post.kp-bb-song .entry-header h1,
body.single-post.kp-bb-song .kp-song__header .entry-title {
  font-family: var(--bb-font) !important;
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: var(--bb-text) !important;
  margin: 0 !important;
  letter-spacing: -0.03em;
  max-width: 40rem;
}

body.single-post.kp-bb-song .kp-song__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.1rem 0 0 !important;
}

body.single-post.kp-bb-song .kp-song__hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--bb-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bb-surface) 88%, var(--bb-accent) 12%);
  color: var(--bb-text) !important;
  font-family: var(--bb-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none !important;
}

body.single-post.kp-bb-song a.kp-song__hero-chip:hover {
  border-color: var(--bb-accent);
  color: var(--bb-accent) !important;
  background: color-mix(in srgb, var(--bb-surface) 75%, var(--bb-accent) 25%);
}

body.single-post.kp-bb-song .kp-song__meta,
body.single-post.kp-bb-song .kp-song__chip {
  display: none !important;
}

body.single-post.kp-bb-song .tags {
  display: none !important;
}

body.single-post.kp-bb-song .kp-song__byline {
  margin: 0 !important;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--bb-muted);
}

body.single-post.kp-bb-song .kp-song__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

body.single-post.kp-bb-song .kp-song__hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.65rem;
  background: var(--bb-accent);
  color: #fff !important;
  font-family: var(--bb-font);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--bb-accent) 28%, transparent);
}

body.single-post.kp-bb-song .kp-song__hero-cta:hover {
  background: var(--bb-accent-hover);
  color: #fff !important;
}

body.single-post.kp-bb-song .kp-song__hero-secondary,
body.single-post.kp-bb-song a.kp-song__hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--bb-border);
  background: var(--bb-surface);
  color: var(--bb-text) !important;
  font-family: var(--bb-font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}

body.single-post.kp-bb-song .kp-song__hero-secondary:hover,
body.single-post.kp-bb-song a.kp-song__hero-secondary:hover {
  border-color: var(--bb-accent);
  color: var(--bb-accent) !important;
}

/* Mobile-only jump to Song Info (desktop uses rail) */
body.single-post.kp-bb-song .kp-song__hero-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--bb-accent) 35%, var(--bb-border));
  background: color-mix(in srgb, var(--bb-accent) 8%, var(--bb-surface));
  color: var(--bb-accent) !important;
  font-family: var(--bb-font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}

body.single-post.kp-bb-song .kp-song__hero-info:hover {
  border-color: var(--bb-accent);
  background: color-mix(in srgb, var(--bb-accent) 14%, var(--bb-surface));
  color: var(--bb-accent-hover) !important;
}

@media (min-width: 960px) {
  body.single-post.kp-bb-song .kp-song__hero-info {
    display: none !important;
  }
}

/* Layout shell */
.kp-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .kp-song {
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    gap: 2rem;
  }
}

.kp-song__main {
  min-width: 0;
}

.kp-song__rail {
  display: none;
}

@media (min-width: 960px) {
  .kp-song__rail {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    position: sticky;
    top: calc(var(--kp-site-nav-h, 72px) + 0.75rem);
  }
}

/* Covers: rail (desktop) / thumb (mobile) — force crop (GP img height:auto fights this) */
body.single-post.kp-bb-song .kp-song__cover {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--bb-radius);
  border: 1px solid var(--bb-border);
  background: var(--bb-surface-2);
  line-height: 0;
}

/* WP may wrap thumb in <picture class="…cover-img"> */
body.single-post.kp-bb-song .kp-song__cover picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.single-post.kp-bb-song .kp-song__cover-img,
body.single-post.kp-bb-song .kp-song__cover img,
body.single-post.kp-bb-song .kp-song__cover picture img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Desktop: native landscape stills (most song covers are 16:9) — avoids soft portrait upscale */
body.single-post.kp-bb-song .kp-song__cover--rail {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  max-height: none;
}

body.single-post.kp-bb-song .kp-song__cover--thumb {
  flex: 0 0 4.5rem;
  width: 4.5rem !important;
  height: 4.5rem !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 0.5rem;
  max-height: none;
}

/* Bundle cover + Song Info as one rail block */
body.single-post.kp-bb-song .kp-song__rail-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bb-surface);
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  overflow: hidden;
}

body.single-post.kp-bb-song .kp-song__rail-card .kp-song__cover--rail {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--bb-border);
}

body.single-post.kp-bb-song .kp-song__rail-card .kp-song-info-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.kp-song__mobile-meta {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.kp-song__mobile-meta .kp-song__info-mobile {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.kp-song__info-mobile {
  display: block;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  background: var(--bb-surface);
  padding: 0.65rem 0.85rem;
  scroll-margin-top: 5.5rem;
}

.kp-song__info-mobile > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bb-text);
  list-style: none;
  margin-bottom: 0.65rem;
}

.kp-song__info-mobile > summary::-webkit-details-marker {
  display: none;
}

.kp-song__info-mobile > summary::after {
  content: none;
}

@media (min-width: 960px) {
  .kp-song__mobile-meta {
    display: none !important;
  }
}

.kp-song-info-card {
  background: var(--bb-surface) !important;
  border: 0;
  border-radius: 0;
  padding: 1rem 1.1rem 1.05rem;
  color: var(--bb-text);
}

.kp-song-info-card__title {
  margin: 0 0 0.75rem !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--bb-muted) !important;
}

.kp-song-info-table,
body.single-post.kp-bb-song .kp-song-info-table.customTableCard {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.kp-song-info-table th,
.kp-song-info-table td,
body.single-post.kp-bb-song .customTableCard tr td {
  padding: 0.5rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bb-border) !important;
  text-align: left;
  vertical-align: top;
  font-size: 0.88rem !important;
  width: auto !important;
  background: transparent !important;
  color: var(--bb-text) !important;
}

.kp-song-info-table th {
  width: 34%;
  color: var(--bb-muted) !important;
  font-weight: 600 !important;
  font-family: var(--bb-font);
}

.kp-song-info-table td,
.kp-song-info-table td a,
body.single-post.kp-bb-song .kp-song-info-table a,
body.single-post.kp-bb-song .kp-song-info-table a.link_custom,
body.single-post.kp-bb-song .kp-song-info-card a.link_custom,
body.single-post.kp-bb-song .inside-article .kp-song-info-card .link_custom {
  color: var(--bb-text) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

body.single-post.kp-bb-song .kp-song-info-table a:hover,
body.single-post.kp-bb-song .kp-song-info-card a.link_custom:hover {
  color: var(--bb-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.kp-song-info-table tr:last-child th,
.kp-song-info-table tr:last-child td {
  border-bottom: 0 !important;
}

/* Intro + Read more (full HTML stays in DOM — CSS collapse only) */
body.single-post.kp-bb-song .kp-song-intro-wrap,
body.single-post.kp-bb-song .entry-content > .kp-song .kp-song-intro-wrap {
  margin: 0 0 1.15rem !important;
}

body.single-post.kp-bb-song .kp-song-intro,
body.single-post.kp-bb-song .kp-song-intro__body,
body.single-post.kp-bb-song .kp-song-intro__body p,
body.single-post.kp-bb-song .entry-content > .kp-song .kp-song-intro {
  font-family: var(--bb-font) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  color: var(--bb-text) !important;
  margin: 0 0 0.65rem !important;
}

body.single-post.kp-bb-song .kp-song-intro-wrap--collapsed .kp-song-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%);
}

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

body.single-post.kp-bb-song .kp-song-intro__body a,
body.single-post.kp-bb-song .kp-song-intro a {
  color: var(--bb-accent) !important;
}

body.single-post.kp-bb-song .kp-song-intro__body h1,
body.single-post.kp-bb-song .kp-song-intro__body h2,
body.single-post.kp-bb-song .kp-song-intro__body h3 {
  color: var(--bb-text) !important;
  font-family: var(--bb-font) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.5rem !important;
}

body.single-post.kp-bb-song .kp-song-intro__more {
  appearance: none;
  display: inline-flex;
  margin: 0.1rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bb-accent) !important;
  font-family: var(--bb-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-post.kp-bb-song .kp-song-intro__more:hover {
  color: var(--bb-accent-hover) !important;
}

/* -------------------------------------------------------------------------
 * Notes paper panel (Stitch song-390 sheet)
 * ------------------------------------------------------------------------- */
body.single-post.kp-bb-song .kp-song__notes.tabset,
body.single-post.kp-bb-song .tabset {
  --sheet-bg: #fffdf8;
  --sheet-edge: #e5e0d8;
  --sheet-head: #fdfbf7;
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem 0.25rem !important;
  max-width: none !important;
  background: var(--sheet-bg) !important;
  border: 1px solid var(--sheet-edge) !important;
  border-top: 3px solid var(--bb-accent) !important;
  border-radius: var(--bb-radius) !important;
  padding: 0.65rem 0.85rem 0.85rem !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  margin: 0 0 1rem !important;
  /* overflow:hidden breaks position:sticky on the practice toolbar */
  overflow: visible;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__notes.tabset,
html[data-theme="dark"] body.single-post.kp-bb-song .tabset {
  --sheet-bg: #1e293b;
  --sheet-edge: #334155;
  --sheet-head: #0f172a;
}

body.single-post.kp-bb-song .tabset > input[type="radio"] {
  position: absolute !important;
}

body.single-post.kp-bb-song .tabset > label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 1;
  margin: 0 0.2rem 0.35rem 0 !important;
  padding: 0.4rem 0.85rem !important;
  border: 1px solid var(--sheet-edge) !important;
  border-radius: 999px !important;
  background: var(--bb-surface) !important;
  color: var(--bb-muted) !important;
  font-family: var(--bb-font) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  border-bottom: 1px solid var(--sheet-edge) !important;
}

body.single-post.kp-bb-song .tabset > label::after {
  display: none !important;
  content: none !important;
}

body.single-post.kp-bb-song .tabset > label:hover,
body.single-post.kp-bb-song .tabset > input:focus + label {
  color: var(--bb-text) !important;
  border-color: var(--bb-accent) !important;
}

body.single-post.kp-bb-song .tabset > input:checked + label {
  color: #fff !important;
  background: var(--bb-accent) !important;
  border-color: var(--bb-accent) !important;
  margin-bottom: 0.35rem !important;
}

body.single-post.kp-bb-song .tabset > .tab-panels {
  order: 2;
  flex: 1 1 100%;
  margin: 0 -0.85rem !important;
  border-top: 1px solid var(--sheet-edge);
  background: var(--sheet-bg);
}

body.single-post.kp-bb-song .tab-panel {
  border-top: 0 !important;
  padding: 1rem 1.15rem 1.25rem !important;
}

body.single-post.kp-bb-song #music-post-content,
body.single-post.kp-bb-song .tab-panel {
  font-family: "Consolas", "SF Mono", "Roboto Mono", ui-monospace, monospace;
  /* Stitch: mobile text-[15px], desktop text-lg.
     No !important — toolbar A+/A- sets inline font-size %. */
  font-size: 0.9375rem; /* 15px */
  line-height: 2.35;
  color: var(--bb-text);
}

@media (min-width: 768px) {
  body.single-post.kp-bb-song #music-post-content,
  body.single-post.kp-bb-song .tab-panel {
    font-size: 1.125rem; /* 18px */
    line-height: 2.45;
  }
}

/* Default notation chrome: quiet sheet (Kids friendly keeps neon-pulse bubbles) */
body.single-post.kp-bb-song #music-post-content,
body.single-post.kp-bb-song #music-post-content.default {
  --bg-color: transparent !important;
  --lyrics-color: var(--bb-text) !important;
  --notation-color: var(--bb-notation) !important;
  --chords-color: var(--bb-muted) !important;
  --heading-color: var(--bb-text) !important;
  background: transparent !important;
  padding-bottom: 0.35rem !important;
}

body.single-post.kp-bb-song #music-post-content.dark-elegant {
  padding-bottom: 0.35rem !important;
}

body.single-post.kp-bb-song .notes-heading,
body.single-post.kp-bb-song #music-post-content.default .notes-heading,
body.single-post.kp-bb-song .tab-panel .notes-heading {
  color: var(--bb-text) !important;
  font-family: var(--bb-font) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  margin: 1.25rem 0 0.65rem !important;
}

body.single-post.kp-bb-song #music-post-content.default .lyrics-text,
body.single-post.kp-bb-song .lyrics-text {
  color: var(--bb-text) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 1em !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  margin: 0.65em 0 0.15em !important;
}

body.single-post.kp-bb-song #music-post-content.default .notation-text,
body.single-post.kp-bb-song #music-post-content .notation-text,
body.single-post.kp-bb-song .notation-text {
  color: var(--bb-notation) !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1em !important;
  letter-spacing: 0.03em;
  line-height: inherit !important;
  margin: 0 0 0.75em !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body.single-post.kp-bb-song #music-post-content.default .notation-text,
  body.single-post.kp-bb-song #music-post-content .notation-text,
  body.single-post.kp-bb-song .notation-text {
    letter-spacing: 0.015em;
  }
}

body.single-post.kp-bb-song #music-post-content.default .note,
body.single-post.kp-bb-song #music-post-content:not(.neon-pulse) .note {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  border: 0 !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Kids friendly (neon-pulse): slate chip system — cool, consistent, no rainbow clash */
body.single-post.kp-bb-song #music-post-content.neon-pulse {
  --bg-color: transparent !important;
  --lyrics-color: var(--bb-text) !important;
  --notation-color: var(--bb-text) !important;
  --heading-color: var(--bb-accent) !important;
  --note-A: #e2e8f0;
  --note-B: #cbd5e1;
  --note-C: #f1f5f9;
  --note-D: #dbeafe;
  --note-E: #e0f2fe;
  --note-F: #e0e7ff;
  --note-G: #ede9fe;
  background: transparent !important;
  padding-bottom: 0.35rem !important;
  font-size: 0.9375rem;
  line-height: 2.4;
}

@media (min-width: 768px) {
  body.single-post.kp-bb-song #music-post-content.neon-pulse {
    font-size: 1.125rem;
    line-height: 2.5;
  }
}

body.single-post.kp-bb-song #music-post-content.neon-pulse .notes-heading {
  color: var(--bb-accent) !important;
  font-family: var(--bb-font) !important;
}

body.single-post.kp-bb-song #music-post-content.neon-pulse .lyrics-text {
  color: var(--bb-text) !important;
  font-weight: 700 !important;
  font-size: 1em !important;
}

body.single-post.kp-bb-song #music-post-content.neon-pulse .notation-text {
  color: var(--bb-text) !important;
  background: transparent !important;
  font-size: 1em !important;
  letter-spacing: 0.02em;
}

body.single-post.kp-bb-song #music-post-content.neon-pulse .note {
  display: inline-block !important;
  padding: 0.12rem 0.32rem !important;
  margin: 0.08rem !important;
  border-radius: 0.4rem !important;
  font-weight: 800 !important;
  font-size: 0.95em !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  background: #e2e8f0 !important;
}

@media (min-width: 768px) {
  body.single-post.kp-bb-song #music-post-content.neon-pulse .note {
    padding: 0.18rem 0.4rem !important;
    margin: 0.1rem !important;
    font-size: 1em !important;
  }
}

/* Soft slate / cool spectrum (covers colorizer note-c + note-csharp etc.) */
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-c,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-C {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-csharp,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-dflat {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-d,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-D {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-dsharp,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-eflat {
  background: #bfdbfe !important;
  border-color: #60a5fa !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-e,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-E {
  background: #e0f2fe !important;
  border-color: #7dd3fc !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-f,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-F {
  background: #e0e7ff !important;
  border-color: #a5b4fc !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-fsharp,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-gflat {
  background: #c7d2fe !important;
  border-color: #818cf8 !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-g,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-G {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-gsharp,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-aflat {
  background: #ddd6fe !important;
  border-color: #a78bfa !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-a,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-A {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-asharp,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-bflat {
  background: #e2e8f0 !important;
  border-color: #64748b !important;
}
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-b,
body.single-post.kp-bb-song #music-post-content.neon-pulse .note-B {
  background: #cbd5e1 !important;
  border-color: #64748b !important;
}

/* Dark elegant — Brand Bridge night sheet (not garish plugin defaults) */
body.single-post.kp-bb-song #music-post-content.dark-elegant {
  --bg-color: transparent !important;
  --lyrics-color: #f8fafc !important;
  --notation-color: #fde68a !important;
  --chords-color: #94a3b8 !important;
  --heading-color: #f8fafc !important;
  background: transparent !important;
  color: #f8fafc !important;
  padding: 0.25rem 0 0.35rem !important;
  font-size: 0.9375rem;
  line-height: 2.35;
}

@media (min-width: 768px) {
  body.single-post.kp-bb-song #music-post-content.dark-elegant {
    font-size: 1.125rem;
    line-height: 2.45;
  }
}

body.single-post.kp-bb-song #music-post-content.dark-elegant .notes-heading {
  color: #f8fafc !important;
  font-family: var(--bb-font) !important;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.35rem;
}

body.single-post.kp-bb-song #music-post-content.dark-elegant .lyrics-text {
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  font-size: 1em !important;
}

body.single-post.kp-bb-song #music-post-content.dark-elegant .notation-text {
  color: #fde68a !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1em !important;
  letter-spacing: 0.03em;
}

body.single-post.kp-bb-song #music-post-content.dark-elegant .note {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fde68a !important;
  box-shadow: none !important;
  border: 0 !important;
  font-weight: 700 !important;
}

/* When Dark theme selected, sheet matches night surface */
body.single-post.kp-bb-song .kp-song__notes:has(#music-post-content.dark-elegant) {
  --sheet-bg: #0f172a;
  --sheet-edge: #334155;
  --sheet-head: #1e293b;
  background: #0f172a !important;
  border-color: #334155 !important;
}

body.single-post.kp-bb-song .kp-song__notes:has(#music-post-content.dark-elegant) .tab-panels,
body.single-post.kp-bb-song .kp-song__notes:has(#music-post-content.dark-elegant) .tab-panel {
  background: #0f172a !important;
  color: #f8fafc !important;
}

body.single-post.kp-bb-song .kp-song__notes:has(#music-post-content.dark-elegant) > label {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}

body.single-post.kp-bb-song .kp-song__notes:has(#music-post-content.dark-elegant) > input:checked + label {
  background: var(--bb-accent) !important;
  border-color: var(--bb-accent) !important;
  color: #fff !important;
}

body.single-post.kp-bb-song .tab-panel font[color="green"],
body.single-post.kp-bb-song .tab-panel font[color="Green"],
body.single-post.kp-bb-song .tab-panel font[color="#008000"],
body.single-post.kp-bb-song .tab-panel font[color="#00aa00"],
body.single-post.kp-bb-song .tab-panel font[color="#4caf50"] {
  color: var(--bb-text) !important;
}

/* Practice toolbar — pinned to viewport bottom while notes are on screen */
body.single-post.kp-bb-song #music-toolbar,
body.single-post.kp-bb-song .kp-song__toolbar {
  order: 3;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 5;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  width: calc(100% + 1.7rem) !important;
  max-width: none !important;
  margin: 0 -0.85rem !important;
  padding: 0.65rem 0.85rem !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--sheet-edge, #e5e0d8) !important;
  background: var(--sheet-head, #fdfbf7) !important;
  color: var(--bb-text) !important;
  box-shadow: none !important;
}

body.single-post.kp-bb-song #music-toolbar.kp-song__toolbar--pinned,
body.single-post.kp-bb-song .kp-song__toolbar--pinned {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 60 !important;
  border-top: 1px solid var(--bb-border) !important;
  background: color-mix(in srgb, var(--bb-surface) 94%, transparent) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12) !important;
}

body.kp-song--toolbar-pinned.single-post.kp-bb-song .kp-song__main,
body.kp-song--toolbar-pinned.single-post.kp-bb-song .kp-song__notes {
  padding-bottom: 0;
}

body.single-post.kp-bb-song .kp-song__toolbar-spacer {
  display: none;
  width: 100%;
  height: 0;
  flex: 0 0 auto;
  pointer-events: none;
}

body.kp-song--toolbar-pinned.single-post.kp-bb-song .kp-song__toolbar-spacer {
  display: block;
  height: 4.75rem;
  order: 4;
}

body.single-post.kp-bb-song .kp-song__video,
body.single-post.kp-bb-song .embed-container {
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}

body.single-post.kp-bb-song .embed-container iframe,
body.single-post.kp-bb-song .embed-container object,
body.single-post.kp-bb-song .embed-container embed {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

body.single-post.kp-bb-song .music-toolbar-button {
  min-height: 2.25rem;
  min-width: 2.25rem;
  padding: 0.35rem 0.7rem !important;
  background: var(--bb-surface) !important;
  color: var(--bb-text) !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: 0.5rem !important;
  font-family: var(--bb-font) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

body.single-post.kp-bb-song .music-toolbar-button:hover {
  border-color: var(--bb-accent) !important;
  color: var(--bb-accent) !important;
  background: var(--bb-surface) !important;
}

body.single-post.kp-bb-song .music-toolbar-button:focus-visible {
  outline: 2px solid var(--bb-accent);
  outline-offset: 1px;
}

body.single-post.kp-bb-song .music-toolbar-select,
body.single-post.kp-bb-song #transpose-meter {
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem !important;
  background: var(--bb-surface) !important;
  color: var(--bb-text) !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: 0.5rem !important;
  font-family: var(--bb-font) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body.single-post.kp-bb-song #transpose-meter {
  min-width: 2.35rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

body.single-post.kp-bb-song #music-post-content,
body.single-post.kp-bb-song #music-post-content.default,
body.single-post.kp-bb-song #music-post-content.neon-pulse,
body.single-post.kp-bb-song #music-post-content.dark-elegant {
  padding-bottom: 0.5rem !important;
}

/* After-notes CTA */
.kp-song__cta {
  margin: 0 0 1.15rem;
}

.kp-song__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--bb-radius);
  background: var(--bb-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: none !important;
}

.kp-song__cta-link:hover {
  background: var(--bb-accent-hover);
  color: #fff !important;
}

/* Ads + share: shared Brand Bridge components (.kp-bb-ad / .kp-bb-share) */

/* Related songs — Brand Bridge list */
body.single-post.kp-bb-song .kp-similar-songs {
  margin: 0 0 1.35rem !important;
}

body.single-post.kp-bb-song .similar-lyrics {
  margin: 0 !important;
  background: var(--bb-surface) !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: var(--bb-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.single-post.kp-bb-song .similar-lyrics h3 {
  margin: 0 !important;
  padding: 0.9rem 1.05rem !important;
  text-align: left !important;
  font-family: var(--bb-font) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--bb-text) !important;
  background: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid var(--bb-border) !important;
}

body.single-post.kp-bb-song .similar-lyrics h3 a,
body.single-post.kp-bb-song .similar-lyrics h3 a.kp-similar-hub-link {
  color: var(--bb-text) !important;
  text-decoration: none !important;
}

body.single-post.kp-bb-song .similar-lyrics h3 a:hover {
  color: var(--bb-accent) !important;
}

body.single-post.kp-bb-song .similar-lyrics ul {
  list-style: none !important;
  padding: 0.65rem !important;
  margin: 0 !important;
  display: grid !important;
  gap: 0.45rem !important;
}

body.single-post.kp-bb-song .similar-lyrics li a {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.55rem 0.65rem !important;
  border: 1px solid var(--bb-border) !important;
  border-radius: 0.65rem !important;
  background: var(--bb-bg) !important;
  color: var(--bb-text) !important;
  font-family: var(--bb-font) !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.single-post.kp-bb-song .similar-lyrics li a:hover {
  border-color: var(--bb-accent) !important;
  background: color-mix(in srgb, var(--bb-accent) 6%, var(--bb-surface)) !important;
}

body.single-post.kp-bb-song .similar-lyrics li img {
  width: 2.75rem !important;
  height: 2.75rem !important;
  max-width: 2.75rem !important;
  border-radius: 0.45rem !important;
  object-fit: cover !important;
}

body.single-post.kp-bb-song .kp-song__video {
  margin: 0 0 1.35rem;
}

body.single-post.kp-bb-song .kp-song__section-title,
body.single-post.kp-bb-song #youtube-video-scroll,
body.single-post.kp-bb-song h3#youtube-video-scroll {
  font-family: var(--bb-font) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--bb-text) !important;
  margin: 0 0 0.75rem !important;
  background: transparent !important;
}

body.single-post.kp-bb-song .kp-similar-songs h2,
body.single-post.kp-bb-song .kp-similar-songs h3 {
  font-family: var(--bb-font) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--bb-text) !important;
  margin: 0 0 0.75rem !important;
}

body.single-post.kp-bb-song .embed-container {
  margin-bottom: 0;
  border-radius: var(--bb-radius);
  overflow: hidden;
  border: 1px solid var(--bb-border);
}

/* FAQ accordion (details) */
body.single-post.kp-bb-song .kp-song-faq {
  margin: 1rem 0 0;
}

body.single-post.kp-bb-song .kp-song-faq__title {
  margin: 0 0 0.75rem !important;
  font-family: var(--bb-font) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--bb-text) !important;
  letter-spacing: -0.02em;
}

body.single-post.kp-bb-song .kp-song-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.single-post.kp-bb-song .kp-song-faq__item {
  background: var(--bb-surface);
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  padding: 0;
  overflow: hidden;
}

body.single-post.kp-bb-song .kp-song-faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-family: var(--bb-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bb-text);
}

body.single-post.kp-bb-song .kp-song-faq__q::-webkit-details-marker {
  display: none;
}

body.single-post.kp-bb-song .kp-song-faq__q::after {
  content: "+";
  flex-shrink: 0;
  color: var(--bb-muted);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
}

body.single-post.kp-bb-song .kp-song-faq__item[open] > .kp-song-faq__q {
  color: var(--bb-accent);
}

body.single-post.kp-bb-song .kp-song-faq__item[open] > .kp-song-faq__q::after {
  content: "−";
}

body.single-post.kp-bb-song .kp-song-faq__a {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bb-muted);
}

body.single-post.kp-bb-song .kp-song-faq__a a {
  color: var(--bb-accent);
}

/* Legacy faqDisplay fallback (if accordion helper missing) */
body.single-post.kp-bb-song .faqDisplay {
  margin-top: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.kp-song__learn {
  margin: 0;
  font-size: 0.85rem;
}

.kp-song__learn a {
  color: var(--bb-accent);
  font-weight: 600;
  text-decoration: none;
}

.kp-song__learn a:hover {
  text-decoration: underline;
}

/* Soften comments block if present */
body.single-post.kp-bb-song .comments-area {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bb-border);
}

body.single-post.kp-bb-song .comments-title,
body.single-post.kp-bb-song .comment-reply-title {
  font-family: var(--bb-font) !important;
  font-weight: 800 !important;
  color: var(--bb-text) !important;
}

/* -------------------------------------------------------------------------
 * Site dark mode (html[data-theme="dark"]) — full song chrome
 * ------------------------------------------------------------------------- */
html[data-theme="dark"] body.single-post.kp-bb-song,
html[data-theme="dark"] body.single-post.kp-bb-song #page,
html[data-theme="dark"] body.single-post.kp-bb-song .site-content,
html[data-theme="dark"] body.single-post.kp-bb-song #content,
html[data-theme="dark"] body.single-post.kp-bb-song .content-area,
html[data-theme="dark"] body.single-post.kp-bb-song main,
html[data-theme="dark"] body.single-post.kp-bb-song article,
html[data-theme="dark"] body.single-post.kp-bb-song .inside-article,
html[data-theme="dark"] body.single-post.kp-bb-song .entry-content {
  background: var(--bb-bg) !important;
  color: var(--bb-text) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song a {
  color: var(--bb-link);
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__title-block {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__byline {
  color: #94a3b8 !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-chip {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

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

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-secondary,
html[data-theme="dark"] body.single-post.kp-bb-song a.kp-song__hero-secondary {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__hero-info {
  background: color-mix(in srgb, var(--bb-accent) 18%, #1e293b) !important;
  border-color: color-mix(in srgb, var(--bb-accent) 45%, #334155) !important;
  color: #fecaca !important;
}
html[data-theme="dark"] body.single-post.kp-bb-song .breadcrumb,
html[data-theme="dark"] body.single-post.kp-bb-song .rank-math-breadcrumb,
html[data-theme="dark"] body.single-post.kp-bb-song .yoast-breadcrumb,
html[data-theme="dark"] body.single-post.kp-bb-song nav[aria-label="breadcrumb"],
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro p {
  color: var(--bb-text) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .breadcrumb a,
html[data-theme="dark"] body.single-post.kp-bb-song .rank-math-breadcrumb a,
html[data-theme="dark"] body.single-post.kp-bb-song .yoast-breadcrumb a {
  color: var(--bb-muted) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .tags .color2,
html[data-theme="dark"] body.single-post.kp-bb-song .tags a.color2,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__chip {
  background: var(--bb-surface) !important;
  border-color: var(--bb-border) !important;
  color: var(--bb-muted) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body p {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body h1,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body h2,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-intro__body h3 {
  color: #f8fafc !important;
}

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

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

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__notes.tabset,
html[data-theme="dark"] body.single-post.kp-bb-song .tabset,
html[data-theme="dark"] body.single-post.kp-bb-song .tabset > .tab-panels,
html[data-theme="dark"] body.single-post.kp-bb-song .tab-panel,
html[data-theme="dark"] body.single-post.kp-bb-song #music-post-content.default {
  background: var(--bb-surface) !important;
  color: var(--bb-text) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .tabset > label {
  background: var(--bb-surface-2) !important;
  border-color: var(--bb-border) !important;
  color: var(--bb-muted) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .tabset > input:checked + label {
  background: var(--bb-accent) !important;
  border-color: var(--bb-accent) !important;
  color: #fff !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song #music-toolbar,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__toolbar,
html[data-theme="dark"] body.single-post.kp-bb-song #music-toolbar.kp-song__toolbar--pinned {
  background: color-mix(in srgb, #1e293b 94%, transparent) !important;
  border-top-color: #334155 !important;
  border-bottom-color: transparent !important;
  color: #f8fafc !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__rail-card,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-card,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__info-mobile,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-faq__item {
  background: var(--bb-surface) !important;
  border-color: var(--bb-border) !important;
  color: var(--bb-text) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-table th,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-table td,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-faq__q,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-faq__title,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-similar-songs,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-similar-songs a,
html[data-theme="dark"] body.single-post.kp-bb-song #youtube-video-scroll {
  color: var(--bb-text) !important;
  border-color: var(--bb-border) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-info-table th,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song-faq__a {
  color: var(--bb-muted) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics {
  background: var(--bb-surface) !important;
  border-color: var(--bb-border) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics h3,
html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics li a {
  color: var(--bb-text) !important;
  background: var(--bb-bg) !important;
  border-color: var(--bb-border) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .similar-lyrics h3 {
  background: transparent !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song h3#youtube-video-scroll,
html[data-theme="dark"] body.single-post.kp-bb-song .kp-song__section-title {
  color: var(--bb-text) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .comments-area,
html[data-theme="dark"] body.single-post.kp-bb-song .comment-form textarea,
html[data-theme="dark"] body.single-post.kp-bb-song .comment-form input[type="text"],
html[data-theme="dark"] body.single-post.kp-bb-song .comment-form input[type="email"],
html[data-theme="dark"] body.single-post.kp-bb-song .comment-form input[type="url"] {
  background: var(--bb-surface) !important;
  color: var(--bb-text) !important;
  border-color: var(--bb-border) !important;
}

html[data-theme="dark"] body.single-post.kp-bb-song .customTableCard,
html[data-theme="dark"] body.single-post.kp-bb-song table {
  background: transparent !important;
  color: var(--bb-text) !important;
}
