.comments{
	background: #fff;
}
.comments-container{
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}
.comments-form h2{
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 10px;
	color: #1d1d1f;
}
.comment-form-box{
	border: 1px solid rgba(0, 0, 0, .06);
	padding: 14px 16px;
	border-radius: 4px;
	position: relative;
}
.comment-form-user{
	margin-bottom: 8px;
}
.guest-fields{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.guest-fields label{
	display: block;
	width: calc(50% - 7px);
}
.guest-fields input{
	all: unset;
	box-sizing: border-box;
	cursor: auto;
	padding: 8px 10px;
	font-size: 12px;
	width: 100%;
	border-radius: 4px;
	background-color: #eee;
}
.comments-form .user-info{
	display: flex;
	align-items: center;
	gap: 10px;
}
.comments-form .user-info img{
	width: 24px;
	height: 24px;
	border-radius: 4px;
}
.comments-form .user-info .comment-form-author{
	color: #1d1d1f;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}
.comments-form textarea,
.reply-comment-form textarea{
	all: unset;
	box-sizing: border-box;
	display: block;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-y: auto;
	background-color: #eee;
	width: 100%;
	padding: 10px;
	border-radius: 4px;
	font-size: 15px;
	color: #1d1d1f;
}
.comment-form-captcha,
.reply-comment-form-captcha{
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	justify-content: flex-end;
}
.reply-comment-form-captcha{
	margin-top: 10px;
}
.comment-form-captcha img,
.reply-comment-form-captcha img{
	height: 30px;
  width: auto;
}
.comment-form-captcha button,
.reply-comment-form-captcha button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.comment-form-captcha button svg,
.reply-comment-form-captcha button svg{
	width: 18px;
	height: 18px;
}
.comment-form-captcha button svg path,
.reply-comment-form-captcha button svg path{
	fill: #1d1d1f;
}
.comment-form-captcha input,
.reply-comment-form-captcha input{
	all: unset;
	box-sizing: border-box;
	padding: 0 8px;
	border: 1px solid #eee;
	border-radius: 4px;
	font-size: 13px;
	height: 30px;
	width: 100px;
}
.comment-form-actions{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
}
.comment-form-btn{
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
.comment-form-btn button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
}
.comment-form-btn.emoji button{
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	text-align: center;
}
.comment-form-btn.emoji button:hover{
	opacity: .8;
}
.comment-form-btn.submit button{
	font-size: 13px;
  font-weight: 400;
  color: #fff;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  min-width: 100px;
  text-align: center;
  background: #2468de;
}
.comment-form-btn.submit button:hover{
	background-color: #0f5ada;
}
.comment-form-emoji-popup {
	display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  background-color: #fff;
  user-select: none;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 6px 20px #00000014;
  border-radius: 6px;
  max-width: max-content;
  position: absolute;
  top: 40px;
  transform: translateY(-100%);
  left: 0;
  z-index: 10;
}
.comment-form-emoji-popup span{
	font-size: 18px;
	cursor: pointer;text-align: center;
  line-height: 1.5;
  padding: 4px;
  border-radius: 4px;
}
.comment-form-emoji-popup span:hover{
	opacity: .8;
}
.comment-form-login-button{
	font-size: 15px;
	color: #1d1d1f;
	text-align: center;
	padding: 20px 0;
}
.comment-form-login-button a{
	color: #2468de;
	text-decoration: underline;
	font-weight: 600;
}
.comment-form-login-button a:hover{
	color: #0f5ada;
}
.comments-list{
	margin-top: 30px;
}
.comments-list ul{
	list-style: none;
	margin:0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.comments-list-head{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}
.comments-list-head .comments-count{
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.comments-list-head .comments-count span{
    font-weight: 600;
    line-height: 1.3;
}
.comments-list-head .comments-count span.text{
	font-size: 20px;
    color: #1d1d1f;
}
.comments-list-head .comments-count span.num{
	font-size: 15px;
  color: #777;
}
.comments-list-order-btn{
	display: flex;
	justify-content: space-between;
	gap: 6px;
	align-items: center;
}
.comments-list-order-btn button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	color: #8b8b8b;
	font-size: 12px;
	border: 1px solid #eee;
	padding: 0 10px;
	height: 24px;
	line-height: 22px;
	border-radius: 11px;
}
.comments-list-order-btn button:disabled{
	border-color: #2468de;
	background-color: #2468de;
	color: #fff;
	cursor: not-allowed;
}
.comment-item{
	display: flex;
	gap: 20px;
}
.comment-item-left{
	width: 50px;
}
.comment-item-left a,
.comment-item-left span{
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 4px;
	overflow: hidden;
}
.comment-item-left img{
	width: 100%;
	height: 100%;
}
.comment-item-right{
	width: calc(100% - 70px);
}
.comment-header .author,
.comment-parent-from .author{
	font-size: 15px;
	color: #1d1d1f;
	line-height: 1.3;
	font-weight: 600;
	text-decoration: none;
}
.comment-meta{
	display: flex;
	gap: 10px;
	font-size: 13px;
	color: #9499a0;
	margin-top: 6px;
}
.comment-parent{
	padding: 10px;
	border-radius: 5px;
	background-color: #eee;
	color: #1d1d1f;
	font-size: 15px;
	padding: 10px 14px;
	margin-top: 10px;
	opacity: .8;
}
.comment-parent-from{
	display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}
.comment-parent-from img{
	width: 20px;
	height: 20px;
	border-radius: 2px;
}
.comment-parent-from > a,
.comment-parent-from > div{
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.comment-content{
	margin-top: 10px;
	white-space: pre-line;
	font-size: 15px;
	line-height: 1.5;
	color: #1d1d1f;
}
.comment-actions{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}
.comment-actions .ua-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #9499a0;
	gap: 4px;
}
.comment-actions .ua-icon svg{
	width: 14px;
	height: 14px;
}
.comment-actions .ua-icon svg path{
	fill: #9499a0;
}
.comment-actions button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	color: #1d1d1f;
	font-weight: 600;
	font-size: 14px;
}
.comment-actions button:hover{
	color: #2468de;
}
.reply-comment-form-open{
	margin-top: 20px;
}
.reply-comment-form-box .guest-reply-comment-form-box,
.reply-comment-form-box .logged-reply-comment-form-box{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.guest-reply-comment-form-box-with-email{
  position: relative;
}
.guest-reply-comment-form-box-with-email .guest-fields{
	margin-bottom: 8px;
}
.reply-comment-form-box .user-info{
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 4px;
}
.reply-comment-form-box .user-info img{
	width: 100%;
	height: 100%;
}
.reply-comment-form-right{
	width: calc(100% - 50px);
	position: relative;
}
.reply-comment-form-actions{
	  display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.reply-comment-form-btn{
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
.reply-comment-form-btn button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
}
.reply-comment-form-btn.emoji button{
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	text-align: center;
}
.reply-comment-form-btn.emoji button:hover{
	opacity: .8;
}
.reply-comment-form-btn.submit button{
	font-size: 13px;
  font-weight: 400;
  color: #fff;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  min-width: 100px;
  text-align: center;
  background: #2468de;
}
.reply-comment-form-btn.submit button:hover{
	background-color: #0f5ada;
}
.reply-comment-form-emoji-popup {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* 每行 10 列，等宽分布 */
  gap: 2px;
  background-color: #fff;
  user-select: none;
  padding: 6px;
	border: 1px solid rgba(0,0,0,.1);
	box-shadow: 0 6px 20px #00000014;
  border-radius: 6px;
  max-width: max-content;
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  left: 0;
  z-index: 10;
}
.reply-comment-form-emoji-popup span{
	font-size: 18px;
	cursor: pointer;text-align: center;
  line-height: 1.5;
  padding: 4px;
  border-radius: 4px;
}
.reply-comment-form-emoji-popup span:hover{
	opacity: .8;
}
/*分页*/
.list-pagination{
	padding: 40px 0;
}
.list-pagination .pagination{
	margin: 0;
	padding: 0;
}
.list-pagination .pagination{
	display: flex;
	gap: 5px;
	justify-content: center;
}
.list-pagination .pagination button{
  all: unset; /* 清除所有默认样式 */
  display: block; /* 让它像 div 一样是块级元素 */
  width: 100%; /* 可选，设置宽度为100%（视需要） */
  height: auto; /* 高度自动调整（视需要） */
  background: none; /* 去掉背景 */
  border: none; /* 去掉边框 */
  padding: 0; /* 去掉内边距 */
  margin: 0; /* 去掉外边距 */
  text-align: left; /* 可选，根据需要对齐文本 */
}
.list-pagination .pagination span{
	display: flex;
    align-items: center;
    justify-content: center;
}
.list-pagination .pagination button{
	font-size: 15px;
    line-height: 26px;
    height: 26px;
    padding: 0 8px;
/*    border: 1px solid #e1e1e1;*/
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    color: #1d1d1f;
    font-weight: 400;
}
.list-pagination .pagination button:disabled{
	cursor: not-allowed;
	color: #9e9e9e;
/*	border-color: #e1e1e1;*/
}
.list-pagination .pagination button.active{
	background-color: #1772f6;
	color: #fff;
	font-weight: 600;
}
.list-pagination .pagination button:not(.active):hover{
	background-color: #eee;
}
.comments .no-comment{
	padding: 10px 0 20px;
  text-align: center;
  font-size: 15px;
  color: #8b8b8b;
}
@media(max-width: 430px){
	.comment-form-box{
		padding: 0;
		border:none;
		border-radius: 0;
	}
	.comment-item{
		gap: 10px;
	}
	.comment-item-left{
		width: 36px;
	}
	.comment-item-left a, 
	.comment-item-left span{
		width: 36px;
		height: 36px;
	}
	.comment-item-right{
		width: calc(100% - 46px);
	}
	.guest-reply-comment-box .reply-comment-form-left{
		display: none;
	}
	.guest-reply-comment-box .reply-comment-form-right{
		width: 100%;
	}
	.comment-form-emoji-popup,
	.reply-comment-form-emoji-popup{
		width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
	}
	.reply-comment-form-box .reply-comment-form-left{
		display: none;
	}
	.reply-comment-form-right{
		width: 100%;
	}
}

/*加载动画*/
.loading{
	width: 100%;
	background-color: #fff;
	border-radius: 4px;
	margin-top: 20px;
}
.loading-feed{
	margin-bottom: 10px;
}
.loading-box{
	min-height: 200px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.loading-spinner {
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
}
.loading-spinner span {
	width: 8px;
	height: 8px;
	background: #333;
	border-radius: 50%;
	animation: bounce 0.6s infinite alternate;
}
.loading-spinner span:nth-child(2) {
	animation-delay: 0.2s;
}
.loading-spinner span:nth-child(3) {
	animation-delay: 0.4s;
}
@keyframes bounce {
	from {
		transform: translateY(0);
		opacity: 0.5;
	}
	to {
		transform: translateY(-8px);
		opacity: 1;
	}
}
@media(max-width: 734px){
	.loading{
		margin-top: 10px;
	}
}