/* Olympic site theme — loaded after main.css and before page/feature stylesheets so those still win ties. */
:root {
	--ol-gold: #f0c850;
	--ol-gold-deep: #c9a227;
	--ol-gold-soft: rgba(201, 162, 39, 0.38);
	--ol-line: rgba(201, 162, 39, 0.18);
	--ol-text: #e8d9b5;
	--ol-body: #cbb892;
	--ol-muted: #9c866b;
	--ol-dim: #6f604c;
	--ol-card: linear-gradient(180deg, rgba(30, 24, 13, 0.94) 0%, rgba(12, 10, 8, 0.96) 100%);
	--ol-serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
	--ol-sans: 'Inter', MuseoSans, Arial, Helvetica, sans-serif;
}

html {
	scrollbar-color: #6b5320 #0c0a07;
}

::-webkit-scrollbar {
	width: 11px;
	height: 11px;
}

::-webkit-scrollbar-track {
	background: #0c0a07;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #8a6c24, #4d3b12);
	border: 2px solid #0c0a07;
	border-radius: 8px;
}

::selection {
	background: rgba(240, 200, 80, 0.35);
	color: #fff;
}

body {
	font-family: var(--ol-sans);
	color: var(--ol-body);
	background-color: #040507;
	background-image:
		linear-gradient(180deg, rgba(4, 5, 7, 0) 70%, #040507 100%),
		url(../images/bg-olympus.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 2200px 1238px, 2200px auto;
}

@media (min-width: 2200px) {
	body {
		background-size: 100% 56.25vw, 100% auto;
	}
}

body::before {
	background: radial-gradient(ellipse 75% 60% at 50% 18%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* =========== Logo =========== */
#wrapper > .ol-logo {
	position: absolute;
	top: -212px;
	left: 50%;
	width: 430px;
	height: 198px;
	margin-left: -215px;
	z-index: 4;
	animation: ol-logo-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both, ol-float 7s ease-in-out 1s infinite;
}

#wrapper > .ol-logo img {
	display: block;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 26px rgba(255, 190, 60, 0.22));
	transition: filter 0.3s ease;
}

#wrapper > .ol-logo:hover img {
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 34px rgba(255, 200, 80, 0.45));
}

#wrapper > .ol-logo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 210, 0.7) 50%, transparent 58%) no-repeat;
	background-size: 300% 100%;
	-webkit-mask: url(../images/olympic-launcher-logo.png) center / contain no-repeat;
	mask: url(../images/olympic-launcher-logo.png) center / contain no-repeat;
	mix-blend-mode: screen;
	animation: ol-logo-shine 6.5s ease-in-out 1.4s infinite;
}

@keyframes ol-logo-in {
	from { opacity: 0; transform: translateY(-14px) scale(0.94); }
	to { opacity: 1; transform: none; }
}

@keyframes ol-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

@keyframes ol-logo-shine {
	0%, 62% { background-position: 150% 0; }
	100% { background-position: -50% 0; }
}

a {
	color: #f0c060;
}

a:hover {
	color: #ffe08a;
}

/* =========== Frame =========== */
#wrapper {
	background: none;
	border-radius: 0;
}

#main {
	min-height: 900px;
	background:
		linear-gradient(180deg, rgba(9, 7, 5, 0.55), rgba(9, 7, 5, 0.72)),
		url(../images/bodyBG.jpg);
	border: 1px solid rgba(201, 162, 39, 0.22);
	border-bottom: none;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 215, 0, 0.06);
}

#main::after {
	content: "";
	display: block;
	clear: both;
}

/* =========== Top navigation =========== */
#wrapper #top_menu {
	display: flex;
	align-items: center;
	gap: 2px;
	left: 0;
	right: 0;
	width: auto !important;
	height: auto;
	margin: -278px 0 0 0;
	padding: 8px;
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(28, 22, 12, 0.9) 0%, rgba(10, 8, 6, 0.94) 100%);
	border: 1px solid var(--ol-gold-soft);
	border-radius: 14px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 215, 0, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	z-index: 5;
}

#wrapper #top_menu::before {
	content: "";
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #c9a227 25%, #ffd700 50%, #c9a227 75%, transparent);
	opacity: 0.8;
}

#top_menu li {
	float: none;
}

#top_menu li:first-child {
	margin-left: 0;
}

#top_menu li a {
	margin: 0;
	padding: 10px 16px;
	border: none;
	border-radius: 9px;
	font-family: var(--ol-serif);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #d8bf86;
}

#top_menu li:first-child a,
#top_menu li:last-child a {
	border: none;
}

#top_menu li a:hover {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.07);
	box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.3);
}

#top_menu li a:active {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.12);
	box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.45);
}

#top_menu li.is-active a {
	color: #1c1407;
	background: linear-gradient(180deg, #ffe07a 0%, #c9a227 100%);
	box-shadow: 0 0 16px rgba(255, 200, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	text-shadow: none;
}

#top_menu li.ol-top-play {
	margin-left: auto;
}

#top_menu li.ol-top-play a {
	color: #1c1407;
	background: linear-gradient(180deg, #ffe07a 0%, #d9ad2f 55%, #a98118 100%);
	box-shadow: 0 6px 18px rgba(255, 190, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
	text-shadow: none;
	padding: 10px 20px;
}

#top_menu li.ol-top-play a:hover {
	color: #1c1407;
	filter: brightness(1.08);
	box-shadow: 0 8px 24px rgba(255, 190, 40, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* =========== Left column =========== */
#left article {
	margin-top: 0;
	border: none;
	box-shadow: none;
	background: none;
}

#left article:last-child {
	border-bottom: none;
}

.ol-cta {
	position: relative;
	margin: 14px 10px 0;
	padding: 16px 14px 14px;
	border-radius: 12px;
	background:
		radial-gradient(circle at 85% -10%, rgba(255, 200, 40, 0.22), transparent 55%),
		var(--ol-card);
	border: 1px solid rgba(201, 162, 39, 0.5);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 215, 0, 0.1);
	overflow: hidden;
	text-align: left;
}

.ol-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c9a227 20%, #ffd700 50%, #c9a227 80%, transparent);
}

.ol-cta-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 10px 3px 8px;
	border-radius: 999px;
	background: rgba(64, 180, 90, 0.12);
	border: 1px solid rgba(90, 200, 110, 0.35);
	color: #9fe0ad;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.6;
}

.ol-cta-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #5fd07a;
	box-shadow: 0 0 0 0 rgba(95, 208, 122, 0.6);
	animation: ol-pulse 2s infinite;
}

.ol-cta-status.is-soon {
	background: rgba(240, 200, 80, 0.1);
	border-color: rgba(240, 200, 80, 0.4);
	color: #f3d27a;
}

.ol-cta-status.is-soon .ol-cta-dot {
	background: #f0c850;
	animation-name: ol-pulse-gold;
}

@keyframes ol-pulse {
	0% { box-shadow: 0 0 0 0 rgba(95, 208, 122, 0.6); }
	70% { box-shadow: 0 0 0 7px rgba(95, 208, 122, 0); }
	100% { box-shadow: 0 0 0 0 rgba(95, 208, 122, 0); }
}

@keyframes ol-pulse-gold {
	0% { box-shadow: 0 0 0 0 rgba(240, 200, 80, 0.6); }
	70% { box-shadow: 0 0 0 7px rgba(240, 200, 80, 0); }
	100% { box-shadow: 0 0 0 0 rgba(240, 200, 80, 0); }
}

.ol-cta-title {
	margin-top: 10px;
	font-family: var(--ol-serif);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000, 0 0 18px rgba(255, 200, 40, 0.25);
}

.ol-cta-sub {
	margin: 5px 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--ol-muted);
}

.ol-btn {
	display: block;
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: 9px;
	text-align: center;
	font-family: var(--ol-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ol-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.ol-btn-gold,
.ol-btn-gold:hover {
	color: #1c1407;
	text-shadow: none;
}

.ol-btn-gold {
	background: linear-gradient(180deg, #ffe07a 0%, #d9ad2f 55%, #a98118 100%);
	border: 1px solid #ffd966;
	box-shadow: 0 6px 18px rgba(255, 190, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ol-btn-gold:hover {
	filter: brightness(1.07);
	box-shadow: 0 9px 24px rgba(255, 190, 40, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ol-btn-ghost {
	color: #e3c878;
	background: rgba(255, 215, 0, 0.04);
	border: 1px solid rgba(201, 162, 39, 0.45);
}

.ol-btn-ghost:hover {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.1);
	border-color: #ffd700;
}

.ol-side {
	padding-bottom: 18px;
}

.ol-side .ow-wiki {
	margin: 14px 10px 0;
}

.ol-panel {
	position: relative;
	margin: 14px 10px 0;
	border-radius: 10px;
	background: var(--ol-card);
	border: 1px solid var(--ol-gold-soft);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 215, 0, 0.08);
	overflow: hidden;
	text-align: left;
}

.ol-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c9a227 20%, #ffd700 50%, #c9a227 80%, transparent);
	opacity: 0.85;
}

.ol-panel-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 12px 10px;
	border-bottom: 1px solid var(--ol-line);
}

.ol-panel-crest {
	flex: 0 0 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 30% 25%, #ffe78f 0%, #d9b03a 50%, #7a5a12 100%);
	color: #1c1407;
	box-shadow: 0 0 12px rgba(255, 200, 40, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ol-panel-crest svg {
	width: 17px;
	height: 17px;
}

.ol-panel-titles {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.ol-panel-title {
	font-family: var(--ol-serif);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffd700;
	text-shadow: 0 1px 0 #000, 0 0 12px rgba(255, 200, 40, 0.25);
}

.ol-panel-sub {
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ol-muted);
}

.ol-panel-list {
	padding: 6px 8px 8px;
}

.ol-panel a.ol-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 1px 0;
	padding: 6px 8px;
	border-radius: 7px;
	color: var(--ol-body);
	text-decoration: none;
	transition: background 0.18s ease, transform 0.18s ease;
}

.ol-panel a.ol-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	bottom: 7px;
	width: 2px;
	border-radius: 2px;
	background: #ffd700;
	box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.ol-panel a.ol-link:hover {
	background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.02));
	transform: translateX(2px);
}

.ol-panel a.ol-link.is-active {
	background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.03));
}

.ol-panel a.ol-link:hover::before,
.ol-panel a.ol-link.is-active::before {
	opacity: 1;
}

.ol-link-ico {
	flex: 0 0 26px;
	height: 26px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 215, 0, 0.06);
	border: 1px solid rgba(201, 162, 39, 0.3);
	color: #d9b03a;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ol-link-ico svg {
	width: 14px;
	height: 14px;
}

.ol-panel a.ol-link:hover .ol-link-ico,
.ol-panel a.ol-link.is-active .ol-link-ico {
	background: linear-gradient(180deg, #ffd96e 0%, #c9a227 100%);
	border-color: #ffd700;
	color: #1c1407;
	box-shadow: 0 0 10px rgba(255, 200, 40, 0.35);
}

.ol-link-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--ol-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.18s ease;
}

.ol-panel a.ol-link:hover .ol-link-name,
.ol-panel a.ol-link.is-active .ol-link-name {
	color: #ffd700;
}

/* =========== Right column =========== */
#slider_bg {
	display: none;
}

#right {
	padding-top: 14px;
}

#right article {
	background: none;
	box-shadow: none;
}

#right article:last-child {
	border-bottom: none;
}

#right article .body {
	padding: 4px 6px 24px;
}

#right article .top {
	height: auto;
	padding: 12px 16px;
	background: linear-gradient(180deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.04));
	border: 1px solid var(--ol-line);
	border-radius: 10px;
	font-family: var(--ol-serif);
	font-weight: 700;
	color: var(--ol-gold);
}

:where(#right article .body) h1,
:where(#right article .body) h2 {
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-family: var(--ol-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000, 0 0 18px rgba(255, 200, 40, 0.18);
	background: linear-gradient(90deg, rgba(201, 162, 39, 0.55), rgba(201, 162, 39, 0.08) 60%, transparent) bottom / 100% 1px no-repeat;
}

:where(#right article .body) h3 {
	margin: 16px 0 8px;
	font-family: var(--ol-serif);
	font-size: 16px;
	font-weight: 700;
	color: #e6c877;
}

:where(#right article .body) p {
	margin: 0 0 10px;
	line-height: 1.6;
}

:where(#right article .body table:not([class])) {
	width: 100%;
	margin: 8px 0 16px;
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(10, 8, 6, 0.62);
	border: 1px solid var(--ol-line);
	border-radius: 10px;
	overflow: hidden;
}

:where(#right article .body table:not([class])) td,
:where(#right article .body table:not([class])) th {
	padding: 8px 10px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.08);
	color: var(--ol-body);
	text-align: left;
}

:where(#right article .body table:not([class])) tr:last-child td {
	border-bottom: none;
}

:where(#right article .body table:not([class])) tr:nth-child(even) td {
	background: rgba(255, 215, 0, 0.022);
}

:where(#right article .body table:not([class])) tr:hover td {
	background: rgba(255, 215, 0, 0.05);
}

:where(#right article .body table:not([class])) tr.yellow td,
:where(#right article .body table:not([class])) th {
	background: linear-gradient(180deg, rgba(201, 162, 39, 0.18), rgba(201, 162, 39, 0.06));
	color: var(--ol-gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:where(#right article .body) input:is([type="text"], [type="password"], [type="email"], [type="number"], [type="search"]):not([class]),
:where(#right article .body) select:not([class]),
:where(#right article .body) textarea:not([class]) {
	padding: 9px 12px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(201, 162, 39, 0.3);
	color: var(--ol-text);
	font-family: var(--ol-sans);
	font-size: 13px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

:where(#right article .body) input:is([type="text"], [type="password"], [type="email"], [type="number"], [type="search"]):not([class]):focus,
:where(#right article .body) select:not([class]):focus,
:where(#right article .body) textarea:not([class]):focus {
	border-color: #ffd700;
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

#right .z-filters select {
	flex: 1 1 150px;
	width: auto;
	min-width: 0;
}

.nice_button,
input[type="submit"] {
	padding: 10px 18px;
	border: 1px solid #ffd966;
	border-radius: 9px;
	background: linear-gradient(180deg, #ffe07a 0%, #d9ad2f 55%, #a98118 100%);
	color: #1c1407;
	font-family: var(--ol-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-shadow: none;
	box-shadow: 0 6px 18px rgba(255, 190, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nice_button:hover,
input[type="submit"]:hover {
	background: linear-gradient(180deg, #ffe58e 0%, #e0b63a 55%, #b08a1e 100%);
	color: #1c1407;
	box-shadow: 0 9px 24px rgba(255, 190, 40, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	transform: translateY(-1px);
}

.nice_button:active,
input[type="submit"]:active {
	border: 1px solid #c9a227;
	transform: translateY(0);
}

/* =========== Login =========== */
.ol-auth {
	max-width: 440px;
	margin: 18px auto 10px;
	padding: 24px 26px 20px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 90% -20%, rgba(255, 200, 40, 0.16), transparent 55%),
		var(--ol-card);
	border: 1px solid var(--ol-gold-soft);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 215, 0, 0.08);
}

.ol-auth-head p {
	margin: -4px 0 16px;
	color: var(--ol-muted);
	font-size: 12.5px;
}

.ol-auth #login li {
	margin-bottom: 14px;
}

.ol-auth #login label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #d9bf7c;
}

.ol-auth #login input[type="text"],
.ol-auth #login input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(201, 162, 39, 0.32);
	color: var(--ol-text);
	font-family: var(--ol-sans);
	font-size: 14px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ol-auth #login input[type="text"]:focus,
.ol-auth #login input[type="password"]:focus {
	border-color: #ffd700;
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.ol-auth #login input[type="submit"] {
	width: 100%;
	padding: 12px;
	font-size: 13px;
}

.ol-auth-foot {
	padding-top: 12px;
	border-top: 1px solid var(--ol-line);
	text-align: center;
	font-size: 12px;
	color: var(--ol-muted);
}

.ol-auth-foot span {
	display: block;
	margin-top: 4px;
}

/* =========== Footer =========== */
footer {
	position: relative;
	height: auto;
	padding: 18px 26px 14px;
	background: linear-gradient(180deg, rgba(16, 12, 8, 0.96), rgba(6, 5, 4, 0.98));
	border: 1px solid rgba(201, 162, 39, 0.22);
	border-top-color: rgba(201, 162, 39, 0.3);
	border-radius: 0 0 18px 18px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
	color: var(--ol-muted);
	font-size: 12px;
}

footer::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 30%;
	right: 30%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.ol-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ol-footer-brand {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.ol-footer-name {
	font-family: var(--ol-serif);
	font-size: 17px;
	font-weight: 800;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000;
}

.ol-footer-tag {
	font-size: 11px;
	color: var(--ol-muted);
}

.ol-footer-links a {
	margin-left: 20px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ol-body);
}

.ol-footer-links a:hover {
	color: #ffd700;
}

.ol-footer-meta {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid rgba(201, 162, 39, 0.1);
	text-align: center;
	font-size: 11px;
	color: var(--ol-dim);
}

/* =========== Members-only gate & sign-in popup =========== */
.ol-gate {
	max-width: 460px;
	margin: 40px auto 20px;
	padding: 30px 28px 24px;
	text-align: center;
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% -30%, rgba(255, 200, 40, 0.2), transparent 60%),
		var(--ol-card);
	border: 1px solid var(--ol-gold-soft);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 215, 0, 0.08);
}

.ol-gate h2 {
	background: none !important;
	padding-bottom: 0 !important;
}

.ol-gate p {
	color: var(--ol-muted);
}

.ol-gate p strong {
	color: var(--ol-text);
}

.ol-gate-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.ol-gate-actions .ol-btn {
	flex: 1;
}

.ol-gate-crest {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1c1407;
	background: radial-gradient(circle at 30% 25%, #ffe78f 0%, #d9b03a 50%, #7a5a12 100%);
	box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.07), 0 0 28px rgba(255, 200, 40, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
	animation: ol-crest-glow 3.2s ease-in-out infinite;
}

.ol-gate-crest svg {
	width: 24px;
	height: 24px;
}

@keyframes ol-crest-glow {
	0%, 100% { box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.07), 0 0 22px rgba(255, 200, 40, 0.28), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
	50% { box-shadow: 0 0 0 9px rgba(255, 215, 0, 0.1), 0 0 36px rgba(255, 200, 40, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
}

html.ol-modal-open {
	overflow: hidden;
}

.ol-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ol-modal[hidden] {
	display: none;
}

.ol-modal-backdrop {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 40%, rgba(20, 14, 6, 0.72), rgba(0, 0, 0, 0.88));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.ol-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 28px 28px 20px;
	text-align: center;
	border-radius: 18px;
	background:
		radial-gradient(circle at 50% -25%, rgba(255, 200, 40, 0.22), transparent 60%),
		linear-gradient(180deg, rgba(34, 27, 15, 0.98) 0%, rgba(12, 10, 8, 0.99) 100%);
	border: 1px solid rgba(201, 162, 39, 0.55);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 60px rgba(255, 190, 40, 0.08), inset 0 1px 0 rgba(255, 215, 0, 0.12);
	opacity: 0;
	transform: translateY(18px) scale(0.96);
	transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ol-modal-dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 30px;
	right: 30px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c9a227 20%, #ffd700 50%, #c9a227 80%, transparent);
}

.ol-modal.is-open .ol-modal-backdrop {
	opacity: 1;
}

.ol-modal.is-open .ol-modal-dialog {
	opacity: 1;
	transform: none;
}

.ol-modal-x {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--ol-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.18s ease, background 0.18s ease;
}

.ol-modal-x:hover {
	color: #ffd700;
	background: rgba(255, 215, 0, 0.08);
}

.ol-modal-dialog h2 {
	margin: 0 0 4px;
	font-family: var(--ol-serif);
	font-size: 22px;
	font-weight: 800;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000, 0 0 18px rgba(255, 200, 40, 0.25);
}

.ol-modal-sub {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--ol-muted);
}

.ol-modal-form {
	text-align: left;
}

.ol-modal-form label {
	display: block;
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #d9bf7c;
}

.ol-modal-form input[type="text"],
.ol-modal-form input[type="password"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 12px 13px;
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(201, 162, 39, 0.32);
	color: var(--ol-text);
	font-family: var(--ol-sans);
	font-size: 14px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ol-modal-form input[type="text"]:focus,
.ol-modal-form input[type="password"]:focus {
	outline: none;
	border-color: #ffd700;
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.ol-modal-form input[type="submit"] {
	width: 100%;
	margin: 4px 0 14px;
	padding: 13px;
	font-size: 13px;
}

/* =========== Motion =========== */
@keyframes ol-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes ol-drop {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: none; }
}

@keyframes ol-slide-in {
	from { opacity: 0; transform: translateX(-16px); }
	to { opacity: 1; transform: none; }
}

@keyframes ol-shine {
	0%, 72% { transform: translateX(-120%) skewX(-20deg); }
	100% { transform: translateX(320%) skewX(-20deg); }
}

@keyframes ol-fog {
	0% { transform: translate3d(-4%, 0, 0) scale(1); }
	50% { transform: translate3d(4%, -1.5%, 0) scale(1.06); }
	100% { transform: translate3d(-4%, 0, 0) scale(1); }
}

#wrapper #top_menu {
	animation: ol-drop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#main {
	animation: ol-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s both;
}

#left .ol-cta,
#left .ol-panel,
#left .ow-wiki {
	animation: ol-slide-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#left .ol-cta { animation-delay: 0.2s; }
#left .ol-side > :nth-child(1) { animation-delay: 0.28s; }
#left .ol-side > :nth-child(2) { animation-delay: 0.36s; }
#left .ol-side > :nth-child(3) { animation-delay: 0.44s; }
#left .ol-side > :nth-child(4) { animation-delay: 0.52s; }
#left .ol-side > :nth-child(5) { animation-delay: 0.6s; }
#left .ol-side > :nth-child(n+6) { animation-delay: 0.68s; }

#right article {
	animation: ol-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.ol-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ol-reveal.is-in {
	opacity: 1;
	transform: none;
}

.ol-btn-gold,
#top_menu li.ol-top-play a,
.ol-modal-form input[type="submit"] {
	position: relative;
	overflow: hidden;
}

.ol-btn-gold::after,
#top_menu li.ol-top-play a::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: translateX(-120%) skewX(-20deg);
	animation: ol-shine 4.5s ease-in-out infinite;
	pointer-events: none;
}

#top_menu li.ol-top-play a::after {
	animation-delay: 1.2s;
}

.ol-panel {
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ol-panel:hover {
	border-color: rgba(240, 200, 80, 0.5);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(255, 190, 40, 0.08), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.ol-panel:hover .ol-panel-crest {
	animation: ol-crest-glow 1.6s ease-in-out infinite;
}

#ol-embers {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

body::after {
	content: "";
	position: fixed;
	inset: -10%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 45% 30% at 15% 75%, rgba(120, 140, 170, 0.1), transparent 70%),
		radial-gradient(ellipse 40% 28% at 85% 65%, rgba(120, 140, 170, 0.09), transparent 70%),
		radial-gradient(ellipse 60% 22% at 50% 100%, rgba(255, 160, 60, 0.06), transparent 70%);
	animation: ol-fog 28s ease-in-out infinite;
}

#top_menu li.ol-top-discord a {
	color: #aab4ff;
	text-shadow: 0 0 10px rgba(88, 101, 242, 0.55);
}

#top_menu li.ol-top-discord a:hover {
	color: #fff;
	background: linear-gradient(180deg, rgba(88, 101, 242, 0.55), rgba(71, 82, 196, 0.35));
	text-shadow: 0 0 12px rgba(140, 150, 255, 0.9);
}

.ol-discord-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 16px;
	border-radius: 28px;
	background: linear-gradient(135deg, #5865f2, #4752c4);
	color: #fff !important;
	font: 600 15px 'Inter', sans-serif;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(20, 24, 70, 0.55), 0 0 0 0 rgba(88, 101, 242, 0.6);
	animation: ol-discord-pulse 2.6s ease-out infinite;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ol-discord-fab svg {
	width: 26px;
	height: 26px;
	flex: none;
}

.ol-discord-fab span {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width 0.3s ease;
}

.ol-discord-fab:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(20, 24, 70, 0.7), 0 0 0 6px rgba(88, 101, 242, 0.25);
}

.ol-discord-fab:hover span,
.ol-discord-fab:focus-visible span {
	max-width: 160px;
}

@keyframes ol-discord-pulse {
	0% { box-shadow: 0 8px 24px rgba(20, 24, 70, 0.55), 0 0 0 0 rgba(88, 101, 242, 0.6); }
	70% { box-shadow: 0 8px 24px rgba(20, 24, 70, 0.55), 0 0 0 14px rgba(88, 101, 242, 0); }
	100% { box-shadow: 0 8px 24px rgba(20, 24, 70, 0.55), 0 0 0 0 rgba(88, 101, 242, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.ol-discord-fab,
	.ol-cta-dot,
	.ol-gate-crest,
	.ol-panel:hover .ol-panel-crest,
	#wrapper #top_menu,
	#main,
	#left .ol-cta,
	#left .ol-panel,
	#left .ow-wiki,
	#right article,
	body::after,
	#wrapper > .ol-logo,
	#wrapper > .ol-logo::after,
	.ol-btn-gold::after,
	#top_menu li.ol-top-play a::after {
		animation: none !important;
	}

	.ol-panel *,
	.ol-btn,
	#top_menu li a,
	.ol-modal-backdrop,
	.ol-modal-dialog {
		transition: none !important;
	}

	#ol-embers {
		display: none;
	}
}
