.event-page__nav {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.event-page__nav-item {
    font-size: 14px;
    background-repeat: no-repeat;
    background-size: 15px;
}

.event-page__nav-item.nav--prev {
    background-image: url(/local/templates/pikuco/images/icons/arrow-left-slider.svg);
    padding-left: 20px;
    background-position: center left;
    text-align: left;
}

.event-page__nav-item.nav--next {
    background-image: url(/local/templates/pikuco/images/icons/arrow-right-slider.svg);
    padding-right: 20px;
    margin-left: auto;
    background-position: center right;
    text-align: right;
}

.event-page h1,
.event-page .news-date-time {
    text-align: center;
    display: block;
}

.event-page__prize {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    flex-direction: column;
    position: relative;
    border-radius: 40px;
}


.event-page__prize:before,
.event-page__prize:after {
    content: '';
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: 0;
    max-width: 100%;
}

@media screen and (max-width: 460px) {
    .event-page__prize:before,
    .event-page__prize:after {
        bottom: -50px !important;
    }
}

.event-page__prize.winter:before {
    background-image: url("/local/templates/pikuco/images/event/decorations-winter/before.svg");
    width: 222px;
    height: 92px;
    left: 0;
}

.event-page__prize.winter:after {
    background-image: url("/local/templates/pikuco/images/event/decorations-winter/after.svg");
    width: 72px;
    height: 100px;
    right: 27px;
}

.event-page__prize.spring:before {
    background-image: url("/local/templates/pikuco/images/event/decorations-spring/before.svg");
    width: 155px;
    height: 86px;
    left: 0;
}

.event-page__prize.spring:after {
    background-image: url("/local/templates/pikuco/images/event/decorations-spring/after.svg");
    width: 120px;
    height: 76px;
    right: 0;
    bottom: 15px;
}


.event-page__prize.autumn:before {
    background-image: url("/local/templates/pikuco/images/event/decorations-fall/before.svg");
    width: 172px;
    height: 94px;
    left: 5px;
}

.event-page__prize.autumn:after {
    background-image: url("/local/templates/pikuco/images/event/decorations-fall/after.svg");
    width: 150px;
    height: 48px;
    right: 8px;
    bottom: 8px;
}

.event-page__prize.summer {
    background-image: url("/local/templates/pikuco/images/event/decorations-summer/bg.svg");
    background-size: cover;
    background-position: center;
}

.event-page__prize.summer:after {
    background-image: url("/local/templates/pikuco/images/event/decorations-summer/after.svg");
    width: 118px;
    height: 94px;
    right: 9px;
}

.event-page__prize-holder {
    background: var(--yellow);
    padding: 20px 30px;
    color: var(--black);
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    animation: 1s pulsing infinite;
}

.event-page__prize-title {
    margin-bottom: 10px;
}

.event-page__prize-sum {
    font-size: 48px;
    line-height: 50px;
    font-family: 'Montserrat';
}

.event-page__prize-sum .pikucoin {
    background-image: url(/local/templates/pikuco/images/icons/pikucoin-black.svg);
    padding-left: 75px;
    background-position: left center;
    background-size: 62px;
    display: flex;
    flex-direction: column;
}

.event-page__prize-sum .pikucoin .event-page__prize-disclaimer {
    line-height: 14px;
    font-family: 'Google Sans';
    text-align: left;
}

.event-page__prize-disclaimer {
    font-size: 14px;
}

.event-page__stages,
.event-page__judges,
.event-page__top,
.event-page__slots,
.event-page__rules {
    margin: 50px 0 30px;
}

.event-page__top .top-name__wrapper {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-page__top .tournament_top_name {
    margin-bottom: 0;
}

.event-page__top .tournament_top_avatar {
    border-radius: 8px;
}

.event-page__stages-holder {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.event-page__stage {
    border: 2px solid var(--bggray);
    border-radius: 10px;
    padding: 20px;
}

.event-page__stage-title {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    font-weight: 500;
}

.event-page__stage.active {
    border-color: var(--yellow);
    animation: 1s pulsing infinite;
}

.event-page__stage.active .event-page__stage-title {
    color: var(--yellow);
}

.event-page__stage.active .event-page__stage-description {
    color: white;
}

.event-page__stage-title span {
    margin-left: auto;
}

.event-page__stage-description {
    color: var(--lightgray);
}



.judges-candidates-voting__empty {
    width: 100%;
    text-align: center;
    font-weight: 600;
    border: 2px solid var(--bggray);
    padding: 20px;
    border-radius: 10px;
}

.judges-candidates-ballot {
    margin-top: 10px;
    border: 2px solid var(--bggray);
    border-radius: 10px;
    padding: 20px;
    padding-left: 120px;
    position: relative;
    transition: all 0.3s ease;
}

.judges-candidates-ballot:after {
    content: "";
    width: 80px;
    height: 80px;
    display: block;
    border: 2px solid var(--bggray);
    border-radius: 50%;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 20px;
    top: calc(50% - 40px);
    transition: all .2s ease;
    background-image: url(/local/templates/pikuco/images/icons/editor/delay-y.svg);
}

.judges-candidates-ballot.able .judges-candidates-ballot__title {
    color: var(--yellow);
}

.judges-candidates-ballot.able:hover {
    border-color: var(--yellow);
    cursor: pointer;
}

.judges-candidates-ballot__title {
    margin-bottom: 10px;
    font-weight: 500;
}

.judges-candidates-ballot__disclaimer {
    margin-bottom: 0;
}


.event-page__slots-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-page__slots-group {
    display: flex;
}

.event-page__slots-group-col.first {
    min-width: 50px;
    width: 50px;
    position: relative;
}

.event-page__slots-group-col.second {
    flex: 1;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.event-page__slots-group-icon {
    width: 30px;
    height: 30px;
    position: sticky;
    top: 170px;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.event-page__slots-group-title {
    font-weight: 500;
}

.event-page__slots-group-description {
    color: var(--lightgray);
}

.event-page__slot-empty {
    border: 2px solid var(--bggray);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-style: italic;
    color: var(--lightgray);
}

.event-page__slots-group-icon.icon--DIGEST {
    background-image: url("/local/templates/pikuco/images/icons/tops/post-creators-yellow.svg");
}

.event-page__slots-group-icon.icon--TOP {
    background-image: url("/local/templates/pikuco/images/icons/tops/passers-yellow.svg");
}

.event-page__slots-group-icon.icon--SQUAD {
    background-image: url("/local/templates/pikuco/images/icons/tops/squad-yellow.svg");
}

.event-page__slots-group-icon.icon--WILDCARD {
    background-image: url("/local/templates/pikuco/images/icons/tops/test-creators-yellow.svg");
}

.event-page__slot {
    border: 2px solid var(--bggray);
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    font-size: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    position: relative;
    background: var(--bgblack);
}

.event-page__slot.current--user {
    border-color: var(--yellow);
    animation: 1s pulsing infinite;
}

.event-page__slot.slot--granted {
    margin-top: 30px;
    padding-top: 20px;
}

.event-page__slot .event-page__slot {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    transform: scale(.8);
}

.event-page__slot .event-page__slot:before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/local/templates/pikuco/images/icons/ArrowDownLeftYellow.svg");
}

.event-page__slot-avatar {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--bggray);
}

.event-page__slot-rating,
.event-page__slot-achievements {
    padding-left: 25px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.event-page__slot-rating {
    margin-left: auto;
    background-image: url(/local/templates/pikuco/images/icons/profile-rating.svg);
}

.event-page__slot-achievements {
    background-image: url(/local/templates/pikuco/images/icons/personal/medal-r.svg);
}

.event-page__slot-name {
    font-weight: 500;
}

.event-page__slot-give {
    margin-left: auto;
    background-color: var(--bggray);
    color: var(--yellow);
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 6px;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
}

.event-page__slot-give:hover {
    background-color: var(--yellow);
    color: var(--black);
}

.event-page__user-picker-button {
    width: 50px;
    height: 50px;
    border: none;
    padding: 10px;
    cursor: pointer;
    background-image: url(/local/templates/pikuco/images/icons/personal/unblockuser-g.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--bgblack);
    border-radius: 10px;
    font-size: 0;
    margin-top: auto;
    margin-bottom: 5px;
    background-size: 23px;
}

.event-page__user-picker {
    display: flex;
    gap: 10px;
    width: 100%;
}

[data-remodal-id="giveSlot"] input[type="submit"] {
    margin-top: 20px;
}

.event-page .sortbycontainer input:not(:checked)+label {
    background-color: var(--bggray);
}

.event-page .sortbycontainer {
    gap: 10px;
}

.event-page .tournament_top_rating {
    border: 2px solid var(--bggray);
}

.tournament_top_rating-empty {
    text-align: center;
    padding: 20px;
}

.event-page-rules__accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.event-page-rules__item {
    padding-left: 50px;
    border: 2px solid var(--bggray);
    background-image: url("/local/templates/pikuco/images/icons/arrow-down-rounded-yellow.svg");
    background-repeat: no-repeat;
    background-position: 13px 19px;
    border-radius: 10px;
    padding-bottom: 20px;
    padding-right: 10px;
    padding-top: 20px;
    background-size: 25px;
}

.event-page-rules__item.active {
    background-image: url("/local/templates/pikuco/images/icons/arrow-up-rounded-yellow.svg");
}


.event-page-rules__item-heading {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: var(--yellow);
}

.event-page-rules__item-text {
    margin-top: 20px;
}

.event-page-rules__item-text ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.event-page-rules__item-text li {
    padding-left: 20px;
    position: relative;
}

.event-page-rules__item-text li:before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--yellow);
    display: block;
    position: absolute;
    left: 0;
    top: 10px;
    border-radius: 50%;
}

.event-page__show-all-slots,
.judges-candidates-voting__see-all,
.tournament_top-show-more {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--yellow);
    cursor: pointer;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px;
    border: 2px solid var(--bggray);
    border-radius: 6px;
    transform: scale(0.8);
}

.judges-candidates-voting__see-all {
    margin-top: 10px;
}

@media screen and (max-width: 991px) {
    .event-page__top .tournament_top_name {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .event-page__prize-sum {
        font-size: 38px;
        line-height: 38px;
    }

    .event-page__prize-sum .pikucoin {
        padding-left: 57px;
        background-size: 48px;
    }

    .event-page__stage-title {
        flex-direction: column;
    }

    body .news-detail {
        padding: 20px;
    }

    .event-page__stage-title span {
        margin-left: 0;
        font-size: 14px;
        margin-top: 5px;
    }

    .event-page__stage-description {
        font-size: 14px;
    }

    .event-page__slot .event-page__slot .event-page__slot-rating,
    .event-page__slot .event-page__slot .event-page__slot-achievements {
        display: none;
    }

    .event-page__slot .event-page__slot .event-page__slot-gifted {
        margin-left: auto;
    }

    .top-judges__block {
        border-top: 1px solid var(--bggray);
        padding-top: 10px;
    }

    .event-page__top .tournament_top_rating .subtitle {
        display: inline-block;
    }

    .event-page__top .top__property-icon {
        padding-left: 50px;
        padding-top: 0;
        font-size: 20px;
        line-height: 26px;
        background-position: left center;
        background-size: 40px;
        min-height: 40px;
        display: flex;
        text-align: left;
        justify-content: left;
    }

    .event-page__slots-groups {
        gap: 30px;
    }
}

@media screen and (max-width: 575px) {
    .event-page__nav-item {
        font-size: 12px;
    }

    .event-page__slots-group-col.first {
        min-width: 0;
        width: 0;
    }

    .event-page__slots-group-icon {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 0;
    }

    .event-page__slots-group-title {
        padding-left: 30px;
    }

    .event-page__slot-achievements {
        display: none;
    }

    .event-page .news-date-time {
        font-size: 14px;
    }

    .event-page__stage {
        padding: 12px;
    }

    .event-page__slot, .event-page__slot-empty{
        padding: 12px;
        gap: 10px;
    }

    .event-page__slot-deleted {
        font-size: 12px;
        text-align: center;
    }

    .event-page__slot-rating {
        font-size: 12px;
    }

    .event-page__top .tournament_top_avatar {
        margin-left: 0;
        width: 35px;
        min-width: 35px;
        height: 35px;
    }

    .event-page-rules__item {
        padding: 12px 10px 12px 10px;
        background-position: 6px 13px;
        background-size: 20px;
    }

    .event-page-rules__item-heading {
        font-size: 14px;
        padding-left: 22px;
    }


    .event-page__top .top__property-icon {
        padding-left: 42px;
        background-size: 30px;
        min-height: 30px;
        font-size: 16px;
        line-height: 16px;
    }

    .event-page__top .tournament_top_rating .subtitle {
        font-size: 10px;
    }

    .event-page .tournament_top_rating {
        padding: 10px 15px;
    }
}