/*
Theme Name:  MusicBank Child
Description: Child theme of MusicBank Theme — black/red dark theme with dynamic band color theming.
Template:    musicbank-theme
Version:     1.0.0
Text Domain: musicbank
*/

/* ============================================================
   Variables
   ============================================================ */

:root {
    --mb-primary:      #cc0000;
    --mb-primary-dark: #990000;
    --mb-primary-text: #fff;
    --mb-dark:         #111111;
    --mb-light:        #1a1a1a;
    --mb-border:       #2a2a2a;
    --mb-text:         #f0f0f0;
    --mb-muted:        #666;
    --mb-radius:       0px;
    --mb-shadow:       0 2px 16px rgba(0,0,0,0.7);
}

/* ============================================================
   Base + sticky footer
   ============================================================ */

html { height: 100%; }

body {
    background: #111;
    color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Push footer to bottom on short pages */
#mb-site-content {
    flex: 1;
}

a { color: var(--mb-primary); }
a:hover { opacity: 0.85; }

h1, h2, h3, h4 { color: #fff; }

/* ============================================================
   Sharp edges — zero out all hardcoded border-radius
   ============================================================ */

.mb-btn,
.mb-nav-list a,
.mb-textarea,
.mb-search-input,
.mb-filter-btn,
.mb-tier-badge,
.mb-genre-tag,
.mb-social-link,
.mb-social-icon-link,
.mb-gp-thumb,
.mb-band-logo-img,
.mb-band-logo-placeholder,
.mb-band-card-logo,
.mb-card-band-logo,
.mb-card-band-logo-placeholder,
.mb-byline-logo,
.mb-band-tabs,
.mb-post-image,
input,
textarea,
select,
button {
    border-radius: 0 !important;
}

/* ============================================================
   Global form elements
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #f0f0f0;
    font-family: var(--mb-font);
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--mb-primary);
}

input::placeholder,
textarea::placeholder { color: #555; }

/* Override browser autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    caret-color: #f0f0f0;
}

label { color: #aaa; font-size: 13px; display: block; margin-bottom: 4px; }

/* Submit / button defaults */
input[type="submit"],
button[type="submit"] {
    background: var(--mb-primary);
    color: var(--mb-primary-text, #fff);
    border: none;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
}

input[type="submit"]:hover,
button[type="submit"]:hover { background: var(--mb-primary-dark); }

/* ============================================================
   Buttons
   ============================================================ */

.mb-btn {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mb-btn-primary { background: var(--mb-primary); color: var(--mb-primary-text, #fff); }
.mb-btn-primary:hover { background: var(--mb-primary-dark); opacity: 1; }

.mb-btn-outline {
    border: 1px solid var(--mb-primary);
    color: var(--mb-primary);
    background: transparent;
}
.mb-btn-outline:hover { background: var(--mb-primary); color: var(--mb-primary-text, #fff); opacity: 1; }

/* ============================================================
   Header
   ============================================================ */

.mb-site-header { background: #000; border-bottom: 1px solid #2a2a2a; box-shadow: none; }
.mb-main-nav.mb-nav-open { background: #000; border-bottom: 1px solid #2a2a2a; }

/* Icon button (search) */
.mb-icon-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.mb-icon-btn:hover { color: #fff; }

/* Slide-down search bar */
.mb-search-bar {
    background: #000;
    border-top: 1px solid #2a2a2a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;
    padding: 0;
}
.mb-search-bar.mb-search-open {
    max-height: 80px;
    padding: 10px 0;
}
.mb-search-bar form {
    display: flex;
    gap: 0;
}
.mb-search-bar input[type="search"] {
    flex: 1;
    background: #111;
    border: 1px solid #2a2a2a;
    border-right: none;
    color: #f0f0f0;
    padding: 10px 16px;
    font-size: 14px;
}
.mb-search-bar input[type="search"]:focus { border-color: var(--mb-primary); outline: none; }
.mb-search-bar button[type="submit"] {
    background: var(--mb-primary);
    color: var(--mb-primary-text, #fff);
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}
.mb-search-bar button[type="submit"]:hover { background: var(--mb-primary-dark); }

/* User menu */
.mb-user-menu { position: relative; }

.mb-user-toggle {
    background: none;
    border: 1px solid #2a2a2a;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 4px;
    transition: border-color 0.15s;
}
.mb-user-toggle:hover { border-color: #555; }

.mb-user-avatar {
    width: 26px;
    height: 26px;
    object-fit: cover;
    display: block;
}

.mb-user-initial {
    width: 26px;
    height: 26px;
    background: var(--mb-primary);
    color: var(--mb-primary-text, #fff);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-caret { color: #666; transition: transform 0.15s; }
.mb-user-dropdown.mb-dropdown-open ~ * .mb-caret,
.mb-user-toggle[aria-expanded="true"] .mb-caret { transform: rotate(180deg); }

/* Dropdown panel */
.mb-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: #111;
    border: 1px solid #2a2a2a;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.mb-user-dropdown.mb-dropdown-open { display: block; }

.mb-dropdown-header {
    padding: 12px 14px;
}
.mb-dropdown-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mb-dropdown-email {
    display: block;
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-dropdown-divider { border-top: 1px solid #2a2a2a; }

.mb-dropdown-item {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: background 0.1s, color 0.1s;
}
.mb-dropdown-item:hover { background: #1a1a1a; color: #fff; opacity: 1; }
.mb-dropdown-logout { color: var(--mb-primary); }
.mb-dropdown-logout:hover { background: rgba(204,0,0,0.1); color: var(--mb-primary); }

/* ============================================================
   Global player bar
   ============================================================ */

.mb-global-player { background: #000; border-top: 1px solid #2a2a2a; }

/* ============================================================
   Cards & content surfaces
   ============================================================ */

.mb-widget,
.mb-post-article,
.mb-post-card,
.mb-band-bio,
.mb-band-card,
.mb-band-tabs {
    background: #1a1a1a;
    color: #f0f0f0;
    box-shadow: none;
    border: 1px solid #2a2a2a;
}

.mb-post-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.6); border-color: #3a3a3a; }
.mb-band-card { border-color: var(--card-accent, #2a2a2a); border-top-width: 2px; }
.mb-band-card:hover { border-color: var(--card-accent, var(--mb-primary)); box-shadow: 0 8px 28px var(--card-glow, rgba(204,0,0,0.22)); transform: translateY(-3px); }

.mb-card-footer       { border-top: 1px solid #2a2a2a; }
.mb-card-band-name    { color: #f0f0f0; }
.mb-card-title a      { color: #fff; }
.mb-card-title a:hover { color: var(--mb-primary); }
.mb-card-excerpt      { color: #888; }

/* ============================================================
   Widget titles — uppercase treatment
   ============================================================ */

.mb-widget-title {
    color: var(--mb-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

/* Section labels across the site */
.mb-section-label,
.mb-comments-title,
.mb-directory-header h1 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   Band header & profile
   ============================================================ */

.mb-band-header            { background: #000; }
.mb-band-cover-overlay     { background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.95)); }
.mb-band-identity-bar      { background: #000; border-bottom: 1px solid #2a2a2a; }
.mb-band-logo-img          { border: 2px solid #2a2a2a; }
.mb-band-logo-placeholder  { border: 2px solid #2a2a2a; }
.mb-band-card-cover        { background: #111; }
.mb-band-card-name         { color: #fff; }
.mb-band-tab               { color: #666; }
.mb-band-tab:hover         { color: var(--mb-primary); opacity: 1; }
.mb-band-tab.active        { color: var(--mb-primary); border-bottom-color: var(--mb-primary); }

/* ============================================================
   Filters, search, load-more
   ============================================================ */

.mb-filter-btn {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #aaa;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.mb-filter-btn:hover         { border-color: var(--mb-primary); color: var(--mb-primary); }
.mb-filter-btn.active        { background: var(--mb-primary); color: var(--mb-primary-text, #fff); border-color: var(--mb-primary); }

.mb-search-input {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #f0f0f0;
}
.mb-search-input::placeholder { color: #555; }
.mb-search-input:focus        { border-color: var(--mb-primary); outline: none; }

#mb-load-more,
#mb-load-more-bands {
    background: #1a1a1a;
    color: var(--mb-primary);
    border: 1px solid var(--mb-primary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}
#mb-load-more:hover,
#mb-load-more-bands:hover { background: var(--mb-primary); color: var(--mb-primary-text, #fff); opacity: 1; }

/* ============================================================
   Comments
   ============================================================ */

.mb-comments-wrap { border-top: 1px solid #2a2a2a; padding-top: 24px; margin-top: 24px; }
.mb-comments-title { color: var(--mb-primary); font-size: 11px; letter-spacing: 0.1em; margin-bottom: 20px; }
.mb-textarea { background: #1a1a1a; border: 1px solid #2a2a2a; color: #f0f0f0; }
.mb-textarea:focus { border-color: var(--mb-primary); outline: none; }
.mb-textarea::placeholder { color: #555; }

/* WP default comment form */
#commentform input,
#commentform textarea { background: #1a1a1a; border: 1px solid #2a2a2a; color: #f0f0f0; }
#commentform label    { color: #666; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }

/* ============================================================
   Social links
   ============================================================ */

.mb-social-link       { background: #1a1a1a; color: #f0f0f0; border: 1px solid #2a2a2a; }
.mb-social-link:hover { background: #222; border-color: #3a3a3a; }

/* ============================================================
   Tier badges
   ============================================================ */

.mb-tier-free   { background: #0a1a0a; color: #4caf50; border: 1px solid #1a3a1a; }
.mb-tier-bronze { background: #1a0a00; color: #ff6e40; border: 1px solid #3a1a00; }
.mb-tier-silver { background: #1a1a1a; color: #90a4ae; border: 1px solid #2a3a3a; }
.mb-tier-gold   { background: #1a1200; color: #ffc107; border: 1px solid #3a2a00; }

/* ============================================================
   Genre tags
   ============================================================ */

.mb-genre-tag {
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.3);
    color: var(--mb-primary);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.06em;
    font-weight: 700;
}

/* ============================================================
   Footer
   ============================================================ */

.mb-site-footer       { background: #000; border-top: 1px solid #2a2a2a; margin-top: 0; }

.mb-footer-main       { padding: 28px 0 20px; }

.mb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
}

.mb-footer-brand .mb-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.mb-footer-tagline {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    max-width: 220px;
}

.mb-footer-heading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mb-primary);
    margin-bottom: 8px;
}

.mb-footer-col ul          { list-style: none; margin: 0; padding: 0; }
.mb-footer-col ul li       { margin-bottom: 5px; }
.mb-footer-col ul li a     { color: #666; font-size: 13px; text-decoration: none; transition: color 0.15s; }
.mb-footer-col ul li a:hover { color: #fff; opacity: 1; }

.mb-footer-bar {
    border-top: 1px solid #1a1a1a;
    padding: 16px 0;
}

.mb-footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.mb-footer-bar p       { font-size: 12px; color: #444; }

.mb-footer-legal       { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.mb-footer-legal li a  { font-size: 12px; color: #444; text-decoration: none; transition: color 0.15s; }
.mb-footer-legal li a:hover { color: #fff; opacity: 1; }

@media (max-width: 860px) {
    .mb-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .mb-footer-grid         { grid-template-columns: 1fr; }
    .mb-footer-bar-inner    { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Sidebar widgets — lists (Archives, Categories, etc.)
   ============================================================ */

.mb-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mb-widget ul li {
    border-bottom: 1px solid #2a2a2a;
}

.mb-widget ul li:last-child { border-bottom: none; }

.mb-widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.15s;
    text-decoration: none;
}

.mb-widget ul li a::after {
    content: '›';
    color: #333;
    font-size: 16px;
    transition: color 0.15s;
}

.mb-widget ul li a:hover,
.mb-widget ul li a:hover::after {
    color: var(--mb-primary);
    opacity: 1;
}

/* ============================================================
   Skeleton loading — dark shimmer
   ============================================================ */

.mb-skeleton-card {
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 800px 100%;
    border: 1px solid #2a2a2a;
}

/* ============================================================
   Login & register pages — [mb_login] / [mb_register]
   ============================================================ */

.mb-login-wrap,
.mb-register-wrap {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 32px;
    max-width: 480px;
    margin: 40px auto;
}

.mb-reg-field label { color: #666; }

.mb-reg-field input:focus,
.mb-account-input:focus { border-color: var(--mb-primary) !important; }

/* Required asterisk & pink links */
.mb-req                 { color: var(--mb-primary) !important; }
.mb-reg-login-link a    { color: var(--mb-primary) !important; }
.mb-login-links a       { color: var(--mb-primary) !important; }
.mb-reg-login-link      { color: #555; }
.mb-login-links         { color: #555; }

/* Submit button */
.mb-reg-submit {
    background: var(--mb-primary) !important;
    border-radius: 0 !important;
    color: var(--mb-primary-text, #fff) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px !important;
}
.mb-reg-submit:hover { background: var(--mb-primary-dark) !important; }

/* Password strength bar */
.mb-password-strength { background: #2a2a2a !important; }

/* Alerts */
.mb-reg-error {
    background: rgba(204,0,0,0.1) !important;
    color: #ff6b6b !important;
    border: 1px solid rgba(204,0,0,0.3) !important;
}
.mb-reg-success {
    background: rgba(76,175,80,0.1) !important;
    color: #4caf50 !important;
    border: 1px solid rgba(76,175,80,0.3) !important;
}

/* ============================================================
   Account page — [mb_account] shortcode
   ============================================================ */

.mb-account-wrap { color: #f0f0f0; }

/* Tab nav */
.mb-account-tabs {
    border-bottom-color: #2a2a2a;
}

.mb-account-tab {
    color: #555;
    background: none;
    border-bottom-color: transparent;
}

.mb-account-tab:hover { color: #aaa; }

.mb-account-tab.is-active {
    color: var(--mb-primary);
    border-bottom-color: var(--mb-primary);
}

.mb-account-tab-count {
    background: var(--mb-primary);
    border-radius: 0;
}

/* Cards */
.mb-account-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    color: #f0f0f0;
}

.mb-account-card-title { color: #fff; }

/* Table */
.mb-account-table th {
    color: #555;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #2a2a2a;
}

.mb-account-table td { border-bottom: 1px solid #1a1a1a; }

.mb-account-table tr:last-child td { border-bottom: none; }

/* Tier badges — extra tiers not in base theme */
.mb-tier-fan      { background: #0a1020; color: #5b9bd5; border: 1px solid #1a3050; }
.mb-tier-supporter { background: #1f0a10; color: #e57399; border: 1px solid #3f1a20; }
.mb-tier-superfan  { background: #1a1200; color: #ffc107; border: 1px solid #3a2a00; }

/* Hardcoded pink overrides — account.css uses #e1306c throughout */
.mb-account-tab.is-active           { color: var(--mb-primary) !important; border-bottom-color: var(--mb-primary) !important; }
.mb-account-tab-count               { background: var(--mb-primary) !important; }
.mb-account-table a:hover           { color: var(--mb-primary) !important; }
.mb-follow-row a:hover              { color: var(--mb-primary) !important; }
.mb-account-field input:focus,
.mb-account-input:focus             { border-color: var(--mb-primary) !important; }
.mb-account-wrap .mb-btn-primary    { background: var(--mb-primary) !important; }
.mb-account-wrap .mb-btn-primary:hover { background: var(--mb-primary-dark) !important; }
.mb-account-wrap .mb-btn-outline    { color: var(--mb-primary) !important; border-color: var(--mb-primary) !important; border-radius: 0 !important; }
.mb-account-wrap .mb-btn-outline:hover { background: var(--mb-primary) !important; color: var(--mb-primary-text, #fff) !important; }

/* Manage toggle */
.mb-btn-link { color: #aaa; }
.mb-btn-link:hover { color: #fff; opacity: 1; }

.mbs-manage-row { background: #111; }
.mbs-inline-manage { border-top: 1px solid #2a2a2a; }
.mbs-manage-label { color: #666; }
.mbs-canceled-notice { color: #666 !important; }

/* Danger button */
.mb-btn-danger {
    color: var(--mb-primary);
    border-color: var(--mb-primary);
    background: transparent;
}
.mb-btn-danger:hover { background: rgba(204,0,0,0.1); }

/* Messages */
.mb-msg-ok    { color: #4caf50; }
.mb-msg-error { color: var(--mb-primary); }
.mb-subtle    { color: #555; }

/* Profile form */
.mb-account-field label { color: #666; }
.mb-billing-summary     { color: #aaa; }

/* Follow rows */
.mb-follow-row { border-bottom: 1px solid #1a1a1a; }
.mb-follow-row:last-child { border-bottom: none; }

/* ============================================================
   Audio player — player.css overrides
   ============================================================ */

.mb-player                      { background: #111; border: 1px solid #2a2a2a; border-radius: 0; }
.mb-mini-waveform               { background: rgba(204,0,0,0.04); border-radius: 0; }
.mb-waveform                    { border-radius: 0; }

/* Control buttons */
.mb-play-btn,
.mb-prev-btn,
.mb-next-btn                    { background: #1a1a1a; border-radius: 0; }
.mb-prev-btn,
.mb-next-btn                    { background: #222; }
.mb-play-btn:hover              { background: #2a2a2a; }
.mb-prev-btn:hover,
.mb-next-btn:hover              { background: #333; }
.mb-play-btn-sm.mb-play-btn-locked { background: rgba(255,255,255,0.06) !important; color: #555 !important; }

/* Progress & volume */
.mb-progress-played             { background: var(--mb-primary); border-radius: 0; }
.mb-progress-track              { border-radius: 0; }
.mb-volume                      { accent-color: var(--mb-primary); }
.mb-mini-progress-track         { background: #2a2a2a; border-radius: 0; }
.mb-mini-progress-played        { background: var(--mb-primary); border-radius: 0; }

/* Album player */
.mb-album-player                { background: #111; border-radius: 0; border: 1px solid #2a2a2a; }
.mb-album-header                { background: #000; }
.mb-album-cover img             { border-radius: 0; }
.mb-album-persistent-player     { background: #0a0a0a; border-top: 1px solid #2a2a2a; }

/* Track list rows */
.mb-track-row                   { border-bottom: 1px solid #2a2a2a; }
.mb-track-row:hover             { background: #1a1a1a; }
.mb-track-row.mb-playing        { background: rgba(204,0,0,0.08); }
.mb-track-row.mb-sm-playing     { background: linear-gradient(90deg, rgba(204,0,0,0.06) 0%, transparent 100%); }
.mb-track-row.mb-sm-playing .mb-mini-progress-played { box-shadow: 0 0 6px 1px rgba(204,0,0,0.45); }
.mb-latest-tracks .mb-track-row { border-bottom: 1px solid #2a2a2a; }

/* ── HUD replaces all inline audio players ── */
.mb-mini-progress-wrap,
.mb-album-persistent-player         { display: none !important; }
.mb-player-single .mb-waveform,
.mb-player-single .mb-progress-track,
.mb-player-single .mb-time-current,
.mb-player-single .mb-time-sep,
.mb-player-single .mb-time-total,
.mb-player-single .mb-volume        { display: none !important; }
.mb-track-row.mb-hud-active         { background: var(--mb-primary-subtle, rgba(204,0,0,0.12)) !important; }

/* ============================================================
   HUD player
   ============================================================ */

body { padding-bottom: 90px; }

.mb-hud-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #080808;
    border-top: 1px solid #222;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.mb-hud-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.28) saturate(1.4);
    transform: scale(1.15);
    pointer-events: none;
    z-index: 0;
}

/* Left — cover + meta pinned to far left edge */
.mb-hud-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.mb-hud-cover {
    width: 58px;
    height: 58px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
    display: none;
}

.mb-hud-meta { max-width: 200px; overflow: hidden; }

.mb-hud-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.mb-hud-sub {
    display: block;
    font-size: 11px;
    color: var(--mb-primary, rgba(255,255,255,0.65));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}

/* Center — controls row + timeline row, stacked */
.mb-hud-center {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

/* Controls row — circled buttons */
.mb-hud-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mb-hud-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50% !important;
    color: #ddd;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.mb-hud-btn:hover { background: rgba(255,255,255,0.26); color: #fff; }

/* Play/pause — slightly larger circle */
.mb-hud-play {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 14px;
    border-radius: 50% !important;
}
.mb-hud-play:hover { background: rgba(255,255,255,0.34); }

/* Pause state — thin CSS bars, same visual weight as play triangle */
.mb-hud-play.is-playing { font-size: 0; position: relative; }
.mb-hud-play.is-playing::before,
.mb-hud-play.is-playing::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 13px;
    background: currentColor;
    border-radius: 1px;
}
.mb-hud-play.is-playing::before { right: calc(50% + 2px); }
.mb-hud-play.is-playing::after  { left:  calc(50% + 2px); }
.mb-hud-play.is-playing:hover::before,
.mb-hud-play.is-playing:hover::after { background: var(--mb-primary); }

/* Timeline row */
.mb-hud-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 500px;
    max-width: 80vw;
}

.mb-hud-time {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    min-width: 30px;
    text-align: center;
}

.mb-hud-bar {
    flex: 1;
    height: 3px;
    background: #2a2a2a;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
}
.mb-hud-bar:hover { height: 5px; }

.mb-hud-fill {
    height: 100%;
    width: 0;
    background: var(--mb-primary);
    pointer-events: none;
    border-radius: 2px;
    position: relative;
    transition: width 0.1s linear;
}

/* Scrubber dot appears on bar hover */
.mb-hud-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.15s;
}
.mb-hud-bar:hover .mb-hud-fill::after { opacity: 1; }

.mb-track-number                { color: #555; }
.mb-play-btn-sm                 { border-radius: 50% !important; background: rgba(255,255,255,0.12) !important; border: none !important; color: #ccc !important; transition: background 0.15s !important; width: 38px !important; height: 38px !important; font-size: 0 !important; }
.mb-play-btn-sm:not([disabled]):hover { background: rgba(255,255,255,0.24) !important; color: #fff !important; }
.mb-play-btn-sm:not(.is-playing) .mb-icon-play {
    display: block;
    width: 0; height: 0; font-size: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
    margin-left: 2px;
}
.mb-track-play                  { border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #ccc; transition: background 0.15s; width: 36px; height: 36px; font-size: 0; }
.mb-track-play:not([disabled]):hover { background: rgba(255,255,255,0.24); color: #fff; }
.mb-track-play:not(.is-playing)::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
    margin-left: 2px;
}

/* Pause icon on active row buttons */
.mb-play-btn-sm.is-playing,
.mb-track-play.is-playing       { font-size: 0 !important; position: relative; background: rgba(255,255,255,0.22) !important; color: #fff !important; }
.mb-play-btn-sm.is-playing::before,
.mb-play-btn-sm.is-playing::after,
.mb-track-play.is-playing::before,
.mb-track-play.is-playing::after {
    content: '';
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 3px; height: 12px;
    background: currentColor; border-radius: 1px;
}
.mb-play-btn-sm.is-playing::before,
.mb-track-play.is-playing::before { right: calc(50% + 2px); }
.mb-play-btn-sm.is-playing::after,
.mb-track-play.is-playing::after  { left:  calc(50% + 2px); }
.mb-track-thumb-placeholder     { background: #2a2a2a; border-radius: 0; }
.mb-track-thumb                 { border-radius: 0; }

/* Paywall */
.mb-paywall-lock                { border-color: rgba(204,0,0,0.3); border-radius: 0; }

/* Buttons inside player */
.mb-player .mb-btn-primary,
.mb-btn-primary                 { background: var(--mb-primary) !important; border-radius: 0 !important; }
.mb-player .mb-btn-outline      { color: var(--mb-primary) !important; border-color: var(--mb-primary) !important; border-radius: 0 !important; }
.mb-player .mb-btn-outline:hover { background: rgba(204,0,0,0.1) !important; }

/* ============================================================
   Band dashboard — band-dashboard.css overrides
   ============================================================ */

.mb-band-dashboard              { color: #f0f0f0; }

.mb-band-switcher               { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 0; color: #f0f0f0; }
.mb-band-switcher select        { background: #111; border-color: #2a2a2a; color: #f0f0f0; border-radius: 0; }

.mb-dash-tabs                   { border-bottom-color: #2a2a2a; }
.mb-tab                         { color: #555; }
.mb-tab:hover                   { color: var(--mb-primary); }
.mb-tab.active                  { color: var(--mb-primary); border-bottom-color: var(--mb-primary); }

.mb-field label                 { color: #666; }
.mb-field input:focus,
.mb-field select:focus,
.mb-field textarea:focus        { border-color: var(--mb-primary) !important; }

.mb-post-composer               { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 0; }

.mb-table th                    { background: #111; color: #555; border-bottom: 1px solid #2a2a2a; }
.mb-table td                    { border-bottom: 1px solid #1a1a1a; color: #f0f0f0; }
.mb-table tr:hover td           { background: #1a1a1a; }

.mb-plan-row                    { border-bottom-color: #2a2a2a; color: #f0f0f0; }
.mb-plan-row label              { color: #f0f0f0; }

.mb-album-card                  { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 0; color: #f0f0f0; }
.mb-album-cover-placeholder     { background: #2a2a2a; border-radius: 0; }

.mb-progress-bar                { background: #2a2a2a; border-radius: 0; }
.mb-progress-fill               { background: var(--mb-primary); }
.mb-progress-label              { color: #666; }

.mb-upload-section,
.mb-album-section               { border-color: #2a2a2a; border-radius: 0; }

#mb-tab-music > h2 { display: none; }

/* New Single / New EP buttons — full width, tall */
#mb-tab-music .mb-btn-primary:not(.mb-btn-danger):not(.mb-btn-sm),
#mb-tab-music .mb-btn-secondary:not(.mb-btn-danger):not(.mb-btn-sm) {
    width: 100% !important;
    padding: 44px 16px !important;
    font-size: 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    display: block !important;
}

.mb-description                 { color: #666; }
.mb-last-edited                 { color: #555; }
.mb-loading                     { color: #555; }
.mb-save-status                 { color: #aaa; }

/* Plans tab: fix left column and label wrapping */
#mb-tab-plans .mb-plan-row          { align-items: flex-start; }
#mb-tab-plans .mb-plan-row-header   {
    min-width: 140px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 6px;
}
#mb-tab-plans .mb-plan-enable       { display: flex; align-items: center; gap: 8px; }
#mb-tab-plans .mb-plan-price        { padding-left: 26px; font-size: 13px; color: #888; }
#mb-tab-plans .mb-plan-row-fields   { flex: 1; min-width: 0; }
#mb-tab-plans .mb-field label       { font-size: 0; display: block; }
#mb-tab-plans .mb-field label input[type="text"],
#mb-tab-plans .mb-field label textarea { font-size: 14px; display: block; width: 100%; }
#mb-tab-plans .mb-field label textarea { resize: vertical; }

/* Dashboard buttons */
.mb-band-dashboard .mb-btn-primary  { background: var(--mb-primary) !important; border-radius: 0 !important; }
.mb-band-dashboard .mb-btn-primary:hover { background: var(--mb-primary-dark) !important; }
.mb-band-dashboard .mb-btn-outline  { color: var(--mb-primary) !important; border-color: var(--mb-primary) !important; background: transparent !important; border-radius: 0 !important; }
.mb-band-dashboard .mb-btn-outline:hover { background: rgba(204,0,0,0.1) !important; opacity: 1; }
.mb-band-dashboard .mb-btn-secondary { background: #2a2a2a !important; border-radius: 0 !important; }
.mb-band-dashboard .mb-btn-danger   { border-radius: 0 !important; }

/* Subscribers tab — tier bar chart */
#mb-tab-subscribers > h2 { margin-bottom: 24px; }
.mbs-sub-counts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.mbs-count-box {
    display: grid;
    grid-template-columns: 80px 1fr 32px;
    align-items: center;
    gap: 12px;
}
.mbs-count-label {
    font-size: 12px;
    color: #888;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mbs-bar-track {
    height: 8px;
    background: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
}
.mbs-bar-fill {
    height: 100%;
    background: var(--mb-primary, #cc0000);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 2px;
}
.mbs-count-number {
    font-size: 13px;
    font-weight: 600;
    color: #f0f0f0;
    text-align: right;
}

/* ============================================================
   WordPress admin bar
   ============================================================ */

#wpadminbar { background: #000 !important; border-bottom: 1px solid #2a2a2a; }
#wpadminbar .ab-item,
#wpadminbar a.ab-item { color: #aaa !important; }
#wpadminbar .ab-item:hover,
#wpadminbar a.ab-item:hover { color: #fff !important; background: #1a1a1a !important; }

/* ============================================================
   WP pagination & misc
   ============================================================ */

.page-numbers {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #f0f0f0;
    padding: 6px 12px;
    font-size: 13px;
}
.page-numbers.current,
.page-numbers:hover { background: var(--mb-primary); border-color: var(--mb-primary); color: #fff; }

/* ============================================================
   Mobile
   ============================================================ */

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }
* { min-width: 0; }

@media (max-width: 860px) {

    /* Header — tighten spacing so it fits on small screens */
    .mb-header-inner { gap: 8px; padding: 0 12px; }

    /* Hide Discover text link — accessible via menu */
    .mb-header-link { display: none; }

    /* Shrink auth buttons to icon-like size */
    .mb-btn-sm { padding: 6px 10px; font-size: 12px; }

    /* Search bar full width */
    .mb-search-bar input[type="search"] { font-size: 13px; }

    /* User dropdown — align to right edge of screen */
    .mb-user-dropdown {
        right: 0;
        width: 180px;
    }

    /* Mobile nav dropdown — sits flush under header */
    .mb-site-header { position: relative; }

    .mb-main-nav.mb-nav-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        border-top: 1px solid #2a2a2a;
        border-bottom: 1px solid #2a2a2a;
        padding: 12px 16px;
        z-index: 150;
        width: 100%;
        box-sizing: border-box;
    }

    .mb-main-nav.mb-nav-open .mb-nav-list {
        flex-direction: column;
        gap: 0;
    }

    .mb-main-nav.mb-nav-open .mb-nav-list a {
        display: block;
        padding: 12px 0;
        font-size: 15px;
        color: #f0f0f0;
        border-bottom: 1px solid #1a1a1a;
    }

    .mb-main-nav.mb-nav-open .mb-nav-list li:last-child a {
        border-bottom: none;
    }

    /* Two-col layout stack */
    .mb-two-col { grid-template-columns: 1fr; }
    .mb-sidebar  { position: static; }

    /* Footer grid — 2 columns */
    .mb-footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 480px) {

    /* Hide Log In button on very small screens — only show Join Free */
    .mb-btn-outline.mb-btn-sm { display: none; }

    /* Footer single column */
    .mb-footer-grid { grid-template-columns: 1fr; }
    .mb-footer-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mb-footer-legal { flex-wrap: wrap; gap: 12px; }

    /* Tighten page padding */
    .mb-container { padding: 0 12px; }
}

/* ============================================================
   Scrollbar (Webkit)
   ============================================================ */

::-webkit-scrollbar             { width: 6px; height: 6px; }
::-webkit-scrollbar-track       { background: #111; }
::-webkit-scrollbar-thumb       { background: #333; }
::-webkit-scrollbar-thumb:hover { background: var(--mb-primary); }

/* ============================================================
   Front page — Hero
   ============================================================ */

.mb-fp-hero {
    background: #000;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 60px 20px;
}

.mb-fp-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.mb-fp-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--mb-primary);
    margin-bottom: 16px;
}

.mb-fp-hero-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.mb-fp-hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: #666;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 32px;
}

.mb-fp-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mb-fp-hero-actions .mb-btn {
    padding: 13px 28px;
    font-size: 13px;
}

/* ============================================================
   Front page — shared section chrome
   ============================================================ */

.mb-fp-section {
    padding: 52px 0;
    border-top: 1px solid #2a2a2a;
}

.mb-fp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.mb-fp-section-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mb-fp-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--mb-primary);
}

.mb-fp-section-heading {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.mb-fp-view-all {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}

.mb-fp-view-all:hover { color: var(--mb-primary); opacity: 1; }

/* ============================================================
   Front page — Featured Bands grid
   ============================================================ */

.mb-fp-bands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Skeleton cards in placeholder state */
.mb-fp-placeholder .mb-skeleton-card {
    height: 220px;
    animation: mb-shimmer 1.4s infinite;
}

.mb-fp-placeholder-msg {
    text-align: center;
    color: #444;
    font-size: 13px;
    font-style: italic;
    margin-top: 20px;
}

/* ============================================================
   Front page — Latest Releases row
   ============================================================ */

.mb-fp-releases-row {
    overflow-x: auto;
    padding-bottom: 8px;
    /* Show scrollbar only when needed */
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.mb-fp-releases-row::-webkit-scrollbar { height: 4px; }
.mb-fp-releases-row::-webkit-scrollbar-track { background: transparent; }
.mb-fp-releases-row::-webkit-scrollbar-thumb { background: #333; }

/* ============================================================
   Front page — Feed section header
   ============================================================ */

.mb-fp-feed-header { margin-bottom: 16px; }

/* ============================================================
   Front page — Mobile
   ============================================================ */

@media (max-width: 640px) {
    .mb-fp-hero { min-height: 320px; padding: 48px 20px; }
    .mb-fp-hero-actions { flex-direction: column; align-items: center; }
    .mb-fp-hero-actions .mb-btn { width: 100%; max-width: 280px; }
    .mb-fp-bands-grid { grid-template-columns: 1fr; }
    .mb-fp-section { padding: 36px 0; }
}

/* ============================================================
   Band page — blurred background & transparency
   ============================================================ */

/* Fixed blurred background image set via PHP inline style */
.mb-band-page-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px) brightness(0.52) saturate(1.5);
    transform: scale(1.15);
    z-index: -1;
    pointer-events: none;
}

body.single-mb_band { background: #000; }

body.single-mb_band #mb-site-content { background: transparent; }

body.single-mb_band .mb-band-identity-bar {
    background: rgba(0,0,0,0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

body.single-mb_band .mb-main { background: transparent; }

body.single-mb_band .mb-widget,
body.single-mb_band .mb-post-card,
body.single-mb_band .mb-band-bio,
body.single-mb_band .mb-player,
body.single-mb_band .mb-album-player {
    background: rgba(10,10,10,0.88);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
}

body.single-mb_band .mb-post-card:hover {
    background: rgba(20,20,20,0.92);
}

body.single-mb_band .mb-track-row {
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* The single panel card — tabs nav + all tab content as one block */
body.single-mb_band .mb-band-panel {
    background: rgba(10,10,10,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Tabs nav inside the panel — transparent, no own shadow */
body.single-mb_band .mb-band-panel .mb-band-tabs {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    margin-bottom: 0;
}

/* Flatten players/rows that live inside the panel so they don't double-card */
.mb-band-panel .mb-album-player,
.mb-band-panel .mb-player {
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-band-panel .mb-album-player:last-child,
.mb-band-panel .mb-player:last-child { border-bottom: none; }

.mb-band-panel .mb-track-row {
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-band-panel .mb-track-row:last-child { border-bottom: none; }

/* Band page search bar — sits inside the tabs nav */
.mb-band-search-bar {
    position: relative;
    margin-left: auto;
    margin-right: 12px;
    align-self: center;
    width: 150px;
    flex-shrink: 0;
}

.mb-band-search-bar input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 26px 6px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    font-size: 11px;
    transition: background 0.15s, border-color 0.15s;
}

.mb-band-search-bar input[type="search"]:focus {
    background: rgba(255,255,255,0.09);
    border-color: var(--mb-primary);
    outline: none;
}

.mb-band-search-bar input[type="search"]::placeholder { color: #555; }

.mb-band-search-bar svg {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    pointer-events: none;
}

/* ============================================================
   Band page — subscribe widget dark theme
   ============================================================ */

.mbs-subscribe-widget { font-family: inherit; }

.mbs-widget-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mb-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.mbs-current-sub {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    padding: 14px;
    margin-bottom: 16px;
}

.mbs-current-label {
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
}

.mbs-next-bill,
.mbs-canceled-notice { color: #666 !important; }

.mbs-tier-list { margin-top: 8px; }

.mbs-tier-option {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid #2a2a2a !important;
    border-left: 2px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    margin-bottom: 8px;
    transition: border-color 0.15s, background 0.15s;
}

.mbs-tier-option:hover {
    border-color: var(--mb-primary) !important;
    background: rgba(255,255,255,0.06) !important;
}

.mbs-tier-option.mbs-current {
    border-color: var(--mb-primary) !important;
    border-left-color: var(--mb-primary) !important;
    background: rgba(255,255,255,0.05) !important;
}

.mbs-tier-price { color: #f0f0f0 !important; }
.mbs-tier-desc  { color: #888 !important; }

.mbs-tier-perks {
    color: #888 !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.mbs-tier-perks li::before { color: var(--mb-primary) !important; }

.mbs-no-plans { color: #555 !important; }

.mbs-payment-form {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
}

.mbs-selected-tier-name { color: #f0f0f0 !important; }
.mbs-selected-price     { color: #888 !important; }

.mbs-back-btn {
    background: none !important;
    color: #666 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
}

.mbs-back-btn:hover { color: #aaa !important; border-color: #444 !important; }

.mbs-card-element {
    background: #111 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
}

.mbs-billing-field {
    background: #111 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    color: #f0f0f0 !important;
}

.mbs-billing-field:focus { border-color: var(--mb-primary) !important; outline: none; }

.mbs-secure-note { color: #555 !important; }

.mbs-manage { gap: 8px; flex-wrap: wrap; }

/* Reactivate / change tier / cancel buttons inherit theme */
.mbs-reactivate-btn  { border-radius: 0 !important; }
.mbs-cancel-btn      { border-radius: 0 !important; color: var(--mb-primary) !important; border-color: var(--mb-primary) !important; }

/* ============================================================
   General tab — combined music + posts view
   ============================================================ */

.mb-general-section + .mb-general-section {
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Panel tab content areas — transparent inside the single panel card */
.mb-band-panel .mb-band-tab-content { padding-bottom: 6px; }
.mb-band-panel .mb-band-bio {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 20px;
}

.mb-general-empty {
    padding: 20px 16px;
    color: #555;
    font-size: 13px;
    margin: 0;
}

.mb-general-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mb-primary);
    padding: 13px 18px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mb-general-post-list { list-style: none; margin: 0; padding: 0; }

.mb-general-post-item {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: transparent;
    transition: background 0.15s;
    margin: 0;
}

.mb-general-post-item:last-child { border-bottom: none; }

.mb-general-post-item:hover { background: rgba(255,255,255,0.04); }

.mb-general-post-item a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.mb-general-post-item a:hover { color: var(--mb-primary); }

.mb-general-post-meta {
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}

.mb-general-post-excerpt {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.mb-general-all-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 700;
    color: var(--mb-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: rgba(255,255,255,0.03);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: left;
    text-decoration: none;
}

.mb-general-all-link:hover { background: rgba(255,255,255,0.07); color: var(--mb-primary); opacity: 1; }

/* ============================================================
   My Subscriptions — dark theme
   ============================================================ */

.mbs-my-sub-row {
    background: #111 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    transition: border-color 0.15s;
}

.mbs-my-sub-row:hover { border-color: #3a3a3a !important; }

.mbs-my-sub-thumb img { border-radius: 0 !important; }

.mbs-my-sub-band       { color: #f0f0f0 !important; }
.mbs-my-sub-band:hover { color: var(--mb-primary) !important; }

.mbs-my-sub-status     { color: #666 !important; }
.mbs-status-canceled   { color: #c62828 !important; }

/* Tier badges — readable on dark bg */
.mb-tier-free      { background: rgba(46,125,50,0.18) !important; color: #81c784 !important; border-radius: 0 !important; }
.mb-tier-fan       { background: rgba(25,118,210,0.18) !important; color: #64b5f6 !important; border-radius: 0 !important; }
.mb-tier-supporter { background: rgba(156,39,176,0.18) !important; color: #ce93d8 !important; border-radius: 0 !important; }
.mb-tier-superfan  { background: rgba(204,0,0,0.18) !important;    color: var(--mb-primary) !important; border-radius: 0 !important; }

/* Unfollow button — appears in My Subscriptions page */
.mb-unfollow-btn {
    color: #888 !important;
    border: 1px solid #333 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    cursor: pointer !important;
    transition: color 0.15s, border-color 0.15s, background 0.15s !important;
}
.mb-unfollow-btn:hover {
    color: var(--mb-primary) !important;
    border-color: var(--mb-primary) !important;
    background: rgba(204,0,0,0.08) !important;
}
