/* ========================================
   Sicza Cube — 文章增强模块样式
   版权标识 + 评论可见
   ======================================== */

/* --- 版权标识 --- */
.sicza-copyright {
	margin: 32px 0 0;
	padding: 0;
}

/* 默认样式 */
.sicza-copyright__block {
	margin: 0;
	padding: 14px 20px;
	background: #f5f5f3;
	border-radius: 8px;
}

.sicza-copyright__block p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: #444;
}

.sicza-copyright__block a {
	color: #ff5e5e;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.sicza-copyright__block a:hover {
	border-bottom-color: #ff5e5e;
}

.sicza-copyright__label {
	font-weight: 700;
	color: #555;
}

/* 自定义内容容器 */
.sicza-copyright > :not(.sicza-copyright__block) {
	font-size: 13.5px;
	line-height: 1.7;
	color: #5c5a56;
}

.sicza-copyright blockquote {
	margin: 0;
	padding: 14px 20px;
	border-left: 4px solid #ff5e5e;
	background: rgba(255, 94, 94, 0.04);
	border-radius: 0 6px 6px 0;
}

/* --- 评论可见 — 容器 --- */
.sicza-reply-visible {
	margin: 16px 0;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

/* --- 评论可见 — 隐藏状态 --- */
.sicza-reply-visible--hidden {
	min-height: 280px;
}

.sicza-rv__content {
	filter: blur(12px);
	-webkit-filter: blur(12px);
	user-select: none;
	pointer-events: none;
	max-height: 200px;
	overflow: hidden;
	padding: 16px;
}

.sicza-rv__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		180deg,
		rgba(250, 250, 248, 0.7) 0%,
		rgba(250, 250, 248, 0.92) 30%,
		rgba(250, 250, 248, 0.97) 100%
	);
	z-index: 1;
}

.sicza-rv__card {
	text-align: center;
	padding: 28px 24px;
	background: #fff;
	border: 1px solid #e2e0db;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	max-width: 360px;
}

.sicza-rv__icon {
	font-size: 28px;
	display: block;
	margin-bottom: 10px;
}

.sicza-rv__text {
	font-size: 14px;
	color: #5c5a56;
	margin: 0 0 14px;
	line-height: 1.6;
}

.sicza-rv__link {
	display: inline-block;
	padding: 8px 24px;
	background: oklch(0.58 0.16 35);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 6px;
	font-size: 13.5px;
	font-weight: 500;
	border: none !important;
	transition: background 0.2s, transform 0.2s;
}

.sicza-rv__link:hover {
	background: oklch(0.52 0.18 35);
	color: #fff !important;
	transform: translateY(-1px);
}

/* --- 评论可见 — 已揭示状态 --- */
.sicza-reply-visible--revealed {
	padding: 0;
	animation: sicza-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sicza-reveal {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========================================
   Gutenberg 编辑器面板
   ======================================== */
.sicza-cube-editor-panel .sicza-cube-fi-section {
	font-size: 13px;
}

.sicza-cube-fi-preview {
	margin-bottom: 12px;
}

.sicza-cube-fi-preview img {
	display: block;
}

/* ========================================
   减弱动效
   ======================================== */
@media (prefers-reduced-motion: reduce) {
	.sicza-reply-visible--revealed {
		animation: none;
	}
	.sicza-rv__link,
	.sicza-copyright__block a {
		transition: none;
	}
}
