.stabview-shell {
	--sv-surface: var(--trow-bg, #1d2333);
	--sv-surface-alt: var(--trow-bg-hover, #21283b);
	--sv-page: var(--body-bg, #161b28);
	--sv-border: var(--default-border-color, #2a3349);
	--sv-text: var(--default-color, #dbe4ef);
	--sv-link: var(--default-link-color, #dbe4ef);
	--sv-muted: #8f9db1;
	--sv-accent: var(--main, #00c0fd);
	--sv-accent-alt: var(--second, #0876d8);
	--sv-gradient: var(--main-gradient, linear-gradient(45deg, #0876d8, #00c0fd));
	--sv-success: #52e9b2;
	--sv-radius: var(--default-border-radius, 8px);
	--sv-author-width: 9.75rem;
	--sv-grid: 2.75rem var(--sv-author-width) minmax(18rem, 1fr) 6rem 7rem 13rem 11rem 12rem;
	--sv-areas: "type author subject replies views lastpost time forum";
	min-width: 0;
	width: 100%;
	max-width: 100%;
	margin: var(--default-margin, 1rem) auto;
	color: var(--sv-text);
}

.stabview-shell *,
.stabview-shell *::before,
.stabview-shell *::after {
	box-sizing: border-box;
}

.stabview {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: var(--sv-surface);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	box-shadow: 0 12px 30px rgba(5, 11, 24, .12);
}

.stabview button,
.stabview a {
	font: inherit;
}

.stabview button {
	margin: 0;
	border: 0;
	outline: 0;
}

.stabview-toolbar {
	display: flex;
	align-items: center;
	min-height: 3.5rem;
	padding: .5rem 1rem;
	background: var(--sv-gradient);
	color: #fff;
}

.stabview-toolbar-title {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	gap: .5rem;
	min-width: 0;
	overflow: hidden;
	color: #fff;
	font-size: calc(1em + 3px);
	font-weight: 600;
	white-space: nowrap;
}

.stabview-toolbar-title > span:last-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stabview-toolbar-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 1.05rem;
	line-height: 1;
}

.stabview-mode-tabs {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: .25rem;
	margin-left: auto;
	padding: .25rem;
	background: rgba(0, 0, 0, .2);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 7px;
}

.stabview-mode-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, .18);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 4px;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.stabview .stabview-mode-item {
	gap: .55rem;
	height: 2.25rem;
	min-height: 2.25rem;
	padding: 0 1rem;
	border: 0;
}

.latest__kind-icon {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.stabview-icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	background-color: currentColor;
	-webkit-mask: var(--stabview-icon) center / contain no-repeat;
	mask: var(--stabview-icon) center / contain no-repeat;
}

.stabview-icon--refresh { --stabview-icon: url("icons/yenile.svg"); }
.stabview-icon--posts { --stabview-icon: url("icons/gonderiler.svg"); }
.stabview-icon--threads { --stabview-icon: url("icons/konular.svg"); }
.stabview-icon--pinned {
	--stabview-icon: url("icons/sabit.svg");
	color: #e75072;
}

.stabview-mode-item .stabview-icon {
	width: 20px;
	height: 20px;
}

.stabview-mode-item .stabview-icon,
.stabview-shortcuts a > .stabview-icon,
.stabview-shortcuts button > .stabview-icon {
	opacity: .42;
	filter: grayscale(.35) saturate(.45);
	transition: opacity 180ms ease, filter 180ms ease;
}

.stabview-mode-item:hover .stabview-icon,
.stabview-mode-item:focus-visible .stabview-icon,
.stabview-shortcuts a:hover > .stabview-icon,
.stabview-shortcuts a:focus-visible > .stabview-icon,
.stabview-shortcuts button:hover > .stabview-icon,
.stabview-shortcuts button:focus-visible > .stabview-icon {
	opacity: 1;
	filter: none;
}

.stabview-mode-item.active {
	background: rgba(255, 255, 255, .16);
	box-shadow: none;
}

.stabview-mode-item:not(.active) {
	background: rgba(0, 0, 0, .18);
}

.stabview-mode-item.active:hover,
.stabview-mode-item.active:focus-visible {
	background: rgba(255, 255, 255, .23);
	box-shadow: none;
}

.stabview-mode-item:not(.active):hover,
.stabview-mode-item:not(.active):focus-visible {
	background: rgba(0, 0, 0, .28);
	box-shadow: none;
}

.stabview-refresh.is-loading .stabview-icon {
	animation: stabview-spin .8s linear infinite;
}

@keyframes stabview-spin {
	to { transform: rotate(360deg); }
}

.stabview-subnav {
	display: flex;
	align-items: stretch;
	height: 3.5rem;
	min-height: 3.5rem;
	background: var(--sv-surface-alt);
	border-bottom: 0;
}

.stabview-scope-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0;
	color: var(--sv-link);
	background: transparent;
	cursor: pointer;
}

.stabview-scope-tabs {
	display: flex;
	align-items: stretch;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

.stabview-scope-tabs::-webkit-scrollbar {
	display: none;
}

.stabview-scope-item {
	position: relative;
	flex: 0 0 auto;
	min-height: 2.5rem;
	padding: .65rem 1rem;
	color: var(--sv-link);
	background: transparent;
	border-right: 0 !important;
	white-space: nowrap;
	cursor: pointer;
	transition: none;
}

.stabview-scope-item::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 1px;
	height: 1.35rem;
	background: var(--sv-border);
	transform: translateY(-50%);
}

.stabview-scope-item:hover,
.stabview-scope-item:focus {
	color: var(--sv-link);
	background: transparent;
	box-shadow: none;
	transform: none;
	opacity: 1;
}

.stabview-scope-item.active {
	z-index: 1;
	margin-bottom: 0;
	color: var(--sv-link);
	background: var(--sv-surface);
	border-bottom: 0 !important;
}

.stabview-scope-item.active::after,
.stabview-scope-item:last-child::after {
	display: none;
}

.stabview-scope-item.active:hover,
.stabview-scope-item.active:focus {
	background: var(--sv-surface);
}

.stabview-scope-item.active::after {
	display: none;
}

.stabview-scope-item i {
	margin-right: .4rem;
}

.stabview-shortcuts {
	display: flex;
	align-items: center;
	gap: 0;
	flex: 0 0 auto;
	margin-left: auto;
	padding: 0 .75rem;
}

.stabview-shortcuts a,
.stabview-shortcuts button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	color: var(--sv-link);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.stabview-shortcuts a:hover,
.stabview-shortcuts a:focus-visible,
.stabview-shortcuts button:hover,
.stabview-shortcuts button:focus-visible {
	color: var(--sv-link);
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.stabview-shortcuts .stabview-icon {
	width: 1.3rem;
	height: 1.3rem;
}

.stabview-table-head,
.stabview-row {
	display: grid;
	grid-template-columns: var(--sv-grid);
	grid-template-areas: var(--sv-areas);
	align-items: stretch;
	min-width: 0;
	column-gap: 1rem;
}

.stabview-head-type,
.stabview-row-type { grid-area: type; }
.stabview-head-author,
.stabview-row-author { grid-area: author; }
.stabview-head-subject,
.stabview-row-subject { grid-area: subject; }
.stabview-head-replies,
.stabview-row-replies { grid-area: replies; }
.stabview-head-views,
.stabview-row-views { grid-area: views; }
.stabview-head-lastpost,
.stabview-row-lastpost { grid-area: lastpost; }
.stabview-head-time,
.stabview-row-time { grid-area: time; }
.stabview-head-forum,
.stabview-row-forum { grid-area: forum; }

.stabview-label-short {
	display: none;
}

.stabview-table-head {
	height: 3.5rem;
	min-height: 3.5rem;
	background: var(--sv-surface);
	border-bottom: 1px solid var(--sv-border);
	color: var(--sv-muted);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .035em;
	text-transform: none;
}

.stabview-table-head > div {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	padding: .6rem .75rem;
	text-align: left;
	border-right: 0 !important;
	border-left: 0 !important;
}

.stabview-table-head > div:first-child,
.stabview-table-head > div:nth-child(4),
.stabview-table-head > div:nth-child(5) {
	justify-content: center;
	text-align: center;
}

.stabview-rowlist {
	background: var(--sv-surface);
	padding: 0 0 .5rem;
	margin-top: 0 !important;
}

.stabview-row {
	min-height: 0;
	border-bottom: 1px solid var(--sv-border);
	transition: background-color 180ms ease;
}

.stabview-row:last-child {
	border-bottom: 0;
}

.stabview-row:not(.stabview-row--announcement):hover {
	background: var(--sv-surface-alt);
}

.stabview-row-item {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: .5rem .75rem;
	overflow: hidden;
	border-right: 0 !important;
	border-left: 0 !important;
}

.stabview-row-item a {
	min-width: 0;
	color: var(--sv-link);
}

.stabview-row-item a:hover {
	color: var(--sv-accent);
}

.stabview-row-type,
.stabview-row-replies,
.stabview-row-views {
	justify-content: center;
	text-align: center;
}

/* Type is a fixed atom on wide layouts. Equal inline padding keeps the icon
 * centered independently of legacy flex-basis rules from the theme XML. */
.stabview-shell .stabview-head-type,
.stabview-shell .stabview-row-type {
	justify-content: center !important;
	padding-inline: .5rem !important;
	text-align: center !important;
}

.stabview-row-author,
.stabview-row-subject,
.stabview-row-forum,
.stabview-row-lastpost,
.stabview-row-time {
	justify-content: flex-start;
	text-align: left;
}

/* Stabilizer's index rules center these cells; keep reference alignment. */
.stabview-shell .stabview-table-head > div:nth-child(2),
.stabview-shell .stabview-table-head > div:nth-child(3),
.stabview-shell .stabview-table-head > div:nth-child(6),
.stabview-shell .stabview-table-head > div:nth-child(7),
.stabview-shell .stabview-table-head > div:nth-child(8),
.stabview-shell .stabview-row .stabview-row-author,
.stabview-shell .stabview-row .stabview-row-subject,
.stabview-shell .stabview-row .stabview-row-forum,
.stabview-shell .stabview-row .stabview-row-lastpost,
.stabview-shell .stabview-row .stabview-row-time {
	justify-content: flex-start !important;
	text-align: left !important;
}

.stabview-shell .stabview-table-head > div:nth-child(4),
.stabview-shell .stabview-table-head > div:nth-child(5),
.stabview-shell .stabview-row .stabview-row-replies,
.stabview-shell .stabview-row .stabview-row-views {
	justify-content: center !important;
	text-align: center !important;
}

.stabview-shell .stabview-row .stabview-row-forum > a {
	margin-right: 0 !important;
	margin-left: 0 !important;
	text-align: left !important;
}

.stabview-row-type {
	font-size: .95rem;
}

.stabview-row-type .latest__kind-icon,
.stabview-row-type .stabview-icon {
	width: 1.2rem;
	height: 1.2rem;
}

.stabview-row--thread .stabview-row-type {
	color: #5aa5ff;
}

.stabview-row--reply .stabview-row-type {
	color: var(--sv-success);
}

.stabview-row-author,
.stabview-row-lastpost {
	gap: .55rem;
	min-width: 0;
}

.stabview-row-avatar {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
}

.stabview-row-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 1px solid var(--sv-border);
	border-radius: 50%;
}

.stabview-row-avatar-stack {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-width: 1.4rem;
}

.stabview-row-avatar-stack .stabview-row-avatar + .stabview-row-avatar {
	margin-left: -.48rem;
}

.stabview-row-avatar-stack .stabview-row-avatar:nth-child(1) {
	z-index: 1;
}

.stabview-row-avatar-stack .stabview-row-avatar:nth-child(2) {
	z-index: 2;
}

.stabview-row-avatar-stack .stabview-row-avatar:nth-child(3) {
	z-index: 3;
}

.stabview-row-avatar-stack .stabview-row-avatar img {
	border-color: var(--sv-surface);
}

.stabview-row-author-name,
.stabview-row-lastposter,
.stabview-row-subject a,
.stabview-row-forum a {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stabview-row-author-name,
.stabview-row-lastposter {
	flex: 1 1 auto;
	max-width: 100%;
}

.stabview-row-subject {
	display: flex;
	align-items: center;
	overflow: hidden;
	min-width: 0;
	white-space: nowrap;
	gap: .35rem;
}

.stabview-row-prefix {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	max-width: clamp(4rem, 30%, 8rem);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.stabview-row-prefix > * {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Prefixes are optional; remove the empty flex item so unprefixed rows keep
 * the same subject start position as rows that have a visible prefix. */
.stabview-row-prefix:empty {
	display: none;
}

.stabview-row-subject > a {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.stabview-row-subject .stabview-adicon {
	color: var(--sv-success);
}

.stabview-row-time,
.stabview-row-replies,
.stabview-row-views {
	white-space: nowrap;
}

.stabview-row-replies,
.stabview-row-views {
	font-variant-numeric: tabular-nums;
}

.stabview_content {
	background: var(--sv-surface);
}

.stabview-showmore {
	display: flex;
	justify-content: center;
	margin: calc(var(--default-margin, 1rem) / 2);
	padding: .5rem;
	color: #fff;
	background: var(--sv-mainbg, var(--sv-surface-alt));
	border-radius: 0 0 calc(var(--sv-default-border-radius, var(--sv-radius)) * 3 / 4) calc(var(--sv-default-border-radius, var(--sv-radius)) * 3 / 4);
	cursor: pointer;
}

.stabview-showmore:focus-visible {
	outline: 1px solid var(--sv-accent);
	outline-offset: -2px;
}

.stabview-showmore[aria-disabled="true"] {
	opacity: .55;
	cursor: wait;
}

.stabview-loading,
.stabview-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 8rem;
	padding: 1.5rem;
	color: var(--sv-muted);
}

.stabview-loading img {
	width: 2.5rem;
	height: 2.5rem;
}

@media (max-width: 1439.98px) {
	.stabview-shell {
		--sv-grid: minmax(2rem, 2.75rem) minmax(5.5rem, var(--sv-author-width)) minmax(0, 1fr) minmax(7rem, 10rem) minmax(5.5rem, 9rem) minmax(3rem, 4rem) minmax(3rem, 4rem);
		--sv-areas: "type author subject lastpost time replies views";
	}

	.stabview-shell .stabview-head-type,
	.stabview-shell .stabview-row .stabview-row-type {
		padding-right: 0;
		padding-left: 0;
	}

	.stabview-shell .stabview-head-forum,
	.stabview-shell .stabview-row .stabview-row-forum {
		display: none !important;
	}
}

@media (max-width: 1023.98px) {
	.stabview-mode-tabs {
		order: 0;
		margin-left: auto;
	}

	.stabview-subnav {
		position: relative;
		flex-wrap: wrap;
		align-items: center;
		height: 3.5rem;
		min-height: 3.5rem;
	}

	.stabview-scope-toggle {
		display: inline-flex;
		order: 1;
		width: 3.25rem;
		min-width: 3.25rem;
	}

	.stabview-scope-tabs {
		display: none;
		order: 3;
		flex: 1 0 100%;
		flex-direction: column;
		overflow: visible;
		background: var(--sv-surface-alt);
	}

	.stabview-scope-tabs.is-open {
		display: flex;
	}

	.stabview-scope-item,
	.stabview-scope-item.active {
		width: 100%;
		min-height: 2.5rem;
		margin: 0;
		padding: .7rem 1rem;
		text-align: left;
		background: transparent;
		border-left: 2px solid transparent !important;
	}

	.stabview-scope-item.active {
		background: var(--sv-surface);
		border-left-color: var(--sv-accent) !important;
	}

	.stabview-scope-item::after {
		display: none;
	}

	.stabview-shortcuts {
		order: 2;
		margin-left: auto;
		padding-right: .75rem;
	}

	.stabview-shell {
		--sv-grid: 2.25rem 3rem minmax(0, 1fr) 3rem 7rem 4rem 4rem;
		--sv-areas: "type author subject lastpost time replies views";
	}

	.stabview-shell .stabview-row .stabview-row-author,
	.stabview-shell .stabview-row .stabview-row-lastpost,
	.stabview-shell .stabview-table-head .stabview-head-author,
	.stabview-shell .stabview-table-head .stabview-head-lastpost {
		justify-content: center !important;
		padding-right: 0;
		padding-left: 0;
		text-align: center !important;
	}

	.stabview-row-author-name,
	.stabview-row-lastposter,
	.stabview-label-main {
		display: none;
	}

	.stabview-row-author .stabview-row-avatar {
		width: 1.25rem;
		height: 1.25rem;
	}

	.stabview-label-short {
		display: inline;
	}

	/* The legacy theme hides the fifth child at this breakpoint. The modern
	 * grid keeps views as an explicit, aligned column until 840px. */
	.stabview-shell .stabview-table-head > .stabview-head-views,
	.stabview-shell .stabview-row > .stabview-row-views {
		display: flex !important;
	}

	.stabview-table-head > div,
	.stabview-row-item {
		padding-right: .5rem;
		padding-left: .5rem;
	}
}

@media (max-width: 839.98px) {
	.stabview .stabview-mode-item {
		display: inline-flex !important;
		width: 2.25rem;
		min-width: 2.25rem;
		height: 2.25rem;
		min-height: 2.25rem;
		padding: 0;
	}

	/* Keep the action icons visible when labels collapse on narrow screens. */
	.stabview-mode-item > span:not(.stabview-icon) {
		display: none;
	}

	.stabview-mode-item > .stabview-icon {
		display: inline-block !important;
		visibility: visible !important;
		flex: 0 0 20px;
	}

	.stabview-shell {
		--sv-grid: 2.75rem minmax(0, 1fr) 6rem 7rem;
		--sv-areas: "author subject lastpost time";
	}

	/* Override the legacy theme stylesheet's nth-child hides for this markup. */
	.stabview-shell .stabview-table-head > .stabview-head-author,
	.stabview-shell .stabview-table-head > .stabview-head-subject,
	.stabview-shell .stabview-table-head > .stabview-head-lastpost,
	.stabview-shell .stabview-table-head > .stabview-head-time,
	.stabview-shell .stabview-row > .stabview-row-author,
	.stabview-shell .stabview-row > .stabview-row-subject,
	.stabview-shell .stabview-row > .stabview-row-lastpost,
	.stabview-shell .stabview-row > .stabview-row-time {
		display: flex !important;
	}

	.stabview-shell .stabview-table-head > .stabview-head-author,
	.stabview-shell .stabview-row > .stabview-row-author {
		display: flex !important;
		justify-content: center !important;
		text-align: center !important;
	}

	.stabview-table-head > div,
	.stabview-row-item {
		padding-right: .5rem;
		padding-left: .5rem;
	}

	.stabview-shell .stabview-head-replies,
	.stabview-shell .stabview-head-views,
	.stabview-shell .stabview-row .stabview-row-replies,
	.stabview-shell .stabview-row .stabview-row-views {
		display: none !important;
	}
}

@media (max-width: 599.98px) {
	.stabview-shell {
		--sv-grid: 2.75rem minmax(0, 1fr) 5rem;
		--sv-areas: "author subject lastpost";
	}

	.stabview-shell .stabview-head-time,
	.stabview-shell .stabview-row .stabview-row-time {
		display: none !important;
	}

	.stabview-row-avatar-stack .stabview-row-avatar:not(:last-child) {
		display: none;
	}

	.stabview-row-avatar-stack .stabview-row-avatar + .stabview-row-avatar {
		margin-left: 0;
	}
}

@media (max-width: 419.98px) {
	.stabview-shell {
		--sv-grid: 2.5rem minmax(0, 1fr) 4.5rem;
	}
}

/* The theme also ships a legacy StabView stylesheet with flex-basis and
 * nth-child rules. Keep the current markup's grid contract authoritative. */
.stabview-shell .stabview-table-head,
.stabview-shell .stabview-row {
	display: grid !important;
	grid-template-columns: var(--sv-grid) !important;
	grid-template-areas: var(--sv-areas) !important;
	column-gap: 1rem !important;
}

.stabview-shell .stabview-table-head > div,
.stabview-shell .stabview-row > .stabview-row-item {
	min-width: 0 !important;
	flex: none !important;
}

.stabview-shell .stabview-row-subject {
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow-wrap: normal;
	word-break: normal;
}

.stabview-shell .stabview-row-subject > .stabview-row-prefix {
	flex: 0 1 auto !important;
	min-width: 0 !important;
	max-width: clamp(4rem, 30%, 8rem) !important;
	white-space: nowrap !important;
	overflow-wrap: normal;
	word-break: normal;
}

.stabview-shell .stabview-row-prefix > * {
	display: inline-block !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

.stabview-shell .stabview-row-subject > a {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

@media (max-width: 839.98px) {
	/* Match Latest: the kind/type atom is removed below this breakpoint. */
	.stabview-shell {
		--sv-grid: 1.375rem minmax(0, 1fr) 3rem 9rem !important;
		--sv-areas: "author subject lastpost time" !important;
	}

	.stabview-shell .stabview-table-head > .stabview-head-type,
	.stabview-shell .stabview-row > .stabview-row-type {
		display: none !important;
	}

	/* The medium breakpoint intentionally keeps Views visible. Once the
	 * layout collapses to four columns, hide both cells with matching
	 * specificity so they cannot create an implicit second grid row. */
	.stabview-shell .stabview-table-head > .stabview-head-replies,
	.stabview-shell .stabview-table-head > .stabview-head-views,
	.stabview-shell .stabview-row > .stabview-row-replies,
	.stabview-shell .stabview-row > .stabview-row-views {
		display: none !important;
	}

	.stabview-shell .stabview-table-head > .stabview-head-author,
	.stabview-shell .stabview-row > .stabview-row-author {
		justify-content: center !important;
		padding-inline: 0 !important;
		text-align: center !important;
	}
}

@media (max-width: 599.98px) {
	.stabview-shell {
		--sv-grid: 1.375rem minmax(0, 1fr) 1.375rem !important;
		--sv-areas: "author subject lastpost" !important;
	}

	/* TIME is removed from the compact three-column grid. Keep this selector
	 * at the end so it overrides the legacy 840px visibility rule. */
	.stabview-shell .stabview-table-head > .stabview-head-time,
	.stabview-shell .stabview-row > .stabview-row-time {
		display: none !important;
	}
}

@media (max-width: 419.98px) {
	.stabview-shell {
		--sv-grid: 1.375rem minmax(0, 1fr) 1.375rem !important;
	}
}

@media (max-width: 1023.98px) {
	/* Keep the Type/Author atoms identical to Latest's compact grid. The
	 * horizontal rhythm belongs to the row itself; cells add no extra width. */
	.stabview-shell .stabview-table-head,
	.stabview-shell .stabview-row {
		padding-inline: 1rem !important;
		column-gap: 1rem !important;
	}

	.stabview-shell .stabview-table-head > div,
	.stabview-shell .stabview-row > .stabview-row-item {
		padding-inline: 0 !important;
	}

	.stabview-shell .stabview-table-head > .stabview-head-author,
	.stabview-shell .stabview-row > .stabview-row-author {
		justify-content: center !important;
		padding-inline: 0 !important;
		text-align: center !important;
	}
}

@media (min-width: 840px) and (max-width: 1023.98px) {
	.stabview-shell {
		--sv-grid: 1.25rem 1.375rem minmax(0, 1fr) 3rem 7rem 4rem 4rem !important;
		--sv-areas: "type author subject lastpost time replies views" !important;
	}
}

@media (min-width: 1024px) and (max-width: 1439.98px) {
	/* Keep the medium layout compact around the time/replies columns. */
	.stabview-shell {
		--sv-grid: 1.25rem 8rem minmax(0, 1fr) 10rem 7rem 4rem 4rem !important;
		--sv-areas: "type author subject lastpost time replies views" !important;
	}

	.stabview-shell .stabview-table-head,
	.stabview-shell .stabview-row {
		padding-inline: 1rem !important;
		column-gap: 1rem !important;
	}

	.stabview-shell .stabview-table-head > div,
	.stabview-shell .stabview-row > .stabview-row-item {
		padding-inline: 0 !important;
	}

	.stabview-shell .stabview-head-type,
	.stabview-shell .stabview-row-type,
	.stabview-shell .stabview-head-author,
	.stabview-shell .stabview-row-author {
		justify-content: center !important;
		text-align: center !important;
	}
}

@media (min-width: 1440px) {
	/* Give the forum/category column enough room on wide layouts. */
	.stabview-shell {
		--sv-grid: 1.25rem 8rem minmax(0, 1fr) 10rem 7rem 5rem 4rem 12.25rem !important;
		--sv-areas: "type author subject lastpost time replies views forum" !important;
	}

	.stabview-shell .stabview-table-head,
	.stabview-shell .stabview-row {
		padding-inline: 1rem !important;
		column-gap: 1rem !important;
	}

	.stabview-shell .stabview-table-head > div,
	.stabview-shell .stabview-row > .stabview-row-item {
		padding-inline: 0 !important;
	}

	.stabview-shell .stabview-head-type,
	.stabview-shell .stabview-row-type {
		justify-content: center !important;
		padding-inline: 0 !important;
		text-align: center !important;
	}
}

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

/* Keep the compact forum selector in normal flow when it is opened. This
 * prevents the category list from covering the table head on mobile. */
@media (max-width: 1023.98px) {
	.stabview-subnav:has(.stabview-scope-tabs.is-open) {
		height: auto;
		min-height: 3.5rem;
	}
}

/* The mobile menu trigger is intentionally neutral; opening the selector
 * must not introduce a hover, focus, or active background. */
.stabview-scope-toggle,
.stabview-scope-toggle:hover,
.stabview-scope-toggle:focus,
.stabview-scope-toggle:focus-visible,
.stabview-scope-toggle:active,
.stabview-scope-toggle.is-active {
	color: var(--sv-link) !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	transform: none !important;
	opacity: 1 !important;
}
