*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

img {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: auto;
}

:root {
	--primary-pink: #ff6b9d;
	--primary-purple: #c44fff;
	--primary-blue: #4fc3f7;
	--soft-pink: #ffcdd2;
	--soft-purple: #e1bee7;
	--soft-blue: #b3e5fc;
	--warm-white: #fff8f0;
	--text-dark: #333;
	--text-light: #666;
	--shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.15);
	--shadow-md: 0 4px 16px rgba(255, 107, 157, 0.2);
	--shadow-lg: 0 8px 32px rgba(255, 107, 157, 0.25);
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-full: 50%;
}

body {
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
	background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
	min-height: 100vh;
	padding-top: 60px;
	overflow-x: hidden;
}

.XY-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	box-shadow: 0 2px 20px rgba(255, 107, 157, 0.3);
	z-index: 1000;
}

.XY-nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 100%;
	display: flex;
	align-items: center;
}

.XY-nav-brand {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-shadow: 0 2px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	display: flex;
	align-items: center;
}

.nav-brand-mobile {
	display: none !important;
}

.XY-nav-menu {
	display: flex;
	list-style: none;
	gap: 0;
	margin: 0 16px 0 auto;
	padding: 0;
	align-items: stretch;
	height: 100%;
}

.XY-nav-menu li a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 1px 14px 0 14px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.XY-nav-menu li a.active {
	color: #fff;
	background: transparent;
	border-bottom-color: #fff;
}

.XY-nav-menu li a:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.XY-nav-admin {
	display: block;
	padding: 8px 18px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 20px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.XY-nav-admin:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

/* ===== 底部导航（移动端） ===== */
.XY-bottom-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 56px;
	background: #fff;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	z-index: 1001;
	justify-content: space-around;
	align-items: center;
	padding: 0 4px;
}

.XY-bottom-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-decoration: none;
	color: #999;
	font-size: 11px;
	flex: 1;
	height: 100%;
	transition: color 0.25s;
	padding: 4px 0;
}

.XY-bottom-nav a svg {
	width: 22px;
	height: 22px;
	transition: all 0.25s;
}

.XY-bottom-nav a.active {
	color: #ff6b9d;
}

.XY-bottom-nav a.active svg {
	color: #ff6b9d;
}

@media (max-width: 768px) {
	body {
		padding-top: 48px;
		padding-bottom: 62px;
	}

	.XY-nav-admin {
		display: none;
	}

	.XY-nav {
		height: 48px;
	}

	.XY-nav-menu {
		display: none !important;
	}

	.XY-nav-container {
		padding: 0 6px;
		justify-content: center;
	}

	.XY-nav-brand {
		font-size: 0;
		line-height: 0;
		justify-content: center;
	}

	.XY-nav-brand svg:not(.nav-brand-mobile svg),
	.XY-nav-brand img:not(.nav-brand-mobile img),
	.XY-nav-brand .XY-nav-logo {
		display: none !important;
	}

	.nav-brand-mobile {
		display: inline-flex !important;
		align-items: center;
		font-size: 16px;
		line-height: 1.5;
		transform: translateY(1px);
	}

	.nav-brand-mobile svg,
	.nav-brand-mobile img {
		transform: translateY(-1px);
	}

	.XY-nav-menu {
		margin: 0;
		gap: 4px;
	}

	.XY-nav-menu li a {
		padding: 10px 12px 6px 12px;
		font-size: 14px;
		color: rgba(255, 255, 255, 0.65);
		border-bottom: 2px solid transparent;
	}

	.XY-nav-menu li a.active {
		background: transparent !important;
		color: #fff;
		border-bottom: 2px solid #fff;
	}

	/* 移动端隐藏各板块标题（顶部导航已有品牌名） */
	.XY-box .XY-title {
		display: none !important;
	}

	/* 底部导航 */
	.XY-bottom-nav {
		display: flex;
	}
	
	/* 移动端隐藏 footer */
	.footer {
		display: none !important;
	}



}

@media (max-width: 480px) {
}

@keyframes gradient-bg {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
	0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 157, 0.4); }
	50% { box-shadow: 0 0 40px rgba(255, 107, 157, 0.6); }
}

@keyframes heartbeat {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.1); }
	28% { transform: scale(1); }
	42% { transform: scale(1.15); }
	70% { transform: scale(1); }
}

@keyframes header-heartbeat {
	0%, 100% { transform: scale(1, 0.9); }
	14% { transform: scale(1.1, 0.9); }
	28% { transform: scale(1, 0.9); }
	42% { transform: scale(1.15, 0.9); }
	70% { transform: scale(1, 0.9); }
}

@keyframes slide-in-left {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sparkle {
	0%, 100% { opacity: 0; transform: scale(0); }
	50% { opacity: 1; transform: scale(1); }
}

@keyframes gradient-shift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes float-up {
	0% {
		transform: translateY(0);
		opacity: 0;
	}
	10% {
		opacity: var(--float-opacity, 0.3);
	}
	90% {
		opacity: var(--float-opacity, 0.3);
	}
	100% {
		transform: translateY(calc(var(--float-height, 150px) * -1));
		opacity: 0;
	}
}

.container{
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	max-width: 600px;
	padding-top: 0;
	padding-bottom: 5px;
}

@media (min-width: 768px) {
	.container {
		max-width: 700px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1200px;
	}
}

.center-block{
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.col-lg-12{
	width: 100%;
}

.XY-box{
	margin: 18px 0;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 0;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.XY-box .XY-title{
	color: #fff;
	text-align: center;
	line-height: normal;
	font-size: 18px;
	font-weight: 600;
	height: 36px;
	width: 100%;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-2px);
}

.XY-box .XY-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 8px solid var(--primary-purple);
}

/* 电脑端隐藏照片模块标题 */
#photos .XY-title {
	display: none !important;
}

.XY-box .XY-body{
	padding: 20px;
}

#achievements .XY-body{
	padding-top: 6px;
}

/* ========== 成就进度面板 ========== */
.achieve-progress-panel {
	margin: 18px 0 16px 0;
	display: flex;
	gap: 16px;
	position: relative;
}

/* 通用卡片样式 */
.achieve-progress-card {
	background: linear-gradient(135deg, #fff8fb 0%, #fff0f7 100%);
	border-radius: var(--radius-md);
	border: 1.5px solid rgba(255, 107, 157, 0.18);
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
}
.achieve-progress-card::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(255, 107, 157, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

/* 左侧：恋爱进度卡片 */
.achieve-progress-left {
	flex: 1;
	min-width: 0;
	padding: 18px 20px;
}

/* 右侧：首个成就 + 最近达成 卡片 */
.achieve-progress-right {
	flex: 0 0 220px;
	padding: 14px 18px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.achieve-progress-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.achieve-progress-info {
	display: flex;
	align-items: center;
	gap: 8px;
}
.achieve-progress-icon {
	font-size: 22px;
	filter: drop-shadow(0 2px 4px rgba(255, 107, 157, 0.2));
}
.achieve-progress-label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	letter-spacing: 0.5px;
}
.achieve-progress-count {
	font-size: 13px;
	color: #888;
}
.achieve-progress-count b {
	color: var(--primary-pink);
	font-size: 20px;
	font-weight: 800;
	margin: 0 2px;
}
.achieve-progress-bar-wrap {
	height: 10px;
	background: rgba(255, 107, 157, 0.1);
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
}
.achieve-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple), #ff859e);
	background-size: 200% 100%;
	border-radius: 6px;
	transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
	position: relative;
	animation: progressShine 2.5s ease-in-out infinite;
}
.achieve-progress-bar::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 20px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
	border-radius: 0 6px 6px 0;
}
@keyframes progressShine {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
.achieve-progress-bot {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.achieve-progress-pct {
	font-size: 24px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: 0.5px;
}
.achieve-progress-tag {
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 14px;
	font-weight: 500;
	letter-spacing: 0.5px;
}
.achieve-progress-full {
	background: linear-gradient(135deg, rgba(102, 187, 106, 0.15), rgba(76, 175, 80, 0.15));
	color: #43a047;
	border: 1px solid rgba(102, 187, 106, 0.3);
}
.achieve-progress-going {
	background: linear-gradient(135deg, rgba(255, 183, 77, 0.15), rgba(255, 152, 0, 0.15));
	color: #e67e22;
	border: 1px solid rgba(255, 183, 77, 0.3);
}
.achieve-progress-start {
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(196, 79, 255, 0.12));
	color: #d6336c;
	border: 1px solid rgba(255, 107, 157, 0.25);
}

/* 右侧详情条目 */
.achieve-progress-right .achieve-detail-item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 10px 0;
	border-bottom: 1px dashed rgba(255, 107, 157, 0.16);
}
.achieve-progress-right .achieve-detail-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.achieve-progress-right .achieve-detail-item:first-child {
	padding-top: 0;
}
.achieve-detail-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.achieve-detail-label {
	font-size: 11px;
	color: #b0a0a8;
	font-weight: 500;
	letter-spacing: 0.3px;
}
.achieve-detail-date {
	font-size: 14px;
	color: #555;
	font-weight: 600;
}

@media (max-width: 768px) {
	.achieve-progress-panel {
		margin: 8px 0 14px 0;
		flex-direction: column;
		gap: 0;
		padding: 14px 16px;
		background: linear-gradient(135deg, #fff8fb 0%, #fff0f7 100%);
		border-radius: var(--radius-md);
		border: 1.5px solid rgba(255, 107, 157, 0.18);
		box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
		overflow: hidden;
	}
	.achieve-progress-panel::before {
		content: '';
		position: absolute;
		top: -40px;
		right: -40px;
		width: 120px;
		height: 120px;
		background: radial-gradient(circle, rgba(255, 107, 157, 0.06) 0%, transparent 70%);
		border-radius: 50%;
		pointer-events: none;
	}
	.achieve-progress-card {
		background: none;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 0;
	}
	.achieve-progress-card::before {
		display: none;
	}
	.achieve-progress-left {
		padding: 0;
	}
	.achieve-progress-right {
		flex: 1;
		flex-direction: row;
		justify-content: space-between;
		gap: 4px;
		padding: 12px 0 0;
		margin-top: 12px;
		border-top: 1px dashed rgba(255, 107, 157, 0.18);
	}
	.achieve-progress-right .achieve-detail-item {
		flex-direction: row;
		align-items: center;
		gap: 4px;
		padding: 0;
		border-bottom: none;
		font-size: 11px;
		color: #888;
	}
	.achieve-progress-right .achieve-detail-item svg {
		width: 14px;
		height: 14px;
	}
	.achieve-detail-text {
		flex-direction: row;
		gap: 0;
	}
	.achieve-detail-label {
		font-size: 11px;
		color: #888;
	}
	.achieve-detail-label::after {
		content: '：';
	}
	.achieve-detail-date {
		font-size: 11px;
		color: #888;
		font-weight: 400;
	}
	.achieve-progress-icon {
		font-size: 20px;
	}
	.achieve-progress-label {
		font-size: 14px;
	}
	.achieve-progress-count b {
		font-size: 18px;
	}
	.achieve-progress-pct {
		font-size: 20px;
	}
}

#messages .XY-body {
	padding-top: 8px;
}

/* 成就列表超出7项时隐藏，展开按钮样式 */
.XY-everyday-accum.achievement-collapsed { display: none; }
.achievement-expand-wrap { text-align: center; margin-top: 16px; }
.achievement-expand-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 32px;
	border-radius: 25px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	color: #ff6b9d;
	background: rgba(255,107,157,0.08);
	border: 1px solid rgba(255,107,157,0.2);
}
.achievement-expand-btn:hover {
	background: rgba(255,107,157,0.15);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255,107,157,0.2);
}
.achievement-expand-btn i {
	transition: transform 0.3s;
}

.XY-box>img{
	width: 100%;
	height: auto;
}

.XY-header {
	background: 
		linear-gradient(-45deg, rgba(255,240,245,0.7), rgba(255,228,233,0.7), rgba(255,204,213,0.7), rgba(252,194,215,0.7)),
		url(../img/beijing.jpg) center/cover no-repeat;
	background-size: 400% 400%, cover;
	border-radius: 0;
	padding: 30px 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin: 0;
	margin-bottom: 4px;
	animation: gradient-shift 8s ease infinite;
}

.XY-header::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
	animation: float 6s ease-in-out infinite;
}

.floating-hearts {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}

.heart-particle {
	position: absolute;
	bottom: -30px;
	animation: float-up linear infinite;
	will-change: transform, opacity;
	transform: translateZ(0);
	--float-opacity: 0.3;
	--float-height: 150px;
}

/* 照片弹窗关闭按钮 - 确保始终在最上层 */
.layui-layer-ico.layui-layer-close.layui-layer-close2 {
    z-index: 99999 !important;
    position: absolute !important;
}

@media (max-width: 768px) {
    /* 移动端关闭按钮改用纯 CSS 绘制，避免 icon.png sprite 圆圈顶部缺角 */
    .layui-layer-setwin .layui-layer-close2,
    .layui-layer-setwin .layui-layer-close2:hover,
    .layui-layer-ico.layui-layer-close.layui-layer-close2 {
        width: 30px !important;
        height: 30px !important;
        top: -28px !important;
        right: -28px !important;
        background: rgba(0, 0, 0, 0.45) !important;
        border: 2px solid rgba(255, 255, 255, 0.85) !important;
        border-radius: 50% !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
        box-sizing: border-box !important;
    }
    .layui-layer-ico.layui-layer-close.layui-layer-close2::before,
    .layui-layer-ico.layui-layer-close.layui-layer-close2::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 14px !important;
        height: 2px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 1px !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .layui-layer-ico.layui-layer-close.layui-layer-close2::after {
        transform: translate(-50%, -50%) rotate(-45deg) !important;
    }
    /* 标题栏右侧留出关闭按钮空间，避免"查看描述"等按钮与关闭按钮重叠 */
    .layui-layer-imgtit {
        padding-right: 50px !important;
    }
    /* 移动端导航栏移到照片下方，不遮挡照片 */
    .layui-layer-photos .layui-layer-content {
        overflow: visible !important;
    }
    .layui-layer-imgbar {
        position: relative !important;
        bottom: auto !important;
        height: auto !important;
    }
    .layui-layer-imgtit {
        transform: translateY(0) !important;
        background: rgba(0, 0, 0, 0.75) !important;
        padding: 6px 20px !important;
    }
    /* 照片左下右下取消圆角 */
    .layui-layer-phimg img {
        border-radius: 10px 10px 0 0 !important;
    }
    .layui-layer-phimg {
        border-radius: 10px 10px 0 0 !important;
    }
    /* 照片+导航整体垂直居中，左右留少量间距，长图不超出屏幕 */
    .layui-layer.layui-layer-photos {
        top: 50% !important;
        left: 25px !important;
        right: 25px !important;
        width: auto !important;
        max-height: calc(100vh - 20px) !important;
        height: auto !important;
        transform: translateY(-50%) !important;
    }
    .layui-layer-photos .layui-layer-phimg img {
        max-height: calc(100vh - 80px) !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

/* 图片预览标题 - 去掉链接下划线，让 _ 字符正常显示 */
.layui-layer-imgtit a,
.layui-layer-imgtit a:hover {
	text-decoration: none !important;
}

/* 隐藏图片预览的 1/1 计数器 */
.layui-layer-imgbar em,
.layui-layer-photos .layui-layer-imgbar em {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
}

/* 强制隐藏 - 针对带内联样式的em */
.layui-layer-imgtit > * + em,
.layui-layer-imgtit em[style] {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	clip: rect(0,0,0,0) !important;
}

/* 图片标题栏始终显示，不自动隐藏 */
.layui-layer-imgbar {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* layer.msg 提示 - 图标与文字不重叠 */
.layui-layer.layui-layer-msg .layui-layer-padding {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: auto !important;
}
.layui-layer.layui-layer-msg .layui-layer-padding .layui-layer-ico {
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

/* 照片弹窗 - 描述浮框动画 */
@keyframes descSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* 移动端：浮窗显示在照片上方，使用vw让宽度超出照片范围，只保留屏幕两侧间距 */
@media (max-width: 768px) {
    .photo-desc-float {
        right: auto !important;
        left: 50% !important;
        top: auto !important;
        bottom: calc(100% + 15px) !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 38px) !important;
        max-width: none !important;
        max-height: 155px !important;
        font-size: 12px !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        animation: descSlideUp 0.35s ease-out !important;
    }
    @keyframes descSlideUp {
        from { opacity: 0; transform: translateX(-50%) translateY(8px); }
        to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
}

/* 描述浮框滚动条：细窄、不占位置、默认隐藏、滚动时才显示 */
.photo-desc-float {
    scrollbar-width: none;
}
.photo-desc-float *::-webkit-scrollbar,
.photo-desc-float::-webkit-scrollbar {
    width: 2px;
}
.photo-desc-float *::-webkit-scrollbar-track,
.photo-desc-float::-webkit-scrollbar-track {
    background: transparent;
}
.photo-desc-float *::-webkit-scrollbar-thumb,
.photo-desc-float::-webkit-scrollbar-thumb {
    background: rgba(255,107,157,0.2);
    border-radius: 10px;
}

/* 移动端保持一致 */
@media (max-width: 768px) {
    .photo-desc-float {
        scrollbar-width: none;
    }
}

.XY-header .cloud {
	position: absolute;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	animation: float 8s ease-in-out infinite;
}

.XY-header .cloud:nth-child(1) {
	width: 60px;
	height: 30px;
	top: 20px;
	left: 20px;
	animation-delay: 0s;
}

.XY-header .cloud:nth-child(2) {
	width: 80px;
	height: 40px;
	top: 30px;
	right: 30px;
	animation-delay: -2s;
}

.XY-header .cloud:nth-child(3) {
	width: 50px;
	height: 25px;
	top: 80px;
	left: 40px;
	animation-delay: -4s;
}

.XY-header .cloud::before,
.XY-header .cloud::after {
	content: '';
	position: absolute;
	background: inherit;
	border-radius: 50%;
}

.XY-header .cloud::before {
	width: 35px;
	height: 35px;
	top: -18px;
	left: 10px;
}

.XY-header .cloud::after {
	width: 25px;
	height: 25px;
	top: -12px;
	left: 30px;
}

.XY-header .header-heart {
	font-size: 60px;
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
	text-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
	animation: header-heartbeat 2s ease-in-out infinite;
	display: inline-block;
}

.XY-xlrq {
	font-size: 24px;
	color: #ff4d88;
	font-weight: 700;
	text-shadow: none;
	letter-spacing: 1px;
	position: relative;
	z-index: 1;
	margin-top: 8px;
	background: none;
	padding: 0;
	border-radius: 0;
	border: none;
	display: block;
	box-shadow: none;
}

.XY-head-tx {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	position: relative;
	z-index: 1;
	margin-top: 20px;
}

.XY-head-tx .portrait {
	width: 80px;
	height: 80px;
	border: 4px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-full);
	box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.XY-head-tx .portrait:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* 头像 hover 昵称提示 */
.XY-head-tx .portrait[data-tooltip] {
	position: relative;
	overflow: visible;
	cursor: pointer;
}

.XY-head-tx .portrait[data-tooltip]::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 3px);
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: rgba(255, 107, 157, 0.9);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 10;
}

.XY-head-tx .portrait[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 16px;
	background: rgba(255, 107, 157, 0.9);
	color: #fff;
	font-size: 13px;
	border-radius: 14px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 10;
}

.XY-head-tx .portrait[data-tooltip]:hover::after,
.XY-head-tx .portrait[data-tooltip]:hover::before {
	opacity: 1;
}

.XY-head-tx .portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-full);
	display: block;
}

.XY-head-tx .love {
	width: 50px;
	height: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

.XY-head-tx .love .love-tip {
	position: absolute;
	top: -30px;
	background: linear-gradient(135deg, #ff6b9d, #c44fff);
	color: #fff;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 12px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
}

.XY-head-tx .love .love-tip::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #c44fff;
}

.XY-head-tx .love img {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
}

.XY-record {
	margin-top: 24px;
	margin-left: auto;
	margin-right: auto;
	max-width: 340px;
	padding: 8px 24px 14px 24px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 32px rgba(255, 107, 157, 0.18), inset 0 1px 0 rgba(255,255,255,0.8);
	border: 1px solid rgba(255, 107, 157, 0.12);
	position: relative;
	z-index: 1;
	animation: fade-in 0.6s ease-out;
	text-align: center;
	overflow: hidden;
}

.XY-record::after {
	content: '';
	position: absolute;
	top: -30px;
	right: -30px;
	width: 80px;
	height: 80px;
	background: radial-gradient(circle, rgba(255,107,157,0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.XY-record > div:first-child {
	font-size: 14px;
	color: #888;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.XY-record > div:first-child::after {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b9d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.XY-record span {
	color: var(--primary-pink);
	font-size: 28px;
	font-weight: 800;
	margin: 0 2px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.XY-record .XY-xlrq {
	font-size: 15px;
	color: #555;
	font-weight: 500;
	margin-top: 6px;
	letter-spacing: 1px;
	padding-top: 6px;
	border-top: 1px dashed rgba(255, 107, 157, 0.15);
}

.XY-micro {
	margin: 16px 20px;
	padding: 12px 22px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: var(--radius-md);
	border: 1.5px solid rgba(255, 107, 157, 0.2);
	box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
	color: var(--text-dark);
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: 0.3px;
	position: relative;
	overflow: hidden;
}

.XY-micro::after {
	content: '';
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 60px;
	height: 60px;
	background: radial-gradient(circle, rgba(255,107,157,0.04) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.XY-micro::before {
	content: '';
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 18px;
	height: 18px;
	opacity: 0.6;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b9d'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.XY-card-body {
	overflow: hidden;
	padding: 0 20px 20px;
}
.XY-card-track {
	display: flex;
	gap: 8px;
	will-change: transform;
}

.XY-card-left,
.XY-card-right {
	display: none;
}

.XY-card {
	flex: 0 0 calc(50% - 8px);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	cursor: pointer;
	position: relative;
	border: 2px solid transparent;
}

/* 加密图片 - 磨砂遮罩 */
.XY-card.locked .big-img-wrap {
	position: relative;
	overflow: hidden;
}

.XY-card.locked .big-img-wrap::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.08);
	z-index: 1;
	pointer-events: none;
}

.XY-card.locked .big-img-wrap .big-img {
	filter: blur(2px) brightness(0.85);
	transition: filter 0.4s ease;
}

.XY-card .big-img-wrap {
	display: block;
	line-height: 0;
	position: relative;
}

.XY-card .big-img-wrap .img-shield {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 10;
	cursor: pointer;
}

.XY-card:hover {
	box-shadow: var(--shadow-md);
	border: 2px solid #ff6b9d;
}

.XY-card .big-img {
	width: 100%;
	height: 120px;
	object-fit: cover;
}

/* 图片顺序加载 */
.lazy-img {
	opacity: 0;
	transition: opacity 0.4s ease;
	background: #f5f5f5;
}
.lazy-img.loaded {
	opacity: 1;
}

.XY-card .txt {
	padding: 12px 14px;
	background: #fff;
	font-size: 14px;
	color: var(--text-dark);
	position: relative;
	z-index: 10;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.XY-everyday-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 16px;
	padding-left: 20px;
	position: relative;
}

.XY-everyday-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: linear-gradient(180deg, var(--primary-pink), var(--primary-purple));
	border-radius: 2px;
}

.XY-everyday-accum {
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #fff5f7 0%, #fff0f5 100%);
	border-radius: var(--radius-md);
	padding: 12px;
	margin-bottom: 12px;
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.3s ease, background 0.3s ease;
	border: 1px solid rgba(255, 107, 157, 0.15);
}

.XY-everyday-accum:hover {
	box-shadow: 0 6px 20px rgba(255, 107, 157, 0.15);
	background: linear-gradient(135deg, #fff0f5 0%, #ffe4e9 100%);
}

/* 待添加占位卡片 */
.XY-everyday-add {
	border-style: dashed !important;
	border-color: rgba(255, 107, 157, 0.3) !important;
	background: rgba(255, 245, 247, 0.4) !important;
	opacity: 0.6;
}
.XY-everyday-add:hover {
	opacity: 0.8;
	background: rgba(255, 245, 247, 0.6) !important;
}
.XY-everyday-add .left {
	background: rgba(255, 107, 157, 0.06) !important;
}

.XY-everyday-accum .left {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 107, 157, 0.1);
	border-radius: var(--radius-md);
	margin-right: 16px;
}

.XY-everyday-accum .left .img {
	width: 40px;
	height: 40px;
}

.XY-everyday-accum .left .img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.XY-everyday-accum .right {
	flex: 1;
	overflow: hidden;
	padding-right: 100px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.XY-everyday-accum .right .title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 4px;
	flex-shrink: 1;
	line-height: 1.4;
}

.XY-everyday-accum .right .tab {
	font-size: 12px;
	color: var(--text-light);
	margin-left: 8px;
	margin-bottom: 4px;
	padding: 3px 8px;
	background: rgba(255,107,157,0.1);
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.XY-everyday-accum .right .txt {
	font-size: 12px;
	color: var(--text-light);
	margin-bottom: 4px;
	flex-basis: 100%;
}

.XY-everyday-accum .right > div:last-child {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.XY-button {
	display: inline-block;
	padding: 6px 14px;
	text-align: center;
	border: none;
	border-radius: 25px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.XY-button:hover {
	box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
}

.XY-color-green{
	background: linear-gradient(135deg, #66bb6a, #43a047);
}

.XY-color-blue{
	background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.XY-color-black{
	background: linear-gradient(135deg, #424242, #212121);
}

.XY-color-pink{
	background: linear-gradient(135deg, var(--primary-pink), #f06292);
}

.XY-color-yellow{
	background: linear-gradient(135deg, #ffb74d, #ffa726);
}

.enlarge {
	animation: heartbeat 1.5s ease-in-out infinite;
	cursor: pointer;
}

.XY-advanced {
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	border-radius: var(--radius-md);
	padding: 24px;
	text-align: center;
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.XY-advanced .date {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 8px;
}

.back-to-top {
	position: fixed;
	bottom: 80px;
	right: 20px;
	width: 42px;
	height: 42px;
	background: linear-gradient(135deg, #ff6b9d, #c44fff);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(255,107,157,0.4);
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255,107,157,0.5);
}

/* 回到顶部按钮 - 电脑端/手机端单独控制 */
@media (min-width: 769px) {
	.back-to-top.bt-hide-pc { display: none !important; }
	.front-publish-btn.bt-hide-pc { display: none !important; }
}
@media (max-width: 768px) {
	.back-to-top.bt-hide-mobile { display: none !important; }
	.front-publish-btn.bt-hide-mobile { display: none !important; }
	.back-to-top {
		width: 38px;
		height: 38px;
		right: 14px;
		bottom: 76px;
	}
	.back-to-top svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 768px) {
	.container {
		max-width: 100%;
		padding: 0 6px;
	}

	.XY-header {
		display: none !important;
	}

	.XY-header.home-header {
		display: block !important;
		padding: 24px 16px;
		margin-bottom: 12px;
	}

	.XY-head-tx .portrait {
		width: 70px;
		height: 70px;
	}

	.XY-head-tx .love {
		width: 45px;
		height: 45px;
	}

	.XY-xlrq {
		font-size: 22px;
		padding: 10px 24px;
	}

	.XY-card-body {
		/* 保持水平滚动 */
	}

	.XY-box {
		margin: 0;
		padding-top: 16px;
	}

	#diary {
		margin: 0;
		padding: 0;
		border-radius: 0;
		box-shadow: none;
		border: none;
		background: none;
		backdrop-filter: none;
		overflow: visible;
	}

	#diary .XY-body {
		padding: 10px 0 0 0;
	}

	.XY-box .XY-title {
		margin-bottom: 24px;
	}

	.XY-box .XY-body {
		padding: 20px 12px 12px 12px;
	}

	#achievements .XY-body {
		padding-top: 2px;
	}

	#messages .XY-body {
		padding-top: 0;
	}
	
	#messages .XY-message-stats {
		margin-top: -20px;
	}
	
	#photos {
		margin: 0;
		padding: 0;
		border-radius: 0;
		box-shadow: none;
		border: none;
		background: none;
		backdrop-filter: none;
		overflow: visible;
		touch-action: pan-y; /* 只允许垂直滚动，横向留给JS处理 */
	}

	#photos .XY-tip {
		margin-top: 0;
	}

	#achievements {
		margin-bottom: 10px;
	}

	.XY-everyday-accum {
		padding: 12px;
	}
}

@media (max-width: 480px) {
	.XY-head-tx {
		gap: 12px;
	}

	.XY-head-tx .portrait {
		width: 55px;
		height: 55px;
	}

	.XY-head-tx .love {
		width: 35px;
		height: 35px;
	}

	.XY-xlrq {
		font-size: 18px;
	}

	.XY-card .big-img {
		height: 140px;
	}

	.XY-record {
		padding: 12px 16px;
		font-size: 14px;
	}

	.XY-everyday-accum .right {
		padding-right: 12px;
	}

	.XY-everyday-accum .right .title {
		font-size: 15px;
	}

	.XY-everyday-accum .right .tab {
		font-size: 11px;
		padding: 2px 6px;
		gap: 3px;
		position: absolute;
		right: 16px;
		top: 16px;
		transform: none;
		margin-left: 0;
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.XY-everyday-accum.achievement-lit .right .tab {
		top: calc(50% - 28px);
		right: 16px;
		transform: none;
	}

	.XY-everyday-accum.achievement-lit .right > div:last-child {
		top: calc(50% - 4px);
		bottom: auto;
		transform: none;
	}

	.XY-everyday-accum .right .txt {
		padding-right: 75px;
	}

	.XY-everyday-accum:not(.achievement-lit) .right > div:last-child {
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
	}
}

.footer {
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.95), rgba(196, 79, 255, 0.95));
	padding: 16px 20px;
	text-align: center;
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	margin-top: 20px;
}

.footer .footer-content {
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

.footer .footer-content a {
	text-decoration: none;
	color: inherit;
}

@media (min-width: 768px) {
	.footer .footer-content {
		max-width: 700px;
	}
}

@media (min-width: 992px) {
	.footer .footer-content {
		max-width: 900px;
	}
}

@media (min-width: 1200px) {
	.footer .footer-content {
		max-width: 1000px;
	}
}

@media (min-width: 768px) {
	.XY-card {
		flex: 0 0 calc(25% - 12px);
	}
	.XY-card .big-img {
		height: 160px;
	}
}

/* 滚动条美化 */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 3px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #ff6b9d, #c44fff);
	border-radius: 3px;
	transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #e55a8a, #a83de0);
}

/* Firefox 滚动条 */
* {
	scrollbar-width: thin;
	scrollbar-color: #ff6b9d transparent;
}

/* ================== 留言祝福模块 ================== */

/* 留言统计 */
.XY-message-stats {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	margin-bottom: 18px;
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.08) 0%, rgba(196, 79, 255, 0.08) 100%);
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	border: 1.5px solid rgba(255, 107, 157, 0.15);
	position: relative;
	overflow: hidden;
}
.XY-message-stats::before {
	content: '';
	position: absolute;
	top: -30px;
	right: -30px;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle, rgba(255, 107, 157, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.msg-stats-icon {
	font-size: 34px;
	flex-shrink: 0;
	margin-top: 5px;
	filter: drop-shadow(0 4px 8px rgba(255, 107, 157, 0.3));
}
.msg-stats-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}
.msg-stats-text > span:first-child {
	font-size: 16px;
	color: var(--text-dark);
	font-weight: 500;
}
.msg-stats-text b {
	color: var(--primary-pink);
	font-size: 22px;
	font-weight: 800;
	margin: 0 2px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.msg-stats-tip {
	font-size: 12px;
	color: #999;
}

.msg-write-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	color: #fff;
	border: none;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
	flex-shrink: 0;
}
.msg-write-btn:hover {
	box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}
.msg-write-btn svg {
	width: 14px;
	height: 14px;
}

/* 留言表单 */
.XY-message-form {
	display: none;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 18px;
	box-shadow: 0 2px 12px rgba(255, 107, 157, 0.08);
	border: 1.5px solid rgba(255, 107, 157, 0.1);
	position: relative;
}
.XY-message-form.show {
	display: block;
}
.XY-message-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 16px;
	right: 16px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple), var(--primary-blue));
	border-radius: 3px;
}
.msg-form-header {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px dashed rgba(255, 107, 157, 0.2);
}
.msg-form-title {
	display: block;
	font-size: 17px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 4px;
}
.msg-form-subtitle {
	font-size: 12px;
	color: #999;
}

/* 头像选择 */
.msg-avatar-picker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.msg-avatar-label {
	font-size: 13px;
	color: #666;
	font-weight: 500;
	flex-shrink: 0;
}
.msg-avatar-list {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.msg-avatar-item {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: #fff5f7;
	border: 2px solid transparent;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.25s ease;
	user-select: none;
}
.msg-avatar-item:hover {
	transform: scale(1.1);
	background: #ffe4ec;
}
.msg-avatar-item.active {
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(196, 79, 255, 0.15));
	border-color: var(--primary-pink);
	box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.15);
	transform: scale(1.05);
}

/* 表单行 */
.msg-form-row {
	margin-bottom: 12px;
	position: relative;
}
.msg-input-group {
	position: relative;
}
.msg-input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid rgba(255, 107, 157, 0.15);
	border-radius: var(--radius-md);
	font-size: 14px;
	color: var(--text-dark);
	background: #fff;
	transition: all 0.3s ease;
	outline: none;
	font-family: inherit;
	box-sizing: border-box;
	-webkit-user-select: text;
	user-select: text;
}
.msg-input::placeholder {
	color: #bbb;
}
.msg-input:focus {
	border-color: var(--primary-pink);
	background: #fffafc;
	box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.msg-textarea {
	width: 100%;
	min-height: 100px;
	max-height: 200px;
	padding: 12px 16px 28px 16px;
	border: 2px solid rgba(255, 107, 157, 0.15);
	border-radius: var(--radius-md);
	font-size: 14px;
	color: var(--text-dark);
	background: #fff;
	resize: vertical;
	transition: all 0.3s ease;
	outline: none;
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
	-webkit-user-select: text;
	user-select: text;
}
.msg-textarea::placeholder {
	color: #bbb;
}
.msg-textarea:focus {
	border-color: var(--primary-pink);
	background: #fffafc;
	box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}
.msg-count {
	position: absolute;
	right: 12px;
	bottom: 8px;
	font-size: 12px;
	color: #bbb;
	pointer-events: none;
}
.msg-count span {
	color: #bbb;
	transition: color 0.2s ease;
}
.msg-count.warning span {
	color: var(--primary-pink);
	font-weight: 600;
}

.msg-submit-row {
	margin-bottom: 0;
}
.msg-submit-btn {
	width: 100%;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
}
.msg-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

/* 祝福墙 */
.XY-message-wall {
	margin-top: 8px;
}

/* 顶部提示语 */
.XY-tip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid rgba(255, 150, 185, 0.35);
    border-radius: var(--radius-md, 14px);
    padding: 8px 16px;
    margin: 16px 16px 16px 16px;
    color: #c45c7a;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.05);
}
.XY-tip-text {
    flex: 1;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.XY-tip-heart {
    color: #ff6b9d;
    font-size: 16px;
    margin-left: 6px;
    flex-shrink: 0;
    animation: heartBeat 1.4s ease-in-out infinite;
    display: inline-block;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.25); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.15); }
    80% { transform: scale(0.98); }
}
.msg-wall-empty {
	text-align: center;
	padding: 50px 20px;
}
.msg-empty-icon {
	font-size: 56px;
	margin-bottom: 14px;
	animation: float 4s ease-in-out infinite;
	opacity: 0.6;
}
.msg-empty-text {
	font-size: 14px;
	color: #999;
}

/* 祝福墙网格 */
.msg-wall-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (min-width: 768px) {
	.msg-wall-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}
@media (min-width: 992px) {
	.msg-wall-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 留言墙懒加载占位 */
.msg-wall-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 50px 20px;
    min-height: 120px;
}
.msg-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff859e);
    animation: msgLoadingBounce 1.4s ease-in-out infinite both;
}
.msg-loading-dot:nth-child(1) { animation-delay: -0.32s; }
.msg-loading-dot:nth-child(2) { animation-delay: -0.16s; }
.msg-loading-dot:nth-child(3) { animation-delay: 0s; }
@keyframes msgLoadingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* 留言卡片 */
.msg-card {
	position: relative;
	padding: 14px 14px 18px 14px;
	border-radius: var(--radius-md);
	box-shadow: 0 3px 12px rgba(255, 107, 157, 0.1);
	border: 1.5px solid rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
}

.msg-card:hover {
	box-shadow: 0 8px 24px rgba(255, 107, 157, 0.2);
}
.msg-card-deco {
	position: absolute;
	right: 10px;
	bottom: 8px;
	font-size: 14px;
	opacity: 0.5;
	transition: all 0.3s ease;
}
.msg-card:hover .msg-card-deco {
	opacity: 1;
	transform: scale(1.2);
}

.msg-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px dashed rgba(255, 107, 157, 0.15);
}
.msg-card-avatar {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(255, 107, 157, 0.1);
}
.msg-card-info {
	flex: 1;
	min-width: 0;
}
.msg-card-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}
.msg-card-time {
	font-size: 11px;
	color: #999;
	margin-top: 2px;
	line-height: 1.2;
}
.msg-card-location {
	float: right;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 10px;
	color: #aaa;
	background: rgba(128, 128, 128, 0.08);
	padding: 1px 6px;
	border-radius: 8px;
}
.msg-card-content {
	font-size: 13.5px;
	color: #444;
	line-height: 1.7;
	word-break: break-word;
	white-space: pre-wrap;
	word-wrap: break-word;
	padding-right: 8px;
	letter-spacing: 0.2px;
}

/* 分页 */
.msg-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed rgba(255, 107, 157, 0.15);
}
.msg-page-placeholder {
	display: inline-block;
	padding: 7px 18px;
	border: 1.5px solid #e0e0e0;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #bbb;
	background: #f5f5f5;
	cursor: not-allowed;
}
.msg-page-btn {
	display: inline-block;
	padding: 7px 18px;
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(196, 79, 255, 0.1));
	border: 1.5px solid rgba(255, 107, 157, 0.25);
	border-radius: 20px;
	color: var(--primary-pink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}
.msg-page-btn:hover {
	background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
	color: #fff;
	border-color: transparent;
	text-decoration: none;
}
.msg-page-info {
	font-size: 13px;
	color: #888;
	padding: 6px 14px;
	background: rgba(255, 107, 157, 0.05);
	border-radius: 12px;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
	.XY-message-stats {
		padding: 12px 14px;
		gap: 10px;
	}
	.msg-stats-icon {
		font-size: 28px;
	}
	.msg-stats-text > span:first-child {
		font-size: 14px;
	}
	.msg-stats-text b {
		font-size: 18px;
	}
	.msg-stats-tip {
		font-size: 11px;
	}
	.msg-stats-tip-hide-mobile {
		display: none;
	}
	.XY-message-form {
		padding: 14px;
	}
	.msg-form-title {
		font-size: 15px;
	}
	.msg-avatar-item {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}
	.msg-wall-grid {
		gap: 10px;
	}
	.msg-card {
		padding: 12px;
	}
	.msg-card-avatar {
		width: 32px;
		height: 32px;
		font-size: 16px;
	}
	.msg-card-name {
		font-size: 13px;
	}
	.msg-card-time {
		font-size: 10px;
	}
	.msg-card-location {
		font-size: 9px;
	}
	.msg-card-content {
		font-size: 12.5px;
	}

	.footer {
		padding: 16px 16px !important;
		font-size: 12px !important;
		margin-top: 12px !important;
	}

	.footer .footer-content {
		line-height: 1.4 !important;
	}
}

@media (max-width: 480px) {
	.msg-wall-grid {
		grid-template-columns: 1fr;
	}
	.msg-avatar-picker {
		gap: 8px;
	}
	.msg-avatar-label {
		width: 100%;
		margin-bottom: 2px;
	}
	.msg-pagination {
		gap: 8px;
	}
	.msg-page-btn {
		padding: 6px 14px;
		font-size: 12px;
	}
	.msg-page-placeholder {
		padding: 6px 14px;
		font-size: 12px;
	}
	.msg-page-info {
		font-size: 12px;
		padding: 5px 10px;
	}
}

/* ========== 气泡提示 Toast ========== */
.bubble-toast {
	position: fixed;
	top: 18%;
	left: 50%;
	transform: translate(-50%, -20px);
	z-index: 99999;
	padding: 14px 28px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.5px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.bubble-toast::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 16px;
	border-radius: 4px;
	transform: translateX(-50%) rotate(45deg);
	z-index: -1;
}
.bubble-toast.show {
	opacity: 1;
	transform: translate(-50%, 0);
}
/* 成功 */
.bubble-toast.success {
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	border: 1.5px solid rgba(102, 187, 106, 0.35);
}
.bubble-toast.success::after {
	background: rgba(255, 255, 255, 0.95);
	border-right: 1.5px solid rgba(102, 187, 106, 0.35);
	border-bottom: 1.5px solid rgba(102, 187, 106, 0.35);
}
.bubble-toast.success .bubble-icon {
	color: #43a047;
}
/* 失败 */
.bubble-toast.error {
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	border: 1.5px solid rgba(255, 107, 157, 0.4);
}
.bubble-toast.error::after {
	background: rgba(255, 255, 255, 0.95);
	border-right: 1.5px solid rgba(255, 107, 157, 0.4);
	border-bottom: 1.5px solid rgba(255, 107, 157, 0.4);
}
.bubble-toast.error .bubble-icon {
	color: #e57373;
}
/* 警告（校验提示） */
.bubble-toast.warning {
	background: rgba(255, 255, 255, 0.95);
	color: #555;
	border: 1.5px solid rgba(255, 183, 77, 0.45);
}
.bubble-toast.warning::after {
	background: rgba(255, 255, 255, 0.95);
	border-right: 1.5px solid rgba(255, 183, 77, 0.45);
	border-bottom: 1.5px solid rgba(255, 183, 77, 0.45);
}
.bubble-toast.warning .bubble-icon {
	color: #ff9800;
}
.bubble-toast .bubble-icon {
	display: inline-block;
	margin-right: 8px;
	font-size: 17px;
	vertical-align: middle;
}
.bubble-toast .bubble-text {
	display: inline-block;
	vertical-align: middle;
}

@media (max-width: 480px) {
	.bubble-toast {
		top: 15%;
		padding: 10px 16px;
		font-size: 13.5px;
		border-radius: 22px;
		white-space: nowrap;
		max-width: auto;
		width: auto;
		text-align: center;
	}
	.bubble-toast .bubble-icon {
		margin-right: 6px;
		font-size: 15px;
	}
	.bubble-toast::after {
		width: 12px;
		height: 12px;
		bottom: -6px;
	}
}

