:root {
    --icon-size: 28px;
    color: #e7eaf0;
    background: #10131a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background: radial-gradient(circle at top, #1e2940 0, #10131a 38rem);
}

.bgc1 {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(16, 19, 26, .9);
    backdrop-filter: blur(14px);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
}

h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
}

h1 small {
    display: block;
    margin-top: .3rem;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: 0;
}

.toolbar-controls {
    display: flex;
    align-items: end;
    gap: 1rem;
}

.toolbar-controls label,
.toolbar-controls span {
    display: block;
}

.toolbar-controls span {
    margin-bottom: .35rem;
    color: #aeb9ca;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.toolbar-controls input {
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: .4rem;
    color: #f4f7ff;
    background: #151b27;
}

.search-control input {
    width: 15rem;
    padding: .55rem .7rem;
}

.size-control input {
    width: 8rem;
    accent-color: #78a7ff;
}

output {
    color: #9fc0ff;
}

code {
    color: #9fc0ff;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.fgc1 {
    color: #aeb9ca;
}

.clearfix.mhl.ptl {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .8rem;
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.glyph {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .75rem;
    background: rgba(27, 33, 46, .78);
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.glyph:hover {
    border-color: #78a7ff;
    background: #202a3d;
    transform: translateY(-2px);
}

.glyph > .clearfix:first-child {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.4rem;
    color: #f4f7ff;
}

.glyph .mi {
    flex: 0 0 2rem;
    color: #9fc0ff;
    font-size: var(--icon-size);
    text-align: center;
}

.mls {
    overflow: hidden;
    color: #f4f7ff;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

fieldset {
    display: flex;
    margin-top: .85rem;
    padding-top: .75rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

input {
    width: 50%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #aeb9ca;
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .75rem;
}

.talign-right {
    text-align: right;
}

.hidden-true {
    display: none;
}

@media (max-width: 520px) {
    .toolbar {
        display: block;
        padding: .9rem 1rem;
    }

    .toolbar-controls {
        margin-top: .8rem;
    }

    .search-control {
        flex: 1;
    }

    .search-control input {
        width: 100%;
    }

    .size-control {
        display: none;
    }

    .clearfix.mhl.ptl {
        grid-template-columns: 1fr 1fr;
        gap: .55rem;
        width: min(100% - 1rem, 1200px);
        padding-top: 1rem;
    }

    .glyph {
        padding: .75rem;
    }

    .glyph > .clearfix:first-child {
        display: block;
    }

    .glyph .mi {
        display: block;
        margin-bottom: .55rem;
        text-align: left;
    }
}
