.g735-side {
	--g735-primary: #1677ff;
	--g735-primary-soft: #edf5ff;
	--g735-hot: #ff6b4a;
	--g735-new: #7357e8;
	--g735-success: #22a06b;
	--g735-text: #1f2937;
	--g735-muted: #64748b;
	--g735-faint: #94a3b8;
	--g735-border: #e5eaf0;
	--g735-surface: #fff;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	color: var(--g735-text);
}

.g735-side *,
.g735-side *::before,
.g735-side *::after {
	box-sizing: border-box;
}

.g735-side-mobile {
	display: none;
}

.g735-side-desktop {
	display: grid;
	gap: 12px;
	width: 100%;
	margin: 0 0 12px;
}



.g735-side-card,
.g735-side-mobile-discovery {
	overflow: hidden;
	border: 1px solid var(--g735-border);
	border-radius: 12px;
	background: var(--g735-surface);
	box-shadow: 0 3px 14px rgba(15, 23, 42, .045);
}

.g735-side-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 52px;
	padding: 11px 13px;
	border-bottom: 1px solid var(--g735-border);
}

.g735-side-heading > div {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.g735-side-heading h2,
.g735-side-mobile-tags h3,
.g735-side-mobile-guide h3 {
	margin: 0;
	color: var(--g735-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.g735-side-heading small {
	color: var(--g735-faint);
	font-size: 10px;
	line-height: 1.4;
}

.g735-side-mark {
	display: inline-block;
	flex: 0 0 auto;
	width: 4px;
	height: 20px;
	border-radius: 4px;
	background: var(--g735-primary);
}

.g735-side-mark.is-content { background: var(--g735-hot); }
.g735-side-mark.is-tag { background: var(--g735-new); }
.g735-side-mark.is-guide { background: var(--g735-success); }

.g735-side-tab-heading {
	align-items: center;
}

.g735-side-tablist {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: row !important;
	align-items: center;
	gap: 3px;
	padding: 3px;
	border-radius: 7px;
	background: #f1f4f8;
}

.g735-side-tablist button {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 28px;
	padding: 4px 6px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var(--g735-muted);
	font-size: 11px;
	font-weight: 650;
	line-height: 1.3;
	cursor: pointer;
	white-space: nowrap;
}

.g735-side-tablist button.is-active {
	background: #fff;
	color: var(--g735-primary);
	box-shadow: 0 1px 4px rgba(15, 23, 42, .09);
}

.g735-side-panel[hidden] {
	display: none !important;
}

.g735-side-empty {
	margin: 0;
	padding: 18px 12px 20px;
	color: var(--g735-faint);
	font-size: 11px;
	line-height: 1.6;
	text-align: center;
}

.g735-side-list {
	list-style: none;
	margin: 0;
	padding: 4px 12px 8px;
}

.g735-side-list li {
	min-width: 0;
	padding: 8px 0;
	border-bottom: 1px dashed #e8ecf1;
}

.g735-side-list li:last-child {
	border-bottom: 0;
}

.g735-side-thread {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.g735-side-title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--g735-text) !important;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.g735-side-thread:hover .g735-side-title {
	color: var(--g735-primary) !important;
}

.g735-side-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	width: 64px;
	height: 44px;
	border: 1px solid #e6ebf1;
	border-radius: 7px;
	background: #edf2f7;
}

.g735-side-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g735-side-thumb.is-placeholder {
	background: linear-gradient(145deg, #eef5ff, #edf1f6);
}

.g735-side-thumb.is-placeholder::before,
.g735-side-thumb.is-placeholder::after {
	position: absolute;
	content: '';
}

.g735-side-thumb.is-placeholder::before {
	right: 13px;
	bottom: 9px;
	left: 13px;
	height: 16px;
	border-radius: 3px 3px 5px 5px;
	background: linear-gradient(135deg, transparent 36%, #a9bfd9 37% 58%, transparent 59%), linear-gradient(45deg, #c3d3e5 45%, transparent 46%);
}

.g735-side-thumb.is-placeholder::after {
	top: 9px;
	right: 13px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #91b2d7;
}

.g735-side-tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 12px;
}

.g735-side-tagcloud a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 29px;
	max-width: 100%;
	padding: 5px 8px;
	border: 1px solid #dce9fb;
	border-radius: 7px;
	background: #f2f7fe;
	color: #3972bd !important;
	font-size: 11px;
	font-weight: 650;
}

.g735-side-tagcloud a span {
	color: #91a1b7;
	font-size: 9px;
	font-weight: 400;
}

.g735-side-guide ul,
.g735-side-mobile-guide ul {
	list-style: none;
	margin: 0;
	padding: 7px 12px 10px;
}

.g735-side-guide li,
.g735-side-mobile-guide li {
	border-bottom: 1px dashed #e8ecf1;
}

.g735-side-guide li:last-child,
.g735-side-mobile-guide li:last-child {
	border-bottom: 0;
}

.g735-side-guide a,
.g735-side-mobile-guide a {
	display: block;
	padding: 9px 2px;
	color: var(--g735-text) !important;
	font-size: 12px;
	font-weight: 600;
}

@media (max-width: 1023px) {
	.g735-side-mobile {
		display: block;
		margin: 0 0 12px;
	}

	.g735-side-mobile-discovery {
		width: 100%;
	}

	.g735-side-mobile-discovery > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		min-height: 50px;
		padding: 10px 12px;
		color: var(--g735-text);
		cursor: pointer;
		list-style: none;
	}

	.g735-side-mobile-discovery > summary::-webkit-details-marker {
		display: none;
	}

	.g735-side-mobile-discovery > summary > span {
		display: flex;
		align-items: center;
		gap: 9px;
	}

	.g735-side-mobile-discovery > summary small {
		color: var(--g735-faint);
		font-size: 11px;
	}

	.g735-side-mobile-discovery > summary::after {
		width: 8px;
		height: 8px;
		margin-left: 2px;
		border-right: 1px solid #94a3b8;
		border-bottom: 1px solid #94a3b8;
		content: '';
		transform: rotate(45deg) translateY(-2px);
		transition: transform .2s ease;
	}

	.g735-side-mobile-discovery[open] > summary::after {
		transform: rotate(225deg) translate(-2px, -1px);
	}

	.g735-side-mobile-body {
		padding: 0 12px 12px;
		border-top: 1px solid var(--g735-border);
	}

	.g735-side-mobile .g735-side-tablist {
		margin: 10px 0 4px;
	}

	.g735-side-mobile .g735-side-list {
		padding-right: 0;
		padding-left: 0;
	}

	.g735-side-mobile .g735-side-list li:nth-child(n + 4) {
		display: none;
	}

	.g735-side-mobile-tags,
	.g735-side-mobile-guide {
		padding-top: 11px;
		border-top: 1px solid var(--g735-border);
	}

	.g735-side-mobile-tags h3,
	.g735-side-mobile-guide h3 {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 14px;
	}

	.g735-side-mobile-tags .g735-side-mark,
	.g735-side-mobile-guide .g735-side-mark {
		height: 18px;
	}

	.g735-side-mobile .g735-side-tagcloud {
		padding: 10px 0 12px;
	}

	.g735-side-mobile-guide ul {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (max-width: 359px) {
	.g735-side-mobile-discovery > summary small {
		display: none;
	}
}

@media (max-width: 767px) {
	/* Moderation lives in the author row on compact-media cards.  Once the
	   legacy action icons are hidden, move the checkbox to the edge and stop
	   reserving their 110px slot in the title row. */
	.dz-rwd-thread-cards--compact-media .dz-rwd-thread-card--compact-media.dz-rwd-thread-card--moderatable:not(.dz-rwd-thread-card--sticky) > .km_moderate {
		right: 0;
	}

	.dz-rwd-thread-cards--compact-media .dz-rwd-thread-card--compact-media.dz-rwd-thread-card--moderatable:not(.dz-rwd-thread-card--sticky) > .dz-rwd-compact-author .dz-rwd-compact-author__body {
		box-sizing: border-box;
		padding-right: 40px;
	}

	.dz-rwd-thread-cards--compact-media .dz-rwd-thread-card--compact-media.dz-rwd-thread-card--moderatable:not(.dz-rwd-thread-card--sticky) > .dz-rwd-thread-title {
		padding-right: 0;
	}

	/* Keep a normal thread's attribute row aligned with its title, not its avatar. */
	.dz-rwd-thread-cards--compact-media .dz-rwd-thread-card--compact-media:not(.dz-rwd-thread-card--sticky) > .dz-rwd-thread-meta {
		grid-column: 2;
		width: 100%;
	}

	/* Category first, read permission second, counters at the far right. */
	.dz-rwd-thread-cards .dz-rwd-thread-meta > .kmbgb.kmico_qx {
		display: inline-flex;
		order: 2;
		align-items: center;
		flex: 0 0 auto;
		margin: 0;
		white-space: nowrap;
	}
}
