/* === ARTIST HOVER CARD === */
.artist-hover-trigger {
    cursor: pointer;
    position: relative;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 1px solid transparent;
    /* Hidden by default */
    text-decoration: none;
}

.artist-hover-trigger:hover {
    color: #fff;
    border-bottom-color: #fff;
    /* Visible on hover */
}

#artist-hover-card {
    position: fixed;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    /* Force column layout */
    background: #18181b;
    /* Zinc-900 */
    border: 1px solid #27272a;
    /* Zinc-800 */
    border-radius: 12px;
    padding: 16px;
    width: 260px;
    /* Slightly wider */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    color: #fff;

    /* Transition Logic */
    opacity: 0;
    transform: translateY(10px);
    transition: none;
    /* Instant hide */
    pointer-events: none;
}

#artist-hover-card.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    /* Smooth show */
    pointer-events: auto;
    display: flex !important;
}

.ahc-header {
    display: flex;
    flex-direction: row;
    /* Explicit row */
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    /* increased spacing */
}

.ahc-avatar {
    width: 56px;
    /* Larger avatar */
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #222;
    border: 1px solid #333;
    flex-shrink: 0;
}

.ahc-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.ahc-name {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ahc-stats {
    font-size: 0.8rem;
    color: #a1a1aa;
    /* Zinc-400 */
    margin-top: 4px;
}

.ahc-btn-follow {
    background: #8A2BE2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    /* Keep moderate height */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
}

.ahc-btn-follow:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.ahc-btn-follow.following-state {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
}

.ahc-btn-follow.following-state:hover {
    border-color: #fff;
    color: #fff;
}