body {background: #181818;margin: auto;max-width: 500px;color: #767676;/* text-shadow: 0 3px 1px #000000; */
}
body, table, input, textarea, select {
 font-family: "Segoe UI", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size:16px;
 /* box-shadow: 0 2px 2px rgb(25 25 25 / 65%); */
}
.head{background: #1d1b1b;border: 1px solid #202125;/* border-image: url("/style/images/body/ramka_head.png") 1; */}
.panel_head{
  position: relative;
  float: right;
  color: #c1b84f;
  padding: 5px;
}
.location_head{
  padding: 5px;
  font-weight: bold;
  color: #a76b1c;
  text-shadow: 0px 0px 3px black;
}
.body_list{background-color: #232429;}
.body_sel{
  display: inline-block;
  background: #378738 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#378738),color-stop(50%,#2a692a));
    background: #378738 linear-gradient(#2a522a 50%,#2a692a 50%);
    border: 2px solid;
    border-color: #3c963d #3c963d #1f4d1f #1f4d1f;padding: 3px;
  margin: 1px;
  border-radius: 3px;
  border: 1px solid #1f1f1f;
  color: #767676;
  text-shadow: 0px 0px 3px #7d0772;
}
.page{
	background-color: #1e1e1e;
	font-weight: bold;
	/* padding: 15px 9px; */
	border-radius: 3px;
	text-shadow: 0 1px 0 #000000;
	/* box-shadow: 0 2px 5px 0 #000000; */
	color: #666666;
	text-shadow: 0px 0px 3px #290000;
	/* background-image: url(/style/pics/li-lightl.png); */
	}
a{
  color: #888787;
  text-decoration: none;
}
a:hover{
  cursor: pointer;
}

.input_form,select {
  width: 95%;
  max-width: 500px;
  border-radius: 6px;
  border: 1px solid #00000052;
  background-color: #2c2c2c;
  color: #767676;
  margin: 3px 0 2px;
  padding: 6px 2px 7px;
  padding-left: 5px;
  font-size: 14px;
  font-style:normal;
  font-weight: normal;
  text-decoration: none;
  outline: none;
 }
 ::-webkit-input-placeholder {
  text-align:center;
}
:-moz-placeholder { /* Firefox 18- */
  text-align:center;  
}
::-moz-placeholder {  /* Firefox 19+ */
  text-align:center;  
}
:-ms-input-placeholder {  
  text-align:center; 
}
.weapon_button{
  display: block;
}
.button_red_a{
  display: block;
   background: #873737 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#873737),color-stop(50%,#692a2a));
    background: #873737 linear-gradient(#522a2a 50%,#692a2a 50%);
    border: 2px solid;
    border-color: #963c3c #963c3c #4d1f1f #4d1f1f;
	padding: 4px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #767676;
  font-weight: bold;
  border: 1px solid #1f1f1f;
  border-radius: 5px;
  outline: none;
  max-width: 100%;
}
.button_red_i{
  display: block;
      background: #873737 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#873737),color-stop(50%,#692a2a));
    background: #873737 linear-gradient(#522a2a 50%,#692a2a 50%);
    border: 2px solid;
    border-color: #963c3c #963c3c #4d1f1f #4d1f1f;padding: 4px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #767676;
  font-weight: bold;
  border: 1px solid #1f1f1f;
  border-radius: 5px;
  outline: none;
  /* width: 98%; */
}
.button_green_a{
  display: block;
  background: #378738 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#378738),color-stop(50%,#2a692a));
    background: #378738 linear-gradient(#2a522a 50%,#2a692a 50%);
    border: 2px solid;
    border-color: #3c963d #3c963d #1f4d1f #1f4d1f;
	padding: 4px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #767676;
  font-weight: bold;
  border: 1px solid #1f1f1f;
  border-radius: 5px;
  outline: none;
  max-width: 100%;
}
.button_green_i{
  display: block;
   background: #378738 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#378738),color-stop(50%,#2a692a));
    background: #378738 linear-gradient(#2a522a 50%,#2a692a 50%);
    border: 2px solid;
    border-color: #3c963d #3c963d #1f4d1f #1f4d1f;
	padding: 4px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #767676;
  font-weight: bold;
  border: 1px solid #1f1f1f;
  border-radius: 5px;
  outline: none;
  /* width: 98%; */
}
.button_i_mini{
  display: block;
   background: #378738 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#378738),color-stop(50%,#2a692a));
    background: #378738 linear-gradient(#2a522a 50%,#2a692a 50%);
    border: 2px solid;
    border-color: #3c963d #3c963d #1f4d1f #1f4d1f;
	padding: 4px;
  margin-left: 8px;
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #767676;
  font-weight: bold;
  border: 1px solid #1f1f1f;
  border-radius: 5px;
  outline: none;
  width: 50%;
}
.img{
  display: block;
  margin: 0 auto;
  width: 100%;
}
.text_logo{
  display: block;
  max-width: 500px;
  height: 35px;
  margin: 0 auto;
  padding-top: 8px;
}
.text_padd{
  color: #767676;
  padding-left: 8px;  
}
.menulist a {
display: block;
    padding: 6px;
    color: #767676;
    vertical-align: middle;
    background: #202022 4px center/48px no-repeat;
    border: 1px solid;
    border-color: #292931 #111 #111 #292931;
    text-decoration: none;
}
.menulist li {
  color: #767676;
  list-style:none;
  margin:0;
}
.menulist li:hover {
  cursor: pointer;
  background-color: #3d3d3d;
}
.menulist li.original:hover {
  cursor: pointer;
  background-color:transparent;
}
.menulist li:last-child {
  border:0;
}

.info_list{
  padding: 5px;
  color: #c09966;
	background-color: #1b1b1d;
  font-size: 13px;
}
.svg_list{
  padding: 5px;
  /* color: #ecbc7d; */
  text-shadow: 0px 0px 3px #0005ff36;
}
.svg_list_m{
  padding: 5px;
  color: #bfbfbf;
}

.menulitl a {
  list-style: none;
  color: #ecbc7d;
  text-decoration:none;
  display:block;
  padding-left: 3px;
  padding-right: 2px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.menulitl li {
display: block;
    padding: 6px;
    color: #767676;
    vertical-align: middle;
    background: #202022 4px center/48px no-repeat;
    border: 1px solid;
    border-color: #292931 #111 #111 #292931;
    text-decoration: none;
}
.menulitl li:hover {
  cursor: pointer;
  background-color: #3d3d3d;
}
.menulitl_img{
  border: 1px solid #202125;
  border-image: url("/style/images/body/ramka_users.png") 1;
  position:relative;
  margin: 3px;
}
.menulitl_img_no{
  position:relative;
  margin: 4px;
}
.menulitl_block{
  position: relative;
  min-height: 33px;
  padding-left: 40px;
  margin-top: -39px;
  color: #a99b9b;
  /* text-shadow: 0px 0px 3px #0011ff; */
}
.menubig_block{
  position: relative;
  min-height: 55px;
  padding-left: 60px;
  margin-top: -59px;
  /* color: #d1d1d1; */
  text-shadow: 0px 0px 3px black;
}
.menulitl_name{
  font-weight: bold;
}
.menulitl_param{
  font-size:13px;
  color: #aba670;
}

.foot{
  padding-top: 5px;
  margin-bottom: 5px;
  color: #888787;
  text-align: center;
  text-shadow: 0px 0px 3px black;
}
.color_foot{
  color: #c18940;
}
.user_foot{
  min-height: 50px;
  padding: 3px;
  color: #b2b2b2;
  text-align: left;
  text-shadow: 0px 0px 3px black;
}
.user_nick{
  font-weight: bold;
  color: #c2965c;
}
.user_foot_p{
  position: relative;
  padding-left: 55px;
  margin-top: -54px;
}
.event{
  text-align: center;
  padding: 3px;
  color: #e16e07;
}
.save{
  color: #7412b9;
  text-decoration: none;
  border-bottom: 1px solid #7412b9;
}
.save:hover, .save:active{
  color: #6810a6;
  border-bottom: 1px solid #6810a6;
}

.weapon{
  display: block;
  min-height: 52px;
}
.img_weapon{
  position:absolute;
  padding-left: 4px;
  padding-top: 2px;
	width: 50px;
    height: 50px;
}
.img_height{
  min-height: 60px;
  position:relative;
}
.weapon_setting{
  display: block;
  position:relative;
  padding-left: 65px;
  color: #767676;
}
.weapon_height{
  min-height: 60px;
  position:relative;
  padding-left: 65px;
  color: #767676;
}
.weapon_param{
  color: #af3e3e;
  word-wrap: break-word;
  font-size:14px;
}

.weapon_0{
  border: 2px solid #059e29;
  border-image: url("/style/images/body/ramka_weapon0.png") 2;
 border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #059e29;
}
.weapon_1{
  border: 2px solid #bfbfbf;
  border-image: url("/style/images/body/ramka_weapon1.png") 2;
 border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #bfbfbf;
}
.weapon_2{
  border: 2px solid #18b40c;
  border-image: url("/style/images/body/ramka_weapon2.png") 2;
border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #18b40c;
}
.weapon_3{
  border: 2px solid #e2b70b;
  border-image: url("/style/images/body/ramka_weapon3.png") 2;
border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #e2b70b;
}
.weapon_4{
  border: 2px solid #2066ce;
  border-image: url("/style/images/body/ramka_weapon4.png") 2;
 border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #2066ce;
}
.weapon_5{
  border: 2px solid #921ece;
  border-image: url("/style/images/body/ramka_weapon5.png") 2;
 border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #921ece;
}
.weapon_6{
  border: 2px solid #ff0000;
  border-image: url("/style/images/body/ramka_weapon6.png") 2;
 border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 5px 0px #ff0000;
}

.potions{
  display: block;
}
.potions_img{
  position:absolute;
  padding-left: 4px;
  padding-top: 7px;
}
.potions_name{
  position:relative;
  padding-left: 60px;
  color: #767676;
  padding-top: 5px;
  font-size:16px;
}
.potions_param{
  color: #d5d5d5;
  word-wrap: break-word;
  font-size:15px;
}

.error{
  background-image: url("/style/images/body/background_error.jpg");
  color: #767676;
  text-align:center;
  height: 25px;
  padding-top: 5px;
}
.ok{
  background-image: url("/style/images/body/background_ok.jpg");
  color: #767676;
  text-align:center;
  height: 25px;
  padding-top: 5px;
}
.notif{
  background-image: url("/style/images/body/notif.jpg");
  font-size: 14px;
  padding: 5px;
  color: #ecbc7d;
  border: 1px solid #202125;
  border-image: url("/style/images/body/ramka_head.png") 2;
}
.not_exit{
  position: relative; 
  float: right; 
  opacity: .4;
}
.error_list{
  background-image: url("/style/images/body/background_h.png");
  padding: 5px;
  text-align: center; 
  color: #bfbfbf;
}
.pobeda{
  font-size: 17px;
  color: #43a851;
  font-weight: bold;
  padding-bottom: 3px;
}
.porashenie{
  font-size: 17px;
  color: #dc3434;
  font-weight: bold;
  padding-bottom: 3px;
}

.exp_bar {
 	height: 6px;
	position: relative;
	background: transparent;
	border: rgba(255, 255, 255, .15) 1px solid;
	overflow: hidden;
	border-radius: 2px;
	margin: 0 0 0px 0px;
}
.exp_bar .progress {
	display: block;
	height: 100%;
	background-image: url(/style/images/body/progress_line.png);
	background-color: #005ca3;
	opacity: 0.8;
	background-position: right;
	position: relative;
	overflow: hidden; 
}

.img_hunting{
  display: block;
  margin: 0 auto;
  padding-top: 5px;
  padding-bottom: 5px;
}
.hunting_name{
  text-align: center;
  padding: 2px;
}
.block_hunting{
  display: block;
}
.img_m_battle{
  position:relative;
  padding: 5px;
}
.img_h_battle{
  border: 1px solid #202125;
  border-image: url("/style/images/body/ramka_users.png") 1;
  position:relative;
  margin: 4px;
}
.block_monsters{
  position: absolute;
  padding-left: 63px;
  margin-top: -60px;
  /* color: #d1d1d1; */
}
.hp_bar_monster {
  position: relative;
  border-radius: 2px;
  border: 1px solid #d5af8b;
  background-image: url("/style/images/body/health_h.png");
  margin-left:60px;
  margin-right:10px;
  margin-top: -20px;
}
.hp_bar_monster  .health2 .health {
  border-radius: 2px;
  background-image: url("/style/images/body/health_monstr_1.png");
  width: 0;
  max-width: 500px;
  height: 10px;
}
.hp_bar_monster .health2, .hp_bar_users .health2 {
  border-radius: 2px;
  background-image: url("/style/images/body/health_m.png");
  width: 0;
  max-width: 500px;
  height: 10px;
}
.hp_bar_users {
  border-radius: 2px;
  position: relative;
  border: 1px solid #d5af8b;
  background-image: url("/style/images/body/health_h.png");
  margin-left:60px;
  margin-right:10px;
  margin-top: -20px;
}
.hp_bar_users .health2  .health {
  border-radius: 2px;
  background-image: url("/style/images/body/health_users_1.png");
  width: 0;
  max-width: 500px;
  height: 10px;
}
.name_monsters{
  font-weight: bold;
}
.param_monsters{
  font-size:13px;
  color:#b54b4bd4;
}

.block_img{
  display: block;
  text-align: center;
  padding-top: 5px;
  position:relative;
  width: 300px;
}
.a{
  position: relative;
  float: center;
}
.left_weapon{
  position: relative;
  float: left;
  max-height: 160px;	
}
.right_weapon{
  position: relative;
  float: right;
  max-height: 160px;	
}
.img_users{
  border: 1px solid #202125;
  border-image: url("/style/images/body/ramka_users.png") 1;
  position: relative;
  float: center;
  /* border: 1px solid #000000; */
  -webkit-animation: pulsava 1.8s linear infinite;
  animation: pulsava 1.8s linear infinite;
  border-radius: 2px;
  max-width: 100%;
  box-shadow: 0 0 16px 0px #000000;
}


 
}
.status{
  font-size: 14px;
  color: #bfbfbf;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
}
.user_info{
	background-color: #2220208f;
	/* font-weight: bold; */
	padding: 9px 9px;
	border-radius: 3px;
	text-shadow: 0 1px 0 #000000;
	/* box-shadow: 0 2px 5px 0 #000000; */
	color: #707070;
	text-shadow: 0px 0px 3px black;
	/* background-image: url(/style/pics/li-lightl.png); */
}

.body_info{
background-color: #1b1b1d;
}

.page_navi{	
  margin-left:  1px;
  margin-right:  1px;
  display: inline;
  border: 1px solid #a1a1a1;
  color:#d3d3d3;
  padding: 5px;
  padding-left: 8px;
  padding-right: 8px;
}
.navigation{
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 15px;
  text-decoration: none;
}
#page_a{
  margin-left:  1px;
  margin-right:  1px;
  color:#a1a1a1;
  border: 1px solid #454545;
  padding: 5px;
  padding-left: 8px;
  padding-right: 8px;
  text-decoration: none;
}
#page_a:hover{
  color: #d3d3d3;
  border: 1px solid #a1a1a1;
}

.smiles{
  margin: 2px;
}
.smiles:hover, .smiles:active{
  cursor: pointer;
  opacity: .4;
}
#panel_smiles{
  display: none;
}
#panel_smiles.enabled{
  display: block;
}
#panel_forum{
  display: none;
}
#panel_forum.enabled{
  display: block;	
}
#panel_ind{
  display: none;
}
#panel_ind.enabled{
  display: block;	
}
#panel_ind2{
  display: none;
}
#panel_ind2.enabled{
  display: block;	
}
#panel_ind3{
  display: none;
}
#panel_ind3.enabled{
  display: block;	
}
#panel_ind4{
  display: none;
}
#panel_ind4.enabled{
  display: block;	
}
#panel{
  display: none;
}
#panel.enabled{
  display: block;	
}
.smiles_button{
  position: relative; 
  float: right; 
  margin-top: -30px; 
  margin-right: 8px;
}
.smiles_button_t{
  position: relative; 
  float: right; 
  margin-top: -5px; 
  margin-right: 8px;
}
.smiles_button:hover,.update_button:hover, .smiles_button_t:hover{
  cursor: pointer;
}
.update_button{
  position: relative; 
  float: right; 
  margin-top: -28px; 
  margin-right: 35px;	
}

.gift:hover, .gift:active{
  cursor: pointer;
  opacity: .4;
}
.arrow{
  position: relative; 
  float: right; 
  margin-top: -23px; 
  padding-right: 8px;
}
#otv{
  color: #666666; 
  font-size: 13px;
}
.mail{
  width: 200px; 
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; 
  color: ##bfbfbf;
}

.line_1{
  /* height: 4px; */
  /* background-image: url("/style/images/body/line_1.png"); */
}
.line_1_v{
  /* height: 4px; */
  /* background-image: url("/style/images/body/line_1_v.png"); */
}
.line_1_m{
  height: 3px;
  background-image: url("/style/images/body/line_1_m.png");
}
.line_2{
  height: 3px;
  background-image: url("/style/images/body/line_2.png");
}
.line_3{
  height: 1px;
  background-image: url("/style/images/body/line_3.png");
}
.line_4{
  height: 1px;
  background-image: url("/style/images/body/line_4.png");
}
.line_foot{
  height: 4px;
  background-image: url("/style/images/body/line_foot.png");
}
.line_pys{
   height: 11px;
   background-image: url("/style/images/body/line_pys.png");
}
.line_notif{
  border-bottom: 1px dotted #656263;
}
.mini-line{
  /* border-bottom: 1px dashed #4b4a4a; */
}
.t_max{
  min-height: 50px;
}
.t_img{
  position:absolute;
  padding-left: 0px;
  padding-top: 0px;
 box-shadow: 0 0 5px 0px #000000;
}
.t_name{
  display: block;
  position:relative;
  padding-top: 3px;
  padding-left: 63px;
  color: #6e6c8b;
  text-shadow: 0px 0px 3px #0f0000;
  border-radius: 2px;
  max-width: 100%;
}
.t_param{
  color: #b54b4bd4;
  word-wrap: break-word;
  font-size:13px;
}
.rat {
  display: inline-block;
  width: 75px;
  height: 15px;
  background: url(/style/images/body/star_0.png) repeat-x;
}
.rating_plus {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(/style/images/body/star_1.png) repeat-x;
}
.star0 { display: none; }
.star1 { width: 7px; }
.star2 { width: 15px; }
.star3 { width: 22px; }
.star4 { width: 30px; }
.star5 { width: 37px; }
.star6 { width: 45px; }
.star7 { width: 52px; }
.star8 { width: 60px; }
.star9 { width: 67px; }
.star10 { width: 75px;}

.whit{
  color: #767676;
  text-shadow: 0px 0px 3px #290000;
}
.gray{
  /* color: #bfbfbf; */
  text-shadow: 0px 0px 3px #290000;
}
.red{
  color: #971669;
  text-shadow: 0px 0px 3px #290000;
}
.yellow{
  color: #a97d44;
}
.orange{
  color: #cb862c;
  text-shadow: 0px 0px 3px #290000;
}
.blue{
  color: #2066ce;
  text-shadow: 0px 0px 3px #290000;
}
.green{
  color: #00a800;
  text-shadow: 0px 0px 3px #290000;
}
.purple{
  color: #dc50ff;
  text-shadow: 0px 0px 3px #290000;
}
.white{
  color: #666666;
  text-shadow: 0px 0px 3px #290000;
}
.btn, button, input[type="submit"] {
    color: #9E9E9E;
    font-weight: 600;
    font-size: 16px;
    display: block;
    border: 0;
    padding: 4px 60px;
    text-decoration: none;
    cursor: pointer;
background: #345881 -webkit-gradient(linear,left top,left bottom,color-stop(50%,#345881),color-stop(50%,#224971));
    background: #345881 linear-gradient(#345881 50%,#224971 50%);
    border: 2px solid;
    border-color: #3c6695 #3c6695 #193654 #193654;
    border-radius: 8px;
}
.fl_l {float: left;}
.fl_r {float: right;}
.fight_bg {
	background-repeat: no-repeat;
	background-image: url(pics/bg.png);
	background-position: bottom;
	background-size: cover;
	padding: 58% 0 58% 0;
	position: relative;
	z-index: 2;
}
.enemy_block {
	position: absolute;
	color: rgba(255, 255, 255, .7);
	top: 0px;
	right: 0px;
	left: 0px;
	display: block;
	text-align: right;
}
.enemy_ava {
	margin: -16px 0px 0 8px;
	width: 82px;
    height: 82px;
}
.enemy_name {
	margin: 2px 0;
}
.user_block {
	position: absolute;
	color: rgba(255, 255, 255, .7);
	bottom: 0px;
	left: 0px;
	right: 0px;
	display: block;
}
.user_ava {
	margin: 0 8px -16px 0;
	width: 82px;
	height: 82px;
	transform: scale(-1, 1);
    border-radius: 30px;}
.user_name {
	margin: 2px 0;
}
.hp_bar {
	height: 16px;
	position: relative;
	background: transparent;
	border: rgba(255, 255, 255, .1) 1px solid;
	border-right: 0;
	max-width: 100%;
	overflow: hidden;
}
.hp_bar > .line {
	display: block;
	height: 100%;
	background-image: url(pics/hp_line.png);
	background-color: #b50c38;
	opacity: 0.8;
	background-position: right;
	position: relative;
	overflow: hidden;
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}
.enemy_hp {
	margin-right: 40px;
	transform: scale(-1, 1);
}
.user_hp {
	margin-left: 40px;
}
.enemy_full {
	position:absolute;
	bottom:18%;
	right:4px;
	width:36%;
}
.user_full {
	position:absolute;
	bottom:18%;
	left:4px;
	width:36%;
}
.user_full img {
	transform: scale(-1, 1);
}
.attack_btn {
	background-image: url(pics/attackbg.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	text-align: center;
	padding: 16px;
}
.attack_btn img {
	width: 162px;
}
.hp_count {
	display: block;
	position: absolute;
	top: 50%;
	color: #b50c38;
	font-family: sans-serif;
	font-size: 18px;
	font-weight: bold;
	left: 50%;
	-webkit-animation: rotate 2s linear infinite;
	-moz-animation: rotate 2s linear infinite;
	-o-animation: rotate 2s linear infinite;
	animation: rotate 2s linear infinite;
}
@-webkit-keyframes rotate {
	50% {
		-webkit-transform: translateY(-100px);
		-moz-transform: translateY(-100px);
		-ms-transform: translateY(-100px);
		-o-transform: translateY(-100px);
		transform: translateY(-100px);
	}
}
@keyframes rotate {
	50% {
		-webkit-transform: translateY(-100px);
		-moz-transform: translateY(-100px);
		-ms-transform: translateY(-100px);
		-o-transform: translateY(-100px);
		transform: translateY(-100px);
	}
}

.victory_logo {
	background-image: url(pics/victory.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	height: 162px;
	margin: 16px 0 8px;
}
.defeat_logo {
	background-image: url(pics/defeat.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	height: 162px;
	margin: 16px 0 8px;
}
.result_title {
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
}
.result_btn {
	text-align: center;
	margin-bottom: 16px;
}
.result_btn img {
	width: 162px;
}

.btn { background-image: url("/style/images/bg6.png"); 
color: #ccc; 
display: block; 
text-decoration: 
none; padding: 4px; 
margin-top: 5px; 
margin-bottom: 4px; 
margin-left: 7%; 
margin-right: 7%; 
background-color: #205020; 
border: 1px solid #407040; 
border-radius: 4px; }



.btn2 { background-image: url("/style/images/bg7.png"); 
color: #ccc; 
display: block; 
text-decoration: 
none; padding: 4px; 
margin-top: 5px; 
margin-bottom: 4px; 
margin-left: 7%; 
margin-right: 7%; 
background-color: #303065; 
border: 1px solid #454585; 
border-radius: 4px; }

.btn3 { background-image: url("/style/images/bg4.png"); font-size: 95%; 
color: #aaa; 
border-radius: 3px; 
text-decoration: none; 
background-color: #353535; 
border: 1px solid #454545; 
padding-top: 3px; 
padding-bottom: 3px; 
display: inline-block; 
width: 45%; 
margin-top: 3px; margin-bottom: 2px; 
margin-left: 2px; 
margin-right: 2px; }


.btn4 { background-image: url("/style/images/bg8.png"); 
color: #ccc; display: block; 
text-decoration: 
none; padding: 4px; 
margin-top: 5px; 
margin-bottom: 4px; 
margin-left: 7%; 
margin-right: 7%; 
background-color: #303065; 
border: 1px solid #454585; 
border-radius: 4px; }


.btn10 { background-image: url("/style/images/bg10.png"); 
color: #ccc; 
display: block; 
text-decoration: 
none; padding: 4px; 
margin-top: 5px; 
margin-bottom: 4px; 
margin-left: 7%; 
margin-right: 7%; 
background-color: #8b000c; 
border: 1px solid #8b000c; 
border-radius: 4px; }


.btn33 { background-image: url("/style/images/bg4.png"); 
font-size: 16px; 
color: #aaa; 
border-radius: 3px; 
text-decoration: none; 
background-color: #353535; 
border: 1px solid #454545; 
padding-top: 3px; 
padding-bottom: 3px; 
display: inline-block; 
width: 20%; 
margin-top: 3px; margin-bottom: 2px; 
margin-left: 4px; 
margin-right: 4px; }
























.imgFight{
    display: inline-block;
    position: relative;
    top: 0px;
    margin:4px;
    border: 1px solid #555555;
}

.imgFight2{
    display: inline-block;
    position: relative;
    top: -5px;
    margin:2px;
    border: 1px solid #555555;
}


.imgL{
float:left;
padding: 0 4px 0 0;
margin:0;
vertical-align:middle;
}

a { 
color: #bfb5ba; 
text-decoration: none;
}

a:hover { 
text-decoration: none;
}

img {
vertical-align: middle;
}

/*- Работа с постерами и дополнительными элементами -*/

.poster {
background: url(/css/img/poster/logo.png);
background-repeat: no-repeat;
width: 100%;
background-position-x: center;
background-position: bottom;
min-height: 550px;
object-fit: cover;
position: relative;
text-align: center;
}

.navi {
color: #bfb5ba;
background: #271516;
padding: 6px 6px 6px;
border-radius: 6px;
margin: 4px;
}

.navi2 {
color: #bfb5ba;
background: #671516;
padding: 6px 6px 6px;
border-radius: 6px;
margin: 4px;
}

.-start {
background: url(/css/img/poster/index.png);
background-repeat: no-repeat;
width: 100%;
background-position-x: center;
background-position: top;
}

.-gas {
background: url(/css/img/gas.png);
background-repeat: no-repeat;
width: 100%;
min-height: 440px;
background-position-x: center;
background-position: top;
}

.title-wqi {
font-size: 20px;
font-weight: 700;
color: #ffdb77;
display: block;
padding: 10px 0;
font-family: 'El Messiri', sans-serif;
}

.title-poster {
font-family: 'El Messiri', sans-serif;
display: block;
position: absolute;
width: 100%;
top: 25px;
font-size: 25px;
font-weight: 600;
color: #fffbfd;
text-shadow: 0px 0px 20px #6a1f3f, 0px 0px 1em #ff004e;
}

.butt {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
}

/*- Работа со стартовыми и дополнительными элементами -*/

.game-info {
text-align: center;
margin: -20px 0 20px 0;
}

hr {
background: url(/css/img/hr.png) no-repeat top center;
height: 31px;
border: none !important;
margin: 0;
}

.start, .foot {
text-align: center;
padding: 10px;
}

.title {
font-size: 25px;
font-weight: 600;
font-family: 'El Messiri', sans-serif;
color: #fffbfd;
margin: 0 0 15px 0;
}

.grad-end {
background: url(/css/img/back-red.png);
background-position: center bottom;
background-repeat: no-repeat;
}

.grad-end-res {
background: url(/css/img/back-red-res.png);
background-position: center top;
background-repeat: no-repeat;
}

a.reset-pass {
display: block;
margin: 5px 0 0 0;
color: #89787f;
text-decoration: underline;
}

.33foot {
font-size: 14px;
color: #7b6b77;
}

.user-panel {
background: #000;
padding: 10px 20px;
text-align: center;
font-size: 14px;
}

.gold {
color2: #cec9a9;
}

.mann {
color: #9fb9d2;
}

.hp {
color: #cea8a8;
}

.stat-e {
margin-top:4px;
height: 3px;
background: #352a30;
}

.stat-e2 {
background: #059114;
height: 3px;
max-width: 100%;
}

.stat-p {
height: 5px;
background: #352a30;
}

.stat-a {
background: #71661c url(/css/img/prog.png);
height: 4px;
max-width: 100%;
}

.menu-us {
padding: 10px;
text-align: left;
background: #171516;
background-position: right;
border-radius: 6px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 5px 0;
}

.menu-not {
padding: 10px;
text-align: center;
background: #171516;
background-position: right;
border-radius: 0px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 1px 0;
}

.click {
display: inline-block;
width: 50%;
padding: 10px;
text-align: center;
background: #611c38;
border-radius: 3px;
border: 1px solid #222222;
color: #bfb5ba;
font-size: 15px;
margin: 3px;
}

.menu-not2 {
padding: 10px;
text-align: left;
background: #171516;
background-position: right;
border-radius: 0px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 5px 0;
}

.menu-wi {
height: 52px;
min-height: 52px;
padding: 4px 8px;
text-align: end;
background: #171516 url(/css/img/bgll.png);
background-position: right;
border-radius: 5px;
border: 1px solid #131012;
color: #474244;
font-size: 11px;
line-height: 1.05;
margin: 0 0 5px 0;
box-sizing: border-box;
overflow: hidden;
}

.title-wi {
font-size: 15px;
line-height: 1;
font-weight: 700;
color: #b4a270;
display: block;
font-family: 'El Messiri', sans-serif;
text-shadow: 4px 4px 4px black, 0 0 1em black;
margin-bottom: 1px;
}

.img-menu {
width: 70px;
margin: 0 0 10px 0;
}

.menu-wai {
height: 38px;
min-height: 38px;
padding: 3px 1px;
border: 1px solid #131012;
box-sizing: border-box;
background: url(/css/img/nl.png) left bottom / auto 18px no-repeat, url(/css/img/np.png) right bottom / auto 18px no-repeat;
background-color: #171516;
border-radius: 4px;
font-family: 'El Messiri', sans-serif;
font-size: 11px;
line-height: 1.05;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}

.onl {
width: 33.33%;
padding: 2px;
box-sizing: border-box;
}

.grab {
margin: -2px;
}

.fer {
background-image: url(/css/img/fer.png);
background-repeat: no-repeat;
background-position: left;
}

.bit {
background-image: url(/css/img/bit.png);
background-repeat: no-repeat;
background-position: left;
}

.use-men {
width: 33%;
font-family: 'El Messiri', sans-serif;
font-weight: 700;
text-align: center;
font-size: 16px;
}

.u-m {
margin: 0 0 5px 0;
}

.aci {
font-size: 12px;
color: #92886a;
}

.gg-b {
margin: -20px -20px 15px -20px;
padding: 7px;
border: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #e2be56 50%, transparent 100%);
border-image-slice: 1;
}

.user-av {
width: 50%;
padding: 15px 15px 0 15px;
text-align: center;
box-sizing: border-box;
}

.us-av {
width: 100%;
height: 260px;
object-fit: contain;
}

.left-inv, .right-inv {
width: calc(25%);
text-align: center;
box-sizing: border-box;
}

.inv {
margin: 15px;
position: relative;
}

.st-l {
position: absolute;
display: inline-grid;
left: 0;
top: 6px;
}

.st-r {
position: absolute;
display: inline-grid;
right: 0;
top: 6px;
}

.stats {
border: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #7a7a7a 50%, transparent 100%);
border-image-slice: 1;
padding: 15px;
color: #dbd6c9;
}

.stats2 {
border-top: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #7a7a7a 50%, transparent 100%);
border-image-slice: 1;
	margin: 9px;
color: #dbd6c9;
}

.p1p {
width: 50%;
text-align: start;
}

/*- Технические элементы -*/




.butmin {
height:40px;
padding: 6px;
width: 60%;
background: #611c38;
font-family: 'El Messiri', sans-serif;
font-weight: 700;
border: 1px solid #6f3f4f;
color: #ffcadc;
}

.block2 {
display:-webkit-flex; 
-webkit-justify-content:flex-start;
-webkit-align-items:stretch;
-webkit-flex-wrap:wrap;
display:flex;
justify-content:flex-start;
align-items:stretch;
flex-wrap:wrap;
}

.-center {
-webkit-align-items: center;
align-items: center;
}

@media screen and (max-width: 425px) {

.p1p {
width: 100%;
text-align: center;
}

.onl {
width: 33.33%;
padding: 2px;
box-sizing: border-box;
}

.block { background-image: url("/style/images/bg1.png"); 
margin-top: 2px; 
margin-bottom: 1px; padding: 3px; 
background-color: #151515; 
border: 1px solid #292929; }

.center { text-align: center; }





/* WarHeros: extra compact home controls */
.menu-wai b { font-size: 11px; line-height: 1.05; }
.menu-wai span { font-size: 9px !important; line-height: 1.05; }
.menu-wai img { max-height: 10px; width: auto; vertical-align: middle; }
.menu-wi img { max-height: 11px; width: auto; vertical-align: middle; }


}

/* =========================================================
   WarHeros global compact UI — 2026-08-08
   Scoped to body.compact-ui so it can be rolled back safely.
   ========================================================= */
.compact-ui,
.compact-ui table,
.compact-ui input,
.compact-ui textarea,
.compact-ui select { font-size:14px; line-height:1.18; }

.compact-ui .head { min-height:30px; }
.compact-ui .panel_head { padding:3px 4px; font-size:12px; line-height:1.15; }
.compact-ui .panel_head img { max-height:13px; width:auto; }
.compact-ui .location_head { padding:4px 5px; font-size:15px; line-height:1.15; }
.compact-ui .exp_bar { height:5px; }
.compact-ui .page { font-size:14px; }
.compact-ui .block { margin-top:2px; margin-bottom:1px; padding:3px; }

.compact-ui .menulist a { padding:4px 5px; font-size:13px; line-height:1.15; }
.compact-ui .menulist img { max-height:15px; width:auto; }
.compact-ui .menulitl li { padding:3px 4px; }
.compact-ui .menulitl_img { width:27px !important; height:27px !important; margin:2px; }
.compact-ui .menulitl_img_no { max-width:27px; max-height:27px; margin:2px; }
.compact-ui .menulitl_block { min-height:29px; padding-left:34px; margin-top:-32px; font-size:13px; }
.compact-ui .menubig_block { min-height:45px; padding-left:50px; margin-top:-49px; font-size:13px; }
.compact-ui .menulitl_param { font-size:11px; line-height:1.1; }

.compact-ui .button_red_a,
.compact-ui .button_red_i,
.compact-ui .button_green_a,
.compact-ui .button_green_i,
.compact-ui .button_i_mini { padding:3px; margin:2px 3px; font-size:13px; line-height:1.15; border-radius:4px; }
.compact-ui .button_red_a img,
.compact-ui .button_red_i img,
.compact-ui .button_green_a img,
.compact-ui .button_green_i img,
.compact-ui .button_i_mini img { max-height:14px; width:auto; }

.compact-ui .btn,
.compact-ui .btn2,
.compact-ui .btn4,
.compact-ui .btn10 { padding:3px 5px; margin-top:3px; margin-bottom:3px; font-size:13px; line-height:1.15; border-radius:4px; }
.compact-ui .btn3 { padding-top:2px; padding-bottom:2px; margin-top:2px; margin-bottom:1px; font-size:12px; }
.compact-ui .btn33 { padding-top:2px; padding-bottom:2px; margin:2px; font-size:12px; }

.compact-ui .input_form,
.compact-ui select { padding:4px 3px; margin:2px 0; font-size:13px; border-radius:4px; }
.compact-ui textarea.input_form { min-height:54px; }

.compact-ui .info_list,
.compact-ui .error_list,
.compact-ui .svg_list,
.compact-ui .svg_list_m { padding:3px 4px; font-size:12px; line-height:1.2; }
.compact-ui .notif { padding:3px 4px; font-size:12px; line-height:1.2; }
.compact-ui .info_list img,
.compact-ui .error_list img,
.compact-ui .svg_list img,
.compact-ui .svg_list_m img,
.compact-ui .notif img { max-height:14px; width:auto; }
.compact-ui .status { font-size:12px; padding:2px 4px; }
.compact-ui .event { padding:2px; font-size:12px; }
.compact-ui .pobeda,
.compact-ui .porashenie { font-size:15px; padding-bottom:2px; }

.compact-ui .weapon { min-height:44px; }
.compact-ui .img_weapon { width:42px; height:42px; padding-left:3px; padding-top:2px; }
.compact-ui .weapon_setting,
.compact-ui .weapon_height { min-height:47px; padding-left:52px; font-size:13px; }
.compact-ui .weapon_param { font-size:12px; line-height:1.15; }
.compact-ui .potions_img { max-width:40px; max-height:40px; padding-left:3px; padding-top:4px; }
.compact-ui .potions_name { padding-left:50px; padding-top:3px; font-size:14px; }
.compact-ui .potions_param { font-size:12px; }

.compact-ui .img_h_battle { width:42px !important; height:42px !important; margin:3px; }
.compact-ui .block_monsters { padding-left:52px; margin-top:-49px; font-size:13px; }
.compact-ui .param_monsters { font-size:11px; }
.compact-ui .hp_bar_monster,
.compact-ui .hp_bar_users { margin-left:50px; margin-right:7px; margin-top:-16px; }
.compact-ui .hp_bar_monster .health2,
.compact-ui .hp_bar_users .health2,
.compact-ui .hp_bar_monster .health2 .health,
.compact-ui .hp_bar_users .health2 .health { height:8px; }

/* Большие локационные картинки не растягивают весь экран */
.compact-ui .img { max-height:165px; object-fit:cover; }
.compact-ui .img_m_battle { max-width:100%; max-height:145px; object-fit:contain; padding:3px; box-sizing:border-box; }

.compact-ui .user_info { padding:5px; font-size:13px; }
.compact-ui .page_navi,
.compact-ui #page_a { padding:3px 6px; }
.compact-ui .navigation { padding-top:4px; padding-bottom:4px; font-size:13px; }
.compact-ui .smiles_button { margin-top:-25px; }
.compact-ui .update_button { margin-top:-24px; }

.compact-ui .user-panel { padding:6px 10px; font-size:13px; }
.compact-ui .menu-us,
.compact-ui .menu-not,
.compact-ui .menu-not2 { padding:6px; font-size:13px; margin-bottom:3px; }
.compact-ui .click { padding:6px; font-size:13px; margin:2px; }
.compact-ui .navi,
.compact-ui .navi2 { padding:4px; margin:2px; }
.compact-ui .title-wqi { font-size:17px; padding:6px 0; }
.compact-ui .title { font-size:20px; margin-bottom:10px; }
.compact-ui .butmin { height:34px; padding:4px; }
.compact-ui .stats { padding:8px; }
.compact-ui .stats2 { margin:5px; }
.compact-ui .inv { margin:8px; }

/* Боевые экраны: компактнее, но кнопка атаки остаётся крупной для пальца */
.compact-ui .fight_bg { padding:48% 0; }
.compact-ui .enemy_ava,
.compact-ui .user_ava { width:68px; height:68px; }
.compact-ui .attack_btn { padding:8px; }
.compact-ui .attack_btn img { width:132px; }
.compact-ui .victory_logo,
.compact-ui .defeat_logo { height:125px; margin:8px 0 5px; }
.compact-ui .result_btn { margin-bottom:8px; }
.compact-ui .result_btn img { width:135px; }

/* Нижняя навигация на всех страницах */
.compact-ui .footer-nav-wrap { line-height:1; }
.compact-ui .footer-nav-wrap > a > span,
.compact-ui .footer-nav-wrap > span { padding-top:1px !important; }
.compact-ui .footer-nav-wrap img { max-height:43px !important; max-width:48px !important; width:auto !important; height:auto !important; }
.compact-ui .foot { padding-top:3px; margin-bottom:3px; font-size:12px; line-height:1.2; }

/* Уже уменьшенная Главная остаётся такой же компактной */
.compact-ui .menu-wi { height:52px; min-height:52px; margin-bottom:4px; }
.compact-ui .menu-wai { height:38px; min-height:38px; }


/* =========================================================
   Mandatory onboarding UI — 2026-08-08
   Main navigation stays hidden until tutorial is completed.
   ========================================================= */
.tutorial-lock-card{
  margin:5px 4px;
  padding:8px;
  background:linear-gradient(#27231b,#171717);
  border:1px solid #75521d;
  border-radius:7px;
  box-shadow:0 0 0 1px #111 inset,0 2px 8px rgba(0,0,0,.45);
  color:#b9b1a5;
}
.tutorial-lock-top{display:flex;align-items:center;gap:7px;color:#d6b370;font-size:13px;}
.tutorial-lock-avatar{width:31px!important;height:31px!important;border-radius:50%;border:1px solid #80602d;}
.tutorial-lock-step{font-size:11px;color:#777;margin-top:1px;font-weight:normal;}
.tutorial-lock-progress{height:5px;background:#101010;border:1px solid #3b3328;border-radius:5px;overflow:hidden;margin:7px 0;}
.tutorial-lock-progress span{display:block;height:100%;background:linear-gradient(90deg,#805714,#d39125,#f0ba45);box-shadow:0 0 6px rgba(229,162,51,.55);}
.tutorial-lock-title{color:#e0bd7a;font-size:15px;text-align:center;margin:3px 0 2px;}
.tutorial-lock-text{font-size:12px;line-height:1.25;text-align:center;color:#aaa39a;margin:0 5px 7px;font-weight:normal;}
.tutorial-lock-button{display:block;margin:4px auto;padding:6px 8px;max-width:300px;text-align:center;border-radius:5px;border:1px solid #8a651f;background:linear-gradient(#634311,#3c290c);color:#e7c77e!important;font-size:13px;font-weight:bold;box-shadow:inset 0 1px 0 rgba(255,220,135,.16),0 1px 3px #000;}
.tutorial-lock-status{display:block;margin:4px auto;padding:5px 8px;max-width:300px;text-align:center;border-radius:5px;border:1px solid #4b4337;background:#201e1a;color:#9f978b;font-size:12px;font-weight:normal;box-shadow:none;}
.tutorial-lock-note{font-size:10px;text-align:center;color:#706b63;margin-top:6px;font-weight:normal;}
.tutorial-home-lock{margin-top:3px;background:#1e1e1e;}
.tutorial-home-lock .img{opacity:.72;max-height:155px;object-fit:cover;}
.tutorial-home-lock-text{padding:8px;text-align:center;font-size:12px;color:#8e877e;font-weight:normal;border-top:1px solid #3a2d18;}
.tutorial-home-lock-text b{display:block;color:#d0aa63;font-size:14px;margin-bottom:2px;}
.tutorial-mini-footer{margin:5px 0 0;padding:8px 4px;text-align:center;background:#171717;border-top:1px solid #3b3120;color:#736e67;font-size:11px;font-weight:normal;}
.tutorial-mini-footer a{color:#a88b5d;}
.save-hero-title{font-size:16px;color:#d5ad66;margin:7px 0 2px;}
.save-hero-help{max-width:430px;margin:0 auto 6px;padding:6px 8px;color:#9b948b;font-size:11px;line-height:1.25;font-weight:normal;}
.save-hero-nick{border-color:#76551f!important;box-shadow:0 0 5px rgba(176,116,27,.18);}
.save-hero-submit{width:95%;max-width:460px;margin-left:auto!important;margin-right:auto!important;}
.compact-ui .tutorial-lock-card{padding:6px;margin:3px;}
.compact-ui .tutorial-lock-button{padding:5px 7px;font-size:12px;}
.compact-ui .tutorial-lock-title{font-size:14px;}


/* LOGIN_LOGO_ONLY_2026_08_08 — only the requested logo on the guest login screen. */
.classic-rpg-ui.guest-ui .head,
.classic-rpg-ui.guest-ui > .exp_bar{display:none;}
.classic-rpg-ui.guest-ui .classic-login-logo{
  display:block;width:100%;height:auto;margin:0 auto 3px;object-fit:contain;
}

/* HOME_GRID_RESTORE_2026_08_08 — preserve the old tile artwork, only guarantee 3 columns. */
.home-screen.member-ui .block2.grab{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:stretch!important;}
.home-screen.member-ui .block2.grab>.onl{width:33.333333%!important;box-sizing:border-box!important;}
.home-screen.member-ui .block2.grab>.line_1{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;}

/* DAILY_REWARD_ONLY_2026_08_08 — isolated; does not alter game menu/card styles. */
.daily-home-wrap{clear:both;margin:6px 4px 5px;padding:0;}
.daily-home-card{display:flex;align-items:center;gap:9px;min-height:58px;padding:8px 10px;box-sizing:border-box;border:1px solid #4a3a25;border-radius:5px;background:linear-gradient(180deg,#171614,#101111);text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);}
.daily-home-card.is-ready{border-color:#2f7d2a;background:linear-gradient(180deg,#142014,#0e150f);}
.daily-home-gift{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;}
.daily-home-gift img{max-width:30px;max-height:30px;width:auto;height:auto;}
.daily-home-copy{display:block;flex:1;min-width:0;text-align:left;}
.daily-home-copy b{display:block;color:#c99a50;font:bold 16px/1.15 Georgia,"Times New Roman",serif;}
.daily-home-card.is-ready .daily-home-copy b{color:#56b84d;}
.daily-home-copy small{display:block;margin-top:3px;color:#8e8983;font:12px/1.2 Arial,sans-serif;white-space:normal;}
.daily-home-action{display:flex;align-items:center;justify-content:center;min-width:24px;color:#b88a46;font-weight:bold;font-size:20px;}
.daily-home-card.is-ready .daily-home-action{min-width:72px;padding:6px 7px;border:1px solid #2d7d28;border-radius:4px;background:#163e16;color:#62c85a;font-size:12px;}

.daily-reward-screen .daily-calendar{margin:5px;padding:11px 7px 10px;border:1px solid #5f4828;border-radius:6px;background:linear-gradient(180deg,#151515,#0b0c0d 72%);box-sizing:border-box;}
.daily-reward-screen .daily-calendar-title{text-align:center;color:#d0a055;font:bold 21px/1.2 Georgia,"Times New Roman",serif;}
.daily-reward-screen .daily-calendar-subtitle{margin:6px 2px 10px;text-align:center;color:#aaa49e;font-size:12px;line-height:1.3;}
.daily-reward-screen .daily-calendar-subtitle span{color:#77736e;}
.daily-reward-screen .daily-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;}
.daily-reward-screen .daily-day-card{display:flex;flex-direction:column;align-items:center;min-width:0;min-height:112px;padding:6px 2px 5px;box-sizing:border-box;border:1px solid #493b2a;border-radius:4px;background:linear-gradient(180deg,#191817,#101112);color:#aaa!important;text-align:center;text-decoration:none!important;overflow:hidden;}
.daily-reward-screen .daily-day-card.claimed{border-color:#306a2d;background:linear-gradient(180deg,#172016,#101410);}
.daily-reward-screen .daily-day-card.ready{border-color:#3c9d34;background:linear-gradient(180deg,#1a2918,#101711);box-shadow:0 0 4px rgba(57,166,47,.35);}
.daily-reward-screen .daily-day-number{display:block;color:#c8c1b9;font-size:9px;font-weight:bold;white-space:nowrap;}
.daily-reward-screen .daily-day-icon{display:flex;height:34px;align-items:center;justify-content:center;margin:5px 0 2px;}
.daily-reward-screen .daily-day-icon img{max-width:30px;max-height:30px;width:auto;height:auto;}
.daily-reward-screen .daily-day-reward{display:flex;min-height:30px;align-items:center;justify-content:center;color:#c49b58;font-size:8px;line-height:1.08;font-weight:bold;overflow-wrap:anywhere;}
.daily-reward-screen .daily-day-status{display:block;margin-top:auto;padding-top:3px;font-size:7px;line-height:1.05;}
.daily-reward-screen .claimed-status{color:#43a83b;}.daily-reward-screen .ready-status{color:#62c958;font-weight:bold;}.daily-reward-screen .future-status{color:#6f6a65;}
.daily-reward-screen .daily-current-info{margin:10px 2px 7px;padding:8px 5px;border-top:1px solid #40321f;border-bottom:1px solid #40321f;text-align:center;color:#aaa49e;font-size:12px;}
.daily-reward-screen .daily-current-info b{display:block;color:#cbc3b9;font-size:13px;}.daily-reward-screen .daily-current-info span,.daily-reward-screen .daily-current-info small{display:block;margin-top:4px;}.daily-reward-screen .daily-current-info small{color:#77736e;}.daily-reward-screen .daily-info-ready{color:#55b94b!important;}
.daily-reward-screen .daily-claim-button{display:block;max-width:250px;margin:8px auto 1px;padding:8px 10px;border:1px solid #34782e;border-radius:5px;background:linear-gradient(#2b7027,#174516);color:#d8d3c8!important;font-weight:bold;text-decoration:none!important;}
.daily-reward-screen .daily-how{margin:8px 2px 1px;padding:9px;border:1px solid #594425;border-radius:5px;background:#111213;color:#958d83;font-size:11px;line-height:1.35;}.daily-reward-screen .daily-how b{display:block;margin-bottom:5px;color:#cfa052;font-size:13px;}.daily-reward-screen .daily-how span{display:block;margin:2px 0;}
@media(max-width:390px){.daily-reward-screen .daily-calendar{margin:3px;padding-left:4px;padding-right:4px}.daily-reward-screen .daily-days{gap:2px}.daily-reward-screen .daily-day-card{min-height:106px;padding-left:1px;padding-right:1px}.daily-home-copy b{font-size:15px}.daily-home-card.is-ready .daily-home-action{min-width:65px}}

/* THRONE_HERO_2026_08_08 — isolated styles; does not alter existing menu grid. */
.throne-home-link{display:block;text-decoration:none!important;margin:5px 4px 6px;clear:both;}
.throne-home-card{display:flex;align-items:center;min-height:52px;padding:7px 10px;box-sizing:border-box;border:1px solid #66502b;border-radius:5px;background:linear-gradient(180deg,#241b11,#131313 72%);box-shadow:inset 0 1px 0 rgba(255,224,147,.08);}
.throne-home-crown{display:flex;width:38px;min-width:38px;height:38px;align-items:center;justify-content:center;font-size:27px;filter:drop-shadow(0 1px 2px #000);}
.throne-home-copy{display:block;flex:1;min-width:0;text-align:left;padding-left:5px;}
.throne-home-copy b{display:block;color:#d5a95c;font:bold 17px/1.15 Georgia,"Times New Roman",serif;text-shadow:0 1px 2px #000;}
.throne-home-copy small{display:block;margin-top:3px;color:#99938a;font:11px/1.2 Arial,sans-serif;white-space:normal;}
.throne-home-arrow{display:flex;align-items:center;justify-content:center;width:22px;color:#b98a43;font:bold 25px/1 Georgia,serif;}

.throne-screen .throne-hero-panel{margin:5px 4px 7px;padding:11px 8px 10px;text-align:center;border:1px solid #715528;border-radius:7px;background:radial-gradient(circle at 50% 20%,#382719 0,#1b1713 42%,#0f1011 100%);box-shadow:inset 0 1px 0 rgba(255,222,143,.08),0 2px 7px rgba(0,0,0,.35);}
.throne-screen .throne-crown{font-size:43px;line-height:1;margin-bottom:2px;filter:drop-shadow(0 2px 3px #000);}
.throne-screen .throne-title{color:#ddb566;font:bold 23px/1.2 Georgia,"Times New Roman",serif;text-shadow:0 1px 2px #000;margin-bottom:8px;}
.throne-screen .throne-king-label{color:#887c6e;font-size:11px;text-transform:uppercase;letter-spacing:.4px;}
.throne-screen .throne-king-name{margin-top:1px;color:#e3c17d;font:bold 20px/1.2 Georgia,"Times New Roman",serif;overflow-wrap:anywhere;}
.throne-screen .throne-king-meta{margin:3px 0 8px;color:#918a80;font-size:11px;}
.throne-screen .throne-empty{color:#d0aa63;font:bold 17px/1.2 Georgia,"Times New Roman",serif;margin-top:4px;}
.throne-screen .throne-empty-sub{color:#8c857d;font-size:11px;margin-top:3px;}
.throne-screen .throne-stats-row{display:flex;justify-content:center;gap:5px;margin:8px auto 0;max-width:350px;}
.throne-screen .throne-stats-row span{display:block;flex:1;padding:6px 4px;border:1px solid #493a26;background:#111213;border-radius:4px;}
.throne-screen .throne-stats-row b{display:block;color:#cf9f50;font-size:13px;}
.throne-screen .throne-stats-row small{display:block;margin-top:2px;color:#77716b;font-size:9px;}
.throne-screen .throne-main-button{display:block;margin:7px auto;padding:9px 8px;max-width:410px;box-sizing:border-box;text-align:center;border:1px solid #947129;border-radius:5px;background:linear-gradient(#6d4c16,#402b0d);color:#ead199!important;font-weight:bold;font-size:14px;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,225,146,.15),0 1px 3px #000;}
.throne-screen .throne-main-button.attack{border-color:#873f28;background:linear-gradient(#71301f,#451b13);color:#e5b99c!important;}
.throne-screen .throne-main-button.reward{border-color:#487c2b;background:linear-gradient(#315f22,#193c15);color:#cce3ad!important;}
.throne-screen .throne-status-box{margin:7px 4px;padding:8px;text-align:center;border:1px solid #4e432f;border-radius:5px;background:#151515;color:#aaa29a;font-size:12px;}
.throne-screen .throne-status-box.king{border-color:#655025;color:#c5aa78;}
.throne-screen .throne-attempts{text-align:center;margin:-2px 0 7px;color:#77716b;font-size:10px;}
.throne-screen .throne-attempts b{color:#b69b69;}
.throne-screen .throne-reward-box{margin:7px 4px;padding:9px;border:1px solid #5b4625;border-radius:5px;background:linear-gradient(#181716,#101112);text-align:center;}
.throne-screen .throne-reward-box b{display:block;color:#d0a35a;font:bold 15px/1.2 Georgia,"Times New Roman",serif;margin-bottom:5px;}
.throne-screen .throne-reward-box span{display:block;color:#aaa39a;font-size:11px;line-height:1.35;}
.throne-screen .throne-reward-box img{vertical-align:middle;max-height:15px;width:auto;}
.throne-screen .throne-reward-box small{display:block;color:#6f6a65;font-size:9px;margin-top:5px;}
.throne-screen .throne-section-title{margin:9px 4px 3px;color:#cf9f50;font:bold 15px/1.2 Georgia,"Times New Roman",serif;text-align:left;}
.throne-screen .throne-ranking{margin:0 4px;border:1px solid #403626;border-radius:4px;overflow:hidden;background:#111213;}
.throne-screen .throne-rank-row{display:flex;align-items:center;min-height:38px;padding:3px 7px;border-bottom:1px solid #292621;box-sizing:border-box;}
.throne-screen .throne-rank-row:last-child{border-bottom:0;}
.throne-screen .throne-rank-row .place{width:24px;color:#c89b4e;font:bold 13px Georgia,serif;}
.throne-screen .throne-rank-row .name{flex:1;min-width:0;color:#aaa39b;font-size:12px;overflow-wrap:anywhere;}
.throne-screen .throne-rank-row .name small{display:block;color:#66615d;font-size:9px;margin-top:1px;}
.throne-screen .throne-rank-row .wins{color:#c69a50;font-size:11px;white-space:nowrap;}
.throne-screen .throne-log{margin:0 4px;padding:5px 7px;border:1px solid #403626;border-radius:4px;background:#111213;color:#8d867e;font-size:10px;line-height:1.35;}
.throne-screen .throne-log div{padding:3px 0;border-bottom:1px dotted #2c2924;}
.throne-screen .throne-log div:last-child{border-bottom:0;}
.throne-screen .throne-log span{color:#665e53;margin-right:4px;}
.throne-screen .throne-rules{margin:9px 4px 6px;padding:8px;border:1px solid #4d3c24;border-radius:5px;background:#121313;color:#8d867e;font-size:10px;line-height:1.35;}
.throne-screen .throne-rules b{display:block;color:#cda056;font-size:13px;margin-bottom:4px;}
.throne-screen .throne-rules span{display:block;margin:2px 0;}
.throne-error{margin:8px 4px;padding:10px;border:1px solid #6c3a31;border-radius:5px;background:#211311;color:#c99184;text-align:center;font-size:12px;}


/* Guest mode: optional account save after tutorial */
.guest-play-note{
  text-align:center;
  font-size:12px;
  color:#8b8b8b;
  margin:3px 0 1px;
}
.guest-save-card{
  margin:6px 4px 8px;
  padding:8px;
  background:#202022;
  border:1px solid #3b3427;
  border-radius:4px;
  box-sizing:border-box;
}
.guest-save-title{
  color:#d2a254;
  font-size:14px;
  font-weight:bold;
  margin-bottom:3px;
}
.guest-save-text{
  color:#929292;
  font-size:12px;
  line-height:1.35;
  margin-bottom:6px;
}
.guest-save-button{
  display:block;
  padding:6px 8px;
  text-align:center;
  border-radius:4px;
  background:linear-gradient(#315b31 50%,#2a692a 50%);
  border:1px solid #1f4d1f;
  color:#bcbcbc;
  font-size:13px;
  font-weight:bold;
}


/* Noticeable guest save button at the top of the main game */
.guest-save-sticky{
  position:sticky;
  top:0;
  z-index:50;
  margin:5px 4px 8px;
  padding:6px;
  background:#171717;
  border:2px solid #a8792d;
  border-radius:6px;
  box-shadow:0 2px 8px rgba(0,0,0,.55);
  box-sizing:border-box;
}
.guest-save-top-button{
  display:block;
  padding:10px 8px;
  text-align:center;
  text-decoration:none;
  border-radius:5px;
  background:linear-gradient(#3d8d3d 50%,#2b6f2b 50%);
  border:1px solid #5aa45a;
  color:#f2e3bf !important;
  font-size:16px;
  font-weight:bold;
  text-shadow:0 1px 1px #111;
}
.guest-save-top-hint{
  padding-top:4px;
  text-align:center;
  color:#b7a98e;
  font-size:10px;
  line-height:1.2;
}


/* =========================================================
   MOBILE CLEAN UI V2 — 2026-08-09
   Stable responsive layout without the old global compact-ui
   geometry overrides. Keeps the original dark game style while
   preventing shifted blocks and controls from leaving the screen.
   ========================================================= */
.mobile-ui-v2 {
  width:100%;
  max-width:500px;
  min-width:0;
  margin:0 auto;
  overflow-x:hidden;
  background:#181818;
  color:#8f8b87;
  font-size:14px;
  line-height:1.25;
}
.mobile-ui-v2,
.mobile-ui-v2 *,
.mobile-ui-v2 *::before,
.mobile-ui-v2 *::after { box-sizing:border-box; }

.mobile-ui-v2 img,
.mobile-ui-v2 video,
.mobile-ui-v2 canvas,
.mobile-ui-v2 iframe { max-width:100%; }
.mobile-ui-v2 form,
.mobile-ui-v2 fieldset,
.mobile-ui-v2 table,
.mobile-ui-v2 tbody,
.mobile-ui-v2 tr,
.mobile-ui-v2 td,
.mobile-ui-v2 th { min-width:0; max-width:100%; }
.mobile-ui-v2 table { width:100%; border-collapse:collapse; }
.mobile-ui-v2 td,
.mobile-ui-v2 th { overflow-wrap:anywhere; word-break:normal; }
.mobile-ui-v2 pre { max-width:100%; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }

/* Header: no floating collision between page title and counters. */
.mobile-ui-v2 .head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-width:0;
  min-height:34px;
  background:linear-gradient(180deg,#211f1f,#191818);
  border-color:#2a2929;
  overflow:hidden;
}
.mobile-ui-v2 .location_head {
  flex:1 1 auto;
  min-width:0;
  padding:6px 8px;
  font-size:16px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 .panel_head {
  float:none;
  flex:0 1 auto;
  max-width:58%;
  min-width:0;
  padding:5px 7px;
  font-size:12px;
  line-height:1.15;
  text-align:right;
  white-space:normal;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 .panel_head img { max-height:15px; width:auto; vertical-align:middle; }
.mobile-ui-v2 .exp_bar { width:100%; height:5px; overflow:hidden; }

/* Panels/cards share one straight mobile edge. */
.mobile-ui-v2 .page,
.mobile-ui-v2 .body_list,
.mobile-ui-v2 .block,
.mobile-ui-v2 .menu-us,
.mobile-ui-v2 .menu-not,
.mobile-ui-v2 .menu-not2,
.mobile-ui-v2 .info_list,
.mobile-ui-v2 .svg_list,
.mobile-ui-v2 .svg_list_m,
.mobile-ui-v2 .notif {
  width:100%;
  max-width:100%;
  min-width:0;
}
.mobile-ui-v2 .block {
  margin:2px 0 1px;
  padding:4px;
  background-color:#171717;
  background-image:url("/style/images/bg1.png");
  border:1px solid #292929;
  overflow:hidden;
}
.mobile-ui-v2 .page { overflow:hidden; }

/* Main large cards: clean, compact, never clipped. */
.mobile-ui-v2 .menu-wi {
  width:100%;
  height:auto;
  min-height:58px;
  margin:0 0 5px;
  padding:7px 9px;
  overflow:hidden;
  white-space:normal;
  border-radius:5px;
}
.mobile-ui-v2 .title-wi { font-size:17px; line-height:1.05; margin-bottom:2px; }

/* Home menu: guaranteed three equal columns with no drift. */
.mobile-ui-v2.home-screen .block2.grab {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:3px;
  width:100%;
  margin:0!important;
  padding:0 2px;
  align-items:stretch;
}
.mobile-ui-v2.home-screen .block2.grab > .onl {
  width:auto!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
}
.mobile-ui-v2.home-screen .block2.grab > .line_1 { display:none!important; }
.mobile-ui-v2 .menu-wai {
  width:100%;
  height:auto;
  min-height:44px;
  padding:5px 2px;
  white-space:normal;
  overflow:hidden;
  text-overflow:clip;
  line-height:1.08;
  word-break:normal;
}
.mobile-ui-v2 .menu-wai b { font-size:12px; line-height:1.08; }
.mobile-ui-v2 .menu-wai span { font-size:10px!important; line-height:1.05; }
.mobile-ui-v2 .menu-wai img { max-height:11px; width:auto; }

/* All interactive controls stay inside the viewport. */
.mobile-ui-v2 .btn,
.mobile-ui-v2 .btn2,
.mobile-ui-v2 .btn4,
.mobile-ui-v2 .btn10,
.mobile-ui-v2 .button_red_a,
.mobile-ui-v2 .button_red_i,
.mobile-ui-v2 .button_green_a,
.mobile-ui-v2 .button_green_i,
.mobile-ui-v2 .tutorial-lock-button,
.mobile-ui-v2 .tutorial-lock-status,
.mobile-ui-v2 .throne-main-button,
.mobile-ui-v2 .daily-claim-button,
.mobile-ui-v2 .guest-save-top-button,
.mobile-ui-v2 .guest-save-button {
  display:block;
  width:calc(100% - 8px);
  max-width:460px;
  min-width:0;
  margin:4px auto;
  padding:7px 9px;
  font-size:13px;
  line-height:1.18;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 button,
.mobile-ui-v2 input[type="submit"],
.mobile-ui-v2 input[type="button"] {
  max-width:100%;
  min-width:0;
  padding:7px 10px;
  font-size:13px;
  line-height:1.15;
  white-space:normal;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 .btn3 {
  width:calc(50% - 7px);
  max-width:calc(50% - 7px);
  margin:3px 2px;
  padding:5px 4px;
  font-size:12px;
  vertical-align:top;
  white-space:normal;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 .btn33 {
  width:calc(25% - 8px);
  max-width:calc(25% - 8px);
  margin:3px 2px;
  padding:5px 2px;
  font-size:11px;
  vertical-align:top;
}
.mobile-ui-v2 .button_i_mini {
  width:calc(50% - 10px);
  max-width:calc(50% - 10px);
  margin:3px 4px;
  padding:6px;
}
.mobile-ui-v2 .click {
  width:calc(50% - 7px);
  max-width:calc(50% - 7px);
  margin:3px 2px;
  padding:7px 4px;
}
.mobile-ui-v2 .butmin { max-width:100%; }

/* Forms: old 95% + padding could spill out on narrow phones. */
.mobile-ui-v2 .input_form,
.mobile-ui-v2 input.input_form,
.mobile-ui-v2 textarea.input_form,
.mobile-ui-v2 select {
  display:block;
  width:calc(100% - 8px);
  max-width:none;
  min-width:0;
  margin:4px auto;
  padding:7px 8px;
  font-size:13px;
  line-height:1.2;
}
.mobile-ui-v2 textarea.input_form { min-height:64px; resize:vertical; }

/* Lists/profile/shop rows: text wraps instead of pushing the row sideways. */
.mobile-ui-v2 .menulist,
.mobile-ui-v2 .menulitl { max-width:100%; overflow:hidden; }
.mobile-ui-v2 .menulist a,
.mobile-ui-v2 .menulitl a,
.mobile-ui-v2 .menulitl li { max-width:100%; min-width:0; overflow:hidden; }
.mobile-ui-v2 .menulist a { padding:5px 7px; font-size:13px; overflow-wrap:anywhere; }
.mobile-ui-v2 .menulitl li { padding:5px; }
.mobile-ui-v2 .menulitl_img { width:32px!important; height:32px!important; margin:2px; object-fit:cover; }
.mobile-ui-v2 .menulitl_img_no { max-width:32px; max-height:32px; margin:2px; }
.mobile-ui-v2 .menulitl_block {
  min-height:34px;
  padding-left:39px;
  margin-top:-36px;
  font-size:13px;
  overflow-wrap:anywhere;
}
.mobile-ui-v2 .menulitl_param { font-size:11px; line-height:1.15; }
.mobile-ui-v2 .menubig_block { max-width:100%; min-width:0; overflow-wrap:anywhere; }

/* Flex rows must be allowed to shrink. */
.mobile-ui-v2 .block2 > *,
.mobile-ui-v2 .throne-home-copy,
.mobile-ui-v2 .daily-home-copy,
.mobile-ui-v2 .user_foot_p,
.mobile-ui-v2 .weapon_setting,
.mobile-ui-v2 .weapon_height,
.mobile-ui-v2 .block_monsters { min-width:0; }

/* New feature cards follow the same page gutter. */
.mobile-ui-v2 .guest-save-sticky,
.mobile-ui-v2 .guest-save-card,
.mobile-ui-v2 .throne-home-link,
.mobile-ui-v2 .daily-home-wrap,
.mobile-ui-v2 .throne-screen .throne-hero-panel,
.mobile-ui-v2 .throne-screen .throne-status-box,
.mobile-ui-v2 .throne-screen .throne-reward-box,
.mobile-ui-v2 .throne-screen .throne-ranking,
.mobile-ui-v2 .throne-screen .throne-log,
.mobile-ui-v2 .throne-screen .throne-rules {
  max-width:calc(100% - 8px);
  margin-left:auto;
  margin-right:auto;
}
.mobile-ui-v2 .guest-save-sticky { left:auto; right:auto; }
.mobile-ui-v2 .daily-home-card,
.mobile-ui-v2 .throne-home-card { width:100%; min-width:0; }
.mobile-ui-v2 .throne-screen .throne-stats-row { width:100%; max-width:350px; }
.mobile-ui-v2 .throne-screen .throne-stats-row span { min-width:0; }

/* Inventory / character screen. */
.mobile-ui-v2 .inv { max-width:100%; margin:8px 4px; overflow:hidden; }
.mobile-ui-v2 .user-av { min-width:0; padding:8px 5px 0; }
.mobile-ui-v2 .us-av { max-width:100%; height:auto; max-height:260px; object-fit:contain; }
.mobile-ui-v2 .stats { max-width:100%; padding:8px; overflow-wrap:anywhere; }
.mobile-ui-v2 .stats2 { max-width:100%; margin:5px; }

/* Battle assets are bounded without making the buttons huge. */
.mobile-ui-v2 .attack_btn { padding:8px; }
.mobile-ui-v2 .attack_btn img,
.mobile-ui-v2 .result_btn img { width:min(135px,42vw); height:auto; }
.mobile-ui-v2 .img_m_battle,
.mobile-ui-v2 .img { max-width:100%; height:auto; }

@media (max-width:380px) {
  .mobile-ui-v2 { font-size:13px; }
  .mobile-ui-v2 .location_head { font-size:15px; padding-left:6px; padding-right:5px; }
  .mobile-ui-v2 .panel_head { max-width:55%; font-size:11px; padding-left:3px; padding-right:5px; }
  .mobile-ui-v2.home-screen .block2.grab { gap:2px; padding-left:1px; padding-right:1px; }
  .mobile-ui-v2 .menu-wai { min-height:43px; padding:4px 1px; }
  .mobile-ui-v2 .menu-wai b { font-size:11px; }
  .mobile-ui-v2 .menu-wai span { font-size:9px!important; }
  .mobile-ui-v2 .btn3 { width:calc(50% - 6px); max-width:calc(50% - 6px); }
  .mobile-ui-v2 .btn33 { font-size:10px; }
}
