/* Shared mobile navigation cards and Paxor Music branding in both music drawers. */
@media (max-width: 760px) {
    html body main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse) {
        padding-left: 4px !important;
        padding-right: 4px !important;
        padding-top: 0 !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    html body main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse) > .artist-sidebar-fixed {
        display: block !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) {
        position: relative !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 8px !important;
        gap: 6px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* Reserve the same icon and two-line label rows in every card. */
    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) > :is(.music-nav-item, .artist-music-switcher-item) {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 28px minmax(2.5em, auto) !important;
        align-content: start !important;
        align-items: start !important;
        justify-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 86px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 10px 3px !important;
        gap: 6px !important;
        border: 1px solid rgba(32, 217, 255, .22) !important;
        border-left-width: 4px !important;
        border-left-color: transparent !important;
        border-radius: 12px !important;
        background: rgba(7, 24, 30, .76) !important;
        color: #c8d7dc !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
        font-size: clamp(11.5px, 3.1vw, 14.5px) !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: normal !important;
        text-overflow: clip !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) > :is(.music-nav-item, .artist-music-switcher-item).active {
        border-color: rgba(32, 217, 255, .56) !important;
        border-left-color: #20d9ff !important;
        background: linear-gradient(90deg, rgba(3, 125, 156, .25), rgba(5, 24, 31, .92)) !important;
        color: #20d9ff !important;
        box-shadow: inset 0 0 0 1px rgba(32, 217, 255, .035) !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) > :is(.music-nav-item, .artist-music-switcher-item) > :is(i, .music-nav-avatar, .artist-music-switcher-icon, .artist-music-switcher-avatar) {
        grid-row: 1 !important;
        grid-column: 1 !important;
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        place-items: center !important;
        align-self: start !important;
        justify-self: center !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 22px !important;
        line-height: 1 !important;
        color: inherit !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) :is(.music-nav-avatar, .artist-music-switcher-avatar) {
        border-radius: 50% !important;
        overflow: hidden !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) :is(.music-nav-avatar, .artist-music-switcher-avatar) > img {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) :is(.music-nav-avatar, .artist-music-switcher-icon, .artist-music-switcher-avatar) > i {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        font-size: 22px !important;
        line-height: 1 !important;
        color: inherit !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) i.fa-store {
        font-size: 20px !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) :is(.music-local-nav, .artist-music-switcher) > :is(.music-nav-item, .artist-music-switcher-item) > :is(span:not(.music-nav-avatar):not(.artist-music-switcher-icon):not(.artist-music-switcher-avatar)) {
        grid-row: 2 !important;
        grid-column: 1 !important;
        display: block !important;
        align-self: start !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 2.5em !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: 1.25 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-overflow: clip !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* One 57px brand frame, preserving the original music gradient and glyphs. */
    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row {
        position: relative !important;
        display: block !important;
        flex: 0 0 57px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 57px !important;
        min-height: 57px !important;
        max-height: 57px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 2px solid #037d9c !important;
        border-radius: 15px !important;
        background: linear-gradient(90deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .14) 48%, rgba(0, 0, 0, .04)), radial-gradient(circle at 78% 48%, rgba(3, 125, 156, .42), transparent 38%), linear-gradient(180deg, rgba(3, 125, 156, .38), rgba(4, 22, 32, .84)) !important;
        box-shadow: 0 0 16px rgba(3, 125, 156, .48), 0 10px 24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14) !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        border-radius: inherit !important;
        background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 42%), radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12), transparent 32%) !important;
        pointer-events: none !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row::after,
    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row > .music-brand::before,
    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row > .music-brand::after {
        content: none !important;
        display: none !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row > .music-brand {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 53px !important;
        min-height: 53px !important;
        max-height: 53px !important;
        margin: 0 !important;
        padding: 0 70px 0 14px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #f6fbff !important;
        font-size: 22px !important;
        font-weight: 850 !important;
        line-height: 1.1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-brand > .music-brand-mark {
        display: grid !important;
        place-items: center !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #20d9ff !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-brand-mark > i {
        font-size: 28px !important;
        line-height: 1 !important;
        color: #20d9ff !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-brand > span:not(.music-brand-mark) {
        display: block !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 22px !important;
        font-weight: 850 !important;
        line-height: 1.1 !important;
        color: inherit !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-brand > span:not(.music-brand-mark) :is(span, strong) {
        font-size: inherit !important;
        line-height: inherit !important;
        color: inherit !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-brand strong {
        font-weight: 900 !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row > :is(#music-left-toggle, #artist-sidebar-collapse) {
        position: absolute !important;
        top: 1.5px !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
        display: grid !important;
        place-items: center !important;
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 13px !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        color: #b9c2c6 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        z-index: 5;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-brand-row .music-sidebar-layout-icon {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        border: 1px solid rgba(185, 194, 198, .72) !important;
        border-radius: 7px !important;
        color: #b9c2c6 !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025) !important;
        transform: translateY(-1px) !important;
        box-sizing: border-box !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-layout-rail {
        background: linear-gradient(180deg, #20d9ff, #037d9c) !important;
        box-shadow: 0 0 10px rgba(32, 217, 255, .34) !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-sidebar-layout-content {
        background: rgba(255, 255, 255, .075) !important;
    }

    html body :is(.music-shell[data-music-page="library"].music-mobile-library-layout > .music-sidebar:has(#music-left-toggle), main.artist-studio #artist-mobile-drawer:has(#artist-sidebar-collapse)) .music-left-toggle:is(:hover, :focus-visible) .music-sidebar-layout-content {
        background: rgba(255, 255, 255, .27) !important;
    }
}
