/*
 * aimware.net
 * Dark theme built on design tokens. Bootstrap 5.3 runs in data-bs-theme="dark"
 * and its variables are mapped to the tokens below.
 */

:root {
	--aw-bg: #0a0e15;
	--aw-surface: rgb(17, 25, 39);
	--aw-surface-2: rgb(26, 35, 50);
	--aw-surface-3: #222d3f;
	--aw-input: #0d131d;

	--aw-border: rgba(148, 163, 184, 0.1);
	--aw-border-strong: rgba(148, 163, 184, 0.18);
	--aw-highlight: rgba(255, 255, 255, 0.04);

	--aw-text: #e7ecf3;
	--aw-text-muted: #8b96a8;
	--aw-text-subtle: #5e697b;

	--aw-accent: rgb(255, 69, 68);
	--aw-accent-strong: #e8393a;
	--aw-accent-hover: #ff6261;
	--aw-accent-soft: rgba(255, 69, 68, 0.12);
	--aw-accent-ring: rgba(255, 69, 68, 0.35);
	--aw-accent-border: rgba(255, 69, 68, 0.3);
	--aw-accent-line: linear-gradient(90deg, var(--aw-accent), rgba(255, 69, 68, 0) 40%);

	--aw-success: #34c77b;
	--aw-warning: #f2b33d;
	--aw-info: #5b9cff;

	--aw-radius-sm: 6px;
	--aw-radius: 10px;
	--aw-radius-lg: 14px;

	--aw-shadow: inset 0 1px 0 0 var(--aw-highlight), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
	--aw-shadow-pop: 0 18px 48px -12px rgba(0, 0, 0, 0.75);

	--aw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--aw-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-bs-theme="dark"] {
	--bs-body-font-family: var(--aw-font);
	--bs-body-font-size: 15px;
	--bs-body-line-height: 1.6;
	--bs-body-bg: var(--aw-bg);
	--bs-body-color: var(--aw-text);
	--bs-emphasis-color: #fff;
	--bs-secondary-color: var(--aw-text-muted);
	--bs-tertiary-color: var(--aw-text-subtle);
	--bs-secondary-bg: var(--aw-surface-2);
	--bs-tertiary-bg: var(--aw-surface);
	--bs-border-color: var(--aw-border-strong);
	--bs-border-color-translucent: var(--aw-border);
	--bs-border-radius: var(--aw-radius-sm);
	--bs-border-radius-lg: var(--aw-radius);
	--bs-link-color: var(--aw-text);
	--bs-link-color-rgb: 231, 236, 243;
	--bs-link-hover-color: #fff;
	--bs-link-hover-color-rgb: 255, 255, 255;
	--bs-primary: var(--aw-accent);
	--bs-primary-rgb: 255, 69, 68;
	--bs-danger: var(--aw-accent);
	--bs-danger-rgb: 255, 69, 68;
	--bs-success: var(--aw-success);
	--bs-success-rgb: 52, 199, 123;
	--bs-warning: var(--aw-warning);
	--bs-warning-rgb: 242, 179, 61;
	--bs-dark-rgb: 17, 25, 39;
	--bs-focus-ring-color: var(--aw-accent-ring);
	--bs-heading-color: #fff;
	color-scheme: dark;
}

/* Base */

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(1100px 520px at 50% -220px, rgba(255, 69, 68, 0.11), transparent 70%),
		radial-gradient(900px 480px at 100% 0, rgba(91, 156, 255, 0.05), transparent 70%),
		var(--aw-bg);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
}

body > .container {
	flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: #fff;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

a {
	color: var(--aw-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: #fff;
}

p a,
.forum-post-content a,
.section-article-content a,
.board-notice a,
td a {
	color: var(--aw-accent-hover);
}

.online-user {
	color: var(--aw-text);
}

.online-user:hover {
	color: #fff;
}

p a:hover,
.forum-post-content a:hover,
.section-article-content a:hover,
.board-notice a:hover,
td a:hover {
	color: #fff;
}

::selection {
	background: var(--aw-accent-ring);
	color: #fff;
}

hr {
	border-color: var(--aw-border-strong);
	opacity: 1;
}

img {
	max-width: 100%;
}

code,
pre,
kbd {
	font-family: var(--aw-mono);
	font-size: 0.875em;
}

pre {
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-sm);
	padding: 12px 14px;
}

blockquote {
	margin: 0 0 1rem;
	padding: 10px 16px;
	border-left: 3px solid var(--aw-border-strong);
	background: rgba(255, 255, 255, 0.02);
	border-radius: 0 var(--aw-radius-sm) var(--aw-radius-sm) 0;
	color: var(--aw-text-muted);
}

/* Development banner */

.environment-banner {
	position: fixed;
	left: 50%;
	bottom: 12px;
	z-index: 1080;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 16px;
	transform: translateX(-50%);
	background: repeating-linear-gradient(-45deg, rgba(242, 179, 61, 0.14) 0 10px, rgba(242, 179, 61, 0.06) 10px 20px), rgba(10, 14, 21, 0.85);
	border: 1px solid rgba(242, 179, 61, 0.35);
	border-radius: 999px;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.8), 0 0 18px -6px rgba(242, 179, 61, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--aw-warning);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	pointer-events: none;
}

@media (max-width: 575.98px) {
	.environment-host {
		display: none;
	}
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(10, 14, 21, 0.72);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--aw-border);
}

.site-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--aw-accent), transparent);
	pointer-events: none;
}

.site-header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
	mask-image: linear-gradient(90deg, transparent 40%, #000);
	pointer-events: none;
}

.site-header .navbar {
	padding: 0;
	min-height: 64px;
}

.site-header .navbar > .container {
	flex-wrap: nowrap;
	gap: 8px;
}

.site-header .navbar-brand {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0;
	margin-right: 28px;
}

.brand-mark {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	translate: 0 1px;
	fill: var(--aw-accent);
	filter: drop-shadow(0 0 7px rgba(255, 69, 68, 0.45));
	transition: filter 0.2s ease;
}

.brand-mark-blades {
	transform-box: view-box;
	transform-origin: 50% 50%;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navbar-brand:hover .brand-mark {
	filter: drop-shadow(0 0 10px rgba(255, 69, 68, 0.75));
}

.navbar-brand:hover .brand-mark-blades {
	transform: rotate(90deg);
}

.brand-wordmark {
	height: 38px;
	width: auto;
	filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.18));
}

@media (prefers-reduced-motion: reduce) {
	.brand-mark-blades {
		transition: none;
	}
}

.site-header .navbar-nav {
	gap: 2px;
}

.site-header .nav-link {
	position: relative;
	color: var(--aw-text-muted);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 14px !important;
	border-radius: var(--aw-radius-sm);
	transition: color 0.15s ease, background-color 0.15s ease;
}

.site-header .nav-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.site-header .nav-link.active {
	color: #fff;
}

.site-header .navbar-toggler {
	border: 1px solid var(--aw-border-strong);
	color: var(--aw-text);
	padding: 6px 10px;
	font-size: 16px;
}

.site-header .navbar-toggler:focus {
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.nav-user {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.nav-signin {
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
}

.nav-signin:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.site-header .nav-register {
	height: 34px;
	margin-left: 4px;
	font-size: 14px;
}

.nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	font-size: 14px;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
	transition: color 0.15s ease, background-color 0.15s ease;
	position: relative;
}

.nav-icon:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.nav-badge {
	position: absolute;
	right: 1px;
	bottom: 2px;
	min-width: 15px;
	height: 13px;
	padding: 0 3px;
	font-family: "Silkscreen", monospace;
	font-size: 8px;
	font-weight: 400;
	line-height: 13px;
	letter-spacing: 0;
	text-align: center;
	color: #fff;
	background: var(--aw-accent);
	border-radius: 3px;
	box-shadow: 0 0 0 2px var(--aw-bg), 0 0 10px rgba(255, 69, 68, 0.6);
	-webkit-font-smoothing: none;
	pointer-events: none;
}

.nav-account {
	margin-left: 6px;
}

.nav-account-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 10px 0 4px;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nav-account-toggle:hover,
.nav-account-toggle.show {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--aw-border-strong);
}

.nav-account-toggle:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.nav-account-toggle .fa {
	font-size: 13px;
	color: var(--aw-text-subtle);
	transition: transform 0.15s ease;
}

.nav-account-toggle.show .fa {
	transform: rotate(180deg);
}

.nav-account-name {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav-account .dropdown-menu {
	min-width: 220px;
	margin-top: 8px !important;
	padding: 6px;
	z-index: 1040;
	overflow: hidden;
	background: radial-gradient(120% 60% at 0% 0%, rgba(255, 69, 68, 0.1), transparent 70%), var(--aw-surface-2);
}

.nav-account .dropdown-menu::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 14px 14px;
	background-position: 7px 7px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
	mask-image: linear-gradient(90deg, #000, transparent 75%);
	pointer-events: none;
}

.nav-account-head {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 8px 10px 10px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--aw-border);
}

.nav-account-head::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: var(--aw-accent-line);
}

.nav-account-head b {
	color: #fff;
	font-weight: 600;
}

.nav-account-head span {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.nav-account .dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	font-size: 14px;
	border-radius: var(--aw-radius-sm);
}

.nav-account .dropdown-item .fa {
	width: 14px;
	text-align: center;
	color: var(--aw-text-subtle);
}

.nav-account .dropdown-item:hover .fa {
	color: var(--aw-accent-hover);
}

.nav-account .nav-account-logout,
.nav-account .nav-account-logout .fa {
	color: var(--aw-accent-hover);
}

@media (min-width: 992px) {
	.site-header .navbar > .container {
		position: relative;
	}

	.site-header .navbar-collapse {
		position: absolute;
		left: 50%;
		flex-grow: 0;
		transform: translateX(-50%);
	}

	.site-header .nav-link.active::after {
		content: "";
		position: absolute;
		left: 14px;
		right: 14px;
		bottom: -13px;
		height: 2px;
		border-radius: 2px;
		background: var(--aw-accent);
		box-shadow: 0 0 12px 1px rgba(255, 69, 68, 0.6);
	}
}

@media (max-width: 991.98px) {
	.site-header .navbar > .container {
		flex-wrap: wrap;
	}

	.site-header .navbar-collapse {
		order: 10;
		padding-bottom: 12px;
	}

	.site-header .navbar-nav {
		padding: 8px 0 12px;
	}

	.site-header .nav-link.active {
		background: var(--aw-accent-soft);
		box-shadow: inset 2px 0 0 var(--aw-accent);
	}
}

@media (max-width: 575.98px) {
	.site-header .navbar-brand {
		margin-right: 0;
	}

	.site-header .navbar-brand {
		gap: 6px;
	}

	.brand-mark {
		width: 29px;
		height: 29px;
		translate: 0 1px;
	}

	.brand-wordmark {
		height: 28px;
	}

	.nav-account-name {
		display: none;
	}

	.nav-account-toggle {
		padding: 0 8px 0 4px;
	}

	.nav-signin {
		padding: 8px;
	}
}

.forum-bar {
	border-bottom: 1px solid var(--aw-border);
	background: rgba(17, 25, 39, 0.5);
}

.forum-bar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
	flex-wrap: wrap;
}

.forum-bar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.forum-bar-links a {
	color: var(--aw-text-muted);
	font-size: 13px;
	font-weight: 500;
	padding: 5px 10px;
	border-radius: var(--aw-radius-sm);
}

.forum-bar-links a .fa {
	margin-right: 4px;
	color: var(--aw-text-subtle);
}

.forum-bar-links a:hover,
.forum-bar-links a.active {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.forum-search {
	position: relative;
	flex: 0 1 280px;
	margin: 8px 0;
}

.forum-search .fa {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--aw-text-subtle);
	font-size: 13px;
}

.forum-search input {
	width: 100%;
	height: 32px;
	padding: 0 12px 0 32px;
	font-size: 13px;
	color: var(--aw-text);
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.forum-search input::placeholder {
	color: var(--aw-text-subtle);
}

.forum-search input:focus {
	border-color: var(--aw-accent);
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

@media (max-width: 991.98px) {
	.forum-search {
		flex-basis: 100%;
	}
}

/* Hero */

.hero {
	position: relative;
	padding: 72px 0 64px;
	overflow: hidden;
	border-bottom: 1px solid var(--aw-border);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 300px at 20% 30%, rgba(255, 69, 68, 0.14), transparent 70%),
		linear-gradient(180deg, transparent, rgba(10, 14, 21, 0.8));
	pointer-events: none;
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero-field {
	--x: 30%;
	--y: 45%;
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero-field::before,
.hero-field::after {
	content: "";
	position: absolute;
	inset: 0;
	background-size: 22px 22px;
	background-position: center;
}

.hero-field::before {
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.5px);
	mask-image: radial-gradient(ellipse 80% 90% at 35% 45%, #000 15%, transparent 80%);
}

.hero-field::after {
	background-image:
		radial-gradient(circle, rgba(255, 98, 97, 0.95) 1.2px, transparent 1.7px),
		radial-gradient(260px circle at var(--x) var(--y), rgba(255, 69, 68, 0.1), transparent 70%);
	background-size: 22px 22px, 100% 100%;
	mask-image: radial-gradient(200px circle at var(--x) var(--y), #000, transparent 75%);
}

.hero-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: 999px;
	padding: 3px 10px;
	margin-bottom: 18px;
}

.hero-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	color: rgba(231, 236, 243, 0.62);
}

.hero-title span {
	display: block;
	background: linear-gradient(180deg, #fff 30%, #c9d1de);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero-shot {
	position: relative;
}

.hero-shot::before {
	content: "";
	position: absolute;
	inset: 10% 5% 0;
	background: radial-gradient(closest-side, rgba(255, 69, 68, 0.28), transparent);
	filter: blur(30px);
	pointer-events: none;
}

.hero-shot img {
	position: relative;
	display: block;
	width: 100%;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

/* Buttons */

.btn-aimware {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	border: 1px solid var(--aw-accent);
	border-radius: var(--aw-radius-sm);
	background: var(--aw-accent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(0, 0, 0, 0.3);
	transition: background-color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.btn-aimware .fa {
	font-size: 13px;
	opacity: 0.9;
}

.btn-aimware:hover {
	color: #fff;
	background: var(--aw-accent-hover);
	border-color: var(--aw-accent-hover);
}

.btn-aimware:active {
	background: var(--aw-accent-strong);
	border-color: var(--aw-accent-strong);
}

.btn-aimware:focus-visible,
.btn-ghost:focus-visible,
.btn-forum:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.btn-aimware-disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--aw-text-subtle);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-sm);
	cursor: not-allowed;
}

.btn-ghost,
a.button-base,
.btn-forum,
.btn.btn-forum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: var(--aw-text);
	text-decoration: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
	box-shadow: inset 0 1px 0 var(--aw-highlight);
	padding: 7px 11px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost {
	height: 38px;
	padding: 0 18px;
	font-size: 14px;
}

.btn-ghost:hover,
a.button-base:hover,
.btn-forum:hover,
.btn.btn-forum:hover,
.btn.btn-forum.show {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(148, 163, 184, 0.3);
}

.btn-forum .fa,
a.button-base .fa {
	color: var(--aw-text-muted);
}

a.button-locked,
a.button-locked:hover {
	color: var(--aw-text-subtle);
	background: none;
	border-color: var(--aw-border);
	cursor: not-allowed;
}

a.button-forum {
	padding: 7px 12px;
}

.btn-primary {
	--bs-btn-bg: var(--aw-accent);
	--bs-btn-border-color: var(--aw-accent);
	--bs-btn-hover-bg: var(--aw-accent-hover);
	--bs-btn-hover-border-color: var(--aw-accent-hover);
	--bs-btn-active-bg: var(--aw-accent-strong);
	--bs-btn-active-border-color: var(--aw-accent-strong);
	--bs-btn-focus-shadow-rgb: 255, 69, 68;
}

/* Layout sections */

main {
	padding-bottom: 96px;
}

.section-container {
	margin-top: 32px;
}

.section-content {
	margin-top: 20px;
}

.section-base {
	position: relative;
	padding: 20px 24px;
	background: linear-gradient(180deg, rgba(26, 35, 50, 0.55), rgba(17, 25, 39, 0.9) 120px), var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.section-article-content {
	margin-top: 16px;
	color: #cfd6e2;
}

.section-forum-top {
	margin: -20px -24px 8px;
	padding: 14px 24px;
	border-bottom: 1px solid var(--aw-border);
	background: rgba(255, 255, 255, 0.015);
	border-radius: var(--aw-radius-lg) var(--aw-radius-lg) 0 0;
	position: relative;
}

.section-forum-top h1,
.section-forum-top h2,
.section-forum-top h3,
.section-forum-top h4 {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aw-text-muted);
}

.section-forum-top-ductape {
	padding-top: 14px;
	padding-bottom: 14px;
	margin-bottom: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.section-forum-top-ductape h1 {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-transform: none;
	color: #fff;
}

.section-forum-top + .section-title-child {
	margin-top: 0;
	border-radius: 0;
}

.section-forum-instrument {
	margin-top: 20px;
}

.section-title-child {
	margin: -20px -24px 0;
	padding: 12px 24px;
	border-bottom: 1px solid var(--aw-border);
	background: rgba(255, 255, 255, 0.015);
	border-radius: var(--aw-radius-lg) var(--aw-radius-lg) 0 0;
	position: relative;
}

.section-title-child h5 {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aw-text-muted);
	margin: 0;
}

.collapser {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: var(--aw-radius-sm);
	color: var(--aw-text-muted);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.collapser:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

/* Breadcrumbs */

.section-breadcrumbs {
	margin-top: 28px;
	margin-bottom: 16px;
}

.section-container > .section-breadcrumbs {
	margin-top: 0;
}

.breadcrumb {
	--bs-breadcrumb-divider: "\203A";
	--bs-breadcrumb-divider-color: var(--aw-text-subtle);
	--bs-breadcrumb-item-active-color: var(--aw-text);
	margin: 0;
	padding: 0;
	background: none;
	font-size: 13px;
	font-weight: 500;
}

.breadcrumb-item,
.breadcrumb-item a {
	color: var(--aw-text-muted);
}

.breadcrumb-item a:hover {
	color: #fff;
}

.breadcrumb-item .fa {
	margin-right: 4px;
	color: var(--aw-text-subtle);
}

/* Notices */

.board-notice {
	padding: 12px 18px;
	color: #d9dfe8;
	background: linear-gradient(90deg, var(--aw-accent-soft), rgba(255, 69, 68, 0.03));
	border: 1px solid rgba(255, 69, 68, 0.22);
	border-radius: var(--aw-radius);
	font-size: 14px;
}

.board-notice b {
	color: #fff;
}

.hardware-reset-confirm,
.hardware-note {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 14px;
	border-radius: var(--aw-radius);
}

.hardware-reset-confirm {
	color: #f3dcae;
	background: rgba(242, 179, 61, 0.1);
	border: 1px solid rgba(242, 179, 61, 0.3);
}

.hardware-reset-confirm .fa {
	margin-top: 3px;
	color: var(--aw-warning);
}

.hardware-note {
	color: var(--aw-text-muted);
	background: rgba(91, 156, 255, 0.08);
	border: 1px solid rgba(91, 156, 255, 0.25);
}

.hardware-note .fa {
	margin-top: 3px;
	color: var(--aw-info);
}

.hardware-note strong,
.hardware-reset-confirm strong {
	color: #fff;
}

.alert {
	--bs-alert-border-radius: var(--aw-radius);
	border-width: 1px;
}

/* Forum boards */

.board-collapse-row,
[class^="board-collapse-"] > .row,
[class*=" board-collapse-"] > .row {
	padding: 14px 0;
	margin: 0 -24px;
	padding-left: 12px;
	padding-right: 12px;
	border-top: 1px solid var(--aw-border);
	transition: background-color 0.15s ease;
}

[class^="board-collapse-"] > .row:first-child,
[class*=" board-collapse-"] > .row:first-child {
	border-top: 0;
}

.section-forum-top + .board-collapse-row {
	border-top: 0;
}

.board-collapse-row:hover,
[class^="board-collapse-"] > .row:hover,
[class*=" board-collapse-"] > .row:hover {
	background: rgba(255, 255, 255, 0.02);
}

.forum-separator {
	border-right: 0;
}

.board-icon-on,
.board-icon-off {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--aw-radius);
	font-size: 16px;
}

.board-icon-on::before,
.board-icon-off::before {
	font-family: FontAwesome;
	content: "\f086";
}

.board-icon-off {
	color: var(--aw-text-subtle);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border);
}

.board-icon-on {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid var(--aw-accent-border);
	box-shadow: 0 0 18px -4px rgba(255, 69, 68, 0.45);
	cursor: pointer;
}

.board-icon-on::after {
	content: "";
	position: absolute;
	top: -3px;
	right: -3px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--aw-accent);
	border: 2px solid var(--aw-surface);
}

.forum-child-bit {
	padding-top: 6px;
}

.forum-child-bit a {
	font-size: 13px;
	font-weight: 500;
}

.forum-child-list {
	position: relative;
	padding-left: 14px;
}

.board-child-icon-on::before,
.board-child-icon-off::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
}

.board-child-icon-on::before {
	background: var(--aw-accent);
	box-shadow: 0 0 8px rgba(255, 69, 68, 0.7);
}

.board-child-icon-off::before {
	background: var(--aw-text-subtle);
}

.board-child-icon-on {
	cursor: pointer;
}

.forum-child-bit strong,
.forum-child-bit strong a {
	font-weight: 500;
	color: var(--aw-text-muted);
}

.forum-child-bit strong a:hover {
	color: #fff;
}

[class^="board-collapse-"] strong a,
[class*=" board-collapse-"] strong a {
	font-weight: 600;
	color: #fff;
}

[class^="board-collapse-"] p,
[class*=" board-collapse-"] p {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.forum-last-board-thread,
.forum-thread-author {
	word-wrap: break-word;
	font-size: 13px;
	line-height: 1.55;
	color: var(--aw-text-subtle);
}

.forum-last-board-thread a {
	color: var(--aw-text-muted);
}

.forum-last-board-thread a:first-child {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 500;
	color: var(--aw-text);
}

.forum-last-board-thread a:hover {
	color: #fff;
}

.forum-last-board-thread a:first-child + br {
	display: none;
}

.board-stat {
	font-size: 13px;
	color: var(--aw-text-subtle);
	line-height: 1.55;
}

.board-stat strong {
	font-weight: 500;
	color: var(--aw-text);
	font-variant-numeric: tabular-nums;
}

.board-legend {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 20px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.board-icon-sm {
	width: 22px !important;
	height: 22px !important;
	font-size: 10px !important;
	border-radius: var(--aw-radius-sm) !important;
	box-shadow: none !important;
	cursor: default !important;
}

.board-icon-sm::after {
	display: none;
}

/* Thread lists */

.forum-thread-list {
	padding: 12px 12px;
	margin: 0 -24px;
	border-top: 1px solid var(--aw-border);
	font-size: 14px;
	transition: background-color 0.15s ease;
}

.forum-thread-list:hover {
	background: rgba(255, 255, 255, 0.02);
}

.forum-thread-important {
	background: linear-gradient(90deg, rgba(242, 179, 61, 0.08), transparent 60%);
	box-shadow: inset 2px 0 0 var(--aw-warning);
}

.forum-thread-announcement {
	background: linear-gradient(90deg, var(--aw-accent-soft), transparent 60%);
	box-shadow: inset 2px 0 0 var(--aw-accent);
}

.forum-thread-list > [class*="col-"]:first-child a {
	font-weight: 500;
	color: #fff;
}

.forum-thread-list .fa-folder,
.forum-thread-list .fa-folder-open {
	width: 18px;
	margin-right: 6px;
}

.forum-thread-num {
	color: var(--aw-text-muted);
	font-variant-numeric: tabular-nums;
}

.forum-thread-last {
	font-size: 13px;
	line-height: 1.55;
	color: var(--aw-text-subtle);
}

.forum-thread-last a {
	color: var(--aw-text-muted);
}

.forum-thread-last a:hover,
.forum-thread-author a:hover {
	color: #fff;
}

.forum-thread-author a {
	color: var(--aw-text-muted);
}

.thread-newpost {
	color: var(--aw-accent-hover);
}

.thread-nonewpost {
	color: var(--aw-text-subtle);
}

.forum-thread-legend,
.forum-extra-bottom {
	padding-top: 32px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

/* Posts */

.forum-poster-information {
	margin: -20px -24px 16px;
	padding: 14px 24px;
	background: rgba(255, 255, 255, 0.02);
	border-bottom: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg) var(--aw-radius-lg) 0 0;
}

.section-forum-top + .forum-poster-information {
	margin-top: 0;
	border-radius: 0;
}

.forum-poster-information a {
	color: #fff;
}

.forum-post-meta {
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--aw-border);
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.reputation-positive,
.status-positive {
	color: var(--aw-success) !important;
	font-weight: 600;
}

.reputation-negative {
	color: var(--aw-accent-hover) !important;
	font-weight: 600;
}

.reputation-neutral {
	color: var(--aw-text-muted) !important;
	font-weight: 600;
}

.status-warning {
	color: var(--aw-warning) !important;
	font-weight: 600;
}

.forum-post-content {
	padding: 4px 0 8px;
	overflow-wrap: break-word;
	line-height: 1.7;
	color: #d5dbe5;
}

.forum-post-needapproval {
	border-color: rgba(242, 179, 61, 0.35);
	box-shadow: inset 2px 0 0 var(--aw-warning), var(--aw-shadow);
}

.forum-post-deleted {
	opacity: 0.55;
	border-style: dashed;
	border-color: rgba(255, 69, 68, 0.35);
}

/* Tables */

.table {
	--bs-table-bg: transparent;
	--bs-table-color: var(--aw-text);
	--bs-table-border-color: var(--aw-border);
	--bs-table-striped-bg: rgba(255, 255, 255, 0.02);
	--bs-table-striped-color: var(--aw-text);
	--bs-table-hover-bg: rgba(255, 255, 255, 0.03);
	table-layout: fixed;
	word-wrap: break-word;
	font-size: 14px;
	margin-bottom: 0;
}

.table > thead th {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aw-text-muted);
}

/* Forms */

.form-control,
.form-select {
	background-color: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
	color: var(--aw-text);
	font-size: 14px;
	padding: 8px 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control::placeholder {
	color: var(--aw-text-subtle);
}

.form-control:focus,
.form-select:focus {
	background-color: var(--aw-input);
	color: var(--aw-text);
	border-color: var(--aw-accent);
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.form-check-input {
	background-color: var(--aw-input);
	border-color: var(--aw-border-strong);
}

.form-check-input:checked {
	background-color: var(--aw-accent);
	border-color: var(--aw-accent);
}

.form-check-input:focus {
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
	border-color: var(--aw-accent);
}

.form-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

.form-text {
	color: var(--aw-text-subtle);
	font-size: 12px;
}

.field-validation-error,
.validation-summary-errors {
	color: var(--aw-accent-hover);
	font-size: 13px;
}

/* Pagination */

.pagination {
	--bs-pagination-color: var(--aw-text-muted);
	--bs-pagination-bg: transparent;
	--bs-pagination-border-color: var(--aw-border-strong);
	--bs-pagination-hover-color: #fff;
	--bs-pagination-hover-bg: rgba(255, 255, 255, 0.06);
	--bs-pagination-hover-border-color: var(--aw-border-strong);
	--bs-pagination-focus-box-shadow: 0 0 0 3px var(--aw-accent-ring);
	--bs-pagination-active-bg: var(--aw-accent);
	--bs-pagination-active-border-color: var(--aw-accent);
	--bs-pagination-disabled-bg: transparent;
	--bs-pagination-disabled-color: var(--aw-text-subtle);
	--bs-pagination-disabled-border-color: var(--aw-border);
	--bs-pagination-font-size: 13px;
	--bs-pagination-padding-x: 0.65rem;
	--bs-pagination-padding-y: 0.3rem;
	gap: 4px;
	margin: 0;
}

.page-link {
	border-radius: var(--aw-radius-sm) !important;
	margin-left: 0 !important;
}

/* Dropdowns */

.dropdown-menu {
	--bs-dropdown-bg: var(--aw-surface-2);
	--bs-dropdown-border-color: var(--aw-border-strong);
	--bs-dropdown-border-radius: var(--aw-radius);
	--bs-dropdown-link-color: var(--aw-text);
	--bs-dropdown-link-hover-color: #fff;
	--bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.06);
	--bs-dropdown-link-active-bg: var(--aw-accent-soft);
	--bs-dropdown-font-size: 14px;
	--bs-dropdown-padding-x: 4px;
	--bs-dropdown-padding-y: 4px;
	box-shadow: var(--aw-shadow-pop);
}

.dropdown-item {
	border-radius: var(--aw-radius-sm);
	padding: 6px 10px;
}

.dropdown-menu img {
	width: 16px;
}

/* Store */

.product-grid {
	margin-top: 8px;
}

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	box-shadow: var(--aw-shadow);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.product-card:hover {
	border-color: var(--aw-border-strong);
}

.product-banner {
	position: relative;
	aspect-ratio: 2.8 / 1;
	background: radial-gradient(120% 120% at 0% 0%, var(--aw-surface-3), var(--aw-input));
	border-bottom: 1px solid var(--aw-border);
	overflow: hidden;
}

.product-banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-banner-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--aw-text-subtle);
}

.product-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 12px 14px 14px;
}

.product-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

.product-head h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.product-head p {
	margin: 0 0 0 auto;
	font-size: 12px;
	color: var(--aw-text-muted);
}

.product-head b {
	font-weight: 600;
	color: var(--aw-text);
}

.product-tag {
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 500;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: 999px;
}

.product-prices {
	margin: 8px 0 12px;
	padding: 0;
	list-style: none;
}

.product-prices li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	font-size: 13px;
	color: var(--aw-text-muted);
	border-top: 1px solid var(--aw-border);
}

.product-price {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.product-price b {
	font-weight: 600;
	color: var(--aw-text);
}

.product-price s {
	margin-right: 6px;
	font-size: 11px;
	color: var(--aw-text-subtle);
}

.product-buy {
	width: 100%;
	height: 34px;
	margin-top: auto;
	font-size: 13px;
}

@media (min-width: 992px) {
	.product-featured {
		flex-direction: row;
	}

	.product-featured .product-banner {
		flex: 0 0 34%;
		aspect-ratio: auto;
		min-height: 150px;
		border-bottom: 0;
		border-right: 1px solid var(--aw-border);
	}

	.product-featured .product-body {
		padding: 14px 20px 16px;
	}

	.product-featured .product-head h2 {
		font-size: 17px;
	}

	.product-featured .product-prices {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(var(--rows), auto);
		grid-auto-flow: column;
		column-gap: 24px;
	}

	.product-featured .product-buy {
		width: auto;
		align-self: flex-start;
	}
}

.blockquote {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 24px 0;
	border: 0;
	background: none;
	text-align: center;
	color: #fff;
}

.blockquote p {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
	padding: 0;
}

.blockquote::before {
	content: "\f10d";
	font-family: FontAwesome;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 24px;
	font-size: 20px;
	color: var(--aw-accent-hover);
	background: linear-gradient(180deg, rgba(255, 69, 68, 0.2), rgba(255, 69, 68, 0.06));
	border: 1px solid var(--aw-accent-border);
	border-radius: var(--aw-radius);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -8px rgba(255, 69, 68, 0.45);
}

/* Profile */

.profile-card {
	padding: 0 0 24px;
	overflow: hidden;
}

.profile-cover {
	height: 120px;
	background:
		radial-gradient(500px 160px at 15% 0, rgba(255, 69, 68, 0.35), transparent 70%),
		radial-gradient(500px 200px at 90% 10%, rgba(91, 156, 255, 0.18), transparent 70%),
		linear-gradient(180deg, var(--aw-surface-3), var(--aw-surface));
	border-bottom: 1px solid var(--aw-border);
}

.profile-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px 20px;
	padding: 0 28px;
}

.profile-identity,
.profile-actions {
	padding-top: 16px;
}

.profile-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 96px;
	height: 96px;
	border-radius: 24px;
	font-size: 40px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(145deg, #2c3a52, var(--aw-surface-2));
	border: 4px solid var(--aw-surface);
	box-shadow: 0 0 0 1px rgba(255, 69, 68, 0.45), 0 16px 40px -12px rgba(255, 69, 68, 0.45);
	margin-top: -44px;
}

.profile-identity {
	flex: 1 1 260px;
	min-width: 0;
	padding-bottom: 4px;
}

.profile-name {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 6px;
	word-break: break-word;
}

.profile-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.profile-title {
	font-weight: 600;
	color: var(--aw-text);
}

.profile-stars {
	display: flex;
	gap: 2px;
	margin-top: 4px;
	font-size: 12px;
	color: #f5c242;
	filter: drop-shadow(0 0 6px rgba(245, 194, 66, 0.35));
}

.profile-identity .profile-stars {
	margin-top: 8px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
	border: 1px solid var(--aw-border-strong);
}

.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.status-online {
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.1);
	border-color: rgba(52, 199, 123, 0.3);
}

.status-online .status-dot {
	box-shadow: 0 0 8px var(--aw-success);
}

.status-offline {
	color: var(--aw-text-subtle);
}

.profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 4px;
}

.profile-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 20px 28px 0;
	margin-top: 20px;
	border-top: 1px solid var(--aw-border);
}

.profile-badges img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	padding: 4px;
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.tooltip {
	--bs-tooltip-bg: var(--aw-surface-3);
	--bs-tooltip-color: var(--aw-text-muted);
	--bs-tooltip-opacity: 1;
	--bs-tooltip-border-radius: var(--aw-radius-sm);
	--bs-tooltip-padding-x: 10px;
	--bs-tooltip-padding-y: 7px;
	--bs-tooltip-font-size: 12px;
	--bs-tooltip-max-width: 240px;
}

.tooltip-inner {
	border: 1px solid var(--aw-border-strong);
	box-shadow: var(--aw-shadow-pop);
	text-align: left;
	line-height: 1.45;
}

.tooltip-inner strong {
	font-size: 13px;
	color: #fff;
}

.profile-badges img:hover,
.profile-badges img:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(255, 69, 68, 0.4);
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.stat-tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	background: linear-gradient(180deg, rgba(26, 35, 50, 0.7), var(--aw-surface));
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.stat-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.stat-value {
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.stat-value-date {
	font-size: 1.4rem;
	padding: 4px 0;
}

.stat-detail {
	font-size: 13px;
	color: var(--aw-text-muted);
}

.stat-detail a {
	color: var(--aw-accent-hover);
}

.stat-detail a:hover {
	color: #fff;
}

.profile-ban {
	display: flex;
	gap: 14px;
	padding: 14px 16px;
	margin: 16px 0;
	font-size: 14px;
	color: #e3c9c9;
	background: var(--aw-accent-soft);
	border: 1px solid var(--aw-accent-border);
	border-radius: var(--aw-radius);
}

.profile-ban > .fa {
	margin-top: 3px;
	color: var(--aw-accent-hover);
}

.profile-ban strong {
	color: #fff;
}

.profile-ban-reason {
	margin-top: 4px;
	color: var(--aw-text-muted);
}

.profile-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 16px 0 0;
}

.profile-facts div {
	padding: 12px 14px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.profile-facts dt {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.profile-facts dd {
	margin: 2px 0 0;
	font-family: var(--aw-mono);
	font-size: 14px;
	color: var(--aw-text);
}

.profile-forms {
	margin-top: 0;
}

.profile-forms > div {
	margin-top: 20px;
}

.section-forum-top h2 .fa {
	margin-right: 6px;
	color: var(--aw-text-subtle);
}

@media (max-width: 991.98px) {
	.profile-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.profile-head {
		padding: 0 20px;
	}

	.profile-avatar {
		width: 80px;
		height: 80px;
		font-size: 32px;
	}

	.profile-badges {
		padding: 16px 20px 0;
	}

	.stat-tile {
		padding: 14px 16px;
	}

	.stat-value {
		font-size: 1.5rem;
	}
}

/* Avatars and post authors */

.user-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(145deg, #2c3a52, var(--aw-surface-2));
	border: 1px solid var(--aw-border-strong);
	box-shadow: inset 0 1px 0 var(--aw-highlight);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.user-avatar:hover {
	color: #fff;
	border-color: rgba(255, 69, 68, 0.5);
	box-shadow: 0 0 0 3px var(--aw-accent-soft);
}

.user-avatar-sm {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 12px;
}

.user-avatar-md {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	font-size: 20px;
}

.user-avatar-guest {
	color: var(--aw-text-subtle);
	background: var(--aw-surface-2);
}

.poster {
	display: flex;
	align-items: center;
	gap: 14px;
}

.poster-identity {
	flex: 1 1 auto;
	min-width: 0;
}

.poster-name {
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.poster-rank {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

.poster-stats {
	gap: 22px;
	margin: 0;
}

.poster-stats dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.poster-stats dd {
	margin: 2px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text);
	font-variant-numeric: tabular-nums;
}

/* Private messages */

.folder-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	margin-bottom: 4px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.folder-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
}

.folder-tabs a .fa {
	color: var(--aw-text-subtle);
}

.folder-tabs a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.folder-tabs a.active {
	color: #fff;
	background: var(--aw-surface-2);
	box-shadow: inset 0 1px 0 var(--aw-highlight), 0 0 0 1px var(--aw-border-strong);
}

.folder-tabs a.active .fa {
	color: var(--aw-accent-hover);
}

.message-subject {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--aw-text-muted);
}

.message-unread .message-subject {
	font-weight: 600;
	color: #fff;
}

.message-author {
	gap: 10px;
	font-size: 14px;
	color: var(--aw-text-muted);
}

/* Panels */

.panel-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 32px 0 4px;
	position: relative;
	padding-bottom: 18px;
}

.panel-header h1 {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.panel-header p {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.panel-header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 48px;
	height: 48px;
	font-size: 20px;
	color: var(--aw-accent-hover);
	background: linear-gradient(180deg, rgba(255, 69, 68, 0.2), rgba(255, 69, 68, 0.06));
	border: 1px solid var(--aw-accent-border);
	border-radius: var(--aw-radius);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -10px rgba(255, 69, 68, 0.45);
}

.panel-stats {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 20px;
}

.queue {
	padding-bottom: 8px;
}

.queue-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 -24px;
	padding: 12px 24px;
	border-top: 1px solid var(--aw-border);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.section-forum-top + .queue-item {
	border-top: 0;
}

.queue-item:hover {
	background: rgba(255, 255, 255, 0.025);
}

.queue-text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.queue-subject {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
	color: #fff;
}

.queue-meta {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.queue-arrow {
	color: var(--aw-text-subtle);
	transition: transform 0.15s ease, color 0.15s ease;
}

.queue-item:hover .queue-arrow {
	color: var(--aw-accent-hover);
	transform: translateX(3px);
}

.queue-empty {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 28px 0 20px;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.queue-empty .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 13px;
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.12);
	border: 1px solid rgba(52, 199, 123, 0.3);
	border-radius: 50%;
}

.panel-tabs {
	margin: 20px 0;
}

.status-expired {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-border);
}

.status-pending {
	color: var(--aw-warning);
	background: rgba(242, 179, 61, 0.1);
	border-color: rgba(242, 179, 61, 0.3);
}

/* Admin panel */

.admin-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	margin-top: 20px;
	align-items: start;
}

.admin-nav {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 16px 12px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.admin-nav-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.admin-nav-label {
	padding: 0 10px 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.admin-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-nav a .fa {
	width: 16px;
	text-align: center;
	color: var(--aw-text-subtle);
}

.admin-nav a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.admin-nav a.active {
	color: #fff;
	background: var(--aw-surface-2);
	box-shadow: inset 2px 0 0 var(--aw-accent), inset 0 0 0 1px var(--aw-border);
}

.admin-nav a.active .fa {
	color: var(--aw-accent-hover);
}

.admin-content > .section-base + .section-base {
	margin-top: 20px;
}

.admin-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.admin-search {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 12px;
	margin-top: 16px;
}

.admin-search .form-control {
	height: 40px;
}

.admin-mono {
	font-family: var(--aw-mono);
	font-size: 13px;
	color: var(--aw-text-muted);
	word-break: break-all;
}

.invoice-title {
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: var(--aw-mono);
}

.invoice-facts {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.invoice-facts dd {
	font-family: var(--aw-font);
	word-break: break-word;
}

.coupon-code {
	display: inline-block;
	padding: 3px 10px;
	font-family: var(--aw-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #fff;
	background: var(--aw-input);
	border: 1px dashed rgba(148, 163, 184, 0.35);
	border-radius: var(--aw-radius-sm);
	cursor: pointer;
	user-select: all;
	-webkit-user-select: all;
}

.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--aw-text-muted);
	background: none;
	border: 1px solid transparent;
	border-radius: var(--aw-radius-sm);
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-icon:hover {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-border);
}

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

.stats-tiles {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
}

.chart-row,
.admin-content > .chart-card + .chart-row {
	margin-top: 20px;
}

.admin-content > .row.chart-row,
.admin-content > .chart-card + .row.chart-row {
	margin-top: -4px;
}

.chart-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.chart-head h2 {
	font-size: 15px;
	font-weight: 600;
}

.chart-range {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-sm);
}

.chart-range button {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	color: var(--aw-text-muted);
	background: none;
	border: 0;
	border-radius: 4px;
}

.chart-range button:hover {
	color: #fff;
}

.chart-range button.active {
	color: #fff;
	background: var(--aw-surface-3);
}

.chart-box {
	position: relative;
	height: 260px;
}

.chart-table summary {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
	cursor: pointer;
}

.chart-table summary:hover {
	color: #fff;
}

.chart-table .table {
	margin-top: 10px;
	table-layout: auto;
	font-variant-numeric: tabular-nums;
}

.audit-row {
	margin: 0 -24px;
	padding: 12px 24px;
	border-top: 1px solid var(--aw-border);
}

.section-forum-top + .audit-row {
	border-top: 0;
}

.audit-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.audit-user {
	font-weight: 600;
	color: #fff;
}

.audit-action {
	padding: 2px 8px;
	font-family: var(--aw-mono);
	font-size: 12px;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: var(--aw-radius-sm);
}

.audit-meta {
	margin-left: auto;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.audit-data {
	margin: 8px 0 0 40px;
}

.audit-data summary {
	font-size: 12px;
	color: var(--aw-text-subtle);
	cursor: pointer;
}

.audit-data pre {
	margin: 6px 0 0;
	white-space: pre-wrap;
	word-break: break-all;
	color: var(--aw-text-muted);
}

@media (max-width: 991.98px) {
	.admin-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.admin-nav {
		position: static;
		flex-direction: row;
		gap: 4px;
		padding: 6px;
		overflow-x: auto;
	}

	.admin-nav-group {
		flex-direction: row;
	}

	.admin-nav-label {
		display: none;
	}

	.admin-nav a {
		white-space: nowrap;
	}

	.admin-search,
	.stats-tiles {
		grid-template-columns: minmax(0, 1fr);
	}

	.audit-meta {
		margin-left: 0;
		width: 100%;
	}
}

/* VIP panel */

.vip-start {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	background:
		radial-gradient(420px 160px at 0 0, rgba(255, 69, 68, 0.16), transparent 70%),
		linear-gradient(180deg, rgba(26, 35, 50, 0.7), var(--aw-surface));
}

.vip-pattern {
	position: absolute;
	right: 0;
	bottom: -3.5px;
	left: 0;
	height: 6px;
	mask-image: linear-gradient(to left, #000 192px, transparent);
	pointer-events: none;
}

.vip-start-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	font-size: 18px;
	color: #fff;
	background: linear-gradient(180deg, var(--aw-accent-hover), var(--aw-accent-strong));
	border-radius: var(--aw-radius);
	box-shadow: 0 8px 24px -8px rgba(255, 69, 68, 0.6);
}

.vip-start-text {
	flex: 1 1 280px;
}

.vip-start-text h2 {
	font-size: 1.05rem;
	margin-bottom: 2px;
}

.vip-start-text p {
	margin: 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.vip-list {
	padding-bottom: 8px;
}

.vip-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) auto 110px;
	align-items: center;
	gap: 20px;
	margin: 0 -24px;
	padding: 12px 24px;
	border-top: 1px solid var(--aw-border);
	transition: background-color 0.15s ease;
}

.section-forum-top + .vip-row {
	border-top: 0;
}

.vip-row:hover {
	background: rgba(255, 255, 255, 0.02);
}

.vip-row-banner {
	overflow: hidden;
	border-radius: var(--aw-radius-sm);
	border: 1px solid var(--aw-border);
}

.vip-row-banner::before {
	font-size: 1rem !important;
}

.vip-row-name {
	font-weight: 600;
	color: #fff;
}

.vip-row-action {
	text-align: right;
}

@media (max-width: 767.98px) {
	.vip-row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
	}

	.vip-row .vip-card-status {
		grid-column: 1;
		grid-row: 2;
	}

	.vip-row-action {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

.vip-card-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 184 / 69;
	background:
		radial-gradient(300px 120px at 20% 0, rgba(255, 69, 68, 0.18), transparent 70%),
		linear-gradient(135deg, var(--aw-surface-3), var(--aw-surface));
}

.vip-card-banner::before {
	content: attr(data-name);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.35);
}

.vip-card-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.vip-card-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(17, 25, 39, 0.9));
}

.vip-card-expired .vip-card-banner {
	filter: grayscale(0.85) brightness(0.7);
}

.vip-card-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.vip-card-label {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.vip-card-action {
	height: 34px;
	min-width: 0;
	padding: 0 14px;
	font-size: 13px;
}

.vip-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 40px 24px;
	text-align: center;
	color: var(--aw-text-muted);
}

.vip-empty > .fa {
	font-size: 28px;
	color: var(--aw-text-subtle);
}

.vip-empty p {
	margin: 0;
}

/* Hardware reset */

.hardware-intro {
	margin: 16px 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.hardware-form {
	margin-top: 8px;
}

.hardware-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hardware-form-row .form-control {
	flex: 1 1 200px;
	height: 40px;
}

.hardware-reset-id {
	font-family: var(--aw-mono);
	font-size: 13px;
	color: var(--aw-text-muted);
}

/* Member list */

.forum-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px;
}

.forum-toolbar-bottom {
	margin-top: 16px;
}

.member-search {
	position: relative;
	flex: 0 1 280px;
	margin-left: auto;
}

.member-search .fa {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.member-search input {
	width: 100%;
	height: 34px;
	padding: 0 12px 0 32px;
	font-size: 13px;
	color: var(--aw-text);
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.member-search input:focus {
	border-color: var(--aw-accent);
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.section-title-child a h5 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.15s ease;
}

.section-title-child a:hover h5 {
	color: #fff;
}

.section-title-child a.sort-active h5 {
	color: #fff;
}

.section-title-child a.sort-active h5::after {
	font-family: FontAwesome;
	font-size: 10px;
	color: var(--aw-accent-hover);
}

.section-title-child a.sort-ascending h5::after {
	content: "\f0d8";
}

.section-title-child a.sort-descending h5::after {
	content: "\f0d7";
}

.member-row {
	padding-top: 10px;
	padding-bottom: 10px;
}

.member-name {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.member-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(145deg, var(--aw-surface-3), var(--aw-surface-2));
	border: 1px solid var(--aw-border-strong);
	box-shadow: inset 0 1px 0 var(--aw-highlight);
}

.member-name:hover .member-avatar {
	border-color: rgba(255, 69, 68, 0.45);
}

.member-username {
	display: block;
	font-weight: 600;
	line-height: 1.3;
}

.member-title {
	display: block;
	font-size: 12px;
	color: var(--aw-text-subtle);
	line-height: 1.3;
}

.member-meta {
	margin: 6px 0 0 46px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

@media (max-width: 991.98px) {
	.section-title-child {
		display: none;
	}

	.member-search {
		flex-basis: 100%;
	}
}

.member-empty {
	padding: 24px 0 8px;
	color: var(--aw-text-muted);
}

/* Editor */

.sceditor-container {
	border: 1px solid var(--aw-border-strong) !important;
	border-radius: var(--aw-radius-sm) !important;
	background: var(--aw-input) !important;
	overflow: hidden;
}

.sceditor-toolbar {
	background: var(--aw-surface-2) !important;
	border-bottom: 1px solid var(--aw-border) !important;
}

.sceditor-group {
	background: rgba(255, 255, 255, 0.04) !important;
	border-color: var(--aw-border) !important;
}

.sceditor-button div,
.sceditor-button {
	filter: invert(0.85);
}

.sceditor-container iframe,
.sceditor-container textarea {
	background: var(--aw-input) !important;
	color: var(--aw-text) !important;
}

.sceditor-container textarea {
	font-family: var(--aw-mono) !important;
	font-size: 13px !important;
	line-height: 1.6;
	padding: 12px 14px !important;
}

.sceditor-dropdown {
	color: var(--aw-text) !important;
	background: var(--aw-surface-2) !important;
	border: 1px solid var(--aw-border-strong) !important;
	border-radius: var(--aw-radius) !important;
	box-shadow: var(--aw-shadow-pop) !important;
}

.sceditor-dropdown label {
	color: var(--aw-text-muted) !important;
	font-size: 13px;
}

.sceditor-dropdown input {
	color: var(--aw-text) !important;
	background: var(--aw-input) !important;
	border: 1px solid var(--aw-border-strong) !important;
	border-radius: var(--aw-radius-sm) !important;
}

.sceditor-dropdown .button {
	color: #fff !important;
	background: var(--aw-accent) !important;
	border: 0 !important;
	border-radius: var(--aw-radius-sm) !important;
}

/* Footer */

.site-footer {
	position: relative;
	margin-top: auto;
	padding: 0 0 28px;
	background:
		radial-gradient(60% 120% at 50% 100%, rgba(255, 69, 68, 0.07), rgba(255, 69, 68, 0) 70%),
		linear-gradient(180deg, rgba(17, 25, 39, 0.5), var(--aw-bg) 60%);
	border-top: 1px solid var(--aw-border);
	font-size: 14px;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 69, 68, 0), var(--aw-accent) 50%, rgba(255, 69, 68, 0));
	opacity: 0.6;
}

.footer-cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: -48px;
	padding: 28px 32px;
	background:
		radial-gradient(80% 160% at 100% 0%, rgba(255, 69, 68, 0.22), rgba(255, 69, 68, 0) 60%),
		linear-gradient(135deg, var(--aw-surface-2), var(--aw-surface));
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.footer-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
	mask-image: linear-gradient(90deg, transparent 40%, #000);
	pointer-events: none;
}

.footer-cta > * {
	position: relative;
	z-index: 1;
}

.footer-cta h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.footer-cta p {
	margin: 4px 0 0;
	color: var(--aw-text-muted);
}

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

.footer-main {
	padding-top: 56px;
}

.site-footer .footer-logo {
	height: 84px;
	width: auto;
}

.footer-social {
	display: flex;
	gap: 8px;
	margin-top: 20px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 15px;
	color: var(--aw-text-muted);
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
	color: #fff;
	background: var(--aw-accent-soft);
	border-color: rgba(255, 69, 68, 0.5);
	transform: translateY(-2px);
}

.site-footer h3 {
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer li {
	padding: 4px 0;
}

.site-footer li a {
	position: relative;
	color: var(--aw-text-muted);
	transition: color 0.15s ease, padding-left 0.15s ease;
}

.site-footer li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 1px;
	background: var(--aw-accent);
	transition: width 0.15s ease;
}

.site-footer li a:hover {
	padding-left: 14px;
	color: #fff;
}

.site-footer li a:hover::before {
	width: 8px;
}

.footer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 48px;
	padding: 16px 0;
	border-top: 1px solid var(--aw-border);
}

.footer-address {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-size: 13px;
	font-style: normal;
	color: var(--aw-text-subtle);
}

.footer-address .fa {
	width: 14px;
	margin-right: 6px;
	text-align: center;
}

.footer-payments {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 22px;
	color: var(--aw-text-subtle);
}

.footer-payments-text {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 16px;
	border-top: 1px solid var(--aw-border);
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.footer-build {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 3px 10px;
	font-family: var(--aw-mono);
	font-size: 11px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
}

.footer-build-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--aw-success);
	box-shadow: 0 0 0 3px rgba(52, 199, 123, 0.18);
}

@media (max-width: 575.98px) {
	.footer-cta {
		padding: 22px 20px;
	}

	.footer-cta-actions,
	.footer-cta-actions a {
		width: 100%;
	}

	.footer-cta-actions a {
		justify-content: center;
	}
}

.gotop {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--aw-text);
	background: rgba(26, 35, 50, 0.85);
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
	backdrop-filter: blur(8px);
	box-shadow: var(--aw-shadow-pop);
}

.gotop:hover {
	color: #fff;
	border-color: rgba(255, 69, 68, 0.5);
}

/* jQuery UI autocomplete */

.ui-helper-hidden-accessible {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ui-autocomplete {
	position: absolute;
	box-sizing: border-box;
	max-height: 320px;
	overflow-y: auto;
	margin: 4px 0 0;
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius);
	padding: 4px;
	list-style: none;
	box-shadow: var(--aw-shadow-pop);
	z-index: 1050;
}

.ui-menu-item-wrapper {
	display: block;
	padding: 6px 10px;
	border-radius: var(--aw-radius-sm);
	color: var(--aw-text);
	cursor: pointer;
}

.ui-menu-item-wrapper.ui-state-active {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

/* Tickets */

.ticket-layout {
	margin-top: 12px;
}

.ticket-layout aside > .section-base + .section-base {
	margin-top: 24px;
}

.ticket-section-title,
.ticket-help h2 {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

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

.ticket-reasons li {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	font-size: 14px;
	color: var(--aw-text-muted);
	border-top: 1px solid var(--aw-border);
}

.ticket-reasons li:first-child {
	padding-top: 0;
	border-top: 0;
}

.ticket-reasons .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	font-size: 13px;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: var(--aw-radius-sm);
}

.ticket-reasons b {
	display: block;
	font-weight: 600;
	color: var(--aw-text);
}

.ticket-help-foot {
	margin: 4px 0 0;
	padding-top: 14px;
	font-size: 13px;
	color: var(--aw-text-subtle);
	border-top: 1px solid var(--aw-border);
}

.ticket-bookmark {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--aw-text-subtle);
}

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

.ticket-message {
	display: flex;
	gap: 12px;
	padding: 16px 0;
	border-top: 1px solid var(--aw-border);
}

.ticket-message:first-child {
	padding-top: 0;
	border-top: 0;
}

.ticket-message-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ticket-message-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-size: 14px;
}

.ticket-message-head a {
	font-weight: 600;
}

.ticket-message-head span {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.ticket-message-text {
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--aw-text);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.ticket-empty,
.ticket-closed {
	margin: 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.ticket-closed {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 12px 16px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.ticket-reply {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--aw-border);
}

.ticket-reply-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.ticket-details {
	margin: 0;
}

.ticket-details div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--aw-border);
}

.ticket-details div:first-child {
	padding-top: 0;
	border-top: 0;
}

.ticket-details dt {
	flex: none;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

.ticket-details dd {
	min-width: 0;
	margin: 0;
	font-size: 14px;
	text-align: right;
	overflow-wrap: anywhere;
}

.ticket-actions p {
	font-size: 13px;
	color: var(--aw-text-muted);
}

.ticket-actions-buttons {
	display: flex;
	gap: 10px;
}

/* Auth forms */

.auth-form .form-control,
.auth-form .form-select {
	height: 40px;
}

.auth-form textarea.form-control {
	height: auto;
}

.auth-optional {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--aw-text-subtle);
}

.auth-rules {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 6px 20px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.auth-rules li {
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.15s ease;
}

.auth-rules li::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.auth-rules li.is-met {
	color: var(--aw-text-muted);
}

.auth-rules li.is-met::before {
	background: var(--aw-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230a0e15' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: var(--aw-success);
}

.auth-consent {
	margin: 0;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.form-captcha {
	min-height: 78px;
}

/* Forum form blocks */

.form-block {
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	overflow: hidden;
}

.form-block-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border-bottom: 1px solid var(--aw-border);
	background: linear-gradient(180deg, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.35));
	position: relative;
}

.form-block-head::after,
.panel-header::after,
.section-forum-top::after,
.section-title-child::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: var(--aw-accent-line);
	pointer-events: none;
}

.panel-header::after {
	bottom: 0;
}

.section-forum-top:has(+ .section-title-child)::after {
	display: none;
}

.form-block-head h1 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
}

.form-block-head p {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.form-block-body {
	padding: 6px 16px;
}

.form-block-foot {
	padding: 16px 24px;
	border-top: 1px solid var(--aw-border);
	background: rgba(255, 255, 255, 0.015);
}

.field-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	padding: 12px 0;
}

.field-row-split {
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px dashed var(--aw-border);
}

.form-block-foot.field-row {
	row-gap: 10px;
	padding: 16px;
}

.field-label {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

.field-label:empty {
	display: none;
}

.field-input {
	min-width: 0;
}

.field-input .form-captcha {
	margin-bottom: 0 !important;
}

.field-input .text-danger:not(:empty) {
	display: block;
	margin-top: 4px;
}

.field-input .form-text {
	display: block;
	margin-top: 6px;
}

.field-short {
	max-width: 180px;
	font-family: var(--aw-mono);
	letter-spacing: 0.2em;
}

.field-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--aw-accent-hover);
}

.field-password {
	position: relative;
}

.field-password .form-control {
	padding-right: 44px;
}

.field-reveal {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	color: var(--aw-text-subtle);
	border-radius: 0 var(--aw-radius-sm) var(--aw-radius-sm) 0;
}

.field-reveal:hover,
.field-reveal[aria-pressed="true"] {
	color: var(--aw-text);
}

.field-reveal:focus-visible {
	outline: 2px solid var(--aw-accent-ring);
	outline-offset: -2px;
}

.field-capslock {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--aw-warning);
}

.field-capslock[hidden] {
	display: none;
}

.field-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.field-actions a {
	color: var(--aw-accent-hover);
}

@media (min-width: 768px) {
	.form-block-head,
	.form-block-foot.field-row {
		padding-left: 24px;
		padding-right: 24px;
	}

	.form-block-body {
		padding: 10px 24px;
	}

	.field-row {
		grid-template-columns: minmax(150px, 28%) minmax(0, 480px);
		column-gap: 28px;
		align-items: start;
	}

	.field-label {
		padding-top: 10px;
		text-align: right;
	}

	.field-label:empty {
		display: block;
		padding: 0;
	}
}

.ticket-reasons a {
	color: var(--aw-accent-hover);
}

/* Home */

.panel-header h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.home-header-action {
	margin-left: auto;
	gap: 6px;
}

.home-news,
.home-testimonials {
	margin-top: 16px;
}

.news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px 22px 16px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	transition: border-color 0.15s ease;
}

.news-card:hover {
	border-color: var(--aw-border-strong);
}

.news-card-lead {
	background: radial-gradient(120% 80% at 0% 0%, rgba(255, 69, 68, 0.08), rgba(255, 69, 68, 0) 60%), var(--aw-surface);
	padding: 24px 28px 18px;
}

.news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.news-author {
	color: var(--aw-text-muted);
	font-weight: 500;
}

.news-tag {
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid var(--aw-accent-border);
	border-radius: 999px;
}

.news-title {
	margin: 12px 0 0;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.news-card-lead .news-title {
	font-size: 22px;
}

.news-title a {
	color: #fff;
}

.news-title a:hover {
	color: var(--aw-accent-hover);
}

.news-body {
	position: relative;
	margin-top: 10px;
	max-height: 4.8em;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.6;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
	mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.news-card-lead .news-body {
	max-height: 220px;
	font-size: 15px;
	-webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
	mask-image: linear-gradient(180deg, #000 75%, transparent);
}

.news-body p {
	margin-bottom: 0.6em;
}

.news-body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--aw-radius-sm);
}

.news-foot {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	padding-top: 14px;
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.news-foot .fa {
	margin-right: 4px;
}

.news-foot a {
	margin-left: auto;
	font-weight: 500;
	color: var(--aw-accent-hover);
}

.news-foot a:hover {
	color: #fff;
}

.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 22px 22px 18px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	overflow: hidden;
}

.testimonial-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--aw-accent-line);
}

.testimonial-mark {
	position: absolute;
	top: -18px;
	right: 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 120px;
	line-height: 1;
	color: var(--aw-accent-soft);
	pointer-events: none;
}

.testimonial-card blockquote {
	position: relative;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: 15px;
	line-height: 1.6;
	color: var(--aw-text);
}

.testimonial-card figcaption {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

@media (max-width: 575.98px) {
	.home-header {
		flex-wrap: wrap;
	}

	.home-header-action {
		margin-left: 0;
	}
}

/* Reputation */

.panel-header a.user-avatar {
	text-decoration: none;
}

.panel-header p a {
	color: var(--aw-accent-hover);
}

.rep-give {
	margin-left: auto;
}

.rep-summary {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	gap: 16px;
	margin: 0 0 16px;
}

.rep-total,
.rep-breakdown {
	padding: 18px 22px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.rep-total {
	display: flex;
	flex-direction: column;
	background: radial-gradient(120% 100% at 0% 0%, var(--rep-glow, rgba(255, 255, 255, 0.04)), transparent 70%), var(--aw-surface);
}

.rep-total.rep-positive {
	--rep-glow: rgba(52, 199, 123, 0.14);
}

.rep-total.rep-negative {
	--rep-glow: rgba(255, 69, 68, 0.16);
}

.rep-total-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.rep-total-value {
	margin-top: 4px;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}

.rep-total.rep-positive .rep-total-value {
	color: var(--aw-success);
}

.rep-total.rep-negative .rep-total-value {
	color: var(--aw-accent-hover);
}

.rep-total-sub {
	margin-top: 2px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.rep-breakdown {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}

.rep-bar {
	display: flex;
	gap: 2px;
	height: 10px;
	overflow: hidden;
	background: var(--aw-surface-2);
	border-radius: 999px;
}

.rep-bar span {
	height: 100%;
	transition: width 0.4s ease;
}

.rep-bar span:first-child {
	border-radius: 999px 0 0 999px;
}

.rep-bar span:last-child {
	border-radius: 0 999px 999px 0;
}

.rep-bar-positive,
.rep-dot-positive {
	background: var(--aw-success);
}

.rep-bar-neutral,
.rep-dot-neutral {
	background: #64748b;
}

.rep-bar-negative,
.rep-dot-negative {
	background: var(--aw-accent);
}

.rep-counts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.rep-counts li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rep-counts b {
	color: #fff;
	font-weight: 600;
}

.rep-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.rep-block .form-block-head h1 {
	font-size: 15px;
}

.rep-block .alert {
	margin: 16px 24px 0;
}

.rep-list,
.activity-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rep-item,
.activity-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 24px;
	border-top: 1px solid var(--aw-border);
	transition: background-color 0.15s ease;
}

.rep-item:first-child,
.activity-item:first-child {
	border-top: 0;
}

.rep-item:hover,
.activity-item:hover {
	background: rgba(255, 255, 255, 0.015);
}

.rep-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 12px;
	border: 1px solid;
}

.rep-score.rep-positive {
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.1);
	border-color: rgba(52, 199, 123, 0.3);
}

.rep-score.rep-negative {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-border);
}

.rep-score.rep-neutral {
	color: var(--aw-text-muted);
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--aw-border-strong);
}

.rep-body,
.activity-body {
	flex: 1;
	min-width: 0;
}

.rep-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
}

.rep-meta time {
	margin-left: auto;
	font-size: 12px;
	font-weight: 400;
	color: var(--aw-text-subtle);
}

.rep-comment {
	margin: 8px 0 0;
	color: var(--aw-text);
	overflow-wrap: anywhere;
}

.rep-comment-empty {
	font-style: italic;
	color: var(--aw-text-subtle);
}

.rep-delete {
	flex: none;
}

.rep-delete .nav-icon {
	border: 0;
	background: none;
}

.rep-delete .nav-icon:hover {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
}

.rep-empty {
	padding: 48px 24px;
	text-align: center;
	color: var(--aw-text-muted);
}

.rep-empty .fa {
	font-size: 32px;
	color: var(--aw-text-subtle);
}

.rep-empty p {
	margin: 12px 0 0;
}

.list-pages {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
}

@media (max-width: 767.98px) {
	.rep-summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.rep-item,
	.activity-item {
		gap: 12px;
		padding: 14px 16px;
	}

	.rep-score {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.rep-meta time {
		flex-basis: 100%;
		margin-left: 0;
	}
}

@media (max-width: 575.98px) {
	.panel-header {
		flex-wrap: wrap;
	}

	.panel-header > div {
		flex: 1 1 200px;
		min-width: 0;
	}

	.rep-give {
		margin-left: 0;
	}
}

/* Member activity */

.profile-tabs {
	display: flex;
	gap: 4px;
	margin: 20px 0 16px;
	padding: 4px;
	overflow-x: auto;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	scrollbar-width: none;
}

.profile-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
	transition: color 0.15s ease, background-color 0.15s ease;
}

.profile-tabs a .fa {
	color: var(--aw-text-subtle);
}

.profile-tabs a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.profile-tabs a.active {
	color: #fff;
	background: var(--aw-surface-2);
	box-shadow: inset 0 1px 0 var(--aw-highlight), inset 0 -2px 0 var(--aw-accent);
}

.profile-tabs a.active .fa {
	color: var(--aw-accent-hover);
}

.activity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	font-size: 16px;
	color: var(--aw-text-muted);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border-strong);
	border-radius: 12px;
}

.activity-icon-sticky {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-border);
}

.activity-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.activity-board {
	padding: 2px 8px;
	font-weight: 500;
	color: var(--aw-text-muted);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
}

.activity-board:hover {
	color: #fff;
	border-color: var(--aw-border-strong);
}

.activity-title {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	overflow-wrap: anywhere;
}

.activity-title:hover {
	color: var(--aw-accent-hover);
}

.activity-excerpt {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--aw-text-muted);
	overflow-wrap: anywhere;
}

.activity-last {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.activity-last b {
	font-weight: 500;
	color: var(--aw-text-muted);
}

.activity-stats {
	display: flex;
	gap: 24px;
	flex: none;
	margin: 0;
	text-align: right;
}

.activity-stats dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.activity-stats dd {
	margin: 2px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

@media (max-width: 767.98px) {
	.activity-icon {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.activity-thread {
		flex-wrap: wrap;
	}

	.activity-stats {
		flex-basis: 100%;
		gap: 20px;
		padding-left: 46px;
		text-align: left;
	}

	.activity-stats div {
		display: flex;
		align-items: baseline;
		gap: 6px;
	}

	.activity-stats dd {
		font-size: 13px;
	}
}

/* Account settings */

.setting-toggle {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius);
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.setting-toggle:hover {
	border-color: rgba(148, 163, 184, 0.3);
}

.setting-toggle:has(input:checked) {
	border-color: rgba(255, 69, 68, 0.35);
}

.setting-toggle .form-check-input {
	flex: none;
	width: 38px;
	height: 22px;
	margin: 1px 0 0;
	border-radius: 999px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238b96a8'/%3e%3c/svg%3e");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: background-position 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.setting-toggle .form-check-input:checked {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
	background-position: right center;
}

.setting-toggle b {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.setting-toggle small {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.form-block-body .alert {
	margin: 12px 0 4px;
}

/* Checkout */

.checkout {
	margin-top: 4px;
}

.checkout-step {
	position: relative;
	padding: 22px 24px 24px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.checkout-step + .checkout-step {
	margin-top: 16px;
}

.checkout-step-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 18px;
}

.checkout-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--aw-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--aw-accent-soft), 0 0 18px rgba(255, 69, 68, 0.35);
}

.checkout-step-head h2 {
	margin: 2px 0 0;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
}

.checkout-step-head p {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.checkout-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	gap: 12px;
}

.checkout-options-wide {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.checkout-option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.checkout-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkout-option-body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 14px 16px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius);
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.checkout-option:hover .checkout-option-body {
	border-color: rgba(148, 163, 184, 0.35);
	transform: translateY(-1px);
}

.checkout-option input:focus-visible + .checkout-option-body {
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.checkout-option input:checked + .checkout-option-body {
	background: radial-gradient(120% 120% at 100% 0%, rgba(255, 69, 68, 0.14), rgba(255, 69, 68, 0) 60%), var(--aw-surface-2);
	border-color: var(--aw-accent);
	box-shadow: 0 0 0 1px var(--aw-accent), 0 10px 24px -12px rgba(255, 69, 68, 0.45);
}

.checkout-option-body::after {
	content: "";
	position: absolute;
	top: 12px;
	right: 12px;
	width: 18px;
	height: 18px;
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkout-option input:checked + .checkout-option-body::after {
	background: var(--aw-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: var(--aw-accent);
}

.checkout-option-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 24px;
	flex-wrap: wrap;
	row-gap: 4px;
}

.checkout-option-top b {
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.checkout-save {
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.12);
	border: 1px solid rgba(52, 199, 123, 0.3);
	border-radius: 999px;
}

.checkout-option-price {
	margin-top: 6px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.checkout-option-price small {
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
}

.checkout-option-price s {
	margin-left: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-subtle);
}

.checkout-option-sub {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.checkout-payment .checkout-option-body {
	gap: 10px;
}

.checkout-payment-logo {
	display: flex;
	align-items: center;
	height: 34px;
	padding-right: 24px;
}

.checkout-payment-logo img {
	max-height: 30px;
	max-width: 140px;
	width: auto;
}

.checkout-input-icon {
	position: relative;
}

.checkout-input-icon .fa {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--aw-text-subtle);
	pointer-events: none;
}

.checkout-input-icon .form-control {
	height: 42px;
	padding-left: 38px;
}

#coupon {
	font-family: var(--aw-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#coupon::placeholder {
	font-family: var(--aw-font);
	letter-spacing: 0;
	text-transform: none;
}

.checkout-summary {
	position: sticky;
	top: 84px;
	overflow: hidden;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.checkout-summary-banner {
	aspect-ratio: 2.4 / 1;
}

.checkout-summary-body {
	padding: 20px 22px 22px;
}

.checkout-summary-body h2 {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.checkout-lines {
	margin: 0;
}

.checkout-lines > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: 14px;
	border-bottom: 1px dashed var(--aw-border);
}

.checkout-lines dt {
	font-weight: 400;
	color: var(--aw-text-muted);
}

.checkout-lines dd {
	margin: 0;
	font-weight: 500;
	color: #fff;
	text-align: right;
}

.checkout-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 14px 0 18px;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.checkout-total b {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.checkout-total s {
	margin-right: 8px;
	font-size: 14px;
	color: var(--aw-text-subtle);
}

.checkout-pay {
	width: 100%;
	height: 46px;
	font-size: 15px;
}

.checkout-pay + .checkout-pay {
	margin-top: 8px;
}

.btn-aimware.checkout-pay {
	box-shadow: 0 10px 28px -10px rgba(255, 69, 68, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.checkout-terms {
	margin: 12px 0 0;
	font-size: 12px;
	text-align: center;
	color: var(--aw-text-subtle);
}

.checkout-terms a {
	color: var(--aw-text-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.checkout-guest p {
	font-size: 13px;
	color: var(--aw-text-muted);
}

.checkout-trust {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 18px 0 0;
	padding: 16px 0 0;
	list-style: none;
	font-size: 13px;
	color: var(--aw-text-muted);
	border-top: 1px solid var(--aw-border);
}

.checkout-trust .fa {
	width: 16px;
	margin-right: 6px;
	text-align: center;
	color: var(--aw-accent-hover);
}

@media (max-width: 991.98px) {
	.checkout-summary {
		position: static;
	}
}

@media (max-width: 575.98px) {
	.checkout-step {
		padding: 18px 16px 20px;
	}

	.checkout-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.checkout-options-wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.checkout-option-price {
		font-size: 20px;
	}
}

/* Result pages */

.result-card {
	--result-color: var(--aw-success);
	--result-soft: rgba(52, 199, 123, 0.12);
	position: relative;
	max-width: 640px;
	margin: 56px auto 0;
	padding: 44px 40px 36px;
	text-align: center;
	background: radial-gradient(80% 60% at 50% 0%, var(--result-soft), transparent 70%), var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow-pop);
	overflow: hidden;
}

.result-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--result-color), transparent);
}

.result-error {
	--result-color: var(--aw-accent);
	--result-soft: rgba(255, 69, 68, 0.14);
}

.result-neutral {
	--result-color: #94a3b8;
	--result-soft: rgba(148, 163, 184, 0.1);
}

.result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	font-size: 28px;
	color: var(--result-color);
	background: var(--result-soft);
	border: 1px solid var(--result-color);
	border-radius: 50%;
	box-shadow: 0 0 0 8px var(--result-soft), 0 0 40px var(--result-soft);
}

.result-card h1 {
	margin: 22px 0 0;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.result-card > p {
	max-width: 460px;
	margin: 8px auto 0;
	color: var(--aw-text-muted);
}

.result-card .result-note {
	font-size: 13px;
}

.result-flash .alert {
	margin: 18px 0 0;
	text-align: left;
}

.result-steps {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.result-steps li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--aw-text-muted);
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.result-steps .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 32px;
	height: 32px;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-radius: 10px;
}

.result-steps b {
	display: block;
	color: #fff;
	font-weight: 600;
}

.result-steps a {
	color: var(--aw-accent-hover);
}

.result-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

@media (max-width: 575.98px) {
	.result-card {
		margin-top: 24px;
		padding: 32px 20px 26px;
	}

	.result-actions a {
		width: 100%;
	}
}

/* Composer */

.composer {
	margin-top: 20px;
}

.folder-tabs + .composer {
	margin-top: 12px;
}

.composer-body {
	padding: 22px 24px 8px;
}

.composer-field {
	margin-bottom: 18px;
}

.composer-field > .text-danger:not(:empty),
.composer-field > .form-text {
	display: block;
	margin-top: 6px;
}

.composer-label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.composer-counter {
	font-family: var(--aw-mono);
	font-size: 11px;
	color: var(--aw-text-subtle);
	transition: color 0.15s ease;
}

.composer-counter.is-full {
	color: var(--aw-warning);
}

.composer .form-control {
	height: 42px;
}

.composer textarea.form-control {
	height: auto;
}

.composer .composer-subject {
	height: 48px;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
}

.composer-recipient {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 14px 5px 5px;
	font-weight: 500;
	color: #fff;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: 999px;
}

.composer-recipient:hover {
	color: #fff;
	border-color: rgba(148, 163, 184, 0.35);
}

.composer-field > .form-label {
	display: block;
}

.composer-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 24px;
	border-top: 1px solid var(--aw-border);
	background: rgba(255, 255, 255, 0.015);
}

.composer-hint {
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.composer-hint .fa {
	margin-right: 4px;
}

.composer-actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.composer .sceditor-container {
	width: 100% !important;
}

.composer .sceditor-container:focus-within {
	border-color: var(--aw-accent) !important;
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.rep-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rep-pick {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.rep-pick input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rep-pick span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	height: 44px;
	padding: 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: var(--aw-text-muted);
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius);
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rep-pick:hover span {
	transform: translateY(-1px);
	border-color: rgba(148, 163, 184, 0.35);
}

.rep-pick input:focus-visible + span {
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.rep-pick.rep-positive input:checked + span {
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.12);
	border-color: var(--aw-success);
	box-shadow: 0 0 18px -4px rgba(52, 199, 123, 0.5);
}

.rep-pick.rep-negative input:checked + span {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent);
	box-shadow: 0 0 18px -4px rgba(255, 69, 68, 0.5);
}

@media (max-width: 575.98px) {
	.composer-body {
		padding: 18px 16px 4px;
	}

	.composer-foot {
		padding: 14px 16px;
	}

	.composer-actions {
		width: 100%;
	}

	.composer-actions > * {
		flex: 1;
	}
}

/* Thread tools */

.thread-tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

/* Documents */

.doc-layout {
	margin-top: 8px;
}

.doc-updated {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 5px 12px;
	font-size: 12px;
	color: var(--aw-text-muted);
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
	white-space: nowrap;
}

.doc-nav {
	position: sticky;
	top: 84px;
	padding: 16px 12px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
}

.doc-nav h2 {
	margin: 0 0 8px;
	padding: 0 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-text-subtle);
}

.doc-nav ul + h2 {
	margin-top: 18px;
}

.doc-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.doc-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	font-size: 14px;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
	transition: color 0.15s ease, background-color 0.15s ease;
}

.doc-nav a .fa {
	width: 14px;
	text-align: center;
	color: var(--aw-text-subtle);
}

.doc-nav a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
}

.doc-nav a.active {
	color: #fff;
	background: var(--aw-surface-2);
	box-shadow: inset 2px 0 0 var(--aw-accent);
}

.doc-nav a.active .fa {
	color: var(--aw-accent-hover);
}

.doc-nav-sections a {
	padding: 5px 10px;
	font-size: 13px;
}

.doc {
	padding: 32px 40px;
	font-size: 15px;
	line-height: 1.75;
	color: #cfd6e2;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.doc section {
	scroll-margin-top: 100px;
}

.doc section + section {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--aw-border);
}

.doc h2 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
}

.doc p:last-child,
.doc ol:last-child {
	margin-bottom: 0;
}

.doc ol {
	padding-left: 22px;
}

.doc ol li + li {
	margin-top: 6px;
}

.doc-lead {
	font-size: 16px;
	color: var(--aw-text);
}

.doc .doc-points {
	counter-reset: point;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.doc-points li {
	position: relative;
	counter-increment: point;
	padding: 14px 16px 14px 58px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.doc .doc-points li + li {
	margin-top: 10px;
}

.doc-points li::before {
	content: counter(point);
	position: absolute;
	left: 14px;
	top: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 13px;
	font-weight: 700;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-radius: 8px;
}

.doc-callout {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
	padding: 14px 16px;
	font-size: 14px;
	background: linear-gradient(90deg, var(--aw-accent-soft), transparent 70%);
	border: 1px solid rgba(255, 69, 68, 0.25);
	border-radius: var(--aw-radius);
}

.doc-callout .fa {
	font-size: 20px;
	color: var(--aw-accent-hover);
}

.doc-callout b {
	display: block;
	color: #fff;
}

.doc a,
.faq a {
	color: var(--aw-accent-hover);
}

/* FAQ */

.faq-search {
	position: relative;
	margin-bottom: 14px;
}

.faq-search .fa {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--aw-text-subtle);
}

.faq-search .form-control {
	height: 46px;
	padding-left: 40px;
	font-size: 15px;
}

.faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	transition: border-color 0.15s ease;
}

.faq-item[open] {
	border-color: var(--aw-border-strong);
	box-shadow: inset 2px 0 0 var(--aw-accent);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "\f107";
	flex: none;
	font-family: FontAwesome;
	font-weight: 400;
	color: var(--aw-text-subtle);
	transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
	transform: rotate(180deg);
	color: var(--aw-accent-hover);
}

.faq-item summary:hover {
	color: var(--aw-accent-hover);
}

.faq-answer {
	padding: 0 20px 16px;
	color: var(--aw-text-muted);
	line-height: 1.7;
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

.faq-empty {
	padding: 24px;
	text-align: center;
	color: var(--aw-text-muted);
}

/* About */

.about {
	margin-top: 20px;
}

.about-story {
	position: relative;
	padding: 40px 44px;
	overflow: hidden;
	background: radial-gradient(80% 120% at 100% 0%, var(--aw-accent-soft), transparent 60%), var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}

.about-story::after {
	content: "2014";
	position: absolute;
	right: -10px;
	bottom: -40px;
	font-size: 180px;
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 69, 68, 0.14);
	pointer-events: none;
}

.about-eyebrow {
	display: inline-block;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border: 1px solid var(--aw-accent-border);
	border-radius: 999px;
}

.about-story p {
	position: relative;
	max-width: 720px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--aw-text-muted);
}

.about-story .about-lead {
	margin-top: 18px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: #fff;
}

.about-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.about-fact {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 20px 22px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
}

.about-fact .fa {
	margin-bottom: 10px;
	font-size: 18px;
	color: var(--aw-accent-hover);
}

.about-fact b {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.about-fact span:last-child {
	font-size: 13px;
	color: var(--aw-text-muted);
}

.about-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

/* Error pages */

.result-code {
	display: block;
	margin-top: 16px;
	font-family: var(--aw-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	color: var(--aw-text-subtle);
}

.result-card .result-code + h1 {
	margin-top: 4px;
}

.result-reasons {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.result-reasons li {
	position: relative;
	padding: 10px 14px 10px 36px;
	font-size: 14px;
	color: var(--aw-text-muted);
	border-top: 1px solid var(--aw-border);
}

.result-reasons li::before {
	content: "\f00d";
	position: absolute;
	left: 12px;
	top: 11px;
	font-family: FontAwesome;
	font-size: 12px;
	color: var(--aw-accent-hover);
}

.result-big {
	display: block;
	font-size: 120px;
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 69, 68, 0.55);
	text-shadow: 0 0 40px rgba(255, 69, 68, 0.25);
}

.result-card.result-404 h1 {
	margin-top: 12px;
}

.result-search {
	max-width: 380px;
	margin: 22px auto 0;
}

@media (max-width: 991.98px) {
	.doc-nav {
		position: static;
	}

	.doc-nav-sections {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.doc {
		padding: 22px 20px;
	}

	.about-story {
		padding: 28px 22px;
	}

	.about-story::after {
		font-size: 110px;
		bottom: -20px;
	}

	.about-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.doc-updated {
		margin-left: 0;
	}

	.result-big {
		font-size: 88px;
	}
}

.panel-header + .form-block {
	margin-top: 20px;
}

.result-card.result-bare {
	background: none;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

.result-card.result-bare::before {
	display: none;
}

/* One-time code */

.otp-boxes {
	display: flex;
	gap: 8px;
}

.otp-box {
	width: 44px;
	height: 52px;
	padding: 0;
	font-family: var(--aw-mono);
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	color: #fff;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
	outline: none;
	caret-color: var(--aw-accent);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.otp-box:nth-child(3) {
	margin-right: 10px;
}

.otp-box:not(:placeholder-shown),
.otp-box:focus {
	border-color: var(--aw-accent);
}

.otp-box:focus {
	box-shadow: 0 0 0 3px var(--aw-accent-ring);
}

.otp-box::placeholder {
	color: var(--aw-text-subtle);
}

/* Thread states */

.thread-flag {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 1px 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	vertical-align: middle;
	border: 1px solid;
	border-radius: 999px;
	white-space: nowrap;
}

.thread-flag-deleted {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-border);
}

.thread-flag-pending {
	color: var(--aw-warning);
	background: rgba(242, 179, 61, 0.1);
	border-color: rgba(242, 179, 61, 0.3);
}

.forum-thread-list.thread-deleted > div {
	opacity: 0.45;
	transition: opacity 0.15s ease;
}

.forum-thread-list.thread-deleted:hover > div {
	opacity: 0.85;
}

.forum-thread-list.thread-deleted .thread-subject {
	text-decoration: line-through;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.forum-thread-list.thread-pending {
	box-shadow: inset 2px 0 0 var(--aw-warning);
}

/* Dialogs */

.modal-backdrop.show {
	opacity: 0.7;
}

.modal-backdrop {
	--bs-backdrop-bg: #05070b;
}

.aw-dialog .modal-dialog {
	max-width: 420px;
}

.aw-dialog .modal-content {
	position: relative;
	overflow: hidden;
	background: radial-gradient(80% 60% at 50% 0%, var(--aw-dialog-glow, rgba(255, 255, 255, 0.04)), transparent 70%), var(--aw-surface);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-lg);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

.aw-dialog .modal-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--aw-dialog-accent, var(--aw-text-subtle)), transparent);
}

.aw-dialog-danger {
	--aw-dialog-accent: var(--aw-accent);
	--aw-dialog-glow: var(--aw-accent-soft);
}

.aw-dialog .modal-body {
	padding: 32px 28px 8px;
}

.aw-dialog-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.aw-dialog-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--aw-text);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.aw-dialog-icon svg {
	width: 24px;
	height: 24px;
}

.aw-dialog-danger .aw-dialog-icon {
	color: var(--aw-accent-hover);
	background: radial-gradient(circle at 50% 30%, rgba(255, 69, 68, 0.28), rgba(255, 69, 68, 0.08));
	border-color: rgba(255, 69, 68, 0.45);
	box-shadow: 0 0 0 8px rgba(255, 69, 68, 0.08), 0 0 36px rgba(255, 69, 68, 0.35);
}

.aw-dialog-body h2 {
	margin: 20px 0 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.aw-dialog-body p {
	max-width: 320px;
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--aw-text-muted);
}

.aw-dialog .modal-footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 20px 28px 24px;
	border-top: 0;
}

.aw-dialog .modal-footer > * {
	margin: 0;
}

.aw-dialog .modal-footer > :only-child {
	grid-column: 1 / -1;
}

.aw-dialog .modal-footer .btn-aimware,
.aw-dialog .modal-footer .btn-ghost {
	width: 100%;
	height: 42px;
	justify-content: center;
	font-size: 14px;
}

.aw-dialog-danger .modal-footer .btn-aimware {
	box-shadow: 0 10px 24px -10px rgba(255, 69, 68, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aw-dialog.fade .modal-dialog {
	transform: translateY(8px) scale(0.98);
	transition: transform 0.18s ease-out;
}

.aw-dialog.show .modal-dialog {
	transform: none;
}

/* Admin subscriptions */

.admin-search.admin-search-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.sub-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
	margin-top: 16px;
}

.sub-form > .btn-aimware {
	margin-top: 29px;
}

.sub-form .form-control,
.sub-form .form-select {
	height: 40px;
}

.sub-user {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 12px 0 6px;
	font-weight: 500;
	color: #fff;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
}

.sub-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.sub-presets button {
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 500;
	color: var(--aw-text-muted);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--aw-border-strong);
	border-radius: 999px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.sub-presets button:hover {
	color: #fff;
	border-color: rgba(255, 69, 68, 0.5);
}

.sub-key {
	margin-left: 6px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.sub-danger {
	background: linear-gradient(180deg, rgba(255, 69, 68, 0.07), rgba(255, 69, 68, 0.02) 140px), var(--aw-surface);
	border-color: var(--aw-accent-border);
}

.sub-danger .section-forum-top h2,
.sub-danger .section-forum-top .fa {
	color: var(--aw-accent-hover);
}

@media (max-width: 991.98px) {
	.admin-search.admin-search-2,
	.sub-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.sub-form > .btn-aimware {
		margin-top: 0;
	}
}

.sub-form .form-label {
	display: block;
}

/* April Fools: hitmarkers */

body.april-fools,
body.april-fools * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 3v8M16 21v8M3 16h8M21 16h8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M16 3v8M16 21v8M3 16h8M21 16h8' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='16' r='1.8' fill='%23ff4544'/%3E%3C/svg%3E") 16 16, crosshair;
}

body.april-fools input[type="text"],
body.april-fools input[type="email"],
body.april-fools input[type="password"],
body.april-fools input[type="search"],
body.april-fools textarea {
	cursor: text;
}

.hitmarker {
	position: fixed;
	z-index: 2000;
	width: 0;
	height: 0;
	pointer-events: none;
}

.hitmarker i {
	position: absolute;
	left: 0;
	top: -1px;
	width: 9px;
	height: 2px;
	background: #fff;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
	transform-origin: 0 50%;
	animation: hitmarker-line 0.28s ease-out forwards;
}

.hitmarker i:nth-child(1) { --angle: 45deg; }
.hitmarker i:nth-child(2) { --angle: 135deg; }
.hitmarker i:nth-child(3) { --angle: 225deg; }
.hitmarker i:nth-child(4) { --angle: 315deg; }

.hitmarker b {
	position: absolute;
	left: 12px;
	top: -20px;
	font-family: "Silkscreen", monospace;
	font-size: 10px;
	font-weight: 400;
	color: var(--aw-accent);
	text-shadow: 0 0 2px #000, 0 0 8px rgba(255, 69, 68, 0.6);
	white-space: nowrap;
	animation: hitmarker-score 0.7s ease-out forwards;
}

@keyframes hitmarker-line {
	from {
		opacity: 1;
		transform: rotate(var(--angle)) translateX(4px);
	}
	to {
		opacity: 0;
		transform: rotate(var(--angle)) translateX(9px);
	}
}

@keyframes hitmarker-score {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-22px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hitmarker i,
	.hitmarker b {
		animation-duration: 0.01s;
	}
}

/* Admin coupons */

.coupon-form {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px;
	margin-top: 16px;
}

.coupon-form .form-control,
.coupon-form .btn-aimware {
	height: 40px;
}

.coupon-code-input {
	display: flex;
	gap: 6px;
}

.coupon-code-input .form-control {
	font-family: var(--aw-mono);
	letter-spacing: 0.04em;
}

.coupon-code-input .btn-ghost {
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
}

.coupon-code::selection {
	color: #fff;
	background: var(--aw-accent);
}

.coupon-status.status-offline {
	background: rgba(255, 255, 255, 0.03);
}

.coupon-status {
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	transition: filter 0.15s ease;
}

.coupon-status:hover {
	filter: brightness(1.25);
}

.coupon-status:disabled {
	opacity: 0.6;
	cursor: progress;
}

.coupon-expired {
	color: var(--aw-accent-hover);
}

@media (max-width: 991.98px) {
	.coupon-form {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Admin cheat status */

.cheat-status-picker {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 3px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.cheat-status-option {
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.cheat-status-option.status-offline {
	background: rgba(255, 255, 255, 0.03);
}

.cheat-status-option:not(.is-active) {
	opacity: 0.35;
	background: none;
	border-color: transparent;
}

.cheat-status-option:not(.is-active) .status-dot {
	box-shadow: none;
}

.cheat-status-option:not(.is-active):hover {
	opacity: 0.85;
}

.cheat-status-option.is-active {
	cursor: default;
	filter: brightness(1.1);
}

.cheat-status-option:disabled {
	cursor: progress;
}

@media (max-width: 767.98px) {
	.cheat-status-picker {
		border-radius: var(--aw-radius);
	}
}

/* Marketplace */

.mp-hero {
	flex-wrap: wrap;
}

.mp-hero-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.mp-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0 16px;
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.mp-crumbs a {
	color: var(--aw-text-muted);
}

.mp-crumbs a:hover {
	color: #fff;
}

.mp-crumbs > span:last-child {
	color: var(--aw-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 40ch;
}

.mp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 20px 0 12px;
}

.mp-search {
	position: relative;
	flex: 1 1 260px;
}

.mp-search > .fa {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	color: var(--aw-text-subtle);
	pointer-events: none;
}

.mp-search .form-control {
	height: 42px;
	padding-left: 38px;
	border-radius: 999px;
}

.mp-segment {
	display: inline-flex;
	gap: 4px;
	height: 42px;
	padding: 3px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mp-segment a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--aw-text-muted);
	border-radius: 999px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.mp-segment a:hover {
	color: #fff;
}

.mp-segment a.is-active {
	color: #fff;
	background: var(--aw-surface-3);
	box-shadow: inset 0 1px 0 var(--aw-highlight), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mp-sort .btn-ghost {
	height: 42px;
	border-radius: 999px;
}

.mp-sort .dropdown-item.active {
	color: #fff;
	background: var(--aw-accent-soft);
}

.mp-products {
	display: flex;
	gap: 8px;
	padding-bottom: 6px;
	margin-bottom: 18px;
	overflow-x: auto;
	scrollbar-width: none;
}

.mp-products a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	flex: none;
	padding: 6px 14px 6px 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-text-muted);
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: 999px;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.mp-products a:first-child {
	padding-left: 14px;
}

.mp-products a:hover {
	color: #fff;
	border-color: var(--aw-border-strong);
}

.mp-products a.is-active {
	color: #fff;
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-ring);
}

.mp-products-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--aw-surface-3);
	background-size: cover;
	background-position: center;
}

.mp-count {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--aw-text-subtle);
}

.mp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.mp-grid-2 {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.mp-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	color: var(--aw-text);
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.mp-card:hover {
	color: var(--aw-text);
	border-color: var(--aw-border-strong);
	transform: translateY(-2px);
}

.mp-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mp-card-product {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: var(--aw-radius-sm);
	background-color: var(--aw-surface-3);
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mp-card-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.mp-card-game {
	font-size: 12px;
	color: var(--aw-text-muted);
	white-space: nowrap;
}

.mp-type {
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 4px;
}

.mp-type-config {
	color: var(--aw-info);
	background: rgba(91, 156, 255, 0.12);
}

.mp-type-lua {
	color: #b48cff;
	background: rgba(180, 140, 255, 0.12);
}

.mp-price {
	margin-left: auto;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--aw-warning);
	background: rgba(242, 179, 61, 0.1);
	border: 1px solid rgba(242, 179, 61, 0.25);
	border-radius: 999px;
}

.mp-price.is-free {
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.1);
	border-color: rgba(52, 199, 123, 0.25);
}

.mp-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	overflow-wrap: anywhere;
}

.mp-card-text {
	flex: 1;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--aw-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mp-card .status-pill {
	align-self: flex-start;
}

.mp-card-foot {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 10px;
	font-size: 12px;
	color: var(--aw-text-muted);
	border-top: 1px solid var(--aw-border);
}

.mp-card-author {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.user-avatar.user-avatar-xs {
	width: 20px;
	height: 20px;
	font-size: 10px;
	border-radius: 50%;
}

.mp-card-stats {
	display: inline-flex;
	gap: 12px;
	margin-left: auto;
	white-space: nowrap;
}

.mp-card-stats .fa {
	color: var(--aw-text-subtle);
}

.mp-status-pending {
	color: var(--aw-warning);
	background: rgba(242, 179, 61, 0.1);
	border-color: rgba(242, 179, 61, 0.3);
}

.mp-status-private {
	color: var(--aw-text-muted);
	background: rgba(255, 255, 255, 0.04);
}

.mp-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 48px 20px;
	text-align: center;
	color: var(--aw-text-muted);
}

.mp-empty > .fa {
	font-size: 32px;
	color: var(--aw-text-subtle);
}

.mp-empty p {
	margin: 0;
}

.mp-empty-inline {
	padding: 24px 12px;
}

.mp-show,
.mp-mine {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 16px;
	align-items: start;
}

.mp-mine-main,
.mp-main,
.mp-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

article.mp-main {
	display: block;
}

.mp-show-head {
	display: flex;
	gap: 16px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--aw-border);
}

.mp-show-product {
	width: 56px;
	height: 56px;
	border-radius: var(--aw-radius);
}

.mp-show-head h1 {
	margin: 6px 0 2px;
	font-size: 24px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.mp-show-by {
	margin: 0;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.mp-notice {
	display: flex;
	gap: 10px;
	margin: 16px 24px 0;
	padding: 12px 14px;
	font-size: 13px;
	color: var(--aw-text);
	background: rgba(242, 179, 61, 0.08);
	border: 1px solid rgba(242, 179, 61, 0.25);
	border-radius: var(--aw-radius);
}

.mp-notice > .fa {
	margin-top: 3px;
	color: var(--aw-warning);
}

.mp-notice-danger {
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-ring);
}

.mp-notice-danger > .fa {
	color: var(--aw-accent-hover);
}

.mp-description {
	padding: 20px 24px 24px;
	overflow-wrap: anywhere;
}

.mp-buy,
.mp-vote,
.mp-block {
	padding: 18px;
}

.mp-buy-price {
	margin-bottom: 14px;
	color: var(--aw-text-muted);
}

.mp-buy-price b {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.mp-buy-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--aw-text-muted);
}

.mp-buy-note.is-short {
	color: var(--aw-accent-hover);
}

.mp-buy-owned {
	display: flex;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--aw-success);
}

.mp-buy-owned .fa {
	margin-top: 4px;
}

.mp-buy .btn-aimware[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.mp-facts {
	display: grid;
	gap: 8px;
	margin: 18px 0 0;
	padding-top: 14px;
	font-size: 13px;
	border-top: 1px solid var(--aw-border);
}

.mp-facts div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.mp-facts dt {
	font-weight: 400;
	color: var(--aw-text-muted);
}

.mp-facts dd {
	margin: 0;
	color: var(--aw-text);
	text-align: right;
}

.mp-vote-title {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--aw-text-muted);
}

.mp-vote-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mp-vote-buttons button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	font: inherit;
	font-size: 14px;
	color: var(--aw-text-muted);
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius);
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.mp-vote-buttons button b {
	font-weight: 600;
	color: var(--aw-text);
}

.mp-vote-buttons button:not([disabled]):hover {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
}

.mp-vote-buttons button[disabled] {
	cursor: default;
}

.mp-vote-up.is-active {
	color: var(--aw-success);
	background: rgba(52, 199, 123, 0.12);
	border-color: rgba(52, 199, 123, 0.45);
}

.mp-vote-down.is-active {
	color: var(--aw-accent-hover);
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-ring);
}

.mp-vote-bar {
	height: 4px;
	margin-top: 12px;
	overflow: hidden;
	background: var(--aw-accent-soft);
	border-radius: 999px;
}

.mp-vote-bar span {
	display: block;
	height: 100%;
	background: var(--aw-success);
	border-radius: 999px;
	transition: width 0.25s ease;
}

.mp-vote-hint {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.mp-delete {
	padding: 0 4px;
}

.btn-link-danger {
	padding: 0;
	font: inherit;
	font-size: 13px;
	color: var(--aw-text-muted);
	background: none;
	border: 0;
	cursor: pointer;
}

.btn-link-danger:hover {
	color: var(--aw-accent-hover);
}

.mp-block-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.mp-block-head h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.mp-block-head h2 .fa {
	margin-right: 6px;
	color: var(--aw-accent);
}

.mp-block-head > span {
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.mp-balance {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
}

.mp-balance-value {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.mp-balance-label {
	color: var(--aw-text-muted);
}

.mp-ledger {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.mp-ledger li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--aw-border);
}

.mp-ledger-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	font-size: 13px;
	color: var(--aw-text-muted);
	background: var(--aw-surface-2);
	border-radius: 50%;
}

.mp-ledger-sale {
	color: var(--aw-success);
}

.mp-ledger-grant {
	color: var(--aw-warning);
}

.mp-ledger-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
}

.mp-ledger-body a,
.mp-ledger-note,
.mp-ledger-body time {
	font-size: 12px;
	color: var(--aw-text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mp-ledger-body time {
	color: var(--aw-text-subtle);
}

.mp-ledger-amount {
	margin-left: auto;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.mp-ledger-amount.is-plus {
	color: var(--aw-success);
}

.mp-ledger-amount.is-minus {
	color: var(--aw-accent-hover);
}

.mp-form-hint {
	display: block;
	margin: 6px 0 12px;
	font-size: 12px;
	color: var(--aw-text-muted);
}

.mp-key-warning {
	color: var(--aw-warning);
}

.mp-key {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.mp-key code {
	flex: 1;
	min-width: 0;
	padding: 9px 10px;
	font-family: var(--aw-mono);
	font-size: 12px;
	color: #fff;
	word-break: break-all;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
}

.mp-api-doc {
	margin-top: 14px;
	font-size: 12px;
	color: var(--aw-text-muted);
}

.mp-api-doc summary {
	cursor: pointer;
	color: var(--aw-text);
}

.mp-api-doc ul {
	margin: 8px 0;
	padding-left: 16px;
}

.mp-api-doc code {
	font-family: var(--aw-mono);
	color: var(--aw-text);
	overflow-wrap: anywhere;
}

.mp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.mp-choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	height: 42px;
	padding: 3px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-sm);
}

.mp-choice label {
	display: flex;
	margin: 0;
}

.mp-form .form-select {
	height: 42px;
}

.mp-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mp-choice label > span {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--aw-text-muted);
	border-radius: var(--aw-radius-sm);
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.mp-choice input:checked + span {
	color: #fff;
	background: var(--aw-surface-3);
	box-shadow: inset 0 1px 0 var(--aw-highlight), inset 0 -2px 0 var(--aw-accent);
}

.mp-choice input:focus-visible + span {
	outline: 2px solid var(--aw-accent-ring);
}

.mp-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 42px;
	margin: 0;
	cursor: pointer;
}

.mp-switch.is-disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.mp-switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mp-switch-track {
	position: relative;
	flex: none;
	width: 40px;
	height: 22px;
	margin-top: 2px;
	background: var(--aw-input);
	border: 1px solid var(--aw-border-strong);
	border-radius: 999px;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mp-switch-track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: var(--aw-text-muted);
	border-radius: 50%;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.mp-switch input:checked + .mp-switch-track {
	background: var(--aw-accent-soft);
	border-color: var(--aw-accent-ring);
}

.mp-switch input:checked + .mp-switch-track::after {
	background: var(--aw-accent);
	transform: translateX(18px);
}

.mp-switch input:focus-visible + .mp-switch-track {
	outline: 2px solid var(--aw-accent-ring);
}

.mp-switch small {
	display: block;
	font-size: 12px;
	color: var(--aw-text-muted);
}

.mp-upload {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--aw-text-muted);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border-strong);
	border-radius: 999px;
	cursor: pointer;
}

.mp-upload:hover {
	color: #fff;
}

.mp-upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.mp-code,
.mp-source {
	font-family: var(--aw-mono);
	font-size: 13px;
	line-height: 1.55;
	tab-size: 4;
}

.mp-source {
	max-height: 520px;
	margin: 0;
	padding: 14px;
	overflow: auto;
	color: var(--aw-text);
	white-space: pre;
	background: var(--aw-input);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
}

.mp-previous summary {
	font-weight: 600;
	cursor: pointer;
}

.mp-previous[open] summary {
	margin-bottom: 14px;
}

.mp-reject {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--aw-border);
}

.mp-reject textarea {
	margin-bottom: 10px;
}

.mp-review-link {
	display: block;
	margin-top: 16px;
	font-size: 13px;
	color: var(--aw-text-muted);
}

@media (max-width: 991.98px) {
	.mp-show,
	.mp-mine {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767.98px) {
	.mp-hero-actions {
		width: 100%;
		margin-left: 0;
	}

	.mp-hero-actions a {
		flex: 1;
		justify-content: center;
	}

	.mp-segment {
		flex: 1;
	}

	.mp-segment a {
		flex: 1;
		justify-content: center;
		padding: 7px 8px;
	}

	.mp-form-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.mp-show-head,
	.mp-description {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mp-notice {
		margin-left: 16px;
		margin-right: 16px;
	}
}

.mp-ledger li:first-child {
	padding-top: 0;
	border-top: 0;
}

.mp-block .mp-description {
	padding: 0;
}

.mp-card-tags .status-pill {
	padding: 1px 8px;
	font-size: 11px;
}

@media (max-width: 767.98px) {
	.mp-sort,
	.mp-sort .btn-ghost {
		width: 100%;
	}
}

.moderation-stats {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 767.98px) {
	.moderation-stats {
		grid-template-columns: minmax(0, 1fr);
	}
}

.panel-header ~ .mp-mine,
.panel-header ~ .mp-show {
	margin-top: 20px;
}

.shoutbox-frame {
	width: 100%;
	height: 300px;
	border: 0;
	resize: vertical;
	overflow: auto;
}

.pm-reply {
	margin-top: 20px;
}

/* Search */

.search-hero {
	margin: 8px 0 24px;
}

.search-hero h1 {
	margin: 0 0 14px;
	font-size: 1.6rem;
	font-weight: 700;
}

.search-box {
	position: relative;
	display: flex;
	gap: 8px;
	padding: 6px;
	background: var(--aw-surface);
	border: 1px solid var(--aw-border-strong);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-box:focus-within {
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow: var(--aw-shadow), 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.search-box > .fa {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	font-size: 16px;
	color: var(--aw-text-subtle);
	pointer-events: none;
}

.search-box input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 12px 0 42px;
	font-size: 16px;
	color: var(--aw-text);
	background: transparent;
	border: 0;
	outline: none;
}

.search-box input::placeholder {
	color: var(--aw-text-subtle);
}

.search-box .btn-aimware {
	height: 46px;
	padding: 0 22px;
}

.search-summary {
	margin: 12px 2px 0;
	font-size: 14px;
	color: var(--aw-text-muted);
}

.search-summary b {
	color: var(--aw-text);
}

.search-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 56px 20px;
	text-align: center;
}

.search-empty-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	font-size: 22px;
	color: var(--aw-text-muted);
	background: var(--aw-surface-2);
	border: 1px solid var(--aw-border-strong);
	border-radius: 50%;
}

.search-empty h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
}

.search-empty p {
	margin: 0;
	color: var(--aw-text-muted);
}

.search-results {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-result {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 20px;
	color: var(--aw-text);
	background: var(--aw-surface);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-result:hover {
	color: var(--aw-text);
	background: var(--aw-surface-2);
	border-color: var(--aw-border-strong);
}

.search-result-title {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	overflow-wrap: anywhere;
}

.search-result-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--aw-text-muted);
	overflow-wrap: anywhere;
}

.search-result mark {
	padding: 0 2px;
	color: #fff;
	background: var(--aw-accent-soft);
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 var(--aw-accent);
}

.search-result-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--aw-text-subtle);
}

.search-result-meta b {
	font-weight: 500;
	color: var(--aw-text-muted);
}

@media (max-width: 767.98px) {
	.search-box .btn-aimware {
		padding: 0 14px;
	}

	.search-result {
		padding: 14px 16px;
	}
}

/* Christmas */

.snowfall {
	position: fixed;
	inset: 0;
	z-index: 1040;
	overflow: hidden;
	pointer-events: none;
}

.snowfall i {
	position: absolute;
	top: -12px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
	animation-name: snow-fall, snow-sway;
	animation-timing-function: linear, ease-in-out;
	animation-iteration-count: infinite;
	animation-direction: normal, alternate;
}

@keyframes snow-fall {
	to {
		transform: translate3d(var(--drift), 105vh, 0);
	}
}

@keyframes snow-sway {
	from {
		translate: -12px 0;
	}

	to {
		translate: 12px 0;
	}
}

body.christmas .section-forum-top::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -11px;
	left: 8px;
	right: 8px;
	height: 24px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.5' stop-color='%23f1f6fd'/%3E%3Cstop offset='1' stop-color='%23c6d6ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23s)' d='M0 9C12 3 26 4 36 7C48 2 66 1 80 6C92 3 104 4 114 8C128 2 150 2 164 7C176 4 190 3 202 7C214 3 230 4 240 9L240 13C230 13 222 13 216 14C214 19 212 21 210 21C207 21 207 16 204 14C190 13 172 14 156 14C154 18 152 19 150 19C148 19 147 16 145 14C130 13 116 13 100 14C98 21 95 23 93 23C90 23 90 17 87 14C70 13 56 14 44 14C42 17 41 18 39 18C37 18 37 16 35 14C22 13 10 13 0 13Z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='11.5' r='.9'/%3E%3Ccircle cx='61' cy='12' r='.7'/%3E%3Ccircle cx='128' cy='11' r='1'/%3E%3Ccircle cx='181' cy='12' r='.7'/%3E%3Ccircle cx='226' cy='11.5' r='.8'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x;
	border-radius: 12px 12px 8px 8px / 10px 10px 8px 8px;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.4));
}

body.christmas .section-base:nth-of-type(even) .section-forum-top::before {
	background-position-x: -97px;
}

@media (prefers-reduced-motion: reduce) {
	.snowfall {
		display: none;
	}
}

/* Halloween */

body.halloween {
	--aw-accent: #ff7a1a;
	--aw-accent-strong: #e8650c;
	--aw-accent-hover: #ff9440;
	--aw-accent-soft: rgba(255, 122, 26, 0.12);
	--aw-accent-ring: rgba(255, 122, 26, 0.35);
	--aw-accent-line: linear-gradient(90deg, var(--aw-accent), rgba(255, 122, 26, 0) 40%);
	background:
		radial-gradient(1100px 520px at 50% -220px, rgba(255, 122, 26, 0.13), transparent 70%),
		radial-gradient(900px 480px at 100% 0, rgba(140, 70, 220, 0.1), transparent 70%),
		var(--aw-bg);
	background-attachment: fixed;
}

body.halloween .section-forum-top::before {
	content: "";
	position: absolute;
	top: 1px;
	right: 2px;
	width: 54px;
	height: 54px;
	opacity: 0.5;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath stroke-width='.8' d='M46 0L5.4 16.8M46 0L14.9 31.1M46 0L29.2 40.6M46 0L2 0M46 0L46 44'/%3E%3Cpath stroke-width='.6' d='M34 0Q36.6 1.9 34.9 4.6Q38 5.3 37.5 8.5Q40.7 8 41.4 11.1Q44.1 9.4 46 12M24 0Q28.7 3.4 25.7 8.4Q31.4 9.8 30.4 15.6Q36.2 14.6 37.6 20.3Q42.6 17.3 46 22M13 0Q20.1 5.1 15.5 12.6Q24.1 14.7 22.7 23.3Q31.3 21.9 33.4 30.5Q40.9 25.9 46 33M4 0Q13 6.6 7.2 16.1Q18.1 18.7 16.3 29.7Q27.3 27.9 29.9 38.8Q39.4 33 46 42'/%3E%3C/svg%3E") no-repeat;
}

.spooky-night {
	position: fixed;
	inset: 0;
	z-index: 1040;
	overflow: hidden;
	pointer-events: none;
}

.spooky-fog {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1030;
	height: 45vh;
	pointer-events: none;
	mix-blend-mode: screen;
	background:
		radial-gradient(22% 70% at 10% 100%, rgba(175, 165, 215, 0.2), transparent 70%),
		radial-gradient(18% 50% at 32% 100%, rgba(150, 140, 200, 0.16), transparent 70%),
		radial-gradient(25% 80% at 55% 100%, rgba(175, 165, 215, 0.19), transparent 70%),
		radial-gradient(20% 60% at 80% 100%, rgba(150, 140, 200, 0.17), transparent 70%),
		linear-gradient(0deg, rgba(160, 150, 210, 0.1), transparent 60%);
	background-size: 200% 100%, 200% 100%, 200% 100%, 200% 100%, 100% 100%;
	animation: fog-drift 60s linear infinite;
}

@keyframes fog-drift {
	to {
		background-position: 100% 0;
	}
}

.spooky-bat {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--size);
	animation-name: bat-fly;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

.spooky-bat-left {
	animation-name: bat-fly-left;
}

@keyframes bat-fly {
	from {
		transform: translate(-80px, var(--y0));
	}

	to {
		transform: translate(calc(100vw + 80px), var(--y1));
	}
}

@keyframes bat-fly-left {
	from {
		transform: translate(calc(100vw + 80px), var(--y0));
	}

	to {
		transform: translate(-80px, var(--y1));
	}
}

.spooky-bat-bob {
	animation: bat-bob 1.3s ease-in-out infinite alternate;
}

@keyframes bat-bob {
	from {
		translate: 0 -16px;
	}

	to {
		translate: 0 16px;
	}
}

.spooky-bat svg {
	display: block;
	width: 100%;
	fill: #07060a;
	filter: drop-shadow(0 0 3px rgba(255, 122, 26, 0.5));
}

.spooky-bat .bat-wing {
	transform-box: view-box;
	transform-origin: 32px 16px;
	animation: bat-flap 0.15s ease-in-out infinite alternate;
}

.spooky-bat .bat-eye {
	fill: #ff7a1a;
}

@keyframes bat-flap {
	to {
		transform: scaleY(-0.45);
	}
}

.spooky-eyes {
	position: absolute;
	display: flex;
	gap: 9px;
	opacity: 0;
	animation: eyes-appear 5s ease-in-out forwards;
}

.spooky-eyes i {
	width: 11px;
	height: 6px;
	border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
	background: radial-gradient(circle at 50% 55%, #fff4c2 0 18%, #ffb020 38%, #ff6a00 75%);
	box-shadow: 0 0 8px 2px rgba(255, 140, 30, 0.65), 0 0 22px 6px rgba(255, 100, 0, 0.25);
}

.spooky-eyes i:first-child {
	transform: rotate(14deg);
}

.spooky-eyes i:last-child {
	transform: rotate(-14deg);
}

@keyframes eyes-appear {
	0% {
		opacity: 0;
		transform: scaleY(1);
	}

	18%,
	44%,
	50%,
	70%,
	76% {
		opacity: 1;
		transform: scaleY(1);
	}

	47%,
	73% {
		opacity: 1;
		transform: scaleY(0.1);
	}

	88% {
		opacity: 1;
		transform: scaleY(1);
	}

	100% {
		opacity: 0;
		transform: scaleY(1);
	}
}

.spooky-spider {
	position: absolute;
	top: 3px;
	right: 30px;
	z-index: 3;
	width: 1px;
	height: 6px;
	pointer-events: none;
	background: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.5));
	animation: spider-drop ease-in-out infinite;
}

.spooky-spider svg {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 16px;
	margin: -3px 0 0 -8px;
	color: #0a090d;
	filter: drop-shadow(0 0 2px rgba(255, 140, 40, 0.75));
	transform-origin: 50% 0;
	animation: spider-wiggle 1.1s ease-in-out infinite alternate;
}

@keyframes spider-drop {
	0%,
	15% {
		height: 6px;
	}

	45%,
	58% {
		height: 66px;
	}

	66% {
		height: 54px;
	}

	74% {
		height: 62px;
	}

	100% {
		height: 6px;
	}
}

@keyframes spider-wiggle {
	from {
		transform: rotate(-9deg);
	}

	to {
		transform: rotate(9deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.spooky-night {
		display: none;
	}

	.spooky-fog {
		animation: none;
	}
}

/* Easter */

body.easter .section-forum-top::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -16px;
	right: 18px;
	width: 72px;
	height: 28px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 28'%3E%3Cellipse cx='26' cy='15' rx='7' ry='9' fill='%23f7a8c9'/%3E%3Cpath d='M19 13L22 11L25 13L28 11L31 13L33 12V16L31 17L28 15L25 17L22 15L19 17Z' fill='%23fff' opacity='.55'/%3E%3Cellipse cx='45' cy='17' rx='6' ry='8' fill='%23b9a6f7'/%3E%3Cg fill='%23fff' opacity='.7'%3E%3Ccircle cx='43' cy='13.5' r='1.2'/%3E%3Ccircle cx='47.2' cy='16' r='1.2'/%3E%3Ccircle cx='43.6' cy='19' r='1.2'/%3E%3C/g%3E%3Cpath fill='%233f9a55' d='M0 28L3 18L6 28L9 15L12 28L15 20L18 28L21 16L24 28L27 21L30 28L33 14L36 28L39 20L42 28L45 17L48 28L51 21L54 28L57 15L60 28L63 19L66 28L69 16L72 28Z'/%3E%3Cpath fill='%2362c374' d='M2 28L6 21L8 28L12 19L14 28L19 22L21 28L26 20L28 28L32 22L35 28L40 21L42 28L47 23L49 28L53 19L55 28L60 22L62 28L66 21L68 28Z'/%3E%3C/svg%3E") no-repeat;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

body.easter .section-base:nth-of-type(even) .section-forum-top::before {
	right: auto;
	left: 18px;
	transform: scaleX(-1);
}

.easter-egg {
	position: absolute;
	top: -12px;
	z-index: 3;
	width: 18px;
	height: 23px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
	transform-origin: 50% 90%;
	animation: egg-wobble 3.2s ease-in-out infinite;
	transition: scale 0.15s ease;
}

.easter-egg svg {
	display: block;
	width: 100%;
	height: 100%;
}

.easter-egg:hover {
	scale: 1.2;
}

.easter-egg:focus-visible {
	outline: none;
	filter: drop-shadow(0 0 4px var(--aw-accent)) drop-shadow(0 0 2px #fff);
}

.easter-egg.is-found {
	pointer-events: none;
	animation: egg-pop 0.35s ease-out forwards;
}

@keyframes egg-wobble {
	0%,
	80%,
	100% {
		transform: rotate(0);
	}

	85% {
		transform: rotate(-12deg);
	}

	90% {
		transform: rotate(12deg);
	}

	95% {
		transform: rotate(-6deg);
	}
}

@keyframes egg-pop {
	to {
		transform: scale(1.7);
		opacity: 0;
	}
}

.easter-burst {
	position: fixed;
	z-index: 1060;
	width: 0;
	height: 0;
	pointer-events: none;
}

.easter-burst i {
	position: absolute;
	top: -3px;
	left: -3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	animation: egg-burst 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes egg-burst {
	to {
		transform: translate(var(--dx), var(--dy)) scale(0.3);
		opacity: 0;
	}
}

.easter-toast {
	position: fixed;
	top: 80px;
	left: 50%;
	z-index: 1060;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
	background: radial-gradient(120% 120% at 0 0, var(--aw-accent-soft), transparent 70%), var(--aw-surface-2);
	border: 1px solid var(--aw-accent-border);
	border-radius: 999px;
	box-shadow: var(--aw-shadow-pop), 0 0 18px -6px var(--aw-accent);
	opacity: 0;
	transform: translate(-50%, -10px);
	pointer-events: none;
}

.easter-toast.is-visible {
	animation: easter-toast 2.6s ease forwards;
}

@keyframes easter-toast {
	0% {
		opacity: 0;
		transform: translate(-50%, -10px);
	}

	10%,
	80% {
		opacity: 1;
		transform: translate(-50%, 0);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -10px);
	}
}

.easter-meadow {
	position: fixed;
	inset: 0;
	z-index: 1040;
	overflow: hidden;
	pointer-events: none;
}

.easter-bunny {
	position: absolute;
	bottom: 6px;
	left: 0;
	width: var(--size);
	animation-name: bunny-run;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

.easter-bunny-left {
	animation-name: bunny-run-left;
}

@keyframes bunny-run {
	from {
		transform: translateX(-80px);
	}

	to {
		transform: translateX(calc(100vw + 80px));
	}
}

@keyframes bunny-run-left {
	from {
		transform: translateX(calc(100vw + 80px));
	}

	to {
		transform: translateX(-80px);
	}
}

.easter-bunny-hop {
	animation: bunny-hop 0.7s infinite;
}

@keyframes bunny-hop {
	0%,
	20%,
	100% {
		translate: 0 0;
		animation-timing-function: cubic-bezier(0.3, 0.6, 0.5, 1);
	}

	55% {
		translate: 0 -30px;
		animation-timing-function: cubic-bezier(0.5, 0, 0.7, 0.4);
	}
}

.easter-bunny svg {
	--tilt: -10deg;
	display: block;
	width: 100%;
	fill: #f4efe9;
	filter: drop-shadow(0 0 6px rgba(240, 106, 168, 0.35));
	transform-origin: 50% 100%;
	animation: bunny-tilt 0.7s ease-in-out infinite;
}

.easter-bunny-left svg {
	--tilt: 10deg;
	transform: scaleX(-1);
}

.easter-bunny .bunny-ear {
	fill: #f7a8c9;
}

.easter-bunny .bunny-tail {
	fill: #fff;
}

.easter-bunny .bunny-eye {
	fill: #2a2230;
}

.easter-bunny .bunny-nose {
	fill: #f06aa8;
}

@keyframes bunny-tilt {
	0%,
	20%,
	100% {
		rotate: 0deg;
	}

	45% {
		rotate: var(--tilt);
	}

	75% {
		rotate: calc(var(--tilt) * -0.4);
	}
}

@media (prefers-reduced-motion: reduce) {
	.easter-meadow {
		display: none;
	}

	.easter-egg {
		animation: none;
	}
}
