.fsa-grid {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(var(--fsa-columns, 4), minmax(0, 1fr));
        gap: 20px;
}

.fsa-card {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
}

.fsa-card__media {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 12px;
        background: #f1f1f4;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fsa-card__img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
}

.fsa-card:hover .fsa-card__img {
        transform: scale(1.04);
}

.fsa-card__name {
        margin-top: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        color: inherit;
        word-break: break-word;
        overflow-wrap: anywhere;
}

.fsa-card__company {
        margin-top: 2px;
        font-size: 0.82rem;
        font-weight: 400;
        line-height: 1.3;
        text-align: center;
        color: #6b7280;
}

.fsa-card__media--anonymous {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e9e9ef;
}

.fsa-card__anon-mark {
        font-size: 2.4rem;
        font-weight: 700;
        color: #9ca3af;
}

.fsa-card--anonymous .fsa-card__name {
        color: #6b7280;
}

@media (max-width: 1024px) {
        .fsa-grid {
                grid-template-columns: repeat(min(var(--fsa-columns, 4), 3), minmax(0, 1fr));
        }
}

@media (max-width: 680px) {
        .fsa-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 14px;
        }
}

@media (max-width: 400px) {
        .fsa-grid {
                grid-template-columns: 1fr;
        }
}

.fsa-attendees {
        width: 100%;
}

.fsa-grid--collapsible .fsa-card--overflow {
        display: none;
}

.fsa-grid--collapsible .fsa-card--overflow.fsa-card--shown {
        display: flex;
}

.fsa-more {
        margin-top: 24px;
        display: flex;
        justify-content: center;
}

.fsa-more__button,
.fsa-pager__btn {
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        font: inherit;
        font-weight: 600;
        color: #1d2327;
        background: #fff;
        border: 1px solid #d1d5db;
        border-radius: 999px;
        padding: 10px 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.fsa-more__button:hover,
.fsa-pager__btn:hover {
        background: #f8fafc;
        border-color: #9ca3af;
}

.fsa-more__button:active,
.fsa-pager__btn:active {
        transform: translateY(1px);
}

.fsa-more__count {
        color: #6b7280;
        font-weight: 400;
}

.fsa-grid--paged .fsa-card--page-hidden {
        display: none !important;
}

.fsa-pager {
        margin-top: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
}

.fsa-pager__status {
        font-size: 0.95rem;
        color: #6b7280;
}

.fsa-pager__btn:disabled {
        opacity: 0.45;
        cursor: default;
        box-shadow: none;
}

.fsa-pager__btn:disabled:hover {
        background: #fff;
        border-color: #d1d5db;
}
