.tower-button{background:#535574;border-radius:var(--b-radius);transition:all .2s ease-in-out}.tower-button,.tower-button .content{align-items:center;display:flex;justify-content:center}.tower-button .content{position:relative;width:100%}.tower-button .content .overlay{animation:mines_sprite .5s steps(41) .1s forwards;background-image:url(./loose.6e4aff69.png);height:128px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(.6);width:128px}.tower-button .content .overlay.win{animation:mines_sprite .5s steps(50) .1s forwards;background-image:url(./win.ef298071.png)}.tower-button .content>img{width:auto}@media screen and (max-width:760px){.tower-button img{max-height:70%}}.tower-button img,.tower-button svg{display:none}.tower-button .emeralds{height:30px}.tower-button .shield{height:26px}.tower-button .empty{color:#afcfff;height:21px;opacity:.5;width:auto}.tower-button .circle{height:14px;width:auto}.tower-button.active .circle,.tower-button.opened.emeralds .emeralds,.tower-button.opened.shield .shield,.tower-button:not(.opened):not(.active) .empty{display:block}.tower-button.active{background:#8f93bc;color:#535574;transition:.2s}.tower-button.active:focus,.tower-button.active:hover{background:#a5aad8}.tower-button.active svg{opacity:.5;transition:.2s}.tower-button.opened{background:#535574;cursor:not-allowed}.tower-button.opened:not(.selected):not(.visible){opacity:.6}.tower-button.opened.selected{background:#3b3e5a}html.theme__dark .tower-button{background:#424b5b}html.theme__dark .tower-button.active{background:#596984;color:#849cc1}html.theme__dark .tower-button.active:focus,html.theme__dark .tower-button.active:hover{background:#6a7fa4}html.theme__dark .tower-button.active svg{opacity:1}html.theme__dark .tower-button.opened{cursor:not-allowed}html.theme__dark .tower-button.opened:not(.selected):not(.visible){opacity:.4}html.theme__dark .tower-button.opened.selected{background:#2b303d}@keyframes mines_sprite{0%{background-position:0 0;opacity:1}70%{opacity:1}to{background-position:100% 0;opacity:0}}.tower-scene__tower{border-top-left-radius:var(--b-radius);border-top-right-radius:var(--b-radius);bottom:-2%;transform:translate(-50%);width:103%}.tower-scene__top,.tower-scene__tower{height:auto;left:50%;position:absolute;z-index:1}.tower-scene__top{top:-5px;transform:translate(-50%,-100%);width:107%}.tower-scene__cloud-left{height:auto;left:-58%;position:absolute;top:-30px;width:auto;z-index:0}@media screen and (max-width:920px){.tower-scene__cloud-left{left:-40%;top:-100px}}.tower-scene__cloud-right{height:auto;position:absolute;right:-74%;top:-19%;width:auto;z-index:0}@media screen and (max-width:920px){.tower-scene__cloud-right{right:-50%;top:-110px}}.tower-scene__rock-right{right:-2%}.tower-scene__rock-left,.tower-scene__rock-right{bottom:0;height:auto;position:absolute;width:auto;z-index:0}.tower-scene__rock-left{left:-1%}.tower-scene__center-back{bottom:-12%;height:auto;left:50%;position:absolute;transform:translate(-50%);width:auto;z-index:0}.tower-scene__center-front{bottom:-9px;height:auto;left:-37.12px;position:absolute;width:auto;z-index:4}.tower-grid{background:#777a99;border:1px solid #7e8db4;border-radius:6px;display:flex;flex-direction:column-reverse;gap:6px;padding:6px;position:relative;z-index:2}@media screen and (max-width:760px){.tower-grid{background:transparent;border:none;padding:0}}.tower-grid__wrapper{position:relative;z-index:6}@media screen and (max-width:760px){.tower-grid__wrapper{width:100%}}.tower-grid__wrapper>img{display:block}.tower-grid__wrapper>img.dark{display:none}@media screen and (max-width:920px){.tower-grid__wrapper{margin-top:-40px;transform:scale(.9);transform-origin:center bottom}}@media screen and (max-width:860px){.tower-grid__wrapper{margin-top:-100px;transform:scale(.8);transform-origin:center bottom}}@media screen and (max-width:760px){.tower-grid__wrapper{margin-top:0;transform:none}}.tower-grid__inner{display:flex}.tower-grid__inner img{pointer-events:none}@media screen and (max-width:760px){.tower-grid__inner{width:100%}}.tower-grid__inner>img{display:block}.tower-grid__inner>img.dark{display:none}.tower-grid__row{display:flex;gap:6px}.tower-grid__row.disabled,.tower-grid__row.disabled *{pointer-events:none!important;transition:none!important}.tower-grid__col button{height:100%;width:100%}.tower-grid__col.rate{flex-shrink:0;height:36px;margin-right:4px;width:74px}@media screen and (max-width:760px){.tower-grid__col.rate{height:34px;margin-right:2px;width:54px}}.tower-grid__col.col{width:80px}@media screen and (max-width:760px){.tower-grid__col.col{width:100%}}.tower-grid__rate{align-items:center;background:#535574;border-radius:var(--b-radius);color:#fff;display:flex;font-size:11px;font-weight:600;height:100%;justify-content:center}@media screen and (max-width:760px){.tower-grid__rate{font-size:10px;font-weight:700}}.tower-grid__rate.disabled{background:#3b3e5a;color:#fff}.tower-grid__rate.active{background:linear-gradient(90deg,#f4a202,#fac257)!important;color:#2c3034!important}html.theme__dark .tower-grid{background:#373c49;border:1px solid #575d69}@media screen and (max-width:760px){html.theme__dark .tower-grid{background:transparent;border:none}}html.theme__dark .tower-grid__rate{background:#424b5b}html.theme__dark .tower-grid__rate.disabled{background:#2b303d}html.theme__dark .tower-grid__inner>img,html.theme__dark .tower-grid__wrapper>img{display:none}html.theme__dark .tower-grid__inner img+img.dark,html.theme__dark .tower-grid__wrapper img+img.dark{display:block}@media screen and (max-width:760px){.tower-grid__inner>img,.tower-grid__wrapper>img{display:none!important}}
