.profile-header-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.profile-avatar-large {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.avatar-badge {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 2;
}

.avatar-badge.online {
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--success);
    border: 3px solid var(--bg-panel);
}

.avatar-badge.action {
    bottom: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    border: 2px solid var(--bg-panel);
}

.avatar-badge.action.favorite {
    color: var(--warning);
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.avatar-badge.action.edit {
    background: var(--text-muted);
    color: var(--text-pure);
    cursor: pointer;
    transition: background 0.2s;
}

.avatar-badge.action.edit:hover { background: var(--text-dim); }

.profile-username {
    color: var(--text-pure);
    font-size: 1.6rem;
    font-weight: 800;
}

.profile-tag {
    color: var(--text-dim);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: normal;
    margin-top: 2px;
}

.profile-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
    background: var(--bg-panel);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.profile-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.profile-detail-label {
    color: var(--text-dim);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.profile-detail-value {
    color: var(--text-pure);
    font-weight: 800;
    font-size: 1.1rem;
}

.profile-highlight-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-light);
}

.phs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    transition: color 0.2s, transform 0.2s;
    cursor: default;
}

.phs-item:hover {
    color: var(--text-pure);
    transform: translateY(-2px);
}

.phs-icon {
    width: 32px;
    height: 32px;
}

.phs-icon.text-primary { color: var(--primary); }
.phs-icon.text-secondary { color: var(--warning); }

.phs-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-pure);
    font-family: monospace;
}

.profile-content-wrapper::-webkit-scrollbar {
    display: none;
}
.profile-content-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.moderation-btn {
    padding: 8px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none !important;
    outline: none !important;
}

.moderation-btn svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.moderation-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.moderation-btn.block {
    background: transparent !important;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
}

.moderation-btn.block:hover {
    background: rgba(var(--danger-rgb), 0.1) !important;
    transform: translateY(-2px);
}

.moderation-btn.block:hover svg {
    transform: scale(1.1);
}

.moderation-btn.unblock {
    background: var(--success) !important;
    border: 1px solid var(--success) !important;
    color: var(--text-on-accent) !important;
}

.moderation-btn.unblock:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--success-rgb), 0.3);
}

.moderation-btn.report {
    background: rgba(var(--danger-rgb), 0.1) !important;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
}

.moderation-btn.report:hover {
    background: var(--danger) !important;
    color: var(--text-on-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--danger-rgb), 0.3);
}

.moderation-btn.report:hover svg {
    transform: rotate(15deg);
}