/*
 * Public artist profile refinement. Load after profile-clean.css and the public
 * appearance/media styles. No theme font, page background, media dimensions,
 * playback state or editor behavior is replaced here.
 */
@media screen {
    .artist-page.profile-clean {
        --refinement-accent: var(--artist-accent, var(--profile-accent, currentColor));
        --refinement-border: rgba(255, 255, 255, .14);
        --refinement-surface: rgba(255, 255, 255, .035);
        --refinement-raised: rgba(255, 255, 255, .055);
        --refinement-shadow: 0 8px 24px rgba(0, 0, 0, .12);
        min-width: 0;
    }

    /* Contain long names, embed widths and carousel rows without clipping the page. */
    .artist-page.profile-clean :is(.profile-overview, .profile-info, .profile-actions,
        .profile-body, .profile-main, .profile-extra-tools, .profile-panel, .epk-cta,
        .video-links, .site-video-carousel, .ccc-artist-music, .profile-contact,
        .profile-signup, .social-list, .artist-journal, .epk-quotes, .epk-photo-grid) {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .artist-page.profile-clean > .wrap {
        width: calc(100% - 48px);
        max-width: 1184px;
        margin-inline: auto;
        padding-inline: 0;
    }

    .artist-page.profile-clean > nav.profile-jump-nav {
        max-width: 1184px;
        padding-inline: 10px;
    }

    .artist-page.profile-clean .profile-overview {
        grid-template-columns: 136px minmax(0, 1fr);
        gap: 18px 28px;
        padding-top: 30px;
        padding-bottom: 28px;
        border-bottom-color: var(--refinement-border);
    }

    .artist-page.profile-clean .ccc-profile-photo-stack {
        min-width: 0;
        padding-top: 4px;
    }

    .artist-page.profile-clean .profile-avatar {
        border-color: var(--refinement-border);
        box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
    }

    .artist-page.profile-clean .profile-avatar img {
        object-fit: contain;
    }

    .artist-page.profile-clean .profile-info > .eyebrow {
        margin: 0 0 8px;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) - 2px);
        line-height: 1.6;
        letter-spacing: .025em;
        color: inherit;
        opacity: .8;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-info h1 {
        margin: 0 0 8px;
        font-family: inherit;
        font-size: clamp(28px, 3.5vw, 42px);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -.025em;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-url {
        margin: 0 0 14px;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) - 1px);
        line-height: 1.5;
        color: inherit;
        opacity: .76;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-intro-bio {
        max-width: 64ch;
        margin: 0 0 14px;
        font-family: inherit;
        font-size: var(--profile-size, 14px);
        line-height: 1.75;
        color: inherit;
        opacity: .9;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-quick-links {
        gap: 6px 10px;
        margin-top: 0;
    }

    .artist-page.profile-clean .profile-quick-links a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 44px;
        min-height: 44px;
        max-width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--refinement-border);
        border-radius: 999px;
        background: var(--refinement-surface);
        color: inherit;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) - 1px);
        line-height: 1.4;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-actions {
        width: 100%;
        max-width: none;
        gap: 10px;
        align-items: center;
        margin: 0;
    }

    /* Leave artist-selected primary colors and solid/outline/pill modes intact. */
    .artist-page.profile-clean .profile-actions .btn,
    .artist-page.profile-clean :is(.profile-panel, .epk-cta, .profile-extra-tools) .btn {
        min-height: 44px;
        min-width: 44px;
        max-width: 100%;
        padding: 11px 16px;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) - 1px);
        line-height: 1.45;
        letter-spacing: 0;
        text-transform: none;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        box-shadow: none;
    }

    .artist-page.profile-clean .profile-actions .btn {
        flex: 0 1 auto;
    }

    .artist-page.profile-clean .profile-owner-tools {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px 24px;
        min-width: 0;
        max-width: 100%;
        padding: 14px 18px;
        border: 1px solid var(--refinement-border);
        border-radius: 12px;
        background: var(--refinement-surface);
        color: inherit;
        font-family: inherit;
    }

    .artist-page.profile-clean .profile-owner-tools > div {
        min-width: 0;
        max-width: 100%;
    }

    .artist-page.profile-clean .profile-owner-tools small {
        display: block;
        margin-bottom: 4px;
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: .06em;
        opacity: .74;
    }

    .artist-page.profile-clean .profile-owner-tools strong {
        display: block;
        font-size: var(--profile-size, 14px);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .profile-owner-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .artist-page.profile-clean .profile-owner-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        max-width: 100%;
        padding: 10px 13px;
        border: 1px solid var(--refinement-border);
        border-radius: 9px;
        background: var(--refinement-raised);
        color: inherit;
        font-family: inherit;
        font-size: 13px;
        line-height: 1.5;
        text-decoration: none;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .artist-page.profile-clean :is(.profile-actions, .profile-panel, .epk-cta) .btn-ghost {
        border-color: var(--refinement-border);
        background: var(--refinement-surface);
        color: inherit;
    }

    /* Both anchor-only navigation and progressively enhanced JS tabs use this strip. */
    .artist-page.profile-clean .profile-jump-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
        margin-top: 12px;
        margin-bottom: 24px;
        padding-top: 10px;
        padding-bottom: 10px;
        border: 1px solid var(--refinement-border);
        border-radius: 16px;
        background: var(--refinement-surface);
        box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 16px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .artist-page.profile-clean .profile-jump-nav :is(a, button) {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 44px;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        color: inherit;
        font-family: inherit;
        font-size: var(--profile-size, 14px);
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0;
        text-transform: none;
        opacity: .86;
        text-decoration: none;
    }

    .artist-page.profile-clean .profile-jump-nav [aria-selected="true"] {
        border-color: var(--refinement-accent);
        background: var(--refinement-raised);
        box-shadow: inset 0 0 0 1px var(--refinement-accent);
        opacity: 1;
        font-weight: 700;
    }

    .artist-page.profile-clean .profile-jump-nav span {
        display: inline-grid;
        place-items: center;
        min-width: 22px;
        padding: 2px 6px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, .09);
        color: inherit;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .artist-page.profile-clean .profile-jump-nav .ccc-profile-tab-icon {
        display: block;
        flex: none;
        width: 16px;
        height: 16px;
        color: inherit;
    }

    .artist-page.profile-clean .profile-jump-nav [aria-selected="true"] .ccc-profile-tab-icon {
        color: var(--refinement-accent);
    }

    .artist-page.profile-clean .profile-panel,
    .artist-page.profile-clean #artist-video,
    .artist-page.profile-clean .epk-cta {
        margin: 0 0 24px;
        padding: clamp(18px, 2.5vw, 30px);
        border: 1px solid var(--refinement-border);
        border-radius: 16px;
        background: var(--refinement-surface);
        box-shadow: var(--refinement-shadow);
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean :is(.profile-panel, .epk-cta) > .eyebrow {
        margin: 0 0 8px;
        font-family: inherit;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: .065em;
        color: inherit;
        opacity: .74;
    }

    .artist-page.profile-clean :is(.profile-panel, .epk-cta) > h2 {
        margin: 0 0 22px;
        font-family: inherit;
        font-size: clamp(23px, 2.4vw, 30px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.02em;
        text-transform: none;
    }

    /* Keep legacy two-line headings readable instead of concatenating their words. */
    .artist-page.profile-clean :is(.profile-panel, .epk-cta) > h2 br {
        display: initial;
    }

    .artist-page.profile-clean :is(.profile-panel, .epk-cta) > h2 span {
        color: inherit;
    }

    .artist-page.profile-clean .profile-bio {
        max-width: 76ch;
        margin: 0;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) + 1px);
        line-height: 1.8;
        color: inherit;
        overflow-wrap: anywhere;
    }

    /* Music remains a horizontal carousel; provider-specific iframe sizes remain unchanged. */
    .artist-page.profile-clean .ccc-artist-music {
        --ccc-artist-music-accent: var(--refinement-accent);
        margin: 0;
        color: inherit;
        font-family: inherit;
    }

    .artist-page.profile-clean .ccc-artist-music-bar,
    .artist-page.profile-clean .ccc-artist-music-player-heading {
        flex-wrap: wrap;
        gap: 12px;
    }

    .artist-page.profile-clean .ccc-artist-music-track {
        gap: 14px;
        margin: 14px 0 16px;
        padding: 4px 3px 14px;
        scrollbar-color: var(--refinement-accent) transparent;
    }

    .artist-page.profile-clean .ccc-artist-music-card {
        flex-basis: clamp(174px, 19vw, 216px);
        padding: 12px;
        border-color: var(--refinement-border);
        border-radius: 13px;
        background: var(--refinement-surface);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    }

    .artist-page.profile-clean .ccc-artist-music-card-selected {
        border-color: var(--refinement-accent);
        box-shadow: inset 0 0 0 1px var(--refinement-accent), var(--refinement-shadow);
    }

    .artist-page.profile-clean .ccc-artist-music-artwork {
        border-radius: 9px;
        background: rgba(0, 0, 0, .12);
    }

    .artist-page.profile-clean .ccc-artist-music-artwork img {
        object-fit: contain;
    }

    .artist-page.profile-clean .ccc-artist-music-record {
        color: inherit;
        background: var(--refinement-raised);
        font-family: inherit;
    }

    .artist-page.profile-clean .ccc-artist-music-card-title {
        margin: 12px 0 6px;
        color: inherit;
        font-family: inherit;
        font-size: calc(var(--profile-size, 14px) + 1px);
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-hint, .ccc-artist-music-provider,
        .ccc-artist-music-note, .ccc-artist-music-status, .ccc-artist-music-empty,
        .ccc-artist-music-kicker) {
        color: inherit;
        font-family: inherit;
        line-height: 1.65;
        opacity: .8;
    }

    .artist-page.profile-clean .ccc-artist-music-provider {
        font-size: 12px;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-button, .ccc-artist-music-select,
        .ccc-artist-music-repeat) {
        min-width: 44px;
        min-height: 44px;
        border-color: var(--refinement-border);
        background: var(--refinement-raised);
        color: inherit;
        font-family: inherit;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-select, .ccc-artist-music-repeat) {
        border-radius: 9px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-select, .ccc-artist-music-repeat)[aria-pressed="true"] {
        border-color: var(--refinement-accent);
        background: var(--refinement-raised);
        box-shadow: inset 0 0 0 1px var(--refinement-accent);
    }

    .artist-page.profile-clean .ccc-artist-music-open {
        color: inherit;
        font-family: inherit;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-player, .ccc-artist-music-noscript,
        .ccc-artist-music-fallback) {
        border-color: var(--refinement-border);
        border-radius: 13px;
        background: var(--refinement-surface);
        color: inherit;
    }

    .artist-page.profile-clean :is(.ccc-artist-music-player-heading, .ccc-artist-music-noscript) h3 {
        color: inherit;
        font-family: inherit;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .ccc-artist-music-iframe {
        background: rgba(0, 0, 0, .12);
    }

    /* Portrait artwork is preserved; four generous desktop columns, two on phones. */
    .artist-page.profile-clean #artist-video .site-video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .artist-page.profile-clean #artist-video .site-video-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 0;
        border: 1px solid var(--refinement-border);
        border-radius: 13px;
        background: var(--refinement-surface);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean #artist-video .site-video-card.is-playlist-active {
        border-color: var(--refinement-accent);
        box-shadow: inset 0 0 0 1px var(--refinement-accent), var(--refinement-shadow);
    }

    .artist-page.profile-clean #artist-video .site-video-card-head {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        padding: 10px 12px;
        color: inherit;
        font-family: inherit;
    }

    .artist-page.profile-clean #artist-video .site-video-card-head :is(.eyebrow, .site-video-platform) {
        margin: 0;
        color: inherit;
        font-family: inherit;
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: .025em;
        opacity: .78;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean #artist-video .site-video-portrait {
        border-color: var(--refinement-border);
        border-radius: 0;
        background: rgba(0, 0, 0, .14);
    }

    .artist-page.profile-clean #artist-video .site-video-portrait > img {
        object-fit: contain;
    }

    .artist-page.profile-clean #artist-video .site-cover-placeholder {
        font-family: inherit;
        color: inherit;
        background: var(--refinement-raised);
    }

    .artist-page.profile-clean #artist-video :is(.site-video-card-copy, .site-video-copy) {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
        padding: 12px;
        min-width: 0;
    }

    .artist-page.profile-clean #artist-video :is(.site-video-card-copy, .site-video-copy) h3 {
        display: block;
        margin: 0 0 10px;
        color: inherit;
        font-family: inherit;
        font-size: var(--profile-size, 14px);
        line-height: 1.5;
        letter-spacing: 0;
        white-space: normal;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean #artist-video .site-card-actions {
        flex-wrap: wrap;
        gap: 6px 10px;
        margin-top: auto;
    }

    .artist-page.profile-clean #artist-video .site-card-actions .text-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 44px;
        max-width: 100%;
        padding: 7px 0;
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 0;
        text-transform: none;
        text-decoration: underline;
        text-underline-offset: 3px;
        overflow-wrap: anywhere;
    }

    /* JS alone decides when playback controls/search are available. */
    .artist-page.profile-clean #artist-video .site-select-video:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .artist-page.profile-clean #artist-video :is(.site-select-video, .site-cover-select,
        .site-playlist-filters button) {
        min-height: 44px;
        min-width: 44px;
        border-color: var(--refinement-border);
        background: var(--refinement-raised);
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.45;
    }

    .artist-page.profile-clean #artist-video .site-cover-select {
        background: rgba(0, 0, 0, .72);
        color: #fff;
    }

    .artist-page.profile-clean #artist-video .site-playlist-tools {
        align-items: end;
        gap: 12px;
        margin: 0 0 20px;
        min-width: 0;
    }

    .artist-page.profile-clean #artist-video .site-playlist-tools label {
        flex: 1 1 220px;
        width: auto;
        min-width: 0;
        max-width: 100%;
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.5;
    }

    .artist-page.profile-clean #artist-video [data-playlist-search] {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 11px 12px;
        border: 1px solid var(--refinement-border);
        border-radius: 9px;
        background: rgba(0, 0, 0, .12);
        color: inherit;
        font-family: inherit;
        font-size: 16px;
        line-height: 1.5;
    }

    .artist-page.profile-clean #artist-video .site-playlist-filters {
        /* Home's originals/spotlights/demos filters do not describe this artist's own links. */
        display: none;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
    }

    .artist-page.profile-clean #artist-video .site-playlist-filters button {
        padding: 9px 12px;
        border-radius: 9px;
    }

    .artist-page.profile-clean #artist-video .site-playlist-filters button[aria-pressed="true"] {
        border-color: var(--refinement-accent);
        box-shadow: inset 0 0 0 1px var(--refinement-accent);
    }

    .artist-page.profile-clean #artist-video :is([data-playlist-count], .site-playlist-empty) {
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.6;
        opacity: .8;
    }

    .artist-page.profile-clean .social-list a {
        gap: 14px;
        min-width: 0;
        min-height: 48px;
        padding: 14px 16px;
        border-color: var(--refinement-border);
        border-radius: 11px;
        background: var(--refinement-surface);
        color: inherit;
        font-family: inherit;
        font-size: var(--profile-size, 14px);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .social-list a span {
        min-width: 0;
    }

    .artist-page.profile-clean .social-list a b {
        flex: 0 0 auto;
        color: var(--refinement-accent);
    }

    /* Forms retain hidden fields, honeypot placement, consent and submission state. */
    .artist-page.profile-clean :is(.profile-signup, .profile-contact) {
        width: 100%;
        max-width: 780px;
        margin: 22px 0 16px;
    }

    .artist-page.profile-clean .profile-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .artist-page.profile-clean .profile-contact label:not(.honeypot),
    .artist-page.profile-clean .profile-signup label:not(.sr-only) {
        min-width: 0;
        color: inherit;
        font-family: inherit;
        font-size: var(--profile-size, 14px);
        line-height: 1.6;
    }

    .artist-page.profile-clean .profile-contact :is(input:not([type="hidden"]), select, textarea),
    .artist-page.profile-clean .profile-signup > input:not([type="hidden"]) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 48px;
        margin-top: 8px;
        padding: 12px 14px;
        border: 1px solid var(--refinement-border);
        border-radius: 10px;
        background: rgba(0, 0, 0, .12);
        color: inherit;
        font-family: inherit;
        font-size: 16px;
        line-height: 1.5;
    }

    .artist-page.profile-clean .profile-signup > input:not([type="hidden"]) {
        max-width: 520px;
        margin-top: 0;
    }

    .artist-page.profile-clean .profile-contact select {
        background-color: var(--artist-bg, var(--ink));
    }

    .artist-page.profile-clean .profile-contact textarea {
        min-height: 140px;
        resize: vertical;
    }

    .artist-page.profile-clean .profile-signup .consent-line {
        align-items: center;
        gap: 12px;
        min-height: 44px;
        margin: 12px 0 0;
        cursor: pointer;
    }

    .artist-page.profile-clean .consent-line input[type="checkbox"] {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin: 0;
        accent-color: var(--refinement-accent);
    }

    .artist-page.profile-clean :is(.profile-contact, .profile-signup) button {
        justify-self: start;
        margin-top: 4px;
    }

    .artist-page.profile-clean .profile-contact > button {
        grid-column: 1 / -1;
    }

    .artist-page.profile-clean .profile-signup > button {
        margin-top: 16px;
    }

    .artist-page.profile-clean .profile-panel .field-note {
        display: block;
        max-width: 76ch;
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.7;
        opacity: .8;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean :is(.profile-contact, .profile-signup, .site-playlist-tools) input::placeholder,
    .artist-page.profile-clean .profile-contact textarea::placeholder {
        color: inherit;
        opacity: .65;
    }

    /* Secondary sections share the same neutral card language and contain long copy. */
    .artist-page.profile-clean :is(.artist-journal, .epk-quotes) {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
        gap: 16px;
    }

    .artist-page.profile-clean :is(.artist-journal article, .epk-quotes blockquote) {
        min-width: 0;
        padding: 20px;
        border-color: var(--refinement-border);
        border-radius: 12px;
        background: var(--refinement-surface);
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean :is(.artist-journal h3, .artist-journal p,
        .artist-journal time, .epk-quotes p, .epk-quotes cite, .epk-quotes a,
        .epk-timeline b, .epk-timeline span, .epk-photo-grid figcaption) {
        color: inherit;
        font-family: inherit;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .artist-page.profile-clean .artist-journal h3 {
        margin: 10px 0;
        font-size: 20px;
        line-height: 1.4;
    }

    .artist-page.profile-clean .epk-quotes a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .artist-page.profile-clean .epk-timeline {
        border-left-color: var(--refinement-border);
    }

    .artist-page.profile-clean .epk-timeline article {
        flex-wrap: wrap;
        gap: 6px 18px;
        min-width: 0;
    }

    .artist-page.profile-clean .epk-timeline article::before {
        background: var(--refinement-accent);
        box-shadow: none;
    }

    .artist-page.profile-clean .epk-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .artist-page.profile-clean .epk-photo-grid figure {
        min-width: 0;
        margin: 0;
    }

    .artist-page.profile-clean .epk-photo-grid img {
        max-width: 100%;
        border-radius: 10px;
        object-fit: contain;
    }

    /* Clear keyboard focus without overriding JS visibility or adding hover-only controls. */
    .artist-page.profile-clean :is(.profile-avatar, .profile-quick-links a, .profile-actions .btn,
        .profile-panel a, .profile-panel button, .profile-panel input,
        .profile-panel select, .profile-panel textarea, .epk-cta a,
        .profile-owner-links a, .ccc-artist-music-track, .site-video-grid):focus-visible {
        outline: 2px solid var(--refinement-accent);
        outline-offset: 3px;
    }

    .artist-page.profile-clean .profile-jump-nav :focus-visible {
        outline: 2px solid var(--refinement-accent);
        outline-offset: -4px;
        opacity: 1;
    }

    @supports (background: color-mix(in srgb, red 10%, transparent)) {
        .artist-page.profile-clean {
            --refinement-border: color-mix(in srgb, currentColor 16%, transparent);
            --refinement-surface: color-mix(in srgb, currentColor 3%, transparent);
            --refinement-raised: color-mix(in srgb, currentColor 6%, transparent);
        }

        .artist-page.profile-clean .profile-jump-nav [aria-selected="true"],
        .artist-page.profile-clean :is(.ccc-artist-music-select, .ccc-artist-music-repeat)[aria-pressed="true"],
        .artist-page.profile-clean #artist-video .site-playlist-filters button[aria-pressed="true"] {
            background: color-mix(in srgb, var(--refinement-accent) 14%, transparent);
        }
    }

    @media (hover: hover) {
        .artist-page.profile-clean :is(.profile-quick-links a, .profile-actions .btn-ghost,
            .social-list a, .profile-jump-nav a, .profile-jump-nav button):hover,
        .artist-page.profile-clean .ccc-artist-music button:not(:disabled):hover,
        .artist-page.profile-clean .profile-owner-links a:hover,
        .artist-page.profile-clean #artist-video :is(.site-select-video, .site-playlist-filters button):hover {
            border-color: var(--refinement-accent);
            background: var(--refinement-raised);
            color: inherit;
            opacity: 1;
        }

        .artist-page.profile-clean :is(.profile-actions, .profile-panel, .epk-cta) .btn-primary:hover {
            background: var(--refinement-accent);
            border-color: var(--refinement-accent);
            box-shadow: none;
        }

        .artist-page.profile-clean[data-button="outline"] .profile-actions .btn-primary:hover {
            background: var(--refinement-raised);
            color: var(--refinement-accent);
        }

        .artist-page.profile-clean .ccc-artist-music-open:hover {
            color: inherit;
            text-decoration-thickness: 2px;
        }
    }

    @media (max-width: 700px) {
        .artist-page.profile-clean > .wrap {
            width: calc(100% - 32px);
        }

        .artist-page.profile-clean .profile-overview {
            grid-template-columns: 90px minmax(0, 1fr);
            gap: 16px 18px;
            padding-top: 22px;
            padding-bottom: 22px;
        }

        .artist-page.profile-clean .profile-info h1 {
            font-size: clamp(26px, 5vw, 34px);
        }

        .artist-page.profile-clean .profile-actions {
            grid-column: 1 / -1;
        }

        .artist-page.profile-clean .profile-owner-tools {
            padding: 14px;
        }

        .artist-page.profile-clean .profile-owner-links {
            flex: 1 1 100%;
        }

        .artist-page.profile-clean .profile-owner-links a {
            flex: 1 1 120px;
        }

        .artist-page.profile-clean .profile-jump-nav {
            gap: 6px;
            margin-top: 8px;
            margin-bottom: 18px;
            border-radius: 12px;
        }

        .artist-page.profile-clean .profile-jump-nav :is(a, button) {
            padding-inline: 13px;
        }

        .artist-page.profile-clean .profile-panel,
        .artist-page.profile-clean #artist-video,
        .artist-page.profile-clean .epk-cta {
            padding: 18px 14px;
            margin-bottom: 18px;
            border-radius: 13px;
        }

        .artist-page.profile-clean #artist-video .site-video-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .artist-page.profile-clean .ccc-artist-music-card {
            flex-basis: 174px;
        }

        .artist-page.profile-clean .profile-contact {
            grid-template-columns: minmax(0, 1fr);
        }

        .artist-page.profile-clean .social-list {
            grid-template-columns: minmax(0, 1fr);
        }

        .artist-page.profile-clean .epk-photo-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 390px) {
        .artist-page.profile-clean .profile-overview {
            grid-template-columns: 76px minmax(0, 1fr);
            gap: 14px;
        }

        .artist-page.profile-clean .profile-avatar {
            width: 72px;
            height: 72px;
        }

        .artist-page.profile-clean .ccc-profile-photo-stack {
            max-width: 76px;
        }

        .artist-page.profile-clean .profile-quick-links {
            gap: 6px;
        }

        .artist-page.profile-clean .profile-quick-links a {
            padding-inline: 10px;
        }

        .artist-page.profile-clean .profile-actions .btn {
            flex: 1 1 120px;
            padding-inline: 10px;
        }

        .artist-page.profile-clean #artist-video .site-video-grid {
            gap: 10px;
        }

        .artist-page.profile-clean #artist-video :is(.site-video-card-copy, .site-video-copy,
            .site-video-card-head) {
            padding: 10px 8px;
        }

        .artist-page.profile-clean #artist-video .site-card-actions .text-link {
            gap: 3px;
        }

        .artist-page.profile-clean #artist-video .site-select-video {
            width: 100%;
            padding-inline: 6px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .artist-page.profile-clean :is(.profile-jump-nav, .ccc-artist-music-track) {
            scroll-behavior: auto;
        }
    }
}

/* Existing EPK print styles keep their form/control exclusions. Restore every
 * section and filtered video for print, even if scripting is unavailable. */
@media print {
    .artist-page.profile-clean .profile-main > [hidden],
    .artist-page.profile-clean #artist-video .site-video-card[hidden] {
        display: block !important;
    }

    .artist-page.profile-clean .ccc-artist-music-track {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        max-width: 100%;
    }

    .artist-page.profile-clean .ccc-artist-music-card {
        break-inside: avoid;
    }

    /* Editing shortcuts are account tools, not part of the artist's press kit. */
    .artist-page.profile-clean .profile-owner-tools {
        display: none !important;
    }
}
