Grenades {
    position: relative;
    transition: transform 0.25s ease-in-out;

    &:intro {
        transform: translateY(100%);
    }

    >.bg {
        padding: 10px;
        background-image: url(ui/hud/ui_hud_grenade_background.png);
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
        height: 100px;
        width: 200px;
        justify-content: center;
        align-items: center;

        >.icon {
            height: 90px;
            aspect-ratio: 1;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            background-image: url(ui/hud/ui_hud_grenade_empty.png);

            &.has {
                background-image: url(ui/hud/ui_hud_grenade_active.png);
            }
        }
    }

    InputGlyph {
        position: absolute;
        left: 40px;
        bottom: -38px;
    }
}