/*
 * Vice Dark 2026 â€” shared inner forum shell
 *
 * This layer is loaded only on non-home routes. Every rule is scoped through
 * .vice-inner-shell so the accepted home page remains isolated.
 */

body.vice-inner-shell {
	--vi-page: #05070c;
	--vi-surface: rgba(11, 16, 24, 0.94);
	--vi-surface-2: rgba(15, 21, 32, 0.96);
	--vi-surface-3: rgba(20, 27, 39, 0.97);
	--vi-surface-hover: rgba(24, 33, 49, 0.98);
	--vi-border: rgba(255, 255, 255, 0.085);
	--vi-border-strong: rgba(255, 255, 255, 0.14);
	--vi-text: #f4f7fb;
	--vi-text-2: #c2cad6;
	--vi-text-3: #8e9aab;
	--vi-pink: #bd7898;
	--vi-cyan: #73a8b2;
	--vi-gold: #b99b68;
	--vi-success: #76aa8e;
	--vi-danger: #c77881;
	--vi-radius-sm: 8px;
	--vi-radius: 12px;
	--vi-radius-lg: 18px;
	--vi-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	min-height: 100vh;
	overflow-x: hidden;
	background-color: var(--vi-page);
	background-image:
		radial-gradient(circle at 12% 0%, rgba(105, 132, 164, 0.055), transparent 32rem),
		radial-gradient(circle at 88% 12%, rgba(149, 104, 127, 0.035), transparent 28rem),
		linear-gradient(180deg, #05070c, #080b12 72%, #05070c);
	background-attachment: fixed;
	color: var(--vi-text);
}

body.vice-inner-shell::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 8%, rgba(149, 104, 127, 0.05), transparent 34%),
		radial-gradient(circle at 88% 20%, rgba(102, 151, 161, 0.04), transparent 35%),
		linear-gradient(180deg, rgba(5, 7, 12, 0.18), rgba(5, 7, 12, 0.82));
}

body.vice-inner-shell::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(5, 7, 12, 0.36), transparent 18%, transparent 82%, rgba(5, 7, 12, 0.36));
}

body.vice-inner-shell,
body.vice-inner-shell input,
body.vice-inner-shell button,
body.vice-inner-shell select,
body.vice-inner-shell textarea {
	font-family: inherit;
}

body.vice-inner-shell *,
body.vice-inner-shell *::before,
body.vice-inner-shell *::after {
	box-sizing: border-box;
}

body.vice-inner-shell a {
	color: var(--vi-text);
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

body.vice-inner-shell a:hover,
body.vice-inner-shell a:focus-visible {
	color: var(--vi-text);
}

body.vice-inner-shell h1,
body.vice-inner-shell h2,
body.vice-inner-shell h3,
body.vice-inner-shell h4,
body.vice-inner-shell h5,
body.vice-inner-shell h6,
body.vice-inner-shell strong {
	color: var(--vi-text);
}

/* Compact shared masthead. The large home-only hero photo is not rendered
   here, but the navbar + hero-profile-slot are now the exact same shared
   rules as the home page (see vice-dark-2026.css + PARITY 012/013 in
   vice-white-theme.css, which win last with !important). Height is driven
   by the same --vice-home-masthead-height variable the home page uses
   (declared for both layouts in vice-dark-2026.css, including its
   responsive overrides at 1100px/430px), so both layouts shrink together. */
body.vice-inner-shell {
	--vice-home-masthead-height: clamp(268px, 14.5vw, 296px);
}

body.vice-inner-shell .vc-home-masthead {
	position: relative;
	isolation: isolate;
	z-index: 30;
	height: var(--vice-home-masthead-height);
	min-height: 268px;
	overflow: visible;
	background: #05070c;
	border-bottom: 1px solid var(--vi-border);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

body.vice-inner-shell .vc-home-masthead::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(90deg, rgba(5, 7, 12, 0.72) 0%, rgba(5, 7, 12, 0.22) 24%, rgba(5, 7, 12, 0.18) 72%, rgba(5, 7, 12, 0.7) 100%),
		linear-gradient(180deg, rgba(5, 7, 12, 0.46) 0%, rgba(5, 7, 12, 0.08) 34%, rgba(5, 7, 12, 0.28) 66%, #05070c 100%),
		url("../images/vice/hero-ocean-night.webp");
	background-position: center, center, center 50%;
	background-repeat: no-repeat;
	background-size: cover;
	filter: saturate(0.92) contrast(1.05);
}

body.vice-inner-shell .vc-home-masthead::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
		linear-gradient(90deg, transparent 8%, rgba(130, 151, 176, 0.12) 50%, transparent 92%);
	background-position: center, center bottom;
	background-repeat: repeat, no-repeat;
	background-size: auto, 100% 1px;
	mix-blend-mode: soft-light;
}

/* The inner-shell navbar, hero-profile-slot and hero-photo element now share
   the exact same rules as the home page (see vice-dark-2026.css) so the
   header renders identically everywhere. The old standalone inner-shell
   navbar implementation and the hero-profile-slot display:none override
   that used to live here have been removed. */


body.vice-inner-shell .vc-home-hero {
	display: none;
}

/* Shared route container and breadcrumb. */
body.vice-inner-shell #wrapper,
body.vice-inner-shell #content_section,
body.vice-inner-shell #main_content_section {
	position: relative;
	float: none;
	width: min(1280px, calc(100% - 48px));
	max-width: none;
	min-width: 0;
	height: auto;
	margin-inline: auto;
	padding-inline: 0;
	transform: none;
}

body.vice-inner-shell #wrapper {
	isolation: isolate;
	padding-top: 24px;
	padding-bottom: 52px;
}

body.vice-inner-shell #wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 0;
	width: 100vw;
	transform: translateX(-50%);
	pointer-events: none;
	background-color: #05070c;
	background-image:
		linear-gradient(180deg, rgba(5, 7, 12, 0.82) 0%, rgba(5, 7, 12, 0.58) 240px, rgba(5, 7, 12, 0.64) 100%),
		linear-gradient(90deg, rgba(5, 7, 12, 0.2) 0%, rgba(5, 7, 12, 0.5) 18%, rgba(5, 7, 12, 0.94) 38%, rgba(5, 7, 12, 0.94) 62%, rgba(5, 7, 12, 0.5) 82%, rgba(5, 7, 12, 0.2) 100%),
		url("../images/vice/forum-side-backdrop-v1.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% 100%, 100% 100%, max(1440px, 100vw) auto;
}

body.vice-inner-shell #wrapper > * {
	position: relative;
	z-index: 1;
}

body.vice-inner-shell #content_section,
body.vice-inner-shell #main_content_section {
	width: 100%;
}

body.vice-inner-shell .navigate_section,
body.vice-inner-shell #linktree {
	margin: 0 0 16px;
	padding: 11px 14px;
	background:
		linear-gradient(90deg, rgba(125, 148, 175, 0.03), transparent 30%, transparent 70%, rgba(145, 116, 136, 0.025)),
		rgba(11, 16, 24, 0.88);
	border: 1px solid var(--vi-border-strong);
	border-radius: var(--vi-radius);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
}

body.vice-inner-shell .navigate_section ul,
body.vice-inner-shell #linktree ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	min-height: 0;
	line-height: normal;
	clear: none;
	overflow: visible;
	background: transparent;
	list-style: none;
}

body.vice-inner-shell .navigate_section ul li,
body.vice-inner-shell #linktree ul li {
	float: none;
	padding: 0;
}

body.vice-inner-shell .navigate_section .nav_icon i,
body.vice-inner-shell #linktree .nav_icon i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 30px;
	height: 30px;
	margin: 0;
	line-height: 1;
	color: var(--vi-cyan);
	background: rgba(115, 168, 178, 0.08);
	border: 1px solid rgba(115, 168, 178, 0.16);
	border-radius: 8px;
}

body.vice-inner-shell .navigate_section a,
body.vice-inner-shell .navigate_section li > span,
body.vice-inner-shell #linktree a,
body.vice-inner-shell #linktree li > span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	color: var(--vi-text-2);
	white-space: normal;
}

body.vice-inner-shell .navigate_section li.last > span,
body.vice-inner-shell .navigate_section li.last > a,
body.vice-inner-shell #linktree li.last > span,
body.vice-inner-shell #linktree li.last > a {
	color: var(--vi-text);
}

/* Common SMF panels. */
body.vice-inner-shell .cat_bar,
body.vice-inner-shell .title_bar,
body.vice-inner-shell .titlebg,
body.vice-inner-shell .titlebg2,
body.vice-inner-shell .windowbg,
body.vice-inner-shell .windowbg2,
body.vice-inner-shell .roundframe,
body.vice-inner-shell .information,
body.vice-inner-shell .generic_list_wrapper,
body.vice-inner-shell .main_section,
body.vice-inner-shell .topic_table,
body.vice-inner-shell .boardindex_table {
	color: var(--vi-text-2);
	background: var(--vi-surface);
	border-color: var(--vi-border);
}

body.vice-inner-shell .cat_bar,
body.vice-inner-shell .title_bar,
body.vice-inner-shell .titlebg,
body.vice-inner-shell .titlebg2 {
	min-height: 46px;
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius) var(--vi-radius) 0 0;
	background:
		linear-gradient(90deg, rgba(155, 119, 138, 0.06), transparent 34%),
		linear-gradient(135deg, rgba(20, 27, 39, 0.98), rgba(11, 16, 24, 0.98));
	box-shadow: none;
}

body.vice-inner-shell .cat_bar h3,
body.vice-inner-shell .title_bar h3,
body.vice-inner-shell .titlebg,
body.vice-inner-shell .titlebg2 {
	margin: 0;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

body.vice-inner-shell .windowbg,
body.vice-inner-shell .windowbg2,
body.vice-inner-shell .roundframe,
body.vice-inner-shell .information,
body.vice-inner-shell .generic_list_wrapper,
body.vice-inner-shell .main_section {
	margin: 0 0 12px;
	padding: 16px;
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius);
	box-shadow: none;
}

body.vice-inner-shell .cat_bar + .windowbg,
body.vice-inner-shell .cat_bar + .windowbg2,
body.vice-inner-shell .title_bar + .windowbg,
body.vice-inner-shell .title_bar + .windowbg2 {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

body.vice-inner-shell .windowbg:hover,
body.vice-inner-shell .windowbg2:hover {
	border-color: var(--vi-border-strong);
}

body.vice-inner-shell .description,
body.vice-inner-shell .smalltext,
body.vice-inner-shell .lastpost,
body.vice-inner-shell .stats,
body.vice-inner-shell .signature,
body.vice-inner-shell .keyinfo {
	color: var(--vi-text-3);
}

/* Tables and board/topic grids. */
body.vice-inner-shell table,
body.vice-inner-shell table.table_grid,
body.vice-inner-shell .topic_table table,
body.vice-inner-shell .boardindex_table table {
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	color: var(--vi-text-2);
	background: var(--vi-surface);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius);
	overflow: hidden;
}

body.vice-inner-shell th,
body.vice-inner-shell td {
	min-width: 0;
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--vi-border);
	vertical-align: middle;
	overflow-wrap: anywhere;
}

body.vice-inner-shell th {
	color: var(--vi-text);
	background: var(--vi-surface-2);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.035em;
	text-align: left;
	text-transform: uppercase;
}

body.vice-inner-shell tr:last-child > td {
	border-bottom: 0;
}

body.vice-inner-shell tr:hover > td {
	background: rgba(28, 41, 61, 0.34);
}

body.vice-inner-shell .board_row,
body.vice-inner-shell .topic_row {
	background: var(--vi-surface);
	border-color: var(--vi-border);
}

body.vice-inner-shell .board_row .info,
body.vice-inner-shell .topic_row .subject,
body.vice-inner-shell td.info,
body.vice-inner-shell td.subject {
	width: auto;
	min-width: 0;
}

body.vice-inner-shell .board_row .stats,
body.vice-inner-shell .topic_row .stats,
body.vice-inner-shell td.stats {
	width: 116px;
	text-align: center;
}

body.vice-inner-shell .board_row .lastpost,
body.vice-inner-shell .topic_row .lastpost,
body.vice-inner-shell td.lastpost {
	width: 260px;
}

body.vice-inner-shell .board_row .icon,
body.vice-inner-shell .topic_row .icon,
body.vice-inner-shell td.icon {
	width: 58px;
	text-align: center;
}

body.vice-inner-shell .children,
body.vice-inner-shell .moderators {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
	margin-top: 8px;
	color: var(--vi-text-3);
}

/* Forms, buttons, pagination and dropdowns. */
body.vice-inner-shell input[type="text"],
body.vice-inner-shell input[type="email"],
body.vice-inner-shell input[type="password"],
body.vice-inner-shell input[type="search"],
body.vice-inner-shell input[type="number"],
body.vice-inner-shell select,
body.vice-inner-shell textarea {
	max-width: 100%;
	color: var(--vi-text);
	background: var(--vi-surface-2);
	border: 1px solid var(--vi-border-strong);
	border-radius: var(--vi-radius-sm);
	outline: 0;
}

body.vice-inner-shell input:focus,
body.vice-inner-shell select:focus,
body.vice-inner-shell textarea:focus {
	border-color: var(--vi-cyan);
	box-shadow: 0 0 0 3px rgba(115, 168, 178, 0.1);
}

body.vice-inner-shell button,
body.vice-inner-shell input[type="submit"],
body.vice-inner-shell input[type="button"],
body.vice-inner-shell .button_submit,
body.vice-inner-shell .buttonlist a,
body.vice-inner-shell .buttonlist button,
body.vice-inner-shell .pagelinks a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 12px;
	color: var(--vi-text-2);
	background: var(--vi-surface-2);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius-sm);
	cursor: pointer;
}

body.vice-inner-shell button:hover,
body.vice-inner-shell input[type="submit"]:hover,
body.vice-inner-shell input[type="button"]:hover,
body.vice-inner-shell .button_submit:hover,
body.vice-inner-shell .buttonlist a:hover,
body.vice-inner-shell .pagelinks a:hover {
	color: var(--vi-text);
	background: var(--vi-surface-hover);
	border-color: var(--vi-border-strong);
}

/* .dropmenu (the Profile Info / Forum Profile / Actions style section tabs)
   gets a full, dedicated redesign in vice-white-theme.css's "PARITY 014"
   block, scoped under #genericmenu. Since this theme always runs in white
   mode in practice, this dark base is disabled for it here — rather than
   left to be silently outrun by specificity — so there is exactly one place
   that styles this component instead of two disagreeing ones. */
body.vice-inner-shell:not(.vice-white-2026) .dropmenu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 12px;
	color: var(--vi-text-2);
	background: var(--vi-surface-2);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius-sm);
	cursor: pointer;
}
body.vice-inner-shell:not(.vice-white-2026) .dropmenu a:hover {
	color: var(--vi-text);
	background: var(--vi-surface-hover);
	border-color: var(--vi-border-strong);
}
body.vice-inner-shell:not(.vice-white-2026) .dropmenu ul,
body.vice-inner-shell .popup_menu,
body.vice-inner-shell .popup_window,
body.vice-inner-shell .modal_container {
	color: var(--vi-text-2);
	background: var(--vi-surface-2);
	border: 1px solid var(--vi-border-strong);
	border-radius: var(--vi-radius);
	box-shadow: var(--vi-shadow);
}

/* Profile, search, login and other action routes. */
body.vice-inner-shell .flow_hidden,
body.vice-inner-shell .profile,
body.vice-inner-shell .profile_content,
body.vice-inner-shell #profileview,
body.vice-inner-shell .profile_options,
body.vice-inner-shell .login,
body.vice-inner-shell .register,
body.vice-inner-shell .search_results,
body.vice-inner-shell .admincenter,
body.vice-inner-shell .moderationcenter {
	max-width: 100%;
	min-width: 0;
	color: var(--vi-text-2);
}

body.vice-inner-shell .profile_content,
body.vice-inner-shell #profileview,
body.vice-inner-shell .login,
body.vice-inner-shell .register,
body.vice-inner-shell .search_results {
	padding: 18px;
	background: var(--vi-surface);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius-lg);
}

body.vice-inner-shell .profile_options,
body.vice-inner-shell .admintab,
body.vice-inner-shell .moderationtab {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 14px;
}

/* Unread topics: isolate the SMF 2.0 fallback template from legacy light styles. */
body.vice-action-unread #main_content_section {
	display: grid;
	gap: 12px;
}

body.vice-action-unread .pagesection {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	min-height: 44px;
	margin: 0;
	padding: 8px 0;
	overflow: visible;
	color: var(--vi-text-3);
	background: transparent;
}

body.vice-action-unread .pagesection .floatleft,
body.vice-action-unread .pagesection .floatright,
body.vice-action-unread .buttonlist,
body.vice-action-unread .pagelinks {
	float: none;
	margin: 0;
	padding: 0;
}

body.vice-action-unread .buttonlist ul,
body.vice-action-unread .buttonlist ul li {
	float: none;
	margin: 0;
	padding: 0;
}

body.vice-action-unread .buttonlist ul {
	gap: 8px;
}

body.vice-action-unread .buttonlist a {
	min-height: 38px;
	padding: 0 14px;
	color: var(--vi-text-2);
	font-size: 11px;
	font-weight: 750;
	line-height: 1;
	letter-spacing: 0.025em;
	background: linear-gradient(180deg, rgba(20, 30, 46, 0.98), rgba(12, 19, 31, 0.98));
	border-color: var(--vi-border);
}

body.vice-action-unread .navPages,
body.vice-action-unread .pagelinks strong,
body.vice-action-unread .pagesection strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	line-height: 1;
	color: var(--vi-text-2);
	background: var(--vi-surface-2);
	border: 1px solid var(--vi-border);
	border-radius: 8px;
}

body.vice-action-unread .pagelinks strong,
body.vice-action-unread .pagesection strong {
	color: var(--vi-page);
	background: var(--vi-cyan);
	border-color: rgba(115, 168, 178, 0.42);
}

body.vice-action-unread .topic_table {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--vi-radius-lg);
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), inset 0 1px rgba(174, 188, 209, 0.18);
}

body.vice-action-unread .topic_table table.table_grid {
	margin: 0;
	table-layout: auto;
	background: var(--vi-surface);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius-lg);
}

body.vice-action-unread .topic_table table.table_grid thead,
body.vice-action-unread .topic_table table.table_grid tr.catbg,
body.vice-action-unread .topic_table table.table_grid tr.titlebg {
	color: var(--vi-text);
	background:
		linear-gradient(90deg, rgba(115, 168, 178, 0.045), transparent 32%, transparent 68%, rgba(155, 119, 138, 0.04)),
		linear-gradient(135deg, rgba(20, 27, 39, 0.99), rgba(11, 16, 24, 0.99));
	border: 0;
}

body.vice-action-unread .topic_table table.table_grid th,
body.vice-action-unread .topic_table table.table_grid tr.catbg th.first_th,
body.vice-action-unread .topic_table table.table_grid tr.catbg th.last_th,
body.vice-action-unread .topic_table table.table_grid tr.titlebg th.first_th,
body.vice-action-unread .topic_table table.table_grid tr.titlebg th.last_th {
	height: 48px;
	padding: 12px 14px;
	line-height: 1.2;
	color: var(--vi-text);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--vi-border-strong);
}

body.vice-action-unread .topic_table table.table_grid td {
	padding: 13px 14px;
	color: var(--vi-text-2);
	background: var(--vi-surface);
	border: 0;
	border-right: 1px solid var(--vi-border);
	border-bottom: 1px solid var(--vi-border);
}

body.vice-action-unread .topic_table table.table_grid tr:last-child td {
	border-bottom: 0;
}

body.vice-action-unread .topic_table table.table_grid td:last-child {
	border-right: 0;
}

body.vice-action-unread .topic_table table.table_grid tr:hover td {
	background: rgba(20, 31, 48, 0.98);
}

body.vice-action-unread .topic_table .icon1,
body.vice-action-unread .topic_table .icon2 {
	width: 48px;
	padding-inline: 8px;
	text-align: center;
}

body.vice-action-unread .topic_table th.first_th {
	width: 96px;
}

body.vice-action-unread .topic_table td.subject {
	width: auto;
	min-width: 280px;
	font-size: 13px;
	line-height: 1.45;
}

body.vice-action-unread .topic_table td.subject p,
body.vice-action-unread .topic_table td.stats {
	margin: 4px 0 0;
	padding: 0;
	color: var(--vi-text-3);
	font-size: 12px;
}

body.vice-action-unread .topic_table td.subject > a,
body.vice-action-unread .topic_table td.subject strong a {
	color: var(--vi-text);
	font-weight: 700;
}

body.vice-action-unread .topic_table td.stats {
	width: 132px;
	text-align: center;
}

body.vice-action-unread .topic_table td.lastpost {
	width: 260px;
	padding: 13px 16px;
	color: var(--vi-text-3);
	font-size: 12px;
	line-height: 1.45;
}

body.vice-action-unread .topic_table td.lastpost a {
	color: var(--vi-text-2);
}

body.vice-action-unread .topic_table td.lastpost a:hover,
body.vice-action-unread .topic_table td.lastpost a:focus-visible {
	color: var(--vi-cyan);
}

body.vice-action-unread .topic_table th:has(input[type="checkbox"]),
body.vice-action-unread .topic_table td:has(input[type="checkbox"]) {
	width: 46px;
	min-width: 46px;
	padding-inline: 10px;
	text-align: center;
}

body.vice-action-unread input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--vi-cyan);
}

body.vice-action-unread .topic_table img {
	max-width: 44px;
	height: auto;
}

body.vice-action-unread .information {
	margin: 0;
	padding: 18px;
	color: var(--vi-text-2);
	background: var(--vi-surface);
	border: 1px solid var(--vi-border);
	border-radius: var(--vi-radius);
}

/* Header/navbar responsive behaviour is now unified with the home page in
   vice-dark-2026.css (single shared breakpoint set for both layouts), so
   the old standalone inner-shell navbar breakpoints that lived here have
   been removed. Only genuinely inner-page-specific responsive rules stay. */

/* Footer belongs to the same surface system on inner routes. */
body.vice-inner-shell #footer_section,
body.vice-inner-shell .footer {
	position: relative;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 24px;
	color: var(--vi-text-3);
	background: rgba(4, 6, 11, 0.94);
	border-top: 1px solid var(--vi-border);
}

@media (max-width: 1100px) {
	body.vice-inner-shell .board_row .lastpost,
	body.vice-inner-shell .topic_row .lastpost,
	body.vice-inner-shell td.lastpost {
		width: 220px;
	}
}

@media (max-width: 760px) {
	body.vice-inner-shell table,
	body.vice-inner-shell table.table_grid,
	body.vice-inner-shell .topic_table table,
	body.vice-inner-shell .boardindex_table table {
		table-layout: auto;
	}

	body.vice-inner-shell .board_row .stats,
	body.vice-inner-shell .topic_row .stats,
	body.vice-inner-shell td.stats,
	body.vice-inner-shell .board_row .lastpost,
	body.vice-inner-shell .topic_row .lastpost,
	body.vice-inner-shell td.lastpost {
		display: none;
	}

	body.vice-inner-shell .cat_bar,
	body.vice-inner-shell .title_bar,
	body.vice-inner-shell .windowbg,
	body.vice-inner-shell .windowbg2,
	body.vice-inner-shell .roundframe,
	body.vice-inner-shell .information,
	body.vice-inner-shell .generic_list_wrapper,
	body.vice-inner-shell .main_section,
	body.vice-inner-shell .profile_content,
	body.vice-inner-shell #profileview,
	body.vice-inner-shell .login,
	body.vice-inner-shell .register,
	body.vice-inner-shell .search_results {
		padding-left: 12px;
		padding-right: 12px;
	}

	body.vice-action-unread .pagesection {
		align-items: flex-start;
		flex-direction: column;
	}

	body.vice-action-unread .topic_table {
		overflow-x: auto;
	}

	body.vice-action-unread .topic_table table.table_grid {
		min-width: 620px;
	}
}

@media (max-width: 430px) {
	body.vice-inner-shell #wrapper,
	body.vice-inner-shell #content_section,
	body.vice-inner-shell #main_content_section {
		width: min(100% - 16px, 1280px);
	}

	body.vice-inner-shell #wrapper {
		padding-top: 14px;
	}

	body.vice-inner-shell th,
	body.vice-inner-shell td {
		padding: 10px 8px;
	}

	body.vice-inner-shell .board_row .icon,
	body.vice-inner-shell .topic_row .icon,
	body.vice-inner-shell td.icon {
		width: 42px;
	}
}
