/* Homepage AI chat presentation. Scoped to the homepage chat panel. */
.yangmao-home-chat {
	--ym-chat-green: #45b6f7;
	--ym-chat-dark: #45b6f7;
	--ym-chat-ink: #555;
	--ym-chat-line: #eee;
	margin: 0 0 28px;
	color: var(--ym-chat-ink);
}

/* Share the homepage category cards with single article sidebars. */
.home.blog .sidebar .widget_categories,
.single .sidebar .widget_categories {
	display: block !important;
}

.home.blog .widget_categories > ul,
.home.blog .widget_categories .wp-block-categories,
.single .widget_categories > ul,
.single .widget_categories .wp-block-categories {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
	gap: 8px;
	padding: 14px;
}

.home.blog .widget_categories > ul::before,
.home.blog .widget_categories > ul::after,
.home.blog .widget_categories .wp-block-categories::before,
.home.blog .widget_categories .wp-block-categories::after,
.single .widget_categories > ul::before,
.single .widget_categories > ul::after,
.single .widget_categories .wp-block-categories::before,
.single .widget_categories .wp-block-categories::after {
	display: none;
}

.home.blog .widget_categories > ul > li,
.home.blog .widget_categories .wp-block-categories > li,
.single .widget_categories > ul > li,
.single .widget_categories .wp-block-categories > li {
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home.blog .widget_categories li::marker,
.single .widget_categories li::marker {
	content: "";
}

.home.blog .widget_categories li > a,
.single .widget_categories li > a {
	display: flex;
	min-height: 42px;
	align-items: center;
	gap: 9px;
	padding: 8px 11px;
	border: 1px solid #e5ebdf;
	border-radius: 12px;
	background: #fff;
	color: #596750;
	font-size: 14px;
	line-height: 1.35;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.home.blog .widget_categories li > a::before,
.single .widget_categories li > a::before {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: #91bd58;
	content: "";
}

.home.blog .widget_categories li > a:hover,
.home.blog .widget_categories li > a:focus-visible,
.single .widget_categories li > a:hover,
.single .widget_categories li > a:focus-visible {
	transform: translateY(-1px);
	border-color: #a8ca7d;
	background: #f5f9ef;
	color: #426b31;
}

@media (max-width: 768px) {
	.home.blog .sidebar {
		display: block !important;
		float: none;
		clear: both;
		width: auto;
		margin: 16px 0 0;
	}

	.single .sidebar {
		display: block !important;
		float: none;
		clear: both;
		width: auto;
		margin: 16px 0 0;
	}
}

.yangmao-home-chat-panel {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 400px;
	overflow: hidden;
	border: 1px solid #d5e2ce;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(52, 85, 44, .1);
}

.yangmao-home-chat-prompts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 18px;
	border-right: 1px solid var(--ym-chat-line);
	background: #fbfcf9;
}

.yangmao-home-chat-prompts p {
	margin: 0 0 3px;
	color: #81907e;
	font-size: 13px;
	font-weight: 750;
}

.yangmao-home-chat-prompts button {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #e6ebe2;
	border-radius: 11px;
	background: #fff;
	color: #4d5b4b;
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.yangmao-home-chat-prompts button:hover,
.yangmao-home-chat-prompts button:focus-visible {
	border-color: #a8cd77;
	background: #f4faec;
	color: var(--ym-chat-dark);
	transform: translateY(-1px);
}

.yangmao-home-chat-prompts > span {
	margin-top: auto;
	padding-top: 14px;
	color: #98a194;
	font-size: 11px;
	line-height: 1.5;
}

.yangmao-home-chat-main,
.yangmao-home-chat-main .mwai-chatbot-container,
.yangmao-home-chat-main mwai-chatbot {
	min-width: 0;
	width: 100%;
	height: 100%;
}

.yangmao-home-chat-bar {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 76px;
	padding: 12px 22px;
	background: linear-gradient(105deg, #7ebc1e, #639f0e);
	color: #fff;
}

.yangmao-home-chat-avatar {
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
	font-size: 14px;
	font-weight: 850;
}

.yangmao-home-chat-identity {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.yangmao-home-chat-identity strong {
	font-size: 15px;
	font-weight: 800;
}

.yangmao-home-chat-identity small {
	color: rgba(255, 255, 255, .86);
	font-size: 12px;
}

.yangmao-home-chat-main .mwai-chatgpt-theme {
	--mwai-width: 100%;
	--mwai-maxHeight: none;
	--mwai-spacing: 16px;
	--mwai-borderRadius: 0;
	--mwai-fontColor: #555;
	--mwai-backgroundPrimaryColor: #fff;
	--mwai-backgroundSecondaryColor: #fff;
	--mwai-backgroundHeaderColor: #45b6f7;
	--mwai-headerColor: #fff;
	--mwai-accentColor: #45b6f7;
	--mwai-borderColor: #eaeaea;
	--mwai-conversationsBackgroundColor: #fff;
	--mwai-conversationsTextColor: #555;
	font-size: 14px;
}

.yangmao-home-chat-main .mwai-chat,
.yangmao-home-chat-main .mwai-window-box {
	min-height: 600px;
	height: auto !important;
	max-height: none !important;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-body {
	min-height: 600px;
	border-radius: 0;
	background: #fff;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header {
	min-height: 76px;
	padding: 14px 22px;
	background: linear-gradient(105deg, #7ebc1e, #639f0e);
	color: #fff;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header .mwai-name,
.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header .mwai-name * {
	color: #fff;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header .mwai-name {
	font-size: 16px;
	font-weight: 800;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation {
	max-height: none;
	min-height: 420px;
	height: auto;
	flex: 0 0 auto;
	padding: 16px 20px;
	overflow-x: hidden;
	overflow-y: visible;
	overscroll-behavior-y: contain;
	scrollbar-gutter: stable;
	scrollbar-color: #9cbd72 #edf3e7;
	scrollbar-width: thin;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation:not(:has(.mwai-reply:nth-child(2))) {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar {
	width: 9px;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-track {
	border-radius: 999px;
	background: #edf3e7;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb {
	border: 2px solid #edf3e7;
	border-radius: 999px;
	background: #9cbd72;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
	background: #719c3f;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-reply.mwai-ai {
	background: #f5f8f1;
	color: #455344;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input {
	margin: 12px 18px 16px;
	padding: 7px 8px 7px 15px !important;
	border: 1px solid #a9cd7b;
	border-radius: 999px;
	background: #f9fbf7;
	box-shadow: 0 0 0 3px rgba(126, 188, 30, .1);
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
	min-height: 36px;
	padding: 8px 3px;
	color: #455344;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder {
	color: #7e897a;
	opacity: 1;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input:has(textarea:placeholder-shown) .mwai-input-submit.mwai-has-content:not(.mwai-busy) {
	width: auto;
	min-width: 68px;
	padding: 0 9px;
	gap: 5px;
	border-radius: 999px;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input:has(textarea:placeholder-shown) .mwai-input-submit.mwai-has-content:not(.mwai-busy)::after {
	content: "清空";
	font-size: 12px;
	font-weight: 700;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input button {
	background: #77b51a;
	color: #fff;
}

@media (max-width: 760px) {
	.yangmao-home-chat {
		margin-bottom: 22px;
	}

	.yangmao-home-chat-panel {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 16px;
	}

	.yangmao-home-chat-prompts {
		order: 2;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 7px;
		padding: 12px;
		border-top: 1px solid var(--ym-chat-line);
		border-right: 0;
	}

	.yangmao-home-chat-prompts p {
		flex: 0 0 100%;
	}

	.yangmao-home-chat-prompts button {
		width: auto;
		max-width: 100%;
		padding: 8px 10px;
		border-radius: 999px;
		font-size: 12px;
	}

	.yangmao-home-chat-prompts > span {
		flex: 0 0 100%;
		margin-top: 0;
		padding-top: 2px;
	}

	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-body {
		min-height: 460px;
	}

	.yangmao-home-chat-main .mwai-chat,
	.yangmao-home-chat-main .mwai-window-box {
		min-height: 460px;
		height: auto !important;
	}

	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation {
		min-height: 300px;
		max-height: none;
		height: auto;
		flex: 0 0 auto;
		padding: 12px;
		overflow-y: visible;
	}

	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header {
		min-height: 64px;
		padding: 12px 16px;
	}

	.yangmao-home-chat-bar {
		min-height: 64px;
		padding: 10px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yangmao-home-chat-prompts button {
		transition: none;
	}
}

/* Landing page and independent public channels. */
.yangmao-homepage {
	position: relative;
	isolation: isolate;
	padding: 4px 0 24px;
}

.yangmao-homepage::before {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: clamp(620px, 47vw, 700px);
	background: url('../images/yangmao-home-background-v1.webp') center top / cover no-repeat;
	content: '';
	opacity: .84;
	pointer-events: none;
}

.yangmao-homepage > * {
	position: relative;
	z-index: 1;
}

.yangmao-home-intro {
	max-width: 1180px;
	margin: 0 auto 22px;
	padding: 8px 24px 0;
	text-align: center;
}

.yangmao-home-kicker {
	margin: 0 0 8px;
	color: #477b3e;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .08em;
}

.yangmao-home-intro h1 {
	margin: 0 0 8px;
	color: #244f2c;
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 820;
	line-height: 1.2;
	letter-spacing: -.035em;
}

.yangmao-home-intro > p:last-child {
	max-width: 850px;
	margin: 0 auto;
	color: #687a68;
	font-size: 16px;
}

.yangmao-home-chat.container,
.yangmao-home-section.container,
.yangmao-channel-page.container {
	width: min(1320px, calc(100% - 40px));
	max-width: 1320px;
}

.yangmao-home-chat.container {
	width: min(980px, calc(100% - 40px));
	max-width: 980px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.yangmao-home-chat {
	margin-bottom: 0;
}

.yangmao-home-chat-panel {
	display: block;
	min-height: 0;
	border-color: #cfe0c6;
	border-radius: 24px;
	box-shadow: 0 16px 42px rgba(52, 85, 44, .09);
}

.yangmao-home-chat-main {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.yangmao-home-chat-bar {
	min-height: 68px;
	border-radius: 23px 23px 0 0;
}

.yangmao-home-chat-main .mwai-chat,
.yangmao-home-chat-main .mwai-window-box {
	min-height: 600px;
	height: auto !important;
	max-height: none !important;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-body {
	display: flex;
	min-height: 600px;
	flex-direction: column;
	border-radius: 0;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation {
	width: 100%;
	min-height: 420px;
	max-height: none;
	height: auto;
	flex: 0 0 auto;
	overflow-y: visible;
	padding: 22px 28px 16px;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input {
	flex: 0 0 auto;
	margin: 14px 24px 20px;
	padding: 9px 10px 9px 18px !important;
}

.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
	min-height: 42px;
	font-size: 15px;
}

.yangmao-home-chat-prompts {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	padding: 0 34px 18px;
	border: 0;
	background: #fff;
}

.yangmao-home-chat-prompts p {
	flex: 0 0 100%;
	margin: 0;
}

.yangmao-home-chat-prompts button {
	width: auto;
	min-height: 42px;
	padding: 9px 15px;
	border-radius: 999px;
	font-size: 13px;
}

.yangmao-home-chat-prompts > span {
	margin: 0 0 0 auto;
	padding: 0;
}

.yangmao-home-section {
	margin: 0 auto 34px;
}

.yangmao-home-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
}

.yangmao-home-section-heading h2,
.yangmao-section-heading h1 {
	margin: 0;
	color: #315e2f;
	font-size: 24px;
	font-weight: 800;
}

.yangmao-home-section-heading p,
.yangmao-section-heading > p,
.yangmao-section-heading > span {
	margin: 3px 0 0;
	color: #7b897a;
	font-size: 13px;
}

.yangmao-home-section-heading > a {
	flex: 0 0 auto;
	color: #477b3e;
	font-size: 13px;
	font-weight: 700;
}

.yangmao-home-clue-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.yangmao-home-clue-card,
.yangmao-channel-card,
.yangmao-empty-state,
.yangmao-category-card {
	border: 1px solid #e2eadc;
	border-radius: 16px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 6px 20px rgba(50, 107, 45, .05);
}

.yangmao-home-clue-card {
	min-width: 0;
	padding: 17px 18px;
}

.yangmao-home-clue-meta,
.yangmao-channel-meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: #859083;
	font-size: 12px;
}

.yangmao-home-clue-card h3 {
	margin: 10px 0 6px;
	font-size: 16px;
	line-height: 1.45;
}

.yangmao-home-clue-card h3 a,
.yangmao-channel-card h2 a {
	color: #344338;
}

.yangmao-home-clue-card p,
.yangmao-channel-card p {
	margin: 0;
	color: #738071;
	font-size: 13px;
	line-height: 1.55;
}

.yangmao-empty-state {
	margin: 0;
	padding: 22px;
	color: #738071;
	text-align: center;
}

.yangmao-home-featured .promotion-coupon-topic {
	margin: 0;
	border: 0;
	background: transparent;
}

.yangmao-home-featured .promotion-coupon-topic-title {
	display: none;
}

.yangmao-home-featured .promotion-coupon-carousel {
	padding: 0;
}

.yangmao-home-featured .promotion-coupon-carousel-btn {
	display: none;
}

.yangmao-home-featured .promotion-coupon-carousel-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	transform: none !important;
}

.yangmao-home-featured .promotion-coupon-card {
	min-width: 0;
	padding: 12px;
	border: 1px solid #e2eadc;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(50, 107, 45, .05);
}

.yangmao-home-featured .promotion-coupon-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 10px;
}

.yangmao-home-featured .promotion-coupon-card:not(:has(img))::before {
	display: grid;
	height: 150px;
	place-items: center;
	border-radius: 10px;
	background: linear-gradient(135deg, #edf6e8, #f8f2df);
	color: #6c8c5f;
	content: "领券活动";
	font-size: 15px;
	font-weight: 700;
}

.yangmao-home-featured .promotion-coupon-card-title {
	padding: 10px 2px 2px;
	color: #344338;
	font-size: 15px;
	font-weight: 700;
}

.yangmao-category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.yangmao-category-chips a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #e0e9d9;
	border-radius: 999px;
	background: #fff;
	color: #4d6548;
	font-size: 13px;
}

.yangmao-category-chips span {
	color: #98a392;
	font-size: 11px;
}

.yangmao-channel-page {
	min-height: 60vh;
	margin: 0 auto 50px;
}

.yangmao-section-heading {
	margin: 0 0 22px;
	padding: 20px 24px;
	border: 1px solid #e2eadc;
	border-radius: 16px;
	background: #fff;
}

.yangmao-section-heading h1 {
	font-size: 30px;
}

.yangmao-channel-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.yangmao-channel-card {
	padding: 18px;
}

.yangmao-channel-card h2 {
	margin: 10px 0 8px;
	font-size: 17px;
	line-height: 1.45;
}

.yangmao-channel-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 700;
}

.yangmao-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.yangmao-category-card {
	display: flex;
	min-height: 74px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 14px 17px;
}

.yangmao-category-card strong {
	color: #315e2f;
}

.yangmao-category-card span {
	color: #879284;
	font-size: 12px;
}

.yangmao-channel-pagination {
	margin: 24px 0;
	text-align: center;
}

@media (max-width: 760px) {
	.yangmao-homepage { padding-top: 0; }
	.yangmao-home-intro { margin-bottom: 16px; padding: 0 18px; }
	.yangmao-home-kicker { font-size: 11px; }
	.yangmao-home-intro h1 { font-size: 27px; }
	.yangmao-home-intro > p:last-child { font-size: 14px; }
	.yangmao-home-chat.container,
	.yangmao-home-section.container,
	.yangmao-channel-page.container { width: calc(100% - 24px); }
	.yangmao-home-chat.container { width: calc(100% - 24px); }
	.yangmao-home-chat { margin-bottom: 0; }
	.yangmao-homepage::before {
		height: 800px;
		background-size: auto 800px;
		background-position: center top;
	}
	.yangmao-home-chat-panel { border-radius: 17px; }
	.yangmao-home-chat-bar { border-radius: 16px 16px 0 0; }
	.yangmao-home-chat-main .mwai-chat,
	.yangmao-home-chat-main .mwai-window-box {
		min-height: 500px;
		height: auto !important;
		max-height: none !important;
	}
	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-body { min-height: 500px; }
	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-conversation {
		min-height: 340px;
		max-height: none;
		height: auto;
		flex: 0 0 auto;
		overflow-y: visible;
		padding: 18px 15px 12px;
	}
	.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-input { order: 2; margin: 10px 12px 14px; }
	.yangmao-home-chat-prompts { order: 1; gap: 7px; padding: 0 14px 14px; }
	.yangmao-home-chat-prompts button { min-height: 36px; padding: 7px 11px; font-size: 12px; }
	.yangmao-home-chat-prompts > span { display: none; }
	.yangmao-home-section-heading { align-items: start; }
	.yangmao-home-section-heading h2 { font-size: 21px; }
	.yangmao-home-section-heading p { font-size: 12px; }
	.yangmao-home-clue-grid,
	.yangmao-home-featured .promotion-coupon-carousel-track { grid-template-columns: 1fr; }
	.yangmao-home-featured .promotion-coupon-card img,
	.yangmao-home-featured .promotion-coupon-card:not(:has(img))::before { height: 180px; }
	.yangmao-category-chips { gap: 7px; }
	.yangmao-category-chips a { min-height: 36px; padding: 7px 10px; font-size: 12px; }
	.yangmao-channel-list { grid-template-columns: 1fr; }
	.yangmao-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.yangmao-section-heading { padding: 16px; }
	.yangmao-section-heading h1 { font-size: 25px; }
}

/* Keep custom homepage and channel elements within the DUX visual language. */
.yangmao-homepage {
	padding: 0 0 24px;
}

.yangmao-homepage::before {
	display: none;
}

.yangmao-home-intro {
	display: none;
	max-width: none;
	margin: 0 0 15px;
	padding: 18px 20px;
	border: 1px solid #eaeaea;
	border-radius: 4px;
	background: #fff;
	text-align: left;
}

.yangmao-home-kicker,
.yangmao-home-section-heading > a,
.yangmao-channel-more {
	color: #45b6f7;
}

.yangmao-home-intro h1,
.yangmao-home-section-heading h2,
.yangmao-section-heading h1,
.yangmao-category-card strong {
	color: #555;
}

.yangmao-home-intro h1 {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0;
}

.yangmao-home-intro > p:last-child,
.yangmao-home-section-heading p,
.yangmao-section-heading > p,
.yangmao-section-heading > span {
	color: #999;
}

.yangmao-home-chat.container {
	width: min(1200px, calc(100% - 40px));
	max-width: 1200px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.yangmao-home-chat-panel,
.yangmao-home-clue-card,
.yangmao-channel-card,
.yangmao-empty-state,
.yangmao-category-card,
.yangmao-home-featured .promotion-coupon-card,
.yangmao-section-heading {
	border-color: #eaeaea;
	border-radius: 4px;
	box-shadow: none;
}

.yangmao-home-chat-bar,
.yangmao-home-chat-main .mwai-chatgpt-theme .mwai-header {
	background: #45b6f7;
}

.yangmao-home-chat-prompts button,
.yangmao-category-chips a,
.home.blog .widget_categories li > a,
.single .widget_categories li > a {
	border-color: #ddd;
	border-radius: 2px;
	color: #666;
}

.yangmao-home-chat-prompts button:hover,
.yangmao-home-chat-prompts button:focus-visible,
.yangmao-category-chips a:hover,
.home.blog .widget_categories li > a:hover,
.home.blog .widget_categories li > a:focus-visible,
.single .widget_categories li > a:hover,
.single .widget_categories li > a:focus-visible {
	border-color: #45b6f7;
	background: #f6f6f6;
	color: #45b6f7;
}

.home.blog .widget_categories > ul,
.home.blog .widget_categories .wp-block-categories,
.single .widget_categories > ul,
.single .widget_categories .wp-block-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 15px;
}

.home.blog .widget_categories > ul > li,
.home.blog .widget_categories .wp-block-categories > li,
.single .widget_categories > ul > li,
.single .widget_categories .wp-block-categories > li {
	margin-bottom: 0;
}

.home.blog .widget_categories li > a::before,
.single .widget_categories li > a::before {
	background: #bbb;
}

@media (max-width: 760px) {
	.yangmao-home-chat.container {
		width: calc(100% - 24px);
	}

	.yangmao-home-intro {
		margin: 0 0 12px;
		padding: 14px 16px;
	}

	.yangmao-home-intro h1 {
		font-size: 23px;
	}

	.yangmao-home-chat-panel,
	.yangmao-home-chat-bar {
		border-radius: 4px;
	}
}
