.sa-profile-header { position: relative; isolation: isolate; min-width: 0; margin-top: 0; color: var(--text, #eef2f7); }
.sa-profile-header__cover { height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.sa-profile-header__cover-surface { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sa-profile-header__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sa-profile-header--preset .sa-profile-header__cover { height: 120px; }
.sa-profile-header__body { position: relative; z-index: 1; margin-top: -24px; padding: 0 24px 20px; }
.sa-profile-header__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 32px; }
.sa-profile-header__person { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 20px; min-width: 0; }
.sa-profile-header .sa-profile-avatar { width: 80px !important; height: 80px !important; border: 2px solid #11191f; border-radius: 50% !important; object-fit: cover; box-shadow: none; }
.sa-profile-header__identity { min-width: 0; }
.sa-profile-header__name { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--text, #f1f5f9); font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; }
.sa-profile-header__name > span:first-child { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.sa-profile-header__name.sa-profile-name--glow::after { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.sa-profile-header__name .sa-plus-badge, .sa-profile-header__name .sa-official-badge { flex: 0 0 auto; margin: 0; font-size: 9px; letter-spacing: 0; }
.sa-profile-header__bio { margin-top: 10px; max-width: 560px; color: var(--muted, #a6b7c6); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.sa-profile-header .sa-level-strip { margin-top: 10px; max-width: min(100%, 260px); }
.sa-profile-header .sa-level-strip:not(.sa-level-strip--grand-line):not(.sa-level-strip--dark-grimoire):not(.sa-level-strip--sharingan):not(.sa-level-strip--valyrian-sword) { width: 240px; border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; }
.sa-profile-header .sa-level-head { font-size: 10px; letter-spacing: 0; }
.sa-profile-header .sa-level-footer { font-size: 10px; letter-spacing: 0; }
.sa-profile-header__aside { display: grid; gap: 16px; width: 420px; max-width: 100%; min-width: 0; }
.sa-profile-header .sa-profile-stats { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; align-items: start; width: 420px; max-width: 100%; gap: 0 !important; padding: 4px 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.sa-profile-header .sa-profile-stats--official { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.sa-profile-header__locked { padding: 8px 0; }
.sa-profile-header__locked h2 { margin-top: 6px; font-size: 18px; }
.sa-profile-header .sa-profile-stat-card { min-height: 48px; min-width: 0; padding: 0 6px !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none; overflow: hidden; }
.sa-profile-header .sa-profile-stat-card + .sa-profile-stat-card { border-left: 1px solid var(--border, #34414c) !important; }
.sa-profile-header .sa-profile-stat-card::before { content: none; }
.sa-profile-header .sa-profile-stat-value { max-width: 100%; color: var(--text, #eef2f7) !important; font-size: 22px !important; font-weight: 700; line-height: 1.3; letter-spacing: 0; transform: none; }
.sa-profile-header .sa-profile-stat-title { margin-top: 4px; color: var(--muted, #91a5b6) !important; font-size: 10px !important; font-weight: 600; line-height: 1.4; letter-spacing: 0 !important; }
.sa-profile-header__footer, .sa-profile-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.sa-profile-header__footer { margin-top: 18px; }
.sa-profile-header__actions { justify-content: flex-end; }
.sa-profile-header__connections { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.sa-profile-header__actions form { display: inline-flex; margin: 0; max-width: 100%; }
.sa-profile-header .sa-profile-chip, .sa-profile-header .sa-follow-action-button, .sa-profile-header .sa-profile-like-button { display: inline-flex; min-height: 36px; max-width: 100%; align-items: center; justify-content: center; border-radius: 6px; box-shadow: none; font-size: 11px; letter-spacing: 0; }
.sa-profile-header .sa-profile-chip, .sa-profile-header .sa-follow-action-button { padding: 6px 10px; }
.sa-profile-header .sa-follow-metric { display: inline-flex; min-height: 36px; flex-direction: row; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sa-profile-header .sa-follow-metric strong { font-size: 14px; line-height: 1.3; }
.sa-profile-header .sa-follow-metric span { font-size: 11px; letter-spacing: 0; }
.sa-profile-header .sa-follow-count-chip { border: 0; padding-inline: 4px; background: none; color: var(--muted, #a6b7c6); }
.sa-profile-header .sa-profile-chip:not(button):not(a) { padding-left: 0; border: 0; background: none; }
.sa-profile-header .sa-official-socials { border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; }
.sa-profile-header .sa-social-icon-row { margin-top: 8px; }
.sa-profile-header .sa-mutual-stack { min-height: 36px; border-radius: 6px; box-shadow: none; }
.sa-profile-header .sa-social-icon-link, .sa-profile-header .sa-profile-social-icon { width: 36px; height: 36px; border-radius: 6px; }
.sa-profile-header .sa-profile-stat-card:hover .sa-profile-stat-value { transform: none; }
@media (max-width: 1050px) {
    .sa-profile-header__row { grid-template-columns: 1fr; gap: 20px; }
    .sa-profile-header__aside { width: 100%; }
    .sa-profile-header .sa-profile-stats { width: 100%; max-width: 520px; }
    .sa-profile-header__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .sa-profile-header__cover { height: 200px; }
    .sa-profile-header--preset .sa-profile-header__cover { height: 72px; }
    .sa-profile-header__body { margin-top: -12px; padding: 0 0 16px; }
    .sa-profile-header__person { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
    .sa-profile-header .sa-profile-avatar { width: 64px !important; height: 64px !important; }
    .sa-profile-header__name { font-size: 24px; }
    .sa-profile-header .sa-profile-stats { display: grid !important; overflow: visible; padding: 0; }
    .sa-profile-header .sa-profile-stat-card { min-height: 44px; padding: 0 2px !important; }
    .sa-profile-header .sa-profile-stat-value { font-size: 18px !important; }
    .sa-profile-header .sa-profile-stat-title { white-space: normal; overflow-wrap: anywhere; }
    .sa-profile-header .sa-profile-chip, .sa-profile-header .sa-follow-action-button, .sa-profile-header .sa-profile-like-button, .sa-profile-header .sa-follow-metric { min-height: 44px; }
    .sa-profile-header .sa-mutual-stack { min-height: 44px; }
    .sa-profile-header .sa-social-icon-link, .sa-profile-header .sa-profile-social-icon { width: 44px; height: 44px; }
    .sa-profile-header .sa-level-strip { display: block; }
}
