@font-face { font-family: "NexusSans"; src: url("../fonts/NexusSans-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "NexusSans"; src: url("../fonts/NexusSans-Semibold.ttf") format("truetype"); font-style: normal; font-weight: 600 800; font-display: swap; }
@font-face { font-family: "NexusDisplay"; src: url("../fonts/NexusDisplay-Light.otf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "NexusDisplay"; src: url("../fonts/NexusDisplay-Demi.otf") format("opentype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
	--nexus-blue-950: #030811;
	--nexus-blue-900: #061323;
	--nexus-blue-800: #0b1d35;
	--nexus-blue-500: #1977ff;
	--nexus-gold-500: #e8a83c;
	--nexus-gold-300: #ffe4a1;
	--nexus-text: #e9e1d2;
	--nexus-muted: #94a1b3;
	--nexus-panel: rgba(4, 12, 24, .93);
	--nexus-border: rgba(224, 168, 72, .58);
}

.site-header {
	position: relative;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	background: rgba(4, 8, 15, .72);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	-webkit-backdrop-filter: saturate(140%) blur(22px);
	backdrop-filter: saturate(140%) blur(22px);
}

.site-header--home {
	position: absolute;
	top: 0;
	left: 0;
}

.site-header,
.site-header *,
.site-header *::before,
.site-header *::after { box-sizing: border-box; }

.site-beta-banner {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 14px;
	width: min(calc(100% - 48px), 1180px);
	margin: 14px auto 18px;
	padding: 13px 18px;
	border: 1px solid rgba(255, 184, 70, .78);
	border-radius: 8px;
	background: linear-gradient(100deg, rgba(83, 45, 7, .96), rgba(33, 23, 9, .94) 58%, rgba(20, 16, 9, .94));
	box-shadow: 0 8px 24px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 226, 139, .1), 0 0 22px rgba(255, 171, 44, .1);
	color: #fff0c4;
}

.site-header--home + .site-beta-banner { margin-top: 72px; }

.site-beta-banner__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid rgba(255, 222, 135, .82);
	border-radius: 999px;
	background: rgba(255, 191, 65, .18);
	color: #ffe49c;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
}

.site-beta-banner__badge i { color: #ffd36c; font-size: 13px; }
.site-beta-banner__copy { display: grid; gap: 3px; min-width: 0; }
.site-beta-banner__copy strong { color: #ffe7a6; font-family: "NexusDisplay", Georgia, serif; font-size: 13px; letter-spacing: .1em; }
.site-beta-banner__copy span { color: #ead7ad; font-size: 11px; line-height: 1.45; }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(100% - 48px, 1180px);
	height: 58px;
	min-height: 58px;
	margin: 0 auto;
	padding: 0;
}

.site-brand {
	--brand-width: 136px;
	--brand-height: 72px;
	--brand-left: 0;
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	flex: 0 0 auto;
	width: 146px;
	height: 58px;
	transition: filter .25s ease, transform .25s ease;
}

.site-brand img { position: absolute; top: 50%; left: var(--brand-left); display: block; width: var(--brand-width); height: var(--brand-height); object-fit: fill; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .65)); transform: translateY(-50%); animation: nexus-brand-glow 7s ease-in-out infinite; }
.site-brand::after { position: absolute; top: 50%; left: var(--brand-left); width: var(--brand-width); height: var(--brand-height); content: ""; pointer-events: none; background: linear-gradient(110deg, transparent 40%, #69ccff66 46%, #fff7dcd9 50%, #ffc96666 54%, transparent 60%) 150% 0 / 300% 100%; -webkit-mask: url("../img/nexusot/logo-top.webp") center / 100% 100%; mask: url("../img/nexusot/logo-top.webp") center / 100% 100%; transform: translateY(-50%); animation: nexus-brand-shine 7s ease-in-out infinite; }
.site-brand:hover { filter: brightness(1.24) saturate(1.15); transform: translateY(-2px) scale(1.015); }

.site-nav { display: flex; align-items: center; gap: 2px; min-width: 0; margin-right: auto; border: 0; background: transparent; }
.site-nav__item { position: relative; display: flex; align-items: stretch; }
.site-nav__item::after { position: absolute; top: 100%; left: 0; width: 100%; height: 8px; content: ""; }
.site-header .site-nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 9px; color: rgba(239, 243, 250, .76); font-family: "NexusSans", "Trebuchet MS", Arial, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: -.01em; text-transform: none; transition: color .2s ease, background .2s ease; }
.site-nav__link i { color: rgba(219, 226, 237, .55); font-size: 9px; transition: transform .25s ease, color .2s ease; }
.site-nav__item:hover > .site-nav__link i { color: #fff; transform: rotate(180deg); }
.site-nav__link:hover, .site-nav__link.is-active, .site-nav__item:focus-within > .site-nav__link { color: #fff; background: rgba(255, 255, 255, .09); }
.site-nav__link.is-active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }

.site-nav__dropdown { position: absolute; top: calc(100% + 8px); left: 0; display: grid; min-width: 208px; padding: 6px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; background: rgba(19, 23, 31, .94); box-shadow: 0 20px 45px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .05); -webkit-backdrop-filter: saturate(140%) blur(22px); backdrop-filter: saturate(140%) blur(22px); opacity: 0; pointer-events: none; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .2s ease; }
.site-nav__item:hover > .site-nav__dropdown, .site-nav__item:focus-within > .site-nav__dropdown, .site-nav__item.is-open > .site-nav__dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-header .site-nav__dropdown a { padding: 10px 12px; border-radius: 7px; border-bottom: 0; color: rgba(239, 243, 250, .74); font-size: 12px; letter-spacing: 0; transition: color .2s ease, background .2s ease, transform .2s ease; }
.site-nav__dropdown a:last-child { border-bottom: 0; }
.site-nav__dropdown a:hover { padding-left: 12px; background: rgba(255, 255, 255, .09); color: #fff; transform: translateX(2px); }

.site-auth { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-online { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid rgba(68, 220, 131, .18); border-radius: 999px; background: rgba(68, 220, 131, .07); color: #78e8a5; font-family: "NexusSans", Arial, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .03em; }
.site-online i { margin-right: 4px; font-size: 8px; text-shadow: 0 0 10px #44dc83; animation: nexus-pulse 1.8s infinite; }
.site-header .site-icon-link { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(239, 243, 250, .68); font-size: 12px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.site-icon-link:hover { background: rgba(255, 255, 255, .09); color: #fff; transform: translateY(-1px); }
.site-header .site-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .19); border-radius: 999px; color: rgba(255, 255, 255, .84); font-family: "NexusSans", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .02em; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease; }
.site-button:hover { color: #fff; border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .1); box-shadow: 0 5px 16px rgba(0, 0, 0, .2); transform: translateY(-1px); }
.site-button--quiet { border-color: rgba(255, 255, 255, .17); background: rgba(255, 255, 255, .04); box-shadow: none; animation: none; }
.site-button--quiet::before { position: absolute; top: -30%; bottom: -30%; left: -80%; width: 42%; content: ""; background: linear-gradient(90deg, transparent, rgba(139, 210, 255, .48), transparent); transform: skewX(-18deg); animation: nexus-button-sheen 4.8s ease-in-out infinite; pointer-events: none; }
.site-button--quiet::before { display: none; }
.site-button--quiet:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.site-header .site-button--outline { min-width: 76px; min-height: 32px; overflow: visible; isolation: isolate; border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px; background: #f5f5f7; box-shadow: 0 4px 12px rgba(0, 0, 0, .16); color: #111827; }
.site-button--outline::before { display: none; }
.site-header .site-button--outline:hover { border-color: #fff; background: #fff; color: #05070b; }
.site-header .site-nav-toggle { display: none; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .88); cursor: pointer; }
.site-header .site-nav-toggle:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; filter: none; transform: none; }

body.nexusot-site {
	margin: 0;
	min-width: 320px;
	background: var(--nexus-blue-950);
	color: var(--nexus-text);
	font-family: "NexusSans", "Trebuchet MS", Arial, sans-serif;
}

body.nexusot-site::before { position: fixed; inset: 0; z-index: 0; content: ""; background: linear-gradient(180deg, rgba(1, 5, 13, .25), rgba(1, 5, 13, .75) 88%), url("../img/nexusot/client-background.webp") center / cover no-repeat; pointer-events: none; }
body.nexusot-site::after { position: fixed; inset: 0; z-index: 0; content: ""; background: radial-gradient(circle at 50% 0, rgba(36, 117, 222, .12), transparent 36%); pointer-events: none; }
body.nexusot-site a { color: #d7b46c; }
body.nexusot-site a:hover { color: #fff0bd; }
.nexusot-flag { display: inline-block; width: 20px; height: 14px; margin-right: 6px; vertical-align: -2px; object-fit: cover; border: 1px solid rgba(236, 196, 107, .72); border-radius: 2px; box-shadow: 0 0 7px rgba(38, 139, 255, .3); }
.character-profile__name .nexusot-flag { width: 28px; height: 19px; margin-left: 10px; margin-right: 0; vertical-align: 2px; }
.site-page { position: relative; z-index: 1; width: min(100%, 1540px); margin: 0 auto; overflow: visible; background: linear-gradient(180deg, rgba(2, 7, 16, .35), rgba(2, 7, 16, .94)); box-shadow: 0 0 90px rgba(0, 0, 0, .68); }

.site-subhero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 222px; padding: 36px 54px; overflow: hidden; border-bottom: 1px solid rgba(211, 161, 74, .55); background: linear-gradient(90deg, rgba(2, 8, 17, .93), rgba(4, 19, 40, .38) 58%, rgba(2, 8, 17, .74)), url("../img/nexusot/world-wide.webp") center 47% / cover no-repeat; isolation: isolate; }
.site-subhero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(2, 7, 16, .78)); }
.site-subhero__copy { position: relative; z-index: 1; }
.site-subhero__copy > span { color: #75a9e8; font-size: 10px; letter-spacing: .22em; }
.site-subhero__title { display: block; margin: 8px 0 7px; color: #f5dda4; font-family: "NexusDisplay", Georgia, serif; font-size: clamp(28px, 3.2vw, 48px); font-weight: 400; letter-spacing: .08em; line-height: 1.15; text-shadow: 0 4px 12px #000; }
.site-subhero p { margin: 0; color: #acb9ca; font-size: 13px; }
.site-subhero__cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; overflow: hidden; border: 1px solid #dca64a; border-radius: 4px; background: linear-gradient(180deg, #1a67c9, #083378); box-shadow: inset 0 0 0 1px rgba(135, 207, 255, .44), 0 8px 25px rgba(0, 0, 0, .5); color: #fff2d4 !important; font-family: "NexusDisplay", Georgia, serif; font-size: 13px; letter-spacing: .08em; transition: transform .2s ease, filter .2s ease; }
.site-subhero__cta:hover { filter: brightness(1.18); transform: translateY(-2px); }

body.nexusot-site .feedContainer.site-feed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 310px); gap: 16px; width: 100%; margin: 22px 0 34px; padding: 0; overflow: visible; border: 0; background: transparent; }
body.nexusot-site .site-countdown { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; margin: 0; padding: 0 17px; border: 1px solid rgba(83, 143, 213, .36); background: rgba(4, 16, 33, .82); color: #aab9cb; }
.site-countdown__label { color: #e9c77e; font-size: 11px; letter-spacing: .12em; }
.site-countdown__label i { margin-right: 6px; color: #5ca9ff; }
body.nexusot-site #countDownTimer { padding: 0; background: transparent; color: #79b8ff; font-size: 14px; }
body.nexusot-site .leftPane.site-main { float: none; width: auto; min-width: 0; margin: 0; padding: 24px; border: 1px solid rgba(211, 164, 84, .52); background: linear-gradient(145deg, rgba(8, 23, 43, .95), rgba(2, 10, 21, .95)); box-shadow: inset 0 0 0 1px rgba(18, 93, 159, .24), 0 10px 22px rgba(0, 0, 0, .28); animation: nexus-fade-up .55s both; }
body.nexusot-site .rightPane { float: none; width: auto; min-width: 0; margin: 0; animation: nexus-fade-up .55s .08s both; }
body.nexusot-site .rightPane .well { margin: 0 0 14px; border: 1px solid rgba(211, 164, 84, .45); background: linear-gradient(145deg, rgba(8, 23, 43, .95), rgba(2, 10, 21, .94)); box-shadow: inset 0 0 0 1px rgba(18, 93, 159, .22), 0 8px 18px rgba(0, 0, 0, .22); }
body.nexusot-site .rightPane .well:last-child { margin-bottom: 0; }
body.nexusot-site .rightPane .header, body.nexusot-site .site-main .header { border-bottom: 1px solid rgba(203, 156, 76, .28); background: transparent; color: #f0d493; font-family: Georgia, serif; letter-spacing: .08em; }
body.nexusot-site .site-main > h1, body.nexusot-site .site-main > h2 { color: #f0d493; font-family: Georgia, serif; font-weight: 400; letter-spacing: .06em; text-shadow: 0 2px 7px rgba(0, 0, 0, .7); }
body.nexusot-site .site-main > h1 { margin: 0 0 22px; font-size: clamp(26px, 3vw, 40px); }
body.nexusot-site .site-main > h2 { margin-top: 26px; font-size: 21px; }
body.nexusot-site .site-main p, body.nexusot-site .site-main li { color: #b5c0cf; line-height: 1.7; }
body.nexusot-site .site-main ul, body.nexusot-site .site-main ol { padding-left: 24px; }
body.nexusot-site .site-main table, body.nexusot-site .rightPane table { width: 100%; border-collapse: collapse; border: 1px solid rgba(130, 155, 187, .2); background: rgba(3, 12, 25, .78); }
body.nexusot-site .site-main td, body.nexusot-site .site-main th, body.nexusot-site .rightPane td, body.nexusot-site .rightPane th { padding: 11px 10px; border-bottom: 1px solid rgba(130, 155, 187, .13); color: #bac5d2; }
body.nexusot-site .site-main tr:nth-child(2n+1), body.nexusot-site .rightPane tr:nth-child(2n+1) { background: rgba(20, 54, 92, .23); }
body.nexusot-site .site-main tr:hover, body.nexusot-site .rightPane tr:hover { background: rgba(31, 101, 180, .22); }
body.nexusot-site input, body.nexusot-site select, body.nexusot-site textarea { max-width: 100%; border: 1px solid rgba(121, 152, 191, .4); border-radius: 3px; background: rgba(2, 9, 20, .9); color: #edf2f8; }
body.nexusot-site input:focus, body.nexusot-site select:focus, body.nexusot-site textarea:focus { outline: 0; border-color: #4e9ff9; box-shadow: 0 0 0 2px rgba(45, 137, 255, .18), 0 0 15px rgba(45, 137, 255, .2); }
body.nexusot-site button, body.nexusot-site input[type="submit"], body.nexusot-site input[type="button"] { border: 1px solid #d7a447; border-radius: 3px; background: linear-gradient(180deg, #1c75ea, #063477); color: #fff3c7; cursor: pointer; transition: filter .2s ease, transform .2s ease, box-shadow .2s ease; }
body.nexusot-site button:hover, body.nexusot-site input[type="submit"]:hover, body.nexusot-site input[type="button"]:hover { filter: brightness(1.18); box-shadow: 0 0 17px rgba(50, 141, 255, .28); transform: translateY(-1px); }
body.nexusot-site .alert-box { border-color: rgba(211, 164, 84, .52); border-radius: 3px; background: rgba(5, 17, 33, .9); }
body.nexusot-site .yellow { background: rgba(20, 64, 112, .45) !important; color: #f2d796; }
body.nexusot-site .jogarBtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d39b3c; background: linear-gradient(180deg, #1a67c9, #083378); box-shadow: 0 0 14px rgba(39, 121, 255, .2); color: #fff2d4 !important; }

/* Changelog timeline */
.nexus-changelog { display: grid; gap: 18px; }
.nexus-changelog__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 0 22px; border-bottom: 1px solid rgba(211, 164, 84, .25); }
.nexus-changelog__eyebrow { display: block; margin-bottom: 9px; color: #72aef0; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.nexus-changelog__intro h1 { margin: 0 0 10px; color: #f5dda4; font-family: "NexusDisplay", Georgia, serif; font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; letter-spacing: .04em; line-height: 1.08; }
.nexus-changelog__intro p { max-width: 680px; margin: 0; color: #aebdce; font-size: 13px; line-height: 1.7; }
.nexus-changelog__summary { display: grid; flex: 0 0 150px; gap: 3px; padding: 14px 16px; border: 1px solid rgba(211, 164, 84, .42); background: linear-gradient(145deg, rgba(20, 57, 101, .48), rgba(3, 13, 27, .8)); text-align: center; }
.nexus-changelog__summary strong { color: #f6d889; font-family: "NexusDisplay", Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1; }
.nexus-changelog__summary span { color: #d9e4f1; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.nexus-changelog__summary small { margin-top: 5px; color: #78b8ff; font-size: 10px; }
.nexus-changelog__notice { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid rgba(95, 220, 142, .36); background: rgba(27, 103, 68, .25); color: #a7efbd; font-size: 12px; }
.nexus-changelog__timeline { position: relative; display: grid; gap: 14px; }
.nexus-changelog__timeline::before { position: absolute; top: 18px; bottom: 18px; left: 9px; width: 1px; content: ""; background: linear-gradient(180deg, rgba(97, 168, 255, .8), rgba(224, 168, 72, .14)); }
.nexus-changelog-entry { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 13px; min-width: 0; }
.nexus-changelog-entry__rail { position: relative; z-index: 1; display: flex; justify-content: center; }
.nexus-changelog-entry__rail span { width: 10px; height: 10px; margin-top: 19px; border: 2px solid #f1cc78; border-radius: 50%; background: #07182c; box-shadow: 0 0 0 4px rgba(241, 204, 120, .08), 0 0 14px rgba(89, 165, 255, .5); }
.nexus-changelog-entry__content { min-width: 0; padding: 18px 20px 16px; border: 1px solid rgba(121, 157, 198, .38); background: linear-gradient(145deg, rgba(10, 31, 57, .94), rgba(2, 12, 25, .96)); box-shadow: inset 0 0 0 1px rgba(18, 93, 159, .18), 0 9px 18px rgba(0, 0, 0, .18); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nexus-changelog-entry:hover .nexus-changelog-entry__content { border-color: rgba(224, 168, 72, .62); box-shadow: inset 0 0 0 1px rgba(18, 93, 159, .28), 0 12px 24px rgba(0, 0, 0, .28); transform: translateY(-1px); }
.nexus-changelog-entry__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(130, 155, 187, .18); }
.nexus-changelog-entry__category { display: inline-flex; align-items: center; min-height: 21px; padding: 0 8px; border: 1px solid rgba(96, 166, 247, .44); border-radius: 999px; background: rgba(38, 110, 192, .18); color: #8ac3ff; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nexus-changelog-entry h2 { margin: 8px 0 0; color: #f3dfaa; font-family: "NexusDisplay", Georgia, serif; font-size: 21px; font-weight: 400; letter-spacing: .03em; line-height: 1.2; }
.nexus-changelog-entry time { flex: 0 0 auto; padding-top: 3px; color: #8fa4bb; font-size: 10px; white-space: nowrap; }
.nexus-changelog-entry time i { margin-right: 4px; color: #e4b65d; }
.nexus-changelog-entry__body { padding-top: 13px; color: #c0ccda; font-size: 13px; line-height: 1.75; white-space: normal; }
.nexus-changelog-entry__actions { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding-top: 11px; border-top: 1px solid rgba(130, 155, 187, .14); font-size: 10px; }
.nexus-changelog-entry__actions form { margin: 0; }
.nexus-changelog-entry__actions button { padding: 5px 8px; border-color: rgba(220, 115, 115, .5); background: rgba(115, 34, 45, .45); color: #f4b5b5; font-size: 10px; }
.nexus-changelog-admin { border: 1px solid rgba(224, 168, 72, .38); background: rgba(5, 18, 35, .76); }
.nexus-changelog-admin summary { padding: 12px 14px; color: #f1d58f; cursor: pointer; font-size: 12px; }
.nexus-changelog-admin summary i { margin-right: 7px; color: #79b8ff; }
.nexus-changelog-admin__form { display: grid; gap: 8px; padding: 0 14px 14px; }
.nexus-changelog-admin__form label { color: #dbe8f7; font-size: 12px; font-weight: 600; }
.nexus-changelog-admin__hint { color: #91a6bc; font-size: 11px; line-height: 1.55; }
.nexus-changelog-admin__hint code { color: #f0d493; }
.nexus-changelog-admin__form textarea { width: 100%; min-height: 170px; padding: 10px; resize: vertical; font: 12px/1.6 "NexusSans", Arial, sans-serif; }
.nexus-changelog-admin__form button { justify-self: start; padding: 9px 13px; font-size: 11px; }
.nexus-changelog__empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; border: 1px dashed rgba(121, 157, 198, .38); color: #aebdce; text-align: center; }
.nexus-changelog__empty i { color: #e1b55e; font-size: 28px; }
.nexus-changelog__empty strong { color: #eee1c1; font-size: 14px; }
.nexus-changelog__empty span { font-size: 12px; }

.site-footer { display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 25px; min-height: 150px; padding: 30px 40px 20px; border-top: 1px solid rgba(211, 161, 74, .55); background: linear-gradient(90deg, rgba(3, 11, 24, .97), rgba(4, 13, 26, .91)), url("../img/nexusot/sunset-world.webp") right center / cover no-repeat; color: #9ba7b8; }
.site-footer strong { color: #ecd190; font-family: Georgia, serif; font-size: 19px; font-weight: 400; letter-spacing: .08em; }
.site-footer p { margin: 8px 0 0; font-size: 11px; }
.site-footer__links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 9px 20px; }
.site-footer__links a { color: #9ba7b8 !important; font-size: 11px; }
.site-footer__links a:hover { color: #fff0bd !important; }
.site-footer__meta { display: flex; flex-direction: column; gap: 8px; justify-content: center; color: #6f7e92; font-size: 10px; text-align: right; }

.site-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(ellipse at center, #0c2444ed, #01060efd 65%); color: #e6cd95; font: 400 10px 'NexusSans', Arial, sans-serif; letter-spacing: .3em; text-align: center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .4s ease, visibility .4s ease; }
.site-loading .site-loader, .site-leaving .site-loader { visibility: visible; opacity: 1; }
.site-loader__emblem { position: relative; display: grid; place-items: center; width: 230px; height: 180px; }
.site-loader__emblem img { position: relative; z-index: 1; width: 218px; height: auto; filter: drop-shadow(0 0 18px #2d8bff77); }
.site-loader__emblem::before, .site-loader__emblem::after { position: absolute; inset: 0 25px; content: ''; border: 1px solid #367ebb33; border-top-color: #75cfff; border-bottom-color: #dab974; border-radius: 50%; box-shadow: 0 0 24px #2475d52b, inset 0 0 24px #2475d517; animation: nexus-spin 2.4s linear infinite; }
.site-loader__emblem::after { inset: 13px 38px; border-color: #be975733; border-right-color: #f6d991; border-left-color: #459fff; animation-direction: reverse; animation-duration: 3.2s; }
.site-loader__track { width: 150px; height: 2px; overflow: hidden; background: #173150; }
.site-loader__track::after { display: block; width: 50%; height: 100%; content: ''; background: linear-gradient(90deg, transparent, #67baff, #ffe5a9, transparent); animation: nexus-loading-track 1.2s ease-in-out infinite; }
.site-loader *, .site-loader *::before, .site-loader *::after { animation-play-state: paused; }
.site-loading .site-loader *, .site-loading .site-loader *::before, .site-loading .site-loader *::after, .site-leaving .site-loader *, .site-leaving .site-loader *::before, .site-leaving .site-loader *::after { animation-play-state: running; }
.site-ripple { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 247, 213, .55); pointer-events: none; transform: translate(-50%, -50%) scale(0); animation: nexus-ripple .58s ease-out forwards; }

@keyframes nexus-brand-glow { 0%, 65%, 100% { filter: drop-shadow(0 5px 8px #000a); } 76% { filter: drop-shadow(0 5px 8px #000a) drop-shadow(0 0 9px #2c9dffaa); } 88% { filter: drop-shadow(0 5px 8px #000a) drop-shadow(0 0 6px #ffd07788); } }
@keyframes nexus-brand-shine { 0%, 62% { background-position: 150% 0; opacity: 0; } 66%, 82% { opacity: .85; } 88%, 100% { background-position: -50% 0; opacity: 0; } }
@keyframes nexus-loading-track { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@keyframes nexus-pulse { 0%, 100% { opacity: .56; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes nexus-spin { to { transform: rotate(360deg); } }
@keyframes nexus-ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(24); } }
@keyframes nexus-button-sheen { 0%, 55% { transform: translateX(0) skewX(-18deg); opacity: 0; } 65% { opacity: 1; } 85%, 100% { transform: translateX(360%) skewX(-18deg); opacity: 0; } }
@keyframes nexus-login-breathe { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(129, 184, 255, .1), 0 0 0 rgba(72, 157, 255, 0); } 50% { box-shadow: inset 0 0 0 1px rgba(129, 184, 255, .22), 0 0 13px rgba(43, 130, 255, .18); } }

@media (max-width: 1180px) {
	.site-header__inner { width: min(100% - 32px, 1180px); gap: 10px; }
	.site-brand { width: 136px; }
	.site-auth { gap: 6px; }
	.site-online { display: none; }
	.site-header .site-nav__link { padding: 0 10px; font-size: 11px; }
	.site-subhero { padding-right: 36px; padding-left: 36px; }
}

@media (max-width: 980px) and (min-width: 901px) {
	.site-brand { width: 126px; }
	.site-icon-link { display: none; }
	.site-header .site-nav__link { padding: 0 7px; font-size: 10px; }
}

@media (max-width: 900px) {
	.site-header { background: rgba(4, 8, 15, .86); }
	.site-header__inner { width: calc(100% - 24px); flex-wrap: wrap; height: auto; min-height: 62px; }
	.site-brand { --brand-width: 132px; --brand-height: 70px; --brand-left: 0px; width: 136px; height: 62px; }
	.site-header .site-nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
	.site-nav { display: none; order: 3; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 4px 0 -6px; padding: 8px 0 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
	.site-nav.is-open { display: flex; }
	.site-nav__item { display: block; }
	.site-header .site-nav__link { justify-content: center; width: 100%; min-height: 42px; border-bottom: 0; }
	.site-nav__dropdown { position: static; display: none; min-width: 0; padding: 0 8px 6px; border: 0; border-radius: 0; background: rgba(255, 255, 255, .035); box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
	.site-nav__item.is-open > .site-nav__dropdown { display: grid; }
	.site-nav__dropdown a { padding: 9px; text-align: center; }
	.site-header .site-button { min-height: 30px; padding: 0 10px; font-size: 9px; }
	.site-beta-banner { width: calc(100% - 24px); margin-top: 76px; padding: 12px 14px; }
	.site-header:not(.site-header--home) + .site-beta-banner { margin-top: 14px; }
	.site-header--home + .site-beta-banner { margin-top: 76px; }
	.site-beta-banner__copy strong { font-size: 12px; }
	.site-beta-banner__copy span { font-size: 10px; }
	.site-auth .site-icon-link { display: none; }
	body.nexusot-site .feedContainer.site-feed { grid-template-columns: 1fr; }
	body.nexusot-site .site-countdown { grid-column: auto; }
	body.nexusot-site .rightPane { grid-row: auto; }
	.nexus-changelog__intro { align-items: flex-start; flex-direction: column; }
	.nexus-changelog__summary { width: 100%; }
	.site-subhero { min-height: 188px; padding: 30px 25px; }
	.site-subhero__title { font-size: 31px; }
	.site-footer { grid-template-columns: 1fr; padding: 28px 25px; }
	.site-footer__meta { text-align: left; }
}

@media (max-width: 500px) {
	.site-header__inner { width: calc(100% - 22px); }
	.site-brand { --brand-width: 122px; --brand-height: 65px; width: 126px; }
	.site-auth { gap: 6px; }
	.site-auth .site-button--quiet { display: none; }
	.site-beta-banner { align-items: flex-start; gap: 10px; margin-top: 14px; padding: 11px 12px; }
	.site-header--home + .site-beta-banner { margin-top: 76px; }
	.site-beta-banner__badge { min-height: 27px; padding: 0 9px; font-size: 10px; }
	.site-beta-banner__copy strong { font-size: 10px; letter-spacing: .06em; }
	.site-beta-banner__copy span { font-size: 9px; line-height: 1.4; }
	.site-subhero { align-items: flex-start; flex-direction: column; gap: 20px; min-height: 235px; padding: 28px 18px; }
	.site-subhero__cta { padding: 10px 16px; font-size: 12px; }
	body.nexusot-site .leftPane.site-main { padding: 18px 14px; }
	.nexus-changelog-entry__content { padding: 15px 14px 14px; }
	.nexus-changelog-entry__header { flex-direction: column; gap: 9px; }
	.nexus-changelog-entry h2 { font-size: 18px; }
	.nexus-changelog-entry time { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header *, .site-header *::before, .site-header *::after, .site-loader, .site-loader *, .site-loader *::before, .site-loader *::after, body.nexusot-site .leftPane.site-main, body.nexusot-site .rightPane { animation: none !important; transition-duration: .01ms !important; }
	.site-brand::after, .site-loader { display: none; }
}

/* Shared content safeguards for narrow screens and media with unknown sizes. */
html { overflow-x: hidden; }
body.nexusot-site img { max-width: 100%; height: auto; }
body.nexusot-site .site-main table,
body.nexusot-site .rightPane table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.nexusot-site .site-main iframe,
body.nexusot-site .rightPane iframe { max-width: 100%; }
body.nexusot-site .site-main h1,
body.nexusot-site .site-main h2,
body.nexusot-site .site-main h3 { overflow-wrap: anywhere; }

@media (max-width: 600px) {
	body.nexusot-site .site-subhero__cta { align-self: stretch; justify-content: center; }
	body.nexusot-site .site-countdown { align-items: flex-start; flex-direction: column; padding-top: 11px; padding-bottom: 11px; }
}
