.creator-profile-header {
    margin-bottom: 2rem;
}

.creator-profile-header__banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 240px;
    background-color: var(--surface-2);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-profile-header__banner--plain {
    background: linear-gradient(145deg, var(--surface-2) 0%, var(--border) 100%);
}

.creator-profile-header__banner--classic {
    min-height: 200px;
    align-items: flex-end;
    justify-content: flex-start;
    border-radius: 12px;
}

.creator-profile-header--classic-row .creator-profile-header__row {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.25rem 1.5rem;
}

.creator-profile-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 10, 16, 0.2) 0%, rgba(8, 10, 16, 0.62) 100%);
    pointer-events: none;
}

.creator-profile-header__banner--plain .creator-profile-header__overlay {
    display: none;
}

.creator-profile-header__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 0.35rem;
    max-width: 42rem;
}

.creator-profile-header__row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    text-align: left;
}

.creator-profile-header__row--on-image .creator-profile-header__name,
.creator-profile-header__row--on-image .creator-profile-header__handle,
.creator-profile-header__row--on-image .creator-profile-header__bio {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.creator-profile-header__row--on-image .creator-profile-header__handle,
.creator-profile-header__row--on-image .creator-profile-header__bio {
    color: rgba(255, 255, 255, 0.92);
}

.creator-profile-header--classic-row .creator-profile-header__row {
    width: 100%;
}

.creator-profile-header--classic-row .creator-profile-header__name,
.creator-profile-header--classic-row .creator-profile-header__handle,
.creator-profile-header--classic-row .creator-profile-header__bio {
    text-align: left;
}

.creator-profile-header__text {
    min-width: 0;
    flex: 1;
}

.creator-profile-header__compact-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-2);
}

.creator-profile-header__compact-card--banner {
    background-size: cover;
    background-position: center;
    border-color: transparent;
}

.creator-profile-header__compact-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    text-align: left;
}

.creator-profile-header__compact-main {
    min-width: 0;
    flex: 1;
}

.creator-profile-header__compact-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
}

.creator-profile-header__compact-card--banner .creator-profile-header__compact-inner .creator-profile-header__name,
.creator-profile-header__compact-card--banner .creator-profile-header__compact-inner .creator-profile-header__handle,
.creator-profile-header__compact-card--banner .creator-profile-header__compact-inner .creator-profile-header__bio {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.creator-profile-header__compact-card--banner .creator-profile-header__compact-inner .creator-profile-header__handle,
.creator-profile-header__compact-card--banner .creator-profile-header__compact-inner .creator-profile-header__bio {
    color: rgba(255, 255, 255, 0.92);
}

.creator-profile-header__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

.creator-profile-header__avatar--sm {
    width: 64px;
    height: 64px;
}

.creator-profile-header__banner--plain .creator-profile-header__avatar,
.creator-profile-header--classic-row .creator-profile-header__avatar,
.creator-profile-header--compact .creator-profile-header__avatar {
    border-color: var(--surface);
    box-shadow: var(--shadow);
}

.creator-profile-header__avatar--placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow);
}

.creator-profile-header__avatar--placeholder.creator-profile-header__avatar--sm {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
}

.creator-profile-header__name {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.2;
}

.creator-profile-header--classic-row .creator-profile-header__name {
    margin-top: 0;
}

.creator-profile-header--compact .creator-profile-header__name {
    font-size: 1.15rem;
}

.creator-profile-header__handle {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.creator-profile-header--compact .creator-profile-header__handle {
    font-size: 0.88rem;
}

.creator-profile-header__bio {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36rem;
}

.creator-profile-header--compact .creator-profile-header__bio {
    font-size: 0.88rem;
    margin-top: 0.45rem;
}

.creator-profile-header__banner--image .creator-profile-header__content .creator-profile-header__name,
.creator-profile-header__banner--image .creator-profile-header__content .creator-profile-header__handle,
.creator-profile-header__banner--image .creator-profile-header__content .creator-profile-header__bio {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.creator-profile-header__banner--image .creator-profile-header__content .creator-profile-header__handle,
.creator-profile-header__banner--image .creator-profile-header__content .creator-profile-header__bio {
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 540px) {
    .creator-profile-header__compact-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
}
