
/* ========================== Попапы акций =========================== */
/* Оверлей для попапов с акциями */
.salesCardsPopupWrapper {
    width: 100%;
    height: 100dvh;
    background: rgba(43, 16, 1, 0.9);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    overscroll-behavior: none;
}

/* запас для старых браузеров */
@supports not (height: 100dvh) {
    .salesCardsPopupWrapper {
        height: 100vh;
    }
}

/*============= Попап Battle Pass ============= */
.salesCardsPopupPassWrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.salesCardsPopupPassContentWrapper {
    height: 591px;
    max-width: 423px;
    width: 100%;
    position: relative;
    background: url("./img/battle_pass_BG.0b380d2b749a.png") no-repeat center center;
    background-size: cover;
}
.salesCardsPopupPassContentWrapper .timerWrapper {
    position: absolute;
    top: -40px;
    left: 0;
}
.salesCardsPopupPassContentWrapper .salesCardsPopupHeader {
    position: absolute;
    top: -50px;
    right: 0;
}
.salesCardsPopupPassContentWrapper .salesCardsPopupContentWrapper {
    width: 100%;
    height: 100%;
    padding: 280px 38px 45px;

    display: flex;
    justify-content: center;
    gap: 30px;
}

@media(max-width: 400px) {
    .salesCardsPopupPassContentWrapper .salesCardsPopupContentWrapper {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .salesCardsPopupPassWrapper .boosterWrapper {
        gap: 8px !important;
    }
}

@media(max-width: 350px) {
    .salesCardsPopupPassContentWrapper .salesCardsPopupContentWrapper {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .salesCardsPopupPassWrapper .boosterWrapper {
        gap: 5px !important;
    }
}

@media(max-width: 300px) {
    .salesCardsPopupPassWrapper .boosterWrapper {
        gap: 2px !important;
    }
}

.salesCardsPopupContentWrapper .popupContentBlock {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.salesCardsPopupContentWrapper .seasonPassSecondContent {
    position: relative;
    top: 30px;
}
.salesCardsPopupContentWrapper .title {
    font-size: 17px;
    text-align: center;
    padding: 5px 0 14px;
}
.salesCardsPopupContentWrapper .titleRed {
    color: #AA1B07;
}
.salesCardsPopupContentWrapper .titlePurple {
    color: #582D9A;
}
.salesCardsPopupContentWrapper .plus {
    width: 20px;
    height: 21px;
}
.salesCardsPopupPassWrapper .content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.salesCardsPopupPassWrapper .boosterWrapper {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    gap: 10px;
    margin-top: -15px;
    column-gap: 30px;
}
.salesCardsPopupPassWrapper .boosterIcon {
    width: 60px;
    height: 60px;
}
.salesCardsPopupPassWrapper .singleTextIcon {
    position: relative;
    top: 8px;
}
.salesCardsPopupPassWrapper .singleTextIcon2 {
    position: relative;
    top: 4px;
}
.salesCardsPopupPassWrapper .booster {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.salesCardsPopupPassWrapper .boosterCounterText {
    margin-top: -8px;
    font-size: 24px;
    letter-spacing: -1px;
    color: #FFFFFF;
    -webkit-text-stroke-width: 1px;
    position: absolute;
    bottom: -5px;
}
.salesCardsPopupPassWrapper .boosterCounterRed {
    -webkit-text-stroke-color: var(--color-red-1);
    z-index: 1;
}
.salesCardsPopupPassWrapper .boosterCounterBlue {
    -webkit-text-stroke-color: #582D9A;
    z-index: 1;
}
.salesCardsPopupPassWrapper .boosterCounterText {
    font-size: 14px;
    line-height: 12px;
    white-space: nowrap;
    text-align: center;
}

.salesCardsPopupPassWrapper .buttonWrapper {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}
.salesCardsPopupPassWrapper .greenButton {
    width: 90%;
    height: 50px;
}
.salesCardsPopupPassWrapper .buttonPurpleBlock {
    width: 100%;
    margin-right: 10px;
}

/*================ Попап морские сокровища================  */
.salesCardsPopupSeaKitWrapper {
    width: 100%;
    padding: 65px 5px 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;

    position: relative;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupHeader {
    max-width: 410px;
    width: 100%;
    margin: 0 auto 16px;
    height: 240px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupCloseButton {
    width: 56px;
    height: 56px;
    top: -30px;
    right: -50px;
}

.salesCardsPopupSeaKitWrapper .timerWrapper {
    position: absolute;
    top: -10px;
    left: -10px;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupHeaderTitle {
    content: '';
    height: 165px;
    max-width: 420px;

    background: url("./img/popup_seaKit_BG.ef1374e15966.png") no-repeat center center;
    background-size: 100% 100%;
}

@media(max-width: 500px) {
    .salesCardsPopupSeaKitWrapper .salesCardsPopupHeader {
        position: static;
    }

    .salesCardsPopupSeaKitWrapper .salesCardsPopupCloseButton {
        top: 5px;
        right: 0;
    }
    .salesCardsPopupSeaKitWrapper .timerWrapper {
        top: 15px;
        left: 17px;
    }
}
.salesCardsPopupSeaKitWrapper .salesCardsPopupSubTitle {
    font-size: 17px;
    letter-spacing: -1px;
    color: var(--color-white-1);
    text-align: center;
    -webkit-text-stroke: 0.64px var(--color-blue-1);
    margin-bottom: 10px;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupDescriptionWrapper {
    height: 50px;
    background-color: var(--color-blue-2);
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupDescriptionWrapper .salesCardsPopupDescriptionText {
    font-size: 17px;
    color: #FEF5C1;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper {
    height: 560px;
    width: 400px;
    margin: 0 auto;

    position: relative;

    background: url("./img/popup_seaKit_BG_boosters.ab66812f2e8d.png") no-repeat center center;
    background-size: 100% 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitContentRow {
    height: 161px;
    margin: 20px 0 35px;

    display: flex;
    justify-content: space-between;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitContentRow:nth-child(1) .SeaKitButton {
    margin-top: 17px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitContentRow:nth-child(2) .SeaKitButton {
    margin-top: 18px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitContentRow:nth-child(3) .SeaKitButton {
    margin-top: 18px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitContentColl {
    height: 149px;
    width: 45.7%; /* 182.8 / 400 */
    margin: 0;
    border-radius: 20px;
    position: relative;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitBoosters {
    width: 167px;
    height: 85px;
    margin: 5px auto 4px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitButton {
    width: 84.5%; /* 154.4 / 182.8 */
    height: 39px;
    margin: 0 0 0 6.95%; /* 12.7 / 182.8 */
    border-radius: 10px;

    font-size: 26px;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 1.02px #466300;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;

    cursor: pointer;
    top: 1px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitButton2 {
    font-size: 15px !important;
    top: 2px !important;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .samobrankaButtonText {
    font-size: 16px;
    margin-left: -10px;
}

.salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .lockIcon, .leftLockIcon {
    width: 23px;
    height: 26px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.leftLockIcon {
    right: 10px !important;
}

@media(max-width: 410px) {
    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitBoosters {
        max-width: max-content;
    }

    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .leftLockIcon {
        width: 20px;
        height: 22px;
        right: 6px !important;
    }
}
@media(max-width: 370px) {
    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitButton {
        font-size: 21px;
    }

    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .SeaKitButtonText {
        font-size: 12px;
    }

    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper .leftLockIcon {
        width: 18px;
        height: 20px;
        right: 5px !important;
    }
}

@media(max-width: 410px) {
    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper {
        width: 100%;
    }
}

@media(max-width: 370px) {
    .salesCardsPopupSeaKitWrapper .SeaKitContentWrapper:before {
        height: 150px;
    }
}

/*================ Попап курочкины диковины ================  */
.salesCardsPopupSeaKitWrapper.salesCardsPopupChickenKit .salesCardsPopupHeaderTitle {
    background-image: url("./img/popup_chickenKit_BG.9ab3e4f38355.png");
}

.salesCardsPopupSeaKitWrapper.salesCardsPopupChickenKit .salesCardsPopupDescriptionWrapper {
    background-color: #6B2117;
}

.salesCardsPopupSeaKitWrapper.salesCardsPopupChickenKit .SeaKitContentWrapper {
    background-image: url("./img/popup_chickenKit_BG_boosters.232c45d2c133.png");
}

/*================ Бонус цепочки: жемчужины / золотые яйца ================  */
.salesCardsPopupSeaKitWrapper .SeaKitBonusBadge {
    width: 59px;
    height: 46px;
    position: absolute;
    top: -4px;
    right: -8px;
    z-index: 1;

    background: no-repeat center center;
    background-size: 100% 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusBadge_pearl {
    background-image: url("./img/chain_bonus/badge_pearl.ad20e99dfd22.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusBadge_egg {
    background-image: url("./img/chain_bonus/badge_egg.97dedf4dab2a.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusBadgeAmount {
    width: 27px;
    position: absolute;
    top: 8px;
    left: 28px;

    font-size: 17px;
    line-height: 18px;
    color: #FFEA3D;
    text-align: center;
    white-space: nowrap;
    paint-order: stroke fill;
    -webkit-text-stroke: 3px #8C0A0A;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusBadgeAmount_long {
    top: 9px;

    font-size: 13px;
    letter-spacing: -0.5px;
    -webkit-text-stroke-width: 2.5px;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupDescriptionBonusIcon {
    width: 18px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;

    background: no-repeat center center;
    background-size: contain;
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupDescriptionBonusIcon_pearl {
    background-image: url("./img/chain_bonus/icon_pearl.e4a40c22db51.png");
}

.salesCardsPopupSeaKitWrapper .salesCardsPopupDescriptionBonusIcon_egg {
    background-image: url("./img/chain_bonus/icon_egg.44d74a25fe49.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressWrapper {
    max-width: 410px;
    margin: 0 auto 16px;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressWrapper:empty {
    display: none;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgress {
    width: 384px;
    height: 64px;
    margin: 0 auto;
    position: relative;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressBar {
    width: 336px;
    height: 38px;
    position: absolute;
    top: 14px;
    left: 24px;

    background: url("./img/chain_bonus/bar_cell.d7be39dd503f.png") no-repeat center center;
    background-size: 100% 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressTrack {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 6px;
    left: 5px;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressFill {
    height: 100%;
    border-radius: 14px;

    background: url("./img/chain_bonus/bar_green.062d944dbbe0.png") no-repeat left center;
    background-size: 326px 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressText {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    font-size: 22px;
    line-height: 38px;
    color: #FFF5BC;
    text-align: center;
    text-shadow: 0 1px 0 #4E2A12;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressIcon {
    width: 50px;
    height: 52px;
    position: absolute;
    top: 8px;
    left: 0;

    background: no-repeat center center;
    background-size: contain;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgress_pearl .SeaKitBonusProgressIcon {
    background-image: url("./img/chain_bonus/icon_pearl.e4a40c22db51.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgress_egg .SeaKitBonusProgressIcon {
    background-image: url("./img/chain_bonus/icon_egg.44d74a25fe49.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressGift {
    width: 56px;
    height: 63px;
    position: absolute;
    top: 0;
    left: 325px;

    background: no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgress_pearl .SeaKitBonusProgressGift {
    background-image: url("./img/chain_bonus/bar_gift_pearl.530fa8842c5d.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgress_egg .SeaKitBonusProgressGift {
    background-image: url("./img/chain_bonus/bar_gift_egg.530fa8842c5d.png");
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusProgressInfo {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 2px;
    left: 38px;

    background: url("./img/chain_bonus/bar_info.230d15e1fd86.png") no-repeat center center;
    background-size: 100% 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusTooltip {
    width: 251px;
    height: 101px;
    padding: 30px 21px 19px;
    position: absolute;
    top: 42px;
    right: -28px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: url("./img/chain_bonus/bar_tooltip.9f298885bda0.png") no-repeat center center;
    background-size: 100% 100%;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusTooltipItem {
    height: 52px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusTooltipItemImg {
    max-width: 52px;
    max-height: 52px;
}

.salesCardsPopupSeaKitWrapper .SeaKitBonusTooltipItemAmount {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;

    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    -webkit-text-stroke: 0.6px #4E2A12;
}

@media(max-width: 410px) {
    .salesCardsPopupSeaKitWrapper .SeaKitBonusProgress {
        transform: scale(0.85);
        transform-origin: center top;
    }
}

.small-money-text {
    font-size: 12pt !important;
    -webkit-text-stroke-width: 1px !important;
}
