:root {
	color-scheme: dark;
	--lp-bg: #0c1120;
	--lp-surface: #141a2b;
	--lp-surface-2: #1c2437;
	--lp-line: #28324a;
	--lp-text: #e8ecf6;
	--lp-muted: #98a3bb;
	--lp-red: #e4525f;
	--lp-brand: #4a7de0;
	/* Text-safe brand: same hue, lightened to keep AA contrast on the darker surfaces. */
	--lp-brand-ink: #5b8cf0;
	--lp-green: #4a9c6d;
	--lp-flag-red: #ce2939;
	--lp-flag-white: #f2f4f8;
	/* Dot grid and ambient glow. Kept very low contrast so text stays readable. */
	--lp-pattern-color: rgb(233 236 244 / 6%);
	--lp-radius: 14px;
	/* Width of the page shell: header, hero, card grids and footer.
	   Article and comment templates override this with their own,
	   narrower limit, so widening it never hurts reading length. */
	--lp-shell: 1320px;
	--lp-display: "Space Grotesk", sans-serif;
	--lp-body: "IBM Plex Sans", sans-serif;
	--lp-mono: "Archivo", sans-serif;
}

html[data-theme="light"] {
	color-scheme: light;
	--lp-bg: #f2f5fb;
	--lp-surface: #ffffff;
	--lp-surface-2: #e6ecf7;
	--lp-line: #cbd6e8;
	--lp-text: #141b2b;
	--lp-muted: #5f6b82;
	--lp-red: #c84652;
	--lp-brand: #2a5cc0;
	--lp-brand-ink: #2a5cc0;
	--lp-green: #2d7e56;
	--lp-flag-red: #c84652;
	--lp-flag-white: #ffffff;
	--lp-pattern-color: rgb(20 27 43 / 7%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lp-bg);
	color: var(--lp-text);
	font: 16px/1.6 var(--lp-body);
}

/*
 * Two decorative background layers, both CSS-only (no image requests):
 * a very slow ambient glow and a static dot grid. They sit behind all
 * content, so the cards and the reading columns stay fully readable.
 */
body::before,
body::after {
	content: "";
	position: fixed;
	pointer-events: none;
}

/* Ambient glow: brand blue in the top-left, green in the bottom-right. */
body::before {
	inset: -8% -6%;
	z-index: -2;
	background-image:
		radial-gradient(60% 50% at 12% 0%, color-mix(in srgb, var(--lp-brand) 14%, transparent), transparent 70%),
		radial-gradient(50% 40% at 90% 100%, color-mix(in srgb, var(--lp-green) 10%, transparent), transparent 70%);
	animation: lp-ambient-drift 38s ease-in-out infinite alternate;
}

/* Dot grid, 22 px, barely-there contrast. */
body::after {
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(circle, var(--lp-pattern-color) 1px, transparent 1.25px);
	background-size: 22px 22px;
}

/* Transform-only drift, so the browser can composite it instead of repainting. */
@keyframes lp-ambient-drift {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		transform: translate3d(1.5%, 1%, 0) scale(1.03);
	}
}

@media print {
	body::before,
	body::after { display: none; }
}

body.lp-modal-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:focus-visible {
	outline: 2px solid var(--lp-red);
	outline-offset: 3px;
}

/*
 * Skip link: the first thing a keyboard user reaches, letting them jump past the
 * header instead of tabbing through the logo, both toggles, the support button
 * and the menu on every page.
 *
 * It is parked off-screen rather than hidden with `clip`, so it occupies no part
 * of the viewport and cannot intercept taps while invisible. The z-index clears
 * the sticky header (z-index: 50).
 */
.lp-skip-link {
	position: fixed;
	top: -200px;
	left: 16px;
	z-index: 200;
	padding: 12px 18px;
	border: 1px solid var(--lp-line);
	border-radius: 8px;
	background: var(--lp-surface);
	color: var(--lp-text);
	font: 500 0.95rem/1 var(--lp-body);
	text-decoration: none;
	box-shadow: 0 12px 30px rgb(0 0 0 / 45%);
}

.lp-skip-link:focus {
	top: 16px;
}

/* The admin bar is fixed over the top of the page for logged-in visitors. */
.admin-bar .lp-skip-link:focus {
	top: 48px;
}

/*
 * #main-content only carries tabindex="-1" so the skip link can move focus into
 * it; it is not a real control, so it should not draw a focus ring of its own.
 */
#main-content:focus {
	outline: none;
}

.lp-tricolor {
	height: 6px;
	background: linear-gradient(180deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
}

.lp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	overflow: visible;
	background: rgb(12 17 32 / 97%);
	border-bottom: 1px solid var(--lp-line);
}

.admin-bar .lp-header {
	top: 32px;
}

.lp-nav {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: var(--lp-shell);
	min-height: 70px;
	margin: 0 auto;
	padding: 0 24px;
}

.lp-logo {
	display: flex;
	align-items: center;
	align-self: stretch;
	justify-content: center;
	gap: 12px;
	flex: 0 0 auto;
	overflow: visible;
}

/* Wordmark next to the mark; hidden once the header gets tight. */
.lp-logo__word {
	color: var(--lp-text);
	font: 600 14px/1 var(--lp-display);
	letter-spacing: 0.14em;
	white-space: nowrap;
}

.lp-logo__word span {
	color: var(--lp-muted);
}

/* Flat LP monogram: inline SVG, so it scales without an extra request. */
.lp-logo__mark {
	display: block;
	width: 56px;
	height: 56px;
	transition: transform 240ms cubic-bezier(.22, 1.2, .36, 1), filter 240ms ease;
}

.lp-logo__mark svg,
.lp-logo__mark img {
	display: block;
	width: 100%;
	height: 100%;
}

.lp-logo__mark img {
	object-fit: contain;
}

.lp-logo__paths {
	fill: none;
	stroke: url(#lp-logo-gradient);
	stroke-width: 14;
	stroke-linecap: round;
	stroke-linejoin: round;
}

html[data-theme="light"] .lp-logo__paths {
	stroke: url(#lp-logo-gradient-light);
}

.lp-logo:focus-visible {
	outline: 2px solid var(--lp-brand);
	outline-offset: 6px;
	border-radius: 10px;
}

@media (hover: hover) and (pointer: fine) {
	.lp-logo:hover .lp-logo__mark {
		transform: translateY(-1px) scale(1.04);
		filter: drop-shadow(0 6px 14px rgb(74 125 224 / 28%));
	}
}

@media (max-width: 1120px) {
	.lp-logo__word { display: none; }
}

@media (max-width: 760px) {
	.lp-logo__mark { width: 44px; height: 44px; }
}

.lp-nav__menu {
	display: flex;
	justify-content: center;
	flex: 1;
	min-width: 0;
}

.lp-nav__links {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0 clamp(8px, 2vw, 32px);
	list-style: none;
}

.lp-footer__links {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-nav__links li {
	display: flex;
	align-items: center;
}

/* Enhanced soft lift. Only the face moves; the native link remains stable. */
.lp-nav__links a {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0;
	border-radius: 11px;
	background: transparent;
	color: var(--lp-muted);
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}
.lp-nav__links .current-menu-item > a { color: var(--lp-text); }
.lp-nav__face {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 13px 32px;
	border: 1px solid transparent;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
	transition: transform 420ms cubic-bezier(.2,1.65,.35,1), background 240ms, border-color 240ms, box-shadow 240ms;
}
.lp-nav__shadow {
	position: absolute;
	inset: 10px 10px 0;
	z-index: -1;
	border-radius: 11px;
	background: rgb(0 0 0 / 45%);
	filter: blur(8px);
	opacity: 0;
	transform: scale(.8);
	transition: opacity 280ms, transform 420ms;
	pointer-events: none;
}
html[data-theme="light"] .lp-nav__shadow { background: rgb(23 32 45 / 22%); }
.lp-nav__label { transition: transform 420ms cubic-bezier(.2,1.65,.35,1); }
.lp-nav__icon {
	position: absolute;
	right: 8px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	border-radius: 8px;
	background: var(--lp-surface-2);
	color: var(--lp-brand-ink);
	pointer-events: none;
	opacity: 0;
	transform: translate(14px,-20%) scale(.3) rotate(-22deg);
	transition: transform 420ms cubic-bezier(.2,1.65,.35,1), opacity 180ms;
}
.lp-nav__icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lp-nav__shine {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg,transparent 25%,rgb(193 231 255 / 14%) 48%,transparent 70%);
	transform: translateX(-125%);
}
html[data-theme="light"] .lp-nav__shine { background: linear-gradient(105deg,transparent 25%,rgb(255 255 255 / 75%) 48%,transparent 70%); }
.lp-nav__links a:focus-visible { outline-offset: 7px; }
.lp-nav__links a:focus-visible .lp-nav__face,
.lp-nav__links .current-menu-item > a .lp-nav__face {
	background: var(--lp-surface);
	border-color: var(--lp-line);
}
.lp-nav__links a:focus-visible .lp-nav__label,
.lp-nav__links .current-menu-item > a .lp-nav__label { transform: translateX(-11px); }
.lp-nav__links a:focus-visible .lp-nav__icon,
.lp-nav__links .current-menu-item > a .lp-nav__icon { opacity: 1; transform: translate(0,-50%) scale(1); }
@media (hover: hover) and (pointer: fine) {
	.lp-nav__links a:hover .lp-nav__face,
	.lp-nav__links a:focus-visible .lp-nav__face {
		transform: translateY(-7px);
		background: var(--lp-surface);
		border-color: var(--lp-line);
		box-shadow: 0 4px 0 var(--lp-surface-2), inset 0 1px 0 rgb(142 214 248 / 12%);
	}
	.lp-nav__links a:is(:hover,:focus-visible) .lp-nav__shadow { opacity: 1; transform: scale(1.06); }
	.lp-nav__links a:hover .lp-nav__label { transform: translateX(-11px); }
	.lp-nav__links a:hover .lp-nav__icon { opacity: 1; transform: translate(0,-50%) scale(1); transition-delay: 55ms; }
	.lp-nav__links a:is(:hover,:focus-visible) .lp-nav__shine { animation: lp-nav-satin-sweep 650ms ease-out both; }
	.lp-nav__links a:active .lp-nav__face { transform: translateY(-1px) scale(.98); box-shadow: 0 1px 0 var(--lp-line); transition-duration: 90ms; }
}
@keyframes lp-nav-satin-sweep { to { transform: translateX(125%); } }
@media (hover: none) {
	.lp-nav__links .lp-nav__icon { opacity: 1; transform: translate(0,-50%) scale(1); }
	.lp-nav__links .lp-nav__label { transform: translateX(-11px); }
}
.lp-nav__support {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 8px 18px;
	border-radius: 8px;
	background: var(--lp-red);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.lp-nav__support:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgb(228 82 95 / 35%);
}

.lp-menu-button {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 8px;
	background: transparent;
	color: var(--lp-text);
	cursor: pointer;
}

.lp-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 8px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	cursor: pointer;
	transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.lp-theme-toggle:hover {
	border-color: var(--lp-muted);
	transform: translateY(-1px);
}

.lp-theme-toggle svg {
	display: block;
}

/* Language switch: same footprint as the theme toggle, but shows the code of
   the language it switches to rather than an icon. */
.lp-lang-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 8px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font: 500 0.82rem/1 var(--lp-mono);
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.lp-lang-toggle:hover {
	border-color: var(--lp-muted);
	transform: translateY(-1px);
}

/*
 * Show exactly one icon: the sun in dark mode, the moon in light mode — each
 * one previews the theme the button switches to.
 *
 * These selectors deliberately repeat `.lp-theme-toggle svg`. A bare class like
 * `.lp-theme-toggle__moon` loses to the `.lp-theme-toggle svg { display: block }`
 * rule above on specificity, which left both icons visible in dark mode.
 */
.lp-theme-toggle svg.lp-theme-toggle__moon,
html[data-theme="light"] .lp-theme-toggle svg.lp-theme-toggle__sun {
	display: none;
}

html[data-theme="light"] .lp-theme-toggle svg.lp-theme-toggle__moon {
	display: block;
}

.lp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 48px;
	align-items: center;
	max-width: var(--lp-shell);
	margin: 0 auto;
	padding: 96px 24px 72px;
}

.lp-eyebrow {
	margin: 0 0 20px;
	color: var(--lp-muted);
	font: 0.86rem/1.4 var(--lp-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lp-hero h1,
.lp-page-head h1,
.lp-project-single h1,
.lp-article h1,
.lp-not-found h1 {
	margin: 0;
	font-family: var(--lp-display);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.lp-hero h1 {
	max-width: 820px;
	font-size: clamp(2.5rem, 6vw, 4.4rem);
	line-height: 1.05;
}

.lp-hero h1 span {
	color: var(--lp-red);
}

.lp-hero__stats {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	margin-top: 56px;
}

.lp-hero__stats div {
	display: grid;
}

.lp-hero__stats strong {
	font: 700 2rem/1.2 var(--lp-display);
	letter-spacing: -0.02em;
}

.lp-hero__stats span {
	color: var(--lp-muted);
	font-size: 0.85rem;
}

/*
 * Unified statistics strip. Each column reads as one phrase: a caption line
 * ("Több mint" / "2009 óta") above the number with its label on the same
 * baseline — "Több mint / 8 hivatalos magyarítás".
 */
.lp-hero__stats.lp-hero__stats--modern {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	padding: 18px 8px;
	border: 1px solid var(--lp-line);
	border-radius: 14px;
	background: linear-gradient(110deg, rgb(74 125 224 / 12%), transparent 65%), var(--lp-surface);
}
.lp-hero__stats--modern > div {
	display: grid;
	grid-template-columns: auto minmax(0, auto);
	grid-template-rows: auto auto;
	justify-content: center;
	align-content: start;
	align-items: baseline;
	column-gap: 9px;
	min-width: 0;
	padding: 2px 16px;
	border-left: 1px solid var(--lp-line);
}
.lp-hero__stats--modern > div:first-child { border-left-color: transparent; }
.lp-hero__stats--modern span.lp-stat-prefix {
	grid-column: 1 / -1;
	grid-row: 1;
	min-height: 1.4em;
	margin: 0 0 3px;
	color: var(--lp-brand-ink);
	font: 500 11px/1.4 var(--lp-mono);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.lp-hero__stats--modern strong {
	grid-column: 1;
	grid-row: 2;
	font: 600 38px/1 var(--lp-display);
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.lp-hero__stats--modern span.lp-stat-label {
	grid-column: 2;
	grid-row: 2;
	color: var(--lp-muted);
	font-size: 14px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
/* Too narrow for number and label side by side: stack them, centred. */
@media (max-width: 600px) {
	.lp-hero__stats.lp-hero__stats--modern { padding: 14px 4px; }
	.lp-hero__stats--modern > div { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 0 6px; text-align: center; }
	.lp-hero__stats--modern span.lp-stat-prefix { margin-bottom: 4px; font-size: 10px; letter-spacing: .04em; }
	.lp-hero__stats--modern strong { font-size: 30px; }
	.lp-hero__stats--modern span.lp-stat-label { grid-column: 1; grid-row: 3; margin-top: 4px; font-size: 12px; }
}

.lp-hero__art {
	position: relative;
	height: 440px;
}

.lp-hero-cover {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 265px;
	aspect-ratio: 460 / 215;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--lp-surface-2), #2a3044);
	box-shadow: 0 24px 50px rgb(0 0 0 / 55%);
	color: inherit;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
	animation: lp-float 14s ease-in-out infinite;
	will-change: translate;
}

.lp-hero-cover:hover {
	border-color: var(--lp-brand-ink);
	box-shadow: 0 28px 58px rgb(0 0 0 / 65%), 0 0 0 1px rgb(74 125 224 / 45%);
	filter: brightness(1.08);
}

.lp-hero-cover:focus-visible {
	outline: 3px solid var(--lp-brand);
	outline-offset: 5px;
}

.lp-hero-cover::after,
.lp-project-card__thumb::after,
.lp-post-card__thumb::after {
	position: absolute;
	inset: auto 0 0;
	height: 6px;
	background: linear-gradient(180deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
	content: "";
}

.lp-hero-cover > span {
	color: #39415a;
	font: 700 1.8rem/1 var(--lp-display);
}

.lp-hero-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lp-hero-cover--1 {
	top: 18px;
	right: 105px;
	z-index: 1;
	rotate: -6deg;
}

.lp-hero-cover--2 {
	top: 145px;
	right: 0;
	z-index: 2;
	rotate: 4deg;
	animation-delay: -4.6s;
}

.lp-hero-cover--3 {
	top: 272px;
	right: 80px;
	z-index: 3;
	rotate: -3deg;
	animation-delay: -9.3s;
}

/*
 * Uses the individual `translate` property rather than `margin-top`: margin is a
 * layout property, so animating it forced a reflow on every frame and made the
 * motion stutter. `translate` is composited on the GPU and leaves the cards'
 * `rotate` tilt untouched. The extra keyframes soften the turning points.
 */
@keyframes lp-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -5px;
	}
}

/*
 * Settle the whole group while the visitor is interacting with it: pausing only
 * the hovered card would leave its overlapping neighbours drifting underneath
 * the cursor. focus-within gives keyboard users the same behaviour.
 */
.lp-hero__art:hover .lp-hero-cover,
.lp-hero__art:focus-within .lp-hero-cover {
	animation-play-state: paused;
}

.lp-news-banner,
.lp-section,
.lp-page-head,
.lp-project-single,
.lp-article,
.lp-comments-wrap,
.lp-not-found {
	max-width: var(--lp-shell);
	margin-right: auto;
	margin-left: auto;
	padding-right: 24px;
	padding-left: 24px;
}

.lp-news-banner {
	margin-bottom: 34px;
}

.lp-news-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: 18px;
	background: var(--lp-surface);
	box-shadow: 0 24px 70px rgb(0 0 0 / 18%);
}

.lp-news-feature:not(.has-image) {
	grid-template-columns: 1fr;
}

.lp-news-feature__media {
	min-height: 340px;
	overflow: hidden;
	background: var(--lp-surface-2);
}

.lp-news-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.lp-news-feature__media:hover img {
	transform: scale(1.025);
}

.lp-news-feature__content {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	padding: 40px;
}

.lp-news-card__badge {
	display: inline-flex;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgb(228 82 95 / 14%);
	color: var(--lp-red);
	font: 0.78rem/1.5 var(--lp-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.lp-news-feature h2 {
	margin: 18px 0 14px;
	font: 700 clamp(1.75rem, 3vw, 2.7rem)/1.08 var(--lp-display);
}

.lp-news-feature__content > p {
	margin: 0;
	color: var(--lp-muted);
	font-size: 1.03rem;
	line-height: 1.7;
	text-align: left;
	text-indent: 0;
}

.lp-news-feature footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--lp-line);
}

.lp-news-feature__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	color: var(--lp-muted);
	font: 0.8rem/1.5 var(--lp-mono);
}

.lp-news-card__more,
.lp-post-card__more {
	color: var(--lp-red);
	font-weight: 600;
	white-space: nowrap;
}

.lp-section {
	padding-bottom: 96px;
}

.lp-section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 12px;
}

.lp-section__header h2,
.lp-support h2,
.lp-comments h2,
.lp-faq-dialog h2 {
	margin: 0;
	font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.2 var(--lp-display);
	letter-spacing: -0.02em;
}

.lp-section__header p {
	margin: 3px 0 0;
	color: var(--lp-muted);
	font: 0.9rem/1.5 var(--lp-mono);
}

.lp-section__lead {
	max-width: 680px;
	margin: 0 0 32px;
	color: var(--lp-muted);
}

.lp-section__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 10px;
	background: var(--lp-text);
	color: var(--lp-bg);
	font-weight: 600;
	transition: transform 150ms ease;
}

.lp-section__cta:hover {
	transform: translateY(-2px);
}

.lp-section__cta span {
	color: rgb(18 21 29 / 55%);
	font-family: var(--lp-mono);
}

.lp-home-news {
	padding-bottom: 96px;
}

.lp-home-news .lp-section__header {
	margin-bottom: 24px;
}

.lp-home-news__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.lp-home-news__card {
	display: grid;
	align-items: center;
	grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1.6fr) auto;
	gap: 24px;
	padding: 20px 24px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
}

.lp-home-news__card h3 {
	margin: 0;
	font: 600 1.18rem/1.32 var(--lp-display);
}

.lp-home-news__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--lp-muted);
	font: 0.78rem/1.5 var(--lp-mono);
}

.lp-home-news__card .lp-post-card__more {
	justify-self: end;
}

.lp-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr));
	gap: 18px;
}

.lp-project-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
	/* The archive renders every project. Skip layout/paint for off-screen
	   cards; the intrinsic size keeps the scrollbar stable. */
	content-visibility: auto;
	contain-intrinsic-size: auto 340px;
	transition: transform 180ms ease, border-color 180ms ease;
}

.lp-project-card:hover {
	transform: translateY(-4px);
	border-color: #3d4560;
}

.lp-project-card__thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 460 / 215;
	overflow: hidden;
	background-color: #0b1426;
	background-image: url("../images/cover-fallback.svg");
	background-size: cover;
	background-position: center;
}

.lp-project-card__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.lp-project-card:hover .lp-project-card__thumb img {
	transform: scale(1.045);
}

.lp-project-card__placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 22px;
	color: #f0f6ff;
	font: 700 3.1rem/1 var(--lp-display);
	letter-spacing: -0.04em;
	text-align: center;
	text-shadow: 0 2px 20px rgb(0 0 0 / 35%);
}

.lp-project-card__placeholder::before {
	content: attr(data-label);
	color: #9fc0ff;
	font: 500 0.55rem/1 var(--lp-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-shadow: none;
}

.lp-project-card__placeholder::after {
	content: attr(data-brand);
	color: #7f8ba4;
	font: 500 0.48rem/1 var(--lp-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-shadow: none;
}

.lp-project-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px 18px 20px;
}

.lp-project-card h3 {
	margin: 0;
	font: 600 1.05rem/1.3 var(--lp-display);
	letter-spacing: -0.01em;
}

.lp-project-card__genre {
	flex: 1;
	margin: 0;
	color: var(--lp-muted);
	font-size: 0.82rem;
}

.lp-project-card__updated {
	margin: 2px 0 12px;
	color: var(--lp-muted);
	font: 500 0.66rem/1.4 var(--lp-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lp-project-card__footer {
	display: grid;
	gap: 10px;
	margin-top: 6px;
}

.lp-project-card__status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 25px;
}

.lp-project-card__percent {
	color: var(--lp-muted);
	font: 0.78rem/1.4 var(--lp-mono);
}

.lp-project-card__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	min-height: 36px;
}

.lp-project-card__actions > :only-child {
	grid-column: 1 / -1;
}

.lp-project-card__actions--editions > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

/* Collaboration credit: "Közös munka" + LostProphet × Name. */
.lp-collab {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.lp-collab__label {
	color: var(--lp-muted);
	font: 500 0.62rem/1.2 var(--lp-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lp-collab__credit {
	margin: 0;
	color: var(--lp-text);
	font: 600 0.95rem/1.35 var(--lp-display);
	overflow-wrap: anywhere;
}

.lp-collab__x {
	margin: 0 0.3em;
	color: var(--lp-brand-ink);
	font-family: var(--lp-display);
	font-size: 0.95em;
	font-weight: 500;
}

.lp-collab--hero {
	margin: 6px 0 18px;
}

.lp-collab--hero .lp-collab__label {
	font-size: 0.66rem;
}

.lp-collab--hero .lp-collab__credit {
	font-size: 1.12rem;
}

/* Technical help is a supporting credit: same shape, quieter voice. */
.lp-collab--tech .lp-collab__label {
	color: var(--lp-brand-ink);
	letter-spacing: 0.12em;
}

.lp-collab--tech .lp-collab__credit {
	color: var(--lp-muted);
	font-family: var(--lp-mono);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.45;
}

.lp-collab--hero.lp-collab--tech {
	margin: 0 0 18px;
}

.lp-collab--hero + .lp-collab--hero.lp-collab--tech {
	margin-top: -12px;
}

.lp-collab--hero.lp-collab--tech .lp-collab__credit {
	font-size: 0.98rem;
}

.lp-button__label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lp-status {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 4px 10px;
	border-radius: 6px;
	font: 0.76rem/1.2 var(--lp-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.lp-status--download {
	background: rgb(74 156 109 / 15%);
	color: #6fbf8f;
}

.lp-status--official {
	background: rgb(122 144 255 / 14%);
	color: #9caeff;
}

.lp-status--wip {
	background: rgb(228 82 95 / 13%);
	color: #ef8a93;
}

.lp-status--testing {
	background: rgb(240 159 39 / 14%);
	color: #f0b64a;
}

.lp-status--available {
	background: rgb(74 156 109 / 15%);
	color: #6fbf8f;
}

.lp-status--unsupported {
	background: rgb(214 143 60 / 15%);
	color: #e0a15c;
}

.lp-status--discontinued {
	background: rgb(148 158 178 / 14%);
	color: #a7b0c2;
}

.lp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid var(--lp-line);
	border-radius: 8px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.lp-button:hover {
	transform: translateY(-1px);
}

.lp-button svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-button--download:hover,
.lp-button--primary {
	border-color: var(--lp-red);
	background: var(--lp-red);
	color: #fff;
}

.lp-button--steam {
	color: var(--lp-muted);
}

.lp-button--steam:hover,
.lp-button--ghost:hover {
	border-color: #4a526b;
	background: #2a3044;
	color: var(--lp-text);
}

.lp-button--faq {
	border-color: rgb(74 125 224 / 34%);
	background: rgb(74 125 224 / 10%);
	color: var(--lp-brand-ink);
}

.lp-button--faq > span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--lp-brand);
	color: var(--lp-bg);
	font: 700 0.76rem/1 var(--lp-mono);
}

.lp-button--faq:hover {
	border-color: rgb(74 125 224 / 62%);
	background: rgb(74 125 224 / 18%);
}

.lp-progress {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--lp-surface-2);
}

.lp-progress--small {
	height: 6px;
	margin-top: 4px;
}

.lp-progress__fill {
	position: relative;
	display: block;
	width: 0;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
	background: linear-gradient(180deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
	box-shadow: 0 0 10px rgb(206 41 57 / 35%), 0 0 10px rgb(74 156 109 / 25%);
	transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-progress__fill.is-visible {
	width: var(--progress);
}

.lp-progress__fill::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 65%) 50%, transparent 75%);
	transform: translateX(-100%);
	animation: lp-sheen 2.6s ease-in-out infinite;
	content: "";
}

@keyframes lp-sheen {
	55%, 100% { transform: translateX(100%); }
}

.lp-wip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
	gap: 16px;
}

.lp-wip-card {
	padding: 20px 22px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
}

.lp-wip-card > div:first-child {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.lp-wip-card h3 {
	margin: 0;
	font: 600 1rem/1.35 var(--lp-display);
}

.lp-wip-card > div:first-child span {
	color: var(--lp-muted);
	font: 0.9rem/1.4 var(--lp-mono);
}

.lp-wip-card p {
	margin: 10px 0 0;
	color: var(--lp-muted);
	font-size: 0.82rem;
}

.lp-support {
	position: relative;
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 56px 48px;
	border: 1px solid var(--lp-line);
	border-radius: 20px;
	background: var(--lp-surface);
}

.lp-support::before {
	position: absolute;
	inset: 0 0 auto;
	height: 6px;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(180deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
	content: "";
}

.lp-support p {
	max-width: 520px;
	margin: 12px 0 0;
	color: var(--lp-muted);
}

.lp-support__actions {
	display: flex;
	gap: 14px;
	margin-left: auto;
}

.lp-support-menu {
	position: relative;
}

.lp-support-menu__panel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 255px;
	padding-top: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	filter: drop-shadow(0 14px 30px rgb(0 0 0 / 50%));
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.lp-support-menu.is-open .lp-support-menu__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lp-support-menu__panel a {
	display: grid;
	padding: 13px 16px;
	border: 1px solid var(--lp-line);
	background: var(--lp-surface-2);
}

.lp-support-menu__panel a:first-child {
	border-radius: 12px 12px 0 0;
}

.lp-support-menu__panel a:last-child {
	border-top: 0;
	border-radius: 0 0 12px 12px;
}

.lp-support-menu__panel a:hover {
	background-color: #2a3044;
}

.lp-support-menu__panel span {
	color: var(--lp-muted);
	font-size: 0.8rem;
}

.lp-page-head {
	padding-top: 64px;
	padding-bottom: 38px;
}

.lp-page-head h1 {
	font-size: clamp(2.1rem, 5vw, 3.8rem);
	line-height: 1.08;
}

.lp-page-head p,
.lp-not-found > p {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--lp-muted);
}

.lp-page-head__desc {
	max-width: 680px;
	margin-top: 12px;
	color: var(--lp-muted);
}

.lp-page-head__desc p:last-child {
	margin-bottom: 0;
}

.lp-back {
	display: inline-flex;
	margin-bottom: 28px;
	color: var(--lp-muted);
	font-size: 0.9rem;
	font-weight: 500;
}

.lp-back:hover {
	color: var(--lp-text);
}

.lp-toolbar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.lp-search {
	position: relative;
	display: block;
	width: min(380px, 100%);
}

.lp-search svg {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--lp-muted);
	stroke-width: 2;
	transform: translateY(-50%);
}

.lp-search input {
	width: 100%;
	padding: 10px 18px 10px 42px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-surface);
	color: var(--lp-text);
}

.lp-search input:focus {
	border-color: var(--lp-muted);
	outline: 0;
}

.lp-filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.lp-filters button {
	padding: 8px 18px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-surface);
	color: var(--lp-muted);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
}

.lp-filters button:hover {
	color: var(--lp-text);
	border-color: #3b4258;
}

.lp-filters button.is-active {
	border-color: var(--lp-text);
	background: var(--lp-text);
	color: var(--lp-bg);
}

.lp-browser-count {
	margin: 0 0 0 auto;
	color: var(--lp-muted);
	font: 0.9rem/1.4 var(--lp-mono);
}

.lp-archive-sort select {
	min-width: 150px;
}

.lp-browser-count strong {
	color: var(--lp-text);
}

.lp-news-toolbar {
	padding: 18px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface-2);
}

.lp-news-toolbar .lp-search {
	width: min(340px, 100%);
}

.lp-news-filters {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.lp-news-select {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.lp-news-select > span {
	padding-left: 4px;
	color: var(--lp-muted);
	font: 0.76rem/1.3 var(--lp-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.lp-news-select select {
	min-width: 130px;
	padding: 10px 36px 10px 14px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239aa3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--lp-text);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

html[data-theme="light"] .lp-news-select select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23657186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lp-news-select select:focus {
	border-color: var(--lp-muted);
	outline: 0;
}

.lp-news-submit,
.lp-news-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid var(--lp-text);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
}

.lp-news-submit {
	background: var(--lp-text);
	color: var(--lp-bg);
	cursor: pointer;
}

.lp-news-reset {
	border-color: var(--lp-line);
	color: var(--lp-muted);
}

.lp-news-reset:hover {
	border-color: var(--lp-muted);
	color: var(--lp-text);
}

.lp-empty {
	grid-column: 1 / -1;
	padding: 52px 0;
	color: var(--lp-muted);
	text-align: center;
}

.lp-project-single {
	padding-top: 64px;
	padding-bottom: 72px;
}

.lp-project-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
	gap: 56px;
	align-items: center;
}

.lp-project-single__copy > .lp-status {
	margin-bottom: 18px;
}

.lp-project-single h1 {
	font-size: clamp(2.2rem, 6vw, 4.5rem);
	line-height: 1.02;
}

.lp-project-single__genre {
	margin: 18px 0 0;
	color: var(--lp-muted);
	font-size: 1.08rem;
}

.lp-project-single__progress {
	max-width: 620px;
	margin-top: 32px;
}

.lp-project-single__progress > div:first-child {
	display: flex;
	justify-content: space-between;
	margin-bottom: 9px;
}

.lp-project-single__progress > p {
	margin: 10px 0 0;
	color: var(--lp-muted);
}

.lp-project-single__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: min(100%, 440px);
	margin-top: 32px;
}

.lp-project-single__actions .lp-button {
	width: 100%;
	min-width: 0;
	min-height: 50px;
}

.lp-project-single__download-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: min(100%, 440px);
	margin: 14px 0 0;
}

.lp-project-single__actions > :last-child:nth-child(odd),
.lp-project-single__download-meta > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.lp-project-single__meta-item {
	display: inline-grid;
	grid-template-columns: 18px auto;
	gap: 9px;
	align-items: center;
	min-width: 0;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: rgb(255 255 255 / 3%);
}

/*
 * "Last updated" line. Deliberately quieter than the bordered meta tiles above
 * it: useful reassurance that a translation is still maintained, but not a
 * headline number like the file size or the download count.
 */
.lp-project-single__updated {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 14px 0 0;
	color: var(--lp-muted);
	font: 0.78rem/1.5 var(--lp-mono);
}

.lp-project-single__updated svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-project-single__updated time {
	color: var(--lp-text);
}

.lp-project-single__meta-item svg {
	width: 18px;
	height: 18px;
	color: var(--lp-brand-ink);
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.lp-project-single__meta-item small {
	display: block;
	margin-bottom: 1px;
	color: var(--lp-muted);
	font: 600 0.62rem/1.2 var(--lp-body);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lp-project-single__meta-item strong {
	display: block;
	color: var(--lp-text);
	font: 600 0.88rem/1.35 var(--lp-mono);
}

.lp-project-single__edition-meta {
	display: grid;
	gap: 7px;
	max-width: 620px;
	margin-top: 14px;
	color: var(--lp-muted);
	font: 0.86rem/1.5 var(--lp-mono);
}

.lp-project-single__edition-meta > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--lp-line);
}

.lp-project-single__edition-meta strong {
	color: var(--lp-text);
}

.lp-project-single__edition-stats {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.lp-project-single__edition-stats > span + span {
	padding-left: 16px;
	border-left: 1px solid var(--lp-line);
}

.lp-project-single__edition-stats small {
	color: var(--lp-muted);
	font-size: 0.65rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lp-project-single__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 460 / 215;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: 18px;
	background-color: #0b1426;
	background-image: url("../images/cover-fallback.svg");
	background-size: cover;
	background-position: center;
	box-shadow: 0 24px 54px rgb(0 0 0 / 42%);
}

.lp-project-single__image > span {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 30px;
	color: #f0f6ff;
	font: 700 clamp(3.8rem, 8vw, 5.4rem)/1 var(--lp-display);
	letter-spacing: -0.05em;
	text-align: center;
	text-shadow: 0 3px 24px rgb(0 0 0 / 38%);
}

.lp-project-single__image > span::before {
	content: attr(data-label);
	color: #9fc0ff;
	font: 500 0.66rem/1 var(--lp-mono);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-shadow: none;
}

.lp-project-single__image > span::after {
	content: attr(data-brand);
	color: #7f8ba4;
	font: 500 0.52rem/1 var(--lp-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-shadow: none;
}

.lp-project-single__image::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 6px;
	background: linear-gradient(180deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
	z-index: 2;
}

.lp-project-single__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lp-prose {
	max-width: 760px;
	margin-top: 64px;
	color: #c9d0de;
	font-size: 1.02rem;
	overflow-wrap: anywhere;
}

/* English summary above the Hungarian body on /en/ pages (inc/i18n-content.php). */
.lp-en-summary {
	max-width: 760px;
	margin-top: 56px;
	padding: 22px 24px;
	border: 1px solid var(--lp-line);
	border-left: 3px solid var(--lp-brand);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
	color: var(--lp-text);
	font-size: 1.02rem;
}

.lp-en-summary__label {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--lp-brand-ink);
	font: 600 0.78rem/1.2 var(--lp-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lp-en-summary p {
	margin: 0 0 0.75em;
}

/* Without a Hungarian-body note the summary's own last paragraph ends the box;
   its bottom margin would otherwise stack on the box padding. */
.lp-en-summary > p:last-child {
	margin-bottom: 0;
}

.lp-en-summary .lp-en-summary__note,
.lp-en-note {
	margin: 0;
	color: var(--lp-muted);
	font-size: 0.92rem;
}

.lp-en-note {
	max-width: 760px;
	margin-top: 48px;
}

.lp-en-summary + .lp-prose {
	margin-top: 40px;
}

.lp-en-note + .lp-prose {
	margin-top: 20px;
}

.lp-article {
	max-width: 808px;
	padding-top: 64px;
	padding-bottom: 32px;
}

/*
 * The article is the flexible track and fills the page shell, so the title
 * band and the cards line up with the header's logo and buttons; the sidebar
 * stays capped at 340px. (Both used to be capped at 760px + 340px, which left
 * a wide empty margin on both sides of large screens.) The text inside the
 * card may use the card's full width - see .lp-news-layout .lp-prose.
 */
.lp-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	justify-content: center;
	align-items: start;
	gap: 64px;
	max-width: var(--lp-shell);
	margin: 0 auto;
	padding: 0 24px;
}

.lp-news-layout__main {
	min-width: 0;
}

.lp-news-layout .lp-article,
.lp-news-layout .lp-comments-wrap {
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	padding-left: 0;
}

.lp-news-sidebar {
	position: sticky;
	top: 104px;
	margin-top: 28px;
	padding: 26px;
	border: 1px solid var(--lp-line);
	border-radius: 16px;
	background: var(--lp-surface);
}

.lp-news-sidebar__eyebrow {
	color: var(--lp-brand-ink);
	font: 0.78rem/1.4 var(--lp-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lp-news-sidebar h2 {
	margin: 8px 0 4px;
	font-size: 1.35rem;
}

.lp-news-sidebar__item {
	padding: 20px 0;
	border-top: 1px solid var(--lp-line);
}

.lp-news-sidebar__item:first-child {
	border-top: 0;
}

.lp-news-sidebar__item time {
	color: var(--lp-muted);
	font: 0.78rem/1.4 var(--lp-mono);
}

.lp-news-sidebar__item h3 {
	margin: 7px 0 11px;
	font-size: 1rem;
	line-height: 1.35;
}

.lp-news-sidebar__item h3 a:hover,
.lp-news-sidebar__more:hover,
.lp-news-sidebar__all:hover {
	color: var(--lp-brand-ink);
}

.lp-news-sidebar__more,
.lp-news-sidebar__all {
	color: #b8c0d0;
	font: 0.76rem/1.4 var(--lp-mono);
}

.lp-news-sidebar__all {
	display: flex;
	justify-content: space-between;
	padding-top: 18px;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-text);
	font-weight: 500;
}

.lp-article__header h1 {
	margin-top: 18px;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.08;
}

.lp-article__header > p {
	display: flex;
	gap: 18px;
	margin: 16px 0 0;
	color: var(--lp-muted);
	font: 0.88rem/1.5 var(--lp-mono);
}

/*
 * Single news post: a title band across both columns, with the flag stripe
 * along its bottom (as on the home page stats and above the header), then the
 * article, its comments and the sidebar as matching cards underneath.
 */
.lp-news-hero {
	max-width: var(--lp-shell);
	margin: 40px auto 0;
	padding: 0 24px;
}

.lp-news-hero__inner {
	position: relative;
	overflow: hidden;
	padding: 36px 44px 34px;
	border: 1px solid var(--lp-line);
	border-radius: 20px;
	background: linear-gradient(110deg, rgb(74 125 224 / 14%), transparent 60%), var(--lp-surface);
}

.lp-news-hero__inner::after {
	position: absolute;
	inset: auto 0 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lp-flag-red) 0 33.3%, var(--lp-flag-white) 33.3% 66.6%, var(--lp-green) 66.6% 100%);
	content: "";
}

/* The flag's white would vanish against the light theme's white card. */
html[data-theme="light"] .lp-news-hero__inner::after {
	background: linear-gradient(90deg, var(--lp-flag-red) 0 33.3%, #dfe5ee 33.3% 66.6%, var(--lp-green) 66.6% 100%);
}

.lp-news-hero .lp-back {
	margin-bottom: 18px;
}

.lp-news-hero h1 {
	max-width: 900px;
	margin: 16px 0 0;
	font: 700 clamp(2rem, 4.4vw, 3.3rem)/1.08 var(--lp-display);
	letter-spacing: -0.03em;
	overflow-wrap: break-word;
}

.lp-news-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 16px 0 0;
	color: var(--lp-muted);
	font: 0.88rem/1.5 var(--lp-mono);
}

.lp-news-layout {
	padding-bottom: 96px;
}

/* News list: the same band, with the search and filters moved inside it. */
.lp-news-hero__lead {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--lp-muted);
}

.lp-news-hero .lp-news-toolbar {
	margin: 26px 0 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 1px solid var(--lp-line);
	border-radius: 0;
	background: none;
}

.lp-news-list {
	padding-top: 28px;
}

.lp-news-layout .lp-article,
.lp-news-layout .lp-comments-wrap {
	border: 1px solid var(--lp-line);
	border-radius: 18px;
	background: var(--lp-surface);
}

.lp-news-layout .lp-article {
	margin-top: 28px;
	padding: 36px 40px 40px;
}

.lp-news-layout .lp-comments-wrap {
	margin-top: 24px;
	padding: 32px 40px 36px;
}

.lp-news-layout .lp-comments {
	padding-top: 0;
	border-top: 0;
}

/* The card's padding sets the line length, so the prose's own 760px cap is lifted. */
.lp-news-layout .lp-prose {
	max-width: none;
}

/* Whatever opens the card (summary box, note or the text itself) starts flush. */
.lp-news-layout .lp-article > :first-child {
	margin-top: 0;
}

/* Content images get a frame; emoji and the YouTube embed's own thumbnail do not. */
.lp-news-layout .lp-prose img:not(.emoji):not(.wp-smiley):not(.lp-yte__thumb) {
	border: 1px solid var(--lp-line);
	border-radius: 12px;
}

@media (max-width: 600px) {
	.lp-news-hero {
		margin-top: 20px;
		padding: 0 16px;
	}

	.lp-news-hero__inner {
		padding: 24px 18px 26px;
		border-radius: 14px;
	}

	.lp-news-hero h1 {
		font-size: clamp(1.7rem, 8vw, 2rem);
	}

	/* Same 16px page margin as the band, so its edges line up with the cards.
	   Doubled class: the general .lp-section margin is set later in the file. */
	.lp-news-layout,
	.lp-section.lp-news-list {
		padding-right: 16px;
		padding-left: 16px;
	}

	.lp-news-layout .lp-article {
		margin-top: 16px;
		padding: 22px 18px 26px;
		border-radius: 14px;
	}

	.lp-news-layout .lp-comments-wrap {
		padding: 22px 18px 26px;
		border-radius: 14px;
	}
}

.lp-prose > *:first-child {
	margin-top: 0;
}

/*
 * Spacing is expressed in rem rather than em so it stays constant regardless of
 * the element's own font size. With em, a large h2 received roughly three times
 * the breathing room of a paragraph, which made the vertical rhythm uneven.
 */
.lp-prose h2,
.lp-prose h3,
.lp-prose h4 {
	margin: 2.8rem 0 1rem;
	color: var(--lp-text);
	font-family: var(--lp-display);
	line-height: 1.25;
}

.lp-prose p,
.lp-prose ul,
.lp-prose ol {
	margin: 0 0 1.4rem;
}

/* An introductory line belongs with the list that follows it. */
.lp-prose p:has(+ ul),
.lp-prose p:has(+ ol) {
	margin-bottom: 0.7rem;
}

/*
 * An eyebrow line — a short label opening a section or a card — introduces the
 * heading beneath it, so the two should read as one unit rather than being
 * pushed apart by the full inter-section gap.
 */
.lp-prose p:first-child + h2,
.lp-prose p:first-child + h3,
.lp-prose p:first-child + h4 {
	margin-top: 1rem;
}

/*
 * An empty block left behind in the editor still occupies a line plus its
 * margins, which shows up as an unexplained gap on the page.
 */
.lp-prose p:empty {
	display: none;
}

.lp-prose li + li {
	margin-top: 0.5rem;
}

.lp-prose li > p {
	margin-bottom: 0.5rem;
}

.lp-prose li > p:last-child {
	margin-bottom: 0;
}

/* Nested lists sit tight against their parent item. */
.lp-prose li > ul,
.lp-prose li > ol {
	margin: 0.5rem 0 0;
}

.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)) {
	color: #9db6ff;
	font-weight: 600;
	overflow-wrap: anywhere;
	text-decoration: none;
	background-image: linear-gradient(var(--lp-brand), var(--lp-brand));
	background-position: 0 calc(100% - 1px);
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: color 180ms ease, background-size 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img))::after {
	display: inline-block;
	margin-left: 0.28em;
	content: "→";
	color: var(--lp-brand-ink);
	font-family: var(--lp-mono);
	transition: transform 180ms ease;
}

.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):hover,
.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):focus-visible {
	color: #cdd9ff;
	background-size: 100% 2px;
}

.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):hover::after,
.lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):focus-visible::after {
	transform: translateX(4px);
}

.lp-prose .wp-block-button {
	margin: 1.5em 0;
}

.lp-prose .wp-block-button__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 11px 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #9db6ff;
	font-family: var(--lp-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color 180ms ease;
}

.lp-prose .wp-block-button__link::before {
	content: "";
	position: absolute;
	right: 6px;
	bottom: 4px;
	left: 6px;
	height: 2px;
	background: var(--lp-brand);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 460ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-prose .wp-block-button__link::after {
	content: "→";
	font-family: var(--lp-mono);
	font-weight: 400;
	transition: transform 180ms ease;
}

.lp-prose .wp-block-button__link:hover,
.lp-prose .wp-block-button__link:focus-visible {
	color: #cdd9ff;
}

.lp-prose .wp-block-button__link:hover::before,
.lp-prose .wp-block-button__link:focus-visible::before {
	transform: scaleX(1);
}

.lp-prose .wp-block-button__link:hover::after,
.lp-prose .wp-block-button__link:focus-visible::after {
	transform: translateX(4px);
}

html[data-theme="light"] .lp-prose .wp-block-button__link {
	color: var(--lp-brand-ink);
}

html[data-theme="light"] .lp-prose .wp-block-button__link:hover,
html[data-theme="light"] .lp-prose .wp-block-button__link:focus-visible {
	color: #1d4291;
}

.lp-prose .lp-button--download {
	position: relative;
	isolation: isolate;
	min-height: 48px;
	max-width: 100%;
	padding: 9px 18px 12px 11px;
	overflow: hidden;
	border-color: var(--lp-line);
	border-radius: 12px;
	background: var(--lp-surface-2);
	box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
	color: var(--lp-text);
	font-family: var(--lp-display);
	font-size: 0.9rem;
	text-decoration: none;
	transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.lp-prose .lp-button--download::before {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border-radius: 8px;
	content: "↓";
	background: var(--lp-brand);
	color: #fff;
	font: 700 1rem/1 var(--lp-mono);
	transition: transform 180ms ease;
}

.lp-prose .lp-button--download::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	content: "";
	background: var(--lp-brand);
	box-shadow: 0 0 9px rgb(74 125 224 / 58%);
	transition: width 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-prose .lp-button--download:hover,
.lp-prose .lp-button--download:focus-visible {
	border-color: rgb(74 125 224 / 68%);
	background: #252b3d;
	box-shadow: 0 12px 26px rgb(74 125 224 / 18%);
	color: var(--lp-text);
	transform: translateY(-2px);
}

.lp-prose .lp-button--download:hover::before,
.lp-prose .lp-button--download:focus-visible::before {
	transform: translateY(2px);
}

.lp-prose .lp-button--download:hover::after,
.lp-prose .lp-button--download:focus-visible::after {
	width: 100%;
}

.lp-prose iframe {
	max-width: 100%;
}

.lp-prose blockquote {
	margin: 1.8em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--lp-brand);
	border-radius: 0 12px 12px 0;
	background: var(--lp-surface);
}

.lp-prose table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.6em 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.lp-prose th,
.lp-prose td {
	padding: 10px 12px;
	border: 1px solid var(--lp-line);
	text-align: left;
	vertical-align: top;
}

.lp-prose th {
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font: 600 0.76rem/1.4 var(--lp-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lp-prose pre {
	max-width: 100%;
	margin: 1.6em 0;
	padding: 16px 18px;
	overflow-x: auto;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font: 0.9rem/1.6 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.lp-prose code {
	padding: 2px 5px;
	border-radius: 4px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font: 0.9em/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.lp-prose pre code {
	padding: 0;
	background: none;
	font: inherit;
}

.lp-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 18px;
}

/*
 * News card: cover on top (the post's first image, flag stripe underneath, as
 * on project cards), then date, title, a three-line excerpt and the link,
 * which is pinned to the bottom so the cards in a row line up.
 */
.lp-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: 18px;
	background: var(--lp-surface);
	transition: border-color 180ms ease, transform 180ms ease;
}

.lp-post-card:hover,
.lp-post-card:focus-within {
	border-color: var(--lp-brand-ink);
	transform: translateY(-2px);
}

.lp-post-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 1px solid var(--lp-line);
	background: linear-gradient(135deg, var(--lp-surface-2), color-mix(in srgb, var(--lp-brand) 35%, var(--lp-surface-2)));
}

.lp-post-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lp-post-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.lp-post-card__placeholder img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	opacity: 0.55;
}

.lp-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 22px;
}

.lp-post-card__body p {
	display: -webkit-box;
	margin: 0 0 16px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.lp-post-card__more {
	align-self: flex-start;
	margin-top: auto;
}

.lp-post-card time {
	color: var(--lp-muted);
	font: 0.84rem/1.5 var(--lp-mono);
}

.lp-post-card h2 {
	margin: 10px 0;
	font: 600 1.25rem/1.3 var(--lp-display);
}

.lp-post-card p {
	color: var(--lp-muted);
}

.lp-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.lp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: var(--lp-surface);
	color: var(--lp-muted);
}

.lp-pagination .page-numbers.current,
.lp-pagination .page-numbers:hover {
	border-color: var(--lp-text);
	background: var(--lp-text);
	color: var(--lp-bg);
}

.lp-comments-wrap {
	max-width: 808px;
	padding-bottom: 96px;
}

.lp-comments {
	padding-top: 32px;
	border-top: 1px solid var(--lp-line);
}

.lp-comment-list {
	margin: 24px 0 40px;
	padding: 0;
	list-style: none;
}

.lp-comment-list .comment {
	padding: 20px 0;
	border-top: 1px solid var(--lp-line);
}

.lp-comment-list .children {
	margin-left: 30px;
	list-style: none;
}

.lp-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lp-comment-list .avatar {
	border-radius: 50%;
}

.lp-comment-list .comment-meta {
	color: var(--lp-muted);
	font: 0.8rem/1.5 var(--lp-mono);
}

.comment-reply-title {
	margin-bottom: 18px;
}

.lp-comment-account {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: var(--lp-surface-2);
}

.lp-comment-account__status {
	margin: 0;
	color: var(--lp-muted);
}

.lp-comment-account__status strong {
	color: var(--lp-text);
}

.lp-comment-account__actions {
	display: flex;
	align-items: center;
	gap: 10px 16px;
	flex-wrap: wrap;
}

.lp-comment-account__actions a {
	color: var(--lp-red);
	font-size: 0.9rem;
	font-weight: 600;
}

.comment-form .comment-notes,
.comment-form .required-field-message {
	margin: 0 0 10px;
	color: var(--lp-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.comment-form .required-field-message {
	margin-bottom: 20px;
}

.lp-comment-protection {
	margin: 12px 0;
	color: var(--lp-muted);
	font: 0.8rem/1.5 var(--lp-mono);
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: var(--lp-surface);
	color: var(--lp-text);
}

.comment-form textarea {
	min-height: 130px;
	resize: vertical;
}

.lp-comment-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lp-faq-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgb(5 8 14 / 80%);
	backdrop-filter: blur(8px);
}

/*
 * The modal is toggled via the native `hidden` attribute (modal.hidden = true/
 * false in JS). Author stylesheet rules beat the browser's built-in
 * `[hidden] { display: none }` default at equal specificity, so without this
 * override the `display: flex` above always won — the modal rendered as a
 * full-screen, invisible-looking overlay on every page, silently swallowing
 * every tap and click site-wide.
 */
.lp-faq-modal[hidden] {
	display: none;
}

.lp-faq-dialog {
	width: min(640px, 100%);
	max-height: min(760px, calc(100dvh - 48px));
	overflow: auto;
	border: 1px solid #394158;
	border-radius: 20px;
	background: var(--lp-surface);
	box-shadow: 0 28px 80px rgb(0 0 0 / 68%);
}

.lp-faq-dialog__header {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 24px 72px 20px 28px;
	border-bottom: 1px solid var(--lp-line);
	border-radius: 20px 20px 0 0;
	background: rgb(26 30 41 / 96%);
	backdrop-filter: blur(12px);
}

.lp-faq-kicker {
	display: block;
	margin-bottom: 7px;
	color: var(--lp-brand-ink);
	font: 0.78rem/1.4 var(--lp-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lp-faq-dialog h2 {
	font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.lp-faq-close {
	position: absolute;
	top: 20px;
	right: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 10px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font-size: 1.5rem;
	cursor: pointer;
}

.lp-faq-dialog__body {
	padding: 8px 28px 28px;
}

.lp-faq-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--lp-line);
}

.lp-faq-item:last-child {
	border-bottom: 0;
}

.lp-faq-item h3 {
	margin: 0 0 8px;
	font: 600 1.05rem/1.35 var(--lp-display);
}

.lp-faq-item p {
	margin: 0;
	color: #c9d0de;
	font-size: 0.95rem;
}

.lp-not-found {
	padding-top: 110px;
	padding-bottom: 140px;
	text-align: center;
}

.lp-not-found .lp-eyebrow,
.lp-not-found > p {
	margin-right: auto;
	margin-left: auto;
}

.lp-not-found h1 {
	font-size: clamp(2.4rem, 7vw, 5rem);
}

.lp-not-found > div {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.lp-footer {
	margin-top: 24px;
	border-top: 1px solid var(--lp-line);
}

.lp-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--lp-shell);
	margin: 0 auto;
	padding: 40px 24px;
	color: var(--lp-muted);
	font-size: 0.875rem;
}

.lp-footer__links a:hover {
	color: var(--lp-text);
}

html[data-theme="light"] .lp-header {
	background: rgb(255 255 255 / 94%);
}

html[data-theme="light"] .lp-nav__support:hover {
	box-shadow: 0 6px 18px rgb(200 70 82 / 24%);
}

html[data-theme="light"] .lp-hero-cover,
html[data-theme="light"] .lp-project-card__thumb,
html[data-theme="light"] .lp-project-single__image {
	background-color: #0b1426;
}

html[data-theme="light"] .lp-hero-cover {
	box-shadow: 0 20px 42px rgb(23 32 45 / 16%);
}

html[data-theme="light"] .lp-hero-cover:hover {
	box-shadow: 0 24px 48px rgb(23 32 45 / 20%), 0 0 0 1px rgb(42 92 192 / 36%);
}

html[data-theme="light"] .lp-hero-cover > span,
html[data-theme="light"] .lp-project-card__placeholder,
html[data-theme="light"] .lp-project-single__image > span {
	color: #f0f6ff;
}

html[data-theme="light"] .lp-news-feature {
	box-shadow: 0 20px 54px rgb(23 32 45 / 10%);
}

html[data-theme="light"] .lp-news-card__badge {
	background: rgb(200 70 82 / 11%);
}

html[data-theme="light"] .lp-section__cta span {
	color: rgb(244 247 251 / 68%);
}

html[data-theme="light"] .lp-project-card:hover {
	border-color: #aab9cb;
}

html[data-theme="light"] .lp-status--download {
	background: rgb(45 126 86 / 12%);
	color: #246b48;
}

html[data-theme="light"] .lp-status--official {
	background: rgb(42 92 192 / 12%);
	color: #2f4d8f;
}

html[data-theme="light"] .lp-status--wip {
	background: rgb(200 70 82 / 11%);
	color: #a93440;
}

html[data-theme="light"] .lp-status--testing {
	background: rgb(180 115 8 / 12%);
	color: #8a5a0b;
}

html[data-theme="light"] .lp-status--available {
	background: rgb(45 126 86 / 12%);
	color: #246b48;
}

html[data-theme="light"] .lp-status--unsupported {
	background: rgb(170 105 25 / 12%);
	color: #8a5514;
}

html[data-theme="light"] .lp-status--discontinued {
	background: rgb(90 100 120 / 12%);
	color: #556075;
}

html[data-theme="light"] .lp-button--steam:hover,
html[data-theme="light"] .lp-button--ghost:hover,
html[data-theme="light"] .lp-support-menu__panel a:hover {
	border-color: #aab9cb;
	background-color: #dbe5ef;
}

html[data-theme="light"] .lp-button--faq {
	border-color: rgb(42 92 192 / 32%);
	background: rgb(42 92 192 / 8%);
}

html[data-theme="light"] .lp-button--faq:hover {
	border-color: rgb(42 92 192 / 55%);
	background: rgb(42 92 192 / 14%);
}

html[data-theme="light"] .lp-support-menu__panel {
	filter: drop-shadow(0 14px 26px rgb(23 32 45 / 18%));
}

html[data-theme="light"] .lp-filters button:hover {
	border-color: #aab9cb;
}

html[data-theme="light"] .lp-project-single__meta-item {
	background: rgb(23 32 45 / 3%);
}

html[data-theme="light"] .lp-project-single__image {
	box-shadow: 0 20px 44px rgb(23 32 45 / 16%);
}

html[data-theme="light"] .lp-prose,
html[data-theme="light"] .lp-faq-item p {
	color: #3c4a5d;
}

html[data-theme="light"] .lp-news-sidebar__more,
html[data-theme="light"] .lp-news-sidebar__all {
	color: #536175;
}

html[data-theme="light"] .lp-news-sidebar__all {
	color: var(--lp-text);
}

html[data-theme="light"] .lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)) {
	color: #2a5cc0;
}

html[data-theme="light"] .lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):hover,
html[data-theme="light"] .lp-prose a:not(.lp-button):not(.wp-block-button__link):not(.wp-block-file__button):not(:has(img)):focus-visible {
	color: #1d4291;
}

html[data-theme="light"] .lp-prose .lp-button--download:hover,
html[data-theme="light"] .lp-prose .lp-button--download:focus-visible {
	border-color: rgb(42 92 192 / 58%);
	background: #dbe5ef;
	box-shadow: 0 12px 24px rgb(42 92 192 / 14%);
}

/*
 * The panel below stays in the layout even while closed (see the
 * `.lp-changelog__panel[hidden]` rule) so its open/close transition can run.
 * That inflates this fixed container to roughly 320x440px, and a transparent
 * container still swallows taps — which silently blocked every button under
 * it, covering most of the screen on phones. Pointer events are therefore
 * disabled on the container and re-enabled only on the parts meant to be
 * interactive.
 */
.lp-changelog {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none;
}

.lp-changelog__toggle {
	position: relative;
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-surface);
	color: var(--lp-muted);
	font: 500 0.84rem/1 var(--lp-mono);
	letter-spacing: 0.06em;
	cursor: pointer;
	box-shadow: 0 10px 30px rgb(0 0 0 / 35%);
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lp-changelog__toggle:hover,
.lp-changelog.is-open .lp-changelog__toggle {
	color: var(--lp-text);
	border-color: var(--lp-brand-ink);
	transform: translateY(-1px);
}

.lp-changelog__dot {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--lp-red);
	box-shadow: 0 0 0 3px var(--lp-bg);
	animation: lp-changelog-pulse 2s ease-in-out infinite;
}

@keyframes lp-changelog-pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.35);
		opacity: 0.72;
	}
}

.lp-changelog__panel {
	display: flex;
	flex-direction: column;
	width: min(360px, calc(100vw - 40px));
	max-height: min(430px, calc(100dvh - 120px));
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
	box-shadow: 0 24px 60px rgb(0 0 0 / 55%);
	opacity: 0;
	transform: translateY(14px) scale(0.97);
	transform-origin: bottom right;
	transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.32, 1.4, 0.5, 1);
	pointer-events: none;
}

.lp-changelog.is-open .lp-changelog__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.lp-changelog__panel[hidden] {
	display: block !important;
	visibility: hidden;
}

.lp-changelog.is-open .lp-changelog__panel[hidden] {
	visibility: visible;
}

.lp-changelog__header {
	position: relative;
	flex: 0 0 auto;
	padding: 18px 56px 14px 20px;
	border-bottom: 1px solid var(--lp-line);
	border-radius: var(--lp-radius) var(--lp-radius) 0 0;
	background: rgb(26 30 41 / 96%);
	backdrop-filter: blur(10px);
}

.lp-changelog__kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--lp-brand-ink);
	font: 0.78rem/1.4 var(--lp-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lp-changelog__header h2 {
	margin: 0;
	font: 600 1.05rem/1.3 var(--lp-display);
}

.lp-changelog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 9px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font-size: 1.25rem;
	cursor: pointer;
}

.lp-changelog__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 20px 18px;
}

.lp-changelog__loading {
	margin: 14px 0;
	color: var(--lp-muted);
	font-size: 13px;
}

/* 404 helpers: search plus recent translations below the message. */
.lp-404-help {
	max-width: var(--lp-shell);
	margin: 0 auto;
	padding: 0 24px 96px;
	text-align: left;
}

.lp-404-help__title {
	margin: 0 0 16px;
	color: var(--lp-text);
	font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--lp-display);
	letter-spacing: -0.01em;
}

.lp-404-help__title + .lp-toolbar {
	margin-bottom: 44px;
}

.lp-404-help__more {
	margin-top: 28px;
}

.lp-changelog__pager {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 14px;
	border-top: 1px solid var(--lp-line);
	background: var(--lp-surface-2);
	border-radius: 0 0 var(--lp-radius) var(--lp-radius);
}

.lp-changelog__pager-numbers {
	display: flex;
	align-items: center;
	gap: 4px;
}

.lp-changelog__pager-number,
.lp-changelog__pager-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 27px;
	height: 27px;
	padding: 0 6px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: var(--lp-muted);
	font: 500 0.8rem/1 var(--lp-mono);
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.lp-changelog__pager-number:hover:not(.is-current),
.lp-changelog__pager-arrow:hover:not(:disabled) {
	background: var(--lp-surface);
	color: var(--lp-text);
}

.lp-changelog__pager-number.is-current {
	border-color: var(--lp-brand-ink);
	background: rgb(74 125 224 / 14%);
	color: var(--lp-text);
	cursor: default;
}

.lp-changelog__pager-arrow {
	font-size: 1rem;
}

.lp-changelog__pager-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Visual gap where collapsed page numbers were skipped. */
.lp-changelog__pager-number.has-gap {
	margin-left: 14px;
	position: relative;
}

.lp-changelog__pager-number.has-gap::before {
	content: "…";
	position: absolute;
	left: -14px;
	color: var(--lp-muted);
	pointer-events: none;
}

.lp-changelog__entry {
	padding: 14px 0;
	border-bottom: 1px solid var(--lp-line);
}

.lp-changelog__entry:last-child {
	border-bottom: 0;
}

.lp-changelog__entry h3 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 8px;
	font: 600 0.92rem/1.3 var(--lp-display);
}

.lp-changelog__version {
	color: var(--lp-brand-ink);
	font-family: var(--lp-mono);
}

.lp-changelog__entry time {
	color: var(--lp-muted);
	font: 400 0.78rem/1.4 var(--lp-mono);
}

.lp-changelog__entry ul {
	margin: 0;
	padding-left: 18px;
	color: var(--lp-muted);
	font-size: 0.88rem;
}

.lp-changelog__entry li {
	margin-bottom: 4px;
}

.lp-changelog__entry li::marker {
	color: var(--lp-brand-ink);
}

html[data-theme="light"] .lp-changelog__toggle {
	box-shadow: 0 10px 26px rgb(23 32 45 / 16%);
}

html[data-theme="light"] .lp-changelog__panel {
	box-shadow: 0 24px 54px rgb(23 32 45 / 22%);
}

html[data-theme="light"] .lp-changelog__header {
	background: rgb(255 255 255 / 96%);
}

html[data-theme="light"] .lp-changelog__pager {
	background: var(--lp-surface-2);
}

html[data-theme="light"] .lp-faq-modal {
	background: rgb(23 32 45 / 52%);
}

html[data-theme="light"] .lp-faq-dialog {
	border-color: #b9c7d7;
	box-shadow: 0 28px 70px rgb(23 32 45 / 24%);
}

html[data-theme="light"] .lp-faq-dialog__header {
	background: rgb(255 255 255 / 96%);
}

@media (max-width: 1000px) {
	.lp-home-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lp-hero {
		grid-template-columns: 1fr;
	}

	.lp-hero__art {
		display: none;
	}

	.lp-project-single__hero {
		grid-template-columns: 1fr;
	}

	.lp-project-single__image {
		max-width: 620px;
	}

	.lp-news-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.lp-news-sidebar {
		position: static;
		margin: 24px 0 0;
	}
}

@media (max-width: 782px) {
	.admin-bar .lp-header {
		top: 46px;
	}

	.admin-bar .lp-skip-link:focus {
		top: 62px;
	}
}

@media (max-width: 760px) {
	.lp-home-news__grid {
		grid-template-columns: 1fr;
	}

	.lp-nav {
		gap: 12px;
		min-height: 62px;
		padding: 0 16px;
	}

	.lp-menu-button {
		display: flex;
	}

	.lp-nav__support {
		margin-left: auto;
		padding: 8px 13px;
	}

	.lp-nav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 18px 24px 22px;
		border-bottom: 1px solid var(--lp-line);
		background: rgb(12 17 32 / 98%);
		backdrop-filter: blur(12px);
	}

	html[data-theme="light"] .lp-nav__menu {
		background: rgb(255 255 255 / 97%);
	}

	.lp-header.is-menu-open .lp-nav__menu {
		display: block;
	}

	.lp-nav__links {
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
		gap: 4px;
	}

	.lp-nav__links a {
		width: 100%;
		padding: 0;
		font-size: 1.05rem;
		text-align: center;
	}

	/* The icon grows in on hover on desktop, but these rows are tapped, not
	   hovered, so show every icon at rest instead of only on the current page. */
	.lp-nav__icon {
		width: 28px;
		margin-left: 0;
		opacity: 1;
		transform: translate(0,-50%) scale(1);
	}
	.lp-nav__label { transform: translateX(-11px); }

	.lp-nav__links {
		padding: 0;
	}

	.lp-hero {
		padding: 62px 20px 52px;
	}

	.lp-hero__stats {
		gap: 26px;
		margin-top: 38px;
	}

	.lp-news-banner,
	.lp-section,
	.lp-page-head,
	.lp-project-single,
	.lp-article,
	.lp-comments-wrap,
	.lp-not-found {
		padding-right: 20px;
		padding-left: 20px;
	}

	.lp-news-banner {
		margin-bottom: 28px;
	}

	.lp-news-feature {
		grid-template-columns: 1fr;
	}

	.lp-news-feature__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.lp-news-feature__content {
		padding: 24px;
	}

	.lp-news-feature h2 {
		font-size: clamp(1.6rem, 8vw, 2.2rem);
	}

	.lp-news-feature footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.lp-home-news__card {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px 16px;
		padding: 18px 20px;
	}

	.lp-home-news__meta {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px 14px;
	}

	.lp-home-news__card h3 {
		font-size: 1.05rem;
	}

	.lp-section {
		padding-bottom: 72px;
	}

	.lp-section__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-section__cta {
		width: 100%;
		justify-content: center;
	}

	.lp-support {
		align-items: flex-start;
		flex-direction: column;
		gap: 28px;
		padding: 36px 28px;
	}

	.lp-support__actions {
		width: 100%;
		margin-left: 0;
	}

	.lp-support__actions > * {
		flex: 1;
	}

	.lp-support__actions .lp-button {
		width: 100%;
	}

	.lp-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.lp-search {
		width: 100%;
	}

	.lp-news-filters {
		width: 100%;
	}

	.lp-news-select {
		flex: 1 1 100%;
	}

	.lp-news-select select {
		width: 100%;
	}

	.lp-news-submit,
	.lp-news-reset {
		flex: 1 1 auto;
	}

	.lp-comment-account {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-comment-account__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-browser-count {
		margin-left: 0;
	}

	.lp-footer__inner {
		flex-direction: column;
	}

	.lp-footer__links {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 600px) {
	.lp-prose .lp-button--download {
		width: 100%;
	}

	.lp-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.5rem);
	}

	.lp-project-grid {
		grid-template-columns: 1fr;
	}

	.lp-project-card__actions {
		gap: 6px;
	}

	.lp-project-single {
		padding-top: 46px;
	}

	.lp-project-single__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.lp-project-single__download-meta {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.lp-project-single__meta-item {
		min-width: 0;
		width: 100%;
	}

	.lp-project-single__edition-meta > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.lp-project-single__edition-stats {
		justify-content: flex-start;
	}

	.lp-faq-modal {
		align-items: flex-end;
		padding: 0;
	}

	.lp-faq-dialog {
		width: 100%;
		max-height: 88vh;
		border-radius: 20px 20px 0 0;
	}

	.lp-faq-dialog__header {
		padding: 21px 64px 18px 20px;
	}

	.lp-faq-dialog__body {
		padding: 6px 20px 24px;
	}
}

/* The language switch adds another 42px control to the header, so the support
   button drops its wording a little earlier than before to keep the row from
   crowding on narrow phones. */
@media (max-width: 460px) {
	.lp-nav__support {
		width: 42px;
		height: 42px;
		padding: 0;
	}

	.lp-nav__support-label {
		display: none;
	}
}

/* ---- Project type tabs (Games / Software) ---- */
.lp-type-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--lp-line);
}

.lp-type-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border: 0;
	border-radius: 10px 10px 0 0;
	background: transparent;
	color: var(--lp-muted);
	font: 600 0.98rem/1.2 var(--lp-display);
	cursor: pointer;
	transition: color 0.18s ease, background 0.18s ease;
}

.lp-type-tab:hover {
	color: var(--lp-text);
	background: var(--lp-surface);
}

.lp-type-tab.is-active {
	color: var(--lp-text);
	background: var(--lp-surface);
}

.lp-type-tab.is-active::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--lp-brand);
}

.lp-type-tab__count {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--lp-surface-2);
	color: var(--lp-muted);
	font: 500 0.76rem/1.4 var(--lp-mono);
}

.lp-type-tab.is-active .lp-type-tab__count {
	background: rgb(74 125 224 / 16%);
	color: var(--lp-brand-ink);
}

/* ---- Software cards ---- */
.lp-software-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 16px;
}

.lp-software-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 20px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-surface);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.lp-software-card:hover {
	border-color: var(--lp-brand-ink);
	transform: translateY(-2px);
}

.lp-software-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.lp-software-card__head h3 {
	margin: 0;
	font: 600 1.05rem/1.3 var(--lp-display);
}

.lp-software-card__head h3 a {
	color: var(--lp-text);
	text-decoration: none;
}

.lp-software-card__head h3 a:hover {
	color: var(--lp-brand-ink);
}

.lp-software-card__desc {
	margin: 0;
	color: var(--lp-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.lp-software-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}

.lp-button--website {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-surface-2);
	color: var(--lp-text);
	font: 600 0.86rem/1 var(--lp-display);
	text-decoration: none;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lp-button--website:hover {
	border-color: var(--lp-brand-ink);
	background: rgb(74 125 224 / 12%);
	color: var(--lp-brand-ink);
}

@media (max-width: 600px) {
	.lp-type-tab {
		flex: 1 1 auto;
		justify-content: center;
		padding: 10px 12px;
		font-size: 0.9rem;
	}
}

/* ---------------------------------------------------------------------------
 * Mobile download bar on project pages (shown when the hero actions scroll out)
 * ------------------------------------------------------------------------ */

.lp-download-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 70;
	padding-bottom: env(safe-area-inset-bottom);
	border-top: 1px solid var(--lp-line);
	background: color-mix(in srgb, var(--lp-bg) 90%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.lp-download-bar[hidden] {
	display: none;
}

.lp-download-bar__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: var(--lp-shell);
	margin: 0 auto;
	padding: 10px 16px;
}

.lp-download-bar__title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: var(--lp-text);
	font: 600 13px/1.2 var(--lp-display);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lp-download-bar .lp-button {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 14px;
}

.lp-download-bar .lp-button__label {
	max-width: 34vw;
}

.lp-download-bar__steam {
	display: none;
}

body.lp-has-download-bar {
	padding-bottom: 78px;
}

body.lp-has-download-bar .lp-changelog {
	bottom: 88px;
}

@media (min-width: 861px) {
	.lp-download-bar {
		display: none !important;
	}
}

@media (max-width: 420px) {
	.lp-download-bar__title {
		display: none;
	}

	.lp-download-bar__inner {
		justify-content: center;
	}
}

/* Editor-only diagnostic when a legacy [ddownload] ID cannot be resolved. */
.lp-download-missing {
	display: inline-block;
	padding: 8px 12px;
	border: 1px dashed var(--lp-line);
	color: var(--lp-muted);
	font: 500 0.78rem/1.4 var(--lp-mono);
	letter-spacing: 0.04em;
}

/* Connected download block for posts: [lp_downloads ids="…"] */
.lp-dlblock {
	--lp-dlblock-gap: 64px;
	display: block;
	width: min(100%, 780px);
	margin: 30px auto 36px;
}

.lp-dlblock__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 auto 26px;
	color: var(--lp-muted);
	font: 500 10px/1.3 var(--lp-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lp-dlblock__head::before,
.lp-dlblock__head::after {
	content: "";
	width: min(26%, 150px);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--lp-line));
}

.lp-dlblock__head::after {
	background: linear-gradient(270deg, transparent, var(--lp-line));
}

.lp-dlblock__node {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgb(228 82 95 / 55%);
	color: #ffc5cb;
	box-shadow: 0 0 16px rgb(228 82 95 / 14%);
}

.lp-dlblock__node svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-dlblock__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px var(--lp-dlblock-gap);
	padding: 18px 0 4px;
}

.lp-dlblock__grid::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--lp-brand-ink) 10%, var(--lp-brand-ink) 90%, transparent);
	opacity: 0.42;
}

.lp-dlblock__grid::after {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% - 2px);
	width: 4px;
	height: 42px;
	background: linear-gradient(180deg, transparent, #b9d4ff, transparent);
	filter: blur(1px);
	animation: lp-dlblock-pulse 4.8s ease-in-out infinite;
	opacity: 0.9;
}

.lp-dlcard {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 68px;
	align-items: center;
	gap: 14px;
	min-height: 100px;
	padding: 16px;
	border: 1px solid var(--lp-line);
	border-radius: 2px;
	background:
		linear-gradient(150deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%)),
		var(--lp-surface);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
	color: var(--lp-text);
	text-decoration: none;
	transition:
		transform var(--lp-motion-time, 420ms) var(--lp-motion-spring, ease),
		border-color 220ms ease,
		box-shadow 220ms ease,
		background 220ms ease;
}

.lp-dlcard:hover,
.lp-dlcard:focus-visible {
	outline: none;
	border-color: rgb(228 82 95 / 65%);
	box-shadow: 0 12px 30px rgb(0 0 0 / 24%), 0 0 26px rgb(228 82 95 / 12%), inset 0 1px 0 rgb(255 255 255 / 8%);
	transform: translateY(-3px);
}

.lp-dlcard__no {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--lp-line);
	color: var(--lp-brand-ink);
	font: 600 10px/1 var(--lp-mono);
	letter-spacing: 0.06em;
}

.lp-dlcard__body {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.lp-dlcard__title {
	overflow: hidden;
	color: var(--lp-text);
	font: 600 1.12rem/1.25 var(--lp-display);
	letter-spacing: -0.01em;
	text-overflow: ellipsis;
}

.lp-dlcard__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	color: #ffc5cb;
	font: 600 9px/1 var(--lp-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lp-dlcard__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgb(228 82 95 / 55%);
	background: linear-gradient(150deg, rgb(228 82 95 / 26%), rgb(228 82 95 / 7%));
	color: #fff;
	box-shadow: 0 0 14px rgb(228 82 95 / 12%);
	transition: background 220ms ease, box-shadow 220ms ease, transform 220ms var(--lp-motion-spring, ease);
}

.lp-dlcard__icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-dlcard:hover .lp-dlcard__icon,
.lp-dlcard:focus-visible .lp-dlcard__icon {
	background: linear-gradient(150deg, rgb(228 82 95 / 44%), rgb(228 82 95 / 14%));
	box-shadow: 0 0 20px rgb(228 82 95 / 26%);
	transform: scale(1.06);
}

.lp-dlcard__tap {
	position: absolute;
	top: 50%;
	width: 32px;
	height: 1px;
	background: linear-gradient(90deg, var(--lp-brand-ink), transparent);
	opacity: 0.5;
	pointer-events: none;
}

.lp-dlblock__grid > .lp-dlcard:nth-child(odd) .lp-dlcard__tap {
	right: -32px;
}

.lp-dlblock__grid > .lp-dlcard:nth-child(even) .lp-dlcard__tap {
	left: -32px;
	background: linear-gradient(270deg, var(--lp-brand-ink), transparent);
}

.lp-dlcard__tap::after {
	content: "";
	position: absolute;
	top: -3px;
	right: -3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lp-brand-ink);
	box-shadow: 0 0 10px var(--lp-brand-ink), 0 0 20px rgb(74 125 224 / 45%);
	transition: background 220ms ease, box-shadow 220ms ease;
}

.lp-dlblock__grid > .lp-dlcard:nth-child(even) .lp-dlcard__tap::after {
	right: auto;
	left: -3px;
}

.lp-dlcard:hover .lp-dlcard__tap {
	background: linear-gradient(90deg, #ff8d97, transparent);
	opacity: 0.9;
}

.lp-dlblock__grid > .lp-dlcard:nth-child(even):hover .lp-dlcard__tap {
	background: linear-gradient(270deg, #ff8d97, transparent);
}

.lp-dlcard:hover .lp-dlcard__tap::after {
	background: #ff8d97;
	box-shadow: 0 0 12px #ff8d97, 0 0 22px rgb(228 82 95 / 45%);
}

/* Odd count: the last card terminates the central spine. */
.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc(50% - 32px);
}

.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd) .lp-dlcard__tap {
	display: none;
}

.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd)::before {
	content: "";
	position: absolute;
	top: -24px;
	left: 50%;
	width: 1px;
	height: 24px;
	background: linear-gradient(180deg, var(--lp-brand-ink), transparent);
	opacity: 0.65;
}

.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd)::after {
	content: "";
	position: absolute;
	top: -28px;
	left: calc(50% - 3.5px);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lp-brand-ink);
	box-shadow: 0 0 10px var(--lp-brand-ink), 0 0 20px rgb(74 125 224 / 45%);
}

.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd):hover::before,
.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd):focus-visible::before {
	background: linear-gradient(180deg, #ff8d97, transparent);
	opacity: 0.95;
}

.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd):hover::after,
.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd):focus-visible::after {
	background: #ff8d97;
	box-shadow: 0 0 12px #ff8d97, 0 0 22px rgb(228 82 95 / 45%);
}

@keyframes lp-dlblock-pulse {
	0%, 100% { top: 0; opacity: 0; }
	12% { opacity: 0.9; }
	50% { opacity: 0.9; }
	88% { opacity: 0; }
	100% { top: calc(100% - 42px); opacity: 0; }
}

html[data-theme="light"] .lp-dlcard {
	background:
		linear-gradient(150deg, rgb(255 255 255 / 80%), rgb(255 255 255 / 40%)),
		var(--lp-surface);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}

html[data-theme="light"] .lp-dlcard:hover,
html[data-theme="light"] .lp-dlcard:focus-visible {
	box-shadow: 0 14px 30px rgb(22 40 70 / 12%), 0 0 22px rgb(200 70 82 / 10%);
}

html[data-theme="light"] .lp-dlcard__icon {
	color: #8f2430;
}

html[data-theme="light"] .lp-dlcard__tap,
html[data-theme="light"] .lp-dlblock__grid::before {
	opacity: 0.4;
}

@media (max-width: 760px) {
	.lp-dlblock__grid {
		grid-template-columns: 1fr;
		gap: 18px;
		padding-top: 0;
	}

	.lp-dlblock__grid::before,
	.lp-dlblock__grid::after,
	.lp-dlcard__tap {
		display: none;
	}

	.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd) {
		width: 100%;
	}

	.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd)::before,
	.lp-dlblock__grid > .lp-dlcard:last-child:nth-child(odd)::after {
		display: none;
	}

	.lp-dlblock__head::before,
	.lp-dlblock__head::after {
		width: 18%;
	}
}

@media (max-width: 460px) {
	.lp-dlcard {
		grid-template-columns: 32px minmax(0, 1fr) 48px;
		gap: 11px;
		padding: 14px 12px;
	}

	.lp-dlcard__action {
		font-size: 8px;
	}

	.lp-dlcard__title {
		font-size: 1.02rem;
	}
}

