.friend-links-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .friend-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .friend-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.friend-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.friend-card:hover {
    border-color: #2AABEE;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
}

.friend-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #2AABEE 0%, #1E96BC 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.friend-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem;
}

.friend-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.friend-url {
    font-size: 0.75rem;
    color: #2AABEE;
    margin-top: 0.5rem;
    word-break: break-all;
}

.friend-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.friend-apply-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.friend-apply-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.friend-apply-box p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.friend-apply-box .apply-label {
    color: #374151;
    font-weight: 500;
}

.friend-apply-box .apply-contact {
    color: #2AABEE;
}
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    word-break: break-all;
    margin-top: 0.75rem;
}

.friend-apply-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.friend-apply-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-size: 0.9375rem;
}

.friend-apply-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2AABEE;
    font-weight: bold;
}

.friend-compact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.friend-compact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #4b5563;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
}

.friend-compact-link:hover {
    color: #2AABEE;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
