/* The bestiary (app/src/pages/adventures/bestiary.astro): its foes in groups by kind, each under a
   heading with how many there are, on the creator pages' dark panel. */

/* The filters above the realm tabs: the Threat range, then a checkbox per
   kind (the creator's Traits filter checkboxes, .traits-filters) */
.bestiary-filters {
    margin: 0 0 24px;
    gap: 12px 24px;
}

.bestiary-threat {
    display: flex;
    align-items: center;
    gap: 8px;

    label {
        margin: 0;
    }
}

/* Each sheet's wrapper carries its Threat and kinds for the filters; the
   sheet stays the grid's item */
.bestiary-foe {
    display: contents;
}

.bestiary-foe[hidden],
.bestiary-group[hidden] {
    display: none;
}

/* Spaced from the shown group before it, skipping any the filters hid */
.bestiary-group:not([hidden]) ~ .bestiary-group:not([hidden]) {
    margin-top: 80px;
}

.bestiary-kind {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
    font-family: 'bebas_neueregular';
    font-size: 2.25rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--sf-gray-0);
}

/* How many foes in the group */
.bestiary-count {
    font-size: 1.25rem;
    color: var(--sf-gray-300);
}
