:root {
    --game-icon-shadow: drop-shadow(0 5px 6px rgba(4, 12, 24, 0.2));
}

.game-art-icon {
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
    flex: 0 0 auto;
    object-fit: contain;
    vertical-align: middle;
    filter: var(--game-icon-shadow);
}

.game-art-icon-inline {
    width: 1.45em;
    height: 1.45em;
    margin: -0.2em 0.18em -0.2em 0;
}

.nav-icon > .game-art-icon,
.item-icon > .game-art-icon,
.stat-icon > .game-art-icon {
    width: 100%;
    height: 100%;
    margin: 0;
}

.apple-nav .nav-icon {
    width: 25px;
    height: 25px;
    display: inline-grid;
    place-items: center;
    font-size: 0;
}

.dropdown-item-apple .item-icon {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    font-size: 0;
}

.mobile-bottom-nav .nav-icon {
    width: 29px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    font-size: 0;
}

.mobile-bottom-nav .nav-icon > .game-art-icon {
    transition: transform 180ms ease, filter 180ms ease;
}

.mobile-bottom-nav .nav-link.active .game-art-icon {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 6px 7px rgba(20, 98, 190, 0.28)) saturate(1.08);
}

.brand-icon {
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
}

.brand-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 5px 7px rgba(4, 32, 62, 0.24));
}

@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-nav .nav-icon > .game-art-icon {
        transition: none;
    }
}
