.profile-hover-card {
    position: fixed;
    z-index: 9999;
    width: 320px;
    background: #1a1d21;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}

.profile-hover-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.phc-banner {
    height: 70px;
    position: relative;
}

.phc-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 29, 33, 0.8) 100%);
}

.phc-content {
    padding: 0 16px 16px;
    margin-top: -28px;
    position: relative;
}

.phc-avatar-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.phc-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1d21;
    background: #252830;
}

.phc-follow-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    margin-bottom: 8px;
}

.phc-follow-btn.follow {
    background: #fbbf24;
    color: #000;
}

.phc-follow-btn.follow:hover {
    background: #f59e0b;
    transform: scale(1.02);
}

.phc-follow-btn.following {
    background: transparent;
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.phc-follow-btn.following:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.phc-follow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.phc-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.phc-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.phc-badge {
    width: 16px;
    height: 16px;
}

.phc-username {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 10px;
}

.phc-bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.phc-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phc-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.phc-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.phc-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.phc-mode {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.phc-mode-img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.phc-mode-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.phc-mode-name {
    color: #fbbf24;
    font-weight: 600;
}

.phc-loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.phc-loader {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(251, 191, 36, 0.15);
    border-top-color: #fbbf24;
    border-radius: 50%;
    animation: phc-spin 0.7s linear infinite;
}

@keyframes phc-spin {
    to { transform: rotate(360deg); }
}

[data-hover-profile] {
    cursor: pointer;
}
