/* =========================================================
   Minimal Theme System (6 tokens)
   - data-skin  : classic / nostalgia
   - data-theme : light / dark
   仅使用：--bg --text --muted --muted2 --line --line2
   另外保留：--red --green --blue / --baidu --yyw / --shadow / --image-brightness
   ========================================================= */

/* Shared */
:root{
  --red:   #BA4039;
  --green: #4d9959;
  --blue:  #136ec2;
  --orange:#fe8d59;

  --baidu: #0095ff;
  --yyw:   #2777F8;

  --shadow: rgba(17,17,17,.10);
  --image-brightness: 1;
}

/* Classic Light - Soft */
:root,
:root[data-skin="classic"][data-theme="light"]{
  --bg:     #faf9f7;   /* 不是纯白 */
  --text:   #2a2a2a;   /* 降对比 */
  --muted:  #6f6f6f;
  --muted2: #9a9a9a;
  --line:   #e9e7e3;   /* 去掉冷灰感 */
  --line2:  #f3f2ef;

  --shadow: rgba(0,0,0,.06);
}


/* Classic Dark - Soft */
:root[data-skin="classic"][data-theme="dark"]{
  --bg:     #161616;   /* 不是纯黑 */
  --text:   #e2e2e2;   /* 降亮度 */
  --muted:  #b5b5b5;
  --muted2: #8c8c8c;
  --line:   #2c2c2c;
  --line2:  #1d1d1d;

  --shadow: rgba(0,0,0,.35);
  --image-brightness: .72;
}


/* Nostalgia Light - Eye Comfort Final */
:root[data-skin="nostalgia"][data-theme="light"]{
  --bg:     #f7f3eb;  /* 更干净一点，避免偏黄疲劳 */
  --text:   #6f5543;  /* 降低对比，比之前更柔 */
  --muted:  #8f7663;
  --muted2: #b09a88;
  --line:   #ebe3d9;
  --line2:  #f3ede5;

  --shadow: rgba(60,45,30,.08); /* 阴影更轻，减少视觉负担 */
}


/* Nostalgia Dark - Eye Comfort */
:root[data-skin="nostalgia"][data-theme="dark"]{
  --bg:     #15120f;  /* 不是纯黑，护眼关键 */
  --text:   #e6d8c7;  /* 偏暖白 */
  --muted:  #b8a692;
  --muted2: #8c7a66;
  --line:   #2e2620;
  --line2:  #1d1814;

  --shadow: rgba(0,0,0,.50);
  --image-brightness: .68;
}

