/* 4. 关键 CSS - 同步加载，防止 FOUC，优先渲染首屏 */
[x-cloak] {
	display: none !important;
}


body {
	top: 0 !important;
	position: relative !important;
	overflow-x: hidden;
}

::selection {
	background-color: var(--color-brand-cyan);
	/* 使用变量驱动颜色 */
	color: #ffffff;
}


.translated-ltr,
.translated-rtl {
	margin-top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.skiptranslate>iframe,
.goog-te-spinner-pos {
	display: none !important;
}

#google_translate_element,
#google_translate_element_mobile {
	display: none !important;
}

.gt-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid rgb(203 213 225);
	border-radius: 6px;
	padding: 4px 28px 4px 10px;
	font-size: 13px;
	font-weight: 500;
	color: rgb(100 116 139);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	transition: border-color 0.2s, color 0.2s;
}

.gt-select:hover,
.gt-select:focus {
	border-color: #0027A7;
	color: #0027A7;
	outline: none;
}

.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
	font-display: swap;
}


.bg-image {
	background-clip: padding-box;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
	background-blend-mode: normal;
}



#article-body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1f2937;
	/* Slate 800 */
	line-height: 1.8;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

#article-body p {
	margin-bottom: 1.6em;
}

#article-body h2 {
	font-family: inherit;
	color: #111827;
	/* Slate 900 */
	font-weight: 700;
	font-size: 24px;
	margin-top: 2.5em;
	margin-bottom: 1.25em;
	padding-left: 1rem;
	border-left: 5px solid #1c4295;
	line-height: 1.3;
}

#article-body h3 {
	font-weight: 700;
	font-size: 20px;
	color: #111827;
	margin-top: 2em;
	margin-bottom: 0.8em;
}

#article-body strong {
	color: #111827;
	font-weight: 700;
}

#article-body ul,
#article-body ol {
	margin-bottom: 1.6em;
	padding-left: 1.5rem;
}

#article-body li {
	margin-bottom: 0.6em;
	list-style-type: disc;
}

#article-body ol li {
	list-style-type: decimal;
}

#article-body img {
	border-radius: 12px;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	width: 100% !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

#article-body figcaption {
	text-align: center;
	color: #94a3b8;
	/* Slate 400 */
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 2.5rem;
	font-style: italic;
}

#article-body figcaption::before {
	content: "▲";
	font-size: 10px;
	margin-right: 6px;
	color: #cbd5e1;
	/* Slate 300 */
	vertical-align: middle;
}

#article-body a {
	color: #1c4295;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	font-weight: 500;
	transition: all 0.2s;
}

#article-body a:hover {
	color: #2563eb;
	text-decoration-thickness: 2px;
}

#article-body table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 2.5rem 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
	/* 像图片一样轻盈的阴影 */
}

#article-body thead {
	background-color: #f8fafc;
}

#article-body th,
#article-body td {
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 8px 12px;
	text-align: left;
}

/* 优化单元格边框交界处 */
#article-body th:last-child,
#article-body td:last-child {
	border-right: 0;
}

#article-body tbody tr:last-child td {
	border-bottom: 0;
}

#article-body th {
	font-weight: 700;
	color: #111827;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.05em;
}

#article-body tbody tr:hover {
	background-color: rgba(241, 245, 249, 0.5);
}

#article-body tbody td {
	color: #4b5563;
	/* Slate 600 */
}

/* TOC Active State Hack for better visibility */
.toc-link.bg-blue-50\/50 {
	border-left: 3px solid #1c4295 !important;
}