/* ==========================================================================
   Windows XP · 全站主题（设置 → 实验性 → 主题样式 = Windows XP）
   只在 html[data-switch-style="winxp"] 时生效，纯 CSS（工具栏 / 地址栏的结构由 js/core/aero-chrome.js 插入，
   和 Windows 2000 共用同一套 .w2k-tools / .w2k-addr，这里把它画成 IE6）。

   思路：整个网站是 Windows XP 桌面上的一扇 IE6 窗口（Luna 视觉样式）。
     · 桌面 = .aurora：默认 Bliss，可换 XP / Media Center / Plus! 原版墙纸或平铺图案，（无）= #004E98；
       设置里关掉「使用 Windows 壁纸」时改用网站原本的背景。
     · 窗口：圆角的蓝色 Luna 标题栏（白色粗体标题、右上角蓝色最小化 / 最大化 + 橙红色关闭按钮），
       米色 #ECE9D8 的窗口底色；下面是 IE6 的标准按钮（绿色圆形后退 / 前进）和「地址(D)」栏；
       首页的分区导航变成「链接」栏；侧栏是资源管理器左侧的任务窗格。
     · 宽屏（≥1260px）是「还原」的 1200px 窗口，露出桌面；窄屏或打开「窗口全屏」时最大化（标题栏变直角）。
     · 控件照 Luna 画：圆角按钮（悬停时橙色光边、默认按钮蓝色光边）、#7F9DB9 细边输入框、
       带蓝色下拉按钮的组合框、选项卡、蓝色滚动条、浅黄色气球提示；手机底栏 = XP 任务栏。
     · 配色方案（html[data-xp-color]）：blue（默认）/ olive（橄榄绿）/ silver（银色）/ royale（Media Center 的 Royale）。
   深色外观：XP 没有深色模式，这里用的是 XP 测试版里出现过的黑色 Royale Noir（不分配色方案）。
   标题栏上那道光泽每 4.5 秒扫一次，换页 / 鼠标移到标题栏上时立即再扫一次（同 Aero，见 aero-chrome.js）。
   ========================================================================== */

/* 只有 XP 才显示的工具栏按钮（向上、邮件） */
html:not([data-switch-style="winxp"]) .xp-only { display: none !important; }

/* ---------------------------------------------------------------- 设计变量：Luna 蓝（默认） */
html[data-switch-style="winxp"] {
  --xp-face: #ece9d8;
  --xp-face-hi: #f7f6ef;
  --xp-face-lo: #d6d2c2;
  --xp-window: #ffffff;
  --xp-ink: #000000;
  --xp-gray-ink: #aca899;
  --xp-edge: #7f9db9;                 /* 输入框 / 列表的细边 */
  --xp-btn-edge: #003c74;             /* 按钮外框 */
  --xp-btn: linear-gradient(180deg, #ffffff 0%, #ecebe6 86%, #d6d0c5 100%);
  --xp-btn-down: linear-gradient(180deg, #cdcac3 0%, #e3e3db 8%, #e5e5de 94%, #f2f2f1 100%);
  --xp-hot: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
  --xp-focus: inset -1px 1px #cee7ff, inset 1px 2px #98b8ea, inset -2px 2px #bcd4f6, inset 1px -1px #89ade4, inset 2px -2px #89ade4;
  --xp-sel: #316ac5;
  --xp-sel-ink: #ffffff;
  --xp-info: #ffffe1;
  --xp-desk: #004e98;
  --xp-head: #0c3b9e;                 /* 标题 / 任务窗格链接 */
  --xp-link: #215dc6;
  --xp-link-hot: #428eff;
  --xp-title: linear-gradient(180deg, #0997ff 0%, #0053ee 8%, #0050ee 40%, #0066ff 88%, #0066ff 93%, #005bff 95%, #003dd7 96%, #003dd7 100%);
  --xp-title-ink: #ffffff;
  --xp-title-shadow: 1px 1px #0f1089;
  --xp-frame: #0831d9;
  --xp-frame-ring: inset -1px -1px #00138c, inset 1px 1px #0831d9, inset -2px -2px #001ea0, inset 2px 2px #166aee, inset -3px -3px #003bda, inset 3px 3px #0855dd;
  --xp-caps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='21' viewBox='0 0 67 21'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2386b2ff'/%3E%3Cstop offset='.5' stop-color='%232b6cf3'/%3E%3Cstop offset='1' stop-color='%231b4ad8'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='23.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='46.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Crect x='5' y='13' width='7' height='3' fill='%23fff'/%3E%3Crect x='28.5' y='5.5' width='10' height='10' fill='none' stroke='%23fff'/%3E%3Crect x='28' y='5' width='11' height='3' fill='%23fff'/%3E%3Cpath d='M51.5 5.5l10 10M61.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
  --xp-pane-side: linear-gradient(180deg, #7ba2e7 0%, #6375d6 100%);
  --xp-pane-head: linear-gradient(90deg, #ffffff 0%, #c6d3f7 100%);
  --xp-pane-body: #d6dff7;
  --xp-tab-hot: #ffc83c;
  --xp-tab-hot-2: #e68b2c;
  --xp-sb-thumb: #c1d3fb;
  --xp-sb-thumb-2: #a9c1f6;
  --xp-sb-line: #8cb0f8;
  --xp-sb-track: #f4f4f0;
  --xp-taskbar: linear-gradient(180deg, #3168d5 0%, #4993e6 3%, #2157d7 6%, #2663e0 10%, #245ddb 92%, #1941a5 100%);
  --xp-taskbtn: linear-gradient(180deg, #5ea0ff 0%, #3c81f3 12%, #3c81f3 90%, #2c6be0 100%);
  --xp-taskbtn-on: linear-gradient(180deg, #1a4bb4 0%, #1e52b7 50%, #2560cc 100%);
  --xp-start: linear-gradient(180deg, #3c9d3c 0%, #67c567 10%, #3eae3e 45%, #2c962c 85%, #1e7a1e 100%);
  --xp-progress: #2fbf2f;
  /* 打开 / 选中的颜色（强调色）：主题原版 = XP 进度条的绿色、选项卡的橙色顶边 */
  --xp-on: var(--xp-progress);
  --xp-check: #21a121;
  --xp-tab-on: var(--xp-tab-hot);
  --xp-tab-on-2: var(--xp-tab-hot-2);
  --xp-win: 100vw;
  --xp-frame-w: 0px;
  --nav-h: 38px;

  /* 站点令牌 */
  --bg: var(--xp-face);
  --bg-deep: #e2dfcf;
  --surface: var(--xp-face-hi);
  --surface-solid: var(--xp-face-hi);
  --surface-2: #f1efe4;
  --surface-hover: #f1efe4;
  --surface-elevated: var(--xp-window);
  --text: #000000;
  --text-2: #333333;
  --text-3: #5a5a5a;
  --line: #d0cebf;
  --line-strong: #aca899;
  --accent: var(--xp-link);
  --accent-2: #3a6ee0;
  --accent-soft: rgba(49, 106, 197, .12);
  --accent-line: rgba(49, 106, 197, .45);
  --accent-glow: none;
  --glow: none;
  --green: #1f8f1f;
  --red: #c42b1c;
  --shadow-1: none;
  --shadow-2: 2px 2px 4px rgba(0, 0, 0, .18);
  --shadow-3: 3px 3px 6px rgba(0, 0, 0, .3);
  --glass-blur: none;
  --r-xl: 6px;
  --r-lg: 4px;
  --r-md: 3px;
  --r-sm: 3px;
  --font: Tahoma, "Microsoft Sans Serif", "SimSun", "宋体", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --font-title: "Trebuchet MS", Tahoma, "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-mono: "Lucida Console", "Courier New", Consolas, ui-monospace, monospace;
  --apple-nav-ink: #fff;
  --apple-nav-ink-strong: #fff;
  --apple-panel-bg: var(--xp-window);
  --apple-panel-line: var(--xp-gray-ink);
  --apple-panel-shadow: 2px 2px 3px rgba(0, 0, 0, .3);
  --apple-hover: var(--xp-sel);
  color-scheme: light;
}

/* 橄榄绿 */
html[data-switch-style="winxp"][data-xp-color="olive"] {
  --xp-head: #3d5a12;
  --xp-link: #4c6a1b;
  --xp-link-hot: #79a336;
  --xp-sel: #93a070;
  --xp-title: linear-gradient(180deg, #d5e2b3 0%, #a6ba7e 8%, #93a86b 40%, #8ba169 88%, #8ba169 93%, #879d60 95%, #6f854c 96%, #6f854c 100%);
  --xp-title-shadow: 1px 1px #5b6a3d;
  --xp-frame: #8ba169;
  --xp-frame-ring: inset -1px -1px #5d6e3d, inset 1px 1px #a3b385, inset -2px -2px #73865a, inset 2px 2px #b5c49a, inset -3px -3px #8ba169, inset 3px 3px #9db27c;
  --xp-caps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='21' viewBox='0 0 67 21'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23e3ebc7'/%3E%3Cstop offset='.5' stop-color='%23a8bb7c'/%3E%3Cstop offset='1' stop-color='%237f9550'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='23.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='46.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Crect x='5' y='13' width='7' height='3' fill='%23fff'/%3E%3Crect x='28.5' y='5.5' width='10' height='10' fill='none' stroke='%23fff'/%3E%3Crect x='28' y='5' width='11' height='3' fill='%23fff'/%3E%3Cpath d='M51.5 5.5l10 10M61.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
  --xp-pane-side: linear-gradient(180deg, #ccd9ad 0%, #a5bd84 100%);
  --xp-pane-head: linear-gradient(90deg, #fefef5 0%, #e0e7b8 100%);
  --xp-pane-body: #f6f6ec;
  --xp-sb-thumb: #d7e2b4;
  --xp-sb-thumb-2: #b4c58d;
  --xp-sb-line: #a6b67e;
  --xp-taskbar: linear-gradient(180deg, #b0c28c 0%, #d0dcae 4%, #9cb07c 8%, #95aa74 50%, #8ba169 92%, #6d8251 100%);
  --xp-taskbtn: linear-gradient(180deg, #e4ecc8 0%, #bccb93 12%, #b2c287 90%, #9db078 100%);
  --xp-taskbtn-on: linear-gradient(180deg, #7f9558 0%, #8ca364 50%, #9ab070 100%);
  --accent: var(--xp-link);
  --accent-2: #7a9a3a;
  --accent-soft: rgba(139, 161, 105, .16);
  --accent-line: rgba(111, 133, 76, .5);
}
/* 银色：标题栏是浅银灰，标题文字是黑色 */
html[data-switch-style="winxp"][data-xp-color="silver"] {
  --xp-face: #e0dfe3;
  --xp-face-hi: #f3f3f5;
  --xp-face-lo: #c9c8cf;
  --xp-head: #3c3c5c;
  --xp-link: #3d3d9e;
  --xp-link-hot: #6b6bd6;
  --xp-sel: #b2b4bf;
  --xp-sel-ink: #000000;
  --xp-title: linear-gradient(180deg, #ffffff 0%, #e3e3ec 8%, #d3d3e0 40%, #c4c4d6 88%, #c4c4d6 93%, #babace 95%, #a2a2b8 96%, #a2a2b8 100%);
  --xp-title-ink: #000000;
  --xp-title-shadow: 1px 1px #ffffff;
  --xp-frame: #c0c0d2;
  --xp-frame-ring: inset -1px -1px #6e6e8c, inset 1px 1px #ffffff, inset -2px -2px #9c9cb5, inset 2px 2px #e6e6ee, inset -3px -3px #c0c0d2, inset 3px 3px #d6d6e2;
  --xp-caps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='21' viewBox='0 0 67 21'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23e2e2ec'/%3E%3Cstop offset='1' stop-color='%23b9b9cc'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%239c9cb5'/%3E%3Crect x='23.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%239c9cb5'/%3E%3Crect x='46.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%239c9cb5'/%3E%3Crect x='5' y='13' width='7' height='3' fill='%234b4b6b'/%3E%3Crect x='28.5' y='5.5' width='10' height='10' fill='none' stroke='%234b4b6b'/%3E%3Crect x='28' y='5' width='11' height='3' fill='%234b4b6b'/%3E%3Cpath d='M51.5 5.5l10 10M61.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
  --xp-pane-side: linear-gradient(180deg, #c4c8d4 0%, #b1b3c8 100%);
  --xp-pane-head: linear-gradient(90deg, #ffffff 0%, #d6d7e2 100%);
  --xp-pane-body: #f0f1f5;
  --xp-sb-thumb: #f2f2f6;
  --xp-sb-thumb-2: #cfd0dc;
  --xp-sb-line: #a9a9bc;
  --xp-sb-track: #f4f4f6;
  --xp-taskbar: linear-gradient(180deg, #e3e3ec 0%, #ffffff 4%, #d3d3df 10%, #c7c7d5 60%, #b3b3c6 100%);
  --xp-taskbtn: linear-gradient(180deg, #ffffff 0%, #ececf2 50%, #d9d9e4 100%);
  --xp-taskbtn-on: linear-gradient(180deg, #a9aabc 0%, #bcbdcd 50%, #cacbd8 100%);
  --bg: var(--xp-face);
  --surface: var(--xp-face-hi);
  --surface-solid: var(--xp-face-hi);
  --accent: var(--xp-link);
  --accent-2: #5b5bb8;
  --accent-soft: rgba(90, 90, 160, .12);
  --accent-line: rgba(90, 90, 160, .45);
}
/* Royale（Media Center Edition 2005 / Zune）：更饱满的光泽蓝 */
html[data-switch-style="winxp"][data-xp-color="royale"] {
  --xp-face: #ebe9ed;
  --xp-face-hi: #f6f5f8;
  --xp-face-lo: #d4d2d9;
  --xp-head: #1b3a8c;
  --xp-link: #2649a8;
  --xp-sel: #335ea8;
  --xp-title: linear-gradient(180deg, #8fa9ec 0%, #5a7fd8 6%, #3c63c8 45%, #2a4cb0 52%, #2c51b8 88%, #3358c0 94%, #1c378e 96%, #1c378e 100%);
  --xp-title-shadow: 1px 1px #0c1c55;
  --xp-frame: #2c4fa8;
  --xp-frame-ring: inset -1px -1px #0c1c55, inset 1px 1px #5476d0, inset -2px -2px #18307a, inset 2px 2px #7d98e0, inset -3px -3px #2c4fa8, inset 3px 3px #3c60bc;
  --xp-caps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='21' viewBox='0 0 67 21'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%239cb6f4'/%3E%3Cstop offset='.5' stop-color='%233c64cf'/%3E%3Cstop offset='1' stop-color='%231f3f9e'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='23.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%23fff'/%3E%3Crect x='46.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Crect x='5' y='13' width='7' height='3' fill='%23fff'/%3E%3Crect x='28.5' y='5.5' width='10' height='10' fill='none' stroke='%23fff'/%3E%3Crect x='28' y='5' width='11' height='3' fill='%23fff'/%3E%3Cpath d='M51.5 5.5l10 10M61.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
  --xp-pane-side: linear-gradient(180deg, #8aa2e0 0%, #5a74c8 100%);
  --xp-pane-body: #dfe4f5;
  --xp-taskbar: linear-gradient(180deg, #6182d8 0%, #9ab0ec 4%, #3e62c4 8%, #2a4cb0 50%, #213f9c 92%, #142a6e 100%);
  --xp-taskbtn: linear-gradient(180deg, #8aa6ee 0%, #4f72d4 12%, #4466cc 90%, #3355b8 100%);
  --xp-taskbtn-on: linear-gradient(180deg, #172f80 0%, #1f3c96 50%, #2a4cb0 100%);
  --bg: var(--xp-face);
  --surface: var(--xp-face-hi);
  --surface-solid: var(--xp-face-hi);
  --accent: var(--xp-link);
}
/* 深色外观 = Royale Noir（XP 测试版的黑色配色）。放在配色方案后面：深色时统一用它 */
html[data-switch-style="winxp"][data-theme="dark"] {
  --xp-face: #2b2b2b;
  --xp-face-hi: #333333;
  --xp-face-lo: #1f1f1f;
  --xp-window: #1c1c1c;
  --xp-ink: #ececec;
  --xp-gray-ink: #7a7a7a;
  --xp-edge: #5c6470;
  --xp-btn-edge: #0a0a0a;
  --xp-btn: linear-gradient(180deg, #5a5a5a 0%, #3c3c3c 86%, #2c2c2c 100%);
  --xp-btn-down: linear-gradient(180deg, #1e1e1e 0%, #2a2a2a 8%, #2e2e2e 94%, #3a3a3a 100%);
  --xp-hot: inset -1px 1px #6a5a30, inset 1px 2px #c98a1c, inset -2px 2px #b07a20, inset 2px -2px #e59b1a;
  --xp-focus: inset -1px 1px #3a5a8a, inset 1px 2px #4a74b8, inset -2px 2px #3e66a6, inset 1px -1px #5a86cc, inset 2px -2px #5a86cc;
  --xp-sel: #3a64b0;
  --xp-sel-ink: #ffffff;
  --xp-info: #3a3620;
  --xp-head: #9fc0ff;
  --xp-link: #8fb4ff;
  --xp-link-hot: #c2d6ff;
  --xp-title: linear-gradient(180deg, #6e6e6e 0%, #424242 8%, #2c2c2c 45%, #0e0e0e 52%, #141414 88%, #1e1e1e 94%, #000000 96%, #000000 100%);
  --xp-title-ink: #ffffff;
  --xp-title-shadow: 1px 1px #000000;
  --xp-frame: #1a1a1a;
  --xp-frame-ring: inset -1px -1px #000, inset 1px 1px #4a4a4a, inset -2px -2px #0c0c0c, inset 2px 2px #3a3a3a, inset -3px -3px #1a1a1a, inset 3px 3px #262626;
  --xp-caps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='67' height='21' viewBox='0 0 67 21'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%237a7a7a'/%3E%3Cstop offset='.5' stop-color='%233a3a3a'/%3E%3Cstop offset='1' stop-color='%23141414'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%239a9a9a'/%3E%3Crect x='23.5' y='.5' width='20' height='20' rx='3' fill='url(%23b)' stroke='%239a9a9a'/%3E%3Crect x='46.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%239a9a9a'/%3E%3Crect x='5' y='13' width='7' height='3' fill='%23fff'/%3E%3Crect x='28.5' y='5.5' width='10' height='10' fill='none' stroke='%23fff'/%3E%3Crect x='28' y='5' width='11' height='3' fill='%23fff'/%3E%3Cpath d='M51.5 5.5l10 10M61.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
  --xp-pane-side: linear-gradient(180deg, #2f3542 0%, #1f2430 100%);
  --xp-pane-head: linear-gradient(90deg, #3c4352 0%, #2a3040 100%);
  --xp-pane-body: #252a35;
  --xp-tab-hot: #e0a020;
  --xp-tab-hot-2: #b8761c;
  --xp-sb-thumb: #555a66;
  --xp-sb-thumb-2: #3f434d;
  --xp-sb-line: #7a8090;
  --xp-sb-track: #222222;
  --xp-taskbar: linear-gradient(180deg, #4a4a4a 0%, #6a6a6a 4%, #2a2a2a 8%, #161616 50%, #0c0c0c 92%, #000 100%);
  --xp-taskbtn: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 12%, #333 90%, #262626 100%);
  --xp-taskbtn-on: linear-gradient(180deg, #0c0c0c 0%, #161616 50%, #222 100%);
  --bg: var(--xp-face);
  --bg-deep: #1f1f1f;
  --surface: var(--xp-face-hi);
  --surface-solid: var(--xp-face-hi);
  --surface-2: #2a2a2a;
  --surface-hover: #3a3a3a;
  --surface-elevated: #262626;
  --text: #ececec;
  --text-2: #cfcfcf;
  --text-3: #a5a5a5;
  --line: #444444;
  --line-strong: #5a5a5a;
  --accent: var(--xp-link);
  --accent-2: #6f9fe0;
  --accent-soft: rgba(143, 180, 255, .14);
  --accent-line: rgba(143, 180, 255, .45);
  --green: #6fd46f;
  --red: #ff7a7a;
  color-scheme: dark;
}
/* 设置里选了强调色：开关、复选框、滑块、选中的选项卡都用它（放在配色方案和深色之后） */
html[data-switch-style="winxp"][data-desk-tint]:not([data-desk-tint="theme"]) {
  --xp-on: var(--desk-tint);
  --xp-check: var(--desk-tint);
  --xp-tab-on: var(--desk-tint);
  --xp-tab-on-2: color-mix(in srgb, var(--desk-tint) 75%, #000);
}
@media (min-width: 1260px) {
  html[data-switch-style="winxp"]:not([data-desk-width="full"]) { --xp-win: 1200px; --xp-frame-w: 3px; }
}

/* 整套主题不用毛玻璃（也省掉滚动时的重绘） */
html[data-switch-style="winxp"] *,
html[data-switch-style="winxp"] *::before,
html[data-switch-style="winxp"] *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ---------------------------------------------------------------- 基础排版 */
html[data-switch-style="winxp"] body {
  font-family: var(--font);
  letter-spacing: 0;
  background: var(--xp-desk);
  color: var(--text);
}
html[data-switch-style="winxp"] :is(h1, h2, h3, h4, h5) { letter-spacing: 0; }
html[data-switch-style="winxp"] ::selection { background: var(--xp-sel); color: var(--xp-sel-ink); }
html[data-switch-style="winxp"] a:not(.btn):not(.nav-link):hover { text-decoration: underline; }
html[data-switch-style="winxp"] :is(header.nav, .section-nav, .nav-menu, .segmented, .footer .cols, .w2k-tools, .admin-ai-split) a:hover,
html[data-switch-style="winxp"] a.card:hover,
html[data-switch-style="winxp"] a:has(> .card):hover { text-decoration: none; }

/* ---------------------------------------------------------------- 桌面 */
html[data-switch-style="winxp"] .aurora { visibility: visible !important; }
html[data-switch-style="winxp"]:not([data-desk-bg="site"]) .aurora {
  background: var(--xp-desk) var(--xp-wall, none) center / cover no-repeat !important;
}
html[data-switch-style="winxp"]:not([data-desk-bg="site"])[data-xp-tile="1"] .aurora {
  background: var(--xp-desk) var(--xp-wall, none) 0 0 / auto repeat !important;
}
html[data-switch-style="winxp"]:not([data-desk-bg="site"]) .aurora i { display: none !important; }
html[data-switch-style="winxp"]:not([data-desk-bg="site"]) .personal-background { display: none !important; }
html[data-switch-style="winxp"][data-desk-bg="site"] body.has-personal-background .aurora { background: none !important; }
html[data-switch-style="winxp"][data-desk-bg="site"] body.has-personal-background .aurora i { display: none; }

/* ---------------------------------------------------------------- 窗口：蓝色 Luna 外框（宽屏「还原」时） */
html[data-switch-style="winxp"] #app {
  width: 100%;
  max-width: var(--xp-win);
  margin-inline: auto;
  background: var(--xp-face);
}
@media (min-width: 1260px) {
  html[data-switch-style="winxp"]:not([data-desk-width="full"]) #app {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 3px 3px;
    border-radius: 8px 8px 0 0;
    background: var(--xp-face);
    box-shadow: var(--xp-frame-ring), 2px 3px 8px rgba(0, 0, 0, .4);
  }
}

/* ---------------------------------------------------------------- 标题栏（顶栏） */
html[data-switch-style="winxp"] header.nav,
html[data-switch-style="winxp"][data-theme="dark"] header.nav {
  height: var(--nav-h);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
html[data-switch-style="winxp"] header.nav::before,
html[data-switch-style="winxp"][data-theme="dark"] header.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--xp-title);
  border: 0;
  box-shadow: inset 0 1px rgb(255 255 255 / .25);
  clip-path: none;
  pointer-events: none;
}
@media (min-width: 1260px) {
  html[data-switch-style="winxp"]:not([data-desk-width="full"]) header.nav { margin-inline: -3px; }
  html[data-switch-style="winxp"]:not([data-desk-width="full"]) header.nav::before,
  html[data-switch-style="winxp"]:not([data-desk-width="full"]) header.nav::after { border-radius: 8px 8px 0 0; }
}
html[data-switch-style="winxp"] header.nav.is-scrolled { box-shadow: none; }
/* 标题栏的光泽：每 4.5 秒从左往右扫一次（换页 / 鼠标移上来时 aero-chrome.js 切换 .glint-b 立即重扫） */
html[data-switch-style="winxp"] header.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 0;
  height: auto;
  background: linear-gradient(105deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / .34) 50%, rgb(255 255 255 / 0) 100%) no-repeat;
  background-size: 18% 100%;
  background-position: -30% 0;
  opacity: 0;
  animation: xpGlint 4.5s ease-in-out .8s infinite;
}
html[data-switch-style="winxp"] header.nav.glint-b::after { animation-name: xpGlintB; animation-delay: 0s; }
@keyframes xpGlint {
  0% { background-position: -30% 0; opacity: 0; }
  5% { opacity: 1; }
  34% { background-position: 130% 0; opacity: 1; }
  38%, 100% { background-position: 130% 0; opacity: 0; }
}
@keyframes xpGlintB {
  0% { background-position: -30% 0; opacity: 0; }
  5% { opacity: 1; }
  34% { background-position: 130% 0; opacity: 1; }
  38%, 100% { background-position: 130% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-switch-style="winxp"] header.nav::after,
  html[data-switch-style="winxp"] header.nav.glint-b::after { animation: none; opacity: 0; }
}
html[data-switch-style="winxp"] header.nav .nav-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0 5px 0 7px;
  gap: 8px;
}
/* 最小化 / 最大化 / 关闭（装饰） */
html[data-switch-style="winxp"] header.nav .nav-inner::after { display: none !important; }
html[data-switch-style="winxp"] header.nav .nav-inner::after_unused {
  content: "";
  order: 99;
  flex: none;
  width: 67px;
  height: 21px;
  margin-left: 4px;
  background: var(--xp-caps) no-repeat;
}
html[data-switch-style="winxp"] header.nav :is(.brand, .brand .name, .review-qq, .nav-link, .icon-btn, .nav-status) {
  color: var(--xp-title-ink);
  text-shadow: var(--xp-title-shadow);
}
html[data-switch-style="winxp"] header.nav .brand { gap: 6px; }
html[data-switch-style="winxp"] header.nav .brand .logo { width: 18px; height: 18px; border-radius: 0; background: none; box-shadow: none; }
html[data-switch-style="winxp"] header.nav .brand .logo img { width: 16px; height: 16px; }
html[data-switch-style="winxp"] header.nav .brand .name { font-family: var(--font-title); font-size: 14px; font-weight: 700; letter-spacing: 0; }
html[data-switch-style="winxp"] header.nav .brand .ver { color: var(--xp-title-ink); border: 0; border-radius: 0; padding: 0; font-size: 11px; opacity: .85; background: none; }
/* 标题栏上的导航：像 XP 任务栏按钮那样的半透明圆角块 */
html[data-switch-style="winxp"] header.nav .nav-links { gap: 2px; margin-left: 10px; }
html[data-switch-style="winxp"] header.nav .nav-links .nav-link {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 400;
  background: transparent;
  box-shadow: none;
  transition: none;
}
html[data-switch-style="winxp"] header.nav .nav-links .nav-link:hover,
html[data-switch-style="winxp"] header.nav .nav-group:hover > .nav-link {
  background: rgb(255 255 255 / .2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38);
}
html[data-switch-style="winxp"] header.nav .nav-links .nav-link.active {
  font-weight: 700;
  background: rgb(0 0 0 / .2);
  box-shadow: inset 1px 1px 2px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(0 0 0 / .2);
}
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) header.nav .nav-links .nav-link:hover { background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) header.nav .nav-links .nav-link.active { background: rgb(0 0 0 / .1); }
html[data-switch-style="winxp"] header.nav .nav-link::after,
html[data-switch-style="winxp"] header.nav .nav-links .nav-link.active::after { display: none; }
html[data-switch-style="winxp"] header.nav .review-qq { font-size: 11.5px; opacity: .95; }
html[data-switch-style="winxp"] header.nav .icon-btn {
  width: 26px;
  height: 24px;
  border-radius: 3px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
html[data-switch-style="winxp"] header.nav .icon-btn svg { width: 15px; height: 15px; filter: drop-shadow(var(--xp-title-shadow) rgb(0 0 0 / .35)); }
html[data-switch-style="winxp"] header.nav .icon-btn:hover { background: rgb(255 255 255 / .2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38); transform: none; }
html[data-switch-style="winxp"] header.nav .icon-btn:active { background: rgb(0 0 0 / .2); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .45); }
html[data-switch-style="winxp"] header.nav .nav-actions { gap: 4px; }
html[data-switch-style="winxp"] .scroll-progress { display: none; }
html[data-switch-style="winxp"] header.nav .nav-actions > .btn,
html[data-switch-style="winxp"] header.nav .nav-actions > .btn:hover {
  height: 22px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 3px;
  border: 1px solid var(--xp-btn-edge);
  background: var(--xp-btn);
  color: var(--xp-ink);
  text-shadow: none;
  box-shadow: none;
}
html[data-switch-style="winxp"] header.nav .nav-actions > .btn:hover { box-shadow: var(--xp-hot); }
html[data-switch-style="winxp"] header.nav .nav-actions > .btn:active { background: var(--xp-btn-down); box-shadow: none; }
html[data-switch-style="winxp"] header.nav .nav-actions > .btn-ghost,
html[data-switch-style="winxp"] header.nav .nav-actions > .btn-ghost:hover { background: transparent; border-color: transparent; color: var(--xp-title-ink); text-shadow: var(--xp-title-shadow); box-shadow: none; }
html[data-switch-style="winxp"] header.nav .nav-actions > .btn-ghost:hover { background: rgb(255 255 255 / .2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38); }
html[data-switch-style="winxp"] .notify-badge { border-radius: 8px; background: #d8361c; color: #fff; box-shadow: 0 0 0 1px #fff; }

/* 下拉菜单：XP 的平面菜单（白底、灰边、阴影，选中项蓝底白字） */
html[data-switch-style="winxp"] header.nav :is(.nav-menu, .user-menu, .notify-panel),
html[data-switch-style="winxp"][data-theme="dark"] header.nav :is(.nav-menu, .user-menu, .notify-panel),
html[data-switch-style="winxp"] :is(.msg-menu, .fm-menu) {
  background: var(--xp-window);
  border: 1px solid var(--xp-gray-ink);
  border-radius: 0;
  padding: 2px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .35);
  color: var(--text);
}
html[data-switch-style="winxp"] header.nav .nav-menu { top: calc(100% + 1px); }
html[data-switch-style="winxp"] header.nav .nav-menu a,
html[data-switch-style="winxp"] header.nav .user-menu .nav-link {
  border: 0;
  border-radius: 0;
  color: var(--text);
  text-shadow: none;
  box-shadow: none;
}
html[data-switch-style="winxp"] header.nav .nav-menu a :is(.mt, .md) { color: inherit; }
html[data-switch-style="winxp"] header.nav .nav-menu a:hover,
html[data-switch-style="winxp"] header.nav .user-menu .nav-link:hover,
html[data-switch-style="winxp"] :is(.msg-menu, .fm-menu) :is(button, a):hover {
  background: var(--xp-sel);
  color: var(--xp-sel-ink) !important;
  text-decoration: none;
}
html[data-switch-style="winxp"] header.nav .nav-drawer {
  background: var(--xp-window);
  border: 1px solid var(--xp-gray-ink);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .35);
}
html[data-switch-style="winxp"] header.nav .nav-drawer a { border-radius: 0; color: var(--text); text-shadow: none; }
html[data-switch-style="winxp"] header.nav .nav-drawer a:is(:hover, .active) { background: var(--xp-sel); color: var(--xp-sel-ink); }

/* ---------------------------------------------------------------- IE6 工具栏 + 地址栏（aero-chrome.js，结构与 2000 共用） */
html[data-switch-style="winxp"] .aero-chrome {
  display: block;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--xp-face-hi) 0%, var(--xp-face) 100%);
  padding: 1px 0 2px;
  box-shadow: inset 0 -1px var(--xp-face-lo);
}
html[data-switch-style="winxp"] .aero-chrome :is(.aero-tb, .aero-addr) { display: none; }
html[data-switch-style="winxp"] .w2k-tools,
html[data-switch-style="winxp"] .w2k-addr {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px 2px 14px;
  position: relative;
}
html[data-switch-style="winxp"] .w2k-addr { margin-top: 1px; gap: 6px; box-shadow: inset 0 1px var(--xp-face-lo), inset 0 2px var(--xp-window); padding-top: 4px; }
html[data-switch-style="winxp"][data-theme="dark"] .w2k-addr { box-shadow: inset 0 1px #111, inset 0 2px #3a3a3a; }
/* 工具栏左侧的拖动柄（一列小点） */
html[data-switch-style="winxp"] :is(.w2k-tools, .w2k-addr, .section-nav.home-section-nav)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 3px;
  background: radial-gradient(circle at 1px 1px, #fff 0 1px, transparent 1.2px) 1px 1px / 3px 4px repeat-y,
              radial-gradient(circle at 1px 1px, #b5b29f 0 1px, transparent 1.2px) 0 0 / 3px 4px repeat-y;
}
html[data-switch-style="winxp"] .w2k-tool {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 4px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
html[data-switch-style="winxp"] .w2k-tool:hover {
  border-color: rgb(0 0 0 / .18);
  background: linear-gradient(180deg, #fff 0%, #f6f5f0 55%, #e8e6db 100%);
  box-shadow: inset 0 -1px rgb(0 0 0 / .06);
  text-decoration: none;
}
html[data-switch-style="winxp"][data-theme="dark"] .w2k-tool:hover { background: linear-gradient(180deg, #4a4a4a, #333); border-color: #111; }
html[data-switch-style="winxp"] .w2k-tool:active { background: var(--xp-face-lo); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .25); padding: 1px 5px 0 5px; }
html[data-switch-style="winxp"] .w2k-tool:focus-visible,
html[data-switch-style="winxp"] .w2k-go:focus-visible { outline: 1px dotted var(--text); outline-offset: -3px; }
html[data-switch-style="winxp"] .w2k-vsep { width: 2px; height: 26px; margin: 0 3px; box-shadow: inset 1px 0 var(--xp-face-lo), inset -1px 0 var(--xp-window); }
html[data-switch-style="winxp"][data-theme="dark"] .w2k-vsep { box-shadow: inset 1px 0 #111, inset -1px 0 #4a4a4a; }
html[data-switch-style="winxp"] .w2k-g { width: 24px; height: 24px; background-size: 24px 24px; filter: none; }
html[data-switch-style="winxp"] .w2k-tool[data-w2k-back] .w2k-g,
html[data-switch-style="winxp"] .w2k-tool[data-w2k-fwd] .w2k-g { width: 26px; height: 26px; background-size: 26px 26px; }
html[data-switch-style="winxp"] .w2k-g.back { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23b8f0a8'/%3E%3Cstop offset='.45' stop-color='%2346b83c'/%3E%3Cstop offset='1' stop-color='%2317721a'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='10.5' fill='url(%23g)' stroke='%2311591a'/%3E%3Cpath d='M13 6.5L7.5 12l5.5 5.5v-3.5h5v-4h-5z' fill='%23fff' stroke='%231d6a1f' stroke-width='.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.fwd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23b8f0a8'/%3E%3Cstop offset='.45' stop-color='%2346b83c'/%3E%3Cstop offset='1' stop-color='%2317721a'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='10.5' fill='url(%23g)' stroke='%2311591a'/%3E%3Cpath d='M11 6.5l5.5 5.5L11 17.5v-3.5H6v-4h5z' fill='%23fff' stroke='%231d6a1f' stroke-width='.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.up { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6.5h7l2 2h10.5v12H2z' fill='%23f5d462' stroke='%23b48a1c'/%3E%3Cpath d='M2 10h19.5v10.5H2z' fill='%23fbe593' stroke='%23b48a1c'/%3E%3Cpath d='M12 9l-4.5 4.5h3V19h3v-5.5h3z' fill='%232fa52f' stroke='%2316641a' stroke-width='.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.refresh { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5h10l4 4v15H5z' fill='%23fff' stroke='%236d7f9e'/%3E%3Cpath d='M15 2.5v4h4' fill='%23dfe7f5' stroke='%236d7f9e'/%3E%3Cpath d='M16 12a4 4 0 1 1-1.2-2.9' fill='none' stroke='%232b9a2b' stroke-width='2'/%3E%3Cpath d='M16.8 6.6v4.4h-4.4z' fill='%232b9a2b'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11v10h14V11' fill='%23f7f3e4' stroke='%238a7b55'/%3E%3Cpath d='M1.5 12L12 3l10.5 9' fill='none' stroke='%23c2361c' stroke-width='2.6' stroke-linejoin='round'/%3E%3Crect x='10' y='14' width='4' height='7' fill='%232a6bd1'/%3E%3Crect x='15.5' y='13' width='2.5' height='2.5' fill='%238fc4ff' stroke='%233c6db0' stroke-width='.6'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.4' cy='.35' r='.7'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%239cc8ff'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M14.5 14.5l6.5 6.5' stroke='%236b4a1d' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='9.5' cy='9.5' r='6.5' fill='url(%23g)' stroke='%233a5d9c' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.fav { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff59a'/%3E%3Cstop offset='1' stop-color='%23f0b400'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 2.5l2.9 6 6.6.8-4.9 4.5 1.3 6.6L12 17.1l-5.9 3.3 1.3-6.6-4.9-4.5 6.6-.8z' fill='url(%23g)' stroke='%23a77700' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='5.5' width='19' height='13' fill='%23fff' stroke='%236d7f9e'/%3E%3Cpath d='M2.5 5.5l9.5 7.5 9.5-7.5' fill='%23eef3fb' stroke='%236d7f9e'/%3E%3Cpath d='M2.5 18.5l7-6M21.5 18.5l-7-6' stroke='%239aabc8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] .w2k-g.go { width: 20px; height: 20px; background-size: 20px 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%237fd76f'/%3E%3Cstop offset='1' stop-color='%231f8f1f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='.5' y='.5' width='19' height='19' rx='3' fill='url(%23g)' stroke='%2318661a'/%3E%3Cpath d='M5 10h8M9.5 5.5L14 10l-4.5 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* IE6 只给后退、搜索、收藏夹显示文字 */
html[data-switch-style="winxp"] .w2k-tool:is([data-w2k-fwd], [data-w2k-refresh], [href="/"]) span { display: none; }
html[data-switch-style="winxp"] .w2k-tool[data-w2k-back]::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 3px solid transparent;
  border-top: 4px solid var(--text);
  border-bottom: 0;
}
html[data-switch-style="winxp"] .w2k-addr-label { font-size: 12px; color: var(--text-3); white-space: nowrap; flex: none; }
html[data-switch-style="winxp"] .w2k-field {
  flex: 1;
  min-width: 0;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px 0 3px;
  background: var(--xp-window) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E") right 5px center / 8px 5px no-repeat;
  border: 1px solid var(--xp-edge);
  position: relative;
}
/* 地址栏右端的蓝色下拉按钮（装饰） */
html[data-switch-style="winxp"] .w2k-field::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 16px;
  border-radius: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E") center / 8px 5px no-repeat, linear-gradient(180deg, #e3ecff 0%, #c4d6fc 50%, #b2c8f6 100%);
  box-shadow: inset 0 0 0 1px #bdd0f7;
  pointer-events: none;
}
html[data-switch-style="winxp"][data-theme="dark"] .w2k-field::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' fill='none' stroke='%23d0d8e8' stroke-width='1.8'/%3E%3C/svg%3E") center / 8px 5px no-repeat, linear-gradient(180deg, #555a66, #3f434d); box-shadow: inset 0 0 0 1px #626875; }
html[data-switch-style="winxp"] .w2k-field img { width: 16px; height: 16px; flex: none; }
html[data-switch-style="winxp"] .w2k-field input {
  flex: 1;
  min-width: 0;
  height: 18px;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: 12px var(--font);
}
html[data-switch-style="winxp"] .w2k-field input::selection { background: var(--xp-sel); color: var(--xp-sel-ink); }
html[data-switch-style="winxp"] .w2k-go {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 3px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: 12px var(--font);
  cursor: pointer;
  flex: none;
}
html[data-switch-style="winxp"] .w2k-go:hover { border-color: rgb(0 0 0 / .18); background: linear-gradient(180deg, #fff 0%, #f6f5f0 55%, #e8e6db 100%); }
html[data-switch-style="winxp"][data-theme="dark"] .w2k-go:hover { background: linear-gradient(180deg, #4a4a4a, #333); border-color: #111; }
html[data-switch-style="winxp"] .w2k-go:active { background: var(--xp-face-lo); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .25); }
@media (max-width: 720px) {
  html[data-switch-style="winxp"] .w2k-tool span { display: none; }
  html[data-switch-style="winxp"] .w2k-tool:is([href="/bookmarks"], [href="/messages"], [data-w2k-up]),
  html[data-switch-style="winxp"] .w2k-vsep.xp-only { display: none; }
  html[data-switch-style="winxp"] .w2k-addr-label { display: none; }
  html[data-switch-style="winxp"] .w2k-tool[data-w2k-back]::after { display: none; }
}

/* ---------------------------------------------------------------- 内容区：IE 的白色网页区 */
html[data-switch-style="winxp"] #view.page {
  max-width: none;
  width: auto;
  margin: 0;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: var(--xp-window);
  box-shadow: inset 0 1px var(--xp-edge), inset 1px 0 var(--xp-edge), inset -1px 0 var(--xp-edge), inset 0 -1px var(--xp-edge);
  position: relative;
  z-index: 1;
}
html[data-switch-style="winxp"][data-workspace-layout="edge"] #view.page.workspace-page { padding: 1px; }

/* 首页分区导航 =「链接」栏 */
html[data-switch-style="winxp"] .section-nav.home-section-nav,
html[data-switch-style="winxp"][data-theme="dark"] .section-nav.home-section-nav {
  width: calc(var(--xp-win) - var(--xp-frame-w) * 2);
  max-width: 100vw;
  margin-left: calc(50% - (var(--xp-win) - var(--xp-frame-w) * 2) / 2);
  padding: 0 14px 0 52px;
  height: 28px;
  gap: 1px;
  align-items: center;
  background: linear-gradient(180deg, var(--xp-face-hi) 0%, var(--xp-face) 100%);
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -1px var(--xp-face-lo), inset 0 1px var(--xp-window);
  position: sticky;
}
@media (max-width: 1259.98px) {
  html[data-switch-style="winxp"] .section-nav.home-section-nav,
  html[data-switch-style="winxp"][data-theme="dark"] .section-nav.home-section-nav { width: 100vw; margin-left: calc(50% - 50vw); }
}
html[data-switch-style="winxp"] .section-nav.home-section-nav::after {
  content: "链接";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-3);
  pointer-events: none;
}
html[data-switch-style="winxp"] .section-nav.home-section-nav a {
  height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--text);
  font-size: 12px;
  box-shadow: none;
  background: none;
}
html[data-switch-style="winxp"] .section-nav.home-section-nav a:hover { border-color: rgb(0 0 0 / .18); background: linear-gradient(180deg, #fff 0%, #f6f5f0 55%, #e8e6db 100%); color: var(--text); }
html[data-switch-style="winxp"][data-theme="dark"] .section-nav.home-section-nav a:hover { background: linear-gradient(180deg, #4a4a4a, #333); border-color: #111; }
html[data-switch-style="winxp"] .section-nav.home-section-nav a.active,
html[data-switch-style="winxp"][data-theme="dark"] .section-nav.home-section-nav a.active {
  border-color: rgb(0 0 0 / .2);
  background: var(--xp-face-lo);
  box-shadow: inset 1px 1px 2px rgb(0 0 0 / .2);
  color: var(--text);
  font-weight: 400;
}
html[data-switch-style="winxp"] .section-nav.home-section-nav a::after { display: none; }
html[data-switch-style="winxp"] .zone { scroll-margin-top: calc(var(--nav-h) + 40px); }

/* ---------------------------------------------------------------- 标题 */
html[data-switch-style="winxp"] :is(.page-head h1, .hero h1) { font-family: var(--font-title); font-weight: 700; color: var(--xp-head); letter-spacing: 0; }
html[data-switch-style="winxp"] .grad-text,
html[data-switch-style="winxp"][data-theme="dark"] .grad-text,
html[data-switch-style="winxp"][data-palette] .grad-text {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--xp-link) !important;
  -webkit-text-fill-color: currentColor !important;
  animation: none;
}
html[data-switch-style="winxp"] :is(.card-title, .page-head h2, .section-title, h2.title, .zone-head h2) { color: var(--xp-head); font-weight: 700; }
html[data-switch-style="winxp"] .zone-no,
html[data-switch-style="winxp"] .eyebrow { color: var(--xp-link); letter-spacing: .04em; }

/* ---------------------------------------------------------------- 面板：米色圆角分组框（像 XP 对话框里的面板） */
html[data-switch-style="winxp"] :is(.card, .hero-panel, .stat-strip, .auth-card, .team-card, .metric, .player-list-wrap, .review-card,
    .resource-card, .xt-stat, .team-slot, .hub-block, .flow > div, .ticker, .lat-chart-wrap, .messages-shell) {
  border-radius: 4px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--xp-window) 0%, var(--xp-face-hi) 100%);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, .07);
  color: var(--text);
}
html[data-switch-style="winxp"] .card .card,
html[data-switch-style="winxp"] .card :is(.resource-card, .xt-stat, .team-slot) {
  background: var(--xp-window);
  box-shadow: none;
}
html[data-switch-style="winxp"] .card.clickable:hover,
html[data-switch-style="winxp"] a.card:hover { transform: none; border-color: var(--xp-edge); box-shadow: 0 0 0 1px rgb(49 106 197 / .25), 1px 1px 3px rgba(0, 0, 0, .12); }
/* 首页右侧面板的标题 = 任务窗格的分组标题 */
html[data-switch-style="winxp"] .hero-panel { overflow: hidden; }
html[data-switch-style="winxp"] .hero-panel .top {
  background: var(--xp-pane-head);
  color: var(--xp-head);
  border-bottom: 1px solid var(--line);
  --text-2: var(--xp-head);
  --text-3: var(--xp-link);
}
html[data-switch-style="winxp"] .hero-panel .top :is(div, span, b, strong) { color: var(--xp-head); }
/* 横幅 = XP「欢迎」屏幕的蓝色 */
html[data-switch-style="winxp"] .cta-band,
html[data-switch-style="winxp"][data-palette] .cta-band {
  border-radius: 4px;
  border: 0;
  background: linear-gradient(180deg, #00309c 0, #00309c 6px, #fff 6px, #f8b25e 8px, #5a7edc 8px, #5a7edc calc(100% - 8px), #f8b25e calc(100% - 8px), #fff calc(100% - 6px), #00309c calc(100% - 6px));
  animation: none;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .2);
  color: #fff;
}
html[data-switch-style="winxp"] .cta-band :is(h2, h3, p, .grad-text) { color: #fff !important; text-shadow: 1px 1px 1px rgb(0 0 0 / .35); }
html[data-switch-style="winxp"] .divider { height: 1px; background: var(--line); box-shadow: 0 1px var(--xp-window); border: 0; }
html[data-switch-style="winxp"] :is(.pill, .badge, .tag, .chip) { border-radius: 3px; }

/* 提示条 = 黄色信息栏 */
html[data-switch-style="winxp"] .notice {
  border-radius: 3px;
  border: 1px solid #c9b46a;
  background: var(--xp-info);
  color: var(--text);
}
html[data-switch-style="winxp"][data-theme="dark"] .notice { border-color: #6b6030; }

/* 页脚 = 状态栏 */
html[data-switch-style="winxp"] .footer,
html[data-switch-style="winxp"][data-theme="dark"] .footer {
  background: var(--xp-face);
  border-top: 0;
  box-shadow: inset 0 1px var(--xp-window);
  color: var(--text);
}
html[data-switch-style="winxp"] .footer .footer-inner { box-shadow: inset 1px 1px var(--xp-face-lo), inset -1px -1px var(--xp-window); margin-top: 3px; margin-bottom: 3px; }
html[data-switch-style="winxp"] .footer b { color: var(--text); }

/* ---------------------------------------------------------------- 按钮：Luna 圆角按钮 */
html[data-switch-style="winxp"] .btn {
  --btn-bg: var(--xp-face);
  --btn-fg: var(--xp-ink);
  height: 26px;
  min-height: 0;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--xp-btn-edge);
  border-radius: 3px;
  background: var(--xp-btn);
  color: var(--xp-ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0;
  text-shadow: none;
  box-shadow: none;
  transform: none;
  transition: none;
  animation: none;
}
html[data-switch-style="winxp"] .btn-sm { height: 23px; padding: 0 10px; font-size: 12px; }
html[data-switch-style="winxp"] .btn-lg { height: 30px; padding: 0 20px; font-size: 13.5px; }
html[data-switch-style="winxp"] .btn:hover { background: var(--xp-btn); color: var(--xp-ink); box-shadow: var(--xp-hot); transform: none; filter: none; }
html[data-switch-style="winxp"] .btn:active { background: var(--xp-btn-down); box-shadow: none; transform: none; }
html[data-switch-style="winxp"] .btn:focus-visible { outline: 1px dotted var(--xp-ink); outline-offset: -4px; box-shadow: var(--xp-focus); }
html[data-switch-style="winxp"] .btn .ripple { display: none; }
html[data-switch-style="winxp"] .btn[disabled],
html[data-switch-style="winxp"] .btn:disabled { color: var(--xp-gray-ink); border-color: #c9c7ba; background: var(--xp-face-hi); box-shadow: none; }
/* 默认按钮：蓝色内光边 */
html[data-switch-style="winxp"] .btn-primary { box-shadow: var(--xp-focus); }
html[data-switch-style="winxp"] .btn-primary:hover { box-shadow: var(--xp-hot); }
html[data-switch-style="winxp"] .btn-primary:active { box-shadow: none; }
/* 次要按钮：平面的工具栏按钮，悬停时浮出 */
html[data-switch-style="winxp"] :is(.btn-ghost, .btn-tint) { background: transparent; border-color: transparent; color: var(--text); }
html[data-switch-style="winxp"] :is(.btn-ghost, .btn-tint):hover { background: linear-gradient(180deg, #fff 0%, #f6f5f0 55%, #e8e6db 100%); border-color: rgb(0 0 0 / .22); box-shadow: none; color: var(--text); }
html[data-switch-style="winxp"][data-theme="dark"] :is(.btn-ghost, .btn-tint):hover { background: linear-gradient(180deg, #4a4a4a, #333); border-color: #111; }
html[data-switch-style="winxp"] :is(.btn-ghost, .btn-tint):active { background: var(--xp-face-lo); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .25); }
html[data-switch-style="winxp"] .btn-danger { color: #b0200c; }
html[data-switch-style="winxp"][data-theme="dark"] .btn-danger { color: #ff8a7a; }
html[data-switch-style="winxp"] .btn-success { color: #127312; }
html[data-switch-style="winxp"][data-theme="dark"] .btn-success { color: #7fdc7f; }
html[data-switch-style="winxp"] .icon-btn { border-radius: 3px; transform: none; }
html[data-switch-style="winxp"] #view .icon-btn:hover { background: linear-gradient(180deg, #fff 0%, #f6f5f0 55%, #e8e6db 100%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); transform: none; }
html[data-switch-style="winxp"][data-theme="dark"] #view .icon-btn:hover { background: linear-gradient(180deg, #4a4a4a, #333); }
html[data-switch-style="winxp"] #view .icon-btn:active { background: var(--xp-face-lo); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .25); }

/* ---------------------------------------------------------------- 输入框：#7F9DB9 细边白框 */
html[data-switch-style="winxp"] :is(.input, .textarea, .select) {
  border-radius: 0;
  border: 1px solid var(--xp-edge);
  background: var(--xp-window);
  color: var(--text);
  box-shadow: none;
  font-family: var(--font);
  transition: none;
}
html[data-switch-style="winxp"] :is(.input, .textarea, .select):hover,
html[data-switch-style="winxp"] :is(.input, .textarea, .select):focus { border-color: var(--xp-edge); box-shadow: none; outline: none; background: var(--xp-window); }
html[data-switch-style="winxp"] :is(.input, .textarea)[disabled] { background: var(--xp-face-hi); color: var(--xp-gray-ink); border-color: #c9c7ba; }
/* 组合框（survey.css 对所有 select 用了 !important，这里同样要用）：右侧蓝色下拉按钮 */
html[data-switch-style="winxp"] select:not([multiple]) {
  border-radius: 0 !important;
  border: 1px solid var(--xp-edge) !important;
  padding-right: 24px !important;
  color: var(--text);
  box-shadow: none !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #e3ecff 0%, #c4d6fc 50%, #b2c8f6 100%),
    linear-gradient(var(--xp-window), var(--xp-window)) !important;
  background-repeat: no-repeat !important;
  background-position: right 5px center, right 1px top 1px, 0 0 !important;
  background-size: 8px 5px, 16px calc(100% - 2px), 100% 100% !important;
}
html[data-switch-style="winxp"][data-theme="dark"] select:not([multiple]) {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' fill='none' stroke='%23d0d8e8' stroke-width='1.8'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #555a66, #3f434d),
    linear-gradient(var(--xp-window), var(--xp-window)) !important;
}
html[data-switch-style="winxp"] select:not([multiple]):focus { outline: 1px dotted var(--text); outline-offset: -4px; }
html[data-switch-style="winxp"] select option { background: var(--xp-window); color: var(--text); }
html[data-switch-style="winxp"] .field > label,
html[data-switch-style="winxp"] .field > .field-label { color: var(--text); font-weight: 400; }
html[data-switch-style="winxp"] input[type="checkbox"]:not(.switch input),
html[data-switch-style="winxp"] input[type="radio"] { accent-color: var(--xp-check); }

/* 开关：XP 没有开关控件。画成一个细边槽 + Luna 按钮滑块；打开时槽里是 XP 进度条那样的绿色小方块 */
html[data-switch-style="winxp"] .dsh-switch,
html[data-switch-style="winxp"] .switch input {
  border-radius: 3px;
  border: 1px solid var(--xp-edge);
  background: var(--xp-window);
  box-shadow: inset 1px 1px 2px rgb(0 0 0 / .12);
}
html[data-switch-style="winxp"] .dsh-switch::after,
html[data-switch-style="winxp"] .switch input::after {
  border-radius: 3px;
  background: var(--xp-btn);
  border: 1px solid var(--xp-btn-edge);
  box-shadow: none;
}
html[data-switch-style="winxp"] .dsh-switch::after { top: 1px; left: 1px; width: 20px; height: calc(100% - 2px); box-sizing: border-box; }
html[data-switch-style="winxp"] .dsh-switch:hover::after { box-shadow: var(--xp-hot); }
html[data-switch-style="winxp"] .dsh-switch[aria-checked="true"],
html[data-switch-style="winxp"] .switch input:checked {
  border-color: var(--xp-edge);
  background: repeating-linear-gradient(90deg, var(--xp-on) 0 6px, transparent 6px 8px) 2px 3px / calc(100% - 4px) calc(100% - 6px) no-repeat, var(--xp-window);
}
/* 深色（Royale Noir）：关着的槽更暗、滑块更亮，开着的槽里是亮色进度块，一眼就能分清 */
html[data-switch-style="winxp"][data-theme="dark"] :is(.dsh-switch:not([aria-checked="true"]), .switch input:not(:checked)) { background: #111; border-color: #4a4f58; }
html[data-switch-style="winxp"][data-theme="dark"] :is(.dsh-switch, .switch input)::after { background: linear-gradient(180deg, #8a8a8a 0%, #5e5e5e 86%, #4a4a4a 100%); border-color: #000; }
html[data-switch-style="winxp"][data-theme="dark"] :is(.dsh-switch[aria-checked="true"], .switch input:checked) { border-color: color-mix(in srgb, var(--xp-on) 70%, #fff); background: repeating-linear-gradient(90deg, var(--xp-on) 0 6px, transparent 6px 8px) 2px 3px / calc(100% - 4px) calc(100% - 6px) no-repeat, #0c0c0c; }

/* 分段控件 = 选项卡（当前项白底、顶边橙色） */
html[data-switch-style="winxp"] .segmented { padding: 0; gap: 1px; border-radius: 0; border: 0; background: transparent; box-shadow: inset 0 -1px #919b9c; }
html[data-switch-style="winxp"] .segmented button {
  height: 23px;
  padding: 0 11px;
  border-radius: 3px 3px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  background: linear-gradient(180deg, var(--xp-window) 0%, #ecebe5 100%);
  border: 1px solid #919b9c;
  border-bottom: 0;
  box-shadow: none;
}
html[data-switch-style="winxp"][data-theme="dark"] .segmented button { background: linear-gradient(180deg, #3e3e3e, #2c2c2c); border-color: #5a5a5a; }
html[data-switch-style="winxp"] .segmented button:hover { box-shadow: inset 0 2px var(--xp-tab-hot); }
html[data-switch-style="winxp"] .segmented button.active { background: var(--xp-window); box-shadow: inset 0 2px var(--xp-tab-on-2), inset 0 3px var(--xp-tab-on); color: var(--text); font-weight: 700; }
html[data-switch-style="winxp"][data-theme="dark"] .segmented button.active { background: #4a4a4a; border-color: #8a8a8a; color: #fff; }
html[data-switch-style="winxp"] .segmented :is(.seg-glider, .lgx-thumb) { display: none; }
html[data-switch-style="winxp"] :is(.ui-range, .lgx-range > input[type="range"]) { accent-color: var(--xp-check); }

/* ---------------------------------------------------------------- 对话框 = 一扇 XP 窗口 */
html[data-switch-style="winxp"] .modal-back { background: rgb(0 0 0 / .25); }
html[data-switch-style="winxp"] .modal {
  border-radius: 8px 8px 0 0;
  border: 0;
  padding: 0 3px 3px;
  background: var(--xp-face);
  box-shadow: var(--xp-frame-ring), 3px 4px 10px rgba(0, 0, 0, .4);
  overflow: hidden;
}
html[data-switch-style="winxp"] .modal-head {
  min-height: 30px;
  margin: 0 -3px;
  padding: 3px 5px 3px 9px;
  align-items: center;
  background: var(--xp-title);
  border-radius: 8px 8px 0 0;
  border: 0;
  color: var(--xp-title-ink);
}
html[data-switch-style="winxp"] .modal-head h3 { font-family: var(--font-title); font-size: 13.5px; font-weight: 700; color: var(--xp-title-ink); text-shadow: var(--xp-title-shadow); }
html[data-switch-style="winxp"] .modal-head .sub { color: var(--xp-title-ink); opacity: .85; }
html[data-switch-style="winxp"] .modal-head .icon-btn {
  width: 21px;
  height: 21px;
  border-radius: 3px;
  border: 0;
  padding: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Cpath d='M5.5 5.5l10 10M15.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E") center / 21px 21px no-repeat;
  box-shadow: none;
}
html[data-switch-style="winxp"] .modal-head .icon-btn svg { display: none; }
html[data-switch-style="winxp"] .modal-head .icon-btn:hover { filter: brightness(1.12); }
html[data-switch-style="winxp"] .modal-head .icon-btn:active { filter: brightness(.85); }
html[data-switch-style="winxp"] .modal-body { background: var(--xp-face); padding: 16px 14px; border: 0; }
html[data-switch-style="winxp"] .modal-foot { background: var(--xp-face); border: 0; padding: 6px 10px 8px; }

/* ---------------------------------------------------------------- 通知 = 通知区域的气球提示 */
html[data-switch-style="winxp"] .toast {
  border-radius: 7px;
  border: 1px solid var(--xp-ink);
  background: var(--xp-info);
  color: var(--text);
  box-shadow: 2px 3px 5px rgba(0, 0, 0, .3);
  font-weight: 400;
}
html[data-switch-style="winxp"] .toast b,
html[data-switch-style="winxp"] .toast strong { font-weight: 700; }

/* ---------------------------------------------------------------- 侧栏 = 资源管理器左侧的任务窗格 */
html[data-switch-style="winxp"] .admin-directory,
html[data-switch-style="winxp"][data-workspace-layout="edge"] .workspace-page .admin-directory {
  border-radius: 4px 4px 0 0;
  border: 1px solid var(--xp-window);
  background: var(--xp-pane-body);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 1px 1px 3px rgb(0 0 0 / .1);
  overflow: hidden;
}
html[data-switch-style="winxp"] .admin-directory-head { background: var(--xp-pane-head); border-bottom: 0; }
html[data-switch-style="winxp"] .admin-directory-label { color: var(--xp-head); font-weight: 700; }
html[data-switch-style="winxp"] .admin-directory-link { border-radius: 0; color: var(--xp-link); border: 0; }
html[data-switch-style="winxp"] .admin-directory-link:hover { background: transparent; color: var(--xp-link-hot); text-decoration: underline; }
html[data-switch-style="winxp"] .admin-directory-link.active,
html[data-switch-style="winxp"] .admin-directory nav .admin-directory-link.active { background: var(--xp-sel); color: var(--xp-sel-ink); box-shadow: none; }
html[data-switch-style="winxp"] .admin-directory-link.active::before,
html[data-switch-style="winxp"] .admin-directory-glider { display: none; }
@media (min-width: 900px) {
  /* 宽屏下侧栏后面铺上任务窗格的蓝色渐变底 */
  html[data-switch-style="winxp"][data-workspace-layout="edge"] .workspace-page .admin-directory { box-shadow: 0 0 0 6px var(--xp-frame), 1px 1px 3px rgb(0 0 0 / .1); }
}

/* ---------------------------------------------------------------- 表格：列表视图的列标题 */
html[data-switch-style="winxp"] .table th { background: linear-gradient(180deg, var(--xp-window) 0%, #ebeadb 100%); box-shadow: inset 0 -3px #d6d2c2, inset -1px 0 #c7c5b2; border: 0; color: var(--text); font-weight: 400; }
html[data-switch-style="winxp"][data-theme="dark"] .table th { background: linear-gradient(180deg, #3a3a3a, #2c2c2c); box-shadow: inset 0 -3px #1e1e1e, inset -1px 0 #4a4a4a; }
html[data-switch-style="winxp"] .table th:hover { box-shadow: inset 0 -3px var(--xp-tab-hot), inset -1px 0 #c7c5b2; }
html[data-switch-style="winxp"] .table tbody tr:hover td { background: rgb(49 106 197 / .1); }

/* ---------------------------------------------------------------- 登录页：XP 选项卡 */
html[data-switch-style="winxp"] .auth-tabs { gap: 1px; padding: 0 0 0 2px; border-radius: 0; background: none; box-shadow: inset 0 -1px #919b9c; }
html[data-switch-style="winxp"] .auth-tabs a {
  margin-bottom: 0;
  padding: 3px 12px;
  border-radius: 3px 3px 0 0;
  color: var(--text);
  font-weight: 400;
  border: 1px solid #919b9c;
  border-bottom: 0;
  background: linear-gradient(180deg, var(--xp-window) 0%, #ecebe5 100%);
  box-shadow: none;
  transform: translateY(2px);
}
html[data-switch-style="winxp"][data-theme="dark"] .auth-tabs a { background: linear-gradient(180deg, #3e3e3e, #2c2c2c); border-color: #5a5a5a; }
html[data-switch-style="winxp"] .auth-tabs a:hover { box-shadow: inset 0 2px var(--xp-tab-hot); text-decoration: none; }
html[data-switch-style="winxp"] .auth-tabs a.active { transform: none; padding-bottom: 5px; background: var(--xp-window); font-weight: 700; box-shadow: inset 0 2px var(--xp-tab-on-2), inset 0 3px var(--xp-tab-on); }
html[data-switch-style="winxp"][data-theme="dark"] .auth-tabs a.active { background: #4a4a4a; border-color: #8a8a8a; color: #fff; }

/* ---------------------------------------------------------------- 滚动条：Luna 蓝色滚动条 */
html[data-switch-style="winxp"] ::-webkit-scrollbar { width: 17px; height: 17px; background: var(--xp-sb-track); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-track:vertical { background: linear-gradient(90deg, #f3f1ec 0%, #fefefb 100%); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-track:horizontal { background: linear-gradient(180deg, #f3f1ec 0%, #fefefb 100%); }
html[data-switch-style="winxp"][data-theme="dark"] ::-webkit-scrollbar-track { background: var(--xp-sb-track); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-thumb {
  border: 1px solid var(--xp-window);
  border-radius: 3px;
  min-height: 20px;
  background:
    repeating-linear-gradient(180deg, #fff 0 1px, var(--xp-sb-line) 1px 2px, transparent 2px 4px) center / 8px 7px no-repeat,
    linear-gradient(90deg, var(--xp-sb-thumb) 0%, var(--xp-sb-thumb-2) 100%);
  box-shadow: inset 0 0 0 1px var(--xp-sb-line);
}
html[data-switch-style="winxp"] ::-webkit-scrollbar-thumb:horizontal {
  min-width: 20px;
  background:
    repeating-linear-gradient(90deg, #fff 0 1px, var(--xp-sb-line) 1px 2px, transparent 2px 4px) center / 7px 8px no-repeat,
    linear-gradient(180deg, var(--xp-sb-thumb) 0%, var(--xp-sb-thumb-2) 100%);
}
html[data-switch-style="winxp"] ::-webkit-scrollbar-thumb:hover { filter: brightness(1.05); box-shadow: inset 0 0 0 1px var(--xp-link-hot); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button {
  display: block;
  width: 17px;
  height: 17px;
  border: 1px solid var(--xp-window);
  border-radius: 3px;
  background-color: var(--xp-sb-thumb);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 1px var(--xp-sb-line);
}
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:hover { box-shadow: inset 0 0 0 1px var(--xp-link-hot); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:active { background-color: var(--xp-sb-thumb-2); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M.8 5.2L4.5 1.5l3.7 3.7' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M.8.8l3.7 3.7L8.2.8' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:horizontal:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='9' viewBox='0 0 6 9'%3E%3Cpath d='M5.2.8L1.5 4.5l3.7 3.7' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-button:single-button:horizontal:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='9' viewBox='0 0 6 9'%3E%3Cpath d='M.8.8l3.7 3.7L.8 8.2' fill='none' stroke='%234d6185' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="winxp"] ::-webkit-scrollbar-corner { background: var(--xp-face); }
html[data-switch-style="winxp"] :is(.segmented, .section-nav)::-webkit-scrollbar { display: none; }
@supports not selector(::-webkit-scrollbar) {
  html[data-switch-style="winxp"] { scrollbar-color: var(--xp-sb-thumb-2) var(--xp-sb-track); }
}

/* ---------------------------------------------------------------- 手机底栏 = XP 任务栏 */
@media (max-width: 720px) {
  html[data-switch-style="winxp"] .tabbar {
    background: var(--xp-taskbar) !important;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
  html[data-switch-style="winxp"] .tabbar a {
    border-radius: 3px;
    color: #fff;
    text-shadow: 1px 1px rgb(0 0 0 / .4);
    background: var(--xp-taskbtn);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25), inset 1px 1px rgb(255 255 255 / .35);
    margin: 4px 1px;
  }
  html[data-switch-style="winxp"] .tabbar a.active { background: var(--xp-taskbtn-on); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .5); font-weight: 700; color: #fff; }
  html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .tabbar a { color: #000; text-shadow: none; }
}

/* ==========================================================================
   右下角浮钮：特别空间 = 绿色「开始」按钮那样的光泽圆角钮；二合一 = 一段任务栏（快速启动）；回到顶部 = 蓝色任务栏按钮
   ========================================================================== */
html[data-switch-style="winxp"] :is(.admin-ai, .to-top) {
  width: 42px;
  height: 36px;
  border: 0;
  color: #fff;
  transform: none;
}
html[data-switch-style="winxp"] .admin-ai {
  border-radius: 6px 16px 16px 6px;
  background: radial-gradient(ellipse 70% 45% at 40% 18%, rgb(255 255 255 / .55), rgb(255 255 255 / 0) 70%), var(--xp-start);
  box-shadow: inset 0 0 0 1px rgb(0 60 0 / .55), inset 2px 2px 2px rgb(255 255 255 / .35), 2px 2px 4px rgba(0, 0, 0, .4);
}
html[data-switch-style="winxp"] .to-top {
  border-radius: 4px;
  background: radial-gradient(ellipse 70% 45% at 40% 18%, rgb(255 255 255 / .4), rgb(255 255 255 / 0) 70%), var(--xp-taskbtn);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .3), inset 1px 1px rgb(255 255 255 / .4), 2px 2px 4px rgba(0, 0, 0, .35);
}
html[data-switch-style="winxp"] :is(.admin-ai, .to-top):hover { color: #fff; transform: none; filter: brightness(1.1) saturate(1.1); }
html[data-switch-style="winxp"] :is(.admin-ai, .to-top):active { filter: brightness(.9); }
html[data-switch-style="winxp"] :is(.admin-ai, .to-top) svg { width: 19px; height: 19px; filter: drop-shadow(1px 1px 0 rgb(0 0 0 / .45)); }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .to-top { color: #000; }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .to-top svg { filter: none; }
html[data-switch-style="winxp"] .admin-ai-split {
  height: 36px;
  padding: 0 4px 0 13px;
  gap: 1px;
  border: 0;
  border-radius: 4px;
  background: var(--xp-taskbar);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .3), 2px 2px 5px rgba(0, 0, 0, .35);
}
/* 快速启动左边的拖动柄 */
html[data-switch-style="winxp"] .admin-ai-split::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / .75) 0 1px, transparent 1.2px) 1px 1px / 3px 4px repeat-y,
              radial-gradient(circle at 1px 1px, rgb(0 0 0 / .45) 0 1px, transparent 1.2px) 0 0 / 3px 4px repeat-y;
}
html[data-switch-style="winxp"] .admin-ai-split a { width: 32px; height: 28px; border-radius: 3px; color: #fff; background: transparent; }
html[data-switch-style="winxp"] .admin-ai-split a svg { filter: drop-shadow(1px 1px 0 rgb(0 0 0 / .45)); }
html[data-switch-style="winxp"] .admin-ai-split a:hover,
html[data-switch-style="winxp"] .admin-ai-split a:focus-visible { background: rgb(255 255 255 / .2); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); outline: none; }
html[data-switch-style="winxp"] .admin-ai-split a:active { background: rgb(0 0 0 / .2); box-shadow: inset 1px 1px 2px rgb(0 0 0 / .5); }
html[data-switch-style="winxp"] .admin-ai-split .aa-special { color: #ffe680; }
html[data-switch-style="winxp"] .admin-ai-split .aa-sep { width: 2px; height: 22px; opacity: 1; background: none; box-shadow: inset 1px 0 rgb(0 0 0 / .35), inset -1px 0 rgb(255 255 255 / .35); margin: 0 3px; }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .admin-ai-split a { color: #2c2c4a; }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .admin-ai-split a svg { filter: none; }
html[data-switch-style="winxp"][data-xp-color="silver"]:not([data-theme="dark"]) .admin-ai-split .aa-special { color: #8a5a00; }
html[data-switch-style="winxp"] :is(.admin-ai-tooltip, .admin-ai-split .aa-tip) {
  border-radius: 0;
  border: 1px solid var(--xp-ink);
  background: var(--xp-info);
  color: var(--text);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .3);
  font-size: 11.5px;
  font-weight: 400;
  padding: 2px 5px;
  text-shadow: none;
}

/* ==========================================================================
   服务器日志（内嵌窗口式）= 一扇 XP 窗口（像「命令提示符」）
   ========================================================================== */
html[data-switch-style="winxp"] .log-drawer {
  border-radius: 8px 8px 0 0;
  border: 0;
  padding: 0 3px 3px;
  background: var(--xp-face);
  box-shadow: var(--xp-frame-ring), 3px 4px 10px rgba(0, 0, 0, .4);
  overflow: hidden;
}
html[data-switch-style="winxp"] .log-drawer-head {
  min-height: 30px;
  margin: 0 -3px;
  padding: 3px 5px 3px 8px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: var(--xp-title);
  color: var(--xp-title-ink);
}
html[data-switch-style="winxp"] .log-drawer-title { font-family: var(--font-title); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-shadow: var(--xp-title-shadow); }
html[data-switch-style="winxp"] .log-drawer-title::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='1.5' width='13' height='13' rx='1' fill='%23000' stroke='%23c0c0c0'/%3E%3Crect x='1.5' y='1.5' width='13' height='3' fill='%233a6ee0'/%3E%3Cpath d='M3.5 7.5l2 1.5-2 1.5M7 11h4' fill='none' stroke='%23c0c0c0'/%3E%3C/svg%3E") center / 16px no-repeat; }
html[data-switch-style="winxp"] .log-drawer-actions { gap: 6px; }
html[data-switch-style="winxp"] .log-drawer-link {
  height: 19px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 3px;
  color: var(--xp-title-ink);
  font-size: 11.5px;
  text-shadow: var(--xp-title-shadow);
  background: rgb(255 255 255 / .16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55);
  text-decoration: none;
}
html[data-switch-style="winxp"] .log-drawer-link:hover { text-decoration: none; color: var(--xp-title-ink); background: rgb(255 255 255 / .3); }
html[data-switch-style="winxp"] .log-drawer-link:active { background: rgb(0 0 0 / .2); }
html[data-switch-style="winxp"] .log-drawer-close {
  width: 21px;
  height: 21px;
  border-radius: 3px;
  font-size: 0;
  color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Cpath d='M5.5 5.5l10 10M15.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E") center / 21px 21px no-repeat;
  box-shadow: none;
}
html[data-switch-style="winxp"] .log-drawer-close:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3a284'/%3E%3Cstop offset='.5' stop-color='%23e2552f'/%3E%3Cstop offset='1' stop-color='%23c23a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='.5' y='.5' width='20' height='20' rx='3' fill='url(%23c)' stroke='%23fff'/%3E%3Cpath d='M5.5 5.5l10 10M15.5 5.5l-10 10' stroke='%23fff' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E") center / 21px 21px no-repeat; filter: brightness(1.12); }
html[data-switch-style="winxp"] .log-drawer-close:active { filter: brightness(.85); }
html[data-switch-style="winxp"] .log-drawer-body { background: var(--xp-face); padding: 6px 5px 5px; }
html[data-switch-style="winxp"] .log-drawer-body .server-log-bar select { height: 24px; min-height: 0; padding-top: 0; padding-bottom: 0; font-size: 12px; }
html[data-switch-style="winxp"] .server-log-view { border: 1px solid var(--xp-edge); border-radius: 0; background: var(--xp-window); box-shadow: none; }

/* ---------------------------------------------------------------- 设置页里的墙纸 / 配色选择 */
html[data-switch-style="winxp"] .aero-wall-opt { border-radius: 0; border: 1px solid transparent; color: var(--text); background: transparent; }
html[data-switch-style="winxp"] .aero-wall-opt:hover { background: transparent; border-color: transparent; text-decoration: underline; }
html[data-switch-style="winxp"] .aero-wall-opt[aria-checked="true"] { background: var(--xp-sel); border-color: var(--xp-sel); color: var(--xp-sel-ink); }
html[data-switch-style="winxp"] .aero-wall-opt img,
html[data-switch-style="winxp"] .w2k-none-thumb { border: 1px solid #919b9c; box-shadow: none; }
html[data-switch-style="winxp"] .aero-picker-group { color: var(--xp-head); border-bottom-color: var(--line); }
html[data-switch-style="winxp"] .desk-switch-row { border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(180deg, var(--xp-window) 0%, var(--xp-face-hi) 100%); box-shadow: none; }
html[data-switch-style="winxp"] .desk-tint-opt { border: 1px solid var(--xp-btn-edge); border-radius: 3px; }
html[data-switch-style="winxp"] .desk-tint-opt.is-theme { background: var(--xp-btn); color: var(--xp-ink); }
html[data-switch-style="winxp"] .desk-tint-opt:hover { box-shadow: var(--xp-hot); }
html[data-switch-style="winxp"] .desk-tint-opt[aria-checked="true"] { outline: 2px solid var(--xp-sel); outline-offset: 2px; }
html[data-switch-style="winxp"] .desk-tint-custom input[type="color"] { border: 1px solid var(--xp-edge); border-radius: 0; background: var(--xp-window); }
.xp-none-thumb { background: #004e98; }
.xp-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.xp-color-opt {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 132px;
  padding: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
/* 预览：一小段这个配色的标题栏 */
.xp-color-opt i {
  display: block;
  width: 100%;
  height: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--swatch) 45%, #fff) 0%, var(--swatch) 18%, var(--swatch) 80%, color-mix(in srgb, var(--swatch) 75%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25);
}
.xp-color-opt:hover span { text-decoration: underline; }
.xp-color-opt[aria-checked="true"] { border-color: var(--xp-sel, #316ac5); background: var(--xp-sel, #316ac5); color: var(--xp-sel-ink, #fff); }
.xp-color-opt:focus-visible { outline: 1px dotted var(--text); outline-offset: 1px; }

/* 页面里其余自带大圆角的按钮 / 输入框（排行榜切换、筛选胶囊等）收成 XP 的小圆角 */
html[data-switch-style="winxp"] #view :is(button, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea):not(.dsh-switch):not(.segmented button) { border-radius: 3px; }
html[data-switch-style="winxp"] #view :is(.input, .textarea, select) { border-radius: 0; }
html[data-switch-style="winxp"] .experimental-preview { border-radius: 4px; }


/* ---------------------------------------------------------------- Windows XP 可点击标题栏按钮 + 最小化 */
html[data-switch-style="winxp"] header.nav .win-nav-caps {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  order: 99;
  flex: none;
  width: 67px;
  height: 21px;
  margin-left: 4px;
  background: var(--xp-caps) no-repeat;
}
html[data-switch-style="winxp"] header.nav .win-nav-caps .win-cap {
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
html[data-switch-style="winxp"] header.nav .win-nav-caps .win-cap:hover {
  background: rgb(255 255 255 / .22);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55);
}
html[data-switch-style="winxp"] header.nav .win-nav-caps .win-cap:active {
  background: rgb(0 0 0 / .2);
}

html[data-switch-style="winxp"] #app {
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), opacity .24s ease;
  transform-origin: left bottom;
}
html[data-switch-style="winxp"].win-minimized #app {
  transform: translate3d(-24vw, 42vh, 0) scale(0.12);
  opacity: 0;
  pointer-events: none;
}
html[data-switch-style="winxp"] .win-min-dock {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  max-width: min(290px, calc(100vw - 28px));
  padding: 0 14px 0 10px;
  border-radius: 4px;
  border: 1px solid rgb(0 0 0 / .35);
  background: var(--xp-taskbtn, linear-gradient(180deg, #5ea0ff 0%, #3c81f3 14%, #2c6be0 100%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 4px 12px rgb(0 0 0 / .38);
  color: #fff;
  text-shadow: 0 1px 1px rgb(0 0 0 / .45);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
html[data-switch-style="winxp"] .win-min-dock:hover { filter: brightness(1.1); }
