/* General */
body {
/*    background-image: url("../images/bg-body.jpg"); */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #100e11;
    color: #ece6e8;
	min-height: 100vh;
	font-size: 0.9rem;
}
#ads-head-728 {
     float:right;
     margin: 20px 10px 0 0;
     height:90px;
     width:728px;
     background:#fff;
     padding:3px;
     border:1px dashed #ccc;
}
 .ads-120x600 {
     height:600px;
     width:120px;
     background:#fff;
     padding:3px;
     border:1px dashed #ccc;
     margin:0 0 10px;
}
 .ads-120x600-left {
     height:600px;
     width:120px;
     background:#fff;
     padding:3px;
     border:1px dashed #ccc;
     margin:0 10px;
}
 #bg-ads {
     width:100%;
     position:relative;
     z-index: 0 
}
 #bg-ads:after {
     content:".";
     display:block;
     height:0;
     clear:both;
     visibility:hidden 
}
 .bgadsleft{
  right: 50%;
  margin-right: 524px;
}
 .bgadsright {
  left: 50%;
  margin-left: 524px;
}
 .bgadsfixed {
     position:fixed 
}
.topleftad {
    display:inline-block;
    margin-right:10px;
}
.toprightad {
    display:inline-block;
    margin-left:10px;
}
main {
    background-color: #100e11;
}

footer {
    background: #18151a;
    color: #9a9a9a;
}

a {
    color: #fffffe;
}

a:hover {
    transition: color 1s;
    color: #e5484d;
    text-decoration: none;
}

@media all and (max-width: 991px) {
	
	.container {
		max-width: 100%;
	}

}
@media all and (min-width: 1340px) {
	
	.container {
		max-width: 1340px;
	}

}

pre.link-code {
    margin-bottom: 0;
}
pre.link-code code {
    white-space: pre-wrap;
}


/* Navigation */
.navbar {
    z-index: 1;
    background-image: url(../images/bg-nav.png);
    background-color: #18151a;
    border-bottom: 2px solid #a8323a;
}
.navbar:first-of-type {
    z-index: 2;
}
.navbar-nav {
    font-size: 1rem;
}
.navbar-nav .nav-link.btn:not(.btn-link),
.navbar-nav .nav-link.btn:not(.btn-link):focus, 
.navbar-nav .nav-link.btn:not(.btn-link):hover {
    color: rgba(255, 255, 255, 1);
}


@media all and (max-width: 767px) {
	
	.navbar .navbar-collapse {
		background-color: #18151a;
		border: 1px solid #312a33;
	}
	.navbar:first-child .navbar-collapse .navbar-nav .nav-item {
		background-color: #18151a;
		border-top: 1px solid #312a33;
	}
	.navbar:first-child .navbar-collapse .navbar-nav:first-child .nav-item:first-child {
		border-top: 0;
	}
	.navbar:first-child .navbar-collapse .navbar-nav .nav-item .nav-link {
		padding: .75rem;
	}
	.navbar .btn-primary,
	.navbar .btn-primary:hover,
	.navbar :not(:disabled):not(.disabled).btn-primary.active,
	.navbar :not(:disabled):not(.disabled).btn-primary:active, 
	.navbar .show > .btn-primary.dropdown-toggle {
		background: transparent;
		border: 0;
		text-align: left;
	}

}

/* Dropdown */
.dropdown-menu {
    background: #18151a;
    border-color: #312a33;
    color: #ece6e8;
}
.dropdown-item {
    color: #ece6e8;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: #312a33;
}
.dropdown-item:focus,
.dropdown-item:hover {
    color: #ece6e8;
    border-color: #312a33;
    background-color: rgba(255, 255, 255, 0.12);
}
.dropdown-divider {
    border-top-color: #312a33;
}

@media all and (min-width: 992px) {
	
	.dropdown-login .dropdown-menu {
		min-width: 14rem;
		max-width: 16rem;
	}

}

/* Form */
.form-control {
    color: #aaa;
    background-color: #18151a;
    border-color: #35353a;
}
.form-control:focus {
    color: inherit;
    background-color: #18151a;
    border-color: #44444a;
    box-shadow: 0px 0px 5px rgba(68,68,74,0.6);
}
.form-control:disabled, 
.form-control[readonly] {
    background-color: #18151a;
    opacity: 0.6;
}


/* Button */
.btn.focus, 
.btn:focus,
.btn.active:focus:not(:disabled):not(.disabled),
.btn:focus:active:not(:disabled):not(.disabled),
.show > .btn.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-primary {
    background-color: #312a33;
    border-color: rgba(0,0,0,0.1);
}
.btn-primary:hover,
.btn-primary.active:not(:disabled):not(.disabled),
.btn-primary:active:not(:disabled):not(.disabled), 
.show > .btn-primary.dropdown-toggle {
    border-color: rgba(0,0,0,0.1);
    background-color: #312a33;
    background-image: -moz-linear-gradient(top, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 100%);
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 100%);
    background-image: -o-linear-gradient(top, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%);
    background-image: -ms-linear-gradient(top, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%);
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 100%);
}
.btn-primary.disabled, :disabled.btn-primary {
    background-color: #312a33;
    border-color: rgba(0,0,0,0.1);
}

.btn-theme {
	color: #fff;
	background-color: #a8323a;
    border-color: rgba(0,0,0,0.1);
}
.btn-theme:hover {
	color: #fff;
	background-color: #c23b42;
    border-color: rgba(0,0,0,0.1);
}
.btn-theme.disabled, .btn-theme:disabled {
	color: #fff;
	background-color: #a8323a;
    border-color: rgba(0,0,0,0.1);
}
.btn-theme:not(:disabled):not(.disabled):active, .btn-theme:not(:disabled):not(.disabled).active,
.show > .btn-theme.dropdown-toggle {
	color: #fff;
	background-color: #c23b42;
    border-color: rgba(0,0,0,0.1);
}


/* Backgrounds */
.bg-theme {
	background-color: #a8323a !important;
}
.bg-light-green {
    background-color: #dae4e3 !important;
}



/* Badge */
.badge-l2j {
    color: #fff;
    background-color: #FF6600;
}
.badge-l2off {
    color: #fff;
    background-color: #008000;
}


/* Cards */
.card {
	background-color: #18151a;
    border-color: #312a33;
	box-shadow: 0px 1px 0px #312a33;
}
.card.premium {
    background-color: rgba(245, 185, 66, 0.16);
    border-color: rgba(245, 185, 66, 0.07);
}
.card-header {
    padding: 0.5rem 1rem;
    color: #fff;
    border-bottom: 2px solid #a8323a;
	text-transform: uppercase;
}
.card-body {
    padding: 0.5rem 1rem;
}
.card-footer {
    padding: 0.5rem 1rem;
    border-top-color: #312a33;

}
.card.premium .card-footer {
    padding: 0.5rem 1rem;
    border-top-color: rgba(245, 185, 66, 0.08);
}

/* List groups */
.list-group-item {
    padding: 0.5rem 1rem;
	background-color: #18151a;
	border-color: #312a33;
}
.list-group-item.premium {
    background-color: rgba(245, 185, 66, 0.16);
    border-color: rgba(245, 185, 66, 0.07);
}

/* Pagination */
.page-link {
	background: #312a33;
    border-color: rgba(245, 185, 66, 0.07);
	color: #e5484d;
}
.page-link:hover {
    color: #f2777b;
    background-color: rgba(245, 185, 66, 0.16);
    border-color: rgba(245, 185, 66, 0.07);
}
.page-link:focus {
    box-shadow: none;
}

.page-item.disabled .page-link,
.page-item.active .page-link {
    background-color: rgba(245, 185, 66, 0.16);
    border-color: rgba(245, 185, 66, 0.07);
	color: #fff;
}



/* Customs */
.blinkOpening {
	animation: blinker 0.5s linear infinite;
} 
@keyframes blinker {  
	100% { 
		opacity: 0.3; 
	}
}

.cursor-pointer {
	cursor: pointer;
}

.g-recaptcha.gateway > div {
	margin: 0 auto;
}

#acf_youtube_container .help-youtube {
	display: none;
}
#acf_youtube_container .form-control:hover + .help-youtube,
#acf_youtube_container .form-control:focus + .help-youtube {
	display: initial;
	top: 0;
	left: 0;
}


ul.thumbnails.image_picker_selector {
    display: -ms-flexbox;
    display: flex;
    list-style: none;
	padding: 0;
	margin: 0;
}
ul.thumbnails.image_picker_selector li {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
ul.thumbnails.image_picker_selector li:not(:last-child) {
    margin-right: 0.5rem;
}
ul.thumbnails.image_picker_selector li .thumbnail {
    padding: 0.5rem;
    background-color: #18151a;
    border: 1px solid #312a33;
	border-radius: .25rem;
	text-align; center;
}
ul.thumbnails.image_picker_selector li .thumbnail.selected {
    background-color: #343a40;
}
ul.thumbnails.image_picker_selector p {
    margin-bottom: 0;
}

#user-panel-chart {
	width: 100%;
	min-height: 300px;
}

#user_cp_content .subtext {
	display: none;
}

.chronicle-c1,
.chronicle-c2,
.chronicle-c3,
.chronicle-c4,
.chronicle-c5 {
	background-color: #000;
	color: #fff;
}
.chronicle-classic {
	background-color: #F87600;
	color: #fff;
}
.chronicle-ep {
	background-color: #466a9b;
	color: #fff;
}
.chronicle-fya {
	background-color: #00aeff;
	color: #fff;
}
.chronicle-gf {
	background-color: #008f1d;
	color: #fff;
}
.chronicle-god {
	background-color: #ff005a;
	color: #fff;
}
.chronicle-h5 {
	background-color: #a349ff;
	color: #fff;
}
.chronicle-il {
	background-color: #ffee06;
	color: #4f5a65;
}


.description-height-90 {
	max-height: 90px;
	overflow-y: hidden;
}


/* File upload */
.fileinput-button {
    position: relative;
    overflow: hidden;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}
.files audio,
.files video {
    max-width: 300px;
}
.files img {
    vertical-align: middle;
}

.blueimp-gallery,
.blueimp-gallery > .slides > .slide > .slide-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Prevent artifacts in Mozilla Firefox: */
  -moz-backface-visibility: hidden;
}
.blueimp-gallery > .slides > .slide > .slide-content {
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 1;
}
.blueimp-gallery {
  position: fixed;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  display: none;
  direction: ltr;
  -ms-touch-action: none;
  touch-action: none;
}
.blueimp-gallery-carousel {
  position: relative;
  z-index: auto;
  margin: 1em auto;
  /* Set the carousel width/height ratio to 16/9: */
  padding-bottom: 56.25%;
  box-shadow: 0 0 10px #000;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}
.blueimp-gallery-display {
  display: block;
  opacity: 1;
}
.blueimp-gallery > .slides {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.blueimp-gallery-carousel > .slides {
  position: absolute;
}
.blueimp-gallery > .slides > .slide {
  position: relative;
  float: left;
  height: 100%;
  text-align: center;
  -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
     -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
      -ms-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
       -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
          transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.blueimp-gallery,
.blueimp-gallery > .slides > .slide > .slide-content {
  -webkit-transition: opacity 0.2s linear;
     -moz-transition: opacity 0.2s linear;
      -ms-transition: opacity 0.2s linear;
       -o-transition: opacity 0.2s linear;
          transition: opacity 0.2s linear;
}
.blueimp-gallery > .slides > .slide-loading {
  background: url(../img/loading.gif) center no-repeat;
  background-size: 64px 64px;
}
.blueimp-gallery > .slides > .slide-loading > .slide-content {
  opacity: 0;
}
.blueimp-gallery > .slides > .slide-error {
  background: url(../img/error.png) center no-repeat;
}
.blueimp-gallery > .slides > .slide-error > .slide-content {
  display: none;
}
.blueimp-gallery > .prev,
.blueimp-gallery > .next {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -23px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 60px;
  font-weight: 100;
  line-height: 30px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 2px #000;
  text-align: center;
  background: #222;
  background: rgba(0, 0, 0, 0.5);
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  border: 3px solid #fff;
  -webkit-border-radius: 23px;
     -moz-border-radius: 23px;
          border-radius: 23px;
  opacity: 0.5;
  cursor: pointer;
  display: none;
}
.blueimp-gallery > .next {
  left: auto;
  right: 15px;
}
.blueimp-gallery > .close,
.blueimp-gallery > .title {
  position: absolute;
  top: 15px;
  left: 15px;
  margin: 0 40px 0 0;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  text-shadow: 0 0 2px #000;
  opacity: 0.8;
  display: none;
}
.blueimp-gallery > .close {
  padding: 15px;
  right: 15px;
  left: auto;
  margin: -15px;
  font-size: 30px;
  text-decoration: none;
  cursor: pointer;
}
.blueimp-gallery > .play-pause {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 15px;
  height: 15px;
  background: url(../img/play-pause.png) 0 0 no-repeat;
  cursor: pointer;
  opacity: 0.5;
  display: none;
}
.blueimp-gallery-playing > .play-pause {
  background-position: -15px 0;
}
.blueimp-gallery > .prev:not(:disabled):not(.disabled):hover,
.blueimp-gallery > .next:not(:disabled):not(.disabled):hover,
.blueimp-gallery > .close:not(:disabled):not(.disabled):hover,
.blueimp-gallery > .title:not(:disabled):not(.disabled):hover,
.blueimp-gallery > .play-pause:not(:disabled):not(.disabled):hover {
  color: #fff;
  opacity: 1;
}

.blueimp-gallery-controls > .prev,
.blueimp-gallery-controls > .next,
.blueimp-gallery-controls > .close,
.blueimp-gallery-controls > .title,
.blueimp-gallery-controls > .play-pause {
  display: block;
  /* Fix z-index issues (controls behind slide element) on Android: */
  -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
      -ms-transform: translateZ(0);
       -o-transform: translateZ(0);
          transform: translateZ(0);
}
.blueimp-gallery-single > .prev,
.blueimp-gallery-left > .prev,
.blueimp-gallery-single > .next,
.blueimp-gallery-right > .next,
.blueimp-gallery-single > .play-pause {
  display: none;
}
.blueimp-gallery > .slides > .slide > .slide-content,
.blueimp-gallery > .prev,
.blueimp-gallery > .next,
.blueimp-gallery > .close,
.blueimp-gallery > .play-pause {
  -webkit-user-select: none;
   -khtml-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

/* Replace PNGs with SVGs for capable browsers (excluding IE<9) */
body:last-child .blueimp-gallery > .slides > .slide-error {
  background-image: url(../img/error.svg);
}
body:last-child .blueimp-gallery > .play-pause {
  width: 20px;
  height: 20px;
  background-size: 40px 20px;
  background-image: url(../img/play-pause.svg);
}
body:last-child .blueimp-gallery-playing > .play-pause {
  background-position: -20px 0;
}

/* IE7 fixes */
*+html .blueimp-gallery > .slides > .slide {
  min-height: 300px;
}
*+html .blueimp-gallery > .slides > .slide > .slide-content {
  position: relative;
}




@media (max-width: 992px){
		
    .fileupload-buttonbar .toggle,
    .files .toggle,
    .files .btn span {
        display: none;
    }

}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}

/* Morris chart */
.morris svg{
	width:100% !important;
}
.morris-hover {
    position:absolute;
    z-index:1000;
}
.morris-hover.morris-default-style {
    border-radius:10px;
    padding:6px;
    color:#666;
    background:rgba(255,255,255,0.8);
    border:solid 2px rgba(230,230,230,0.8);
    font-family:sans-serif;
    font-size:12px;
    text-align:center;
}
.morris-hover.morris-default-style .morris-hover-row-label {
    font-weight:bold;
    margin:0.25em 0;
}
.morris-hover.morris-default-style .morris-hover-point {
    white-space:nowrap;
    margin:0.1em 0;
}
.morris .card {
	border-radius: 0;
}
.morris .nav-tabs {
	border-bottom-color: #312a33;
}
.morris .nav-tabs .nav-item + .nav-item {
	margin-left: 5px;
}
.morris .nav-tabs .nav-link{
	background-color: #18151a;
    border-color: #312a33;
	color: #fff;
}
.morris .nav-tabs .nav-item .nav-link.active,
.morris .nav-tabs .nav-link:focus,
.morris .nav-tabs .nav-link:hover {
	background-color: #18151a;
    border-color: #312a33;
	border-bottom-color: #18151a;
}


/* Rankings list (l2r) */
.l2r-card { position: relative; overflow: hidden; transition: border-color .2s, background-color .2s; }
.l2r-card:hover { border-color: #a8323a; background-color: #211c23; }
.l2r-main { display: flex; align-items: stretch; }
.l2r-rank { display: flex; align-items: center; justify-content: center; flex: none; width: 56px; background: #100e11; border-right: 1px solid #312a33; color: #9a8e94; font-size: 1.25rem; font-weight: 700; }
.l2r-rank-1 .l2r-rank { background: #e3b341; color: #100e11; }
.l2r-rank-2 .l2r-rank { background: #b7bcc6; color: #100e11; }
.l2r-rank-3 .l2r-rank { background: #c0814a; color: #100e11; }
.l2r-info { flex: 1; min-width: 0; padding: .7rem 1rem; }
.l2r-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.l2r-title { margin-right: .2rem; color: #fff; font-size: 1.05rem; font-weight: 700; }
.l2r-card:hover .l2r-title { color: #e5484d; }
.l2r-stretch::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.l2r-head .badge, .l2r-chron { display: inline-flex; align-items: center; height: 20px; padding: 0 .5rem; border-radius: .25rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; }
.l2r-open { display: inline-flex; align-items: center; gap: .3rem; height: 20px; padding: 0 .55rem; border: 1px solid rgba(60, 207, 145, .55); border-radius: 1rem; background: rgba(60, 207, 145, .08); color: #7ee2b8; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.l2r-rates { display: flex; flex-wrap: wrap; gap: .35rem; }
.l2r-rates span { display: inline-flex; align-items: baseline; gap: .35rem; padding: .15rem .55rem; border: 1px solid #312a33; border-radius: .3rem; background: #100e11; color: #fff; font-size: .8rem; font-weight: 600; }
.l2r-rates small { color: #9a8e94; font-size: .65rem; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.l2r-votes { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; min-width: 84px; padding: .5rem .75rem; border-left: 1px solid #312a33; text-align: center; }
.l2r-votes b { color: #e5484d; font-size: 1.5rem; line-height: 1.1; }
.l2r-votes small { color: #9a8e94; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.l2r-card.l2r-premium { border-color: rgba(227, 179, 65, .35); background: linear-gradient(90deg, rgba(227, 179, 65, .08), #18151a 45%); }
.l2r-card.l2r-premium:hover { border-color: #e3b341; }
.l2r-premium .l2r-title::before { content: "\f005"; margin-right: .35rem; color: #e3b341; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; }
.l2r-star { background: #e3b341; color: #100e11; font-size: 1rem; }
.l2r-sponsored .l2r-title::before { content: none; }
.l2r-body { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid rgba(227, 179, 65, .15); }
.l2r-banner { flex: none; }
.l2r-banner img { display: block; max-width: 120px; max-height: 90px; border-radius: .3rem; }
.l2r-desc { flex: 1; min-width: 0; color: #ece6e8; font-size: .85rem; line-height: 1.5; }
@media (max-width: 575.98px) {
	.l2r-rank { width: 42px; font-size: 1rem; }
	.l2r-info { padding: .6rem .7rem; }
	.l2r-votes { min-width: 64px; padding: .5rem; }
	.l2r-votes b { font-size: 1.2rem; }
	.l2r-body { flex-direction: column; align-items: flex-start; }
}


/* Front page blocks (l2h) */
.l2h-card .card-header { display: flex; align-items: center; gap: .5rem; }
.l2h-card .card-header i { color: #e5484d; }
.l2h-row { position: relative; display: flex; align-items: center; gap: .65rem; min-height: 44px; transition: background-color .2s; }
.l2h-row:hover { background-color: #211c23; }
.l2h-chron { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 22px; border: 1px solid #312a33; border-radius: .3rem; background: #100e11; }
.l2h-chron img { max-width: 28px; max-height: 16px; }
.l2h-name { flex: 1; min-width: 0; color: #ece6e8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l2h-name::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.l2h-row:hover .l2h-name { color: #e5484d; }
.l2h-arrow { flex: none; color: #4d4350; font-size: .75rem; transition: color .2s, transform .2s; }
.l2h-row:hover .l2h-arrow { color: #e5484d; transform: translateX(2px); }
.l2h-rank { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #312a33; color: #9a8e94; font-size: .75rem; font-weight: 700; }
.l2h-rank-1 .l2h-rank { background: #e3b341; color: #100e11; }
.l2h-rank-2 .l2h-rank { background: #b7bcc6; color: #100e11; }
.l2h-rank-3 .l2h-rank { background: #c0814a; color: #100e11; }
.l2h-row.premium .l2h-star { width: 24px; text-align: center; }
.l2h-date { flex: none; padding: .15rem .6rem; border: 1px solid rgba(60, 207, 145, .55); border-radius: 1rem; background: rgba(60, 207, 145, .08); color: #7ee2b8; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.l2h-premium .l2h-row { background-image: linear-gradient(90deg, rgba(227, 179, 65, .07), transparent 60%); }
.l2h-star { flex: none; color: #e3b341; font-size: .8rem; }
.l2h-empty { padding: 1.5rem 1rem; color: #9a8e94; text-align: center; }
.l2h-empty a { color: #e5484d; font-weight: 600; }


/* Server details page (l2d) */
.l2d-hero { overflow: hidden; background: linear-gradient(135deg, #2a1a1e 0%, #18151a 65%); border-top: 3px solid #e5484d; }
.l2d-hero .l2d-main { padding: 1.5rem 1.5rem 1.25rem; }
.l2d-hero .l2d-side { display: flex; flex-direction: column; justify-content: center; gap: .75rem; padding: 1.5rem 1.5rem 1.25rem; }
.l2d-title { margin: 0 0 .75rem; color: #fff; font-size: 1.9rem; font-weight: 700; line-height: 1.2; word-break: break-word; }
.l2d-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.l2d-tags .badge, .l2d-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 .65rem; border-radius: .35rem; font-size: .75rem; font-weight: 600; }
.l2d-tag { border: 1px solid #312a33; background: #100e11; }
.l2d-tag img { max-height: 18px; }
.l2d-hero .alert { display: inline-flex; align-items: center; margin: 0 0 .75rem !important; padding: .35rem .9rem !important; border: 1px solid rgba(60, 207, 145, .55); border-radius: 2rem; background: rgba(60, 207, 145, .08); color: #7ee2b8; font-size: .8rem; }
.l2d-status:empty { display: none; }
.l2d-votes { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border: 1px solid #312a33; border-radius: .5rem; background: #100e11; }
.l2d-votes-num { color: #e5484d; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.l2d-votes small { color: #9a8e94; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }
.l2d-actions { display: flex; gap: .5rem; }
.l2d-actions .btn { flex: 1; padding: .55rem .5rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.l2d-btn-vote { background: #e5484d; border-color: #e5484d; color: #fff; }
.l2d-btn-vote:hover { background: #f2777b; border-color: #f2777b; color: #fff; }
.l2d-btn-promote { display: block; margin-top: .5rem; border: 1px dashed #e3b341; color: #e3b341; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.l2d-btn-promote:hover { border-style: solid; background: rgba(227, 179, 65, .1); color: #f5cd6b; }
.l2-cd-live { color: #3ccf91; }
.l2d-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #312a33; }
.l2d-fact { padding: .85rem 1.5rem; min-width: 0; }
.l2d-fact + .l2d-fact { border-left: 1px solid #312a33; }
.l2d-fact small { display: block; margin-bottom: .2rem; color: #9a8e94; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }
.l2d-fact b, .l2d-fact a { display: block; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l2d-fact a:hover { color: #e5484d; }
.l2d-rates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.l2d-rate { padding: .7rem .25rem; border: 1px solid #312a33; border-radius: .5rem; background: #100e11; text-align: center; }
.l2d-rate b { display: block; color: #e5484d; font-size: 1.35rem; line-height: 1.2; }
.l2d-rate small { display: block; color: #9a8e94; text-transform: uppercase; font-size: .65rem; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l2d-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
.l2d-feat { display: flex; align-items: center; gap: .5rem; padding: .45rem .75rem; border: 1px solid #312a33; border-radius: .5rem; color: #6e6268; font-size: .8rem; }
.l2d-feat::before { content: "\2715"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #312a33; font-size: .6rem; font-weight: 700; }
.l2d-feat.feat-1 { border-color: rgba(60, 207, 145, .5); color: #ece6e8; background: rgba(60, 207, 145, .07); }
.l2d-feat.feat-1::before { content: "\2713"; background: #3ccf91; color: #0b1a12; }
.l2d-desc { line-height: 1.7; }
@media (max-width: 991.98px) {
	.l2d-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.l2d-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l2d-fact:nth-child(3) { border-left: 0; }
	.l2d-fact:nth-child(n+3) { border-top: 1px solid #312a33; }
}
@media (max-width: 767.98px) {
	.l2d-hero .l2d-side { padding-top: 0; }
	.l2d-title { font-size: 1.5rem; }
	.l2d-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
	.l2d-rates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.l2d-facts { grid-template-columns: 1fr; }
	.l2d-fact + .l2d-fact { border-left: 0; border-top: 1px solid #312a33; }
}


/* User control panel (l2u) */
#user-panel { white-space: nowrap; }
.l2u-premium { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border: 1px solid rgba(227, 179, 65, .45); border-radius: .5rem; background: linear-gradient(90deg, rgba(227, 179, 65, .14), rgba(227, 179, 65, .03)); color: #f3e6c4; }
.l2u-premium > i { color: #e3b341; font-size: 1.2rem; }
.l2u-premium strong { color: #fff; }
.l2u-premium a { display: inline-block; margin-left: .5rem; padding: .3rem .9rem; border-radius: .35rem; background: #e3b341; color: #1a1405; font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .03em; }
.l2u-premium a:hover { background: #f5cd6b; color: #1a1405; }
.l2u-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; padding: .5rem; border: 1px solid #312a33; border-radius: .5rem; background: #18151a; }
.l2u-nav .dropdown-item { width: auto; padding: .45rem .85rem; border-radius: .35rem; color: #ece6e8; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.l2u-nav .dropdown-item:hover { background: #312a33; color: #fff; }
.l2u-nav .dropdown-item.active { background: #a8323a; color: #fff; }
.l2u-nav .dropdown-item:last-child { margin-left: auto; color: #9a8e94; }
.l2u-nav .dropdown-item:last-child:hover { color: #fff; }

/* Chronicles without an image or colour get a neutral text badge */
.l2h-chron { width: auto; min-width: 34px; padding: 0 .35rem; color: #fff; font-size: .6rem; font-weight: 700; white-space: nowrap; }
.l2d-tag { color: #fff; font-size: .75rem; }
:where(.l2r-chron) { background-color: #3a3a44; color: #fff; }

/* Ad blocker wall */
.l2-ab-wall { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 12, .92); backdrop-filter: blur(6px); }
.l2-ab-wall[hidden] { display: none; }
.l2-ab-box { max-width: 480px; padding: 2rem 1.75rem; border: 1px solid #312a33; border-top: 3px solid #e5484d; border-radius: .6rem; background: #18151a; text-align: center; color: #ece6e8; }
.l2-ab-icon { margin-bottom: .75rem; color: #e5484d; font-size: 2.5rem; }
.l2-ab-box h2 { margin-bottom: .75rem; color: #fff; font-size: 1.4rem; font-weight: 700; }
.l2-ab-box p { line-height: 1.6; }
.l2-ab-en { color: #9a8e94; font-size: .85rem; }
.l2-ab-box .btn { margin-top: .5rem; padding: .6rem 1.2rem; font-weight: 600; }

/* Front page v2: rows without chronicle icons, rates + chronicle under the name */
.l2h-info { flex: 1; min-width: 0; }
.l2h-info .l2h-name { display: block; line-height: 1.3; }
.l2h-meta { display: block; color: #9a8e94; font-size: .75rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l2h-meta b { color: #e5484d; font-weight: 700; }
.l2h-bullet { flex: none; width: 24px; color: #e5484d; font-size: .8rem; text-align: center; }
.l2h-star { width: 24px; text-align: center; }
.l2h-when { flex: none; color: #9a8e94; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.l2h-ext-coming .l2h-when { padding: .1rem .5rem; border: 1px solid rgba(60, 207, 145, .55); border-radius: 1rem; color: #7ee2b8; }
.l2h-card .card-header { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Front page: equal-height cards in each row */
.l2h-home > [class*="col-"] { display: flex; flex-direction: column; }
.l2h-home .l2h-card { flex: 1; }

/* Chronicle filter pills under the site title */
.l2-chron-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: fit-content; max-width: 100%; margin: 1rem auto 0; padding: .4rem; border: 1px solid #312a33; border-radius: .75rem; background: #18151a; }
.l2-chron-bar a { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: .5rem; color: #ece6e8; font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s; }
.l2-chron-bar a:hover { background: #312a33; color: #fff; }
.l2-chron-bar a.active { background: #312a33; color: #fff; box-shadow: inset 0 -2px 0 #e5484d; }
.l2-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }

/* Airier layout (palette demo proportions) */
.card { border-radius: .6rem; overflow: hidden; }
.card-header { padding: .75rem 1.1rem; }
.card-body { padding: .9rem 1.1rem; }
.list-group-item { padding: .65rem 1.1rem; }

/* Front page rows */
.l2h-home { row-gap: .5rem; }
.l2h-row { gap: .8rem; min-height: 58px; padding-top: .7rem; padding-bottom: .7rem; }
.l2h-info .l2h-name { font-size: .95rem; }
.l2h-meta { margin-top: .15rem; font-size: .78rem; }
.l2h-rank { width: 26px; height: 26px; }

/* Server list cards */
.l2r-card.mb-2 { margin-bottom: .75rem !important; }
.l2r-rank { width: 62px; font-size: 1.35rem; }
.l2r-info { padding: .95rem 1.25rem; }
.l2r-head { margin-bottom: .6rem; gap: .5rem; }
.l2r-title { font-size: 1.1rem; }
.l2r-rates { gap: .45rem; }
.l2r-rates span { padding: .2rem .65rem; border-radius: .35rem; }
.l2r-votes { min-width: 92px; padding: .75rem 1rem; }
.l2r-votes b { font-size: 1.6rem; }
.l2r-body { padding: .9rem 1.25rem; }
@media (max-width: 575.98px) {
	.l2r-rank { width: 44px; font-size: 1.05rem; }
	.l2r-info { padding: .75rem .85rem; }
	.l2r-votes { min-width: 66px; padding: .5rem; }
}

/* Larger type (demo size: 15px base) */
body { font-size: .95rem; }
.card-header { font-size: .95rem; letter-spacing: .02em; }
.l2h-info .l2h-name { font-size: 1rem; }
.l2h-meta { font-size: .8rem; }
.l2h-when { font-size: .75rem; }
.l2r-title { font-size: 1.15rem; }
.l2r-rates span { font-size: .85rem; }
.l2r-rates small { font-size: .7rem; }
.l2r-head .badge, .l2r-chron, .l2r-open { height: 22px; font-size: .72rem; }
.l2d-title { font-size: 2rem; }
.l2d-fact b, .l2d-fact a { font-size: 1rem; }
.l2d-rate b { font-size: 1.45rem; }
.l2d-feat { font-size: .85rem; }
.l2d-desc { font-size: 1rem; }
.l2-chron-bar a { font-size: .95rem; }

/* Side banners (left/right of the page): fill the free space beside the 1340px content and scale with the window */
.bg-ads.bgadsfixed { position: fixed; top: 0; z-index: 3; width: calc((100vw - 1340px) / 2); height: 100vh; margin: 0; overflow: hidden; }
.bg-ads.bgadsleft { left: 0; right: auto; }
.bg-ads.bgadsright { right: 0; left: auto; }
.bg-ads a, .bg-ads .ubm_banner { display: block; height: 100%; }
.bg-ads img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border: 0; }
/* Not enough room next to the content: hide them instead of covering the page */
@media (max-width: 1579.98px) { .bg-ads.bgadsfixed { display: none; } }

/* 120x600 side banners on medium screens: the content gets narrower to leave a 150px gutter each side */
.l2-sky { display: none; }
@media (min-width: 1200px) and (max-width: 1579.98px) {
	.container { max-width: calc(100vw - 300px); }
	.l2-sky { display: block; position: fixed; top: 0; z-index: 3; width: 120px; max-height: 600px; overflow: hidden; }
	.l2-sky-left { left: 15px; }
	.l2-sky-right { right: 15px; }
	.l2-sky img { display: block; max-width: 120px; height: auto; border: 0; }
}

/* Side banners v2: 120x600 next to the content from 1200px (replaces the wallpaper and the 1200-1579px rules above) */
@media (min-width: 1200px) {
	.container { max-width: min(1340px, calc(100vw - 300px)); }
	.l2-sky { display: block; position: fixed; top: 0; z-index: 3; width: 120px; max-height: 600px; overflow: hidden; }
	.l2-sky-left { left: max(15px, calc((100vw - 1340px) / 2 - 135px)); right: auto; }
	.l2-sky-right { right: max(15px, calc((100vw - 1340px) / 2 - 135px)); left: auto; }
	.l2-sky img { display: block; width: 120px; max-width: 120px; height: auto; border: 0; }
}
