.finecountdown {
    position: relative;
    right: 30px
}

.panel__countbutton {
    position: relative;
    background: none;
    padding: 0;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 5px 5px;
    right: 30px;
}

.tournaments-bg .panel__countdown {
    font-size: 20px;
    line-height: inherit;
    display: flex;
    align-items: flex-end;
    padding: 6px 8px;
    margin-bottom: 12px;
    border-radius: 4px;
    color: white;
    width: 100px;
    font-weight: bold;
}

.tournaments-bg .panel__countnote.title {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #7360F6;
    margin-bottom: 8px;
}

.panel.panel_tournament {
    max-width: 578px;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    background: #060420;
    border-radius: 20px;
}

.pannel__sides {
    display: flex;
    flex-direction: column;
}

.pannel__l-side {
    order: 2 !important;
    background: #0c1225;
}

.pannel__r-side {
    order: 1 !important;
}

.timer__over {
    font-weight: 700 !important;
    font-size: 24px !important;
}

.timer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer__digit {
    font-size: 24px;
    font-weight: 700;
    background: #060420;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
}

.timer__label {
    margin-top: 4px;
    font-size: 14px;
    opacity: 0.7;
    color: #fff;
}

.timer__symbol {
    font-size: 20px;
    color: #fff;
    margin: 0 6px;
}

.tabs-nav {
    background: #060420;
    border-radius: 8px;
    display: flex;
    width: 250px;
    justify-content: center;
    padding: 10px;
    margin-bottom: 20px;
    flex-direction: column;
    height: 200px;
}

.tab-button {
    background: transparent;
    border: none;
    color: #9EA1B5;
    font-size: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 8px;
    margin: 0 10px;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
}

.tab-button.active {
    background: linear-gradient(90deg, #161a3e 0%, #14172B 100%);
    color: #FFF;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.general-container {
    display: flex;
    padding: 20px;
    margin: 0 auto;
    max-width: 1440px;
}

.tournament__title {
    padding-left: 20px;
}

.head-note {
    margin-top: 10px;
    display: inline;
    border: 1px solid green;
    background: green;
    border-radius: 10px;
    padding: 0 3px;
}

.head-not-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-circle {
    width: 32px;
    height: 32px;
    background: #363962;
    border-radius: 30px;
    margin-top: 9px;
    position: relative;
    top: -3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timer {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
}

.panel__l-side {
    background: #0c1225;
    padding: 20px;
    border-radius: 10px;
}

.timer__title {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.panel__position {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-tournaments {
    background-color: #FECC50 !important;
    border-radius: 10px;
    color: #111111 !important;
    margin-top: 10px;
}

.open-reg-tournaments {
    border-radius: 10px !important;
}

.timer__table {
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*gap: 8px;*/
    /*margin-bottom: 15px;*/
}

.tournament__title {
    font-size: 24px;
    color: #FFFFFF;
}

.timer__cell.timer__cell-days {
    background: #060420;
    padding: 5px 10px;
}

.timer__cell {
    font-size: 20px;
}

.timer__table .timer__row_digit .timer__cell:not(.symbol) {
    font-size: 20px;
    flex-wrap: nowrap;
}

.timer__row {
    display: flex;
    align-items: center;
}

.timer__table .timer__row_digit .timer__cell:not(.symbol) {
    background: #060420;
    padding: 5px 10px;
}

.tours-slider .swiper-button-next {
    right: -33px;
}

.tours-slider .swiper-button-prev {
    left: -33px;
}

.panel__info-button {
    align-items: center;
}

.timer__table .timer__row:not(.timer__row_caption) .timer__cell.timer__cell_empty::before {
    content: '/';
}

.timer__symbol {
    margin: -20px 0 0 0;
}

.timer__digit {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0;
}

.panel__info-button .tournament-show {
    border: 1px solid white;
    background-color: inherit;
    color: white;
    align-items: center;
}

.btn-tournaments-over {
    background-color: inherit;
    width: 100%;
    border: 1px solid white;
    margin-top: 10px;
}

.dotted-line {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    position: relative;
    top: -5px;
}

.panel__position {
    margin-bottom: 15px;
    align-items: flex-end;
}

.tournament-show {
    margin-top: 10px;
}

.panel__info-button .opt-in span:last-child {
    display: block;
}

.page-content.active .container {
    padding: 0 32px 0 0;
}

.page-content:not(.active) .container {
    padding: 0 32px 0 32px;
}

.timer__table .timer__row_digit {
    justify-content: space-around !important;
    padding: 0 15px;
}

.panel__header {
    width: 100%;
}

.panel__header img {
    min-height: 182px;
    max-width: 100%;
    object-fit: contain;
}

.pannel__l-side .head-note.active {
    background-color: black !important;
}

.open-reg-tournaments {
    margin-top: 10px;
}

.tournament__not-login {
    width: 100%;
}

@media (max-width: 768px) {
    .timer {
        padding: 0;
    }

    .tournament__title {
        font-size: 24px;
        color: #FFFFFF;
    }

    .panel__info-button {
        margin-top: 0;
    }

    .general-container {
        display: block;
    }

    .timer__table .timer__row_digit {
        flex-wrap: nowrap;
    }

    .timer__table .timer__row_digit .timer__cell:not(.symbol) {
        font-size: 12px;
    }

    .tabs-nav {
        flex-direction: row;
        height: 50px;
        width: 300px;
        margin: 0 auto 20px auto;
        align-items: center;
    }

    .tab-button {
        font-size: 14px;
        padding: 7px 10px;
        margin: 0 5px;
    }

    .timer__cell {
        font-size: 14px;
    }

    .back-active {
        background-color: #868686 !important;
        color: white !important;
    }

    .finecountdown {
        right: 8px;
    }

    .panel__countbutton {
        right: 0;
    }

    .timer__digit {
        font-size: 14px !important;
    }

    .panel__l-side {
        padding: 10px;
    }

    .timer__table .timer__row_digit {
        padding: 0;
    }

    @media (max-width: 576px) {
        .head-note {
            font-size: 10px;
        }

        .tournaments-bg .panel__countdown {
            font-size: 16px;
        }

        .panel__countbutton {
            top: 4px;
        }

        .tournaments-bg .panel__header img {
            width: 100vw !important;
            border-radius: 10px;
            transform: translate(-50%);
            position: relative;
            left: 55%;
            min-width: 450px;
            height: 170px;
            padding: 1px;
        }

        .panel__header img {
            max-width: 100vw;
            object-fit: unset;
            min-height: auto;
        }
    }

    @media (max-width: 520px) {
        .tournaments-bg .panel__header img {
            left: 29%;
        }
    }

    @media (max-width: 480px) {
        .tournaments-bg .panel__header img {
            left: 33%;
        }
    }

    @media (max-width: 450px) {
        .tournaments-bg .panel__header img {
            left: 36%;
        }
    }

    @media (max-width: 430px) {
        .tournaments-bg .panel__header img {
            left: 39%;
        }
    }

    @media (max-width: 410px) {
        .tournaments-bg .panel__header img {
            left: 43%;
        }
    }

    @media (max-width: 390px) {
        .tournaments-bg .panel__header img {
            left: 47%;
        }
    }

    @media (max-width: 390px) {
        .tournaments-bg .panel__header img {
            left: 47%;
        }
    }

    @media (max-width: 380px) {
        .tournaments-bg .panel__header img {
            left: 49%;
        }
    }

    @media (max-width: 370px) {
        .tournaments-bg .panel__header img {
            left: 51%;
        }
    }

    @media (max-width: 370px) {
        .tournaments-bg .panel__header img {
            left: 51%;
        }
    }

    @media (max-width: 350px) {
        .timer__table .timer__row_digit {
            padding: 0 0;
        }

        .timer__digit {
            font-size: 12px !important;
        }
    }

    @media (max-width: 340px) {
        .panel__l-side {
            padding: 5px !important;
        }
    }
}
