/* Vice topic feed 2026 (MessageIndex ;vxl=kart|kompakt): Reddit-like cards and a dense modern list.
   Tokens come from vice-board-icons-2026.css (--vbi-*). #topic_container is doubled for specificity over
   the white / inner-city row grids, which use !important. */
body.vice-white-2026 { --vxr-copy: var(--vi-copy, var(--vw-text, #34445c)); }

/* Sort bar replaces the four column headers. */
html:root body.vice-white-2026 #messageindex.vxl #topic_header#topic_header {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	min-height: 0 !important;
	margin: 0 0 10px !important;
	padding: 10px 14px !important;
	border: 1px solid var(--vbi-line) !important;
	border-radius: var(--vbi-radius) !important;
	background: var(--vbi-soft) !important;
	font-size: 12px !important;
}
html:root body.vice-white-2026 #messageindex.vxl .vxl-sort__label { color: var(--vbi-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em !important; font-size: 10px; }
html:root body.vice-white-2026 #messageindex.vxl a.vxl-sort__item { padding: 3px 10px; border-radius: 999px; color: var(--vbi-ink) !important; font-weight: 600; text-decoration: none; }
html:root body.vice-white-2026 #messageindex.vxl a.vxl-sort__item:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #messageindex.vxl a.vxl-sort__item.is-active { background: var(--vbi-teal); color: var(--vbi-paper) !important; }
html:root body.vice-white-2026 #messageindex.vxl a.vxl-sort__item i { font-size: 10px; }
html:root body.vice-white-2026 #messageindex.vxl .vxl-sort__all { margin-left: auto; color: var(--vbi-muted); }

/* Shared row skeleton. */
html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: none !important;
	border: 0 !important;
}
html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr {
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr) auto auto !important;
	column-gap: 14px !important;
	align-items: start !important;
	width: 100%;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 16px 18px !important;
	border: 1px solid var(--vbi-line) !important;
	border-radius: var(--vbi-radius) !important;
	background: var(--vbi-paper) !important;
	box-shadow: none !important;
	transform: none !important;
	transition: border-color .15s, background-color .15s;
}
html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr:hover {
	border-color: color-mix(in srgb, var(--vbi-teal) 45%, var(--vbi-line)) !important;
	background: var(--vbi-paper) !important;
}
html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr.sticky { border-left: 3px solid var(--vbi-gold) !important; }
html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr > .moderation { grid-column: 4; align-self: center; padding: 0 !important; }
body.vice-white-2026 #messageindex.vxl .vxr__state { grid-column: 1; padding-top: 2px; }
body.vice-white-2026 #messageindex.vxl .vxr__main { grid-column: 2; min-width: 0; }

/* Meta line. */
body.vice-white-2026 #messageindex.vxl .vxr__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 7px;
	color: var(--vbi-muted);
	font-size: 12px;
	line-height: 1.4;
}
body.vice-white-2026 #messageindex.vxl .vxr__meta a { color: var(--vbi-ink) !important; font-weight: 600; }
body.vice-white-2026 #messageindex.vxl .vxr__dot { opacity: .6; }
body.vice-white-2026 .vxr__av {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 22px;
	height: 22px;
	overflow: hidden;
	border-radius: 50%;
	background: color-mix(in srgb, var(--vbi-teal) 18%, var(--vbi-paper));
	color: var(--vbi-teal);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}
body.vice-white-2026 .vxr__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.vice-white-2026 .vxr__av--sm { width: 18px; height: 18px; font-size: 9px; }
body.vice-white-2026 #messageindex.vxl .vxr__tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.6;
}
body.vice-white-2026 #messageindex.vxl .vxr__tag--sticky { color: var(--vbi-gold); background: color-mix(in srgb, var(--vbi-gold) 13%, var(--vbi-paper)); }
body.vice-white-2026 #messageindex.vxl .vxr__tag--locked { color: var(--vbi-ink); background: var(--vbi-soft); }
body.vice-white-2026 #messageindex.vxl .vxr__tag--poll { color: var(--vbi-teal); background: color-mix(in srgb, var(--vbi-teal) 12%, var(--vbi-paper)); }
body.vice-white-2026 #messageindex.vxl .vxr__edit {
	width: 24px !important;
	height: 24px !important;
	margin-left: auto;
	font-size: 10px;
	opacity: 0;
	transition: opacity .15s;
}
body.vice-white-2026 #messageindex.vxl .vxr:hover .vxr__edit,
body.vice-white-2026 #messageindex.vxl .vxr__edit:focus-visible { opacity: 1; }

/* Title, excerpt. */
body.vice-white-2026 #messageindex.vxl .vxr__title {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	color: var(--vbi-ink) !important;
	font: 700 17px/1.35 Arial, system-ui, sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	overflow-wrap: anywhere;
	background: none !important;
	border: 0 !important;
}
body.vice-white-2026 #messageindex.vxl .vxr__title a { color: var(--vbi-ink) !important; text-decoration: none; }
body.vice-white-2026 #messageindex.vxl .vxr__title a:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #messageindex.vxl .vxr__new {
	display: inline-block;
	margin: 0 4px 0 0 !important;
	padding: 1px 6px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--vbi-teal) !important;
	color: var(--vbi-paper) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.6 !important;
	text-transform: uppercase;
	vertical-align: 3px;
}
body.vice-white-2026 #messageindex.vxl .vxr__pending { color: var(--vbi-gold); font-size: 12px; font-weight: 600; }
body.vice-white-2026 #messageindex.vxl .vxr__excerpt {
	display: -webkit-box;
	margin: 6px 0 0 !important;
	overflow: hidden;
	color: var(--vxr-copy) !important;
	font-size: 13.5px;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Footer chips. */
body.vice-white-2026 #messageindex.vxl .vxr__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}
body.vice-white-2026 #messageindex.vxl .vxr__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--vbi-soft);
	color: var(--vbi-muted) !important;
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none !important;
	white-space: nowrap;
}
body.vice-white-2026 #messageindex.vxl .vxr__chip b { color: var(--vbi-ink); font-weight: 700; }
body.vice-white-2026 #messageindex.vxl a.vxr__chip:hover { color: var(--vbi-teal) !important; background: color-mix(in srgb, var(--vbi-teal) 10%, var(--vbi-paper)); }
body.vice-white-2026 #messageindex.vxl .vxr__chip i { font-size: 11px; }
body.vice-white-2026 #messageindex.vxl .vxr__pages { display: inline-flex; flex-wrap: wrap; gap: 2px; margin: 0 !important; float: none !important; font-size: 11px; color: var(--vbi-muted); }
body.vice-white-2026 #messageindex.vxl .vxr__last {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	color: var(--vbi-muted) !important;
	font-size: 12px;
	text-decoration: none !important;
	white-space: nowrap;
}
body.vice-white-2026 #messageindex.vxl .vxr__last b { color: var(--vbi-ink); font-weight: 600; }
body.vice-white-2026 #messageindex.vxl .vxr__last:hover b { color: var(--vbi-teal); }

/* Thumbnail (first [img] of the opening post). */
body.vice-white-2026 #messageindex.vxl .vxr__thumb {
	grid-column: 3;
	display: block;
	width: 148px;
	height: 98px;
	overflow: hidden;
	border: 1px solid var(--vbi-line);
	border-radius: var(--vbi-radius);
	background: var(--vbi-soft);
}
body.vice-white-2026 #messageindex.vxl .vxr__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
body.vice-white-2026 #messageindex.vxl .vxr:hover .vxr__thumb img { transform: scale(1.04); }

/* ---- Kompakt: one panel, dense rows, no excerpt / thumbnail. ---- */
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container {
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--vbi-line) !important;
	border-radius: var(--vbi-radius);
	background: var(--vbi-paper) !important;
}
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container > .vxr {
	grid-template-columns: 30px minmax(0, 1fr) auto !important;
	align-items: center !important;
	padding: 11px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--vbi-line) !important;
	border-radius: 0 !important;
}
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container > .vxr:last-child { border-bottom: 0 !important; }
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container > .vxr:hover { background: var(--vbi-soft) !important; }
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container > .vxr.sticky { border-left: 3px solid var(--vbi-gold) !important; padding-left: 13px !important; }
html:root body.vice-white-2026 #messageindex.vxl--kompakt #topic_container#topic_container > .vxr > .moderation { grid-column: 3; }
body.vice-white-2026 #messageindex.vxl--kompakt .vbi:not(.vbi--sm) { width: 30px; height: 30px; font-size: 13px; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__state { padding-top: 0; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "title foot" "meta foot";
	column-gap: 18px;
	align-items: center;
}
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__title { grid-area: title; margin: 0 !important; font-size: 15px !important; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__meta { grid-area: meta; margin-top: 3px; font-size: 11.5px; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__meta .vxr__av { width: 16px; height: 16px; font-size: 8px; }
body.vice-white-2026 #messageindex.vxl--kompakt :is(.vxr__excerpt,.vxr__thumb,.vxr__pages) { display: none !important; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__foot { grid-area: foot; flex-wrap: nowrap; gap: 6px; margin: 0; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip { padding: 3px 8px; background: transparent; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip { font-size: 0; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip :is(i,b) { font-size: 12.5px; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip { min-width: 62px; justify-content: flex-end; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__last { width: 190px; margin-left: 10px; overflow: hidden; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__last > span { overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 760px) {
	html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr {
		grid-template-columns: 30px minmax(0, 1fr) auto !important;
		column-gap: 11px !important;
		padding: 13px 13px !important;
	}
	html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr > .moderation { display: none !important; }
	body.vice-white-2026 #messageindex.vxl .vbi:not(.vbi--sm) { width: 30px; height: 30px; font-size: 13px; }
	body.vice-white-2026 #messageindex.vxl .vxr__title { font-size: 15.5px !important; }
	html:root body.vice-white-2026 #messageindex.vxl #topic_container#topic_container > .vxr { position: relative; }
	body.vice-white-2026 #messageindex.vxl .vxr__thumb { position: absolute; top: 13px; right: 13px; width: 74px; height: 58px; }
	body.vice-white-2026 #messageindex.vxl .vxr.has-thumb :is(.vxr__meta,.vxr__title) { padding-right: 84px !important; }
	body.vice-white-2026 #messageindex.vxl .vxr__chip { padding: 3px 9px; font-size: 0; }
	body.vice-white-2026 #messageindex.vxl .vxr__chip :is(i,b) { font-size: 12px; }
	body.vice-white-2026 #messageindex.vxl .vxr__foot { gap: 6px; }
	body.vice-white-2026 #messageindex.vxl .vxr__last { flex-basis: 100%; margin-left: 0; }
	body.vice-white-2026 #messageindex.vxl--kompakt .vxr__main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "meta" "foot"; }
	body.vice-white-2026 #messageindex.vxl--kompakt .vxr__foot { flex-wrap: wrap; margin-top: 6px; }
	body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip { padding-left: 0; }
	body.vice-white-2026 #messageindex.vxl--kompakt .vxr__last { flex-basis: auto; width: auto; min-width: 0; margin-left: auto; }
	body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip { min-width: 0; }
	html:root body.vice-white-2026 #messageindex.vxl .vxl-sort__all { margin-left: 0; }
}

/* Colour lock: light mode has a high-specificity blue link rule on board rows (#1876cf). */
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__title a { color: var(--vbi-ink) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__title a:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__title a.vxr__new { color: var(--vbi-paper) !important; background: var(--vbi-teal) !important; opacity: 1 !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__meta a { color: var(--vbi-ink) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__pages a { color: var(--vbi-teal) !important; }html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header a.vxl-sort__item { color: var(--vbi-ink) !important; text-transform: none !important; font-size: 12px !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header a.vxl-sort__item:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header a.vxl-sort__item.is-active { color: var(--vbi-paper) !important; background: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container :is(a.vxr__chip,a.vxr__last) { color: var(--vbi-muted) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container :is(a.vxr__chip,a.vxr__last):hover { color: var(--vbi-teal) !important; }
/* ---- Round 4: Şehirde yeni / Şehirde son (Recent.template.php) ---- */
body.vice-white-2026 #messageindex.vxl .vxr__board {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 4px;
	padding: 1px 8px;
	border: 1px solid var(--vbi-line);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}
body.vice-white-2026 #messageindex.vxl .vxr__board i { color: var(--vbi-teal); font-size: 10px; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__board a { color: var(--vbi-ink) !important; font-weight: 700; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container .vxr__board a:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #messageindex.vxl--recent { margin-top: 12px; }

/* Recent posts: post cards with the rendered message, clipped. */
html:root body.vice-white-2026 #messageindex.vxl--posts { margin: 12px 0; }
html:root body.vice-white-2026 #messageindex.vxl--posts #topic_container#topic_container > .vxr--post { grid-template-columns: 36px minmax(0, 1fr) !important; }
body.vice-white-2026 #messageindex.vxl .vxr__body {
	position: relative;
	max-height: 260px;
	margin-top: 8px;
	overflow: hidden;
	color: var(--vxr-copy);
	font-size: 14px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
body.vice-white-2026 #messageindex.vxl .vxr__body.is-clipped::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	background: linear-gradient(180deg, transparent, var(--vbi-paper));
	pointer-events: none;
}
body.vice-white-2026 #messageindex.vxl .vxr__body :is(img, iframe, video) { max-width: 100% !important; height: auto; max-height: 220px; }
body.vice-white-2026 #messageindex.vxl .vxr__body :is(blockquote, .bbc_standard_quote, .bbc_alternate_quote) { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--vbi-teal); background: var(--vbi-soft); font-size: 13px; }
body.vice-white-2026 #messageindex.vxl .vxr__actions { margin-left: auto; }
body.vice-white-2026 #messageindex.vxl .vxr__actions .quickbuttons { margin: 0 !important; }
/* ---- Round 5: Kart / Kompakt switch (members, cookie vice_vxl) ---- */
html:root body.vice-white-2026 #messageindex.vxl .vxl-view {
	display: inline-flex;
	gap: 2px;
	margin-left: auto;
	padding: 2px;
	border: 1px solid var(--vbi-line);
	border-radius: 999px;
	background: var(--vbi-paper);
}
html:root body.vice-white-2026 #messageindex.vxl .vxl-view__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 3px 11px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--vbi-muted);
	font: 600 12px/1.5 Arial, system-ui, sans-serif;
	cursor: pointer;
	box-shadow: none;
}
html:root body.vice-white-2026 #messageindex.vxl .vxl-view__btn:hover { color: var(--vbi-teal); }
html:root body.vice-white-2026 #messageindex.vxl .vxl-view__btn.is-active { background: var(--vbi-soft); color: var(--vbi-ink); }
html:root body.vice-white-2026 #messageindex.vxl .vxl-view__btn:focus-visible { outline: 2px solid var(--vbi-teal); outline-offset: 1px; }
html:root body.vice-white-2026 #messageindex.vxl .vxl-view ~ .vxl-sort__all { margin-left: 8px; }
@media (max-width: 760px) {
	html:root body.vice-white-2026 #messageindex.vxl .vxl-view { margin-left: 0; }
}html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header .vxl-view__btn { min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 3px 11px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--vbi-muted) !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; font: 600 12px/1.5 Arial, system-ui, sans-serif !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header .vxl-view__btn:hover { color: var(--vbi-teal) !important; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_header#topic_header .vxl-view__btn.is-active { background: var(--vbi-teal) !important; color: var(--vbi-paper) !important; }
/* ---- Round 6: reaction chips (ViceReact): first-post ❤ / 💯, "+N" rest of thread ---- */
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container a.vxr__react--kalp { color: #f91880 !important; background: color-mix(in srgb, #f91880 10%, var(--vbi-paper)); }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container a.vxr__react--kalp b { color: #f91880; }
html:root body.vice-white-2026 #main_content_section #messageindex.vxl #topic_container#topic_container a.vxr__react--yuz { color: var(--vbi-ink) !important; background: color-mix(in srgb, #ff4d4d 9%, var(--vbi-paper)); }
body.vice-white-2026 #messageindex.vxl .vxr__emoji { font-size: 13px; line-height: 1; }
body.vice-white-2026 #messageindex.vxl .vxr__react--rest { padding-inline: 8px; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__chip .vxr__emoji { font-size: 12.5px; }
body.vice-white-2026 #messageindex.vxl--kompakt .vxr__react { min-width: 0; }
@media (max-width: 760px) {
	body.vice-white-2026 #messageindex.vxl .vxr__chip .vxr__emoji { font-size: 12px; }
}