:root {
	--primary: #4F46E5;
	--primary-light: #6366F1;
	--primary-dark: #4338CA;
	--secondary: #EC4899;
	--secondary-dark: #BE185D;
	--text-dark: #1F2937;
	--text-light: #6B7280;
	--gray: #6B7280;
	--white: #FFFFFF;
	--gray-100: #F3F4F6;
	--gray-200: #E5E7EB;
	--gray-600: #4B5563;
	--gray-700: #374151;
	--gray-800: #1F2937;
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 深色模式 */
body.dark-mode {
	background-color: #121212;
	color: #E5E7EB;
}

body.dark-mode::before {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

body.dark-mode .search-card {
	background: rgba(31, 41, 55, 0.92);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

body.dark-mode #search-input {
	background: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode #search-input:focus {
	box-shadow: none;
}

body.dark-mode #search-input::placeholder {
	color: #9CA3AF;
}

body.dark-mode .search-tag {
	background: #1F2937;
	color: #E5E7EB;
}

body.dark-mode .search-tag:hover {
	background: rgba(79, 70, 229, 0.2);
	color: var(--primary-light);
	border-color: rgba(79, 70, 229, 0.3);
}

body.dark-mode .widgets-section {
	background: rgba(31, 41, 55, 0.92);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .widget-item {
	background: rgba(45, 55, 72, 0.95);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .widget-item:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .widget-item span {
	color: #E5E7EB;
}

body.dark-mode .widget-window {
	background: rgba(31, 41, 55, 0.95);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .widget-window-content {
	color: #E5E7EB;
}

body.dark-mode #notepad-content {
	background: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .wooden-fish-count p {
	color: #E5E7EB;
}

/* 深色主题 - 闹钟样式 */
body.dark-mode .alarm-tab {
	color: #E5E7EB;
}

body.dark-mode .alarm-tab.active {
	color: var(--primary);
}

body.dark-mode .alarm-tab:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .time-input {
	background-color: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .day-label {
	background-color: #1F2937;
	color: #E5E7EB;
}

body.dark-mode .day-label:hover {
	background-color: #374151;
}

body.dark-mode .alarm-label-input,
body.dark-mode .alarm-sound-select {
	background-color: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .alarm-item {
	background-color: #1F2937;
	border-color: #374151;
}

body.dark-mode .alarm-item:hover {
	background-color: #374151;
}

body.dark-mode .alarm-item-time {
	color: #E5E7EB;
}

body.dark-mode .alarm-item-days,
body.dark-mode .alarm-item-label {
	color: #9CA3AF;
}

body.dark-mode .no-alarms {
	color: #9CA3AF;
}

body.dark-mode .pomodoro-display {
	background-color: #1F2937;
	border-color: var(--primary);
	color: #E5E7EB;
}

body.dark-mode .pomodoro-settings h5 {
	color: #E5E7EB;
}

body.dark-mode .pomodoro-setting label {
	color: #E5E7EB;
}

body.dark-mode .pomodoro-setting-input {
	background-color: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .weather-temp {
	color: #E5E7EB;
}

body.dark-mode .weather-detail-item {
	background: rgba(45, 55, 72, 0.5);
}

body.dark-mode .weather-detail-item .label {
	color: #9CA3AF;
}

body.dark-mode .weather-detail-item .value {
	color: #E5E7EB;
}

body.dark-mode .settings-panel {
	background: rgba(31, 41, 55, 0.95);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .settings-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .settings-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .settings-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .settings-content h3 {
	color: #E5E7EB;
}

body.dark-mode .setting-item label {
	color: #E5E7EB;
}

body.dark-mode .setting-item select {
	background: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .setting-item input[type="text"] {
	background: #1F2937;
	border-color: #374151;
	color: #E5E7EB;
}

body.dark-mode .widgets-panel {
	background: rgba(31, 41, 55, 0.95);
	box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .widgets-content h3 {
	color: #E5E7EB;
}

body.dark-mode .about-panel {
	background: rgba(31, 41, 55, 0.95);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .about-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .about-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .about-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .about-content h3 {
	color: #E5E7EB;
}

body.dark-mode .about-info {
	background: rgba(79, 70, 229, 0.15);
}

body.dark-mode .about-title h4 {
	color: #E5E7EB;
}

body.dark-mode .about-description {
	background: rgba(79, 70, 229, 0.1);
}

body.dark-mode .about-description p {
	color: #E5E7EB;
}

body.dark-mode .about-features {
	background: rgba(79, 70, 229, 0.1);
}

body.dark-mode .about-features h5 {
	color: #E5E7EB;
}

body.dark-mode .about-features li {
	color: #E5E7EB;
}

body.dark-mode .about-links {
	background: rgba(79, 70, 229, 0.1);
}

body.dark-mode .about-links h5 {
	color: #E5E7EB;
}

body.dark-mode .about-link {
	background: rgba(79, 70, 229, 0.2);
}

body.dark-mode .about-link:hover {
	background: rgba(79, 70, 229, 0.3);
}

body.dark-mode .about-footer {
	background: rgba(79, 70, 229, 0.15);
}

body.dark-mode .about-footer p {
	color: #9CA3AF;
}

body.dark-mode .brand-logo {
	text-shadow: 0 2px 10px rgba(79, 70, 229, 0.5);
}

body.dark-mode .time-display {
	color: #E5E7EB;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .date-display {
	color: #E5E7EB;
}

body.dark-mode .brand-slogan {
	color: #E5E7EB;
	opacity: 0.8;
}

body.dark-mode .quick-title {
	color: #9CA3AF;
}

body.dark-mode .widgets-title {
	color: #E5E7EB;
}

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

body {
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
	position: relative;
	padding: 20px;
	overflow-x: hidden;
}

body.no-wallpaper {
	background-image: none !important;
	background-color: white;
}

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
	z-index: -1;
}

.container {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
	padding-bottom: 50px;
}

body.no-wallpaper .container {
	margin-top: 20px;
}

body.no-wallpaper .time-section {
	color: var(--text-dark);
}

.time-section {
	text-align: center;
	padding-top: 30px;
	padding-bottom: 10px;
	color: var(--white);
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.time-display {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--white);
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: -2px;
	line-height: 1;
}

.date-display {
	font-size: 1.1rem;
	margin-bottom: 0;
	color: var(--white);
	opacity: 0.95;
	font-weight: 400;
	letter-spacing: 1px;
}

.brand-section {
	text-align: center;
	margin-top: 0;
	color: var(--white);
}

.brand-logo {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 8px;
	background: linear-gradient(90deg, #FFD700, #FF4500);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
}

.brand-slogan {
	font-size: 1.1rem;
	opacity: 0.9;
	font-weight: 400;
}

.search-card {
	width: 100%;
	max-width: 750px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-radius: 24px;
	padding: 40px;
	box-shadow: var(--shadow-lg);
	transition: var(--transition);
	isolation: auto;
}

.search-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.search-box {
	width: 100%;
	display: flex;
	align-items: center;
	z-index: 9999998;
	position: relative;
	margin-bottom: 25px;
	transform: none;
	opacity: 1;
	isolation: auto;
}

#search-input {
	flex: 1;
	height: 56px;
	padding: 0 20px 0 55px;
	border: 2px solid var(--gray-200);
	border-right: none;
	border-radius: 28px 0 0 28px;
	font-size: 1.1rem;
	color: var(--text-dark);
	background: var(--white);
	outline: none;
	transition: var(--transition);
	box-sizing: border-box;
}

#search-input:focus {
	border-color: var(--primary-light);
	border-radius: 28px 0 0 0;
	box-shadow: none;
}

#search-input:focus~.search-btn {
	border-radius: 0 28px 0 0;
}

#search-input::placeholder {
	color: var(--text-light);
}

.suggestions-container {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: var(--white);
	border: 2px solid var(--gray-200);
	border-top: none;
	border-radius: 0 0 28px 28px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	z-index: 999999;
	max-height: 400px;
	overflow-y: auto;
	display: none;
	margin-top: -2px;
	box-sizing: border-box;
	-ms-overflow-style: none;
	-webkit-scrollbar {
		display: none;
	}
}

.suggestions-container::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.suggestions-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.suggestion-item {
	padding: 12px 20px 12px 55px;
	cursor: pointer;
	transition: var(--transition);
	color: var(--text-dark);
}

.suggestion-item:hover {
	background-color: var(--gray-100);
}

.suggestion-item:active {
	background-color: var(--gray-200);
}

.suggestions-container::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.suggestions-container {
	-ms-overflow-style: none;
	-webkit-scrollbar {
		display: none;
	}
}

.suggestions-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.suggestion-item {
	padding: 12px 20px 12px 55px;
	cursor: pointer;
	transition: var(--transition);
	color: var(--text-dark);
}

.suggestion-item:hover {
	background-color: var(--gray-100);
}

.suggestion-item:active {
	background-color: var(--gray-200);
}

body.dark-mode .suggestions-container {
	background-color: var(--gray-800);
	border-color: var(--gray-700);
}

body.dark-mode .suggestion-item {
	color: var(--text-light);
}

body.dark-mode .suggestion-item:hover {
	background-color: var(--gray-700);
}

body.dark-mode .suggestion-item:active {
	background-color: var(--gray-600);
}

.search-icon {
	position: absolute;
	left: 20px;
	font-size: 1.2rem;
	color: var(--text-light);
}

.search-box .voice-btn {
	height: 56px;
	padding: 0 15px;
	border: 2px solid var(--gray-200) !important;
	border-left: none !important;
	border-right: none !important;
	border-radius: 0 !important;
	background: var(--white) !important;
	color: var(--text-dark) !important;
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-box .voice-btn:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	transform: translateY(-1px);
}

.search-box .voice-btn:focus {
	outline: none;
}

/* 搜索框焦点时的语音按钮样式 */
#search-input:focus + .voice-btn {
	border-color: var(--gray-200) !important;
	border-radius: 0 !important;
}

/* 深色模式下的语音按钮 */
body.dark-mode .search-box .voice-btn {
	background: #1F2937 !important;
	border-color: #374151 !important;
	color: var(--white) !important;
}

body.dark-mode .search-box .voice-btn:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

/* 深色模式下搜索框焦点时的语音按钮样式 */
body.dark-mode #search-input:focus + .voice-btn {
	border-color: #374151 !important;
}

.search-btn {
	height: 56px;
	padding: 0 35px;
	border: none;
	border-radius: 0 28px 28px 0;
	background: var(--primary);
	color: var(--white);
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-btn:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

.search-btn:focus {
	outline: none;
}

.quick-search {
	width: 100%;
}

.quick-title {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tag-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.search-tag {
	padding: 8px 16px;
	background: var(--gray-100);
	color: var(--text-dark);
	border-radius: 16px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: var(--transition);
	border: 1px solid transparent;
}

.search-tag:hover {
	background: rgba(79, 70, 229, 0.1);
	color: var(--primary);
	border-color: rgba(79, 70, 229, 0.2);
}

.widgets-section {
	width: 100%;
	max-width: 750px;
	z-index: 1;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-radius: 24px;
	padding: 40px;
	box-shadow: var(--shadow-lg);
	transition: var(--transition);
	margin-top: 30px;
}

.widgets-section:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.widgets-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 20px;
}

.widgets-title-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.edit-widgets-btn {
	padding: 8px 16px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
}

.edit-widgets-btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.edit-widgets-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 编辑模式样式 */
.widgets-section.edit-mode {
	border: 2px dashed var(--primary);
	border-radius: 24px;
	padding: 38px;
}

.widgets-section.edit-mode .widget-item {
	position: relative;
	padding: 20px 50px 20px 20px;
	cursor: move;
}

.widget-item .remove-widget-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	background-color: #ff4757;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	opacity: 0;
	pointer-events: none;
	z-index: 10;
}

.widgets-section.edit-mode .widget-item .remove-widget-btn {
	opacity: 1;
	pointer-events: auto;
}

.widget-item .remove-widget-btn:hover {
	background-color: #ff3742;
	transform: scale(1.1);
}

/* 拖拽排序样式 */
.widget-item.dragging {
	opacity: 0.5;
	transform: rotate(5deg);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.widget-item:hover {
	transition: var(--transition);
}

/* 小组件列表容器样式 */
.widget-list-container {
	margin-top: 30px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: relative;
}

.widget-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gray-200);
}

.widget-list-header h4 {
	margin: 0;
	color: var(--text-dark);
	font-size: 1.1rem;
}

.close-widget-list-btn {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text-light);
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: var(--transition);
}

.close-widget-list-btn:hover {
	background-color: rgba(0, 0, 0, 0.1);
	color: var(--text-dark);
}

.widget-list-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.widget-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 8px;
	transition: var(--transition);
}

.widget-list-item:hover {
	background: rgba(102, 126, 234, 0.2);
	transform: translateY(-2px);
}

.widget-list-item i {
	font-size: 1.2rem;
	color: var(--primary);
	margin-right: 12px;
}

.widget-list-item span {
	flex: 1;
	color: var(--text-dark);
	font-size: 0.95rem;
}

.add-widget-btn {
	padding: 6px 12px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.85rem;
	transition: var(--transition);
}

.add-widget-btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-1px);
}

/* 深色主题 - 编辑模式样式 */
body.dark-mode .widget-list-container {
	background: rgba(45, 55, 72, 0.95);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .widget-list-header {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .widget-list-header h4 {
	color: #E5E7EB;
}

body.dark-mode .close-widget-list-btn {
	color: #9CA3AF;
}

body.dark-mode .close-widget-list-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #E5E7EB;
}

body.dark-mode .widget-list-item {
	background: rgba(102, 126, 234, 0.15);
}

body.dark-mode .widget-list-item:hover {
	background: rgba(102, 126, 234, 0.25);
}

body.dark-mode .widget-list-item span {
	color: #E5E7EB;
}

/* 深色主题样式 */
body.dark-mode .edit-widgets-btn {
	background-color: var(--primary-light);
}

body.dark-mode .edit-widgets-btn:hover {
	background-color: var(--primary);
}

body.dark-mode .widgets-section.edit-mode {
	border-color: var(--primary-light);
}

/* 复活节彩蛋主题样式 */
body.easter-egg-active .edit-widgets-btn {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
	background-size: 200% 200%;
	animation: rainbowBackground 3s ease infinite;
}

body.easter-egg-active .widgets-section.edit-mode {
	border-color: rgba(255, 255, 255, 0.5);
}

.widgets-container {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.widget-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	transition: var(--transition);
	min-width: 100px;
	position: relative;
}

.widget-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.widget-item i {
	font-size: 2rem;
	color: var(--primary);
}

.widget-item span {
	font-size: 0.9rem;
	color: var(--text-dark);
}

.loading-tip {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--white);
	font-size: 1rem;
	display: none;
	align-items: center;
	gap: 8px;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	z-index: 999;
}

.mode-toggle-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 1.2rem;
}

.mode-toggle-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.about-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 1.2rem;
}

.about-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.refresh-wallpaper-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 1.2rem;
}

.refresh-wallpaper-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(30deg);
}

.settings-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 1.2rem;
}

.widgets-btn {
	width: 45px;
	height: 45px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	font-size: 1.2rem;
	cursor: pointer;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.widgets-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

/* 操作按钮区域样式 */
.operation-section {
	display: flex;
	align-items: center;
	gap: 10px;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 100;
}

.login-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 0.9rem;
	font-weight: 500;
}

.login-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 深色模式下的登录按钮 */
body.dark-mode .login-btn {
	background: rgba(255, 255, 255, 0.1);
	color: #E5E7EB;
}

body.dark-mode .login-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.settings-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(30deg);
}

.settings-panel {
	position: fixed;
	top: 0;
	right: -480px;
	width: 480px;
	height: 100vh;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	padding: 25px;
	overflow: hidden;
}

.settings-panel.active {
	right: 0;
}

.settings-content {
	flex: 1;
	overflow-y: auto;
	padding-right: 5px;
}

.settings-content::-webkit-scrollbar {
	width: 6px;
}

.settings-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.3);
}

/* 关于面板样式 */
.about-panel {
	position: fixed;
	top: 0;
	right: -480px;
	width: 480px;
	height: 100vh;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	padding: 25px;
	overflow: hidden;
}

.about-panel.active {
	right: 0;
}

.about-content {
	flex: 1;
	overflow-y: auto;
	padding-right: 5px;
}

.about-content::-webkit-scrollbar {
	width: 6px;
}

.about-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.about-content::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.about-content::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.3);
}

.about-content h3 {
	margin: 0 0 20px 0;
	color: var(--text-dark);
	font-size: 1.4rem;
	border-bottom: 2px solid var(--primary);
	padding-bottom: 10px;
}

.about-info {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 10px;
}

.about-logo {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
}

.about-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.about-title h4 {
	margin: 0 0 5px 0;
	color: var(--text-dark);
	font-size: 1.2rem;
}

.about-version {
	margin: 0;
	color: var(--text-light);
	font-size: 0.9rem;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.about-description {
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(102, 126, 234, 0.05);
	border-radius: 10px;
}

.about-description p {
	margin: 0 0 10px 0;
	color: var(--text-dark);
	line-height: 1.6;
}

.about-description p:last-child {
	margin-bottom: 0;
}

.about-slogan {
	font-weight: 600;
	color: var(--primary);
	text-align: center;
	margin-top: 15px;
}

.about-features {
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(102, 126, 234, 0.05);
	border-radius: 10px;
}

.about-features h5 {
	margin: 0 0 15px 0;
	color: var(--text-dark);
	font-size: 1rem;
}

.about-features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.about-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	color: var(--text-dark);
	font-size: 0.95rem;
}

.about-features li i {
	color: var(--primary);
	flex-shrink: 0;
}

.about-links {
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(102, 126, 234, 0.05);
	border-radius: 10px;
}

.about-links h5 {
	margin: 0 0 15px 0;
	color: var(--text-dark);
	font-size: 1rem;
}

.about-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	background: rgba(79, 70, 229, 0.1);
	color: var(--primary);
	text-decoration: none;
	border-radius: 8px;
	margin-bottom: 10px;
	transition: var(--transition);
}

.about-link:hover {
	background: rgba(79, 70, 229, 0.2);
	transform: translateY(-2px);
}

.about-link:last-child {
	margin-bottom: 0;
}

.about-link i {
	font-size: 1.1rem;
}

.about-footer {
	padding: 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 10px;
	text-align: center;
}

.about-footer p {
	margin: 0;
	color: var(--text-light);
	font-size: 0.9rem;
}

.close-about {
	background: var(--primary);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	transition: var(--transition);
	margin-top: 10px;
}

.close-about:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.close-about:active {
	transform: translateY(0);
}

/* 彩蛋视频播放框样式 */
.egg-video-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.egg-video-container.active {
	opacity: 1;
	visibility: visible;
}

.egg-video-wrapper {
	position: relative;
	width: 90%;
	max-width: 1200px;
	height: 90%;
	max-height: 800px;
}

.close-egg-video {
	position: absolute;
	top: -40px;
	right: 0;
	background: var(--primary);
	color: white;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: var(--transition);
	z-index: 10;
}

.close-egg-video:hover {
	background: var(--primary-dark);
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.egg-video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

/* 小组件面板样式 */
.widgets-panel {
	position: fixed;
	top: 0;
	left: -350px;
	width: 320px;
	height: 100vh;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	padding: 25px;
}

.widgets-panel.active {
	left: 0;
}

.widgets-content h3 {
	margin: 0 0 20px 0;
	color: var(--text-dark);
	font-size: 1.4rem;
	border-bottom: 2px solid var(--primary);
	padding-bottom: 10px;
}

.widgets-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
	margin-bottom: 30px;
}

.widget-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 10px;
	cursor: pointer;
	transition: var(--transition);
	border: 2px solid transparent;
}

.widget-item:hover {
	background: rgba(102, 126, 234, 0.2);
	border-color: var(--primary);
	transform: translateY(-2px);
}

.widget-item i {
	font-size: 1.5rem;
	color: var(--primary);
}

.widget-item span {
	font-size: 1.1rem;
	color: var(--text-dark);
}

.close-widgets {
	padding: 10px 20px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	margin-top: auto;
}

.close-widgets:hover {
	background: var(--primary-dark);
}

/* 窗口样式 */
.widget-window {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	z-index: 1100;
	display: flex;
	flex-direction: column;
	animation: windowSlideIn 0.3s ease-out;
}

@keyframes windowSlideIn {
	from {
		opacity: 0;
		transform: translate(-50%, -60%) scale(0.9);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

.widget-window-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	border-radius: 12px 12px 0 0;
	-webkit-user-select: none;
	user-select: none;
}

.widget-window-header h4 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
}

.close-window {
	background: none;
	border: none;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	transition: var(--transition);
}

.close-window:hover {
	background: rgba(255, 255, 255, 0.2);
}

.widget-window-content {
	padding: 20px;
	flex: 1;
	overflow: auto;
}

/* 记事本样式 */
#notepad-content {
	width: 100%;
	height: 400px;
	padding: 20px;
	border: 2px solid var(--gray-200);
	border-radius: 8px;
	font-size: 1rem;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
	resize: none;
	outline: none;
	transition: var(--transition);
}

#notepad-content:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* 天气样式 */
.weather-content {
	text-align: center;
}

.weather-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 50px;
}

.weather-loading i {
	font-size: 3rem;
	color: var(--primary);
}

.weather-loading p {
	font-size: 1.1rem;
	color: var(--text-light);
}

.weather-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.weather-main {
	display: flex;
	align-items: center;
	gap: 30px;
}

.weather-icon {
	font-size: 4rem;
	color: var(--primary);
}

.weather-temp {
	font-size: 3rem;
	font-weight: 700;
	color: var(--text-dark);
}

.weather-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	width: 100%;
	margin-top: 20px;
}

.weather-detail-item {
	padding: 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 8px;
	text-align: center;
}

.weather-detail-item i {
	font-size: 1.2rem;
	color: var(--primary);
	margin-bottom: 5px;
}

.weather-detail-item .label {
	font-size: 0.9rem;
	color: var(--text-light);
}

.weather-detail-item .value {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
}

/* 木鱼样式 */
.wooden-fish-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	padding: 50px 20px;
}

.wooden-fish {
	cursor: pointer;
	transition: var(--transition);
	animation: float 2s ease-in-out infinite;
}

.wooden-fish-image {
	width: 200px;
	height: 200px;
	object-fit: contain;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.wooden-fish:hover {
	transform: scale(1.1);
}

.wooden-fish:active {
	transform: scale(0.9);
}

.wooden-fish-count p {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
}

.wooden-fish-count span {
	color: var(--primary);
}

/* 闹钟样式 */
.alarm-content {
	padding: 20px;
}

.alarm-tab-container {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.alarm-tab {
	padding: 10px 20px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 14px;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.alarm-tab.active {
	border-bottom-color: var(--primary);
	color: var(--primary);
	font-weight: bold;
}

.alarm-tab:hover {
	background-color: rgba(76, 175, 80, 0.1);
}

.alarm-setup {
	margin-bottom: 20px;
}

.time-picker {
	margin-bottom: 15px;
}

.time-input {
	width: 100%;
	padding: 10px;
	font-size: 18px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
}

.alarm-days {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

.day-label {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 15px;
	background-color: #f0f0f0;
	transition: all 0.3s ease;
}

.day-label:hover {
	background-color: #e0e0e0;
}

.day-checkbox:checked+.day-label {
	background-color: var(--primary);
	color: white;
}

.alarm-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 15px;
}

.alarm-label-input,
.alarm-sound-select {
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.add-alarm-btn {
	width: 100%;
	padding: 10px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

.add-alarm-btn:hover {
	background-color: #45a049;
}

.alarms-list {
	margin-top: 20px;
}

.alarm-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 10px;
	background-color: #f9f9f9;
}

.alarm-item:hover {
	background-color: #f0f0f0;
}

.alarm-item-info {
	flex: 1;
}

.alarm-item-time {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.alarm-item-days {
	font-size: 12px;
	color: #666;
	margin-bottom: 5px;
}

.alarm-item-label {
	font-size: 12px;
	color: #888;
}

.alarm-item-actions {
	display: flex;
	gap: 10px;
}

.alarm-toggle {
	position: relative;
	width: 50px;
	height: 24px;
	background-color: #ccc;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.alarm-toggle.active {
	background-color: var(--primary);
}

.alarm-toggle::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: white;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.alarm-toggle.active::after {
	transform: translateX(26px);
}

.delete-alarm-btn {
	background: none;
	border: none;
	color: #ff4444;
	cursor: pointer;
	font-size: 16px;
	transition: color 0.3s ease;
}

.delete-alarm-btn:hover {
	color: #ff0000;
}

/* 番茄钟样式 */
.pomodoro-timer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 30px;
}

.pomodoro-display {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 50%;
	background-color: #f9f9f9;
	width: 200px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid var(--primary);
}

.pomodoro-controls {
	display: flex;
	gap: 10px;
}

.pomodoro-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

#pomodoro-start {
	background-color: var(--primary);
	color: white;
}

#pomodoro-start:hover {
	background-color: #45a049;
}

#pomodoro-pause {
	background-color: #ff9800;
	color: white;
}

#pomodoro-pause:hover {
	background-color: #f57c00;
}

#pomodoro-reset {
	background-color: #f44336;
	color: white;
}

#pomodoro-reset:hover {
	background-color: #da190b;
}

.pomodoro-settings {
	margin-top: 20px;
}

.pomodoro-settings h5 {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
}

.pomodoro-setting {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.pomodoro-setting-input {
	width: 80px;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
}

/* 闹钟标签内容默认样式 */
.alarm-tab-content {
	display: none;
}

.alarm-tab-content:first-child {
	display: block;
}

/* 无闹钟提示 */
.no-alarms {
	text-align: center;
	color: #666;
	padding: 20px;
	margin: 0;
}

/* 页脚样式 */
.footer {
	width: 100%;
	max-width: 1200px;
	margin: 50px auto 20px;
	padding: 20px;
	text-align: center;
	color: var(--gray);
	border-radius: 12px 12px 0 0;
}

/* 简洁模式下的页脚样式 */
body.minimal-mode .footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	z-index: 99;
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--gray) !important;
}

.footer-content p {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.9;
	color: var(--gray) !important;
}

.footer-content a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition);
	position: relative;
	display: inline-block !important;
	white-space: nowrap !important;
}

.footer-content a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--primary-light);
	transition: width 0.3s ease;
}

.footer-content a:hover {
	color: var(--primary-light);
	opacity: 1;
}

.footer-content a:hover::after {
	width: 100%;
}

/* 深色模式下的页脚样式 */
body.dark-mode .footer {
	color: #E5E7EB;
}

body.dark-mode .footer-content a {
	color: var(--primary-light);
}

body.dark-mode .footer-content a:hover {
	color: var(--primary);
}

body.dark-mode .footer-content a::after {
	background: var(--primary);
}

.calculator-display {
	background-color: #f5f5f5;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	text-align: right;
	min-height: 100px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.calculator-result {
	font-size: 32px;
	font-weight: bold;
	color: #333;
}

.calculator-expression {
	font-size: 16px;
	color: #666;
	min-height: 20px;
}

.calculator-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.calculator-row {
	display: flex;
	gap: 10px;
}

.calculator-btn {
	flex: 1;
	padding: 20px;
	font-size: 18px;
	font-weight: 500;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calculator-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calculator-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-btn-number {
	background-color: #f9f9f9;
	color: #333;
	border: 1px solid #e0e0e0;
}

.calculator-btn-number:hover {
	background-color: #f0f0f0;
}

.calculator-btn-operator {
	background-color: var(--primary);
	color: white;
}

.calculator-btn-operator:hover {
	background-color: var(--primary-dark);
}

.calculator-btn-clear {
	background-color: #ff4757;
	color: white;
}

.calculator-btn-clear:hover {
	background-color: #ff3742;
}

.calculator-btn-backspace {
	background-color: #ffa502;
	color: white;
}

.calculator-btn-backspace:hover {
	background-color: #ff9800;
}

.calculator-btn-percent {
	background-color: #2ed573;
	color: white;
}

.calculator-btn-percent:hover {
	background-color: #27ae60;
}

.calculator-btn-decimal {
	background-color: #f9f9f9;
	color: #333;
	border: 1px solid #e0e0e0;
}

.calculator-btn-decimal:hover {
	background-color: #f0f0f0;
}

.calculator-btn-equals {
	background-color: var(--primary-dark);
	color: white;
}

.calculator-btn-equals:hover {
	background-color: var(--primary);
}

.calculator-btn-zero {
	flex: 2;
	background-color: #f9f9f9;
	color: #333;
	border: 1px solid #e0e0e0;
}

.calculator-btn-zero:hover {
	background-color: #f0f0f0;
}

/* 深色主题 - 计算器样式 */
body.dark-mode .calculator-display {
	background-color: #333;
}

body.dark-mode .calculator-result {
	color: #e0e0e0;
}

body.dark-mode .calculator-expression {
	color: #aaa;
}

body.dark-mode .calculator-btn-number {
	background-color: #3a3a3a;
	color: #e0e0e0;
	border-color: #444;
}

body.dark-mode .calculator-btn-number:hover {
	background-color: #444;
}

body.dark-mode .calculator-btn-decimal {
	background-color: #3a3a3a;
	color: #e0e0e0;
	border-color: #444;
}

body.dark-mode .calculator-btn-decimal:hover {
	background-color: #444;
}

body.dark-mode .calculator-btn-zero {
	background-color: #3a3a3a;
	color: #e0e0e0;
	border-color: #444;
}

body.dark-mode .calculator-btn-zero:hover {
	background-color: #444;
}

/* 复活节彩蛋主题 - 计算器样式 */
body.easter-egg-active .calculator-display {
	background-color: rgba(255, 255, 255, 0.1);
}

body.easter-egg-active .calculator-result {
	color: white;
}

body.easter-egg-active .calculator-expression {
	color: rgba(255, 255, 255, 0.8);
}

body.easter-egg-active .calculator-btn-number {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	border-color: rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .calculator-btn-number:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

body.easter-egg-active .calculator-btn-decimal {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	border-color: rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .calculator-btn-decimal:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

body.easter-egg-active .calculator-btn-zero {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	border-color: rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .calculator-btn-zero:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

/* 每日一言样式 */
.daily-quote-container {
	padding: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 300px;
}

.daily-quote-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-bottom: 30px;
	width: 100%;
}

.daily-quote-text {
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-dark);
	margin-bottom: 20px;
	padding: 20px;
	background-color: rgba(76, 175, 80, 0.1);
	border-radius: 10px;
	position: relative;
}

.daily-quote-text::before {
	content: '"';
	font-size: 48px;
	color: var(--primary);
	position: absolute;
	top: -10px;
	left: 10px;
	font-family: Georgia, serif;
}

.daily-quote-text::after {
	content: '"';
	font-size: 48px;
	color: var(--primary);
	position: absolute;
	bottom: -30px;
	right: 10px;
	font-family: Georgia, serif;
}

.daily-quote-author {
	font-size: 14px;
	color: var(--text-light);
	font-style: italic;
}

.daily-quote-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	color: var(--text-light);
}

.daily-quote-loading i {
	font-size: 32px;
	color: var(--primary);
}

.daily-quote-actions {
	width: 100%;
	display: flex;
	justify-content: center;
}

.refresh-quote-btn {
	padding: 12px 24px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.refresh-quote-btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.refresh-quote-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 深色主题 - 每日一言样式 */
body.dark-mode .daily-quote-text {
	background-color: rgba(76, 175, 80, 0.2);
	color: #e0e0e0;
}

body.dark-mode .daily-quote-author {
	color: #aaa;
}

body.dark-mode .daily-quote-loading {
	color: #aaa;
}

/* 复活节彩蛋主题 - 每日一言样式 */
body.easter-egg-active .daily-quote-text {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

body.easter-egg-active .daily-quote-author {
	color: rgba(255, 255, 255, 0.8);
}

body.easter-egg-active .daily-quote-loading {
	color: rgba(255, 255, 255, 0.8);
}

body.easter-egg-active .refresh-quote-btn {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
	background-size: 200% 200%;
	animation: rainbowBackground 3s ease infinite;
}

/* 今天吃什么样式 */
.food-decider-container {
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-height: 400px;
}

.food-display {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 40px;
	background-color: rgba(76, 175, 80, 0.1);
	border-radius: 15px;
	position: relative;
}

.food-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	color: var(--text-light);
}

.food-placeholder i {
	font-size: 64px;
	color: var(--primary);
	opacity: 0.5;
}

.food-placeholder p {
	font-size: 16px;
	margin: 0;
}

.food-result {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.food-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-10px);
	}
}

.food-icon i {
	font-size: 48px;
}

.food-name {
	font-size: 32px;
	font-weight: bold;
	color: var(--text-dark);
	animation: pulse 1s ease infinite alternate;
}

@keyframes pulse {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.05);
	}
}

.food-controls {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.food-btn {
	padding: 15px 30px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	min-width: 120px;
	justify-content: center;
}

.food-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.start-btn {
	background-color: var(--primary);
	color: white;
}

.start-btn:hover:not(:disabled) {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stop-btn {
	background-color: #ff4757;
	color: white;
}

.stop-btn:hover:not(:disabled) {
	background-color: #ff3742;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 食物列表样式 */
.food-list {
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.food-list h5 {
	margin: 0 0 15px 0;
	color: var(--text-dark);
	font-size: 14px;
	font-weight: bold;
}

.food-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-height: 120px;
	overflow-y: auto;
	padding-right: 10px;
}

/* 自定义滚动条样式 */
.food-items::-webkit-scrollbar {
	width: 6px;
}

.food-items::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.food-items::-webkit-scrollbar-thumb {
	background: rgba(79, 70, 229, 0.5);
	border-radius: 3px;
	transition: background 0.3s ease;
}

.food-items::-webkit-scrollbar-thumb:hover {
	background: rgba(79, 70, 229, 0.8);
}

/* 深色主题 - 自定义滚动条 */
body.dark-mode .food-items::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .food-items::-webkit-scrollbar-thumb {
	background: rgba(102, 126, 234, 0.5);
}

body.dark-mode .food-items::-webkit-scrollbar-thumb:hover {
	background: rgba(102, 126, 234, 0.8);
}

.food-item-tag {
	padding: 6px 12px;
	background-color: #f0f0f0;
	color: var(--text-dark);
	border-radius: 15px;
	font-size: 12px;
	transition: all 0.2s ease;
}

.food-item-tag:hover {
	background-color: var(--primary);
	color: white;
}

/* 深色主题 - 今天吃什么样式 */
body.dark-mode .food-display {
	background-color: rgba(76, 175, 80, 0.2);
}

body.dark-mode .food-placeholder {
	color: #aaa;
}

body.dark-mode .food-name {
	color: #e0e0e0;
}

body.dark-mode .food-list {
	background-color: rgba(51, 51, 51, 0.8);
}

body.dark-mode .food-list h5 {
	color: #e0e0e0;
}

body.dark-mode .food-item-tag {
	background-color: #444;
	color: #e0e0e0;
}

body.dark-mode .food-item-tag:hover {
	background-color: var(--primary);
	color: white;
}

/* 复活节彩蛋主题 - 今天吃什么样式 */
body.easter-egg-active .food-display {
	background-color: rgba(255, 255, 255, 0.1);
}

body.easter-egg-active .food-placeholder {
	color: rgba(255, 255, 255, 0.8);
}

body.easter-egg-active .food-name {
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.easter-egg-active .food-list {
	background-color: rgba(255, 255, 255, 0.1);
}

body.easter-egg-active .food-list h5 {
	color: white;
}

body.easter-egg-active .food-item-tag {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .food-item-tag:hover {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
	color: white;
	border-color: transparent;
}

.settings-content h3 {
	margin: 0 0 20px 0;
	color: var(--text-dark);
	font-size: 1.4rem;
	border-bottom: 2px solid var(--primary);
	padding-bottom: 10px;
}

.setting-item {
	margin-bottom: 20px;
	padding: 10px 0;
	border-bottom: 1px solid var(--gray-200);
}

.setting-item label {
	display: block;
	font-size: 1rem;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.setting-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: middle;
}

.setting-item input[type="checkbox"]+span {
	vertical-align: middle;
}

.setting-item select {
	margin-left: 10px;
	padding: 5px 10px;
	border: 1px solid var(--gray-200);
	border-radius: 5px;
	background: var(--white);
	color: var(--text-dark);
}

.close-settings {
	padding: 10px 20px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	margin-top: auto;
}

.close-settings:hover {
	background: var(--primary-dark);
}

/* 设置面板相关样式 */
.custom-search-container {
	display: none;
}

.setting-input {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.setting-input[type="file"] {
	padding: 8px;
	cursor: pointer;
	background: #f8f9fa;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.setting-input[type="file"]:hover {
	background: #e9ecef;
	border-color: #adb5bd;
}

.setting-input[type="file"]:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

body.dark-mode .setting-input[type="file"] {
	background: #374151;
	border-color: #4B5563;
	color: #E5E7EB;
}

body.dark-mode .setting-input[type="file"]:hover {
	background: #4B5563;
	border-color: #6B7280;
}

body.dark-mode .setting-input[type="file"]:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

body.easter-egg-active .setting-input[type="file"] {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b);
	background-size: 600% 600%;
	animation: rainbowBackground 5s ease infinite;
	border-color: transparent;
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.music-controls {
	display: none;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.current-track {
	flex: 1;
	font-size: 0.9rem;
	color: var(--text-dark);
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.music-control-btn {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 5px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	transition: background 0.3s ease;
}

.music-control-btn:hover {
	background: var(--primary-dark);
}

body.dark-mode .music-control-btn {
	background: var(--primary);
}

body.dark-mode .music-control-btn:hover {
	background: var(--primary-light);
}

body.easter-egg-active .music-control-btn {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b);
	background-size: 600% 600%;
	animation: rainbowBackground 5s ease infinite;
	border: none;
}

.music-volume-slider {
	flex: 1;
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

body.dark-mode .music-volume-slider {
	background: #374151;
}

body.easter-egg-active .music-volume-slider {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b);
	background-size: 600% 600%;
	animation: rainbowBackground 5s ease infinite;
}

.music-volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--primary);
	cursor: pointer;
	transition: background 0.3s ease;
}

.music-volume-slider::-webkit-slider-thumb:hover {
	background: var(--primary-dark);
}

body.dark-mode .music-volume-slider::-webkit-slider-thumb {
	background: var(--primary);
}

body.dark-mode .music-volume-slider::-webkit-slider-thumb:hover {
	background: var(--primary-light);
}

body.easter-egg-active .music-volume-slider::-webkit-slider-thumb {
	background: white;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.music-volume-label {
	min-width: 40px;
	text-align: center;
	color: var(--text-light);
	font-size: 0.9rem;
}

body.dark-mode .music-volume-label {
	color: #9CA3AF;
}

body.easter-egg-active .music-volume-label {
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.setting-hint {
	display: block;
	margin-top: 5px;
}

.reset-settings {
	background: #EF4444;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1rem;
	margin-bottom: 10px;
}

.settings-buttons {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.settings-buttons button {
	flex: 1;
}

.apply-base64-btn {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1rem;
	margin-top: 10px;
	width: 100%;
}

.apply-base64-btn:hover {
	background: var(--secondary);
	transition: background 0.3s ease;
}

.cancel-settings {
	background: #6B7280;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1rem;
}

.save-only-settings {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1rem;
}

.save-only-settings:hover {
	background: var(--primary-dark);
}

/* 深色模式下的保存按钮样式 */
body.dark-mode .save-only-settings {
	background: var(--primary-light);
}

body.dark-mode .save-only-settings:hover {
	background: var(--primary);
}

/* 深色模式下的Base64壁纸应用按钮样式 */
body.dark-mode .apply-base64-btn {
	background: var(--primary-light);
	color: white;
}

body.dark-mode .apply-base64-btn:hover {
	background: var(--primary);
	transition: background 0.3s ease;
}

/* 设置提示中的链接样式 */
.setting-hint a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition);
	position: relative;
	display: inline-block;
}

.setting-hint a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--primary-light);
	transition: width 0.3s ease;
}

.setting-hint a:hover {
	color: var(--primary-light);
}

.setting-hint a:hover::after {
	width: 100%;
}

/* 深色模式下的设置提示链接样式 */
body.dark-mode .setting-hint a {
	color: var(--primary-light);
}

body.dark-mode .setting-hint a:hover {
	color: var(--primary);
}

body.dark-mode .setting-hint a::after {
	background: var(--primary);
}

/* 小组件窗口默认隐藏 */
.widget-window {
	display: none;
}

/* Markdown工具栏样式 */
.md-toolbar {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px 20px;
	background: rgba(243, 244, 246, 0.95);
	border-bottom: 1px solid #E5E7EB;
	flex-wrap: wrap;
}

body.dark-mode .md-toolbar {
	background: rgba(31, 41, 55, 0.95);
	border-bottom: 1px solid #374151;
}

.md-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	background: white;
	border: 1px solid #E5E7EB;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.85rem;
	transition: var(--transition);
}

body.dark-mode .md-btn {
	background: #1F2937;
	border: 1px solid #374151;
	color: #E5E7EB;
}

.md-btn:hover {
	background: #F3F4F6;
	border-color: var(--primary);
	transform: translateY(-1px);
}

body.dark-mode .md-btn:hover {
	background: #374151;
}

.md-btn i {
	font-size: 0.9rem;
	color: var(--primary);
}

.md-btn span {
	font-weight: 500;
}

.md-divider {
	width: 1px;
	height: 20px;
	background: #E5E7EB;
	margin: 0 5px;
}

body.dark-mode .md-divider {
	background: #374151;
}

/* 预览按钮特殊样式 */
.md-btn-preview {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

/* 默认隐藏编辑按钮和预览区域 */
.md-btn-edit {
	display: none;
}

.notepad-preview {
	display: none;
}

/* 文件操作工具栏样式 */
.file-toolbar {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 8px 20px;
	background: rgba(239, 246, 255, 0.95);
	border-bottom: 1px solid #DBEAFE;
	flex-wrap: wrap;
}

body.dark-mode .file-toolbar {
	background: rgba(30, 41, 59, 0.95);
	border-bottom: 1px solid #475569;
}

.file-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	background: white;
	border: 1px solid #DBEAFE;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.85rem;
	transition: var(--transition);
}

body.dark-mode .file-btn {
	background: #1E293B;
	border: 1px solid #475569;
	color: #E5E7EB;
}

.file-btn:hover {
	background: #EFF6FF;
	border-color: var(--primary);
	transform: translateY(-1px);
}

body.dark-mode .file-btn:hover {
	background: #334155;
}

.file-btn i {
	font-size: 0.9rem;
	color: var(--primary);
}

.file-divider {
	width: 1px;
	height: 20px;
	background: #DBEAFE;
	margin: 0 5px;
}

body.dark-mode .file-divider {
	background: #475569;
}

.md-btn-preview:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
}

body.dark-mode .md-btn-preview {
	background: var(--primary);
	border-color: var(--primary);
}

.md-btn-edit {
	background: var(--secondary);
	color: white;
	border-color: var(--secondary);
}

.md-btn-edit:hover {
	background: #DB2777;
	border-color: #DB2777;
}

body.dark-mode .md-btn-edit {
	background: var(--secondary);
	border-color: var(--secondary);
}

/* 记事本编辑器和预览区域样式 */
.notepad-editor {
	width: 100%;
	height: 100%;
}

.notepad-preview {
	width: 100%;
	height: 100%;
	padding: 20px;
	overflow-y: auto;
	background: white;
	border-radius: 8px;
}

body.dark-mode .notepad-preview {
	background: #1F2937;
	color: #E5E7EB;
}

/* Markdown预览样式 */
.notepad-preview h1 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--text-dark);
	border-bottom: 2px solid #E5E7EB;
	padding-bottom: 0.5rem;
}

body.dark-mode .notepad-preview h1 {
	color: #E5E7EB;
	border-bottom: 2px solid #374151;
}

.notepad-preview h2 {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: var(--text-dark);
	border-bottom: 1px solid #E5E7EB;
	padding-bottom: 0.4rem;
}

body.dark-mode .notepad-preview h2 {
	color: #E5E7EB;
	border-bottom: 1px solid #374151;
}

.notepad-preview h3 {
	font-size: 1.2rem;
	margin-bottom: 0.6rem;
	color: var(--text-dark);
}

body.dark-mode .notepad-preview h3 {
	color: #E5E7EB;
}

.notepad-preview p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.notepad-preview ul,
.notepad-preview ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.notepad-preview li {
	margin-bottom: 0.5rem;
}

.notepad-preview strong {
	font-weight: 700;
}

.notepad-preview em {
	font-style: italic;
}

.notepad-preview del {
	text-decoration: line-through;
}

.notepad-preview a {
	color: var(--primary);
	text-decoration: none;
}

.notepad-preview a:hover {
	text-decoration: underline;
}

.notepad-preview img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1rem 0;
}

.notepad-preview code {
	background: #F3F4F6;
	padding: 0.2rem 0.4rem;
	border-radius: 3px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.9rem;
}

body.dark-mode .notepad-preview code {
	background: #374151;
}

.notepad-preview blockquote {
	border-left: 4px solid var(--primary);
	padding-left: 1rem;
	margin: 1rem 0;
	color: var(--text-light);
	font-style: italic;
}

body.dark-mode .notepad-preview blockquote {
	color: #9CA3AF;
}

/* 彩蛋效果样式 */
@keyframes rainbowBackground {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

/* 输入区域背景变色（排除简洁模式） */
body.easter-egg-active:not(.minimal-mode) #search-input {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 5s ease infinite !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

body.easter-egg-active #notepad-content {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 5s ease infinite !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* 小组件区域背景变色 */
body.easter-egg-active .widgets-section {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 8s ease infinite !important;
}

body.easter-egg-active .widget-window {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 8s ease infinite !important;
}

/* 搜索卡片背景变色 */
body.easter-egg-active .search-card {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 10s ease infinite !important;
}

/* 工具栏背景变色 */
body.easter-egg-active .file-toolbar {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 7s ease infinite !important;
}

body.easter-egg-active .md-toolbar {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 7s ease infinite !important;
}

/* 面板背景变色 */
body.easter-egg-active .settings-panel {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 9s ease infinite !important;
}

body.easter-egg-active .widgets-panel {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 9s ease infinite !important;
}

/* 预览区域背景变色 */
body.easter-egg-active .notepad-preview {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 6s ease infinite !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* 自定义弹窗样式 */
.custom-alert {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.custom-alert.active {
	opacity: 1;
	visibility: visible;
}

.custom-alert-content {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	width: 90%;
	max-width: 400px;
	overflow: hidden;
	animation: alertSlideIn 0.3s ease;
}

.custom-alert-header {
	padding: 20px;
	background: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.custom-alert-header h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
}

.custom-alert-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #6c757d;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.custom-alert-close:hover {
	background: #e9ecef;
	color: #333;
	transform: scale(1.1);
}

/* 关闭按钮动画 */
.custom-alert-close {
	transition: all 0.2s ease;
}

/* 弹窗内容动画增强 */
.custom-alert-content {
	transition: all 0.3s ease;
}

/* 弹窗背景动画 */
.custom-alert {
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.custom-alert-body {
	padding: 24px;
}

.custom-alert-body p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
}

/* 深色模式下的弹窗样式 */
body.dark-mode .custom-alert-content {
	background: #343a40;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .custom-alert-header {
	background: #212529;
	border-bottom: 1px solid #495057;
}

body.dark-mode .custom-alert-header h3 {
	color: #e9ecef;
}

body.dark-mode .custom-alert-close {
	color: #adb5bd;
}

body.dark-mode .custom-alert-close:hover {
	background: #495057;
	color: #e9ecef;
}

body.dark-mode .custom-alert-body p {
	color: #e9ecef;
}

/* 彩蛋模式下的弹窗样式 */
body.easter-egg-active .custom-alert-content {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 4s ease infinite !important;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.easter-egg-active .custom-alert-header {
	background: transparent;
	border-bottom: none;
}

body.easter-egg-active .custom-alert-header h3 {
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.easter-egg-active .custom-alert-close {
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.easter-egg-active .custom-alert-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

body.easter-egg-active .custom-alert-body p {
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 弹窗动画 */
@keyframes alertSlideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* 弹窗底部样式 */
.custom-alert-footer {
	padding: 0 24px 24px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.custom-confirm-btn,
.custom-cancel-btn {
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.custom-confirm-btn {
	background: var(--primary);
	color: var(--white);
}

.custom-confirm-btn:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

.custom-cancel-btn {
	background: #f8f9fa;
	color: #333;
	border: 1px solid #e9ecef;
}

.custom-cancel-btn:hover {
	background: #e9ecef;
	transform: translateY(-1px);
}

/* 文本输入框样式 */
.prompt-input {
	width: 100%;
	padding: 12px 16px;
	margin-top: 16px;
	border: 1px solid #ced4da;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.2s ease;
}

.prompt-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* 深色模式下的弹窗底部和输入框样式 */
body.dark-mode .custom-cancel-btn {
	background: #495057;
	color: #e9ecef;
	border: 1px solid #6c757d;
}

body.dark-mode .custom-cancel-btn:hover {
	background: #6c757d;
}

body.dark-mode .prompt-input {
	background: #495057;
	border: 1px solid #6c757d;
	color: #e9ecef;
}

body.dark-mode .prompt-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* 彩蛋模式下的弹窗底部和输入框样式 */
body.easter-egg-active .custom-confirm-btn {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1) !important;
	background-size: 300% 300% !important;
	animation: rainbowBackground 3s ease infinite !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
	border: none !important;
}

body.easter-egg-active .custom-cancel-btn {
	background: rgba(255, 255, 255, 0.2) !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.easter-egg-active .custom-cancel-btn:hover {
	background: rgba(255, 255, 255, 0.3) !important;
}

body.easter-egg-active .prompt-input {
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #333 !important;
}

body.easter-egg-active .prompt-input:focus {
	border-color: #ff6b6b !important;
	box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25) !important;
}

/* 移动设备适配 */
@media (max-width: 768px) {
	.custom-alert-content {
		width: 95%;
		max-width: 350px;
	}

	.custom-alert-header {
		padding: 16px;
	}

	.custom-alert-body {
		padding: 20px;
	}

	.custom-alert-footer {
		padding: 0 20px 20px;
	}

	.custom-alert-header h3 {
		font-size: 1.1rem;
	}

	.custom-alert-body p {
		font-size: 0.95rem;
	}

	.custom-confirm-btn,
	.custom-cancel-btn {
		padding: 8px 20px;
		font-size: 0.95rem;
	}

	.prompt-input {
		padding: 10px 14px;
		font-size: 0.95rem;
	}
}

/* 确认播放框样式 - 不影响点击、缩小并放到左下角 */
.custom-alert-confirm-play {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent !important;
	pointer-events: none;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	box-shadow: none !important;
	transition: none !important;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
}

.custom-alert-confirm-play.active {
	opacity: 1;
	visibility: visible;
	transition: none !important;
}

.custom-alert-confirm-play::before {
	display: none !important;
}

.custom-alert-confirm-play-content {
	width: 300px;
	max-width: 80%;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	pointer-events: auto;
	margin: 20px;
	overflow: hidden;
	animation: none !important;
	transition: none !important;
}

.custom-alert-confirm-play-header {
	padding: 15px 20px;
	background: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.custom-alert-confirm-play-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
}

.custom-alert-confirm-play-close {
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #6c757d;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.custom-alert-confirm-play-close:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.custom-alert-confirm-play-body {
	padding: 15px 20px;
}

.custom-alert-confirm-play-body p {
	margin: 0;
	font-size: 0.95rem;
	color: #666;
	line-height: 1.4;
}

.custom-alert-confirm-play-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 0 20px 15px;
}

.custom-alert-confirm-play-btn {
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.custom-alert-confirm-play-btn:not(.custom-alert-confirm-play-cancel) {
	background-color: var(--primary);
	color: white;
}

.custom-alert-confirm-play-btn:not(.custom-alert-confirm-play-cancel):hover {
	background-color: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.custom-alert-confirm-play-cancel {
	background-color: #f8f9fa;
	color: #333;
	border: 1px solid #dee2e6;
}

.custom-alert-confirm-play-cancel:hover {
	background-color: #e9ecef;
	transform: translateY(-1px);
}

/* 深色主题 */
body.dark-mode .custom-alert-confirm-play-content {
	background-color: rgba(31, 41, 55, 0.95);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .custom-alert-confirm-play-header {
	background: #1F2937;
	border-bottom: 1px solid #374151;
}

body.dark-mode .custom-alert-confirm-play-header h3 {
	color: #E5E7EB;
}

body.dark-mode .custom-alert-confirm-play-close {
	color: #9CA3AF;
}

body.dark-mode .custom-alert-confirm-play-close:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .custom-alert-confirm-play-body p {
	color: #E5E7EB;
}

body.dark-mode .custom-alert-confirm-play-cancel {
	background-color: #1F2937;
	color: #E5E7EB;
	border: 1px solid #374151;
}

body.dark-mode .custom-alert-confirm-play-cancel:hover {
	background-color: #374151;
}

/* 复活节彩蛋主题 */
body.easter-egg-active .custom-alert-confirm-play-content {
	background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(255, 183, 77, 0.95));
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

body.easter-egg-active .custom-alert-confirm-play-header {
	background: rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .custom-alert-confirm-play-header h3 {
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.easter-egg-active .custom-alert-confirm-play-close {
	color: white;
}

body.easter-egg-active .custom-alert-confirm-play-close:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

body.easter-egg-active .custom-alert-confirm-play-body p {
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.easter-egg-active .custom-alert-confirm-play-cancel {
	background-color: rgba(255, 255, 255, 0.9);
	color: #333;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

body.easter-egg-active .custom-alert-confirm-play-cancel:hover {
	background-color: rgba(255, 255, 255, 1);
}

/* 移动设备适配 */
@media (max-width: 768px) {
	.custom-alert-confirm-play-content {
		width: 90%;
		max-width: 300px;
		margin: 15px;
	}

	.custom-alert-confirm-play-header {
		padding: 12px 16px;
	}

	.custom-alert-confirm-play-body {
		padding: 12px 16px;
	}

	.custom-alert-confirm-play-footer {
		padding: 0 16px 12px;
	}

	.custom-alert-confirm-play-header h3 {
		font-size: 1rem;
	}

	.custom-alert-confirm-play-body p {
		font-size: 0.9rem;
	}

	.custom-alert-confirm-play-btn {
		padding: 6px 12px;
		font-size: 0.85rem;
	}
}

/* CallBack页面样式 */
#success-state,
#error-state {
	display: none;
}

/* 确保文本可读性 */
body.easter-egg-active .brand-logo,
body.easter-egg-active .brand-slogan,
body.easter-egg-active .time-display,
body.easter-egg-active .date-display,
body.easter-egg-active .quick-title,
body.easter-egg-active .search-tag,
body.easter-egg-active .widgets-title,
body.easter-egg-active .widget-item span,
body.easter-egg-active .file-btn,
body.easter-egg-active .md-btn,
body.easter-egg-active .setting-label,
body.easter-egg-active .setting-value,
body.easter-egg-active .setting-input {
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* 确保按钮文本可读性 */
body.easter-egg-active .file-btn i,
body.easter-egg-active .md-btn i {
	color: #ffeead !important;
}

/* Font Awesome图标变色 */
body.easter-egg-active .fa,
body.easter-egg-active .fas,
body.easter-egg-active .far,
body.easter-egg-active .fab {
	color: #ffeead !important;
}

/* 按钮背景变色 */
body.easter-egg-active .mode-toggle-btn,
body.easter-egg-active .settings-btn,
body.easter-egg-active .widgets-btn,
body.easter-egg-active .file-btn,
body.easter-egg-active .md-btn,
body.easter-egg-active .refresh-wallpaper-btn,
body.easter-egg-active .setting-save-btn,
body.easter-egg-active .setting-cancel-btn,
body.easter-egg-active .widget-item,
body.easter-egg-active .search-tag {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 4s ease infinite !important;
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
	border: none !important;
}

/* 简洁模式下的彩蛋效果 */
body.easter-egg-active.minimal-mode {
	background: transparent !important;
}

body.easter-egg-active.minimal-mode .search-card {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 10s ease infinite !important;
	border-radius: 32px !important;
}

/* 提高选择器优先级，确保覆盖全局彩蛋样式 */
body.easter-egg-active.minimal-mode #search-input {
	/* 简洁模式下彩蛋不显示彩色背景 */
	background: #fff !important;
	text-shadow: none !important;
	height: 56px !important;
	border-radius: 28px 0 0 28px !important;
}

/* 深色模式下简洁模式彩蛋的输入框背景 */
body.dark-mode.easter-egg-active.minimal-mode #search-input {
	background: #374151 !important;
}

/* 确保覆盖全局彩蛋输入框样式 */
body.easter-egg-active.minimal-mode #search-input {
	background: #fff !important;
}

body.dark-mode.easter-egg-active.minimal-mode #search-input {
	background: #374151 !important;
}

/* 深色模式下简洁模式彩蛋的输入框文字颜色 */
body.dark-mode.easter-egg-active.minimal-mode #search-input {
	color: #fff !important;
}

/* 浅色模式下简洁模式彩蛋的输入框文字颜色 */
body:not(.dark-mode).easter-egg-active.minimal-mode #search-input {
	color: #000 !important;
}

/* 简洁模式下的按钮布局修复 */
body.minimal-mode .operation-section {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 100;
}

body.minimal-mode .mode-toggle-btn,
body.minimal-mode .settings-btn,
body.minimal-mode .about-btn,
body.minimal-mode .refresh-wallpaper-btn {
	position: static;
	margin-left: 10px;
}

body.easter-egg-active.minimal-mode .mode-toggle-btn,
body.easter-egg-active.minimal-mode .settings-btn,
body.easter-egg-active.minimal-mode .about-btn,
body.easter-egg-active.minimal-mode .refresh-wallpaper-btn {
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeead, #ff6b6b) !important;
	background-size: 600% 600% !important;
	animation: rainbowBackground 4s ease infinite !important;
	color: white !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
	border: none !important;
}

@media (max-width: 768px) {
	.time-display {
		font-size: 3.5rem;
	}

	.date-display {
		font-size: 1rem;
	}

	.time-section {
		margin-bottom: 15px;
	}

	.brand-logo {
		font-size: 2.5rem;
	}

	.search-card {
		padding: 30px 25px;
	}

	#search-input {
		height: 60px !important;
		padding: 0 20px 0 50px !important;
		font-size: 1rem;
		box-sizing: border-box !important;
	}

	.search-btn {
		height: 60px !important;
		padding: 0 25px;
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.time-display {
		font-size: 2.8rem;
	}

	.date-display {
		font-size: 0.9rem;
	}

	.time-section {
		margin-bottom: 10px;
	}

	.brand-logo {
		font-size: 2.2rem;
	}

	.search-card {
		padding: 25px 20px;
	}

	.search-box {
		flex-direction: column;
		gap: 12px;
	}

	#search-input {
		width: 100%;
		height: 60px !important;
		padding: 0 20px 0 50px !important;
		border-radius: 28px;
		border-right: 2px solid var(--gray-200);
		font-size: 1rem;
		box-sizing: border-box !important;
	}

	.search-btn {
		width: 100%;
		height: 60px !important;
		border-radius: 28px;
		justify-content: center;
	}
}

/* 时钟日历小组件样式 */
#time-calendar-window {
	width: 800px;
	height: auto !important;
	max-height: 80vh;
	overflow: hidden;
}

#time-calendar-window .widget-window-content {
	overflow: hidden;
	padding: 0;
	height: calc(100% - 60px);
}

.time-calendar-container {
	display: flex;
	gap: 30px;
	padding: 20px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

/* 待办事项窗口样式 */
#todo-list-window {
	width: 600px;
	height: 500px;
	overflow: hidden;
}

#todo-list-window .widget-window-content {
	overflow: hidden;
	padding: 0;
	height: calc(100% - 60px);
}

.todo-list-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	gap: 15px;
}

/* 输入区域样式 */
.todo-input-section {
	display: flex;
	gap: 10px;
}

.todo-input {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid #E2E8F0;
	border-radius: 8px;
	font-size: 14px;
	transition: border-color 0.2s;
}

.todo-input:focus {
	outline: none;
	border-color: #3B82F6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.todo-add-btn {
	background: #3B82F6;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 0 20px;
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.todo-add-btn:hover {
	background: #2563EB;
}

/* 待办事项列表样式 */
.todo-list {
	flex: 1;
	overflow-y: auto;
	border-radius: 8px;
	padding: 10px;
	background: #F8FAFC;
}

.todo-empty {
	text-align: center;
	color: #94A3B8;
	padding: 40px 20px;
	font-size: 14px;
}

.todo-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	margin-bottom: 8px;
	border-radius: 6px;
	background: white;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.2s;
}

.todo-item:hover {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.todo-item.completed {
	background: #F1F5F9;
	opacity: 0.8;
}

.todo-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.todo-checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.todo-text {
	font-size: 14px;
	color: #1E293B;
	line-height: 1.4;
}

.todo-item.completed .todo-text {
	text-decoration: line-through;
	color: #64748B;
}

.todo-delete-btn {
	background: none;
	border: none;
	color: #EF4444;
	cursor: pointer;
	padding: 6px;
	border-radius: 4px;
	transition: background 0.2s;
}

.todo-delete-btn:hover {
	background: rgba(239, 68, 68, 0.1);
}

/* 操作按钮样式 */
.todo-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.todo-action-btn {
	background: #F1F5F9;
	color: #475569;
	border: none;
	border-radius: 6px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
}

.todo-action-btn:hover {
	background: #E2E8F0;
	color: #1E293B;
}

/* 深色模式支持 */
.dark-mode .todo-input {
	background: #1E293B;
	border-color: #334155;
	color: #F8FAFC;
}

.dark-mode .todo-input:focus {
	border-color: #60A5FA;
	box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.dark-mode .todo-list {
	background: #0F172A;
}

.dark-mode .todo-item {
	background: #1E293B;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dark-mode .todo-item:hover {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dark-mode .todo-item.completed {
	background: #1E293B;
}

.dark-mode .todo-text {
	color: #F8FAFC;
}

.dark-mode .todo-item.completed .todo-text {
	color: #94A3B8;
}

.dark-mode .todo-action-btn {
	background: #334155;
	color: #CBD5E1;
}

.dark-mode .todo-action-btn:hover {
	background: #475569;
	color: #F8FAFC;
}

.dark-mode .todo-empty {
	color: #64748B;
}

/* 画板窗口样式 */
#drawing-board-window {
	width: 800px;
	height: 600px;
	overflow: hidden;
}

#drawing-board-window .widget-window-content {
	overflow: hidden;
	padding: 0;
	height: calc(100% - 60px);
}

.drawing-board-container {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* 工具栏样式 */
.drawing-toolbar {
	background: #F8FAFC;
	border-bottom: 2px solid #E2E8F0;
	padding: 15px;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	align-items: center;
}

.tool-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tool-group h5 {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: #64748B;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* 工具按钮 */
.tool-buttons {
	display: flex;
	gap: 8px;
}

.tool-btn {
	background: white;
	border: 2px solid #E2E8F0;
	border-radius: 6px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.2s;
	color: #475569;
}

.tool-btn:hover {
	border-color: #3B82F6;
	color: #3B82F6;
}

.tool-btn.active {
	background: #3B82F6;
	border-color: #3B82F6;
	color: white;
}

/* 颜色选择 */
.color-picker {
	display: flex;
	align-items: center;
	gap: 12px;
}

.color-input {
	width: 40px;
	height: 40px;
	border: 2px solid #E2E8F0;
	border-radius: 6px;
	cursor: pointer;
	padding: 0;
	overflow: hidden;
}

.color-input::-webkit-color-swatch-wrapper {
	padding: 0;
}

.color-input::-webkit-color-swatch {
	border: none;
}

.color-palette {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.color-swatch {
	width: 24px;
	height: 24px;
	border: 2px solid #E2E8F0;
	border-radius: 4px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.color-swatch:hover {
	transform: scale(1.1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 笔刷大小 */
.brush-size {
	display: flex;
	align-items: center;
	gap: 12px;
}

.size-slider {
	width: 120px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	background: #E2E8F0;
	border-radius: 3px;
	outline: none;
}

.size-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	background: #3B82F6;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s;
}

.size-slider::-webkit-slider-thumb:hover {
	transform: scale(1.2);
}

.size-slider::-moz-range-thumb {
	width: 16px;
	height: 16px;
	background: #3B82F6;
	border-radius: 50%;
	cursor: pointer;
	border: none;
	transition: transform 0.2s;
}

.size-slider::-moz-range-thumb:hover {
	transform: scale(1.2);
}

#brush-size-value {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	min-width: 20px;
	text-align: center;
}

/* 操作按钮 */
.action-buttons {
	display: flex;
	gap: 8px;
}

.action-btn {
	background: white;
	border: 2px solid #E2E8F0;
	border-radius: 6px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
	color: #475569;
}

.action-btn:hover {
	border-color: #3B82F6;
	color: #3B82F6;
}

/* 画布容器 */
.canvas-container {
	flex: 1;
	background: white;
	border: 2px solid #E2E8F0;
	margin: 15px;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
}

.drawing-canvas {
	display: block;
	cursor: crosshair;
}

/* 深色模式支持 */
.dark-mode .drawing-toolbar {
	background: #0F172A;
	border-bottom-color: #334155;
}

.dark-mode .tool-group h5 {
	color: #94A3B8;
}

.dark-mode .tool-btn {
	background: #1E293B;
	border-color: #334155;
	color: #CBD5E1;
}

.dark-mode .tool-btn:hover {
	border-color: #60A5FA;
	color: #60A5FA;
}

.dark-mode .tool-btn.active {
	background: #3B82F6;
	border-color: #3B82F6;
	color: white;
}

.dark-mode .color-input {
	border-color: #334155;
}

.dark-mode .color-swatch {
	border-color: #334155;
}

.dark-mode .size-slider {
	background: #334155;
}

.dark-mode .size-slider::-webkit-slider-thumb {
	background: #60A5FA;
}

.dark-mode .size-slider::-moz-range-thumb {
	background: #60A5FA;
}

.dark-mode #brush-size-value {
	color: #CBD5E1;
}

.dark-mode .action-btn {
	background: #1E293B;
	border-color: #334155;
	color: #CBD5E1;
}

.dark-mode .action-btn:hover {
	border-color: #60A5FA;
	color: #60A5FA;
}

.dark-mode .canvas-container {
	background: #1E293B;
	border-color: #334155;
}

.dark-mode .drawing-canvas {
	background: #1E293B;
}

/* 响应式设计 */
@media (max-width: 768px) {
	#drawing-board-window {
		width: 90vw;
		height: 80vh;
	}

	.drawing-toolbar {
		gap: 15px;
		padding: 10px;
	}

	.tool-buttons {
		flex-wrap: wrap;
	}

	.color-picker {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

/* 时钟样式 */
.clock-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.clock-face {
	width: 200px;
	height: 200px;
	border: 4px solid #3B82F6;
	border-radius: 50%;
	position: relative;
	background: rgba(255, 255, 255, 0.1);
}

.clock-center {
	width: 12px;
	height: 12px;
	background: #3B82F6;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.clock-hand {
	position: absolute;
	background: #333;
	transform-origin: bottom center;
	left: 50%;
	bottom: 50%;
	border-radius: 4px;
}

.hour-hand {
	width: 8px;
	height: 60px;
	background: #1E293B;
}

.minute-hand {
	width: 6px;
	height: 80px;
	background: #334155;
}

.second-hand {
	width: 4px;
	height: 90px;
	background: #EF4444;
}

.clock-markers {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.marker {
	position: absolute;
	font-size: 16px;
	font-weight: bold;
	color: #334155;
}

.marker-12 {
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
}

.marker-3 {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.marker-6 {
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}

.marker-9 {
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}

.digital-time {
	font-size: 24px;
	font-weight: bold;
	color: #1E293B;
}

.date-info {
	font-size: 14px;
	color: #64748B;
	text-align: center;
}

/* 日历样式 */
.calendar-display {
	flex: 1;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #E2E8F0;
}

.calendar-title {
	font-size: 18px;
	font-weight: bold;
	color: #1E293B;
}

.calendar-nav {
	background: #3B82F6;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s;
}

.calendar-nav:hover {
	background: #2563EB;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	margin-bottom: 10px;
}

.weekday {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #64748B;
	padding: 8px 0;
}

.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	flex: 1;
}

.calendar-day {
	text-align: center;
	padding: 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s;
	font-size: 14px;
}

.calendar-day:hover {
	background: #E2E8F0;
}

.calendar-day.empty {
	background: transparent;
	cursor: default;
}

.calendar-day.today {
	background: #3B82F6;
	color: white;
	font-weight: bold;
}

/* 深色模式适配 */
.dark-mode .clock-face {
	border-color: #60A5FA;
	background: rgba(17, 24, 39, 0.8);
}

.dark-mode .clock-center {
	background: #60A5FA;
}

.dark-mode .hour-hand {
	background: #F3F4F6;
}

.dark-mode .minute-hand {
	background: #E5E7EB;
}

.dark-mode .second-hand {
	background: #F87171;
}

.dark-mode .marker {
	color: #9CA3AF;
}

.dark-mode .digital-time {
	color: #F3F4F6;
}

.dark-mode .date-info {
	color: #9CA3AF;
}

.dark-mode .calendar-title {
	color: #F3F4F6;
}

.dark-mode .calendar-header {
	border-bottom-color: #374151;
}

.dark-mode .weekday {
	color: #9CA3AF;
}

.dark-mode .calendar-day {
	color: #F3F4F6;
}

.dark-mode .calendar-day:hover {
	background: #374151;
}

.dark-mode .calendar-day.today {
	background: #60A5FA;
}

/* 白噪音样式 */
.white-noise-container {
	padding: 20px;
}

.white-noise-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.white-noise-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 10px;
	transition: var(--transition);
}

.white-noise-item:hover {
	background: rgba(102, 126, 234, 0.2);
	transform: translateY(-2px);
}

.white-noise-item i {
	font-size: 1.5rem;
	color: var(--primary);
	margin-right: 15px;
}

.white-noise-item span {
	flex: 1;
	font-size: 1rem;
	color: var(--text-dark);
}

.play-white-noise-btn {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	font-size: 1rem;
	padding: 0;
	margin: 0;
}

.play-white-noise-btn i {
	color: white;
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	line-height: 1;
	width: 100%;
	height: 100%;
}

.play-white-noise-btn:hover {
	background: var(--primary-dark);
	transform: scale(1.1);
}

.play-white-noise-btn:active {
	transform: scale(0.95);
}

/* 确保深色模式下图标也可见 */
body.dark-mode .play-white-noise-btn i {
	color: white;
}

.white-noise-controls {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--gray-200);
}

.white-noise-controls label {
	font-size: 1rem;
	color: var(--text-dark);
	font-weight: 500;
}

.volume-slider {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--primary);
	cursor: pointer;
	transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
	background: var(--primary-dark);
}

#white-noise-volume-value {
	font-size: 0.9rem;
	color: var(--text-light);
	min-width: 50px;
	text-align: right;
}

/* 深色模式下的白噪音样式 */
body.dark-mode .white-noise-item {
	background: rgba(102, 126, 234, 0.15);
}

body.dark-mode .white-noise-item:hover {
	background: rgba(102, 126, 234, 0.25);
}

body.dark-mode .white-noise-item span {
	color: #E5E7EB;
}

body.dark-mode .white-noise-controls {
	border-top: 1px solid #374151;
}

body.dark-mode .white-noise-controls label {
	color: #E5E7EB;
}

body.dark-mode .volume-slider {
	background: #374151;
}

body.dark-mode .volume-slider::-webkit-slider-thumb {
	background: var(--primary);
}

body.dark-mode .volume-slider::-webkit-slider-thumb:hover {
	background: var(--primary-light);
}

body.dark-mode #white-noise-volume-value {
	color: #9CA3AF;
}

/* AI助手样式 */
.ai-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px;
	gap: 10px;
}

.ai-chat-container {
	height: 400px;
	overflow-y: auto;
	padding: 10px;
	background: rgba(248, 249, 250, 0.8);
	border-radius: 12px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.dark-mode .ai-chat-container {
	background: rgba(33, 37, 41, 0.8);
}

.ai-message {
	margin-bottom: 15px;
	max-width: 80%;
	animation: fadeIn 0.3s ease;
}

.ai-message.user-message {
	align-self: flex-end;
	margin-left: auto;
}

.ai-message.ai-message {
	align-self: flex-start;
}

.ai-message .message-content {
	padding: 12px 16px;
	border-radius: 18px;
	word-wrap: break-word;
}

.ai-message.user-message .message-content {
	background: var(--primary, #4F46E5);
	color: white;
	border-bottom-right-radius: 4px;
}

.ai-message.ai-message .message-content {
	background: rgba(255, 255, 255, 0.9);
	color: #333;
	border-bottom-left-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark-mode .ai-message.ai-message .message-content {
	background: rgba(52, 58, 64, 0.9);
	color: #e5e7eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-message.error .message-content {
	background: rgba(220, 53, 69, 0.9);
	color: white;
}

.ai-message.typing .message-content {
	background: rgba(209, 213, 219, 0.9);
	color: #4b5563;
}

.dark-mode .ai-message.typing .message-content {
	background: rgba(75, 85, 99, 0.9);
	color: #d1d5db;
}

.ai-input-section {
	display: flex;
	gap: 10px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .ai-input-section {
	background: rgba(33, 37, 41, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-input {
	flex: 1;
	padding: 12px 16px;
	border: none;
	border-radius: 24px;
	font-size: 14px;
	background: rgba(248, 249, 250, 0.9);
	color: #333;
	outline: none;
	transition: all 0.3s ease;
}

.dark-mode .ai-input {
	background: rgba(52, 58, 64, 0.9);
	color: #e5e7eb;
}

.ai-input:focus {
	box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
}

.ai-send-btn {
	padding: 0 20px;
	border: none;
	border-radius: 24px;
	background: var(--primary, #4F46E5);
	color: white;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ai-send-btn:hover {
	background: var(--primary-dark, #4338CA);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

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

.ai-footer {
	padding: 10px;
	text-align: center;
	font-size: 12px;
	color: #666;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .ai-footer {
	background: rgba(33, 37, 41, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ccc;
}

.ai-footer a {
	color: var(--primary, #4F46E5);
	text-decoration: none;
	transition: color 0.3s ease;
}

.ai-footer a:hover {
	color: var(--primary-dark, #4338CA);
	text-decoration: underline;
}

.dark-mode .ai-footer a {
	color: var(--primary-light, #818CF8);
}

.dark-mode .ai-footer a:hover {
	color: var(--primary, #6366F1);
}

/* 滚动条样式 */
.ai-chat-container::-webkit-scrollbar {
	width: 6px;
}

.ai-chat-container::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 3px;
}

.dark-mode .ai-chat-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
}

.ai-chat-container::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.dark-mode .ai-chat-container::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
}

.ai-chat-container::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.3);
}

.dark-mode .ai-chat-container::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.ai-message {
		max-width: 90%;
	}

	.ai-input-section {
		padding: 8px;
	}

	.ai-input {
		padding: 10px 14px;
		font-size: 13px;
	}

	.ai-send-btn {
		padding: 0 16px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.ai-message {
		max-width: 95%;
	}
}
