/* Crash Premium — item cards v4 */ .crash-bet-item-thumbnail {
    --rarity-color: #909090;
    --rarity-bg: #383b42;
}
.crash-bet-item-thumbnail.Covert {
    --rarity-color: #eb4b4b;
    --rarity-bg: #713035;
}
.crash-bet-item-thumbnail.Classified {
    --rarity-color: #d32ce6;
    --rarity-bg: #682b71;
}
.crash-bet-item-thumbnail.Restricted {
    --rarity-color: #8847ff;
    --rarity-bg: #483075;
}
.crash-bet-item-thumbnail.Mil-Spec {
    --rarity-color: #4b69ff;
    --rarity-bg: #293774;
}
.crash-bet-item-thumbnail.Industrial {
    --rarity-color: #5e98d9;
    --rarity-bg: #294668;
}
.crash-bet-item-thumbnail.Consumer {
    --rarity-color: #b0c3d9;
    --rarity-bg: #454d59;
}
.crash-bet-item-thumbnail.Extraordinary {
    --rarity-color: #e8b83e;
    --rarity-bg: #665125;
}
.crash-bet-item-thumbnail.Contraband {
    --rarity-color: #e4a321;
    --rarity-bg: #634417;
}
.crash-bet-item-thumbnail > .crash-bet-item-circle {
    width: 6rem;
    height: 5.6rem;
    border-radius: 0.6rem;
    box-sizing: border-box;
    background-color: #20242d !important;
    background-image: linear-gradient(
        180deg,
        #191c25 0%,
        color-mix(in srgb, var(--rarity-bg) 65%, #191c25) 100%
    ) !important;
    border: 1px solid color-mix(in srgb, var(--rarity-color) 75%, #343943);
    border-bottom: 3px solid color-mix(in srgb, var(--rarity-color) 75%, #343943);
    stroke: transparent;
    fill: transparent;
}
.crash-bet-item-circle use {
    display: none;
}
.crash-bet-item-image {
    z-index: 1;
}
/* Crash Premium — bet rows */ .crash-bet[data-status="in-round"] {
    border: 1px solid #363b48 !important;
    background: #181c24 !important;
}
.crash-bet[data-status="win"] {
    border: 1px solid #32634e !important;
    background: linear-gradient(
        90deg,
        #181c24 25%, #194035 100%
    ) !important;
}
.crash-bet[data-status="lose"] {
    border: 1px solid #694049 !important;
    background: linear-gradient(
        90deg,
        #181c24 25%, #482b34 100%
    ) !important;
}
/* Crash Premium — visual polish */ .crash-bet-user-name {
    color: #b8bec9 !important;
}
.crash-bet[data-status="win"] .crash-bet-status {
    background-size: 21% !important;
    background-position: 90% 50% !important;
}
.crash-bet[data-status="lose"] .crash-bet-status {
    background-size: 21% !important;
    background-position: 90% 50% !important;
}
.crash-bet-separator {
    opacity: 0.4;
}
/* Gold Premium — Round Statistics */ .crash-dashboard-indicator {
    --value-font-size: 1.8rem;
    grid-template-rows: auto auto;
    grid-row-gap: 0.3rem;
}
.crash-dashboard-indicator-icon {
    fill: #e8bd63 !important;
    filter: drop-shadow(
        0 0 0.4rem rgba(232, 189, 99, 0.25)
    ) !important;
}
.crash-dashboard-indicator-value {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #edf0f5;
    line-height: 1.2;
}
.crash-dashboard-indicator-name {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06rem;
    color: #9298a6;
}
@media (min-width: 1200px) {
    .crash-dashboard-indicator {
        --value-font-size: 2rem;
        --icon-size: 3rem;
    }
}
/* Gold Premium — Statistics Animations */ .crash-dashboard-indicator.gold-pop .crash-dashboard-indicator-value {
    animation: goldStatPop 550ms ease-out;
}
.crash-dashboard-indicator.gold-flash .crash-dashboard-indicator-value {
    animation: goldStatFlash 1s ease-out;
}
.crash-dashboard-indicator.gold-shimmer .crash-dashboard-indicator-value, .crash-dashboard-indicator.gold-shimmer .crash-dashboard-indicator-icon {
    animation: goldStatShimmer 1s ease-out;
}
/* PLAYERS — Pop */ @keyframes goldStatPop {
    0%, 100% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.09);
        color: #f1cf87;
    }
}
/* TOTAL BANK — Flash */ @keyframes goldStatFlash {
    0%, 100% {
        text-shadow: none;
    }
    20% {
        color: #ffda8b;
        text-shadow: 0 0 1.2rem
            rgba(232, 189, 99, 0.55);
    }
}
/* ITEMS — Shimmer */ @keyframes goldStatShimmer {
    0%, 100% {
        opacity: 1;
    }
    40% {
        opacity: 0.8;
    }
    60% {
        opacity: 1;
        color: #ffda8b;
        text-shadow: 0 0 0.6rem
            rgba(232, 189, 99, 0.45);
    }
}
/* Reduced Motion */ @media (prefers-reduced-motion: reduce) {
    .crash-dashboard-indicator
    .crash-dashboard-indicator-value,
    .crash-dashboard-indicator
    .crash-dashboard-indicator-icon {
        animation: none !important;
    }
}
/* ===== GOLD PREMIUM BET SETTINGS ===== */ .gold-betting-board {
    background: linear-gradient(145deg, #181c24, #22252c 65%, #30291f);
    border-radius: .8rem;
    box-sizing: border-box;
}
.gold-betting-board .crash-betting-heading {
    color: #e8bd63;
    font-weight: 600;
    letter-spacing: .12rem;
    text-transform: uppercase;
}
.gold-betting-board .crash-betting-rules {
    color: #a7adb8;
}
.gold-bet-selected {
    grid-area: selected;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .8rem 1.2rem;
    background: #151920;
    border-radius: .6rem;
    color: #9298a6;
    font-size: .95rem;
    letter-spacing: .08rem;
}
.gold-bet-description {
    margin-top: .4rem;
    color: #9298a6;
    font-size: 1rem;
    letter-spacing: normal;
}
.gold-bet-amount {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: Montserrat, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #e8bd63;
    font-variant-numeric: tabular-nums;
}
.gold-bet-cashout-label {
    grid-area: cashout-label;
    color: #a7adb8;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .12rem;
}
.gold-betting-board .crash-betting-form {
    grid-template-areas:
        "selected selected"
        "cashout-label cashout-label"
        "crash-betting-multipliers crash-betting-multipliers"
        "crash-betting-field crash-betting-submit";
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 4.8rem auto 4.2rem 4.6rem;
    grid-gap: .6rem;
}
@media screen and (min-width: 992px) {
    .gold-betting-board .crash-betting-form {
        grid-template-areas:
            "selected selected"
            "cashout-label cashout-label"
            "crash-betting-multipliers crash-betting-field"
            "crash-betting-submit crash-betting-submit";
        grid-template-columns: 1fr 8.8rem;
        grid-template-rows: 5rem auto 4.2rem 5rem;
        grid-gap: .8rem;
    }
}
.gold-betting-board .crash-betting-multiplier-value {
    background: #1a1e26;
    border: 1px solid #3b404a;
    border-radius: .5rem;
    color: #b8bec9;
    font-weight: 600;
}
.gold-betting-board .crash-betting-multiplier-radio:checked + .crash-betting-multiplier-value {
    background: #30291f;
    border: 1px solid #b89550;
    color: #e8bd63;
}
.gold-betting-board .crash-betting-multiplier-radio:disabled + .crash-betting-multiplier-value {
    opacity: .45;
    cursor: not-allowed;
}
/* ===== GOLD BETTING LAYOUT FIX ===== */ .gold-bet-selected {
    text-align: left;
    align-items: flex-start;
}
.gold-bet-cashout-label {
    text-align: left;
    padding-left: .2rem;
}
@media screen and (min-width: 768px) {
    .crash-mode {
        --crash-betting-board-height: 26rem;
    }
}
@media screen and (min-width: 992px) {
    .crash-mode {
        --crash-betting-board-height: 30rem;
    }
}
@media screen and (min-width: 768px) {
    .crash-mode {
        --crash-betting-wrapper-height: calc(26rem + var(--small-gap)*2);
    }
}
@media screen and (min-width: 992px) {
    .crash-mode {
        --crash-betting-wrapper-height: calc(30rem + var(--large-gap));
    }
}
/* ===== GOLD BETTING BUTTON ===== */ .gold-betting-board .crash-betting-submit:not(:disabled) {
    background: linear-gradient(135deg, #b58b42, #e8bd63);
    color: #211b12;
    border-radius: .6rem;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}
.gold-betting-board .crash-betting-submit:disabled {
    background: #292d37;
    color: #747c8c;
    border-radius: .6rem;
}
.gold-betting-board .crash-betting-submit-value {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
/* ===== GOLD BETTING CLEAR SELECTION ===== */ .gold-bet-clear {
    position: absolute;
    right: 1.2rem;
    bottom: .5rem;
    background: transparent;
    border: none;
    color: #a7adb8;
    font-size: 1rem;
    cursor: pointer;
}
.gold-bet-clear:hover:not(:disabled) {
    color: #e8bd63;
}
.gold-bet-clear:disabled {
    opacity: .3;
    cursor: default;
}
.gold-bet-amount {
    top: 35%;
}
/* ===== GOLD BETTING HEADER FIX ===== */ .gold-betting-board .crash-betting-rules {
    display: none;
}
.gold-betting-board {
    grid-template-rows: var(--header-height) 1fr;
}
/* ===== GOLD BETTING COMPACT LAYOUT ===== */ .gold-bet-description {
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #b8bec9;
}
.gold-betting-board .crash-betting-form {
    grid-template-rows: 4.8rem min-content 4.2rem 4.6rem;
}
@media screen and (min-width: 768px) {
    .crash-mode {
        --crash-betting-board-height: 23rem;
        --crash-betting-wrapper-height: calc(23rem + var(--small-gap)*2);
    }
}
@media screen and (min-width: 992px) {
    .crash-mode {
        --crash-betting-board-height: 26rem;
        --crash-betting-wrapper-height: calc(26rem + var(--large-gap));
    }
    .gold-betting-board .crash-betting-form {
        grid-template-rows: 5rem min-content 4.2rem 5rem;
    }
}
/* ===== GOLD BETTING VALUE ANIMATION ===== */ .gold-bet-flash {
    animation: goldBetFlash 350ms ease-out;
}
@keyframes goldBetFlash {
    0% {
        opacity: .65;
    }
    100% {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gold-bet-flash {
        animation: none;
    }
}
/* ===== GOLD PREMIUM ROUND HISTORY ===== */ .crash-mode .crash-history-link {
    position: relative;
    box-sizing: border-box;
    background: linear-gradient(180deg, #282c35, #191d25);
    border: 1px solid #3b404a;
    border-radius: .5rem;
    color: #e2e5eb;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
}
.crash-mode .crash-history-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: var(--background);
    border-radius: 2px;
    pointer-events: none;
}
.crash-mode .crash-history-link:hover {
    background: #30343e;
    border-color: #626875;
    box-shadow: none;
}
.crash-mode .crash-history-link {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--background) 15%, #22262e),
        #191d25
    );
    border-color: color-mix(in srgb, var(--background) 40%, #343943);
    border-radius: .6rem;
}
/* ===== GOLD PREMIUM CASHBACK ===== */ .cashback {
    background: linear-gradient(145deg, #181c24, #25262b 65%, #30291f);
    border-radius: .8rem;
    box-sizing: border-box;
}
.cashback-heading {
    color: #e8bd63;
    font-weight: 600;
    letter-spacing: .12rem;
    margin: 0;
    text-align: left;
}
.cashback-bonus-label {
    color: #9298a6;
    font-size: 1rem;
    letter-spacing: .05rem;
}
.cashback-bonus-field {
    background: #151920;
    border-radius: .5rem;
    font-family: Montserrat, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #e8bd63;
}
.cashback-button {
    background: #30343d;
    color: #dce0e8;
    border: 1px solid #454a54;
    border-radius: .6rem;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    box-shadow: none;
}
.cashback-button:hover, .cashback-button:focus, .cashback-button:active {
    background: #393e48;
    box-shadow: none;
}
.cashback-heading {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.cashback-heading::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    background: url("/css/cashback-wallet.svg") center / contain no-repeat;
}
/* ===== GOLD PREMIUM INVENTORY ===== */ .inventory-control {
    background: linear-gradient(145deg, #181c24, #25262b 65%, #30291f);
    border-radius: .8rem;
    box-sizing: border-box;
}
.inventory-control-label {
    color: #9298a6;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .08rem;
}
.inventory-control-value {
    margin-top: .4rem;
    font-family: Montserrat, sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.inventory-control-balance .inventory-control-value {
    color: #e8bd63;
}
.inventory-control-selected .inventory-control-value {
    color: #dce0e8;
}
/* ===== GOLD PREMIUM INVENTORY BOARD ===== */ .inventory-board {
    background: linear-gradient(160deg, #22252c, #181c24 65%);
    border-radius: .8rem;
    box-sizing: border-box;
}
.inventory-board-heading {
    justify-content: flex-start;
    color: #e8bd63;
    font-family: Montserrat, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .12rem;
    gap: .8rem;
}
.inventory-board-heading::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    background: url("/css/inventory-box.svg") center / contain no-repeat;
}
/* ===== GOLD PREMIUM INVENTORY ITEMS ===== */ .inventory-item > .item-card {
    --rarity-color: #909090;
    --rarity-bg: #383b42;
}
.inventory-item > .item-card.covert {
    --rarity-color: #eb4b4b;
    --rarity-bg: #713035;
}
.inventory-item > .item-card.classified {
    --rarity-color: #d32ce6;
    --rarity-bg: #682b71;
}
.inventory-item > .item-card.restricted {
    --rarity-color: #8847ff;
    --rarity-bg: #483075;
}
.inventory-item > .item-card.mil-spec, .inventory-item > .item-card.mil-spec-grade {
    --rarity-color: #4b69ff;
    --rarity-bg: #293774;
}
.inventory-item > .item-card.industrial, .inventory-item > .item-card.industrial-grade {
    --rarity-color: #5e98d9;
    --rarity-bg: #294668;
}
.inventory-item > .item-card.consumer, .inventory-item > .item-card.consumer-grade {
    --rarity-color: #b0c3d9;
    --rarity-bg: #454d59;
}
.inventory-item > .item-card.extraordinary, .inventory-item > .item-card.knives {
    --rarity-color: #e8b83e;
    --rarity-bg: #665125;
}
.inventory-item > .item-card.contraband, .inventory-item > .item-card.exotic {
    --rarity-color: #e4a321;
    --rarity-bg: #634417;
}
.inventory-item > .item-card {
    background: linear-gradient(
        145deg, #1c2028, var(--rarity-bg)
    );
    border: 1px solid var(--rarity-color);
    border-bottom: 3px solid var(--rarity-color);
    border-radius: .6rem;
    box-sizing: border-box;
}
.inventory-item .item-card-price {
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #edf0f5;
}
.inventory-item .item-card-name {
    color: #e2e5eb;
    font-weight: 500;
}
.inventory-item .item-card-exterior {
    color: #a7adb8;
    font-size: 1rem;
}
/* ===== GOLD PREMIUM ITEM SELECTION ===== */ .inventory-item.selected > .item-card {
    border-color: #e8bd63;
}
.inventory-item.selected > .item-card::before {
    inset: 0;
    border: none;
    border-radius: .5rem;
    background: rgba(0, 0, 0, .08);
    pointer-events: none;
}
.inventory-item.selected > .item-card::after {
    top: .5rem;
    left: .5rem;
    width: 1.8rem;
    height: 1.8rem;
    background-color: #181c24;
    background-size: 75%;
    background-position: center;
    border: 1px solid #e8bd63;
    border-radius: 50%;
    pointer-events: none;
}
/* ===== GOLD PREMIUM INVENTORY ACTIONS ===== */ .inventory-actions .ui-button {
    font-family: Montserrat, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .12rem;
    border-radius: .6rem;
    box-shadow: none;
}
.inventory-actions .ui-button:not(:disabled) {
    background: #30343d;
    border: 1px solid #555b66;
    color: #e8bd63;
}
.inventory-actions .ui-button:not(:disabled):hover {
    background: #393e48;
    box-shadow: none;
}
.inventory-actions .ui-button:disabled {
    background: #292d37;
    border: 1px solid transparent;
    color: #747c8c;
    box-shadow: none;
}
/* ===== GOLD PREMIUM SHOP BUTTON ===== */ .inventory-actions .exchange-button:not(:disabled) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: linear-gradient(135deg, #302b23, #403729);
    border-color: #967a45;
    color: #e8bd63;
}
.inventory-actions .exchange-button::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
    background: url("/css/inventory-shop.svg") center / contain no-repeat;
}
.inventory-actions .exchange-button:not(:disabled):hover {
    background: #484032;
}
/* ===== GOLD PREMIUM STOREHOUSE ===== */ .storehouse-dialog {
    background: #181c24;
}
.storehouse {
    background: linear-gradient(160deg, #22252c, #181c24 65%);
    border-radius: .8rem;
}
.storehouse-info-bar {
    background: #151920;
    border: 1px solid #343943;
    border-radius: .6rem;
}
.storehouse-info-bar-icon {
    fill: #e8bd63;
}
.storehouse-indicator {
    color: #a7adb8;
    font-size: 1.2rem;
}
.storehouse-indicator-value {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #edf0f5;
}
.storehouse-header-value {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    color: #e8bd63;
}
/* ===== GOLD PREMIUM SHOP FILTERS ===== */ .storehouse-filter > .ui-text-input {
    background: #151920;
    border: 1px solid #343943;
    border-radius: .6rem;
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    color: #e2e5eb;
    transition: border-color 150ms ease;
}
.storehouse-filter > .ui-text-input:focus {
    border-color: #b89550;
    box-shadow: none;
}
.storehouse-filter > .ui-text-input::placeholder {
    color: #9298a6;
}
/* ===== GOLD PREMIUM SHOP ACTIONS ===== */ .storehouse-actions .ui-button {
    font-family: Montserrat, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .08rem;
    border-radius: .6rem;
    box-shadow: none;
}
.storehouse-actions .load-more-button, .storehouse-actions .accept-button:not(:disabled) {
    background: #30343d;
    border: 1px solid #555b66;
    color: #e2e5eb;
}
.storehouse-actions .ui-button:not(:disabled):hover, .storehouse-actions .ui-button:not(:disabled):focus {
    background: #393e48;
    box-shadow: none;
}
.storehouse-actions .ui-button:disabled {
    background: #292d37;
    color: #747c8c;
    box-shadow: none;
}
.storehouse-actions .accept-button:not(:disabled) {
    background: linear-gradient(135deg, #302b23, #403729);
    border-color: #967a45;
    color: #e8bd63;
}
.storehouse-actions .accept-button:not(:disabled):hover {
    background: #484032;
    box-shadow: none;
}
/* ===== GOLD PREMIUM INVENTORY TOGGLE ===== */ .inventory-control-toggle .toggle-switch-slider {
    background-color: #151920;
    box-shadow: inset 0 0 0 1px #454a54;
    transition: .2s ease;
}
.inventory-control-toggle .toggle-switch-slider::before {
    background-color: #9298a6;
    transition: .2s ease;
}
.inventory-control-toggle input:checked + .toggle-switch-slider {
    background-color: #403729;
    box-shadow: inset 0 0 0 1px #967a45;
}
.inventory-control-toggle input:checked + .toggle-switch-slider::before {
    background-color: #e8bd63;
}
/* ===== GOLD PREMIUM BET SUMMARY REFINEMENT ===== */ .gold-betting-board .gold-bet-selected {
    background: transparent;
    border: none;
    border-bottom: 1px solid #343943;
    border-radius: 0;
    box-shadow: none;
    padding: .8rem 0 1rem;
}
.gold-betting-board .gold-bet-description {
    color: #a7adb8;
    font-weight: 500;
}
/* ===== GOLD PREMIUM SELECTED ITEMS ICON ===== */ .gold-betting-board .gold-bet-description {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.gold-betting-board .gold-bet-description::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
    background-color: #e8bd63;
    -webkit-mask: url("/css/inventory-box.svg") center / contain no-repeat;
    mask: url("/css/inventory-box.svg") center / contain no-repeat;
}
.inventory-actions .exchange-button:disabled { display: flex; align-items: center; justify-content: center; gap: .8rem; }
