@import "/UI/Core/Styles/Theme.scss";
@import "/UI/Core/Kit/Styles/UITokens.scss";

@keyframes buy-menu-slot-shine {
    0% {
        left: -52%;
        opacity: 0;
    }

    10% {
        opacity: 0.12;
        left: -36%;
    }

    28% {
        opacity: 0.38;
        left: 4%;
    }

    52% {
        left: 52%;
        opacity: 0.1;
    }

    100% {
        left: 112%;
        opacity: 0;
    }
}

BuyMenu {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    color: rgba( 255, 255, 255, 0.88 );
    @include menu-font-body();

    &.visible {
        pointer-events: all;
    }

    root {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .buy-menu-container {
        width: 100%;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .buy-menu-window {
        width: 800px;
        max-width: 94vw;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        pointer-events: all;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0px 12px 48px rgba( 0, 0, 0, 0.55 );
    }

    .buy-menu-tabs {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 10px;
        background-color: $widget-color-dark;
        backdrop-filter: $widget-backdrop-filter;
        border-bottom: 1px solid rgba( 255, 255, 255, 0.06 );
    }

    .buy-menu-tab-group {
        flex-grow: 0;
        flex-shrink: 1;
        width: auto;
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .buy-menu-tab-slot {
        width: 118px;
        min-width: 118px;
        max-width: 118px;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .buy-menu-tab-slot > UIButton,
    .buy-menu-tab-slot > UIButton .ui-button-root {
        flex-grow: 0;
        flex-shrink: 0;
        width: 100%;
        min-width: 0;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab {
        width: 100%;
        min-width: 0;
        min-height: 30px;
        padding: 0 12px;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: "Poppins";
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.6px;
        color: rgba( 255, 255, 255, 0.7 );
        border: 1px solid rgba( 255, 255, 255, 0.06 );
        border-radius: 3px;
        background-color: rgba( 0, 0, 0, 0.25 );
        text-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.8 );
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab > label,
    .buy-menu-tabs .ui-button.buy-menu-tab .content-label {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
        line-height: 1;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab:hover:not(.disabled) {
        border-color: rgba( $traitor-red, 0.22 );
        background-color: rgba( $traitor-red, 0.04 );
        color: rgba( 255, 255, 255, 0.92 );
        box-shadow: 0 0 8px rgba( $traitor-red, 0.14 );
    }

    .buy-menu-tabs .ui-button.buy-menu-tab.active {
        border-color: rgba( $traitor-red, 0.5 );
        background-color: rgba( $traitor-red, 0.2 );
        color: rgba( 255, 255, 255, 0.96 );
    }

    .buy-menu-tab-close-slot {
        width: 34px;
        min-width: 34px;
        max-width: 34px;
        margin-left: auto;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .buy-menu-tab-close-slot > UIButton,
    .buy-menu-tab-close-slot > UIButton .ui-button-root {
        width: 100%;
        min-width: 0;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab.buy-menu-tab-close {
        width: 100%;
        min-width: 0;
        flex-grow: 0;
        border-color: rgba( $warning-orange, 0.5 );
        color: rgba( $warning-orange, 0.95 );
    }

    .buy-menu-tabs .ui-button.buy-menu-tab.buy-menu-tab-close > label,
    .buy-menu-tabs .ui-button.buy-menu-tab.buy-menu-tab-close .content-label {
        letter-spacing: 0;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab.buy-menu-tab-close:hover:not(.disabled) {
        background-color: rgba( $warning-orange, 0.13 );
        border-color: rgba( $warning-orange, 0.75 );
        box-shadow: 0 0 10px rgba( $warning-orange, 0.3 );
    }

    .buy-menu-content {
        width: 100%;
        height: 57vh;
        min-height: 440px;
        max-height: 82vh;
        min-width: 0;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
        background-color: $widget-color-dark;
        backdrop-filter: $widget-backdrop-filter;
    }

    .buy-menu-sidebar {
        width: 180px;
        flex-shrink: 0;
        min-height: 0;
        flex-direction: column;
        gap: 12px;
        padding: 8px;
        background-color: rgba( 0, 0, 0, 0.3 );
        border: 1px solid rgba( 255, 255, 255, 0.04 );
        border-radius: 4px;
    }

    .search-container {
        width: 100%;
        flex-direction: column;
        gap: 4px;

        > label {
            font-family: "Poppins";
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            color: rgba( 255, 255, 255, 0.7 );
            text-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.8 );
        }
    }

    .search-input {
        width: 100%;
        min-width: 0;
        min-height: 15px;
        border-radius: 3px;
        border: 1px solid rgba( 255, 255, 255, 0.06 );
        background-color: rgba( 0, 0, 0, 0.4 );
        color: rgba( 255, 255, 255, 0.92 );
        padding: 0px 3px;
        text-shadow: none;
    }

    .search-input .content-label,
    .search-input .prefix-label,
    .search-input .suffix-label {
        color: rgba( 255, 255, 255, 0.9 );
        text-shadow: none;
        font-family: "Poppins";
        font-weight: 500;
        font-size: 11px;
    }

    .search-input .placeholder {
        color: rgba( 255, 255, 255, 0.42 );
        text-shadow: none;
        font-family: "Poppins";
        font-size: 11px;
    }

    .category-buttons {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .category-buttons > UIButton {
        flex-shrink: 0;
    }

    .category-buttons UIButton .ui-button.category-button {
        min-width: 125px;
        min-height: 20px;
        padding: 2px 10px;
        justify-content: center;
        font-family: "Poppins";
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: rgba( 255, 255, 255, 0.7 );
        border: 1px solid rgba( 255, 255, 255, 0.06 );
        border-radius: 3px;
        background-color: rgba( 0, 0, 0, 0.3 );
        text-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.8 );
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .category-buttons UIButton .ui-button.category-button.active {
        border-color: rgba( $traitor-red, 0.5 );
        background-color: rgba( $traitor-red, 0.2 );
        color: rgba( 255, 255, 255, 0.95 );
    }

    .filter-options {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-options .checkbox-option {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        cursor: pointer;

        label {
            font-family: "Poppins";
            font-size: 9px;
            font-weight: 500;
            letter-spacing: 0.6px;
            text-transform: uppercase;
            color: rgba( 255, 255, 255, 0.68 );
            text-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.8 );
        }
    }

    .filter-options > UIButton {
        flex-shrink: 0;
        margin-top: 4px;
    }

    .filter-options UIButton .ui-button.favorites-button {
        min-width: 125px;
        min-height: 20px;
        padding: 2px 10px;
        justify-content: center;
        font-family: "Poppins";
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: rgba( 255, 255, 255, 0.7 );
        border: 1px solid rgba( 255, 255, 255, 0.06 );
        border-radius: 3px;
        background-color: rgba( 0, 0, 0, 0.3 );
        text-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.8 );
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .filter-options UIButton .ui-button.favorites-button:hover:not(.disabled) {
        border-color: rgba( 255, 105, 180, 0.5 );
        background-color: rgba( 255, 105, 180, 0.1 );
        color: rgba( 255, 255, 255, 0.95 );
        box-shadow: 0 0 10px rgba( 255, 105, 180, 0.3 );
    }

    .filter-options UIButton .ui-button.favorites-button.active {
        border-color: rgba( 255, 105, 180, 0.6 );
        background-color: rgba( 255, 105, 180, 0.2 );
        color: rgba( 255, 255, 255, 0.95 );
    }

    .buy-menu-grid-container {
        flex-grow: 1;
        min-width: 0;
        min-height: 0;
        padding: 10px;
        background-color: rgba( 0, 0, 0, 0.22 );
        border: 1px solid rgba( 255, 255, 255, 0.04 );
        border-radius: 4px;
    }

    .buy-menu-grid {
        width: 100%;
        min-height: 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        gap: 10px;
        overflow-y: scroll;
    }

    .buy-menu-grid .item-slot {
        position: relative;
        width: 132px;
        height: 132px;
        min-width: 132px;
        max-width: 132px;
        flex-shrink: 0;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        border: 2px solid rgba( 132, 165, 199, 0.35 );
        background-color: rgba( 36, 74, 112, 0.1 );
        transition: background-color $motion-fast, border-color $motion-fast, box-shadow $motion-fast, opacity $motion-fast;
    }

    .buy-menu-grid .item-slot:hover {
        border-color: rgba( 164, 205, 248, 0.7 );
        background-color: rgba( 53, 98, 145, 0.45 );
    }

    .buy-menu-grid .item-slot.selected {
        border-width: 2px;
        background-image: none;
    }

    .buy-menu-grid .item-slot.owned {
        border-color: rgba( $warning-orange, 0.5 );
        background-color: rgba( $warning-orange, 0.14 );
    }

    .buy-menu-grid .item-slot.unaffordable {
        opacity: 0.38;
    }

    .buy-menu-grid .item-icon {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        pointer-events: none;
    }

    .buy-menu-grid .item-select-shine {
        position: absolute;
        top: -16%;
        left: -52%;
        width: 34%;
        height: 148%;
        background-image: linear-gradient( 90deg, rgba( 255, 255, 255, 0 ) 0%, rgba( 255, 255, 255, 0.18 ) 40%, rgba( 255, 255, 255, 0.5 ) 50%, rgba( 255, 255, 255, 0.18 ) 60%, rgba( 255, 255, 255, 0 ) 100% );
        opacity: 0;
        pointer-events: none;
        transform: rotate( 30deg );
        animation-name: buy-menu-slot-shine;
        animation-duration: 4s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
    }

    .buy-menu-grid .item-favorite-indicator {
        position: absolute;
        right: 6px;
        bottom: 4px;
        color: #ff6dc0;
        pointer-events: none;
    }

    .buy-menu-description {
        width: 220px;
        min-height: 0;
        flex-shrink: 0;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        background-color: rgba( 0, 0, 0, 0.3 );
        border: 1px solid rgba( 255, 255, 255, 0.04 );
        border-radius: 4px;
    }

    .buy-menu-description .item-name {
        font-family: "Poppins";
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: rgba( 255, 255, 255, 0.96 );
        text-shadow: 0px 1px 3px rgba( 0, 0, 0, 0.85 );
    }

    .buy-menu-description .item-description {
        min-height: 72px;
        @include menu-copy( $size: 12px, $color: rgba( 255, 255, 255, 0.74 ), $tracking: 0.4px );
    }

    .buy-menu-description .item-controls {
        width: 100%;
        flex-direction: column;
        gap: 6px;
        padding: 8px 0;
        border-top: 1px solid rgba( 255, 255, 255, 0.07 );
        border-bottom: 1px solid rgba( 255, 255, 255, 0.07 );
    }

    .buy-menu-description .item-controls-title {
        font-family: "Poppins";
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.4px;
        color: rgba( 255, 255, 255, 0.5 );
    }

    .buy-menu-description .item-control-row {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
    }

    .buy-menu-description .item-control-key {
        min-width: 52px;
        max-width: 76px;
        min-height: 20px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        padding: 2px 6px;
        border: 1px solid rgba( 180, 215, 248, 0.32 );
        border-radius: 3px;
        background-color: rgba( 12, 29, 46, 0.72 );
        box-shadow: 0 1px 0 rgba( 255, 255, 255, 0.08 );
        font-family: "Poppins";
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.5px;
        color: rgba( 224, 240, 255, 0.94 );
        text-align: center;
    }

    .buy-menu-description .item-control-instruction {
        flex-grow: 1;
        min-width: 0;
        @include menu-copy( $size: 11px, $color: rgba( 255, 255, 255, 0.78 ), $tracking: 0.25px );
    }

    .buy-menu-description .item-status {
        flex-grow: 1;
        min-height: 0;
        flex-direction: column;
        gap: 10px;
    }

    .buy-menu-description .item-status .status-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        @include menu-copy( $size: 12px, $color: rgba( 255, 255, 255, 0.74 ), $tracking: 0.4px );
    }

    .buy-menu-description .item-status .status-icon {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        color: #000;
    }

    .buy-menu-description .item-status .status-item.status-ok {
        color: $green;

        .status-icon {
            background-color: $green;
        }
    }

    .buy-menu-description .item-status .status-item.status-error {
        color: $red;

        .status-icon {
            background-color: $red;
            color: #fff;
        }
    }

    .buy-menu-description .item-status .status-item.status-warning {
        color: $warning-orange;
    }

    .item-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: auto;
    }

    .item-actions > UIButton {
        width: 100%;
        flex-grow: 1;
        min-width: 0;
    }

    .item-actions UIButton .ui-button.fav-button,
    .item-actions UIButton .ui-button.buy-button {
        width: 100%;
        min-height: 26px;
        justify-content: center;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .item-actions UIButton .ui-button.fav-button {
        border-color: rgba( 255, 105, 180, 0.45 );
        color: rgba( 255, 255, 255, 0.92 );
    }

    .item-actions UIButton .ui-button.fav-button:hover:not(.disabled) {
        border-color: rgba( 255, 105, 180, 0.7 );
        background-color: rgba( 255, 105, 180, 0.12 );
        box-shadow: 0 0 12px rgba( 255, 105, 180, 0.32 );
    }

    .item-actions UIButton .ui-button.fav-button.active {
        border-color: rgba( 255, 105, 180, 0.8 );
        background-color: rgba( 255, 105, 180, 0.24 );
    }

    .item-actions UIButton .ui-button.buy-button {
        border-color: rgba( 91, 212, 114, 0.42 );
        color: rgba( 219, 255, 226, 0.95 );
        background-color: rgba( 80, 160, 92, 0.2 );
    }

    .item-actions UIButton .ui-button.buy-button:hover:not(.disabled) {
        background-color: rgba( 80, 160, 92, 0.32 );
        border-color: rgba( 91, 212, 114, 0.66 );
        box-shadow: 0 0 14px rgba( 91, 212, 114, 0.38 );
    }

    .buy-menu-radar,
    .buy-menu-transfer {
        flex-grow: 1;
        min-width: 0;
        min-height: 0;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
        background-color: rgba( 0, 0, 0, 0.3 );
        border: 1px solid rgba( 255, 255, 255, 0.04 );
        border-radius: 4px;
    }

    .buy-menu-radar .radar-header,
    .buy-menu-transfer .transfer-header {
        @include menu-eyebrow( $size: 13px, $tracking: 2px, $color: rgba( 255, 255, 255, 0.86 ) );
    }

    .buy-menu-radar .radar-message,
    .buy-menu-radar .radar-status,
    .buy-menu-radar .radar-cooldown,
    .buy-menu-transfer .transfer-message {
        @include menu-copy( $size: 12px, $color: rgba( 255, 255, 255, 0.72 ), $tracking: 0.4px );
    }

    .buy-menu-radar .checkbox-option.radar-auto-option {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .buy-menu-radar .radar-cb-display {
        pointer-events: none;
    }

    .buy-menu-radar > UIButton {
        align-self: flex-start;
        flex-shrink: 0;
    }

    .buy-menu-radar UIButton .ui-button.radar-ping-btn {
        min-height: 24px;
        padding: 2px 12px;
        justify-content: center;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .buy-menu-radar UIButton .ui-button.radar-ping-btn:hover:not(.disabled) {
        border-color: rgba( $traitor-red, 0.35 );
        background-color: rgba( $traitor-red, 0.08 );
        box-shadow: 0 0 12px rgba( $traitor-red, 0.22 );
    }

    .buy-menu-transfer .transfer-buddies {
        width: 100%;
        min-height: 0;
        flex-direction: column;
        gap: 8px;
        overflow-y: scroll;
    }

    .buy-menu-transfer .transfer-buddy-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 6px 10px;
        background-color: rgba( 0, 0, 0, 0.25 );
        border: 1px solid rgba( 255, 255, 255, 0.04 );
        border-radius: 3px;
    }

    .buy-menu-transfer .transfer-buddy-name {
        @include menu-copy( $size: 12px, $color: rgba( $traitor-red, 0.86 ), $tracking: 0.4px );
    }
    

    .buy-menu-transfer .transfer-buddy-row > UIButton {
        flex-shrink: 0;
    }

    .buy-menu-transfer UIButton .ui-button.transfer-give-btn {
        min-width: 60px;
        min-height: 22px;
        padding: 2px 10px;
        justify-content: center;
        text-transform: uppercase;
        letter-spacing: 1.1px;
        transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 160ms ease;
    }

    .buy-menu-transfer UIButton .ui-button.transfer-give-btn:hover:not(.disabled) {
        border-color: rgba( $traitor-red, 0.6 );
        background-color: rgba( $traitor-red, 0.14 );
        box-shadow: 0 0 12px rgba( $traitor-red, 0.3 );
    }

    .transfer-message {
        color: $traitor-red;
    }

    .buy-menu-tabs .ui-button.buy-menu-tab:hover:not(.disabled) {
        border-color: rgba( $traitor-red, 0.22 );
        background-color: rgba( $traitor-red, 0.04 );
        color: rgba( 255, 255, 255, 0.92 );
        box-shadow: 0 0 8px rgba( $traitor-red, 0.14 );
    }

    .category-buttons UIButton .ui-button.category-button:hover:not(.disabled) {
        border-color: rgba( $traitor-red, 0.2 );
        background-color: rgba( $traitor-red, 0.04 );
        color: rgba( 255, 255, 255, 0.92 );
        box-shadow: 0 0 8px rgba( $traitor-red, 0.12 );
    }

    .filter-options {
        flex-grow: 1;
    }

    .credits-panel {
        margin-top: auto;
        width: 135px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 4px 10px;
        border-radius: 4px;
        border: 1px solid rgba( 255, 255, 255, 0.08 );
        background-color: rgba( 255, 255, 255, 0.04 );
    }

    .credits-label {
        @include menu-eyebrow( $size: 10px, $tracking: 1.4px, $color: rgba( 255, 255, 255, 0.6 ) );
    }

    .credits-value {
        font-family: "Resmont-SemiBold", "Resmont-Medium", "Resmont", "Dinish";
        font-size: 15px;
        letter-spacing: 0.6px;
        color: rgba( 255, 255, 255, 0.92 );
    }

    .buy-menu-description .item-status .status-item {
        align-items: flex-start;
    }

    .buy-menu-description .item-status .status-bullet {
        width: 7px;
        min-width: 7px;
        height: 7px;
        margin-top: 5px;
        border-radius: 50%;
        background-color: rgba( 255, 255, 255, 0.38 );
    }

    .buy-menu-description .item-status .status-item.status-neutral {
        color: rgba( 255, 255, 255, 0.66 );
    }

    .buy-menu-description .item-status .status-item.status-neutral .status-bullet {
        background-color: rgba( 255, 255, 255, 0.38 );
    }

    .buy-menu-description .item-status .status-item.status-ok .status-bullet {
        background-color: $green;
    }

    .buy-menu-description .item-status .status-item.status-error .status-bullet {
        background-color: $red;
    }

    .buy-menu-description .item-status .status-item.status-warning .status-bullet {
        background-color: $warning-orange;
    }

    .replacement-confirm-layer {
        position: absolute;
        left: 18.5vw;
        top: 45.5vh;
        right: 0;
        bottom: 0;
        z-index: 20;
        pointer-events: none;

        &.is-open {
            pointer-events: all;
        }

        > UIModalConfirm {
            width: 100%;
            height: 100%;
        }
    }

    .buy-menu-window.team-traitor .credits-value {
        color: rgba( $traitor-red, 0.96 );
    }

    .buy-menu-window.team-detective .credits-value {
        color: rgba( $team-ui-crosshair-detective, 0.96 );
    }

    .buy-menu-window.team-traitor .buy-menu-description .item-name {
        color: rgba( $traitor-red, 0.95 );
    }

    .buy-menu-window.team-detective .buy-menu-description .item-name {
        color: rgba( $team-ui-crosshair-detective, 0.95 );
    }

    .buy-menu-window.team-detective .buy-menu-tabs .ui-button.buy-menu-tab.active {
        border-color: rgba( $team-ui-crosshair-detective, 0.58 );
        background-color: rgba( $team-ui-crosshair-detective, 0.18 );
    }

    .buy-menu-window.team-detective .buy-menu-tabs .ui-button.buy-menu-tab:hover:not(.disabled) {
        border-color: rgba( $team-ui-crosshair-detective, 0.26 );
        background-color: rgba( $team-ui-crosshair-detective, 0.04 );
        box-shadow: 0 0 8px rgba( $team-ui-crosshair-detective, 0.14 );
    }

    .buy-menu-window.team-detective .category-buttons UIButton .ui-button.category-button.active {
        border-color: rgba( $team-ui-crosshair-detective, 0.56 );
        background-color: rgba( $team-ui-crosshair-detective, 0.16 );
    }

    .buy-menu-window.team-detective .category-buttons UIButton .ui-button.category-button:hover:not(.disabled) {
        border-color: rgba( $team-ui-crosshair-detective, 0.24 );
        background-color: rgba( $team-ui-crosshair-detective, 0.04 );
        box-shadow: 0 0 8px rgba( $team-ui-crosshair-detective, 0.12 );
    }

    .buy-menu-window.team-detective .buy-menu-radar UIButton .ui-button.radar-ping-btn:hover:not(.disabled) {
        border-color: rgba( $team-ui-crosshair-detective, 0.4 );
        background-color: rgba( $team-ui-crosshair-detective, 0.08 );
        box-shadow: 0 0 12px rgba( $team-ui-crosshair-detective, 0.22 );
    }

    .buy-menu-window.team-traitor .buy-menu-grid .item-slot.selected {
        background-color: rgba( $team-ui-toast-bg-traitor, 0.94 );
        background-image: none;
    }

    .buy-menu-window.team-detective .buy-menu-grid .item-slot.selected {
        border-width: 4px;
        background-color: rgba( $team-ui-toast-bg-detective, 0.94 );
        background-image: none;
    }

    .buy-menu-window.team-detective .buy-menu-description .item-name {
        color: $team-ui-crosshair-detective;
    }

    .buy-menu-grid .item-icon {
        background-size: 78%;
    }

    .buy-menu-window.team-traitor .buy-menu-grid .item-slot {
        border-color: rgba( $traitor-red, 0.42 );
        background-color: rgba( $team-ui-toast-bg-traitor, 0.88 );
        border-top-color: rgba( 255, 255, 255, 0.16 );
        border-left-color: rgba( $traitor-red, 0.24 );
        border-right-color: rgba( 33, 12, 17, 0.46 );
        border-bottom-color: rgba( 12, 6, 8, 0.62 );
        //background-image: linear-gradient( 180deg, rgba( 255, 255, 255, 0.2 ) 0%, rgba( $traitor-red, 0.36 ) 16%, rgba( $traitor-red, 0.18 ) 40%, rgba( 18, 9, 11, 0.12 ) 68%, rgba( 12, 6, 8, 0.38 ) 100% );
        box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.24 );
    }

    .buy-menu-window.team-detective .buy-menu-grid .item-slot {
        border-color: rgba( $team-ui-crosshair-detective, 0.42 );
        background-color: rgba( $team-ui-toast-bg-detective, 0.88 );
        border-top-color: rgba( 255, 255, 255, 0.16 );
        border-left-color: rgba( $team-ui-crosshair-detective, 0.24 );
        border-right-color: rgba( 10, 26, 38, 0.46 );
        border-bottom-color: rgba( 7, 12, 18, 0.62 );
        //background-image: linear-gradient( 180deg, rgba( 255, 255, 255, 0.2 ) 0%, rgba( $team-ui-crosshair-detective, 0.36 ) 16%, rgba( $team-ui-crosshair-detective, 0.18 ) 40%, rgba( 10, 18, 28, 0.12 ) 68%, rgba( 7, 12, 18, 0.38 ) 100% );
        box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.24 );
    }

    .buy-menu-window.team-traitor .buy-menu-grid .item-slot:hover {
        border-color: rgba( $traitor-red, 0.86 );
        background-color: rgba( $team-ui-toast-bg-traitor, 1 );
        border-top-color: rgba( 255, 255, 255, 0.28 );
        border-left-color: rgba( $traitor-red, 0.46 );
        border-right-color: rgba( 60, 20, 30, 0.62 );
        border-bottom-color: rgba( 20, 8, 12, 0.78 );
        box-shadow: 0 0 12px rgba( $traitor-red, 0.22 );
        //background-image: linear-gradient( 180deg, rgba( 255, 255, 255, 0.24 ) 0%, rgba( $traitor-red, 0.42 ) 16%, rgba( $traitor-red, 0.24 ) 40%, rgba( 37, 15, 21, 0.12 ) 68%, rgba( 18, 8, 12, 0.42 ) 100% );
    }

    .buy-menu-window.team-detective .buy-menu-grid .item-slot:hover {
        border-color: rgba( $team-ui-crosshair-detective, 0.86 );
        background-color: rgba( $team-ui-toast-bg-detective, 1 );
        border-top-color: rgba( 255, 255, 255, 0.28 );
        border-left-color: rgba( $team-ui-crosshair-detective, 0.46 );
        border-right-color: rgba( 16, 46, 66, 0.62 );
        border-bottom-color: rgba( 10, 18, 26, 0.78 );
        box-shadow: 0 0 12px rgba( $team-ui-crosshair-detective, 0.22 );
        //background-image: linear-gradient( 180deg, rgba( 255, 255, 255, 0.24 ) 0%, rgba( $team-ui-crosshair-detective, 0.42 ) 16%, rgba( $team-ui-crosshair-detective, 0.24 ) 40%, rgba( 16, 34, 52, 0.12 ) 68%, rgba( 8, 16, 24, 0.42 ) 100% );
    }

    .buy-menu-window.team-traitor .buy-menu-grid .item-slot.selected:hover {
        background-color: rgba( $team-ui-toast-bg-traitor, 0.98 );
        background-image: none;
    }

    .buy-menu-window.team-detective .buy-menu-grid .item-slot.selected:hover {
        background-color: rgba( $team-ui-toast-bg-detective, 0.98 );
        background-image: none;
    }
}
