/* v53: complete the v52 content palette inside legacy page components.
   All rules stay inside the content root; shell/player surfaces are unaffected. */
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-chart-stage,.mm-chart-stage,.mm-home15,.mm-discovery-section) {
 background:transparent!important;color:var(--mm52-text)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-wrap,.mm-home15-shell,.mm-track,.mm-av) {color:var(--mm52-text)!important}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-chart-head h1,.mm-d23-search-head h1,.mm-d23-section-head h2,.mm-d23-search-section h2,.mm-home15-head h1,.mm-home-section-head h2,.mm-discovery-head h2,.mm-track h1,.mm-lyrics h2,.mm-av-name,.mm-av-artist,.mm-av-title,.mm-d23-track-title,.mm-d23-artist,.mm-d23-artist-name,.mm-compact-title,.mm-genre-album-card strong,.mm-d23-albums a,.mm-rail-title) {
 color:var(--mm52-text)!important;-webkit-text-fill-color:currentColor!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-eyebrow,.mm-d23-help,.mm-d23-range,.mm-d23-track-meta,.mm-d23-track-meta a,.mm-d23-search-section h2 small,.mm-d23-albums small,.mm-home15-head p,.mm-compact-artist,.mm-genre-album-card small,.mm-context-kicker,.mm-discovery-head p,.mm-rail-empty,.mm-rail-meta,.mm-artist,.mm-av-meta,.mm-av-num,.mm-av-sub,.mm-cue) {
 color:var(--mm52-muted)!important;-webkit-text-fill-color:currentColor!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-back,.mm-d23-section-head a,.mm-home15-link,.mm-home-section-head a,.mm-genre-album-card em,.mm-av-genre,.mm-youtube,.mm-lang a) {color:var(--mm52-text)!important}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-empty,.mm-d23-middle-artists,.mm-now) {
 background:var(--mm52-soft)!important;color:var(--mm52-muted)!important;border:1px solid var(--mm52-line)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-track,.mm-d23-range,.mm-d23-search-section,.mm-compact-item,.mm-av-row) {border-color:var(--mm52-line)!important}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-track,.mm-d23-artist,.mm-compact-item,.mm-av-row):is(:hover,:focus-within) {
 background:var(--mm52-hover)!important;box-shadow:none!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-genre-form,.mm-player-page,.mm-lyrics,.mm-owner-modal,.mm-av-top) {
 background:var(--mm52-bg)!important;color:var(--mm52-text)!important;border-color:var(--mm52-line)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-genre-chips a,.mm-d23-genre-row,.mm-d23-secondary,.mm-owner-edit,.mm-owner-actions .soft) {
 background:var(--mm52-soft)!important;color:var(--mm52-text)!important;border-color:var(--mm52-line)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-genre-row.is-primary,.mm-cue.active) {
 background:var(--mm52-selected)!important;color:var(--mm52-text)!important;border-color:var(--mm52-edge)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-genre-form h1,.mm-d23-genre-form h2,.mm-d23-genre-row label,.mm-d23-genre-chips small,.mm-txt-mobile,.mm-now,.mm-d23-rank b) {color:var(--mm52-text)!important}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-search-form input,.mm-d23-genre-row select,.mm-d23-genre-tools button,.mm-owner-modal textarea) {
 background:var(--mm52-soft)!important;color:var(--mm52-text)!important;border-color:var(--mm52-edge)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-search-form input,.mm-owner-modal textarea)::placeholder {color:var(--mm52-muted)!important;opacity:1}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-primary,.mm-lyrics-btn,.mm-owner-actions .save) {
 background:var(--mm52-button)!important;color:var(--mm52-button-text)!important;border-color:var(--mm52-button)!important;
}
body.mm-shell-v19.mm-palette-v52 #container.mm-site-main :is(.mm-d23-wrap,.mm-home15,.mm-track,.mm-av) :is(a,button,input,select,textarea):focus-visible {outline:2px solid var(--mm52-ring)!important;outline-offset:3px}
