@-webkit-keyframes tile_isFetching__2qd4N {
    0%, 50%, to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    25%, 75% {
        -webkit-transform: scale(.8);
        transform: scale(.8)
    }
}

@keyframes tile_isFetching__2qd4N {
    0%, 50%, to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    25%, 75% {
        -webkit-transform: scale(.8);
        transform: scale(.8)
    }
}

@-webkit-keyframes tile_sprite__3WCDp {
    0% {
        background-position: 0 0;
        opacity: 1
    }
    70% {
        opacity: 1
    }
    to {
        opacity: 0;
        background-position: 100% 0
    }
}

@keyframes tile_sprite__3WCDp {
    0% {
        background-position: 0 0;
        opacity: 1
    }
    70% {
        opacity: 1
    }
    to {
        opacity: 0;
        background-position: 100% 0
    }
}

@-webkit-keyframes tile_scaleAppearHalf___1f6g {
    0% {
        -webkit-transform: scale(0) translate(-50%, -50%);
        transform: scale(0) translate(-50%, -50%)
    }
    to {
        -webkit-transform: scale(.6) translate(-50%, -50%);
        transform: scale(.6) translate(-50%, -50%)
    }
}

@keyframes tile_scaleAppearHalf___1f6g {
    0% {
        -webkit-transform: scale(0) translate(-50%, -50%);
        transform: scale(0) translate(-50%, -50%)
    }
    to {
        -webkit-transform: scale(.6) translate(-50%, -50%);
        transform: scale(.6) translate(-50%, -50%)
    }
}

@-webkit-keyframes tile_scaleAppear__1xWtC {
    0% {
        background-size: 0
    }
    60% {
        background-size: 42%
    }
    85% {
        background-size: 31%
    }
    to {
        background-size: 35%
    }
}

@keyframes tile_scaleAppear__1xWtC {
    0% {
        background-size: 0
    }
    60% {
        background-size: 42%
    }
    85% {
        background-size: 31%
    }
    to {
        background-size: 35%
    }
}

.tile_fair__1s-XQ {
    max-width: 380px;
    margin: auto auto 10px;
    padding: 0
}

.tile_fair__1s-XQ .tile_main__2babg.tile_isMine__3hfGe, .tile_fair__1s-XQ .tile_main__2babg.tile_isRevealed__1vm7Q {
    opacity: 1
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    pointer-events: none;
    z-index: 3;
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3773e0
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 4;
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all .3s;
    transition: all .3s
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:hover:before {
    opacity: 1
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:hover:after {
    background-color: #314a6f
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_btn__1b-Eh {
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 0 2px #689dff;
    opacity: 1
}

.tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_btn__1b-Eh:hover {
    background-color: #689dff
}

@media (max-width: 480px) {
    .tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:before {
        width: 5px;
        height: 5px
    }

    .tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_item__eJPTt:after {
        width: 15px;
        height: 15px
    }

    .tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_btn__1b-Eh {
        box-shadow: 0 0 0 1px #689dff
    }
}

.tile_row__2H-Sa {
    display: flex;
    width: 100%;
    margin-bottom: 6px
}

.tile_row__2H-Sa:last-child {
    margin-bottom: 0
}

.tile_row__2H-Sa.tile_allowSelected__1GH4T .tile_btn__1b-Eh {
    cursor: pointer;
    pointer-events: all;
    opacity: 1
}

@media (max-width: 480px) {
    .tile_row__2H-Sa {
        margin-bottom: 4px
    }
}

.tile_item__eJPTt {
    width: 20%;
    position: relative;
    padding: 0 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.tile_item__eJPTt.tile_hasMine__1W4Zt {
    z-index: 10
}

.tile_item__eJPTt.tile_isFetching__2qd4N:after, .tile_item__eJPTt.tile_isFetching__2qd4N:before {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation: tile_isFetching__2qd4N 1.5s .3s infinite;
    animation: tile_isFetching__2qd4N 1.5s .3s infinite
}

@media (max-width: 480px) {
    .tile_item__eJPTt {
        padding: 0 2px
    }
}

.tile_btn__1b-Eh {
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    border: 0;
    outline: none;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #4986f5;
    border-radius: 3px;
    pointer-events: none;
    cursor: default;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: background, box-shadow;
    transition-property: background, box-shadow;
    opacity: .8
}

.tile_btn__1b-Eh:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 50%
}

.tile_btn__1b-Eh:active, .tile_btn__1b-Eh:focus, .tile_btn__1b-Eh:hover {
    outline: none
}

.tile_btn__1b-Eh.tile_isSelectedAutobetGem__1rQr9 {
    background: #fff
}

.tile_btn__1b-Eh.tile_isSelectedAutobetGem__1rQr9 .tile_main__2babg {
    display: none
}

.tile_btn__1b-Eh.tile_isHalfRevealed__2fkhr, .tile_btn__1b-Eh.tile_isMine__3hfGe, .tile_btn__1b-Eh.tile_isRevealed__1vm7Q {
    background: #314a6f;
    opacity: 1
}

.tile_btn__1b-Eh.tile_isClickable__QnuY3 .tile_main__2babg {
    background-size: 35%;
    opacity: 1
}

.tile_btn__1b-Eh.tile_isClickable__QnuY3 .tile_main__2babg.tile_isMine__3hfGe {
    background-size: 30%
}

@media (max-width: 1170px) {
    .tile_btn__1b-Eh:before {
        padding-top: 50%
    }
}

@media (max-width: 1099px) {
    .tile_btn__1b-Eh:before {
        padding-top: 55%
    }
}

.tile_main__2babg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/img/towers/gem.f10fe724.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 0
}

.tile_main__2babg.tile_isAnimate__gWjgT {
    -webkit-animation: tile_scaleAppear__1xWtC .6s;
    animation: tile_scaleAppear__1xWtC .6s
}

.tile_main__2babg.tile_isRevealed__1vm7Q {
    background-size: 25%;
    -webkit-transition-property: background;
    transition-property: background;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
    -webkit-transition-timing-function: cubic-bezier(.87, -.41, .19, 1.4);
    transition-timing-function: cubic-bezier(.87, -.41, .19, 1.4);
    opacity: .6
}

.tile_main__2babg.tile_isMine__3hfGe {
    background-image: url(/img/towers/bomb.643f4ce6.png);
    background-size: 20%
}

.tile_appear__3kqK4 {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
    background: url(/img/towers/gem-appear.bb547e3f.png) no-repeat 0 0;
    background-size: 1840px;
    margin: -5px 0 0 -1px;
    opacity: 0
}

.tile_appear__3kqK4.tile_isAnimate__gWjgT {
    -webkit-animation: tile_sprite__3WCDp .25s steps(22) .4s;
    animation: tile_sprite__3WCDp .25s steps(22) .4s
}

.tile_bombFrame__2GtMm {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    margin: 3px 0 0;
    background: url(/img/towers/bomb-appear.f4e458be.png) no-repeat 0 0;
    background-size: 12400px
}

.tile_bombFrame__2GtMm.tile_isAnimate__gWjgT {
    -webkit-animation: tile_sprite__3WCDp .8s steps(61) .2s;
    animation: tile_sprite__3WCDp .8s steps(61) .2s
}

.tower_tower__1ms3K {
    display: flex;
    align-items: stretch;
    flex: auto;
    padding: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
}

.tower_component__3oM-1 {
    padding: 20px;
    margin: -20px -20px -20px -20px;
    display: flex;
    justify-content: stretch;
    flex: auto;
    position: relative
}

@media (max-width: 820px) {
    .tower_component__3oM-1 {
        overflow: hidden
    }
}

@media (max-width: 480px) {
    .tower_component__3oM-1 .game-tooltip {
        padding: 20px 50px
    }
}

.tower_tiles__2V8Cz {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%
}

@media (max-width: 820px) {
    .tower_tiles__2V8Cz {
        max-width: 450px
    }
}

@media (max-width: 480px) {
    .tower_tiles__2V8Cz {
        max-width: 320px
    }
}

.tower_payouts__3WyFB {
    background: #27283d;
    border-radius: 6px 0 0 6px;
    padding: 0;
    margin: -20px 0 -20px -20px;
}

.tower_payoutsWrap__1grO5 {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    height: 100%;
    padding: 20px
}

@media (max-width: 969px) {
    .tower_payoutsWrap__1grO5 {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        padding: 15px
    }

    .tower_payoutsWrap__1grO5 .tower_payoutItem__1V4dZ {
        width: calc(20% - 2px);
        min-width: 0;
        min-height: 24px;
        margin-bottom: 3px;
        flex: none;
        font-size: 10px
    }

    .tower_payoutsWrap__1grO5 .tower_payoutItem__1V4dZ:last-child {
        margin-bottom: 3px
    }
}

.tower_payoutItem__1V4dZ {
    border: 1px solid hsla(0, 0%, 59.2%, .087);
    border-radius: 3px;
    flex: auto;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 14px;
    font-family: Exo\ 2, Open Sans, sans-serif;
    color: #5e687e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px
}

.tower_payoutItem__1V4dZ:last-child {
    margin-bottom: 0
}

.tower_payoutItem__1V4dZ.tower_payoutItemActive__1xYqA {
    background: #62ca5b;
    color: #fff;
    border-color: #62ca5b
}

.tower_isDownCoeffs__3nbww {
    flex-direction: column-reverse;
    padding: 0
}

.tower_isDownCoeffs__3nbww .tower_component__3oM-1 {
    padding: 0;
    margin: 0
}

.tower_isDownCoeffs__3nbww .tower_payouts__3WyFB {
    margin: 0;
    border-radius: 0 0 6px 6px;
    padding: 20px 30px
}

@media (max-width: 480px) {
    .tower_isDownCoeffs__3nbww .tower_payouts__3WyFB {
        padding: 10px 30px
    }
}

.tower_isDownCoeffs__3nbww .tower_payoutsWrap__1grO5 {
    padding: 0;
    position: relative
}

.tower_isDownCoeffs__3nbww .tower_payoutsWrap__1grO5 .carousel-item:after {
    content: "";
    width: 100%;
    height: 1px;
    background: #353b47;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.tower_isDownCoeffs__3nbww .tower_payoutItem__1V4dZ {
    border: 1px solid hsla(0, 0%, 59.2%, .087);
    border-radius: 3px;
    padding: 0;
    color: #5e687e;
    background: #2c323f;
    z-index: 2;
    white-space: nowrap;
    max-width: 100px;
    min-height: 40px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(20% - 15px)
}

.tower_isDownCoeffs__3nbww .tower_payoutItem__1V4dZ.tower_payoutItemActive__1xYqA {
    color: #fff;
    background: #62ca5b;
    border-color: #62ca5b
}

@media (max-width: 820px) {
    .tower_isDownCoeffs__3nbww .tower_payoutItem__1V4dZ {
        font-size: 10px;
        min-height: 34px !important
    }
}

@media (max-width: 480px) {
    .tower_isDownCoeffs__3nbww .tower_payoutItem__1V4dZ {
        font-size: 9px;
        min-height: 22px !important
    }
}

.tower_isDownCoeffs__3nbww .tower_tiles__2V8Cz {
    padding: 25px 20px;
    margin: auto
}

@media (max-width: 480px) {
    .tower_isDownCoeffs__3nbww .tower_tiles__2V8Cz {
        padding: 15px 20px
    }
}
/* Tower mobile/tablet visual repair — logic untouched */
.tower-prefix .tower-bet-limits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
}
.tower-prefix .tower-limit-item {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(91, 210, 255, .22);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(42, 52, 86, .96), rgba(24, 29, 50, .96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.tower-prefix .tower-limit-item span {
    display: block;
    margin-bottom: 4px;
    color: #91a2c3;
    font-size: 10px;
    line-height: 1.25;
}
.tower-prefix .tower-limit-item strong {
    display: block;
    overflow: hidden;
    color: #61e5ff;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tower-prefix .tower_tower__1ms3K {
    overflow: hidden;
    border: 1px solid rgba(87, 114, 255, .16);
    background: radial-gradient(circle at 75% 20%, rgba(46, 108, 255, .10), transparent 36%), #121722;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}
.tower-prefix .tower_payouts__3WyFB {
    background: linear-gradient(180deg, #22283e, #1b2033);
}
.tower-prefix .tile_btn__1b-Eh {
    border: 1px solid rgba(129, 176, 255, .11);
    border-radius: 6px;
    background: linear-gradient(145deg, #4d8cf7, #326bd0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 9px rgba(0,0,0,.15);
}
.tower-prefix .tile_notAutomated__2MIRN .tile_row__2H-Sa.tile_isActive__2d3mO .tile_btn__1b-Eh {
    box-shadow: 0 0 0 2px #66ddff, 0 0 16px rgba(72, 200, 255, .34);
}
.tower-prefix .selectBomb.isActive {
    background: linear-gradient(180deg, #70e6ff, #39bde5) !important;
    color: #081323 !important;
    box-shadow: 0 0 18px rgba(65, 209, 255, .28);
}

@media screen and (max-width: 820px) {
    .tower-prefix {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
    }
    .tower-prefix .game-component {
        order: 1;
        width: 100% !important;
        min-width: 0 !important;
    }
    .tower-prefix .game-sidebar {
        order: 2;
        width: 100% !important;
        margin: 0 !important;
        padding-bottom: 12px !important;
    }
    .tower-prefix .game-sidebar .sidebar-block {
        padding: 16px !important;
        border: 1px solid rgba(100, 122, 255, .14);
        border-radius: 12px;
        background: linear-gradient(160deg, #282b48, #20243b);
        box-shadow: 0 14px 28px rgba(0,0,0,.18);
    }
    .tower-prefix .tower_tower__1ms3K {
        flex-direction: column;
        width: 100%;
        padding: 10px;
        border-radius: 12px;
    }
    .tower-prefix .tower_payouts__3WyFB {
        order: 1;
        width: 100%;
        margin: 0 0 9px;
        border-radius: 9px;
    }
    .tower-prefix .tower_payoutsWrap__1grO5 {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        height: auto;
        padding: 8px;
    }
    .tower-prefix .tower_payoutsWrap__1grO5 .tower_payoutItem__1V4dZ {
        width: auto;
        min-width: 0;
        min-height: 28px;
        margin: 0;
        padding: 3px 1px;
        border-radius: 5px;
        font-size: 9px;
        line-height: 1;
    }
    .tower-prefix .tower_component__3oM-1 {
        order: 2;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 5px;
        overflow: visible;
    }
    .tower-prefix .tower_tiles__2V8Cz {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 520px) {
    .tower-prefix .tower_tower__1ms3K { padding: 8px; }
    .tower-prefix .tower_component__3oM-1 { padding: 2px; }
    .tower-prefix .tower_tiles__2V8Cz { max-width: none; }
    .tower-prefix .tile_row__2H-Sa { margin-bottom: 5px; }
    .tower-prefix .tile_item__eJPTt { padding: 0 2px; }
    .tower-prefix .tile_btn__1b-Eh { border-radius: 5px; }
    .tower-prefix .tile_btn__1b-Eh:before { padding-top: 48%; }
    .tower-prefix .tower_payoutsWrap__1grO5 { gap: 3px; padding: 7px; }
    .tower-prefix .tower_payoutsWrap__1grO5 .tower_payoutItem__1V4dZ {
        min-height: 25px;
        font-size: 8px;
    }
    .tower-prefix .tower-bet-limits { margin-bottom: 12px; gap: 6px; }
    .tower-prefix .tower-limit-item { padding: 8px; }
    .tower-prefix .tower-limit-item span { font-size: 9px; }
    .tower-prefix .tower-limit-item strong { font-size: 12px; }
    .tower-prefix .button-group__content.rooms { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 2px; }
    .tower-prefix .button-group__content.rooms .btn { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
    .tower-prefix .bet-component .btn.btn-play { height: 54px; border-radius: 9px; font-weight: 700; }
}


/* Tower bottom-up progression patch (corrected 2026-07-26) */
.tower_bottomUp__patch .tower_tiles__2V8Cz,
.tower_bottomUp__patch .tower_payoutsWrap__1grO5 {
    display: flex !important;
    flex-direction: column-reverse !important;
}

.tower_bottomUp__patch .tile_row__2H-Sa:first-child {
    margin-bottom: 0 !important;
}
.tower_bottomUp__patch .tile_row__2H-Sa:last-child {
    margin-bottom: 6px !important;
}

@media (max-width: 480px) {
    .tower_bottomUp__patch .tile_row__2H-Sa:last-child {
        margin-bottom: 4px !important;
    }
}
