/* =========================================
   🌞 白天模式 (Wired 终端风：默认状态)
   ========================================= */
:root {
  /* 终端机外壳：冷灰色 */
  --bg: #e2e8f0;
  /* 屏幕底色：极冷白 */
  --paper: #f8fafc;
  --paper-solid: #f8fafc;
  --paper-warm: #f1f5f9;

  /* 文字颜色：高对比度的深蓝黑，保证清晰度 */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #cbd5e1;
  --dash: #94a3b8;

  /* 核心强调色：Wired 电冲蓝 (呼应头像) */
  --color-accent: #0284c7;
  --color-accent-strong: #0369a1;
  --color-accent-soft: #bae6fd;
  --color-accent-muted: #1e3a8a;

  /* 胶带贴纸：全部换成科技感的冷色调 (蓝、青、冷紫) */
  --tape-yellow: rgba(2, 132, 199, 0.6); 
  --tape-pink: rgba(14, 165, 233, 0.6);
  --tape-green: rgba(8, 145, 178, 0.6);
  --tape-blue: rgba(125, 211, 252, 0.6);
  --tape-brown: rgba(99, 220, 241, 0.6);
}

/* =========================================
   🌙 夜间模式 (营地篝火风：带 dark-mode 开关)
   ========================================= */
html.dark-mode {
  /* 背景与纸张：深邃夜空与暗色营地 */
  --bg: #0b1121;
  --paper: #161e31;
  --paper-solid: #161e31;
  --paper-warm: #1a233a;

  /* 文字墨迹：极高亮度的白字，黑底也极其醒目 */
  --ink: #ffffff;
  --ink-soft: #e2e8f0;
  --muted: #94a3b8;
  --line: #334155;
  --dash: #475569;

  /* 核心强调色：提灯与篝火的暖橙 */
  --color-accent: #ea580c;
  --color-accent-strong: #c2410c;
  --color-accent-soft: #ffedd5;
  --color-accent-muted: #7c2d12;

  /* 胶带贴纸：全部换成温暖的橙红/篝火色调 (无黄光) */
  --tape-yellow: rgba(234, 88, 12, 0.85);
  --tape-pink: rgba(249, 115, 22, 0.75);
  --tape-green: rgba(194, 65, 12, 0.85);
  --tape-blue: rgba(253, 186, 116, 0.65);
  --tape-brown: rgba(153, 27, 27, 0.85);
}

/* 缩小 Welcome 卡片的封面图并保持居中 */
/* 暴力接管相纸内部的排版，强制居中并缩小图片 (咱们直接用 Plan B，更稳) */
.welcome-thumb--image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.welcome-thumb--image img {
  width: 50% !important;
  height: auto !important;
  object-fit: contain !important; 
}

/* 夜间模式使用更适合深色背景的 Welcome 封面图 */
html.dark-mode .welcome-thumb--image img {
  content: url("/images/moonI.png");
}
