.creator-grid .creator-card {
    min-height: 220px;
}

.profiles-directory-card {
    background:
        radial-gradient(circle at 20% 0%, rgba(79,124,255,.14), transparent 0 24%, transparent 25%),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
}

.profiles-directory-card form {
    max-width: 680px;
    margin-bottom: 18px;
}

.profiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    align-items: stretch;
}

.profile-pilot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 262px;
    overflow: hidden;
}

.profile-pilot-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 38%);
}

.profile-pilot-card > * {
    position: relative;
}

.creator-avatar {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.18);
    display: block;
    margin-bottom: 14px;
}

.profile-pilot-card .creator-avatar {
    margin-bottom: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.profile-pilot-card h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
}

.profile-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 25px;
}

.profile-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255,255,255,.055);
    color: #d5dbe8;
    font-size: .78rem;
    font-weight: 900;
}

.profile-card-bio {
    margin: 0;
    color: #b9c1d0;
    font-size: .9rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    margin-top: auto;
}

.profile-card-actions .button {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding-inline: 12px;
}

.creator-avatar.large {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin: 0;
}

.creator-banner {
    height: 260px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 22px;
}

.creator-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

@media (min-width: 1100px) {
    .profiles-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .creator-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .creator-banner {
        height: 160px;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
    }
}
