/* VictoriaPark homepage portal and light forum polish. */
:root {
	--vpark-portal-bg: #f7f8fa;
	--vpark-portal-panel: #ffffff;
	--vpark-portal-ink: #1f2937;
	--vpark-portal-muted: #6b7280;
	--vpark-portal-soft: #f9fafb;
	--vpark-portal-line: #e5e7eb;
	--vpark-portal-line-strong: #d1d5db;
	--vpark-portal-accent: #245b9f;
	--vpark-portal-accent-dark: #173d72;
	--vpark-portal-radius: 14px;
	--vpark-portal-radius-lg: 16px;
	--vpark-portal-shadow: 0 14px 34px rgba(31, 41, 55, 0.07);
	--vpark-portal-shadow-soft: 0 8px 20px rgba(31, 41, 55, 0.045);
}

body#phpbb {
	background: var(--vpark-portal-bg);
	color: var(--vpark-portal-ink);
}

body#phpbb #wrap {
	max-width: 1320px;
	border: 0;
	background: transparent;
}

body#phpbb #page-body {
	padding-top: 0;
}

body#phpbb.section-index #page-body {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 18px 34px;
}

body#phpbb #site-description h1,
.vpark-header-forum-compact__item,
.vpark-sponsored-strip,
.vpark-breaking-news,
.vpark-portal-shell {
	letter-spacing: 0;
}

body#phpbb.section-index #page-header .headerbar > .inner {
	grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
	grid-template-areas: "brand center";
	align-items: center;
}

body#phpbb.section-index .vpark-header-center {
	align-self: center;
}

body#phpbb.section-index .vpark-header-forum-compact {
	max-width: none;
	gap: 7px;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	line-height: 1.2;
}

/* Homepage owns its portal layout; keep phpBB's forum table off this page only. */
body#phpbb.section-index .forabg,
body#phpbb.section-index .vpark-forum-panel,
body#phpbb.section-index .vpark-home-ad-slot,
body#phpbb.section-index .vpark-home-news {
	display: none !important;
}

.vpark-sponsored-strip {
	margin: 0 0 12px;
	min-height: 64px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 18px;
	border: 1px solid var(--vpark-portal-line);
	border-radius: var(--vpark-portal-radius);
	background: var(--vpark-portal-soft);
	color: var(--vpark-portal-ink);
	box-shadow: none;
}

.vpark-sponsored-strip__label {
	flex: 0 0 auto;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef2ff;
	color: var(--vpark-portal-accent-dark);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.vpark-sponsored-strip__copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.vpark-sponsored-strip__copy strong {
	font-size: 15px;
	line-height: 1.3;
}

.vpark-sponsored-strip__copy span {
	color: var(--vpark-portal-muted);
	font-size: 12px;
	line-height: 1.4;
}

.vpark-sponsored-strip__image-link,
.vpark-sponsored-strip__image {
	display: block;
	width: 100%;
}

.vpark-sponsored-strip__image {
	max-height: 110px;
	object-fit: cover;
	border-radius: 10px;
}

.vpark-breaking-news {
	--vpark-ticker-duration: 150s;
	margin: 0 0 24px;
	min-height: 42px;
	display: flex;
	align-items: stretch;
	border: 1px solid var(--vpark-portal-line);
	border-radius: var(--vpark-portal-radius);
	background: var(--vpark-portal-panel);
	box-shadow: none;
	overflow: hidden;
}

.vpark-breaking-news__label {
	flex: 0 0 auto;
	min-width: 118px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 14px;
	background: var(--vpark-portal-accent-dark);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.vpark-breaking-news__viewport {
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.vpark-breaking-news__track {
	display: flex;
	align-items: center;
	min-width: max-content;
	animation: vpark-breaking-scroll var(--vpark-ticker-duration) linear infinite;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.vpark-breaking-news:hover .vpark-breaking-news__track {
	animation-play-state: paused;
}

.vpark-breaking-news__loop {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 26px 0 16px;
}

.vpark-breaking-news__item {
	display: inline-block;
	color: var(--vpark-portal-accent-dark);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.vpark-breaking-news__item:hover {
	color: var(--vpark-portal-accent);
	text-decoration: none;
}

.vpark-breaking-news__sep {
	color: var(--vpark-portal-line-strong);
}

@keyframes vpark-breaking-scroll {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

.vpark-portal-shell {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.vpark-portal-lead,
.vpark-portal-section,
.vpark-discussion-section {
	min-width: 0;
}

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

.vpark-portal-section-head--compact {
	margin-bottom: 12px;
}

.vpark-portal-section-head h2 {
	margin: 0;
	color: var(--vpark-portal-ink);
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: 0;
}

.vpark-portal-section-head a {
	flex: 0 0 auto;
	color: var(--vpark-portal-accent);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.vpark-portal-section-head a:hover {
	color: var(--vpark-portal-accent-dark);
	text-decoration: none;
}

.vpark-section-kicker,
.vpark-story-kicker {
	color: var(--vpark-portal-accent);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vpark-section-kicker {
	margin-bottom: 5px;
}

.vpark-story-kicker {
	margin: 0 0 8px;
}

.vpark-portal-hero,
.vpark-story-card,
.vpark-discussion-card {
	background: var(--vpark-portal-panel);
	border: 1px solid var(--vpark-portal-line);
	border-radius: var(--vpark-portal-radius-lg);
	box-shadow: var(--vpark-portal-shadow-soft);
}

.vpark-portal-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
	overflow: hidden;
	box-shadow: var(--vpark-portal-shadow);
}

.vpark-portal-hero__image,
.vpark-story-card__image {
	display: block;
	background: #eef2f7;
	overflow: hidden;
}

.vpark-portal-hero__image {
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.vpark-story-card__image {
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid var(--vpark-portal-line);
}

.vpark-portal-hero__image img,
.vpark-story-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.22s ease;
}

.vpark-portal-hero__image:hover img,
.vpark-story-card__image:hover img {
	transform: scale(1.02);
}

.vpark-portal-hero__body {
	align-self: center;
	padding: 26px 28px;
	min-width: 0;
}

.vpark-portal-hero h2,
.vpark-story-card h3,
.vpark-discussion-card h3 {
	margin: 0;
	color: var(--vpark-portal-ink);
	letter-spacing: 0;
}

.vpark-portal-hero h2 {
	font-size: 32px;
	line-height: 1.12;
}

.vpark-story-card h3 {
	font-size: 17px;
	line-height: 1.3;
}

.vpark-discussion-card h3 {
	font-size: 16px;
	line-height: 1.3;
}

.vpark-portal-hero h2 a,
.vpark-story-card h3 a,
.vpark-discussion-card h3 a {
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.vpark-portal-hero h2 a:hover,
.vpark-story-card h3 a:hover,
.vpark-discussion-card h3 a:hover {
	color: var(--vpark-portal-accent);
	text-decoration: none;
}

.vpark-portal-hero p,
.vpark-story-card p,
.vpark-discussion-card p {
	margin: 10px 0 0;
	color: #4b5563;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.vpark-portal-hero p {
	font-size: 15px;
}

.vpark-story-card p,
.vpark-discussion-card p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
}

.vpark-story-card p {
	-webkit-line-clamp: 3;
}

.vpark-discussion-card p {
	-webkit-line-clamp: 2;
}

.vpark-story-meta,
.vpark-topic-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	color: var(--vpark-portal-muted);
	font-size: 12px;
	line-height: 1.35;
}

.vpark-story-meta span,
.vpark-topic-card__meta span {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.vpark-story-meta span + span::before,
.vpark-topic-card__meta span + span::before {
	content: "";
	width: 3px;
	height: 3px;
	margin-right: 8px;
	border-radius: 50%;
	background: #9ca3af;
}

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

.vpark-story-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.vpark-story-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 16px 16px;
	min-width: 0;
}

.vpark-discussion-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.vpark-discussion-card {
	padding: 15px 16px;
	min-width: 0;
	box-shadow: none;
}

/* Gentle forum-page polish only: keep phpBB structures native and readable. */
body#phpbb:not(.section-index) .forabg,
body#phpbb:not(.section-index) .forumbg {
	border-radius: var(--vpark-portal-radius);
	border: 1px solid var(--vpark-portal-line);
	box-shadow: none;
	overflow: hidden;
}

body#phpbb:not(.section-index) ul.topiclist li.row {
	line-height: 1.45;
}

.vpark-topic-card__excerpt {
	margin-top: 7px;
	max-width: 68ch;
	color: #526076;
	font-size: 12px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vpark-topic-card__meta {
	margin-top: 7px;
}

@media (prefers-reduced-motion: reduce) {
	.vpark-breaking-news__track,
	.vpark-portal-hero__image img,
	.vpark-story-card__image img {
		animation: none;
		transition: none;
	}
}

@media (max-width: 1080px) {
	body#phpbb.section-index #page-header .headerbar > .inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"center";
	}

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

	.vpark-portal-hero__body {
		padding: 22px 24px 24px;
	}

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

@media (max-width: 760px) {
	body#phpbb #wrap {
		margin: 0;
	}

	body#phpbb.section-index #page-body {
		padding-right: 12px;
		padding-left: 12px;
	}

	.vpark-sponsored-strip {
		display: block;
		padding: 12px 14px;
	}

	.vpark-sponsored-strip__copy {
		margin-top: 8px;
	}

	.vpark-breaking-news {
		display: block;
	}

	.vpark-breaking-news__label {
		min-width: 0;
		min-height: 34px;
	}

	.vpark-breaking-news__viewport {
		min-height: 38px;
	}

	.vpark-portal-shell {
		gap: 24px;
	}

	.vpark-portal-section-head {
		align-items: flex-start;
	}

	.vpark-portal-section-head h2 {
		font-size: 21px;
	}

	.vpark-portal-hero h2 {
		font-size: 24px;
		line-height: 1.18;
	}

	.vpark-portal-hero__body {
		padding: 18px;
	}

	.vpark-secondary-grid,
	.vpark-discussion-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpark-portal-hero h2 {
		font-size: 22px;
	}

	.vpark-story-card__body,
	.vpark-discussion-card {
		padding: 13px;
	}

	.vpark-story-card h3,
	.vpark-discussion-card h3 {
		font-size: 15px;
	}
}

/* Homepage visual polish layer. Keep phpBB forum pages structurally native. */
body#phpbb.section-index {
	font-family: "Noto Sans SC", "Inter", Arial, sans-serif;
}

body#phpbb.section-index #wrap {
	max-width: 1280px;
}

body#phpbb.section-index #page-header .headerbar {
	margin: 0 0 10px;
	padding: 9px 14px;
	border: 0;
	border-radius: 0 0 18px 18px;
	background: linear-gradient(180deg, #2565a8 0%, #1d518f 100%);
	box-shadow: 0 10px 28px rgba(23, 61, 114, 0.16);
}

body#phpbb.section-index #page-header .headerbar > .inner {
	gap: 12px;
}

body#phpbb.section-index #site-description {
	min-height: 0;
	padding: 7px 11px;
	grid-template-columns: 56px minmax(0, 1fr);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.09);
	box-shadow: none;
}

body#phpbb.section-index #site-description .logo {
	width: 56px;
	min-height: 50px;
	border-radius: 12px;
}

body#phpbb.section-index #site-description .site_logo {
	width: 44px;
	height: 44px;
	background-size: 44px 44px;
}

body#phpbb.section-index #site-description h1 {
	font-size: 1.45em;
	font-weight: 700;
	line-height: 1.05;
	text-align: left;
	justify-self: start;
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	font-size: 11px;
	line-height: 1.3;
	text-align: left;
}

body#phpbb.section-index .vpark-header-forum-compact {
	gap: 6px;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-height: 31px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.26);
	transform: none;
}

body#phpbb.section-index #page-header .navbar {
	margin: 0 0 14px;
	padding: 7px 12px;
	border: 1px solid var(--vpark-portal-line);
	border-radius: var(--vpark-portal-radius);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--vpark-portal-shadow-soft);
}

body#phpbb.section-index #page-header .navbar .inner {
	min-height: 34px;
}

body#phpbb.section-index #nav-main,
body#phpbb.section-index #nav-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
}

body#phpbb.section-index #page-header .navbar a {
	color: #374151;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"],
body#phpbb.section-index .vpark-nav-quick-login__form input {
	height: 34px;
	border-color: #d9dee7;
	background: #ffffff;
	color: var(--vpark-portal-ink);
	line-height: 34px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"]:focus,
body#phpbb.section-index .vpark-nav-quick-login__form input:focus {
	border-color: #9bb9df;
	box-shadow: 0 0 0 3px rgba(36, 91, 159, 0.1);
}

body#phpbb.section-index .vpark-nav-search-form button,
body#phpbb.section-index .vpark-nav-search-adv,
body#phpbb.section-index .vpark-nav-quick-login__form button {
	height: 34px;
	border-color: #d9dee7;
	background: #f8fafc;
	color: #334155;
	box-shadow: none;
	line-height: 34px;
}

body#phpbb.section-index .vpark-nav-search-form button:hover,
body#phpbb.section-index .vpark-nav-search-adv:hover,
body#phpbb.section-index .vpark-nav-quick-login__form button:hover {
	border-color: #b7c3d3;
	background: #eef3f8;
	color: var(--vpark-portal-accent-dark);
}

.vpark-sponsored-strip {
	min-height: 58px;
	padding: 10px 16px;
	border-style: solid;
	background: #fbfcfd;
	box-shadow: none;
}

.vpark-sponsored-strip__label {
	background: #f1f5f9;
	color: #475569;
	font-size: 10px;
	font-weight: 700;
	text-transform: none;
}

.vpark-sponsored-strip__copy strong {
	font-size: 14px;
	font-weight: 700;
}

.vpark-sponsored-strip__copy span {
	font-size: 12px;
	color: #7a8494;
}

.vpark-breaking-news {
	min-height: 44px;
	margin-bottom: 26px;
	border-color: #dde3ea;
	background: #ffffff;
}

.vpark-breaking-news__label {
	min-width: 126px;
	padding: 10px 16px;
	background: #eef4fb;
	color: var(--vpark-portal-accent-dark);
	font-size: 12px;
	font-weight: 700;
}

.vpark-breaking-news__viewport {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), #ffffff 20%, #ffffff 80%, rgba(255, 255, 255, 0.94));
}

.vpark-breaking-news__item {
	color: #334155;
	font-size: 13px;
	font-weight: 500;
}

.vpark-portal-shell {
	gap: 30px;
}

.vpark-portal-section-head {
	margin-bottom: 16px;
	padding-bottom: 12px;
}

.vpark-portal-section-head h2 {
	font-size: 23px;
	font-weight: 700;
	color: #111827;
}

.vpark-section-kicker,
.vpark-story-kicker {
	color: var(--vpark-portal-accent);
	font-size: 11px;
	font-weight: 700;
	text-transform: none;
}

.vpark-portal-hero,
.vpark-story-card,
.vpark-discussion-card {
	border-color: #e6eaf0;
	box-shadow: var(--vpark-portal-shadow-soft);
}

.vpark-portal-hero {
	grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.78fr);
	box-shadow: var(--vpark-portal-shadow);
}

.vpark-portal-hero__image {
	aspect-ratio: 16 / 9;
	background: #eef3f7;
}

.vpark-portal-hero__body {
	padding: 25px 28px;
}

.vpark-portal-hero h2 {
	font-size: 30px;
	line-height: 1.16;
}

.vpark-portal-hero p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-top: 12px;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.68;
}

.vpark-secondary-grid {
	grid-auto-rows: 1fr;
	gap: 18px;
	align-items: stretch;
}

.vpark-story-card {
	height: 100%;
	box-shadow: 0 6px 18px rgba(31, 41, 55, 0.04);
}

.vpark-story-card__image {
	background: #eef3f7;
}

.vpark-story-card__body {
	padding: 17px 18px 18px;
	min-height: 196px;
}

.vpark-story-card h3 a,
.vpark-discussion-card h3 a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.vpark-story-card h3 {
	font-size: 17px;
	line-height: 1.36;
}

.vpark-story-card p {
	-webkit-line-clamp: 3;
	margin-top: 10px;
	color: #536071;
	line-height: 1.58;
}

.vpark-story-card .vpark-story-meta {
	margin-top: auto;
	padding-top: 12px;
}

.vpark-story-meta,
.vpark-topic-card__meta {
	color: #7a8494;
	font-size: 11px;
}

.vpark-discussion-list {
	gap: 12px;
}

.vpark-discussion-card {
	padding: 16px 18px;
	border-radius: 13px;
	background: #ffffff;
	box-shadow: none;
}

.vpark-discussion-card h3 {
	font-size: 16px;
	line-height: 1.38;
}

.vpark-discussion-card p {
	-webkit-line-clamp: 2;
	color: #647084;
	font-size: 12px;
	line-height: 1.55;
}

body#phpbb.section-index form.headerspace {
	display: none;
}

body#phpbb.section-index .stat-block {
	margin: 18px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--vpark-portal-line);
	border-radius: var(--vpark-portal-radius);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: none;
	color: #5d6878;
	font-size: 12px;
	line-height: 1.65;
}

body#phpbb.section-index .stat-block h3 {
	margin: 0 0 8px;
	color: #243044;
	font-size: 15px;
	font-weight: 700;
}

body#phpbb.section-index .stat-block + .stat-block {
	margin-top: 10px;
}

body#phpbb.section-index #page-footer .navbar {
	margin-top: 18px;
	border-radius: var(--vpark-portal-radius);
	border: 1px solid var(--vpark-portal-line);
	background: #ffffff;
	box-shadow: none;
}

@media (max-width: 1080px) {
	body#phpbb.section-index #site-description {
		justify-self: stretch;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

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

	.vpark-portal-hero__body {
		padding: 22px 24px 24px;
	}

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

@media (max-width: 760px) {
	body#phpbb.section-index #page-header .headerbar {
		padding: 8px 10px 10px;
		border-radius: 0 0 15px 15px;
	}

	body#phpbb.section-index #site-description {
		grid-template-columns: 48px minmax(0, 1fr);
		padding: 7px 9px;
	}

	body#phpbb.section-index #site-description .logo {
		width: 48px;
		min-height: 44px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 38px;
		height: 38px;
		background-size: 38px 38px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: 1.25em;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 30px;
		padding: 5px 8px;
		font-size: 12px;
	}

	body#phpbb.section-index #page-header .navbar {
		padding: 7px 9px;
	}

	.vpark-breaking-news__label {
		min-width: 0;
		min-height: 36px;
	}

	.vpark-portal-hero h2 {
		font-size: 23px;
	}

	.vpark-secondary-grid,
	.vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	.vpark-story-card__body {
		min-height: 0;
	}
}

@media (max-width: 520px) {
	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpark-sponsored-strip {
		padding: 11px 12px;
	}

	.vpark-portal-section-head {
		display: block;
	}

	.vpark-portal-section-head a {
		display: inline-block;
		margin-top: 8px;
	}
}

/* Homepage polish v2: lighter VictoriaPark blue and tighter portal rhythm. */
body#phpbb.section-index #page-header .headerbar {
	margin-bottom: 8px;
	padding: 6px 12px 8px;
	border-radius: 0 0 16px 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
		linear-gradient(180deg, #83c2ee 0%, #5aa8df 54%, #458fca 100%);
	box-shadow: 0 8px 20px rgba(45, 105, 160, 0.16);
}

body#phpbb.section-index #page-header .headerbar > .inner {
	grid-template-columns: minmax(210px, 246px) minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

body#phpbb.section-index #site-description {
	padding: 6px 9px;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 8px;
	border-color: rgba(255, 255, 255, 0.22);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.14);
}

body#phpbb.section-index #site-description .logo {
	width: 48px;
	min-height: 42px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.13);
}

body#phpbb.section-index #site-description .site_logo {
	width: 36px;
	height: 36px;
	background-size: 36px 36px;
}

body#phpbb.section-index #site-description h1 {
	font-size: 1.28em;
	line-height: 1.08;
	text-shadow: 0 1px 1px rgba(39, 82, 128, 0.22);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.84);
}

body#phpbb.section-index .vpark-header-forum-compact {
	gap: 5px;
	align-items: center;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-height: 28px;
	padding: 4px 9px;
	border-color: rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 600;
	text-shadow: 0 1px 1px rgba(43, 91, 137, 0.24);
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.38);
}

body#phpbb.section-index #page-header .navbar {
	margin-bottom: 12px;
	padding: 7px 10px;
}

body#phpbb.section-index #nav-main {
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

body#phpbb.section-index #nav-main > li {
	float: none !important;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-width: max-content;
	max-width: none;
	white-space: nowrap;
	word-break: keep-all;
}

body#phpbb.section-index #nav-main > li > a,
body#phpbb.section-index #nav-main > li > a span,
body#phpbb.section-index #nav-main .dropdown-trigger span,
body#phpbb.section-index #nav-main .dropdown-contents a span {
	white-space: nowrap;
	word-break: keep-all;
	line-height: 1.3;
}

body#phpbb.section-index #nav-main > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding-top: 0;
	padding-bottom: 0;
}

body#phpbb.section-index #nav-main .vpark-nav-search-item {
	margin-left: auto;
}

body#phpbb.section-index .vpark-nav-search-form,
body#phpbb.section-index .vpark-nav-quick-login__form {
	flex-wrap: nowrap;
	align-items: center;
	white-space: nowrap;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: 190px;
	height: 32px;
	line-height: 32px;
}

body#phpbb.section-index .vpark-nav-search-form button,
body#phpbb.section-index .vpark-nav-search-adv,
body#phpbb.section-index .vpark-nav-quick-login__form button {
	width: 32px;
	height: 32px;
	line-height: 32px;
}

body#phpbb.section-index .vpark-nav-quick-login__form button {
	width: auto;
	padding: 0 13px;
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 118px;
	height: 32px;
	line-height: 32px;
}

body#phpbb.section-index .vpark-sponsored-strip {
	min-height: 54px;
	margin-bottom: 11px;
	padding: 9px 15px;
	background: #fcfdff;
}

body#phpbb.section-index .vpark-breaking-news {
	min-height: 42px;
	margin-bottom: 24px;
}

body#phpbb.section-index .vpark-breaking-news__label {
	min-width: 120px;
	padding: 9px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

body#phpbb.section-index .vpark-breaking-news__viewport {
	min-height: 42px;
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	font-size: 22px;
	letter-spacing: 0;
}

body#phpbb.section-index .vpark-section-kicker {
	color: #55708e;
	font-size: 10.5px;
	font-weight: 600;
}

body#phpbb.section-index .vpark-story-kicker {
	color: var(--vpark-portal-accent);
	font-size: 10.5px;
	font-weight: 600;
}

body#phpbb.section-index .vpark-portal-hero {
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.74fr);
	border-color: #e8edf3;
}

body#phpbb.section-index .vpark-portal-hero__body {
	padding: 23px 26px;
}

body#phpbb.section-index .vpark-portal-hero h2 {
	font-size: 28px;
	line-height: 1.18;
}

body#phpbb.section-index .vpark-portal-hero p {
	font-size: 14px;
	line-height: 1.65;
}

body#phpbb.section-index .vpark-secondary-grid {
	gap: 16px;
}

body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-card {
	border-color: #e9edf3;
	box-shadow: 0 5px 16px rgba(31, 41, 55, 0.035);
}

body#phpbb.section-index .vpark-story-card__body {
	padding: 16px 17px 17px;
	min-height: 184px;
}

body#phpbb.section-index .vpark-story-card h3 {
	font-size: 16px;
	line-height: 1.36;
}

body#phpbb.section-index .vpark-story-card p {
	-webkit-line-clamp: 2;
	color: #5b6677;
	font-size: 12.5px;
	line-height: 1.58;
}

body#phpbb.section-index .vpark-story-meta {
	color: #8a95a5;
	font-size: 10.5px;
}

body#phpbb.section-index .vpark-discussion-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body#phpbb.section-index .vpark-discussion-card {
	padding: 14px 16px;
	background: #fcfdff;
}

body#phpbb.section-index .vpark-discussion-card h3 {
	font-size: 15px;
	line-height: 1.38;
}

body#phpbb.section-index .vpark-discussion-card p {
	-webkit-line-clamp: 1;
	margin-top: 8px;
	color: #707b8d;
	font-size: 11.5px;
}

body#phpbb.section-index .stat-block {
	display: inline-block;
	box-sizing: border-box;
	width: calc(50% - 7px);
	min-height: 108px;
	margin-top: 18px;
	padding: 14px 16px;
	vertical-align: top;
	background: #fcfdff;
	border-color: #e9edf3;
	color: #697588;
}

body#phpbb.section-index .stat-block + .stat-block {
	margin-top: 18px;
	margin-left: 10px;
}

body#phpbb.section-index .stat-block h3 {
	font-size: 14px;
	color: #253247;
}

@media (max-width: 1180px) {
	body#phpbb.section-index #nav-main .vpark-nav-search-item {
		margin-left: 0;
	}

	body#phpbb.section-index #nav-main {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	body#phpbb.section-index #page-header .headerbar {
		padding: 6px 9px 8px;
	}

	body#phpbb.section-index #site-description {
		grid-template-columns: 44px minmax(0, 1fr);
	}

	body#phpbb.section-index #site-description .logo {
		width: 44px;
		min-height: 40px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 34px;
		height: 34px;
		background-size: 34px 34px;
	}

	body#phpbb.section-index #nav-main {
		gap: 6px 8px;
	}

	body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
		width: min(190px, 52vw);
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero h2 {
		font-size: 22px;
	}

	body#phpbb.section-index .vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .stat-block {
		display: block;
		width: 100%;
		min-height: 0;
	}

	body#phpbb.section-index .stat-block + .stat-block {
		margin-left: 0;
		margin-top: 10px;
	}
}

/* Local archive experiment: vintage dossier skin for the homepage only. */
body#phpbb.section-index {
	--vpark-portal-bg: #f3eee3;
	--vpark-portal-panel: #fffdf7;
	--vpark-portal-ink: #182433;
	--vpark-portal-muted: #6f756f;
	--vpark-portal-soft: #f8f2e7;
	--vpark-portal-line: #d8cbb5;
	--vpark-portal-line-strong: #b89d70;
	--vpark-portal-accent: #386b73;
	--vpark-portal-accent-dark: #243d56;
	--vpark-portal-bronze: #9b7a47;
	--vpark-portal-radius: 8px;
	--vpark-portal-radius-lg: 8px;
	--vpark-portal-shadow: 0 18px 38px rgba(36, 45, 47, 0.12);
	--vpark-portal-shadow-soft: 0 8px 18px rgba(36, 45, 47, 0.08);
	background:
		linear-gradient(90deg, rgba(121, 94, 54, 0.035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 240, 228, 0.92) 34%, rgba(239, 232, 217, 0.96)),
		#f3eee3;
	background-size: 34px 34px, auto, auto;
	color: var(--vpark-portal-ink);
	font-family: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Inter", Arial, sans-serif;
}

body#phpbb.section-index #wrap {
	max-width: 1288px;
	background: transparent;
}

body#phpbb.section-index #page-body {
	max-width: 1188px;
	padding-bottom: 38px;
}

body#phpbb.section-index #page-header .headerbar {
	margin: 0 0 10px;
	padding: 9px 14px;
	border: 1px solid rgba(87, 111, 122, 0.52);
	border-top: 0;
	border-radius: 0 0 8px 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%),
		linear-gradient(90deg, rgba(151, 126, 83, 0.16), transparent 22%, transparent 78%, rgba(34, 66, 72, 0.18)),
		linear-gradient(180deg, #8ea6b5 0%, #6f8d9d 48%, #526f83 100%);
	box-shadow:
		inset 0 -1px 0 rgba(255, 255, 255, 0.35),
		0 10px 22px rgba(38, 59, 70, 0.16);
}

body#phpbb.section-index #page-header .headerbar > .inner {
	grid-template-columns: minmax(210px, 252px) minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

body#phpbb.section-index #site-description {
	min-height: 0;
	padding: 7px 9px;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 9px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(21, 45, 58, 0.12);
	box-shadow: inset 0 0 0 1px rgba(33, 60, 70, 0.08);
}

body#phpbb.section-index #site-description .logo {
	width: 48px;
	min-height: 42px;
	border-radius: 6px;
	background: rgba(255, 253, 247, 0.18);
}

body#phpbb.section-index #site-description .site_logo {
	width: 36px;
	height: 36px;
	background-size: 36px 36px;
}

body#phpbb.section-index #site-description h1 {
	color: #fffdf7;
	font-size: 1.26em;
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: 0;
	text-align: left;
	text-shadow: 0 1px 1px rgba(20, 41, 52, 0.26);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	color: rgba(255, 253, 247, 0.82);
	font-size: 10.5px;
	line-height: 1.35;
	text-align: left;
}

body#phpbb.section-index .vpark-header-forum-compact {
	height: 100%;
	gap: 6px;
	align-items: center;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 253, 247, 0.28);
	border-radius: 6px;
	background: rgba(255, 253, 247, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
	color: #fffdf7;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	text-shadow: none;
	white-space: nowrap;
	writing-mode: horizontal-tb;
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	border-color: rgba(255, 253, 247, 0.46);
	background: rgba(255, 253, 247, 0.2);
	color: #ffffff;
	transform: none;
}

body#phpbb.section-index #page-header .navbar {
	margin: 0 0 14px;
	padding: 8px 10px;
	border: 1px solid var(--vpark-portal-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 242, 231, 0.88)),
		var(--vpark-portal-panel);
	box-shadow: var(--vpark-portal-shadow-soft);
}

body#phpbb.section-index #nav-main,
body#phpbb.section-index #nav-breadcrumbs {
	gap: 7px 9px;
}

body#phpbb.section-index #page-header .navbar a {
	color: #40515a;
	font-weight: 500;
}

body#phpbb.section-index #page-header .navbar a:hover {
	color: var(--vpark-portal-accent-dark);
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"],
body#phpbb.section-index .vpark-nav-quick-login__form input {
	height: 32px;
	border: 1px solid #cfc0a8;
	border-radius: 6px;
	background: #fffdf7;
	color: var(--vpark-portal-ink);
	line-height: 32px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"]:focus,
body#phpbb.section-index .vpark-nav-quick-login__form input:focus {
	border-color: var(--vpark-portal-accent);
	box-shadow: 0 0 0 3px rgba(56, 107, 115, 0.14);
}

body#phpbb.section-index .vpark-nav-search-form button,
body#phpbb.section-index .vpark-nav-search-adv,
body#phpbb.section-index .vpark-nav-quick-login__form button {
	width: 32px;
	height: 32px;
	border: 1px solid #c9b99e;
	border-radius: 6px;
	background: #f7efe1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	color: #344c52;
	line-height: 32px;
}

body#phpbb.section-index .vpark-nav-quick-login__form button {
	width: auto;
	padding: 0 12px;
}

body#phpbb.section-index .vpark-nav-search-form button:hover,
body#phpbb.section-index .vpark-nav-search-adv:hover,
body#phpbb.section-index .vpark-nav-quick-login__form button:hover {
	border-color: var(--vpark-portal-bronze);
	background: #efe2ca;
	color: var(--vpark-portal-accent-dark);
}

body#phpbb.section-index .forabg,
body#phpbb.section-index .vpark-forum-panel,
body#phpbb.section-index .vpark-home-ad-slot,
body#phpbb.section-index .vpark-home-news {
	display: none !important;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-card,
body#phpbb.section-index .stat-block {
	position: relative;
	border: 1px solid var(--vpark-portal-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 253, 247, 0.92)),
		var(--vpark-portal-panel);
	box-shadow: var(--vpark-portal-shadow-soft);
}

body#phpbb.section-index .vpark-sponsored-strip {
	min-height: 56px;
	margin-bottom: 12px;
	padding: 10px 15px;
	overflow: hidden;
	color: var(--vpark-portal-ink);
}

body#phpbb.section-index .vpark-sponsored-strip::before,
body#phpbb.section-index .vpark-portal-hero::before,
body#phpbb.section-index .vpark-story-card::before,
body#phpbb.section-index .vpark-discussion-card::before,
body#phpbb.section-index .stat-block::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid rgba(184, 157, 112, 0.25);
	border-radius: 5px;
	pointer-events: none;
}

body#phpbb.section-index .vpark-sponsored-strip__label {
	padding: 4px 9px;
	border: 1px solid rgba(155, 122, 71, 0.32);
	border-radius: 5px;
	background: #f2e7d3;
	color: #684f2e;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
	white-space: nowrap;
}

body#phpbb.section-index .vpark-sponsored-strip__copy strong {
	color: #253442;
	font-size: 14px;
	font-weight: 650;
}

body#phpbb.section-index .vpark-sponsored-strip__copy span {
	color: var(--vpark-portal-muted);
	font-size: 12px;
	line-height: 1.45;
}

body#phpbb.section-index .vpark-sponsored-strip__image {
	max-height: 108px;
	border-radius: 6px;
	filter: saturate(0.86) contrast(0.96);
}

body#phpbb.section-index .vpark-breaking-news {
	--vpark-ticker-duration: 210s;
	min-height: 42px;
	margin-bottom: 26px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(56, 107, 115, 0.08), transparent 28%),
		#fffdf7;
}

body#phpbb.section-index .vpark-breaking-news__label {
	min-width: 132px;
	padding: 9px 14px;
	border-right: 1px solid var(--vpark-portal-line);
	background: #e8eee8;
	color: #284b51;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.25;
}

body#phpbb.section-index .vpark-breaking-news__viewport {
	min-height: 42px;
}

body#phpbb.section-index .vpark-breaking-news__item {
	color: #304b57;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

body#phpbb.section-index .vpark-breaking-news__item:hover {
	color: var(--vpark-portal-accent);
}

body#phpbb.section-index .vpark-breaking-news__sep {
	color: rgba(155, 122, 71, 0.6);
}

body#phpbb.section-index .vpark-portal-shell {
	gap: 30px;
}

body#phpbb.section-index .vpark-portal-section-head {
	align-items: flex-end;
	margin-bottom: 13px;
	padding: 0 0 9px;
	border-bottom: 1px solid var(--vpark-portal-line);
}

body#phpbb.section-index .vpark-portal-section-head::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	margin: 0 0 7px 2px;
	background: linear-gradient(90deg, rgba(155, 122, 71, 0.32), transparent);
}

body#phpbb.section-index .vpark-portal-section-head > a {
	order: 3;
	padding: 3px 8px;
	border: 1px solid rgba(56, 107, 115, 0.24);
	border-radius: 5px;
	background: rgba(255, 253, 247, 0.7);
	color: var(--vpark-portal-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	color: var(--vpark-portal-ink);
	font-size: 24px;
	font-weight: 650;
	line-height: 1.18;
	letter-spacing: 0;
}

body#phpbb.section-index .vpark-section-kicker,
body#phpbb.section-index .vpark-story-kicker {
	color: var(--vpark-portal-accent);
	font-size: 10.5px;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

body#phpbb.section-index .vpark-story-kicker {
	display: inline-flex;
	max-width: 100%;
	width: fit-content;
	margin-bottom: 8px;
	padding: 3px 8px;
	border: 1px solid rgba(56, 107, 115, 0.24);
	border-radius: 5px;
	background: #eef3ed;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body#phpbb.section-index .vpark-portal-hero {
	grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
	overflow: hidden;
	box-shadow: var(--vpark-portal-shadow);
}

body#phpbb.section-index .vpark-portal-hero__image,
body#phpbb.section-index .vpark-story-card__image {
	position: relative;
	background:
		linear-gradient(135deg, rgba(36, 61, 86, 0.18), transparent 42%),
		linear-gradient(180deg, #e9dfcb, #f8f1e4);
	overflow: hidden;
}

body#phpbb.section-index .vpark-portal-hero__image::after,
body#phpbb.section-index .vpark-story-card__image::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(255, 253, 247, 0.38);
	border-radius: 5px;
	pointer-events: none;
}

body#phpbb.section-index .vpark-portal-hero__image {
	min-height: 300px;
	border-right: 1px solid var(--vpark-portal-line);
}

body#phpbb.section-index .vpark-story-card__image {
	height: 158px;
	border-bottom: 1px solid var(--vpark-portal-line);
}

body#phpbb.section-index .vpark-portal-hero__image img,
body#phpbb.section-index .vpark-story-card__image img {
	filter: saturate(0.84) contrast(0.98) sepia(0.08);
}

body#phpbb.section-index .vpark-portal-hero__image img[src*="theme/images/editorial/forum-"],
body#phpbb.section-index .vpark-story-card__image img[src*="theme/images/editorial/forum-"] {
	object-fit: contain;
	padding: 18px;
	background:
		linear-gradient(90deg, rgba(56, 107, 115, 0.08) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 253, 247, 0.64), rgba(232, 221, 202, 0.42));
	background-size: 22px 22px, auto;
}

body#phpbb.section-index .vpark-story-card:nth-child(3n+2) .vpark-story-card__image {
	background:
		linear-gradient(135deg, rgba(155, 122, 71, 0.18), transparent 44%),
		linear-gradient(180deg, #e6ece7, #f8f1e4);
}

body#phpbb.section-index .vpark-story-card:nth-child(3n) .vpark-story-card__image {
	background:
		linear-gradient(135deg, rgba(36, 61, 86, 0.16), transparent 42%),
		linear-gradient(180deg, #e7edf0, #f6ead7);
}

body#phpbb.section-index .vpark-portal-hero__body {
	padding: 26px 28px;
	background:
		linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(248, 242, 231, 0.96)),
		var(--vpark-portal-panel);
}

body#phpbb.section-index .vpark-portal-hero h2 {
	margin-top: 2px;
	color: var(--vpark-portal-ink);
	font-size: 29px;
	font-weight: 680;
	line-height: 1.2;
}

body#phpbb.section-index .vpark-portal-hero p {
	margin-top: 12px;
	color: #4f5b58;
	font-size: 14px;
	line-height: 1.72;
}

body#phpbb.section-index .vpark-portal-hero h2 a,
body#phpbb.section-index .vpark-story-card h3 a,
body#phpbb.section-index .vpark-discussion-card h3 a {
	color: inherit;
	text-decoration: none;
}

body#phpbb.section-index .vpark-portal-hero h2 a:hover,
body#phpbb.section-index .vpark-story-card h3 a:hover,
body#phpbb.section-index .vpark-discussion-card h3 a:hover {
	color: var(--vpark-portal-accent);
}

body#phpbb.section-index .vpark-secondary-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body#phpbb.section-index .vpark-story-card {
	overflow: hidden;
}

body#phpbb.section-index .vpark-story-card__body {
	min-height: 188px;
	padding: 16px 17px 17px;
}

body#phpbb.section-index .vpark-story-card h3 {
	color: var(--vpark-portal-ink);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.42;
}

body#phpbb.section-index .vpark-story-card p {
	-webkit-line-clamp: 2;
	color: #5c655f;
	font-size: 12.5px;
	line-height: 1.6;
}

body#phpbb.section-index .vpark-story-meta,
body#phpbb.section-index .vpark-topic-card__meta {
	color: #777368;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.45;
}

body#phpbb.section-index .vpark-story-meta span + span::before,
body#phpbb.section-index .vpark-topic-card__meta span + span::before {
	color: var(--vpark-portal-line-strong);
}

body#phpbb.section-index .vpark-discussion-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body#phpbb.section-index .vpark-discussion-card {
	min-height: 0;
	padding: 14px 16px 14px 18px;
	background:
		linear-gradient(90deg, rgba(56, 107, 115, 0.08), transparent 22%),
		var(--vpark-portal-panel);
	box-shadow: 0 5px 14px rgba(36, 45, 47, 0.06);
}

body#phpbb.section-index .vpark-discussion-card::after {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 8px;
	width: 2px;
	border-radius: 2px;
	background: rgba(155, 122, 71, 0.55);
}

body#phpbb.section-index .vpark-discussion-card h3 {
	color: var(--vpark-portal-ink);
	font-size: 15px;
	font-weight: 620;
	line-height: 1.42;
}

body#phpbb.section-index .vpark-discussion-card p {
	-webkit-line-clamp: 1;
	margin-top: 7px;
	color: #697168;
	font-size: 11.5px;
	line-height: 1.55;
}

body#phpbb.section-index form.headerspace {
	display: none;
}

body#phpbb.section-index .stat-block {
	display: inline-block;
	box-sizing: border-box;
	width: calc(50% - 7px);
	min-height: 0;
	margin-top: 18px;
	padding: 15px 17px;
	vertical-align: top;
	color: #646c64;
	font-size: 12px;
	line-height: 1.65;
}

body#phpbb.section-index .stat-block + .stat-block {
	margin-top: 18px;
	margin-left: 10px;
}

body#phpbb.section-index .stat-block h3 {
	margin: 0 0 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(216, 203, 181, 0.78);
	color: #283645;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
}

body#phpbb.section-index #page-footer .navbar {
	margin-top: 18px;
	border: 1px solid var(--vpark-portal-line);
	border-radius: 8px;
	background: rgba(255, 253, 247, 0.86);
	box-shadow: none;
}

@media (max-width: 1080px) {
	body#phpbb.section-index #page-header .headerbar > .inner {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index #site-description {
		justify-self: stretch;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 260px;
		border-right: 0;
		border-bottom: 1px solid var(--vpark-portal-line);
	}

	body#phpbb.section-index .vpark-secondary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body#phpbb.section-index #page-body {
		padding-right: 12px;
		padding-left: 12px;
	}

	body#phpbb.section-index #page-header .headerbar {
		padding: 8px 10px;
	}

	body#phpbb.section-index #site-description {
		grid-template-columns: 44px minmax(0, 1fr);
	}

	body#phpbb.section-index #site-description .logo {
		width: 44px;
		min-height: 40px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 34px;
		height: 34px;
		background-size: 34px 34px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 30px;
		padding: 5px 7px;
		font-size: 11.5px;
		white-space: normal;
	}

	body#phpbb.section-index .vpark-sponsored-strip {
		align-items: flex-start;
		gap: 10px;
	}

	body#phpbb.section-index .vpark-breaking-news {
		display: block;
	}

	body#phpbb.section-index .vpark-breaking-news__label {
		min-width: 0;
		min-height: 34px;
		border-right: 0;
		border-bottom: 1px solid var(--vpark-portal-line);
	}

	body#phpbb.section-index .vpark-portal-section-head {
		display: flex;
		align-items: flex-start;
	}

	body#phpbb.section-index .vpark-portal-section-head::after {
		display: none;
	}

	body#phpbb.section-index .vpark-portal-section-head h2 {
		font-size: 21px;
	}

	body#phpbb.section-index .vpark-portal-hero__body {
		padding: 21px 19px 22px;
	}

	body#phpbb.section-index .vpark-portal-hero h2 {
		font-size: 23px;
	}

	body#phpbb.section-index .vpark-secondary-grid,
	body#phpbb.section-index .vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-story-card__body {
		min-height: 0;
	}

	body#phpbb.section-index .stat-block,
	body#phpbb.section-index .stat-block + .stat-block {
		display: block;
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 520px) {
	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body#phpbb.section-index .vpark-sponsored-strip {
		display: block;
		padding: 11px 12px;
	}

	body#phpbb.section-index .vpark-sponsored-strip__label {
		display: inline-flex;
		margin-bottom: 7px;
	}

	body#phpbb.section-index .vpark-portal-section-head {
		display: block;
	}

	body#phpbb.section-index .vpark-portal-section-head > a {
		display: inline-block;
		margin-top: 8px;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 215px;
	}
}

/* Keep the forum navigation as a compact archive rail on every homepage width. */
body#phpbb.section-index .vpark-header-center {
	min-width: 0;
	overflow: hidden;
}

body#phpbb.section-index .vpark-header-forum-compact {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	height: auto;
	padding: 3px 2px 4px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scroll-snap-type: x proximity;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	flex: 0 0 auto;
	min-width: 78px;
	max-width: 154px;
	min-height: 26px;
	padding: 4px 9px;
	overflow: hidden;
	font-size: 11.5px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
	scroll-snap-align: start;
}

@media (max-width: 760px) {
	body#phpbb.section-index .vpark-header-forum-compact {
		padding-top: 5px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-width: 82px;
		min-height: 27px;
		white-space: nowrap;
	}
}

/* Major Mainpage archive redesign. Homepage only; forum pages remain native. */
body#phpbb.section-index {
	--vpark-portal-bg: #eee4d2;
	--vpark-portal-panel: rgba(255, 248, 234, 0.92);
	--vpark-portal-panel-solid: #fff8ea;
	--vpark-portal-ink: #111b27;
	--vpark-portal-ink-soft: #243d56;
	--vpark-portal-muted: #6d6b62;
	--vpark-portal-line: #d2c1a3;
	--vpark-portal-line-strong: #9b7a47;
	--vpark-portal-accent: #b55829;
	--vpark-portal-accent-dark: #7d371f;
	--vpark-portal-teal: #386b73;
	--vpark-portal-bluegray: #526f83;
	--vpark-portal-radius: 8px;
	--vpark-portal-radius-lg: 8px;
	--vpark-portal-shadow: 0 22px 48px rgba(17, 27, 39, 0.2);
	--vpark-portal-shadow-soft: 0 12px 24px rgba(17, 27, 39, 0.11);
	background:
		linear-gradient(90deg, rgba(82, 111, 131, 0.08) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 248, 234, 0.7), rgba(238, 228, 210, 0.96) 38%, #e9dfcb),
		#eee4d2;
	background-size: 42px 42px, auto, auto;
	color: var(--vpark-portal-ink);
	font-family: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Inter", Arial, sans-serif;
}

body#phpbb.section-index #wrap {
	max-width: none;
	padding: 0;
	background: transparent;
}

body#phpbb.section-index #page-body {
	max-width: 1188px;
	margin: 0 auto;
	padding: 0 18px 42px;
}

body#phpbb.section-index #page-header {
	position: relative;
}

body#phpbb.section-index #page-header .headerbar {
	position: relative;
	width: 100vw;
	min-height: clamp(520px, 68vh, 720px);
	margin: 0 calc(50% - 50vw);
	padding: clamp(32px, 5vw, 62px) 18px 96px;
	display: flex;
	align-items: center;
	border: 0;
	border-radius: 0;
	background:
		linear-gradient(90deg, rgba(7, 12, 18, 0.92), rgba(17, 27, 39, 0.78) 24%, rgba(17, 27, 39, 0.28) 58%, rgba(17, 27, 39, 0.06) 86%),
		radial-gradient(circle at 72% 28%, rgba(181, 88, 41, 0.34), transparent 28%),
		radial-gradient(circle at 26% 76%, rgba(56, 107, 115, 0.36), transparent 32%),
		linear-gradient(135deg, #132335 0%, #526f83 48%, #e8d7b9 100%);
	box-shadow: inset 0 -1px 0 rgba(255, 248, 234, 0.58);
	overflow: hidden;
}

body#phpbb.section-index #page-header .headerbar::before,
body#phpbb.section-index #page-header .headerbar::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

body#phpbb.section-index #page-header .headerbar::before {
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 248, 234, 0.09) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 248, 234, 0.07) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: linear-gradient(90deg, black, rgba(0, 0, 0, 0.72) 48%, transparent 96%);
}

body#phpbb.section-index #page-header .headerbar::after {
	right: 9vw;
	bottom: 52px;
	width: min(420px, 34vw);
	height: min(420px, 34vw);
	border: 1px solid rgba(255, 248, 234, 0.24);
	border-radius: 50%;
	background:
		linear-gradient(90deg, transparent 49%, rgba(255, 248, 234, 0.22) 50%, transparent 51%),
		linear-gradient(0deg, transparent 49%, rgba(255, 248, 234, 0.22) 50%, transparent 51%);
	opacity: 0.68;
}

body#phpbb.section-index #page-header .headerbar > .inner {
	position: relative;
	z-index: 1;
	width: min(1188px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(280px, 0.86fr) minmax(520px, 1.14fr);
	grid-template-areas: "brand center";
	gap: clamp(28px, 5vw, 68px);
	align-items: center;
}

body#phpbb.section-index #site-description {
	grid-area: brand;
	width: auto;
	margin: 0;
	padding: clamp(26px, 4vw, 42px) clamp(22px, 3vw, 34px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid rgba(255, 248, 234, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.12), rgba(255, 248, 234, 0.04)),
		rgba(10, 19, 29, 0.34);
	box-shadow:
		inset 0 0 0 1px rgba(17, 27, 39, 0.18),
		0 20px 42px rgba(6, 12, 19, 0.26);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	text-align: center;
}

body#phpbb.section-index #site-description::before,
body#phpbb.section-index #site-description::after {
	content: "";
	width: min(330px, 84%);
	height: 13px;
	display: block;
	background:
		linear-gradient(90deg, transparent, rgba(255, 248, 234, 0.72) 18%, transparent 18%, transparent 24%, rgba(181, 88, 41, 0.76) 24%, rgba(181, 88, 41, 0.76) 76%, transparent 76%, transparent 82%, rgba(255, 248, 234, 0.72) 82%, transparent),
		radial-gradient(circle, rgba(255, 248, 234, 0.86) 0 2px, transparent 3px);
	background-position: center, center;
	background-size: 100% 1px, 18px 13px;
	background-repeat: no-repeat, repeat-x;
	opacity: 0.88;
}

body#phpbb.section-index #site-description .logo {
	width: 92px;
	min-height: 92px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 248, 234, 0.34);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.18), rgba(255, 248, 234, 0.08)),
		rgba(255, 248, 234, 0.1);
	box-shadow: inset 0 0 0 1px rgba(181, 88, 41, 0.2);
}

body#phpbb.section-index #site-description .site_logo {
	width: 68px;
	height: 68px;
	background-size: 68px 68px;
}

body#phpbb.section-index #site-description h1 {
	margin: 6px 0 0;
	color: #fff8ea;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	margin: 0;
	color: rgba(255, 248, 234, 0.84);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 15px;
	line-height: 1.35;
	text-align: center;
}

body#phpbb.section-index #site-description .skiplink {
	display: none;
}

body#phpbb.section-index .vpark-header-center {
	grid-area: center;
	position: relative;
	min-width: 0;
	padding: 18px;
	display: block;
	border: 1px solid rgba(255, 248, 234, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.12), rgba(255, 248, 234, 0.05)),
		rgba(17, 27, 39, 0.28);
	box-shadow: 0 20px 44px rgba(6, 12, 19, 0.22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: hidden;
}

body#phpbb.section-index .vpark-header-center::before {
	content: "VictoriaPark Community Archive";
	display: block;
	margin: 0 0 12px;
	color: rgba(255, 248, 234, 0.78);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 12px;
	line-height: 1.2;
	text-align: right;
}

body#phpbb.section-index .vpark-header-forum-compact {
	display: grid !important;
	box-sizing: border-box;
	grid-auto-flow: column;
	grid-auto-columns: clamp(112px, 10vw, 148px);
	grid-template-columns: none !important;
	grid-template-rows: repeat(2, minmax(86px, 1fr)) !important;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 248, 234, 0.42) transparent;
	scroll-snap-type: x proximity;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	position: relative;
	min-width: 0;
	max-width: none;
	min-height: 86px;
	padding: 11px 10px 10px;
	display: grid;
	grid-template-rows: 24px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	justify-items: center;
	border: 1px solid rgba(255, 248, 234, 0.24);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.18), rgba(255, 248, 234, 0.08)),
		rgba(255, 248, 234, 0.08);
	color: #fff8ea;
	box-shadow: inset 0 0 0 1px rgba(17, 27, 39, 0.16);
	text-align: center;
	text-decoration: none;
	white-space: normal;
	writing-mode: horizontal-tb;
	scroll-snap-align: start;
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	border-color: rgba(255, 248, 234, 0.46);
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.26), rgba(255, 248, 234, 0.12)),
		rgba(181, 88, 41, 0.16);
	color: #ffffff;
	transform: translateY(-1px);
}

body#phpbb.section-index .vpark-header-forum-compact__glyph {
	width: 26px;
	height: 22px;
	display: block;
	border: 1px solid rgba(255, 248, 234, 0.58);
	border-radius: 4px 4px 2px 2px;
	background:
		linear-gradient(90deg, transparent 46%, rgba(255, 248, 234, 0.72) 48% 52%, transparent 54%),
		linear-gradient(180deg, rgba(181, 88, 41, 0.78), rgba(56, 107, 115, 0.72));
	box-shadow: 8px 5px 0 -4px rgba(255, 248, 234, 0.28);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(3n+2) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(180deg, transparent 48%, rgba(255, 248, 234, 0.72) 50%, transparent 52%),
		linear-gradient(135deg, rgba(82, 111, 131, 0.86), rgba(155, 122, 71, 0.72));
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(3n) .vpark-header-forum-compact__glyph {
	border-radius: 50%;
	background:
		linear-gradient(90deg, transparent 48%, rgba(255, 248, 234, 0.72) 50%, transparent 52%),
		linear-gradient(0deg, transparent 48%, rgba(255, 248, 234, 0.72) 50%, transparent 52%),
		rgba(56, 107, 115, 0.76);
}

body#phpbb.section-index .vpark-header-forum-compact__copy {
	min-width: 0;
	display: block;
}

body#phpbb.section-index .vpark-header-forum-compact__en {
	display: block;
	margin-bottom: 4px;
	color: rgba(255, 248, 234, 0.64);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 10px;
	line-height: 1.1;
}

body#phpbb.section-index .vpark-header-forum-compact__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff8ea;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

body#phpbb.section-index #page-header .navbar {
	position: relative;
	z-index: 4;
	max-width: 1188px;
	margin: -58px auto 20px;
	padding: 12px 14px;
	border: 1px solid rgba(155, 122, 71, 0.42);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.96), rgba(244, 234, 216, 0.94)),
		var(--vpark-portal-panel-solid);
	box-shadow: 0 18px 38px rgba(17, 27, 39, 0.16);
}

body#phpbb.section-index #page-header .navbar .inner {
	min-height: 0;
}

body#phpbb.section-index #nav-main,
body#phpbb.section-index #nav-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

body#phpbb.section-index #nav-main > li {
	float: none !important;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

body#phpbb.section-index #page-header .navbar a {
	color: #243d56;
	font-weight: 500;
}

body#phpbb.section-index .vpark-nav-search-item {
	margin-left: auto;
}

body#phpbb.section-index .vpark-nav-search-form,
body#phpbb.section-index .vpark-nav-quick-login__form {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
}

body#phpbb.section-index .vpark-nav-quick-login__form {
	gap: 8px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"],
body#phpbb.section-index .vpark-nav-quick-login__form input {
	height: 34px;
	border: 1px solid #c7b899;
	background: #fffaf0;
	color: #111b27;
	font-size: 13px;
	line-height: 34px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: 220px;
	border-right: 0;
	border-radius: 6px 0 0 6px;
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 126px;
	border-radius: 6px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"]:focus,
body#phpbb.section-index .vpark-nav-quick-login__form input:focus {
	border-color: var(--vpark-portal-teal);
	box-shadow: 0 0 0 3px rgba(56, 107, 115, 0.14);
	outline: 0;
}

body#phpbb.section-index .vpark-nav-search-form button,
body#phpbb.section-index .vpark-nav-search-adv,
body#phpbb.section-index .vpark-nav-quick-login__form button {
	height: 34px;
	border: 1px solid #c7b899;
	background: #efe2ca;
	color: #243d56;
	box-shadow: none;
	line-height: 34px;
	text-shadow: none;
}

body#phpbb.section-index .vpark-nav-search-form button,
body#phpbb.section-index .vpark-nav-search-adv {
	width: 34px;
	border-radius: 0;
}

body#phpbb.section-index .vpark-nav-search-adv {
	border-radius: 0 6px 6px 0;
}

body#phpbb.section-index .vpark-nav-quick-login__form button {
	width: auto;
	padding: 0 14px;
	border-radius: 6px;
	font-weight: 600;
}

body#phpbb.section-index .vpark-nav-search-form button:hover,
body#phpbb.section-index .vpark-nav-search-adv:hover,
body#phpbb.section-index .vpark-nav-quick-login__form button:hover {
	border-color: var(--vpark-portal-accent);
	background: #e5d0ae;
	color: var(--vpark-portal-accent-dark);
}

body#phpbb.section-index .forabg,
body#phpbb.section-index .vpark-forum-panel,
body#phpbb.section-index .vpark-home-ad-slot,
body#phpbb.section-index .vpark-home-news,
body#phpbb.section-index form.headerspace {
	display: none !important;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .stat-block {
	border: 1px solid var(--vpark-portal-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 234, 0.91)),
		var(--vpark-portal-panel);
	box-shadow: var(--vpark-portal-shadow-soft);
}

body#phpbb.section-index .vpark-sponsored-strip {
	position: relative;
	min-height: 58px;
	margin: 0 0 14px;
	padding: 11px 16px;
	overflow: hidden;
}

body#phpbb.section-index .vpark-sponsored-strip::before,
body#phpbb.section-index .vpark-portal-hero::before,
body#phpbb.section-index .vpark-story-card::before,
body#phpbb.section-index .vpark-discussion-section::before,
body#phpbb.section-index .stat-block::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(181, 88, 41, 0.2);
	border-radius: 5px;
	pointer-events: none;
}

body#phpbb.section-index .vpark-sponsored-strip__label,
body#phpbb.section-index .vpark-story-kicker {
	width: fit-content;
	max-width: 100%;
	padding: 3px 9px;
	border: 1px dotted rgba(181, 88, 41, 0.82);
	border-top-right-radius: 8px;
	background: rgba(255, 250, 240, 0.8);
	color: var(--vpark-portal-accent-dark);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
}

body#phpbb.section-index .vpark-sponsored-strip__copy strong {
	color: #111b27;
	font-size: 15px;
	font-weight: 650;
}

body#phpbb.section-index .vpark-sponsored-strip__copy span {
	color: var(--vpark-portal-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

body#phpbb.section-index .vpark-sponsored-strip__image {
	max-height: 120px;
	border-radius: 6px;
	filter: saturate(0.82) contrast(0.95) sepia(0.08);
}

body#phpbb.section-index .vpark-breaking-news {
	--vpark-ticker-duration: 230s;
	min-height: 44px;
	margin: 0 0 24px;
	overflow: hidden;
	border-color: #c9b58f;
	background:
		linear-gradient(90deg, rgba(17, 27, 39, 0.94), rgba(36, 61, 86, 0.86) 36%, rgba(255, 248, 234, 0.88) 36%),
		var(--vpark-portal-panel-solid);
}

body#phpbb.section-index .vpark-breaking-news__label {
	min-width: 138px;
	padding: 10px 15px;
	border-right: 1px solid rgba(255, 248, 234, 0.24);
	background: transparent;
	color: #fff8ea;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

body#phpbb.section-index .vpark-breaking-news__viewport {
	min-height: 44px;
	background: rgba(255, 248, 234, 0.88);
}

body#phpbb.section-index .vpark-breaking-news__item {
	color: #243d56;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

body#phpbb.section-index .vpark-breaking-news__item:hover {
	color: var(--vpark-portal-accent);
}

body#phpbb.section-index .vpark-breaking-news__sep {
	color: rgba(181, 88, 41, 0.62);
}

body#phpbb.section-index .vpark-portal-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.72fr);
	grid-template-areas:
		"feature activity"
		"picks picks";
	gap: 22px;
}

body#phpbb.section-index .vpark-portal-lead {
	grid-area: feature;
	min-width: 0;
}

body#phpbb.section-index .vpark-mp-picks {
	grid-area: picks;
	min-width: 0;
}

body#phpbb.section-index .vpark-mp-activity {
	grid-area: activity;
	position: relative;
	min-width: 0;
	padding: 17px 16px;
	align-self: start;
}

body#phpbb.section-index .vpark-portal-section-head {
	position: relative;
	align-items: flex-end;
	margin: 0 0 13px;
	padding: 0 0 10px;
	border-bottom: 1px solid rgba(155, 122, 71, 0.42);
}

body#phpbb.section-index .vpark-portal-section-head::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	margin: 0 0 8px 4px;
	background: linear-gradient(90deg, rgba(181, 88, 41, 0.48), transparent);
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	color: #111b27;
	font-size: 25px;
	font-weight: 620;
	line-height: 1.18;
	letter-spacing: 0;
}

body#phpbb.section-index .vpark-section-kicker {
	color: var(--vpark-portal-accent-dark);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
}

body#phpbb.section-index .vpark-portal-section-head > a {
	order: 3;
	padding: 4px 9px;
	border: 1px solid rgba(56, 107, 115, 0.28);
	border-radius: 6px;
	background: rgba(255, 250, 240, 0.72);
	color: var(--vpark-portal-teal);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

body#phpbb.section-index .vpark-portal-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.82fr);
	overflow: hidden;
	box-shadow: var(--vpark-portal-shadow);
}

body#phpbb.section-index .vpark-portal-hero__image,
body#phpbb.section-index .vpark-story-card__image {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(17, 27, 39, 0.12), transparent 44%),
		linear-gradient(180deg, #f2e7d3, #e8d7b9);
}

body#phpbb.section-index .vpark-portal-hero__image {
	min-height: 360px;
	border-right: 1px solid var(--vpark-portal-line);
}

body#phpbb.section-index .vpark-story-card__image {
	height: 170px;
	border-bottom: 1px solid var(--vpark-portal-line);
}

body#phpbb.section-index .vpark-portal-hero__image::after,
body#phpbb.section-index .vpark-story-card__image::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(255, 248, 234, 0.42);
	border-radius: 5px;
	pointer-events: none;
}

body#phpbb.section-index .vpark-portal-hero__image img,
body#phpbb.section-index .vpark-story-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.82) contrast(0.96) sepia(0.12);
}

body#phpbb.section-index .vpark-portal-hero__image img[src*="archive-"],
body#phpbb.section-index .vpark-story-card__image img[src*="archive-"] {
	object-fit: contain;
	padding: 22px;
	background:
		linear-gradient(90deg, rgba(82, 111, 131, 0.08) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 248, 234, 0.72), rgba(232, 215, 185, 0.72));
	background-size: 30px 30px, auto;
}

body#phpbb.section-index .vpark-portal-hero__body {
	padding: 28px 28px 30px;
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.98), rgba(244, 234, 216, 0.96)),
		var(--vpark-portal-panel-solid);
}

body#phpbb.section-index .vpark-story-kicker {
	display: inline-flex;
	margin: 0 0 10px;
	overflow: hidden;
	text-overflow: ellipsis;
}

body#phpbb.section-index .vpark-portal-hero h2 {
	margin: 0;
	color: #111b27;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 650;
	line-height: 1.22;
}

body#phpbb.section-index .vpark-portal-hero p {
	margin: 14px 0 0;
	color: #50524d;
	font-size: 14px;
	line-height: 1.75;
}

body#phpbb.section-index .vpark-portal-hero h2 a,
body#phpbb.section-index .vpark-story-card h3 a,
body#phpbb.section-index .vpark-discussion-card h3 a {
	color: inherit;
	text-decoration: none;
}

body#phpbb.section-index .vpark-portal-hero h2 a:hover,
body#phpbb.section-index .vpark-story-card h3 a:hover,
body#phpbb.section-index .vpark-discussion-card h3 a:hover {
	color: var(--vpark-portal-accent);
}

body#phpbb.section-index .vpark-secondary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body#phpbb.section-index .vpark-story-card {
	position: relative;
	overflow: hidden;
}

body#phpbb.section-index .vpark-story-card__body {
	min-height: 190px;
	padding: 16px 17px 17px;
}

body#phpbb.section-index .vpark-story-card h3 {
	margin: 0;
	color: #111b27;
	font-size: 16px;
	font-weight: 620;
	line-height: 1.45;
}

body#phpbb.section-index .vpark-story-card p {
	-webkit-line-clamp: 2;
	margin-top: 9px;
	color: #5f625c;
	font-size: 12.5px;
	line-height: 1.62;
}

body#phpbb.section-index .vpark-story-meta,
body#phpbb.section-index .vpark-topic-card__meta {
	color: #736d5f;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.5;
}

body#phpbb.section-index .vpark-story-meta span + span::before,
body#phpbb.section-index .vpark-topic-card__meta span + span::before {
	color: var(--vpark-portal-line-strong);
}

body#phpbb.section-index .vpark-mp-activity .vpark-portal-section-head {
	margin-bottom: 11px;
}

body#phpbb.section-index .vpark-mp-activity .vpark-portal-section-head::after {
	display: none;
}

body#phpbb.section-index .vpark-mp-activity .vpark-portal-section-head h2 {
	font-size: 22px;
}

body#phpbb.section-index .vpark-discussion-list {
	display: block;
	max-height: 576px;
	padding-right: 4px;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(181, 88, 41, 0.42) transparent;
}

body#phpbb.section-index .vpark-discussion-card {
	position: relative;
	padding: 13px 4px 13px 15px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body#phpbb.section-index .vpark-discussion-card + .vpark-discussion-card {
	border-top: 1px dotted rgba(155, 122, 71, 0.52);
}

body#phpbb.section-index .vpark-discussion-card::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 0;
	width: 5px;
	height: 5px;
	border: 1px solid var(--vpark-portal-accent);
	border-radius: 50%;
	background: #fff8ea;
}

body#phpbb.section-index .vpark-discussion-card h3 {
	margin: 0;
	color: #111b27;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.45;
}

body#phpbb.section-index .vpark-discussion-card p {
	-webkit-line-clamp: 2;
	margin-top: 7px;
	color: #62645e;
	font-size: 11.5px;
	line-height: 1.55;
}

body#phpbb.section-index .vpark-discussion-card .vpark-story-kicker {
	margin-bottom: 8px;
}

body#phpbb.section-index .stat-block {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	width: calc(50% - 8px);
	min-height: 0;
	margin-top: 22px;
	padding: 16px 18px;
	vertical-align: top;
	color: #60635d;
	font-size: 12px;
	line-height: 1.65;
}

body#phpbb.section-index .stat-block + .stat-block {
	margin-top: 22px;
	margin-left: 12px;
}

body#phpbb.section-index .stat-block h3 {
	margin: 0 0 9px;
	padding-bottom: 7px;
	border-bottom: 1px dotted rgba(181, 88, 41, 0.48);
	color: #111b27;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

body#phpbb.section-index #page-footer .navbar {
	max-width: 1188px;
	margin: 18px auto 0;
	border: 1px solid rgba(155, 122, 71, 0.38);
	border-radius: 8px;
	background: rgba(255, 248, 234, 0.9);
	box-shadow: none;
}

@media (max-width: 1180px) {
	body#phpbb.section-index #page-header .headerbar > .inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"center";
		gap: 22px;
	}

	body#phpbb.section-index #site-description {
		max-width: 680px;
		justify-self: center;
	}

	body#phpbb.section-index .vpark-header-center {
		width: min(900px, 100%);
		justify-self: center;
	}

	body#phpbb.section-index .vpark-nav-search-item {
		margin-left: 0;
	}

	body#phpbb.section-index .vpark-portal-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"feature"
			"activity"
			"picks";
	}

	body#phpbb.section-index .vpark-discussion-list {
		max-height: none;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 18px;
	}
}

@media (max-width: 860px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: 0;
		padding: 28px 14px 84px;
	}

	body#phpbb.section-index #page-header .navbar {
		margin-top: -48px;
		margin-right: 12px;
		margin-left: 12px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: 36px;
	}

	body#phpbb.section-index .vpark-header-center {
		padding: 14px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-auto-columns: 108px;
		grid-template-columns: none !important;
		grid-template-rows: repeat(2, minmax(78px, 1fr)) !important;
		gap: 8px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 78px;
		padding: 9px 8px;
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 260px;
		border-right: 0;
		border-bottom: 1px solid var(--vpark-portal-line);
	}

	body#phpbb.section-index .vpark-secondary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body#phpbb.section-index #page-body {
		padding-right: 12px;
		padding-left: 12px;
	}

	body#phpbb.section-index #site-description {
		padding: 22px 16px;
	}

	body#phpbb.section-index #site-description .logo {
		width: 74px;
		min-height: 74px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 54px;
		height: 54px;
		background-size: 54px 54px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: 32px;
	}

	body#phpbb.section-index .vpark-header-center::before {
		text-align: left;
	}

	body#phpbb.section-index #nav-main,
	body#phpbb.section-index #nav-breadcrumbs {
		gap: 7px 9px;
	}

	body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
		width: min(210px, 58vw);
	}

	body#phpbb.section-index .vpark-nav-quick-login__form {
		flex-wrap: wrap;
	}

	body#phpbb.section-index .vpark-sponsored-strip {
		display: block;
		padding: 13px 14px;
	}

	body#phpbb.section-index .vpark-sponsored-strip__label {
		display: inline-flex;
		margin-bottom: 8px;
	}

	body#phpbb.section-index .vpark-breaking-news {
		display: block;
		background: var(--vpark-portal-panel-solid);
	}

	body#phpbb.section-index .vpark-breaking-news__label {
		min-width: 0;
		min-height: 36px;
		border-right: 0;
		border-bottom: 1px solid rgba(155, 122, 71, 0.38);
		background: #243d56;
	}

	body#phpbb.section-index .vpark-portal-section-head {
		display: block;
	}

	body#phpbb.section-index .vpark-portal-section-head::after {
		display: none;
	}

	body#phpbb.section-index .vpark-portal-section-head > a {
		display: inline-block;
		margin-top: 8px;
	}

	body#phpbb.section-index .vpark-portal-hero__body {
		padding: 22px 19px 23px;
	}

	body#phpbb.section-index .vpark-portal-hero h2 {
		font-size: 23px;
	}

	body#phpbb.section-index .vpark-secondary-grid,
	body#phpbb.section-index .vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-story-card__body {
		min-height: 0;
	}

	body#phpbb.section-index .stat-block,
	body#phpbb.section-index .stat-block + .stat-block {
		display: block;
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 420px) {
	body#phpbb.section-index #page-header .headerbar {
		padding-top: 22px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-auto-columns: 100px;
		grid-template-columns: none !important;
		grid-template-rows: repeat(2, minmax(74px, 1fr)) !important;
	}

	body#phpbb.section-index .vpark-header-forum-compact__title {
		font-size: 12px;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 210px;
	}
}

/* High-polish pass: close the stage composition to the reference Mainpage rhythm. */
body#phpbb.section-index {
	--vp-ink: #0e1722;
	--vp-ink-2: #1d3042;
	--vp-paper: #fff8ea;
	--vp-paper-2: #f2e6d2;
	--vp-bronze: #b55829;
	--vp-bronze-dark: #7f3b24;
	--vp-line: rgba(155, 122, 71, 0.42);
	--vp-muted: #6a665c;
	--vp-bluegray: #526f83;
	--vp-shadow: 0 16px 34px rgba(14, 23, 34, 0.16);
	overflow-x: clip;
	background:
		linear-gradient(90deg, rgba(36, 61, 86, 0.055) 1px, transparent 1px),
		linear-gradient(180deg, #eadcc5 0, #f2e6d2 410px, #eee2cf 100%);
	background-size: 46px 46px, auto;
}

body#phpbb.section-index *,
body#phpbb.section-index *::before,
body#phpbb.section-index *::after {
	box-sizing: border-box;
}

body#phpbb.section-index #wrap {
	width: 100%;
	max-width: none;
	padding: 0;
	overflow-x: clip;
}

@media (min-width: 961px) and (max-width: 1080px) {
	body#phpbb.section-index #wrap {
		margin-left: 0;
		margin-right: 0;
	}
}

body#phpbb.section-index #page-body {
	width: min(1180px, calc(100% - 32px));
	max-width: none;
	padding: 0 0 38px;
}

body#phpbb.section-index #page-header {
	padding-top: 0;
}

body#phpbb.section-index #page-header .headerbar {
	width: min(1240px, calc(100% - 32px));
	min-height: clamp(560px, 72vh, 690px);
	margin: 0 auto;
	padding: clamp(28px, 4vh, 44px) clamp(18px, 3vw, 42px) 86px;
	display: grid;
	align-items: center;
	border: 1px solid rgba(255, 248, 234, 0.18);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background:
		linear-gradient(90deg, rgba(5, 8, 13, 0.94), rgba(14, 23, 34, 0.78) 34%, rgba(14, 23, 34, 0.24) 72%, rgba(255, 248, 234, 0.18)),
		radial-gradient(circle at 50% 18%, rgba(255, 248, 234, 0.16), transparent 24%),
		radial-gradient(circle at 74% 48%, rgba(181, 88, 41, 0.26), transparent 28%),
		linear-gradient(145deg, #0e1722 0%, #243d56 48%, #cbb894 100%);
	box-shadow: inset 0 -1px 0 rgba(255, 248, 234, 0.42), 0 18px 46px rgba(14, 23, 34, 0.2);
	overflow: hidden;
}

body#phpbb.section-index #page-header .headerbar::before {
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 248, 234, 0.06) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 248, 234, 0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, black 0 76%, transparent 100%);
}

body#phpbb.section-index #page-header .headerbar::after {
	right: 5%;
	bottom: 34px;
	width: min(360px, 32vw);
	height: min(360px, 32vw);
	opacity: 0.42;
}

body#phpbb.section-index #page-header .headerbar > .inner {
	width: min(1040px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
		"brand"
		"center";
	gap: clamp(18px, 3vh, 28px);
	align-items: center;
	justify-items: center;
}

body#phpbb.section-index #page-header .headerbar > .inner::before {
	content: "";
	position: absolute;
	left: max(22px, 6%);
	right: max(22px, 6%);
	top: 50%;
	height: 1px;
	background:
		linear-gradient(90deg, transparent, rgba(255, 248, 234, 0.58) 22%, transparent 22% 28%, rgba(181, 88, 41, 0.7) 28% 72%, transparent 72% 78%, rgba(255, 248, 234, 0.58) 78%, transparent);
	opacity: 0.72;
	pointer-events: none;
}

body#phpbb.section-index #site-description {
	width: min(430px, 100%);
	padding: 24px 26px 22px;
	gap: 8px;
	border-color: rgba(255, 248, 234, 0.24);
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.11), rgba(255, 248, 234, 0.045)),
		rgba(9, 15, 23, 0.24);
	box-shadow: 0 18px 42px rgba(4, 8, 13, 0.18), inset 0 0 0 1px rgba(181, 88, 41, 0.12);
}

body#phpbb.section-index #site-description .logo {
	width: 84px;
	min-height: 84px;
}

body#phpbb.section-index #site-description .site_logo {
	width: 62px;
	height: 62px;
	background-size: 62px 62px;
}

body#phpbb.section-index #site-description h1 {
	font-size: clamp(36px, 4.4vw, 58px);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	font-size: 14px;
}

body#phpbb.section-index .vpark-header-center {
	width: min(980px, 100%);
	padding: 17px 18px 18px;
	display: block;
	overflow: visible;
	border-color: rgba(255, 248, 234, 0.2);
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.1), rgba(255, 248, 234, 0.035)),
		rgba(8, 14, 22, 0.3);
	box-shadow: 0 18px 40px rgba(4, 8, 13, 0.18), inset 0 0 0 1px rgba(181, 88, 41, 0.1);
}

body#phpbb.section-index .vpark-header-center::before {
	content: "VictoriaPark Community Archive";
	margin: 0 0 11px;
	text-align: center;
	letter-spacing: 0;
}

body#phpbb.section-index .vpark-header-forum-compact {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(2, minmax(92px, auto)) !important;
	grid-auto-flow: row;
	grid-auto-columns: auto;
	gap: 10px;
	width: 100%;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
}

body#phpbb.section-index .vpark-mp-btn--extra {
	display: none !important;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-width: 0;
	min-height: 92px;
	padding: 10px 9px 9px;
	display: grid;
	grid-template-rows: 18px 34px 22px;
	gap: 4px;
	border-color: rgba(255, 248, 234, 0.24);
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.14), rgba(255, 248, 234, 0.055)),
		rgba(7, 12, 18, 0.38);
	box-shadow: inset 0 0 0 1px rgba(255, 248, 234, 0.04);
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	background:
		linear-gradient(180deg, rgba(255, 248, 234, 0.2), rgba(255, 248, 234, 0.08)),
		rgba(181, 88, 41, 0.18);
}

body#phpbb.section-index .vpark-header-forum-compact__glyph {
	grid-row: 2;
	width: 34px;
	height: 34px;
	margin: 0 auto;
	border-radius: 5px;
	background:
		linear-gradient(90deg, transparent 47%, rgba(255, 248, 234, 0.7) 49% 51%, transparent 53%),
		linear-gradient(180deg, rgba(255, 248, 234, 0.1), rgba(255, 248, 234, 0)),
		rgba(56, 107, 115, 0.72);
	box-shadow: inset 0 0 0 1px rgba(255, 248, 234, 0.16);
}

body#phpbb.section-index .vpark-header-forum-compact__copy {
	display: contents;
}

body#phpbb.section-index .vpark-header-forum-compact__en {
	grid-row: 1;
	margin: 0;
	font-size: 10px;
	line-height: 1.1;
}

body#phpbb.section-index .vpark-header-forum-compact__title {
	grid-row: 3;
	-webkit-line-clamp: 1;
	font-size: 13px;
	line-height: 1.2;
}

body#phpbb.section-index .vpark-mp-btn--more .vpark-header-forum-compact__glyph {
	border-radius: 50%;
	background:
		linear-gradient(90deg, transparent 48%, rgba(255, 248, 234, 0.72) 49% 51%, transparent 52%),
		linear-gradient(0deg, transparent 48%, rgba(255, 248, 234, 0.72) 49% 51%, transparent 52%),
		rgba(181, 88, 41, 0.66);
}

body#phpbb.section-index #page-header .navbar {
	width: min(1180px, calc(100% - 32px));
	max-width: none;
	margin: -50px auto 18px;
	padding: 11px 14px;
	border-color: var(--vp-line);
	background:
		linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(244, 234, 216, 0.96)),
		var(--vp-paper);
	box-shadow: 0 12px 26px rgba(14, 23, 34, 0.13);
}

body#phpbb.section-index #page-header .navbar::before {
	content: "Archive Desk";
	float: right;
	margin: -2px 0 0 12px;
	color: rgba(127, 59, 36, 0.78);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 11px;
	line-height: 1.2;
}

body#phpbb.section-index #nav-main,
body#phpbb.section-index #nav-breadcrumbs {
	gap: 8px 10px;
}

body#phpbb.section-index .vpark-nav-search-item {
	margin-left: 8px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: clamp(180px, 20vw, 260px);
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 118px;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .stat-block {
	border-color: var(--vp-line);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 248, 234, 0.88)),
		var(--vp-paper);
	box-shadow: 0 8px 18px rgba(14, 23, 34, 0.08);
}

body#phpbb.section-index .vpark-sponsored-strip {
	min-height: 52px;
	padding: 10px 14px;
}

body#phpbb.section-index .vpark-breaking-news {
	min-height: 40px;
	margin-bottom: 22px;
}

body#phpbb.section-index .vpark-breaking-news__label,
body#phpbb.section-index .vpark-breaking-news__viewport {
	min-height: 40px;
}

body#phpbb.section-index .vpark-portal-shell {
	grid-template-columns: minmax(0, 1.34fr) minmax(286px, 0.66fr);
	gap: 18px;
}

body#phpbb.section-index .vpark-portal-section-head {
	margin-bottom: 11px;
	padding-bottom: 9px;
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	font-size: 24px;
}

body#phpbb.section-index .vpark-portal-hero {
	grid-template-columns: minmax(0, 58%) minmax(0, 42%);
	min-height: 382px;
}

body#phpbb.section-index .vpark-portal-hero__image {
	min-height: 382px;
	aspect-ratio: 16 / 10;
}

body#phpbb.section-index .vpark-portal-hero__image img[src*="archive-"] {
	padding: 30px;
}

body#phpbb.section-index .vpark-portal-hero__body {
	padding: 24px 24px 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

body#phpbb.section-index .vpark-portal-hero h2 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(24px, 2.45vw, 31px);
}

body#phpbb.section-index .vpark-portal-hero p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dotted rgba(181, 88, 41, 0.36);
	font-size: 13.5px;
	line-height: 1.68;
}

body#phpbb.section-index .vpark-mp-activity {
	padding: 15px 15px 14px;
}

body#phpbb.section-index .vpark-discussion-list {
	max-height: 490px;
}

body#phpbb.section-index .vpark-discussion-card {
	padding: 10px 2px 10px 14px;
}

body#phpbb.section-index .vpark-discussion-card p {
	-webkit-line-clamp: 1;
}

body#phpbb.section-index .vpark-secondary-grid {
	gap: 14px;
}

body#phpbb.section-index .vpark-story-card {
	display: grid;
	grid-template-rows: 118px minmax(176px, auto);
}

body#phpbb.section-index .vpark-story-card__image {
	height: 118px;
}

body#phpbb.section-index .vpark-story-card__image img[src*="archive-"] {
	padding: 16px;
}

body#phpbb.section-index .vpark-story-card__body {
	min-height: 176px;
	padding: 14px 15px 15px;
}

body#phpbb.section-index .vpark-story-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body#phpbb.section-index .stat-block {
	margin-top: 20px;
}

@media (min-width: 1181px) {
	body#phpbb.section-index #nav-main {
		flex-wrap: nowrap;
	}

	body#phpbb.section-index #nav-breadcrumbs {
		margin-top: 8px;
	}
}

@media (max-width: 960px) {
	body#phpbb.section-index #page-header .headerbar {
		width: min(100%, calc(100% - 20px));
		min-height: clamp(560px, 78vh, 700px);
		padding: 24px 14px 78px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		grid-template-rows: none !important;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 86px;
	}

	body#phpbb.section-index #page-header .navbar {
		width: min(100%, calc(100% - 24px));
		margin-top: -44px;
	}

	body#phpbb.section-index .vpark-portal-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"feature"
			"activity"
			"picks";
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 260px;
		border-right: 0;
		border-bottom: 1px solid var(--vpark-portal-line);
	}

	body#phpbb.section-index .vpark-discussion-list {
		max-height: 430px;
		display: block;
		overflow-y: auto;
	}
}

@media (max-width: 680px) {
	body#phpbb.section-index {
		overflow-x: hidden;
	}

	body#phpbb.section-index #page-body {
		width: min(100%, calc(100% - 20px));
	}

	body#phpbb.section-index #site-description {
		width: min(360px, 100%);
		padding: 20px 16px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: 32px;
	}

	body#phpbb.section-index .vpark-header-center {
		padding: 13px;
	}

	body#phpbb.section-index .vpark-header-center::before {
		text-align: center;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 78px;
		grid-template-rows: 15px 30px 20px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__glyph {
		width: 30px;
		height: 30px;
	}

	body#phpbb.section-index #page-header .navbar::before {
		display: none;
	}

	body#phpbb.section-index #nav-main,
	body#phpbb.section-index #nav-breadcrumbs,
	body#phpbb.section-index .vpark-nav-search-form,
	body#phpbb.section-index .vpark-nav-quick-login__form {
		flex-wrap: wrap;
	}

	body#phpbb.section-index .vpark-nav-search-item {
		margin-left: 0;
	}

	body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
		width: min(210px, calc(100vw - 126px));
	}

	body#phpbb.section-index .vpark-nav-quick-login__form input {
		width: min(142px, calc(50vw - 32px));
	}

	body#phpbb.section-index .vpark-secondary-grid,
	body#phpbb.section-index .vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-story-card {
		grid-template-rows: 108px auto;
	}
}

@media (max-width: 480px) {
	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px;
	}
}

/* Rendered-reference alignment pass: homepage only. */
body#phpbb.section-index {
	--vp-r1999-ink: #101419;
	--vp-r1999-black: #090a0c;
	--vp-r1999-panel: rgba(0, 0, 0, 0.82);
	--vp-r1999-bronze: #b55829;
	--vp-r1999-orange: #ff9e34;
	--vp-r1999-cream: #fffde9;
	--vp-r1999-muted: #8a877f;
	--vp-r1999-paper: #ede5d4;
	--vp-r1999-teal: #8ec755;
	background:
		linear-gradient(180deg, rgba(8, 10, 12, 0.92) 0, rgba(8, 10, 12, 0.9) 620px, rgba(237, 229, 212, 0.98) 621px),
		repeating-linear-gradient(90deg, rgba(94, 74, 50, 0.04) 0 1px, transparent 1px 18px),
		#ede5d4;
	color: #1c252d;
}

body#phpbb.section-index #page-header {
	background: #090a0c;
}

body#phpbb.section-index #page-header .headerbar {
	width: 100%;
	min-height: clamp(520px, 68vh, 650px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background:
		linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0.98) 28%, rgba(0, 0, 0, 0.76) 62%, rgba(0, 0, 0, 0.36) 82%, rgba(7, 13, 16, 0.78) 100%),
		radial-gradient(circle at 78% 18%, rgba(142, 199, 85, 0.13), transparent 24%),
		radial-gradient(circle at 58% 72%, rgba(181, 88, 41, 0.18), transparent 34%),
		linear-gradient(135deg, #111820, #060708 70%);
	box-shadow:
		inset 0 -1px 0 rgba(181, 88, 41, 0.9),
		inset 0 -42px 70px rgba(0, 0, 0, 0.42);
}

body#phpbb.section-index #page-header .headerbar::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(255, 253, 233, 0.05) 0 1px, transparent 1px 80px),
		linear-gradient(180deg, rgba(255, 253, 233, 0.04) 0 1px, transparent 1px 80px);
	opacity: 0.46;
}

body#phpbb.section-index #page-header .headerbar::after {
	content: "";
	position: absolute;
	right: -12%;
	bottom: -35%;
	width: min(680px, 82vw);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 158, 52, 0.26);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 253, 233, 0.05);
	pointer-events: none;
}

body#phpbb.section-index #page-header .headerbar > .inner {
	position: relative;
	z-index: 1;
	width: min(800px, 100%);
	min-height: inherit;
	margin: 0;
	padding: clamp(34px, 6vh, 58px) 30px clamp(28px, 5vh, 44px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

body#phpbb.section-index #page-header .headerbar > .inner::before {
	order: 2;
	content: "VICTORIAPARK / COMMUNITY ARCHIVE";
	display: block;
	width: min(560px, 100%);
	margin: -2px auto 0;
	padding: 8px 0 0;
	border-top: 1px solid rgba(181, 88, 41, 0.72);
	color: rgba(255, 253, 233, 0.72);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-align: center;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

body#phpbb.section-index #site-description {
	order: 1;
	position: relative;
	z-index: 1;
	width: max-content;
	max-width: min(100%, 620px);
	min-height: 0;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: auto minmax(0, auto);
	grid-template-areas:
		"mark title"
		"mark subtitle";
	column-gap: 16px;
	align-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.48));
}

body#phpbb.section-index #site-description::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -54px;
	width: min(1024px, calc(100vw + 220px));
	height: 155px;
	border-top: 2px solid rgba(255, 253, 233, 0.54);
	border-radius: 50%;
	transform: translateX(-50%) rotate(-7deg);
	pointer-events: none;
	opacity: 0.72;
}

body#phpbb.section-index #site-description::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: min(380px, 78vw);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 158, 52, 0.9), transparent);
	transform: translateX(-50%);
	pointer-events: none;
}

body#phpbb.section-index #site-description .logo {
	grid-area: mark;
	width: 76px;
	min-height: 76px;
	margin: 0;
	padding: 0;
	display: grid;
	place-items: center;
	border: 1px solid rgba(181, 88, 41, 0.7);
	border-radius: 0 18px 0 0;
	background: rgba(0, 0, 0, 0.38);
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
}

body#phpbb.section-index #site-description .site_logo {
	width: 56px;
	height: 56px;
	background-size: 56px 56px;
}

body#phpbb.section-index #site-description h1 {
	grid-area: title;
	margin: 0;
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: clamp(42px, 6.2vw, 66px);
	font-weight: 600;
	line-height: 0.96;
	letter-spacing: 0;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(181, 88, 41, 0.72);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	grid-area: subtitle;
	margin: 5px 0 0;
	color: rgba(255, 253, 233, 0.72);
	font-size: 13px;
	line-height: 1.35;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.88);
}

body#phpbb.section-index #site-description .skiplink {
	position: absolute;
}

body#phpbb.section-index .vpark-header-center {
	order: 3;
	width: min(675px, 100%);
	margin: 0 auto;
	padding: 0;
	display: block;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body#phpbb.section-index .vpark-header-center::before {
	content: "";
	display: none;
}

body#phpbb.section-index .vpark-header-forum-compact {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 130px)) !important;
	grid-template-rows: repeat(2, minmax(108px, auto)) !important;
	justify-content: center;
	align-items: stretch;
	gap: 5px;
	width: 100%;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	position: relative;
	min-width: 0;
	max-width: 130px;
	min-height: 108px;
	padding: 6px 10px 14px;
	display: block;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #111;
	box-shadow: 0 0 9px 0 #000;
	color: var(--vp-r1999-cream);
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body#phpbb.section-index .vpark-header-forum-compact__item:hover {
	transform: translateY(-1px);
	background: #333;
	box-shadow: 0 0 12px rgba(255, 158, 52, 0.28), 0 0 9px #000;
}

body#phpbb.section-index .vpark-header-forum-compact__glyph {
	position: relative;
	display: block;
	width: min(74px, 76%);
	aspect-ratio: 1;
	height: auto;
	margin: 0 auto 18px;
	border: 0;
	border-radius: 0;
	background:
		radial-gradient(circle at 50% 52%, rgba(255, 253, 233, 0.95) 0 19%, transparent 20%),
		radial-gradient(circle at 50% 52%, transparent 0 31%, rgba(255, 253, 233, 0.84) 32% 35%, transparent 36%),
		linear-gradient(90deg, transparent 46%, rgba(255, 253, 233, 0.82) 47% 53%, transparent 54%),
		linear-gradient(180deg, transparent 46%, rgba(255, 253, 233, 0.72) 47% 53%, transparent 54%);
	box-shadow: none;
	filter: drop-shadow(2px 4px 5px rgba(255, 255, 255, 0.55));
}

body#phpbb.section-index .vpark-header-forum-compact__glyph::before,
body#phpbb.section-index .vpark-header-forum-compact__glyph::after {
	content: "";
	position: absolute;
	inset: 15%;
	border: 2px solid rgba(255, 253, 233, 0.78);
	pointer-events: none;
}

body#phpbb.section-index .vpark-header-forum-compact__glyph::after {
	inset: 28%;
	border-width: 1px;
	transform: rotate(45deg);
	opacity: 0.7;
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(2) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(180deg, transparent 14%, rgba(255, 253, 233, 0.88) 15% 20%, transparent 21% 35%, rgba(255, 253, 233, 0.88) 36% 41%, transparent 42% 56%, rgba(255, 253, 233, 0.88) 57% 62%, transparent 63%),
		linear-gradient(90deg, transparent 22%, rgba(255, 253, 233, 0.7) 23% 27%, transparent 28% 46%, rgba(255, 253, 233, 0.7) 47% 51%, transparent 52% 70%, rgba(255, 253, 233, 0.7) 71% 75%, transparent 76%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(3) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(180deg, transparent 24%, rgba(255, 253, 233, 0.86) 25% 31%, transparent 32%),
		linear-gradient(90deg, transparent 18%, rgba(255, 253, 233, 0.82) 19% 27%, transparent 28% 44%, rgba(255, 253, 233, 0.82) 45% 53%, transparent 54% 70%, rgba(255, 253, 233, 0.82) 71% 79%, transparent 80%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(4) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(90deg, transparent 18%, rgba(255, 253, 233, 0.9) 19% 81%, transparent 82%),
		linear-gradient(180deg, transparent 19%, rgba(255, 253, 233, 0.9) 20% 24%, transparent 25% 48%, rgba(255, 253, 233, 0.9) 49% 53%, transparent 54% 76%, rgba(255, 253, 233, 0.9) 77% 81%, transparent 82%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(5) .vpark-header-forum-compact__glyph {
	border-radius: 50%;
	background:
		conic-gradient(from 0deg, rgba(255, 253, 233, 0.92) 0 8deg, transparent 8deg 37deg, rgba(255, 253, 233, 0.92) 37deg 45deg, transparent 45deg 90deg),
		radial-gradient(circle, transparent 0 39%, rgba(255, 253, 233, 0.88) 40% 45%, transparent 46%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(6) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(90deg, transparent 25%, rgba(255, 253, 233, 0.88) 26% 31%, transparent 32% 69%, rgba(255, 253, 233, 0.88) 70% 75%, transparent 76%),
		linear-gradient(180deg, transparent 20%, rgba(255, 253, 233, 0.88) 21% 26%, transparent 27% 72%, rgba(255, 253, 233, 0.88) 73% 78%, transparent 79%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(7) .vpark-header-forum-compact__glyph {
	background:
		linear-gradient(135deg, transparent 43%, rgba(142, 199, 85, 0.9) 44% 49%, transparent 50%),
		linear-gradient(90deg, rgba(255, 253, 233, 0.82) 0 8%, transparent 8% 92%, rgba(255, 253, 233, 0.82) 92%),
		linear-gradient(180deg, transparent 20%, rgba(255, 253, 233, 0.72) 21% 25%, transparent 26% 50%, rgba(255, 253, 233, 0.72) 51% 55%, transparent 56% 80%, rgba(255, 253, 233, 0.72) 81% 85%, transparent 86%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(8) .vpark-header-forum-compact__glyph {
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, transparent 0 23%, rgba(255, 253, 233, 0.9) 24% 28%, transparent 29% 45%, rgba(255, 253, 233, 0.8) 46% 50%, transparent 51%),
		linear-gradient(180deg, transparent 45%, rgba(255, 158, 52, 0.86) 46% 53%, transparent 54%);
}

body#phpbb.section-index .vpark-header-forum-compact__item:nth-child(9) .vpark-header-forum-compact__glyph {
	background:
		conic-gradient(from 18deg at 50% 48%, rgba(255, 253, 233, 0.92) 0 10deg, transparent 10deg 72deg, rgba(255, 253, 233, 0.92) 72deg 82deg, transparent 82deg 144deg, rgba(255, 253, 233, 0.92) 144deg 154deg, transparent 154deg 216deg, rgba(255, 253, 233, 0.92) 216deg 226deg, transparent 226deg 288deg, rgba(255, 253, 233, 0.92) 288deg 298deg, transparent 298deg);
}

body#phpbb.section-index .vpark-mp-btn--more .vpark-header-forum-compact__glyph {
	border-radius: 50%;
	background:
		linear-gradient(90deg, transparent 46%, rgba(255, 253, 233, 0.85) 47% 53%, transparent 54%),
		linear-gradient(0deg, transparent 46%, rgba(255, 253, 233, 0.85) 47% 53%, transparent 54%),
		radial-gradient(circle, rgba(181, 88, 41, 0.52), transparent 62%);
}

body#phpbb.section-index .vpark-header-forum-compact__copy {
	display: contents;
}

body#phpbb.section-index .vpark-header-forum-compact__en {
	position: absolute;
	top: 40%;
	left: 0;
	right: 0;
	width: max-content;
	max-width: 95px;
	margin: 0 auto;
	color: #666;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 10px;
	line-height: 1;
	text-align: center;
	text-transform: none;
	transform: translateX(58px) rotate(90deg);
	transform-origin: center;
	user-select: none;
}

body#phpbb.section-index .vpark-header-forum-compact__title {
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 5px;
	width: auto;
	margin: auto;
	display: block;
	overflow: hidden;
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body#phpbb.section-index #page-header .navbar {
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 8px 0;
	border-width: 1px 0;
	border-style: solid;
	border-color: rgba(181, 88, 41, 0.88);
	border-radius: 0;
	background:
		linear-gradient(180deg, rgba(26, 30, 32, 0.96), rgba(10, 12, 14, 0.98)),
		#111;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

body#phpbb.section-index #page-header .navbar::before {
	display: none;
}

body#phpbb.section-index #page-header .navbar .inner {
	width: min(1180px, calc(100% - 22px));
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 12px;
}

body#phpbb.section-index #nav-main,
body#phpbb.section-index #nav-breadcrumbs {
	margin: 0;
	gap: 6px 10px;
}

body#phpbb.section-index #nav-main > li.hidden,
body#phpbb.section-index #nav-main > li.rightside:not(.vpark-nav-quick-login),
body#phpbb.section-index #nav-breadcrumbs {
	display: none !important;
}

body#phpbb.section-index #nav-main {
	width: 100%;
	align-items: center;
}

body#phpbb.section-index #nav-main > li {
	min-height: 0;
}

body#phpbb.section-index #page-header .navbar a,
body#phpbb.section-index #nav-main a,
body#phpbb.section-index #nav-breadcrumbs a {
	color: rgba(255, 253, 233, 0.86);
}

body#phpbb.section-index #page-header .navbar a:hover,
body#phpbb.section-index #nav-main a:hover,
body#phpbb.section-index #nav-breadcrumbs a:hover {
	color: var(--vp-r1999-orange);
}

body#phpbb.section-index .vpark-nav-search-item,
body#phpbb.section-index .vpark-nav-quick-login {
	margin-left: 0;
}

body#phpbb.section-index .vpark-nav-quick-login {
	margin-left: auto;
}

body#phpbb.section-index .vpark-nav-search-form,
body#phpbb.section-index .vpark-nav-quick-login__form {
	gap: 5px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"],
body#phpbb.section-index .vpark-nav-quick-login__form input {
	height: 30px;
	border: 1px solid rgba(181, 88, 41, 0.72);
	border-radius: 0 12px 0 0;
	background: rgba(0, 0, 0, 0.36);
	color: var(--vp-r1999-cream);
	box-shadow: inset 0 0 0 1px rgba(255, 253, 233, 0.04);
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: clamp(176px, 22vw, 248px);
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 96px;
}

body#phpbb.section-index .vpark-nav-search-form .button,
body#phpbb.section-index .vpark-nav-quick-login__form .button,
body#phpbb.section-index .vpark-nav-quick-login__register {
	height: 30px;
	min-height: 30px;
	padding: 0 10px;
	border: 1px solid rgba(181, 88, 41, 0.82);
	border-radius: 0 12px 0 0;
	background: rgba(181, 88, 41, 0.72);
	color: #fff;
	box-shadow: none;
}

body#phpbb.section-index #page-body {
	width: min(1180px, calc(100% - 20px));
	margin: 18px auto 0;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .stat-block {
	border: 1px solid var(--vp-r1999-bronze);
	border-radius: 0 30px 0 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
		var(--vp-r1999-panel);
	color: rgba(255, 253, 233, 0.86);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

body#phpbb.section-index .vpark-sponsored-strip::before,
body#phpbb.section-index .vpark-portal-hero::before,
body#phpbb.section-index .vpark-story-card::before,
body#phpbb.section-index .vpark-discussion-section::before,
body#phpbb.section-index .stat-block::before {
	border-color: rgba(255, 158, 52, 0.82);
}

body#phpbb.section-index .vpark-sponsored-strip {
	min-height: 48px;
	margin-bottom: 10px;
	padding: 8px 12px;
}

body#phpbb.section-index .vpark-sponsored-strip__label,
body#phpbb.section-index .vpark-breaking-news__label {
	align-self: stretch;
	min-height: 30px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	border: 0;
	border-radius: 0;
	background: var(--vp-r1999-bronze);
	color: #fff;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 12px;
	letter-spacing: 0.02em;
}

body#phpbb.section-index .vpark-sponsored-strip__copy strong {
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-weight: 600;
}

body#phpbb.section-index .vpark-sponsored-strip__copy span {
	color: rgba(255, 253, 233, 0.68);
}

body#phpbb.section-index .vpark-sponsored-strip__image {
	max-height: 74px;
	border-radius: 0 22px 0 0;
}

body#phpbb.section-index .vpark-breaking-news {
	min-height: 38px;
	margin-bottom: 18px;
	padding: 0;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	overflow: hidden;
}

body#phpbb.section-index .vpark-breaking-news__label,
body#phpbb.section-index .vpark-breaking-news__viewport {
	min-height: 38px;
}

body#phpbb.section-index .vpark-breaking-news__viewport {
	background: rgba(255, 253, 233, 0.045);
}

body#phpbb.section-index .vpark-breaking-news__item {
	color: rgba(255, 253, 233, 0.82);
	font-size: 13px;
}

body#phpbb.section-index .vpark-breaking-news__item:hover {
	color: var(--vp-r1999-orange);
}

body#phpbb.section-index .vpark-breaking-news__sep {
	color: rgba(255, 158, 52, 0.8);
}

body#phpbb.section-index .vpark-portal-shell {
	width: 100%;
	grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
	gap: 16px;
}

body#phpbb.section-index .vpark-portal-section-head {
	margin-bottom: 10px;
	padding: 0 0 8px;
	border-bottom: 1px solid rgba(181, 88, 41, 0.42);
}

body#phpbb.section-index .vpark-section-kicker {
	color: rgba(104, 54, 33, 0.82);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 11px;
	letter-spacing: 0.04em;
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	color: #14202a;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: clamp(22px, 2.15vw, 28px);
	font-weight: 600;
	line-height: 1.2;
}

body#phpbb.section-index .vpark-portal-section-head > a {
	color: #7f3b24;
	border-bottom: 1px dotted rgba(181, 88, 41, 0.72);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

body#phpbb.section-index .vpark-portal-hero {
	min-height: 360px;
	grid-template-columns: minmax(0, 58%) minmax(0, 42%);
	overflow: hidden;
}

body#phpbb.section-index .vpark-portal-hero__image,
body#phpbb.section-index .vpark-story-card__image {
	background:
		linear-gradient(135deg, rgba(255, 253, 233, 0.06), rgba(142, 199, 85, 0.06)),
		#111;
}

body#phpbb.section-index .vpark-portal-hero__image {
	min-height: 360px;
	border-right: 1px solid rgba(181, 88, 41, 0.72);
}

body#phpbb.section-index .vpark-story-card__image {
	height: 114px;
	border-bottom: 1px solid rgba(181, 88, 41, 0.72);
}

body#phpbb.section-index .vpark-portal-hero__image::after,
body#phpbb.section-index .vpark-story-card__image::after {
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.42));
}

body#phpbb.section-index .vpark-portal-hero__image img,
body#phpbb.section-index .vpark-story-card__image img {
	filter: saturate(0.82) contrast(1.04);
}

body#phpbb.section-index .vpark-portal-hero__image img[src*="archive-"],
body#phpbb.section-index .vpark-story-card__image img[src*="archive-"] {
	object-fit: contain;
	padding: 24px;
	filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

body#phpbb.section-index .vpark-portal-hero__body {
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		linear-gradient(180deg, rgba(255, 253, 233, 0.05), transparent),
		rgba(0, 0, 0, 0.1);
}

body#phpbb.section-index .vpark-story-kicker {
	color: var(--vp-r1999-teal);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.03em;
}

body#phpbb.section-index .vpark-portal-hero h2 {
	margin-top: 8px;
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: clamp(24px, 2.2vw, 31px);
	font-weight: 600;
	line-height: 1.22;
}

body#phpbb.section-index .vpark-portal-hero p {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dotted rgba(181, 88, 41, 0.62);
	color: rgba(255, 253, 233, 0.68);
	font-size: 13.5px;
	line-height: 1.68;
}

body#phpbb.section-index .vpark-portal-hero h2 a,
body#phpbb.section-index .vpark-story-card h3 a,
body#phpbb.section-index .vpark-discussion-card h3 a {
	color: var(--vp-r1999-cream);
}

body#phpbb.section-index .vpark-portal-hero h2 a:hover,
body#phpbb.section-index .vpark-story-card h3 a:hover,
body#phpbb.section-index .vpark-discussion-card h3 a:hover {
	color: var(--vp-r1999-orange);
}

body#phpbb.section-index .vpark-story-meta {
	color: rgba(255, 253, 233, 0.52);
}

body#phpbb.section-index .vpark-secondary-grid {
	gap: 12px;
}

body#phpbb.section-index .vpark-story-card {
	grid-template-rows: 114px minmax(170px, auto);
	overflow: hidden;
}

body#phpbb.section-index .vpark-story-card__body {
	min-height: 170px;
	padding: 13px 14px 14px;
	background: transparent;
}

body#phpbb.section-index .vpark-story-card h3 {
	margin-top: 6px;
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

body#phpbb.section-index .vpark-story-card p {
	color: rgba(255, 253, 233, 0.64);
	font-size: 12.8px;
	line-height: 1.55;
}

body#phpbb.section-index .vpark-discussion-section {
	padding: 14px;
}

body#phpbb.section-index .vpark-discussion-section .vpark-section-kicker {
	color: rgba(255, 253, 233, 0.58);
}

body#phpbb.section-index .vpark-discussion-section .vpark-portal-section-head {
	border-bottom-color: rgba(181, 88, 41, 0.5);
}

body#phpbb.section-index .vpark-discussion-section .vpark-portal-section-head h2 {
	color: var(--vp-r1999-cream);
}

body#phpbb.section-index .vpark-discussion-list {
	max-height: 464px;
	padding-right: 2px;
	display: block;
	overflow-y: auto;
}

body#phpbb.section-index .vpark-discussion-card {
	padding: 10px 3px 10px 12px;
	border-bottom: 1px solid rgba(181, 88, 41, 0.34);
	background: transparent;
	box-shadow: none;
}

body#phpbb.section-index .vpark-discussion-card:last-child {
	border-bottom: 0;
}

body#phpbb.section-index .vpark-discussion-card h3 {
	margin-top: 4px;
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

body#phpbb.section-index .vpark-discussion-card p {
	color: rgba(255, 253, 233, 0.58);
	font-size: 12.8px;
	line-height: 1.5;
}

body#phpbb.section-index .stat-block {
	margin-top: 18px;
	padding: 14px 16px;
}

body#phpbb.section-index .stat-block h3 {
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 17px;
	font-weight: 600;
}

body#phpbb.section-index .stat-block p,
body#phpbb.section-index .stat-block li {
	color: rgba(255, 253, 233, 0.66);
}

body#phpbb.section-index #page-footer .navbar {
	border-color: rgba(181, 88, 41, 0.6);
	background: rgba(0, 0, 0, 0.78);
	color: rgba(255, 253, 233, 0.68);
}

@media (min-width: 961px) {
	body#phpbb.section-index #page-header .headerbar > .inner {
		margin-left: max(0px, calc((100vw - 1180px) / 2));
	}
}

@media (max-width: 960px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: clamp(520px, 66vh, 620px);
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		width: 100%;
		padding: 32px 18px 28px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		grid-template-rows: repeat(2, minmax(98px, auto)) !important;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 98px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__glyph {
		width: min(62px, 72%);
		margin-bottom: 16px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__en {
		transform: translateX(48px) rotate(90deg);
	}

	body#phpbb.section-index .vpark-portal-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"feature"
			"activity"
			"picks";
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 250px;
		border-right: 0;
		border-bottom: 1px solid rgba(181, 88, 41, 0.72);
	}
}

@media (max-width: 680px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: 584px;
	}

	body#phpbb.section-index #site-description {
		max-width: 100%;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
	}

	body#phpbb.section-index #site-description .logo {
		width: 62px;
		min-height: 62px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 44px;
		height: 44px;
		background-size: 44px 44px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: clamp(34px, 9vw, 42px);
	}

	body#phpbb.section-index #site-description > p:not(.skiplink) {
		font-size: 12px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		gap: 5px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 86px;
		padding: 5px 7px 13px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__glyph {
		width: min(48px, 68%);
		margin-bottom: 15px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__en {
		display: none;
	}

	body#phpbb.section-index .vpark-header-forum-compact__title {
		font-size: 12px;
	}

	body#phpbb.section-index #page-header .navbar .inner {
		width: min(100%, calc(100% - 18px));
	}

	body#phpbb.section-index #nav-main,
	body#phpbb.section-index #nav-breadcrumbs,
	body#phpbb.section-index .vpark-nav-search-form,
	body#phpbb.section-index .vpark-nav-quick-login__form {
		flex-wrap: wrap;
	}

	body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
		width: min(210px, calc(100vw - 126px));
	}

	body#phpbb.section-index .vpark-nav-quick-login__form input {
		width: min(96px, calc(50vw - 34px));
	}

	body#phpbb.section-index .vpark-sponsored-strip {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-sponsored-strip__label {
		width: max-content;
		min-height: 26px;
	}

	body#phpbb.section-index .vpark-breaking-news {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-breaking-news__label {
		width: max-content;
		min-height: 26px;
	}

	body#phpbb.section-index .vpark-breaking-news__viewport {
		min-height: 34px;
	}

	body#phpbb.section-index .vpark-portal-hero__body {
		padding: 18px;
	}

	body#phpbb.section-index .vpark-portal-hero h2 {
		font-size: 23px;
	}

	body#phpbb.section-index .vpark-secondary-grid,
	body#phpbb.section-index .vpark-discussion-list {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-story-card {
		grid-template-rows: 108px auto;
	}
}

@media (max-width: 480px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: 650px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 130px)) !important;
		grid-template-rows: none !important;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		max-width: none;
	}
}

/* Focused polish pass: tighten current dark archive direction without changing the system. */
body#phpbb.section-index #page-header *,
body#phpbb.section-index #page-body *,
body#phpbb.section-index #page-footer * {
	box-sizing: border-box;
}

body#phpbb.section-index {
	--vp-r1999-panel: rgba(17, 20, 21, 0.9);
	--vp-r1999-panel-soft: rgba(26, 28, 27, 0.88);
	--vp-r1999-bronze-soft: rgba(181, 88, 41, 0.68);
	--vp-r1999-copy: rgba(255, 253, 233, 0.74);
}

body#phpbb.section-index #page-header .headerbar {
	display: block;
	min-height: clamp(410px, 52vh, 500px);
	background:
		linear-gradient(90deg, #000 0, rgba(0, 0, 0, 0.98) 26%, rgba(0, 0, 0, 0.7) 66%, rgba(0, 0, 0, 0.34) 84%, rgba(7, 13, 16, 0.76) 100%),
		radial-gradient(circle at 58% 42%, rgba(255, 158, 52, 0.1), transparent 30%),
		radial-gradient(circle at 78% 18%, rgba(142, 199, 85, 0.12), transparent 23%),
		linear-gradient(135deg, #111820, #060708 70%);
}

body#phpbb.section-index #page-header .headerbar > .inner {
	width: min(760px, 100%);
	padding: clamp(24px, 4.5vh, 42px) 24px clamp(22px, 3.8vh, 36px);
	top: auto;
	bottom: auto;
	justify-content: center;
	gap: 11px;
}

body#phpbb.section-index #page-header .headerbar > .inner::before {
	width: min(590px, 100%);
	margin: -3px auto 1px;
	padding-top: 6px;
	font-size: 11.5px;
	border-top-color: rgba(255, 158, 52, 0.58);
}

body#phpbb.section-index #site-description {
	column-gap: 18px;
	transform: translateY(-3px);
}

body#phpbb.section-index #site-description::before {
	top: -42px;
	height: 128px;
	opacity: 0.88;
}

body#phpbb.section-index #site-description .logo {
	width: 86px;
	min-height: 86px;
	border-color: rgba(255, 158, 52, 0.66);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.62), 0 0 18px rgba(255, 253, 233, 0.14);
}

body#phpbb.section-index #site-description .site_logo {
	width: 62px;
	height: 62px;
	background-size: 62px 62px;
}

body#phpbb.section-index #site-description h1 {
	font-size: clamp(46px, 7.2vw, 72px);
}

body#phpbb.section-index #site-description > p:not(.skiplink) {
	font-size: 13.5px;
}

body#phpbb.section-index .vpark-header-center {
	width: min(675px, 100%);
	margin-top: 0;
}

body#phpbb.section-index .vpark-header-center::after {
	content: "";
	display: block;
	width: min(560px, 92%);
	height: 1px;
	margin: 9px auto 0;
	background: linear-gradient(90deg, transparent, rgba(255, 158, 52, 0.65), transparent);
}

body#phpbb.section-index .vpark-header-forum-compact {
	grid-template-columns: repeat(5, minmax(0, 122px)) !important;
	grid-template-rows: repeat(2, minmax(96px, auto)) !important;
	gap: 5px;
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	min-height: 96px;
	max-width: 122px;
	padding: 6px 9px 14px;
	border: 1px solid rgba(255, 253, 233, 0.035);
	background: rgba(15, 16, 17, 0.96);
	cursor: pointer;
	font: inherit;
}

body#phpbb.section-index button.vpark-header-forum-compact__item {
	appearance: none;
	-webkit-appearance: none;
	text-transform: none;
}

body#phpbb.section-index button.vpark-header-forum-compact__item:focus-visible,
body#phpbb.section-index .vpark-extra-forum-panel__item:focus-visible {
	outline: 2px solid rgba(255, 158, 52, 0.92);
	outline-offset: 2px;
}

body#phpbb.section-index .vpark-header-forum-compact__glyph {
	width: min(58px, 70%);
	margin-bottom: 14px;
}

body#phpbb.section-index .vpark-header-forum-compact__en {
	transform: translateX(48px) rotate(90deg);
}

body#phpbb.section-index .vpark-header-forum-compact__title {
	font-size: 13px;
}

body#phpbb.section-index .vpark-mp-btn--more.is-expanded {
	background: rgba(51, 51, 51, 0.98);
	box-shadow: 0 0 16px rgba(255, 158, 52, 0.28), 0 0 9px #000;
}

body#phpbb.section-index .vpark-extra-forum-panel[hidden] {
	display: none !important;
}

body#phpbb.section-index .vpark-extra-forum-panel {
	width: min(675px, 100%);
	margin: 11px auto 0;
	padding: 13px 14px 15px;
	overflow: visible;
	border: 1px solid var(--vp-r1999-bronze-soft);
	border-radius: 0 24px 0 0;
	background:
		linear-gradient(180deg, rgba(255, 253, 233, 0.055), rgba(255, 253, 233, 0.015)),
		rgba(10, 11, 12, 0.94);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28);
}

body#phpbb.section-index .vpark-extra-forum-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 7px;
	border-bottom: 1px dotted rgba(181, 88, 41, 0.6);
	color: var(--vp-r1999-cream);
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

body#phpbb.section-index .vpark-extra-forum-panel__kicker {
	color: rgba(255, 253, 233, 0.54);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body#phpbb.section-index .vpark-extra-forum-panel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

body#phpbb.section-index .vpark-extra-forum-panel__item {
	min-width: 0;
	padding: 9px 10px;
	display: block;
	border: 1px solid rgba(181, 88, 41, 0.45);
	border-radius: 0 14px 0 0;
	background: rgba(255, 253, 233, 0.045);
	color: var(--vp-r1999-cream);
	text-decoration: none;
}

body#phpbb.section-index .vpark-extra-forum-panel__item:hover {
	border-color: rgba(255, 158, 52, 0.72);
	background: rgba(255, 253, 233, 0.075);
	text-decoration: none;
}

body#phpbb.section-index .vpark-extra-forum-panel__title,
body#phpbb.section-index .vpark-extra-forum-panel__desc {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body#phpbb.section-index .vpark-extra-forum-panel__title {
	font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
	font-size: 13.5px;
	font-weight: 600;
}

body#phpbb.section-index .vpark-extra-forum-panel__desc {
	margin-top: 3px;
	color: rgba(255, 253, 233, 0.52);
	font-size: 11.5px;
	line-height: 1.35;
}

body#phpbb.section-index.vpark-forums-open #page-header .headerbar {
	min-height: clamp(660px, 76vh, 760px);
}

body#phpbb.section-index.vpark-forums-open #page-header .headerbar > .inner {
	height: auto;
	min-height: 0;
	padding-top: 24px;
	padding-bottom: 28px;
	top: auto;
	bottom: auto;
	justify-content: flex-start;
}

body#phpbb.section-index #page-header .navbar {
	position: relative;
	z-index: 2;
	margin-top: -1px;
	padding: 11px 0;
	border-color: rgba(181, 88, 41, 0.74);
	background:
		linear-gradient(180deg, rgba(22, 25, 26, 0.98), rgba(11, 12, 13, 0.99)),
		#111;
}

body#phpbb.section-index #page-header .navbar .inner,
body#phpbb.section-index #page-body,
body#phpbb.section-index #page-footer .navbar {
	width: min(1160px, calc(100% - 32px));
	max-width: none;
}

body#phpbb.section-index #nav-main {
	gap: 9px 13px;
	font-size: 13px;
}

body#phpbb.section-index .vpark-nav-search-form,
body#phpbb.section-index .vpark-nav-quick-login__form {
	gap: 7px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"],
body#phpbb.section-index .vpark-nav-quick-login__form input {
	height: 34px;
	padding: 0 11px;
	font-size: 13.5px;
	line-height: 34px;
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: clamp(190px, 22vw, 270px);
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 108px;
}

body#phpbb.section-index .vpark-nav-search-form .button,
body#phpbb.section-index .vpark-nav-quick-login__form .button,
body#phpbb.section-index .vpark-nav-quick-login__register {
	height: 34px;
	min-height: 34px;
	padding: 0 13px;
	font-size: 13.5px;
	line-height: 32px;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .stat-block {
	border-color: var(--vp-r1999-bronze-soft);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
		var(--vp-r1999-panel-soft);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news {
	width: 100%;
}

body#phpbb.section-index .vpark-portal-shell {
	grid-template-columns: minmax(0, 1.33fr) minmax(300px, 0.67fr);
	gap: 18px;
	align-items: start;
}

body#phpbb.section-index .vpark-portal-lead,
body#phpbb.section-index .vpark-mp-picks,
body#phpbb.section-index .vpark-mp-activity,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-portal-hero__image,
body#phpbb.section-index .vpark-portal-hero__body,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-story-card__body {
	min-width: 0;
}

body#phpbb.section-index .vpark-portal-hero {
	display: grid;
	grid-template-columns: minmax(0, 56%) minmax(0, 44%);
	min-height: 330px;
	overflow: hidden;
}

body#phpbb.section-index .vpark-portal-hero__image {
	position: relative;
	z-index: 0;
	width: 100%;
	max-width: 100%;
	min-height: 330px;
	aspect-ratio: auto;
	justify-self: stretch;
	align-self: stretch;
	overflow: hidden;
}

body#phpbb.section-index .vpark-portal-hero__image img {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body#phpbb.section-index .vpark-portal-hero__body {
	position: relative;
	z-index: 1;
	padding: 24px 26px;
	overflow: visible;
}

body#phpbb.section-index .vpark-portal-hero h2 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(23px, 2vw, 29px);
	line-height: 1.26;
}

body#phpbb.section-index .vpark-portal-hero p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--vp-r1999-copy);
	line-height: 1.62;
}

body#phpbb.section-index .vpark-story-meta {
	margin-top: auto;
	padding-top: 10px;
	gap: 7px 10px;
	color: rgba(255, 253, 233, 0.46);
	font-size: 11.5px;
	line-height: 1.35;
}

body#phpbb.section-index .vpark-secondary-grid {
	align-items: stretch;
	gap: 14px;
}

body#phpbb.section-index .vpark-story-card {
	min-height: 292px;
	grid-template-rows: 120px 1fr;
}

body#phpbb.section-index .vpark-story-card__image {
	height: 120px;
}

body#phpbb.section-index .vpark-story-card__body {
	min-height: 172px;
	padding: 16px;
	display: flex;
	flex-direction: column;
}

body#phpbb.section-index .vpark-story-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.36;
}

body#phpbb.section-index .vpark-story-card p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: rgba(255, 253, 233, 0.62);
}

body#phpbb.section-index .vpark-discussion-section {
	padding: 16px 17px;
}

body#phpbb.section-index .vpark-discussion-section .vpark-portal-section-head {
	margin-bottom: 9px;
	padding-bottom: 9px;
}

body#phpbb.section-index .vpark-discussion-section .vpark-portal-section-head h2 {
	font-size: 24px;
}

body#phpbb.section-index .vpark-discussion-list {
	max-height: 440px;
	padding-right: 4px;
}

body#phpbb.section-index .vpark-discussion-card {
	padding: 11px 4px 11px 13px;
	border-bottom: 1px dotted rgba(181, 88, 41, 0.52);
}

body#phpbb.section-index .vpark-discussion-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.35;
}

body#phpbb.section-index .vpark-discussion-card p {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 5px;
	font-size: 12.4px;
}

body#phpbb.section-index .vpark-discussion-card .vpark-story-meta {
	padding-top: 6px;
	font-size: 11px;
}

@media (min-width: 1181px) {
	body#phpbb.section-index #nav-main {
		flex-wrap: nowrap;
	}
}

@media (max-width: 960px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: clamp(430px, 58vh, 510px);
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		padding: 24px 18px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		grid-template-rows: repeat(2, minmax(90px, auto)) !important;
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 90px;
		max-width: none;
	}

	body#phpbb.section-index .vpark-extra-forum-panel__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body#phpbb.section-index .vpark-portal-shell {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}

	body#phpbb.section-index .vpark-portal-hero__image {
		min-height: 240px;
	}
}

@media (max-width: 680px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: clamp(440px, 56vh, 500px);
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		padding: 22px 18px 20px;
	}

	body#phpbb.section-index #site-description {
		width: min(430px, 100%);
	}

	body#phpbb.section-index #site-description .logo {
		width: 72px;
		min-height: 72px;
	}

	body#phpbb.section-index #site-description .site_logo {
		width: 52px;
		height: 52px;
		background-size: 52px 52px;
	}

	body#phpbb.section-index #site-description h1 {
		font-size: clamp(40px, 10vw, 50px);
	}

	body#phpbb.section-index .vpark-header-forum-compact__item {
		min-height: 82px;
	}

	body#phpbb.section-index .vpark-header-forum-compact__glyph {
		width: min(44px, 66%);
		margin-bottom: 13px;
	}

	body#phpbb.section-index #page-header .navbar .inner,
	body#phpbb.section-index #page-body,
	body#phpbb.section-index #page-footer .navbar {
		width: min(100%, calc(100% - 20px));
	}

	body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
		width: min(230px, calc(100vw - 158px));
	}

	body#phpbb.section-index .vpark-nav-quick-login {
		margin-left: 0;
	}

	body#phpbb.section-index .vpark-nav-quick-login__form input {
		width: min(120px, calc(50vw - 38px));
	}
}

@media (max-width: 480px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: 600px;
	}

	body#phpbb.section-index .vpark-header-forum-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: none !important;
	}

	body#phpbb.section-index .vpark-extra-forum-panel__grid {
		grid-template-columns: 1fr;
	}
}

/* Manor Hall scenery pass: local hero background plus final balance polish. */
body#phpbb.section-index {
	--vpark-hero-bg: url("./images/editorial/vpark-hero-bg.png");
}

body#phpbb.section-index #page-header .headerbar {
	display: block;
	min-height: clamp(400px, 50vh, 470px);
	background-color: #060708;
	background-image:
		radial-gradient(circle at 70% 38%, rgba(181, 88, 41, 0.16), transparent 44%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(5, 7, 10, 0.82) 38%, rgba(0, 0, 0, 0.52) 70%, rgba(0, 0, 0, 0.9) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.86)),
		var(--vpark-hero-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

body#phpbb.section-index #page-header .headerbar::before {
	background:
		linear-gradient(90deg, rgba(255, 253, 233, 0.06) 0 1px, transparent 1px 84px),
		linear-gradient(180deg, rgba(255, 253, 233, 0.04) 0 1px, transparent 1px 84px),
		linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
	opacity: 0.64;
}

body#phpbb.section-index #page-header .headerbar > .inner {
	height: auto;
	min-height: clamp(400px, 50vh, 470px);
	padding-top: clamp(26px, 4.2vh, 38px);
	padding-bottom: clamp(22px, 3.4vh, 32px);
	top: auto;
	bottom: auto;
	gap: 9px;
}

body#phpbb.section-index #site-description {
	filter:
		drop-shadow(0 0 7px rgba(255, 255, 255, 0.42))
		drop-shadow(0 12px 26px rgba(0, 0, 0, 0.8));
}

body#phpbb.section-index #site-description .logo {
	background: rgba(4, 6, 8, 0.58);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

body#phpbb.section-index .vpark-header-forum-compact__item {
	background: rgba(13, 14, 15, 0.92);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
}

body#phpbb.section-index #page-header .navbar {
	margin-top: 0;
	background:
		linear-gradient(180deg, rgba(24, 27, 28, 0.98), rgba(10, 11, 12, 0.98)),
		rgba(10, 11, 12, 0.98);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 253, 233, 0.04);
}

body#phpbb.section-index .vpark-portal-hero {
	grid-template-columns: minmax(0, 56%) minmax(0, 44%);
}

body#phpbb.section-index .vpark-portal-hero__image {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	aspect-ratio: auto;
}

body#phpbb.section-index .vpark-portal-hero__body {
	min-width: 0;
	overflow: visible;
}

body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .vpark-portal-hero {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
		rgba(24, 26, 25, 0.9);
}

@media (max-width: 960px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: clamp(420px, 54vh, 500px);
		background-position: 52% center;
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		min-height: clamp(420px, 54vh, 500px);
	}

	body#phpbb.section-index .vpark-portal-hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: clamp(460px, 55vh, 520px);
		background-position: 55% center;
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		min-height: clamp(460px, 55vh, 520px);
	}
}

@media (max-width: 480px) {
	body#phpbb.section-index #page-header .headerbar {
		min-height: 580px;
		background-position: 58% center;
	}

	body#phpbb.section-index #page-header .headerbar > .inner {
		min-height: 580px;
	}
}

/* Focused background refinement: keep the existing title/logo layout untouched. */
body#phpbb.section-index {
	--vpark-article-bg: url("./images/editorial/vpark-article-bg.png");
	background-color: #080a0b;
	background-image:
		linear-gradient(180deg, rgba(7, 9, 10, 0.34), rgba(18, 14, 10, 0.48)),
		radial-gradient(ellipse at center, rgba(238, 199, 127, 0.1) 0%, rgba(22, 18, 13, 0.34) 62%, rgba(3, 4, 5, 0.72) 100%),
		var(--vpark-article-bg);
	background-size: auto, auto, cover;
	background-position: center top, center top, center top;
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-attachment: scroll, scroll, fixed;
	background-blend-mode: normal, normal, normal;
}

body#phpbb.section-index .vpark-portal-section-head h2 {
	color: rgba(255, 253, 233, 0.94);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

body#phpbb.section-index .vpark-section-kicker {
	color: rgba(220, 151, 82, 0.86);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
}

body#phpbb.section-index .vpark-portal-section-head > a {
	color: rgba(239, 176, 103, 0.9);
	border-bottom-color: rgba(181, 88, 41, 0.7);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

body#phpbb.section-index #page-header .headerbar {
	background-image:
		radial-gradient(circle at 70% 38%, rgba(181, 88, 41, 0.18), transparent 46%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(5, 7, 10, 0.7) 38%, rgba(0, 0, 0, 0.34) 70%, rgba(0, 0, 0, 0.82) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.72)),
		var(--vpark-hero-bg);
}

body#phpbb.section-index #page-header .headerbar::before {
	opacity: 0.46;
}

@media (max-width: 768px) {
	body#phpbb.section-index {
		background-attachment: scroll, scroll, scroll;
		background-position: center top, center top, center top;
	}
}

/* Site-wide scheme selector and theme layer. Default intentionally preserves the approved current design. */
:root {
	--vpark-page-bg: #080a0b;
	--vpark-page-bg-image: none;
	--vpark-page-overlay: linear-gradient(180deg, rgba(8, 10, 11, 0.4), rgba(18, 14, 10, 0.54));
	--vpark-surface: rgba(24, 26, 25, 0.9);
	--vpark-surface-strong: rgba(12, 14, 15, 0.96);
	--vpark-text: rgba(255, 253, 233, 0.94);
	--vpark-text-muted: rgba(255, 253, 233, 0.64);
	--vpark-border: rgba(181, 88, 41, 0.62);
	--vpark-accent: #dc9752;
	--vpark-accent-soft: rgba(220, 151, 82, 0.2);
	--vpark-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
	--vpark-input-bg: rgba(0, 0, 0, 0.38);
	--vpark-theme-control-bg:
		linear-gradient(180deg, rgba(255, 253, 233, 0.08), rgba(255, 253, 233, 0.02)),
		rgba(15, 17, 18, 0.9);
	--vpark-theme-menu-bg:
		linear-gradient(180deg, rgba(255, 253, 233, 0.055), rgba(255, 253, 233, 0.012)),
		rgba(12, 13, 14, 0.98);
	--vpark-theme-option-color: rgba(255, 253, 233, 0.9);
	--vpark-theme-option-muted: rgba(255, 253, 233, 0.56);
	--vpark-page-bg-size: auto, auto, cover;
	--vpark-page-bg-position: center top, center top, center center;
}

.vpark-nav-theme {
	position: relative;
	z-index: 120;
}

.vpark-theme-selector {
	position: relative;
	display: flex;
	align-items: center;
}

.vpark-theme-selector__button {
	min-height: 32px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 11px;
	border: 1px solid rgba(181, 88, 41, 0.7);
	border-radius: 0 12px 0 0;
	background: var(--vpark-theme-control-bg);
	color: var(--vpark-theme-option-color);
	font: inherit;
	line-height: 30px;
	box-shadow: inset 0 1px 0 rgba(255, 253, 233, 0.08);
	cursor: pointer;
}

.vpark-theme-selector__button:hover,
.vpark-theme-selector__button:focus-visible,
.vpark-theme-selector.is-open .vpark-theme-selector__button {
	border-color: rgba(220, 151, 82, 0.92);
	color: #fffdf0;
	outline: 0;
	box-shadow: 0 0 0 2px rgba(220, 151, 82, 0.22), inset 0 1px 0 rgba(255, 253, 233, 0.12);
}

.vpark-theme-selector__icon {
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--vpark-accent);
}

.vpark-theme-selector__label {
	max-width: 5.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
}

.vpark-theme-selector__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: min(352px, calc(100vw - 24px));
	max-height: min(70vh, 560px);
	overflow: auto;
	padding: 8px;
	border: 1px solid rgba(181, 88, 41, 0.72);
	border-radius: 8px;
	background: var(--vpark-theme-menu-bg);
	box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 1400;
}

.vpark-theme-selector__menu[hidden] {
	display: none;
}

.vpark-theme-selector__option {
	width: 100%;
	min-height: 48px;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 10px;
	padding: 7px 9px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: var(--vpark-theme-option-color);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.vpark-theme-selector__option:hover,
.vpark-theme-selector__option:focus-visible {
	border-color: rgba(220, 151, 82, 0.62);
	background: rgba(220, 151, 82, 0.12);
	outline: 0;
}

.vpark-theme-selector__option[aria-checked="true"] {
	background: rgba(220, 151, 82, 0.16);
	color: #fffdf0;
}

.vpark-theme-selector__option .fa-check {
	opacity: 0;
	color: var(--vpark-accent);
}

.vpark-theme-selector__option[aria-checked="true"] .fa-check {
	opacity: 1;
}

.vpark-theme-selector__option strong,
.vpark-theme-selector__option small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vpark-theme-selector__option strong {
	font-size: 13.5px;
	line-height: 1.25;
}

.vpark-theme-selector__option small {
	margin-top: 2px;
	color: var(--vpark-theme-option-muted);
	font-size: 11px;
	line-height: 1.2;
}

.vpark-theme-selector__swatch {
	width: 42px;
	height: 30px;
	border: 1px solid rgba(255, 253, 233, 0.24);
	border-radius: 4px;
	background-color: #111;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.vpark-theme-selector__swatch--default {
	background: linear-gradient(135deg, #0b0d0f, #b55829 50%, #e9dcc2);
}

.vpark-theme-selector__swatch--system {
	background: linear-gradient(90deg, #f7efe0 0 50%, #0a0d10 50% 100%);
}

.vpark-theme-selector__swatch--dark {
	background: linear-gradient(135deg, #050607, #1c1a16 58%, #b55829);
}

.vpark-theme-selector__swatch--light {
	background: linear-gradient(135deg, #fff8ea, #e0cda7 58%, #8d4d2e);
}

.vpark-theme-selector__swatch--carnaby { background-image: url("./images/schemes/scheme-carnaby.webp"); }
.vpark-theme-selector__swatch--clinic { background-image: url("./images/schemes/scheme-clinic.webp"); }
.vpark-theme-selector__swatch--inside-suitcase-day { background-image: url("./images/schemes/scheme-inside-suitcase-day.webp"); }
.vpark-theme-selector__swatch--lighthouse-hill { background-image: url("./images/schemes/scheme-lighthouse-hill.webp"); }
.vpark-theme-selector__swatch--login-scene { background-image: url("./images/schemes/scheme-login-scene.webp"); }
.vpark-theme-selector__swatch--secession-building { background-image: url("./images/schemes/scheme-secession-building.webp"); }
.vpark-theme-selector__swatch--ring-road { background-image: url("./images/schemes/scheme-ring-road.webp"); }
.vpark-theme-selector__swatch--jazz-age { background-image: url("./images/schemes/scheme-jazz-age.webp"); }
.vpark-theme-selector__swatch--zhu-rooftops { background-image: url("./images/schemes/scheme-zhu-rooftops.webp"); }
.vpark-theme-selector__swatch--zhu-street { background-image: url("./images/schemes/scheme-zhu-street.webp"); }
.vpark-theme-selector__swatch--paris-streets { background-image: url("./images/schemes/scheme-paris-streets.webp"); }

body#phpbb.section-index #nav-main > li.rightside.vpark-nav-theme {
	display: list-item !important;
}

body#phpbb.section-index .vpark-nav-theme {
	margin-left: auto;
}

body#phpbb.section-index .vpark-nav-quick-login {
	margin-left: 0;
}

body#phpbb.section-index #nav-main {
	gap: 7px 8px;
}

body#phpbb.section-index .vpark-theme-selector__button {
	width: 34px;
	padding: 0;
	justify-content: center;
}

body#phpbb.section-index .vpark-theme-selector__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

body#phpbb.section-index .vpark-theme-selector__menu {
	top: auto;
	bottom: calc(100% + 8px);
	max-height: min(45vh, 320px);
}

body#phpbb.section-index .vpark-nav-search-form input[type="search"] {
	width: clamp(156px, 15vw, 212px);
}

body#phpbb.section-index .vpark-nav-quick-login__form input {
	width: 92px;
}

@media (max-width: 768px) {
	.vpark-nav-theme {
		width: auto;
	}

	.vpark-theme-selector__label {
		max-width: 4em;
	}

	.vpark-theme-selector__menu,
	body#phpbb.section-index .vpark-theme-selector__menu {
		position: fixed;
		top: 52px;
		bottom: auto;
		right: 10px;
		left: 10px;
		width: auto;
		max-height: calc(100vh - 70px);
	}
}

@media (max-width: 520px) {
	.vpark-theme-selector__button {
		width: 34px;
		padding: 0;
		justify-content: center;
	}

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

	.vpark-theme-selector__option {
		grid-template-columns: 38px minmax(0, 1fr) 20px;
	}
}

/* Theme correction: the title/hero background is fixed; themes only change the content scenery. */
:root {
	--vpark-hero-bg-image: url("./images/editorial/vpark-hero-bg.png");
	--vpark-hero-overlay:
		radial-gradient(circle at 70% 38%, rgba(181, 88, 41, 0.18), transparent 46%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(5, 7, 10, 0.7) 38%, rgba(0, 0, 0, 0.34) 70%, rgba(0, 0, 0, 0.82) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.72));
	--vpark-content-bg-color: #080a0b;
	--vpark-content-bg-image: url("./images/editorial/vpark-article-bg.png");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-size: cover;
	--vpark-content-overlay-position: center center;
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
}

html[data-vpark-theme="dark"] {
	--vpark-content-bg-color: #080a0b;
	--vpark-content-bg-image: url("./images/editorial/vpark-article-bg.png");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
}

html[data-vpark-theme="light"] {
	--vpark-page-bg: #e9deca;
	--vpark-content-bg-color: #e9deca;
	--vpark-content-bg-image: url("./images/editorial/vpark-article-bg.png");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(248, 243, 231, 0.9);
	--vpark-surface-strong: rgba(255, 252, 243, 0.96);
	--vpark-text: #17212b;
	--vpark-text-muted: rgba(34, 46, 54, 0.72);
	--vpark-border: rgba(112, 99, 58, 0.44);
	--vpark-accent: #68784d;
	--vpark-accent-soft: rgba(104, 120, 77, 0.16);
	--vpark-shadow: 0 18px 42px rgba(71, 58, 35, 0.18);
	--vpark-input-bg: rgba(255, 252, 244, 0.9);
	--vpark-theme-control-bg:
		linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
		rgba(255, 248, 234, 0.94);
	--vpark-theme-menu-bg:
		linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22)),
		rgba(255, 248, 234, 0.98);
	--vpark-theme-option-color: #17212b;
	--vpark-theme-option-muted: rgba(34, 46, 54, 0.65);
}

html[data-vpark-theme="carnaby"] {
	--vpark-content-bg-color: #0d1718;
	--vpark-content-bg-image: url("./images/schemes/scheme-carnaby.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(18, 18, 17, 0.9);
	--vpark-surface-strong: rgba(10, 10, 9, 0.96);
	--vpark-border: rgba(89, 145, 137, 0.56);
	--vpark-accent: #8ec7bd;
	--vpark-accent-soft: rgba(92, 151, 148, 0.2);
}

html[data-vpark-theme="clinic"] {
	--vpark-content-bg-color: #d6c3a4;
	--vpark-content-bg-image: url("./images/schemes/scheme-clinic.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(38, 28, 22, 0.9);
	--vpark-surface-strong: rgba(20, 14, 11, 0.96);
	--vpark-text: rgba(255, 250, 235, 0.96);
	--vpark-text-muted: rgba(255, 245, 221, 0.7);
	--vpark-border: rgba(170, 103, 76, 0.62);
	--vpark-accent: #d28a72;
	--vpark-accent-soft: rgba(170, 70, 57, 0.2);
}

html[data-vpark-theme="inside-suitcase-day"] {
	--vpark-content-bg-color: #0b1712;
	--vpark-content-bg-image: url("./images/schemes/scheme-inside-suitcase-day.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(18, 34, 27, 0.9);
	--vpark-surface-strong: rgba(9, 20, 16, 0.96);
	--vpark-text: rgba(250, 247, 226, 0.96);
	--vpark-text-muted: rgba(235, 237, 207, 0.68);
	--vpark-border: rgba(145, 122, 75, 0.68);
	--vpark-accent: #a9c678;
	--vpark-accent-soft: rgba(121, 154, 88, 0.2);
}

html[data-vpark-theme="lighthouse-hill"] {
	--vpark-content-bg-color: #d9d2bc;
	--vpark-content-bg-image: url("./images/schemes/scheme-lighthouse-hill.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center 40%;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(248, 243, 231, 0.9);
	--vpark-surface-strong: rgba(255, 252, 243, 0.96);
	--vpark-text: #17212b;
	--vpark-text-muted: rgba(34, 46, 54, 0.74);
	--vpark-border: rgba(142, 112, 57, 0.48);
	--vpark-accent: #8d6d32;
	--vpark-accent-soft: rgba(141, 109, 50, 0.16);
}

html[data-vpark-theme="login-scene"] {
	--vpark-content-bg-color: #090a0c;
	--vpark-content-bg-image: url("./images/schemes/scheme-login-scene.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(28, 21, 23, 0.9);
	--vpark-surface-strong: rgba(13, 10, 12, 0.96);
	--vpark-border: rgba(186, 116, 69, 0.68);
	--vpark-accent: #cc8a58;
	--vpark-accent-soft: rgba(136, 45, 50, 0.22);
}

html[data-vpark-theme="secession-building"] {
	--vpark-content-bg-color: #111417;
	--vpark-content-bg-image: url("./images/schemes/scheme-secession-building.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-position: center 45%;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(29, 31, 32, 0.9);
	--vpark-surface-strong: rgba(14, 16, 17, 0.96);
	--vpark-border: rgba(190, 161, 92, 0.58);
	--vpark-accent: #d3b76e;
	--vpark-accent-soft: rgba(190, 161, 92, 0.18);
}

html[data-vpark-theme="ring-road"] {
	--vpark-content-bg-color: #18130d;
	--vpark-content-bg-image: url("./images/schemes/scheme-ring-road.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(248, 243, 231, 0.9);
	--vpark-surface-strong: rgba(255, 252, 243, 0.96);
	--vpark-text: #17212b;
	--vpark-text-muted: rgba(34, 46, 54, 0.74);
	--vpark-border: rgba(168, 123, 73, 0.5);
	--vpark-accent: #8d623b;
	--vpark-accent-soft: rgba(113, 78, 43, 0.16);
}

html[data-vpark-theme="jazz-age"] {
	--vpark-content-bg-color: #090817;
	--vpark-content-bg-image: url("./images/schemes/scheme-jazz-age.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(22, 19, 36, 0.9);
	--vpark-surface-strong: rgba(9, 8, 19, 0.96);
	--vpark-border: rgba(222, 151, 82, 0.66);
	--vpark-accent: #f0b25f;
	--vpark-accent-soft: rgba(124, 91, 168, 0.22);
}

html[data-vpark-theme="zhu-rooftops"] {
	--vpark-page-bg: #e7dcc7;
	--vpark-content-bg-color: #e7dcc7;
	--vpark-content-bg-image: url("./images/schemes/scheme-zhu-rooftops.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center 35%;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(248, 243, 231, 0.9);
	--vpark-surface-strong: rgba(255, 252, 243, 0.96);
	--vpark-text: #17212b;
	--vpark-text-muted: rgba(34, 46, 54, 0.74);
	--vpark-border: rgba(113, 105, 67, 0.46);
	--vpark-accent: #5f7658;
	--vpark-accent-soft: rgba(95, 118, 88, 0.16);
	--vpark-shadow: 0 18px 42px rgba(71, 58, 35, 0.18);
	--vpark-input-bg: rgba(255, 252, 244, 0.9);
}

html[data-vpark-theme="zhu-street"] {
	--vpark-page-bg: #102022;
	--vpark-content-bg-color: #102022;
	--vpark-content-bg-image: url("./images/schemes/scheme-zhu-street.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(20, 34, 34, 0.9);
	--vpark-surface-strong: rgba(10, 19, 20, 0.96);
	--vpark-text: rgba(255, 253, 233, 0.95);
	--vpark-text-muted: rgba(255, 253, 233, 0.68);
	--vpark-border: rgba(175, 112, 78, 0.62);
	--vpark-accent: #c68d68;
	--vpark-accent-soft: rgba(172, 82, 58, 0.2);
}

html[data-vpark-theme="paris-streets"] {
	--vpark-content-bg-color: #d8d1bf;
	--vpark-content-bg-image: url("./images/schemes/scheme-paris-streets.webp");
	--vpark-content-overlay: linear-gradient(180deg, rgba(255, 248, 232, 0.04), rgba(255, 248, 232, 0.1));
	--vpark-content-bg-position: center center;
	--vpark-content-bg-filter: none;
	--vpark-surface: rgba(248, 243, 231, 0.9);
	--vpark-surface-strong: rgba(255, 252, 243, 0.96);
	--vpark-text: #17212b;
	--vpark-text-muted: rgba(34, 46, 54, 0.74);
	--vpark-border: rgba(154, 118, 74, 0.58);
	--vpark-accent: #7d6b44;
	--vpark-accent-soft: rgba(82, 111, 131, 0.18);
}

body#phpbb.section-index {
	background-color: var(--vpark-content-bg-color);
	background-image: none;
	background-attachment: scroll;
}

body#phpbb.section-index #page-header .headerbar {
	background-color: #060708;
	background-image:
		var(--vpark-hero-overlay),
		var(--vpark-hero-bg-image);
	background-size: auto, auto, auto, cover;
	background-position: center top, center top, center top, center center;
	background-repeat: no-repeat;
}

body#phpbb.section-index #page-body {
	position: relative;
	isolation: isolate;
	background: transparent;
}

body#phpbb.section-index #page-body::before {
	content: "";
	position: absolute;
	inset: 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	z-index: -1;
	pointer-events: none;
	background-color: var(--vpark-content-bg-color);
	background-image:
		var(--vpark-content-overlay),
		var(--vpark-content-bg-image);
	background-size:
		cover,
		var(--vpark-content-bg-size);
	background-position:
		var(--vpark-content-overlay-position),
		var(--vpark-content-bg-position);
	background-repeat: no-repeat;
	filter: var(--vpark-content-bg-filter);
}

body#phpbb.section-index #page-body > * {
	position: relative;
	z-index: 1;
}

body#phpbb.section-index .vpark-sponsored-strip,
body#phpbb.section-index .vpark-breaking-news,
body#phpbb.section-index .vpark-portal-hero,
body#phpbb.section-index .vpark-story-card,
body#phpbb.section-index .vpark-discussion-section,
body#phpbb.section-index .stat-block {
	border-color: var(--vpark-border);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
		var(--vpark-surface);
	color: var(--vpark-text);
	box-shadow: var(--vpark-shadow);
}

body#phpbb.section-index .vpark-portal-section-head h2,
body#phpbb.section-index .vpark-story-card h3,
body#phpbb.section-index .vpark-discussion-card h3 {
	color: var(--vpark-text);
}

body#phpbb.section-index .vpark-section-kicker,
body#phpbb.section-index .vpark-story-kicker {
	color: var(--vpark-accent);
}

body#phpbb.section-index .vpark-story-card p,
body#phpbb.section-index .vpark-discussion-card p,
body#phpbb.section-index .vpark-story-meta {
	color: var(--vpark-text-muted);
}

@media (prefers-reduced-motion: reduce) {
	.vpark-theme-selector__button,
	.vpark-theme-selector__option {
		transition: none;
	}
}
