/* Public navigation follows the same two-level pattern used by Intranet10. */
body.music-body {
    --music-header-height: 70px;
    --music-nav-width: 1560px;
    --music-nav-accent: #01a982;
    --music-header-bg: #050b18;
    --music-header-border: #172033;
}

body.music-body.music-menu-open {
    overflow: hidden;
}

body.music-body .music-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--music-header-bg);
}

body.music-body .music-header {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    height: var(--music-header-height) !important;
    padding: 0 !important;
    background: var(--music-header-bg) !important;
    border-bottom: 1px solid var(--music-header-border) !important;
    backdrop-filter: none !important;
}

body.music-body .music-header-inner,
body.music-body .music-secondary-nav > .hi-menuv-nav > .hi-menuv-container {
    width: min(calc(100% - 48px), var(--music-nav-width)) !important;
    max-width: var(--music-nav-width) !important;
    margin-inline: auto !important;
}

body.music-body .music-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body.music-body .music-brand {
    flex: 0 0 auto;
}

body.music-body .music-primary-nav {
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    gap: clamp(8px, 1.4vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

body.music-body .music-primary-nav .hi-secnav-item {
    display: flex;
    align-items: stretch;
}

body.music-body .music-primary-nav .hi-secnav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--music-header-height);
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

body.music-body .music-primary-nav .hi-secnav-link span,
body.music-body .music-primary-nav .hi-secnav-link i {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

body.music-body .music-primary-nav .hi-secnav-link::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

body.music-body .music-primary-nav .hi-secnav-link:hover,
body.music-body .music-primary-nav .hi-secnav-link:focus-visible,
body.music-body .music-primary-nav .hi-secnav-link.hi-active {
    color: #ffffff !important;
    background: transparent !important;
}

body.music-body .music-primary-nav .hi-secnav-link.hi-active {
    font-weight: 700;
}

body.music-body .music-primary-nav .hi-secnav-link.hi-active::after {
    background: var(--music-nav-accent);
}

html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link span,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link i {
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}

html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:hover,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:hover span,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:hover i,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:focus-visible,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:focus-visible span,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link:focus-visible i,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link.hi-active,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link.hi-active span,
html[data-theme="light"] body.music-body .music-primary-nav .hi-secnav-link.hi-active i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.music-body .music-actions {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 9px !important;
    margin-left: 0;
}

body.music-body .music-icon-action,
body.music-body .music-mobile-toggle,
body.music-body .music-mobile-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    padding: 0;
    border: 1px solid #334155;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    color: #e2e8f0 !important;
    text-decoration: none;
}

body.music-body .music-icon-action:hover,
body.music-body .music-icon-action:focus-visible,
body.music-body .music-mobile-toggle:hover,
body.music-body .music-mobile-toggle:focus-visible,
body.music-body .music-mobile-close:hover,
body.music-body .music-mobile-close:focus-visible {
    border-color: var(--music-nav-accent);
    background: rgba(1, 169, 130, .14);
    color: #2ad2c9 !important;
}

body.music-body .music-back-action {
    color: #e2e8f0 !important;
    opacity: .9;
}

body.music-body .music-back-action:hover,
body.music-body .music-back-action:focus-visible {
    opacity: 1;
}

/* Footer uses the same alignment grid as the header and public content. */
html body.music-body .music-footer {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.music-body .music-footer-inner {
    width: min(calc(100% - 48px), var(--music-nav-width)) !important;
    max-width: var(--music-nav-width) !important;
    margin-inline: auto !important;
}

body.music-body .music-footer-top {
    align-items: flex-start !important;
    gap: 48px !important;
}

body.music-body .music-footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
    gap: 48px !important;
    margin-left: auto !important;
}

body.music-body .music-footer-links > div {
    min-width: 0;
}

body.music-body .music-footer-links .hi-footer-heading {
    margin: 0 0 10px !important;
    color: #f6f7f8 !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

body.music-body .music-footer-list {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.music-body .music-footer-list li,
body.music-body .music-footer-list a {
    margin: 0 !important;
    padding: 0 !important;
}

body.music-body .music-footer-list a {
    gap: 7px !important;
    font-size: .78rem !important;
}

html[data-theme="light"] body.music-body .music-footer {
    border-top-color: var(--music-header-border) !important;
    background: var(--music-header-bg) !important;
    color: #c6c9ca !important;
}

html[data-theme="light"] body.music-body .music-footer-links,
html[data-theme="light"] body.music-body .music-footer-links * {
    color: #c6c9ca !important;
    -webkit-text-fill-color: #c6c9ca !important;
}

html[data-theme="light"] body.music-body .music-footer-links .hi-footer-heading {
    color: #f6f7f8 !important;
    -webkit-text-fill-color: #f6f7f8 !important;
}

html[data-theme="light"] body.music-body .music-footer-list a:hover {
    color: #2ad2c9 !important;
    -webkit-text-fill-color: #2ad2c9 !important;
}

html[data-theme="light"] body.music-body .music-footer-bottom {
    border-top-color: var(--music-header-border) !important;
}

html[data-theme="light"] body.music-body .music-footer-bottom span {
    color: #a8adb5 !important;
    -webkit-text-fill-color: #a8adb5 !important;
}

body.music-body .music-footer-bottom {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
}

html[data-theme="dark"] body.music-body .music-footer {
    border-top-color: rgba(225, 225, 225, .16) !important;
    background: #050607 !important;
    color: #e1e1e1 !important;
    -webkit-text-fill-color: #e1e1e1 !important;
}

html[data-theme="dark"] body.music-body .music-footer-links .hi-footer-heading,
html[data-theme="dark"] body.music-body .music-footer-list,
html[data-theme="dark"] body.music-body .music-footer-list li,
html[data-theme="dark"] body.music-body .music-footer-list a,
html[data-theme="dark"] body.music-body .music-footer-list i {
    color: #f6f7f8 !important;
    -webkit-text-fill-color: #f6f7f8 !important;
}

html[data-theme="dark"] body.music-body .music-footer-bottom,
html[data-theme="dark"] body.music-body .music-footer-bottom span {
    color: #c6c9ca !important;
    -webkit-text-fill-color: #c6c9ca !important;
}

html[data-theme="dark"] body.music-body .music-footer-list a:hover,
html[data-theme="dark"] body.music-body .music-footer-list a:focus-visible {
    color: #2ad2c9 !important;
    -webkit-text-fill-color: #2ad2c9 !important;
}

body.music-body .music-icon-action.dropdown-toggle::after {
    display: none;
}

body.music-body .music-login {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #334155;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    color: #f8fafc !important;
    text-decoration: none;
}

body.music-body .music-login:hover,
body.music-body .music-login:focus-visible {
    border-color: var(--music-nav-accent);
    background: rgba(1, 169, 130, .14);
}

body.music-body .music-more-menu {
    min-width: 230px;
    padding: 7px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--surface-1);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

body.music-body .music-more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text-primary);
    font-size: .875rem;
}

body.music-body .music-more-item i {
    width: 20px;
    color: var(--text-secondary);
    text-align: center;
}

body.music-body .music-more-item:hover,
body.music-body .music-more-item:focus,
body.music-body .music-more-item.active {
    background: rgba(1, 169, 130, .12);
    color: var(--music-nav-accent);
}

body.music-body .music-secondary-nav {
    width: 100%;
    min-height: 66px;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border-subtle);
}

body.music-body .music-secondary-nav .hi-menuv-nav {
    min-height: 66px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.music-body .music-secondary-nav .navbar-toggler {
    display: none;
}

body.music-body .music-secondary-nav .hi-menuv-collapse {
    display: block !important;
}

body.music-body .music-secondary-nav .hi-menuv-list {
    min-height: 66px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 24px);
    overflow-x: auto;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    list-style: none;
}

body.music-body .music-secondary-nav .hi-menuv-list::-webkit-scrollbar {
    display: none;
}

body.music-body .music-secondary-nav .hi-menuv-item {
    min-height: 66px;
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

body.music-body .music-secondary-nav .hi-menuv-link {
    position: relative;
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

body.music-body .music-secondary-nav .hi-menuv-link-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.music-body .music-secondary-nav .hi-menuv-text,
body.music-body .music-secondary-nav .hi-menuv-icon,
body.music-body .music-secondary-nav .hi-menuv-icon i {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

body.music-body .music-secondary-nav .hi-menuv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.music-body .music-secondary-nav .hi-menuv-link::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

body.music-body .music-secondary-nav .hi-menuv-link:hover,
body.music-body .music-secondary-nav .hi-menuv-link:focus-visible,
body.music-body .music-secondary-nav .hi-menuv-link.active {
    color: var(--text-primary) !important;
}

body.music-body .music-secondary-nav .hi-menuv-link.active {
    font-weight: 700;
}

body.music-body .music-secondary-nav .hi-menuv-link.active::after {
    background: var(--music-nav-accent);
}

body.music-body .music-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
}

body.music-body .music-mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
}

body.music-body .music-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(340px, 88vw);
    height: 100%;
    padding: 18px;
    background: var(--music-header-bg);
    border-left: 1px solid #263449;
    transform: translateX(100%);
    transition: transform .2s ease;
}

body.music-body .music-mobile-nav.is-open .music-mobile-panel {
    transform: translateX(0);
}

body.music-body .music-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #263449;
}

body.music-body .music-mobile-list {
    display: grid;
    gap: 5px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

body.music-body .music-mobile-list .hi-secnav-link {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-weight: 600;
}

body.music-body .music-mobile-list .hi-secnav-link:hover,
body.music-body .music-mobile-list .hi-secnav-link:focus-visible,
body.music-body .music-mobile-list .hi-secnav-link.hi-active {
    background: rgba(1, 169, 130, .14);
    color: #ffffff !important;
}

body.music-body .music-mobile-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(2, 6, 23, .7);
    opacity: 0;
    transition: opacity .2s ease;
}

body.music-body .music-mobile-nav.is-open .music-mobile-overlay {
    opacity: 1;
}

html[data-theme="light"] body.music-body .music-secondary-nav {
    background: #ffffff;
    border-bottom-color: #dbe3ec;
}

html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-link {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-text,
html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-icon,
html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-icon i {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-link:hover,
html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-link:focus-visible,
html[data-theme="light"] body.music-body .music-secondary-nav .hi-menuv-link.active {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

html[data-theme="light"] body.music-body .music-more-menu {
    background: #ffffff;
    border-color: #dbe3ec;
}

html[data-theme="light"] body.music-body .music-more-item {
    color: #334155;
}

/* The global header remains dark in both themes. */
html body.music-body .music-header .music-icon-action,
html body.music-body .music-header .music-icon-action i,
html[data-theme="light"] body.music-body .music-header .music-icon-action,
html[data-theme="light"] body.music-body .music-header .music-icon-action i {
    color: #f6f7f8 !important;
    -webkit-text-fill-color: #f6f7f8 !important;
    opacity: 1 !important;
}

html body.music-body .music-header .music-radio-action,
html body.music-body .music-header .music-radio-action i,
html[data-theme="light"] body.music-body .music-header .music-radio-action,
html[data-theme="light"] body.music-body .music-header .music-radio-action i {
    color: #2ad2c9 !important;
    -webkit-text-fill-color: #2ad2c9 !important;
}

html body.music-body .music-header .music-radio-action:hover,
html body.music-body .music-header .music-radio-action:focus-visible {
    border-color: #01a982 !important;
    background: rgba(1, 169, 130, .14) !important;
    color: #ffffff !important;
}

html body.music-body .music-more-menu,
html[data-theme="light"] body.music-body .music-more-menu {
    border-color: #334155 !important;
    background: #0c0f12 !important;
    color: #f6f7f8 !important;
}

html body.music-body .music-more-item,
html body.music-body .music-more-item span,
html body.music-body .music-more-item i,
html[data-theme="light"] body.music-body .music-more-item,
html[data-theme="light"] body.music-body .music-more-item span,
html[data-theme="light"] body.music-body .music-more-item i {
    color: #e1e1e1 !important;
    -webkit-text-fill-color: #e1e1e1 !important;
}

html body.music-body .music-more-item:hover,
html body.music-body .music-more-item:focus,
html body.music-body .music-more-item.active {
    background: rgba(42, 210, 201, .13) !important;
    color: #2ad2c9 !important;
}

/* User controls live on the permanently dark header in both themes. */
html body.music-body .music-header .hi-avatar-btn,
html body.music-body .music-header .hi-avatar-label,
html body.music-body .music-header .hi-avatar-caret,
html[data-theme="light"] body.music-body .music-header .hi-avatar-btn,
html[data-theme="light"] body.music-body .music-header .hi-avatar-label,
html[data-theme="light"] body.music-body .music-header .hi-avatar-caret {
    color: #f6f7f8 !important;
    -webkit-text-fill-color: #f6f7f8 !important;
    opacity: 1 !important;
}

html body.music-body .music-header .hi-avatar-menu,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu {
    border-color: #334155 !important;
    background: #0c0f12 !important;
    color: #f6f7f8 !important;
}

html body.music-body .music-header .hi-avatar-menu-name,
html body.music-body .music-header .hi-avatar-menu-user,
html body.music-body .music-header .hi-avatar-menu .dropdown-item,
html body.music-body .music-header .hi-avatar-menu .dropdown-item i,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu-name,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu-user,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu .dropdown-item,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu .dropdown-item i {
    color: #e1e1e1 !important;
    -webkit-text-fill-color: #e1e1e1 !important;
    opacity: 1 !important;
}

html body.music-body .music-header .hi-avatar-menu-user,
html[data-theme="light"] body.music-body .music-header .hi-avatar-menu-user {
    color: #c6c9ca !important;
    -webkit-text-fill-color: #c6c9ca !important;
}

html body.music-body .music-header .hi-avatar-menu .dropdown-item:hover,
html body.music-body .music-header .hi-avatar-menu .dropdown-item:focus {
    background: rgba(42, 210, 201, .13) !important;
    color: #2ad2c9 !important;
    -webkit-text-fill-color: #2ad2c9 !important;
}

@media (max-width: 991.98px) {
    body.music-body .music-header-inner,
    body.music-body .music-secondary-nav > .hi-menuv-nav > .hi-menuv-container {
        width: calc(100% - 32px) !important;
    }

    body.music-body .music-secondary-nav .hi-menuv-list {
        justify-content: flex-start;
    }

    body.music-body .music-footer-inner {
        width: calc(100% - 32px) !important;
    }

    body.music-body .music-footer-top,
    body.music-body .music-footer-links {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.music-body .music-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}

@media (max-width: 420px) {
    body.music-body .music-footer-links {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {
    body.music-body {
        --music-header-height: 64px;
    }

    body.music-body .music-logo {
        height: 38px !important;
        max-height: 38px !important;
    }

    body.music-body .music-actions {
        gap: 6px !important;
    }

    body.music-body .music-login {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    body.music-body .music-login span,
    body.music-body .music-user {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.music-body .music-mobile-panel,
    body.music-body .music-mobile-overlay {
        transition: none;
    }
}

