/* Band page theme is strictly scoped to public band profiles. */
#publicProfilePage.rs-band-page.rs-theme-active{background:var(--rs-band-background,#08090c)!important;color:var(--rs-band-text,#fff);position:relative;isolation:isolate;min-height:100vh}
#publicProfilePage.rs-band-page.rs-theme-active:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(rgba(0,0,0,var(--rs-band-overlay,.45)),rgba(0,0,0,var(--rs-band-overlay,.45))),var(--rs-band-image,none);background-size:cover;background-position:center var(--rs-band-position,50%);background-attachment:fixed}
#publicProfilePage.rs-band-page.rs-theme-active .public-panel{background:color-mix(in srgb,var(--rs-band-panel,#17191e) var(--rs-band-opacity,88%),transparent)!important;border:1px solid var(--rs-band-border,#41414a)!important;color:var(--rs-band-text,#fff)!important;border-radius:9px}
#publicProfilePage.rs-band-page.rs-theme-active .public-panel h2,#publicProfilePage.rs-band-page.rs-theme-active .public-panel p,#publicProfilePage.rs-band-page.rs-theme-active .public-id-copy{color:var(--rs-band-text,#fff)!important}
#publicProfilePage.rs-band-page.rs-theme-active #publicLinks a{color:var(--rs-band-link,#fff)!important;border-color:var(--rs-band-border,#41414a)!important;background:var(--rs-band-panel,#17191e)!important}
#publicProfilePage.rs-band-page.rs-theme-active .public-actions button,#publicProfilePage.rs-band-page.rs-theme-active #rsCustomizeButton{border-color:var(--rs-band-accent,#c52238)!important}
#publicProfilePage.rs-band-page.rs-theme-active .rs-theme-hidden{display:none!important}
#publicProfilePage.rs-band-page #rsCustomizeButton{display:inline-block;padding:10px 13px;background:#8b2635;color:white;border:1px solid #c95160;border-radius:5px;cursor:pointer;font-weight:800;font-size:12px}
#publicProfilePage.rs-band-page #rsCustomizeButton[hidden]{display:none!important}
#publicProfilePage.rs-band-page #publicLinks .rs-link-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:var(--rs-platform-color,#444);color:#fff}
#publicProfilePage.rs-band-page #publicLinks .rs-link-mark img{width:24px;height:24px;object-fit:contain;filter:brightness(0) invert(1)}
#publicProfilePage.rs-band-page #publicLinks .rs-link-mark img:not([src]){display:none}
#rsBandCustomize{box-sizing:border-box;width:min(640px,calc(100vw - 20px));max-width:640px;max-height:90vh;overflow-y:auto;background:#101217;color:#f4f4f4;border:1px solid #555861;border-radius:12px;padding:22px;box-shadow:0 20px 80px #000a}
#rsBandCustomize::backdrop{background:#000b}
.rs-cust-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.rs-cust-header h2{margin:0;font-size:22px}
#rsCustClose{background:transparent;color:white;border:0;font-size:29px;cursor:pointer}
.rs-cust-intro,.rs-cust-note{color:#b7bac1;font-size:13px;line-height:1.5}
.rs-cust-tabs{display:flex;gap:7px;margin:18px 0;border-bottom:1px solid #41444c;padding-bottom:10px}
.rs-cust-tabs button{background:#252830;color:white;border:1px solid #41444c;padding:11px 13px;border-radius:5px;cursor:pointer;font-weight:700}
.rs-cust-tabs button[aria-selected=true]{background:#a5283e;border-color:#d34c63}
.rs-cust-pane[hidden]{display:none!important}
.rs-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rs-color-grid label{display:flex;align-items:center;justify-content:space-between;background:#202329;padding:11px;gap:12px;border-radius:5px;font-size:13px}
.rs-color-grid input{width:48px;height:33px;cursor:pointer}
.rs-range-label,.rs-cust-field{display:flex;flex-direction:column;gap:8px;margin:17px 0;font-size:13px}
.rs-range-label input{width:100%}
.rs-cust-field input{padding:10px;color:#fff;background:#23262d;border:1px solid #555861;border-radius:5px;max-width:100%;box-sizing:border-box}
.rs-cust-image-preview{height:145px;border:1px solid #555861;background-color:#202329;background-size:cover;background-position:center;display:grid;place-items:center;color:#ddd;border-radius:6px}
.rs-sort-row{display:flex;align-items:center;gap:10px;padding:11px 8px;background:#202329;border:1px solid #41444c;border-radius:6px;margin:7px 0}
.rs-sort-handle{font-size:21px;cursor:grab}.rs-sort-name{flex:1;font-size:13px;font-weight:700}
.rs-sort-row button{color:white;background:#373b45;border:1px solid #575d69;padding:7px 10px;cursor:pointer;border-radius:4px}
.rs-sort-row button:disabled{opacity:.35;cursor:default}.rs-sort-row input{width:18px;height:18px;accent-color:#c62c43}
.rs-cust-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:20px;border-top:1px solid #41444c;padding-top:17px}
.rs-cust-actions button,#rsRemoveBackground{padding:11px 13px;border-radius:5px;cursor:pointer;color:white;border:1px solid #595d68}
.rs-cust-primary{background:#af263b}.rs-cust-subtle{background:#252830}
#rsCustStatus{min-height:1em;color:#efbfc6;font-size:13px}
@media(max-width:600px){.rs-color-grid{grid-template-columns:1fr}.rs-cust-tabs button{flex:1;font-size:11px;padding:11px 5px}#rsBandCustomize{padding:15px}#publicProfilePage.rs-band-page.rs-theme-active:before{background-attachment:scroll}}

#publicProfilePage.rs-band-page.rs-theme-active>.public-profile-wrap{position:relative;z-index:1}

/* Shared heading color: band name and all section headings, without altering body text. */
#publicProfilePage.rs-band-page.rs-theme-active #publicName,
#publicProfilePage.rs-band-page.rs-theme-active .public-panel h2,
#publicProfilePage.rs-band-page.rs-theme-active .gallery-heading h2{color:var(--rs-band-heading,#fff)!important}
