/* Continuous music browsing: preserve original theme/player in the top document. */
html.sss-music-framed .sss-custom-header,
html.sss-music-framed .sss-custom-footer,
html.sss-music-framed #wpadminbar,
html.sss-music-framed .sssf-mp3-mini,
html.sss-music-framed .sssm-store #sssm-restore{display:none!important;}
html.sss-music-framed, html.sss-music-framed body {margin-top:0!important;scroll-padding-top:0!important;}
html.sss-music-framed .sss-site-content{min-height:100vh;}
body.sss-music-browsing{overflow:hidden!important;}
body.sss-music-browsing>.sss-site-content{visibility:hidden!important;}
#sss-continuous-music-frame{position:fixed;left:0;right:0;bottom:0;width:100%;height:calc(100dvh - var(--sss-music-frame-top,80px));top:var(--sss-music-frame-top,80px);border:0;background:var(--sss-page,#151a1c);z-index:600;display:block;}
body.sss-music-browsing .sssf-mp3-mini{z-index:9500!important;}
#sss-continuous-music-error{position:fixed;z-index:10001;left:20px;bottom:20px;right:20px;max-width:600px;border:1px solid var(--sss-border);padding:15px;border-radius:9px;background:var(--sss-panel);color:var(--sss-text);box-shadow:0 6px 25px #0007}
@media(max-width:782px){#sss-continuous-music-frame{height:calc(100dvh - var(--sss-music-frame-top,80px));}}
@media print{#sss-continuous-music-frame{display:none!important}body.sss-music-browsing>.sss-site-content{visibility:visible!important}}

/* v1.2.7: the outer document remains alive to play music, but its page
   narration dock belongs to the hidden original page. Only the visible
   iframe page should offer READ controls. Keep the iframe's dock intact. */
body.sss-music-browsing > #sssf-page-voice,
body.sss-music-browsing > #sssf-page-voice-reopen {
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
