:root {
	--bg: #07101b;
	--bg-strong: #030711;
	--panel: rgba(8, 14, 24, 0.9);
	--panel-soft: rgba(11, 18, 31, 0.76);
	--panel-elevated: rgba(12, 21, 37, 0.94);
	--panel-border: rgba(115, 179, 255, 0.14);
	--panel-border-strong: rgba(241, 191, 71, 0.28);
	--text: #edf5ff;
	--text-soft: #adc0da;
	--text-muted: #7f96b2;
	--gold: #f2bb4e;
	--gold-soft: #ffe39a;
	--cyan: #62d4ff;
	--cyan-soft: rgba(98, 212, 255, 0.16);
	--green: #8ef0b5;
	--danger: #ff8e8e;
	--shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
	--shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.2);
	--radius-xl: 30px;
	--radius-lg: 22px;
	--radius-md: 16px;
	--radius-sm: 12px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Exo 2', sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(87, 146, 255, 0.18), transparent 26%),
		radial-gradient(circle at top right, rgba(255, 201, 82, 0.14), transparent 22%),
		linear-gradient(180deg, #06101c 0%, #08111e 36%, #030711 100%);
}

body::before,
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
}

body::before {
	background:
		radial-gradient(circle at 12% 14%, rgba(255, 214, 94, 0.12), transparent 18%),
		radial-gradient(circle at 84% 22%, rgba(73, 196, 255, 0.12), transparent 22%),
		radial-gradient(circle at 50% 100%, rgba(42, 73, 128, 0.18), transparent 36%);
	filter: blur(12px);
}

body::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
	background-size: 38px 38px;
	opacity: 0.24;
}

a {
	color: var(--cyan);
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

a:hover {
	color: var(--gold-soft);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

.site-shell {
	position: relative;
	z-index: 1;
	width: min(1440px, calc(100% - 36px));
	margin: 24px auto 42px;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	background: rgba(6, 11, 18, 0.82);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	box-shadow: var(--shadow);
	position: sticky;
	top: 16px;
	z-index: 30;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--text);
	min-width: 0;
}

.site-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	padding: 10px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 215, 113, 0.16), rgba(98, 212, 255, 0.08)),
		rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-brand-mark img {
	filter: drop-shadow(0 0 20px rgba(98, 212, 255, 0.22));
}

.site-brand-copy {
	display: grid;
	gap: 4px;
}

.site-brand-copy strong,
.hero-copy h1,
.hero-status-top h2,
h1,
h2,
h3,
.header,
.site-footer strong {
	font-family: 'Orbitron', sans-serif;
}

.site-brand-copy strong {
	font-size: 18px;
	letter-spacing: 0.05em;
	color: #fff5d6;
}

.site-brand-copy small,
.hero-kicker,
.hero-panel-kicker,
.stat-card span,
.widget-intro,
.info-list span,
.footer-block p strong {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	color: var(--text-muted);
}

.site-nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.site-nav-links a {
	padding: 11px 15px;
	border-radius: 999px;
	color: var(--text-soft);
	font-weight: 700;
}

.site-nav-links a:hover,
.site-nav-links a.is-active {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

.site-nav-links .site-nav-cta {
	background: linear-gradient(135deg, rgba(255, 211, 112, 0.18), rgba(96, 212, 255, 0.16));
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff3cc;
}

.site-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	cursor: pointer;
}

.hero-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
	gap: 26px;
	margin-top: 24px;
	padding: 34px;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 214, 100, 0.11), transparent 22%),
		radial-gradient(circle at 88% 12%, rgba(98, 212, 255, 0.13), transparent 26%),
		linear-gradient(145deg, rgba(13, 22, 36, 0.96), rgba(6, 10, 18, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.page-banner {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
	padding: 24px 28px;
	background: linear-gradient(145deg, rgba(13, 22, 36, 0.94), rgba(6, 10, 18, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}

.page-banner-copy {
	max-width: 860px;
}

.page-banner-copy h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3.8vw, 42px);
}

.page-banner-copy p {
	margin: 0;
	color: var(--text-soft);
}

.page-banner-meta {
	display: grid;
	gap: 12px;
	justify-items: end;
	min-width: 220px;
}

.page-banner-pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 800;
}

.page-banner-pill-online {
	background: rgba(142, 240, 181, 0.12);
	border: 1px solid rgba(142, 240, 181, 0.28);
	color: #c7ffe0;
}

.page-banner-pill-offline {
	background: rgba(255, 142, 142, 0.12);
	border: 1px solid rgba(255, 142, 142, 0.28);
	color: #ffd6d6;
}

.page-banner-connection {
	padding: 14px 16px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: right;
}

.page-banner-connection strong {
	display: block;
	color: #fff2cb;
}

.page-banner-connection span {
	display: block;
	margin-top: 4px;
	color: var(--text-soft);
}

.hero-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.02) 0%, transparent 34%, transparent 66%, rgba(255, 255, 255, 0.02) 100%),
		repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.012) 18px 19px);
	opacity: 0.9;
	pointer-events: none;
}

.hero-copy,
.hero-status-card {
	position: relative;
	z-index: 1;
}

.hero-kicker,
.hero-panel-kicker {
	display: inline-block;
	margin-bottom: 16px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--gold-soft);
}

.hero-copy h1 {
	margin: 0 0 18px;
	font-size: clamp(34px, 5.8vw, 68px);
	line-height: 0.98;
	letter-spacing: 0.03em;
	color: #fff4d1;
}

.hero-copy p {
	margin: 0;
	max-width: 720px;
	font-size: 18px;
	line-height: 1.72;
	color: var(--text-soft);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.hero-button,
input[type="submit"],
button,
.submitButton,
.widget-actions a,
ul.linkbuttons li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
}

.hero-button-primary,
input[type="submit"],
button,
.submitButton {
	background: linear-gradient(135deg, #ffd56b, #ef9e1e);
	color: #231604;
	box-shadow: 0 14px 30px rgba(239, 158, 30, 0.25);
}

.hero-button-primary:hover,
input[type="submit"]:hover,
button:hover,
.submitButton:hover {
	transform: translateY(-1px);
	color: #170f02;
}

.hero-button-secondary,
.widget-actions a,
ul.linkbuttons li a {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(98, 212, 255, 0.16);
	color: var(--text);
}

.hero-button-secondary:hover,
.widget-actions a:hover,
ul.linkbuttons li a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff6df;
}

.hero-points {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	max-width: 760px;
}

.hero-points li {
	padding: 14px 16px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--text-soft);
	box-shadow: var(--shadow-soft);
}

.hero-status-card {
	display: grid;
	gap: 18px;
	padding: 24px;
	background: linear-gradient(180deg, rgba(9, 16, 29, 0.92), rgba(5, 9, 16, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-status-top h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #fff4cf;
}

.hero-status-top p {
	margin: 0;
	line-height: 1.7;
	color: var(--text-soft);
}

.hero-emblem {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% 50%, rgba(255, 208, 88, 0.09), transparent 36%),
		radial-gradient(circle at 50% 50%, rgba(98, 212, 255, 0.1), transparent 52%),
		rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-emblem img {
	width: min(100%, 220px);
}

.hero-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.stat-card {
	padding: 16px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card strong {
	display: block;
	margin: 8px 0 6px;
	font-size: 28px;
	line-height: 1;
	color: #fff5d1;
}

.stat-card small {
	display: block;
	line-height: 1.55;
	color: var(--text-soft);
}

.hero-connection {
	padding: 16px 18px;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(255, 212, 101, 0.08), rgba(98, 212, 255, 0.08));
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-connection strong {
	display: block;
	font-size: 18px;
	color: #fff5cf;
}

.hero-connection span {
	display: block;
	margin-top: 6px;
	color: var(--text-soft);
}

.main {
	margin-top: 24px;
}

.feedContainer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}

.pull-left,
.pull-right {
	float: none;
}

.leftPane,
.rightPane {
	width: auto;
	min-width: 0;
}

.rightPane {
	display: grid;
	gap: 18px;
}

.page-content-shell,
.page-shell,
.well,
.widget,
.topPane,
.postHolder > .well {
	background: linear-gradient(180deg, rgba(10, 16, 28, 0.96), rgba(6, 10, 18, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.page-content-shell,
.page-shell {
	padding: 26px;
}

.page-shell + .page-shell,
.postHolder + .postHolder {
	margin-top: 18px;
}

.postHolder {
	margin-top: 18px;
}

.topPane {
	display: none;
}

.header {
	padding: 18px 22px 12px;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: #fff0bf;
}

.body {
	padding: 0 22px 22px;
}

h1,
h2,
h3 {
	margin: 0 0 16px;
	letter-spacing: 0.03em;
	color: #fff2cb;
}

h1 {
	font-size: 30px;
}

h2 {
	margin-top: 26px;
	font-size: 22px;
}

h3 {
	font-size: 18px;
}

.page-content-shell > h1:first-child,
.page-content-shell > h2:first-child,
.page-shell > h1:first-child,
.page-shell > h2:first-child,
.page-shell > h3:first-child {
	margin-top: 0;
}

p,
li,
td,
th,
label,
span,
small,
font {
	line-height: 1.7;
}

p,
li,
td,
th,
label {
	color: var(--text-soft);
}

.page-lead {
	margin: 0 0 22px;
	max-width: 860px;
	font-size: 16px;
}

.feature-grid,
.download-grid,
.tool-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.feature-card,
.download-card,
.tool-card {
	height: 100%;
	padding: 22px;
	border-radius: var(--radius-md);
	background:
		linear-gradient(180deg, rgba(15, 25, 42, 0.96), rgba(7, 12, 22, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: var(--shadow-soft);
}

.feature-card h3,
.download-card h3,
.tool-card h3 {
	margin-bottom: 10px;
}

.callout {
	margin-top: 18px;
	padding: 22px;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(255, 210, 100, 0.08), rgba(98, 212, 255, 0.08));
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-panel {
	margin-top: 18px;
	padding: 20px 22px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-panel strong {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	color: #fff1c4;
}

.notice-panel p {
	margin: 0;
}

.notice-panel p + p {
	margin-top: 8px;
}

.callout strong {
	display: block;
	margin-bottom: 8px;
	font-size: 17px;
	color: #fff1c4;
}

.download-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.download-meta span {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
	font-size: 13px;
}

.widget-intro {
	margin: 0 0 16px;
	line-height: 1.65;
}

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

th,
td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
}

tr:last-child td {
	border-bottom: 0;
}

tr:nth-child(2n + 1) td {
	background: rgba(255, 255, 255, 0.015);
}

.yellow td,
.yellow th,
thead th {
	color: #fff1c9;
	background: linear-gradient(135deg, rgba(255, 209, 92, 0.14), rgba(47, 191, 255, 0.12));
}

form {
	margin-top: 20px;
}

.account-form {
	margin-top: 24px;
}

.body form,
.widget form,
.searchForm,
.loginForm {
	margin-top: 0;
}

form ul,
.loginForm,
ul.linkbuttons,
.page-list,
.hero-points,
.info-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

form ul li {
	margin-bottom: 16px;
}

form ul li:last-child {
	margin-bottom: 0;
}

.account-form ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.account-form ul li {
	margin: 0;
}

.account-form .full-span {
	grid-column: 1 / -1;
}

.account-form .submit-row {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.account-form .submit-row input[type="submit"] {
	flex: 0 0 auto;
}

.account-form .submit-row .muted-note {
	margin: 0;
}

.account-form .g-recaptcha {
	display: inline-block;
}

.field-group {
	margin-bottom: 14px;
}

.field-group:last-child {
	margin-bottom: 0;
}

.form-note,
.muted-note {
	margin: 8px 0 0;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.6;
}

label {
	display: inline-block;
	margin-bottom: 8px;
	font-weight: 700;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
	width: 100%;
	padding: 14px 16px;
	background: rgba(3, 8, 15, 0.9);
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

input[type="text"] + label,
input[type="password"] + label,
input[type="email"] + label,
select + label,
textarea + label {
	margin-top: 12px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
	color: #6d829f;
}

textarea {
	min-height: 180px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(98, 212, 255, 0.46);
	box-shadow: 0 0 0 4px rgba(98, 212, 255, 0.08);
}

.widget-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 16px;
}

ul.linkbuttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

ul.linkbuttons li {
	margin: 0;
}

.server-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 10px 15px;
	border-radius: 999px;
	font-weight: 800;
}

.server-pill-online {
	background: rgba(142, 240, 181, 0.12);
	color: #c7ffe0;
	border: 1px solid rgba(142, 240, 181, 0.28);
}

.server-pill-offline {
	background: rgba(255, 142, 142, 0.12);
	color: #ffd6d6;
	border: 1px solid rgba(255, 142, 142, 0.26);
}

.info-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-list li:last-child {
	border-bottom: 0;
}

.info-list strong {
	color: var(--text);
	font-weight: 700;
	text-align: right;
}

.rank-table td:first-child {
	width: 62px;
	font-weight: 800;
	color: var(--gold-soft);
}

.relative {
	position: relative;
}

#name_suggestion {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	display: none;
	padding: 8px;
	border-radius: 14px;
	background: rgba(5, 10, 17, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow);
	z-index: 8;
}

#name_suggestion.show {
	display: block;
}

.sname + .sname {
	margin-top: 8px;
}

.sname a {
	display: block;
	padding: 11px 13px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
}

.catchrate-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
}

.result-panel {
	display: none;
	margin-top: 18px;
	padding: 18px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-panel.show {
	display: block;
}

.page-list {
	margin-top: 18px;
	padding-left: 20px;
	list-style: disc;
}

.page-list li {
	margin-bottom: 8px;
}

.inline-link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 16px;
}

.inline-link-list a {
	font-weight: 700;
}

font[color="red"] {
	display: block;
	margin: 0 0 18px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 142, 142, 0.12);
	border: 1px solid rgba(255, 142, 142, 0.28);
	color: #ffd7d7;
}

font[color="red"] ul {
	margin: 0;
	padding-left: 18px;
}

#myaccountTable,
#characterProfileTable,
#news,
#changelogTable {
	margin-top: 18px;
}

.news-content img,
.body img {
	margin: 16px 0;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-pagination {
	margin-top: 18px;
}

.news-pagination select {
	max-width: 200px;
}

.youtube {
	margin: 18px 0;
}

.aspectratio {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 18px;
}

.aspectratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.site-footer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
	padding: 22px;
	background: rgba(6, 10, 17, 0.86);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}

.footer-block strong {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: #fff0c1;
}

.footer-block p {
	margin: 0;
	color: var(--text-soft);
}

.page-content-shell > *:first-child,
.page-shell > *:first-child,
.body > *:first-child {
	margin-top: 0;
}

.page-content-shell > *:last-child,
.page-shell > *:last-child,
.body > *:last-child {
	margin-bottom: 0;
}
