body {
	background: url('dark/bg.jpeg') no-repeat fixed 50% 0px #05090D;
	background-color: #05090D;
	max-width: 420px;
    height: 100%;
	margin: auto;
	font-size: 14px;
	font-family: Tahoma, Arial, Helvetica;
    overflow-x: hidden;
}

.page{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}

img {
	vertical-align: middle;
	border-style: none;
}
a {
	color: #E0E0E0;
	text-decoration: none;
}
.ln {
	color: #818182;
}
a.st {
	color: #818182;
	text-decoration: none;
	border-bottom: 1px solid #818182;
	line-height: 14px;
}
a.st:hover {
	color: #0cb5e2;
	border-bottom: 1px solid #0cb5e2;
}
.title1 {
	font-size: 14px;
    color: #FFF;
	border-bottom: 1px solid #b1b1b1;
	margin-bottom: 5px;
	line-height: 22px;
}
.txt {
	font-size: 15px;
	color: #b1b1b1;
	text-align: justify;
}
.a {
	font-size: 13px;
	background: linear-gradient(to bottom,#305176,#213852);
	border-bottom: 1px solid #32547B;
	color: #F1F1F1;
	padding: 1px;
}
.a_table-common {
    font-size: 11px;
    color: #e0e0e0;
    margin: 0px;
	border: 1px solid #32547B;
}
.a_table {
    border-collapse: collapse;
    font-size: 14px;
}

.sticky_header{
    position: -webkit-sticky;
    position: sticky;
    z-index: 9999;
    top: 0;
    left: 0;
}

.a_table-common td {
    padding: 1px 4px;
    border-width: 1px;
    border-color: #32547B;
    border-style: solid;
}

.a_table-common tr:nth-child(odd) {
    background: linear-gradient(to bottom,#305176,#213852);
}

.a_table-common .row-odd {
    background: linear-gradient(to bottom,#305176,#213852);
}

.a_table-common .row-even {
    background: #1A2B3F;
}

.a_table-common tr {
    background: #1A2B3F;
}
.body{
    flex: 1 0 auto;
}
.b {
	background-color: #162536;
    border-left: 1px solid #2D4B6E;
    border-right: 1px solid #2D4B6E;
    border-bottom: 1px solid #2D4B6E;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 1px;
	color: #b1b1b1;
	padding: 5px;
}
.b_inside {
    background-color: #162536;
    border-left: 1px solid #2D4B6E;
    border-right: 1px solid #2D4B6E;
    color: #b1b1b1;
    padding: 1px;
}
.b_foot {
    flex: 0 0 auto;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: #162536;
    border: 1px solid #2D4B6E;
    border-radius: 5px;
    color: #b1b1b1;
    padding: 5px;
    z-index: 9999;
}
.b_profile {
	background-color: #0F1A26;
	color: #b1b1b1;
	padding: 5px;
	padding-top: 10px;
	border-top: 1px solid #2D4B6E;
}
.b_large {
	background-color: #0F1A26;
	color: #b1b1b1;
	padding: 15px;
}
.foot {
	color: #818182;
	margin-top: 5px;
	text-decoration: none;
	font-size: 13px;
}
a.ft {
	color: #818182;
	text-decoration: none;
	border-bottom: 1px solid #818182;
	font-size: 13px;
	line-height: 14px;
}
a.ft:hover {
	color: #FFDF8C;
}
a.link {
border-top: 1px solid #2D4B6E;
border-bottom: 1px solid #001125;
display: block;
padding: 12px 5px 5px 5px;
min-height: 24px;
background: linear-gradient(#1A2B3F,#162536);
color: #FFDF8C;
}
a.link:hover{
border-top: 1px solid #162536;
border-bottom: 1px solid #162536;
display: block;
padding: 12px 5px 5px 5px;
min-height: 24px;
background: #162536;
color: #FFDF8C;
}
a.dark_link {
border-top: 1px solid #274260;
border-bottom: 1px solid #05090D;
display: block;
padding: 12px 5px 5px 5px;
min-height: 25px;
background: linear-gradient(#142231,#101C28);
color: #B1B1B1;
}
a.foot_link {
border-top: 1px solid #32547B;
border-bottom: 1px solid #091E36;
display: block;
padding: 10px 5px 5px 5px;
min-height: 24px;
background: linear-gradient(#2D4B6E,#243D59);
color: #FFDF8C;
}
a.foot_link:hover{
border-top: 1px solid #32547B;
border-bottom: 1px solid #091E36;
display: block;
padding: 10px 5px 5px 5px;
min-height: 24px;
background: #305176;
color: #FFDF8C;
}
.line {
	background: #162536 url('dark/line.png') no-repeat center;
	height: 18px;
}
.foot_line {
	background: #162536 url('dark/foot.png') no-repeat center;
    border-left: 1px solid #2D4B6E;
    border-right: 1px solid #2D4B6E;
	height: 38px;
}
.only_line {
	background: transparent url('dark/line.png') no-repeat center;
	height: 18px;
}
.text_line {
    background: transparent url('dark/line.png') no-repeat center;
    height: 10px;
}
.example {
    display:inline-block;
    position:relative;
}
.example .example_text{
display:block;
position:absolute;
left:0;
bottom:0;
width:100%;
box-sizing:border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
color:#fff;
padding-bottom: 3px;
padding-top: 3px;
background-color:rgba(0,0,0,.5);
}
.sep-stone {
padding: 10px;
background: url('dark/sep-stone-right.png') repeat-y scroll 0px 0px, url('dark/sep-stone-left.png') repeat-y scroll 100% 0px, url('dark/sep-stone-bottom.png') repeat-x scroll 0px 100%, url('dark/sep-stone-top.png') repeat-x scroll 0px 0px transparent;
}
.blue {
padding: 8px 3px ;
background: url('dark/blue-bg.png') #20364F;
color: #A8A8A8;
}

.green {
padding: 8px 3px ;
background: url('dark/green-bg.png') #242824;
color: #A8A8A8;
}

.red {
padding: 8px 3px ;
background: url('dark/red-bg.png') #282424;
color: #A8A8A8;
}

.button_blue{
	border-width: 1px;
	border-style: solid;
	color: #FFF;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
	background-color: #0F3556;
	background-image: linear-gradient(to bottom, #407998, #32547B);
	background-repeat: repeat-x;
	border: 1px solid;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	padding: 8px 14px;
	font-size: 13px;
    border-radius: 3px;
	display: inline-block;
	margin-top: 5px;
	margin-bottom: 5px;
}

.button_pressed{
	border-width: 1px;
	border-style: solid;
	color: #B1B1B1;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
	background-color: #0F1A26;
	border-color: #2D4B6E;
	padding: 7px 13px;
    font-size: 13px;
    border-radius: 3px;
	display:  inline-block;
	line-height: 16px;
}

.stat_panel{
	background: #101c28;
	border: 1px solid #7a6a3d;
	border-radius: 10px;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.stat_row{
	display: flex;
	align-items: center;
	gap: 5px;
}
.stat_icon{
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.stat_bar{
	flex: 1;
	height: 10px;
	border-radius: 5px;
	overflow: hidden;
	background: #16232a;
}
.stat_bar_fill{
	height: 100%;
}
.stat_bar_exp .stat_bar_fill{ background: #e0b84f; }
.stat_bar_hp .stat_bar_fill{ background: #d14545; }
.stat_bar_mp .stat_bar_fill{ background: #5ec8f0; }
.stat_val{
	font-size: 9px;
	color: #c9b98a;
	white-space: nowrap;
	text-shadow: black 0 1px 0;
}

.hp{
	padding-left: 2px;
	margin-top: 1px;
	margin-bottom: 1px;
	height:12px;
	background: #0D1A2A url(/images/bars/hp.png) no-repeat;
	border: 1px solid #0D1A2A;
}
.hp_small{
    margin: 0px;
    height: 2px;
    background: #0D1A2A url(/images/bars/hp.png) no-repeat;
    border: 1px solid #0D1A2A;
    width: 70%;
    display: inline-block;
}
.mp{
	padding-left: 2px;
	margin-top: 1px;
	margin-bottom: 1px;
	height:12px;
	background: #0D1A2A url(/images/bars/mp.png) no-repeat;
	border: 1px solid #0D1A2A;
}
.mp_small{
    margin-top: 1px;
    margin-bottom: 0px;
    height: 2px;
    background: #0D1A2A url(/images/bars/mp.png) no-repeat;
    border: 1px solid #0D1A2A;
    width: 70%;
    display: inline-block;
}
.exp{
	padding-left: 2px;
	margin-top: 1px;
	margin-bottom: 1px;
	height:12px;
	background: #0D1A2A url(/images/bars/exp.png) no-repeat;
	border: 1px solid #0D1A2A;
}
.clan_exp{
    padding-left: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    height:12px;
    background: #001125 url(/images/bars/exp.png) no-repeat;
    border: 1px solid #001125;
}

.hp_opp{height:2px; margin-top: 4px; background: black}
.hp_opp_in{height:2px;}

/* FORM */
form {
    display: block;
    margin-top: 0em;
    margin-block-end: 0em;
}
input[type~="text"],
input[type~="password"], textarea, select{
	background-color: #FFF;
	border: 1px solid #32547B;
	color: black;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 60%;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
input[type="submit"]{
    cursor: pointer;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 10px;
    margin: 3px;
    font-size: 14px;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
}
input[type="submit"]:hover{
    cursor: pointer;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 10px;
    margin: 3px;
    font-size: 14px;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
}
input[type="submit"].green{
    position: relative;
    height: auto;
    border: 1px solid #098203;
    border-radius: 3px;
    padding: 10px;
    margin: 1px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #01A70D, #044807);
    box-sizing: border-box;
    color: #e0e0e0;
}
input[type="submit"].green:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #62E06B, #2D7530);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #2ECA2F;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_small {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 7px;
    margin-top: 5px;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
}
.btn_small:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_smallest {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 1px;
    margin: 1px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
    color: #e0e0e0;
}
.btn_smallest:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_smallest_green {
    position: relative;
    height: auto;
    border: 1px solid #098203;
    border-radius: 3px;
    padding: 1px;
    margin: 1px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #01A70D, #044807);
    box-sizing: border-box;
    color: #e0e0e0;
}
.btn_smallest_green:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #62E06B, #2D7530);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #2ECA2F;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_mini{
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 3px;
    margin: 1px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
    color: #e0e0e0;
    font-size: 12px;
}
.btn_mini:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
/* OTHER */
.bottom {
	border-bottom: 1px solid #4d75a3;
}
.top {
	border-top: 1px solid #4d75a3;
}
.center {
	text-align: center;
}
.left {
	text-align: left !important;
}
.bradius {
	border-radius: 0px 0px 0px 0px;
}
.sup {
	color: #DD6666;
}
.mod {
	color: #FF6600;
}
.adm {
	color: #00D0FF;
}
/* LINE */
.lines {
    background-color: #eee;
	border-radius: 5px;
    padding: 1px;
	margin-top: 4px;
    color: #05090D;
}
.lines, .line_color{
    overflow: hidden;
    height: 100%;
    font-size: 10px;
}
.line_text{ position: absolute; color: #05090D; padding: 0 0 0 6px}
.lines { height: 15px; }
.hp .line_color {
    background-color: #FF0000;
	border-radius: 5px;
}
.eng .line_color {
    background-color: #49AFCD;
	border-radius: 5px;
}

/*!!!NEW!!!*/

.big_btn {
    position: relative;
    height: auto;
    font-family: "PT Serif", "Tahoma", sans-serif;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 10px;
    margin: 1px;
    font-size: 13px;
    display: block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.big_btn:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
	background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
	color: white;
}
.foot_btn {
    position: relative;
    height: auto;
    font-family: "PT Serif", "Tahoma", sans-serif;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 1px;
    margin: 1px;
    display: block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
    font-size: 11px;
}
.foot_btn:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
    color: white;
}
.foot_btn_off{
    position: relative;
    height: auto;
    font-family: "PT Serif", "Tahoma", sans-serif;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 1px;
    margin: 1px;
    display: block;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background: #162536;
    //background-image: linear-gradient(to bottom, #2D4B6E, #1B2D42);
    box-sizing: border-box;
    text-shadow: black 0 1px 0;
    color: grey;
    font-size: 11px;
}
.btn {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 5px;
	margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    display: block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.btn:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
	background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_pressed{
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    display: block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    box-sizing: border-box;
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
}
.btn_table {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 5px;
    font-size: 14px;
    display: block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
    text-shadow: black 0 1px 0;
    color: #e0e0e0;
}
.btn_table:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
    background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_small {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 7px;
	margin-top: 5px;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.btn_small:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
	background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.btn_small_pressed {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 7px;
	margin-top: 5px;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.btn_navigation {
    position: relative;
    height: auto;
    border: 1px solid #32547B;
    border-radius: 3px;
    padding: 1px;
	margin: 3px;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -moz-user-select: none;
    background-image: linear-gradient(to bottom, #2D4B6E, #213852);
    box-sizing: border-box;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.btn_navigation:hover{
    background: #FFCA77 none repeat scroll 0% 0%;
	background-image: linear-gradient(to bottom, #32547B, #2D4B6E);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border: 1px solid #32547B;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    box-shadow: 0px 0px 0px 1px #162536;
}
.event_info {
    box-sizing: border-box;
    margin: 5px;
	display: block;
    padding: 1px;
    border: 1px solid #213852;
    border-radius: 4px;
	background: #162536;
    box-shadow: 0px 0px 0px 1px #0A1828;
    color: #b1b1b1;
    text-align: left;
	font-size: 13px;
}
.event {
    margin: 5px;
    padding: 3px 3px;
    border: 1px solid #253E5B;
    border-radius: 4px;
	background: #1A2B3F;
    box-shadow: 0px 0px 0px 1px #0A1828;
    color: #e0e0e0;
    text-align: left;
	font-size: 14px;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.event_item {
    margin: 5px;
    padding: 5px;
    border: 1px solid #253E5B;
    border-radius: 4px;
	background: #1A2B3F;
    box-shadow: 0px 0px 0px 1px #0A1828;
    color: #b1b1b1;
    text-align: left;
	font-size: 14px;
	display: block;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.event_table {
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 50px;
    border: 1px solid #213852;
    border-radius: 4px;
	background: #162536;
    box-shadow: 0px 0px 0px 1px #0A1828;
    color: #b1b1b1;
    text-align: left;
	font-size: 14px;
	display: block;
	text-shadow: black 0 1px 0;
	color: #e0e0e0;
}
.event_start {
    box-sizing: border-box;
    margin: 5px;
    padding: 8px;
    min-height: 50px;
    border: 1px solid #213852;
    border-radius: 4px;
    background: #162536 none repeat scroll 0% 0%;
    box-shadow: 0px 0px 0px 1px #0A1828;
    color: #b1b1b1;
    text-align: left;
	font-size: 13px;
}
.avatar{
	background: #305176;
	border: 1px solid #32547B;
}
.border{
    //display:inline-block;
    box-sizing: border-box;
    width: 100%;
    max-width: 344px;
	border: 4px solid red;
	border-image: url(/images/border/border3.png) 4;
	margin: 0 auto;
}
.title{
	background: url(/css/dark/title.png) no-repeat center;
	height: 30px;
	margin: 3px;
	padding-top: 8px;
	text-align: center;
	text-shadow: black 0 1px 0;
	font-weight: bold;
	color: #e0e0e0;
}

.table-common {
    font-size: 11px;
    color: #e0e0e0;
    margin: 0 auto;
    border: 1px solid #32547B;
}
.table {
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
    font-size: 14px;
    width: 95%;
}
.table-common td {
    padding: 3px 2px;
    border-width: 1px;
    border-color: #32547B;
    border-style: solid dashed;
}

.table-common tr:nth-child(odd) {
    background: #213852;
}

.table-common .row-odd {
    background: #213852;
}

.table-common .row-even {
    background: #1A2B3F;
}

.table-common tr {
    background: #1A2B3F;
}

.skill{
    width: 42px;
    height: 42px;
    float: left;
    margin: 1px;
    text-align: center;
}

.potion{
    width: 42px;
    height: 42px;
    float: left;
    margin: 1px;
    text-align: center;
}

.underline:hover{
    text-decoration: underline;
}

.fast_log{
    background-color: rgba(0,0,0, 0.6);
    padding: 3px 0px;
    border-radius: 5px;
}

.event_float_btn {
    position: absolute;
    left: -50px;
    top: 10%;
    transform: translateY(-50%);
    z-index: 60;
}
.gold_shop_float_btn {
    position: absolute;
    left: -50px;
    top: calc(10% + 68px);
    transform: translateY(-50%);
    z-index: 60;
}
.bp_float_btn {
    position: absolute;
    left: -50px;
    top: calc(10% + 136px);
    transform: translateY(-50%);
    z-index: 60;
}
.quest_float_btn {
    position: absolute;
    left: -50px;
    top: calc(10% + 204px);
    transform: translateY(-50%);
    z-index: 60;
}
/* На узких экранах слева нет места - подтягиваем иконки внутрь арены, чтобы не резались по краю */
@media (max-width: 480px) {
    .event_float_btn, .gold_shop_float_btn, .bp_float_btn, .quest_float_btn {
        left: 2px;
    }
}
@keyframes item_glow_pulse {
    0%, 100% { box-shadow: 0 0 3px 1px var(--rarity-glow-lo); }
    50% { box-shadow: 0 0 12px 4px var(--rarity-glow-hi); }
}
@keyframes item_shine_sweep {
    0% { transform: translateX(-120%) rotate(20deg); }
    100% { transform: translateX(220%) rotate(20deg); }
}
.item_fx {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
    animation: item_glow_pulse 1.8s ease-in-out infinite;
}
.item_fx::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 30%;
    height: 200%;
    pointer-events: none;
    background: linear-gradient(90deg, var(--rarity-shine-t) 0%, var(--rarity-shine-c) 50%, var(--rarity-shine-t) 100%);
    animation: item_shine_sweep 2.6s ease-in-out infinite;
}

@keyframes boss_tile_glow {
    0%, 100% { box-shadow: inset 0 0 6px 2px rgba(255,80,80,0.5); }
    50% { box-shadow: inset 0 0 16px 5px rgba(255,80,80,0.95); }
}
.event_float_btn a, .gold_shop_float_btn a, .bp_float_btn a, .quest_float_btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.float_btn_label {
    margin-top: 3px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #241a06;
    background: linear-gradient(180deg, #f0d999, #c9a54a);
    padding: 1px 6px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.event_anim_border {
    position: relative;
    z-index: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: event_glow_pulse 2.2s ease-in-out infinite;
}
.event_anim_border img {
    animation: event_icon_breathe 2.2s ease-in-out infinite;
}
@keyframes event_glow_pulse {
    0%, 100% { box-shadow: 0 0 4px 1px rgba(94,200,240,0.35); }
    50% { box-shadow: 0 0 14px 5px rgba(94,200,240,0.75); }
}
@keyframes event_icon_breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}
.event_anim_border::before {
    content: '';
    position: absolute;
    z-index: -2;
    width: 200%;
    height: 200%;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(gold, gold), linear-gradient(#8a5a00, #8a5a00), linear-gradient(gold, gold), linear-gradient(#8a5a00, #8a5a00);
    animation: event_anim_spin 3s linear infinite;
}
.event_anim_border::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 50%;
    background: #162536;
}
@keyframes event_anim_spin {
    100% {
        transform: rotate(1turn);
    }
}
@keyframes portal_spin {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }
    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}
.anim_border {
    position: relative;
    z-index: 0;
    width: 44px;
    height: 44px;
    overflow: hidden;
    margin-right: 0px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.anim_border::before {
    content: '';
    position: absolute;
    z-index: -2;
    width: 200%;
    height: 200%;
    background-color: #BFE2FF;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(lime, lime), linear-gradient(green, green), linear-gradient(lime, lime), linear-gradient(green, green);
    animation: anim_anim_border 3s linear infinite;
}
.anim_border::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    background: white;
}
@keyframes anim_anim_border {
    100% {
        transform: rotate(1turn);
    }
}

/* Зоны удара в бою */
.attack_zone_btn {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.15s, transform 0.15s;
}
.attack_zone_btn:hover, .attack_zone_btn:active {
    opacity: 1;
    transform: scale(1.08);
}
.attack_zone_btn img {
    display: block;
    border-radius: 50%;
}
.attack_zone_btn_main img {
    box-shadow: 0 0 6px rgba(255,215,80,0.6);
}

/* Веер умений */
.skill_wheel_toggle {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6a6ad0, #32547B 70%);
    border: 2px solid #4a4a9a;
    box-shadow: 0 0 6px rgba(120,120,255,0.6);
    cursor: pointer;
    margin: 0 auto;
}
.skill_wheel_toggle img {
    display: block;
    margin: 9px auto;
}
.skill_wheel_items {
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: fixed;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(10,10,20,0.92);
    border: 2px solid #4a4a9a;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* ===== Рулетка ===== */
.roulette_wrap {
    position: relative;
    width: 300px;
    max-width: 100%;
    height: 64px;
    margin: 10px auto;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    border: 1px solid #333;
}
.roulette_strip {
    display: flex;
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(0px);
}
.roulette_cell {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roulette_pointer {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff4d4d;
    box-shadow: 0 0 6px 1px rgba(255,77,77,0.8);
    z-index: 5;
    transform: translateX(-1px);
}
