/* 基础变量、重置与可访问性基线 */

/* 通用基础与主题变量 */
:root {
  color-scheme: light;
  --ink: #333333; --muted: #666666; --faint: #999999;
  --line: #e0e0e0; --glass: #ffffff; --blue: #4a9eff; --danger: #ff6b6b;
  --bg: #f5f5f5;
  --lofi-wallpaper: url('../assets/wallpapers/lofi-girl-gif.gif');
}

html.use-static-lofi-wallpaper {
  --lofi-wallpaper: url('../assets/wallpapers/lofi-girl-static.jpg');
}

@media (prefers-reduced-motion: reduce) {
  html.has-lofi-girl-wallpaper {
    --lofi-wallpaper: url('../assets/wallpapers/lofi-girl-static.jpg');
  }
}

button, input, textarea { font: inherit; }

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Microsoft YaHei", sans-serif; background: var(--bg); }

body::before { display: none; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }
