/* Zamaskandi identity. Palette values are validated in SiteAppearance. */
html body.zama-themed.zama-themed.zama-themed{background:var(--z-background)!important;color:var(--z-text)!important;color-scheme:normal}
html body.zama-themed.zama-themed.zama-themed :is(h1,h2,h3,h4,h5,h6,strong,.song-title,.album-title,.artist-name,.news-title,.track-title){color:var(--z-text)!important}
html body.zama-themed.zama-themed.zama-themed :is(.upload-card,.music-card,.song-card,.album-card,.ep-card,.artist-card,.news-card,.sidebar-widget,.music-player,.custom-player,.song-info-card,.album-info-card,.music-info-card,.music-metadata-card,.metadata-card,.info-card,.tracklist,.tracklist-container,.album-tracklist,.news-article,.artist-content,.artist-profile,.comment-form,.comments-section,.comment-item,.share-section,.widget,.search-results,.playlist-player){background:var(--z-surface)!important;color:var(--z-text)!important;border-color:var(--z-border)!important;border-radius:var(--z-radius)!important}
html body.zama-themed.zama-themed.zama-themed :is(.music-container,.music-main,.music-wrapper,.homepage-layout,.homepage-main,.homepage-sidebar,.container,.song-page,.album-page,.artist-page,.news-layout,.news-main,.global-content-layout,.global-main-content){color:var(--z-text)}
html body.zama-themed.zama-themed.zama-themed :is(.upload-card,.artist-card,.sidebar-widget,.music-card,.news-card){border:1px solid var(--z-border)!important;box-shadow:0 8px 24px #0000000a}
html body.zama-themed.zama-themed.zama-themed :is(.upload-content,.album-content,.song-content,.news-content,.artist-info,.track-item,.track-row,.album-track,.playlist-track,.comment-content,.info-item,.metadata-item,.music-metadata-item){background:var(--z-surface)!important;border-color:var(--z-border)!important;color:var(--z-text)!important}
html body.zama-themed.zama-themed.zama-themed :is(p,.upload-content p,.trend-info span,.song-meta,.album-meta,.artist-meta,.news-meta,.post-meta,.song-published,.music-meta,.track-duration,.info-label,.metadata-label,.music-meta-label,.music-metadata-label,time,small){color:var(--z-muted)!important}
html body.zama-themed.zama-themed.zama-themed :is(.song-description,.album-description,.music-description,.news-content,.artist-biography,.content-reading){color:var(--z-text)!important;line-height:1.85}
html body.zama-themed.zama-themed.zama-themed :is(.song-description p,.album-description p,.music-description p,.news-content p,.artist-biography p){color:var(--z-text)!important}
html body.zama-themed.zama-themed.zama-themed :is(.content-auto-link,.song-page .song-description a,.album-page .music-description a,.news-content a,.artist-link,.breadcrumbs a,.song-breadcrumb a,.album-breadcrumb a,.artist-description a,.view-all,.read-more){color:var(--z-link)!important;text-decoration-color:var(--z-link)!important}
html body.zama-themed.zama-themed.zama-themed :is(.upload-title a,.upload-content h3 a,.news-card h2 a,.news-upload-card h2 a,.trend-info strong,.artist-card a){color:var(--z-text)!important}
html body.zama-themed.zama-themed.zama-themed :is(a:hover,.view-all:hover,.main-navigation a:hover){color:var(--z-link)!important}
html body.zama-themed.zama-themed.zama-themed :is(.artist-btn,.download-btn,.download-button,.download-link,.btn-download,.play-button,.player-play-btn,.player-play,.custom-play-btn,.music-play-btn,.album-play-button,.playlist-play,.track-play,.submit-comment,.comment-submit,.search-submit,button[type=submit],.card-play-button,.btn-primary){background:var(--z-accent)!important;color:var(--z-button_text)!important;border-color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed :is(.artist-btn,.download-btn,.download-button,.btn-primary,button[type=submit]):hover{background:var(--z-accent_hover)!important;color:var(--z-button_text)!important}
html body.zama-themed.zama-themed.zama-themed :is(.upload-type,.music-type,.song-type,.genre-tag,.taxonomy-tag,.music-taxonomy-tag,.album-type,.track-number,.trend-number){color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed :is(.upload-type,.music-type,.song-type,.genre-tag,.taxonomy-tag,.music-taxonomy-tag){background:var(--z-raised)!important;border-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed :is(input,textarea,select){background:var(--z-raised)!important;color:var(--z-text)!important;border-color:var(--z-border)!important;accent-color:var(--z-accent)}
html body.zama-themed.zama-themed.zama-themed :is(input,textarea)::placeholder{color:var(--z-muted)!important;opacity:1}
html body.zama-themed.zama-themed.zama-themed :is(input,textarea,select):focus{outline:2px solid var(--z-accent)!important;outline-offset:2px}
html body.zama-themed.zama-themed.zama-themed :is(.widget-header,.section-header,.music-section,.comments-header,.tracklist-header,hr){border-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed :is(.site-header,.simple-header,.zamaskandi-responsive-header){background:var(--z-header)!important;color:var(--z-header_text)!important;border-bottom:1px solid var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed .zamaskandi-responsive-header :is(.main-navigation,.header-search){background:var(--z-header)!important;color:var(--z-header_text)!important;border-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed .zamaskandi-responsive-header :is(.main-navigation a,.site-logo,.header-search input,.header-search button){color:var(--z-header_text)!important;background:transparent!important}
html body.zama-themed.zama-themed.zama-themed .zamaskandi-responsive-header .main-navigation a:hover{color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed .mobile-menu-toggle span{background:var(--z-header_text)!important}
html body.zama-themed.zama-themed.zama-themed .mobile-search-toggle{color:var(--z-header_text)!important;border-color:var(--z-header_text)!important}
html body.zama-themed.zama-themed.zama-themed .site-logo.zama-wordmark{display:flex!important;align-items:center;gap:10px;min-width:0;text-decoration:none!important}
html body.zama-themed.zama-themed.zama-themed .site-logo.zama-wordmark img{height:38px!important;width:38px!important;object-fit:contain}
html body.zama-themed.zama-themed.zama-themed .zama-wordmark>span{display:flex;flex-direction:column;line-height:1.1;font-size:23px;letter-spacing:-.8px;font-weight:850;color:var(--z-header_text)!important}
html body.zama-themed.zama-themed.zama-themed .zama-wordmark .zama-wordmark-domain{font-size:9px;letter-spacing:2px;text-transform:uppercase;font-weight:600;margin-top:5px;color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed :is(.site-footer,.footer-main,.footer-bottom){background:var(--z-footer)!important;color:var(--z-footer_text)!important;border-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed .site-footer :is(h2,h3,h4,p,a,span){color:var(--z-footer_text)!important}
html body.zama-themed.zama-themed.zama-themed .site-footer a:hover{color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed .site-footer .social-icons a{background:var(--z-raised)!important;border:1px solid var(--z-border)}
html body.zama-themed.zama-themed.zama-themed :is(.pagination a,.pagination span,.pagination button,.page-link){background:var(--z-surface)!important;color:var(--z-text)!important;border-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed :is(.pagination .active,.page-item.active .page-link,.pagination [aria-current=page]){background:var(--z-accent)!important;color:var(--z-button_text)!important}
html body.zama-themed.zama-themed.zama-themed :is(.music-progress,.player-progress,.progress-bar,.track-progress){accent-color:var(--z-accent);background-color:var(--z-border)!important}
html body.zama-themed.zama-themed.zama-themed :is(.music-progress-fill,.progress-fill,.player-progress-fill){background:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed .homepage-main>h1{font-size:clamp(1.65rem,3.2vw,2.65rem)!important;letter-spacing:-.045em;line-height:1.15;margin:28px 0!important;max-width:700px}
html body.zama-themed.zama-themed.zama-themed .homepage-main>h1:before{content:'ZAMASKANDI.CO.ZA / MUSIC & CULTURE';display:block;font-size:9px;letter-spacing:2px;margin-bottom:14px;color:var(--z-accent);font-weight:700}
html body.zama-themed.zama-themed.zama-themed :focus-visible{outline:2px solid var(--z-accent)!important;outline-offset:4px}
@media(max-width:768px){html body.zama-themed.zama-themed.zama-themed .zama-wordmark>span{font-size:21px}html body.zama-themed.zama-themed.zama-themed .site-logo.zama-wordmark img{width:32px!important;height:32px!important}html body.zama-themed.zama-themed.zama-themed .zama-wordmark .zama-wordmark-domain{font-size:7px;letter-spacing:1.6px}}
html body.zama-themed.zama-themed.zama-themed :is(.play-btn,.album-track-play,.album-play-all){background:var(--z-accent)!important;color:var(--z-button_text)!important;border-color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed :is(.download-btn,.artist-btn,.play-btn,.album-track-play) :is(span,strong,small,i,svg){color:var(--z-button_text)!important}
html body.zama-themed.zama-themed.zama-themed :is(.related-card,.album-tracklist-card){background:var(--z-surface)!important;color:var(--z-text)!important;border-color:var(--z-border)!important;border-radius:var(--z-radius)!important}
html body.zama-themed.zama-themed.zama-themed :is(.player-time,.track-featuring,.tracklist-meta,.track-artist,.album-track-time,.album-tracklist-context){color:var(--z-muted)!important}
html body.zama-themed.zama-themed.zama-themed :is(.player-genre,.track-view,.tracklist-label){color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed .homepage-main h1{font-size:clamp(1.65rem,3.2vw,2.65rem)!important;letter-spacing:-.045em;line-height:1.15;margin:28px 0!important;max-width:700px}
html body.zama-themed.zama-themed.zama-themed .homepage-main h1:before{content:'ZAMASKANDI.CO.ZA / MUSIC & CULTURE';display:block;font-size:9px;letter-spacing:2px;margin-bottom:14px;color:var(--z-accent);font-weight:700}

/* ===================================================================
   Zamaskandi coverage patch (v3 — 2026-10-27)
   The resold script hardcodes a dark palette with !important on layout
   wrappers and a few high-specificity selectors, so presets could not
   recolor them. These rules re-point those spots at the --z-* palette
   (adapts to ANY preset). Colours / backgrounds / borders only.
=================================================================== */

/* Layout wrappers -> show the page background instead of forced near-black */
html body.zama-themed.zama-themed.zama-themed :is(.home-section,.homepage-layout,.homepage-main,.homepage-sidebar,.container,.global-content-layout,.global-main-content,.music-wrapper,.music-main,.music-container,.music-section,.song-page,.album-page,.ep-page,.news-page,.artist-page,.music-page,.news-layout,.news-main,.song-top-header,.album-details,.music-ad){background:transparent!important}

/* Panels & cards the script forces dark -> surface */
html body.zama-themed.zama-themed.zama-themed :is(.song-details,.about-song,.about-content,.song-card,.ep-info-card,.song-info-card,.album-info-card,.music-info-card,.album-tracklist-card,.tracklist,.tracklist-container,.album-tracklist,.tracks,.info-item,.album-track,.related-card,.comment-item,.comment-form){background:var(--z-surface)!important;border-color:var(--z-border)!important;color:var(--z-text)!important}

/* Inner text the script pins to #fff / grey / red */
html body.zama-themed.zama-themed.zama-themed :is(.info-item,.album-track) :is(strong,.track-title){color:var(--z-text)!important}
html body.zama-themed.zama-themed.zama-themed .info-item span{color:var(--z-muted)!important}
html body.zama-themed.zama-themed.zama-themed .info-item a,html body.zama-themed.zama-themed.zama-themed .info-item strong a,html body.zama-themed.zama-themed.zama-themed .track-title-link,html body.zama-themed.zama-themed.zama-themed .featured-link{color:var(--z-link)!important}

/* Breadcrumbs forced red */
html body.zama-themed.zama-themed.zama-themed :is(.song-breadcrumb,.album-breadcrumb,.music-breadcrumb,.breadcrumbs) :is(a,span){color:var(--z-link)!important}
html body.zama-themed.zama-themed.zama-themed :is(.song-breadcrumb,.album-breadcrumb,.music-breadcrumb) .current{color:var(--z-muted)!important}

/* Tracklist accents + headings */
html body.zama-themed.zama-themed.zama-themed :is(.track-number,.trend-number){color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed :is(.track-view,.tracklist-label,.tracklist-heading){color:var(--z-accent)!important}
html body.zama-themed.zama-themed.zama-themed .album-tracklist-card :is(.tracklist-heading,.track-title){color:var(--z-text)!important}

/* Native audio control stays legible on every palette */
html body.zama-themed.zama-themed.zama-themed audio.track-player{color-scheme:light}

/* Tags / pills the script + head style force red */
html body.zama-themed.zama-themed.zama-themed :is(.artist-tag,.music-taxonomy-tag,.album-artist-tag,.news-tag,.genre-tag){background:var(--z-raised)!important;color:var(--z-accent)!important;border-color:var(--z-border)!important}
