
.uiGameButton {
    border: 0px solid transparent;
    border-image: url(/images/ui/Button_middle_red.png);
    border-image-slice: 16 20;
    border-image-width: auto;
    border-image-repeat: repeat;
    height: 30px;
    padding: 0px 7px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #d5c098;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    position: relative;
}

/* Скрываем стандартные стрелки */
::-webkit-scrollbar-button {
    display: none;
}

/* Стилизуем сам скроллбар */
::-webkit-scrollbar {
    width: 16px; /* Ширина скроллбара */
}

/* Трек (фон скроллбара) */
::-webkit-scrollbar-track {
    /* Фон из картинки */
    border: 0px solid transparent;
    padding: 0px;
    border-image: url(/images/ui/Scroll_ui1.png);
    border-image-slice: 10 4;
    border-image-width: auto;
    border-image-repeat: repeat;
    margin-top: 2px;
    margin-bottom: 2px;
    background: #120f0e;
}

/* Ползунок (thumb) */
::-webkit-scrollbar-thumb {
    /* Картинка ползунка */
    background-size: auto;
    border: 0px solid transparent;
    padding: 0px;
    border-image: url(/images/ui/Scroll_ui_btn1.png);
    border-image-slice: 6 9;
    border-image-width: 16px;
    border-image-repeat: repeat;
    cursor:pointer;
}

/* При наведении на ползунок */
::-webkit-scrollbar-thumb:hover {
    background-size: auto;
    border: 0px solid transparent;
    padding: 0px;
    border-image: url(/images/ui/Scroll_ui_btn2.png);
    border-image-slice: 6 9;
    border-image-width: 16px;
    border-image-repeat: repeat;
}



.errorContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    pointer-events: none;
}
.errorContainer[data-id="main"] {
    top: -25px;
    left: calc(50%);
    transform: translateX(-50%);
}

.errorContainer .errorItem {
    color: #ffdba6;
    background: linear-gradient(90deg, #00000000, #000000ad, #000000b5, #000000ad, #00000000);
    padding: 3px 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    width: 100%;
    border-top: 1px transparent solid;
    border-bottom: 1px transparent solid;
    border-image: linear-gradient(90deg, transparent, #000000D3, #000000, #000000D3, transparent);
    text-align: center;
    position: absolute;
    text-shadow: -0 -1px 0 #000000, 0 -1px 0 #000000, -0 1px 0 #000000, 0 1px 0 #000000, -1px -0 0 #000000, 1px -0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}


#fightMain {
    position: absolute;
    z-index: 1000;
    left: 50%;
    top: 0px;
    transform: translate(-50%, 0);
}