.game-area .game-area-content {
	display: block;
}

.game-history {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
}

/* ====== ВИЗУАЛ (без изменения layout) ====== */
.game-history.scrollable {
    margin-bottom: -10px;
    padding-bottom: 10px;
}

.game-history__wrap {
    width: 100%;

    /* было */
    /* background-color: rgba(255, 255, 255, 0.05); */
    /* box-shadow: 0px 15px 15px -1px rgba(0, 0, 0, 0.1); */
    /* padding: 20px; */
    /* border-radius: 0 0 6px 6px; */
    /* overflow: hidden; */

    /* стало — только визуал */
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0px 18px 40px -18px rgba(0, 0, 0, 0.55);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.game-history .item {
    margin-right: 10px;

    /* было */
    /* border: 1px solid hsla(0,0%,59.2%,.1); */
    /* padding: 9px 12px; */
    /* padding: 5px 20px; */
    /* border-radius: 3px; */
    /* background-color: rgba(255, 255, 255, 0.05); */
    /* box-shadow: 0px 15px 15px -1px rgba(0, 0, 0, 0.1); */
    /* cursor: pointer; */

    /* стало — только визуал (ВАЖНО: отступы НЕ меняю: оставляю ваши 5px 20px) */
    border: 1px solid rgba(255,255,255,0.10);
    padding: 9px 12px;
    padding: 5px 20px; /* оставлено как у вас */
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    box-shadow: 0px 16px 34px -24px rgba(0,0,0,0.65);
    cursor: pointer;

    /* hover/active — только визуальные */
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, opacity .2s ease;
    opacity: 0.96;
}

.game-history .item:hover {
    opacity: 1;
    background: rgba(255,255,255,0.065);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0px 22px 50px -28px rgba(0,0,0,0.75);
    transform: translateY(-1px);
}

.game-history .item:active {
    transform: translateY(0px);
    box-shadow: 0px 16px 34px -26px rgba(0,0,0,0.70);
}

.game-history .item.isAnimate {
    -webkit-animation: shiftFromLeft .3s linear;
    animation: shiftFromLeft .3s linear;
}

.game-history .item:last-child {
    margin-right: 0;
}

.game-history .item .item-bet {
    font-size: 14px;
    line-height: 24px;
    /* margin-bottom: 4px; */
    font-family: Exo\ 2,Open Sans,sans-serif;

    /* визуал */
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.15px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.game-history .item .item-result {
    font-size: 11px;
    color: rgba(255,255,255,0.65); /* было #5e687e */
    letter-spacing: 0.15px;
}

.game-history .item .item-result i {
    font-size: 8px;
    opacity: 0.85;
}

/* Фокус для accessibility — не влияет на layout */
.game-history .item:focus-visible {
    outline: 2px solid rgba(255,255,255,0.22);
    outline-offset: 2px;
}

/* ====== Mobile: сохраняю ваши размеры/расположение, меняю только визуал ====== */
@media (max-width: 768px) {
    .game-history {
        padding: 5px 0;
        display: flex;
        gap: 2px; /* оставлено */
        overflow-x: auto;
    }

    .game-history__wrap {
        padding: 5px; /* оставлено */
        background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.10);
        box-shadow: 0px 14px 34px -22px rgba(0,0,0,0.60);
        border-radius: 0 0 10px 10px;
    }

    .game-history .item {
        margin-right: 2px; /* оставлено */
        padding: 2px 4px;  /* оставлено */
        width: 60px;       /* оставлено */
        height: 40px;      /* оставлено */
        font-size: 9px;    /* оставлено */
        line-height: 14px; /* оставлено */
        border-radius: 8px;
        box-shadow: none;  /* оставлено */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        /* визуал */
        background: rgba(255,255,255,0.045);
        border: 1px solid rgba(255,255,255,0.10);
        opacity: 0.98;
        transition: background-color .2s ease, border-color .2s ease, transform .15s ease, opacity .2s ease;
    }

    .game-history .item:hover {
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.16);
        transform: translateY(-1px);
        opacity: 1;
    }

    .game-history .item:active {
        transform: translateY(0);
    }

    .game-history .item .item-bet {
        font-size: 9px;
        line-height: 12px;
        color: rgba(255,255,255,0.92);
        letter-spacing: 0.1px;
    }

    .game-history .item .item-result {
        font-size: 8px;
        line-height: 10px;
        color: rgba(255,255,255,0.60); /* было #999 */
    }
}

/* ====== Crash connected — визуал “как карточка”, без изменения позиционирования ====== */
.crash__connected {
    pointer-events: none;
    border-radius: 6px 6px; /* оставлено как у вас (не трогаю геометрию) */
    position: relative;
    font-size: 25px;
    z-index: 2;
    margin-top: 60px;

    /* только визуал */
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.22);
    box-shadow: 0px 22px 60px -36px rgba(0,0,0,0.75);
    overflow: hidden;
}

.crash__connected::before{
    content:"";
    position:absolute;
    inset:-1px;
    background:
        radial-gradient(520px 220px at 20% 20%, rgba(200,4,105,.20), transparent 60%),
        radial-gradient(520px 240px at 90% 0%, rgba(124,58,237,.16), transparent 60%);
    pointer-events:none;
}

.crash__connected h2 {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color: #ffc645;

    /* было */
    /* text-shadow: 1px 1px 2px rgba(25, 29, 36, 0.30); */

    /* стало — мягче и современнее */
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    letter-spacing: 0.2px;
}

.crash-prefix .game-area {
    border: 1px transparent;
    padding: 24px 10px 0;
}

.crash-prefix .game-block {
    padding: 0;
}

.crash-prefix .game-component.isMobile .game-block {
    border-radius: 6px;
}

.hash {
    width: 100%;
    padding: 10px;

    /* визуал */
    color: rgba(255,255,255,0.72);
}

.bet-wrap {
	display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bet-wrap span {
	margin-right: 2px;
}

/* только визуал: чуть “премиум” типографика */
.bet-wrap.wait,
.bet-wrap.win,
.bet-wrap.lose{
    letter-spacing: 0.2px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.bet-wrap.wait {
    color: #ffc645;
	font-weight: 800;
}

.bet-wrap.win {
    color: #62ca5b;
	font-weight: 800;
}

.bet-wrap.lose {
    color: #e86376;
	font-weight: 800;
}
