.author-popup-container {
    position: absolute;
    z-index: 1000;
    pointer-events: auto;
    animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.author-popup-content {
    background: linear-gradient(135deg, #1a1a1c 0%, #1e1e20 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    width: 340px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.author-popup-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.author-popup-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.author-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-popup-info {
    flex: 1;
    min-width: 0;
}

.author-popup-name {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

/* Adviser Info */
.author-popup-adviser {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.adviser-category,
.adviser-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.adviser-category i,
.adviser-company i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Bio */
.author-popup-bio {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.author-popup-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.author-popup-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    letter-spacing: -0.1px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-popup-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-popup-btn:active {
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}