/* =========================================================================
   VStanced — archive front-end
   Dark garage, condensed type, orange signal.
   ========================================================================= */

:root {
	--bg: #0a0a0b;
	--bg-deep: #070708;
	--panel: #121316;
	--panel-2: #17181b;
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.16);
	--text: #ecebe6;
	--muted: #9a9da3;
	--dim: #63666d;
	--accent: #ff4d1c;
	--accent-2: #ffc65c;
	--accent-soft: rgba(255, 77, 28, 0.12);
	--radius: 14px;
	--display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--head-h: 72px;
	--gutter: clamp(18px, 4vw, 44px);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background:
		radial-gradient(1100px 600px at 82% -10%, rgba(255, 77, 28, 0.09), transparent 62%),
		radial-gradient(900px 500px at 0% 30%, rgba(120, 90, 255, 0.035), transparent 60%),
		var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
	background: var(--accent);
	color: #120a05;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

button {
	font: inherit;
	color: inherit;
}

svg {
	display: block;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.container {
	width: min(1340px, 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.mono {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.muted {
	color: var(--muted);
}

.dim {
	color: var(--dim);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -60px;
	z-index: 200;
	background: var(--accent);
	color: #120a05;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 12px;
	color: #120a05;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------- header */

.site-head {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(10, 10, 11, 0.84);
	backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid var(--line);
}

.head-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--head-h);
}

.brand {
	display: flex;
	align-items: baseline;
	gap: 1px;
	font-family: var(--display);
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand:hover {
	color: var(--text);
}

.brand__slash {
	color: var(--accent);
	transform: translateY(1px);
}

.brand__tag {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.16em;
	color: var(--dim);
	margin-left: 8px;
	transform: translateY(-2px);
}

.nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: 8px;
}

.nav > a,
.nav > .nav-item > a {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 8px 0;
	transition: color 0.15s;
}

.nav > a:hover,
.nav > .nav-item > a:hover,
.nav > .current-menu-item > a,
.nav > a.is-active {
	color: var(--text);
}

.nav-item {
	position: relative;
}

.nav-item > a {
	display: flex;
	align-items: center;
	gap: 5px;
}

.nav-drop {
	position: absolute;
	top: calc(100% + 5px);
	left: -16px;
	min-width: 250px;
	padding: 10px;
	background: #101114;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: 0.16s ease;
}

.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-drop a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 9px 12px;
	border-radius: 7px;
	font-size: 13px;
	color: var(--muted);
}

.nav-drop a span {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--dim);
}

.nav-drop a:hover {
	background: var(--panel-2);
	color: var(--text);
}

.head-tools {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.head-search {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 38px;
	padding: 0 13px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--dim);
	width: 210px;
	transition: border-color 0.15s, width 0.2s, background 0.15s;
}

.head-search:focus-within {
	border-color: var(--line-2);
	width: 260px;
	background: rgba(255, 255, 255, 0.055);
}

.head-search input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	color: var(--text);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	outline: none;
}

.head-search input::placeholder {
	color: var(--dim);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.head-search kbd {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--dim);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 1px 5px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 18px;
	height: 40px;
	border: 1px solid var(--line-2);
	border-radius: 9px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
	background: transparent;
	cursor: pointer;
	transition: 0.15s ease;
	white-space: nowrap;
}

.btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn--accent {
	background: var(--accent);
	border-color: var(--accent);
	color: #140a05;
	font-weight: 600;
}

.btn--accent:hover {
	background: #ff6738;
	border-color: #ff6738;
	color: #140a05;
}

.btn--dark {
	background: #0c0d0f;
	border-color: var(--line);
}

.head-account {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: 2px;
}

.head-account a {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

.head-account a:hover {
	color: var(--text);
}

.head-account__join {
	padding: 6px 10px;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	color: var(--text) !important;
}

.head-account__join:hover {
	border-color: var(--accent);
	color: var(--accent) !important;
}

.menu-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid var(--line);
	border-radius: 8px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	color: var(--text);
}

.mobile-nav {
	display: none;
	border-top: 1px solid var(--line);
	padding: 10px 0 22px;
}

.mobile-nav.is-open {
	display: block;
}

.mobile-nav a {
	display: block;
	padding: 11px 2px;
	border-bottom: 1px solid var(--line);
	font-family: var(--display);
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mobile-nav .head-search {
	margin-top: 14px;
	width: 100%;
	height: 44px;
}

/* ------------------------------------------------------------------ hero */

.hero {
	position: relative;
	padding: clamp(48px, 7vw, 92px) 0 30px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
}

.hero h1 {
	margin: 0 0 22px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(58px, 9.2vw, 132px);
	line-height: 0.82;
	letter-spacing: -0.012em;
	text-transform: uppercase;
}

.hero h1 span {
	display: block;
}

.hero h1 .hollow {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(236, 235, 230, 0.52);
	text-stroke: 1.5px rgba(236, 235, 230, 0.34);
}

.hero h1 em {
	font-style: normal;
	color: var(--accent);
}

.hero__sub {
	max-width: 540px;
	margin: 0 0 30px;
	color: var(--muted);
	font-size: 16.5px;
	line-height: 1.62;
}

.hero__sub strong {
	color: var(--text);
	font-weight: 500;
}

.hero__counts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 22px;
}

.hero__count {
	background: #0e0f11;
	padding: 20px 20px 18px;
}

.hero__count b {
	display: block;
	font-family: var(--display);
	font-size: 40px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
}

.hero__count span {
	display: block;
	margin-top: 7px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
}

.hero__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px dashed var(--line-2);
	border-radius: 10px;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.hero__note .icon {
	color: var(--accent);
	margin-top: 2px;
}

.bigsearch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #101114;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	padding: 6px 6px 6px 18px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bigsearch:focus-within {
	border-color: rgba(255, 77, 28, 0.6);
	box-shadow: 0 0 0 4px rgba(255, 77, 28, 0.08);
}

.bigsearch .icon {
	color: var(--dim);
	width: 22px;
	height: 22px;
}

.bigsearch input {
	flex: 1;
	min-width: 0;
	height: 46px;
	background: none;
	border: 0;
	color: var(--text);
	font-size: 16px;
	outline: none;
}

.bigsearch input::placeholder {
	color: var(--dim);
}

.bigsearch button {
	height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	background: var(--accent);
	color: #140a05;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.bigsearch button:hover {
	background: #ff6738;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.chips__label {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
	margin-right: 4px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.04em;
	color: var(--muted);
	transition: 0.15s;
	white-space: nowrap;
}

a.chip:hover {
	border-color: var(--line-2);
	color: var(--text);
	background: var(--panel-2);
}

.chip b {
	font-weight: 400;
	color: var(--dim);
	font-size: 9.5px;
}

.chip--active {
	background: var(--accent);
	border-color: var(--accent);
	color: #140a05;
}

.chip--active b,
a.chip--active:hover {
	color: #140a05;
}

/* --------------------------------------------------------------- section */

.section {
	padding: clamp(38px, 5vw, 66px) 0 8px;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.section-head__left {
	display: flex;
	align-items: baseline;
	gap: 16px;
	min-width: 0;
}

.section-head .num {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--accent);
	padding-top: 4px;
}

.section-head h2 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: 0.005em;
	text-transform: uppercase;
}

.section-head p {
	margin: 8px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

.section-head__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

.section-head__link:hover {
	color: var(--accent);
}

.section-head__link .icon {
	width: 14px;
	height: 14px;
	transition: transform 0.15s;
}

.section-head__link:hover .icon {
	transform: translateX(3px);
}

/* ----------------------------------------------------------------- cards */

.mod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.mod-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	min-width: 0;
}

.card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card__cover {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background:
		radial-gradient(120% 100% at 15% 0%, hsl(var(--h, 14) 58% 26% / 0.95) 0%, hsl(var(--h, 14) 45% 13% / 0.85) 46%, #0b0c0e 100%);
	isolation: isolate;
}

.card__cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: repeating-linear-gradient(var(--a, 118deg), rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 15px);
	mix-blend-mode: screen;
}

.card__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(6, 6, 7, 0.86) 0%, rgba(6, 6, 7, 0.05) 45%, transparent 70%);
}

.card__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.cover__abbr {
	position: absolute;
	right: -8px;
	bottom: -26px;
	z-index: 2;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(72px, 7vw, 104px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.13);
	text-transform: uppercase;
	pointer-events: none;
}

.cover__game {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 23px;
	padding: 0 9px;
	border-radius: 5px;
	background: rgba(8, 8, 9, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
	font-family: var(--mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.86);
}

.cover__type {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	font-family: var(--mono);
	font-size: 8.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.52);
}

.cover__status {
	position: absolute;
	left: 12px;
	bottom: 11px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e7e4dd;
}

.cover__status .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #57d68a;
	box-shadow: 0 0 0 3px rgba(87, 214, 138, 0.16);
}

.cover__status--mirror .dot {
	background: var(--accent-2);
	box-shadow: 0 0 0 3px rgba(255, 198, 92, 0.14);
}

.cover__status--none .dot {
	background: #7c8088;
	box-shadow: none;
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 15px 15px;
	flex: 1;
}

.card__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.05;
	letter-spacing: 0.005em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.1em;
}

.card__title a:hover {
	color: var(--accent);
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 2px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.06em;
	color: var(--dim);
}

.card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.card__meta .icon {
	width: 12px;
	height: 12px;
}

.card__tags {
	display: flex;
	gap: 5px;
	overflow: hidden;
	min-height: 20px;
}

.card__tags .tag {
	font-size: 9px;
	padding: 3px 7px;
}

/* guide cards are quieter */
.card--guide .card__cover {
	aspect-ratio: 16 / 7;
	background:
		radial-gradient(110% 120% at 85% 0%, hsl(var(--h, 210) 60% 24% / 0.9), #0b0c0e 70%);
}

.card--guide .cover__abbr {
	font-size: 64px;
	bottom: -14px;
}

/* ------------------------------------------------------------ game tiles */

.game-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.game-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 146px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background:
		linear-gradient(145deg, hsl(var(--h, 14) 40% 16% / 0.9), #0e0f11 62%);
	transition: border-color 0.18s, transform 0.18s;
}

.game-tile:hover {
	border-color: rgba(255, 255, 255, 0.24);
	transform: translateY(-2px);
	color: var(--text);
}

.game-tile__abbr {
	position: absolute;
	right: 10px;
	top: -6px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 86px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.06);
	letter-spacing: -0.03em;
	pointer-events: none;
}

.game-tile__name {
	position: relative;
	z-index: 1;
	font-family: var(--display);
	font-size: 27px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	max-width: 78%;
}

.game-tile__foot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim);
}

.game-tile__foot .icon {
	width: 16px;
	height: 16px;
	color: var(--accent);
	transition: transform 0.18s;
}

.game-tile:hover .game-tile__foot .icon {
	transform: translate(2px, -2px);
}

.game-tile--wide {
	grid-column: span 2;
}

/* --------------------------------------------------------------- ranking */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.rank-list {
	border-top: 1px solid var(--line);
}

.rank {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 15px 6px;
	border-bottom: 1px solid var(--line);
	transition: background 0.15s;
}

.rank:hover {
	background: rgba(255, 255, 255, 0.018);
}

.rank__n {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--dim);
}

.rank__title {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank__sub {
	margin-top: 3px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.06em;
	color: var(--dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank__stat {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--muted);
	white-space: nowrap;
	text-align: right;
}

.rank__stat b {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}

/* tag cloud */
.tagbox {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.028), transparent 55%), var(--panel);
}

.tagbox h3 {
	margin: 0 0 4px;
	font-family: var(--display);
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.tagbox p {
	margin: 0 0 18px;
	font-size: 12.5px;
	color: var(--muted);
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border: 1px solid var(--line);
	border-radius: 5px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.03em;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.025);
	transition: 0.15s;
	white-space: nowrap;
}

a.tag:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-soft);
}

.tag--lg {
	font-size: 12px;
	padding: 6px 11px;
	color: var(--text);
	border-color: var(--line-2);
}

.tag--xl {
	font-size: 14px;
	padding: 7px 13px;
	color: var(--text);
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.045);
}

.tag--sm {
	font-size: 9.5px;
	padding: 3px 7px;
	color: var(--dim);
}

/* ------------------------------------------------------------- tag index */

.tag-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 64px;
	padding: 10px 0 70px;
}

.tag-group {
	padding: 22px 0 26px;
	border-top: 1px solid var(--line);
}

.tag-letter {
	margin: 0 0 14px;
	font-family: var(--display);
	font-size: 44px;
	font-weight: 600;
	line-height: 0.9;
	color: var(--accent);
}

.tag span {
	margin-left: 3px;
	font-family: var(--mono);
	font-size: 8.5px;
	color: var(--dim);
}

a.tag:hover span {
	color: var(--accent);
}

/* --------------------------------------------------------------- threads */

.thread-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.thread {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.15s, transform 0.18s;
}

.thread:hover {
	border-color: var(--line-2);
	transform: translateY(-2px);
	color: var(--text);
}

.thread__sec {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.thread__title {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.thread__meta {
	display: flex;
	gap: 14px;
	margin-top: auto;
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.thread__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* --------------------------------------------------------------- archive */

.page-head {
	padding: clamp(34px, 5vw, 60px) 0 26px;
	border-bottom: 1px solid var(--line);
}

.crumbs {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 20px;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 7px;
	color: #3d4046;
}

.crumbs a:hover {
	color: var(--text);
}

.page-head h1 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(42px, 6vw, 72px);
	font-weight: 600;
	line-height: 0.92;
	text-transform: uppercase;
	letter-spacing: 0.003em;
}

.page-head__sub {
	max-width: 720px;
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 15px;
}

.page-head__count {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 14px;
	font-family: var(--mono);
	font-size: 10px;
	color: var(--dim);
	letter-spacing: 0.08em;
	vertical-align: middle;
}

.archive-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	margin-bottom: 26px;
}

.archive-bar__left {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--dim);
	text-transform: uppercase;
}

.archive-bar__left b {
	color: var(--text);
	font-weight: 500;
}

.sort {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sort label {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim);
}

.sort select {
	height: 36px;
	padding: 0 30px 0 12px;
	background: #111215;
	border: 1px solid var(--line);
	border-radius: 7px;
	color: var(--text);
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.archive-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
	padding-bottom: 60px;
}

.filters {
	position: sticky;
	top: calc(var(--head-h) + 20px);
	max-height: calc(100vh - var(--head-h) - 40px);
	overflow-y: auto;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	overflow: hidden;
}

.filter-group {
	border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
	border-bottom: 0;
}

.filter-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.filter-group summary::-webkit-details-marker {
	display: none;
}

.filter-group summary:hover {
	color: var(--text);
}

.filter-group summary .icon {
	width: 13px;
	height: 13px;
	transition: transform 0.18s;
}

.filter-group[open] summary .icon {
	transform: rotate(180deg);
}

.filter-list {
	display: flex;
	flex-direction: column;
	padding: 0 8px 12px;
}

.filter-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 6px;
	font-size: 12.5px;
	color: var(--muted);
}

.filter-list a span {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.filter-list a:hover {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
}

.filter-list a.is-active {
	background: var(--accent-soft);
	color: var(--accent);
}

.filter-list a.is-active span {
	color: var(--accent);
}

.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 0 14px 14px;
}

.filter-reset {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 13px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim);
}

.filter-reset:hover {
	color: var(--accent);
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
}

.active-filters .chips__label {
	margin-right: 2px;
}

.empty {
	padding: 60px 20px;
	text-align: center;
	border: 1px dashed var(--line-2);
	border-radius: var(--radius);
}

.empty h3 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: 30px;
	text-transform: uppercase;
}

.empty p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

/* ------------------------------------------------------------ single mod */

.mod-hero {
	padding: clamp(26px, 4vw, 46px) 0 30px;
}

.mod-hero__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.mod-hero h1 {
	margin: 0 0 14px;
	font-family: var(--display);
	font-size: clamp(38px, 5.4vw, 68px);
	font-weight: 600;
	line-height: 0.93;
	letter-spacing: 0.002em;
	text-transform: uppercase;
	max-width: 1000px;
}

.mod-hero__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--dim);
}

.mod-hero__byline > span,
.topic-head__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.mod-hero__byline b {
	color: var(--text);
	font-weight: 500;
}

.mod-hero__byline .dot-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--dim);
}

.mod-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 372px;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
	padding-bottom: 72px;
}

.mod-visual {
	position: relative;
	aspect-ratio: 16 / 8.4;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 26px;
	background:
		radial-gradient(120% 110% at 18% 0%, hsl(var(--h, 14) 58% 25% / 0.95), hsl(var(--h, 14) 40% 11% / 0.9) 52%, #0b0c0e 100%);
}

.mod-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(var(--a, 118deg), rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
	mix-blend-mode: screen;
}

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

.mod-visual__abbr {
	position: absolute;
	right: 20px;
	bottom: -14px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(110px, 15vw, 210px);
	line-height: 0.8;
	color: rgba(255, 255, 255, 0.09);
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.mod-visual__label {
	position: absolute;
	left: 20px;
	bottom: 18px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.download-card {
	position: sticky;
	top: calc(var(--head-h) + 20px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	background: linear-gradient(180deg, #17181c 0%, #111215 100%);
	border: 1px solid var(--line-2);
	border-radius: 16px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.download-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.download-card__head .mono {
	color: var(--dim);
}

.download-card__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #73e0a1;
}

.download-card__status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #57d68a;
	box-shadow: 0 0 0 3px rgba(87, 214, 138, 0.14);
}

.download-card__status--mirror {
	color: var(--accent-2);
}

.download-card__status--mirror::before {
	background: var(--accent-2);
	box-shadow: 0 0 0 3px rgba(255, 198, 92, 0.14);
}

.download-card__status--none {
	color: var(--dim);
}

.download-card__status--none::before {
	background: var(--dim);
	box-shadow: none;
}

.download-card__file {
	font-family: var(--display);
	font-size: 27px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	word-break: break-word;
}

.download-card__file small {
	display: block;
	margin-top: 6px;
	font-family: var(--mono);
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--dim);
	text-transform: uppercase;
}

.btn-dl {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	border-radius: 9px;
	background: var(--accent);
	color: #140a05;
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.15s, transform 0.15s;
}

.btn-dl:hover {
	background: #ff6738;
	color: #140a05;
	transform: translateY(-1px);
}

.btn-dl .icon {
	width: 19px;
	height: 19px;
}

.btn-dl--alt {
	background: transparent;
	border: 1px solid var(--line-2);
	color: var(--text);
}

.btn-dl--alt:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--line-2);
	color: var(--text);
}

.download-card__note {
	display: flex;
	gap: 9px;
	padding: 11px 12px;
	border: 1px solid rgba(255, 198, 92, 0.22);
	background: rgba(255, 198, 92, 0.06);
	border-radius: 8px;
	font-size: 11.5px;
	line-height: 1.45;
	color: #d8c7a2;
}

.download-card__note .icon {
	width: 15px;
	height: 15px;
	color: var(--accent-2);
	margin-top: 1px;
}

.meta-table {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
}

.meta-row .k {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim);
}

.meta-row .v {
	color: var(--text);
	text-align: right;
}

.meta-row .v a {
	border-bottom: 1px solid var(--line-2);
}

.meta-row .v a:hover {
	border-color: var(--accent);
}

.download-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.download-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 4px;
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.download-card__foot a:hover {
	color: var(--accent);
}

.prose {
	font-size: 15.5px;
	line-height: 1.72;
	color: #d4d2cc;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
	margin: 1.7em 0 0.55em;
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--text);
}

.prose h2 {
	font-size: 30px;
}

.prose h3 {
	font-size: 24px;
}

.prose h4 {
	font-size: 20px;
}

.prose p {
	margin: 0 0 1.05em;
}

.prose a {
	color: var(--accent-2);
	border-bottom: 1px solid rgba(255, 198, 92, 0.3);
}

.prose a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.prose ul,
.prose ol {
	margin: 0 0 1.15em;
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: 0.35em;
}

.prose img {
	max-width: 100%;
	border-radius: 8px;
	margin: 12px 0;
}

.prose blockquote {
	margin: 1.2em 0;
	padding: 12px 18px;
	border-left: 2px solid var(--accent);
	background: rgba(255, 255, 255, 0.025);
	color: var(--muted);
}

.prose code {
	font-family: var(--mono);
	font-size: 0.86em;
	background: rgba(255, 255, 255, 0.06);
	padding: 2px 5px;
	border-radius: 4px;
}

.prose iframe,
.prose video {
	max-width: 100%;
	border-radius: 8px;
}

.dead-img {
	display: none !important;
}

.img-missing {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 9px 12px;
	border: 1px dashed var(--line-2);
	border-radius: 7px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
}

/* --------------------------------------------------------------- comments */
/* comments form + link reports */
.talk__form {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.talk__form h3 {
	margin: 0 0 12px;
	font-family: var(--display);
	font-size: 26px;
	font-weight: 600;
	text-transform: uppercase;
}

.talk__hint {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: var(--muted);
}

.talk__hint a {
	color: var(--accent-2);
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.report-box textarea {
	width: 100%;
	padding: 11px 12px;
	background: #0c0d0f;
	border: 1px solid var(--line);
	border-radius: 7px;
	color: var(--text);
	font-family: var(--body);
	font-size: 14px;
	outline: none;
}

.comment-form textarea,
.report-box textarea {
	resize: vertical;
	min-height: 110px;
}

.comment-form input:focus,
.comment-form textarea:focus,
.report-box textarea:focus {
	border-color: rgba(255, 77, 28, 0.6);
}

.comment-form .form-submit {
	margin-top: 4px;
}

.report-box {
	margin-left: auto;
	text-align: right;
}

.report-box summary {
	list-style: none;
	cursor: pointer;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.report-box summary::-webkit-details-marker {
	display: none;
}

.report-box summary:hover {
	color: var(--accent);
}

.report-box form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
	text-align: left;
}

.report-box label {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}

.report-box .btn {
	align-self: flex-start;
}


.talk {
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.talk__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.talk__head h2 {
	margin: 0;
	font-family: var(--display);
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
}

.talk__head span {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dim);
}

.talk__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.talk__item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.talk__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(150deg, #33363d, #1b1c21);
	border: 1px solid var(--line-2);
	font-family: var(--mono);
	font-size: 10px;
	color: #c9c7c1;
}

.talk__head-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
}

.talk__author {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
}

.talk__date {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.talk__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.talk__text p {
	margin: 0 0 0.6em;
}

.talk__text img {
	max-width: 100%;
	border-radius: 6px;
}

.talk__text a {
	color: var(--accent-2);
}

.talk__note {
	font-size: 12.5px;
	color: var(--dim);
	padding: 14px 16px;
	border: 1px dashed var(--line);
	border-radius: 8px;
	margin-top: 16px;
}

/* ------------------------------------------------------------------ forum */

.forum-hero {
	padding: clamp(34px, 5vw, 60px) 0 28px;
}

.forum-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	padding-bottom: 64px;
}

.forum-nav {
	position: sticky;
	top: calc(var(--head-h) + 20px);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--panel);
}

.forum-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--muted);
}

.forum-nav a:last-child {
	border: 0;
}

.forum-nav a span {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

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

.forum-list {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--panel);
}

.forum-list__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px 90px;
	gap: 16px;
	padding: 10px 18px;
	background: #0e0f11;
	border-bottom: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 8.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim);
}

.forum-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px 90px;
	gap: 16px;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	transition: background 0.15s;
}

.forum-row:last-child {
	border-bottom: 0;
}

.forum-row:hover {
	background: rgba(255, 255, 255, 0.025);
}

.forum-row__title {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
}

.forum-row__sub {
	margin-top: 4px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.04em;
	color: var(--dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.forum-row__num {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--muted);
	text-align: right;
}

.forum-row__num b {
	display: block;
	font-weight: 500;
	color: var(--text);
}

.topic-head {
	padding: clamp(30px, 4.5vw, 52px) 0 24px;
	border-bottom: 1px solid var(--line);
}

.topic-head h1 {
	margin: 10px 0 12px;
	font-family: var(--display);
	font-size: clamp(32px, 4.4vw, 52px);
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.topic-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-family: var(--mono);
	font-size: 9.5px;
	color: var(--dim);
}

.topic-head__meta .icon {
	width: 12px;
	height: 12px;
}

.topic-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 920px;
	padding: 30px 0 70px;
}

.first-post {
	padding: 22px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--panel);
	margin-bottom: 10px;
}

.first-post__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	font-family: var(--mono);
	font-size: 10px;
	color: var(--dim);
}

.first-post__head b {
	color: var(--text);
	font-weight: 500;
}

/* ----------------------------------------------------------------- search */

.search-head {
	padding: clamp(34px, 5vw, 58px) 0 22px;
}

.search-head h1 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: clamp(38px, 5.4vw, 64px);
	font-weight: 600;
	line-height: 0.95;
	text-transform: uppercase;
}

.search-head p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.search-group {
	margin-bottom: 40px;
}

.search-group__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.search-group__head h2 {
	margin: 0;
	font-family: var(--display);
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
}

.search-group__head span {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.search-hit {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 13px 2px;
	border-bottom: 1px solid var(--line);
}

.search-hit__n {
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.search-hit__title {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
}

.search-hit__sub {
	margin-top: 3px;
	font-family: var(--mono);
	font-size: 9px;
	color: var(--dim);
}

.search-hit__type {
	font-family: var(--mono);
	font-size: 8.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 3px 7px;
	white-space: nowrap;
}

/* -------------------------------------------------------------- pagination */

.pager {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 34px;
}

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 7px;
	font-family: var(--mono);
	font-size: 10px;
	color: var(--muted);
	transition: 0.15s;
}

.pager .page-numbers:hover {
	border-color: var(--line-2);
	color: var(--text);
}

.pager .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: #140a05;
}

.pager .page-numbers.dots {
	border-color: transparent;
}

/* ------------------------------------------------------------------ footer */

.site-foot {
	margin-top: 60px;
	padding: 46px 0 34px;
	background: var(--bg-deep);
	border-top: 1px solid var(--line);
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.9fr);
	gap: 40px;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--line);
}

.foot-brand {
	font-family: var(--display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1;
}

.foot-brand span {
	color: var(--accent);
}

.foot-blurb {
	max-width: 420px;
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--muted);
}

.foot-title {
	margin: 0 0 12px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
}

.foot-links {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.foot-links a {
	font-size: 13px;
	color: var(--muted);
}

.foot-links a:hover {
	color: var(--text);
}

.foot-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.06em;
	color: var(--dim);
}

.foot-bottom p {
	margin: 0;
}

/* ------------------------------------------------------------------- misc */

.notice {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.notice .icon {
	color: var(--accent);
	margin-top: 1px;
}

.page-content {
	padding: 40px 0 70px;
	max-width: 860px;
}

.page-content h1 {
	font-family: var(--display);
	font-size: clamp(38px, 5vw, 62px);
	line-height: 0.95;
	text-transform: uppercase;
	margin: 0 0 18px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
	.mod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
	}
}

@media (max-width: 1000px) {
	.nav {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.head-search {
		width: 180px;
	}

	.head-search:focus-within {
		width: 220px;
	}

	.mod-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero__counts {
		grid-template-columns: repeat(4, 1fr);
	}

	.split {
		grid-template-columns: 1fr;
	}

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

	.thread-strip {
		grid-template-columns: 1fr;
	}

	.forum-layout {
		grid-template-columns: 1fr;
	}

	.forum-nav {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.forum-nav a {
		border-bottom: 0;
		border-right: 1px solid var(--line);
	}
}

@media (max-width: 860px) {
	.mod-layout {
		grid-template-columns: 1fr;
	}

	.tag-index {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.download-card {
		position: static;
	}

	.mod-layout > aside {
		order: -1;
	}

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

	.archive-layout {
		grid-template-columns: 1fr;
	}

	.filters {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.filter-group {
		flex: 1 1 100%;
		border-bottom: 1px solid var(--line);
		border-right: 0;
	}

	.filters {
		margin-bottom: 6px;
	}

	.foot-grid {
		grid-template-columns: 1fr 1fr;
	}

	.head-search kbd {
		display: none;
	}
}

@media (max-width: 640px) {
	.mod-hero__byline {
		gap: 7px 14px;
	}

	.mod-hero__byline .dot-sep {
		display: none;
	}

	:root {
		--head-h: 62px;
	}

	.brand {
		font-size: 23px;
	}

	.brand__tag {
		display: none;
	}

	.head-inner {
		gap: 14px;
	}

	.head-search {
		display: none;
	}

	.mobile-nav .head-search {
		display: flex;
	}

	.hero h1 {
		font-size: clamp(48px, 15vw, 72px);
	}

	.hero__sub {
		font-size: 15px;
	}

	.hero__counts {
		grid-template-columns: repeat(2, 1fr);
	}

	.bigsearch {
		flex-wrap: wrap;
		padding: 10px;
	}

	.bigsearch .icon {
		display: none;
	}

	.bigsearch input {
		flex: 1 1 100%;
		height: 40px;
		padding: 0 4px;
	}

	.bigsearch button {
		width: 100%;
	}

	.mod-grid,
	.mod-grid--3 {
		grid-template-columns: 1fr;
	}

	.game-grid {
		grid-template-columns: 1fr;
	}

	.game-tile--wide {
		grid-column: auto;
	}

	.section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.section-head__left {
		gap: 10px;
	}

	.rank {
		grid-template-columns: 30px minmax(0, 1fr) auto;
		gap: 10px;
	}

	.rank__title {
		font-size: 17px;
	}

	.forum-list__head,
	.forum-row {
		grid-template-columns: minmax(0, 1fr) 58px;
	}

	.forum-list__head div:last-child,
	.forum-row__num:last-child {
		display: none;
	}

	.foot-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.pager .page-numbers {
		min-width: 32px;
		height: 32px;
	}

	.mod-visual {
		aspect-ratio: 4 / 3;
	}

	.search-hit {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.search-hit__type {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * YouTube facade: thumbnail first, player only on click
 * ---------------------------------------------------------------------- */
#wpforo #wpforo-wrap .vs-yt,
.prose .vs-yt,
.talk__text .vs-yt {
	position: relative;
	margin: 14px 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	max-width: 720px;
}

.vs-yt::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.vs-yt__link {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff !important;
	text-decoration: none;
}

.vs-yt__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity 0.2s ease, transform 0.3s ease;
}

.vs-yt__link:hover .vs-yt__thumb {
	opacity: 1;
	transform: scale(1.02);
}

.vs-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 76px;
	height: 54px;
	padding-left: 4px;
	border-radius: 14px;
	background: var(--accent);
	border: 0;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 1;
	pointer-events: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	transition: transform 0.2s ease, background 0.2s ease;
}

.vs-yt__play::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin-left: 5px;
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}

.vs-yt__link:hover .vs-yt__play {
	transform: translate(-50%, -50%) scale(1.06);
	background: #ff6436;
}

.vs-yt__label {
	position: absolute;
	left: 12px;
	bottom: 10px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	pointer-events: none;
}

.vs-yt iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vs-yt-link {
	margin: 10px 0;
}

.vs-yt-link a {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-2);
}

/* Account deletion — GDPR right to erasure. */
.vs-danger {
	margin: 26px 0 0;
	padding: 20px 22px;
	border: 1px solid rgba(255, 77, 28, 0.35);
	background: rgba(255, 77, 28, 0.05);
	border-radius: var(--radius);
	max-width: 640px;
}

.vs-danger h3 {
	margin: 0 0 8px;
	font-family: var(--display);
	font-size: 20px;
	letter-spacing: 0.02em;
}

.vs-danger p {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.65;
}

.vs-danger__msg {
	color: #ff8b6b !important;
	font-weight: 500;
}

.vs-danger form {
	display: grid;
	gap: 12px;
	max-width: 360px;
}

.vs-danger__field {
	display: grid;
	gap: 6px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.vs-danger__field input {
	padding: 10px 12px;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: var(--bg-deep);
	color: var(--text);
	font: 400 14px/1.2 var(--body);
}

.vs-danger__field input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
}

.vs-danger__check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
	cursor: pointer;
}

.vs-danger__check input {
	margin-top: 3px;
	accent-color: var(--accent);
}

.vs-danger__button {
	justify-self: start;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	font: 600 13px/1 var(--body);
	letter-spacing: 0.02em;
	cursor: pointer;
}

.vs-danger__button:hover {
	filter: brightness(1.1);
}
