*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none
}

:root {
    --bg: #0a0a0a;
    --navy: #1f3e66;
    --navy-dim: rgba(31, 62, 102, .12);
    --glass: rgba(255, 255, 255, .05);
    --glass-border: rgba(255, 255, 255, .1);
    --glass-hover: rgba(255, 255, 255, .08);
    --text: rgba(255, 255, 255, .58);
    --text-mid: rgba(255, 255, 255, .72);
    --text-bright: rgba(255, 255, 255, .96);
    --text-dim: rgba(255, 255, 255, .4);
    --heading: "Chillax", sans-serif;
    --sans: "DM Sans", sans-serif;
    --chrome-1: #ffffff;
    --chrome-2: #d8d8d8;
    --chrome-3: #8a8a8a;
    --chrome-4: #2a2a2a;
    --grid-line: rgba(255, 255, 255, .035);
    --blue: #7aa2f7;
    --amber: #e0af68;
    --red: #f7768e;
    --green: #9ece6a;
    --content-max: 1100px;
    --nav-max: 634px
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: none;
    scrollbar-gutter: stable both-edges;
    background: var(--bg)
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    overscroll-behavior: none;
    position: relative
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: #ffffff1a;
    border-radius: 10px
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .1) var(--bg)
}

#hero-canvas,
#prem-hero-canvas {
    -webkit-mask: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 200px), transparent calc(100% - 110px));
    mask: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 200px), transparent calc(100% - 110px))
}

nav {
    --nav-ease: cubic-bezier(.22, .8, .32, 1);
    --nav-dur: .5s;
    position: fixed;
    z-index: 100;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid rgba(28, 43, 104, .15);
    outline: none;
    opacity: 0;
    width: calc(100% - 48px);
    max-width: var(--nav-max);
    padding: 5px 16px 5px 6px;
    background: radial-gradient(ellipse 70% 120%at 15% 50%, rgba(28, 43, 104, .2) 0%, transparent 65%), linear-gradient(160deg, #101344a6, #0d0c1eb8);
    box-shadow: 0 20px 56px #0009, inset 0 1px #1c2b681f, inset 0-1px #0006;
    animation: fadeInNav .8s ease .2s forwards;
    transition: top var(--nav-dur) var(--nav-ease), padding var(--nav-dur) var(--nav-ease), border-radius var(--nav-dur) var(--nav-ease), box-shadow var(--nav-dur) ease
}

@keyframes fadeInNav {
    to {
        opacity: 1
    }
}

nav {
    top: 6px;
    padding-top: 5px;
    padding-bottom: 5px
}

nav.nav--floating {
    border-radius: 18px
}

nav:not(.nav--floating) {
    border-radius: 0 0 18px 18px;
    box-shadow: none
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 4px 12px 4px 6px;
    flex-shrink: 0
}

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: contain
}

.nav-brand-text {
    font-family: "Poppins", var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--text-bright)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Poppins", var(--sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--text);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 100px;
    transition: color .25s, background .25s
}

.nav-link:hover {
    color: #fff;
    background: #1c2b681f
}

.nav-link.active {
    color: #fff;
    background: #1c2b6824
}

.nav-link i {
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Poppins", var(--sans);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .01em;
    color: #ffffffe6;
    background: #1c2b681f;
    border: 1px solid rgba(28, 43, 104, .2);
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 100px;
    transition: background .25s, border-color .25s;
    flex-shrink: 0;
    margin-left: 14px;
    margin-right: 2px
}

.nav-btn:hover {
    background: #1c2b682e;
    border-color: #1c2b6852;
    color: #fff
}

.nav-btn--discord {
    background: linear-gradient(135deg, #3a58cd, #121b40);
    border: 1px solid rgba(78, 108, 225, .45);
    color: #fff;
    box-shadow: 0 4px 16px -4px #22347d80, inset 0 1px 1px #ffffff26;
    transition: transform .25s, background .25s, border-color .25s;
    transform: translateY(-1px)
}

.nav-btn--discord:hover {
    background: linear-gradient(135deg, #4664dc, #182250);
    border-color: #4e6ce199;
    color: #fff
}

.nav-btn i {
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0
}

.nav-toggle {
    display: none
}

.nav-menu {
    display: contents;
    position: relative;
    /* or fixed/sticky */
    z-index: 100;
    /* higher than .hero */
}

i.fa-solid,
i.fa-brands,
i.fa-regular {
    line-height: 1;
    vertical-align: middle
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

body .cmd-card,
body .tm-card,
body .ts-card,
body .st-shard,
body .st-stat {
    background: linear-gradient(180deg, #1c2b6814, #1c2b6805 55%, #1c2b6803);
    border: 1px solid rgba(28, 43, 104, .12);
    box-shadow: inset 0 1px #1c2b681f, inset 0-1px #0006, 0 10px 30px #00000073
}

body .cmd-card:hover,
body .tm-card:hover,
body .st-shard:hover {
    border-color: #1c2b683b;
    box-shadow: inset 0 1px #1c2b682e, inset 0-1px #00000073, 0 16px 40px #0000008c
}

body .search-btn,
body .prem-toggle,
body .cat-bar-wrap,
body .cat-pill,
body .cmd-pill,
body .cmd-copy-btn,
body .back-top,
body .modal-box,
body .step-cmd,
body .ts-qbtn,
body .ts-copy,
body .tm-badge,
body .tier-buy-btn,
body .tier-buy-btn--life,
body .buy-btn,
body .notfound-btn,
body .search-box input,
body .ts-row input,
body input[type=text],
body input[type=search],
body input[type=number],
body input[type=datetime-local],
body select,
body textarea {
    background: linear-gradient(180deg, #ffffff0e, #ffffff05 55%, #ffffff03);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px #ffffff1f, inset 0-1px #0000004d, 0 3px 10px #00000047;
    color: var(--text-mid)
}

body .search-btn:hover,
body .prem-toggle:hover,
body .cat-pill:hover,
body .cmd-copy-btn:hover,
body .back-top:hover,
body .ts-qbtn:hover,
body .ts-copy:hover,
body .tier-buy-btn:hover,
body .tier-buy-btn--life:hover,
body .buy-btn:hover,
body .notfound-btn:hover {
    background: linear-gradient(180deg, #ffffff16, #ffffff08 55%, #ffffff04);
    border-color: #ffffff29;
    color: var(--text-bright);
    box-shadow: inset 0 1px #ffffff2e, inset 0-1px #00000059, 0 5px 14px #00000061
}

body .cat-pill.active,
body .cat-pill[aria-selected=true],
body .cat-pill.is-active {
    background: linear-gradient(180deg, #ffffff1c, #ffffff0a 55%, #ffffff05);
    border-color: #fff3;
    color: var(--text-bright);
    box-shadow: inset 0 1px #ffffff38, inset 0-1px #00000059, 0 4px 12px #0006
}

body input,
body select,
body textarea {
    color: var(--text-bright)
}

body input::placeholder,
body textarea::placeholder {
    color: var(--text-dim)
}

body input:focus,
body select:focus,
body textarea:focus {
    outline: none;
    border-color: #ffffff47;
    box-shadow: inset 0 1px #ffffff38, inset 0-1px #0006, 0 0 0 3px #ffffff0d
}

body .modal-backdrop {
    background: #000000a6
}

body .results-meta,
body .search-results-meta {
    color: var(--text-mid);
    font-weight: 500
}

body .cat-pill-count {
    color: var(--text-mid);
    opacity: 1;
    font-weight: 500
}

body .cat-pill.active .cat-pill-count {
    color: var(--text-bright)
}

body .tier-badge,
body .tier-badge--life {
    background: #1a1a1a linear-gradient(180deg, #ffffff14, #ffffff05);
    border-color: #fff3;
    box-shadow: inset 0 1px #ffffff2e, inset 0-1px #0006, 0 3px 10px #00000073;
    color: var(--text-bright);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .3)
}

body .cmd-tier-tag {
    background: linear-gradient(180deg, #ffffff1f, #ffffff0a);
    border-color: #ffffff2e;
    color: var(--text-bright);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .3)
}

@media (max-width:640px) {
    nav {
        width: calc(100% - 32px);
        max-width: var(--nav-max);
        padding-right: 6px
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        border-radius: 100px;
        background: #1c2b681f;
        border: 1px solid rgba(28, 43, 104, .2);
        color: #ffffffe6;
        cursor: pointer;
        transition: background .25s, border-color .25s, color .25s
    }

    .nav-toggle:hover,
    .nav-toggle[aria-expanded=true] {
        background: #1c2b682e;
        border-color: #1c2b6852;
        color: #fff
    }

    .nav-toggle i {
        font-size: 15px;
        line-height: 1
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        box-sizing: border-box;
        padding: 8px;
        border-radius: 18px;
        border: 1px solid rgba(28, 43, 104, .15);
        background: radial-gradient(ellipse 70% 120%at 15% 0%, rgba(28, 43, 104, .2) 0%, transparent 65%), linear-gradient(160deg, #101344f2, #0d0c1ef7);
        box-shadow: 0 20px 56px #0009, inset 0 1px #1c2b681f;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility .22s
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 2px
    }

    .nav-link {
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 10px
    }

    .nav-link .nav-link-text {
        display: inline
    }

    .nav-link i {
        margin-right: 0;
        font-size: 14px;
        width: 16px;
        text-align: center
    }

    .nav-btn {
        margin: 4px 0 0;
        width: 100%;
        justify-content: center
    }

    .nav-btn .nav-btn-text {
        display: inline
    }

    .nav-btn i {
        font-size: 14px
    }
}

@keyframes heroShimmer {
    0% {
        background-position: right center
    }

    to {
        background-position: left center
    }
}