:root{
	/* 情侣风配色 - 升级版 */
	--primary: #ff7eb3;
	--primary-light: #ffb7d2;
	--secondary: #7b61ff;
	--secondary-light: #a796ff;
	--accent: #ffbe0b;
	--success: #00e096;
	--danger: #ff4757;
	--warning: #ffa502;
	
	/* 背景与表面 - 更深邃的质感 */
	--bg-primary: #0a0a16;
	--bg-secondary: #141428;
	--bg-tertiary: #1e1e38;
	--surface: rgba(255, 255, 255, 0.03);
	--surface-hover: rgba(255, 255, 255, 0.06);
	--glass: rgba(255, 255, 255, 0.08);
	--glass-border: rgba(255, 255, 255, 0.1);
	
	/* 文字颜色 */
	--text-primary: #ffffff;
	--text-secondary: #e2e8f0;
	--text-muted: #94a3b8;
	
	/* 边框与分隔 */
	--border: rgba(255, 255, 255, 0.08);
	--border-hover: rgba(255, 255, 255, 0.15);
	
	/* 圆角与阴影 */
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
	--glow: 0 0 25px rgba(255, 126, 179, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	background-color: var(--bg-primary);
	background-image: 
		radial-gradient(circle at 15% 15%, rgba(255, 126, 179, 0.12) 0%, transparent 45%),
		radial-gradient(circle at 85% 85%, rgba(123, 97, 255, 0.12) 0%, transparent 45%),
		radial-gradient(circle at 50% 50%, rgba(255, 190, 11, 0.05) 0%, transparent 50%);
	background-attachment: fixed;
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* 顶部导航 */
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.logo {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.logo::before {
	content: "💕";
	font-size: 24px;
	z-index: 2;
}

.logo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.brand-text h1 {
	font-size: 24px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 4px;
}

.brand-text p {
	font-size: 14px;
	color: var(--text-secondary);
}

.nav-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: none;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	overflow: hidden;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: white;
	box-shadow: var(--shadow);
}

.btn-secondary {
	background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
	color: white;
	box-shadow: var(--shadow);
}

.btn-ghost {
	background: var(--surface);
	color: var(--text-primary);
	border: 1px solid var(--border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.btn-danger {
	background: linear-gradient(135deg, var(--danger), #ff6b6b);
	color: white;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn:active {
	transform: translateY(0);
}

.btn-primary:hover {
	box-shadow: var(--glow);
}

/* 状态卡片 */
.status-card {
	background: var(--glass);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	margin-bottom: 24px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: var(--shadow);
	position: relative;
}

/* 倒数日样式 */
.countdown-section {
	margin-bottom: 32px;
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 24px;
	position: relative;
	overflow: hidden;
}

.countdown-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
	opacity: 0.6;
}

.countdown-header {
	text-align: center;
	margin-bottom: 24px;
}

.countdown-title {
	font-size: 24px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 8px;
}

.countdown-subtitle {
	font-size: 14px;
	color: var(--text-secondary);
	font-weight: 500;
}

.countdown-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.countdown-card {
	background: linear-gradient(135deg, 
		rgba(45, 47, 85, 0.9) 0%, 
		rgba(35, 37, 65, 0.95) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-xl);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	/* 确保数字框始终对齐 */
	min-height: 360px;
	justify-content: space-between;
}

.countdown-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, 
		rgba(255, 107, 157, 0.1) 0%, 
		rgba(99, 102, 241, 0.1) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.countdown-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, 
		transparent 0%,
		var(--primary) 30%,
		var(--secondary) 70%,
		transparent 100%);
	opacity: 0.6;
}

.countdown-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 
		0 16px 48px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.25);
}

.countdown-card:hover::before {
	opacity: 1;
}

.countdown-emoji {
	font-size: 56px;
	margin-bottom: 16px;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
	animation: float 3s ease-in-out infinite;
	position: relative;
	z-index: 1;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-8px) rotate(3deg); }
}

.countdown-content {
	width: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.countdown-name {
	font-size: 17px;
	font-weight: 800;
	color: var(--text-primary);
	margin-bottom: 8px;
	line-height: 1.3;
	letter-spacing: 0.3px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	/* 限制最多显示3行，超出显示省略号 */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.countdown-desc {
	font-size: 13px;
	color: var(--text-secondary);
	margin-bottom: 10px;
	opacity: 0.85;
	line-height: 1.4;
}

.countdown-date {
	font-size: 11px;
	color: var(--text-muted);
	opacity: 0.65;
	font-weight: 500;
}

.countdown-number {
	width: 100%;
	padding: 20px;
	background: linear-gradient(135deg, 
		rgba(255, 255, 255, 0.08) 0%, 
		rgba(255, 255, 255, 0.03) 100%);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	z-index: 1;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 2px 8px rgba(0, 0, 0, 0.15);
}

.countdown-number::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: var(--radius-lg);
	padding: 1px;
	background: linear-gradient(135deg, 
		rgba(255, 107, 157, 0.4) 0%,
		rgba(192, 132, 252, 0.3) 30%,
		rgba(129, 140, 248, 0.3) 60%,
		rgba(6, 182, 212, 0.4) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, 
				   linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, 
		  linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.7;
	pointer-events: none;
}

.countdown-days {
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	margin-bottom: 6px;
	letter-spacing: -1px;
	position: relative;
	display: inline-block;
	/* 粉蓝渐变文字效果 */
	background: linear-gradient(135deg, 
		#ff6b9d 0%, 
		#c084fc 30%,
		#818cf8 60%, 
		#06b6d4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	/* 立体阴影效果 */
	filter: 
		drop-shadow(0 1px 1px rgba(255, 255, 255, 0.3))
		drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25))
		drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.countdown-unit {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	/* 粉蓝渐变文字效果 */
	background: linear-gradient(135deg, 
		#ff6b9d 0%, 
		#c084fc 30%,
		#818cf8 60%, 
		#06b6d4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 0.85;
	text-shadow: 
		0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 响应式 */
@media (max-width: 768px) {
	.countdown-section {
		padding: 16px;
		margin-bottom: 24px;
	}

	.countdown-header {
		margin-bottom: 16px;
	}

	.countdown-title {
		font-size: 20px;
	}

	.countdown-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.countdown-card {
		padding: 20px 16px;
		min-height: 320px; /* 移动端调整最小高度 */
	}

	.countdown-emoji {
		font-size: 40px;
		margin-bottom: 12px;
	}

	.countdown-name {
		font-size: 14px;
		-webkit-line-clamp: 2; /* 移动端限制为2行 */
		line-clamp: 2;
	}

	.countdown-desc {
		font-size: 11px;
	}

	.countdown-days {
		font-size: 36px;
	}

	.countdown-number {
		padding: 16px;
	}

	.countdown-unit {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.countdown-grid {
		grid-template-columns: 1fr;
	}
	
	.countdown-card {
		min-height: 300px; /* 单列时进一步调整 */
	}
}

/* 每天60秒读懂世界 */
.daily-news-section {
	margin-bottom: 32px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 24px;
	position: relative;
	overflow: hidden;
}

.daily-news-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--secondary), var(--accent), #8b5cf6);
	opacity: 0.6;
}

.daily-news-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.daily-news-title-group {
	flex: 1;
}

 .daily-news-title {
	font-size: 24px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--secondary), #8b5cf6);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.2;
	/* 防止在移动端被挤压成竖排 */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 允许标题容器在flex布局中正确收缩而不被挤压成极窄列 */
.daily-news-title-group { flex: 1; min-width: 0; }

.daily-news-subtitle {
	font-size: 14px;
	color: var(--text-secondary);
	font-weight: 500;
	/* 移动端单行省略，避免出现逐字换行 */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.daily-news-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.news-date-badge {
	padding: 8px 16px;
	background: rgba(99, 102, 241, 0.15);
	border: 1px solid rgba(99, 102, 241, 0.3);
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 600;
	color: var(--secondary);
	display: flex;
	align-items: center;
	gap: 6px;
}

.daily-news-refresh-btn {
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.daily-news-refresh-btn:hover {
	background: rgba(99, 102, 241, 0.15);
	border-color: rgba(99, 102, 241, 0.3);
	color: var(--secondary);
	transform: translateY(-2px);
}

.daily-news-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
}

.news-list-container {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	padding: 20px;
	max-height: 600px;
	overflow-y: auto;
}

.news-list-container::-webkit-scrollbar {
	width: 6px;
}

.news-list-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
}

.news-list-container::-webkit-scrollbar-thumb {
	background: rgba(99, 102, 241, 0.3);
	border-radius: 3px;
}

.news-list-container::-webkit-scrollbar-thumb:hover {
	background: rgba(99, 102, 241, 0.5);
}

.news-item {
	display: flex;
	gap: 12px;
	padding: 16px;
	margin-bottom: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	transition: all 0.3s ease;
	position: relative;
}

.news-item:last-child {
	margin-bottom: 0;
}

.news-item:hover {
	background: rgba(99, 102, 241, 0.08);
	border-color: rgba(99, 102, 241, 0.2);
	transform: translateX(4px);
}

.news-number {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--secondary), #8b5cf6);
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	color: white;
}

.news-text {
	flex: 1;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-secondary);
}

.news-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.news-image-container {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	padding: 16px;
	overflow: hidden;
}

.news-image-container img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-tip-container {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-lg);
	padding: 20px;
	position: relative;
	overflow: hidden;
}

.news-tip-container::before {
	content: "💡";
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 24px;
	opacity: 0.3;
}

.news-tip-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 12px;
}

.news-tip-text {
	font-size: 13px;
	line-height: 1.8;
	color: var(--text-secondary);
	font-style: italic;
}

.news-loading {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-secondary);
}

.news-loading-spinner {
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 4px solid rgba(99, 102, 241, 0.2);
	border-top: 4px solid var(--secondary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 16px;
}

.news-error {
	text-align: center;
	padding: 40px 20px;
	color: var(--danger);
}

/* 响应式 */
@media (max-width: 968px) {
	.daily-news-content {
		grid-template-columns: 1fr;
	}
	
	.news-sidebar {
		order: -1;
	}
	
	.news-list-container {
		max-height: 400px;
	}
}

@media (max-width: 768px) {
	.daily-news-section {
		padding: 16px;
	}
	
	/* 头部改为纵向布局，避免标题与右侧信息挤压 */
	.daily-news-header {
		margin-bottom: 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.daily-news-title {
		font-size: 20px;
	}
	
	.daily-news-subtitle {
		font-size: 12px;
		opacity: 0.9;
	}
	
	.daily-news-meta {
		width: 100%;
		gap: 8px;
	}
	
	.news-date-badge,
	.daily-news-refresh-btn {
		padding: 6px 12px;
		font-size: 12px;
	}
	
	.news-item {
		padding: 12px;
	}
	
	.news-number {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}
	
	.news-text {
		font-size: 13px;
	}
}

/* 和好官轮值卡片 */
.peacemaker-card {
		background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 218, 185, 0.1) 100%);
		border: 1px solid rgba(255, 182, 193, 0.3);
		border-radius: var(--radius-lg);
		padding: 20px;
		margin-bottom: 24px;
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: var(--shadow);
		position: relative;
	}

	.peacemaker-status {
		display: flex;
		gap: 20px;
		margin-bottom: 20px;
	}

	.peacemaker-current {
		flex: 1;
		text-align: center;
		padding: 20px;
		background: rgba(255, 255, 255, 0.05);
		border-radius: var(--radius);
		border: 1px solid rgba(255, 182, 193, 0.2);
		position: relative;
	}

	.peacemaker-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 16px;
	}

	.peacemaker-title {
		font-size: 14px;
		color: var(--text-secondary);
		font-weight: 500;
	}

	.peacemaker-refresh-btn {
		width: 32px;
		height: 32px;
		padding: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 182, 193, 0.3);
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
		cursor: pointer;
	}

	.peacemaker-refresh-btn:hover {
		background: rgba(255, 182, 193, 0.2);
		border-color: rgba(255, 182, 193, 0.5);
		transform: scale(1.05);
	}

	.peacemaker-refresh-btn:active {
		transform: scale(0.95);
	}

	.refresh-icon {
		font-size: 14px;
		color: var(--text-secondary);
		transition: transform 0.3s ease;
	}

	.peacemaker-refresh-btn:hover .refresh-icon {
		transform: rotate(180deg);
		color: var(--primary);
	}

	.peacemaker-name {
		font-size: 24px;
		font-weight: 700;
		color: var(--primary);
		margin-bottom: 4px;
	}

	.peacemaker-week {
		font-size: 12px;
		color: var(--text-secondary);
	}

	.peacemaker-rules {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.rule-item {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 12px;
		color: var(--text-secondary);
	}

	.rule-icon {
		font-size: 14px;
	}

	.rule-text {
		flex: 1;
	}

	.quarrel-status {
		margin-top: 8px;
		padding-top: 8px;
		border-top: 1px solid rgba(255, 182, 193, 0.2);
	}

	.quarrel-toggle-btn {
		margin-left: 8px;
		padding: 4px 8px;
		font-size: 11px;
		border-radius: 12px;
		background: rgba(76, 175, 80, 0.2);
		border: 1px solid rgba(76, 175, 80, 0.4);
		color: #4caf50;
		transition: all 0.3s ease;
	}

	.quarrel-toggle-btn:hover {
		background: rgba(76, 175, 80, 0.3);
		transform: scale(1.05);
	}

	.quarrel-toggle-btn.has-quarrel {
		background: rgba(244, 67, 54, 0.2);
		border-color: rgba(244, 67, 54, 0.4);
		color: #f44336;
	}

	.quarrel-toggle-btn.has-quarrel:hover {
		background: rgba(244, 67, 54, 0.3);
	}

	.peacemaker-schedule {
		border-top: 1px solid rgba(255, 182, 193, 0.2);
		padding-top: 16px;
	}

	.schedule-title {
		font-size: 14px;
		font-weight: 600;
		color: var(--text-primary);
		margin-bottom: 12px;
	}

	.schedule-list {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.schedule-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px 12px;
		background: rgba(255, 255, 255, 0.03);
		border-radius: var(--radius-sm);
		border: 1px solid rgba(255, 182, 193, 0.1);
		gap: 8px;
	}

	.schedule-week {
		font-size: 12px;
		color: var(--text-secondary);
	}

	.schedule-person {
		font-size: 12px;
		font-weight: 600;
		color: var(--primary);
	}

	.schedule-date {
		font-size: 11px;
		color: var(--text-secondary);
	}

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

	.switch-person-btn {
		width: 24px;
		height: 24px;
		padding: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 182, 193, 0.3);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 10px;
		color: var(--text-secondary);
		transition: all 0.3s ease;
		cursor: pointer;
	}

	.switch-person-btn:hover {
		background: rgba(255, 182, 193, 0.2);
		border-color: rgba(255, 182, 193, 0.5);
		transform: scale(1.1);
	}

	.switch-person-btn:active {
		transform: scale(0.95);
	}

	.pending-week {
		background: rgba(153, 153, 153, 0.1) !important;
		border-color: rgba(153, 153, 153, 0.3) !important;
		opacity: 0.7 !important;
	}

	.pending-week .schedule-person {
		color: #999 !important;
		font-style: italic;
	}

	@media (max-width: 768px) {
		.peacemaker-status {
			flex-direction: column;
			gap: 16px;
		}

		.peacemaker-current {
			text-align: left;
			padding: 16px;
		}

		.peacemaker-header {
			margin-bottom: 12px;
		}

		.peacemaker-name {
			font-size: 20px;
			margin-bottom: 6px;
		}

		.peacemaker-refresh-btn {
			width: 28px;
			height: 28px;
		}

		.refresh-icon {
			font-size: 12px;
		}
	}

	.status-card::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 2px;
		background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
	}

	.status-content {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.status-indicator {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: var(--success);
		box-shadow: 0 0 10px var(--success);
		animation: pulse 2s infinite;
	}

	@keyframes pulse {
		0%, 100% { opacity: 1; }
		50% { opacity: 0.5; }
	}

	.status-text {
		flex: 1;
		font-weight: 500;
	}

	/* KPI 指标 */
	.kpi-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 16px;
		margin-bottom: 32px;
	}

	.kpi-card {
		background: var(--glass);
		border: 1px solid var(--border);
		border-radius: var(--radius-lg);
		padding: 20px;
		text-align: center;
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: var(--shadow);
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
	}

	.kpi-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shadow-lg);
		border-color: var(--border-hover);
	}

	.kpi-value {
		font-size: 32px;
		font-weight: 900;
		margin-bottom: 8px;
		background: linear-gradient(135deg, var(--primary), var(--secondary));
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	.kpi-label {
		font-size: 14px;
		color: var(--text-secondary);
		font-weight: 500;
	}

	/* 券卡片网格 */
	.voucher-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 20px;
		margin-bottom: 32px;
	}

	.voucher-card {
		background: var(--glass);
		border: 1px solid var(--border);
		border-radius: var(--radius-xl);
		padding: 24px;
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: var(--shadow);
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
	}

	.voucher-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shadow-lg);
		border-color: var(--border-hover);
	}

	.voucher-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 16px;
	}

	.voucher-title {
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 8px;
		color: var(--text-primary);
	}

	.voucher-desc {
		font-size: 14px;
		color: var(--text-secondary);
		line-height: 1.5;
	}

	.voucher-counter {
		display: flex;
		gap: 8px;
	}

	.counter-pill {
		padding: 6px 12px;
		border-radius: var(--radius);
		font-size: 12px;
		font-weight: 600;
	}

	.counter-total {
		background: var(--surface);
		color: var(--text-secondary);
		border: 1px solid var(--border);
	}

	.counter-remaining {
		background: linear-gradient(135deg, var(--success), #22d3aa);
		color: white;
	}

	.voucher-tags {
		display: flex;
		gap: 8px;
		margin: 16px 0;
		flex-wrap: wrap;
	}

	.tag {
		padding: 4px 8px;
		border-radius: var(--radius-sm);
		font-size: 12px;
		font-weight: 500;
		background: var(--surface);
		color: var(--text-secondary);
		border: 1px solid var(--border);
	}

	.voucher-actions {
		display: flex;
		gap: 8px;
		margin-top: 16px;
	}

	.voucher-hint {
		margin-top: 12px;
		font-size: 12px;
		color: var(--accent);
		font-style: italic;
	}

	/* 模态框 */
	.modal {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.8);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		display: none;
		align-items: center;
		justify-content: center;
		z-index: 1000;
		padding: 20px;
	}

	.modal.active {
		display: flex;
	}

	.modal-content {
		background: var(--bg-secondary);
		border: 1px solid var(--border);
		border-radius: var(--radius-xl);
		padding: 32px;
		max-width: 600px;
		width: 100%;
		max-height: 90vh;
		overflow-y: auto;
		box-shadow: var(--shadow-lg);
		position: relative;
	}

	.modal-header {
		margin-bottom: 24px;
	}

	.modal-title {
		font-size: 24px;
		font-weight: 800;
		margin-bottom: 8px;
	}

	.modal-subtitle {
		color: var(--text-secondary);
		font-size: 14px;
	}

	.modal-close {
		position: absolute;
		top: 16px;
		right: 16px;
		width: 32px;
		height: 32px;
		border: none;
		background: var(--surface);
		border-radius: 50%;
		color: var(--text-secondary);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.2s ease;
	}

	.modal-close:hover {
		background: var(--surface-hover);
		color: var(--text-primary);
	}

	.form-group {
		margin-bottom: 20px;
	}

	.form-label {
		display: block;
		margin-bottom: 8px;
		font-weight: 600;
		color: var(--text-primary);
	}

	.form-input, .form-select, .form-textarea {
		width: 100%;
		padding: 12px 16px;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: var(--surface);
		color: var(--text-primary);
		font-size: 14px;
		transition: all 0.2s ease;
	}

	.form-input:focus, .form-select:focus, .form-textarea:focus {
		outline: none;
		border-color: var(--primary);
		box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
	}

	.form-textarea {
		min-height: 100px;
		resize: vertical;
	}

	.form-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.form-actions {
		display: flex;
		gap: 12px;
		justify-content: flex-end;
		margin-top: 24px;
	}

	/* 计时器区域 */
	.timer-section {
		margin-top: 32px;
	}

	.timer-item {
		background: var(--glass);
		border: 1px solid var(--border);
		border-radius: var(--radius-lg);
		padding: 20px;
		margin-bottom: 16px;
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
	}

	.timer-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 16px;
	}

	.timer-progress {
		width: 100%;
		height: 8px;
		background: var(--surface);
		border-radius: 4px;
		overflow: hidden;
		margin: 12px 0;
	}

	.timer-progress-bar {
		height: 100%;
		background: linear-gradient(90deg, var(--primary), var(--secondary));
		transition: width 0.3s ease;
	}

	/* 页脚 */
	.footer {
		margin-top: 48px;
		text-align: center;
		color: var(--text-muted);
		font-size: 14px;
	}

	.footer-links {
		display: flex;
		justify-content: center;
		gap: 16px;
		margin-bottom: 16px;
	}

	.footer-links a {
		color: var(--text-secondary);
		text-decoration: none;
		transition: color 0.2s ease;
	}

	.footer-links a:hover {
		color: var(--primary);
	}

	/* Toast 通知 */
	.toast {
		position: fixed;
		bottom: 24px;
		left: 50%;
		transform: translateX(-50%);
		background: var(--glass);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		padding: 16px 24px;
		color: var(--text-primary);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: var(--shadow);
		z-index: 2000;
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
		transition: all 0.3s ease;
	}

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

	/* 响应式设计 */
	@media (max-width: 768px) {
		.container {
			padding: 16px;
		}

		.header {
			flex-direction: column;
			align-items: stretch;
			gap: 16px;
		}

		.brand {
			justify-content: center;
		}

		.nav-buttons {
			justify-content: center;
		}

		.voucher-grid {
			grid-template-columns: 1fr;
		}

		.kpi-grid {
			grid-template-columns: repeat(2, 1fr);
		}

		.form-row {
			grid-template-columns: 1fr;
		}

		.modal-content {
			padding: 24px;
			margin: 16px;
		}

		.voucher-actions {
			flex-direction: column;
		}

		.btn {
			justify-content: center;
		}
	}

	@media (max-width: 480px) {
		.kpi-grid {
			grid-template-columns: 1fr;
		}

		.voucher-counter {
			flex-direction: column;
		}

		.form-actions {
			flex-direction: column;
		}
	}

	/* 特殊效果 */
	.sparkle {
		position: relative;
	}

	.sparkle::after {
		content: "✨";
		position: absolute;
		top: -8px;
		right: -8px;
		animation: sparkle 2s infinite;
	}

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

	/* 确认对话框样式 */
	.confirm-dialog {
		text-align: center;
	}

	.confirm-icon {
		font-size: 48px;
		margin-bottom: 16px;
	}

	.confirm-title {
		font-size: 20px;
		font-weight: 700;
		margin-bottom: 12px;
	}

	.confirm-message {
		color: var(--text-secondary);
		margin-bottom: 24px;
	}

	/* 列表样式 */
	.list-item {
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		padding: 16px;
		margin-bottom: 12px;
		transition: all 0.2s ease;
	}

	.list-item:hover {
		background: var(--surface-hover);
		border-color: var(--border-hover);
	}

	/* 同步状态指示器 */
	.sync-indicator {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 4px 8px;
		border-radius: var(--radius-sm);
		font-size: 12px;
		font-weight: 500;
	}

	.sync-indicator.connected {
		background: rgba(16, 185, 129, 0.1);
		color: var(--success);
	}

	.sync-indicator.disconnected {
		background: rgba(239, 68, 68, 0.1);
		color: var(--danger);
	}

	.sync-indicator.syncing {
		background: rgba(245, 158, 11, 0.1);
		color: var(--warning);
	}

	/* 加载动画 */
	.loading {
		display: inline-block;
		width: 16px;
		height: 16px;
		border: 2px solid var(--border);
		border-top: 2px solid var(--primary);
		border-radius: 50%;
		animation: spin 1s linear infinite;
	}

	@keyframes spin {
		0% { transform: rotate(0deg); }
		100% { transform: rotate(360deg); }
	}
