html {
    scroll-padding-top: 4.25rem;
}

.mnm-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    margin-bottom: 1.7rem !important;
    padding: .32rem .25rem;
    background: #0d110ff2;
    border-color: #5a503b !important;
    box-shadow: 0 8px 20px #0008;
    backdrop-filter: blur(10px);
}

.mnm-navbar + div.container-fluid {
    flex: 1;
}

.mnm-navbar .navbar-toggler {
    margin-left: auto;
}

.class-toc {
    top: var(--mnm-nav-height, 3.25rem);
}

.class-section {
    scroll-margin-top: calc(var(--mnm-nav-height, 3.25rem) + 5rem);
}

.item-results-sticky-header {
    position: fixed;
    z-index: 1020;
    display: none;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 0;
    background: #242a25;
    box-shadow: 0 10px 22px #0009;
}

.item-results-sticky-header.is-visible {
    display: block;
}

.item-results-sticky-header .equipment-grid {
    margin: 0;
    table-layout: fixed;
}

.item-results-sticky-header .equipment-grid thead {
    position: static;
}

.item-results-sticky-header th {
    overflow: hidden;
}

.item-results-sticky-header th button {
    width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-count strong {
    font: inherit;
}

.item-results-loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 4.5rem;
    color: var(--muted);
    font: .8rem/1.4 system-ui, sans-serif;
}

.item-results-loader .btn {
    min-width: 7.5rem;
}

.item-results-sentinel {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    pointer-events: none;
}

@media (max-width: 575px) {
    .mnm-navbar {
        padding: .42rem .45rem;
    }

    .mnm-navbar .container-fluid {
        justify-content: flex-end;
    }

    .mnm-navbar .navbar-collapse {
        flex-basis: 100%;
    }
}
