/**
 * NoPixels Sectorum — UX-CSS (V1.6)
 *
 * Master-Nav-Bar, Tooltip-System, First-Time-Tour, kontextueller Help-Button.
 * Alle Komponenten respektieren prefers-reduced-motion.
 */

/* ============================================================
   1. Master-Nav-Bar (Footer-Menu unter Sectorum-Containern)
   ============================================================ */
/* V1.24.4: Master-Nav im Plugin-Stil — direkt unter dem Sectorum-App-Container */
.np-sec-master-nav {
	margin: -8px 0 24px;
	padding: 18px 22px 16px;
	position: relative;
	border: 1px solid var( --np-sec-border, rgba( 255, 255, 255, .12 ) );
	border-top: 0;
	border-radius: 0 0 16px 16px;
	background:
		linear-gradient( 180deg, rgba( 15, 23, 42, .9 ) 0%, rgba( 15, 23, 42, .75 ) 100% ),
		radial-gradient( circle at 25% 0%, rgba( 106, 90, 205, .15 ), transparent 60% ),
		radial-gradient( circle at 75% 100%, rgba( 31, 111, 235, .12 ), transparent 60% );
	color: #e2e8f0;
	box-shadow: 0 8px 24px -12px rgba( 0, 0, 0, .6 );
}
/* Akzent-Linie oben, Plugin-Style */
.np-sec-master-nav::before {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	top: 0;
	height: 2px;
	background: linear-gradient( 90deg,
		transparent 0%,
		var( --np-sec-accent, #fde047 ) 20%,
		var( --np-sec-accent, #fde047 ) 80%,
		transparent 100%
	);
	opacity: .55;
	border-radius: 2px;
}
/* Wenn direkt nach dem Plugin (durch JS repositioniert): nahtloser Übergang */
.np-sec-master-nav--repositioned {
	margin-top: -12px;
}
/* V1.36.1: Docked-Variante — Nav ist fester Bestandteil des Plugin-Cards ganz unten,
 * NICHT sticky am Viewport. Schließt visuell nahtlos an den .np-sec-app-Container an
 * (negativer margin-top + border-top: 0 + matching margin-x). */
.np-sec-master-nav-docked {
	margin-top: -1px;
	margin-bottom: 24px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
/* Wenn die Docked-Nav direkt nach .np-sec-app kommt → Plugin-Card-Bottom auch eckig
 * damit die Übergangs-Linie wirklich nahtlos ist. */
.np-sec-app:has( + .np-sec-master-nav-docked ),
.np-sec-app--has-docked-nav {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	margin-bottom: 0;
}
/* V1.46.7: Inline-Variante — Master-Nav INNERHALB des Cluster-App-Headers (statt im Footer).
 * Reset der Footer-spezifischen Margins/Border + saubere Integration in den App-Bar-Stripe. */
.np-sec-master-nav-inline {
	margin: 0;
	border-radius: 14px;
	border-top: 1px solid var( --np-sec-border, rgba( 255, 255, 255, .12 ) );
}
.np-sec-master-nav-inline::before {
	display: none;
}
/* Wenn die Inline-Nav in einem `np-sec-app-bar-row` sitzt, soll der Row-Wrapper
 * keine zusätzliche Padding/Background-Schicht draufpacken */
.np-sec-app-bar-row-tabs:has( > .np-sec-master-nav-inline ) {
	padding: 0;
	background: transparent;
	border: 0;
}
/* V1.50.4: Wenn die Inline-Nav DIRECT-CHILD von .np-sec-app ist (also vom
 * inject_master_nav-Filter eingefügt wurde, nicht über einen Bar-Row-Wrapper),
 * geben wir ihr den klassischen Footer-Look — Background + Border + Padding —
 * damit sie wie eine Top-Tab-Bar aussieht, aber jetzt OBEN im Container.
 * Pattern: Tab-Bar steht oben → Inhalt der Page → kein doppelter Footer. */
.np-sec-app > .np-sec-master-nav-inline {
	background: var( --np-sec-panel-bg, rgba( 14, 18, 32, .65 ) );
	border: 1px solid var( --np-sec-border, rgba( 255, 255, 255, .12 ) );
	border-radius: 14px;
	padding: 14px 18px 12px;
	margin: 0 0 20px;
	box-shadow: 0 4px 16px -8px rgba( 0, 0, 0, .35 );
}
.np-sec-app > .np-sec-master-nav-inline > .np-sec-master-nav-label {
	display: block;
	margin-bottom: 10px;
}
.np-sec-master-nav-label {
	display: block;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var( --np-sec-accent, #fde047 );
	opacity: .85;
	font-weight: 700;
	margin-bottom: 12px;
}
.np-sec-master-nav-items {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.np-sec-master-nav-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid rgba( 255, 255, 255, .14 );
	border-radius: 999px;
	background: rgba( 255, 255, 255, .04 );
	color: #e2e8f0 !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 500;
	transition: transform .15s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
	backdrop-filter: blur( 4px );
	-webkit-backdrop-filter: blur( 4px );
}
.np-sec-master-nav-item:hover {
	transform: translateY( -2px );
	background: var( --np-sec-accent, #fde047 );
	color: #1b2434 !important;
	border-color: var( --np-sec-accent, #fde047 );
	box-shadow: 0 6px 16px -4px rgba( 253, 224, 71, .4 );
}
.np-sec-master-nav-item.is-active {
	background: var( --np-sec-accent, #fde047 );
	color: #1b2434 !important;
	border-color: var( --np-sec-accent, #fde047 );
	font-weight: 700;
	box-shadow: 0 6px 18px -6px rgba( 253, 224, 71, .55 );
}
.np-sec-master-nav-item.is-external {
	border-style: dashed;
	opacity: .85;
}
.np-sec-master-nav-icon { font-size: 16px; line-height: 1; }
.np-sec-master-nav-text { white-space: nowrap; }

@media ( max-width: 640px ) {
	.np-sec-master-nav { padding: 14px 14px 12px; }
	/* V1.78.2: Labels NICHT mehr verstecken — als Mini-Kachel (Icon oben,
	   kurzes Label unten) zeigen. Ohne Hover (Touch) wussten neue Spieler
	   sonst nicht was die 22 Icons bedeuten. */
	.np-sec-master-nav-items { gap: 6px; }
	.np-sec-master-nav-item {
		flex-direction: column;
		gap: 3px;
		padding: 7px 6px;
		border-radius: 12px;
		min-width: 58px;
		flex: 0 0 auto;
	}
	.np-sec-master-nav-icon { font-size: 19px; }
	.np-sec-master-nav-text {
		display: block;
		font-size: 9.5px;
		font-weight: 600;
		line-height: 1.15;
		text-align: center;
		white-space: normal;
		max-width: 62px;
	}
}

/* ============================================================
   2. Tooltip-System (CSS-only, data-np-sec-tooltip)
   ============================================================ */
[data-np-sec-tooltip] {
	position: relative;
}
[data-np-sec-tooltip]::after {
	content: attr(data-np-sec-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(-4px);
	background: rgba(10, 12, 20, .98);
	color: #ffffff;
	padding: 8px 12px;
	border-radius: 7px;
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	white-space: normal;
	width: max-content;
	max-width: 260px;
	pointer-events: none;
	opacity: 0;
	z-index: 9999;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
	box-shadow: 0 8px 24px -4px rgba(0, 0, 0, .6);
	transition: opacity .15s ease, transform .15s ease;
}
[data-np-sec-tooltip]:hover::after,
[data-np-sec-tooltip]:focus-visible::after,
[data-np-sec-tooltip].is-tooltip-active::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
[data-np-sec-tooltip][data-np-sec-tooltip-pos="below"]::after {
	bottom: auto;
	top: calc(100% + 8px);
}
[data-np-sec-tooltip][data-np-sec-tooltip-pos="below"]:hover::after,
[data-np-sec-tooltip][data-np-sec-tooltip-pos="below"]:focus-visible::after,
[data-np-sec-tooltip][data-np-sec-tooltip-pos="below"].is-tooltip-active::after {
	transform: translateX(-50%) translateY(0);
}
/* Mobile: Tooltip auf Tap, normal nicht hover */
@media (hover: none) {
	[data-np-sec-tooltip]::after {
		display: none;
	}
	[data-np-sec-tooltip].is-tooltip-active::after {
		display: block;
	}
}

/* ============================================================
   3. First-Time-Tour (Spotlight + Step-Card)
   ============================================================ */
.np-sec-tour-overlay {
	position: fixed;
	inset: 0;
	background: rgba(5, 8, 12, .72);
	backdrop-filter: blur(2px);
	z-index: 99500;
	display: none;
	animation: np-sec-tour-fade .35s ease;
}
/* V1.24.3/V1.24.5: Contained-Modus — Overlay sitzt innerhalb des Plugin-Containers
   OHNE den Hintergrund zu verdunkeln. Plugin und Karte bleiben sichtbar.
   Nur das Target wird durch einen pulsierenden Outline-Glow hervorgehoben. */
.np-sec-tour-overlay--contained {
	position: absolute;
	inset: 0;
	z-index: 1000;
	overflow: hidden;
	border-radius: inherit;
	background: transparent !important;
	backdrop-filter: none !important;
	pointer-events: none;
}
.np-sec-tour-overlay--contained .np-sec-tour-card {
	pointer-events: auto;
}
.np-sec-tour-overlay.is-open { display: block; }
@keyframes np-sec-tour-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.np-sec-tour-spotlight {
	position: absolute;
	border: 3px solid var(--np-sec-accent, #fde047);
	border-radius: 14px;
	box-shadow: 0 0 0 9999px rgba(5, 8, 12, .72), 0 0 22px rgba(106,90,205,.7);
	transition: all .35s cubic-bezier(.2,.7,.2,1);
	pointer-events: none;
}
/* V1.24.5: Im Contained-Modus KEIN Black-Overlay mehr — nur pulsierender Outline-Glow */
.np-sec-tour-overlay--contained .np-sec-tour-spotlight {
	box-shadow:
		0 0 0 4px rgba( 253, 224, 71, .35 ),
		0 0 32px rgba( 253, 224, 71, .55 ),
		0 0 64px rgba( 253, 224, 71, .25 );
	animation: np-sec-tour-pulse 1.6s ease-in-out infinite;
}
@keyframes np-sec-tour-pulse {
	0%, 100% {
		box-shadow:
			0 0 0 4px rgba( 253, 224, 71, .35 ),
			0 0 32px rgba( 253, 224, 71, .55 ),
			0 0 64px rgba( 253, 224, 71, .25 );
	}
	50% {
		box-shadow:
			0 0 0 6px rgba( 253, 224, 71, .5 ),
			0 0 40px rgba( 253, 224, 71, .8 ),
			0 0 80px rgba( 253, 224, 71, .35 );
	}
}
@media ( prefers-reduced-motion: reduce ) {
	.np-sec-tour-overlay--contained .np-sec-tour-spotlight {
		animation: none;
	}
}

.np-sec-tour-card {
	position: absolute;
	background: var(--np-sec-bg, #14171f);
	color: #fff;
	border-radius: 14px;
	padding: 20px 22px;
	max-width: 360px;
	box-shadow: 0 24px 60px -10px rgba(0,0,0,.7);
	animation: np-sec-tour-card-in .45s cubic-bezier(.2,.7,.2,1);
}
.np-sec-tour-overlay--contained .np-sec-tour-card {
	max-width: min( 340px, calc( 100% - 32px ) );
}
@keyframes np-sec-tour-card-in {
	from { opacity: 0; transform: translateY(10px) scale(.96); }
	to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.np-sec-tour-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: #fff;
}
.np-sec-tour-card p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	opacity: .9;
}
.np-sec-tour-card-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}
.np-sec-tour-card-steps {
	display: flex;
	gap: 6px;
}
.np-sec-tour-step-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,.2);
	transition: background .25s ease;
}
.np-sec-tour-step-dot.is-active { background: var(--np-sec-accent, #6a5acd); }
.np-sec-tour-step-dot.is-done   { background: var(--np-sec-success, #39d353); }
.np-sec-tour-card-actions { display: flex; gap: 8px; }
.np-sec-tour-skip {
	background: transparent;
	color: rgba(255,255,255,.6);
	border: none;
	cursor: pointer;
	font-size: 12px;
	padding: 4px 8px;
	text-decoration: underline;
}
.np-sec-tour-next {
	background: var(--np-sec-accent, #6a5acd);
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
}
.np-sec-tour-next:hover { filter: brightness(1.1); }

/* ============================================================
   4. Help-Trigger-Floater
   ============================================================ */
.np-sec-help-floater {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--np-sec-accent, #6a5acd);
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 22px;
	box-shadow: 0 10px 28px -8px rgba(106,90,205,.6);
	z-index: 9990;
	transition: transform .15s ease;
}
.np-sec-help-floater:hover {
	transform: translateY(-2px) scale(1.05);
}
.np-sec-help-floater.is-pulsing {
	animation: np-sec-help-pulse 2s ease-in-out infinite;
}
@keyframes np-sec-help-pulse {
	0%,100% { box-shadow: 0 10px 28px -8px rgba(106,90,205,.5), 0 0 0 0 rgba(106,90,205,.5); }
	50%     { box-shadow: 0 10px 28px -8px rgba(106,90,205,.5), 0 0 0 14px rgba(106,90,205,0); }
}

/* ============================================================
   5. Context-Help-Modal
   ============================================================ */
.np-sec-help-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.72);
	backdrop-filter: blur(4px);
	z-index: 99800;
	display: none;
	align-items: center;
	justify-content: center;
}
.np-sec-help-modal-overlay.is-open { display: flex; }
.np-sec-help-modal {
	background: var(--np-sec-bg, #14171f);
	color: #fff;
	border-radius: 14px;
	width: min(560px, 92vw);
	max-height: 85vh;
	overflow-y: auto;
	padding: 28px;
	box-shadow: 0 30px 60px -10px rgba(0,0,0,.7);
	animation: np-sec-help-modal-in .35s cubic-bezier(.2,.7,.2,1);
	position: relative;
}
@keyframes np-sec-help-modal-in {
	from { opacity: 0; transform: scale(.94) translateY(20px); }
	to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.np-sec-help-modal h2 { margin: 0 0 12px; font-size: 20px; color: #fff; }
.np-sec-help-modal h3 { margin: 16px 0 6px; font-size: 15px; color: #fff; opacity: .9; }
.np-sec-help-modal p, .np-sec-help-modal li { font-size: 14px; line-height: 1.6; opacity: .85; }
.np-sec-help-modal ul { margin: 0 0 12px 20px; padding: 0; }
.np-sec-help-modal kbd {
	background: rgba(255,255,255,.08);
	padding: 1px 6px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 12px;
}
.np-sec-help-modal-close {
	position: absolute;
	top: 12px; right: 12px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: .65;
}
.np-sec-help-modal-close:hover { opacity: 1; }

.np-sec-help-modal-tour-btn {
	margin-top: 16px;
	padding: 10px 16px;
	background: var(--np-sec-accent, #6a5acd);
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
}

/* ============================================================
   V1.7: Welcome-Shortcode Layout
   ============================================================ */
.np-sec-welcome {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
}
.np-sec-welcome-hero {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	padding: 50px 32px;
	background: linear-gradient(135deg, rgba(106,90,205,.15), rgba(31,111,235,.08) 70%);
	border-radius: 18px;
	margin-bottom: 30px;
	align-items: center;
}
@media (max-width: 768px) {
	.np-sec-welcome-hero { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
}

/* V1.28.1: Welcome-Page Mobile-Polish — voll-breite Sections + größere Touch-Buttons */
@media (max-width: 720px) {
	.np-sec-welcome {
		max-width: 100%;
		padding: 0;
	}
	.np-sec-welcome-hero {
		padding: 28px 16px;
		border-radius: 0;
		gap: 20px;
		margin-bottom: 12px;
	}
	.np-sec-welcome-hero h1 {
		font-size: clamp( 22px, 7vw, 32px );
		margin-bottom: 12px;
	}
	.np-sec-welcome-lead {
		font-size: 15px;
		margin-bottom: 18px;
	}
	.np-sec-welcome-cta-row {
		flex-direction: column;
		gap: 10px;
	}
	.np-sec-welcome-primary-cta,
	.np-sec-welcome-secondary-cta {
		justify-content: center;
		width: 100%;
		padding: 14px 18px;
		font-size: 16px;
	}
	.np-sec-welcome-section {
		padding: 24px 16px;
		border-radius: 0;
		margin-bottom: 12px;
	}
	.np-sec-welcome-section h2 { font-size: 19px; margin-bottom: 18px; }
	.np-sec-welcome-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.np-sec-welcome-card { padding: 16px; }
	.np-sec-welcome-card-icon { font-size: 32px; margin-bottom: 8px; }
	.np-sec-welcome-hex-svg { max-width: 200px; }
}
.np-sec-welcome-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--np-sec-accent, #6a5acd);
	margin-bottom: 10px;
	font-weight: 700;
}
.np-sec-welcome-hero h1 {
	font-size: clamp( 28px, 4vw, 42px );
	line-height: 1.15;
	margin: 0 0 16px;
}
.np-sec-welcome-hero h1 span {
	background: linear-gradient(90deg, var(--np-sec-accent, #6a5acd), var(--np-sec-primary, #1f6feb));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.np-sec-welcome-lead {
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 22px;
	opacity: .9;
}
.np-sec-welcome-cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.np-sec-welcome-primary-cta,
.np-sec-welcome-secondary-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 12px;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 15px;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.np-sec-welcome-primary-cta {
	background: linear-gradient(135deg, var(--np-sec-accent, #6a5acd), var(--np-sec-primary, #1f6feb));
	color: #fff !important;
	box-shadow: 0 16px 32px -10px rgba(106,90,205,.6);
}
.np-sec-welcome-primary-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }
.np-sec-welcome-secondary-cta {
	background: transparent;
	color: inherit !important;
	border: 1.5px solid var(--np-sec-border, rgba(255,255,255,.2));
}
.np-sec-welcome-secondary-cta:hover {
	border-color: var(--np-sec-accent, #6a5acd);
	color: var(--np-sec-accent, #6a5acd) !important;
}
.np-sec-welcome-active {
	display: block;
	margin-top: 18px;
	font-size: 13px;
	opacity: .7;
}

.np-sec-welcome-hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.np-sec-welcome-hex-svg {
	width: 100%;
	max-width: 320px;
	filter: drop-shadow( 0 16px 40px rgba(106,90,205,.45) );
}
@keyframes np-sec-welcome-hex-in {
	from { opacity: 0; transform: translateY(20px) scale(.85); }
	to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Section-Wrapper */
.np-sec-welcome-section {
	padding: 36px 32px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: var(--np-sec-card, rgba(255,255,255,.03));
	border: 1px solid var(--np-sec-border, rgba(255,255,255,.06));
}
.np-sec-welcome-section h2 {
	margin: 0 0 24px;
	font-size: 24px;
}
@media (max-width: 640px) {
	.np-sec-welcome-section { padding: 24px 18px; }
	.np-sec-welcome-section h2 { font-size: 20px; }
}

/* Feature-Grid */
.np-sec-welcome-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 18px;
}
.np-sec-welcome-card {
	padding: 20px;
	background: rgba(255,255,255,.02);
	border: 1px solid var(--np-sec-border, rgba(255,255,255,.06));
	border-radius: 12px;
	transition: transform .15s ease, border-color .18s ease;
}
.np-sec-welcome-card:hover {
	transform: translateY(-3px);
	border-color: var(--np-sec-accent, #6a5acd);
}
.np-sec-welcome-card-icon {
	font-size: 38px;
	line-height: 1;
	margin-bottom: 10px;
}
.np-sec-welcome-card h3 {
	margin: 0 0 8px;
	font-size: 16px;
}
.np-sec-welcome-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	opacity: .85;
}

/* Schritt-Liste */
.np-sec-welcome-step-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.np-sec-welcome-step-list li {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 16px 18px;
	background: rgba(255,255,255,.02);
	border-radius: 12px;
	border: 1px solid var(--np-sec-border, rgba(255,255,255,.06));
}
.np-sec-welcome-step-num {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--np-sec-accent, #6a5acd), var(--np-sec-primary, #1f6feb));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	box-shadow: 0 8px 18px -6px rgba(106,90,205,.5);
}
.np-sec-welcome-step-list h3 { margin: 0 0 4px; font-size: 16px; }
.np-sec-welcome-step-list p { margin: 0; font-size: 14px; opacity: .85; line-height: 1.5; }

/* Feature-Liste */
.np-sec-welcome-feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 280px, 1fr ) );
	gap: 10px;
}
.np-sec-welcome-feature-list li {
	padding: 10px 14px;
	background: rgba(255,255,255,.03);
	border-radius: 8px;
	border-left: 3px solid var(--np-sec-accent, #6a5acd);
	font-size: 14px;
	line-height: 1.5;
}

/* FAQ */
.np-sec-welcome-faq {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.np-sec-welcome-faq details {
	padding: 12px 16px;
	background: rgba(255,255,255,.03);
	border-radius: 8px;
	border: 1px solid var(--np-sec-border, rgba(255,255,255,.06));
	transition: background .15s ease;
}
.np-sec-welcome-faq details[open] { background: rgba(106,90,205,.06); }
.np-sec-welcome-faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	list-style: none;
	padding-right: 20px;
	position: relative;
}
.np-sec-welcome-faq summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 0;
	font-size: 20px;
	font-weight: 300;
	opacity: .6;
	transition: transform .2s ease;
}
.np-sec-welcome-faq details[open] summary::after { content: '−'; transform: scale(1.1); }
.np-sec-welcome-faq p {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	opacity: .85;
}

/* Final-CTA */
.np-sec-welcome-finalcta {
	text-align: center;
	padding: 50px 32px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--np-sec-accent, #6a5acd), var(--np-sec-primary, #1f6feb));
	color: #fff;
	margin-bottom: 30px;
}
.np-sec-welcome-finalcta h2 { font-size: 26px; margin: 0 0 8px; color: #fff; }
.np-sec-welcome-finalcta p { font-size: 16px; opacity: .92; margin: 0 0 24px; }
.np-sec-welcome-finalcta .np-sec-welcome-primary-cta {
	background: #fff;
	color: var(--np-sec-accent, #6a5acd) !important;
	font-size: 17px;
	padding: 16px 28px;
}
.np-sec-welcome-finalcta small a {
	color: rgba(255,255,255,.95);
	text-decoration: underline;
}

/* ============================================================
   V1.7: Welcome-Banner auf Cluster-Page (Erstbesucher)
   ============================================================ */
.np-sec-welcome-banner {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(106,90,205,.18), rgba(31,111,235,.12) 60%, transparent);
	border: 1px solid rgba(106,90,205,.3);
	display: flex;
	align-items: center;
	gap: 12px;
	animation: np-sec-welcome-banner-in .5s cubic-bezier(.2,.7,.2,1);
}
/* V1.38.3: Browser-Default [hidden]{display:none} wird durch display:flex überschrieben
 * → explizit erzwingen, sonst klebt der Banner trotz „dismissed"-State sichtbar. */
.np-sec-welcome-banner[hidden] { display: none !important; }
@keyframes np-sec-welcome-banner-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.np-sec-welcome-banner-icon { font-size: 28px; line-height: 1; }
.np-sec-welcome-banner-text { flex: 1; }
.np-sec-welcome-banner-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.np-sec-welcome-banner-text small { opacity: .85; font-size: 12px; }
.np-sec-welcome-banner-cta {
	display: inline-block;
	padding: 8px 14px;
	background: var(--np-sec-accent, #6a5acd);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	transition: transform .15s ease;
}
.np-sec-welcome-banner-cta:hover { transform: translateY(-1px); filter: brightness(1.1); }
.np-sec-welcome-banner-close {
	background: transparent;
	border: none;
	color: inherit;
	font-size: 18px;
	opacity: .5;
	cursor: pointer;
	padding: 4px;
}
.np-sec-welcome-banner-close:hover { opacity: 1; }


/* =================================================================
 * V1.24.2: Quick-Onboarding-Modal (4-Schritt-Einführung)
 * ================================================================= */
.np-sec-quick-onboarding {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}
.np-sec-quick-onboarding.is-open {
	opacity: 1;
	visibility: visible;
}
.np-sec-qo-backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 10, 14, 21, .85 );
	backdrop-filter: blur( 6px );
	-webkit-backdrop-filter: blur( 6px );
}
.np-sec-qo-card {
	position: relative;
	z-index: 1;
	max-width: 560px;
	width: 100%;
	max-height: calc( 100vh - 40px );
	overflow-y: auto;
	background: #15192a;
	border: 1px solid rgba( 255, 255, 255, .15 );
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, .7 );
	padding: 28px 28px 22px;
	color: #e2e8f0;
	transform: translateY( 16px );
	transition: transform .25s ease-out;
}
.np-sec-quick-onboarding.is-open .np-sec-qo-card { transform: translateY( 0 ); }
.np-sec-qo-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 0;
	background: rgba( 255, 255, 255, .08 );
	color: #fff;
	border-radius: 50%;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
	transition: background .15s ease;
}
.np-sec-qo-close:hover { background: rgba( 239, 68, 68, .6 ); }
.np-sec-qo-eyebrow {
	display: inline-block;
	padding: 4px 12px;
	background: rgba( 253, 224, 71, .15 );
	color: #fde047;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-radius: 999px;
	margin-bottom: 12px;
}
.np-sec-qo-card h2 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
}
.np-sec-qo-card header p {
	margin: 0 0 22px;
	color: rgba( 255, 255, 255, .7 );
	font-size: .95rem;
	line-height: 1.5;
}
.np-sec-qo-steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
}
.np-sec-qo-step {
	display: flex;
	gap: 14px;
	padding: 14px;
	background: rgba( 255, 255, 255, .035 );
	border: 1px solid rgba( 255, 255, 255, .06 );
	border-radius: 10px;
}
.np-sec-qo-step-icon {
	flex: 0 0 auto;
	font-size: 26px;
	line-height: 1;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba( 253, 224, 71, .12 );
	border-radius: 10px;
}
.np-sec-qo-step-body { flex: 1; min-width: 0; }
.np-sec-qo-step-body small {
	display: block;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fde047;
	font-weight: 700;
	margin-bottom: 2px;
}
.np-sec-qo-step-body strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 4px;
}
.np-sec-qo-step-body p {
	margin: 0;
	color: rgba( 255, 255, 255, .7 );
	font-size: .88rem;
	line-height: 1.5;
}
.np-sec-qo-cta {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: #fde047;
	color: #1b2434;
	border: 0;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}
.np-sec-qo-cta:hover {
	transform: translateY( -1px );
	box-shadow: 0 8px 20px rgba( 253, 224, 71, .4 );
}

@media ( max-width: 560px ) {
	.np-sec-qo-card { padding: 20px 18px 16px; }
	.np-sec-qo-card h2 { font-size: 1.25rem; }
	.np-sec-qo-step { padding: 12px; gap: 10px; }
	.np-sec-qo-step-icon { width: 36px; height: 36px; font-size: 22px; }
}

/* ============================================================
   V1.66.0: Welcome-Page „Deine Aktivität"-Section
   3-Way Cross-Plugin Cards (Sectorum + Liga + Booking)
   ============================================================ */
.np-sec-activity-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.np-sec-activity-card {
	padding: 20px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .08);
	position: relative;
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease;
}
.np-sec-activity-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, .18);
}
.np-sec-activity-card-icon {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 4px;
}
.np-sec-activity-card-title {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .8px;
	opacity: .65;
	margin-bottom: 12px;
}
.np-sec-activity-card-main {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 8px;
}
.np-sec-activity-card-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 12px;
	opacity: .85;
}
.np-sec-activity-card-stats span { white-space: nowrap; }
.np-sec-activity-card-extra {
	margin-top: 8px;
	font-size: 11px;
	opacity: .5;
}
.np-sec-activity-card-empty {
	font-size: 13px;
	opacity: .6;
	padding: 6px 0;
}
.np-sec-activity-card-empty small {
	display: block;
	margin-top: 4px;
	opacity: .8;
}

/* Card-spezifische Akzent-Farben */
.np-sec-activity-sectorum { border-left: 3px solid #16a34a; }
.np-sec-activity-liga     { border-left: 3px solid #2563eb; }
.np-sec-activity-booking  { border-left: 3px solid #f59e0b; }

.np-sec-activity-sectorum .np-sec-activity-card-icon { color: #16a34a; }
.np-sec-activity-liga     .np-sec-activity-card-icon { color: #2563eb; }
.np-sec-activity-booking  .np-sec-activity-card-icon { color: #f59e0b; }

@media (max-width: 800px) {
	.np-sec-activity-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   V1.68.0: Cluster-Page Cross-Plugin Stand-Strip
   Mini-Chips für Liga + Booking unter „Du spielst als"-Header
   ============================================================ */
.np-sec-stand-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 8px 14px;
	background: linear-gradient(90deg, rgba(245, 158, 11, .04), rgba(59, 130, 246, .04));
	border-top: 1px solid rgba(255, 255, 255, .04);
	border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.np-sec-stand-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	font-size: 12px;
	line-height: 1.4;
	transition: border-color .2s ease, background .2s ease;
}
.np-sec-stand-chip:hover {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .18);
}
.np-sec-stand-chip.is-liga    { border-left: 2px solid #2563eb; }
.np-sec-stand-chip.is-booking { border-left: 2px solid #f59e0b; }
.np-sec-stand-chip.is-empty   { opacity: .6; }
.np-sec-stand-chip-icon  { font-size: 14px; }
.np-sec-stand-chip-label { white-space: nowrap; }
.np-sec-stand-chip-label strong { font-weight: 600; }

@media (max-width: 540px) {
	.np-sec-stand-strip { padding: 6px 10px; gap: 6px; }
	.np-sec-stand-chip  { font-size: 11px; padding: 3px 8px; }
}
