/* LW Komentarze – usuwaniehejtu.pl. Kolory i fonty zmieniasz w zmiennych poniżej. */
.lwk {
	--lwk-bg: #141417;
	--lwk-border: #2a2a2f;
	--lwk-accent: #d0263b;
	--lwk-text: #f3f3f3;
	--lwk-muted: #b9b9bf;
	--lwk-tag-border: #55555c;
	--lwk-serif: Georgia, "Times New Roman", serif; /* podmień na font nagłówków strony */
	--lwk-radius: 12px;
	color: var(--lwk-text);
	font-family: inherit;
}
.lwk *, .lwk *::before, .lwk *::after { box-sizing: border-box; }
.lwk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Szukajka i tematy */
.lwk-search { display: block; margin-bottom: 12px; }
.lwk-search input {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 14px;
	color: var(--lwk-text); background: var(--lwk-bg);
	border: 1px solid var(--lwk-border); border-radius: 8px;
	-webkit-appearance: none; appearance: none;
}
.lwk-search input:focus { outline: 2px solid var(--lwk-accent); outline-offset: 1px; }

.lwk-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lwk-pill {
	padding: 4px 11px; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4;
	color: var(--lwk-text); background: transparent;
	border: 1px solid var(--lwk-tag-border); border-radius: 999px; cursor: pointer;
}
.lwk-pill:hover { border-color: var(--lwk-text); }
.lwk-pill[aria-pressed="true"] { background: var(--lwk-text); color: #111; border-color: var(--lwk-text); }

/* Karta */
.lwk-list { display: grid; gap: 12px; }
.lwk-card {
	padding: 22px 22px 20px;
	background: var(--lwk-bg);
	border: 1px solid var(--lwk-border);
	border-radius: var(--lwk-radius);
}
.lwk-card[hidden] { display: none; }
/* Najnowszy widoczny komentarz: czerwona krawędź u góry */
.lwk-card.is-first,
.lwk-list > .lwk-card:first-child { border-color: #4a2a30; border-top: 3px solid var(--lwk-accent); }
.lwk-list:has(.is-first) > .lwk-card:first-child:not(.is-first) { border-color: var(--lwk-border); border-top-width: 1px; }

.lwk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.lwk-meta time { font-size: 11px; font-weight: 700; color: var(--lwk-text); margin-right: 2px; }
.lwk-tag {
	padding: 2px 8px; font-size: 11px; font-weight: 600; line-height: 1.4;
	color: var(--lwk-text); border: 1px solid var(--lwk-tag-border); border-radius: 999px;
}

.lwk-title { margin: 0 0 4px; font-family: var(--lwk-serif); font-size: clamp(20px, 2.2vw, 25px); font-weight: 700; line-height: 1.25; color: var(--lwk-text); }
.lwk-title a { color: inherit; text-decoration: none; }
.lwk-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lwk-context { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--lwk-muted); max-width: 80ch; }

.lwk-quote {
	margin: 0 0 20px; padding: 0 0 0 26px;
	border: 0; border-left: 2px solid var(--lwk-muted);
	font-family: var(--lwk-serif); font-size: 17px; font-style: normal; line-height: 1.7;
	color: #e6e6e6; max-width: 85ch;
}

/* Akcje */
.lwk-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lwk-act {
	padding: 0; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.6;
	color: var(--lwk-muted); background: none; border: 0; cursor: pointer;
	text-decoration: underline; text-decoration-color: #5a5a60; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.lwk-act:hover { color: var(--lwk-text); text-decoration-color: var(--lwk-text); }
.lwk-act:focus-visible, .lwk-pill:focus-visible, .lwk-title a:focus-visible { outline: 2px solid var(--lwk-accent); outline-offset: 3px; border-radius: 2px; }
.lwk-act.is-done { color: var(--lwk-text); text-decoration-color: var(--lwk-accent); }

.lwk-empty { margin: 0; padding: 20px 0; font-size: 14px; color: var(--lwk-muted); }

@media (max-width: 640px) {
	.lwk-card { padding: 18px 16px; }
	.lwk-quote { padding-left: 16px; font-size: 16px; }
}
