.game-area .game-area-content {
    display: block;
    position: relative;
}

.game-history {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
    min-height: 37px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.game-history.scrollable {
    margin-bottom: -10px;
    padding-bottom: 10px;
}

.game-history__wrap {
    width: 100%;
    background-color: #12141a;
    padding: 16px 20px;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.game-history .item {
    margin-right: 8px;
    text-align: center;
    padding: 6px 14px;
    min-width: 75px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-history .item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.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: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.game-history .item .item-result {
    font-size: 11px;
    color: #5e687e;
}

.game-history .item .item-result i {
    font-size: 8px;
}

.crash__connected {
    pointer-events: none;
    border-radius: 12px;
    position: relative;
    font-size: 25px;
    z-index: 2;
    background: radial-gradient(circle at 50% 60%, rgba(20, 24, 34, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.crash__connected h2 {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    color: #fff;
    margin: 0;
    padding: 0;
    pointer-events: none;
    user-select: none;
    z-index: 5;
    width: 100%;
}

/* Aviator Multiplier & HUD Styles */
.aviator-multiplier {
    font-size: 58px;
    font-weight: 900;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 1px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.8);
    animation: aviatorPulse 0.8s ease-in-out infinite alternate;
}

.aviator-multiplier.crashed {
    color: #ff3355;
    font-size: 48px;
    text-shadow: 0 0 25px rgba(255, 51, 85, 0.7), 0 4px 15px rgba(0, 0, 0, 0.9);
    animation: none;
}

.aviator-crashed-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e51837 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 8px;
    box-shadow: 0 0 15px rgba(229, 24, 55, 0.6);
    animation: badgeBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.aviator-status-timer {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.aviator-countdown {
    font-size: 32px;
    font-weight: 800;
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}

.aviator-status-wait {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #e2e8f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@keyframes aviatorPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.025); }
}

@keyframes badgeBounce {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.crash-prefix .game-area {
    padding: 20px;
    background: #090c15 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.8) !important;
}

.crash-prefix .game-block {
    background: #0d121f !important;
    border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 18px !important;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

.crash-prefix .game-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #0066ff, #7c3aed, #ec4899);
}

.crash-prefix .game-component.isMobile .game-block {
    border-radius: 14px;
}

.hash {
    width: 100%;
    padding: 10px;
    color: #64748b;
    font-size: 13px;
}

.bet-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bet-wrap span {
    margin-right: 2px;
}

.bet-wrap.wait {
    color: #facc2c;
}

.bet-wrap.win {
    color: #68d69d;
}

.bet-wrap.lose {
    color: #fc405e;
}

.bet-wrap.win {
    position: relative;
    display: inline-block;
}
.bet-wrap.win svg {
    position: absolute;
    top: calc(50% - 10px);
    left: -26px;
}

.bet-number .bet-wrap>span.win {
    color: #68d69d !important;
}

.bet-number .bet-wrap>span.lose {
    color: #496b96 !important;
}

.graph-svg__runner {
    position: absolute;
    left: calc(15% - 1.5% + 79.3% - 1.5rem);
    top: calc(17% + 74% - .4rem - 2.5rem);
    z-index: 4;
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(../img/begun-v-1.gif);
    background-size: contain;
}

.crash-prefix .input-suffix {
    display: none !important;
}

.betout-multiplier-suffix {
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    color: #64748b;
    user-select: none;
}

[data-theme="light"] .betout-multiplier-suffix {
    color: #0f172a !important;
}

[data-theme="light"] .game-history__wrap {
    background-color: #f8fafc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .game-history .item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}