
:root {
	--hf-ink: #08090d;
	--hf-void: #10121a;
	--hf-panel: #171925;
	--hf-panel-2: #1e2030;
	--hf-line: #39314c;
	--hf-purple: #a66cff;
	--hf-purple-bright: #cfadff;
	--hf-orange: #ff762f;
	--hf-orange-soft: #ffad5c;
	--hf-text: #eeeaf6;
	--hf-muted: #aaa3b9;
}

html, body {
	background: var(--hf-ink);
	color: var(--hf-text);
	font-family: "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 13px;
}

body {
	background-image:
		radial-gradient(circle at 12% 8%, rgba(166, 108, 255, .13), transparent 23rem),
		radial-gradient(circle at 88% 42%, rgba(255, 118, 47, .08), transparent 28rem);
	background-size: 140% 140%, 155% 155%;
	animation: hf-haunted-sky 26s ease-in-out infinite alternate;
	overflow-x: hidden;
	text-align: left;
	line-height: 1.5;
}

body:before, body:after {
	position: fixed;
	z-index: 0;
	pointer-events: none;
	content: "";
}
body:before {
	inset: 0;
	opacity: .14;
	background:
		radial-gradient(ellipse at 18% 100%, transparent 0 18%, rgba(166, 108, 255, .35) 18.2%, transparent 34%),
		radial-gradient(ellipse at 83% 100%, transparent 0 15%, rgba(255, 118, 47, .25) 15.2%, transparent 33%);
	filter: blur(18px);
	animation: hf-fog-roll 20s ease-in-out infinite alternate;
}
body:after {
	inset: 0;
	opacity: .22;
	background-image: radial-gradient(#eadbff 1px, transparent 1px);
	background-size: 137px 137px;
	animation: hf-dust-fall 34s linear infinite;
}

a:link, a:visited {color: var(--hf-purple-bright);}
a:hover, a:active { color: var(--hf-orange-soft); text-shadow: 0 0 12px rgba(255, 118, 47, .4); }

#container, #header, #content, #footer { position: relative; z-index: 1; width: 100%; }
#container { min-width: 0 !important; }
.wrapper, #container .wrapper {
	width: calc(100% - 32px) !important;
	min-width: 0 !important;
	max-width: 1180px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	box-sizing: border-box;
}

#logo {
	position: relative;
	min-height: 168px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(7, 8, 13, .22), rgba(7, 8, 13, .95)),
		radial-gradient(circle at 76% 20%, #3d2a5d 0, #1c1930 27%, #0c0e17 72%);
	border-bottom: 1px solid #4e3568;
	box-shadow: inset 0 -34px 55px rgba(0, 0, 0, .45), 0 8px 24px rgba(0, 0, 0, .34);
}

#logo:before {
	content: "";
	position: absolute;
	inset: -45px 0 auto auto;
	width: 300px;
	height: 260px;
	opacity: .42;
	background:
		linear-gradient(24deg, transparent 49.5%, #bca5d9 50%, transparent 50.6%),
		linear-gradient(68deg, transparent 49.5%, #bca5d9 50%, transparent 50.6%),
		linear-gradient(112deg, transparent 49.5%, #bca5d9 50%, transparent 50.6%),
		radial-gradient(ellipse at 100% 0, transparent 28%, #bca5d9 28.4%, transparent 29%, transparent 40%, #bca5d9 40.4%, transparent 41%, transparent 52%, #bca5d9 52.4%, transparent 53%);
	transform-origin: top right;
	animation: hf-web-sway 9s ease-in-out infinite;
	pointer-events: none;
}

#logo:after {
	content: "";
	position: absolute;
	top: 22px;
	right: 16%;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #ffd98a;
	box-shadow: 0 0 28px 8px rgba(255, 196, 92, .24), 0 0 90px 28px rgba(255, 144, 65, .08);
	opacity: .88;
	animation: hf-moon-pulse 5s ease-in-out infinite;
}

#logo .wrapper { position: relative; z-index: 2; min-height: 168px; }
.hf-brand, #logo a.hf-brand {
	position: relative;
	z-index: 3;
	display: flex !important;
	flex-direction: column;
	gap: 1px;
	width: auto !important;
	height: auto !important;
	padding: 27px 0 15px !important;
	text-decoration: none !important;
	text-shadow: 0 3px 16px #000;
}
.hf-brand__sigil {
	position: absolute;
	top: 26px;
	left: -44px;
	color: var(--hf-orange);
	font-size: 30px;
	filter: drop-shadow(0 0 8px rgba(255, 118, 47, .55));
	animation: hf-flicker 3.8s infinite;
}
.hf-brand__name {
	color: #fff;
	font-size: 40px !important;
	font-weight: 900;
	letter-spacing: -.07em;
	line-height: .95;
}
.hf-brand__name span { color: var(--hf-orange); }
.hf-brand__tagline {
	color: #b9abc9;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.hf-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hf-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff4d3; opacity: .8; box-shadow: 0 0 8px #fff4d3; animation: hf-twinkle 3s infinite; }
.hf-star--1 { top: 33%; left: 46%; }
.hf-star--2 { top: 19%; left: 61%; animation-delay: 1s; }
.hf-star--3 { top: 49%; left: 72%; animation-delay: 2s; }
.hf-bat { position: absolute; color: #08070e; font-size: 28px; filter: drop-shadow(0 2px 1px rgba(255, 118, 47, .2)); animation: hf-bat-flight 13s linear infinite; }
.hf-bat--1 { top: 20px; left: 57%; }
.hf-bat--2 { top: 80px; left: 76%; font-size: 18px; animation-delay: -6s; }
.hf-spider { position: absolute; top: -3px; left: 19%; width: 40px; height: 112px; animation: hf-crawl 19s linear infinite; }
.hf-spider__thread { position: absolute; left: 19px; top: 0; height: 78px; border-left: 1px solid rgba(231, 215, 245, .7); }
.hf-spider__body { position: absolute; top: 75px; left: 11px; width: 18px; height: 23px; border-radius: 48%; background: #0b0911; border: 2px solid #4d3e5b; box-shadow: 0 0 10px rgba(166, 108, 255, .4); }
.hf-leg { position: absolute; top: 82px; left: 19px; width: 22px; border-top: 2px solid #0b0911; transform-origin: left; }
.hf-leg--1 { transform: rotate(28deg); } .hf-leg--2 { transform: rotate(57deg); top: 88px; }
.hf-leg--3 { transform: rotate(152deg); } .hf-leg--4 { transform: rotate(123deg); top: 88px; }

#header ul.menu.top_links {
	position: absolute;
	right: 0;
	bottom: 17px;
	display: flex;
	gap: 4px;
	align-items: center;
}
#header ul.menu.top_links li a {
	padding: 8px 10px;
	border: 1px solid rgba(166, 108, 255, .22);
	border-radius: 5px;
	color: #eee7fa;
	background: rgba(12, 11, 20, .56);
	background-image: none !important;
	font-size: 12px !important;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: .2s ease;
}
#header ul.menu.top_links li a:hover { border-color: var(--hf-orange); background: rgba(255, 118, 47, .16); }

#panel { position: relative; z-index: 4; background: #12131d; border-bottom: 1px solid #30283e; }
#panel .upper {
	background: linear-gradient(90deg, #171725, #202032 48%, #171725);
	color: var(--hf-muted);
	border-top: 1px solid #42365b;
	border-bottom: 1px solid #09090e;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
#panel .upper a { color: var(--hf-purple-bright); }
#panel .wrapper { min-height: 52px; }
#panel input, #panel select { font-size: 12px; }
#panel .welcome { color: var(--hf-text); }
#panel .welcome a, #panel .panel_links a { color: var(--hf-orange-soft); font-weight: bold; }
#panel .hf-welcome {
	display: block;
	padding: 8px 0 5px;
	color: #cfc6db;
	font-size: 12px;
}
#panel .hf-welcome strong { color: #fff; }
#panel .hf-user-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	padding: 2px 0 8px;
}
#panel .hf-user-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#panel .hf-user-nav li { display: block; margin: 0; }
#panel .hf-user-nav a {
	font-size: 11px;
	text-decoration: none;
}
#panel .hf-user-nav--guest {
	padding-bottom: 9px;
	color: #8f879d;
	font-size: 11px;
}
#panel input.textbox, #panel select { background: #0c0d13; color: var(--hf-text); border: 1px solid #4c3d61; }
#panel input.button { background: var(--hf-orange); color: #160d08; border: 0; font-weight: bold; }
.hf-alert-rail { display: flex; flex-wrap: wrap; gap: 7px; width: 100%; box-sizing: border-box; padding: 8px 0 2px; background: #0d0e15; }
.hf-alert-rail > * { flex: 1 1 260px; margin: 0 !important; padding: 9px 12px !important; border: 1px solid #674064 !important; border-left: 3px solid var(--hf-orange) !important; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 118, 47, .12), rgba(166, 108, 255, .08)); color: #f7e8dd; font-size: 12px; }

#content {background: transparent;min-height: 380px;}
#content > .wrapper { padding-top: 22px; }
#content table {width: 100%;max-width: 100%;color: var(--hf-text);font-size: 13px;}
#content .tborder { width: 100% !important; }
#content img, .scaleimages img { max-width: 100%; height: auto; }
#content pre, .codeblock code { max-width: 100%; overflow-x: auto; }
.navigation { color: var(--hf-muted); }
.tborder, .tborder tbody, .tborder tr, .tborder td {/* border-color: var(--hf-line); */}
.tborder { background: var(--hf-panel); border: 1px solid var(--hf-line); border-radius: 7px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.thead {background: linear-gradient(100deg, #2a203e, #312449 55%, #211c33);color: #fff;border-bottom: 1px solid #62447b;}
.thead a, .thead strong { color: #fff; }
.tcat { background: linear-gradient(90deg, #222032, #2b2639); color: #f6eefe; border-top: 1px solid #423658; border-bottom: 1px solid #3e3450; }
.tcat a { color: var(--hf-purple-bright); }
.trow1 { background: #171923; } .trow2 { background: #1c1e2a; }
.trow1:hover, .trow2:hover { background: #262032; }
.trow_shaded { background: #302031; border-color: #6c3d48; }
.trow_selected, tr.trow_selected td { background: #3a2b22; color: #fff0df; border-color: #9b5b37; }
.trow_selected a, tr.trow_selected a { color: #ffc080; }
.tfoot, .bottommenu { background: #211d2c; color: var(--hf-muted); border-color: #463852; }
.tfoot a, .bottommenu a { color: var(--hf-purple-bright); }
.smalltext { color: var(--hf-muted); }
input.textbox, textarea, select { background: #0e0f16; color: var(--hf-text); border: 1px solid #4b4058; border-radius: 3px; }
input.textbox:focus, textarea:focus, select:focus { outline: 2px solid rgba(166, 108, 255, .25); border-color: var(--hf-purple); }
input.button, button, .button { border: 1px solid #b35024; border-radius: 4px; background: linear-gradient(#ff8a40, #d95722); color: #1b0e09; font-weight: bold; box-shadow: 0 3px 0 #6d2d18; }
input.button:hover, button:hover, .button:hover { background: linear-gradient(#ffb05b, #ed6b2e); }
.popup_menu { background: #171923; border: 1px solid #56436b; box-shadow: 0 12px 25px #000; }
.popup_menu .popup_item:hover { background: #3a2950; color: #fff; }
.pagination a { background: #1d1c2a; border-color: #4f3d63; color: var(--hf-purple-bright); }
.pagination .pagination_current { background: var(--hf-purple); color: #160c20; border-color: var(--hf-purple); }
blockquote, .codeblock { border-color: #59416e; background: #11121b; color: #dcd4e7; }
.postbit { border-color: var(--hf-line); }
.post_author { background: #171724; }
.post_content { background: #1b1d29; }
.subject_new { color: var(--hf-orange-soft) !important; }
blockquote cite, .codeblock .title { border-color: #4a3a59; color: #e4d6f0; }
.pm_alert, div.error { background: #342722; border-color: #a6613d; color: #ffe2c1; }
.red_alert { background: #381e28; border-color: #a14a57; color: #ffcbd0; }
.pm_alert a, div.error a, .red_alert a { color: #ffb57b; }
fieldset { border-color: #463852; }
hr { border-color: #383044; }

#footer { margin-top: 36px; background: #0a0b10; border-top: 1px solid #382b47; color: var(--hf-muted); overflow: hidden; }
#footer:before {
	content: "✦  ☾  ✧  ☠  ✧  ☾  ✦";
	display: block;
	padding: 7px 0;
	color: rgba(255, 173, 92, .4);
	font-size: 12px;
	letter-spacing: 1.1em;
	text-align: center;
	animation: hf-footer-omens 8s ease-in-out infinite;
}
#footer .upper { background: linear-gradient(90deg, #151321, #2b1b31, #151321, #201934); background-size: 300% 100%; border-bottom: 1px solid #30243c; animation: hf-ember-drift 16s linear infinite; }
#footer .lower { background: #08090d; }
#footer .wrapper { padding-top: 18px; padding-bottom: 18px; }
#footer .bottom_links { display: flex; flex-wrap: wrap; gap: 8px 16px; float: none !important; }
#footer .upper .language, #footer .upper .theme { float: none; display: inline-block; margin: 0 12px 8px 0; }
#footer .bottom_links a { color: #d8c5ec; font-size: 11px; }
.hf-footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 1fr)); gap: 22px; padding: 26px 0 10px; }
.hf-footer-brand { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.hf-footer-brand span { color: var(--hf-orange); }
.hf-footer-kicker { margin: 6px 0 0; color: #8f879d; font-size: 11px; }
.hf-footer-heading { margin: 0 0 8px; color: var(--hf-orange-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hf-footer-list { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.9; }
.hf-footer-list a { color: #c8b9d8; }
#copyright { color: #777082; font-size: 11px; }

@keyframes hf-haunted-sky { 0% { background-position: 0 0, 100% 20%; } 100% { background-position: 38% 24%, 60% 78%; } }
@keyframes hf-fog-roll { 0% { transform: translate3d(-5%, 3%, 0) scale(1); } 100% { transform: translate3d(8%, -2%, 0) scale(1.15); } }
@keyframes hf-dust-fall { 0% { transform: translateY(-8%); } 100% { transform: translateY(8%); } }
@keyframes hf-web-sway { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(4deg) scale(1.04); } }
@keyframes hf-moon-pulse { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
@keyframes hf-flicker { 0%, 8%, 10%, 70%, 100% { opacity: 1; } 9%, 71% { opacity: .35; } }
@keyframes hf-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes hf-bat-flight { 0% { transform: translateX(-30px) translateY(12px) scale(.7); opacity: 0; } 12%, 82% { opacity: .9; } 100% { transform: translateX(260px) translateY(-28px) scale(1.1); opacity: 0; } }
@keyframes hf-crawl { 0% { transform: translate(0, -5px) rotate(-3deg); } 45% { transform: translate(110px, 3px) rotate(5deg); } 100% { transform: translate(0, -5px) rotate(-3deg); } }
@keyframes hf-ember-drift { 0% { background-position: 0 0; } 100% { background-position: 300% 0; } }
@keyframes hf-footer-omens { 0%, 100% { opacity: .35; transform: translateX(-10px); } 50% { opacity: .85; transform: translateX(10px); } }
@media (max-width: 700px) {
	#logo { min-height: 215px; }
	#logo .wrapper { min-height: 215px; }
	.hf-brand__name { font-size: 30px !important; }
	.hf-brand__tagline { font-size: 8px; letter-spacing: .14em; }
	#header ul.menu.top_links { left: 0; right: 0; bottom: 12px; justify-content: center; flex-wrap: wrap; }
	#header ul.menu.top_links li a { padding: 7px 8px; font-size: 10px !important; }
	.hf-brand__sigil { left: 0; top: 18px; }
	.hf-brand { padding-left: 38px !important; }
	#panel .upper .wrapper { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	#panel .upper .wrapper > * { max-width: 100%; }
	#panel .upper .menu { display: flex; flex-wrap: wrap; gap: 5px; }
	#panel .quick_jump, #panel #search { float: none; max-width: 100%; }
	#panel #search { display: flex; align-items: center; gap: 5px; }
	#panel #search input.textbox { width: calc(100% - 58px); box-sizing: border-box; }
	.hf-alert-rail { padding: 8px 10px; }
	.hf-alert-rail > * { flex-basis: 100%; }
	#content > .wrapper { padding-top: 14px; }
	#content .tborder { display: block; overflow-x: auto; }
	#content .tborder > tbody { display: table; width: 100%; }
	#content .tborder td { overflow-wrap: anywhere; }
	#content .forum_legend { display: grid; grid-template-columns: 30px 1fr; gap: 5px; }
	#footer #current_time { display: block; float: none; margin-bottom: 7px; }
	.hf-footer-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
	#footer .bottom_links { gap: 8px 12px; }
	#footer .wrapper { width: calc(100% - 20px) !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
		