/* Story app — Phase 6 premium dark reading vitrin */



.ns-story-html,

.ns-story-body {

	margin: 0;

	min-height: 100dvh;

	background: var(--nx-bg, #050505);

	color: var(--nx-text, #ece8ea);

	font-family: "Segoe UI", system-ui, sans-serif;

	line-height: 1.5;

	-webkit-font-smoothing: antialiased;

}



.ns-story-app {

	display: grid;

	grid-template-columns: 1fr;

	min-height: 100dvh;

}



/* Sidebar */

.ns-story-sidebar {

	display: none;

	padding: 1.25rem 1rem;

	border-right: 1px solid var(--nx-border);

	background: rgba(0, 0, 0, 0.45);

}



.ns-story-sidebar__home {

	display: inline-block;

	margin-bottom: 1rem;

	color: var(--nx-muted);

	text-decoration: none;

	font-size: 0.82rem;

}



.ns-story-sidebar__brand {

	font-size: 1.35rem;

	font-weight: 800;

	letter-spacing: 0.14em;

	color: var(--nx-accent);

	margin-bottom: 1rem;

}



.ns-story-sidebar__nav {

	display: grid;

	gap: 0.3rem;

	margin-bottom: 1.25rem;

}



.ns-story-sidebar__nav a {

	padding: 0.5rem 0.7rem;

	border-radius: 8px;

	color: var(--nx-muted);

	text-decoration: none;

	font-size: 0.88rem;

	transition: background 0.2s ease, color 0.2s ease;

}



.ns-story-sidebar__nav a.is-active,

.ns-story-sidebar__nav a:hover {

	background: var(--nx-accent-soft);

	color: var(--nx-accent);

}



/* Category filters */

.ns-story-cats {

	display: flex;

	flex-wrap: wrap;

	gap: 0.4rem;

}



.ns-story-cats--sidebar {

	flex-direction: column;

}



.ns-story-cats--topbar {

	display: none;

	overflow-x: auto;

	flex-wrap: nowrap;

	max-width: min(52vw, 480px);

	scrollbar-width: none;

}



.ns-story-cats--topbar::-webkit-scrollbar { display: none; }



.ns-story-cats__btn {

	flex: 0 0 auto;

	padding: 0.4rem 0.75rem;

	border-radius: 999px;

	border: 1px solid var(--nx-border);

	background: rgba(255, 255, 255, 0.03);

	color: var(--nx-muted);

	font-size: 0.78rem;

	cursor: pointer;
	text-decoration: none;

	transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;

}



.ns-story-cats__btn:hover,

.ns-story-cats__btn.is-active {

	border-color: var(--nx-accent);

	color: var(--nx-accent);

	background: var(--nx-accent-soft);

}



.ns-story-cats__btn.is-loading {

	opacity: 0.55;

	pointer-events: none;

}



/* Main shell */

.ns-story-main {

	display: flex;

	flex-direction: column;

	min-width: 0;

}



.ns-story-topbar {

	display: flex;

	align-items: center;

	gap: 0.75rem;

	padding: 0.7rem 1rem;

	border-bottom: 1px solid var(--nx-border);

	background: var(--nx-surface);

	backdrop-filter: blur(var(--nx-glass-blur, 20px));

	position: sticky;

	top: 0;

	z-index: 40;

}



.ns-story-topbar__title {

	font-weight: 700;

	font-size: 0.95rem;

	flex-shrink: 0;

}



.ns-story-topbar__actions {

	display: flex;

	align-items: center;

	gap: 0.5rem;

	margin-left: auto;

}



.ns-story-icon-btn {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	width: 38px;

	height: 38px;

	border-radius: 10px;

	border: 1px solid var(--nx-border);

	background: rgba(0, 0, 0, 0.35);

	color: var(--nx-text);

	cursor: pointer;

}



.ns-story-content {

	flex: 1;

	padding: 0 0 5rem;

}



.ns-story-kicker {

	font-size: 0.7rem;

	text-transform: uppercase;

	letter-spacing: 0.12em;

	color: var(--nx-accent);

}

.ns-story-kicker--vitrin {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid rgba(196, 30, 58, 0.35);
	background: var(--nx-accent-soft);
	box-shadow: 0 0 16px rgba(196, 30, 58, 0.2);
}



/* Hero slider */

.ns-story-hero {

	position: relative;

	margin-bottom: 1.5rem;

}



.ns-story-hero__viewport {

	overflow: hidden;

}



.ns-story-hero__track {

	position: relative;

	min-height: clamp(320px, 52vh, 480px);

}



.ns-story-hero__slide {

	position: absolute;

	inset: 0;

	opacity: 0;

	pointer-events: none;

	transition: opacity 0.65s ease;

	display: grid;

	align-content: end;

}



.ns-story-hero__slide.is-active {

	opacity: 1;

	pointer-events: auto;

	z-index: 1;

}



.ns-story-hero__media {

	position: absolute;

	inset: 0;

}



.ns-story-hero__media img,

.ns-story-hero__placeholder {

	width: 100%;

	height: 100%;

	object-fit: cover;

}



.ns-story-hero__placeholder {

	display: block;

}



.ns-story-hero__placeholder--1 { background: linear-gradient(135deg, #1a0a0f 0%, #3d1020 50%, #0a0a0a 100%); }

.ns-story-hero__placeholder--2 { background: linear-gradient(135deg, #0f0a1a 0%, #2a1545 50%, #080808 100%); }

.ns-story-hero__placeholder--3 { background: linear-gradient(135deg, #1a1208 0%, #4a2810 50%, #0a0806 100%); }

.ns-story-hero__placeholder--4 { background: linear-gradient(135deg, #081418 0%, #123d45 50%, #060a0c 100%); }

.ns-story-hero__placeholder--5 { background: linear-gradient(135deg, #180810 0%, #5c1830 50%, #0a0508 100%); }

.ns-story-hero__placeholder--6 { background: linear-gradient(135deg, #101018 0%, #282850 50%, #08080c 100%); }



.ns-story-hero__veil {

	position: absolute;

	inset: 0;

	background:

		linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.35) 45%, rgba(5, 5, 5, 0.15) 100%),

		linear-gradient(90deg, rgba(5, 5, 5, 0.75) 0%, transparent 55%);

}



.ns-story-hero__copy {

	position: relative;

	z-index: 2;

	padding: clamp(1.25rem, 4vw, 2.5rem);

	max-width: 560px;

}



.ns-story-hero__title {

	margin: 0.35rem 0 0.5rem;

	font-size: clamp(1.6rem, 4.5vw, 2.4rem);

	line-height: 1.15;

	font-weight: 800;

}



.ns-story-hero__excerpt {

	margin: 0 0 0.85rem;

	color: var(--nx-muted);

	font-size: 0.92rem;

	max-width: 42ch;

}



.ns-story-hero__meta {

	display: flex;

	flex-wrap: wrap;

	gap: 0.65rem;

	margin-bottom: 1rem;

	font-size: 0.82rem;

	color: var(--nx-muted);

}



.ns-story-hero__rating {

	display: inline-flex;

	align-items: center;

	gap: 0.2rem;

	color: #f5c542;

}



.ns-story-hero__cta {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	padding: 0.7rem 1.35rem;

	border-radius: 10px;

	background: var(--nx-accent);

	color: #fff;

	text-decoration: none;

	font-weight: 700;

	font-size: 0.9rem;

	box-shadow: 0 8px 28px var(--nx-accent-soft);

	transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.ns-story-hero__cta:hover {

	transform: translateY(-2px);

	box-shadow: 0 12px 32px rgba(196, 30, 58, 0.35);

}



.ns-story-hero__dots {

	display: flex;

	justify-content: center;

	gap: 0.45rem;

	padding: 0.75rem 1rem 1rem;

}



.ns-story-hero__dot {

	width: 8px;

	height: 8px;

	border-radius: 50%;

	border: 0;

	background: rgba(255, 255, 255, 0.25);

	cursor: pointer;

	padding: 0;

	transition: transform 0.2s, background 0.2s;

}



.ns-story-hero__dot.is-active {

	background: var(--nx-accent);

	transform: scale(1.25);

}



/* Strips */

.ns-story-feed.is-loading {

	opacity: 0.45;

	pointer-events: none;

	transition: opacity 0.25s ease;

}



.ns-story-strip {

	padding: 0 clamp(1rem, 4vw, 2rem);

	margin-bottom: 1.75rem;

}



.ns-story-strip__head {

	display: flex;

	align-items: center;

	gap: 0.5rem;

	margin-bottom: 0.75rem;

}



.ns-story-strip__title {

	margin: 0;

	flex: 1;

	font-size: 1.05rem;

	font-weight: 700;

}



.ns-story-strip__scroll-btn {

	width: 30px;

	height: 30px;

	border-radius: 50%;

	border: 1px solid var(--nx-border);

	background: rgba(0, 0, 0, 0.4);

	color: var(--nx-text);

	cursor: pointer;

	font-size: 1.1rem;

	line-height: 1;

}



.ns-story-strip__rail {

	display: flex;

	gap: 0.85rem;

	overflow-x: auto;

	scroll-snap-type: x mandatory;

	scroll-padding: 1rem;

	padding-bottom: 0.5rem;

	scrollbar-width: thin;

	scrollbar-color: var(--nx-accent-soft) transparent;

}



.ns-story-strip__rail::-webkit-scrollbar { height: 6px; }

.ns-story-strip__rail::-webkit-scrollbar-thumb { background: var(--nx-accent-soft); border-radius: 999px; }



/* Story card — 9:16 poster */

.ns-story-card {

	flex: 0 0 clamp(128px, 28vw, 156px);

	scroll-snap-align: start;

	text-decoration: none;

	color: var(--nx-text);

	transition: transform 0.25s ease, filter 0.25s ease;

}



.ns-story-card:hover {

	transform: translateY(-6px);

	filter: drop-shadow(0 14px 28px rgba(196, 30, 58, 0.22));

}



.ns-story-card__poster {

	position: relative;

	aspect-ratio: 9 / 16;

	border-radius: 12px;

	overflow: hidden;

	background: #111;

}



.ns-story-card__poster img,

.ns-story-card__placeholder {

	width: 100%;

	height: 100%;

	object-fit: cover;

	display: block;

}



.ns-story-card__placeholder--1 { background: linear-gradient(160deg, #2a1018, #0d0d0d); }

.ns-story-card__placeholder--2 { background: linear-gradient(160deg, #1a1838, #0a0a0a); }

.ns-story-card__placeholder--3 { background: linear-gradient(160deg, #2a2010, #0c0a08); }

.ns-story-card__placeholder--4 { background: linear-gradient(160deg, #102228, #080a0c); }

.ns-story-card__placeholder--5 { background: linear-gradient(160deg, #301020, #0a0608); }

.ns-story-card__placeholder--6 { background: linear-gradient(160deg, #181830, #08080a); }



.ns-story-card__glow {

	position: absolute;

	inset: auto 0 0;

	height: 45%;

	background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);

	pointer-events: none;

}



.ns-story-card__rating {

	position: absolute;

	top: 8px;

	right: 8px;

	display: inline-flex;

	align-items: center;

	gap: 0.15rem;

	padding: 0.2rem 0.45rem;

	border-radius: 6px;

	background: rgba(0, 0, 0, 0.65);

	color: #f5c542;

	font-size: 0.68rem;

	font-weight: 700;

}



.ns-story-card__body {

	padding: 0.55rem 0.15rem 0;

}



.ns-story-card__title {

	margin: 0 0 0.25rem;

	font-size: 0.82rem;

	font-weight: 600;

	line-height: 1.3;

	display: -webkit-box;

	-webkit-line-clamp: 2;

	-webkit-box-orient: vertical;

	overflow: hidden;

}



.ns-story-card__meta {

	margin: 0;

	display: flex;

	justify-content: space-between;

	gap: 0.35rem;

	font-size: 0.7rem;

	color: var(--nx-muted);

}



.ns-story-empty {

	margin: 2rem clamp(1rem, 4vw, 2rem);

	padding: 2rem;

	text-align: center;

	color: var(--nx-muted);

	border: 1px dashed var(--nx-border);

	border-radius: 14px;

}



/* Reader (unchanged core) */

.ns-story-body--reader .ns-story-content {

	max-width: 720px;

	margin: 0 auto;

	padding: 1rem clamp(1rem, 4vw, 2rem) 5rem;

}



.ns-story-article-header__title {

	margin: 0.5rem 0;

	font-size: clamp(1.5rem, 5vw, 2rem);

	line-height: 1.2;

	font-family: Georgia, "Times New Roman", serif;

}



.ns-story-article-header__meta {

	display: flex;

	flex-wrap: wrap;

	gap: 0.5rem;

	margin: 0.75rem 0 1rem;

}



.ns-story-chip {

	display: inline-flex;

	align-items: center;

	gap: 0.25rem;

	padding: 0.35rem 0.65rem;

	border-radius: 999px;

	background: rgba(255, 255, 255, 0.06);

	font-size: 0.82rem;

	color: var(--nx-muted);

}



.ns-story-reader__content {

	font-size: 1.125rem;

	line-height: 1.9;

	color: #e8e4e6;

	max-width: 42rem;

	margin: 0 auto;

	padding: 0 clamp(1rem, 4vw, 1.5rem);

	letter-spacing: 0.012em;

}

.ns-story-reader__content p {
	margin: 0 0 1.35em;
}

.ns-story-reader__content h2,
.ns-story-reader__content h3,
.ns-story-reader__content h4 {
	margin: 2em 0 0.75em;
	line-height: 1.35;
	color: #f5f2f4;
}

.ns-story-reader__content blockquote {
	margin: 1.5em 0;
	padding: 0.85rem 1rem;
	border-left: 3px solid rgba(196, 30, 58, 0.55);
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 12px 12px 0;
	color: #d8d2d6;
}



.ns-story-chapter-nav {

	display: grid;

	gap: 0.75rem;

	margin: 2rem 0 1rem;

}



@media (min-width: 640px) {

	.ns-story-chapter-nav { grid-template-columns: 1fr 1fr; }

}



.ns-story-chapter-nav__card {

	display: grid;

	gap: 0.35rem;

	padding: 1rem;

	border-radius: 12px;

	text-decoration: none;

	color: var(--nx-text);

	background: var(--nx-surface);

	border: 1px solid var(--nx-border);

}



.ns-story-reading-bar {

	position: fixed;

	left: 0;

	right: 0;

	bottom: 0;

	z-index: 60;

	padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));

	background: rgba(5, 5, 5, 0.92);

	border-top: 1px solid var(--nx-border);

	backdrop-filter: blur(12px);

}



.ns-story-reading-bar__track {

	height: 3px;

	background: rgba(255, 255, 255, 0.08);

	border-radius: 999px;

	overflow: hidden;

	margin-bottom: 0.35rem;

}



.ns-story-reading-bar__fill {

	display: block;

	height: 100%;

	width: 0%;

	background: linear-gradient(90deg, var(--nx-accent), #ff6b6b);

}



.ns-story-reading-bar__stats {

	display: flex;

	gap: 0.5rem;

	font-size: 0.78rem;

	color: var(--nx-muted);

}



@media (min-width: 900px) {

	.ns-story-app {
		grid-template-columns: 240px 1fr;
		align-items: start;
	}

	.ns-story-sidebar { display: block; }

	.ns-story-cats--topbar { display: none; }

}



@media (max-width: 899px) {

	.ns-story-cats--sidebar { display: none; }

	.ns-story-cats--topbar { display: flex; }

}

/* Phase 7 — glass chrome, Swiper hero, latest grid */
.ns-story-sidebar--glass,
.ns-story-topbar--glass {
	background: rgba(5, 5, 5, 0.55);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.ns-story-topbar--glass {
	border-bottom: 1px solid var(--nx-border);
}

.ns-story-hero.swiper .swiper-slide {
	height: auto;
}

.ns-story-hero__pagination {
	position: relative;
	padding: 0.75rem 0 1rem;
}

.ns-story-section-head {
	padding: 0 1rem;
	margin: 1.5rem 0 0.75rem;
}

.ns-story-section-head h2 {
	margin: 0;
	font-size: 1.15rem;
}

.ns-story-latest {
	padding: 0 1rem 2rem;
}

.ns-story-latest__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

@media (min-width: 640px) {
	.ns-story-latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.ns-story-latest__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Phase 8–9 — sticky sidebar, widgets, live readers */
.ns-story-sidebar--sticky {
	position: sticky;
	top: 100px;
	align-self: start;
	max-height: calc(100dvh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
}

.ns-story-widget {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--nx-border);
}

.ns-story-widget__title {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nx-muted);
}

.ns-story-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.ns-story-widget__list a {
	display: grid;
	gap: 0.15rem;
	text-decoration: none;
	color: var(--nx-text);
	font-size: 0.82rem;
}

.ns-story-widget__list span {
	color: var(--nx-muted);
	font-size: 0.74rem;
}

.ns-story-widget__more {
	display: inline-block;
	margin-top: 0.65rem;
	font-size: 0.78rem;
	color: var(--nx-accent);
	text-decoration: none;
}

.ns-story-chip--live {
	border: 1px solid rgba(196, 30, 58, 0.35);
	background: rgba(196, 30, 58, 0.12);
}

.ns-story-body--reader {
	padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* Phase 9 — Master reader FAB */
.ns-fab {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	padding: 0.65rem clamp(0.75rem, 4vw, 1.5rem) calc(0.65rem + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.ns-fab.is-hidden {
	transform: translateY(110%);
	opacity: 0;
}

.ns-fab__dock {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	max-width: 480px;
	margin: 0 auto;
	padding: 0.5rem 0.65rem;
	border-radius: 20px;
	background: rgba(8, 6, 8, 0.62);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	border: 1px solid rgba(196, 30, 58, 0.22);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
	.ns-fab {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		max-width: 520px;
		width: 100%;
	}

	.ns-fab.is-hidden {
		transform: translateX(-50%) translateY(110%);
	}
}

.ns-fab__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	min-width: 64px;
	padding: 0.35rem 0.5rem;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--nx-muted);
	font: inherit;
	font-size: 0.68rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ns-fab__btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--nx-text);
}

.ns-fab__btn.is-active {
	color: var(--nx-accent);
}

.ns-fab__btn.is-active .ns-fab__icon--heart svg {
	fill: var(--nx-accent);
	stroke: var(--nx-accent);
}

.ns-fab__btn.is-active .ns-fab__icon--bookmark svg {
	fill: var(--nx-accent);
	stroke: var(--nx-accent);
}

.ns-fab__btn.is-popping .ns-fab__icon--heart {
	animation: nsFabPop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes nsFabPop {
	0% { transform: scale(1); }
	40% { transform: scale(1.35); }
	100% { transform: scale(1); }
}

.ns-fab__icon {
	display: grid;
	place-items: center;
}

.ns-fab__type-mark {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.ns-fab__type-wrap {
	position: relative;
}

.ns-fab__type-panel {
	position: absolute;
	bottom: calc(100% + 0.55rem);
	right: 0;
	min-width: 180px;
	padding: 0.65rem 0.75rem;
	border-radius: 14px;
	background: rgba(8, 6, 8, 0.92);
	backdrop-filter: blur(18px);
	border: 1px solid var(--nx-border);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ns-fab__type-title {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.72rem;
	color: var(--nx-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ns-fab__type-controls {
	display: flex;
	gap: 0.35rem;
}

.ns-fab__type-controls button {
	flex: 1;
	padding: 0.4rem 0;
	border: 1px solid var(--nx-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--nx-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ns-fab__type-controls button:hover {
	border-color: var(--nx-accent);
	color: var(--nx-accent);
}

/* Phase 9 — Comments (Medium/Reddit style) */
.ns-comments {
	max-width: 720px;
	margin: 2.5rem auto 1.5rem;
	padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.ns-comments__head {
	margin-bottom: 1.25rem;
}

.ns-comments__title {
	margin: 0;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ns-comments__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.6rem;
	height: 1.6rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: var(--nx-accent-soft);
	color: var(--nx-accent);
	font-size: 0.78rem;
	font-weight: 700;
}

.ns-comments__sub {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: var(--nx-muted);
}

.ns-comments__composer {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.ns-comments__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--nx-border);
	color: var(--nx-muted);
}

.ns-comments__field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 16px;
	border: 1px solid var(--nx-border);
	background: rgba(0, 0, 0, 0.35);
	color: var(--nx-text);
	font: inherit;
	font-size: 0.92rem;
	line-height: 1.5;
	resize: vertical;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ns-comments__field textarea:focus {
	outline: none;
	border-color: rgba(225, 6, 0, 0.65);
	box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18);
}

.ns-comments__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.55rem;
}

.ns-comments__submit {
	padding: 0.5rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--nx-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ns-comments__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px var(--nx-accent-soft);
}

.ns-comments__loading {
	display: flex;
	gap: 0.45rem;
	padding: 1rem 0;
}

.ns-comments__pulse {
	width: 100%;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
	background-size: 200% 100%;
	animation: nsCommentShimmer 1.2s ease infinite;
}

.ns-comments__pulse:nth-child(2) { animation-delay: 0.15s; }
.ns-comments__pulse:nth-child(3) { animation-delay: 0.3s; max-width: 70%; }

@keyframes nsCommentShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.ns-comments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.ns-comments__item {
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ns-comments__item-head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.35rem;
}

.ns-comments__item-head strong {
	font-size: 0.88rem;
}

.ns-comments__item-head time {
	font-size: 0.74rem;
	color: var(--nx-muted);
}

.ns-comments__item-body {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--nx-text);
}

.ns-comments__item-actions {
	margin-top: 0.45rem;
}

.ns-comments__reply-btn {
	border: 0;
	background: transparent;
	color: var(--nx-muted);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
}

.ns-comments__reply-btn:hover {
	color: var(--nx-accent);
}

.ns-comments__reply-form {
	margin-top: 0.65rem;
	display: grid;
	gap: 0.45rem;
}

.ns-comments__reply-form textarea {
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	border: 1px solid var(--nx-border);
	background: rgba(0, 0, 0, 0.3);
	color: var(--nx-text);
	font: inherit;
	resize: vertical;
}

.ns-comments__reply-form button {
	justify-self: end;
	padding: 0.4rem 0.9rem;
	border: 0;
	border-radius: 999px;
	background: var(--nx-accent-soft);
	color: var(--nx-accent);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ns-comments__thread {
	list-style: none;
	margin: 0.75rem 0 0 1rem;
	padding: 0 0 0 0.85rem;
	border-left: 2px solid rgba(196, 30, 58, 0.25);
	display: grid;
	gap: 0.65rem;
}

.ns-comments__item--reply .ns-comments__item-body {
	font-size: 0.88rem;
}

.ns-comments__empty {
	text-align: center;
	padding: 1.5rem;
	color: var(--nx-muted);
	font-size: 0.9rem;
}

/* Library — personal castle */
.ns-story-library-hero {
	margin: 1rem;
	padding: 1.75rem 1.5rem;
	border-radius: 18px;
	text-align: center;
}

.ns-story-library-hero h1 {
	margin: 0.25rem 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

.ns-story-library-hero__sub {
	margin: 0;
	color: var(--nx-muted);
	font-size: 0.92rem;
}

.ns-story-library-hero__stat {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	margin-top: 1rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: var(--nx-accent-soft);
}

.ns-story-library-hero__stat strong {
	font-size: 1.25rem;
	color: var(--nx-accent);
}

.ns-story-library-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	padding: 0 1rem 2.5rem;
}

@media (min-width: 640px) {
	.ns-story-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.ns-story-library-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ns-story-footer {
	margin-top: auto;
	padding: 1.5rem 1rem 2rem;
	border-top: 1px solid var(--nx-border);
	text-align: center;
	font-size: 0.82rem;
	color: var(--nx-muted);
}

.ns-story-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.ns-story-footer__inner a {
	color: var(--nx-muted);
	text-decoration: none;
}

.ns-story-footer__inner a:hover {
	color: var(--nx-accent);
}

.ns-story-footer__copy {
	margin: 0;
	font-size: 0.74rem;
}

/* FAZ 2 — site header, drawer, related, tags, footer grid */
.ns-story-sidebar__label {
	margin: 0 0 0.45rem;
	padding: 0 0.15rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nx-muted);
}

.ns-story-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--nx-border);
}

.ns-story-header--glass {
	background: rgba(5, 5, 5, 0.55);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.ns-story-header__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem clamp(0.75rem, 3vw, 1.25rem);
}

.ns-story-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
}

.ns-story-header__logo {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(196, 30, 58, 0.35), rgba(196, 30, 58, 0.08));
	border: 1px solid rgba(196, 30, 58, 0.35);
	color: var(--nx-accent);
	font-weight: 800;
	font-size: 0.95rem;
}

.ns-story-header__stack {
	display: grid;
	gap: 0.05rem;
	min-width: 0;
}

.ns-story-header__name {
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
}

.ns-story-header__tagline {
	font-size: 0.68rem;
	color: var(--nx-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 12rem;
}

.ns-story-header__nav {
	display: none;
	align-items: center;
	gap: 0.15rem;
	flex: 1;
	min-width: 0;
	justify-content: center;
}

.ns-story-header__link,
.ns-story-header__link--btn {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.65rem;
	border-radius: 999px;
	border: 0;
	background: transparent;
	color: var(--nx-muted);
	text-decoration: none;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease;
}

.ns-story-header__link:hover,
.ns-story-header__link.is-active,
.ns-story-header__link--btn:hover,
.ns-story-header__link--btn.is-active {
	color: var(--nx-accent);
	background: var(--nx-accent-soft);
}

.ns-story-header__reader-label {
	flex: 1;
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--nx-muted);
	text-align: center;
}

.ns-story-header__actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}

.ns-story-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--nx-border);
	color: var(--nx-muted);
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
}

.ns-story-header__back:hover {
	color: var(--nx-accent);
	border-color: rgba(196, 30, 58, 0.35);
}

.ns-story-header__burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--nx-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
}

.ns-story-header__burger span {
	display: block;
	width: 16px;
	height: 2px;
	margin: 0 auto;
	background: var(--nx-text);
	border-radius: 2px;
}

.ns-story-header__mobile-bar {
	padding: 0 0.75rem 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 900px) {
	.ns-story-header__nav { display: flex; }
	.ns-story-header__burger { display: none; }
	.ns-story-header__mobile-bar { display: none; }
	.ns-story-cats--topbar { display: none; }
}

@media (max-width: 899px) {
	.ns-story-header__tagline { display: none; }
}

.ns-story-drawer[hidden] { display: none; }

.ns-story-drawer__overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
}

.ns-story-drawer__overlay[hidden] { display: none; }

.ns-story-drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 95;
	width: min(88vw, 320px);
	height: 100dvh;
	padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
	background: rgba(8, 6, 8, 0.96);
	border-left: 1px solid var(--nx-border);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
	transform: translateX(0);
}

.ns-story-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.ns-story-drawer__title {
	font-weight: 700;
	font-size: 0.95rem;
}

.ns-story-drawer__close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--nx-border);
	border-radius: 10px;
	background: transparent;
	color: var(--nx-text);
	cursor: pointer;
}

.ns-story-drawer__nav {
	display: grid;
	gap: 0.25rem;
}

.ns-story-drawer__link {
	display: block;
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--nx-muted);
	text-decoration: none;
	text-align: left;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
}

.ns-story-drawer__link:hover,
.ns-story-drawer__link.is-active {
	background: var(--nx-accent-soft);
	color: var(--nx-accent);
}

body.ns-story-drawer-open { overflow: hidden; }

.ns-story-hub__anchor {
	display: block;
	height: 0;
	overflow: hidden;
	scroll-margin-top: 88px;
}

.ns-story-section-head__sub {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: var(--nx-muted);
}

.ns-story-related {
	padding: 0 1rem 2rem;
	max-width: 960px;
	margin: 0 auto;
}

.ns-story-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

@media (min-width: 640px) {
	.ns-story-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ns-story-tags {
	max-width: 42rem;
	margin: 2rem auto 1.5rem;
	padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.ns-story-tags__title {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nx-muted);
}

.ns-story-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ns-story-tags__chip {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--nx-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--nx-muted);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 600;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ns-story-tags__chip:hover {
	border-color: var(--nx-accent);
	color: var(--nx-accent);
	background: var(--nx-accent-soft);
}

.ns-fab__rx-wrap {
	position: relative;
}

.ns-fab__rx-panel {
	position: absolute;
	bottom: calc(100% + 0.55rem);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.25rem;
	padding: 0.45rem;
	border-radius: 14px;
	background: rgba(8, 6, 8, 0.92);
	backdrop-filter: blur(18px);
	border: 1px solid var(--nx-border);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ns-fab__rx {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ns-fab__rx:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: scale(1.08);
}

.ns-fab__rx.is-active {
	background: var(--nx-accent-soft);
	box-shadow: inset 0 0 0 1px rgba(196, 30, 58, 0.35);
}

.ns-story-footer {
	margin-top: auto;
	padding: 2rem clamp(1rem, 4vw, 2rem) 1.5rem;
	border-top: 1px solid var(--nx-border);
	background: rgba(0, 0, 0, 0.25);
}

.ns-story-footer__grid {
	display: grid;
	gap: 1.5rem;
	max-width: 960px;
	margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
	.ns-story-footer__grid {
		grid-template-columns: 1.4fr repeat(3, 1fr);
		gap: 1.25rem;
	}
}

.ns-story-footer__logo {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--nx-accent);
	text-decoration: none;
}

.ns-story-footer__tagline {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--nx-muted);
	max-width: 22rem;
}

.ns-story-footer__col h4 {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nx-text);
}

.ns-story-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.ns-story-footer__col a,
.ns-story-footer__btn {
	color: var(--nx-muted);
	text-decoration: none;
	font-size: 0.82rem;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
	text-align: left;
}

.ns-story-footer__col a:hover,
.ns-story-footer__btn:hover {
	color: var(--nx-accent);
}

.ns-story-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem;
	max-width: 960px;
	margin: 0 auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 0.74rem;
	color: var(--nx-muted);
}

.ns-story-footer__note {
	margin: 0;
}

.ns-story-card--grid .ns-story-card__poster {
	aspect-ratio: 3 / 4;
}

.ns-story-body--reader .nx-interactions--fixed {
	bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
}

/* ── FAZ 2: Ticker, banners, page heroes ── */
.ns-story-ticker {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-bottom: 1px solid var(--nx-border);
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(12px);
	overflow: hidden;
}

.ns-story-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.85rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nx-accent);
	border-right: 1px solid var(--nx-border);
	background: var(--nx-accent-soft);
	white-space: nowrap;
}

.ns-story-ticker__viewport {
	flex: 1;
	overflow: hidden;
	min-width: 0;
}

.ns-story-ticker__track {
	display: flex;
	gap: 2rem;
	width: max-content;
	padding: 0.55rem 0;
	animation: ns-story-ticker 45s linear infinite;
}

.ns-story-ticker__viewport:hover .ns-story-ticker__track {
	animation-play-state: paused;
}

.ns-story-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--nx-text);
	text-decoration: none;
	font-size: 0.82rem;
	white-space: nowrap;
}

.ns-story-ticker__item:hover {
	color: var(--nx-accent);
}

.ns-story-ticker__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--nx-accent);
	box-shadow: 0 0 8px var(--nx-accent);
}

.ns-story-ticker__badge {
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--nx-accent);
	text-transform: uppercase;
}

.ns-story-ticker__date {
	font-size: 0.72rem;
	color: var(--nx-muted);
}

@keyframes ns-story-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.ns-story-banner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0 1rem;
	margin: 1.25rem 0 0.75rem;
	position: relative;
}

.ns-story-banner__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(196, 30, 58, 0.35);
	background: var(--nx-accent-soft);
	color: var(--nx-accent);
	box-shadow: 0 0 20px rgba(196, 30, 58, 0.15);
}

.ns-story-banner__copy {
	min-width: 0;
}

.ns-story-banner__title {
	margin: 0;
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ns-story-banner__sub {
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	color: var(--nx-muted);
}

.ns-story-banner__line {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: -0.35rem;
	height: 1px;
	background: linear-gradient(90deg, var(--nx-accent), transparent 70%);
	box-shadow: 0 0 12px rgba(196, 30, 58, 0.45);
	pointer-events: none;
	grid-column: 1 / -1;
}

.ns-story-banner__link {
	font-size: 0.78rem;
	color: var(--nx-accent);
	text-decoration: none;
	white-space: nowrap;
}

.ns-story-banner__link:hover {
	text-decoration: underline;
}

.ns-story-page-hero {
	position: relative;
	min-height: clamp(220px, 32vw, 360px);
	border-radius: 0 0 20px 20px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.ns-story-page-hero__media,
.ns-story-page-hero__aurora {
	position: absolute;
	inset: 0;
}

.ns-story-page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ns-story-page-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.92) 100%);
}

.ns-story-page-hero__aurora {
	background:
		radial-gradient(circle at 20% 20%, rgba(196, 30, 58, 0.25), transparent 45%),
		radial-gradient(circle at 80% 0%, rgba(120, 40, 80, 0.15), transparent 40%),
		linear-gradient(180deg, #120810 0%, #050505 100%);
}

.ns-story-page-hero__inner {
	position: relative;
	z-index: 1;
	padding: clamp(1.5rem, 5vw, 3rem);
	max-width: 720px;
}

.ns-story-page-hero__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nx-accent);
}

.ns-story-page-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.1;
}

.ns-story-page-hero__desc {
	margin: 0.65rem 0 0;
	max-width: 42rem;
	color: var(--nx-muted);
	line-height: 1.55;
}

.ns-story-page-hero__meta {
	margin: 0.75rem 0 0;
	font-size: 0.82rem;
	color: var(--nx-accent);
}

.ns-story-page-hero--trend .ns-story-page-hero__aurora {
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 80, 60, 0.2), transparent 50%),
		linear-gradient(180deg, #1a0808 0%, #050505 100%);
}

.ns-story-page-hero--popular .ns-story-page-hero__aurora {
	background:
		radial-gradient(circle at 70% 20%, rgba(255, 215, 0, 0.12), transparent 45%),
		linear-gradient(180deg, #141008 0%, #050505 100%);
}

.ns-story-page-hero--series .ns-story-page-hero__aurora {
	background:
		radial-gradient(circle at 50% 0%, rgba(196, 30, 58, 0.22), transparent 50%),
		linear-gradient(180deg, #100608 0%, #050505 100%);
}

.ns-story-strip__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	padding: 0 1rem;
}

.ns-story-strip__head .ns-story-banner {
	flex: 1;
	margin: 0;
	padding: 0;
}

.ns-story-strip__controls {
	display: flex;
	gap: 0.35rem;
	flex-shrink: 0;
	padding-top: 0.35rem;
}

.ns-story-category-grid,
.ns-story-page-grid {
	padding: 0 1rem 2rem;
}

.ns-story-taxonomy-footer {
	max-width: 960px;
	margin: 0 auto 2rem;
	padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.ns-story-taxonomy-footer .ns-story-banner {
	padding-left: 0;
	padding-right: 0;
}

.ns-story-tags--labels {
	margin-top: 1.25rem;
}

.ns-story-tags__chip--label {
	cursor: default;
}

.ns-story-tags__chip--label:hover {
	border-color: var(--nx-border);
	color: var(--nx-muted);
	background: rgba(255, 255, 255, 0.03);
}

@media (prefers-reduced-motion: reduce) {
	.ns-story-ticker__track {
		animation: none;
	}
}

/* ── FAZ 2: Mega menu, category vitrin, series CTA ── */
.ns-story-mega {
	position: relative;
}

.ns-story-mega__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.ns-story-mega__panel {
	position: absolute;
	top: calc(100% + 0.55rem);
	left: 50%;
	transform: translateX(-50%);
	width: min(560px, 92vw);
	padding: 0.85rem;
	border-radius: 16px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
	z-index: 130;
}

.ns-story-mega__panel[hidden] {
	display: none !important;
}

.ns-story-mega__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.65rem;
	font-size: 0.82rem;
}

.ns-story-mega__head a {
	color: var(--nx-accent);
	text-decoration: none;
}

.ns-story-mega__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 0.45rem;
}

.ns-story-mega__card {
	display: grid;
	gap: 0.35rem;
	text-decoration: none;
	color: var(--nx-text);
}

.ns-story-mega__cover {
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 10px;
	background: linear-gradient(145deg, rgba(225, 6, 0, 0.25), rgba(0, 0, 0, 0.5));
	background-size: cover;
	background-position: center;
	border: 1px solid var(--nx-border);
}

.ns-story-mega__name,
.ns-story-mega__chip {
	font-size: 0.78rem;
}

.ns-story-mega__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.55rem;
	border-radius: 999px;
	border: 1px solid var(--nx-border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--nx-text);
	text-decoration: none;
}

.ns-story-cat-showcase {
	margin-bottom: 1.25rem;
}

.ns-story-cat-showcase__block {
	margin-bottom: 1rem;
	padding: 0.85rem;
	border-radius: 18px;
}

.ns-story-cat-showcase__hero {
	display: grid;
	grid-template-columns: minmax(140px, 220px) 1fr;
	gap: 1rem;
	align-items: end;
	text-decoration: none;
	color: var(--nx-text);
	margin-bottom: 0.85rem;
}

.ns-story-cat-showcase__cover {
	display: block;
	min-height: 140px;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(225, 6, 0, 0.2), rgba(0, 0, 0, 0.55));
	background-size: cover;
	background-position: center;
	border: 1px solid var(--nx-border);
}

.ns-story-cat-showcase__meta strong {
	display: block;
	font-size: 1.15rem;
}

.ns-story-cat-showcase__meta span {
	color: var(--nx-accent);
	font-size: 0.82rem;
}

.ns-story-cat-showcase__rail {
	display: flex;
	gap: 0.65rem;
	overflow-x: auto;
	padding-bottom: 0.35rem;
	scroll-snap-type: x mandatory;
}

.ns-story-card--rail {
	flex: 0 0 min(160px, 42vw);
	scroll-snap-align: start;
}

.ns-story-next-chapter {
	margin: 1.25rem 0;
	padding: 1rem;
	border-radius: 16px;
}

.ns-story-next-chapter__label {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	color: var(--nx-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ns-story-next-chapter__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	border: 1px solid rgba(225, 6, 0, 0.35);
	background: rgba(225, 6, 0, 0.12);
	color: var(--nx-text);
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.ns-story-next-chapter__btn:hover {
	transform: translateY(-2px);
	border-color: var(--nx-accent);
}

.ns-story-next-chapter__btn strong {
	display: block;
	font-size: 0.95rem;
}

@media (max-width: 640px) {
	.ns-story-cat-showcase__hero {
		grid-template-columns: 1fr;
	}
}

/* ── Master update: premium mega menu + cinematic heroes ── */
.ns-story-mega__panel {
	width: min(720px, 94vw);
	padding: 1rem;
	backdrop-filter: blur(18px);
	border: 1px solid rgba(230, 0, 0, 0.22);
}

.ns-story-mega__head p {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	color: var(--nx-muted);
}

.ns-story-mega__layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 0.85rem;
}

.ns-story-mega__nav {
	display: grid;
	gap: 0.35rem;
}

.ns-story-mega__link {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ns-story-mega__link:hover {
	background: rgba(230, 0, 0, 0.12);
	box-shadow: inset 0 0 0 1px rgba(230, 0, 0, 0.25);
}

.ns-story-mega__icon {
	width: 1.75rem;
	height: 1.75rem;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(230, 0, 0, 0.12);
	color: var(--nx-accent);
}

.ns-story-mega__featured {
	padding: 0.65rem;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--nx-border);
}

.ns-story-mega__featured-kicker {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nx-accent);
	margin-bottom: 0.45rem;
}

.ns-story-mega__featured-card {
	display: grid;
	gap: 0.45rem;
	text-decoration: none;
	color: inherit;
}

.ns-story-mega__featured-cover {
	display: block;
	height: 88px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04) center/cover no-repeat;
}

.ns-story-page-hero--cinematic .ns-story-page-hero__title {
	font-size: clamp(2rem, 6vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.ns-story-hero__title {
	font-size: clamp(1.6rem, 4.5vw, 2.6rem);
	font-weight: 800;
}

@media (max-width: 720px) {
	.ns-story-mega__layout { grid-template-columns: 1fr; }
}
