/* ==========================================================================
   Windows 2000 · 全站主题（设置 → 实验性 → 主题样式 = Windows 2000）
   只在 html[data-switch-style="win2k"] 时生效，纯 CSS（工具栏 / 地址栏的结构由 js/core/aero-chrome.js 插入）。

   思路：整个网站是 Windows 2000 桌面上的一扇 IE5 窗口。
     · 桌面 = .aurora：默认是 2000 的纯色桌面 #3A6EA5，可换原版墙纸（小图案平铺、照片铺满）；
       也可以在设置里关掉「使用 Windows 壁纸」，改用网站原本的背景。
     · 窗口：#D4D0C8 的灰色立体边框；顶栏 = 深蓝渐变标题栏（#0A246A → #A6CAF0），白色粗体标题，
       右上角最小化 / 最大化 / 关闭三个立体小按钮；下面是 IE5 的标准按钮工具栏和「地址(D)」栏，
       首页的分区导航变成「链接」栏。
     · 宽屏（≥1260px）是「还原」的 1200px 窗口，露出桌面；窄屏或打开「窗口全屏」时最大化。
     · 控件照经典界面画：凸起的按钮（按下变凹）、凹进去的白色输入框、组合框、深蓝选中块、
       浅黄色工具提示、带箭头按钮和网点轨道的滚动条。
   深色外观：Windows 2000 没有深色模式，这里给的是同一套立体结构的深灰配色。
   ========================================================================== */

/* ---------------------------------------------------------------- 设计变量 */
html[data-switch-style="win2k"] {
  --w2k-face: #d4d0c8;          /* 三维对象（按钮表面） */
  --w2k-hi: #ffffff;            /* 高光 */
  --w2k-light: #d4d0c8;         /* 三维亮边 */
  --w2k-shadow: #808080;        /* 阴影 */
  --w2k-dark: #404040;          /* 三维暗边 */
  --w2k-window: #ffffff;        /* 窗口（白色区域） */
  --w2k-ink: #000000;
  --w2k-gray-ink: #808080;
  --w2k-sel: #0a246a;           /* 选定项目 */
  --w2k-sel-ink: #ffffff;
  --w2k-title: linear-gradient(90deg, #0a246a 0%, #a6caf0 100%);
  --w2k-title-ink: #ffffff;
  --w2k-info: #ffffe1;          /* 工具提示 */
  --w2k-desk: #3a6ea5;          /* 桌面 */
  --w2k-dither: repeating-conic-gradient(var(--w2k-hi) 0 25%, var(--w2k-face) 0 50%) 0 0 / 2px 2px;
  /* 立体边框（两圈）：凸起 = 按钮 / 窗口；凹下 = 输入框 / 内容区；蚀刻 = 分组框 */
  --w2k-raised: inset -1px -1px var(--w2k-dark), inset 1px 1px var(--w2k-hi), inset -2px -2px var(--w2k-shadow), inset 2px 2px var(--w2k-light);
  --w2k-window-frame: inset -1px -1px var(--w2k-dark), inset 1px 1px var(--w2k-light), inset -2px -2px var(--w2k-shadow), inset 2px 2px var(--w2k-hi);
  --w2k-sunken: inset 1px 1px var(--w2k-shadow), inset -1px -1px var(--w2k-hi), inset 2px 2px var(--w2k-dark), inset -2px -2px var(--w2k-light);
  --w2k-pressed: inset 1px 1px var(--w2k-dark), inset -1px -1px var(--w2k-hi), inset 2px 2px var(--w2k-shadow), inset -2px -2px var(--w2k-light);
  --w2k-thin-up: inset -1px -1px var(--w2k-shadow), inset 1px 1px var(--w2k-hi);
  --w2k-thin-down: inset 1px 1px var(--w2k-shadow), inset -1px -1px var(--w2k-hi);
  --w2k-etched: inset 1px 1px var(--w2k-shadow), inset -1px -1px var(--w2k-hi), 1px 1px 0 var(--w2k-hi);
  --w2k-win: 100vw;
  --w2k-frame: 0px;
  --w2k-on: #0a246a;            /* 打开 / 选中的颜色（强调色）：主题原版 = 选定项目的深蓝 */
  --nav-h: 38px;

  /* 站点令牌 */
  --bg: var(--w2k-face);
  --bg-deep: #c8c4bc;
  --surface: var(--w2k-face);
  --surface-solid: var(--w2k-face);
  --surface-2: #e4e1db;
  --surface-hover: #e4e1db;
  --surface-elevated: var(--w2k-face);
  --text: #000000;
  --text-2: #303030;
  --text-3: #505050;
  --line: var(--w2k-shadow);
  --line-strong: var(--w2k-dark);
  --accent: #0a246a;
  --accent-2: #3a6ea5;
  --accent-soft: rgba(10, 36, 106, .1);
  --accent-line: rgba(10, 36, 106, .45);
  --accent-glow: none;
  --glow: none;
  --green: #008000;
  --red: #c00000;
  --shadow-1: none;
  --shadow-2: none;
  --shadow-3: 2px 2px 0 rgba(0, 0, 0, .35);
  --glass-blur: none;
  --r-xl: 0px;
  --r-lg: 0px;
  --r-md: 0px;
  --r-sm: 0px;
  --font: Tahoma, "Microsoft Sans Serif", "SimSun", "宋体", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --font-mono: "Courier New", "Lucida Console", Consolas, ui-monospace, monospace;
  --apple-nav-ink: #fff;
  --apple-nav-ink-strong: #fff;
  --apple-panel-bg: var(--w2k-face);
  --apple-panel-line: var(--w2k-dark);
  --apple-panel-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
  --apple-hover: var(--w2k-sel);
  color-scheme: light;
}
html[data-switch-style="win2k"][data-theme="dark"] {
  --w2k-face: #3c3c3c;
  --w2k-hi: #6e6e6e;
  --w2k-light: #4a4a4a;
  --w2k-shadow: #232323;
  --w2k-dark: #000000;
  --w2k-window: #1e1e1e;
  --w2k-ink: #f0f0f0;
  --w2k-gray-ink: #9a9a9a;
  --w2k-info: #3d3a22;
  --w2k-sel: #2c5bb0;           /* 深色下的选定项目亮一些，否则深蓝贴在深灰上看不清 */
  --w2k-on: #3d7fe0;
  --bg-deep: #2e2e2e;
  --surface-2: #333333;
  --surface-hover: #464646;
  --text: #f0f0f0;
  --text-2: #d2d2d2;
  --text-3: #ababab;
  --accent: #8fb0ff;
  --accent-2: #6f9fe0;
  --accent-soft: rgba(143, 176, 255, .14);
  --green: #6fd46f;
  --red: #ff7a7a;
  color-scheme: dark;
}
/* 设置里选了强调色：开关、复选框、滑块、选中的分段按钮 / 选项卡都用它 */
html[data-switch-style="win2k"][data-desk-tint]:not([data-desk-tint="theme"]) { --w2k-on: var(--desk-tint); }
@media (min-width: 1260px) {
  html[data-switch-style="win2k"]:not([data-desk-width="full"]) { --w2k-win: 1200px; --w2k-frame: 4px; }
}

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

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

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

/* ---------------------------------------------------------------- 窗口 */
html[data-switch-style="win2k"] #app {
  width: 100%;
  max-width: var(--w2k-win);
  margin-inline: auto;
  background: var(--w2k-face);
}
@media (min-width: 1260px) {
  html[data-switch-style="win2k"]:not([data-desk-width="full"]) #app {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 4px;
    box-shadow: var(--w2k-window-frame), 2px 2px 0 rgba(0, 0, 0, .25);
  }
}

/* ---------------------------------------------------------------- 标题栏（顶栏） */
html[data-switch-style="win2k"] header.nav,
html[data-switch-style="win2k"][data-theme="dark"] header.nav {
  height: var(--nav-h);
  background: var(--w2k-face);
  border: 0;
  box-shadow: none;
  padding: 0;
}
html[data-switch-style="win2k"] header.nav::before,
html[data-switch-style="win2k"][data-theme="dark"] header.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 1px;
  z-index: 0;
  background: var(--w2k-title);
  border: 0;
  box-shadow: none;
  clip-path: none;
  pointer-events: none;
}
html[data-switch-style="win2k"] header.nav.is-scrolled { box-shadow: none; }
html[data-switch-style="win2k"] header.nav::after { content: none; }
html[data-switch-style="win2k"] header.nav .nav-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0 4px 1px 6px;
  gap: 8px;
}
/* 最小化 / 最大化 / 关闭（装饰） */
html[data-switch-style="win2k"] header.nav .nav-inner::after { display: none !important; }
html[data-switch-style="win2k"] header.nav .nav-inner::after_unused {
  content: "";
  order: 99;
  flex: none;
  width: 52px;
  height: 14px;
  margin-left: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='14' shape-rendering='crispEdges'%3E%3Cg id='b'%3E%3Crect width='16' height='14' fill='%23d4d0c8'/%3E%3Crect width='15' height='1' fill='%23fff'/%3E%3Crect width='1' height='13' fill='%23fff'/%3E%3Crect y='13' width='16' height='1' fill='%23404040'/%3E%3Crect x='15' width='1' height='14' fill='%23404040'/%3E%3Crect x='1' y='12' width='14' height='1' fill='%23808080'/%3E%3Crect x='14' y='1' width='1' height='12' fill='%23808080'/%3E%3C/g%3E%3Cuse href='%23b' x='16'/%3E%3Cuse href='%23b' x='36'/%3E%3Crect x='4' y='9' width='6' height='2' fill='%23000'/%3E%3Crect x='19' y='2' width='9' height='2' fill='%23000'/%3E%3Crect x='19' y='2' width='1' height='9' fill='%23000'/%3E%3Crect x='27' y='2' width='1' height='9' fill='%23000'/%3E%3Crect x='19' y='10' width='9' height='1' fill='%23000'/%3E%3Cpath d='M40.5 3.5l6 6M46.5 3.5l-6 6' stroke='%23000' stroke-width='1.5' shape-rendering='geometricPrecision'/%3E%3C/svg%3E") no-repeat;
}
html[data-switch-style="win2k"] header.nav :is(.brand, .brand .name, .review-qq, .nav-link, .icon-btn, .nav-status) {
  color: var(--w2k-title-ink);
  text-shadow: none;
}
html[data-switch-style="win2k"] header.nav .brand { gap: 6px; }
html[data-switch-style="win2k"] header.nav .brand .logo { width: 18px; height: 18px; border-radius: 0; background: none; box-shadow: none; }
html[data-switch-style="win2k"] header.nav .brand .logo img { width: 16px; height: 16px; }
html[data-switch-style="win2k"] header.nav .brand .name { font-size: 13px; font-weight: 700; letter-spacing: 0; }
html[data-switch-style="win2k"] header.nav .brand .ver { color: #fff; border: 0; border-radius: 0; padding: 0; font-size: 11px; opacity: .85; }
/* 标题栏上的导航：IE5 酷栏式的平面按钮（悬停凸起、当前页凹下） */
html[data-switch-style="win2k"] header.nav .nav-links { gap: 1px; margin-left: 10px; }
html[data-switch-style="win2k"] header.nav .nav-links .nav-link {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 400;
  background: transparent;
  box-shadow: none;
  transition: none;
}
html[data-switch-style="win2k"] header.nav .nav-links .nav-link:hover,
html[data-switch-style="win2k"] header.nav .nav-group:hover > .nav-link {
  background: rgb(255 255 255 / .12);
  box-shadow: inset 1px 1px rgb(255 255 255 / .85), inset -1px -1px rgb(0 0 0 / .55);
}
html[data-switch-style="win2k"] header.nav .nav-links .nav-link.active {
  font-weight: 700;
  background: rgb(0 0 0 / .18);
  box-shadow: inset 1px 1px rgb(0 0 0 / .55), inset -1px -1px rgb(255 255 255 / .7);
}
html[data-switch-style="win2k"] header.nav .nav-link::after,
html[data-switch-style="win2k"] header.nav .nav-links .nav-link.active::after { display: none; }
html[data-switch-style="win2k"] header.nav .review-qq { font-size: 11.5px; opacity: .92; }
html[data-switch-style="win2k"] header.nav .icon-btn {
  width: 26px;
  height: 24px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
html[data-switch-style="win2k"] header.nav .icon-btn svg { width: 15px; height: 15px; }
html[data-switch-style="win2k"] header.nav .icon-btn:hover { background: rgb(255 255 255 / .12); box-shadow: inset 1px 1px rgb(255 255 255 / .85), inset -1px -1px rgb(0 0 0 / .55); transform: none; }
html[data-switch-style="win2k"] header.nav .icon-btn:active { box-shadow: inset 1px 1px rgb(0 0 0 / .55), inset -1px -1px rgb(255 255 255 / .7); }
html[data-switch-style="win2k"] header.nav .nav-actions { gap: 4px; }
html[data-switch-style="win2k"] header.nav .nav-actions > .btn { height: 22px; padding: 0 10px; font-size: 12px; }
html[data-switch-style="win2k"] .scroll-progress { display: none; }
html[data-switch-style="win2k"] header.nav .nav-actions > .btn,
html[data-switch-style="win2k"] header.nav .nav-actions > .btn:hover {
  border-radius: 0;
  border: 0;
  background: var(--w2k-face);
  color: #000;
  box-shadow: inset -1px -1px #404040, inset 1px 1px #fff, inset -2px -2px #808080;
}
html[data-switch-style="win2k"] header.nav .nav-actions > .btn:active { box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080; }
html[data-switch-style="win2k"] header.nav .nav-actions > .btn-ghost,
html[data-switch-style="win2k"] header.nav .nav-actions > .btn-ghost:hover { background: transparent; color: #fff; box-shadow: none; }
html[data-switch-style="win2k"] header.nav .nav-actions > .btn-ghost:hover { box-shadow: inset 1px 1px rgb(255 255 255 / .85), inset -1px -1px rgb(0 0 0 / .55); }
html[data-switch-style="win2k"] .notify-badge { border-radius: 0; background: #c00000; color: #fff; box-shadow: 1px 1px 0 #000; }

/* 下拉菜单：经典菜单（凸起边框，选中项深蓝底白字） */
html[data-switch-style="win2k"] header.nav :is(.nav-menu, .user-menu, .notify-panel),
html[data-switch-style="win2k"][data-theme="dark"] header.nav :is(.nav-menu, .user-menu, .notify-panel),
html[data-switch-style="win2k"] :is(.msg-menu, .fm-menu) {
  background: var(--w2k-face);
  border: 0;
  border-radius: 0;
  padding: 3px;
  box-shadow: var(--w2k-raised), 2px 2px 0 rgba(0, 0, 0, .3);
  color: var(--text);
}
html[data-switch-style="win2k"] header.nav .nav-menu { top: calc(100% + 1px); }
html[data-switch-style="win2k"] header.nav .nav-menu a,
html[data-switch-style="win2k"] header.nav .user-menu .nav-link {
  border: 0;
  border-radius: 0;
  color: var(--text);
  box-shadow: none;
}
html[data-switch-style="win2k"] header.nav .nav-menu a :is(.mt, .md) { color: inherit; }
html[data-switch-style="win2k"] header.nav .nav-menu a:hover,
html[data-switch-style="win2k"] header.nav .user-menu .nav-link:hover,
html[data-switch-style="win2k"] :is(.msg-menu, .fm-menu) :is(button, a):hover {
  background: var(--w2k-sel);
  color: var(--w2k-sel-ink) !important;
  text-decoration: none;
}
html[data-switch-style="win2k"] header.nav .nav-menu a .mi { filter: grayscale(1) contrast(1.3); opacity: .9; }
html[data-switch-style="win2k"] header.nav .nav-menu a:hover .mi { filter: grayscale(1) invert(1); }
html[data-switch-style="win2k"] header.nav .nav-drawer {
  background: var(--w2k-face);
  border: 0;
  box-shadow: var(--w2k-raised), 2px 2px 0 rgba(0, 0, 0, .3);
}
html[data-switch-style="win2k"] header.nav .nav-drawer a { border-radius: 0; color: var(--text); }
html[data-switch-style="win2k"] header.nav .nav-drawer a:is(:hover, .active) { background: var(--w2k-sel); color: #fff; }

/* ---------------------------------------------------------------- IE5 工具栏 + 地址栏（aero-chrome.js） */
html[data-switch-style="win2k"] .aero-chrome {
  display: block;
  position: relative;
  z-index: 2;
  background: var(--w2k-face);
  padding: 2px 2px 3px;
  box-shadow: inset 0 1px var(--w2k-hi), inset 0 -1px var(--w2k-shadow);
}
html[data-switch-style="win2k"] .aero-chrome :is(.aero-tb, .aero-addr) { display: none; }
.w2k-tools, .w2k-addr { display: none; }
html[data-switch-style="win2k"] .w2k-tools,
html[data-switch-style="win2k"] .w2k-addr {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px 4px 2px 12px;
  position: relative;
  box-shadow: var(--w2k-etched);
}
html[data-switch-style="win2k"] .w2k-addr { margin-top: 2px; gap: 6px; }
/* 酷栏左侧的拖动柄（两道凸起的竖线） */
html[data-switch-style="win2k"] :is(.w2k-tools, .w2k-addr, .section-nav.home-section-nav)::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: 6px;
  background:
    linear-gradient(90deg, var(--w2k-hi) 0 1px, var(--w2k-face) 1px 2px, var(--w2k-shadow) 2px 3px, transparent 3px) 0 0 / 3px 100% no-repeat,
    linear-gradient(90deg, var(--w2k-hi) 0 1px, var(--w2k-face) 1px 2px, var(--w2k-shadow) 2px 3px, transparent 3px) 3px 0 / 3px 100% no-repeat;
}
html[data-switch-style="win2k"] .w2k-tool {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
html[data-switch-style="win2k"] .w2k-tool:hover { box-shadow: var(--w2k-thin-up); text-decoration: none; }
html[data-switch-style="win2k"] .w2k-tool:active { box-shadow: var(--w2k-thin-down); padding: 1px 5px 0 5px; }
html[data-switch-style="win2k"] .w2k-tool:focus-visible,
html[data-switch-style="win2k"] .w2k-go:focus-visible { outline: 1px dotted var(--text); outline-offset: -3px; }
html[data-switch-style="win2k"] .w2k-vsep { width: 2px; height: 22px; margin: 0 4px; box-shadow: inset 1px 0 var(--w2k-shadow), inset -1px 0 var(--w2k-hi); }
.w2k-g { width: 20px; height: 20px; flex: none; background: center / 20px 20px no-repeat; filter: grayscale(.35); }
html[data-switch-style="win2k"] :is(.w2k-tool, .w2k-go):hover .w2k-g { filter: none; }
.w2k-g.back { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M9 3L2 10l7 7v-4h8V7H9z' fill='%2340a040' stroke='%23104010' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath d='M8 5.5L4 10' stroke='%23c8f0c0' stroke-width='1.2'/%3E%3C/svg%3E"); }
.w2k-g.fwd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M11 3l7 7-7 7v-4H3V7h8z' fill='%2340a040' stroke='%23104010' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath d='M12 5.5L16 10' stroke='%23c8f0c0' stroke-width='1.2'/%3E%3C/svg%3E"); }
.w2k-g.refresh { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='3' y='2' width='13' height='16' fill='%23fff' stroke='%23404040'/%3E%3Cpath d='M13.5 8.5a4 4 0 1 0-1 4' fill='none' stroke='%23208020' stroke-width='1.8'/%3E%3Cpath d='M14.6 5.2v4h-4z' fill='%23208020'/%3E%3C/svg%3E"); }
.w2k-g.home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 10l8-7 8 7' fill='none' stroke='%23802010' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M4.5 9v8h11V9' fill='%23f0e0a0' stroke='%23404040'/%3E%3Crect x='8.5' y='12' width='3' height='5' fill='%23804020'/%3E%3C/svg%3E"); }
.w2k-g.search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8' cy='8' r='5' fill='%23c8e0ff' stroke='%23202060' stroke-width='1.6'/%3E%3Cpath d='M11.5 11.5l5.5 5.5' stroke='%23604020' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.w2k-g.fav { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2l2.4 5 5.4.6-4 3.7 1.1 5.4L10 14l-4.9 2.7 1.1-5.4-4-3.7 5.4-.6z' fill='%23ffd820' stroke='%23806000' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.w2k-g.go { width: 16px; height: 16px; background-size: 16px 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='.5' y='.5' width='15' height='15' fill='%2340a040' stroke='%23104010'/%3E%3Cpath d='M4 8h7M8 4.5L11.5 8 8 11.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E"); }
html[data-switch-style="win2k"] .w2k-addr-label { font-size: 12px; color: var(--text); white-space: nowrap; flex: none; }
html[data-switch-style="win2k"] .w2k-field {
  flex: 1;
  min-width: 0;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  background: var(--w2k-window);
  box-shadow: var(--w2k-sunken);
}
html[data-switch-style="win2k"] .w2k-field img { width: 16px; height: 16px; flex: none; }
html[data-switch-style="win2k"] .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="win2k"] .w2k-field input::selection { background: var(--w2k-sel); color: #fff; }
html[data-switch-style="win2k"] .w2k-go {
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 12px var(--font);
  cursor: pointer;
  flex: none;
}
html[data-switch-style="win2k"] .w2k-go:hover { box-shadow: var(--w2k-thin-up); }
html[data-switch-style="win2k"] .w2k-go:active { box-shadow: var(--w2k-thin-down); }
@media (max-width: 720px) {
  html[data-switch-style="win2k"] .w2k-tool span { display: none; }
  html[data-switch-style="win2k"] .w2k-tool[href="/bookmarks"] { display: none; }
  html[data-switch-style="win2k"] .w2k-addr-label { display: none; }
}

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

/* 首页分区导航 =「链接」栏 */
html[data-switch-style="win2k"] .section-nav.home-section-nav,
html[data-switch-style="win2k"][data-theme="dark"] .section-nav.home-section-nav {
  width: calc(var(--w2k-win) - var(--w2k-frame) * 2);
  max-width: 100vw;
  margin-left: calc(50% - (var(--w2k-win) - var(--w2k-frame) * 2) / 2);
  padding: 0 14px 0 52px;
  height: 28px;
  gap: 1px;
  align-items: center;
  background: var(--w2k-face);
  border: 0;
  border-radius: 0;
  box-shadow: var(--w2k-etched);
  position: sticky;
}
@media (max-width: 1259.98px) {
  html[data-switch-style="win2k"] .section-nav.home-section-nav,
  html[data-switch-style="win2k"][data-theme="dark"] .section-nav.home-section-nav { width: 100vw; margin-left: calc(50% - 50vw); }
}
html[data-switch-style="win2k"] .section-nav.home-section-nav::after {
  content: "链接";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text);
  pointer-events: none;
}
html[data-switch-style="win2k"] .section-nav.home-section-nav a {
  height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  font-size: 12px;
  box-shadow: none;
  background: none;
}
html[data-switch-style="win2k"] .section-nav.home-section-nav a:hover { box-shadow: var(--w2k-thin-up); background: none; color: var(--text); }
html[data-switch-style="win2k"] .section-nav.home-section-nav a.active,
html[data-switch-style="win2k"][data-theme="dark"] .section-nav.home-section-nav a.active {
  box-shadow: var(--w2k-thin-down);
  background: var(--w2k-dither);
  color: var(--text);
  font-weight: 400;
}
html[data-switch-style="win2k"][data-theme="dark"] .section-nav.home-section-nav a.active { background: #2a2a2a; }
html[data-switch-style="win2k"] .section-nav.home-section-nav a::after { display: none; }
html[data-switch-style="win2k"] .section-nav:not(.home-section-nav) a { border-radius: 0; }
html[data-switch-style="win2k"] .zone { scroll-margin-top: calc(var(--nav-h) + 40px); }

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

/* ---------------------------------------------------------------- 面板：灰色凸起面板（像嵌在网页里的对话框） */
html[data-switch-style="win2k"] :is(.card, .hero-panel, .stat-strip, .cta-band, .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: 0;
  border: 0;
  background: var(--w2k-face);
  box-shadow: var(--w2k-raised);
  color: var(--text);
}
html[data-switch-style="win2k"] .card .card,
html[data-switch-style="win2k"] .card :is(.resource-card, .xt-stat, .team-slot) {
  background: transparent;
  box-shadow: var(--w2k-etched);
}
html[data-switch-style="win2k"] .card.clickable:hover,
html[data-switch-style="win2k"] a.card:hover { transform: none; box-shadow: var(--w2k-raised), 0 0 0 1px var(--w2k-dark); background: var(--w2k-face); }
html[data-switch-style="win2k"] .hero-panel .top {
  background: var(--w2k-title);
  color: #fff;
  border-bottom: 0;
  margin: 3px 3px 0;
  --text-2: rgb(255 255 255 / .85);
  --text-3: rgb(255 255 255 / .75);
}
html[data-switch-style="win2k"] .hero-panel .top :is(div, span, b, strong, small) { color: #fff; }
html[data-switch-style="win2k"] .hero-panel .top :is(.pill, .badge) { color: #000; background: var(--w2k-face); box-shadow: var(--w2k-thin-up); border: 0; }
html[data-switch-style="win2k"] .cta-band,
html[data-switch-style="win2k"][data-palette] .cta-band { background: var(--w2k-face); animation: none; }
html[data-switch-style="win2k"] .cta-band :is(h2, h3, p) { color: var(--text); text-shadow: none; }
html[data-switch-style="win2k"] .divider { height: 2px; background: none; box-shadow: inset 0 1px var(--w2k-shadow), inset 0 -1px var(--w2k-hi); border: 0; }
html[data-switch-style="win2k"] :is(.pill, .badge, .tag, .chip) { border-radius: 0; }

/* 提示条 */
html[data-switch-style="win2k"] .notice {
  border-radius: 0;
  border: 1px solid var(--w2k-ink);
  background: var(--w2k-info);
  color: var(--text);
}

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

/* ---------------------------------------------------------------- 按钮：经典三维按钮 */
html[data-switch-style="win2k"] .btn {
  --btn-bg: var(--w2k-face);
  --btn-fg: var(--text);
  height: 26px;
  min-height: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: var(--w2k-face);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0;
  text-shadow: none;
  box-shadow: var(--w2k-raised);
  transform: none;
  transition: none;
  animation: none;
}
html[data-switch-style="win2k"] .btn-sm { height: 23px; padding: 0 10px; font-size: 12px; }
html[data-switch-style="win2k"] .btn-lg { height: 30px; padding: 0 20px; font-size: 13.5px; }
html[data-switch-style="win2k"] .btn:hover { background: var(--w2k-face); color: var(--text); box-shadow: var(--w2k-raised); transform: none; filter: none; }
html[data-switch-style="win2k"] .btn:active { box-shadow: var(--w2k-pressed); padding-top: 2px; padding-left: 16px; transform: none; }
html[data-switch-style="win2k"] .btn-sm:active { padding-left: 12px; }
html[data-switch-style="win2k"] .btn:focus-visible { outline: 1px dotted var(--text); outline-offset: -5px; }
html[data-switch-style="win2k"] .btn .ripple { display: none; }
html[data-switch-style="win2k"] .btn[disabled],
html[data-switch-style="win2k"] .btn:disabled { color: var(--w2k-gray-ink); text-shadow: 1px 1px 0 var(--w2k-hi); }
/* 默认按钮：外面多一圈黑框 */
html[data-switch-style="win2k"] .btn-primary,
html[data-switch-style="win2k"] .btn-primary:hover { box-shadow: 0 0 0 1px var(--w2k-ink), var(--w2k-raised); background: var(--w2k-face); color: var(--text); }
html[data-switch-style="win2k"] .btn-primary:active { box-shadow: 0 0 0 1px var(--w2k-ink), inset 1px 1px var(--w2k-shadow), inset -1px -1px var(--w2k-shadow); }
/* 次要按钮：平面工具栏按钮 */
html[data-switch-style="win2k"] :is(.btn-ghost, .btn-tint) { background: transparent; box-shadow: var(--w2k-thin-up); color: var(--text); }
html[data-switch-style="win2k"] :is(.btn-ghost, .btn-tint):hover { background: var(--w2k-face); box-shadow: var(--w2k-raised); }
html[data-switch-style="win2k"] :is(.btn-ghost, .btn-tint):active { box-shadow: var(--w2k-pressed); }
html[data-switch-style="win2k"] .btn-danger { color: #a00000; }
html[data-switch-style="win2k"][data-theme="dark"] .btn-danger { color: #ff8a8a; }
html[data-switch-style="win2k"] .btn-success { color: #006000; }
html[data-switch-style="win2k"][data-theme="dark"] .btn-success { color: #7fdc7f; }
html[data-switch-style="win2k"] .icon-btn { border-radius: 0; transform: none; }
html[data-switch-style="win2k"] #view .icon-btn:hover { background: transparent; box-shadow: var(--w2k-thin-up); transform: none; }
html[data-switch-style="win2k"] #view .icon-btn:active { box-shadow: var(--w2k-thin-down); }

/* ---------------------------------------------------------------- 输入框：凹下去的白框 */
html[data-switch-style="win2k"] :is(.input, .textarea, .select) {
  border-radius: 0;
  border: 0;
  background: var(--w2k-window);
  color: var(--text);
  box-shadow: var(--w2k-sunken);
  font-family: var(--font);
  transition: none;
}
html[data-switch-style="win2k"] :is(.input, .textarea, .select):hover,
html[data-switch-style="win2k"] :is(.input, .textarea, .select):focus { border: 0; box-shadow: var(--w2k-sunken); outline: none; background: var(--w2k-window); }
html[data-switch-style="win2k"] :is(.input, .textarea)[disabled] { background: var(--w2k-face); color: var(--w2k-gray-ink); }
/* 组合框（survey.css 对所有 select 用了 !important，这里同样要用）：白色凹框 + 右侧凸起的箭头按钮 */
html[data-switch-style="win2k"] select:not([multiple]) {
  border-radius: 0 !important;
  border: 0 !important;
  padding-right: 24px !important;
  color: var(--text);
  box-shadow: var(--w2k-sunken) !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath d='M0 0h7L3.5 4z' fill='%23000'/%3E%3C/svg%3E"),
    linear-gradient(var(--w2k-dark), var(--w2k-dark)),
    linear-gradient(var(--w2k-shadow), var(--w2k-shadow)),
    linear-gradient(var(--w2k-hi), var(--w2k-hi)),
    linear-gradient(var(--w2k-face), var(--w2k-face)),
    linear-gradient(var(--w2k-window), var(--w2k-window)) !important;
  background-repeat: no-repeat !important;
  background-position: right 7px center, right 2px top 2px, right 3px top 2px, right 3px top 2px, right 2px top 2px, 0 0 !important;
  background-size: 7px 4px, 1px calc(100% - 4px), 1px calc(100% - 5px), 16px 1px, 17px calc(100% - 4px), 100% 100% !important;
}
html[data-switch-style="win2k"][data-theme="dark"] select:not([multiple]) {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath d='M0 0h7L3.5 4z' fill='%23fff'/%3E%3C/svg%3E"),
    linear-gradient(var(--w2k-dark), var(--w2k-dark)),
    linear-gradient(var(--w2k-shadow), var(--w2k-shadow)),
    linear-gradient(var(--w2k-hi), var(--w2k-hi)),
    linear-gradient(var(--w2k-face), var(--w2k-face)),
    linear-gradient(var(--w2k-window), var(--w2k-window)) !important;
}
html[data-switch-style="win2k"] select:not([multiple]):focus { box-shadow: var(--w2k-sunken) !important; outline: 1px dotted var(--text); outline-offset: -5px; }
html[data-switch-style="win2k"] select option { background: var(--w2k-window); color: var(--text); }
html[data-switch-style="win2k"] .field > label,
html[data-switch-style="win2k"] .field > .field-label { color: var(--text); font-weight: 400; }
html[data-switch-style="win2k"] input[type="checkbox"]:not(.switch input),
html[data-switch-style="win2k"] input[type="radio"] { accent-color: var(--w2k-on); }

/* 开关：凹下去的槽 + 凸起的滑块，打开时槽变成深蓝（经典界面没有开关，这是最接近的画法） */
html[data-switch-style="win2k"] .dsh-switch,
html[data-switch-style="win2k"] .switch input {
  border-radius: 0;
  border: 0;
  background: var(--w2k-dither);
  box-shadow: var(--w2k-sunken);
}
html[data-switch-style="win2k"][data-theme="dark"] :is(.dsh-switch:not([aria-checked="true"]), .switch input:not(:checked)) { background: #1c1c1c; }
html[data-switch-style="win2k"] .dsh-switch::after,
html[data-switch-style="win2k"] .switch input::after {
  border-radius: 0;
  background: var(--w2k-face);
  border: 0;
  box-shadow: var(--w2k-raised);
}
html[data-switch-style="win2k"] .dsh-switch::after { top: 2px; left: 2px; width: 20px; height: calc(100% - 4px); }
html[data-switch-style="win2k"] .dsh-switch[aria-checked="true"],
html[data-switch-style="win2k"] .switch input:checked { background: var(--w2k-on); }
/* 打开时在槽的左半边画一道白色竖线（像电源开关的「I」），不靠颜色也能看出是开着的 */
html[data-switch-style="win2k"] .dsh-switch[aria-checked="true"]::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 2px;
  height: 10px;
  transform: translateY(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .25);
}

/* 分段控件：一组凸起按钮，选中的那个凹下去并铺网点 */
html[data-switch-style="win2k"] .segmented { padding: 0; gap: 0; border-radius: 0; border: 0; background: transparent; box-shadow: none; }
html[data-switch-style="win2k"] .segmented button {
  height: 23px;
  padding: 0 11px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  background: var(--w2k-face);
  box-shadow: var(--w2k-raised);
}
html[data-switch-style="win2k"] .segmented button.active { background: var(--w2k-dither); box-shadow: var(--w2k-pressed), inset 0 -3px var(--w2k-on); color: var(--text); font-weight: 700; }
html[data-switch-style="win2k"][data-theme="dark"] .segmented button.active { background: #232323; }
html[data-switch-style="win2k"] .segmented :is(.seg-glider, .lgx-thumb) { display: none; }
html[data-switch-style="win2k"] :is(.ui-range, .lgx-range > input[type="range"]) { accent-color: var(--w2k-on); }

/* ---------------------------------------------------------------- 对话框 */
html[data-switch-style="win2k"] .modal-back { background: rgb(0 0 0 / .2); }
html[data-switch-style="win2k"] .modal {
  border-radius: 0;
  border: 0;
  padding: 3px;
  background: var(--w2k-face);
  box-shadow: var(--w2k-window-frame), 2px 2px 0 rgba(0, 0, 0, .35);
  overflow: hidden;
}
html[data-switch-style="win2k"] .modal-head {
  padding: 3px 3px 3px 6px;
  align-items: center;
  background: var(--w2k-title);
  color: #fff;
}
html[data-switch-style="win2k"] .modal-head h3 { font-size: 13px; font-weight: 700; color: #fff; }
html[data-switch-style="win2k"] .modal-head .sub { color: #fff; opacity: .85; }
html[data-switch-style="win2k"] .modal-head .icon-btn {
  width: 16px;
  height: 14px;
  border-radius: 0;
  border: 0;
  padding: 0;
  color: #000;
  background: var(--w2k-face);
  box-shadow: inset -1px -1px #404040, inset 1px 1px #fff, inset -2px -2px #808080;
}
html[data-switch-style="win2k"] .modal-head .icon-btn svg { width: 9px; height: 9px; stroke-width: 3; }
html[data-switch-style="win2k"] .modal-head .icon-btn:active { box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080; }
html[data-switch-style="win2k"] .modal-body { background: var(--w2k-face); padding: 16px 14px; border: 0; }
html[data-switch-style="win2k"] .modal-foot { background: var(--w2k-face); border: 0; padding: 6px 10px 8px; }

/* ---------------------------------------------------------------- 通知 = 浅黄色工具提示 */
html[data-switch-style="win2k"] .toast {
  border-radius: 0;
  border: 1px solid var(--w2k-ink);
  background: var(--w2k-info);
  color: var(--text);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
  font-weight: 400;
}
html[data-switch-style="win2k"] .toast .ic { border-radius: 0; }

/* ---------------------------------------------------------------- 侧栏 = 资源管理器的「文件夹」窗格 */
html[data-switch-style="win2k"] .admin-directory,
html[data-switch-style="win2k"][data-workspace-layout="edge"] .workspace-page .admin-directory {
  border-radius: 0;
  border: 0;
  background: var(--w2k-window);
  box-shadow: var(--w2k-sunken);
}
html[data-switch-style="win2k"] .admin-directory-link { border-radius: 0; color: var(--text); border: 0; }
html[data-switch-style="win2k"] .admin-directory-link:hover { background: transparent; text-decoration: underline; }
html[data-switch-style="win2k"] .admin-directory-link.active,
html[data-switch-style="win2k"] .admin-directory nav .admin-directory-link.active { background: var(--w2k-sel); color: #fff; box-shadow: none; }
html[data-switch-style="win2k"] .admin-directory-link.active::before,
html[data-switch-style="win2k"] .admin-directory-glider { display: none; }
html[data-switch-style="win2k"] .admin-directory-label { color: var(--text); font-weight: 700; }

/* ---------------------------------------------------------------- 表格：列表视图的列标题 */
html[data-switch-style="win2k"] .table th { background: var(--w2k-face); box-shadow: var(--w2k-thin-up); border: 0; color: var(--text); font-weight: 400; }
html[data-switch-style="win2k"] .table tbody tr:hover td { background: var(--w2k-sel); color: #fff; }
html[data-switch-style="win2k"] .table tbody tr:hover td * { color: inherit; }

/* ---------------------------------------------------------------- 登录页：属性表的选项卡 */
html[data-switch-style="win2k"] .auth-tabs { gap: 0; padding: 0 0 0 2px; border-radius: 0; background: none; box-shadow: inset 0 -1px var(--w2k-hi); }
html[data-switch-style="win2k"] .auth-tabs a {
  margin-bottom: 0;
  padding: 3px 12px;
  border-radius: 3px 3px 0 0;
  color: var(--text);
  font-weight: 400;
  background: var(--w2k-face);
  box-shadow: inset 1px 1px var(--w2k-hi), inset -1px 0 var(--w2k-dark), inset -2px 0 var(--w2k-shadow);
  transform: translateY(2px);
}
html[data-switch-style="win2k"] .auth-tabs a.active { transform: none; padding-bottom: 5px; font-weight: 700; box-shadow: inset 1px 1px var(--w2k-hi), inset -1px 0 var(--w2k-dark), inset -2px 0 var(--w2k-shadow), inset 0 2px var(--w2k-on); }
html[data-switch-style="win2k"] .auth-tabs a:hover { text-decoration: none; }

/* ---------------------------------------------------------------- 滚动条：经典滚动条（网点轨道 + 带箭头的按钮） */
html[data-switch-style="win2k"] ::-webkit-scrollbar { width: 16px; height: 16px; background: var(--w2k-face); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-track { background: var(--w2k-dither); }
html[data-switch-style="win2k"][data-theme="dark"] ::-webkit-scrollbar-track { background: #2a2a2a; }
html[data-switch-style="win2k"] ::-webkit-scrollbar-thumb { background: var(--w2k-face); box-shadow: var(--w2k-raised); border-radius: 0; min-height: 16px; }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button { display: block; width: 16px; height: 16px; background-color: var(--w2k-face); box-shadow: var(--w2k-raised); background-repeat: no-repeat; background-position: center; }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button:active { box-shadow: inset 0 0 0 1px var(--w2k-shadow); background-position: calc(50% + 1px) calc(50% + 1px); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 4h7L3.5 0z' fill='%23000'/%3E%3C/svg%3E"); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 0h7L3.5 4z' fill='%23000'/%3E%3C/svg%3E"); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button:horizontal:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M4 0v7L0 3.5z' fill='%23000'/%3E%3C/svg%3E"); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-button:single-button:horizontal:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M0 0v7l4-3.5z' fill='%23000'/%3E%3C/svg%3E"); }
html[data-switch-style="win2k"] ::-webkit-scrollbar-corner { background: var(--w2k-face); }
html[data-switch-style="win2k"] :is(.segmented, .section-nav)::-webkit-scrollbar { display: none; }
@supports not selector(::-webkit-scrollbar) {
  html[data-switch-style="win2k"] { scrollbar-color: #d4d0c8 #ece9e2; }
}

/* ---------------------------------------------------------------- 手机底栏 = 任务栏 */
@media (max-width: 720px) {
  html[data-switch-style="win2k"] .tabbar {
    background: var(--w2k-face) !important;
    border-top: 0;
    border-radius: 0;
    box-shadow: inset 0 1px var(--w2k-light), inset 0 2px var(--w2k-hi);
  }
  html[data-switch-style="win2k"] .tabbar a { border-radius: 0; color: var(--text); box-shadow: var(--w2k-raised); background: var(--w2k-face); margin: 3px 1px; }
  html[data-switch-style="win2k"] .tabbar a.active { box-shadow: var(--w2k-pressed), inset 0 -3px var(--w2k-on); background: var(--w2k-dither); font-weight: 700; color: var(--text); }
  html[data-switch-style="win2k"][data-theme="dark"] .tabbar a.active { background: #232323; }
}

/* ==========================================================================
   右下角浮钮：特别空间 = 凸起的方形按钮；二合一 = 一小段带拖动柄的工具栏；回到顶部同款
   ========================================================================== */
html[data-switch-style="win2k"] :is(.admin-ai, .admin-ai-split, .to-top) {
  border: 0;
  border-radius: 0;
  background: var(--w2k-face);
  color: var(--text);
  box-shadow: var(--w2k-raised), 2px 2px 0 rgba(0, 0, 0, .3);
}
html[data-switch-style="win2k"] :is(.admin-ai, .to-top) { width: 38px; height: 36px; }
html[data-switch-style="win2k"] :is(.admin-ai, .to-top):hover { background: var(--w2k-face); color: var(--text); transform: none; }
html[data-switch-style="win2k"] :is(.admin-ai, .to-top):active { box-shadow: var(--w2k-pressed); }
html[data-switch-style="win2k"] :is(.admin-ai, .to-top) svg { width: 18px; height: 18px; }
html[data-switch-style="win2k"] .admin-ai-split { height: 36px; padding: 0 3px 0 12px; gap: 1px; }
html[data-switch-style="win2k"] .admin-ai-split::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  box-shadow: inset 1px 1px var(--w2k-hi), inset -1px -1px var(--w2k-shadow);
}
html[data-switch-style="win2k"] .admin-ai-split a { width: 32px; height: 28px; border-radius: 0; color: var(--text); background: transparent; }
html[data-switch-style="win2k"] .admin-ai-split a:hover,
html[data-switch-style="win2k"] .admin-ai-split a:focus-visible { background: transparent; color: var(--text); box-shadow: var(--w2k-thin-up); }
html[data-switch-style="win2k"] .admin-ai-split a:active { box-shadow: var(--w2k-thin-down); }
html[data-switch-style="win2k"] .admin-ai-split .aa-special { color: var(--text); }
html[data-switch-style="win2k"] .admin-ai-split .aa-sep { width: 2px; height: 22px; opacity: 1; background: none; box-shadow: inset 1px 0 var(--w2k-shadow), inset -1px 0 var(--w2k-hi); margin: 0 3px; }
html[data-switch-style="win2k"] :is(.admin-ai-tooltip, .admin-ai-split .aa-tip) {
  border-radius: 0;
  border: 1px solid var(--w2k-ink);
  background: var(--w2k-info);
  color: var(--text);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .3);
  font-size: 11.5px;
  font-weight: 400;
  padding: 2px 5px;
}

/* ==========================================================================
   服务器日志（内嵌窗口式）= 一扇 Windows 2000 窗口
   ========================================================================== */
html[data-switch-style="win2k"] .log-drawer {
  border-radius: 0;
  border: 0;
  padding: 3px;
  background: var(--w2k-face);
  box-shadow: var(--w2k-window-frame), 2px 2px 0 rgba(0, 0, 0, .35);
}
html[data-switch-style="win2k"] .log-drawer-head {
  padding: 2px 2px 2px 4px;
  border: 0;
  background: var(--w2k-title);
  color: #fff;
}
html[data-switch-style="win2k"] .log-drawer-title { font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
html[data-switch-style="win2k"] .log-drawer-title::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='2.5' y='1.5' width='11' height='13' fill='%23fff' stroke='%23000'/%3E%3Cpath d='M4 4h8M4 6h6M4 8h8M4 10h5M4 12h7' stroke='%23000080'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html[data-switch-style="win2k"] .log-drawer-actions { gap: 4px; }
html[data-switch-style="win2k"] .log-drawer-link {
  height: 14px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: #000;
  font-size: 11px;
  background: var(--w2k-face);
  box-shadow: inset -1px -1px #404040, inset 1px 1px #fff, inset -2px -2px #808080;
  text-decoration: none;
}
html[data-switch-style="win2k"] .log-drawer-link:hover { text-decoration: none; color: #000; }
html[data-switch-style="win2k"] .log-drawer-link:active { box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080; }
html[data-switch-style="win2k"] .log-drawer-close {
  width: 16px;
  height: 14px;
  border-radius: 0;
  font-size: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 7'%3E%3Cpath d='M.5.5l7 6M7.5.5l-7 6' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 8px 7px no-repeat,
    #d4d0c8;
  box-shadow: inset -1px -1px #404040, inset 1px 1px #fff, inset -2px -2px #808080;
}
html[data-switch-style="win2k"] .log-drawer-close:hover { background-color: #d4d0c8; }
html[data-switch-style="win2k"] .log-drawer-close:active { box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080; }
html[data-switch-style="win2k"] .log-drawer-body { background: var(--w2k-face); padding: 6px 4px 4px; }
html[data-switch-style="win2k"] .server-log-view { border: 0; border-radius: 0; background: var(--w2k-window); box-shadow: var(--w2k-sunken); }

/* ---------------------------------------------------------------- 设置页里的墙纸选择 */
html[data-switch-style="win2k"] .aero-wall-opt { border-radius: 0; border: 1px solid transparent; color: var(--text); }
html[data-switch-style="win2k"] .aero-wall-opt:hover { background: transparent; border-color: transparent; text-decoration: underline; }
html[data-switch-style="win2k"] .aero-wall-opt[aria-checked="true"] { background: var(--w2k-sel); border-color: var(--w2k-sel); color: #fff; }
html[data-switch-style="win2k"] .aero-wall-opt img,
html[data-switch-style="win2k"] .w2k-none-thumb { border: 0; box-shadow: var(--w2k-sunken); }
html[data-switch-style="win2k"] .desk-switch-row { border: 0; border-radius: 0; background: transparent; box-shadow: var(--w2k-etched); }
html[data-switch-style="win2k"] .desk-tint-opt { border: 0; border-radius: 0; box-shadow: var(--w2k-raised); outline-offset: 1px; }
html[data-switch-style="win2k"] .desk-tint-opt:not(.is-theme):not(.is-custom[aria-checked="false"]) { box-shadow: var(--w2k-raised), inset 0 0 0 4px var(--w2k-face); }
html[data-switch-style="win2k"] .desk-tint-opt[aria-checked="true"] { outline: 1px dotted var(--text); box-shadow: var(--w2k-pressed), inset 0 0 0 4px var(--w2k-face); }
html[data-switch-style="win2k"] .desk-tint-opt.is-theme { background: var(--w2k-face); color: var(--text); }
html[data-switch-style="win2k"] .desk-tint-opt.is-theme[aria-checked="true"] { box-shadow: var(--w2k-pressed); background: var(--w2k-dither); }
html[data-switch-style="win2k"][data-theme="dark"] .desk-tint-opt.is-theme[aria-checked="true"] { background: #232323; }
html[data-switch-style="win2k"] .desk-tint-custom input[type="color"] { border: 0; border-radius: 0; box-shadow: var(--w2k-sunken); background: var(--w2k-window); }


/* 页面里其余自带圆角的按钮 / 输入框（排行榜切换、筛选胶囊等）也改成经典的直角 */
html[data-switch-style="win2k"] #view :is(button, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea):not(.dsh-switch) { border-radius: 0; }
html[data-switch-style="win2k"] .experimental-preview { border-radius: 0; border: 0; box-shadow: var(--w2k-etched); }


/* ---------------------------------------------------------------- Windows 2000 可点击标题栏按钮 + 最小化 */
html[data-switch-style="win2k"] header.nav .win-nav-caps {
  display: inline-flex;
  align-items: center;
  order: 99;
  flex: none;
  width: 52px;
  height: 14px;
  margin-left: 4px;
  position: relative;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='14' shape-rendering='crispEdges'%3E%3Cg id='b'%3E%3Crect width='16' height='14' fill='%23d4d0c8'/%3E%3Crect width='15' height='1' fill='%23fff'/%3E%3Crect width='1' height='13' fill='%23fff'/%3E%3Crect y='13' width='16' height='1' fill='%23404040'/%3E%3Crect x='15' width='1' height='14' fill='%23404040'/%3E%3Crect x='1' y='12' width='14' height='1' fill='%23808080'/%3E%3Crect x='14' y='1' width='1' height='12' fill='%23808080'/%3E%3C/g%3E%3Cuse href='%23b' x='16'/%3E%3Cuse href='%23b' x='36'/%3E%3Crect x='4' y='9' width='6' height='2' fill='%23000'/%3E%3Crect x='19' y='2' width='9' height='2' fill='%23000'/%3E%3Crect x='19' y='2' width='1' height='9' fill='%23000'/%3E%3Crect x='27' y='2' width='1' height='9' fill='%23000'/%3E%3Crect x='19' y='10' width='9' height='1' fill='%23000'/%3E%3Cpath d='M40.5 3.5l6 6M46.5 3.5l-6 6' stroke='%23000' stroke-width='1.5' shape-rendering='geometricPrecision'/%3E%3C/svg%3E") no-repeat;
}
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap {
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap.min { width: 16px; }
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap.max { width: 16px; }
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap.cls { width: 16px; margin-left: 4px; }
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap:hover { background: rgb(255 255 255 / .22); }
html[data-switch-style="win2k"] header.nav .win-nav-caps .win-cap:active { box-shadow: inset 1px 1px rgb(0 0 0 / .6); }

html[data-switch-style="win2k"] #app {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .22s ease;
  transform-origin: left bottom;
}
html[data-switch-style="win2k"].win-minimized #app {
  transform: translate3d(-24vw, 42vh, 0) scale(0.12);
  opacity: 0;
  pointer-events: none;
}
html[data-switch-style="win2k"] .win-min-dock {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  max-width: min(280px, calc(100vw - 24px));
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 0;
  background: var(--w2k-face, #d4d0c8);
  color: var(--text, #000);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #404040, inset 2px 2px #dfdfdf, inset -2px -2px #808080, 2px 2px 6px rgba(0,0,0,.35);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
html[data-switch-style="win2k"] .win-min-dock:active {
  box-shadow: inset 1px 1px #404040, inset -1px -1px #fff, inset 2px 2px #808080;
}
