.BL-loot {
    /* position: fixed; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

.BL-loot-drop {
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 5500;
    max-width: 180px;
    flex-wrap: wrap;
    justify-content: center;
    pointer-events: none;
}

.BL-loot-drop.wider {
    max-width: 260px;
}

.BL-loot-drop .content {
    position: relative;
    min-width: 50px;
    height: 50px;
    margin: .3em 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 200ms;
    pointer-events: auto;
}

.BL-loot-drop .content.hidden {
    opacity: 0;
    transform: scale(.5);
}

.BL-loot-drop .content.picked-up {
    transform: translateY(-30px);
    opacity: 0;
}

.BL-loot-drop .BL-currency-label, .BL-loot-drop .scene {
    filter: drop-shadow(0px 0px 5px black)/* drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 5px black)*/;
    text-shadow: 0 0 4px black, 0 0 4px black;
}

.BL-currency-label.large {
    font-size: 1.5rem;
}

.BL-currency-label.large .BL-currency {
    width: 48px;
    background-image: url(../../images/game/template/BL-currencies-sprite-large.20230930.png);
}

.BL-loot-drop .bouncing {
    position: relative;
    animation: 500ms bouncing infinite alternate-reverse;
}

.BL-loot-drop .spinning {
    animation: 2000ms spinning infinite linear;
}

.BL-loot-drop .spinning.bouncing {
    animation: 2000ms spinning infinite linear, 500ms bouncing infinite alternate-reverse;
}

@keyframes spinning {
    from {
        transform: rotateY(0);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes bouncing {
    from {
        top: 0;
    }

    to {
        top: -4px;
    }
}

.BL-currency.flying {
    animation: flyingItem 700ms infinite linear;
}

@keyframes flyingItem {
    from {
        transform: rotateX(0) rotate(20deg);
    }

    to {
        transform: rotateX(360deg) rotate(20deg);
    }
}

.police-uniform {
    background-image: url(../../images/game/events/police-uniform-sprite.png);
    background-size: 100% auto;
    width: 50px;
    height: 50px;
    filter: drop-shadow(2px 2px 4px black);
}

.police-uniform.uniform-cap {
    background-position: 0 -100%;
}

.police-uniform.uniform-uniform {
    background-position: 0 -200%;
}



.BL-loot-drop .attribute-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.BL-loot-drop .BL-attribute {
    width: 40px;
    filter: drop-shadow(0px 0px 1px black) drop-shadow(0px 0px 3px black);
}

.BL-loot-drop .attribute-points-color, .BL-loot-drop .intimacy-color {
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
    margin-top: -.6em;
}







.BL-loot-drop .scene {
    width: 40px;
    height: 40px;
    /* border: 1px solid #CCC; */
    /* margin: 80px; */
    perspective: 400px;
    /* transform: scale(5.5); */
    position: relative;
}

.item-box {
    width: 40px;
    height: 40px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-50px);
    transition: transform 1s;
    animation: 2s flip infinite linear;
    /* transform: translateZ( -50px) rotateY(   464deg) rotateX(45deg); */
}

.item-box.show-front  {transform: translateZ( -5px) rotateY(   0deg);}
.item-box.show-back   { transform: translateZ( -50px) rotateY(-180deg); }
.item-box.show-right  { transform: translateZ(-150px) rotateY( -90deg); }
.item-box.show-left   { transform: translateZ(-150px) rotateY(  90deg); }
.item-box.show-top    {transform: translateZ(-50px) rotateX( 0deg);}
.item-box.show-bottom { transform: translateZ(-100px) rotateX(  90deg); }


.box__face {
    position: absolute;
    /* border: 2px solid #0000003d; */
    box-sizing: border-box;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.box__face--front,
.box__face--back {
    width: 40px;
    height: 40px;
    line-height: 200px;
    /* background: red !important; */
}

.box__face--right,
.box__face--left {
    width: 8px;
    height: 40px;
    left: 16px;
    line-height: 200px;
    /*background: #2f2a25 !important;*/
    background: #201e1d !important;
    /* background: #292929 !important; */
}

.box__face--top,
.box__face--bottom {
    width: 40px;
    height: 8px;
    top: 16px;
    line-height: 100px;
    background: #30251a !important
}

.box__face--front  {background: rgb(32 30 29 / 20%);}
.box__face--back   {background: rgb(32 30 29 / 20%);}

.box__face--front  {transform: rotateY(  0deg) translateZ( 4px);}
.box__face--back   {transform: rotateY(180deg) translateZ( 4px);}

.box__face--right  {transform: rotateY( 90deg) translateZ(20px);/* transform: rotateY(90deg); */}
.box__face--left   {transform: rotateY(-90deg) translateZ(20px);}

.box__face--top    {transform: rotateX( 90deg) translateZ(20px);}
.box__face--bottom {transform: rotateX(-90deg) translateZ(20px);}

@keyframes flip {
    from {
        transform: translateZ( -50px) rotateY(   0deg);
    }
    to {
        transform: translateZ( -50px) rotateY(-360deg);
    }
}

.item-box .BL-item {
    width: 100%;
    height: 100%;
    /* display: none; */
}

.BL-loot-drop .intimacy-icon {
    width: 40px;
}

.BL-loot-drop .pulsing {
    animation: 1s pulsing infinite;
}

@keyframes pulsing {
    0% {
        transform: scale(1)
    }
    40% {
        transform: scale(1.2)
    }

}


@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .BL-currency-label.large .BL-currency {
        background-image: url(../../images/game/template/BL-currencies-sprite-large@2x.20230930.png);
    }

    .police-uniform {
        background-image: url(../../images/game/events/police-uniform-sprite@2x.png);
    }

}

.BL-loot-drop .item-multi {
    position: absolute;
    bottom: -6px;
    right: -3px;
    font-weight: bold;
}

/**
machete
 */

.machete {
    background-image: url(../../images/game/items/machete@2x.png);
    background-size: 100% auto;
    width: 55px;
}

.machete > div {
    padding-bottom: 100%;
}

.BL-loot-drop .machete {
    position: absolute;
    z-index: 2;
    animation: 800ms slice infinite;
    transform-origin: top left;
    left: 10px;
    top: -10px;
}

.BL-currency-label .machete {
    position: absolute;
    width: 2em;
    animation: 800ms slice infinite;
    transform-origin: top left;
    top: -.3em;
    left: .3em;
}

.coconuts-machete {
    display: inline-flex;
    align-items: baseline;
    vertical-align: top;
    margin-left: 1em;
    position: relative;
}

.coconuts-machete .machete {
    position: absolute;
    width: 2em;
    z-index: 2;
    animation: 800ms slice infinite;
    transform-origin: top left;
    left: .2em;
    top: -.1em;
}

.coconuts-machete .BL-currency {
    margin-right: .1em;
}



@keyframes slice {
    0% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(80deg);
    }

    100% {
        opacity: 0;
    }
}
