/* Xiuno-like forum index, header and footer stay from iscwo_homeland */
body.pg_index .main-container,
body.pg_index #main {
	background: transparent;
	--iscwo-xiuno-index-width: 100%;
}
body.pg_index .new {
	width: var(--iscwo-xiuno-index-width, 100%);
	max-width: 100%;
	margin: 18px auto 0;
	padding: 0 0 30px;
}
body.pg_index .iscwo-xiuno-index {
	width: 100%;
	margin: 0 auto;
}
body.pg_index .iscwo-xiuno-notice {
	height: 46px;
	line-height: 46px;
	margin: 0 0 12px;
	padding: 0 18px;
	background: #fff;
	border-radius: 4px;
	box-sizing: border-box;
	color: #1677ff;
	font-size: 14px;
	overflow: hidden;
}
body.pg_index .iscwo-xiuno-notice .fa {
	margin-right: 12px;
	font-size: 16px;
	vertical-align: -1px;
}
body.pg_index .iscwo-xiuno-notice ul,
body.pg_index .iscwo-xiuno-notice li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.pg_index .iscwo-xiuno-notice a {
	color: #1677ff;
	text-decoration: none;
}
body.pg_index .iscwo-xiuno-notice li em {
	margin-left: 5px;
	color: #8aa0bf;
	font-style: normal;
}
body.pg_index .iscwo-xiuno-notice > em {
	float: right;
	color: #8bbcff;
	cursor: pointer;
	font-style: normal;
	font-size: 18px;
}
body.pg_index .iscwo-xiuno-card {
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
}
body.pg_index .iscwo-xiuno-tabs {
	height: 62px;
	padding: 0 20px;
	border-bottom: 1px solid #f0f0f0;
	box-sizing: border-box;
}
body.pg_index .iscwo-xiuno-tabs a {
	display: inline-block;
	height: 62px;
	line-height: 62px;
	margin-right: 34px;
	color: #111;
	font-size: 14px;
	text-decoration: none;
}
body.pg_index .iscwo-xiuno-tabs a.active {
	color: #111;
	font-weight: 600;
}
body.pg_index .iscwo-xiuno-tabs a.active:after {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	margin: -15px auto 0;
	background: #1677ff;
	border-radius: 2px;
}
body.pg_index .iscwo-xiuno-topic {
	display: flex;
	align-items: center;
	min-height: 74px;
	padding: 9px 18px;
	border-bottom: 1px solid #f0f0f0;
	box-sizing: border-box;
}
body.pg_index .iscwo-xiuno-topic:last-child {
	border-bottom: 0;
}
body.pg_index .iscwo-xiuno-avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin-right: 14px;
}
body.pg_index .iscwo-xiuno-avatar img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	object-fit: cover;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-height: 48px;
	vertical-align: middle;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-icon,
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-avatar {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 48px !important;
	height: 48px !important;
	overflow: hidden !important;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-icon {
	background: transparent !important;
	border-radius: 0 !important;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-icon img {
	display: block !important;
	max-width: 48px !important;
	max-height: 48px !important;
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	object-fit: contain !important;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-avatar {
	background: var(--comiis-bgb,#f1f5f9) !important;
	border-radius: 4px !important;
}
body.pg_index .iscwo-xiuno-avatar .iscwo-sd-avatar img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	border-radius: 4px !important;
	object-fit: cover !important;
}
body.pg_index .iscwo-xiuno-main {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 15px;
}
body.pg_index .iscwo-xiuno-title {
	line-height: 22px;
	font-size: 15px;
	white-space: normal;
	overflow: hidden;
	word-break: break-all;
}
body.pg_index .iscwo-xiuno-title a {
	color: #111;
	text-decoration: none;
}
body.pg_index .iscwo-xiuno-title a:hover {
	color: #1677ff;
}
body.pg_index .iscwo-xiuno-title .fa {
	margin-right: 6px;
	color: #ff4d73;
	font-size: 14px;
}
body.pg_index .iscwo-xiuno-meta {
	height: 18px;
	line-height: 18px;
	color: #9aa1aa;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.pg_index .iscwo-xiuno-meta a {
	color: #6e7f99;
	font-weight: 600;
	text-decoration: none;
}
body.pg_index .iscwo-xiuno-meta span {
	margin-left: 6px;
}
body.pg_index .iscwo-xiuno-meta .iscwo-xiuno-published {
	color: #9aa1aa;
}
body.pg_index .iscwo-xiuno-meta .iscwo-xiuno-time {
	color: #9aa1aa;
}
body.pg_index .iscwo-xiuno-meta .iscwo-xiuno-time.xi1 {
	color: #ff4d3a;
}
body.pg_index .iscwo-xiuno-meta .fa {
	margin-right: 3px;
	color: #b7bec8;
}
body.pg_index .iscwo-xiuno-tags {
	display: block;
	min-height: 22px;
	margin-top: 4px;
	overflow: hidden;
	line-height: 22px;
}
body.pg_index .iscwo-xiuno-tags .iscwo-sd-wrap {
	display: inline-block;
	align-items: center;
	margin-right: 4px;
	vertical-align: middle;
	line-height: 20px;
	white-space: nowrap;
	word-break: keep-all;
	overflow: visible;
}
body.pg_index .iscwo-xiuno-tags .iscwo-sd-tag-wrap > span,
body.pg_index .iscwo-xiuno-tags span[title] {
	display: inline-block !important;
	max-width: none !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow: visible !important;
	text-align: center;
}
body.pg_index .iscwo-xiuno-tags img {
	width: 14px;
	height: 14px;
	margin-right: 3px;
	vertical-align: -2px;
}
body.pg_index .iscwo-xiuno-tags em {
	font-style: normal;
	margin-right: 3px;
}
body.pg_index .iscwo-xiuno-count {
	flex: 0 0 auto;
	min-width: 38px;
	height: 18px;
	line-height: 18px;
	padding: 0 9px;
	border-radius: 18px;
	background: #c2c8d3;
	color: #fff !important;
	font-size: 12px;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
}
body.pg_index .iscwo-xiuno-count:hover {
	background: #1677ff;
}
body.pg_index .iscwo-xiuno-empty {
	padding: 80px 20px;
	color: #9aa1aa;
	font-size: 14px;
	text-align: center;
}
body.pg_index .iscwo-xiuno-pages {
	margin: 18px 0 0;
	text-align: center;
}
body.pg_index .iscwo-xiuno-pages .pg,
body.pg_index .iscwo-xiuno-pages .pgb {
	float: none;
	display: inline-block;
}
body.pg_index .iscwo-xiuno-pages .pg a,
body.pg_index .iscwo-xiuno-pages .pg strong,
body.pg_index .iscwo-xiuno-pages .pgb a {
	display: inline-block;
	min-width: 34px;
	height: 34px;
	line-height: 34px;
	margin: 0 -1px 0 0;
	padding: 0 10px;
	border: 1px solid #dfe4ec;
	background: #fff;
	color: #1677ff;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}
body.pg_index .iscwo-xiuno-pages .pg strong,
body.pg_index .iscwo-xiuno-pages .pg a:hover {
	background: #1677ff;
	border-color: #1677ff;
	color: #fff;
}
/* Match the board filter's 14px gap, including the thread moderation tools. */
body.pg_viewthread #main > .new {
	padding-top: 14px;
}
body.pg_forumdisplay .sub-navbar.panel {
	background: #fff !important;
	border: 1px solid transparent !important;
	border-radius: 4px !important;
	box-shadow: 0 1px 1px rgba(0,0,0,0.05) !important;
	margin: 14px 0 22px !important;
	padding: 10px 0 26px !important;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills {
	display: block;
	gap: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0 0 0 10px;
	list-style: none;
	overflow: visible;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li {
	float: left;
	display: block;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn) > a:not(.btn) {
	position: relative;
	display: block;
	height: auto;
	line-height: 20px;
	padding: 5px 15px;
	background: transparent !important;
	border: 0 !important;
	color: #111 !important;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	border-radius: 4px;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn).active > a:not(.btn),
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn).active > a:not(.btn):hover {
	color: #fff !important;
	font-weight: 400;
	background: #337ab7 !important;
	background-color: #337ab7 !important;
	border-radius: 4px;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn) > a:not(.btn):hover {
	color: #111 !important;
	font-weight: 400;
	background: transparent !important;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn).active > a:not(.btn):after,
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li:not(.iscwo-forumdisplay-postbtn) > a:not(.btn):hover:after {
	content: none !important;
	display: none !important;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills .iscwo-forumdisplay-postbtn {
	margin-left: 2px;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li.iscwo-forumdisplay-postbtn > a.iscwo-forumdisplay-postlink {
	display: block !important;
	width: 120px;
	min-width: 120px;
	height: 30px;
	line-height: 18px;
	margin-left: 10px;
	padding: 5px 12px;
	border: 1px solid #0D54AB !important;
	border-radius: 4px;
	background: #356DD0 !important;
	background-color: #356DD0 !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 14px;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: none !important;
}
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li.iscwo-forumdisplay-postbtn > a.iscwo-forumdisplay-postlink:hover,
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li.iscwo-forumdisplay-postbtn > a.iscwo-forumdisplay-postlink:focus,
body.pg_forumdisplay .sub-navbar .filter.nav-pills > li.iscwo-forumdisplay-postbtn > a.iscwo-forumdisplay-postlink:active {
	border-color: #0D54AB !important;
	background: #356DD0 !important;
	background-color: #356DD0 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
}
body.pg_forumdisplay a.iscwo-forumdisplay-postlink:hover,
body.pg_forumdisplay a.iscwo-forumdisplay-postlink:focus,
body.pg_forumdisplay a.iscwo-forumdisplay-postlink:active {
	border-color: #0D54AB !important;
	background: #356DD0 !important;
	background-color: #356DD0 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
}
body.pg_forumdisplay a.iscwo-forumdisplay-postlink {
	border-color: #0D54AB !important;
	background: #356DD0 !important;
	background-color: #356DD0 !important;
	background-image: none !important;
	color: #fff !important;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter {
	clear: both;
	width: 100%;
	margin-top: 16px;
	overflow: hidden;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter .ptn {
	margin: 0 10px 10px 0;
	padding: 0 !important;
	border: 0 !important;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto;
	margin-bottom: -10px;
	overflow: hidden;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm tr {
	border-bottom: 0;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm th {
	width: 92px !important;
	padding: 12px 0 12px 10px !important;
	color: #111 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 21px !important;
	text-align: left !important;
	vertical-align: top !important;
	white-space: nowrap;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm td {
	padding: 12px 10px 12px 0 !important;
	color: #369 !important;
	font-size: 14px !important;
	line-height: 21px !important;
	vertical-align: top !important;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm .tbmu {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm .tbmu li {
	float: left;
	height: auto;
	line-height: 21px;
	margin: 0 4px 0 0 !important;
	padding: 0 4px !important;
	list-style: none;
	white-space: nowrap;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm .tbmu li a {
	display: inline !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #369 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 21px !important;
	text-decoration: none !important;
}
body.pg_forumdisplay .iscwo-forumdisplay-sortfilter table.tsm .tbmu li a:hover {
	color: #369 !important;
	text-decoration: underline !important;
}
body.pg_forumdisplay .iscwo-x5-topic-title .iscwo-x5-pin {
	display: inline-block;
	height: 18px;
	line-height: 18px;
	margin: 2px 8px 0 0;
	padding: 0 4px;
	border-radius: 3px;
	background-image: linear-gradient(100deg, #ff9300, #ff5000);
	color: #fff !important;
	font-size: 12px;
	font-weight: 400;
	text-decoration: none !important;
	vertical-align: middle;
	white-space: nowrap;
}
body.pg_forumdisplay .topics .topic {
	min-height: 0;
	padding-top: 6px;
	padding-bottom: 0;
	border-bottom: 0;
	position: relative;
}
body.pg_forumdisplay .topics .topic .infos {
	position: relative;
}
body.pg_forumdisplay .topics .topic .iscwo-x5-topic-tags {
	display: block;
	position: relative;
	padding-bottom: 4px;
}
body.pg_forumdisplay .topics .topic .iscwo-x5-topic-tags:after {
	content: "";
	position: absolute;
	right: -215px;
	bottom: 0;
	left: -58px;
	border-bottom: 1px solid #F0F0F0;
}
body.pg_forumdisplay .topics .topic .info {
	position: relative;
	padding-right: 100px;
}
body.pg_forumdisplay .topics .topic .info .iscwo-x5-topic-stats {
	position: absolute;
	top: 0;
	right: 0;
	height: 18px;
	line-height: 18px;
	white-space: nowrap;
}
body.pg_forumdisplay .topics .topic .info .iscwo-sd-tag,
body.pg_forumdisplay .topics .topic .info .iscwo-sd-tag-wrap > span {
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}
@media (max-width: 991px) {
	body.pg_index .new {
		width: auto;
		margin: 12px 12px 0;
	}
	body.pg_index .iscwo-xiuno-tabs a {
		margin-right: 24px;
	}
	body.pg_index .iscwo-xiuno-topic {
		padding: 10px 12px;
	}
	body.pg_index .reply-meta {
		display: none;
	}
}
