/* ============================================================
   NEON ESPORTS — dark neon esports news theme
   Palette: abyss #0B0E17 / panel #131829 / cyan #00E5FF
            magenta #FF2E88 / volt #C6FF00
   Type:    Oswald (display) · Be Vietnam Pro (body) · JetBrains Mono (data)
   ============================================================ */

:root {
	--ne-bg: #0B0E17;
	--ne-surface: #131829;
	--ne-surface-2: #1A2138;
	--ne-line: #232C4A;
	--ne-cyan: #00E5FF;
	--ne-magenta: #FF2E88;
	--ne-volt: #C6FF00;
	--ne-text: #E8ECF8;
	--ne-muted: #8A93B2;
	--ne-success: #22C55E;
	--ne-danger: #FF4D5E;
	--ne-font-display: 'Oswald', 'Be Vietnam Pro', sans-serif;
	--ne-font-body: 'Be Vietnam Pro', sans-serif;
	--ne-font-mono: 'JetBrains Mono', monospace;
	--ne-header-h: 66px;
	--ne-cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
	--ne-glow-cyan: 0 0 18px rgba(0, 229, 255, .35), 0 0 46px rgba(0, 229, 255, .12);
	--ne-glow-magenta: 0 0 18px rgba(255, 46, 136, .35);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ne-header-h) + 20px); }
body {
	margin: 0;
	background: var(--ne-bg);
	background-image:
		radial-gradient(900px 480px at 85% -60px, rgba(255, 46, 136, .08), transparent 60%),
		radial-gradient(1100px 560px at -10% 12%, rgba(0, 229, 255, .07), transparent 60%);
	background-attachment: fixed;
	color: var(--ne-text);
	font-family: var(--ne-font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ne-cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ne-volt); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ne-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .015em;
	line-height: 1.15;
	margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select {
	font-family: var(--ne-font-body);
	background: var(--ne-bg);
	color: var(--ne-text);
	border: 1px solid var(--ne-line);
	padding: 10px 14px;
	border-radius: 4px;
	max-width: 100%;
}
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible {
	outline: 2px solid var(--ne-cyan);
	outline-offset: 2px;
}
::selection { background: var(--ne-magenta); color: #fff; }

/* themed scrollbar */
html { scrollbar-color: var(--ne-cyan) #0d1120; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: #0d1120; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--ne-cyan), #0891b2); border-radius: 6px; border: 2px solid #0d1120; }
::-webkit-scrollbar-thumb:hover { background: var(--ne-cyan); }

.ne-mono { font-family: var(--ne-font-mono); letter-spacing: .04em; }
.ne-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ne-shell-narrow { max-width: 860px; }
.ne-skip { position: absolute; left: -9999px; top: 0; background: var(--ne-cyan); color: #04222a; padding: 10px 18px; z-index: 200; font-weight: 600; }
.ne-skip:focus { left: 12px; }
.screen-reader-text { position: absolute !important; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.ne-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ne-magenta); display: inline-block; flex: none; }
.ne-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ne-success); display: inline-block; margin-right: 8px; box-shadow: 0 0 8px var(--ne-success); animation: ne-pulse 1.6s ease-in-out infinite; }
@keyframes ne-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.ne-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ne-font-display);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .09em;
	text-transform: uppercase;
	padding: 11px 22px;
	clip-path: var(--ne-cut);
	border: 0;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.ne-btn-solid { background: var(--ne-cyan); color: #04222a; }
.ne-btn-solid:hover { background: #5cf0ff; color: #04222a; transform: translateY(-2px); box-shadow: var(--ne-glow-cyan); }
.ne-btn-ghost {
	background: transparent;
	color: var(--ne-magenta);
	box-shadow: inset 0 0 0 1.6px var(--ne-magenta);
}
.ne-btn-ghost:hover { color: #ff7ab1; box-shadow: inset 0 0 0 1.6px #ff7ab1, var(--ne-glow-magenta); transform: translateY(-2px); }
.ne-btn-lg { padding: 15px 30px; font-size: 16px; }
.ne-btn-block { display: flex; width: 100%; margin-top: 10px; }

/* ---------- ticker ---------- */
.ne-ticker {
	display: flex;
	align-items: stretch;
	background: #070a12;
	border-bottom: 1px solid var(--ne-line);
	font-size: 12px;
	height: 34px;
	overflow: hidden;
}
.ne-ticker-badge {
	display: flex;
	align-items: center;
	padding: 0 16px;
	background: var(--ne-surface);
	color: var(--ne-cyan);
	font-weight: 700;
	border-right: 1px solid var(--ne-line);
	flex: none;
	z-index: 2;
}
.ne-ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ne-ticker-track { display: inline-flex; gap: 42px; white-space: nowrap; padding-left: 24px; animation: ne-marquee 36s linear infinite; will-change: transform; }
.ne-ticker:hover .ne-ticker-track { animation-play-state: paused; }
@keyframes ne-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ne-ticker-item { display: inline-flex; align-items: center; gap: 10px; color: var(--ne-muted); }
.ne-ticker-game { color: var(--ne-text); font-weight: 700; }
.ne-ticker-odd { font-weight: 700; }
.ne-odd-up { color: var(--ne-success); }
.ne-odd-down { color: var(--ne-danger); }

/* ---------- header ---------- */
.ne-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(11, 14, 23, .78);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(0, 229, 255, .16);
	transition: box-shadow .25s ease;
}
.ne-header.ne-scrolled { box-shadow: 0 6px 30px rgba(0, 0, 0, .55), 0 1px 0 rgba(0, 229, 255, .25); }
.ne-header-inner { display: flex; align-items: center; gap: 26px; height: var(--ne-header-h); }
.ne-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.ne-logo-text {
	font-family: var(--ne-font-display);
	font-weight: 700;
	font-size: 24px;
	letter-spacing: .04em;
	color: var(--ne-text);
	display: flex;
	align-items: baseline;
	gap: 8px;
	line-height: 1;
}
.ne-logo:hover .ne-logo-text { color: var(--ne-cyan); }
.ne-logo-sub { font-style: normal; font-size: 10px; color: var(--ne-magenta); letter-spacing: .28em; }
.ne-logo img { max-height: 44px; width: auto; }
.ne-nav { flex: 1; min-width: 0; }
.ne-nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ne-nav-list li { margin: 0; }
.ne-nav-list a {
	display: block;
	position: relative;
	font-family: var(--ne-font-display);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ne-muted);
	padding: 8px 12px;
}
.ne-nav-list a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 2px;
	background: var(--ne-cyan);
	box-shadow: 0 0 8px var(--ne-cyan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.ne-nav-list a:hover, .ne-nav-list .current-menu-item > a, .ne-nav-list .current_page_item > a { color: var(--ne-text); }
.ne-nav-list a:hover::after, .ne-nav-list .current-menu-item > a::after, .ne-nav-list .current_page_item > a::after { transform: scaleX(1); }
.ne-header-cta { display: flex; gap: 10px; flex: none; }
.ne-header-cta .ne-btn { padding: 9px 16px; font-size: 13px; }
.ne-burger { display: none; background: none; border: 1px solid var(--ne-line); border-radius: 6px; width: 42px; height: 42px; padding: 10px 9px; flex-direction: column; justify-content: space-between; }
.ne-burger span { display: block; height: 2px; background: var(--ne-cyan); border-radius: 2px; box-shadow: 0 0 6px rgba(0, 229, 255, .6); transition: transform .2s ease, opacity .2s ease; }

/* ---------- mobile drawer ---------- */
.ne-drawer-scrim { position: fixed; inset: 0; background: rgba(4, 6, 12, .7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 98; opacity: 0; transition: opacity .25s ease; }
.ne-drawer-scrim.ne-open { opacity: 1; }
.ne-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(320px, 86vw);
	background: #0d1122;
	border-left: 1px solid var(--ne-cyan);
	box-shadow: -12px 0 46px rgba(0, 229, 255, .18);
	z-index: 99;
	transform: translateX(105%);
	transition: transform .28s cubic-bezier(.22, .9, .3, 1);
	padding: 20px 22px 90px;
	overflow-y: auto;
	visibility: hidden;
}
.ne-drawer.ne-open { transform: translateX(0); visibility: visible; }
.ne-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ne-line); }
.ne-drawer-title { color: var(--ne-cyan); font-size: 13px; font-weight: 700; }
.ne-drawer-close { background: none; border: 1px solid var(--ne-line); color: var(--ne-magenta); width: 34px; height: 34px; border-radius: 6px; font-size: 14px; }
.ne-drawer-close:hover { border-color: var(--ne-magenta); box-shadow: var(--ne-glow-magenta); }
.ne-drawer .ne-nav-list, .ne-drawer-list { flex-direction: column; gap: 2px; display: flex; list-style: none; margin: 0 0 18px; padding: 0; }
.ne-drawer .ne-nav-list a, .ne-drawer-list a { padding: 12px 10px; border-bottom: 1px dashed var(--ne-line); font-size: 16px; color: var(--ne-text); }
.ne-drawer .ne-nav-list a::after { display: none; }
.ne-drawer .ne-nav-list a:hover, .ne-drawer-list a:hover { color: var(--ne-cyan); padding-left: 16px; }
.ne-drawer-cta { display: grid; gap: 10px; margin-bottom: 18px; }
body.ne-lock { overflow: hidden; }

/* ---------- hero ---------- */
.ne-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--ne-line); }
.ne-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 88px; position: relative; z-index: 2; }
.ne-hero-scan {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: repeating-linear-gradient(0deg, rgba(232, 236, 248, .022) 0 1px, transparent 1px 4px);
	mix-blend-mode: overlay;
}
.ne-hero-scan::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .05), transparent);
	animation: ne-scan 7s linear infinite;
}
@keyframes ne-scan { from { top: -20%; } to { top: 110%; } }
.ne-hero-kicker { color: var(--ne-cyan); font-size: 12px; font-weight: 700; display: flex; align-items: center; margin-bottom: 18px; }
.ne-hero-title { font-size: clamp(38px, 5.2vw, 64px); margin-bottom: 18px; }
.ne-hero-line { display: block; }
.ne-hero-accent {
	color: var(--ne-cyan);
	text-shadow: 0 0 24px rgba(0, 229, 255, .45);
}
.ne-hero-sub { color: var(--ne-muted); font-size: 17px; max-width: 46ch; margin-bottom: 28px; }
.ne-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.ne-hero-stats { display: flex; gap: 34px; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px dashed var(--ne-line); }
.ne-hero-stats li { display: grid; gap: 2px; }
.ne-hero-stats b { font-size: 24px; color: var(--ne-volt); font-weight: 700; }
.ne-hero-stats span { font-size: 10px; color: var(--ne-muted); letter-spacing: .18em; }
.ne-hero-art { position: relative; }
.ne-hero-svg {
	width: 100%;
	height: auto;
	clip-path: polygon(10% 0, 100% 0, 100% 88%, 90% 100%, 0 100%, 0 12%);
	background: linear-gradient(150deg, #10152a 0%, #0c101f 55%, #131b33 100%);
	border: 1px solid var(--ne-line);
	filter: drop-shadow(0 0 34px rgba(0, 229, 255, .12));
}
.ne-chip {
	position: absolute;
	display: grid;
	gap: 1px;
	background: rgba(19, 24, 41, .92);
	border: 1px solid var(--ne-cyan);
	clip-path: var(--ne-cut);
	padding: 10px 16px;
	box-shadow: var(--ne-glow-cyan);
	animation: ne-float 5.5s ease-in-out infinite;
}
.ne-chip b { font-size: 19px; color: var(--ne-cyan); line-height: 1.1; }
.ne-chip span { font-size: 9px; color: var(--ne-muted); letter-spacing: .16em; }
.ne-chip-magenta { color: var(--ne-magenta) !important; }
.ne-chip-volt { color: var(--ne-volt) !important; }
.ne-chip-a { top: 8%; left: -18px; }
.ne-chip-b { bottom: 20%; right: -12px; border-color: var(--ne-magenta); box-shadow: var(--ne-glow-magenta); animation-delay: -1.8s; }
.ne-chip-c { bottom: -16px; left: 18%; border-color: var(--ne-volt); box-shadow: 0 0 18px rgba(198, 255, 0, .25); animation-delay: -3.4s; }
@keyframes ne-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.ne-hero-cut {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 46px;
	background: var(--ne-bg);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	z-index: 4;
}
.ne-hero-cut::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -2px;
	height: 2px;
	background: linear-gradient(90deg, var(--ne-magenta), var(--ne-cyan) 55%, var(--ne-volt));
	transform: rotate(-2.2deg);
	transform-origin: right;
	opacity: .55;
}

/* ---------- section heads ---------- */
.ne-section-head { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 26px; }
.ne-section-index {
	color: var(--ne-magenta);
	font-weight: 700;
	font-size: 13px;
	border: 1px solid rgba(255, 46, 136, .5);
	padding: 4px 9px;
	clip-path: var(--ne-cut);
	margin-top: 6px;
	flex: none;
}
.ne-section-title { font-size: clamp(24px, 3vw, 34px); margin: 0; position: relative; display: inline-block; }
.ne-section-title::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 8px; background: linear-gradient(90deg, var(--ne-cyan), transparent); box-shadow: 0 0 10px rgba(0, 229, 255, .5); }
.ne-section-sub { color: var(--ne-muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- category track ---------- */
.ne-track-section { padding: 54px 0 30px; }
.ne-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 6px max(24px, calc((100vw - 1200px) / 2 + 24px)) 22px;
	-webkit-overflow-scrolling: touch;
}
.ne-track::-webkit-scrollbar { height: 6px; }
.ne-tile {
	scroll-snap-align: start;
	flex: 0 0 218px;
	display: grid;
	gap: 6px;
	background: var(--ne-surface);
	border: 1px solid var(--ne-line);
	clip-path: var(--ne-cut);
	padding: 22px 20px 18px;
	position: relative;
	color: var(--ne-text);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ne-tile:hover { border-color: var(--ne-cyan); transform: translateY(-4px); box-shadow: var(--ne-glow-cyan); color: var(--ne-text); }
.ne-tile:nth-child(3n + 2):hover { border-color: var(--ne-magenta); box-shadow: var(--ne-glow-magenta); }
.ne-tile:nth-child(3n):hover { border-color: var(--ne-volt); box-shadow: 0 0 18px rgba(198, 255, 0, .25); }
.ne-tile-icon { color: var(--ne-cyan); }
.ne-tile:nth-child(3n + 2) .ne-tile-icon { color: var(--ne-magenta); }
.ne-tile:nth-child(3n) .ne-tile-icon { color: var(--ne-volt); }
.ne-tile-label { font-family: var(--ne-font-display); font-weight: 700; font-size: 19px; letter-spacing: .05em; }
.ne-tile-sub { color: var(--ne-muted); font-size: 12.5px; }
.ne-tile-arrow { position: absolute; right: 16px; bottom: 12px; color: var(--ne-muted); font-size: 14px; transition: transform .2s ease, color .2s ease; }
.ne-tile:hover .ne-tile-arrow { transform: translateX(5px); color: var(--ne-cyan); }

/* ---------- feed layout & cards ---------- */
.ne-feed { padding: 34px 0 70px; }
.ne-page-shell { padding: 34px 0 70px; min-height: 55vh; }
.ne-feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.ne-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ne-feed-main .ne-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ne-grid-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ne-card {
	background: var(--ne-surface);
	border: 1px solid var(--ne-line);
	clip-path: var(--ne-cut);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.ne-card:hover { border-color: rgba(0, 229, 255, .75); transform: translateY(-5px); box-shadow: var(--ne-glow-cyan); }
.ne-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 1; background: var(--ne-surface-2); }
.ne-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; filter: saturate(.92); }
.ne-card:hover .ne-card-media img { transform: scale(1.05); filter: saturate(1.1); }
.ne-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 14, 23, .82)); }
.ne-card-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: var(--ne-magenta);
	color: #fff;
	font-family: var(--ne-font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 10px;
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
	box-shadow: 0 0 14px rgba(255, 46, 136, .5);
}
.ne-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ne-card-meta { display: flex; align-items: center; gap: 10px; color: var(--ne-muted); font-size: 10.5px; letter-spacing: .1em; margin-bottom: 10px; }
.ne-card-title { font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.ne-card-title a { color: var(--ne-text); }
.ne-card-title a:hover { color: var(--ne-cyan); }
.ne-card-excerpt { color: var(--ne-muted); font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; flex: 1; }
.ne-card-link { font-family: var(--ne-font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--ne-cyan); }
.ne-card-link span { display: inline-block; transition: transform .2s ease; }
.ne-card-link:hover span { transform: translateX(5px); }
.ne-demo-hidden { display: none; }
.ne-empty { color: var(--ne-muted); grid-column: 1 / -1; border: 1px dashed var(--ne-line); padding: 26px; clip-path: var(--ne-cut); }

/* staggered reveal */
.ne-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.ne-reveal.ne-in { opacity: 1; transform: translateY(0); }
.ne-grid .ne-card:nth-child(3n + 2) { transition-delay: .08s; }
.ne-grid .ne-card:nth-child(3n) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
	.ne-reveal { opacity: 1; transform: none; transition: none; }
	.ne-ticker-track, .ne-chip, .ne-hero-scan::after, .ne-live-dot { animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- load more ---------- */
.ne-load-wrap { display: flex; justify-content: center; margin-top: 34px; }
.ne-load-more {
	position: relative;
	overflow: hidden;
	background: transparent;
	color: var(--ne-cyan);
	border: 1.6px solid var(--ne-cyan);
	clip-path: var(--ne-cut);
	font-family: var(--ne-font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .14em;
	padding: 14px 44px;
	transition: box-shadow .2s ease, color .2s ease, opacity .2s ease;
}
.ne-load-more:hover { box-shadow: var(--ne-glow-cyan); color: #8ff4ff; }
.ne-load-more .ne-load-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--ne-cyan), var(--ne-magenta)); }
.ne-load-more.ne-charging { pointer-events: none; color: var(--ne-muted); }
.ne-load-more.ne-charging .ne-load-bar { animation: ne-charge 1.1s ease-in-out infinite; }
@keyframes ne-charge { 0% { width: 0; opacity: 1; } 70% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.ne-load-more[disabled] { opacity: .35; pointer-events: none; }
.ne-load-more.ne-gone { display: none; }

/* ---------- sidebar & widgets ---------- */
.ne-sidebar { display: grid; gap: 22px; position: sticky; top: calc(var(--ne-header-h) + 20px); }
.ne-widget {
	background: var(--ne-surface);
	border: 1px solid var(--ne-line);
	clip-path: var(--ne-cut);
	padding: 20px;
	font-size: 14px;
}
.ne-widget-title { font-size: 16px; letter-spacing: .08em; margin-bottom: 14px; }
.ne-widget-title span { border-left: 3px solid var(--ne-cyan); padding-left: 10px; box-shadow: -6px 0 12px -6px var(--ne-cyan); }
.ne-widget ul { list-style: none; margin: 0; padding: 0; }
.ne-widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--ne-line); color: var(--ne-muted); }
.ne-widget ul li:last-child { border-bottom: 0; }
.ne-widget ul li a { color: var(--ne-text); }
.ne-widget ul li a:hover { color: var(--ne-cyan); }
.ne-widget-cta { border-color: rgba(255, 46, 136, .55); background: linear-gradient(160deg, #1a1230, var(--ne-surface) 60%); }
.ne-widget-cta .ne-widget-title span { border-color: var(--ne-magenta); box-shadow: -6px 0 12px -6px var(--ne-magenta); }
.ne-widget-cta-text { color: var(--ne-muted); font-size: 13.5px; }

/* ---------- search form ---------- */
.ne-searchform { display: flex; border: 1px solid var(--ne-line); clip-path: var(--ne-cut); background: var(--ne-bg); }
.ne-searchform:focus-within { border-color: var(--ne-cyan); box-shadow: var(--ne-glow-cyan); }
.ne-search-input { flex: 1; border: 0; background: transparent; font-size: 12px; padding: 12px 14px; min-width: 0; }
.ne-search-input:focus { outline: none; }
.ne-search-btn { background: var(--ne-cyan); color: #04222a; border: 0; padding: 0 15px; display: flex; align-items: center; transition: background .2s ease; }
.ne-search-btn:hover { background: var(--ne-volt); }
.ne-search-again { max-width: 460px; margin-top: 18px; }

/* ---------- breadcrumbs ---------- */
.ne-crumbs { margin-bottom: 22px; font-size: 12px; }
.ne-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--ne-muted); font-family: var(--ne-font-mono); }
.ne-crumbs li + li::before { content: '▸'; margin-right: 8px; color: var(--ne-magenta); }
.ne-crumbs a { color: var(--ne-muted); }
.ne-crumbs a:hover { color: var(--ne-cyan); }
.ne-crumbs [aria-current] { color: var(--ne-cyan); }

/* ---------- archive heads ---------- */
.ne-archive-head { margin-bottom: 30px; padding: 26px 28px; background: linear-gradient(120deg, var(--ne-surface) 60%, #171f3a); border: 1px solid var(--ne-line); clip-path: var(--ne-cut); }
.ne-archive-kicker { color: var(--ne-magenta); font-size: 11px; font-weight: 700; letter-spacing: .22em; display: flex; align-items: center; margin-bottom: 8px; }
.ne-archive-title { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 6px; }
.ne-archive-desc { color: var(--ne-muted); max-width: 70ch; margin-bottom: 0; }
.ne-cat-count { color: var(--ne-volt); font-size: 12px; margin: 8px 0 0; }

/* ---------- single article ---------- */
.ne-article { min-width: 0; }
.ne-article-head { margin-bottom: 24px; }
.ne-article-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ne-chip-cat {
	background: rgba(255, 46, 136, .12);
	border: 1px solid rgba(255, 46, 136, .6);
	color: var(--ne-magenta);
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 10px;
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.ne-chip-cat:hover { background: var(--ne-magenta); color: #fff; }
.ne-article-title { font-size: clamp(28px, 4vw, 44px); }
.ne-article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ne-muted); font-size: 11.5px; letter-spacing: .1em; }
.ne-article-cover { margin: 0 0 26px; clip-path: var(--ne-cut); border: 1px solid var(--ne-line); }
.ne-article-content { font-size: 16.5px; color: #cdd4e8; }
.ne-article-content h2, .ne-article-content h3 { color: var(--ne-text); margin-top: 1.6em; }
.ne-article-content h2 { font-size: 26px; border-left: 3px solid var(--ne-cyan); padding-left: 14px; }
.ne-article-content a { text-decoration: underline; text-underline-offset: 3px; }
.ne-article-content blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	background: var(--ne-surface);
	border-left: 3px solid var(--ne-magenta);
	clip-path: var(--ne-cut);
	color: var(--ne-text);
	font-style: italic;
}
.ne-article-content img { clip-path: var(--ne-cut); }
.ne-article-content ul, .ne-article-content ol { padding-left: 1.4em; }
.ne-article-content li { margin-bottom: .4em; }
.ne-article-content code, .ne-article-content pre { font-family: var(--ne-font-mono); background: var(--ne-surface); border: 1px solid var(--ne-line); border-radius: 4px; }
.ne-article-content code { padding: 2px 6px; font-size: .9em; color: var(--ne-volt); }
.ne-article-content pre { padding: 16px; overflow-x: auto; }
.ne-article-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.ne-article-content th, .ne-article-content td { border: 1px solid var(--ne-line); padding: 10px 12px; text-align: left; }
.ne-article-content th { background: var(--ne-surface); font-family: var(--ne-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ne-cyan); }
.ne-page-links { margin: 20px 0; display: flex; gap: 10px; }
.ne-article-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin: 34px 0;
	padding: 22px 26px;
	background: linear-gradient(110deg, rgba(0, 229, 255, .1), rgba(255, 46, 136, .12));
	border: 1px solid rgba(0, 229, 255, .45);
	clip-path: var(--ne-cut);
}
.ne-article-cta p { margin: 0; font-weight: 700; font-size: 14px; color: var(--ne-text); }
.ne-article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; font-size: 11px; }
.ne-article-tags a { border: 1px dashed var(--ne-line); color: var(--ne-muted); padding: 4px 10px; }
.ne-article-tags a:hover { border-color: var(--ne-volt); color: var(--ne-volt); }

/* author box */
.ne-author {
	display: flex;
	gap: 20px;
	padding: 24px;
	background: var(--ne-surface);
	border: 1px solid var(--ne-line);
	clip-path: var(--ne-cut);
	margin-bottom: 36px;
}
.ne-author-avatar img { border-radius: 8px; border: 2px solid var(--ne-cyan); box-shadow: var(--ne-glow-cyan); }
.ne-author-kicker { color: var(--ne-magenta); font-size: 10px; letter-spacing: .24em; margin-bottom: 4px; }
.ne-author-name { font-size: 20px; margin-bottom: 6px; }
.ne-author-bio { color: var(--ne-muted); font-size: 13.5px; margin-bottom: 8px; }
.ne-author-link { font-size: 11px; font-weight: 700; letter-spacing: .12em; }

/* related */
.ne-related { margin-bottom: 36px; }
.ne-related-title { font-size: 22px; border-left: 3px solid var(--ne-volt); padding-left: 12px; margin-bottom: 18px; }

/* ---------- comments ---------- */
.ne-comments { margin-top: 10px; }
.ne-comments-title { font-size: 22px; border-left: 3px solid var(--ne-cyan); padding-left: 12px; }
.ne-comment-list { list-style: none; margin: 0 0 26px; padding: 0; }
.ne-comment-list .comment { background: var(--ne-surface); border: 1px solid var(--ne-line); clip-path: var(--ne-cut); padding: 16px 18px; margin-bottom: 14px; }
.ne-comment-list .children { list-style: none; padding-left: 26px; border-left: 1px dashed var(--ne-line); margin-top: 14px; }
.ne-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--ne-font-display); text-transform: uppercase; letter-spacing: .04em; }
.ne-comment-list .comment-author img { border-radius: 6px; border: 1px solid var(--ne-cyan); }
.ne-comment-list .comment-metadata { font-family: var(--ne-font-mono); font-size: 10.5px; margin: 6px 0 10px; }
.ne-comment-list .comment-metadata a { color: var(--ne-muted); }
.ne-comment-list .reply a { font-family: var(--ne-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ne-magenta); }
.ne-comment-form label { display: block; font-size: 13px; color: var(--ne-muted); margin-bottom: 6px; }
.ne-comment-form input[type="text"], .ne-comment-form input[type="email"], .ne-comment-form input[type="url"], .ne-comment-form textarea { width: 100%; }
.ne-comment-form textarea { min-height: 130px; resize: vertical; }
.ne-comment-reply-title { font-size: 19px; }
.ne-comment-notes { font-size: 10.5px; color: var(--ne-muted); }
.ne-comments-closed { color: var(--ne-danger); font-size: 12px; }
.comment-reply-title small a { color: var(--ne-danger); font-size: 12px; margin-left: 10px; }
.ne-comment-form .submit { border: 0; }
.comment-navigation { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 20px; }

/* ---------- pagination ---------- */
.ne-pagination { margin-top: 30px; }
.ne-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--ne-font-mono); font-size: 13px; }
.ne-pagination .page-numbers { border: 1px solid var(--ne-line); color: var(--ne-muted); padding: 8px 14px; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.ne-pagination .page-numbers.current { background: var(--ne-cyan); color: #04222a; border-color: var(--ne-cyan); }
.ne-pagination a.page-numbers:hover { border-color: var(--ne-cyan); color: var(--ne-cyan); }

/* ---------- 404 ---------- */
.ne-404 { text-align: center; padding: 60px 24px 80px; }
.ne-404-code { font-size: clamp(80px, 14vw, 150px); font-weight: 700; line-height: 1; color: var(--ne-text); margin: 0 0 10px; text-shadow: 0 0 40px rgba(0, 229, 255, .3); }
.ne-404-zero { color: var(--ne-magenta); text-shadow: 0 0 34px rgba(255, 46, 136, .6); }
.ne-404-title { font-size: clamp(24px, 3.4vw, 36px); }
.ne-404-desc { color: var(--ne-muted); max-width: 52ch; margin: 0 auto 24px; }
.ne-404-search { max-width: 440px; margin: 0 auto 24px; }
.ne-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ne-footer { background: #070a12; border-top: 1px solid var(--ne-line); margin-top: 20px; position: relative; overflow: hidden; }
.ne-circuit-divider { padding: 0; line-height: 0; }
.ne-circuit-divider svg { width: 100%; height: 26px; display: block; }
.ne-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-top: 44px; padding-bottom: 30px; }
.ne-footer-brand { font-family: var(--ne-font-display); font-weight: 700; font-size: 26px; letter-spacing: .04em; margin-bottom: 10px; }
.ne-footer-brand .ne-mono { font-size: 12px; color: var(--ne-magenta); }
.ne-footer-desc { color: var(--ne-muted); font-size: 13.5px; }
.ne-footer-title { font-size: 12px; color: var(--ne-cyan); letter-spacing: .2em; margin-bottom: 14px; }
.ne-footer-links { list-style: none; margin: 0; padding: 0; }
.ne-footer-links li { margin-bottom: 9px; }
.ne-footer-links a { color: var(--ne-muted); font-size: 14px; }
.ne-footer-links a:hover { color: var(--ne-volt); padding-left: 5px; }
.ne-socials { display: flex; gap: 10px; margin-top: 16px; }
.ne-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--ne-line);
	color: var(--ne-cyan);
	clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
	transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}
.ne-socials a:hover { border-color: var(--ne-cyan); box-shadow: var(--ne-glow-cyan); transform: translateY(-3px); }
.ne-socials a:nth-child(2) { color: var(--ne-magenta); }
.ne-socials a:nth-child(2):hover { border-color: var(--ne-magenta); box-shadow: var(--ne-glow-magenta); }
.ne-socials a:nth-child(3) { color: var(--ne-danger); }
.ne-socials a:nth-child(4) { color: var(--ne-volt); }
.ne-socials a:nth-child(4):hover { border-color: var(--ne-volt); box-shadow: 0 0 16px rgba(198, 255, 0, .3); }
.ne-footer-word {
	font-family: var(--ne-font-display);
	font-weight: 700;
	font-size: clamp(90px, 17vw, 230px);
	line-height: .9;
	text-align: center;
	letter-spacing: .06em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(0, 229, 255, .28);
	user-select: none;
	margin: 6px 0 -0.12em;
}
.ne-footer-legal { border-top: 1px solid var(--ne-line); background: #05070d; }
.ne-footer-legal-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.ne-footer-legal p { margin: 0; color: var(--ne-muted); font-size: 12px; }
.ne-footer-legal .ne-mono { color: var(--ne-danger); letter-spacing: .16em; }

/* ---------- back to top ---------- */
.ne-top {
	position: fixed;
	right: 22px;
	bottom: 26px;
	z-index: 80;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ne-surface);
	color: var(--ne-cyan);
	border: 1.5px solid var(--ne-cyan);
	clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s ease;
}
.ne-top.ne-show { opacity: 1; visibility: visible; transform: translateY(0); }
.ne-top:hover { box-shadow: var(--ne-glow-cyan); }

/* ---------- mobile CTA bar ---------- */
.ne-mobilebar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 85;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(7, 10, 18, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-top: 1px solid rgba(0, 229, 255, .35);
}
.ne-mobilebar .ne-btn { flex: 1; padding: 12px 10px; }

/* ---------- responsive ≤900 ---------- */
@media (max-width: 900px) {
	.ne-hero-inner { grid-template-columns: 1fr; gap: 46px; padding-top: 44px; padding-bottom: 74px; }
	.ne-hero-art { max-width: 560px; }
	.ne-chip-a { left: 6px; }
	.ne-chip-b { right: 6px; }
	.ne-feed-layout { grid-template-columns: 1fr; }
	.ne-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ne-feed-main .ne-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ne-grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ne-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ne-nav { display: none; }
	.ne-burger { display: flex; }
	.ne-header-inner { justify-content: space-between; }
}

/* ---------- responsive ≤600 ---------- */
@media (max-width: 600px) {
	body { font-size: 15px; padding-bottom: 70px; }
	.ne-shell { padding: 0 16px; }
	.ne-ticker { font-size: 11px; }
	.ne-header-cta { display: none; }
	.ne-mobilebar { display: flex; }
	.ne-top { bottom: 84px; right: 14px; }
	.ne-hero-title { font-size: clamp(32px, 9.4vw, 42px); }
	.ne-hero-cta .ne-btn { flex: 1; justify-content: center; }
	.ne-hero-stats { gap: 22px; }
	.ne-chip { padding: 8px 12px; }
	.ne-chip b { font-size: 15px; }
	.ne-feed-main .ne-grid, .ne-grid, .ne-grid-related { grid-template-columns: 1fr; }
	.ne-sidebar { grid-template-columns: 1fr; }
	.ne-tile { flex-basis: 178px; padding: 18px 16px 16px; }
	.ne-footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.ne-footer-legal-inner { flex-direction: column; gap: 6px; }
	.ne-author { flex-direction: column; }
	.ne-article-cta { flex-direction: column; align-items: stretch; text-align: center; }
	.ne-comment-list .children { padding-left: 14px; }
}