.reply-all-content {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
}
.reply-top-title{
	padding: 8px 18px;
	border-bottom: 1px solid rgb(242, 242, 242);
}
.reply-top-title h2{
	font-size: 18px;
	color: #1d1d1f;
	line-height: 1.5;
	text-align: center;
	margin: 0;
	font-weight: 400;
}

.reply-box{
	padding: 24px 18px;
}

.parent-topic{
	padding: 8px 12px;
	border-radius: 4px;
	background-color: #eee;
	color: #777;
	margin-bottom: 14px;
	font-size: 15px;
}
.parent-topic a{
	color: #1d1d1f;
	font-weight: 600;
}
.forums-box .from {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 24px;
    line-height: 24px;
    background-color: #f6f7f9;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 12px;
    overflow: hidden;
    color: #1d1d1f;
}
.forums-box{
	margin-bottom: 14px;
}

.reply-top{
	width: 100%;
	display: flex;
	justify-content: space-between;
    align-items: center;
}
.reply-avatar a {
    width: 52px;
    aspect-ratio: 1 / 1;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}
.reply-avatar a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reply-top .r{
	width: calc(100% - 72px);
}
.reply-author {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 4px;
}
.reply-author a{
	color: inherit;
}
.reply-author a:hover{
	color: #0f5ada;
}
.reply-release {
    color: #9499a0;
    line-height: 1.3;
    font-size: 13px;
}
.reply-bottom{
	padding-left: 72px;
}
.reply-content{
	line-height: 1.5;
    font-size: 15px;
    color: #333;
    white-space: pre-line;
    margin-bottom: 14px;
    word-break: break-all;
}
.reply-triggers{
	display: flex;
	gap: 14px;
	align-items: center;
}
.reply-triggers button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	color: #777;
	display: flex;
	align-items: center;
	gap: 4px;
}
.reply-triggers button svg path{
	fill: #777;
}
.reply-flat-children{
	padding-left: 72px;
	padding: 16px 18px;
	background-color: #ededed;
	border-radius: 5px;
	margin-top: 20px;
	margin-inline-start: 72px;
	display: flex;
    flex-direction: column;
    gap: 20px;
}
.reply-child .reply-avatar a{
	width: 34px;
}
.reply-child .reply-top .r{
	width: calc(100% - 44px);
}
.reply-child .reply-bottom{
	padding-left: 44px;
}
.reply-child .reply-author{
	display: flex;
	gap: 0;
	align-items: center;
}
.reply-child .to{
	display: flex;
	align-items: center;
	justify-content: center;
}
.reply-child .to svg path{
	fill: #8d8d8d;
}
.reply-child .reply-to-nickname{
	font-weight: 400;
	color: #777;
	font-size: 14px;
}
.reply .image-box{
	margin-bottom: 14px;
}
.reply .image-box .reply-image {
	width: 130px;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
}
.reply .image-box .reply-image.active{
	width: 100%;
	cursor: zoom-out;
	aspect-ratio: auto;
}
.reply .image-box .reply-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.replies-control{
	border-top: 1px solid rgb(242, 242, 242);
	padding: 16px 18px;
}
/*子表单*/
.sub-form{
	margin-top: 14px;
}
.sub-form .form-box{
	display: flex;
	justify-content: space-between;
}
.sub-form .form-box .form-l{
	display: none;
}
.sub-form .form-box .form-l a{
	width: 34px;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 2px;
	overflow: hidden;
}
.sub-form .form-box .form-l a img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sub-form .form-box .form-r{
	width: calc(100% - 44px);
	width: 100%;
	position: relative;
}
.sub-form .reply-input{
    padding: 6px 11px;
    background: #f0f1f4;
    border: 1px solid #f0f1f4;
    border-radius: 6px;
    line-height: 0;
}
.reply-flat-children .sub-form .reply-input{
    background-color: #fff;
    border-color: #fff;
}
.sub-form .reply-input.focus{
	border-color: #ff0000;
	background-color: #fff;
}
.sub-form .reply-input textarea {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    overflow: hidden;
	line-height: 1.5;
	min-height: 1.5em; /* 保证1行高度 */
    font-size: 15px;
    color: #333;
    resize: none;
    max-height: 200px;
    box-sizing: content-box;
    padding-right: 10px;
    overflow-y: auto;
}
.sub-form .reply-actions{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
}
.sub-form .reply-actions button{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sub-form .reply-actions .other{
	display: flex;
	align-items: center;
	gap: 10px;
}
.sub-form .reply-actions .submit{
	display: flex;
	align-items: center;
	gap: 10px;
}
.sub-form .reply-actions .emoji-btn button{
	font-size: 15px;
}
.sub-form .image-selected{
	width: 90px;
	aspect-ratio: 1 / 1;
	position: relative;
	margin-top: 12px;
}
.sub-form .image-selected button{
	all: unset;
    box-sizing: border-box;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    position: absolute;
    right: 6px;
    top: 6px;
}
.sub-form .image-selected .image-selected-img{
	width: 100%;
	height: 100%;
	border-radius: 4px;
	overflow: hidden;
}
.sub-form .image-selected .image-selected-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sub-form .reply-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: 0;
    transform: translateY(-100%);    
    left: 0;
    z-index: 10;
}
.sub-form .reply-form-emoji-popup span{
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    line-height: 1.5;
    padding: 4px;
    border-radius: 4px;
}
.sub-form .reply-input-count{
	color: #939393;
	font-size: 14px;
	line-height: 1.3;
}
.sub-form .reply-input-count.exceed{
	color: #ff0000;
}
.sub-form .submit button{
	font-size: 13px;
    font-weight: 400;
    color: #fff;
    height: 28px;
    line-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    min-width: 64px;
    text-align: center;
    background: #2468de;
}
.sub-form .submit button:disabled{
	opacity: .5;
	cursor: not-allowed;
}


@media(max-width: 734px){
	.reply-top-title h2{
		font-size: 15px;
	}
	.topic-avatar a,
	.reply-avatar a{
		width: 40px;
	}
	.topic-top .r{
		width: calc(100% - 48px);
	}
	.bbp-container .topic .topic-middle{
		padding-left: 48px;
	}
	.reply-box .reply-top .r{
		width: calc(100% - 48px);
	}
	.reply-box .reply-bottom{
		padding-left: 48px;
	}
	.reply-item{
		padding: 16px 18px;
	}
	.sub-form .reply-form-emoji-popup{
		width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
	}
}