.article-layout {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
}

.article-content-area {
	width: 860px;
}

.article-sidebar {
	width: 300px;
}

h1 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
	margin-top: 7px;
	line-height: 1.4;
	color: #111;
}

.article-meta {
	font-size: 14px;
	color: #999;
	margin-bottom: 25px;
}

.article-content-area p {
	font-size: 17px;
	margin-bottom: 1.6em;
}

.art_info {
	display: flex;
	align-items: center;
	margin-bottom: 28px;
}

.art_info span {
	font-size: 15px;
	color: #999;
	margin-right: 20px;
}

.art_info a {
	color: #999;
}

.art_info a:hover {
    color: #6d3dd9;
}

#res-desc {
	color: #2e2e2e;
	line-height: 1.8;
	font-size: 16px;
	margin-bottom: 40px;
}

#res-desc img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1.5em auto;
}

#res-desc h3 {
	font-size: 1.4em;
	margin: 0;
	color: #1a1a1a;
	font-weight: 600;
}

#res-desc p {
	margin-bottom: 1.2em;
}

#res-desc a {
	color: #4a90e2;
	text-decoration: none;
	transition: all 0.3s ease;
}

#res-desc a:hover {
	color: #1c6cd9;
	border-bottom: 1px solid #1c6cd9;
}

#res-desc ul,
#res-desc ol {
	padding-left: 1.5em;
	margin-bottom: 1.2em;
}

#res-desc ul li,
#res-desc ol li {
	margin-bottom: 0.5em;
}

#res-desc ul li::marker {
	color: #4a90e2;
}

#res-desc ol li::marker {
	color: #4a90e2;
	font-weight: bold;
}

#res-desc blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	background-color: #f8f9fa;
	border-left: 4px solid #4a90e2;
	color: #555;
	font-style: italic;
}

.tags-share {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.a2a_svg {
	height: 25px !important;
	line-height: 25px !important;
	width: 25px !important;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tags::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 24px;
	background-image: url(/xgdn/img/tags.png);
	background-size: contain;
	background-position-y: 4px;
	background-repeat: no-repeat;
	margin-right: -4px;
	vertical-align: middle;
}

.tags a,.tags span {
	text-decoration: underline;
	font-size: 16px;
	color: #444;
}

.nav-links {
	margin: 25px 0;
	border-top: 1px solid #efefef;
	padding-top: 15px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 0.95rem;
}

.nav-links .pre-psy,.nav-links .next-psy {
	color: #888;
	font-size: 16px;
}

.nav-links a {
	color: #333;
	text-decoration: none;
}

.nav-links a:hover {
	text-decoration: underline;
}

/*问题*/
:root {
	--primary: #e46743;
	--border: #e5e7eb;
	--hover: #f7f8fa;
}

.card {
	margin: 0 auto 50px auto;
}

.card .qtitle {
	font-size: 18px;
    margin: 0 0 25px;
    color: #4b5563;
}

.card .question {
	margin-bottom: 24px;
}

.card .opt {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 15px 16px 17px 16px;
    margin: 12px 0;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.card .opt:hover {
	background: var(--hover);
}

.card .opt span {
    flex: 1;
    font-size: 17px;
    color: #666;
}

.card .opt input[type=radio] {
	width: 18px;
	height: 18px;
	margin-left: auto;
	accent-color: var(--primary);
}

.card .opt.selected {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(160,32,240,.15) inset;
}

.hidden {
	display: none !important;
}

.result {

}

.card button {
	background: #111;
	color: #fff;
	border: 0;
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 20px;
}

.card .actions {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
}

#submitBtn {
	background: var(--primary);
    margin: 20px auto;
    padding: 11px 40px;
    font-size: 15px;
}

#restartBtn {
    display: block;
    margin: 0 auto;
	background: var(--primary);
    padding: 11px 40px;
    font-size: 15px;
}

#prevBtn {
	background: #666;
    margin: 20px 0;
}

#loading {
	text-align: center;
}

#loading h3 {
	font-size: 25px;
	color: #333;
}

#loading p {
	color: #777;
}

#count {
	font-size: 48px;
	font-weight: bold;
	color: #ff7043;
	margin-top: 10px;
}

/*答题进度条*/
/* CSS */
.emoji-progress {
	position: relative;
	width: 100%;
	margin: 30px auto;
}

.emoji-progress progress {
	width: 100%;
	height: 2px;
	-webkit-appearance: none;
	appearance: none;
}

/* 进度条底色 */
.emoji-progress progress::-webkit-progress-bar {
	background: #fff;
	border-radius: 5px;
}

/* 进度条填充色（渐变） */
.emoji-progress progress::-webkit-progress-value {
	background: linear-gradient(to right, #f8d64e, #35c99a);
	border-radius: 5px;
}

.emoji-progress progress::-moz-progress-bar {
	background: linear-gradient(to right, #f8d64e, #35c99a);
	border-radius: 5px;
}

/* 小鸟图片（用CSS背景） */
.emoji-progress .emoji {
	position: absolute;
	top: -10px;
 /* 控制小鸟在进度条上方 */
	left: 0;
	width: 30px;
	height: 30px;
	background: url("/xgdn/img/bird.png") no-repeat center;
	background-size: contain;
	transition: left 0s ease;
	transform: scaleX(-1);
    margin-left: -15px;
}

/*广告*/
.auto-left-ad1,.auto-left-ad2 {
	border: none;
}