body.single {
	background-color: #f5f5f5;
	padding: 0;
	margin: 0;
}

body.single .site-content {
	background: #f5f5f5;
	padding: 2rem 0;
	padding-top: calc(2rem + 60px);
	width: 100%;
	display: block;
	clear: both;
	max-width: none;
	margin: 0;
}

.single-post {
	display: block;
	clear: both;
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	margin-bottom: 2rem;
	border: 1px solid #e8f0ff;
	position: relative;
}

.single-post .entry-header {
	margin-bottom: 2rem;
}

.single-post .post-title {
	font-size: 2rem;
	font-weight: 700;
	color: #333;
	line-height: 1.4;
	margin-bottom: 1.5rem;
}

.single-post .post-meta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #f0f0f0;
}

.single-post .author-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.9rem;
	color: #666;
}

.single-post .author-info .author-avatar {
	position: relative;
}

.single-post .author-info .author-avatar img {
	border-radius: 50%;
	width: 50px;
	height: 50px;
}

.single-post .author-info .author-name {
	font-weight: 600;
}

.single-post .author-info .post-date {
	color: #999;
}

.single-post .post-stats-header {
	display: flex;
	align-items: center;
	gap: 2rem;
	font-size: 0.85rem;
	color: #999;
	justify-content: flex-end;
}

.single-post .post-stats-header .stat-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.single-post .post-content {
	line-height: 1.8;
	color: #444;
	font-size: 1rem;
	margin-bottom: 2rem;
}

.single-post .post-content h2 {
	font-size: 1.5rem;
	margin: 2rem 0 1rem;
	color: #333;
	font-weight: 600;
}

.single-post .post-content h3 {
	font-size: 1.3rem;
	margin: 1.5rem 0 0.8rem;
	color: #333;
	font-weight: 600;
}

.single-post .post-content p {
	margin-bottom: 1.2rem;
}

.single-post .post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.single-post .post-content a {
	color: #ff6b35;
	text-decoration: none;
}

.single-post .post-content a:hover {
	text-decoration: underline;
}

.single-post .post-content ul,
.single-post .post-content ol {
	margin: 1rem 0;
	padding-left: 2rem;
}

.single-post .post-content li {
	margin-bottom: 0.5rem;
}

.post-license {
	padding: 1.5rem;
	background-color: #f9f9f9;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.post-license p {
	font-size: 0.85rem;
	color: #999;
	line-height: 1.6;
	margin: 0;
}

.post-divider {
	text-align: center;
	padding: 1rem 0;
	position: relative;
	margin-bottom: 2rem;
}

.post-divider::before,
.post-divider::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 45%;
	height: 1px;
	background-color: #eee;
}

.post-divider::before {
	left: 0;
}

.post-divider::after {
	right: 0;
}

.post-divider span {
	font-size: 0.9rem;
	color: #ccc;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.single-post .post-tags-section {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.single-post .post-tags-section .post-tag {
	font-size: 0.85rem;
	padding: 0.4rem 1rem;
	background-color: #f0f4ff;
	color: #4a6cf7;
	border-radius: 20px;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	transition: background-color 0.3s ease;
}

.single-post .post-tags-section .post-tag:hover {
	background-color: #e0e8ff;
}

.post-actions {
	text-align: center;
	padding: 2rem 0;
	border-top: 1px solid #f0f0f0;
}

.post-actions .action-title {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 1.5rem;
}

.post-actions .action-buttons {
	display: flex;
	justify-content: center;
	gap: 4rem;
}

.action-card {
	position: fixed;
	top: 95px;
	left: 220px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-radius: 15px;
	backdrop-filter: blur(15px);
	padding: 12px;
	background: rgba(243, 244, 245, 0.9); /*左侧按钮*/
	z-index: 1000;
}

.action-btn {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	padding: 10px;
	border-radius: 100%;
	transition: all 0.3s;
	box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3),
		inset 0 0 5px rgba(255, 255, 255, 0.5);
}

.action-btn:hover {
	transform: scale(1.1);
}

.action-btn.back-btn img {
	width: 16px;
	height: 16px;
}

.action-btn.bookmark-btn {
	position: relative;
}

.action-btn.bookmark-btn svg {
	width: 20px;
	height: 20px;
	fill: #9ca3af;
	stroke: #9ca3af;
	transition: all 0.3s;
}

.action-btn.bookmark-btn.bookmarked svg {
	fill: #fbbf24;
	stroke: #fbbf24;
	animation: star-enlarge 0.2s ease-out 1;
}

.action-btn.bookmark-btn .bookmark-count {
	position: absolute;
	top: -2px;
	right: -6px;
	font-size: 0.7rem;
	font-weight: 600;
	color: #666;
	background: rgba(255, 255, 255, 0.9);
	padding: 1px 5px;
	border-radius: 10px;
	min-width: 16px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn.bookmark-btn.bookmarked .bookmark-count {
	color: #f59e0b;
	background: rgba(251, 191, 36, 0.3);
}

@keyframes star-enlarge {
	0% {
		transform: scale(0.5);
	}
	100% {
		transform: scale(1.2);
	}
}

.post-navigation-section {
	margin-bottom: 2rem;
}

.post-navigation-wrapper {
	display: flex;
	gap: 2rem;
	padding: 1.5rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	border: 1px solid #e8f0ff;
}

.post-navigation-wrapper .nav-previous,
.post-navigation-wrapper .nav-next {
	flex: 1;
	padding: 1rem 0;
}

.post-navigation-wrapper .nav-previous {
	text-align: left;
	border-right: 1px solid #f0f0f0;
	padding-right: 2rem;
}

.post-navigation-wrapper .nav-next {
	text-align: right;
	padding-left: 2rem;
}

.post-navigation-wrapper a {
	text-decoration: none;
	color: #666;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.post-navigation-wrapper a:hover {
	color: #ff6b35;
}

.post-navigation-wrapper .meta-nav {
	font-size: 0.8rem;
	color: #999;
	display: block;
	font-weight: 500;
}

.post-navigation-wrapper .post-title {
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
}


.comments-wrapper {
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	border: 1px solid #e8f0ff;
}

.comments-area {
	display: block;
}

.comments-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #f0f0f0;
}

/* Comment list container */
.comment-list {
	padding: 0;
	margin: 0;
}

/* Comment item */
.comment-item {
	margin-bottom: 1rem;
}

/* Comment card */
.comment-card {
	background: #fff;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	border: 1px solid #f0f0f0;
	transition: box-shadow 0.2s ease;
}

.comment-card:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Reply card style */
.reply-card {
	background: #fafbfc;
	border-left: none;
}

/* Comment header */
.comment-header {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

/* Comment avatar */
.comment-avatar {
	flex-shrink: 0;
}

.comment-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

/* Comment info */
.comment-info {
	flex: 1;
	min-width: 0;
}

.comment-meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.comment-author-name {
	font-weight: 600;
	color: #333;
	font-size: 0.9rem;
}

/* Comment badges */
.comment-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 0.7rem;
	font-weight: 500;
}

.author-badge {
	background: #e6f7ed;
	color: #22c55e;
}

/* Like button */
.comment-like-btn {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	cursor: pointer;
	padding: 0;
	border-radius: 6px;
	transition: all 0.2s ease;
	color: #999;
}

.comment-like-btn:hover {
	color: #666;
}

.comment-like-btn.liked {
	color: #ff6b35;
}

.comment-like-btn svg {
	width: 16px;
	height: 16px;
}

.comment-like-btn .like-count {
	font-size: 0.8rem;
	font-weight: 500;
}

/* Dislike button */
.comment-dislike-btn {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	cursor: pointer;
	padding: 0;
	border-radius: 6px;
	transition: all 0.2s ease;
	color: #999;
}

.comment-dislike-btn:hover {
	color: #666;
}

.comment-dislike-btn.disliked {
	color: #666;
}

.comment-dislike-btn svg {
	width: 16px;
	height: 16px;
	transform: rotate(180deg);
}

.comment-dislike-btn .dislike-count {
	font-size: 0.8rem;
	font-weight: 500;
}

/* Comment body */
.comment-body {
	font-size: 0.9rem;
	color: #333;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	word-break: break-word;
}

/* Comment footer */
.comment-footer {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8rem;
	color: #999;
	padding-top: 0.5rem;
	border-top: 1px solid #f5f5f5;
}

.comment-time {
	color: #aaa;
}

.comment-action {
	cursor: pointer;
	transition: color 0.2s ease;
}

.comment-action:hover {
	color: #333;
}

.more-action {
	font-size: 1rem;
	letter-spacing: 2px;
}

/* Comment children */
.comment-children {
	margin-top: 1rem;
	padding-left: 1.5rem;
	border-left: 2px solid #f0f0f0;
}

.comment-children .comment-item {
	margin-bottom: 0.75rem;
}

/* Comment form */
.comment-form-wrapper {
	margin-top: 1.5rem;
	background: #ff0d0d;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	border: 1px solid #f0f0f0;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.comment-form-comment {
	position: relative;
}

.comment-form textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 0.9rem;
	transition: border-color 0.3s ease;
	resize: vertical;
	min-height: 100px;
	font-family: inherit;
	line-height: 1.5;
}

.comment-form textarea:focus {
	outline: none;
	border-color: #ccc;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Comment form toolbar */
.comment-form-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.form-toolbar-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.toolbar-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fff;
	color: #666;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.toolbar-btn:hover {
	border-color: #333;
	color: #333;
	background: #f5f5f5;
}

.toolbar-btn svg {
	width: 14px;
	height: 14px;
}

/* Submit button */
.comment-submit-field {
	display: flex;
	justify-content: flex-end;
}

.comment-form .submit,
.comment-form input[type="submit"] {
	background: #333;
	color: #fff;
	border: none;
	cursor: pointer;
	padding: 8px 24px;
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
	background: #555;
}

.comment-form .submit:disabled,
.comment-form input[type="submit"]:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Emoji panel */
.emoji-panel {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	border: 1px solid #e0e0e0;
	padding: 0.75rem;
	margin-bottom: 8px;
	z-index: 10;
}

.emoji-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.emoji-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 1.1rem;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.15s ease;
	user-select: none;
}

.emoji-item:hover {
	background: #f0f4ff;
}

/* Reply title */
.reply-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: #666;
}

.reply-title .cancel-reply {
	color: #999;
	text-decoration: none;
	font-size: 0.8rem;
}

.reply-title .cancel-reply:hover {
	color: #ff6b35;
}

/* Comment toast */
.comment-toast {
	position: fixed;
	top: 80px;
	left: 50%;
	transform: translateX(-50%) translateY(-20px);
	padding: 10px 20px;
	border-radius: 8px;
	color: #fff;
	font-size: 0.9rem;
	z-index: 9999;
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
}

.comment-toast.success {
	background: #22c55e;
}

.comment-toast.error {
	background: #ef4444;
}

.comment-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ============================================
   Douyin (TikTok) Style Comments
   ============================================ */

/* Remove comment card borders */
.douyin-comments .comment-card {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f0f0f0;
	border-radius: 0;
}

.douyin-comments .comment-card:hover {
	box-shadow: none;
}

.douyin-comments > .comment-item {
	margin-bottom: 0;
}

.douyin-comments .reply-card {
	background: transparent;
	border-left: none;
}

/* Comment header - Douyin style */
.douyin-comments .comment-header {
	gap: 0.75rem;
	margin-bottom: 0.25rem;
}

.douyin-comments .comment-avatar img {
	width: 40px;
	height: 40px;
}

.douyin-comments .comment-author-name {
	font-size: 0.85rem;
	color: #666;
	font-weight: 500;
	margin-bottom: 4px;
}

.douyin-comments .comment-meta-row {
	margin-bottom: 2px;
}

.douyin-comments .comment-badge {
	font-size: 0.65rem;
	padding: 1px 6px;
}

.douyin-comments .author-badge {
	background: #ff4d4f;
	color: #fff;
}

/* Comment body - Douyin style */
.douyin-comments .comment-body {
	font-size: 0.95rem;
	color: #333;
	line-height: 1.5;
	margin-bottom: 0.25rem;
	max-height: 6.4em;
	overflow: hidden;
	word-break: break-word;
	transition: max-height 0.3s ease;
}

.douyin-comments .comment-body img {
	max-width: 100%;
	max-height: 200px;
	border-radius: 8px;
	margin: 8px 0;
	object-fit: contain;
	background: #f5f5f5;
}

.douyin-comments .comment-body.expanded {
	max-height: none;
	overflow: visible;
}

.douyin-comments .comment-expand {
	display: inline-block;
	color: #666;
	cursor: pointer;
	font-size: 0.85rem;
	margin-left: 4px;
	margin-bottom: 4px;
}

.douyin-comments .comment-expand:hover {
	color: #333;
}

/* Comment footer - Douyin style */
.douyin-comments .comment-footer {
	border-top: none;
	padding-top: 0;
	font-size: 0.7rem;
	gap: 0.75rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.douyin-comments .comment-info > .toggle-replies-btn {
	display: inline-block;
	background: none;
	border: none;
	color: #666;
	font-size: 11px;
	font-weight: 400;
	cursor: pointer;
	padding: 0;
	margin-top: 4px;
	transition: color 0.2s;
	text-decoration: none;
	line-height: 1.4;
}

.douyin-comments .comment-info > .toggle-replies-btn:hover {
	color: #333;
	text-decoration: underline;
}

.douyin-comments .comment-time {
	color: #999;
	font-size: 0.7rem;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.douyin-comments .comment-action {
	color: #666;
	font-size: 0.7rem;
}

.douyin-comments .comment-action:hover {
	color: #333;
}

/* Like button - Douyin style */
.douyin-comments .comment-like-btn {
	padding: 0;
	gap: 2px;
	font-size: 0.7rem;
}

.douyin-comments .comment-like-btn svg {
	width: 14px;
	height: 14px;
}

.douyin-comments .comment-like-btn:hover {
	background: transparent;
	color: #666;
}

.douyin-comments .comment-like-btn.liked {
	color: #ff4d4f;
}

/* Dislike button - Douyin style */
.douyin-comments .comment-dislike-btn {
	padding: 0;
	gap: 2px;
	font-size: 0.7rem;
}

.douyin-comments .comment-dislike-btn svg {
	width: 14px;
	height: 14px;
}

.douyin-comments .comment-dislike-btn:hover {
	background: transparent;
	color: #666;
}

.douyin-comments .comment-dislike-btn.disliked {
	color: #666;
}

.douyin-comments .comments-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f0f0f0;
}

/* ============================================
   Douyin Style Comment Form
   ============================================ */

.douyin-comment-form {
	margin-top: 1.5rem;
	position: relative;
}

/* 只读账号（订阅者）：评论表单位置替换为一句说明 */
.bk-comment-readonly-notice {
	margin-top: 1.5rem;
	padding: 18px 20px;
	background: #f7f8fa;
	border: 1px dashed #dfe3e8;
	border-radius: 12px;
	text-align: center;
}

.bk-comment-readonly-notice p {
	margin: 0;
	color: #8a9099;
	font-size: 14px;
	line-height: 1.7;
}

.douyin-form {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	position: relative;
}

.douyin-form .douyin-avatar {
	flex-shrink: 0;
	margin-top: 6px;
	display: none !important;
}

/* 视频页面显示头像 */
body.single.single-video .douyin-form .douyin-avatar {
	display: block !important;
}

.douyin-form-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f1f2f3;
	border-radius: 20px;
	padding: 6px 14px;
	flex: 1;
}

.douyin-avatar img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.douyin-input-wrapper {
	flex: 1;
}

.douyin-input {
	width: 100%;
	border: none;
	background: transparent;
	outline: none;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
}

.douyin-input::placeholder {
	color: #999;
}

.douyin-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.douyin-emoji-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s;
}

.douyin-emoji-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.douyin-send-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: #ccc;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.2s;
	padding: 0;
}

.douyin-send-btn.active {
	background: #ff4d4f;
}

.douyin-send-btn svg {
	width: 18px;
	height: 18px;
}

.douyin-send-btn:hover:not(:disabled) {
	transform: scale(1.05);
}

/* Reply to indicator */
.douyin-reply-to {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 12px;
	color: #666;
	padding: 6px 12px;
	background: #f5f5f5;
	border-radius: 12px;
	width: fit-content;
}

.cancel-reply-btn {
	border: none;
	background: transparent;
	color: #ff4d4f;
	font-size: 12px;
	cursor: pointer;
	padding: 0;
}

/* ============================================
   Douyin Style Emoji Panel
   ============================================ */

.douyin-emoji-panel {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	z-index: 100;
}

.emoji-category-tabs {
	display: flex;
	justify-content: space-around;
	padding: 8px 12px;
	border-bottom: 1px solid #f0f0f0;
}

.emoji-tab {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s;
}

.emoji-tab:hover {
	background: #f5f5f5;
}

.emoji-tab.active {
	background: #f0f0f0;
}

.emoji-content {
	padding: 12px;
	max-height: 150px;
	overflow-y: auto;
}

.emoji-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.douyin-emoji-panel .emoji-item {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.15s;
	user-select: none;
}

.douyin-emoji-panel .emoji-item:hover {
	background: #f5f5f5;
}

/* ============================================
   Douyin Style Toast
   ============================================ */

.douyin-toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	padding: 12px 24px;
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	z-index: 9999;
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
	white-space: nowrap;
}

.douyin-toast.success {
	background: rgba(0, 0, 0, 0.8);
}

.douyin-toast.error {
	background: rgba(255, 77, 79, 0.9);
}

.douyin-toast.show {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   Reply Dialog - Douyin Style
   ============================================ */

.douyin-reply-dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.douyin-reply-dialog.show {
	opacity: 1;
	visibility: visible;
}

.reply-dialog-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.reply-dialog-content {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: 90%;
	max-width: 500px;
	padding: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.95);
	transition: transform 0.3s;
}

.douyin-reply-dialog.show .reply-dialog-content {
	transform: scale(1);
}

.reply-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.reply-dialog-close {
	border: none;
	background: transparent;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

.reply-dialog-close:hover {
	color: #333;
}

.reply-dialog-textarea {
	width: 100%;
	min-height: 100px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 12px;
	font-size: 14px;
	color: #333;
	resize: vertical;
	outline: none;
	font-family: inherit;
	line-height: 1.5;
}

.reply-dialog-textarea:focus {
	border-color: #ff4d4f;
}

.reply-dialog-textarea::placeholder {
	color: #999;
}

.reply-dialog-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 16px;
}

.reply-dialog-cancel {
	border: none;
	background: #f5f5f5;
	color: #666;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.reply-dialog-cancel:hover {
	background: #e5e5e5;
}

.reply-dialog-submit {
	border: none;
	background: #ccc;
	color: #fff;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}

.reply-dialog-submit.active {
	background: #ff4d4f;
}

.reply-dialog-submit:hover:not(:disabled) {
	opacity: 0.9;
}

.reply-dialog-submit:disabled {
	cursor: not-allowed;
}

/* ============================================
   Toggle Replies Button (moved to .comment-info above)
   ============================================ */

/* Replies container inside .comment-info - aligned with text, above border */
.douyin-comments .comment-info > .comment-children {
	border-left: none;
	padding-left: 0;
	margin-top: 8px;
	margin-left: 0;
	position: relative;
}

.douyin-comments .comment-info > .comment-children::before {
	display: none;
}

.douyin-comments .comment-info > .comment-children > .comment-item {
	margin-bottom: 8px;
}

.douyin-comments .comment-info > .comment-children > .comment-item:last-child {
	margin-bottom: 0;
}

/* Reply card - compact, no border inside parent card */
.douyin-comments .comment-info > .comment-children .comment-card {
	padding: 8px 0;
	border-bottom: 1px solid #f5f5f5;
}

.douyin-comments .comment-info > .comment-children .comment-item:last-child .comment-card {
	border-bottom: none;
}

/* Reply avatar - smaller */
.douyin-comments .comment-info > .comment-children .comment-avatar img {
	width: 28px !important;
	height: 28px !important;
}

.douyin-comments .comment-info > .comment-children .comment-header {
	gap: 8px;
	margin-bottom: 2px;
}

.douyin-comments .comment-info > .comment-children .comment-author-name {
	font-size: 12px;
	color: #666;
	font-weight: 500;
}

.douyin-comments .comment-info > .comment-children .author-badge {
	font-size: 10px;
	padding: 0 4px;
	line-height: 14px;
}

.douyin-comments .comment-info > .comment-children .comment-body {
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 2px;
}

.douyin-comments .comment-info > .comment-children .comment-footer {
	font-size: 10px;
	gap: 10px;
}

.douyin-comments .comment-info > .comment-children .comment-time,
.douyin-comments .comment-info > .comment-children .comment-action {
	font-size: 10px;
}

.douyin-comments .comment-info > .comment-children .comment-like-btn {
	font-size: 10px;
}

.douyin-comments .comment-info > .comment-children .comment-like-btn svg,
.douyin-comments .comment-info > .comment-children .comment-dislike-btn svg {
	width: 12px;
	height: 12px;
}

.douyin-comments .comment-info > .comment-children .comment-dislike-btn {
	font-size: 10px;
}

/* ============================================
   Reply Pagination
   ============================================ */

.reply-pagination {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid #f5f5f5;
	font-size: 11px;
	color: #666;
}

.reply-pagination .pagination-info {
	color: #999;
}

.reply-pagination .pagination-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.2s;
	color: #666;
	border: 1px solid transparent;
}

.reply-pagination .pagination-page:hover {
	background: #f5f5f5;
}

.reply-pagination .pagination-page.active {
	background: #333;
	color: #fff;
}

.reply-pagination .pagination-page.disabled {
	color: #ccc;
	cursor: not-allowed;
}

.reply-pagination .pagination-page.disabled:hover {
	background: transparent;
}

.reply-pagination .pagination-more {
	color: #999;
}

.reply-pagination .pagination-close {
	color: #666;
	cursor: pointer;
	margin-left: 6px;
	font-size: 11px;
}

.reply-pagination .pagination-close:hover {
	color: #333;
	text-decoration: underline;
}


