@media (min-width: 1745px) and (max-width: 1828px) {
    :root {
        --headerHeight: 32px;
        --headerGap: 4px;
        --headerWidth: 1737px;
        --headerPadding: 4px;

        --logoWidth: 84px;
        --logoHeight: 32px;
        --logoMarginLeft: 4px;
        --rightBlockGap: 4px;
        --rightBlockPadding: 4px;

        --menuWidth: 300px;
        --historyHeight: 28px;
        --betHeight: 184px;
        --innerGap: 2px;
    }

    #new-header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 40px;
        padding: 0 var(--headerPadding);
        background: #1B1C1D;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-sizing: border-box;
    }

    #logo {
        width: var(--logoWidth);
        height: var(--logoHeight);
        margin-left: var(--logoMarginLeft);
        background: url('/static/img/logo.png') no-repeat;
        background-size: contain;
        flex-shrink: 0;
    }

    #game-container {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        height: calc(100% - 40px);
        padding: 4px;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
        background: transparent;
        display: flex;
        flex-direction: column;
        gap: var(--innerGap);
    }

    #wrapper, #mid-wrapper {
        all: unset;
        display: contents;
    }

    #left-menu {
        position: absolute;
        top: 4px;
        left: 6px;
        width: 23.3%;
        height: 795px;
        background: #1B1C1D;
        border-radius: 16px;
        padding: 6px;
        z-index: 5;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    #left-menu .data-list {
        height: 760px;
    }

    #left-menu .bet-list-item {
        padding: 4px 6px;
        margin: 4px 0;
    }

    #last-counters-wrapper {
        position: absolute;
        top: 4px;
        left: 420px;
        right: 0;
        height: var(--historyHeight);
        padding: 0 var(--innerGap);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        z-index: 10;
        margin-left: var(--innerGap);
    }

    #last-counters {
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
        overflow-x: auto;
        overflow-y: hidden;
        padding-left: 30px;
        scrollbar-width: none;
    }

    #last-counters::-webkit-scrollbar {
        display: none;
    }

    #last-counters p {
        margin: 0;
    }

    .show-more-btn {
        right: 1354px;
        bottom: 1px;
    }

    .show-more-icon {
        width: 14px;
        height: 14px;
    }

    .round-history-dropdown.active {
        right: 1348px;
    }

    #counterWrapper {
        --game-field-radius: 16px;
    }

    #fun-mode-banner {
        --fun-mode-banner-height: 22px;
        height: var(--fun-mode-banner-height);
        background: #E59407CC;
        border-radius: 16px 16px 0 0;
        font: 700 12px/20px 'Inter', sans-serif;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #counterWrapper {
        width: 75.8%;
        height: 572px;
        left: 417px;
    }

    #canvas {
        width: 100%;
    }

    #counter {
        font: bold 75px/1 'Inter', sans-serif;
        color: white;
        z-index: 999;
    }

    #counter-glow {
        width: 380px;
        height: 160px;
        filter: blur(40px);
        z-index: 90;
    }

    #flew-away {
        font: 400 30px/1 'Inter', sans-serif;
        color: white;
        top: calc(50% - 50px);
        z-index: 999;
    }

    .wrapper.ng-star-inserted {
        bottom: 6px;
        right: 6px;
        width: 84px;
        height: 28px;
        border-radius: 24px;
        padding: 0 6px;
        display: flex;
        align-items: center;
        z-index: 10;
    }

    .wrapper.ng-star-inserted .avatar {
        width: 20px;
        height: 20px;
        margin-left: -6px;
        border: 1px solid #28A909;
    }

    .wrapper.ng-star-inserted .avatar:first-child {
        margin-left: 0;
    }

    .wrapper.ng-star-inserted .player-count {
        font: 400 11px/1 'Inter', sans-serif;
        color: #FFFFFF;
        margin-left: 6px;
    }

    #bottom-container {
        position: absolute;
        left: 415px;
        right: 4px;
        bottom: 4px;
        width: 1324px;
        height: 187px;
        background: #1B1C1D;
        border-radius: 16px;
        padding: 4px;
        z-index: 5;
        margin-left: var(--innerGap);
    }

    #controle-content {
        width: 340px;
        height: 100%;
        margin: 0 auto;
        padding: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    #bottom-container-left.active  { width: 660px; height: 187px; left: 417px;}
    #bottom-container-right.active { width: 660px; height: 187px; }

    .bottom-navigation-container {
        margin-bottom: 16px;
        position: relative;
        display: flex;
        justify-content: center;
    }

    #navigation-switcher {
        width: 208px;
        height: 32px;
        background: #141516;
        border-radius: 40px;
        border: solid 4px #141516;
    }

    #navigation-switcher .tab {
        font: 400 11px/1 'Inter', sans-serif;
        color: #A3A3A3;
    }

    #navigation-switcher .tab.active {
        color: #EBEBEB;
        background: #2C2D30;
        border-radius: 20px;
    }

    .round-plus-button {
        position: absolute;
        right: -4px;
        width: 32px;
        height: 32px;
        background: #2C2D30;
        border: solid 4px #141516;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    #bet-block-bet {
        width: 368px;
        height: 88px;
        display: flex;
        gap: 6px;
        justify-content: center;
        align-items: center;
    }

    .spinner {
        width: 140px;
        height: 32px;
        background: #141516;
        border-radius: 32px;
        padding: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #bet-input {
        width: 84px;
        height: 24px;
        font: 600 15px/1 'Inter', sans-serif;
        color: #fff;
        text-align: center;
        background: transparent;
        border: none;
    }

    #bets-opt-list {
        width: 140px;
        height: 56px;
        display: grid;
        grid-template-columns: 68px 68px;
        grid-template-rows: 24px 24px;
        gap: 4px;
    }

    .bet-opt-btn {
        width: 68px;
        height: 24px;
        background: #141516;
        color: #FFFFFF80;
        font: 400 12px/1 'Inter', sans-serif;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #buttons-block {
        width: calc(100% - 148px);
        height: 88px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 7px;
        border-radius: 16px;
        background: #141516;
        border: none;
        overflow: hidden;
    }

    #button-bet {
        width: calc(100% - 8px);
        height: calc(100% - 8px);
        background: var(--bet-shell);
        border: none;
        border-radius: 13px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    #button-bet.active {
        background: #CB011A;
        border-color: #CB011A;
    }

    #bet-text .bet-label, #bet-text .bet-value {
        font: 400 20px/1 'Inter', sans-serif;
        color: #FAFAFA;
    }

    #bet-text .bet-currency {
        font: 400 16px/1 'Inter', sans-serif;
        color: #FAFAFA;
        margin-left: 4px;
    }

    .second-row {
        height: 32px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .auto-play-btn {
        width: 64px;
        height: 20px;
        background: #1d7aca;
        border: solid 1px #46C0F2;
        border-radius: 13px;
        font: 400 11px/1 'Inter', sans-serif;
        color: #FAFAFA;
        cursor: pointer;
    }

    .cashout-spinner {
        width: 70px;
        height: 20px;
        background: #141516;
        border-radius: 32px;
        padding: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cashout-spinner input {
        font: 600 11px/1 'Inter', sans-serif;
        color: #fff;
        text-align: center;
    }

    #auto-play-modal .modal-dialog {
        max-width: 440px;
    }

    .rounds-amount {
        width: 50px;
        height: 28px;
        font: 400 11px/1 'Inter', sans-serif;
    }

    .content-part .spinner.big {
        width: 90px;
        height: 28px;
    }
}