body {
	font-family: Inter, 'Noto Sans SC', 'Microsoft YaHei', sans-serif !important;
}

/* 强制全屏溢出隐藏，彻底解决手机端出现横向滚动条的问题 */
html, body {
	overflow-x: hidden !important;
	width: 100% !important;
}

.page-navigator {
	display: flex;
}

.page-navigator li {
	margin: 0 10px;
}

ol, p {
	margin: 0;
}

ol {
	list-style: none;
	padding: 0;
}

/* 滚动条美化 */
::-webkit-scrollbar {
	width: 6px;
}
::-webkit-scrollbar-corner {
	background: unset;
}
::-webkit-scrollbar-thumb {
	background: hsla(0, 0%, 52.9%, .4);
	border-radius: 6px;
}
::-webkit-scrollbar-track {
	background-color: #fff;
}

/* 头像与爱心 */
.avatar-img {
	height: 120px;
	width: 120px;
	object-fit: cover;
	border: rgba(255, 255, 255, .4) 4px solid;
}

.heart {
	background-color: #ff5162;
	display: inline-block;
	height: 30px;
	position: relative;
	top: 0;
	transform: rotate(-45deg);
	width: 30px;
}

.lover:hover .heart {
	animation: heartbeat 1s infinite;
}

.heart:before, .heart:after {
	content: "";
	background-color: #ff5162;
	border-radius: 50%;
	height: 30px;
	position: absolute;
	width: 30px;
}

.heart:before {
	top: -15px;
	left: 0;
}

.heart:after {
	left: 15px;
	top: 0;
}

@keyframes heartbeat {
	0% { transform: scale(1) rotate(-45deg); }
	20% { transform: scale(1.25) rotate(-45deg); }
	40% { transform: scale(1.5) rotate(-45deg); }
}

/* 桌面端默认容器 */
.lover-container {
	max-width: 500px;
	width: 100%;
	height: 50vh;
	margin: 0 auto;
}

.lover-background {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
	object-fit: cover;
	background-position: center;
	background-size: cover;
}

/* 取消点阵 Base64 蒙版，换成柔和透明暗度遮罩 */
.lover-background:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
}

.main-hero-header, .main-hero-waves-area {
	width: 100%;
	position: absolute;
	left: 0;
	z-index: 0;
}

.main-hero-waves-area {
	bottom: -5px;
}

.waves-area .waves-svg {
	width: 100%;
	height: 5rem;
}

.waves-area .parallax>use {
	-webkit-animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
	animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.waves-area .parallax>use:first-child {
	-webkit-animation-delay: -2s; animation-delay: -2s;
	-webkit-animation-duration: 7s; animation-duration: 7s;
	fill: hsla(0, 0%, 100%, .7);
}

.waves-area .parallax>use:nth-child(2) {
	-webkit-animation-delay: -3s; animation-delay: -3s;
	-webkit-animation-duration: 10s; animation-duration: 10s;
	fill: hsla(0, 0%, 100%, .5);
}

.waves-area .parallax>use:nth-child(3) {
	-webkit-animation-delay: -4s; animation-delay: -4s;
	-webkit-animation-duration: 13s; animation-duration: 13s;
	fill: hsla(0, 0%, 100%, .3);
}

.waves-area .parallax>use:nth-child(4) {
	-webkit-animation-delay: -5s; animation-delay: -5s;
	-webkit-animation-duration: 20s; animation-duration: 20s;
	fill: #fff;
}

@-webkit-keyframes move-forever {
	0% { -webkit-transform: translate3d(-90px, 0, 0); transform: translate3d(-90px, 0, 0); }
	to { -webkit-transform: translate3d(85px, 0, 0); transform: translate3d(85px, 0, 0); }
}

@keyframes move-forever {
	0% { -webkit-transform: translate3d(-90px, 0, 0); transform: translate3d(-90px, 0, 0); }
	to { -webkit-transform: translate3d(85px, 0, 0); transform: translate3d(85px, 0, 0); }
}

.lover-card-title {
	background: linear-gradient(to right, red, #00f);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.avatar-md img {
	width: 65px;
	height: 65px;
}

#loveList, .list-content {
	max-width: 650px;
	width: 100%;
}

#loveList section {
	display: block;
	padding-top: 50%;
	background-position: 50% 50%;
	background-color: #eee;
	background-repeat: no-repeat;
	background-size: cover;
}

.statusIcon {
	width: 18px;
	height: 18px;
	margin-right: .8rem;
}

.indexPlate a:hover {
	color: initial;
	text-decoration: none;
}

.indexPlate a {
	color: inherit;
}

.commentlist { clear: both; }

.commentlist .comment {
	clear: both;
	margin: 15px 0 20px 65px;
	position: relative;
}

.commentlist .comment .comment-avatar {
	position: absolute;
	left: -65px;
}

.commentlist .comment .comment-avatar .avatar {
	border-radius: 3px;
	width: 50px;
	height: 50px;
}

.commentlist .comment .comment_author {
	position: relative;
}

.commentlist .comment .comment-text {
	padding: 10px 0;
	color: #282828;
}

.commentlist .comment .comment_reply {
	display: block;
	text-align: right;
	margin: 0;
	font-size: 12px;
	color: #757e91;
}

.commentlist em {
	padding-left: 6px;
	color: #A8A8A8;
	font-size: 12px;
	font-style: normal;
}

.commentlist p {
	color: #3d464d;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 0;
}

.list-text {
	line-height: 2.2;
	text-align: center;
}

.bigfontNum {
	font-size: 3.5rem;
}

.indexPlate .card {
	margin-bottom: 1rem;
}

/* ==================== 手机移动端专属终极修复 ==================== */
@media screen and (max-width: 768px) {
	/* 1. 强制禁止整页左右滑动（解决手机屏幕右侧留白问题） */
	html, body {
		overflow-x: hidden !important;
		width: 100% !important;
		position: relative !important;
	}

	/* 2. 重置顶层容器，确保宽度不超出屏幕 */
	.lover-container {
		max-width: 100% !important;
		width: 100% !important;
		height: 35vh !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
		margin: 0 auto !important;
	}

	/* 3. 强制 Bootstrap row 不产生负边距 */
	.lover.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		display: flex !important;
		flex-wrap: nowrap !important; /* 强制在一行显示，不换行 */
		align-items: center !important;
		justify-content: space-around !important;
	}

	/* 4. 强制三个子列各占三分之一且不被撑大 */
	.lover > .col,
	.lover > [class*="col-"] {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		padding-left: 2px !important;
		padding-right: 2px !important;
	}

	/* 5. 缩小头像尺寸，适应小屏手机 */
	.avatar-img {
		height: 100px !important;
		width: 100px !important;
		border: rgba(255, 255, 255, .4) 2px solid !important;
	}

	/* 6. 缩小中间爱心尺寸 */
	.heart {
		width: 18px !important;
		height: 18px !important;
	}
	.heart:before, .heart:after {
		width: 18px !important;
		height: 18px !important;
	}
	.heart:before {
		top: -9px !important;
	}
	.heart:after {
		left: 9px !important;
	}

	/* 7. 缩小名字文字大小 */
	.lover h4 {
		font-size: 13px !important;
		margin-bottom: 0 !important;
	}

	.waves-area .waves-svg {
		width: 100% !important;
		height: 3rem !important;
	}

	.bigfontNum {
		font-size: 1.8rem !important;
	}

	.list-content {
		max-width: 100% !important;
		width: 92% !important;
	}
}

#article img {
	max-width: 100%;
}

/* Nprogress 加载条 */
#nprogress {
	pointer-events: none;
}

#nprogress .bar {
	background: #29d;
	position: fixed;
	z-index: 1031;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
}

#nprogress .peg {
	display: block;
	position: absolute;
	right: 0px;
	width: 100px;
	height: 100%;
	box-shadow: 0 0 10px #29d, 0 0 5px #29d;
	opacity: 1.0;
	transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
	display: block;
	position: fixed;
	z-index: 1031;
	top: 15px;
	right: 15px;
}

#nprogress .spinner-icon {
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border: solid 2px transparent;
	border-top-color: #29d;
	border-left-color: #29d;
	border-radius: 50%;
	animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
	overflow: hidden;
	position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
	position: absolute;
}

@keyframes nprogress-spinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}