/*!
 =========================================================
 * KingslayerMU template for WebEngine CMS
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
*/

:root {
	--abyss: #03161d;
	--trench: #072630;
	--trench-soft: rgba(5, 29, 37, .9);
	--reef: #0d3a45;
	--reef-bright: #1a5a68;
	--caustic: #38e0d4;
	--crown: #e8bc57;
	--crown-pale: #ffe9ad;
	--crown-deep: #a87a23;
	--foam: #d9eff0;
	--mist: #94b9be;
	--blood: #c8283a;
	--blood-pale: #ffc1c7;
	--display: 'Grenze Gotisch', Georgia, serif;
	--text: 'Alegreya Sans', 'Segoe UI', Tahoma, sans-serif;
	--notch: 7px;
}

/* BASE */
html {
	background: #000;
	scroll-padding-top: 76px;
}

body {
	background: #000 url('../img/background-1100.jpg') no-repeat top center;
	background-size: 1100px auto;
	color: var(--foam);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.5;
	font-variant-numeric: lining-nums;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

@media (min-width: 1100px) {
	body {
		background-image: url('../img/background.jpg');
		background-size: 2000px auto;
	}
}

@media (min-width: 2000px) {
	body {
		background-image: url('../img/background-2600.jpg');
		background-size: 100% auto;
	}
}

main {
	flex: 1 0 auto;
	outline: none;
}

a {
	color: var(--caustic);
}

a:hover, a:focus {
	color: var(--crown-pale);
}

:focus-visible {
	outline: 2px solid var(--caustic);
	outline-offset: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--text);
	color: var(--foam);
}

h2 {
	font-family: var(--display);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.1;
	margin: 0 0 14px;
}

h3 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 26px;
}

code {
	background: rgba(56, 224, 212, .1);
	color: var(--caustic);
	font-size: 15px;
	white-space: nowrap;
}

hr {
	border-top-color: var(--reef);
}

.sr-only-focusable, .skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--crown);
	color: var(--abyss);
	font-weight: 700;
}

.skip-link:focus {
	top: 8px;
	color: var(--abyss);
}

/* BUTTONS */
.btn {
	font-family: var(--text);
	font-weight: 700;
	border-radius: 0;
	border-width: 1px;
	transition: background-color .15s, color .15s, border-color .15s;
}

.btn-primary, .btn-primary:visited {
	color: var(--abyss);
	background: linear-gradient(180deg, var(--crown-pale), var(--crown) 45%, #c9962f);
	border: 0;
	clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active:hover, .btn-primary:active:focus {
	color: var(--abyss);
	background: var(--crown-pale);
}

.btn-primary:focus-visible, .btn-primary.focus {
	clip-path: none;
	outline: 2px solid var(--foam);
}

.btn-default, .btn-default:visited {
	color: var(--foam);
	background: rgba(3, 22, 29, .55);
	border-color: var(--mist);
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default:active:hover, .btn-default:active:focus {
	color: var(--abyss);
	background: var(--foam);
	border-color: var(--foam);
}

.btn { min-height: 40px; padding: 8px 16px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.btn-xs { min-height: 28px; padding: 3px 10px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 18px; }

/* FORMS */
label {
	color: var(--foam);
	font-weight: 500;
	margin-bottom: 4px;
}

.form-control, input[type=text], input[type=password], input[type=number], input[type=email] {
	background: rgba(1, 12, 16, .8);
	border: 1px solid var(--reef-bright);
	border-radius: 0;
	color: var(--foam);
	box-shadow: none;
	font-size: 16px;
}

.form-control {
	height: 44px;
	padding: 8px 12px;
}

.form-control:focus, input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, input[type=email]:focus {
	border-color: var(--caustic);
	box-shadow: 0 0 0 1px var(--caustic);
	outline: none;
}

.form-control[disabled], .form-control[readonly] {
	background: var(--reef);
	color: var(--mist);
}

select.form-control option {
	background: var(--trench);
}

.help-block {
	color: var(--mist);
	font-size: 15px;
	margin: 5px 0 0;
}

.form-horizontal .control-label {
	text-align: left;
}

.stack-form .form-group {
	margin-bottom: 16px;
}

.form-aside {
	margin: 12px 0 0;
	font-size: 15px;
	text-align: center;
}

.form-terms {
	font-size: 15px;
	color: var(--mist);
}

.form-switch {
	margin: 22px 0 0;
	color: var(--mist);
}

/* ALERTS AND LABELS */
.alert {
	border-radius: 0;
	border-width: 0 0 0 4px;
	background: var(--reef);
	color: var(--foam);
}

.alert-danger {
	background: #3d1219;
	border-color: var(--blood);
	color: var(--blood-pale);
}

.alert-success {
	background: #0b3d38;
	border-color: var(--caustic);
	color: #c6fbf6;
}

.alert-warning {
	background: #3a2d0c;
	border-color: var(--crown);
	color: var(--crown-pale);
}

.alert-info {
	background: var(--reef);
	border-color: var(--mist);
	color: var(--foam);
}

.alert a {
	color: inherit;
	text-decoration: underline;
}

.label {
	border-radius: 0;
	font-size: 13px;
	font-weight: 700;
	padding: 3px 7px;
}

.label-success { background: var(--caustic); color: var(--abyss); }
.label-danger { background: var(--blood); color: #fff; }
.label-default { background: var(--reef-bright); color: var(--foam); }

/* TOP BAR */
.site-bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(3, 22, 29, .86);
	border-bottom: 1px solid rgba(232, 188, 87, .28);
}

@supports (backdrop-filter: blur(8px)) {
	.site-bar {
		background: rgba(3, 22, 29, .7);
		backdrop-filter: blur(8px);
	}
}

.site-bar-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1240px;
	min-height: 60px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-brand, .site-brand:hover, .site-brand:focus {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--crown);
	font-family: var(--display);
	font-weight: 700;
	font-size: 25px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-nav-links {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav-links a {
	display: block;
	position: relative;
	padding: 18px 13px;
	color: var(--foam);
	line-height: 24px;
	font-weight: 500;
	white-space: nowrap;
}

.site-nav-links a:hover, .site-nav-links a:focus {
	color: var(--crown-pale);
	text-decoration: none;
}

.site-nav-links a[aria-current="page"] {
	color: var(--crown);
}

.site-nav-links a[aria-current="page"]::after {
	content: '';
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 0;
	height: 2px;
	background: var(--crown);
}

.site-nav-account {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

.site-online {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--mist);
	font-size: 15px;
}

.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--caustic);
	box-shadow: 0 0 8px var(--caustic);
}

.site-login, .site-logout {
	color: var(--foam);
	font-weight: 500;
}

.site-logout:hover, .site-logout:focus {
	color: var(--blood-pale);
}

.site-nav-toggle {
	display: none;
	min-height: 44px;
	margin-left: auto;
	padding: 0 16px;
	background: transparent;
	border: 1px solid var(--mist);
	color: var(--foam);
	font-weight: 700;
}

@media (max-width: 991px) {
	.site-bar-inner {
		flex-wrap: wrap;
		gap: 0 12px;
		padding: 0 16px;
	}

	.site-nav-toggle {
		display: block;
	}

	.site-nav {
		display: none;
		flex: 0 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-bottom: 16px;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav-links {
		flex-direction: column;
	}

	.site-nav-links a {
		padding: 11px 0;
		border-bottom: 1px solid var(--reef);
	}

	.site-nav-links a[aria-current="page"]::after {
		display: none;
	}

	.site-nav-account {
		flex-wrap: wrap;
		padding-top: 8px;
	}

	.site-online {
		flex: 0 0 100%;
	}

	.site-login, .site-logout {
		padding: 8px 0;
	}
}

/* HOME: HERO */
.hero-inner {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 381px) 1fr;
	align-items: center;
	gap: 28px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 34px;
}

.hero-logo img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .55));
}

.hero-reign {
	padding-left: 8px;
}

.hero-reign-label {
	margin: 0 0 22px;
	color: var(--foam);
	font-size: 18px;
	text-shadow: 0 1px 6px #000;
}

.hero-crown {
	display: block;
	width: 58px;
	height: auto;
	margin: 0 0 -4px 6px;
	color: var(--crown);
	transform: rotate(-9deg);
	filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .7));
}

.hero-king {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(58px, 6.4vw, 88px);
	line-height: .95;
	overflow-wrap: anywhere;
	color: var(--crown);
	background: linear-gradient(100deg, var(--crown-deep) 0%, var(--crown) 30%, var(--crown-pale) 50%, var(--crown) 70%, var(--crown-deep) 100%);
	background-size: 220% 100%;
	background-position: 0 0;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .75));
	animation: crown-glint 1.6s .4s ease-out 1 both;
}

.hero-king a {
	color: inherit;
	-webkit-text-fill-color: transparent;
}

@keyframes crown-glint {
	from { background-position: 100% 0; }
	to { background-position: 0 0; }
}

.hero-king-detail {
	margin: 12px 0 0;
	font-size: 19px;
	text-shadow: 0 1px 6px #000;
}

.hero-call {
	justify-self: end;
	max-width: 390px;
}

.hero-call h1 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(42px, 4vw, 54px);
	line-height: 1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}

.hero-summary {
	margin: 0 0 18px;
	font-size: 19px;
	text-shadow: 0 1px 6px #000;
}

.hero-rates {
	display: flex;
	gap: 26px;
	margin: 0 0 24px;
}

.hero-rates dd {
	font-weight: 700;
	font-size: 26px;
	line-height: 1.1;
	color: var(--crown-pale);
	text-shadow: 0 1px 6px #000;
}

.hero-rates dt {
	color: var(--foam);
	font-weight: 400;
	font-size: 15px;
	text-shadow: 0 1px 6px #000;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* HOME: SERVER PULSE */
.pulse {
	background: rgba(3, 22, 29, .82);
	border-top: 1px solid rgba(232, 188, 87, .28);
}

.pulse-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 48px;
	flex-wrap: wrap;
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 20px;
}

.pulse-online {
	flex: 1 1 280px;
	max-width: 460px;
}

.pulse-online p {
	margin: 0 0 6px;
	color: var(--mist);
}

.pulse-online strong {
	color: var(--caustic);
	font-size: 22px;
	line-height: 1;
	font-variant-numeric: tabular-nums lining-nums;
}

.online-meter {
	height: 5px;
	background: var(--reef);
}

.online-meter span {
	display: block;
	height: 100%;
	background: var(--caustic);
	box-shadow: 0 0 10px rgba(56, 224, 212, .6);
}

.pulse-clock {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 36px;
	margin: 0;
}

.pulse-clock dt {
	color: var(--mist);
	font-weight: 400;
	font-size: 15px;
}

.pulse-clock dd {
	font-variant-numeric: tabular-nums lining-nums;
	white-space: nowrap;
}

.pulse-clock time {
	font-weight: 700;
}

.pulse-clock span {
	color: var(--mist);
}

/* HOME: EVENTS */
.events {
	background: linear-gradient(180deg, rgba(7, 38, 48, .96), rgba(4, 25, 32, .98));
}

.events-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 26px 20px 28px;
}

.event-list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
	font-variant-numeric: tabular-nums lining-nums;
}

.event {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 2px 14px;
	border-left: 1px solid var(--reef-bright);
	min-width: 0;
}

.event-name {
	font-weight: 500;
}

.event-left {
	font-weight: 700;
	font-size: 22px;
	line-height: 1.25;
	color: var(--foam);
}

.event-next {
	color: var(--mist);
	font-size: 15px;
}

.event:first-child {
	border-left: 3px solid var(--crown);
}

.event:first-child .event-left {
	color: var(--crown);
}

.event.is-open .event-left {
	color: var(--caustic);
}

.event.is-open {
	border-left-color: var(--caustic);
}

.event-message {
	grid-column: 1 / -1;
	color: var(--mist);
}

@media (max-width: 1099px) {
	.event-list {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 18px;
	}
}

@media (max-width: 640px) {
	.event-list {
		display: block;
	}

	.event {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas: "name left" "next left";
		align-items: center;
		padding: 10px 0 10px 12px;
		border-left-width: 3px;
		border-left-color: transparent;
		border-top: 1px solid var(--reef);
	}

	.event-name { grid-area: name; }
	.event-next { grid-area: next; }
	.event-left { grid-area: left; font-size: 20px; }
}

/* HOME: BOARD */
.home-board {
	display: grid;
	grid-template-columns: 1.15fr 1fr .9fr;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.board-col {
	padding: 30px 26px 40px;
	border-left: 1px solid var(--reef);
	min-width: 0;
}

.board-col:first-child {
	padding-left: 0;
	border-left: 0;
}

.board-col:last-child {
	padding-right: 0;
}

.board-col h2 {
	font-size: 28px;
}

.board-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.board-heading a {
	font-size: 15px;
	white-space: nowrap;
}

.court-table {
	width: 100%;
	font-variant-numeric: tabular-nums lining-nums;
}

.court-table tbody tr {
	border-top: 1px solid var(--reef);
}

.court-table td {
	padding: 7px 0;
	vertical-align: middle;
}

.court-rank {
	width: 34px;
	color: var(--mist);
	font-weight: 700;
}

.court-rank .crown {
	display: block;
	width: 24px;
	height: auto;
	color: var(--crown);
}

.court-player {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.court-player span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.court-player strong {
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.court-player small {
	color: var(--mist);
	font-size: 14px;
	line-height: 1.2;
}

.court-avatar {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--reef-bright);
}

.court-level {
	width: 60px;
	text-align: right;
	font-weight: 700;
	font-size: 18px;
}

.is-king .court-player strong, .is-king .court-level {
	color: var(--crown);
}

.is-king .court-avatar {
	border-color: var(--crown);
}

.guild-table .court-player img {
	flex: none;
}

.home-news {
	margin-top: 36px;
}

.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding: 9px 0;
	border-top: 1px solid var(--reef);
}

.news-list a {
	color: var(--foam);
	font-weight: 500;
}

.news-list a:hover, .news-list a:focus {
	color: var(--crown-pale);
}

.news-list time {
	flex: none;
	color: var(--mist);
	font-size: 15px;
}

.empty-note {
	color: var(--mist);
	padding: 10px 0;
	border-top: 1px solid var(--reef);
}

.start-steps {
	counter-reset: step;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.start-steps li {
	counter-increment: step;
	position: relative;
	padding: 8px 0 8px 40px;
	border-top: 1px solid var(--reef);
	font-weight: 500;
}

.start-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 3px;
	color: var(--crown);
	font-family: var(--display);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.3;
}

.start-steps small {
	color: var(--mist);
	font-weight: 400;
	font-size: 15px;
}

@media (max-width: 991px) {
	.hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 18px 28px;
		padding-top: 24px;
	}

	.hero-logo {
		grid-column: 1 / -1;
		order: -1;
		justify-self: center;
		width: 250px;
	}

	.hero-call {
		justify-self: start;
		max-width: none;
	}

	.hero-king {
		font-size: clamp(50px, 10vw, 72px);
	}

	.home-board {
		grid-template-columns: 1fr 1fr;
	}

	.board-account {
		grid-column: 1 / -1;
		padding: 30px 0 40px;
		border-left: 0;
		border-top: 1px solid var(--reef);
	}

	.board-middle {
		padding-right: 0;
	}
}

@media (max-width: 640px) {
	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
		padding: 14px 16px 26px;
	}

	.hero-logo {
		width: 210px;
	}

	.hero-call {
		order: 1;
	}

	.hero-reign {
		order: 2;
		padding: 18px 0 0;
		border-top: 1px solid rgba(232, 188, 87, .35);
	}

	.hero-reign-label {
		margin-bottom: 14px;
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}

	.hero-call h1 {
		font-size: 46px;
	}

	.pulse-inner, .events-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.pulse-clock {
		flex-basis: 100%;
		justify-content: space-between;
	}

	.home-board {
		display: block;
		padding: 0 16px;
	}

	.board-col, .board-col:first-child, .board-col:last-child {
		padding: 26px 0 30px;
		border-left: 0;
		border-top: 1px solid var(--reef);
	}

	.board-col:first-child {
		border-top: 0;
	}
}

/* INNER PAGES */
.page-shell {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 46px 20px 60px;
}

.page-surface {
	background: var(--trench-soft);
	border-top: 2px solid var(--crown);
	padding: 30px 36px 40px;
	min-height: 360px;
}

.page-surface.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
}

.page-main {
	min-width: 0;
}

.page-main::after {
	content: '';
	display: block;
	clear: both;
}

.page-title {
	margin: 0 0 22px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(38px, 5vw, 52px);
	line-height: 1.05;
	color: var(--crown);
}

.page-title ~ .page-title {
	margin-top: 36px;
	font-size: 34px;
}

.page-lead {
	max-width: 62ch;
	font-size: 19px;
}

.narrow-page {
	max-width: 440px;
	margin: 0 auto;
}

.table-scroll {
	max-width: 100%;
	overflow-x: auto;
}

.table-scroll > .table {
	margin-bottom: 0;
}

.table-scroll {
	margin-bottom: 20px;
}

.table {
	color: var(--foam);
	font-variant-numeric: tabular-nums lining-nums;
}

.table > thead > tr > th {
	color: var(--mist);
	font-weight: 500;
	border-bottom: 1px solid var(--reef-bright);
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > thead > tr > td {
	border-top: 1px solid var(--reef);
	vertical-align: middle;
}

.table-bordered, .table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
	border-color: var(--reef);
}

.table-striped > tbody > tr:nth-of-type(odd) {
	background: rgba(13, 58, 69, .35);
}

.table-hover > tbody > tr:hover {
	background: rgba(13, 58, 69, .7);
}

.panel {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 26px;
	color: var(--foam);
}

.panel-heading {
	padding: 0 0 10px;
	border-bottom: 1px solid var(--reef-bright);
}

.panel-title, .panel-body .panel-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--foam);
}

.panel-body .panel-title {
	padding-bottom: 8px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--reef-bright);
}

.panel-title a {
	color: inherit;
}

.panel-body {
	padding: 14px 0;
}

.panel-footer {
	padding: 6px 0;
	background: transparent;
	border-top: 0;
	color: var(--mist);
	font-size: 15px;
	overflow: hidden;
}

.panel-news {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--reef);
}

.panel-news .panel-heading {
	border-bottom: 0;
	padding-bottom: 0;
}

.panel-news .panel-title {
	font-family: var(--display);
	font-weight: 500;
	font-size: 34px;
	line-height: 1.1;
}

.panel-news .panel-body {
	max-width: 70ch;
}

.panel-news .panel-body span[style*="font-size"] {
	font-size: inherit !important;
}

.news-readmore {
	font-weight: 700;
}

.thumbnail {
	background: var(--reef);
	border: 1px solid var(--reef-bright);
	border-radius: 0;
}

/* SIDEBAR */
.side-block {
	margin-bottom: 30px;
}

.side-block h2 {
	font-size: 26px;
}

.fact-list {
	margin: 0;
}

.fact-list > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	border-top: 1px solid var(--reef);
}

.fact-list dt {
	color: var(--mist);
	font-weight: 400;
}

.fact-list dd {
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums lining-nums;
}

.fact-list .is-live {
	color: var(--caustic);
}

.account-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.account-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 5px 8px;
	margin: 0 -8px;
	color: var(--foam);
	font-weight: 500;
}

.account-menu a:hover, .account-menu a:focus {
	background: var(--reef);
	color: var(--crown-pale);
	text-decoration: none;
}

.account-menu a[aria-current="page"] {
	color: var(--crown);
	background: var(--reef);
}

.account-grid .account-menu {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0 24px;
}

.account-grid .account-menu a {
	padding: 10px 8px;
	border-top: 1px solid var(--reef);
	margin: 0;
}

/* INFO */
.info-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.info-section {
	margin-top: 40px;
}

.rule-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rule-list li {
	padding: 7px 0;
	border-top: 1px solid var(--reef);
}

.command-table td:first-child {
	width: 34%;
}

/* DOWNLOADS */
.download-group {
	margin-bottom: 30px;
}

.download-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.download-list li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 16px 0;
	border-top: 1px solid var(--reef);
}

.download-info {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
}

.download-info strong {
	font-size: 20px;
}

.download-info span, .download-size {
	color: var(--mist);
}

/* RANKINGS */
.rankings_menu {
	display: flex;
	gap: 4px;
	margin-bottom: 18px;
	overflow-x: auto;
	border-bottom: 1px solid var(--reef-bright);
}

.rankings_menu a {
	flex: none;
	padding: 10px 14px;
	color: var(--mist);
	font-weight: 500;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.rankings_menu a:hover, .rankings_menu a:focus {
	color: var(--foam);
	text-decoration: none;
}

.rankings_menu a.active {
	color: var(--crown);
	border-bottom-color: var(--crown);
}

.rankings-table {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
}

.rankings-table > tbody > tr > td {
	padding: 8px 10px;
	text-align: left;
	font-size: 17px;
}

.rankings-table > tbody > tr:first-child > td {
	color: var(--mist);
	font-weight: 500 !important;
	font-size: 15px;
	border-top: 0;
	border-bottom: 1px solid var(--reef-bright);
}

.rankings-table > tbody > tr > td:last-child {
	text-align: right;
	font-weight: 700;
}

.rankings-table-place {
	width: 50px;
	color: var(--mist);
	font-weight: 700;
}

.rankings-table > tbody > tr:nth-child(2) td {
	color: var(--crown);
	font-size: 20px;
	font-weight: 700;
}

.rankings-table > tbody > tr:nth-child(3) td, .rankings-table > tbody > tr:nth-child(4) td {
	font-weight: 700;
}

.rankings-class-image {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 8px;
}

.rankings-class-name {
	color: var(--mist);
	font-size: 15px;
	font-weight: 400;
}

.online-status-indicator {
	margin-left: 6px;
	vertical-align: 1px;
}

.rankings-gens-img {
	width: auto;
	height: 30px;
}

.rankings-update-time {
	max-width: 860px;
	margin: 0 auto;
	padding: 12px 0;
	text-align: right;
	font-size: 14px;
	color: var(--mist);
}

.rankings-class-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	gap: 6px;
	margin: 14px 0;
	padding: 0;
}

.rankings-class-filter-selection {
	display: inline-block;
	width: 80px;
	text-align: center;
	font-size: 14px;
	color: var(--foam);
	cursor: pointer;
}

.rankings-class-filter-selection img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-bottom: 4px;
}

.rankings-class-filter-grayscale {
	opacity: .5;
}

/* ACCOUNT PAGES */
.myaccount-table, .general-table-ui {
	width: 100%;
	background: transparent;
}

.myaccount-table > tbody > tr > td {
	padding: 11px 0;
}

.myaccount-table > tbody > tr > td:first-child {
	color: var(--mist);
	width: 40%;
}

.myaccount-table .btn-primary {
	clip-path: none;
	color: var(--foam);
	background: transparent;
	border: 1px solid var(--mist);
}

.myaccount-table .btn-primary:hover, .myaccount-table .btn-primary:focus {
	color: var(--abyss);
	background: var(--foam);
}

.general-table-ui > tbody > tr > td {
	padding: 7px;
	text-align: center;
	vertical-align: middle;
}

.general-table-ui > tbody > tr:first-child > td {
	color: var(--mist);
}

.general-table-ui img {
	width: 44px;
	height: auto;
	border-radius: 50%;
}

.myaccount-character-name a, .myaccount-character-name {
	font-weight: 700;
}

.myaccount-character-block {
	display: inline-block;
	margin: 6px auto 0;
	border: 1px solid var(--reef-bright);
	line-height: 0;
}

.myaccount-character-block img {
	width: 96px;
	height: auto;
}

.myaccount-character-block-level {
	position: relative;
	top: -86px;
	display: inline-block;
	padding: 0 6px;
	background: rgba(3, 22, 29, .85);
	color: var(--crown-pale);
	font-size: 14px;
	font-weight: 700;
}

.myaccount-character-block-location {
	margin-top: 4px;
	color: var(--mist);
	font-size: 14px;
	line-height: 1.25;
}

.panel-addstats .character-avatar img {
	width: 96px;
	height: auto;
	border-radius: 50%;
}

.panel-addstats .character-name {
	color: var(--foam);
	font-size: 20px;
	font-weight: 700;
	padding: 12px 0;
	border-bottom: 1px solid var(--reef);
	margin-bottom: 16px !important;
}

.module-requirements {
	color: var(--mist);
	font-size: 15px;
	margin-top: 20px;
}

/* PAYPAL */
.paypal-gateway-content {
	max-width: 560px;
	margin: 0 auto;
	padding: 24px;
	background: var(--reef);
}

.paypal-gateway-logo {
	height: 72px;
	margin-bottom: 16px;
	background: #fff url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: auto 56px;
}

.paypal-gateway-conversion-rate {
	text-align: center;
	color: var(--foam);
	font-size: 18px;
	padding: 8px 0;
}

.paypal-gateway-form {
	margin: 18px 0;
	text-align: center;
	font-size: 22px;
}

.paypal-gateway-form input[type=text] {
	width: 80px;
	padding: 4px 8px;
	font-size: 22px;
}

.paypal-gateway-continue {
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	min-height: 48px;
	min-width: 220px;
	padding: 10px 24px;
	border: 0;
	background: var(--crown);
	color: var(--abyss);
	font-weight: 700;
	font-size: 18px;
}

.paypal-gateway-continue input[type=submit]:hover, .paypal-gateway-continue input[type=submit]:focus {
	background: var(--crown-pale);
}

/* TERMS PAGES */
.tos_list li {
	color: var(--foam);
	font-weight: 700;
	margin-bottom: 26px;
}

.tos_list li p {
	color: var(--foam);
	font-weight: 400;
	font-size: 17px;
}

/* ADMINCP SHORTCUT */
.admincp-button {
	position: fixed;
	bottom: 12px;
	right: 12px;
	z-index: 60;
}

/* CASTLE SIEGE WIDGET */
.castle-owner-widget {
	border: 1px solid var(--reef-bright) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.castle-owner-widget .alt {
	color: var(--crown) !important;
}

/* FOOTER */
.site-footer {
	background: var(--abyss);
	border-top: 1px solid var(--reef);
	color: var(--mist);
	font-size: 15px;
}

.site-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 26px 20px;
}

.site-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer-links a, .webengine-powered {
	color: var(--foam);
}

.site-footer-links a {
	display: inline-block;
	padding: 5px 0;
}

.site-footer-social {
	display: flex;
	gap: 14px;
}

.site-footer-social a {
	display: inline-flex;
	padding: 8px;
}

.site-footer-legal {
	flex: 0 0 100%;
}

.site-footer-legal p {
	margin: 0 0 6px;
}

/* SMALL SCREENS: the shared modules use fixed bootstrap columns */
@media (max-width: 767px) {
	.page-shell {
		padding: 16px 0 0;
	}

	.page-surface, .page-surface.has-sidebar {
		display: block;
		padding: 22px 16px 34px;
	}

	.page-main [class*="col-xs-"]:not(.nopadding) {
		float: none;
		width: 100%;
	}

	.page-main [class*="col-xs-offset-"] {
		margin-left: 0;
	}

	.page-main .row.text-center > .col-xs-3 {
		float: left;
		width: 50%;
	}

	.page-side {
		margin-top: 30px;
		padding-top: 24px;
		border-top: 1px solid var(--reef-bright);
	}

	.info-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.command-table td {
		display: block;
		width: auto !important;
		padding: 2px 0 !important;
		border: 0 !important;
	}

	.command-table tr {
		display: block;
		padding: 8px 0;
		border-top: 1px solid var(--reef);
	}

	.rankings-table > tbody > tr > td {
		padding: 7px 5px;
	}

	.rankings-class-name {
		display: none;
	}

	.rankings-table-place {
		width: 34px;
	}

	.myaccount-table > tbody > tr > td:first-child {
		width: 38%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
