.ui {
    display: inline-block;
    position: relative;
    background-color: #C6C6C6;
    border: 2px solid;
    border-color: #DBDBDB #5B5B5B #5B5B5B #DBDBDB;
    padding: 6px;
    text-align: left;
    white-space: nowrap;
    vertical-align: bottom;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.craft-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.crafting-table > *,
.furnace > * {
    display: inline-block;
    vertical-align: middle;
}

.crafting-table > .crafting-arrow {
    background: url("../assets/Grid_layout_Arrow_(small).png") no-repeat;
    width: 32px;
    height: 26px;
    margin: 0 4px 0
}

.furnace > .crafting-arrow {
    background: url("../assets/Grid_layout_Furnace_Progress.png") no-repeat;
    width: 44px;
    height: 32px;
    margin: 0 18px 0 14px
}

.furnace-fuel {
    display: block;
}

.ui-input * {
    box-sizing: content-box;
}

.furnace .ui-fuel {
    display: block;
    background: url("../assets/Grid_layout_Fire.png") no-repeat;
    width: 36px;
    height: 36px
}

.inventory-slot {
    position: relative;
    display: inline-block;
    background: #8B8B8B no-repeat center center / 32px 32px;
    border: 2px solid;
    border-color: #373737 #FFF #FFF #373737;
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 1;
    text-align: left;
    vertical-align: bottom
}

.inventory-slot::before,
.inventory-slot::after {
    content: "";
    position: absolute;
    background-color: #8B8B8B;
    height: 2px;
    width: 2px;
    pointer-events: none
}

.inventory-slot-large {
    box-sizing: content-box;
    padding: 8px
}

.inventory-slot::before {
    bottom: -2px;
    left: -2px
}

.inventory-slot::after {
    top: -2px;
    right: -2px
}

.inventory-row {
    box-sizing: inherit;
    display: flex
}

.inventory-slot {
    transition: filter 0.1s ease, outline 0.1s ease;
}

.inventory-slot:hover {
    filter: brightness(1.25);
}

.pixel-image {
    image-rendering: pixelated;
}

#tooltip {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    display: none;

    background: #100010;
    box-shadow: inset 0 0 0 2px #23005b;
    border: 2px solid #100010;
    border-radius: 5px;

    padding: 6px 8px;

    font-size: 14px;
    color: #ffffff;

    line-height: 1.2;
}