/* Base system font & layout reset to guarantee graceful display under any circumstance */ *, ::before, ::after { box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } button, input, select, textarea { font-family: inherit; } img, video { max-width: 100%; height: auto; } /* Custom styles and mobile touch interactions */ /* Hide scrollbars for neat mobile pills */ .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } /* Squeeze animation on button press */ .active\:scale-98:active { transform: scale(0.98); } .action-card { transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s; -webkit-tap-highlight-color: transparent; } .action-card:active { transform: scale(0.97); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } /* Smooth Tab transitions */ .view-panel { animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* Toast entrance */ .toast-msg { animation: slideDown 0.25s ease-out; } @keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } } /* Gantt blocks */ .gantt-block { transition: transform 0.15s, opacity 0.15s; cursor: pointer; } .gantt-block:hover { filter: brightness(0.95); transform: translateY(-1px); } /* Warm & Soft Theme Tokens (方案 1 温暖治愈系) */ :root { --color-warm-bg: #FAF7F2; --color-card-bg: #FFFFFF; } body { background-color: #F8F5EE; background-image: radial-gradient(at 0% 0%, rgba(254, 243, 199, 0.35) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(243, 232, 255, 0.35) 0px, transparent 50%), radial-gradient(at 50% 50%, rgba(240, 249, 255, 0.25) 0px, transparent 50%); background-attachment: fixed; } /* Soft Ambient Diffuse Shadows */ .shadow-soft { box-shadow: 0 10px 30px -4px rgba(160, 140, 120, 0.08), 0 4px 12px -2px rgba(160, 140, 120, 0.04); } .shadow-soft-lg { box-shadow: 0 20px 40px -6px rgba(160, 140, 120, 0.12), 0 8px 16px -4px rgba(160, 140, 120, 0.06); } .shadow-focus { box-shadow: 0 0 50px rgba(245, 158, 11, 0.25); } /* Floating Dock for Mobile */ .floating-dock { box-shadow: 0 12px 36px rgba(100, 90, 80, 0.14), 0 2px 8px rgba(100, 90, 80, 0.06); } /* Checkbox strikethrough animation */ .memo-done-text { text-decoration: line-through; color: #94A3B8; transition: all 0.2s ease; } /* Fullscreen Focus Overlay Animations */ .focus-glow-ring { filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.4)); transition: stroke-dashoffset 0.8s ease; } .focus-sleep-glow { filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.5)); } .focus-tummy-glow { filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.45)); } @keyframes pulseGlow { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.02); opacity: 1; } } .animate-focus-pulse { animation: pulseGlow 3s infinite ease-in-out; }