/* 風格：全部是「簡約」方向的變化，只差在顏色與圓角。
   預設（沒有 data-theme）的變數寫在 style.css 的 :root，這個檔案必須最後載入。 */

/* 簡約明亮：跟 Logo 同一個米白底、咖啡色，細緻、留白多 */
:root[data-theme="light"] {
  --cream: #fbf9f6;
  --paper: #ffffff;
  --ink: #2f2924;
  --ink-soft: #80756b;
  --border: #ebe4dc;
  --wood: #8a7258;
  --wood-dark: #5f4e40;
  --wood-light: #c9b9a6;
  --shadow: 0 1px 3px rgba(60, 45, 30, 0.06);
  --shadow-lg: 0 8px 24px rgba(60, 45, 30, 0.12);
  --radius: 4px;
  --topbar-bg: #f5efe8;
  --topbar-ink: #5f4e40;
  --topbar-link: #6f5f51;
  --topbar-hover: rgba(95, 78, 64, 0.08);
  --topbar-current: rgba(95, 78, 64, 0.14);
  --topbar-border: #e6ddd2;
  --hero-a: rgba(245, 239, 232, 0.94);
  --hero-b: rgba(245, 239, 232, 0.25);
  --hero-ink: #3d322a;
  --hero-btn-bg: #5f4e40;
  --hero-btn-ink: #ffffff;
  --hero-shadow: none;
  --diff-bg: #f6f0e8;
  --show-logo-on-dark: none;
  --show-logo-on-light: block;
}

/* 北歐清新：白底配霧綠色，清爽、偏冷 */
:root[data-theme="nordic"] {
  --cream: #f7f9f8;
  --paper: #ffffff;
  --ink: #26302c;
  --ink-soft: #74807a;
  --border: #e3e9e6;
  --wood: #5f8a78;
  --wood-dark: #3f5a4e;
  --wood-light: #a9c4b8;
  --shadow: 0 1px 3px rgba(30, 50, 42, 0.07);
  --shadow-lg: 0 8px 24px rgba(30, 50, 42, 0.13);
  --radius: 8px;
  --topbar-bg: #ffffff;
  --topbar-ink: #3f5a4e;
  --topbar-link: #4d6a5d;
  --topbar-hover: rgba(63, 90, 78, 0.08);
  --topbar-current: rgba(95, 138, 120, 0.16);
  --topbar-border: #e3e9e6;
  --hero-a: rgba(247, 249, 248, 0.94);
  --hero-b: rgba(247, 249, 248, 0.22);
  --hero-ink: #26302c;
  --hero-btn-bg: #3f5a4e;
  --hero-btn-ink: #ffffff;
  --hero-shadow: none;
  --diff-bg: #eef4f1;
  --ph-a: #e8eeeb;
  --ph-b: #d4ddd9;
  --show-logo-on-dark: none;
  --show-logo-on-light: block;
}

/* 日系暖白：偏黃的暖白底配原木色，圓潤溫和 */
:root[data-theme="japanese"] {
  --cream: #faf6ef;
  --paper: #fffdf9;
  --ink: #3b3229;
  --ink-soft: #8a7d6e;
  --border: #ece3d4;
  --wood: #b0875a;
  --wood-dark: #7a5a38;
  --wood-light: #dcc7a8;
  --shadow: 0 2px 8px rgba(120, 90, 50, 0.08);
  --shadow-lg: 0 10px 28px rgba(120, 90, 50, 0.16);
  --radius: 16px;
  --topbar-bg: #f3ebdc;
  --topbar-ink: #7a5a38;
  --topbar-link: #8a6a48;
  --topbar-hover: rgba(122, 90, 56, 0.09);
  --topbar-current: rgba(176, 135, 90, 0.2);
  --topbar-border: #e6d9c3;
  --hero-a: rgba(250, 246, 239, 0.93);
  --hero-b: rgba(250, 246, 239, 0.2);
  --hero-ink: #4a3b2c;
  --hero-btn-bg: #7a5a38;
  --hero-btn-ink: #ffffff;
  --hero-shadow: none;
  --diff-bg: #f7efe0;
  --ph-a: #efe5d3;
  --ph-b: #e1d0b4;
  --show-logo-on-dark: none;
  --show-logo-on-light: block;
}

/* 黑白極簡：純黑白灰、直角，像畫廊——讓木紋照片當主角 */
:root[data-theme="mono"] {
  --cream: #fafafa;
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #737373;
  --border: #e5e5e5;
  --wood: #1a1a1a;
  --wood-dark: #1a1a1a;
  --wood-light: #a3a3a3;
  --on-accent: #ffffff;
  --shadow: 0 0 0 1px #e8e8e8;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.14);
  --radius: 0;
  --topbar-bg: #ffffff;
  --topbar-ink: #111111;
  --topbar-link: #333333;
  --topbar-hover: rgba(0, 0, 0, 0.06);
  --topbar-current: rgba(0, 0, 0, 0.1);
  --topbar-border: #111111;
  --hero-a: rgba(255, 255, 255, 0.92);
  --hero-b: rgba(255, 255, 255, 0.15);
  --hero-ink: #111111;
  --hero-btn-bg: #111111;
  --hero-btn-ink: #ffffff;
  --hero-shadow: none;
  --diff-bg: #f2f2f2;
  --ph-a: #ececec;
  --ph-b: #d9d9d9;
  --show-logo-on-dark: none;
  --show-logo-on-light: block;
}
