.frngrd {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
}

.frncrd {
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.frntop {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.frnavt {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #E0E0E0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.frnavt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frndtl {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.frndn {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1A202C;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frndn:hover {
    color: var(--accent, #912ADF);
}

.frnun {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frnact {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.frnact form {
    flex: 1;
    display: flex;
}

.frnact .primary {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.frnemt {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #718096;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .frngrd {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
}
