html {
    background : url(/template/design/cold/bodyBg.jpg) 50% 0 no-repeat fixed #000;
}

@font-face {
    font-family: 'SagtaBold';
    src: url('/template/design/cold/font/SagtaBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
	 width : 350px;
	 margin : 0 auto;
	 font-size : 14px;
	 padding-bottom : 10px;
	 color : #a4b3bf;
	 font-family: 'SagtaBold', Revie, Arial, sans-serif;
	 font-style : normal;
	 font-weight : 400;
	 overflow-wrap : break-word;
}

/* Ссылки (Интерфейс и навигация) */
a, a:link, a:visited {
    color: #a4b3bf; /* Благородное WAP-золото для кликабельных элементов */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:active {
    color: #a4b3bf; /* Яркое золото при нажатии/наведении */
}

/* Добавлено height: auto для корректного сжатия картинок без искажения пропорций */
img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
    width: 100%;
    border-collapse: collapse;
}



/*---------- HEAD ----------*/
.WRUSH-userPanel-bg {
    width: 350px;
    height: 56px;
    margin: 0 auto;
    position: relative;
    color: #a4b3bf;
    background-image: url(/template/design/cold/head/userPanel-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.WRUSH-userPanel-lvl {
    width: 39px;
    height: 40px;
    top: 8px;
    position: absolute;
    left: 18px;
    background-image: url(/template/design/cold/head/userPanel-lvlBg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.WRUSH-userPanel-lvlValue {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: #a4b3bf;
}

.WRUSH-cell-bgLeft, .WRUSH-cell-bgRight {
    width: 8px;
    position: absolute;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: contain;
}

.WRUSH-cell-bgLeft {
    left: 0;
    background-image: url(/template/design/cold/head/cellBgLeft.png?v=2);
}

.WRUSH-cell-bgMiddle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    right: 8px;
    background-image: url(/template/design/cold/head/cellBgMiddle.png);
    background-repeat: repeat-x;
    background-size: contain;
}

.WRUSH-cell-bgRight {
    right: 0;
    background-image: url(/template/design/cold/head/cellBgRight.png);
}

.WRUSH-userPanel-mailBg {
    width: 42px;
    height: 42px;
    position: absolute;
    right: 20px;
    top: 4px;
    background-image: url(/template/design/cold/head/userPanel-mailBg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.WRUSH-userPanel-mailIcon {
    width: 30px;
    height: 30px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.WRUSH-iconPanel {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 268px;
    top: -4px;
    background-image: url(/template/design/cold/head/envelope.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.WRUSH-iconPanelnew {
	 width : 30px;
	 height : 30px;
	 position : absolute;
	 left : 268px;
	 top : -4px;
	 background-image : url(/template/design/cold/head/envelopenew.png);
	 background-size : contain;
	 background-repeat : no-repeat;
}

.WRUSH-exp_bar {
    width: 85.5%;
    height: 4px;
    position: relative;
    left: 27px;
    top: 54px;
    border-radius: 1px;
    background: #10161a;
    box-sizing: border-box;
}

.WRUSH-exp_progress {
	max-width: 100%;
    height: 4px;
    border-radius: 1px;
    background: #49acfc;
    background: linear-gradient(to bottom, #49acfc 0, #3092e3 25%, #004985 100%);
    box-sizing: border-box;
    margin-top: 0;
}

.WRUSH-userPanel-unreadBadge {
    width: 14px;
    height: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
    line-height: 14px;
    position: absolute;
    right: -5px;
    top: -2px;
    font-size: 12px;
    text-align: center;
    background-color: #d21100;
    color: #ffe5cf
}
/*--------------------------*/



/*---------- HEAD MONEY ----------*/
.WRUSH-cntr {
    text-align: center;
}

.WRUSH-money-cell-now {
    display: inline-block;
    margin: 5px;
    text-align: center;
}

.WRUSH-money-cell-now .WRUSH-money-left {
    display: inline-block;
    width: 8px;
    height: 25px;
    background-image: url(/template/design/cold/head/cellBgLeft.png?v=2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    vertical-align: middle;
}

.WRUSH-money-cell-now .WRUSH-money-right {
    display: inline-block;
    width: 8px;
    height: 25px;
    background-image: url(/template/design/cold/head/cellBgRight.png?v=2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    vertical-align: middle;
}

.WRUSH-money-cell-now .WRUSH-money-middle {
    padding: 0 5px;
    display: inline-block;
	height: 25px;
	line-height: 25px;
    min-width: 70px;
    background-image: url(/template/design/cold/head/cellBgMiddle.png);
    background-repeat: repeat-x;
    background-size: 100% 100%;
    vertical-align: middle;
}
/*--------------------------------*/



/*---------- INFO MINI ----------*/
.WRUSH-info-b-notice {
display: block;
position: fixed;
top: 0px;
padding-top: 10px;
width: 350px;
-webkit-animation: noticeShow 4s linear forwards;
animation: noticeShow 4s linear forwards;
z-index: 10000;
text-align: center;
background: linear-gradient(to bottom, rgb(0 0 0 / 98%) 50%, rgba(0, 0, 0, 0) 110%);
}

@media screen and (max-width: 480px) {
.WRUSH-info-b-notice {
left: 0;
width: 100%;
margin: 0;
}
}

@-webkit-keyframes noticeShow {
from {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}10%, 75% {
opacity: 1;
-webkit-transform: translateY(0px);
transform: translateY(0px);
}99% {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
to {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
}

@keyframes noticeShow {
from {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}10%, 75% {
opacity: 1;
-webkit-transform: translateY(0px);
transform: translateY(0px);
}99% {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
to {
opacity: 0;
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
}
/*-------------------------------*/



/*---------- INFORMATION ----------*/
.WRUSH-info-lightbox-curtain {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 85%);
    z-index: 99999; /* ИСПРАВЛЕНИЕ: подняли слой, чтобы шторка перекрывала всё старое содержимое сайта */
    /* ФИКСАЦИЯ: запрещаем прокрутку и свайпы заднего фона */
    overscroll-behavior: none;
    touch-action: none;
}

.WRUSH-info-lightbox-box-parent-container {
    position: relative;
    max-width: 100%;
}

.WRUSH-info-lightbox-box {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 300px;
    position: fixed; 
    z-index: 100000; /* ИСПРАВЛЕНИЕ: окно должно быть строго выше шторки (99999) */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

.WRUSH-info-lightbox-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 85%)
}

.WRUSH-info-lightbox-bgLeftBottom,.WRUSH-info-lightbox-bgLeftTop,.WRUSH-info-lightbox-bgRightBottom,.WRUSH-info-lightbox-bgRightTop {
    width: 8px;
    height: 8px;
    position: absolute;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat
}

.WRUSH-info-lightbox-bgLeftTop {
    top: 0;
    left: 0;
    background-image: url(/template/design/cold/info/bgLeftTop.png)
}

.WRUSH-info-lightbox-bgRightTop {
    top: 0;
    right: 0;
    background-image: url(/template/design/cold/info/bgRightTop.png)
}

.WRUSH-info-lightbox-bgRightBottom {
    bottom: 0;
    right: 0;
    background-image: url(/template/design/cold/info/bgRightBottom.png)
}

.WRUSH-info-lightbox-bgLeftBottom {
    bottom: 0;
    left: 0;
    background-image: url(/template/design/cold/info/bgLeftBottom.png)
}

.WRUSH-info-lightbox-bgMiddleBottom,.WRUSH-info-lightbox-bgMiddleTop {
    height: 8px;
    position: absolute;
    left: 8px;
    right: 8px;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: repeat-x
}

.WRUSH-info-lightbox-bgMiddleTop {
    top: 0;
    background-image: url(/template/design/cold/info/bgMiddleTop.png)
}

.WRUSH-info-lightbox-bgMiddleBottom {
    bottom: 0;
    background-image: url(/template/design/cold/info/bgMiddleBottom.png)
}

.WRUSH-info-lightbox-bgLeftMiddle,.WRUSH-info-lightbox-bgRightMiddle {
    width: 8px;
    position: absolute;
    top: 8px;
    bottom: 8px;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat
}

.WRUSH-info-lightbox-bgLeftMiddle {
    left: 0;
    background-image: url(/template/design/cold/info/bgLeftMiddle.png)
}

.WRUSH-info-lightbox-bgRightMiddle {
    right: 0;
    background-image: url(/template/design/cold/info/bgRightMiddle.png)
}

.WRUSH-info-lightbox-fg {
    position: relative;
}

.WRUSH-info-lightbox-cross {
    width: 14px;
    height: 14px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-image: url(/template/design/cold/info/cross.png);
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain
}

.WRUSH-info-lightbox-crossClickZone {
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    cursor: pointer
}

.WRUSH-info-lightbox-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 160px;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.WRUSH-info-rewardNotification {
    text-align: center
}

.WRUSH-info-rewardNotification-title {
    margin-bottom: 5px;
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
    color: #ffe977;
    text-shadow: 0 0 5px rgba(255,243,185,.67)
}

.WRUSH-info-rewardNotification-text a {
    color: #f3e7b9
}

.WRUSH-info-rewardNotification-text {
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
    color: #f3e7b9
}

.WRUSH-info-battleResultResources-value-Text {
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
}
/*---------------------------------*/



/*---------- HOME ----------*/
.WRUSH-campaign {
    background: url(/template/design/cold/home/campaign.jpg) top no-repeat;
    background-size: contain;
    padding-top: 10px;
    width: 100%;
}

.WRUSH-section-menu {
    width: 350px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.WRUSH-sectionIcon-menu {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    background: url(/template/design/cold/home/sectionIcon-frame.png) no-repeat;
    background-size: 100px 100px;
    background-position: 50% 50%;
    margin: 5px;
}

.WRUSH-sectionIcon {
    position: absolute;
    width: 70px;
    height: 70px;
    left: 50%;
    top: -1px;
    transform: translate(-50%);
}

.WRUSH-sectionIcon-text {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translate(-50%);
    font-size: 14px;
    color: #a4b3bf;
}

.WRUSH-sectionIcon-value {
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    position: absolute;
    top: 15px;
    right: 15px;
    text-align: center;
    background-color: #cc2400;
    border-radius: 20px;
    color: #fdfebd;
    box-shadow: 2px -1px 7px 0 rgb(102 0 0 / 69%) inset, -1px 0 2px 0 rgb(0 0 0 / 52%);
    text-shadow: 0 1px 1px rgb(86 0 0 / 57%);
    font-size: 90%;
}

.WRUSH-sectionArena {
    background: url(/template/design/cold/home/arena.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionCompany {
	 top: 15px;
	 background-size : 100% 100%;
}

.WRUSH-sectionBosses {
    background: url(/template/design/cold/home/bosses.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionColiseum {
    background: url(/template/design/cold/home/coliseum.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionLabyrinth {
    background: url(/template/design/cold/home/labyrinth.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionInvasion {
    background: url(/template/design/cold/home/invasion.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionAssignments {
    background: url(/template/design/cold/home/assignments.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionCompaign {
    background: url(/template/design/cold/home/compaign.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionMine {
    background: url(/template/design/cold/home/mine.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionPodzem {
    background: url(/template/design/cold/home/podzem.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionShop {
    background: url(/template/design/cold/home/shop.png) no-repeat;
    background-size: 100% 100%;
}

.WRUSH-sectionClans {
    background: url(/template/design/cold/home/clans.png) no-repeat;
    background-size: 100% 100%;
}
/*--------------------------*/



/*---------- FOOT ----------*/
.hr {
    margin: 10px 5px;
}

.hr .hr_end {
    background-position: 100% -1px;
}

.hr, .hr .hr_end {
    font-size: 0px;
    height: 1px;
    background-image: url(/template/design/cold/foot/bg-hr.png);
    background-repeat: no-repeat;
}

.WRUSH-index {
	width:77px;
	height:79px;
	background:url(/template/design/cold/foot/main_icon.png);
	background-size:cover;
}

.WRUSH-user {
	width:77px;
	height:79px;
	background:url(/template/design/cold/foot/user_icon.png);
	background-size:cover;
}

.WRUSH-clan {
	width:77px;
	height:79px;
	background:url(/template/design/cold/foot/clan_icon.png);
	background-size:cover;
}
/*--------------------------*/



/*---------- USER ----------*/
.WRUSH-head {
 	 width : 350px;
	 height : 0px;
	 margin : auto;
	 position : relative;
	 background : url(/template/design/cold/user/location-bg.png) top center no-repeat #000;
	 background-size : contain;
}

.WRUSH-b {
    color: #a4b3bf;
    display: table-cell;
    font-size: 14px;
    line-height: 30px;
}

.WRUSH-user_p {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/template/design/cold/user/0.jpg) no-repeat center;
    background-size: 100% 100%;
    width: 350px;
    height: 400px;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
}

.character, .gear {
position: relative;
}

.character {
z-index: 2; /* Персонаж по умолчанию сверху */
}

.gear {
z-index: 1; /* Снаряжение ниже персонажа */
}

.item-rabka-0 img {
	border: 1px solid #999999;
	border-radius: 3px;
}

.WRUSH-count_rune-new {
    height: 15px;
    width: 15px;
    position: absolute;
    margin-top: -40px;
    margin-left: 40px;
    color: #000000;
    text-shadow: 1px 1px 0 rgba(255, 221, 3, 0);
    text-align: center;
    font-size: 10px;
    line-height: 15px;
    border-radius: 9px;
    font-weight: bold;
}

.WRUSH-msg {
	background : linear-gradient(to bottom, #000 0, rgb(2 17 28) 70%, #000 100%);
	color:#a4b3bf;
    font-size:14px;
}

.WRUSH-msg .WRUSH-wr1 {
	background-image:url(/template/design/cold/user/wr0-blue.png);
	background-repeat:no-repeat;
	background-position:0 0;
}

.WRUSH-msg .WRUSH-wr2 {
	background-image:url(/template/design/cold/user/wr1-blue.png);
	background-repeat:no-repeat;
	background-position:100% 0;
}

.WRUSH-msg .WRUSH-wr3 {
	background-image:url(/template/design/cold/user/wr2-blue.png);
	background-repeat:no-repeat;
	background-position:100% 100%;
}

.WRUSH-msg .WRUSH-wr4 {
	padding:10px;
	background-image:url(/template/design/cold/user/wr3-blue.png);
	background-repeat:no-repeat;
	background-position:0 100%;
}

.WRUSH-knopka-bbtn {
	height:32px;
	margin-bottom:2px;
	background-color:#183543;
	background-image:url(/template/design/cold/user/bg-bbtn.png);
	background-repeat:repeat-x;
}

.WRUSH-knopka-bbtn .WRUSH-knopka-lf,.WRUSH-knopka-bbtn .WRUSH-knopka-rt {
	height:32px;
	display:block;
	background-image:url(/template/design/cold/user/bg-bbtn-lr.png);
	background-repeat:no-repeat;
	background-position:100% -32px;
}

.WRUSH-knopka-bbtn .WRUSH-knopka-lf {
	text-decoration:none !important;
	background-position:0 0;
}

.WRUSH-knopka-bbtn .WRUSH-knopka-lbl {
	display:block;
	height:24px;
	padding:7px 7px 0 10px;
	line-height:16px !important;
	color:#a4b3bf;
	font-size: 14px;
	white-space:nowrap;
	overflow:hidden;
	background-position:5px 0;
	background-repeat:no-repeat;
}

.WRUSH-knopka-bbtn .WRUSH-knopka-lbl img {
	position: relative;
	top: -5%;
}

.WRUSH-user-avatar {
    display: block;
    background: #131415 center/100% no-repeat;
    border: 2px solid #2c4f62;
    border-radius: 10%; /* Для полной окружности. Если нужны просто мягкие углы, замени на 12px */
    /* Магия здесь: обрезает картинку по контуру закругления */
    overflow: hidden; 
}

.WRUSH-mail-block {
  display: block;
  max-width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
/*--------------------------*/



/*---------- PAGES ----------*/
.WRUSH-pagen-wrapper.WRUSH-pagen-_pagination .WRUSH-pagen-btnp {
    padding: 5px 10px;
    margin: 0px 0px;
}

.WRUSH-pagen-p10 {
	padding: 5px;
}

a.WRUSH-pagen-btnp {
	text-decoration: none;
}

.WRUSH-pagen-btnp.WRUSH-pagen, .WRUSH-pagen-btnp.WRUSH-pagen-_dark {
    background-position: 100% 0, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, repeat-x;
}

.WRUSH-pagen-btnp.WRUSH-pagen {
    background-image: url("/template/design/cold/pages/bg_btn_blue_right.png"), url("/template/design/cold/pages/bg_btn_blue_left.png"), url("/template/design/cold/pages/bg_btn_blue.png");
}

.WRUSH-pagen-btnp.WRUSH-pagen-_dark {
    background-image: url("/template/design/cold/pages/bg_btn_dark_right.png"), url("/template/design/cold/pages/bg_btn_dark_left.png"), url("/template/design/cold/pages/bg_btn_dark.png");
}
/*---------------------------*/



/*---------- КНОПКИ КОТОРЫЕ ЕСТЬ В ИГРЕ ----------*/
/* Стилизация плейсхолдера (подсказки внутри поля), чтобы он тоже был черным/темным */
input::placeholder {
    color: #333333 !important;
    opacity: 0.7;
}

.WRUSH-button, a.WRUSH-button {
    /* Делаем кнопку резиновой под размер текста */
    display: inline-block;
    width: auto;
    /* Отступы: 6px сверху/снизу и 20px слева/справа (регулируют ширину) */
    padding: 5px 20px;
    margin: 0px auto;
    /* Выравнивание и шрифты строго по скрину */
    text-align: center;
    font-size: 14px;
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    color: #a4b3bf;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.8); /* Тень под текстом */
    text-decoration: none;
    /* Изумрудно-зеленый градиент как на скриншоте */
    background: linear-gradient(to bottom, #415665 0%, #415665 50%, #415665 100%);
    /* Скругление углов (на скрине углы почти прямые, ставим легкое скругление) */
    border-radius: 8px;
    /* Тройная рамка: темный контур, светлый блик сверху и тень снизу */
    border: 1px solid #050505;
    box-shadow: inset 0px 1px 0px rgb(65 86 101), 0px 1px 3px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    box-sizing: border-box;
}

.WRUSH-button:hover, a.WRUSH-button:hover {
    /* Эффект при наведении — кнопка становится чуть ярче */
    background: linear-gradient(to bottom, #415665 0%, #415665 50%, #415665 100%);
    filter: brightness(1.1);
}

.WRUSH-button:active, a.WRUSH-button:active {
    /* Эффект при нажатии — кнопка слегка утапливается */
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.WRUSH-inputs input,
.WRUSH-inputs select {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    border-radius: 12px !important; 
    padding: 6px !important;
    font-style: normal !important;
    font-family: 'SagtaBold', Revie, Arial, sans-serif !important;
    font-size: 14px !important;
    background-color: #8fa3b4 !important;
    text-align: center !important;
    border: 1px solid #788c9d !important;
    outline: none !important;
    color: #000000 !important;
    width: 65% !important;
    max-width: 250px !important;
    box-sizing: border-box !important;
    display: inline-block !important;
}
/*------------------------------------------------*/



/*---------- BATTLE ----------*/
.WRUSH-battle_bg {
background: url(/template/battle/battle_bgnew.png) no-repeat center center;
-webkit-background-size: cover;
background-size: cover;
border-radius: 4px;
width: 350px;
height: 260px;
margin: 0px 0px 0px 0px;
position: relative;
}

.WRUSH-battle_attack {
    position: relative;
}

.WRUSH-battle_attack img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -130%); /* Ð¡Ð¼ÐµÑ‰ÐµÐ½Ð¸Ðµ Ð½Ð° Ð¿Ð¾Ð»Ð¾Ð²Ð¸Ð½Ñƒ Ñ€Ð°Ð·Ð¼ÐµÑ€Ð° */
}

.WRUSH-battle_hit_anim {
    animation: hitPulse 0.4s ease-out forwards;
}

@keyframes hitPulse {
    0% { transform: scale(1); filter: brightness(1); }
    30% { transform: scale(1.12); filter: brightness(0.5) sepia(1) hue-rotate(-50deg) saturate(8); }
    100% { transform: scale(1); filter: brightness(1); }
}
/*----------------------------*/



/*---------- HP POLOSKA ----------*/
/* Серый контейнер-подложка для полосы HP ворот */
.WRUSH-new-prg-bar {
    width: 100%;
    max-width: 100%;
    height: 5px; /* Чуть увеличили высоту для лучшей видимости на мобильных */
    background: rgb(29, 40, 47);
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden; /* Чтобы закрашенная полоса не вылезала за края округления */
    margin: 0px 0; /* Небольшой отступ сверху и снизу */
}

/* Закрашенная часть полосы HP (прогресс) */
.WRUSH-new-prg-green {
    display: block;
    height: 100%; /* Занимает всю высоту родительского контейнера */
    background: linear-gradient(rgb(56, 227, 48) 0px, rgb(0, 191, 255) 25%, rgb(6, 133, 0) 100%);
    border-radius: 4px;
    transition: width 0.3s ease-in-out; /* Плавное уменьшение полосы при ударах */
}
/*--------------------------------*/



/*---------- КНОПКИ И ПОЛЯ ----------*/
textarea {
	display: block;
	max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
	padding: 10px;
	border: solid 1px #788c9d;
    border-radius: 5px;
	background-color: #8fa3b4;
	min-height: 54px;
	font-family: 'SagtaBold', Revie, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.2;
    margin: 0 0 5px 0;
}

input[id="WRUSH-smiley"] {
	background-color: #2f414f;
    color: #3980b5;
    margin: 1px;
    border: 1px solid #131313;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    height: 20px;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 3px;
	font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
}

input[id="WRUSH-send"] {
	background-color: #2f414f;
    color: #3980b5;
    margin: 1px;
    border: 1px solid #131313;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    height: 20px;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 3px;
	font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
}

a.WRUSH-choose {
	background-color: #2f414f;
    color: #3980b5;
    margin: 1px;
    border: 1px solid #131313;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    height: 16px;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 3px;
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
}
/*-----------------------------------*/



/*---------- ВЫВОД АВАТАРОВ В РЕЙТИНГЕ ----------*/
.WRUSH-top-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0px 0;
    background-color: #000000;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.top-avatar-circle {
    width: 64px; 
    height: 64px;
    border-radius: 50%;
    border: 2px solid #23313d; /* Все рамки теперь одинаковые, сине-серые */
    overflow: hidden;
    
    /* Оригинальный фон из профиля */
    background: url(/template/design/cold/user/0.jpg) no-repeat center -25px;
    background-size: 140px auto;
    -webkit-background-size: 140px auto;
    background-color: #050d12;
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.top-avatar-circle img.maneken-avatar {
    width: 140px; 
    height: auto;
    margin-top: -4px; /* Идеальное смещение для отображения головы */
    display: block;
    max-width: none;
    position: relative;
    z-index: 2;
}
/*-----------------------------------------------*/



/*---------- КНОПКИ ВЫБОРА ПОЛА ----------*/
/* Полностью скрываем уродливые стандартные радио-кружочки */
input[type="radio"].WRUSH-sex-radio {
    display: none !important;
}

/* Красивый WAP-стиль для кнопок выбора пола (в стиле кнопок вашей игры) */
label.WRUSH-sex-label {
    background-color: #2f414f;
    color: #3980b5;
    margin: 2px;
    border: 1px solid #131313;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    height: 24px;
    padding: 3px 12px 3px 12px;
    border-radius: 3px;
    font-family: 'SagtaBold', Revie, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Эффект при наведении (опционально) */
label.WRUSH-sex-label:hover {
    background-color: #395061;
    color: #499cdb;
}

/* МАГИЯ АКТИВНОГО СОСТОЯНИЯ: когда радио-кнопка выбрана, 
   связанный с ней label меняет цвет фона на более яркий (активный) */
input[type="radio"].WRUSH-sex-radio:checked + label.WRUSH-sex-label {
    background-color: #3980b5;
    color: #111e26;
    border-color: #499cdb;
    font-weight: bold;
}
/*----------------------------------------*/



/*---------- LOADING ----------*/
.WRUSH-loading {
	 height : 570px;
	 position : relative;
	 overflow : hidden;
	 background-color : #000;
}
 .WRUSH-loading .WRUSH-splash {
	 position : absolute;
	 top : 0;
	 bottom : 0;
	 left : -39px;
	 right : -39px;
	 background-position : 50% 0;
	 background-repeat : no-repeat;
	 background-size : 100%;
	 transform : translateZ(0);
	 animation-duration : 7s;
	 animation-iteration-count : infinite;
	 animation-timing-function : ease-in-out;
	 animation-direction : alternate;
}
 .WRUSH-loading .WRUSH-scr1 {
	 background-image : url("/template/design/cold/load/background.jpg");
	 animation-name : anim_scr1;
}
 .WRUSH-loading .WRUSH-scr2 {
	 background-image : url("/template/design/cold/load/fire_din.png");
	 animation-name : anim_scr2;
}
 .WRUSH-loading .WRUSH-scr3 {
	 background-image : url("/template/design/cold/load/characters_stat.png");
	 animation-name : anim_scr3;
}
 .WRUSH-loading .WRUSH-scr4 {
	 background-image : url("/template/design/cold/load/fx_din.png");
	 animation-name : anim_scr4;
}
 .WRUSH-loading .WRUSH-scr5 {
	 background-image : url("/template/design/cold/load/front_din.png");
	 animation-name : anim_scr5;
}
 .WRUSH-loading .WRUSH-scr6 {
	 width : 220px;
	 height : 66px;
	 margin : 440px auto;
	 background-image : url("/template/design/cold/load/start.png");
	 cursor : pointer;
	 animation-name : anim_scr3;
}
 @keyframes anim_scr1 {
	 from {
		 transform : translateX(-22px);
	}
	 to {
		 transform : translateX(22px);
	}
}
 @keyframes anim_scr5 {
	 from {
		 transform : translateX(22px);
	}
	 to {
		 transform : translateX(-22px);
	}
}
 @keyframes anim_scr2 {
	 from {
		 transform : translateX(-12px);
	}
	 to {
		 transform : translateX(12px);
	}
}
 @keyframes anim_scr4 {
	 from {
		 transform : translateX(8px);
	}
	 to {
		 transform : translateX(-8px);
	}
}
 @keyframes anim_scr3 {
	 from {
		 transform : translateX(3px) translateY(1px);
	}
	 to {
		 transform : translateX(-3px) translateY(-1px);
	}
}

.WRUSH-loading .WRUSH-loginButton {
	 width : 98px;
	 margin : 515px auto 0;
	 position : relative;
	 text-transform : uppercase;
	 font-family: 'SagtaBold', Revie, Arial, sans-serif;
	 text-align : center;
	 font-size : 14px;
	 color : #b1f0ff;
	 transition : opacity 0.3s ease-out;
	 transition-delay : 0.2s;
	 cursor : pointer;
}

.WRUSH-login-form {
    margin : 260px auto 0;
	position: relative; /* Обязательно для работы z-index */
    z-index: 10; /* Высокий приоритет, перекроет картинку */
}

.WRUSH-my-rectangle {
  padding: 10px;
  border-radius: 8px;
  width: 280px;
  height: 140px;
  background-color: rgb(0 0 0 / 85%); /* Синий фон, полупрозрачный (50%) */
}
/*-----------------------------*/



/*---------- Шапка и навигация ----------*/
/* Информационная панель (светло-синий/стальной фон) */
.WRUSH-mine-bar-info { 
    background: #0d2331; 
    padding: 8px 10px; 
    font-size: 13px; 
    font-weight: bold; 
    color: #a4b3bf; 
    border-bottom: 1px solid #2c4f62; 
}

/* Скругленная плашка энергии под стиль интерфейса */
.WRUSH-energy-pill { 
    background: #091a24; 
    border: 1px solid #2c4f62; 
    padding: 3px 10px; 
    border-radius: 12px; 
    color: #a4b3bf; 
    display: inline-block; 
    font-weight: bold; 
    font-size: 13px; 
    vertical-align: middle; 
}
.WRUSH-timer-pill { 
    color: #a4b3bf; 
    font-size: 13px; 
    display: inline-block; 
    margin-left: 8px; 
    vertical-align: middle; 
    font-weight: normal; 
}

/* Игровое поле Шахты 4х8 — увеличиваем внутренние отступы самой таблицы */
.WRUSH-mine-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 5px; /* ИЗМЕНЕНИЕ: Увеличили отступ между клетками до 4px */
    background: #050d14; 
    padding: 0px; /* ИЗМЕНЕНИЕ: Сделали рамку вокруг сетки чуть просторнее */
    border: 1px solid #1c3644; 
    margin-top: 5px; 
}
.WRUSH-mine-td { 
    width: 12.5%; 
    padding: 0; 
    margin: 0; 
}
.WRUSH-mine-cell { 
    display: block; 
    width: 100%; 
    aspect-ratio: 1; 
    text-align: center; 
    text-decoration: none; 
    border-radius: 1px; 
    line-height: 2.2; 
}

/* Текстуры и туман войны в сине-стальных тонах */
.WRUSH-cell-hidden { 
    background: #112533; 
    border: 1px solid #2c4f62; 
    box-shadow: inset 0 0 5px #1a3a4f; 
}
.WRUSH-cell-hidden:hover { 
    background: #173245; 
}
/* Дополнительно: пустая открытая ячейка (без ресурсов) тоже должна быть темной */
.WRUSH-cell-empty { 
    background: #040a0f; 
    border: 1px solid #10222e; 
}
/* ИЗМЕНЕНИЕ: Сделали фон открытой ячейки с рудой намного темнее породы */
.WRUSH-cell-ore { 
    background: #09131a; /* Было #142a3a, стало глубоким темно-синим */
    border: 1px solid #1c3644; 
}
/* ИЗМЕНЕНИЕ: Сделали фон открытой золотой жилы темнее, чтобы алмаз/золото горели ярче */
.WRUSH-cell-gold { 
    background: #1a1a0c; /* Было #24351a, убавили яркость фона */
    border: 1px solid #847f39; /* Сделали зеленую рамку более строгой */
}

/* Панель выбора инструментов внизу */
.WRUSH-tools-menu-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 5px; 
    background: #0a1b26; 
    text-align: center; 
    font-size: 12px; 
    border-top: 1px solid #1c3644; 
}
.WRUSH-tool-tab { 
    padding: 8px 2px; 
    border: 1px solid #1c3644; 
    width: 100%; 
    color: #a4b3bf; 
    text-decoration: none; 
    display: block; 
    box-sizing: border-box; 
}
.WRUSH-tool-tab.active { 
    background: #0d2331; 
    color: #a4b3bf; 
    box-shadow: inset 0 3px 0 #00ccff; 
}
.WRUSH-tool-title { 
    font-weight: bold; 
    display: block; 
    margin-top: 3px; 
}
.WRUSH-green-btn { 
    display: flex;                      /* ИЗМЕНЕНИЕ: Включили флексбокс */
    align-items: center;                /* ИЗМЕНЕНИЕ: Выровняли картинку и текст строго по центру */
    justify-content: center;            /* ИЗМЕНЕНИЕ: Отцентровали содержимое по горизонтали */
    gap: 4px;                           /* ИЗМЕНЕНИЕ: Сделали аккуратный отступ между иконкой и цифрой цены */
    background: linear-gradient(to bottom, #1d424a, #142435); 
    color: #008d98; 
    text-decoration: none; 
    padding: 4px 0; 
    font-weight: bold; 
    border-radius: 2px; 
    margin: 5px 8px 0 8px; 
    border: 1px solid #007896; 
}
.WRUSH-green-btn img {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}
.WRUSH-disabled-label { 
    display: block; 
    color: #a4b3bf; 
    font-style: italic; 
    margin-top: 5px; 
}
/*---------------------------------------*/



/*---------- ТЕКСТ АКЦИЙ ----------*/
.WRUSH-pulse-text {
    display: inline-block;
    color: #33c1ff; /* Огненно-красный праздничный цвет */
    font-weight: bold;
    animation: WRUSH_pulse 2s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes WRUSH_pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 1px rgba(255, 51, 51, 0));
    }
    50% {
        transform: scale(1.04); /* Мягкое увеличение на 4% */
        opacity: 1;            /* Максимальная яркость */
        filter: drop-shadow(0 0 4px rgb(51 230 255 / 60%)); /* Легкое неоновое свечение */
    }
    100% {
        transform: scale(1);
        opacity: 0.85;
        filter: drop-shadow(0 0 1px rgba(255, 51, 51, 0));
    }
}

.WRUSH-pulse-textDonate {
color:#35a5d8;
font-weight:bold;
font-size:14px;
display:block;
animation: blink 1.5s infinite alternate;
}

.WRUSH-pulse-textActionTimeLeft {
color:#7ab8eb;
font-size:12px;
display:block;
margin-top:4px;
}

@keyframes blink {
    from {
        opacity: 0.8;
    } to {
        opacity: 1;
        filter: drop-shadow(0 0 4px #00ecff);
    }
}

.WRUSH-donates-donate-row {
    padding: 8px 10px;
    margin-bottom: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d1313;
    border: 1px solid #2c4f62;
}

.WRUSH-donates-donate-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.WRUSH-donates-donate-img {
    background: #1a2126;
    border: 1px solid #25383c;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.WRUSH-donates-donate-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.WRUSH-donates-donate-name {
    font-weight: bold;
    color: #a4b3bf;
    font-size: 14px;
}

.WRUSH-donates-donate-gold {
    color: #ebd033;
    font-size: 13px;
    font-weight: bold;
}

.WRUSH-donates-donate-bonus {
    color: #5cb85c;
    font-size: 11px;
    font-weight: bold;
}

.WRUSH-donates-donate-old-gold {
    color: #959595;
    text-decoration: line-through;
    font-size: 11px;
    margin-right: 5px;
    font-weight: normal;
}

.WRUSH-donates-donate-btn {
    background: #233f4e;
    border: 1px solid #25383c;
    color: #a4b3bf;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}

.WRUSH-donates-donate-price {
    display: block;
    font-size: 10px;
    color: #9fabbf;
    text-align: center;
    margin-top: 3px;
}
/*---------------------------------*/



/*---------- ЛАБИРИНТ ----------*/
.right {
    text-align: right;
}

.center { 
    text-align: center; 
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.ico_small {
    display: block;
    width: 70px;
    height: 70px;
    background-image: url(/template/maze/camp/ico.png);
    background-repeat: no-repeat;
    background-size: 100%;
    text-align: center;
    padding: 7px 0 0 0;
    box-sizing: border-box;
}

.p_re { 
    position: relative; 
}

.p_ab { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: block;
}

.maze {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px; 
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
    box-sizing: border-box;
}

.maze > a, 
.maze > span, 
.maze > img, 
.block_s {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1; 
    box-sizing: border-box;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.maze img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp_proc_block_s { 
    border-top: 1px #979898 solid; 
    border-bottom: 1px #979898 solid; 
    background: #696969; 
    padding: 1px 0; 
}

.hp_proc_block { 
    display: block; 
    height: 8px; 
    background: #000000; 
    padding: 1px 0 0px 0; 
}

.hp_proc_block2 { 
    height: 8px; 
    background: #89C14A; 
    position: relative;
    background: -webkit-linear-gradient(top, #89C14A, #678E37);
    background: linear-gradient(to bottom, #89C14A, #678E37); 
    transition: width .3s ease;
}

.hp_proc_block_small { 
    width: 40%; 
    height: 4px; 
    background: #000000; 
    margin: 0 auto; 
    box-shadow: 0px 0px 1px 0px #000000; 
}

.hp_proc_block2_small { 
    height: 4px; 
    background: #89C14A;
    background: -webkit-linear-gradient(top, #89C14A, #678E37);
    background: linear-gradient(to bottom, #89C14A, #678E37); 
    box-shadow: 0px 0px 1px 0px #89C14A; 
    transition: width .3s ease;
}

.text_boi_vrag { 
    position: absolute; 
    top: 0px; 
    right: 0px; 
    left: 0px; 
    display: block; 
    background: rgba(0, 0, 0, 0.4); 
    z-index: 3;
}

.text_boi_user { 
    position: absolute; 
    bottom: 0px; 
    left: 0px; 
    right: 0px; 
    display: block; 
    background: rgba(0, 0, 0, 0.4); 
    z-index: 3;
}

.boi_name_vrag { 
    color: #C94E4E; 
    font-size: 13px; 
    font-weight: bold; 
    margin: 7px 0 5px 0; 
}

.boi_name_user { 
    color: #89C34A; 
    font-size: 13px; 
    font-weight: bold; 
    margin: 12px 0 5px 0; 
}

.text_boi_stats { 
    color: #a4b3bf; 
    font-weight: bold; 
    font-size: 13px; 
    margin: 0 1px; 
}

.hp_del2 { 
    position: absolute; 
    top: 30%; 
    color: #DB1A1A; 
    font-size: 26px; 
    font-weight: bold; 
    display: none;
    left: 40%; 
    z-index: 5; 
    text-shadow: 1px 1px 2px #000;
}

.hp_isc { 
    position: absolute; 
    top: 30%; 
    color: #16BC00; 
    font-size: 26px; 
    font-weight: bold; 
    display: none; 
    left: 40%; 
    z-index: 5; 
    text-shadow: 1px 1px 2px #000;
}

.hp_del2.animate,
.hp_isc.animate { 
    display: block; 
    animation: rotate_hit 1.2s ease-out forwards; 
    -webkit-animation: rotate_hit 1.2s ease-out forwards; 
}

@-webkit-keyframes rotate_hit { 
    0% { opacity: 1; -webkit-transform: translateY(0px) scale(1); } 
    100% { opacity: 0; -webkit-transform: translateY(-90px) scale(1.4); } 
}
@keyframes rotate_hit { 
    0% { opacity: 1; transform: translateY(0px) scale(1); } 
    100% { opacity: 0; transform: translateY(-90px) scale(1.4); } 
}

.WRUSH-new-prg-bar-newnews {
    width: 100%;
    max-width: 100%;
    height: 5px;
    background: rgb(29, 40, 47);
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0px 0;
}

.WRUSH-new-prg-green-newnewsnew {
    display: block;
    height: 100%;
    background: linear-gradient(rgb(56, 227, 48) 0px, rgb(0, 191, 255) 25%, rgb(6, 133, 0) 100%);
    border-radius: 4px;
    transition: width 0.3s ease-in-out;
}

.WRUSH-new-prg-bar-small-newjs {
    width: 40%;
    height: 4px;
    background: rgb(29, 40, 47);
    border-radius: 2px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;
}
/*---------------------------------*/