/* ── LOCAL FONTS ── */
/* Outfit jest variable font — wszystkie wagi serwowane z 2 plików (latin + latin-ext) */
@font-face {
	font-family: 'Outfit';
	src: url('../fonts/outfit-latin.woff2') format('woff2');
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Outfit';
	src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Mono — 400 (latin only) */
@font-face {
	font-family: 'Space Mono';
	src: url('../fonts/spacemono-400-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Space Mono — 700 (latin only) */
@font-face {
	font-family: 'Space Mono';
	src: url('../fonts/spacemono-700-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ── ZMIENNE CSS ── */
:root {
	--pl-bg:           #0F0A1A;
	--pl-surface:      #1A1128;
	--pl-surface-2:    #221536;
	--pl-primary:      #7C3AED;
	--pl-primary-dark: #5B21B6;
	--pl-accent:       #FBBF24;
	--pl-text:         #F1F0FB;
	--pl-text-muted:   #9CA3AF;
	--pl-border:       rgba(124,58,237,0.2);
	--pl-border-hover: rgba(124,58,237,0.4);
	--font-display:    'Outfit', sans-serif;
	--font-mono:       'Space Mono', monospace;
}

/* ── BASE ── */
body {
	font-family: 'Outfit', sans-serif;
	background: #0F0A1A;
	color: #F1F0FB;
	-webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: #A78BFA; transition: color 0.15s; }
a:hover { color: #7C3AED; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Outfit', sans-serif;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.15;
}
p { color: #9CA3AF; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: #7C3AED; color: #fff; }

.skip-link {
	position: absolute; top: -100px; left: 12px;
	background: #7C3AED; color: #fff;
	padding: 12px 18px; border-radius: 8px;
	font-weight: 700; z-index: 10000;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 2px solid #7C3AED; outline-offset: 3px; border-radius: 4px; }

/* ── HEADER ── */
.site-header,
.pl-site-header {
	background: rgba(26,17,40,0.97);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(124,58,237,0.2);
	position: sticky;
	top: 0;
	z-index: 1000;
}
.site-header::before,
.pl-site-header .pl-header-bar {
	content: '';
	display: block;
	height: 3px;
	background: #7C3AED;
}
.pl-header-inner {
	max-width: 1240px; margin: 0 auto;
	padding: 16px 24px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px;
}
.site-branding a,
.site-title a,
.pl-logo {
	font-family: 'Outfit', sans-serif;
	font-size: 22px;
	font-weight: 900;
	color: #ffffff !important;
	text-decoration: none;
}
.pl-logo-main { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 22px; color: #fff; }
.main-navigation ul li a,
.pl-menu li a {
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #9CA3AF;
	padding: 8px 16px;
	border-radius: 100px;
	transition: all 0.15s;
	text-decoration: none;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.pl-menu li a:hover {
	color: #ffffff;
	background: rgba(124,58,237,0.15);
}
.pl-nav .pl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }

.pl-hamburger {
	display: none;
	background: transparent; border: 1px solid rgba(124,58,237,0.2);
	border-radius: 10px;
	width: 48px; height: 48px;
	flex-direction: column; align-items: center; justify-content: center;
	gap: 5px;
	cursor: pointer;
}
.pl-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── MOBILE — UKRYJ HAMBURGER, POKAŻ PASEK KATEGORII ── */
.pl-mobile-cats { display: none; }
@media (max-width: 768px) {
	.menu-toggle,
	.pl-hamburger,
	button.menu-toggle,
	.main-navigation .menu-toggle,
	.pl-nav { display: none !important; }
	.main-navigation ul,
	.main-navigation.toggled ul,
	.main-navigation .nav-menu { display: none !important; }

	.pl-mobile-cats {
		display: flex !important;
		gap: 10px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 10px 16px;
		background: #1A1128;
		border-bottom: 1px solid rgba(124,58,237,0.15);
		position: sticky;
		top: 60px;
		z-index: 999;
	}
	.pl-mobile-cats::-webkit-scrollbar { display: none; }

	.pl-mobile-cat {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		flex-shrink: 0;
		background: rgba(124,58,237,0.1);
		border: 1px solid rgba(124,58,237,0.2);
		border-radius: 14px;
		padding: 10px 16px;
		text-decoration: none;
		transition: all 0.15s;
		min-height: 56px;
		min-width: 110px;
	}
	.pl-mobile-cat:hover,
	.pl-mobile-cat.current {
		background: #7C3AED;
		border-color: #7C3AED;
		text-decoration: none;
	}
	.pl-mobile-cat-name {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 700;
		color: #ffffff;
		line-height: 1.2;
		white-space: nowrap;
	}
	.pl-mobile-cat-sub {
		font-family: 'Outfit', sans-serif;
		font-size: 11px;
		color: #9CA3AF;
		line-height: 1.2;
		white-space: nowrap;
	}
	.pl-mobile-cat.current .pl-mobile-cat-sub,
	.pl-mobile-cat:hover .pl-mobile-cat-sub {
		color: rgba(255,255,255,0.85);
	}
}

/* ── FOOTER ── */
.site-footer,
.pl-site-footer {
	background: #1A1128;
	border-top: 1px solid rgba(124,58,237,0.15);
	padding: 64px 0 32px;
	color: #9CA3AF;
	margin-top: 80px;
}
.pl-footer-grid,
.pl-footer-inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}
@media (max-width: 768px) {
	.pl-footer-grid,
	.pl-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.pl-footer-logo,
.pl-footer-brand .pl-logo-main {
	font-family: 'Outfit', sans-serif;
	font-size: 24px;
	font-weight: 900;
	color: #ffffff;
	display: block;
	margin-bottom: 12px;
	text-decoration: none;
}
.pl-footer-desc,
.pl-footer-brand p {
	font-size: 14px;
	color: #9CA3AF;
	line-height: 1.7;
	margin-bottom: 16px;
}
.pl-footer-badge,
.pl-ai-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #A78BFA;
	background: rgba(124,58,237,0.1);
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 100px;
	padding: 6px 14px;
}
.pl-footer-col h4,
.pl-footer-heading {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #A78BFA;
	margin-bottom: 20px;
}
.pl-footer-col ul,
.pl-footer-links,
.pl-footer-social { list-style: none; padding: 0; margin: 0; }
.pl-footer-col ul li,
.pl-footer-links li,
.pl-footer-social li { margin-bottom: 10px; }
.pl-footer-col ul li a,
.pl-footer-links a,
.pl-social {
	font-size: 14px;
	color: #9CA3AF;
	text-decoration: none;
	transition: color 0.15s;
}
.pl-footer-col ul li a:hover,
.pl-footer-links a:hover,
.pl-social:hover { color: #ffffff; }

.pl-footer-bottom {
	max-width: 1100px;
	margin: 32px auto 0;
	padding: 24px 24px 0;
	border-top: 1px solid rgba(255,255,255,0.06);
	font-size: 13px;
	color: #4B5563;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.pl-footer-legal {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.pl-footer-legal a {
	font-size: 13px;
	color: #4B5563;
	text-decoration: none;
	transition: color 0.15s;
}
.pl-footer-legal a:hover { color: #9CA3AF; }
@media (max-width: 600px) {
	.pl-footer-bottom { flex-direction: column; align-items: flex-start; }
	.pl-footer-legal { gap: 16px; }
}

/* ── HERO — STRONA GŁÓWNA ── */
.pl-hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 60%), #0F0A1A;
	padding: 80px 24px;
}
.pl-hero-inner { max-width: 700px; margin: 0 auto; }
.pl-hero h1,
.pl-hero-title {
	font-size: clamp(44px, 7vw, 80px);
	font-weight: 900;
	color: #ffffff;
	margin-bottom: 20px;
	line-height: 1.05;
}
.pl-hero-desc,
.pl-hero-sub {
	font-size: clamp(18px, 2.5vw, 22px);
	color: #9CA3AF;
	margin-bottom: 40px;
	line-height: 1.6;
}
.pl-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.pl-btn-primary,
.pl-btn.pl-btn-primary,
.pl-btn-hero {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #7C3AED;
	color: #ffffff !important;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
	padding: 18px 48px;
	border-radius: 100px;
	text-decoration: none !important;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
}
.pl-btn-primary:hover,
.pl-btn.pl-btn-primary:hover,
.pl-btn-hero:hover {
	background: #5B21B6;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(124,58,237,0.4);
	color: #fff !important;
}

/* ── KARTY ARTYKUŁÓW ── */
.pl-posts-grid,
.pl-bento {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px;
}
@media (max-width: 768px) {
	.pl-posts-grid,
	.pl-bento { grid-template-columns: 1fr; }
}
.pl-card {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	transition: all 0.2s;
	color: inherit;
}
.pl-card:hover {
	border-color: rgba(124,58,237,0.5);
	transform: translateY(-4px);
	text-decoration: none;
	color: inherit;
}
.pl-card-link { display: block; color: inherit; height: 100%; text-decoration: none; }
.pl-card-thumb {
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #221536;
}
.pl-card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}
.pl-card:hover .pl-card-thumb img { transform: scale(1.04); }
.pl-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pl-card-cat {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7C3AED;
	margin-bottom: 10px;
}
.pl-card-title {
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 10px;
	line-height: 1.3;
}
.pl-card-excerpt {
	font-size: 14px;
	color: #9CA3AF;
	line-height: 1.6;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 16px;
}
.pl-card-meta {
	font-size: 13px;
	color: #6B7280;
	padding-top: 16px;
	border-top: 1px solid rgba(124,58,237,0.1);
}
@media (max-width: 768px) {
	.pl-card:active { transform: scale(0.98); }
}

.pl-section-head {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex; align-items: baseline; justify-content: space-between;
	flex-wrap: wrap; gap: 12px;
}
.pl-section-head h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; color: #fff; margin: 0; }
.pl-section-link { font-weight: 600; color: #A78BFA; text-decoration: none; }

/* ── BANER YOUTUBE ── */
.pl-youtube-banner,
.pl-yt-banner {
	display: flex;
	align-items: center;
	gap: 28px;
	background: #1A1128;
	border: 1px solid rgba(255,0,0,0.15);
	border-radius: 20px;
	padding: 32px 36px;
	margin: 48px auto;
	max-width: 900px;
	text-decoration: none !important;
	transition: transform 0.2s, border-color 0.2s;
	color: inherit;
}
.pl-youtube-banner:hover,
.pl-yt-banner:hover {
	transform: translateY(-3px);
	border-color: rgba(255,0,0,0.35);
	text-decoration: none !important;
	color: inherit;
}
.pl-yt-banner-wrap { padding: 0 24px; max-width: 900px; margin: 0 auto; }
.pl-yt-icon {
	width: 60px; height: 60px;
	background: #FF0000;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.pl-yt-icon svg { width: 30px; height: 30px; fill: #fff; }
.pl-yt-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #6B7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	display: block;
}
.pl-yt-title,
.pl-yt-text h3,
.pl-yt-content h3 {
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 4px;
}
.pl-yt-desc,
.pl-yt-text p,
.pl-yt-content p { font-size: 14px; color: #9CA3AF; margin: 0; }
.pl-yt-content,
.pl-yt-text { flex: 1; }
.pl-yt-btn,
.pl-btn-yt-solid {
	background: #FF0000;
	color: #ffffff !important;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: 100px;
	text-decoration: none !important;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.15s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pl-yt-btn:hover,
.pl-btn-yt-solid:hover { background: #cc0000; color: #fff !important; }
@media (max-width: 600px) {
	.pl-youtube-banner,
	.pl-yt-banner { flex-direction: column; text-align: center; padding: 24px; }
	.pl-yt-btn,
	.pl-btn-yt-solid { width: 100%; text-align: center; display: block; }
}

/* ── SINGLE POST — LAYOUT ── */
.pl-single-layout,
.pl-single-wrap {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 24px 80px;
	align-items: start;
}
@media (max-width: 960px) {
	.pl-single-layout,
	.pl-single-wrap { grid-template-columns: 1fr; }
	.pl-sidebar-col,
	.pl-sidebar { display: none; }
}
.pl-sidebar-col,
.pl-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }

/* ── SINGLE POST — NAGŁÓWEK ── */
.pl-entry-header,
.pl-article-head { margin-bottom: 32px; }
.pl-entry-title,
.pl-article-title {
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 900;
	color: #ffffff;
	line-height: 1.1;
	margin-bottom: 16px;
}
.pl-entry-meta,
.pl-article-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 14px;
	color: #6B7280;
	margin-bottom: 24px;
}
.pl-meta-sep { color: rgba(124,58,237,0.4); }
.pl-meta-ai-badge,
.pl-chip-ai {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	color: #A78BFA;
	background: rgba(124,58,237,0.12);
	padding: 3px 10px;
	border-radius: 100px;
}
.pl-post-date,
.pl-reading-time { color: #6B7280; font-size: 14px; }
.pl-cat-chip {
	display: inline-block;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	text-transform: uppercase;
	background: rgba(124,58,237,0.15);
	color: #A78BFA;
	padding: 4px 14px;
	border-radius: 999px;
	letter-spacing: .04em;
	margin-bottom: 16px;
	text-decoration: none;
}
.pl-breadcrumbs { font-size: 13px; color: #6B7280; margin-bottom: 20px; }
.pl-breadcrumbs a { color: #6B7280; text-decoration: none; }
.pl-breadcrumbs a:hover { color: #A78BFA; }

.pl-article-hero { margin: 0 0 32px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(124,58,237,0.2); }
.pl-article-hero img { width: 100%; height: auto; }
.pl-badge { display: inline-block; font-size: 11px; font-family: var(--font-mono); padding: 2px 10px; border-radius: 999px; }
.pl-badge-fresh { background: rgba(16,185,129,0.15); color: #10b981; }
.pl-badge-old { background: rgba(251,191,36,0.15); color: #FBBF24; }

/* ── TREŚĆ ARTYKUŁU ── */
.entry-content,
.pl-entry {
	font-size: 17px;
	line-height: 1.85;
	color: #E5E3F0;
	max-width: 740px;
}
.entry-content h2,
.pl-entry h2 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	color: #ffffff;
	margin: 2.5em 0 0.8em;
}
.entry-content h2::after,
.pl-entry h2::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: #7C3AED;
	margin-top: 10px;
	border-radius: 2px;
}
.entry-content h3,
.pl-entry h3 {
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 700;
	color: #ffffff;
	margin: 2em 0 0.6em;
}
.entry-content p,
.pl-entry p { color: #E5E3F0; }
.entry-content a,
.pl-entry a { color: #A78BFA; text-underline-offset: 3px; }
.entry-content strong,
.pl-entry strong { color: #ffffff; font-weight: 700; }
.entry-content ul,
.entry-content ol,
.pl-entry ul,
.pl-entry ol {
	padding-left: 1.5rem;
	margin: 1.2rem 0;
	color: #E5E3F0;
}
.entry-content li,
.pl-entry li { padding: 4px 0; line-height: 1.7; }
.entry-content blockquote,
.pl-entry blockquote {
	border-left: 4px solid #7C3AED;
	background: rgba(124,58,237,0.06);
	border-radius: 0 12px 12px 0;
	padding: 20px 24px;
	margin: 2rem 0;
	font-style: italic;
	font-size: 19px;
	color: #D1D5DB;
}
.entry-content code,
.pl-entry code {
	font-family: 'Space Mono', monospace;
	font-size: 14px;
	background: rgba(124,58,237,0.15);
	color: #A78BFA;
	padding: 2px 8px;
	border-radius: 6px;
}
.entry-content pre,
.pl-entry pre {
	background: #0F0A1A;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 12px;
	padding: 20px;
	overflow-x: auto;
}
.entry-content pre code,
.pl-entry pre code { background: transparent; padding: 0; color: #A78BFA; }
.entry-content table,
.pl-entry table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(124,58,237,0.2);
	margin: 2rem 0;
}
.entry-content table thead,
.pl-entry table thead { background: #7C3AED; }
.entry-content table thead th,
.pl-entry table thead th {
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	text-align: left;
}
.entry-content table tbody tr:nth-child(even),
.pl-entry table tbody tr:nth-child(even) { background: rgba(124,58,237,0.05); }
.entry-content table tbody td,
.pl-entry table tbody td {
	padding: 14px 20px;
	font-size: 14px;
	color: #E5E3F0;
	border-bottom: 1px solid rgba(124,58,237,0.1);
}

.pl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.pl-tags a {
	font-family: 'Space Mono', monospace; font-size: 12px;
	background: rgba(124,58,237,0.15); color: #A78BFA;
	padding: 4px 12px; border-radius: 999px;
	border: 1px solid rgba(124,58,237,0.2);
	text-decoration: none;
}
.pl-tags a:hover { background: #7C3AED; color: #fff; }

.pl-sep { border: none; border-top: 1px solid rgba(124,58,237,0.2); margin: 48px 0; }

.pl-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pl-post-nav-item {
	display: block;
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 12px;
	padding: 18px 20px;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s, transform .2s;
}
.pl-post-nav-item:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); color: inherit; }
.pl-post-nav-item span { display: block; font-family: 'Space Mono', monospace; font-size: 11px; color: #6B7280; text-transform: uppercase; margin-bottom: 6px; }
.pl-post-nav-item strong { display: block; color: #fff; font-weight: 700; font-size: 15px; }
.pl-next { text-align: right; }
@media (max-width: 600px) { .pl-post-nav { grid-template-columns: 1fr; } }

/* ── STRAIGHT ANSWER BOX ── */
.pl-straight-answer {
	background: rgba(124,58,237,0.08);
	border-left: 4px solid #7C3AED;
	border-radius: 0 12px 12px 0;
	padding: 20px 24px;
	margin: 28px 0;
}
.pl-sa-label {
	display: block;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #A78BFA;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.pl-sa-text,
.pl-straight-answer p {
	font-size: 18px;
	font-weight: 500;
	color: #F1F0FB !important;
	line-height: 1.65;
	margin: 0;
}

/* ── SPIS TREŚCI ── */
.pl-toc-wrapper {
	position: relative !important;
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-top: 3px solid #7C3AED;
	border-radius: 12px;
	padding: 20px 24px;
	margin: 32px 0;
	max-width: 620px;
	width: 100%;
	box-sizing: border-box;
	z-index: auto !important;
	overflow: visible !important;
	float: none !important;
	clear: both !important;
}
.pl-toc-wrapper[hidden] { display: none; }
.pl-toc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pl-toc-title {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #A78BFA;
}
.pl-toc-toggle {
	font-size: 13px;
	font-weight: 600;
	color: #7C3AED;
	background: none;
	border: none;
	cursor: pointer;
	font-family: 'Outfit', sans-serif;
}
.pl-toc-list {
	position: static !important;
	list-style: none;
	margin: 0;
	padding: 0;
	display: block !important;
	overflow: visible !important;
	max-height: none !important;
}
.pl-toc-list.pl-toc-hidden { display: none !important; }
.pl-toc-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	border-bottom: 1px solid rgba(124,58,237,0.08);
}
.pl-toc-list li:last-child { border-bottom: none; }
.pl-toc-num {
	font-family: 'Space Mono', monospace;
	font-size: 13px;
	font-weight: 700;
	color: #6B7280;
	min-width: 20px;
	flex-shrink: 0;
}
.pl-toc-list a {
	font-size: 15px;
	font-weight: 500;
	color: #D1D5DB;
	text-decoration: none;
	transition: color 0.15s;
}
.pl-toc-list a:hover,
.pl-toc-list a.is-active { color: #7C3AED; }
.pl-toc-list .pl-toc-h3,
.pl-toc-sub { padding-left: 20px; }
.pl-toc-list .pl-toc-h3 a,
.pl-toc-sub a { font-size: 14px; color: #9CA3AF; }

/* ── FAQ ── */
.pl-faq-section { margin: 40px 0; }
.pl-faq-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #fff; margin: 0 0 24px; }
.pl-faq-item {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 12px;
}
.pl-faq-q,
.pl-faq-item h3 {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 10px 0;
	line-height: 1.3;
}
.pl-faq-a p,
.pl-faq-item p {
	font-size: 15px;
	color: #9CA3AF;
	line-height: 1.7;
	margin: 0;
}

/* ── KARTY NARZĘDZI ── */
.pl-tool-card {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 20px;
	padding: 32px;
	margin: 40px 0;
	position: relative;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}
.pl-tool-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-2px); }
.pl-tool-card-featured { border-color: #7C3AED; border-width: 2px; }
.pl-tool-card-badge {
	position: absolute;
	top: 0; right: 24px;
	background: #7C3AED;
	color: #ffffff;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 0 0 10px 10px;
}
.pl-tool-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.pl-tool-card-name { font-size: 24px; font-weight: 800; color: #ffffff; margin: 0 0 6px 0; }
.pl-tool-card-category {
	display: inline-block;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #A78BFA;
	background: rgba(124,58,237,0.12);
	padding: 3px 12px;
	border-radius: 100px;
}
.pl-tool-card-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.pl-stars { display: flex; gap: 2px; }
.pl-star { font-size: 20px; line-height: 1; }
.pl-star-full { color: #FBBF24; }
.pl-star-half { color: #FBBF24; opacity: 0.6; }
.pl-star-empty { color: #374151; }
.pl-rating-value { font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 700; color: #FBBF24; }
.pl-tool-card-desc { font-size: 16px; line-height: 1.7; color: #9CA3AF; margin: 0 0 20px 0; }
.pl-tool-card-price {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(251,191,36,0.08);
	border: 1px solid rgba(251,191,36,0.2);
	border-radius: 10px;
	padding: 8px 16px;
	margin-bottom: 24px;
}
.pl-price-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #FBBF24;
}
.pl-price-value { font-size: 14px; font-weight: 600; color: #F1F0FB; }
.pl-tool-card-verdict {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 28px;
}
@media (max-width: 600px) {
	.pl-tool-card-verdict { grid-template-columns: 1fr; }
	.pl-tool-card { padding: 20px; }
}
.pl-verdict-col { border-radius: 12px; padding: 16px 20px; }
.pl-verdict-pros { background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.2); }
.pl-verdict-cons { background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.2); }
.pl-verdict-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pl-verdict-pros .pl-verdict-title { color: #10B981; }
.pl-verdict-cons .pl-verdict-title { color: #EF4444; }
.pl-verdict-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-verdict-list li { font-size: 14px; line-height: 1.5; color: #D1D5DB; padding-left: 16px; position: relative; }
.pl-verdict-pros .pl-verdict-list li::before { content: '✓'; position: absolute; left: 0; color: #10B981; font-weight: 700; }
.pl-verdict-cons .pl-verdict-list li::before { content: '✗'; position: absolute; left: 0; color: #EF4444; font-weight: 700; }

body .pl-tool-card a.pl-tool-card-cta,
body .entry-content a.pl-tool-card-cta,
a.pl-tool-card-cta,
.pl-tool-card-cta {
	display: block !important;
	width: 100% !important;
	background: #FBBF24 !important;
	color: #0F0A1A !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	text-align: center !important;
	text-decoration: none !important;
	padding: 16px 24px !important;
	border-radius: 12px !important;
	transition: background 0.15s, transform 0.15s !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	letter-spacing: -0.01em !important;
}
body .pl-tool-card a.pl-tool-card-cta:hover,
a.pl-tool-card-cta:hover {
	background: #F59E0B !important;
	color: #0F0A1A !important;
	text-decoration: none !important;
	transform: translateY(-1px) !important;
}
@media (max-width: 768px) {
	.pl-tool-card:active { transform: scale(0.99); }
	a.pl-tool-card-cta:active { transform: scale(0.97) !important; }
}

/* ── DISCLAIMER AFILIACYJNY ── */
.pl-affiliate-wrapper {
	border-top: 1px solid rgba(124,58,237,0.15);
	padding-top: 32px;
	margin-top: 48px;
}
.pl-affiliate-box {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: rgba(251,191,36,0.05);
	border: 1px solid rgba(251,191,36,0.15);
	border-left: 3px solid #FBBF24;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	font-size: 13px;
	color: #6B7280;
	line-height: 1.6;
}
.pl-affiliate-icon { font-size: 16px; flex-shrink: 0; opacity: 0.7; }
.pl-affiliate-content strong:first-child {
	display: block;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #FBBF24;
	margin-bottom: 6px;
}
.pl-affiliate-box a { color: #9CA3AF; text-decoration: underline; }
.pl-affiliate-box a:hover { color: #FBBF24; }
.pl-affiliate-link::after { content: ' ★'; color: #FBBF24; font-size: 11px; font-weight: 700; vertical-align: super; }

/* ── SIDEBAR WIDGETY ── */
.widget,
.pl-widget {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 20px;
}
.widget-title,
.pl-widget-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #A78BFA;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(124,58,237,0.15);
	display: block;
}
.pl-widget h3 { font-weight: 800; font-size: 18px; margin: 4px 0 6px; color: #fff; }
.pl-widget p { color: #9CA3AF; font-size: 13px; margin: 0 0 16px; }
.pl-widget-yt { text-align: center; border-color: rgba(255,0,0,0.15); }

.pl-popular-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid rgba(124,58,237,0.08);
}
.pl-popular-item:last-child { border-bottom: none; }
.pl-popular-thumb img {
	width: 60px; height: 60px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.pl-popular-content { flex: 1; min-width: 0; }
.pl-popular-title {
	font-size: 14px;
	font-weight: 600;
	color: #F1F0FB;
	text-decoration: none;
	line-height: 1.4;
	display: block;
	margin-bottom: 4px;
}
.pl-popular-title:hover { color: #A78BFA; }
.pl-popular-date { font-size: 12px; color: #6B7280; }

.pl-btn-block { display: block; width: 100%; }

/* ── READING PROGRESS BAR ── */
#pl-reading-progress,
.pl-reading-progress {
	position: fixed;
	top: 0; left: 0;
	width: 0%;
	height: 3px;
	background: linear-gradient(90deg, #7C3AED, #FBBF24);
	z-index: 9999;
	transition: width 0.1s linear;
}

/* ── STRONA "ZACZNIJ TUTAJ" ── */
.pl-start { max-width: 1240px; margin: 0 auto; }
.pl-start-hero { text-align: center; padding: 60px 24px 40px; max-width: 700px; margin: 0 auto; }
.pl-start-title {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 900;
	color: #ffffff;
	margin-bottom: 16px;
	line-height: 1.1;
}
.pl-start-desc { font-size: 18px; color: #9CA3AF; line-height: 1.7; margin: 0; }
.pl-start-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 860px;
	margin: 48px auto;
	padding: 0 24px;
}
@media (max-width: 600px) { .pl-start-grid { grid-template-columns: 1fr; } }
.pl-start-card {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 20px;
	padding: 28px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color 0.2s, transform 0.2s;
	color: inherit;
}
.pl-start-card:hover { border-color: #7C3AED; transform: translateY(-3px); text-decoration: none; color: inherit; }
.pl-start-card-icon { font-size: 32px; line-height: 1; }
.pl-start-card-name { font-size: 22px; font-weight: 800; color: #ffffff; }
.pl-start-card-desc { font-size: 15px; color: #9CA3AF; line-height: 1.6; flex: 1; }
.pl-start-card-arrow { font-size: 20px; color: #7C3AED; font-weight: 700; margin-top: 8px; }

.pl-start-recommended { max-width: 860px; margin: 0 auto 64px; padding: 0 24px; }
.pl-start-section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #ffffff; margin-bottom: 8px; }
.pl-start-section-desc { font-size: 16px; color: #9CA3AF; margin-bottom: 32px; }
.pl-start-articles { display: flex; flex-direction: column; gap: 16px; }
.pl-start-article {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s;
	color: inherit;
}
.pl-start-article:hover { border-color: #7C3AED; transform: translateY(-2px); text-decoration: none; color: inherit; }
.pl-start-article-thumb { width: 160px; flex-shrink: 0; overflow: hidden; }
.pl-start-article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-start-article-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pl-start-article-cat {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7C3AED;
}
.pl-start-article-title { font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin: 0; }
.pl-start-article-excerpt { font-size: 14px; color: #9CA3AF; line-height: 1.6; margin: 0; flex: 1; }
.pl-start-article-link { font-size: 14px; font-weight: 700; color: #7C3AED; margin-top: 4px; }
@media (max-width: 600px) {
	.pl-start-article { flex-direction: column; }
	.pl-start-article-thumb { width: 100%; height: 180px; }
}

/* ── STRONA ARCHIWUM / KATEGORII ── */
.pl-archive-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px 80px;
}
.pl-archive-header {
	padding: 60px 0 40px;
	border-bottom: 1px solid rgba(124,58,237,0.15);
	margin-bottom: 48px;
}
.pl-archive-header-inner { max-width: 700px; }
.pl-archive-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7C3AED;
	display: block;
	margin-bottom: 12px;
}
.pl-archive-title {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 900;
	color: #ffffff;
	margin: 0 0 16px 0;
	line-height: 1.1;
}
.pl-archive-desc {
	font-size: 18px;
	color: #9CA3AF;
	line-height: 1.7;
	margin: 0;
}
.pl-card-thumb-placeholder {
	background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(124,58,237,0.05) 100%);
}
.pl-card-thumb-inner { width: 100%; height: 100%; min-height: 180px; }

/* Archiwum: 2 kolumny, karty bez miniatury */
.pl-archive-content .pl-posts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 0;
}
@media (max-width: 768px) {
	.pl-archive-content .pl-posts-grid { grid-template-columns: 1fr; }
}
.pl-archive-content .pl-card { min-height: 200px; }
.pl-archive-content .pl-card-title { font-size: 20px; }
.pl-archive-content .pl-card-excerpt { -webkit-line-clamp: 3; }

.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 10px;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #9CA3AF;
	text-decoration: none;
	transition: all 0.15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current,
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
	background: #7C3AED;
	border-color: #7C3AED;
	color: #ffffff;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
	width: auto;
	padding: 0 16px;
}

.pl-archive-empty { text-align: center; padding: 80px 24px; }
.pl-archive-empty p { font-size: 18px; color: #9CA3AF; margin-bottom: 24px; }

@media (max-width: 768px) {
	.pl-archive-header { padding: 32px 0 24px; }
	.pl-archive-header-inner { max-width: 100%; }
}

/* ── STRONY STATYCZNE (page.php) ── */
.pl-page-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 60px 24px 80px;
}
.pl-page-inner { max-width: 720px; margin: 0 auto; }
.pl-page-header {
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(124,58,237,0.15);
}
.pl-page-title {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 900;
	color: #ffffff;
	line-height: 1.1;
	margin: 0;
}
.pl-page-content {
	font-size: 16px;
	line-height: 1.8;
	color: #E5E3F0;
}
.pl-page-content h2 {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800;
	color: #ffffff;
	margin: 2.5em 0 0.8em;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(124,58,237,0.15);
}
.pl-page-content h2::after { display: none; }
.pl-page-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 1.8em 0 0.6em;
}
.pl-page-content p { color: #D1D5DB; margin-bottom: 1.2em; }
.pl-page-content ul,
.pl-page-content ol {
	padding-left: 1.5rem;
	margin: 1em 0 1.5em;
	color: #D1D5DB;
}
.pl-page-content li { padding: 4px 0; line-height: 1.7; }
.pl-page-content a {
	color: #A78BFA;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.pl-page-content a:hover { color: #7C3AED; }
.pl-page-content strong { color: #ffffff; font-weight: 700; }
@media (max-width: 768px) {
	.pl-page-wrap { padding: 32px 20px 60px; }
}

/* ── MODAL KONTAKTOWY ── */
.pl-contact-trigger {
	cursor: pointer;
	color: #9CA3AF;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s;
}
.pl-contact-trigger:hover { color: #ffffff; }

.pl-contact-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.pl-contact-modal.active { display: flex; }
.pl-contact-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15,10,26,0.92);
	cursor: pointer;
}
.pl-contact-modal-box {
	position: relative;
	z-index: 1;
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.3);
	border-radius: 20px;
	padding: 40px;
	width: 100%;
	max-width: 520px;
	margin: 24px;
}
.pl-contact-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: #6B7280;
	font-size: 20px;
	cursor: pointer;
	transition: color 0.15s;
	line-height: 1;
}
.pl-contact-close:hover { color: #ffffff; }
.pl-contact-title {
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 8px 0;
}
.pl-contact-desc {
	font-size: 14px;
	color: #9CA3AF;
	margin: 0 0 24px 0;
}
.pl-contact-field { margin-bottom: 16px; }
.pl-contact-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #D1D5DB;
	margin-bottom: 6px;
}
.pl-contact-field input,
.pl-contact-field textarea {
	width: 100%;
	background: #0F0A1A;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 10px;
	padding: 12px 16px;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	color: #ffffff;
	outline: none;
	transition: border-color 0.15s;
	box-sizing: border-box;
}
.pl-contact-field input:focus,
.pl-contact-field textarea:focus { border-color: #7C3AED; }
.pl-contact-field textarea { resize: vertical; }
.pl-contact-submit {
	width: 100%;
	background: #7C3AED;
	color: #ffffff;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 12px;
	padding: 14px 24px;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
	margin-top: 8px;
}
.pl-contact-submit:hover {
	background: #5B21B6;
	transform: translateY(-1px);
}
.pl-contact-info {
	font-size: 13px;
	color: #9CA3AF;
	text-align: center;
	margin: 12px 0 0 0;
	min-height: 20px;
}
@media (max-width: 600px) {
	.pl-contact-modal-box { padding: 28px 20px; }
}

/* ── 404 ── */
.pl-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.pl-404 h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; margin: 24px 0 16px; }
.pl-404 p { color: #9CA3AF; max-width: 480px; margin: 0 auto 32px; }
.pl-empty { text-align: center; color: #9CA3AF; padding: 40px; }

/* ── YOUTUBE VIDEO EMBED (16:9) ── */
.pl-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	margin: 32px 0;
	border-radius: 16px;
	overflow: hidden;
	background: #1A1128;
}
.pl-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 16px;
}

/* ── YOUTUBE SHORTS EMBED ── */
.pl-short-wrapper {
	position: relative;
	width: 100%;
	max-width: 340px;
	margin: 32px auto;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 9/16;
	background: #0F0A1A;
}
.pl-short-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── PROMPT BOX ── */
.pl-prompt-box {
	background: #0F0A1A;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 1.5em 0;
}
.pl-prompt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pl-prompt-label { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; color: #A78BFA; letter-spacing: .06em; }
.pl-prompt-copy { background: transparent; color: #7C3AED; border: 1px solid rgba(124,58,237,0.2); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.pl-prompt-copy:hover { background: #7C3AED; color: #fff; border-color: #7C3AED; }
.pl-prompt-copy.is-copied { background: #10b981; color: #fff; border-color: #10b981; }
.pl-prompt-text { font-family: 'Space Mono', monospace; font-size: 14px; color: #A78BFA; line-height: 1.7; white-space: pre-wrap; margin: 0; }

/* ── MIKRO INTERAKCJE MOBILE ── */
@media (max-width: 768px) {
	.pl-card:active { transform: scale(0.98); transition: transform 0.1s; }
	.pl-mobile-cat:active { transform: scale(0.95); }
	.pl-start-card:active { transform: scale(0.98); }
}

/* ── MOBILE OVERRIDES — sesja poprawek ── */
@media (max-width: 768px) {
	.pl-hero {
		min-height: calc(100vh - 120px);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 20px 20px;
	}
	.pl-posts-grid,
	.pl-bento {
		padding: 28px 16px;
		gap: 16px;
	}
	.pl-bento-section,
	.pl-posts-section {
		margin-bottom: 0;
		padding-bottom: 28px;
	}
	.pl-toc-wrapper { display: none !important; }
	.pl-sidebar-col,
	.pl-sidebar,
	.widget-area,
	aside.pl-sidebar-col,
	aside.pl-sidebar,
	.generate-sidebar-area { display: none !important; }
}

@media (max-width: 960px) {
	.pl-sidebar-col,
	.pl-sidebar,
	.widget-area,
	aside.pl-sidebar-col,
	aside.pl-sidebar,
	.generate-sidebar-area { display: none !important; }
}

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

/* ── PASEK NAWIGACJI KATEGORII NARZĘDZI ── */
.pl-tools-nav {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 32px 0 48px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}
.pl-tools-nav-item {
	display: inline-flex;
	align-items: center;
	font-family: 'Outfit', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: #9CA3AF;
	background: rgba(124,58,237,0.08);
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 6px;
	padding: 6px 14px;
	text-decoration: none;
	transition: all 0.15s;
	white-space: nowrap;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.pl-tools-nav-item:hover {
	background: #7C3AED;
	border-color: #7C3AED;
	color: #ffffff;
	text-decoration: none;
}

/* ── SEKCJA KATEGORII ── */
.pl-tools-section {
	margin: 56px 0;
	scroll-margin-top: 120px;
}
.pl-tools-section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(124,58,237,0.2);
}
.pl-tools-section-icon {
	font-size: 28px;
	line-height: 1;
}
.pl-tools-section-title {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}
.pl-tools-section-count {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	color: #7C3AED;
	background: rgba(124,58,237,0.1);
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 100px;
	padding: 3px 10px;
	margin-left: auto;
}

/* ── SIATKA KART NARZĘDZI ── */
.pl-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
@media (max-width: 640px) {
	.pl-tools-grid { grid-template-columns: 1fr; }
}

/* ── KARTA NARZĘDZIA (mini) ── */
.pl-tool-mini {
	background: #1A1128;
	border: 1px solid rgba(124,58,237,0.2);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s, transform 0.2s;
}
.pl-tool-mini:hover {
	border-color: rgba(124,58,237,0.5);
	transform: translateY(-2px);
}
.pl-tool-mini-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-tool-mini-name {
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}
.pl-tool-mini-stars {
	display: flex;
	gap: 2px;
	flex-shrink: 0;
}
.pl-tool-mini-star {
	font-size: 14px;
	color: #FBBF24;
}
.pl-tool-mini-star.empty {
	color: #374151;
}
.pl-tool-mini-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #9CA3AF;
	margin: 0;
	flex: 1;
}
.pl-tool-mini-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pl-tool-mini-pro {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #10B981;
	background: rgba(16,185,129,0.08);
	border: 1px solid rgba(16,185,129,0.2);
	border-radius: 6px;
	padding: 3px 8px;
}
.pl-tool-mini-con {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #EF4444;
	background: rgba(239,68,68,0.08);
	border: 1px solid rgba(239,68,68,0.2);
	border-radius: 6px;
	padding: 3px 8px;
}
.pl-tool-mini-cta {
	display: block;
	width: 100%;
	background: #FBBF24;
	color: #0F0A1A !important;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	padding: 12px 16px;
	border-radius: 10px;
	transition: background 0.15s, transform 0.15s;
	margin-top: auto;
}
.pl-tool-mini-cta:hover {
	background: #F59E0B;
	color: #0F0A1A !important;
	transform: translateY(-1px);
	text-decoration: none !important;
}
.pl-tool-mini-cta[href="#"] {
	cursor: default;
	pointer-events: none;
	opacity: 0.7;
}
@media (max-width: 768px) {
	.pl-tool-mini:active { transform: scale(0.98); }
	.pl-tool-mini-cta:active { transform: scale(0.97) !important; }
}

/* ── SEPARATOR PRZED ARTYKUŁEM SEO ── */
.pl-tools-seo-divider {
	border: none;
	border-top: 2px solid rgba(124,58,237,0.15);
	margin: 64px 0 48px;
}
