/* ==========================================================================
   LAN Party — dark neon system
   ========================================================================== */

:root {
	--ink: #08040e;
	--ink-2: #0c0616;
	--panel: #140b20;
	--panel-2: #1a0f2a;
	--line: #2c1d40;
	--line-soft: #221534;

	--text: #f3ecf7;
	--text-2: #bda9cd;
	--muted: #8d7ba3;

	--cyan: #22e0ff;
	--plasma: #c471ff;
	--lime: #43ff9a;
	--amber: #ffab2e;
	--red: #ff3b5c;
	--violet: #7b5cff;
	--electric: #22e0ff;
	--electric-2: #7cc4ff;

	--free: var(--lime);
	--pending: var(--amber);
	--taken: var(--red);

	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 26px;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);

	--font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: "Share Tech Mono", "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--shadow: 0 24px 60px -30px rgba(0, 0, 0, .95);
	--ring: 0 0 0 1px var(--line);
}

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

/* Several blocks below set display, which would otherwise beat [hidden]. */
[hidden] { display: none !important; }

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

body.lp-body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* --- Background texture ------------------------------------------------ */

.lp-grid-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 620px at 12% -10%, rgba(34, 224, 255, .13), transparent 65%),
		radial-gradient(760px 560px at 92% 4%, rgba(196, 113, 255, .11), transparent 62%),
		radial-gradient(700px 700px at 50% 115%, rgba(123, 92, 255, .10), transparent 60%),
		linear-gradient(180deg, #0a0512 0%, #0c0616 42%, #06030c 100%);
}

.lp-grid-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
	-webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

.lp-scanlines {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: .35;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
	mix-blend-mode: overlay;
}

.lp-header,
.lp-main,
.lp-footer { position: relative; z-index: 2; }

/* --- Layout primitives -------------------------------------------------- */

.lp-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.lp-section { padding-block: clamp(56px, 9vw, 112px); }
.lp-section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }

.lp-section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
	flex-wrap: wrap;
}

.lp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--cyan);
	margin: 0 0 12px;
}

.lp-h2 {
	font-family: var(--font-display);
	font-size: clamp(30px, 5.2vw, 52px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.015em;
	margin: 0 0 14px;
}

.lp-h2--sm { font-size: clamp(22px, 3.4vw, 32px); }

.lp-h3 {
	font-family: var(--font-display);
	font-size: clamp(19px, 2.4vw, 23px);
	font-weight: 600;
	margin: 0 0 6px;
}

.lp-lead { color: var(--text-2); margin: 0; font-size: clamp(15px, 1.7vw, 17px); }
.lp-muted { color: var(--muted); }

/* --- Buttons ------------------------------------------------------------ */

.lp-btn {
	--btn-bg: linear-gradient(135deg, var(--cyan), #5aa0ff 55%, var(--plasma));
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--btn-bg);
	color: #04121a;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .04em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .22s ease, filter .2s ease;
	box-shadow: 0 0 0 1px rgba(34, 224, 255, .4), 0 14px 34px -16px rgba(34, 224, 255, .8);
}

.lp-btn:hover { transform: translateY(-2px); filter: saturate(1.15); box-shadow: 0 0 0 1px rgba(34, 224, 255, .6), 0 20px 44px -16px rgba(196, 113, 255, .7); }
.lp-btn:active { transform: translateY(0); }
.lp-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.lp-btn--lg { padding: 16px 32px; font-size: 16px; }
.lp-btn--sm { padding: 9px 18px; font-size: 13px; }
.lp-btn--full { width: 100%; }

.lp-btn--ghost {
	background: rgba(255, 255, 255, .03);
	color: var(--text);
	box-shadow: inset 0 0 0 1px var(--line);
}

.lp-btn--ghost:hover { background: rgba(34, 224, 255, .08); box-shadow: inset 0 0 0 1px rgba(34, 224, 255, .5); }

.lp-round-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--panel);
	color: var(--text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, background .2s, transform .15s;
}

.lp-round-btn:hover { border-color: var(--cyan); background: rgba(34, 224, 255, .1); transform: translateY(-1px); }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 6px;
}

.lp-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 99;
	padding: 10px 18px;
	background: var(--cyan);
	color: #04121a;
	border-radius: 8px;
	font-weight: 700;
}

.lp-skip:focus { left: 12px; }

/* --- Header ------------------------------------------------------------- */

.lp-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(14px);
	background: rgba(10, 5, 18, .8);
	border-bottom: 1px solid var(--line-soft);
}

.lp-header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
}

.lp-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .1em;
	font-size: 15px;
	text-transform: uppercase;
}

.lp-brand-mark {
	width: 13px;
	height: 13px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--cyan), var(--plasma));
	box-shadow: 0 0 14px rgba(34, 224, 255, .9);
	flex: none;
}

.lp-nav {
	display: flex;
	gap: 22px;
	margin-left: auto;
	font-size: 14px;
}

.lp-nav a {
	color: var(--text-2);
	text-decoration: none;
	position: relative;
	padding-block: 6px;
	transition: color .18s;
}

.lp-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1.5px;
	background: linear-gradient(90deg, var(--cyan), var(--plasma));
	transition: right .25s ease;
}

.lp-nav a:hover { color: var(--text); }
.lp-nav a:hover::after { right: 0; }

.lp-header-cta { flex: none; }

@media (max-width: 860px) {
	.lp-nav { display: none; }
	.lp-header-cta { margin-left: auto; }
}

/* --- Hero --------------------------------------------------------------- */

.lp-hero {
	position: relative;
	padding-block: clamp(64px, 12vw, 132px) clamp(48px, 8vw, 96px);
	overflow: hidden;
}

.lp-hero-glow {
	position: absolute;
	left: 50%;
	top: -180px;
	width: min(1100px, 150vw);
	aspect-ratio: 2 / 1;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(34, 224, 255, .22), transparent 72%);
	filter: blur(24px);
	pointer-events: none;
}

.lp-hero-inner { position: relative; text-align: center; }

.lp-eyebrow--hero { justify-content: center; }

.lp-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 10px var(--lime);
	animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .4; transform: scale(.75); }
}

.lp-hero-title {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(46px, 13vw, 132px);
	font-weight: 700;
	line-height: .92;
	letter-spacing: -.03em;
	margin: 0 0 18px;
	text-transform: uppercase;
	background: linear-gradient(180deg, #ffffff 8%, #ffd6a3 46%, #22e0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 60px rgba(34, 224, 255, .28);
}

.lp-hero-title::before,
.lp-hero-title::after {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	background: none;
	color: var(--plasma);
	opacity: .5;
	mix-blend-mode: screen;
	pointer-events: none;
	clip-path: inset(12% 0 62% 0);
	animation: lp-glitch 5.5s steps(2, end) infinite;
}

.lp-hero-title::after {
	color: var(--cyan);
	clip-path: inset(58% 0 14% 0);
	animation-delay: .28s;
}

@keyframes lp-glitch {
	0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
	89% { transform: translate(-3px, 1px); opacity: .55; }
	91% { transform: translate(3px, -1px); opacity: .4; }
	93% { transform: translate(-2px, 0); opacity: .5; }
	95% { transform: translate(0, 0); opacity: 0; }
}

.lp-hero-tagline {
	max-width: 620px;
	margin: 0 auto 34px;
	color: var(--text-2);
	font-size: clamp(16px, 2.1vw, 19px);
}

.lp-countdown {
	display: inline-flex;
	align-items: flex-start;
	gap: clamp(4px, 1.4vw, 14px);
	padding: 18px clamp(16px, 3vw, 30px);
	margin-bottom: 34px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
	box-shadow: var(--ring), 0 20px 50px -34px #000;
	max-width: 100%;
}

.lp-cd-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(48px, 12vw, 74px); }

.lp-cd-n {
	font-family: var(--font-display);
	font-size: clamp(26px, 6vw, 44px);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #fff;
	text-shadow: 0 0 18px rgba(34, 224, 255, .55);
}

.lp-cd-l { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.lp-cd-sep { font-size: clamp(20px, 4.5vw, 34px); color: var(--cyan); opacity: .5; line-height: 1.1; }

.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 44px; }

.lp-hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(20px, 5vw, 56px);
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid var(--line-soft);
}

.lp-hero-stats div { text-align: center; }
.lp-hero-stats dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lp-hero-stats dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(18px, 3vw, 26px); font-weight: 700; }

/* --- Map ---------------------------------------------------------------- */

.lp-map-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.lp-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--text-2);
}

.lp-legend li { display: inline-flex; align-items: center; gap: 8px; }

.lp-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.lp-dot--free { background: var(--free); box-shadow: 0 0 12px var(--free); }
.lp-dot--pending { background: var(--pending); box-shadow: 0 0 12px var(--pending); }
.lp-dot--taken { background: var(--taken); box-shadow: 0 0 12px var(--taken); }

.lp-counter-pill {
	margin: 0 0 0 auto;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(67, 255, 154, .09);
	box-shadow: inset 0 0 0 1px rgba(67, 255, 154, .3);
	font-size: 13px;
	color: var(--text-2);
	white-space: nowrap;
}

.lp-counter-pill strong { color: var(--lime); font-family: var(--font-display); font-size: 16px; margin-right: 4px; }

.lp-zoom { display: flex; gap: 6px; }

.lp-zoom-btn {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--panel);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: border-color .18s, background .18s;
}

.lp-zoom-btn:hover { border-color: var(--cyan); background: rgba(34, 224, 255, .1); }

.lp-map-frame {
	position: relative;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, #0e0718, #08040e);
	box-shadow: var(--ring), 0 40px 90px -50px #000, inset 0 1px 0 rgba(255, 255, 255, .04);
	overflow: hidden;
	touch-action: none;
}

.lp-map-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 3;
	background: radial-gradient(125% 95% at 50% 0%, transparent 62%, rgba(0, 0, 0, .38) 100%);
}

.lp-map-stage {
	transform-origin: 0 0;
	will-change: transform;
	cursor: grab;
}

.lp-map-stage.is-dragging { cursor: grabbing; }

.lp-map-svg { display: block; width: 100%; height: auto; }

.lp-map-hint {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	z-index: 4;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(9, 4, 16, .84);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 11.5px;
	color: var(--muted);
	white-space: nowrap;
	pointer-events: none;
}

/* --- Seat list fallback -------------------------------------------------- */

.lp-seatlist { margin-top: 22px; }

.lp-seatlist summary {
	cursor: pointer;
	color: var(--text-2);
	font-size: 14px;
	padding: 10px 0;
	list-style: none;
}

.lp-seatlist summary::-webkit-details-marker { display: none; }
.lp-seatlist summary::before { content: "▸ "; color: var(--cyan); }
.lp-seatlist[open] summary::before { content: "▾ "; }

.lp-seatlist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.lp-seatlist-btn {
	width: 100%;
	display: grid;
	gap: 2px;
	text-align: left;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--panel);
	cursor: pointer;
	transition: border-color .18s, transform .15s, background .18s;
}

.lp-seatlist-btn:hover { transform: translateY(-2px); }
.lp-seatlist-code { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.lp-seatlist-who { font-size: 13px; color: var(--text-2); }
.lp-seatlist-zone { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.lp-seatlist-item--free .lp-seatlist-btn { border-color: rgba(67, 255, 154, .35); }
.lp-seatlist-item--free .lp-seatlist-who { color: var(--lime); }
.lp-seatlist-item--pending .lp-seatlist-btn { border-color: rgba(255, 171, 46, .35); }
.lp-seatlist-item--taken .lp-seatlist-btn { opacity: .6; cursor: default; }
.lp-seatlist-item--taken .lp-seatlist-btn:hover { transform: none; }

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

.lp-bring-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lp-bring-card {
	position: relative;
	padding: 26px 24px 24px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	box-shadow: var(--ring), 0 24px 50px -40px #000;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}

.lp-bring-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cyan), var(--plasma), transparent);
	opacity: .5;
}

.lp-bring-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 0 0 1px rgba(34, 224, 255, .35), 0 30px 60px -40px rgba(34, 224, 255, .5);
}

.lp-bring-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 13px;
	background: rgba(34, 224, 255, .1);
	box-shadow: inset 0 0 0 1px rgba(34, 224, 255, .28);
	color: var(--cyan);
}

.lp-bring-icon svg { width: 23px; height: 23px; }
.lp-bring-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.lp-bring-text { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* --- Games carousel ------------------------------------------------------ */

.lp-section--games { overflow: hidden; }

.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.lp-chip {
	padding: 7px 15px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--text-2);
	font-size: 13px;
	cursor: pointer;
	transition: all .18s;
}

.lp-chip:hover { border-color: rgba(34, 224, 255, .5); color: var(--text); }
.lp-chip.is-active { background: rgba(34, 224, 255, .12); border-color: var(--cyan); color: var(--cyan); }

.lp-carousel {
	margin-top: 8px;
	padding-inline: var(--gutter);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.lp-carousel::-webkit-scrollbar { display: none; }

.lp-carousel-track {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 8px 0 28px;
	width: max-content;
	max-width: none;
}

.lp-game {
	flex: 0 0 auto;
	width: clamp(200px, 46vw, 250px);
	scroll-snap-align: center;
	transition: opacity .25s, transform .25s;
}

.lp-game.is-hidden { display: none; }

.lp-game-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	box-shadow: var(--ring), 0 26px 54px -40px #000;
	overflow: hidden;
	transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s;
}

.lp-game:hover .lp-game-card {
	transform: translateY(-8px) rotate(-.6deg);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent),
		0 34px 70px -40px color-mix(in srgb, var(--accent) 75%, transparent);
}

.lp-game-cover {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #120a1c;
	overflow: hidden;
}

.lp-game-cover img { width: 100%; height: 100%; object-fit: cover; }

.lp-game-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
		linear-gradient(160deg, #180d26, #0a0514);
	font-family: var(--font-display);
	font-size: 54px;
	font-weight: 700;
	color: color-mix(in srgb, var(--accent) 85%, white);
	text-transform: uppercase;
	letter-spacing: .04em;
}

.lp-game-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 48%, transparent 58%);
	transform: translateX(-120%);
	transition: transform .7s ease;
	pointer-events: none;
}

.lp-game:hover .lp-game-shine { transform: translateX(120%); }

.lp-game-tag {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(9, 4, 16, .82);
	backdrop-filter: blur(6px);
	font-size: 11px;
	letter-spacing: .04em;
	color: var(--accent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
}

.lp-game-body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.lp-game-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0; line-height: 1.25; }
.lp-game-text { margin: 0; font-size: 13px; color: var(--text-2); }

.lp-game-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: auto 0 0;
	padding: 0;
}

.lp-game-platforms li {
	padding: 3px 9px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .045);
	font-size: 11px;
	color: var(--muted);
	letter-spacing: .04em;
}

/* --- Suggestions --------------------------------------------------------- */

.lp-suggest-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 56px);
	align-items: start;
}

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

.lp-form { display: grid; gap: 14px; margin-top: 22px; }

.lp-form--boxed {
	padding: clamp(20px, 3.4vw, 28px);
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	box-shadow: var(--ring), 0 30px 60px -46px #000;
}

.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 460px) {
	.lp-field-row { grid-template-columns: 1fr; }
}

.lp-field { display: grid; gap: 6px; }
.lp-field > span { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-field > span em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }

.lp-field input,
.lp-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: rgba(9, 4, 16, .72);
	color: var(--text);
	font: inherit;
	font-size: 15px;
	transition: border-color .18s, box-shadow .18s;
}

.lp-field textarea { resize: vertical; min-height: 62px; }

.lp-field input:focus,
.lp-field textarea:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(34, 224, 255, .16);
}

.lp-field input::placeholder,
.lp-field textarea::placeholder { color: #6b5a80; }

.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-form-msg { margin: 0; font-size: 14px; min-height: 0; }
.lp-form-msg.is-error { color: var(--red); }
.lp-form-msg.is-ok { color: var(--lime); }

.lp-fineprint { margin: 2px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.lp-suggest-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }

.lp-suggest-card {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
	box-shadow: var(--ring);
}

.lp-vote {
	display: grid;
	place-items: center;
	gap: 1px;
	flex: none;
	width: 48px;
	padding: 8px 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(9, 4, 16, .62);
	cursor: pointer;
	transition: all .18s;
}

.lp-vote:hover { border-color: var(--plasma); background: rgba(196, 113, 255, .1); }
.lp-vote.is-voted { border-color: var(--plasma); background: rgba(196, 113, 255, .16); cursor: default; }
.lp-vote-arrow { font-size: 11px; color: var(--plasma); }
.lp-vote-n { font-family: var(--font-display); font-weight: 700; font-size: 15px; }

.lp-suggest-title { margin: 0 0 3px; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.lp-suggest-body { margin: 0; font-size: 14px; color: var(--text-2); }
.lp-suggest-by { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.lp-empty-box {
	padding: 22px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	text-align: center;
	font-size: 14px;
}

.lp-inline-notice {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	background: rgba(34, 224, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(34, 224, 255, .3);
	font-size: 14.5px;
}

.lp-inline-notice--ok { background: rgba(67, 255, 154, .09); box-shadow: inset 0 0 0 1px rgba(67, 255, 154, .32); }
.lp-inline-notice--bad { background: rgba(255, 59, 92, .09); box-shadow: inset 0 0 0 1px rgba(255, 59, 92, .32); }

/* --- Rules --------------------------------------------------------------- */

.lp-section--rules { padding-block: clamp(40px, 6vw, 72px); }

.lp-rules {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.lp-rules li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 15px 18px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .025);
	box-shadow: inset 0 0 0 1px var(--line-soft);
	font-size: 14.5px;
	color: var(--text-2);
}

.lp-rule-n {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--plasma);
	flex: none;
	font-size: 14px;
	padding-top: 1px;
}

/* --- Modal --------------------------------------------------------------- */

.lp-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.lp-modal[hidden] { display: none; }

.lp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 3, 12, .84);
	backdrop-filter: blur(8px);
	animation: lp-fade .22s ease;
}

@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }

.lp-modal-sheet {
	position: relative;
	width: min(480px, calc(100vw - 32px));
	max-height: min(88vh, 760px);
	overflow-y: auto;
	padding: clamp(22px, 4vw, 30px);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, #1a0f2a, #0c0616);
	box-shadow: 0 0 0 1px rgba(34, 224, 255, .28), 0 50px 100px -50px #000;
	animation: lp-pop .28s cubic-bezier(.2, .9, .3, 1);
}

@keyframes lp-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

.lp-modal-grip { display: none; }

.lp-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background .18s;
}

.lp-modal-close:hover { background: rgba(255, 255, 255, .13); }

.lp-modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-right: 34px; }

.lp-seat-chip {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(67, 255, 154, .12);
	box-shadow: inset 0 0 0 1.5px rgba(67, 255, 154, .5);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 19px;
	color: var(--lime);
}

.lp-modal-head p { margin: 0; font-size: 13px; }

.lp-modal-done { text-align: center; display: grid; gap: 12px; padding-block: 12px; }

.lp-done-mark {
	justify-self: center;
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(67, 255, 154, .12);
	box-shadow: inset 0 0 0 2px rgba(67, 255, 154, .5);
	color: var(--lime);
	font-size: 30px;
	animation: lp-pop .4s .05s backwards cubic-bezier(.2, .9, .3, 1);
}

@media (max-width: 560px) {
	.lp-modal { place-items: end center; }

	.lp-modal-sheet {
		width: 100%;
		max-height: 92vh;
		border-radius: 24px 24px 0 0;
		padding-bottom: max(24px, env(safe-area-inset-bottom));
		animation: lp-slide-up .3s cubic-bezier(.2, .9, .3, 1);
	}

	.lp-modal-grip {
		display: block;
		width: 42px;
		height: 4px;
		margin: -6px auto 14px;
		border-radius: 99px;
		background: rgba(255, 255, 255, .18);
	}

	@keyframes lp-slide-up { from { transform: translateY(100%); } to { transform: none; } }
}

/* --- Toast --------------------------------------------------------------- */

.lp-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 95;
	max-width: calc(100vw - 32px);
	padding: 12px 20px;
	border-radius: 999px;
	background: rgba(20, 11, 32, .95);
	box-shadow: 0 0 0 1px rgba(34, 224, 255, .35), 0 20px 44px -24px #000;
	font-size: 14px;
	animation: lp-toast-in .3s cubic-bezier(.2, .9, .3, 1);
}

.lp-toast[hidden] { display: none; }
.lp-toast.is-error { box-shadow: 0 0 0 1px rgba(255, 59, 92, .5), 0 20px 44px -24px #000; }

@keyframes lp-toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- Footer -------------------------------------------------------------- */

.lp-footer { border-top: 1px solid var(--line-soft); padding-block: 34px; margin-top: 20px; }

.lp-footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	font-size: 13.5px;
}

.lp-footer-inner > div { display: inline-flex; align-items: center; gap: 9px; }
.lp-footer-inner p { margin: 0; }

/* --- Plain pages --------------------------------------------------------- */

.lp-shell--plain { max-width: 760px; margin-inline: auto; padding: 60px var(--gutter); }
.lp-prose h1 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 44px); }
.lp-prose a { color: var(--cyan); }

/* --- Motion preferences --------------------------------------------------- */

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

/* --- Scroll reveal (JS adds .lp-reveal, then .is-in) ---------------------- */

.lp-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity .5s var(--reveal-delay, 0ms) ease,
		transform .5s var(--reveal-delay, 0ms) cubic-bezier(.2, .9, .3, 1);
}

.lp-reveal.is-in { opacity: 1; transform: none; }

/* --- Designed poster for games without a licensed cover ------------------- */

.lp-game-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 20px 18px 22px;
	overflow: hidden;
	background:
		radial-gradient(120% 80% at 20% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 62%),
		radial-gradient(100% 70% at 100% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
		linear-gradient(165deg, #1a0e28 0%, #0a0514 65%);
	font-size: initial;
	letter-spacing: normal;
	color: inherit;
	text-transform: none;
	place-items: initial;
}

.lp-game-fallback-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 26px 26px;
	transform: perspective(340px) rotateX(58deg) scale(1.9) translateY(22%);
	transform-origin: 50% 100%;
	mask-image: linear-gradient(to top, #000 0%, transparent 62%);
	-webkit-mask-image: linear-gradient(to top, #000 0%, transparent 62%);
	opacity: .8;
}

.lp-game-fallback-title {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(21px, 4.2vw, 27px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.015em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 26px color-mix(in srgb, var(--accent) 80%, transparent);
}

.lp-game-fallback-meta {
	position: relative;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--accent) 88%, white);
}

/* --- Map on phones: taller frame, bigger touch targets -------------------- */

@media (max-width: 760px) {
	.lp-map-frame {
		height: min(62vh, 520px);
		border-radius: 18px;
	}

	.lp-map-frame .lp-map-svg { height: auto; }

	.lp-map-bar { gap: 10px; }
	.lp-counter-pill { margin-left: 0; order: 3; }
	.lp-zoom { margin-left: auto; order: 2; }
	.lp-legend { order: 1; width: 100%; }

	.lp-seat-label { font-size: 12px; }
	.lp-map-hint { font-size: 10.5px; bottom: 8px; }
}
