/* ==========================================================================
   MR — panele prawej kolumny jak na X.com (minimalistycznie)
   --------------------------------------------------------------------------
   Dotyczy paneli z klasa .mr-sw (szablony _polecane_watki, _widget_ekipa,
   _widget_najczesciej_lajkowani, _widget_top_postersow, _widget_kogo_obserwuja):
   - tytul jak na X: 20 px, pogrubiony, bez wielkich liter,
   - zakladki jako male "pastylki" (aktywna wypelniona),
   - Polecane wątki: lista jak "Na czasie" (numer · autor · czas, tytul,
     liczba wyswietlen), bez kafelkow i niebieskich pastylek,
   - Aktywność ekipy: os czasu - linia przez awatary, podzial na
     "Ostatnia godzina / Ostatnie 24 godziny / Wcześniej",
   - rankingi: numer, awatar, nick, licznik - bez tla i ramek.
   Oznaczenia (mrsw-*) dodaje mr-side-x.js.
   ========================================================================== */

.mr-sw,
.mr-sugg,
.mr-trends {
	--sw-font: "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--sw-text: #e7e9ea;
	--sw-dim: #71767b;
	--sw-line: #2f3336;
	--sw-hover: rgba(231, 233, 234, .03);
	--sw-chip: #16181c;
	--sw-chip-on: #e7e9ea;
	--sw-chip-on-text: #0f1419;
	--sw-bg: #000;
	--sw-blue: #0053cb;
	--sw-link: #1d9bf0;
	--sw-ring: #3e4144;
}
html[data-mr-theme="light"] .mr-sw,
html[data-mr-theme="light"] .mr-sugg,
html[data-mr-theme="light"] .mr-trends {
	--sw-text: #0f1419;
	--sw-dim: #536471;
	--sw-line: #eff3f4;
	--sw-hover: rgba(15, 20, 25, .03);
	--sw-chip: #f7f9f9;
	--sw-chip-on: #0f1419;
	--sw-chip-on-text: #fff;
	--sw-bg: #fff;
	--sw-link: #0053cb;
	--sw-ring: #cfd9de;
}

.mr-sw,
.mr-sw div,
.mr-sw span,
.mr-sw a,
.mr-sw p,
.mr-sw b,
.mr-sw strong,
.mr-sw small,
.mr-sw li,
.mr-sw button,
.mr-sw h6,
.mr-sugg,
.mr-sugg div,
.mr-sugg span,
.mr-sugg a,
.mr-sugg p,
.mr-sugg b,
.mr-sugg strong,
.mr-sugg small,
.mr-sugg li,
.mr-sugg button,
.mr-sugg h6,
.mr-trends,
.mr-trends div,
.mr-trends span,
.mr-trends a,
.mr-trends p,
.mr-trends b,
.mr-trends strong,
.mr-trends small,
.mr-trends li,
.mr-trends button,
.mr-trends h6 {
	font-family: var(--sw-font) !important;
	letter-spacing: normal !important;
}

/* ── tytul ─────────────────────────────────────────────────────────── */
html body .mr-sw .side_widget_title,
html body .mr-sugg .side_widget_title,
html body .mr-trends .side_widget_title {
	padding: 12px 16px !important;
	color: var(--sw-text) !important;
	font-size: 20px !important;
	line-height: 24px !important;
	font-weight: 700 !important;
	text-transform: none !important;
}

/* kontenery z kordian: bez wlasnych odstepow, tla i ramek */
html body .mr-sw .side_item_list44 {
	padding: 0 !important;
}
html body .mr-sw .topviews-wrap,
html body .mr-sw .topviews-list,
html body .mr-sw .social-wrap,
html body .mr-sw .top10-wrapper,
html body .mr-sw .topreactions-wrapper,
html body .mr-sw .topfollowers-wrapper {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	gap: 0 !important;
	border-radius: 0 !important;
}

/* ── zakladki: male pastylki ───────────────────────────────────────── */
html body .mr-sw .topviews-tabs,
html body .mr-sw .top10-tabs,
html body .mr-sw .topreactions-tabs,
html body .mr-sw .topfollowers-tabs,
html body .mr-sw .rcw-tabs {
	display: flex !important;
	gap: 6px !important;
	padding: 0 16px 8px !important;
	background: transparent !important;
	border: 0 !important;
	overflow-x: auto;
	scrollbar-width: none;
}
html body .mr-sw .topviews-tabs::-webkit-scrollbar,
html body .mr-sw .top10-tabs::-webkit-scrollbar,
html body .mr-sw .topreactions-tabs::-webkit-scrollbar,
html body .mr-sw .topfollowers-tabs::-webkit-scrollbar,
html body .mr-sw .rcw-tabs::-webkit-scrollbar {
	display: none;
}
html body .mr-sw .topviews-tab,
html body .mr-sw .top10-tab,
html body .mr-sw .topreactions-tab,
html body .mr-sw .topfollowers-tab,
html body .mr-sw .rcw-tab {
	flex: 0 0 auto !important;
	height: 30px;
	padding: 0 12px !important;
	border: 1px solid var(--sw-line) !important;
	border-radius: 9999px !important;
	background: transparent !important;
	color: var(--sw-text) !important;
	font-size: 13px !important;
	line-height: 28px !important;
	font-weight: 600 !important;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
html body .mr-sw .topviews-tab:hover,
html body .mr-sw .top10-tab:hover,
html body .mr-sw .topreactions-tab:hover,
html body .mr-sw .topfollowers-tab:hover,
html body .mr-sw .rcw-tab:hover {
	background: var(--sw-chip) !important;
	color: var(--sw-text) !important;
}
html body .mr-sw .topviews-tab.active,
html body .mr-sw .topviews-tab.rcw-tab-active,
html body .mr-sw .top10-tab.active,
html body .mr-sw .top10-tab.rcw-tab-active,
html body .mr-sw .topreactions-tab.active,
html body .mr-sw .topreactions-tab.rcw-tab-active,
html body .mr-sw .topfollowers-tab.active,
html body .mr-sw .topfollowers-tab.rcw-tab-active,
html body .mr-sw .rcw-tab.active,
html body .mr-sw .rcw-tab.rcw-tab-active {
	background: var(--sw-chip-on) !important;
	border-color: var(--sw-chip-on) !important;
	color: var(--sw-chip-on-text) !important;
}
html body .mr-sw .topviews-tab i {
	display: none !important;
}

/* "Zobacz więcej" jak "Pokaż więcej" na X */
html body .mr-sw .topviews-show-more,
html body .mr-sw .show-more-btn {
	display: flex !important;
	justify-content: flex-start !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--sw-link) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
}
html body .mr-sw .topviews-show-more *,
html body .mr-sw .show-more-btn * {
	color: inherit !important;
	background: transparent !important;
	font: inherit !important;
}
html body .mr-sw .topviews-show-more:hover,
html body .mr-sw .show-more-btn:hover {
	background: var(--sw-hover) !important;
}
html body .mr-sw .topviews-show-more i,
html body .mr-sw .show-more-btn i {
	display: none !important;
}

/* ── 1. Polecane wątki ─────────────────────────────────────────────── */
html body .mr-sw-tv .mrsw-tv-item {
	display: block !important;
	position: relative !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .15s ease;
}
html body .mr-sw-tv .mrsw-tv-item.hidden {
	display: none !important;
}
html body .mr-sw-tv .mrsw-tv-item:hover {
	background: var(--sw-hover) !important;
}
html body .mr-sw-tv .mrsw-tv-item::before,
html body .mr-sw-tv .mrsw-tv-item::after {
	display: none !important;
}
.mrsw-tv-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.mrsw-tv-body {
	flex: 1 1 auto;
	min-width: 0;
}
.mrsw-tv-top {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	color: var(--sw-dim);
	font-size: 13px;
	line-height: 16px;
	white-space: nowrap;
}
.mrsw-tv-top > i {
	font-style: normal;
}
.mrsw-tv-n {
	font-variant-numeric: tabular-nums;
}
.mrsw-tv-av {
	width: 16px !important;
	height: 16px !important;
	border-radius: 50% !important;
	object-fit: cover;
	flex: 0 0 16px;
}
html body .mr-sw-tv .mrsw-tv-au {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--sw-dim) !important;
	text-decoration: none !important;
}
html body .mr-sw-tv a.mrsw-tv-au:hover {
	text-decoration: underline !important;
}
html body .mr-sw-tv .mrsw-tv-title {
	margin: 2px 0 0;
	color: var(--sw-text) !important;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mrsw-tv-stat {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	color: var(--sw-dim);
	font-size: 13px;
	line-height: 16px;
}
.mrsw-tv-stat svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex: 0 0 14px;
}
.mrsw-tv-thumb {
	flex: 0 0 68px;
	width: 68px !important;
	height: 68px !important;
	border-radius: 12px !important;
	object-fit: cover;
	border: 1px solid var(--sw-line);
}

/* ── 2. Aktywność ekipy: os czasu ──────────────────────────────────── */
html body .mr-sw-tl #followed-likes-content {
	max-height: 520px !important;
	padding-bottom: 4px;
	scrollbar-width: none;
}
html body .mr-sw-tl #followed-likes-content::-webkit-scrollbar {
	display: none;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-e.mrsw-tl-e {
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
/* linia osi czasu: przez srodek awatarow (16 px odstepu + 16 px polowa) */
html body .mr-sw-tl .mrsw-tl-e::before {
	content: '';
	position: absolute;
	left: 31px;
	top: 0;
	bottom: 0;
	width: 2px;
	border-radius: 1px;
	background: var(--sw-line);
	pointer-events: none;
	z-index: 0;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-first::before {
	top: 26px;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-lab.mrsw-tl-first::before {
	top: 52px;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-last::before {
	bottom: auto;
	height: 26px;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-lab.mrsw-tl-last::before {
	height: 52px;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-first.mrsw-tl-last::before {
	display: none;
}
/* podzial czasu */
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-e.mrsw-tl-e.mrsw-tl-lab {
	padding-top: 26px !important;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-tl-lab::after {
	content: attr(data-mrsw-label);
	position: absolute;
	top: 8px;
	left: 60px;
	color: var(--sw-dim);
	font-size: 13px;
	line-height: 16px;
	font-weight: 700;
	pointer-events: none;
}
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: background-color .15s ease;
}
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row:hover {
	background: var(--sw-hover) !important;
}
/* wpis bez grupy: ten sam element jest wierszem i wpisem */
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-lab {
	padding-top: 36px !important;
}
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-lab:hover {
	background: transparent !important;
}
html body .mr-sw-tl .mrsw-tl-node {
	position: relative;
	flex: 0 0 32px !important;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
}
html body .mr-sw-tl img.mrsw-tl-av {
	display: block;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	object-fit: cover;
	box-shadow: 0 0 0 3px var(--sw-bg);
}
html body .mr-sw-tl .mrsw-tl-e.my img.mrsw-tl-av {
	box-shadow: 0 0 0 3px var(--sw-bg), 0 0 0 5px var(--sw-blue);
}
/* znaczek rodzaju akcji na awatarze schowany (minimalizm), licznik grupy mniejszy */
html body .mr-sw-tl .mrsw-tl-node .sc-type-badge {
	display: none !important;
}
html body .mr-sw-tl .mrsw-tl-node .sc-count-badge {
	top: -5px !important;
	right: -6px !important;
	min-width: 16px !important;
	height: 16px !important;
	line-height: 12px !important;
	font-size: 9px !important;
	border-color: var(--sw-bg) !important;
}
html body .mr-sw-tl .mrsw-tl-row > :not(.mrsw-tl-node):not(:last-child),
html body .mr-sw-tl .mrsw-tl-row > :nth-child(2) {
	flex: 1 1 auto;
	min-width: 0;
}
html body .mr-sw-tl .sc-name {
	color: var(--sw-text) !important;
	font-size: 15px !important;
	line-height: 20px !important;
	font-weight: 700 !important;
}
html body .mr-sw-tl .sc-action,
html body .mr-sw-tl .sc-time {
	color: var(--sw-dim) !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 400 !important;
}
html body .mr-sw-tl .sc-content {
	color: var(--sw-text) !important;
	font-size: 14px !important;
	line-height: 19px !important;
	opacity: .92;
}
html body .mr-sw-tl img.mrsw-tl-thumb {
	width: 48px !important;
	height: 48px !important;
	border-radius: 10px !important;
	object-fit: cover;
	border: 1px solid var(--sw-line);
}
/* ikonki w kolkach po prawej: bez tla (minimalizm) */
html body .mr-sw-tl .sc-icon-circle,
html body .mr-sw-tl .sc-chevron {
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--sw-dim) !important;
	border-radius: 50% !important;
}
html body .mr-sw-tl .sc-icon-circle {
	display: none !important;
}
html body .mr-sw-tl .sc-chevron:hover {
	background: rgba(0, 83, 203, .1) !important;
	color: var(--sw-blue) !important;
}
html body .mr-sw-tl .sc-icon-circle i,
html body .mr-sw-tl .sc-chevron i {
	color: inherit !important;
	font-size: 13px !important;
}
/* rozwiniete grupy (sc-sub): kropka z ikonka siedzi na tej samej linii */
html body .mr-sw-tl .sc-group-inner::before {
	display: none !important;
}
html body .mr-sw-tl .mrsw-tl-e .sc-group-items,
html body .mr-sw-tl .mrsw-tl-e .sc-group-inner {
	background: transparent !important;
}
html body .mr-sw-tl .sc-group-items .sc-item.sc-sub {
	position: relative;
	z-index: 1;
	gap: 12px !important;
	padding: 6px 16px 6px 10px !important;
	background: transparent !important;
	border: 0 !important;
}
html body .mr-sw-tl .sc-group-items .sc-item.sc-sub:hover {
	background: var(--sw-hover) !important;
}
html body .mr-sw-tl .sc-sub-dot i {
	background: var(--sw-bg) !important;
	box-shadow: 0 0 0 2px var(--sw-ring) !important;
	color: var(--sw-dim) !important;
}
/* stary pasek "moje" z lewej - na osi czasu zastapiony obwodka awatara */
html body .mr-sw-tl .sc-item.my:not(.mrsw-tl-e)::before {
	display: none !important;
}
html body .mr-sw-tl .sc-group-summary,
html body .mr-sw-tl .sc-group-preview {
	color: var(--sw-dim) !important;
}

/* ── 3. Rankingi ───────────────────────────────────────────────────── */
html body .mr-sw-rank .mrsw-rk-row {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 10px 16px !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: background-color .15s ease;
}
html body .mr-sw-rank .mrsw-rk-row.hidden {
	display: none !important;
}
html body .mr-sw-rank .mrsw-rk-row:hover {
	background: var(--sw-hover) !important;
}
html body .mr-sw-rank .mrsw-rk-n {
	flex: 0 0 18px !important;
	width: 18px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--sw-dim) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	text-align: left !important;
	font-variant-numeric: tabular-nums;
}
html body .mr-sw-rank .mrsw-rk-n.mrsw-rk-top {
	color: var(--sw-text) !important;
	font-weight: 700 !important;
}
html body .mr-sw-rank img.mrsw-rk-av {
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	object-fit: cover;
	border: 0 !important;
}
html body .mr-sw-rank .top10-name,
html body .mr-sw-rank .topreactions-name,
html body .mr-sw-rank .topfollowers-name,
html body .mr-sw-rank .top10-name a,
html body .mr-sw-rank .topreactions-name a,
html body .mr-sw-rank .topfollowers-name a {
	color: var(--sw-text) !important;
	font-size: 15px !important;
	line-height: 20px !important;
	font-weight: 700 !important;
}
html body .mr-sw-rank .mrsw-rk-count {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin-left: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--sw-dim) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
}
html body .mr-sw-rank .mrsw-rk-count i,
html body .mr-sw-rank .mrsw-rk-count svg {
	color: inherit !important;
	font-size: 12px !important;
}

/* ── 4. Społeczności dla Ciebie (mr-communities.js) ────────────────── */
html body .mr-sugg .mr-sugg-row {
	gap: 12px;
	padding: 12px 16px;
}
html body .mr-sugg .mr-sugg-row:hover {
	background: var(--sw-hover);
}
html body .mr-sugg .mr-sugg-link {
	gap: 12px;
}
html body .mr-sugg .mr-sugg-pic {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	font-size: 16px;
}
html body .mr-sugg .mr-sugg-name {
	color: var(--sw-text);
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
}
html body .mr-sugg .mr-sugg-meta {
	margin-top: 1px;
	color: var(--sw-dim);
	font-size: 13px;
	line-height: 16px;
}
html body .mr-sugg .mr-sugg-faces img {
	border-color: var(--sw-bg);
}
/* przycisk jak "Obserwuj" na X */
html body .mr-sugg .mr-sugg-join {
	height: 32px;
	padding: 0 16px;
	background: var(--sw-chip-on);
	color: var(--sw-chip-on-text);
	font-size: 14px;
	font-weight: 700;
	transition: opacity .15s ease;
}
html body .mr-sugg .mr-sugg-join:hover {
	background: var(--sw-chip-on);
	color: var(--sw-chip-on-text);
	opacity: .88;
}
html body .mr-sugg .mr-sugg-join.is-member {
	background: transparent;
	color: var(--sw-text);
	border: 1px solid var(--sw-ring);
}
html body .mr-sugg a.mr-sugg-more,
html body .mr-sugg a.mr-sugg-more:hover {
	padding: 14px 16px;
	color: var(--sw-link) !important;
	font-size: 15px;
	line-height: 20px;
}
html body .mr-sugg a.mr-sugg-more:hover {
	background: var(--sw-hover);
}
/* bez cienia tekstu na wypelnionych przyciskach (jasny motyw) */
html body .mr-sw .active,
html body .mr-sw .rcw-tab-active,
html body .mr-sw .mr-sugg-join,
html body .mr-sugg .active,
html body .mr-sugg .rcw-tab-active,
html body .mr-sugg .mr-sugg-join {
	text-shadow: none !important;
}

/* ── 5. Ostatnie komentarze (kordian/ostatnie_komentarze.php, cms-*) ── */
html body .mr-sw-cm #rcw-container {
	max-height: 520px !important;
	scrollbar-width: none;
}
html body .mr-sw-cm #rcw-container::-webkit-scrollbar {
	display: none;
}
html body .mr-sw-cm .cms-wrap {
	background: transparent !important;
}
html body .mr-sw-cm .cms-group,
html body .mr-sw-cm .cms-item {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
html body .mr-sw-cm .cms-item {
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 12px 16px !important;
	transition: background-color .15s ease;
}
html body .mr-sw-cm .cms-item:hover {
	background: var(--sw-hover) !important;
}
html body .mr-sw-cm .cms-avatar-wrap,
html body .mr-sw-cm img.cms-avatar {
	width: 40px !important;
	height: 40px !important;
	flex: 0 0 40px !important;
}
html body .mr-sw-cm .cms-type-badge {
	display: none !important;
}
html body .mr-sw-cm .cms-count-badge {
	top: -4px !important;
	right: -5px !important;
	min-width: 16px !important;
	height: 16px !important;
	line-height: 12px !important;
	font-size: 9px !important;
	border-color: var(--sw-bg) !important;
}
html body .mr-sw-cm .cms-top {
	align-items: baseline !important;
	gap: 4px;
}
html body .mr-sw-cm .cms-name {
	color: var(--sw-text) !important;
	font-size: 15px !important;
	line-height: 20px !important;
	font-weight: 700 !important;
}
html body .mr-sw-cm .cms-time,
html body .mr-sw-cm .cms-group-summary {
	color: var(--sw-dim) !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 400 !important;
}
/* serduszka i "odpowiedz do" jako zwykly szary tekst, bez pastylek */
html body .mr-sw-cm .cms-reactions,
html body .mr-sw-cm .cms-reply {
	margin-left: 4px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--sw-dim) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}
html body .mr-sw-cm .cms-reactions i {
	color: #f91880 !important;
	font-size: 11px !important;
}
html body .mr-sw-cm .cms-reply i {
	color: inherit !important;
}
html body .mr-sw-cm .cms-reply-name {
	color: var(--sw-link) !important;
}
html body .mr-sw-cm .cms-txt,
html body .mr-sw-cm .cms-txt a {
	color: var(--sw-text) !important;
	font-size: 15px !important;
	line-height: 20px !important;
}
html body .mr-sw-cm .cms-group-preview {
	color: var(--sw-dim) !important;
	font-size: 14px !important;
}
html body .mr-sw-cm img.cms-thumb {
	width: 48px !important;
	height: 48px !important;
	border-radius: 10px !important;
	border: 1px solid var(--sw-line);
}
/* strzalka "przejdz do posta": bez tla, widoczna po najechaniu */
html body .mr-sw-cm .cms-icon,
html body .mr-sw-cm .cms-chevron {
	width: 28px !important;
	height: 28px !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--sw-dim) !important;
}
html body .mr-sw-cm .cms-icon i,
html body .mr-sw-cm .cms-chevron i {
	color: inherit !important;
}
html body .mr-sw-cm .cms-go {
	opacity: 0;
	transition: opacity .15s ease;
}
html body .mr-sw-cm .cms-item:hover .cms-go {
	opacity: 1;
}
html body .mr-sw-cm .cms-icon:hover,
html body .mr-sw-cm .cms-chevron:hover,
html body .mr-sw-cm .cms-group.open .cms-chevron {
	background: rgba(0, 83, 203, .1) !important;
	color: var(--sw-blue) !important;
}
/* odpowiedzi w grupie: kropki pod awatarem, cienka linia jak watek na X */
html body .mr-sw-cm .cms-group-inner::before {
	left: 35px !important;
	background: var(--sw-line) !important;
}
html body .mr-sw-cm .cms-item.cms-sub {
	padding: 8px 16px 8px 14px !important;
}
html body .mr-sw-cm .cms-sub-dot i {
	background: var(--sw-bg) !important;
	box-shadow: 0 0 0 2px var(--sw-ring) !important;
	color: var(--sw-dim) !important;
}

/* ── 6. Postaw kawke ───────────────────────────────────────────────── */
html body .mr-sw-coffee .mr-coffee-widget {
	max-width: none;
	margin: 0;
}
html body .mr-sw-coffee .mr-coffee-options {
	gap: 8px;
	padding: 0 16px 16px;
	border: 0 !important;
	border-radius: 0;
}
html body .mr-sw-coffee .mr-coffee-option {
	flex-direction: row;
	gap: 6px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--sw-ring) !important;
	border-radius: 9999px;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--sw-text) !important;
}
html body .mr-sw-coffee .mr-coffee-option:last-child {
	border-right: 1px solid var(--sw-ring) !important;
}
html body .mr-sw-coffee .mr-coffee-option:hover {
	background: rgba(0, 83, 203, .1) !important;
	border-color: var(--sw-blue) !important;
	color: var(--sw-text) !important;
}
html body .mr-sw-coffee .mr-coffee-option img {
	width: 20px;
	height: 20px;
}
html body .mr-sw-coffee .mr-coffee-option span {
	margin: 0;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
}

/* ── 7. Co się dzieje ──────────────────────────────────────────────── */
html body .mr-trends .mr-trends-empty {
	padding: 0 16px 12px;
	color: var(--sw-dim);
	font-size: 15px;
	line-height: 20px;
}
html body .mr-trends .mr-trend-label {
	color: var(--sw-text);
}
html body .mr-trends .mr-trend-top,
html body .mr-trends .mr-trend-count {
	color: var(--sw-dim);
}
html body .mr-trends a.mr-trend-more,
html body .mr-trends a.mr-trend-more:hover {
	padding: 14px 16px;
	color: var(--sw-link) !important;
	font-size: 15px;
	line-height: 20px;
}
html body .mr-trends a.mr-trend-more:hover,
html body .mr-trends a.mr-trend:hover {
	background: var(--sw-hover);
}
/* naglowek grupy komentarzy w jednej linii: nick, podsumowanie (ucinane), czas */
html body .mr-sw-cm .cms-group-head .cms-top {
	flex-wrap: nowrap !important;
	min-width: 0;
}
html body .mr-sw-cm .cms-group-head .cms-group-summary {
	flex: 0 1 auto !important;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html body .mr-sw-cm .cms-group-head .cms-name,
html body .mr-sw-cm .cms-group-head .cms-time,
html body .mr-sw-cm .cms-group-head .cms-reactions {
	flex: 0 0 auto;
	white-space: nowrap;
}
html body .mr-sw-cm .cms-group-items,
html body .mr-sw-cm .cms-group-inner {
	background: transparent !important;
}

/* ── 2b. Aktywność ekipy: szybkie akcje jak w powiadomieniach X ──────
   Pasek ikon pod kazdym wpisem: Odpowiedz, Lubię, Otwórz (mr-side-x.js).
   "Odpowiedz" otwiera pole pisania w panelu - Enter wysyla, Esc zamyka. */
html body .mr-sw-tl .mrsw-act {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 4px 0 -4px -8px;
}
html body .mr-sw-tl .mrsw-act-b {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--sw-dim) !important;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color .15s ease, color .15s ease;
}
html body .mr-sw-tl .mrsw-act-b svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}
/* podpis tylko dla czytnikow ekranu - na ekranie same ikonki jak na X */
html body .mr-sw-tl .mrsw-act-b span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
html body .mr-sw-tl .mrsw-act-reply:hover,
html body .mr-sw-tl .mrsw-act-open:hover,
html body .mr-sw-tl .mrsw-act-reply.is-on {
	background: rgba(0, 83, 203, .12);
	color: var(--sw-link) !important;
}
html body .mr-sw-tl .mrsw-act-like:hover {
	background: rgba(249, 24, 128, .1);
	color: #f91880 !important;
}
html body .mr-sw-tl .mrsw-act-like.is-on {
	color: #f91880 !important;
}
html body .mr-sw-tl .mrsw-act-like.is-on svg {
	animation: mrsw-pop .3s ease;
}
@keyframes mrsw-pop {
	40% { transform: scale(1.3); }
}
html body .mr-sw-tl .mrsw-act-b:focus-visible {
	outline: 2px solid var(--sw-blue);
	outline-offset: 1px;
}

/* pole odpowiedzi w panelu */
html body .mr-sw-tl .mrsw-cmp {
	margin: 8px 0 2px;
	padding: 8px 10px;
	border: 1px solid var(--sw-ring);
	border-radius: 16px;
	background: var(--sw-bg);
	transition: border-color .15s ease;
}
html body .mr-sw-tl .mrsw-cmp:focus-within {
	border-color: var(--sw-blue);
}
html body .mr-sw-tl .mrsw-cmp textarea {
	display: block;
	width: 100%;
	min-height: 20px;
	max-height: 140px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	resize: none;
	background: transparent;
	color: var(--sw-text);
	font: 15px/20px var(--sw-font);
	box-shadow: none;
}
html body .mr-sw-tl .mrsw-cmp textarea::placeholder {
	color: var(--sw-dim);
	opacity: 1;
}
html body .mr-sw-tl .mrsw-cmp-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
}
html body .mr-sw-tl .mrsw-cmp-hint {
	color: var(--sw-dim);
	font-size: 12px;
	line-height: 16px;
}
html body .mr-sw-tl .mrsw-cmp-send {
	-webkit-appearance: none;
	appearance: none;
	height: 30px;
	padding: 0 14px;
	border: 0;
	border-radius: 9999px;
	background: var(--sw-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
html body .mr-sw-tl .mrsw-cmp-send:disabled {
	opacity: .5;
	cursor: default;
}
html body .mr-sw-tl .mrsw-cmp.is-busy .mrsw-cmp-send {
	opacity: .7;
	cursor: progress;
}
/* potwierdzenie wyslania */
html body .mr-sw-tl .mrsw-sent {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 2px;
	color: #00ba7c;
	font-size: 13px;
	line-height: 16px;
	font-weight: 700;
	animation: mrsw-in .2s ease;
}
html body .mr-sw-tl .mrsw-sent svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
html body .mr-sw-tl .mrsw-sent a {
	margin-left: 4px;
	color: var(--sw-link) !important;
	font-weight: 400;
}
@keyframes mrsw-in {
	from { opacity: 0; transform: translateY(-3px); }
}
html body .mr-sw-tl .mrsw-cmp-hint {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html body .mr-sw-tl .mrsw-cmp-send {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* ── 2a. Aktywność ekipy: znacznik "nowe" ────────────────────────────
   Nowe od ostatniej wizyty: lekko niebieskie tlo + kropka przy awatarze,
   przy tytule licznik "3 nowe" (po obejrzeniu panelu gasnie). */
html body .mr-sw-tl .mrsw-tl-e.mrsw-new > .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row,
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-new {
	background: rgba(0, 83, 203, .08) !important;
}
html body .mr-sw-tl .mrsw-tl-e.mrsw-new > .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row:hover,
html body .mr-sw-tl .mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-tl-row.mrsw-new:hover {
	background: rgba(0, 83, 203, .12) !important;
}
html body .mr-sw-tl .mrsw-new .mrsw-tl-node::after {
	content: '';
	position: absolute;
	left: -12px;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sw-blue);
	box-shadow: 0 0 0 2px var(--sw-bg);
}
html body .mr-sw-tl .side_widget_title {
	display: flex !important;
	align-items: center;
	gap: 10px;
}
html body .mr-sw-tl .mrsw-new-count {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	height: 22px;
	padding: 0 8px;
	border: 0;
	border-radius: 9999px;
	background: var(--sw-blue);
	color: #fff;
	font: 700 12px/22px var(--sw-font);
	cursor: pointer;
	transition: opacity .6s ease .8s;
}
html body .mr-sw-tl .mrsw-new-count.is-seen {
	opacity: 0;
	pointer-events: none;
}

/* Emotki w panelach (aktywnosc ekipy, polecane watki, komentarze) zawsze
   w rozmiarze tekstu, jak w postach - takze gdyby ktoras dostala klase
   miniatury zdjecia (48 px) */
html body .mr-sw img.mr-emoji,
html body .mr-sw img.mr-emoji.mrsw-tl-thumb,
html body .mr-sw-tl img.mr-emoji.mrsw-tl-thumb {
	display: inline-block !important;
	width: 1.2em !important;
	height: 1.2em !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 .05em 0 .1em !important;
	vertical-align: -.2em !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: contain !important;
}
