.friend-request-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
}

.friend-request-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.friend-request-info {
    flex: 1;
}

.friend-request-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.friend-request-handle {
    font-size: 14px;
    color: #64748b;
}

.friend-request-actions {
    display: flex;
    gap: 8px;
}

.accept-btn, .decline-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.accept-btn {
    background: #10b981;
    color: white;
}

.accept-btn:hover {
    background: #059669;
}

.decline-btn {
    background: #ef4444;
    color: white;
}

.decline-btn:hover {
    background: #dc2626;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.friend-card-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.friend-card-title {
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.loading-message, .no-friends-message {
    text-align: center;
    padding: 32px;
    color: #64748b;
}

.friend-card h3 {
    font-size: 18px;
    font-weight: 700;
}

.discriminator {
    color: #9ca3af;   
    font-weight: 500;    
    margin-left: 4px;
    font-size: 14px;   
}

.friend-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.friend-card-link:hover {
    transform: translateY(-4px);
}

.friend-card-link:hover .friend-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.discriminator {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9em;
}

.add-friend-btn {
    padding: 9px 20px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.add-friend-btn:hover { opacity: 0.85; }

.already-friends-badge {
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
}

.request-pending-badge {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.friend-card-streak.streak-inactive {
    filter: grayscale(1);
    opacity: 0.5;
}