:root {
  /* Core Y2K & Windows XP System Palette */
  --pink-50: #fff0f5;
  --pink-100: #ffcfe2;
  --pink-200: #f9bddd;
  --pink-300: #fbb4d4;
  --pink-400: #ef91aa;
  --pink-border: #e8a0b4;
  --rose: #c44569;
  --rose-2: #d46493;
  --ink: #111827;
  --brown: #3f4652;
  --line: #003c74;
  --line-soft: #aca899;
  --link: #0b4db8;

  --mint: #a8d8a8;
  --mint-strong: #54a96f;
  --mint-wash: rgba(118, 219, 56, 0.28);
  --sky: #b4dffb;
  --sky-deep: #4a7fb5;
  --lav: #c5b3e6;
  --lav-deep: #7b5ea7;
  --peach: #ffdead;
  --paper: #cecbc0;
  --muted-bg: #bcbec0;

  /* Authentic Windows XP Bitmap Surface Images (Deeper Real Sampled PNG Textures) */
  --xp-tex-luna: url("../img/xp/xp-surface-luna.png?v=2");
  --xp-tex-classic: url("../img/xp/xp-surface-classic.png?v=2");
  --xp-tex-panel: url("../img/xp/xp-surface-panel.png?v=2");

  /* Windows XP Luna & Classic Chrome Metrics */
  --xp-luna-bar: linear-gradient(
    180deg,
    #0997ff 0%,
    #0053ee 8%,
    #0050ee 40%,
    #0066ff 88%,
    #0066ff 93%,
    #005bff 95%,
    #003dd7 96%,
    #003dd7 100%
  );
  --xp-classic-bar: linear-gradient(90deg, #000080 0%, #0a4499 48%, #1084d0 100%);
  --xp-frame-shadow:
    inset -1px -1px #00138c,
    inset 1px 1px #0831d9,
    inset -2px -2px #001ea0,
    inset 2px 2px #166aee,
    inset -3px -3px #003bda,
    inset 3px 3px #0855dd,
    0 10px 24px rgba(0, 18, 68, 0.34);
  --xp-classic-bevel:
    inset 1px 1px #ffffff,
    inset -1px -1px #0a0a0a,
    inset 2px 2px #dfdfdf,
    inset -2px -2px #808080,
    0 8px 20px rgba(0, 14, 48, 0.28);
  --xp-sunken:
    inset 1px 1px #808080,
    inset -1px -1px #ffffff,
    inset 2px 2px #404040,
    inset -2px -2px #dfdfdf;
  --xp-sunken-soft:
    inset 1px 1px #9f9c8e,
    inset -1px -1px #ffffff;

  /* Active Accent Theme (default: pink) */
  --accent: var(--pink-100);
  --accent-2: var(--pink-200);
  --accent-soft: #f5ecee;
  --accent-strong: var(--pink-400);
  --accent-btn: #b83259;
  --accent-btn-hover: #9c2548;
  --accent-border: #b88c9a;
  --accent-text: #9d234a;
  --accent-bar: var(--xp-luna-bar);
  --accent-bar-strong: var(--xp-luna-bar);
  --card-grad: linear-gradient(135deg, #fdf0f4 0%, #fbd8e5 45%, #e8bacb 100%);
  --bg-page: linear-gradient(180deg, #fff6f9 0%, #ffffff 48%, #fdf3ff 100%);
  --bg-bottom: #ffdead;
  --plaid-a: rgba(255, 207, 226, 0.36);
  --plaid-b: rgba(180, 223, 251, 0.28);

  /* Semantic Window Border Aliases */
  --win-border: #003c74;
  --win-border-soft: #aca899;
  --win-surface-tint: #ece9d8;
  --win-subbar-bg: #e4e1d1;
  --win-toolbar-bg: #ebe8d8;
  --win-ctrl-ink: #111827;
  --win-shadow: 0 8px 20px rgba(0, 18, 64, 0.28);
  --win-shadow-float: 0 12px 28px rgba(0, 18, 64, 0.34);

  /* Layout & Geometry */
  --sidebar-w: 274px;
  --gap: 14px;
  --nav-offset: 50px;
  --radius-s: 3px;
  --radius-m: 4px;
  --radius-l: 8px;
  --radius-pill: 9999px;
  --gloss: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -2px 4px rgba(255, 255, 255, 0.45);
  --gloss-deep: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -4px 6px rgba(255, 255, 255, 0.5);

  /* Typography */
  --font-pixel: "DotGothic16", "Tahoma", "MS PGothic", "SimSun", monospace;
  --font-body: "Tahoma", "MS PGothic", "SimSun", "Microsoft YaHei", sans-serif;
  --font-mono: "DotGothic16", "Consolas", "Courier New", monospace;
}

html[data-accent="aqua"] {
  --accent: #bceeff;
  --accent-2: #8cd6f7;
  --accent-soft: #e4ebf0;
  --accent-strong: #3c9be0;
  --accent-btn: #0b53b5;
  --accent-btn-hover: #083d8a;
  --accent-border: #7f9db9;
  --accent-text: #003c74;
  --ink: #111827;
  --brown: #3d4856;
  --line: #003c74;
  --line-soft: #aca899;
  --link: #0046ad;
  --card-grad: linear-gradient(135deg, #f3fbff 0%, #c8efff 45%, #9bdbf8 100%);
  --bg-page: linear-gradient(180deg, #edfaff 0%, #ffffff 48%, #e8f8ff 100%);
  --bg-bottom: #cfefff;
  --plaid-a: rgba(132, 212, 248, 0.28);
  --plaid-b: rgba(176, 232, 252, 0.24);
}

html[data-accent="mint"] {
  --accent: #ccefd0;
  --accent-2: #a8d8a8;
  --accent-soft: #e6eee4;
  --accent-strong: #5ca86b;
  --accent-btn: #24683b;
  --accent-btn-hover: #1b522e;
  --accent-border: #87a88b;
  --accent-text: #1f5c32;
  --line: #2f6b3e;
  --line-soft: #aba99b;
  --xp-luna-bar: linear-gradient(
    180deg,
    #b2c786 0%,
    #7f9e53 10%,
    #88a75b 44%,
    #9ab76f 88%,
    #708c45 100%
  );
  --xp-classic-bar: linear-gradient(90deg, #2d5a35 0%, #4b8656 52%, #76ad7d 100%);
  --xp-frame-shadow:
    inset -1px -1px #3f5724,
    inset 1px 1px #6d8944,
    inset -2px -2px #526e2f,
    inset 2px 2px #9eb875,
    inset -3px -3px #67853e,
    inset 3px 3px #85a458,
    0 10px 24px rgba(24, 48, 22, 0.34);
  --card-grad: linear-gradient(135deg, #f3fbf4 0%, #d4f1d7 45%, #b2deb8 100%);
}

html[data-accent="lavender"] {
  --accent: #e1d7f8;
  --accent-2: #c5b3e6;
  --accent-soft: #ebe7f3;
  --accent-strong: #8d74c7;
  --accent-btn: #533885;
  --accent-btn-hover: #422b6d;
  --accent-border: #9687b5;
  --accent-text: #4b317a;
  --line: #4f3a7d;
  --line-soft: #aba6b3;
  --xp-luna-bar: linear-gradient(
    180deg,
    #b6a9e6 0%,
    #6a58ad 10%,
    #7461ba 44%,
    #8d7bd1 88%,
    #524094 100%
  );
  --xp-classic-bar: linear-gradient(90deg, #3b2870 0%, #6149a3 52%, #8b74c9 100%);
  --xp-frame-shadow:
    inset -1px -1px #322166,
    inset 1px 1px #5e4aa3,
    inset -2px -2px #422f80,
    inset 2px 2px #9886d6,
    inset -3px -3px #574399,
    inset 3px 3px #7662bd,
    0 10px 24px rgba(38, 24, 76, 0.34);
  --card-grad: linear-gradient(135deg, #f9f6ff 0%, #e5daf9 45%, #cbbbe8 100%);
}
