* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
	background-color: #0a0a1a;
	color: #e0e0ff;
	line-height: 1.6;
	padding: 20px;
	background-image: radial-gradient(circle at 20% 30%, rgba(30, 30, 70, 0.3) 0%, transparent 60%),
					  radial-gradient(circle at 80% 70%, rgba(40, 10, 60, 0.3) 0%, transparent 60%);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	background-color: rgba(10, 15, 30, 0.85);
	border-radius: 15px;
	padding: 30px 1%;
	box-shadow: 0 0 30px rgba(80, 60, 180, 0.2);
	border: 1px solid rgba(100, 100, 200, 0.1);
}

header {
	text-align: center;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(100, 100, 200, 0.2);
}

h1 {
	font-size: 2.5rem;
	color: #a0c0ff;
	margin-bottom: 15px;
	text-shadow: 0 0 10px rgba(100, 150, 255, 0.5);
}

h2 {
	font-size: 1.8rem;
	color: #80b0ff;
	margin: 30px 0 15px 0px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(100, 100, 200, 0.2);
}

h3 {
	font-size: 1.4rem;
	color: #70a0ff;
	margin: 25px 0 10px 0px;
}

h4 {
	font-size: 1.2rem;
	color: #6090ff;
	margin: 20px 0 10px 0px;
}

p {
	margin-bottom: 15px;
	text-align: justify;
}

t {
	color: #70a0ff;
	text-align: justify;
}

ul, ol {
	margin: 15px 0;
	padding-left: 30px;
}

li {
	margin-bottom: 8px;
}

.p2 {
	margin-left: 0px;
	text-indent: 2em;
}

.p3 {
	margin-left: 0px;
	text-indent: 2em;
}

.p4 {
	margin-left: 0px;
	text-indent: 2em;
}

.highlight {
	background-color: rgba(40, 60, 120, 0.3);
	padding: 15px;
	border-radius: 8px;
	border-left: 3px solid #6090ff;
	margin: 20px;
	padding-bottom: 1px;
}

.quote {
	font-style: italic;
	color: #b0d0ff;
	border-left: 3px solid #5070c0;
	padding-left: 15px;
	margin: 20px 0;
}

.section {
	margin-bottom: 40px;
}

.poem {
	text-align: center;
	font-style: italic;
	padding: 20px;
	background-color: rgba(20, 30, 60, 0.4);
	border-radius: 10px;
	margin: 25px 0;
	line-height: 1.8;
}

a {
	color: #4fc3f7; /* 使用柔和的蓝色替代默认的深绿色 */
	text-decoration: none;
	transition: color 0.3s ease, background-color 0.3s ease;
	padding: 2px 4px;
	border-radius: 3px;
}

a:hover {
	color: #81d4fa; /* 悬停时使用更亮的蓝色 */
	background-color: rgba(79, 195, 247, 0.1);
}

a:visited {
	color: #ba68c8; /* 已访问链接使用柔和的紫色 */
}

a:active {
	color: #29b6f6; /* 激活状态使用更亮的蓝色 */
}

.nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 30px 0;
}

.nav a {
	color: #80b0ff;
	text-decoration: none;
	padding: 8px 15px;
	border: 1px solid rgba(100, 150, 255, 0.3);
	border-radius: 20px;
	transition: all 0.3s;
}

.nav a:hover {
	background-color: rgba(100, 150, 255, 0.2);
	transform: translateY(-2px);
}

footer {
	text-align: center;
	margin-top: 50px;
	padding-top: 20px;
	border-top: 1px solid rgba(100, 100, 200, 0.2);
	font-size: 0.8rem;
	color: #8090c0;
}

/* AI问答区域样式 */
.ai-qa-section {
	margin: 40px 0;
	padding: 25px;
	background: rgba(20, 25, 50, 0.6);
	border-radius: 12px;
	border: 1px solid rgba(100, 150, 255, 0.2);
	display: none;
}

.ai-qa-section.show {
	display: block;
}

.qa-title {
	text-align: center;
	color: #90c0ff;
	margin-bottom: 25px;
	font-size: 1.5rem;
}

.question-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

.question-btn {
	background: rgba(40, 60, 120, 0.4);
	border: 1px solid rgba(100, 150, 255, 0.3);
	color: #a0c0ff;
	padding: 12px 18px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	font-size: 0.95rem;
	line-height: 1.4;
}

.question-btn:hover {
	background: rgba(60, 80, 160, 0.5);
	border-color: rgba(120, 170, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(80, 120, 255, 0.2);
}

.question-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.answer-area {
	background: rgba(15, 20, 40, 0.7);
	border: 1px solid rgba(80, 130, 255, 0.3);
	border-radius: 10px;
	padding: 20px 1.5%;
	min-height: 100px;
	margin-top: 20px;
	position: relative;
}

.answer-content {
	line-height: 1.7;
}

.loading {
	display: none;
	text-align: center;
	color: #90c0ff;
	padding: 20px;
}

.loading-dots:after {
	content: '';
	animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
	0%, 20% { content: ''; }
	40% { content: '.'; }
	60% { content: '..'; }
	80%, 100% { content: '...'; }
}

.error-message {
	color: #ff6b6b;
	text-align: center;
	padding: 20px;
}

.answer-header {
	color: #70a0ff;
	margin-bottom: 10px;
	font-weight: bold;
	border-bottom: 1px solid rgba(100, 150, 255, 0.2);
	padding-bottom: 5px;
}

/* AI触发按钮样式 */
.ai-trigger {
	cursor: pointer;
	color: #90c0ff;
	padding: 8px 16px;
	border: 1px solid rgba(100, 150, 255, 0.3);
	border-radius: 20px;
	transition: all 0.3s ease;
	background: rgba(40, 60, 120, 0.3);
}

.ai-trigger:hover {
	background: rgba(60, 80, 160, 0.4);
	border-color: rgba(120, 170, 255, 0.5);
}

.ai-trigger.loading {
	opacity: 0.7;
	cursor: wait;
}

/* qa-data.js中内容的样式 */
.question-original {
	background: rgba(120, 120, 120, 0.2);
	padding: 15px;
	margin: 10px 0;
	border-radius: 8px;
	color: #454545;
	line-height: 1.6;
}

.question-original strong {
	color: #444;
	display: block;
	margin-bottom: 10px;
	font-size: 1.1em;
}

.question-text {
	text-indent: 2em;
}

.question-paragraph {
	margin-bottom: 1em;
	text-indent: 2em;
}

.question-text p {
	margin-bottom: 1em;
	text-indent: 2em;
}

.back-to-index:hover {
	background: rgba(60, 80, 160, 0.4);
	border-color: rgba(120, 170, 255, 0.5);
	transform: translateY(-1px);
}
.ds-think-content .ds-markdown {
	font-size: 12px;
	color: #999999;
}

.ds-markdown h3 {
	color: #000;
	margin-left: 0px;
}

.answer-details .ds-markdown-paragraph {
	margin-bottom: 1em;
	line-height: 1.7;
}

.answer-details h3 {
	color: #70a0ff;
	margin: 1.5em 0 0.8em 0;
	border-bottom: 1px solid rgba(100, 150, 255, 0.2);
	padding-bottom: 0.3em;
}

.answer-details h4 {
	color: #6090ff;
	margin: 1.2em 0 0.6em 0;
}

.answer-details ul, .answer-details ol {
	margin: 1em 0;
	padding-left: 2em;
}

.answer-details li {
	margin-bottom: 0.5em;
}

.answer-details strong {
	color: #90c0ff;
}

.answer-details em {
	color: #b0d0ff;
	font-style: italic;
}

/* 滚动区域样式 */
.ds-scroll-area {
	position: relative;
	overflow: hidden;
}

.ds-scroll-area__gutters {
	pointer-events: none;
	z-index: 10;
}

.ds-scroll-area__horizontal-gutter,
.ds-scroll-area__vertical-gutter {
	position: absolute;
	border-radius: 5px;
}

.ds-scroll-area__horizontal-gutter {
	height: 10px;
	bottom: 0;
}

.ds-scroll-area__vertical-gutter {
	width: 10px;
	right: 0;
	top: 0;
}

.ds-scroll-area__horizontal-bar,
.ds-scroll-area__vertical-bar {
	position: absolute;
	background: rgba(230, 231, 232, 0.3);
	border-radius: 5px;
	transition: opacity 0.2s;
}

.ds-scroll-area__horizontal-bar {
	height: 100%;
	left: 0;
}

.ds-scroll-area__vertical-bar {
	width: 100%;
	top: 0;
}

blockquote {
	margin: 15px 0;
	padding: 10px;
	background: rgba(250, 250, 250, 0.4);
	border-left: 3px solid rgba(100, 150, 255, 0.5);
	border-radius: 6px;
	font-style: italic;
	color: #666;
	line-height: 1.7;
	text-align: center;
}

/* 表格样式 */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	border-radius: 8px;
	overflow: hidden;
}

th, td {
	padding: 12px 16px;
	text-align: left;
	border: 1px solid rgba(200, 200, 200, 0.2);
}

th {
	background: rgba(200, 200, 200, 0.6);
	color: #000000;
	font-weight: bold;
}

td {
	background:rgba(230, 230, 230, 0.3);
	color: #666666;
}

tr:hover td {
	/* background: rgba(50, 70, 140, 0.3); */
}

/* 特定颜色类 */
.c03cafe9 {
	/* 可以根据需要添加特定样式 */
}

/* 新增：悬浮按钮样式 */
.floating-buttons {
	position: fixed;
	right: 20px;
	right: var(--fix-right, 20px);
	bottom: var(--fix-bottom, 20px);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.floating-button {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(200, 220, 250, 0.9);
	border: 1px solid rgba(100, 150, 255, 0.5);
	color: #a0c0ff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
}

.floating-button:hover {
	background: rgba(150, 170, 200, 0.6);
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(80, 120, 255, 0.4);
}

.floating-button:active {
	transform: translateY(-1px);
}

.floating-button.hidden {
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}

/* 分享面板样式 */
.share-panel {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(15, 20, 40, 0.95);
	border: 1px solid rgba(100, 150, 255, 0.5);
	border-radius: 15px;
	padding: 25px;
	z-index: 1001;
	backdrop-filter: blur(15px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	max-width: 90%;
	width: 400px;
	display: none;
}

.share-panel.show {
	display: block;
}

.share-panel h3 {
	color: #90c0ff;
	margin-bottom: 20px;
	text-align: center;
}

.share-options {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 25px;
}

.share-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 10px;
	border-radius: 10px;
}

.share-option:hover {
	background: rgba(100, 150, 255, 0.1);
	transform: scale(1.05);
}

.share-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	background: rgba(100, 150, 255, 0.2);
}

.share-option span {
	font-size: 0.9rem;
	color: #b0d0ff;
}

.share-url {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.share-url input {
	flex: 1;
	padding: 10px;
	border: 1px solid rgba(100, 150, 255, 0.3);
	border-radius: 8px;
	background: rgba(10, 15, 30, 0.8);
	color: #e0e0ff;
}

.share-url button {
	padding: 10px 15px;
	background: rgba(100, 150, 255, 0.3);
	border: 1px solid rgba(100, 150, 255, 0.5);
	border-radius: 8px;
	color: #e0e0ff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.share-url button:hover {
	background: rgba(100, 150, 255, 0.5);
}

.close-share {
	display: block;
	width: 100%;
	padding: 10px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #e0e0ff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.close-share:hover {
	background: rgba(255, 255, 255, 0.2);
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	display: none;
	backdrop-filter: blur(5px);
}

.overlay.show {
	display: block;
}

/* 模态框基础样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 400px;
  padding: 24px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #333;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

#qrcode {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-url {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  word-break: break-all;
  text-align: center;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn.primary {
  background: #07C160;
  color: white;
}

.btn.primary:hover {
  background: #06a852;
}

.btn.secondary {
  background: #f5f5f5;
  color: #333;
}

.btn.secondary:hover {
  background: #e9e9e9;
}

.modal-footer {
  margin-top: 15px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
	body {
		padding: 10px;
	}
	
	h1 {
		font-size: 2rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	h3 {
		font-size: 1.3rem;
	}
	
	ul, ol {
		padding-left: 20px;
	}
	
	table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
	
	th, td {
		padding: 8px 12px;
		font-size: 0.9rem;
	}

	.question-list {
		grid-template-columns: 1fr;
	}

	.ai-qa-section {
		padding: 1%;
	}

	.header-flex {
		flex-direction: column;
		gap: 10px;
	}
	
	.floating-button {
		width: 45px;
		height: 45px;
		font-size: 1.1rem;
	}
	
	.share-panel {
		width: 95%;
		padding: 20px;
	}
	
	.share-options {
		gap: 15px;
	}
	
	.share-icon {
		width: 45px;
		height: 45px;
		font-size: 1.3rem;
	}
	
	.modal-content {
	    width: 95%;
	    padding: 20px;
	 }
	  
	#qrcode {
	    width: 180px;
	    height: 180px;
	}
}

/* 加载动画样式 */
.loading-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px 0;
	color: #b39ddb;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid #b39ddb;
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
	margin-bottom: 15px;
}

@keyframes rotation {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}