/* Public artists directory: structural wrappers stay visually open. */
body.music-body .artists-page-shell,
body.music-body .artists-page-header,
body.music-body .artists-toolbar,
body.music-body .artists-results,
body.music-body .artists-grid,
body.music-body .artists-card,
body.music-body .artists-card:hover,
body.music-body .artists-card:focus-within {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.music-body .music-header-inner,
body.music-body .music-nav-inner,
body.music-body .artists-page-shell {
    width: min(calc(100% - 48px), 1560px) !important;
    margin-inline: auto !important;
}

body.music-body .artists-page-shell {
    padding-top: 32px !important;
    padding-bottom: 56px !important;
}

body.music-body .artists-page-shell::before {
    display: none !important;
}

html[data-theme="light"] body.music-body .artists-page-shell,
html[data-theme="dark"] body.music-body .artists-page-shell {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.music-body .artists-page-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px) !important;
    grid-template-areas: "copy search" !important;
    align-items: center !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 24px 0 20px !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

body.music-body .artists-page-header h1 {
    margin: 0 0 4px !important;
}

body.music-body .artists-page-header p {
    margin: 0 !important;
}

body.music-body .artists-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 20px 0 24px !important;
    min-height: 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

body.music-body .artists-results {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.music-body .artists-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 36px 26px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html[data-theme="light"] body.music-body .music-nav {
    background: #ffffff !important;
    border-bottom: 1px solid #dbe3ec !important;
}

html[data-theme="light"] body.music-body .music-nav-inner > a,
html[data-theme="light"] body.music-body .music-nav-inner > a span {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    opacity: 1 !important;
}

html[data-theme="light"] body.music-body .music-nav-inner > a:hover,
html[data-theme="light"] body.music-body .music-nav-inner > a:hover span,
html[data-theme="light"] body.music-body .music-nav-inner > a:focus-visible,
html[data-theme="light"] body.music-body .music-nav-inner > a:focus-visible span {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

html[data-theme="light"] body.music-body .music-nav-inner > a.is-active,
html[data-theme="light"] body.music-body .music-nav-inner > a.is-active span {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700 !important;
}

html[data-theme="light"] body.music-body .music-nav-inner > a.is-active::after {
    background: #01a982 !important;
}

body.music-body .artists-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
    transform: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

html[data-theme="dark"] body.music-body .artists-page-shell .artists-card,
html[data-theme="dark"] body.music-body .artists-page-shell .artists-card:hover,
html[data-theme="dark"] body.music-body .artists-page-shell .artists-card:focus-within,
html.hi-dark-mode body.music-body .artists-page-shell .artists-card,
html.hi-dark-mode body.music-body .artists-page-shell .artists-card:hover,
html.hi-dark-mode body.music-body .artists-page-shell .artists-card:focus-within {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card,
html[data-theme="light"] body.music-body .artists-page-shell .artists-card:hover,
html[data-theme="light"] body.music-body .artists-page-shell .artists-card:focus-within {
    overflow: hidden !important;
    padding-bottom: 0 !important;
    border: 1px solid #c6c9ca !important;
    border-radius: 16px !important;
    background: #e7ecef !important;
    color: #172033 !important;
    box-shadow: none !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card:hover,
html[data-theme="light"] body.music-body .artists-page-shell .artists-card:focus-within {
    border-color: #01a982 !important;
    background: #edf2f4 !important;
    box-shadow: 0 12px 26px rgba(66, 85, 99, .14) !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card-media {
    border-radius: 0 !important;
    box-shadow: none !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card-body {
    padding: 16px !important;
    background: transparent !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card h2,
html[data-theme="light"] body.music-body .artists-page-shell .artists-card h2 a {
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-card p,
html[data-theme="light"] body.music-body .artists-page-shell .artists-card-genre {
    color: #425563 !important;
    -webkit-text-fill-color: #425563 !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-profile-btn,
html[data-theme="light"] body.music-body .artists-page-shell .artists-edit-btn {
    border-color: #5f7a76 !important;
    background: transparent !important;
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
}

html[data-theme="light"] body.music-body .artists-page-shell .artists-profile-btn:hover,
html[data-theme="light"] body.music-body .artists-page-shell .artists-edit-btn:hover {
    border-color: #008567 !important;
    background: rgba(1, 169, 130, .10) !important;
    color: #008567 !important;
    -webkit-text-fill-color: #008567 !important;
}

body.music-body .artists-card-media {
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 16px !important;
}

body.music-body .artists-card-body {
    min-height: 0 !important;
    padding: 16px 4px 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    body.music-body .artists-page-header {
        grid-template-columns: 1fr !important;
        grid-template-areas: "copy" "search" !important;
    }

    body.music-body .artists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    body.music-body .music-header-inner,
    body.music-body .music-nav-inner,
    body.music-body .artists-page-shell {
        width: calc(100% - 32px) !important;
    }

    body.music-body .artists-grid {
        grid-template-columns: 1fr !important;
    }
}
