/* ==========================================================================
   樱花主题（html.lie-light）—— 浅色樱花粉版，与深色主题一键切换
   实现方式：在 html.lie-light 上覆盖 CSS 变量，整体切换为樱花粉色调
   配套：樱花花瓣飘落特效（sakura.js）
   ========================================================================== */

html.lie-light {
	--color-bg:            #fdf5f7;
	--color-surface:       #fffafb;
	--color-surface-2:     #fbe9ef;
	--color-text:          #3d2f35;
	--color-text-2:        #7a6670;
	--color-text-3:        #a8929c;
	--color-accent:        #ec6f9d;
	--color-accent-2:      #f48fb1;
	--color-border:        #f3d9e2;
	--color-placeholder-bg: #fbeef2;
	--color-placeholder-line: #ecccd9;
}

/* body 背景：樱粉渐变 + 淡粉网格 + 粉紫光晕 */
html.lie-light body {
	background:
		radial-gradient(1200px 600px at 12% -5%, rgba(236, 111, 157, 0.07), transparent 60%),
		radial-gradient(1000px 520px at 95% 110%, rgba(244, 143, 177, 0.06), transparent 55%),
		linear-gradient(rgba(120, 60, 90, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(120, 60, 90, 0.05) 1px, transparent 1px),
		linear-gradient(180deg, #fef8fa 0%, #fdf5f7 45%, #faeef3 100%);
	background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px, 100% 100%;
	background-attachment: fixed, fixed, scroll, scroll, scroll;
}

/* 站点头部毛玻璃：樱粉半透明 */
html.lie-light .site-header {
	background: rgba(255, 250, 251, 0.82);
}

/* 浅色下深色投影减淡（粉调阴影） */
html.lie-light .home-card,
html.lie-light .widget-card,
html.lie-light .char-card,
html.lie-light .hero-panel,
html.lie-light .post-card {
	box-shadow: 0 8px 24px rgba(180, 90, 130, 0.10);
}

/* 文字选中色随樱花粉 */
html.lie-light ::selection {
	background: rgba(236, 111, 157, 0.22);
}

/* Hero 标题渐变：浅色下换深色文字渐变，保证可读 */
html.lie-light .blog-hero__title {
	background: linear-gradient(120deg, #3d2f35 0%, #a34a72 55%, #ec6f9d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

html.lie-light .blog-hero__rule {
	background: linear-gradient(90deg, #ec6f9d, #f48fb1);
}

html.lie-light .blog-hero__kicker::before {
	background: linear-gradient(90deg, transparent, #ec6f9d);
}

html.lie-light .blog-hero__kicker::after {
	background: linear-gradient(90deg, #ec6f9d, transparent);
}

/* Hero 时钟发光：浅色下换樱花粉光晕 */
html.lie-light .blog-hero .clock__time {
	text-shadow:
		0 0 18px rgba(236, 111, 157, 0.30),
		0 0 42px rgba(236, 111, 157, 0.12);
}

/* 分区卡片：浅色下 hover 光晕换樱花粉，阴影减淡 */
html.lie-light .portal-card:hover {
	box-shadow: 0 0 0 1px rgba(236, 111, 157, 0.25), 0 10px 30px rgba(180, 90, 130, 0.12);
}

/* 导航栏阴影：浅色下减淡 */
html.lie-light .site-header {
	box-shadow: 0 10px 30px rgba(180, 90, 130, 0.10);
}

html.lie-light .portal-card::after {
	background: radial-gradient(closest-side, rgba(236, 111, 157, 0.18), transparent);
}

/* 看板娘：浅色下气泡阴影减淡 */
html.lie-light .site-mascot__bubble {
	box-shadow: 0 10px 30px rgba(180, 90, 130, 0.12);
}

/* 音量按钮：浅色下毛玻璃底色 */
html.lie-light .site-mascot__voice {
	background: rgba(255, 250, 251, 0.82);
	color: #ec6f9d;
}

/* ---------- 樱花花瓣飘落（仅浅色主题启用） ---------- */
.sakura-petal {
	position: fixed;
	top: -6vh;
	z-index: 9999;
	pointer-events: none;
	border-radius: 150% 0 150% 0;
	background: linear-gradient(135deg, rgba(255, 190, 210, 0.85), rgba(236, 111, 157, 0.45));
	opacity: 0;
	will-change: transform, opacity;
	animation: sakura-fall linear infinite;
}

@keyframes sakura-fall {
	0% {
		transform: translate3d(0, 0, 0) rotate(0deg);
		opacity: 0;
	}
	8% { opacity: 1; }
	90% { opacity: 0.85; }
	100% {
		transform: translate3d(var(--sway, 18vw), 108vh, 0) rotate(var(--spin, 320deg));
		opacity: 0;
	}
}
