MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示同一用户的84个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* Windows XP风格MediaWiki主题 - 完整迁移自Wikidot */


/* 导入所需字体 */
@import url("https://fonts.googleapis.com/css2?family=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');


:root {
:root {
  /* 保留原始配色变量 */
    /* 主题基础设置 */
  --link-color: #0645ad;
    --fade-in-delay: 0.1s;
  --link-color-active: #faa700;
    --theme-base: "xp-style";
  --custom-background-blue: #ccf;
    --theme-id: "windows-xp";
  --custom-background-cyan: #cef;
    --theme-name: "Windows XP Theme";
  --custom-background-green: #cfc;
   
  --custom-background-gray: #d2d2d2;
    /* 字体设置 - 保持原有字体 */
  --custom-background-grey: var(--custom-background-gray);
    --body-font: "VonwaonBitmap 16px", VT323, monospace;
  --custom-background-magenta: #fdf;
    --header-font: "VonwaonBitmap 16px", VT323, monospace;
  --custom-background-orange: #fdb;
    --title-font: "VonwaonBitmap 16px", VT323, monospace;
  --custom-background-purple: #ecf;
    --mono-font: "VonwaonBitmap 16px", VT323, monospace;
  --custom-background-red: #fcc;
    --pixel-font-16: 'VonwaonBitmap 16px', VT323, monospace;
  --custom-background-yellow: #ffc;
    --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
  --custom-border-blue: #36e;
    --base-font-size: 14px;
  --custom-border-cyan: #9df;
   
  --custom-border-green: #5d5;
    /* Windows XP 颜色方案 */
  --custom-border-gray: #bbb;
    --xp-blue: 49, 106, 197;
  --custom-border-grey: var(--custom-border-gray);
    --xp-blue-light: 82, 153, 235;
  --custom-border-magenta: #f9f;
    --xp-blue-dark: 16, 35, 85;
  --custom-border-orange: #f90;
    --xp-green: 57, 154, 48;
  --custom-border-purple: #96c;
    --xp-button: 192, 192, 192;
  --custom-border-red: #e44;
    --xp-window-border: 0, 0, 0;
  --custom-border-yellow: #fc3;
    --xp-window-bg: 236, 233, 216;
  --custom-closed-topic-neutral: #eef;
    --xp-text: 0, 0, 0;
  --custom-closed-topic-no: #fee;
   
  --custom-closed-topic-yes: #efe;
    /* 颜色方案 - 迁移并适配XP风格 */
  --custom-code-background: #f8f9fa;
    --white-monochrome: 255, 255, 255;
  --custom-load-page-button-color: #fff8;
    --pale-gray-monochrome: 236, 233, 216;
  --custom-main-page-background: #fcfcfc;
    --light-gray-monochrome: 192, 192, 192;
  --custom-main-page-border: var(--custom-border-gray);
    --gray-monochrome: 128, 128, 128;
  --custom-main-page-edition-subheader: #333;
    --black-monochrome: 0, 0, 0;
  --custom-mcwiki-header-color: #bcd4f5;
    --bright-accent: var(--xp-blue);
  --custom-navbox-background: #fff;
    --medium-accent: var(--xp-blue);
  --custom-navbox-top: #ccc;
    --dark-accent: var(--xp-blue-dark);
  --custom-navbox-middle: #ddd;
    --pale-accent: var(--xp-blue-light);
  --custom-navbox-thru: #eee;
   
  --custom-nbt-inherit-color: #e6e6fa;
    /* 链接颜色 */
  --custom-table-background: #f8f9fa;
    --link-color: 0, 0, 255;
  --custom-table-alternate-background: #f0f1f2;
    --visited-link-color: 128, 0, 128;
  --custom-table-choice-always: #003600;
    --hover-link-color: 0, 0, 255;
  --custom-table-choice-always-background: #80d080;
   
  --custom-table-choice-default: #fff;
    /* 文本阴影 */
  --custom-table-choice-in-off-background: #060;
    --text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  --custom-table-choice-in-on-background: #0c0;
   
  --custom-table-choice-na: #000;
    /* 边框和阴影 */
  --custom-table-choice-na-background: #fff;
    --window-border: 1px solid rgb(var(--xp-window-border));
  --custom-table-choice-neutral: #634800;
    --window-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  --custom-table-choice-neutral-background: #ffeb9c;
}
  --custom-table-choice-never: #3c0404;
 
  --custom-table-choice-never-background: #ff8080;
/* 应用全局字体 */
  --custom-table-choice-no: #840606;
body {
  --custom-table-choice-no-background: #ffc7ce;
    font-family: var(--body-font) !important;
  --custom-table-choice-out-off-background: #900;
    font-size: var(--base-font-size) !important;
  --custom-table-choice-out-on-background: #f00;
    line-height: 1.5 !important;
  --custom-table-choice-partial: #665400;
    background-color: #3a6ea5; /* 经典XP桌面蓝色背景 */
  --custom-table-choice-partial-background: #ffd;
    background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
  --custom-table-choice-planned: #0131b7;
    background-size: cover;
  --custom-table-choice-planned-background: #dfdfff;
    background-position: center;
  --custom-table-choice-rarely: #533400;
    background-repeat: no-repeat;
  --custom-table-choice-rarely-background: #fdce5e;
    background-attachment: fixed;
  --custom-table-choice-unknown: #222;
    color: rgb(var(--xp-text));
  --custom-table-choice-unknown-background: #ccc;
  --custom-table-choice-yes: #005600;
  --custom-table-choice-yes-background: #c6efce;
  --custom-table-header-background: #eaecf0;
  --custom-topic-30-days: #bbb;
  --custom-topic-7-days: #ddd;
 
  /* 增强CRT效果相关变量 */
  --crt-primary-scanline-alpha: 0.14;     /* 主扫描线透明度 */
  --crt-secondary-scanline-alpha: 0.08;   /* 副扫描线透明度 */
  --crt-fast-scanline-alpha: 0.3;         /* 快速扫描线透明度 */
  --crt-flicker-alpha: 0.04;              /* 屏幕闪烁强度 */
  --crt-noise-alpha: 0.04;                /* 噪点强度 */
  --crt-glow-radius: 0.08em;
  --crt-glow-color: rgba(0, 255, 100, 0.2); /* 辉光颜色和强度 */
  --crt-text-shadow: 0 0 var(--crt-glow-radius) var(--crt-glow-color);
  --crt-vignette-opacity: 0.15;            /* 暗角效果强度 */
  --crt-rgb-shift-amount: 1px;            /* RGB颜色偏移量 */
  --crt-curvature: 8;                      /* CRT曲率(数值越大曲率越大)*/
 
  /* 网格背景相关变量 */
  --grid-color: rgba(0, 0, 0, 0.08);
  --grid-size: 40px;
  --grid-line-width: 1px;
 
  /* 字体设置 - 保持不变 */
  --pixel-font-16: 'VonwaonBitmap 16px', monospace;
  --pixel-font-12: 'VonwaonBitmap 12px', monospace;
  --title-font: var(--pixel-font-16);
  --body-font: var(--pixel-font-16);
  --small-font: var(--pixel-font-12);
  --UI-font: var(--pixel-font-12);
 
  /* 字体大小设置 */
  --base-font-size: 15px;
  --small-font-size: 13px;
  --title-scale: 1.3;
  --code-scale: 0.9;
 
  /* 边框和内间距设置 */
  --side-border-thickness: 0.1rem;
  --main-border-thickness: 0.05rem;
 
  /* 启用/禁用CRT效果 - 默认启用 */
  --crt-effects-display: block;
 
  /* 质感相关变量 */
  --glass-opacity: 0.92;
  --glass-blur: 0px;               /* 模糊效果 - 如果浏览器支持 */
  --inset-shadow-depth: 25px;
  --border-shine: rgba(255, 255, 255, 0.1);
  --box-depth: 1px 1px 3px rgba(0, 0, 0, 0.15);
 
  /* 侧边栏相关变量 - 新增 */
  --sidebar-max-height: 85vh;     /* 侧边栏最大高度 */
  --sidebar-width: 14rem;          /* 侧边栏宽度 */
  --sidebar-top-offset: 3rem;      /* 侧边栏顶部偏移 */
 
  /* 控制台相关变量 - 新增 */
  --console-indicator-color: rgba(0, 255, 100, 0.8);
  --console-text-color: rgba(0, 255, 0, 0.9);
  --terminal-bg: rgba(16, 24, 32, 0.8);
}
}


/* CRT效果动画 - 增强版 */
/* 标题字体 */
@keyframes flicker {
h1, h2, h3, h4, h5, h6, #firstHeading {
  0%, 100% { opacity: 0.98; }
    font-family: var(--title-font);
  25% { opacity: 0.94; }
    color: rgb(var(--white-monochrome));
  50% { opacity: 0.99; }
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  75% { opacity: 0.95; }
    padding: 5px 10px;
  83% { opacity: 0.98; }
    margin-top: 10px;
  90% { opacity: 0.91; }
    border-bottom: 1px solid rgb(var(--xp-window-border));
  93% { opacity: 0.99; }
    position: relative;
  97% { opacity: 0.93; }
    text-shadow: var(--text-shadow);
}
}


/* 极微弱闪烁效果 - 用于文本和UI元素 */
/* 窗口操作按钮 - 关闭、最大化、最小化 */
@keyframes micro-flicker {
h1::after,
  0%, 100% { opacity: 1; }
h2::after,
  25% { opacity: 0.99; }
h3::after,
  50% { opacity: 0.98; }
h4::after,
  75% { opacity: 0.99; }
h5::after,
h6::after,
#firstHeading::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
}
}


/* 主扫描线动画 - 更逼真 */
h1::before,
@keyframes primary-scanline {
h2::before,
  0% { transform: translateY(-5vh); }
h3::before,
  100% { transform: translateY(110vh); }
h4::before,
h5::before,
h6::before,
#firstHeading::before {
    content: "□";
    position: absolute;
    top: 2px;
    right: 25px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: black;
    cursor: pointer;
}
}


/* 副扫描线动画 - 较慢移动 */
h1 span::before,
@keyframes secondary-scanline {
h2 span::before,
  0% { transform: translateY(-100vh); }
h3 span::before,
  100% { transform: translateY(100vh); }
h4 span::before,
h5 span::before,
h6 span::before,
#firstHeading span::before {
    content: "_";
    position: absolute;
    top: 2px;
    right: 45px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}
}


/* 快速扫描线动画 - 闪烁通过 */
/* 链接样式 */
@keyframes fast-scanline {
a {
  0%, 5% { opacity: 0; transform: translateY(-100vh); }
    color: rgb(var(--link-color));
  8% { opacity: var(--crt-fast-scanline-alpha); }
    text-decoration: none;
  25% { opacity: var(--crt-fast-scanline-alpha); }
  30% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100vh); }
}
}


/* 噪点效果动画 */
a:visited {
@keyframes noise {
    color: rgb(var(--visited-link-color));
  0%, 100% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
}
}


/* RGB颜色偏移动画 */
a:hover {
@keyframes rgb-shift {
     color: rgb(var(--hover-link-color));
  0%, 100% {
     text-decoration: underline;
     text-shadow:  
}
      var(--crt-rgb-shift-amount) 0 0 rgba(255, 0, 0, 0.3),
 
      calc(-1 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
/* ">" 箭头指示符 - 保留原样 */
  }
a:hover::before {
  25% {
     content: "> ";
     text-shadow:
      calc(0.8 * var(--crt-rgb-shift-amount)) 0 0 rgba(255, 0, 0, 0.3),
      calc(-0.8 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
  50% {
    text-shadow:
      var(--crt-rgb-shift-amount) 0 0 rgba(255, 0, 0, 0.3),
      calc(-1 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
  75% {
     text-shadow:
      calc(1.2 * var(--crt-rgb-shift-amount)) 0 0 rgba(255, 0, 0, 0.3),
      calc(-1.2 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
}
}


@keyframes crt-on {
 
  0% { opacity: 0; filter: brightness(5) saturate(0); }
/* 背景样式 */
  10% { opacity: 0.3; filter: brightness(3) saturate(0.2); }
html, body {
  30% { opacity: 0.7; filter: brightness(2) saturate(0.5); }
    background-color: #3a6ea5 !important; /* 保留XP桌面风格 */
  50% { opacity: 0.8; filter: brightness(1.5) saturate(0.8); }
  100% { opacity: 1; filter: brightness(1) saturate(1); }
}
}


/* 控制台指示灯闪烁效果 */
/* 搜索框和搜索按钮样式 */
@keyframes console-blink {
#searchButton,
  0%, 100% { opacity: 1; }
.searchButton,
  50% { opacity: 0.3; }
input[type="submit"],
input[type="button"],
.mw-ui-button,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0) !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--body-font) !important;
    padding: 3px 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}
}


/* 打字机效果 */
#searchButton:hover,
@keyframes typing {
.searchButton:hover,
  from { width: 0; }
input[type="submit"]:hover,
  to { width: 100%; }
input[type="button"]:hover,
.mw-ui-button:hover,
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}
}


/* 滚动指示动画 */
/* 分类条样式 */
@keyframes scroll-indicator {
#catlinks,
  0%, 100% { transform: translateY(0); }
.catlinks {
  50% { transform: translateY(10px); }
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    padding: 0.5em !important;
    margin-top: 1em !important;
    font-family: var(--body-font) !important;
    box-shadow: var(--window-shadow) !important;
}
}


/* 光感效果 - 模拟CRT显示器对周围光线的反应 */
#catlinks a,
@keyframes light-response {
.catlinks a {
  0%, 100% { filter: brightness(1); }
    color: rgb(var(--link-color)) !important;
  50% { filter: brightness(1.03); }
    text-decoration: none !important;
}
}


/* 全局和背景样式 - 增强CRT显示器质感 */
#catlinks a:hover,
html {
.catlinks a:hover {
  min-height: 100%;
     color: rgb(var(--hover-link-color)) !important;
  background-color: #111; /* 更暗的背景,衬托CRT效果 */
     text-decoration: underline !important;
  background-image:
    /* 网格线 */
     linear-gradient(var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width)),
    linear-gradient(90deg, var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width)),
    /* 精细噪点纹理 */
     url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.08' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-size: var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  background-position: center center;
  animation: crt-on 2s ease-out;
  position: relative;
  overflow-x: hidden; /* 防止水平滚动条出现 */
  padding: 0;
  margin: 0;
}
}


/* CRT显示器边框模拟 */
/* 工具栏样式 */
.crt-monitor-frame {
#footer-info,
  position: fixed;
#footer-places,
  top: 0;
.footer-places,
  left: 0;
.footer-info {
  width: 100%;
    background-color: rgb(var(--xp-window-bg)) !important;
  height: 100%;
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
  pointer-events: none;
    color: rgb(var(--xp-text)) !important;
  z-index: 10000;
    padding: 0.5em 1em !important;
  background: transparent;
    font-family: var(--body-font) !important;
  box-shadow: inset 0 0 100px 20px rgba(0, 0, 0, 0.7); /* 内阴影创造边框效果 */
  border-radius: 15% / 8%; /* 创造CRT显示器的弧度 */
}
}


/* CRT面板反光效果 */
#footer-info a,
.crt-reflection {
#footer-places a {
  position: fixed;
    color: rgb(var(--link-color)) !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
  z-index: 10001;
  opacity: 0.3;
  border-radius: 15% / 8%;
}
}


body {
#footer-info a:hover,
  font-family: var(--body-font);
#footer-places a:hover {
  font-size: var(--base-font-size);
     color: rgb(var(--hover-link-color)) !important;
  line-height: 1.65;
  color: #222;
  position: relative;
  width: 90%;
  max-width: 1200px; /* 限制最大宽度 */
  min-height: calc(100vh - 4rem);
  margin: 2rem auto; /* 居中并增加上下边距 */
  padding: 2rem;
  background-color: rgba(255, 255, 255, var(--glass-opacity));
  border-radius: 6px;
  border: 1px solid var(--border-shine);
  box-shadow:  
     var(--box-depth),
    0 3px 12px rgba(0, 0, 0, 0.05),
    inset 0 0 var(--inset-shadow-depth) rgba(0, 255, 100, 0.04);
  animation: flicker 120s infinite alternate ease-in-out;
  overflow: hidden; /* 隐藏超出部分,配合扫描线 */
  backdrop-filter: blur(var(--glass-blur)); /* 支持的浏览器会有磨砂玻璃效果 */
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transform-style: preserve-3d;
  perspective: 1000px;
}
}


/* CRT曲面效果 - 使页面内容看起来像在CRT上显示 */
/* 主内容区背景 */
.crt-curve-effect {
#content {
  position: fixed;
    background-color: rgb(var(--xp-window-bg));
  top: 0;
    position: relative;
  left: 0;
    border: 2px solid rgb(var(--xp-window-border));
  width: 100%;
    box-shadow: var(--window-shadow);
  height: 100%;
    margin: 10px auto;
  pointer-events: none;
    padding: 0;
  z-index: 9997;
    border-radius: 0;
  background: transparent;
  box-shadow: inset 0 0 calc(var(--crt-curvature) * 8px) rgba(0, 0, 0, 0.3);
  border-radius: 50% / 10%;
  opacity: 0.5;
}
}


/* 添加暗角效果 - 增强CRT显示器质感 */
/* 导航栏 */
body::before {
.navbar,
  content: "";
.navbar.navbar-default,
  display: var(--crt-effects-display);
.navbar-light {
  position: fixed;
    background-color: rgb(var(--xp-window-bg)) !important;
  top: 0;
    border: 1px solid rgb(var(--xp-window-border)) !important;
  left: 0;
    box-shadow: var(--window-shadow) !important;
  width: 100%;
    border-radius: 0 !important;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0, 0, 0, var(--crt-vignette-opacity)) 140%
  );
  mix-blend-mode: multiply;
}
}


/* 添加纹理噪点 - 模拟CRT颗粒感 */
.navbar .navbar-brand,
body::after {
.navbar .nav-link,
  content: "";
.navbar-light .navbar-nav .nav-link {
  display: var(--crt-effects-display);
    color: rgb(var(--link-color)) !important;
  position: fixed;
    font-family: var(--header-font) !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9991;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcGEgUHbZ0MhgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAHeUlEQVRo3u1aTY8cRxU9r6q7enpmdvbDu951MF6vE2MsRwpCChKRkCNEhAQSF4TgADdO/BguXJD4A+HAH+DMj+AMCBGJ2MJJiCwhx3a8ttfeZe2Z7enu6o+q9zjUzKzX3l1r1l4SzqGlUku9XdX1+r36eO+9V0QphdddBF6D4o1x5OTkZGFxcfGQt956a77VasHzPICZi4cQAFAA4Pv+S3sGAIwxYIxBmqbY39/H2toa7969+/djx449PDw8XE2S5PNXrlz55uzs7KWrV6/+ZWlpaePChQuLcRxnNU3zzszMzPvHjh37V6fTWQeANE3fFBGICFzXRZ7nYGbEcYwoipDnOZRSGA6HIhJ8JiIjhCilhm6apkxEBYCaiDiZ/aSUYiL6Vr/f/56ISJI4MxwO35+ZOfazdrs9WF9fdwFgenoaMzOz3N3d/UYYhs/v3bt3OgiCJWvtB9vb29/q9S6d7vV6l7vd7pt7e3vvBkEwaDabf15fX//x+vr6D/M8/66IuK1Wi8MwJADgnMt5nj/yfU9ns9l2o9H4qeu6RhRVfd8fk1JKiBRqInJ+q7fJ/f19NRgMnDRND4goEBHV7XbDWvtBHMf/qdfrr9y+ffsjAG4Q+AiCCM1mhCDw0Ww2oLXC6urqLxYXF39grT1vjMFoNEKe52g2mwjDgJIk6wFQzWazIyI/iaLoL/1+/wEROUop5xLn8XgKAKSUIofImYsZZVkGrbUwM9bW1p6GYfiHu3fv3vA89c75+flvTk8vXp6ZeePCzMziW0opLC4u0tmzZ+n8+fM4d+4cTp06xa7rgjGOra0tXlx8k3u9c3Tu3FmcPHmCFhYWqNPp4MSJE1hZWcHc3Bw2NjbgOA4nSRKDKE3TdCfP8/tElGRZVpFlBEdARMQEiBZVURQCEJgZeZ7D932MRiMzMzODJEk+6na7D8Pw4k+ttR84jnNWKQWj9dhwAiklaLVaWFlZwfLyMh1VHpXCcRycPXsW58+fx/T0NG1ubtrxfQb7+/uPnz17tsXMDwDsOiJimLlEZJgZzBxYa1UURQUAGGMgItRsNmCMIQA4c+YMms0mrS9Offf+/fu/jeP4X1NTU+9Yazul52utSURQSoGI4DgOlpeXCcBRnSClFBYWFnDjxg0qigLGGGitKQgCFZH/xcrKyneMMbDWKgACwDjGmKIoClAFrTWPbSqDOI6R5zlqtRqICGma/kBEYIxBFEXfr9VqV5NkmDrOpOpTPNHjr2k/YL2Znz3eL2JnZmYAAHmeo9VqcRAEtLW1BWvtRwB+DYAcInILY9LiMDNUURTG9/3xVVkGpZVzLMuytN/vP261WnAch9vtNnwfRZbln25smFjrIdqt8z9sND68ND2t32q1GuXVnSrvmKZDpGn6NE3TFACCIECWZUjTdLyBZVma5zlcX1//bGdn51etVmu71WqVDy6MsYwcZiRaa8Vaj6IoKp7jtdYoimK70+mc9TzPdfgpXlBa27VabVcpNSeisASDcy6NMXnZ+bnWWq21RZZlKIoCSZJsM/O/wzAshsOhBkCu6yJN0w+LotgWEfJcl7K8gDFZXl5wkiRFURSaMSYA5HkOx3EYAKIo+l2SJMjzHEQEIgqttdvW2sdJkmwPBgOICNVqNSRJ8ttOp7ObZdnfnXl77Zdf+T4ajYbeGI7SZI9rtVWxdkCuuyppdkBK7Vf7JHsvEq3SOHcGcE8/yYYbjuNsW2v/aIwZAaDxPRFJlmX3rbXGcRx0Oh3s7e3BWjvd7XbDa0sv+Ln+heu6ZIzB0Z2VpwV2d3dBRBgOh/B9H9ZapGmKyliMK2dnZ4cGg8EzAM5RsZxSKrPWNgCciOP4N1EU/dzzPOq0W7h27RpazeY/pqen/9jtdk8updnSB+G95+Pv3Og0m+b8lUnN/wcivXv37ng00FoXzCxElFtrNYBAKZVaa8dV5fs+tdvtLQE+McaYoigYAPf7fWRZxvV6HWmatj2Pv5Xn5onpTm1rNEr/leXDJ1lB947Vk9txnP8yvn+n3+vvHKF1z1rbY+awvCsiUlhrS5QmETEAeJ7H9Xr9ThzHz6y1ZYoWIgJrbaGUwsHBwUoU+VNJMmp2G42Pun3cD4P04Bfp6Md/3dqLPo6j+PZe/CxWfn6wuN///fzc/N0fX3SzL0tQ/98iooyIQCklkwg2AAgzoyiKsI/8i51OZxCAZFlmXdftl3cdhyUnCE8+rMDz6A9pml6jTwsGKX4yEUgKrA0A8KtY4xVLxC9pPOcVIzLegwQAMmttI4qi/Z2dHeR5PiEiWutS2RtJkhyMgxJNzz3+ZIY/D8Kf0w2aRBXPOeKc95tZfnyudqX33WwG9BXv9JcDFoCIiBhjAsdxTJIkYK2FiFRKKUdE4DgOrLUeAPfLTvevIiLwPOQDwPNAlvlXPvqfTLGBKEJVtR/AlwMWALTWIqUjzHx4XqjKmYiKPM/XADz6qokQEfjLAosoAlEHzGd5yP1P5Yg5YIwkJ+Ry1bI/pM0vmBpTVZlDTPtq1Fqf7JJYazmKIuR5DmNM2W6PZxulFJg5q8qfRQRKKdJak+u6ElSzeYlmlFJijGHXdVFxVJSmKZIkIWMMHMdBvV5HGIYQkbLakiRJNMbUpPx+LdwpqrD8a+tI9SXrPwHt6TNRvZCHAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  background-size: 200px;
  opacity: var(--crt-noise-alpha);
  animation: noise 0.5s steps(2) infinite;
  mix-blend-mode: overlay;
}
}
.console-input {
 
  background-color: var(--terminal-bg);
.navbar .nav-link:hover,
  padding: 10px 15px;
.navbar-light .navbar-nav .nav-link:hover {
  display: flex;
    color: rgb(var(--hover-link-color)) !important;
  align-items: center;
    background-color: rgba(var(--xp-blue), 0.1) !important;
  border: 1px solid rgba(0, 255, 100, 0.5);
}
}


.console-prompt {
/* 下拉菜单 */
  color: rgba(0, 255, 100, 0.9);
.dropdown-menu {
  margin-right: 10px;
    background-color: rgb(var(--xp-window-bg)) !important;
  font-family: var(--pixel-font-12);
    border: 1px solid rgb(var(--xp-window-border)) !important;
  font-weight: bold;
    box-shadow: var(--window-shadow) !important;
  animation: console-blink 1s infinite;
    border-radius: 0 !important;
}
}


.console-command {
.dropdown-item {
  background: transparent;
    color: rgb(var(--link-color)) !important;
  border: none;
    font-family: var(--body-font) !important;
  color: rgba(0, 255, 100, 0.9);
  font-family: var(--pixel-font-12);
  font-size: 16px;
  width: 100%;
  outline: none;
}
}


.console-command::placeholder {
.dropdown-item:hover {
  color: rgba(0, 255, 100, 0.4);
    background-color: rgba(var(--xp-blue), 0.1) !important;
    color: rgb(var(--hover-link-color)) !important;
}
}
/* CRT扫描线效果 - 更逼真 */
 
/* 1. 主扫描线 - 明显且速度和密度适中的扫描线 */
/* 侧边栏 */
.crt-primary-scanline {
#mw-navigation, #mw-panel, .sidebar {
  content: "";
    background-color: rgb(var(--xp-window-bg)) !important;
  display: var(--crt-effects-display);
     border: 2px solid rgb(var(--xp-window-border)) !important;
  position: fixed;
     box-shadow: var(--window-shadow) !important;
  top: 0;
     border-radius: 0 !important;
  left: 0;
  width: 100%;
  height: 9px; /* 主扫描线较宽 */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, var(--crt-primary-scanline-alpha)) 40%,
     rgba(0, 0, 0, calc(var(--crt-primary-scanline-alpha) * 1.5)) 50%,
     rgba(0, 0, 0, var(--crt-primary-scanline-alpha)) 60%,
     transparent 100%
  );
  pointer-events: none;
  z-index: 9995;
  opacity: 0.85;
  animation: primary-scanline 8s linear infinite;
}
}


/* 2. 副扫描线 - 持续存在的细小扫描线纹理 */
#mw-navigation h2, #mw-panel h3, .sidebar h3 {
.crt-secondary-scanline {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light))) !important;
  content: "";
     color: rgb(var(--white-monochrome)) !important;
  display: var(--crt-effects-display);
    font-family: var(--header-font) !important;
  position: fixed;
    border-bottom: 1px solid rgb(var(--xp-window-border)) !important;
  top: 0;
    padding: 5px 10px !important;
  left: 0;
    text-shadow: var(--text-shadow) !important;
  width: 100%;
    position: relative !important;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, var(--crt-secondary-scanline-alpha)) 4px,
     rgba(0, 0, 0, var(--crt-secondary-scanline-alpha)) 4px
  );
  background-size: 100% 8px;
  pointer-events: none;
  z-index: 9994;
  opacity: 0.7;
}
}


/* 3. 快速扫描线 - 闪烁通过的亮条 */
/* 工具栏 */
.crt-fast-scanline {
#p-tb, .tools-menu {
  content: "";
    background-color: rgb(var(--xp-window-bg)) !important;
  display: var(--crt-effects-display);
    border: 2px solid rgb(var(--xp-window-border)) !important;
  position: fixed;
    box-shadow: var(--window-shadow) !important;
  top: 0;
    border-radius: 0 !important;
  left: 0;
  width: 100%;
  height: 2px; /* 快速扫描线很窄 */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 9996;
  opacity: 0;
  animation: fast-scanline 4s cubic-bezier(0.15, 0.85, 0.5, 1) infinite;
}
}


/* 额外扫描线阴影 - 增强3D效果 */
/* 内容区域 */
.crt-scanline-shadow {
#content, .mw-body {
  content: "";
    background-color: rgb(var(--xp-window-bg)) !important;
  display: var(--crt-effects-display);
    border: 2px solid rgb(var(--xp-window-border)) !important;
  position: fixed;
     box-shadow: var(--window-shadow) !important;
  top: 0;
    border-radius: 0 !important;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9992;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.01) 0%,
    rgba(0, 0, 0, 0.05) 50%,
     rgba(0, 0, 0, 0.01) 100%
  );
  opacity: 0.4;
}
}


/* 标题样式 - 更精致的复古科幻风格 */
/* 页脚 */
h1, h2, h3, h4, h5, h6 {
#footer, .footer {
  font-family: var(--title-font);
    background-color: rgb(var(--xp-window-bg)) !important;
  font-size: calc(var(--base-font-size) * var(--title-scale));
    border: 2px solid rgb(var(--xp-window-border)) !important;
  font-weight: normal;
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
  text-shadow: var(--crt-text-shadow),
    color: rgb(var(--xp-text)) !important;
              0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: var(--window-shadow) !important;
  letter-spacing: 0.03em;
    border-radius: 0 !important;
  position: relative;
    margin: 10px auto !important;
  margin-top: 1.8em;
    padding: 10px !important;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #111;
  line-height: 1.5;
  animation: micro-flicker 2s infinite alternate ease-in-out;
}
}


/* 标题光效底层 */
/* 搜索框 */
h1::after, h2::after, h3::after {  
#searchInput, .form-control {
  content: "";
    background-color: white !important;
  position: absolute;
    border: 1px solid #7f9db9 !important;
  bottom: -1px;
    color: rgb(var(--xp-text)) !important;
  left: 0;
     font-family: var(--body-font) !important;
  width: 100%;
     padding: 3px 5px !important;
  height: 1px;
  background: linear-gradient(
    to right,
     var(--crt-glow-color),
     transparent 90%
  );
}
}


/* 标题装饰线 */
/* 按钮 */
h1::before, h2::before {
.btn, .mw-ui-button {
  content: "";
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0) !important;
  position: absolute;
    border: 1px solid #ababab !important;
  bottom: -2px;
    color: black !important;
  left: 0;
    font-family: var(--body-font) !important;
  width: 30px;
    padding: 3px 8px !important;
  height: 3px;
     border-radius: 0 !important;
  background: linear-gradient(
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    to right,
    rgba(0, 255, 100, 0.8),
     transparent
  );
  border-radius: 2px;
  box-shadow: 0 0 8px var(--crt-glow-color);
}
}


body h1 {
.btn:hover, .mw-ui-button:hover {
  font-size: calc(var(--base-font-size) * 1.7);
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
  text-transform: uppercase;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
  padding-left: 14px;
  border-left: 3px solid var(--crt-glow-color);
  box-shadow: -3px 0 8px rgba(0, 255, 100, 0.2);
  letter-spacing: 0.05em;
}
}


h2 {  
/* 表格 */
  font-size: calc(var(--base-font-size) * 1.5);  
.wikitable, table.wikitable {
  padding-left: 6px;
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: var(--window-shadow) !important;
}
}


h3 {  
.wikitable th {
  font-size: calc(var(--base-font-size) * 1.3);  
    background: linear-gradient(to bottom, #e3e3e3, #d0d0d0) !important;
  border-bottom-style: dashed;
    border: 1px solid #ababab !important;
  border-bottom-width: 1px;
    color: black !important;
    padding: 5px !important;
}
}


h4 {  
.wikitable td {
  font-size: calc(var(--base-font-size) * 1.2);  
    border: 1px solid #ababab !important;
  border-bottom: none;
    background-color: white !important;
  border-left: 2px solid rgba(0, 255, 100, 0.4);
    color: black !important;
  padding-left: 6px;
    padding: 5px !important;
}
}


h5, h6 {  
/* 代码块和预格式文本 */
  font-size: calc(var(--base-font-size) * 1.1);  
pre, code, .mw-code {
  border-bottom: none;
    background-color: white !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--mono-font) !important;
    padding: 5px !important;
}
}


/* 链接样式 - 更精致的复古科幻风格 */
/* 链接颜色 */
a {
a {
  color: var(--link-color);
    color: rgb(var(--link-color)) !important;
  text-decoration: none;
}
  position: relative;
 
  transition: all 0.25s ease;
a:visited {
  padding: 1px 3px;
    color: rgb(var(--visited-link-color)) !important;
  border-radius: 2px;
  text-shadow: 0 0 3px rgba(0, 100, 255, 0.15);
  font-family: var(--pixel-font-16);
}
}


/* 链接悬停效果 */
a:hover {
a:hover {
  color: var(--link-color-active);
    color: rgb(var(--hover-link-color)) !important;
  background-color: rgba(250, 167, 0, 0.1);
    text-decoration: underline !important;
  text-shadow: 0 0 var(--crt-glow-radius) rgba(250, 167, 0, 0.4);
}
  transform: translateY(-1px);
 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
/* 扫描线动画 - 修改为半透明灰色 */
.scan-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}
 
/* 主扫描线 - 较宽较慢 */
.scan-animation::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(128, 128, 128, 0) 0%,
        rgba(128, 128, 128, 0.1) 20%,
        rgba(128, 128, 128, 0.2) 50%,
        rgba(128, 128, 128, 0.1) 80%,
        rgba(128, 128, 128, 0) 100%
    );
    box-shadow:  
        0 0 8px rgba(128, 128, 128, 0.15),
        0 0 15px rgba(128, 128, 128, 0.1);
    animation: scanMain 12s linear infinite;
    opacity: 0.4;
}
 
/* 副扫描线 - 中等速度 */
.scan-animation::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(128, 128, 128, 0) 0%,
        rgba(128, 128, 128, 0.3) 50%,
        rgba(128, 128, 128, 0) 100%
    );
    box-shadow: 0 0 6px rgba(128, 128, 128, 0.2);
    animation: scanSecondary 7s linear infinite;
    animation-delay: -3s;
    opacity: 0.25;
}
 
/* 快速扫描线 - 细小快速 */
.scan-animation .fast-scan {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    background: rgba(128, 128, 128, 0.6);
    box-shadow: 0 0 3px rgba(128, 128, 128, 0.3);
    animation: scanFast 3s linear infinite;
    animation-delay: -1.5s;
    opacity: 0.15;
}
 
/* 各个扫描线的动画 */
@keyframes scanMain {
    0% {
        top: -2rem;
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        top: 100vh;
        opacity: 0.6;
    }
}
 
@keyframes scanSecondary {
    0% {
        top: -1rem;
        opacity: 0.4;
    }
    35% {
        opacity: 0.2;
    }
    70% {
        opacity: 0.5;
    }
    100% {
        top: 100vh;
        opacity: 0.4;
    }
}
}


/* 链接点击效果 */
@keyframes scanFast {
a:active {
    0% {
  transform: translateY(0);
        top: -0.3rem;
  box-shadow: none;
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        top: 100vh;
        opacity: 0.3;
    }
}
}


/* 标记链接是可交互的 - 添加小图标 */
/* 保留原始的淡入效果 */
a[href]:not(.mw-selflink)::before {
@keyframes fadeIn {
  content: '>';
    from {
  display: inline-block;
        opacity: 0;
  margin-right: 3px;
        transform: translateY(20px);
  font-size: 0.8em;
    }
  opacity: 0.6;
    to {
  transition: all 0.2s ease;
        opacity: 1;
        transform: translateY(0);
    }
}
}


a[href]:not(.mw-selflink):hover::before {
/* 应用动画到内容 */
  opacity: 1;
.mw-parser-output > * {
  transform: translateX(1px);
    animation: fadeIn 0.5s ease-out forwards;
  animation: console-blink 1s infinite;
    opacity: 0;
}
}


/* 红色链接样式 */
/* 延迟动画 */
a.new {
.mw-parser-output > *:nth-child(1) { animation-delay: 0.1s; }
  color: #ba0000;
.mw-parser-output > *:nth-child(2) { animation-delay: 0.2s; }
  text-shadow: 0 0 3px rgba(186, 0, 0, 0.2);
.mw-parser-output > *:nth-child(3) { animation-delay: 0.3s; }
.mw-parser-output > *:nth-child(4) { animation-delay: 0.4s; }
.mw-parser-output > *:nth-child(5) { animation-delay: 0.5s; }
.mw-parser-output > *:nth-child(n+6) { animation-delay: 0.6s; }
 
/* 修复代码区域样式 */
.mw-highlight pre {
    background-color: white !important;
    border: 1px solid #ababab !important;
    padding: 1em !important;
    overflow: auto !important;
}
}


a.new:hover {
/* 语法高亮颜色 - 保持原有值 */
  background-color: rgba(186, 0, 0, 0.1);
.mw-highlight .k { color: #0000AA !important; } /* 关键字 */
  text-shadow: 0 0 var(--crt-glow-radius) rgba(186, 0, 0, 0.4);
.mw-highlight .s { color: #006600 !important; } /* 字符串 */
.mw-highlight .c { color: #666666 !important; } /* 注释 */
.mw-highlight .n { color: #000000 !important; } /* 名称 */
.mw-highlight .o { color: #000000 !important; } /* 运算符 */
 
/* 引用样式 - Windows XP风格 */
.lightstyled-quote, .darkstyled-quote {
    background-color: rgb(var(--xp-window-bg));
    color: rgb(var(--xp-text));
    border: 1px solid #ababab;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border-left: 4px solid rgb(var(--xp-blue));
    position: relative;
}
}


/* 外部链接样式 */
.lightstyled-quote::before, .darkstyled-quote::before {
a.external {
    content: "Information";
  border-bottom: 1px dotted rgba(6, 69, 173, 0.3);
    position: absolute;
    top: -22px;
    left: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 2px 10px;
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: var(--text-shadow);
}
}


a.external::after {
/* 块样式 - Windows XP风格 */
  content: "⎋";
.lightblock, .darkblock {
  font-size: 0.8em;
    background-color: rgb(var(--xp-window-bg));
  margin-left: 3px;
    color: rgb(var(--xp-text));
  opacity: 0.7;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 10px;
    margin: 10px 0;
    position: relative;
    border-radius: 0;
}
}


a.external:hover::after {
.lightblock::before, .darkblock::before {
  opacity: 1;
    content: "Message";
  transform: translateY(-1px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-align: left;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}
}


/* Infobox样式 - 更精致的复古科幻风格 */
.lightblock::after, .darkblock::after {
.notaninfobox {
    content: "×";
  position: relative;
    position: absolute;
  clear: right;
    top: 2px;
  margin: 0 0 1em 1em;
    right: 5px;
  width: 350px;
    width: 16px;
  font-size: calc(var(--base-font-size) * 0.9);
    height: 16px;
  font-family: var(--small-font);
    background-color: #ff6347;
  background-color: rgba(248, 249, 250, 0.95);
    border: 1px solid rgb(var(--xp-window-border));
  float: right;
    text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
    line-height: 16px;
  padding: 0;
    font-size: 12px;
  overflow: auto;
    color: white;
  z-index: 1;
     cursor: pointer;
  overflow-wrap: anywhere;
    z-index: 1;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.1),
     inset 0 0 10px rgba(0, 255, 100, 0.04);
  animation: flicker 80s infinite alternate;
  border-radius: 3px;
}
}


/* Infobox标题 */
/* 保留黑幕效果 - 行826-947 */
.notaninfobox > .infobox-title {
.heimu,
  font-family: var(--title-font);
.heimu rt{
  font-weight: normal;
    --heimu-color:#252525;
  text-align: center;
    --heimu-text-color:#fff;
  font-size: 110%;
    --heimu-link-color:#add8e6;
  background: linear-gradient(to bottom, #d5e5fb, var(--custom-mcwiki-header-color));
    --heimu-visited-link-color:#c5cae9;
  color: #333;
    --heimu-new-link-color:#fcc;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
    --heimu-new-visited-link-color:#ef9a9a;
  padding: 10px 4px;
    --heimu-extiw-visited-link-color:#d1c4e9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
 
  position: relative;
    background-color:var(--heimu-color);
  overflow: hidden;
}
}


/* 给标题添加光泽效果 */
.heimu,
.notaninfobox > .infobox-title::after {
.heimu a,
  content: "";
a .heimu,
  position: absolute;
a.new .heimu,
  top: 0;
span.heimu a:visited,
  left: -150%;
span.heimu a.new,
  width: 150%;
span.heimu a.external,
  height: 100%;
span.heimu a.external:visited,
  background: linear-gradient(
span.heimu a.extiw,
    to right,
span.heimu a.extiw:visited,
    transparent 0%,
span.heimu a.mw-disambig,
    rgba(255, 255, 255, 0) 0%,
span.heimu a.mw-redirect{
     rgba(255, 255, 255, 0.4) 50%,
     transition:color 0.13s linear;
     rgba(255, 255, 255, 0) 100%
     color:var(--heimu-color);
  );
    text-shadow:none;
  transform: rotate(35deg);
  animation: shine 6s infinite;
}
}


/* Infobox标签样式 */
span.heimu:hover,
.notaninfobox .infobox-row .infobox-row-label {
span.heimu:active{
  font-family: var(--UI-font);
    color:var(--heimu-text-color);
  font-weight: 600;
  color: #444;
  text-shadow: none;
  letter-spacing: 0.03em;
  padding: 5px 8px;
  background-color: rgba(0, 0, 0, 0.03);
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}
}


/* Infobox内容样式 */
span.heimu:hover a,
.notaninfobox .infobox-row .infobox-row-value {
a:hover span.heimu{
  padding: 5px 8px;
    color:var(--heimu-link-color);
  line-height: 1.4;
}
}


/* Infobox行交替背景 */
span.heimu:hover a:visited,
.notaninfobox .infobox-row:nth-child(even) {
a:visited:hover span.heimu{
  background-color: rgba(0, 0, 0, 0.02);
    color:var(--heimu-visited-link-color);
}
}


/* Infobox行悬停效果 */
span.heimu:hover a.new,
.notaninfobox .infobox-row:hover {
a.new:hover span.heimu{
  background-color: rgba(0, 255, 100, 0.03);
    color:var(--heimu-new-link-color);
}
}


/* 表格样式 - 更精致的复古科幻风格 */
span.heimu a.new:hover:visited,
table {
a.new:hover:visited span.heimu{
  border: 1px solid #ccc;
    color:var(--heimu-new-visited-link-color);
  background-color: rgba(248, 249, 250, 0.95);
  box-shadow:  
    var(--box-depth),
    inset 0 0 15px rgba(240, 240, 240, 0.8);
  border-radius: 3px;
  margin: 1.2em 0;
  font-family: var(--pixel-font-12);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden; /* 使圆角边框生效 */
}
}


/* 表格标题 */
span.heimu:hover a.extiw:visited,
table caption {
a.extiw:visited:hover span.heimu{
  font-family: var(--title-font);
    color:var(--heimu-extiw-visited-link-color);
  font-size: calc(var(--base-font-size) * 1.05);
}
  padding: 10px;
[color-mode="dark"] .heimu,
  font-weight: normal;
[color-mode="dark"] .heimu rt{
  text-shadow: var(--crt-text-shadow);
    --heimu-color:#5e6272;
  margin-bottom: 5px;
  color: #333;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}
}


/* 表头样式 */
/* 保留彩幕效果 - 行1778-1838 */
table th {
.colormu-drk {
  background: linear-gradient(to bottom, #f8f9fa, var(--custom-table-header-background));
color: #FFF;
  color: #333;
}
  font-family: var(--title-font);
.colormu-bri {
  font-weight: normal;
color: #000;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
}
  padding: 12px 14px;
.colormu-drk:not(.colormu_toggle_on) a {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
color: #add8e6;
  position: relative;
}
.colormu-drk:not(.colormu_toggle_on) a.new {
color: #FCC;
}
.colormu>span, .colormu a, .colormu a>span {
transition: color 0.2s;
}
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
color: transparent;
}
/* for T:Coloredlink in T:彩幕 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
color: transparent !important;
}
/* for T:彩幕 in link */
a .colormu-bri {
color: inherit;
}
a:hover .colormu>span, a:active .colormu>span,
/* and for MediaWiki:Gadget-heimu-toggle.js */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
color: inherit !important;
}
}


/* 表头装饰效果 */
/* 橙幕效果 - 修改为Windows XP样式 */
table th::after {
.blackmu,
  content: "";
.blackmu rt {
  position: absolute;
    --blackmu-color: var(--xp-blue);
  bottom: 0;
    --blackmu-text-color: 255, 255, 255;
  left: 0;
    --blackmu-link-color: 173, 216, 230;
  width: 100%;
    --blackmu-visited-link-color: 197, 202, 233;
  height: 1px;
    --blackmu-new-link-color: 255, 204, 204;
  background: linear-gradient(
    --blackmu-new-visited-link-color: 239, 154, 154;
     to right,
    --blackmu-extiw-visited-link-color: 209, 196, 233;
     rgba(255, 255, 255, 0.5),
      
    transparent
     background-color: rgb(var(--blackmu-color));
  );
}
}


/* 表格单元格 */
.blackmu,
table td, table th {
.blackmu a,
  border: 1px solid #e0e0e0;
a .blackmu,
  padding: 8px 12px;
a.new .blackmu,
  transition: all 0.2s ease;
span.blackmu a:visited,
  font-size: calc(var(--base-font-size) * 0.95);
span.blackmu a.new,
span.blackmu a.external,
span.blackmu a.external:visited,
span.blackmu a.extiw,
span.blackmu a.extiw:visited,
span.blackmu a.mw-disambig,
span.blackmu a.mw-redirect {
    transition: color 0.13s linear;
    color: rgb(var(--blackmu-color));
    text-shadow: none;
}
}


/* 表格交替行 */
span.blackmu:hover,
table tr:nth-child(even) td {
span.blackmu:active {
  background-color: rgba(240, 241, 242, 0.7);
    color: rgb(var(--blackmu-text-color));
}
}


/* 表格行悬停效果 */
span.blackmu:hover a,
table tr:hover td {
a:hover span.blackmu {
  background-color: rgba(0, 255, 100, 0.08);
    color: rgb(var(--blackmu-link-color));
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
}
}


/* 代码样式 - 更精致的复古科幻风格 */
/* 保留特效库代码 - 行949-1777 */
pre, code {
/*
  font-family: var(--pixel-font-12);
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
  font-size: calc(var(--base-font-size) * var(--code-scale));
请使用hovers在页面中进行载入。
  background-color: rgba(232, 232, 232, 0.8);
*/
  border: 1px solid #d0d0d0;
 
  padding: 0.3em 0.5em;
/* hover状态切换 */
  text-shadow: none;
.hover-change,
  border-radius: 3px;
.hover-remote {
  color: #1a1a1a;
   position: relative;
   position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}
}


/* 代码块样式 */
.hover-change-before,
pre {
.hover-change-after,
  padding: 1em 1em 1em 3.5em; /* 左侧留出行号空间 */
.hover-remote-target {
  overflow-x: auto;
   transition: inherit;
  background-color: rgba(228, 230, 232, 0.9);
  box-shadow:
    inset 0 1px 4px rgba(0,0,0,0.15),
    0 1px 0 rgba(255,255,255,0.7);
  counter-reset: line;
   margin: 1.5em 0;
  position: relative;
  border-left: 3px solid rgba(0, 200, 100, 0.3);
}
}


/* 代码块背景 - 终端风格 */
.hover-change-after,
pre::before {
.hover-remote-target {
   content: "";
   opacity: 0;
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
  width: 100%;
}
  height: 100%;
.hover-remote-target {
  background:
   left: 100%;
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 19px,
      rgba(0, 0, 0, 0.05) 19px,
      rgba(0, 0, 0, 0.05) 20px
    );
   pointer-events: none;
}
}


/* 代码行号 */
.hover-change-after[style^='right:'],
pre code {
.hover-change-after[style*=' right:'],
  display: block;
.hover-remote-after[style^='right:'],
  position: relative;
.hover-remote-after[style*=' right:'] {
  background: transparent;
   left: initial;
  border: none;
  box-shadow: none;
  padding: 0;
   counter-increment: line;
}
}


pre code::before {
.hover-change-after[style^='bottom:'],
  content: counter(line);
.hover-change-after[style*=' bottom:'],
  display: inline-block;
.hover-remote-after[style^='bottom:'],
  width: 2em;
.hover-remote-after[style*=' bottom:'] {
  margin-right: 1em;
   top: initial;
  margin-left: -3em;
  color: #888;
  text-align: right;
  user-select: none;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
   padding-right: 0.5em;
}
}


/* 内联代码 */
.hover-change-after:hover,
p code, li code, td code {
.hover-remote-target {
   padding: 0.15em 0.4em;
   opacity: 0;
   margin: 0 0.2em;
   margin-left: -9999px;
  background-color: rgba(220, 220, 220, 0.5);
  border: 1px solid #d8d8d8;
  white-space: nowrap;
}
}


/* 控制台输出样式 */
/* 主要用于制作hover形式的标签页(tab)切换 */
.console-output {
.hover-tab-mode {
  background-color: var(--terminal-bg);
  color: var(--console-text-color);
  font-family: var(--pixel-font-12);
  padding: 12px;
  margin: 1em 0;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
   position: relative;
   position: relative;
   overflow: hidden;
   transition: none;
}
.hover-tab-mode .hover-remote {
  transition: inherit;
  position: static;
}
 
/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}
 
.hover-change:hover > .hover-change-before,
.hover-remote > .hover-remote-target,
.hover-change:hover > a > .hover-change-before,
.hover-remote > a > .hover-remote-target {
  opacity: 0;
}
}


/* 控制台头部 */
.hover-change:hover > .hover-change-after,
.console-output::before {
.hover-remote:hover > .hover-remote-target,
  content: "> terminal";
.hover-change:hover > a > .hover-change-after,
  display: block;
.hover-remote:hover > a > .hover-remote-target {
  color: rgba(255, 255, 255, 0.5);
   opacity: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   margin-left: initial;
   padding-bottom: 5px;
   margin-bottom: 8px;
  font-size: 0.9em;
}
}


/* 控制台指示器闪烁 */
/* 基类 */
.console-indicator {
[class*='hovers-'] {
   display: inline-block;
   display: inline-block;
   width: 0.8em;
   box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  height: 1em;
   transform: perspective(1px) translateZ(0);
   background-color: var(--console-indicator-color);
  margin-left: 0.2em;
   vertical-align: middle;
   vertical-align: middle;
   animation: console-blink 1s infinite;
   transition-duration: 0.25s;
  transition-property: all;
}
}


/* 确保文本内容清晰可读 */
/* 旋转放大 */
p, li, td, th, figcaption, blockquote, cite {
.hovers-rotate-shrink {
   font-family: var(--body-font);
  transition-duration: 0.5s;
   line-height: 1.65;
  transform: rotate(0) scale(0.75);
   letter-spacing: 0.01em;
}
   position: relative;
.hovers-rotate-shrink:hover {
   text-shadow: var(--crt-text-shadow);
  transform: rotate(360deg) scale(1);
}
 
.hovers-rotate-shrink-reverse {
  transition-duration: 0.5s;
  transform: rotate(360deg) scale(0.75);
}
 
.hovers-rotate-shrink-reverse:hover {
  transform: rotate(0) scale(1);
}
 
/* 旋转 */
.hovers-rotate,
.hovers-rotate-reverse:hover {
  transition-duration: 0.5s;
  transform: rotate(0);
}
 
.hovers-rotate-reverse,
.hovers-rotate:hover {
  transition-duration: 0.5s;
  transform: rotate(360deg);
}
 
/* 正常 => 浅 */
.hovers-fade-deep,
.hovers-fade,
.hovers-fade-shallow {
  opacity: 1;
}
.hovers-fade-deep:hover,
.hovers-fade-deep.active {
  opacity: 0.35;
}
.hovers-fade:hover,
.hovers-fade.active {
   opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}
 
/* 浅 => 正常 */
.hovers-bloom-deep {
  opacity: 0.35;
}
.hovers-bloom {
  opacity: 0.5;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}
 
.hovers-bloom-deep:hover,
.hovers-bloom-deep.active,
.hovers-bloom:hover,
.hovers-bloom.active,
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
  opacity: 1;
}
 
/* 正常 => 大 */
.hovers-grow-deep,
.hovers-grow,
.hovers-grow-shallow {
  transform: scale(1);
}
.hovers-grow-deep:hover,
.hovers-grow-deep.active {
  transform: scale(1.5);
}
.hovers-grow:hover,
.hovers-grow.active {
   transform: scale(1.25);
}
.hovers-grow-shallow:hover,
.hovers-grow-shallow.active {
  transform: scale(1.1);
}
 
/* 正常 => 小 */
.hovers-shrink-deep:hover,
.hovers-shrink-deep.active,
.hovers-shrink:hover,
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
  transform: scale(1);
}
.hovers-shrink-deep {
  transform: scale(0.5);
}
.hovers-shrink {
  transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}
 
/* 左右抖动 */
@keyframes shake-flexible {
   25% {
    transform: translateX(-0.0625em);
  }
 
  50% {
    transform: translateX(0.0625em);
   }
 
  75% {
    transform: translateX(-0.0625em);
   }
}
 
.hovers-shake-flexible:hover,
.hovers-shake-flexible.active {
  animation: shake-flexible 0.5s ease-out;
}
 
@keyframes shake {
  25% {
    transform: translateX(-8px);
  }
 
  50% {
    transform: translateX(8px);
  }
 
  75% {
    transform: translateX(-8px);
  }
}
 
.hovers-shake:hover,
.hovers-shake.active {
  animation: shake 0.5s ease-out;
}
 
/* 上下抖动 */
@keyframes bounce-flexible {
  25% {
    transform: translateY(-0.0625em);
  }
 
  50% {
    transform: translateY(0.0625em);
  }
 
  75% {
    transform: translateY(-0.0625em);
  }
}
}


/* 小字体元素 */
.hovers-bounce-flexible:hover,
.small, small, .text-small, figcaption, .caption, .info, .note {
.hovers-bounce-flexible.active {
   font-family: var(--small-font);
   animation: bounce-flexible 0.5s ease-out;
  font-size: var(--small-font-size);
}
}


/* 注释、提示和警告样式 */
@keyframes bounce {
.note, .info, .warning, .tip {
  25% {
    transform: translateY(-8px);
  }
 
  50% {
    transform: translateY(8px);
  }
 
  75% {
    transform: translateY(-8px);
  }
}
 
.hovers-bounce:hover,
.hovers-bounce.active {
   position: relative;
   position: relative;
   margin: 1.5em 0;
   left: 0;
   padding: 1em 1em 1em 3em;
   animation: bounce 0.5s ease-out;
   border-radius: 3px;
}
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 
   font-family: var(--small-font);
/* 绕顶端中点抖动 */
@keyframes swing {
   20% {
    transform: rotate3d(0, 0, 1, 10deg);
   }
 
  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }
 
  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }
 
  80% {
    transform: rotate3d(0, 0, 1, -5deg);
   }
 
  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
}


.note::before, .info::before, .warning::before, .tip::before {
.hovers-swing {
   position: absolute;
   transform-origin: top center;
  left: 0.8em;
}
  top: 50%;
.hovers-swing:hover,
  transform: translateY(-50%);
.hovers-swing.active {
  font-size: 1.5em;
   animation: swing 0.75s ease-out;
   opacity: 0.8;
}
}


/* 注释样式 */
/* 正常 => 大 */
.note {
@keyframes pulse-grow {
   background-color: rgba(230, 230, 250, 0.4);
   to {
   border-left: 3px solid #99c;
    transform: scale(1.1);
   }
}
}


.note::before {
.hovers-pulse-grow:hover,
   content: "※";
.hovers-pulse-grow.active {
  color: #99c;
   animation: pulse-grow 0.5s linear infinite alternate;
}
}


/* 信息样式 */
/* 正常 => 小 */
.info {
@keyframes pulse-shrink {
   background-color: rgba(220, 237, 255, 0.4);
   to {
   border-left: 3px solid #69c;
    transform: scale(0.9);
   }
}
}


.info::before {
.hovers-pulse-shrink:hover,
   content: "ℹ";
.hovers-pulse-shrink.active {
  color: #69c;
   animation: pulse-shrink 0.5s linear infinite alternate;
}
}


/* 警告样式 */
/* 正常 => 小 */
.warning {
@keyframes push {
   background-color: rgba(255, 240, 230, 0.4);
   50% {
   border-left: 3px solid #f93;
    transform: scale(0.8);
   }
}
}


.warning::before {
.hovers-push:hover,
   content: "⚠";
.hovers-push.active {
  color: #f93;
   animation: push 0.3s linear;
}
}


/* 提示样式 */
/* 正常 => 大 */
.tip {
@keyframes pop {
   background-color: rgba(230, 250, 230, 0.4);
   50% {
   border-left: 3px solid #6c6;
    transform: scale(1.2);
   }
}
}


.tip::before {
.hovers-pop:hover,
   content: "✓";
.hovers-pop.active {
  color: #6c6;
   animation: pop 0.3s linear;
}
}


/* 图片效果 - 更精致的复古科幻风格 */
/* 正常 => 大 => 正常 => 大 */
img {
.hovers-bounce-in:hover,
  max-width: 100%;
.hovers-bounce-in.active {
  height: auto;
   transform: scale(1.2);
   transition: all 0.3s ease;
   transition-duration: 0.5s;
   border-radius: 3px;
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  border: 1px solid rgba(0, 0, 0, 0.1);
   box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  filter: contrast(1.02) brightness(1.01); /* 轻微增强对比度 */
  position: relative;
}
}


/* 图片悬停效果 */
/* 正常 => 小 => 正常 => 小 */
img:hover {
.hovers-bounce-out:hover,
  box-shadow:
.hovers-bounce-out.active {
    0 3px 8px rgba(0, 0, 0, 0.15),
   transform: scale(0.8);
    0 0 10px var(--crt-glow-color);
   transition-duration: 0.5s;
   transform: scale(1.02) translateY(-2px);
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
   border-color: rgba(0, 255, 100, 0.3);
   filter: contrast(1.05) brightness(1.02);
}
}


/* 图片装饰层 - 模拟CRT显示图片的效果 */
/* 倾斜 */
img::after {
.hovers-tilt:hover,
  content: "";
.hovers-tilt.active {
  position: absolute;
   transition-duration: 0.3s;
  top: 0;
   transform: rotate(4deg);
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 3px,
      rgba(0, 0, 0, 0.03) 4px,
      rgba(0, 0, 0, 0.03) 4px
    );
   pointer-events: none;
   z-index: 1;
}
}


/* 图片标题 */
/* 倾斜 + 放大 */
figcaption {
.hovers-grow-rotate:hover,
  margin-top: 0.5em;
.hovers-grow-rotate.active {
  color: #555;
   transition-duration: 0.3s;
  font-style: italic;
   transform: scale(1.1) rotate(4deg);
   text-align: center;
   max-width: 100%;
}
}


/* 滚动条样式 - 更精致的复古科幻风格 */
/* 升起 */
::-webkit-scrollbar {
.hovers-float:hover,
   width: 14px;
.hovers-float.active {
   height: 14px;
  transition-duration: 0.3s;
   transition-timing-function: ease-out;
   transform: translateY(-8px);
}
}


::-webkit-scrollbar-track {
/* 下沉 */
   background: rgba(0, 0, 0, 0.04);
.hovers-sink:hover,
   border-radius: 0;
.hovers-sink.active {
   box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
   transition-duration: 0.3s;
   transition-timing-function: ease-out;
   transform: translateY(8px);
}
}


::-webkit-scrollbar-thumb {
/* 飘浮 */
   background: repeating-linear-gradient(
@keyframes bob {
    to bottom,
   0% {
    #aaa 0px,
    transform: translateY(-10px);
     #aaa 2px,
  }
    #999 3px,
  50% {
    #999 5px
     transform: translateY(-5px);
  );
   }
   border-radius: 0;
   100% {
   border: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
   }
}
@keyframes bob-float {
  100% {
    transform: translateY(-10px);
  }
}
}


::-webkit-scrollbar-thumb:hover {
.hovers-bob:hover,
   background: repeating-linear-gradient(
.hovers-bob.active {
    to bottom,
   animation-name: bob-float, bob;
    #bbb 0px,
  animation-duration: 0.3s, 1.5s;
    #bbb 2px,
  animation-delay: 0s, 0.3s;
    #aaa 3px,
  animation-timing-function: ease-out, ease-in-out;
    #aaa 5px
  animation-iteration-count: 1, infinite;
   );
  animation-fill-mode: forwards;
   animation-direction: normal, alternate;
}
}


::-webkit-scrollbar-button {
/* 悬挂 */
   background-color: #ddd;
@keyframes hang {
   border: 1px solid #aaa;
   0% {
   border-radius: 0;
    transform: translateY(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
   }
   width: 14px;
   50% {
   height: 14px;
    transform: translateY(5px);
   background-position: center;
   }
   background-repeat: no-repeat;
   100% {
   background-size: 6px;
    transform: translateY(10px);
   }
}
@keyframes hang-sink {
   100% {
    transform: translateY(10px);
   }
}
}


::-webkit-scrollbar-button:vertical:decrement {
.hovers-hang:hover,
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='5,3 8,7 2,7' fill='%23666'/%3E%3C/svg%3E");
.hovers-hang.active {
   animation-name: hang-sink, hang;
  animation-duration: 0.3s, 1.5s;
  animation-delay: 0s, 0.3s;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}
}


::-webkit-scrollbar-button:vertical:increment {
/* 非对称 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='5,7 8,3 2,3' fill='%23666'/%3E%3C/svg%3E");
.hovers-skew:hover,
.hovers-skew.active {
   transform: skew(-10deg);
}
}


::-webkit-scrollbar-button:horizontal:decrement {
/* 非对称-左 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='3,5 7,2 7,8' fill='%23666'/%3E%3C/svg%3E");
.hovers-skew-forward {
   transform-origin: 0 100%;
}
.hovers-skew-forward:hover,
.hovers-skew-forward.active {
  transform: skew(-10deg);
}
}


::-webkit-scrollbar-button:horizontal:increment {
/* 非对称-右 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='7,5 3,2 3,8' fill='%23666'/%3E%3C/svg%3E");
.hovers-skew-backward {
   transform-origin: 0 100%;
}
.hovers-skew-backward:hover,
.hovers-skew-backward.active {
  transform: skew(10deg);
}
}


/* 滚动条拐角 */
/* 垂直抖动 */
::-webkit-scrollbar-corner {
@keyframes wobble-vertical {
   background-color: #eee;
  16.65% {
   border: 1px solid #ccc;
    transform: translateY(8px);
  }
  33.3% {
    transform: translateY(-6px);
  }
  49.95% {
    transform: translateY(4px);
  }
   66.6% {
    transform: translateY(-2px);
  }
  83.25% {
    transform: translateY(1px);
   }
  100% {
    transform: translateY(0);
  }
}
}


/* 引用块样式 - 更精致的复古科幻风格 */
.hovers-wobble-vertical:hover,
blockquote {
.hovers-wobble-vertical.active {
  border-left: 3px solid var(--crt-glow-color);
   animation-name: wobble-vertical;
  margin: 1.2em 0;
   animation-duration: 1s;
   padding: 0.8em 1.2em;
   animation-timing-function: ease-in-out;
   background: rgba(240, 240, 240, 0.5);
   animation-iteration-count: 1;
   position: relative;
  font-family: var(--body-font);
   box-shadow:
    inset 0 0 15px rgba(0, 255, 100, 0.03),
    1px 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 0 3px 3px 0;
}
}


blockquote::before {
/* 水平抖动 */
   content: """;
@keyframes wobble-horizontal {
   position: absolute;
  16.65% {
   top: 0;
    transform: translateX(8px);
   left: 10px;
  }
   font-size: 2em;
  33.3% {
   color: rgba(0, 0, 0, 0.1);
    transform: translateX(-6px);
   font-family: serif;
  }
  49.95% {
    transform: translateX(4px);
  }
   66.6% {
    transform: translateX(-2px);
   }
  83.25% {
    transform: translateX(1px);
   }
  100% {
    transform: translateX(0);
   }
}
.hovers-wobble-horizontal:hover,
.hovers-wobble-horizontal.active {
  animation-name: wobble-horizontal;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


blockquote p:first-child {
/* 右下弹回 */
   margin-top: 0;
@keyframes wobble-to-bottom-right {
  16.65% {
    transform: translate(8px, 8px);
  }
  33.3% {
    transform: translate(-6px, -6px);
  }
  49.95% {
    transform: translate(4px, 4px);
  }
   66.6% {
    transform: translate(-2px, -2px);
  }
  83.25% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0, 0);
  }
}
}


blockquote p:last-child {
.hovers-wobble-to-bottom-right:hover,
   margin-bottom: 0;
.hovers-wobble-to-bottom-right.active {
   animation-name: wobble-to-bottom-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


/* 引用源 */
/* 右上弹回 */
cite {
@keyframes wobble-to-top-right {
   display: block;
   16.65% {
   margin-top: 0.5em;
    transform: translate(8px, -8px)
   color: #666;
  }
   font-size: 0.9em;
  33.3% {
   font-style: italic;
    transform: translate(-6px, 6px);
   }
  49.95% {
    transform: translate(4px, -4px);
  }
  66.6% {
    transform: translate(-2px, 2px);
   }
  83.25% {
    transform: translate(1px, -1px);
   }
  100% {
    transform: translate(0);
   }
}
}


cite::before {
.hovers-wobble-to-top-right:hover,
   content: "— ";
.hovers-wobble-to-top-right.active {
  animation-name: wobble-to-top-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


/* 按钮样式 - 更精致的复古科幻风格 */
/* 果冻 */
.collapseButton, button, .mw-ui-button, input[type="button"], input[type="submit"] {
@keyframes wobble-top {
   font-family: var(--UI-font);
   16.65% {
  font-size: calc(var(--base-font-size) * 0.85);
    transform: skew(-12deg);
   padding: 6px 12px;
   }
   border: 2px solid #666;
   33.3% {
  border-bottom: 4px solid #444;
    transform: skew(10deg);
   border-right: 4px solid #444;
   }
   border-radius: 0;
   49.95% {
  background: linear-gradient(to bottom, #eee, #ddd);
    transform: skew(-6deg);
   color: #333;
   }
   text-transform: uppercase;
   66.6% {
   cursor: pointer;
    transform: skew(4deg);
   transition: all 0.15s ease;
   }
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
   83.25% {
   margin: 2px 4px;
    transform: skew(-2deg);
   position: relative;
   }
  text-align: center;
   100% {
  letter-spacing: 0.05em;
    transform: skew(0);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
   }
}
}


/* 按钮悬停效果 */
/* 赘肉 */
.collapseButton:hover, button:hover, .mw-ui-button:hover, input[type="button"]:hover, input[type="submit"]:hover {
.hovers-wobble-top {
   background: linear-gradient(to bottom, #f5f5f5, #eee);
  transform-origin: 0 100%;
   border-color: #777;
}
   border-bottom-color: #555;
.hovers-wobble-top:hover,
  border-right-color: #555;
.hovers-wobble-top.active {
   transform: translateY(-1px);
   animation-name: wobble-top;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


/* 按钮点击效果 */
@keyframes wobble-bottom {
.collapseButton:active, button:active, .mw-ui-button:active, input[type="button"]:active, input[type="submit"]:active {
  16.65% {
  background: linear-gradient(to bottom, #ccc, #ddd);
    transform: skew(-12deg);
   border: 2px solid #444;
  }
   border-top: 4px solid #666;
  33.3% {
   border-left: 4px solid #666;
    transform: skew(10deg);
   transform: translateY(1px);
   }
   text-shadow: none;
  49.95% {
   box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: skew(-6deg);
   }
  66.6% {
    transform: skew(4deg);
   }
   83.25% {
    transform: skew(-2deg);
   }
   100% {
    transform: skew(0);
  }
}
}


/* 按钮装饰效果 */
.hovers-wobble-bottom {
.collapseButton::after, button::after, .mw-ui-button::after, input[type="button"]::after, input[type="submit"]::after {
   transform-origin: 100% 0;
   content: "";
}
  position: absolute;
.hovers-wobble-bottom:hover,
  top: 2px;
.hovers-wobble-bottom.active {
  left: 2px;
   animation-name: wobble-bottom;
   width: calc(100% - 4px);
   animation-duration: 1s;
   height: 8px;
   animation-timing-function: ease-in-out;
   background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
   animation-iteration-count: 1;
   pointer-events: none;
  border-radius: 0;
}
}


.navbox .collapseButton {
/* 颤动 */
   width: 6em;
@keyframes wobble-skew {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}
.hovers-wobble-skew:hover,
.hovers-wobble-skew.active {
  animation-name: wobble-skew;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


/* 主按钮样式 - 重要操作 */
/* 振动 */
.mw-ui-button.mw-ui-primary, button.primary, input[type="submit"].primary {
@keyframes buzz {
   background: linear-gradient(to bottom, #6af, #39f);
   50% {
   border-color: #27e;
    transform: translateX(3px) rotate(2deg);
   border-bottom-color: #05c;
   }
  border-right-color: #05c;
   100% {
   color: white;
    transform: translateX(-3px) rotate(-2deg);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
   }
}
}


.mw-ui-button.mw-ui-primary:hover, button.primary:hover, input[type="submit"].primary:hover {
.hovers-buzz:hover,
   background: linear-gradient(to bottom, #7bf, #49f);
.hovers-buzz.active {
   border-color: #38f;
   animation-name: buzz;
   border-bottom-color: #16d;
   animation-duration: 0.15s;
   border-right-color: #16d;
   animation-timing-function: linear;
   animation-iteration-count: infinite;
}
}


/* 继续22222.txt中断部分的CSS */
/* 振出 */
@keyframes buzz-out {
  10% {
    transform: translateX(3px) rotate(2deg);
  }
  20% {
    transform: translateX(-3px) rotate(-2deg);
  }
  30% {
    transform: translateX(3px) rotate(2deg);
  }
  40% {
    transform: translateX(-3px) rotate(-2deg);
  }
  50% {
    transform: translateX(2px) rotate(1deg);
  }
  60% {
    transform: translateX(-2px) rotate(-1deg);
  }
  70% {
    transform: translateX(2px) rotate(1deg);
  }
  80% {
    transform: translateX(-2px) rotate(-1deg);
  }
  90% {
    transform: translateX(1px) rotate(0);
  }
  100% {
    transform: translateX(-1px) rotate(0);
  }
}


.mw-ui-button.mw-ui-primary:active, button.primary:active, input[type="submit"].primary:active {
.hovers-buzz-out:hover,
   background: linear-gradient(to bottom, #28e, #39f);
.hovers-buzz-out.active {
   border: 2px solid #05c;
   animation-name: buzz-out;
   border-top: 4px solid #16d;
   animation-duration: 0.75s;
  border-left: 4px solid #16d;
   animation-timing-function: linear;
  transform: translateY(1px);
   animation-iteration-count: 1;
   text-shadow: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
}


/* 导航容器 - 更精致的复古科幻风格 */
/* 右移 */
.navbox {
.hovers-forward:hover,
  background-color: rgba(255, 255, 255, 0.95);
.hovers-forward.active {
  border: 1px solid var(--custom-navbox-top);
   transform: translateX(8px);
  border-radius: 3px;
  color: #222;
  margin: 1.5em 0;
  padding: 4px;
   font-family: var(--small-font);
  font-size: var(--small-font-size);
  box-shadow:
    var(--box-depth),
    inset 0 0 20px rgba(0, 255, 100, 0.02);
  position: relative;
  overflow: hidden;
}
}


/* 导航标题 */
/* 左移 */
.navbox-title {
.hovers-backward:hover,
  background: linear-gradient(to bottom, #f8f9fa, var(--custom-navbox-top));
.hovers-backward.active {
   border: 1px solid var(--custom-navbox-top);
   transform: translateX(-8px);
  border-radius: 2px;
  color: #222;
  padding: 8px 12px;
  font-family: var(--title-font);
  font-weight: normal;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
  position: relative;
}
}


/* 导航组 */
/* 自由移动 */
.navbox-group {
.hovers-top,
  background-color: var(--custom-navbox-middle);
.hovers-left,
  border: 1px solid var(--custom-navbox-top);
.hovers-bottom,
  color: #444;
.hovers-right {
  font-weight: normal;
   transition: all 0.5s;
  padding: 6px 10px;
  text-align: right;
   white-space: nowrap;
  letter-spacing: 0.03em;
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}
}


/* 导航列表 */
.hovers-top:hover,
.navbox-list {
.hovers-top.active {
   background-color: var(--custom-navbox-thru);
   transform: translateY(-0.0625em);
  border: 1px solid var(--custom-navbox-middle);
  padding: 6px 10px;
  text-align: left;
  line-height: 1.5;
}
}


/* 导航行悬停效果 */
.hovers-left:hover,
.navbox tr:hover td.navbox-list {
.hovers-left.active {
   background-color: rgba(0, 255, 100, 0.05);
   transform: translateX(-0.0625em);
}
}


/* 导航装饰 */
.hovers-bottom:hover,
.navbox::before {
.hovers-bottom.active {
   content: "";
   transform: translateY(0.0625em);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}
}


/* 提示框和消息样式 - 像素化科幻风格 */
.hovers-right:hover,
.notice {
.hovers-right.active {
  position: relative;
   transform: translateX(0.0625em);
  margin: 1.5em 0;
  padding: 1em 1em 1em 4em;
  border-radius: 3px;
   border-left: 4px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-family: var(--small-font);
  animation: micro-flicker 2s infinite alternate ease-in-out;
}
}


.notice::before {
/* 滤镜 */
  font-family: var(--UI-font);
.hovers-blur,
  position: absolute;
.hovers-blur-reverse,
  left: 1em;
.hovers-brightness,
  top: 50%;
.hovers-brightness-reverse,
  transform: translateY(-50%);
.hovers-contrast,
  font-size: 1.8em;
.hovers-contrast-reverse,
   opacity: 0.8;
.hovers-grayscale,
.hovers-grayscale-reverse,
.hovers-invert,
.hovers-invert-reverse,
.hovers-saturate,
.hovers-saturate-reverse,
.hovers-sepia,
.hovers-sepia-reverse,
.hovers-hue-rotate,
.hovers-hue-rotate-reverse {
   transition-duration: 0.75s;
}
}


/* 成功消息 */
.hovers-blur:hover,
.notice-success {
.hovers-blur.active,
  background-color: rgba(230, 250, 230, 0.4);
.hovers-brightness:hover,
   border-color: #6c6;
.hovers-brightness.active,
.hovers-contrast:hover,
.hovers-contrast.active,
.hovers-grayscale:hover,
.hovers-grayscale.active,
.hovers-invert:hover,
.hovers-invert.active,
.hovers-saturate:hover,
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
   filter: initial;
}
}


.notice-success::before {
.hovers-blur {
   content: "✓";
   filter: blur(5px);
  color: #6c6;
}
}


/* 错误消息 */
.hovers-blur-reverse:hover,
.notice-error {
.hovers-blur-reverse.active {
   background-color: rgba(255, 230, 230, 0.4);
   filter: blur(5px);
  border-color: #c66;
}
}


.notice-error::before {
.hovers-brightness {
   content: "✗";
   filter: brightness(50%);
  color: #c66;
}
}


/* 警告消息 */
.hovers-brightness-reverse:hover,
.notice-warning {
.hovers-brightness-reverse.active {
   background-color: rgba(255, 240, 230, 0.4);
   filter: brightness(50%);
  border-color: #f93;
}
}


.notice-warning::before {
.hovers-contrast {
   content: "⚠";
   filter: contrast(50%);
  color: #f93;
}
}


/* 信息消息 */
.hovers-contrast-reverse:hover,
.notice-info {
.hovers-contrast-reverse.active {
   background-color: rgba(220, 237, 255, 0.4);
   filter: contrast(50%);
  border-color: #69c;
}
}


.notice-info::before {
.hovers-grayscale {
   content: "ℹ";
   filter: grayscale(100%);
  color: #69c;
}
}


/* 表单元素 - 复古科幻风格 */
.hovers-grayscale-reverse:hover,
input[type="text"],
.hovers-grayscale-reverse.active {
input[type="password"],
   filter: grayscale(100%);
input[type="email"],
input[type="number"],
input[type="search"],
textarea,
select {
  font-family: var(--pixel-font-12);
  font-size: calc(var(--base-font-size) * 0.9);
   color: #333;
  background-color: rgba(240, 245, 250, 0.95);
  border: 2px solid #aaa;
  border-radius: 0;
  padding: 6px 10px;
  margin: 4px 0;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}
}


/* 输入元素悬停状态 */
.hovers-invert {
input[type="text"]:hover,
   filter: invert(100%);
input[type="password"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
textarea:hover,
select:hover {
   border-color: #999;
  background-color: rgba(245, 248, 250, 0.98);
}
}


/* 输入元素焦点状态 */
.hovers-invert-reverse:hover,
input[type="text"]:focus,
.hovers-invert-reverse.active {
input[type="password"]:focus,
   filter: invert(100%);
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(0, 150, 255, 0.6);
   box-shadow:  
    inset 0 1px 3px rgba(0, 0, 0, 0.05),
    0 0 8px rgba(0, 150, 255, 0.3);
  background-color: #fff;
}
}


/* 文本区域 */
.hovers-saturate {
textarea {
   filter: saturate(200%);
   resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
}


/* 复选框和单选按钮 - 复古科幻风格 */
.hovers-saturate-reverse:hover,
input[type="checkbox"],
.hovers-saturate-reverse.active {
input[type="radio"] {
   filter: saturate(200%);
  position: relative;
  width: 16px;
  height: 16px;
  margin: 3px 5px 3px 0;
  vertical-align: middle;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
   border: 1px solid #999;
  background-color: rgba(240, 245, 250, 0.9);
  transition: all 0.2s ease;
}
}


input[type="checkbox"] {
.hovers-sepia {
   border-radius: 2px;
   filter: sepia(100%);
}
}


input[type="radio"] {
.hovers-sepia-reverse:hover,
   border-radius: 50%;
.hovers-sepia-reverse.acitve {
   filter: sepia(100%);
}
}


/* 复选框和单选按钮悬停状态 */
.hovers-hue-rotate {
input[type="checkbox"]:hover,
   filter: hue-rotate(180deg);
input[type="radio"]:hover {
   border-color: #666;
  background-color: rgba(245, 248, 250, 0.95);
}
}


/* 复选框和单选按钮选中状态 */
.hovers-hue-rotate-reverse:hover,
input[type="checkbox"]:checked,
.hovers-hue-rotate-reverse.active {
input[type="radio"]:checked {
   filter: hue-rotate(180deg);
   border-color: #0078d7;
  background-color: rgba(0, 120, 215, 0.1);
}
}


/* 复选框选中状态图标 */
/* 背景滑动 */
input[type="checkbox"]:checked::after {
.hovers-sweep-to-right,
  content: "";
.hovers-sweep-to-left,
  position: absolute;
.hovers-sweep-to-bottom,
  left: 4px;
.hovers-sweep-to-top,
  top: 1px;
.hovers-radial-out,
  width: 5px;
.hovers-radial-in {
   height: 10px;
   position: relative;
   border: solid #0078d7;
   transition-duration: 0.3s;
   border-width: 0 2px 2px 0;
   transition-timing-function: ease-out;
   transform: rotate(45deg);
   overflow: hidden;
}
}


/* 单选按钮选中状态图标 */
.hovers-sweep-to-right:before,
input[type="radio"]:checked::after {
.hovers-sweep-to-left:before,
   content: "";
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before,
.hovers-radial-out:before,
.hovers-radial-in:before {
   content: '';
   position: absolute;
   position: absolute;
   left: 3px;
  z-index: 10;
   top: 3px;
  top: 0;
   width: 8px;
   left: 0;
   height: 8px;
   right: 0;
  bottom: 0;
  background: inherit;
  transform: scaleX(0);
   transition: inherit;
}
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before {
   transform: scaleY(0);
}
.hovers-radial-out:before,
.hovers-radial-in:before {
   border-radius: 50%;
   border-radius: 50%;
   background-color: #0078d7;
   transform: scale(0);
}
.hovers-radial-in:before {
  transform: scale(2);
}
}


/* 标签样式 */
.hovers-sweep-to-right:before {
label {
  transform-origin: 0 50%;
   font-family: var(--pixel-font-12);
}
   font-size: calc(var(--base-font-size) * 0.9);
.hovers-sweep-to-left:before {
  margin: 0 10px 0 2px;
   transform-origin: 100% 50%;
  vertical-align: middle;
}
   cursor: pointer;
.hovers-sweep-to-bottom:before {
  transform-origin: 50% 0;
}
.hovers-sweep-to-top:before {
   transform-origin: 50% 100%;
}
.hovers-radial-out:hover:before,
.hovers-radial-out.active:before {
  transform: scale(2);
}
.hovers-radial-in:hover:before,
.hovers-radial-in.active:before {
   transform: scale(0);
}
}


/* 分页导航 - 复古科幻风格 */
.hovers-sweep-to-right .hovers-content.center,
.pagination {
.hovers-sweep-to-left .hovers-content.center,
.hovers-sweep-to-bottom .hovers-content.center,
.hovers-sweep-to-top .hovers-content.center,
.hovers-radial-out .hovers-content.center,
.hovers-radial-in .hovers-content.center {
   display: flex;
   display: flex;
  align-items: center;
   justify-content: center;
   justify-content: center;
   align-items: center;
   word-break: break-all;
   margin: 2em 0;
}
   font-family: var(--UI-font);
 
   font-size: calc(var(--base-font-size) * 0.85);
.hovers-sweep-to-right:hover:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before,
.hovers-sweep-to-right.active:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before {
  transform: scaleX(1);
}
 
.hovers-sweep-to-right .hovers-content,
.hovers-sweep-to-left .hovers-content,
.hovers-sweep-to-bottom .hovers-content,
.hovers-sweep-to-top .hovers-content,
.hovers-radial-out .hovers-content,
.hovers-radial-in .hovers-content {
  width: 100%;
  height: 100%;
  position: absolute;
  transition-property: all;
  transition-duration: inherit;
  top: 0;
  left: 0;
   z-index: 11;
}
 
.hovers-sweep-to-right .hovers-content {
  left: initial;
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}
 
.hovers-sweep-to-left .hovers-content {
   left: 100%;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}
 
.hovers-sweep-to-bottom .hovers-content {
  top: initial;
   bottom: 100%;
}
.hovers-sweep-to-bottom:hover .hovers-content,
.hovers-sweep-to-bottom.active .hovers-content {
  bottom: 0;
}
 
.hovers-sweep-to-top .hovers-content {
  top: 100%;
}
.hovers-sweep-to-top:hover .hovers-content,
.hovers-sweep-to-top.active .hovers-content {
  top: 0;
}
}


.pagination a,
.hovers-radial-out .hovers-content,
.pagination span {
.hovers-radial-in:hover .hovers-content,
  display: inline-flex;
.hovers-radial-in.active .hovers-content {
  justify-content: center;
   opacity: 0;
  align-items: center;
  min-width: 32px;
  height: 32px;
  margin: 0 3px;
  padding: 0 10px;
  text-align: center;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: rgba(240, 245, 250, 0.8);
  color: #444;
  text-decoration: none;
   transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
}


/* 分页导航悬停效果 */
.hovers-radial-in .hovers-content,
.pagination a:hover {
.hovers-radial-out:hover .hovers-content,
  border-color: #999;
.hovers-radial-out.active .hovers-content {
  background-color: rgba(0, 150, 255, 0.1);
   opacity: 1;
  color: var(--link-color-active);
  transform: translateY(-1px);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
}


/* 当前页面 */
/* 默认em */
.pagination .current {
.hovers-border,
  border-color: #666;
.hovers-trim,
  background-color: rgba(30, 30, 30, 0.8);
.hovers-ripple-out,
  color: #fff;
.hovers-ripple-in,
   font-weight: normal;
.hovers-outline-out,
   box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
.hovers-outline-in,
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
.hovers-reveal {
   font-size: 160px;
   line-height: 16px;
}
}


/* 下拉菜单 - 复古科幻风格 */
/* 内边框滑出 */
.dropdown {
.hovers-border,
.hovers-trim {
   position: relative;
   position: relative;
   display: inline-block;
   top: 0;
   font-family: var(--UI-font);
   left: 0;
   font-size: calc(var(--base-font-size) * 0.9);
   transition: all 0.3s;
}
}


.dropdown-toggle {
.hovers-border:before {
   display: inline-flex;
   content: '';
   align-items: center;
  width: 100%;
   padding: 6px 12px;
  height: 100%;
   background-color: rgba(240, 245, 250, 0.9);
  position: absolute;
   border: 1px solid #ccc;
  top: 0;
   border-radius: 0;
  left: 0;
   cursor: pointer;
   box-sizing: border-box;
   transition: all 0.2s ease;
   transition: inherit;
   border-width: calc(0.0625em * 0.6);
   border-color: inherit;
   border-style: solid;
   border-radius: inherit;
   opacity: 0;
}
}


.dropdown-toggle::after {
.hovers-border:hover:before,
  content: "▼";
.hovers-border.active:before {
  font-size: 0.7em;
   opacity: 1;
  margin-left: 8px;
   transition: transform 0.2s ease;
}
}


.dropdown-toggle:hover {
/* 带边距内边框 */
   background-color: rgba(245, 248, 250, 0.95);
.hovers-trim:before {
   border-color: #999;
   content: '';
  position: absolute;
  top: calc(0.0625em * 0.4);
  left: calc(0.0625em * 0.4);
  bottom: calc(0.0625em * 0.4);
  right: calc(0.0625em * 0.4);
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
   border-color: inherit;
  border-style: solid;
  opacity: 0;
  border-radius: inherit;
}
}


.dropdown-toggle:hover::after {
.hovers-trim:hover:before,
   transform: translateY(2px);
.hovers-trim.active:before {
   opacity: 1;
}
}


.dropdown-menu {
/* 边框飞出与飞入 */
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  transition: all 0.3s;
}
 
.hovers-ripple-out:before,
.hovers-ripple-in:before,
.hovers-outline-out:before,
.hovers-outline-in:before,
.hovers-reveal:before {
  content: '';
   position: absolute;
   position: absolute;
   top: 100%;
   top: 0;
  right: 0;
  bottom: 0;
   left: 0;
   left: 0;
   z-index: 1000;
   animation: inherit;
   display: none;
  transition: inherit;
   min-width: 160px;
  border-width: calc(0.0625em * 0.6);
   padding: 5px 0;
   border-color: inherit;
   margin: 2px 0 0;
   border-style: solid;
   background-color: rgba(250, 252, 255, 0.95);
  border-radius: inherit;
   border: 1px solid #ccc;
}
   border-radius: 0;
.hovers-ripple-out:before {
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
   opacity: 0;
}
.hovers-ripple-in:before {
   top: calc(-0.0625em * 1.2);
  right: calc(-0.0625em * 1.2);
   bottom: calc(-0.0625em * 1.2);
  left: calc(-0.0625em * 1.2);
   opacity: 0;
}
.hovers-outline-out:before {
   opacity: 0;
}
.hovers-outline-out:before {
  top: calc(-0.0625em * 1.6);
   right: calc(-0.0625em * 1.6);
  bottom: calc(-0.0625em * 1.6);
  left: calc(-0.0625em * 1.6);
  opacity: 0;
}
.hovers-reveal:before {
  border-width: 0;
  opacity: 0;
}
}


.dropdown-menu.show {
@keyframes ripple-out {
   display: block;
   50% {
   animation: dropdown-fade 0.2s ease-in-out;
    opacity: 1;
}
   }


@keyframes dropdown-fade {
  100% {
  from {
    top: calc(-0.0625em * 1.2);
    right: calc(-0.0625em * 1.2);
    bottom: calc(-0.0625em * 1.2);
    left: calc(-0.0625em * 1.2);
     opacity: 0;
     opacity: 0;
    transform: translateY(-10px);
   }
   }
   to {
}
.hovers-ripple-out:hover:before,
.hovers-ripple-out.active:before {
   animation-name: ripple-out;
}
 
@keyframes ripple-in {
  50% {
     opacity: 1;
     opacity: 1;
     transform: translateY(0);
  }
 
  100% {
     top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
   }
   }
}
.hovers-ripple-in:hover:before,
.hovers-ripple-in.active:before {
  animation-name: ripple-in;
}
}


.dropdown-item {
.hovers-outline-out:hover:before,
  display: block;
.hovers-outline-in:hover:before,
  padding: 6px 15px;
.hovers-outline-out.active:before,
  clear: both;
.hovers-outline-in:hover:before {
   text-decoration: none;
   top: calc(-0.0625em * 0.8);
   color: #333;
   right: calc(-0.0625em * 0.8);
   white-space: nowrap;
   bottom: calc(-0.0625em * 0.8);
   transition: all 0.15s ease;
   left: calc(-0.0625em * 0.8);
   position: relative;
   opacity: 1;
}
}


.dropdown-item:hover {
.hovers-reveal:hover:before,
   background-color: rgba(0, 150, 255, 0.1);
.hovers-reveal.active:before {
   color: var(--link-color-active);
   transform: translateY(0);
   padding-left: 18px;
   border-width: calc(0.0625em * 0.4);
   opacity: 1;
}
}


.dropdown-divider {
/* 圆角化 */
   height: 1px;
.hovers-round-corners {
  margin: 6px 0;
   overflow: hidden;
   background-color: #eee;
}
.hovers-round-corners:hover,
.hovers-round-corners.active {
   border-radius: 0.0625em;
}
}


/* 终端窗口 - 复古科幻风格 */
/* 重叠:翻转切换 */
.terminal {
 
  background-color: var(--terminal-bg);
.hover-turn {
  color: var(--console-text-color);
  font-family: var(--pixel-font-12);
  padding: 15px;
  margin: 1.5em 0;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow:
    inset 0 0 15px rgba(0, 0, 0, 0.3),
    0 2px 5px rgba(0, 0, 0, 0.1);
   position: relative;
   position: relative;
   overflow: hidden;
   transform: translateZ(1px);
}
}


/* 终端窗口标题栏 */
.hover-turn-before,
.terminal::before {
.hover-turn-after {
  content: "TERMINAL";
  display: block;
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
  width: 100%;
  padding: 4px 10px;
  background: linear-gradient(to bottom, #444, #333);
  color: #ddd;
  font-size: 0.8em;
  text-align: center;
  border-bottom: 1px solid #222;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
}


/* 终端内容 */
@keyframes hover-turn {
.terminal-content {
  from {
  margin-top: 25px;
    transform: rotateY(-90deg);
  line-height: 1.4;
  }
  overflow-x: auto;
 
  white-space: pre-wrap;
  50% {
    transform: scale(1.2);
  }
 
  to {
    transform: rotateY(0);
  }
}
 
.hover-turn:not(:hover) .hover-turn-before,
.hover-turn:hover .hover-turn-after {
  animation: hover-turn 0.5s;
}
 
.hover-turn:hover .hover-turn-before,
.hover-turn:not(:hover) .hover-turn-after {
opacity: 0;
}
/* [[Category:在模板名字空间下的CSS页面]] */
 
 
/* 信息框样式 - Windows XP风格 */
.infobox,
.notaninfobox {
    position: relative;
    clear: right;
    float: right;
    margin: 0 0 1em 1em;
    width: 350px;
    font-size: 90%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 0;
    overflow: auto;
    z-index: 1;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
 
@media all and (max-width: 511px) {
    .notaninfobox {
        float: none;
        margin-left: 0;
        width: auto;
    }
}
 
.infobox tr:not(:first-child) td {
    border-bottom: 1px solid #ababab;
}
 
@media all and (max-width: 337px) {
    .notaninfobox {
        margin-left: -16px;
        margin-right: -16px;
        border-left: none;
        border-right: none;
    }
}
 
.notaninfobox > .infobox-title,
.infobox th {
    position: relative;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 120%;
    padding: 5px;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}
 
.notaninfobox > .infobox-title::after,
.infobox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.infobox-imagearea {
    text-align: center;
    padding: 8px;
    background-color: white;
}
 
.infobox-imagearea > div:not(:first-child) {
    padding-top: 1em;
}
 
/* Horizontally centre animated images */
.infobox-imagearea .animated {
    display: inline-flex;
    align-items: center;
}
 
.notaninfobox .infobox-rows {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1px;
    background-color: white;
}
 
.infobox .plainlinks a {
    color: rgb(var(--link-color)) !important;
    text-decoration: underline;
}
 
.infobox .plainlinks a:visited {
    color: rgb(var(--visited-link-color)) !important;
}
 
.notaninfobox .infobox-rows .infobox-row {
    display: contents;
}
 
.notaninfobox .infobox-row .infobox-row-label,
.notaninfobox .infobox-row .infobox-row-field {
    padding: 4px 8px;
    border: 1px solid #ababab;
}
 
.notaninfobox .infobox-row .infobox-row-label {
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
}
 
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
    background-color: #f9f9f9;
}
 
/* Community Updates - Windows XP风格 */
.community-updates {
    background: rgb(var(--xp-window-bg));
    padding: 15px;
    border: 2px solid rgb(var(--xp-window-border));
    margin-top: 20px;
    box-shadow: var(--window-shadow);
    position: relative;
    border-radius: 0;
}
 
.community-updates::before {
    content: "Community Updates";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}
 
.community-updates ul {
    margin-top: 30px;
}
 
.community-updates ul li {
    list-style: none;
    padding: 10px;
    background: white;
    margin: 5px 0;
    border: 1px solid #ababab;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
 
.community-updates ul li a {
    color: rgb(var(--link-color));
    text-decoration: none;
    font-weight: bold;
}
 
/* Infoboxes with tabber */
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
    background: none;
    border: none;
}
 
.tabber-container-infobox .tabber .tabbertab {
    padding: 0;
}
 
.tabber-container-infobox ul.tabbernav {
    font: inherit;
    font-size: 100%;
    border-bottom: 1px solid #ababab;
}
 
.tabber-container-infobox ul.tabbernav li a:hover {
    color: rgb(var(--hover-link-color));
}
 
.tabber-container-infobox ul.tabbernav > li {
    margin-bottom: 5px;
    padding: 0;
}
 
.announcement-content span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}
 
@keyframes marquee {
    0% { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}
 
/* 主页头部样式 - Windows XP风格 */
.mw-mainpage-header {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    color: rgb(var(--xp-text));
    font-size: 1.5em;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    border-radius: 0;
}
 
.mw-mainpage-header::before {
    content: "Welcome";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}
 
.mw-mainpage-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: none;
    color: rgb(var(--xp-text));
    text-shadow: none;
}
 
.mw-mainpage-header p {
    font-size: 1.2em;
    margin: 5px 0;
}
 
.tabber-container-infobox ul.tabbernav > li > a {
    color: rgb(var(--link-color));
    padding: 5px 10px;
    display: block;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
 
/* To prevent the tabs from jumping around when they become active or inactive */
.tabber-container-infobox ul.tabbernav > li > a::before {
    display: block;
    content: attr(alt);
    font-weight: bold;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}
 
.tabber-container-infobox ul.tabbernav > li.tabberactive {
    border: none;
}
 
/* ModuleBox - Windows XP风格 */
.modulebox {
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    background-color: rgb(var(--xp-window-bg));
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
 
.modulebox::before {
    content: "Module";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}
 
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
    font-weight: bold;
    color: rgb(var(--hover-link-color));
    background: linear-gradient(to bottom, #ffffff, #f6f6f6);
    border-bottom: 1px solid #ffffff;
    position: relative;
    z-index: 1;
}
 
.infobox-rows p {
    margin: 0;
}
 
.infobox-rows dl + dl {
    margin-top: -0.4em;
}
 
.infobox-rows dl:last-child {
    margin-bottom: 0.2em;
}
 
.infobox-footer {
    text-align: center;
    padding: 5px;
    background-color: #f0f0f0;
    border-top: 1px solid #ababab;
}
 
/* 导航框(查论编)- Windows XP风格 */
table.navbox {
    border: 2px solid rgb(var(--xp-window-border));
    clear: both;
    margin: 1em auto;
    padding: 0;
    text-align: center;
    width: 100%;
    background-color: rgb(var(--xp-window-bg));
    box-shadow: var(--window-shadow);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
}
 
table.navbox + table.navbox {
    margin-top: 5px;
}
 
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
}
 
.navbox-title::after,
table.navbox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.navbox-group {
    background-color: #f0f0f0;
    border: 1px solid #ababab;
    color: black;
    font-weight: bold;
    padding: 5px;
    text-align: right;
    white-space: nowrap;
}
 
.navbox-list {
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
    text-align: left;
}
 
.navbox,
.navbox-subgroup {
    background-color: rgb(var(--xp-window-bg));
}
 
.navbox-subgroup .navbox-title {
    background-color: #c0d8f0;
    color: black;
    text-shadow: none;
}
 
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background-color: #e6f0f9;
}
 
.navbox-even {
    background-color: #f9f9f9;
}
 
.navbox-odd {
    background-color: white;
}
 
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
 
.navbox .collapseButton {
    width: 6em;
}
 
.navbar {
    position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
 
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
    display: none;
}
 
@media only screen and (max-width:759px) {
    .infotable {
        width: 90%;
        float: none;
        margin: 0 auto;
    }
   
    .navbox-title>div {
        display: none;
    }
   
    .navbox-group,
    .navbox-group >div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}
 
/* 主页Windows XP风格布局 */
.main-page-banner {
    position: relative;
    display: grid;
    grid-template-areas:
        "welcome welcome welcome"
        "discord faq join";
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    background-color: rgb(var(--xp-window-bg));
    z-index: 1;
    border-radius: 0;
}
 
/* 欢迎文本区域 - Windows XP样式 */
.main-page-banner .welcome-text {
    grid-area: welcome;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 30px 20px 20px;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    border-radius: 0;
    z-index: 2;
    text-shadow: var(--text-shadow);
}
 
/* 添加标题栏 */
.main-page-banner .welcome-text::before {
    content: "Welcome";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    text-shadow: var(--text-shadow);
    text-align: left;
    line-height: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 3;
}
 
/* 添加XP窗口控制按钮 */
.main-page-banner .welcome-text::after {
    content: "×";
    position: absolute;
    top: 7px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 4;
}
 
/* 添加最小化、最大化按钮 */
.main-page-banner .welcome-text .min-button,
.main-page-banner .welcome-text .max-button {
    position: absolute;
    top: 7px;
    width: 16px;
    height: 16px;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: black;
    background-color: rgb(var(--light-gray-monochrome));
    cursor: pointer;
    z-index: 4;
}
 
.main-page-banner .welcome-text .min-button {
    right: 45px;
    content: "_";
    line-height: 13px;
}
 
.main-page-banner .welcome-text .max-button {
    right: 25px;
    content: "□";
}
 
.main-page-banner .welcome-text p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1em;
}
 
/* 导航按钮 - Windows XP风格 */
.main-page-banner .navigation-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
    grid-area: discord / discord / join / join;
    width: 100%;
    padding: 10px;
    background-color: rgb(var(--xp-window-bg));
}
 
.main-page-banner .nav-button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    border-radius: 3px;
    margin: 0 0 10px 0;
    transition: all 0.3s ease;
    height: min-content;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
 
.main-page-banner .nav-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
    transform: translateY(-3px);
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.3);
}
 
.main-page-banner .nav-button:active {
    background: linear-gradient(to bottom, #e0e0e0, #f0f0f0);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}
 
.main-page-banner .nav-button a {
    display: block;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    color: black;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
}
 
/* 响应式布局 */
@media (max-width: 767px) {
    .main-page-banner {
        grid-template-areas:
            "welcome"
            "navigation";
        grid-template-columns: 1fr;
    }
   
    .main-page-banner .welcome-text {
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
    }
   
    .main-page-banner .navigation-links {
        grid-area: navigation;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
   
    .main-page-banner .nav-button {
        flex: 1;
        min-width: 30%;
        margin: 0 5px 10px;
    }
}
 
/* 公告容器 - Windows XP风格 */
.announcement-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    position: relative;
    border-radius: 0;
}
 
.announcement-container .section-title {
    width: 100%;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1.3rem;
    text-align: left;
    border-left: none;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-shadow: var(--text-shadow);
    position: relative;
}
 
.announcement-container .section-title::after {
    content: "×";
    position: absolute;
    top: 7px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.announcement-container .announcement-content {
    background-color: white;
    color: black;
    padding: 10px;
    width: 100%;
}
 
.announcement-container .more-content {
    width: 100%;
    border-top: 1px solid #ababab;
    padding: 5px;
    background-color: #f0f0f0;
    text-align: right;
}
 
/* 最近页面容器 - Windows XP风格 */
.recent-pages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}
 
.recent-pages-container .page-section {
    flex-basis: 48%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 1rem;
    display: grid;
    grid-template-areas: "title" "page" "more";
    grid-template-rows: auto 1fr auto;
    position: relative;
    border-radius: 0;
}
 
.recent-pages-container .section-title {
    grid-area: title;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    height: 25px;
    line-height: 25px;
    border-left: none;
}
 
.recent-pages-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.recent-pages-container .page-list {
    grid-area: page;
    background-color: white;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    border-bottom: 1px solid #ababab;
}
 
.recent-pages-container .page-list a {
    display: block;
    padding: 3px 0;
    border-bottom: 1px solid #e0e0e0;
    color: rgb(var(--link-color));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.recent-pages-container .page-list a:last-child {
    border-bottom: none;
}
 
.recent-pages-container .see-more {
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}
}


/* 终端命令提示符 */
.recent-pages-container .see-more a {
.terminal-prompt {
    color: rgb(var(--link-color));
  color: #0f0;
  margin-right: 5px;
}
}


/* 终端命令行 */
/* 特色内容容器 - Windows XP风格 */
.terminal-line {
.featured-content-container .feature-content .featured-description {
  margin: 5px 0;
    font-style: italic;
  word-break: break-all;
    color: #444;
}
}


/* 终端光标闪烁 */
.featured-content-container .see-more {
.terminal-cursor {
    grid-area: more;
  display: inline-block;
    background-color: #f0f0f0;
  width: 0.5em;
    padding: 5px 10px;
  height: 1em;
    text-align: right;
  background-color: var(--console-indicator-color);
  vertical-align: middle;
  animation: console-blink 1s infinite;
}
}


/* 加载指示器 - 复古科幻风格 */
.featured-content-container .see-more a {
.loading {
    color: rgb(var(--link-color));
  display: inline-block;
  position: relative;
  width: 80px;
  height: 20px;
  margin: 1em auto;
  text-align: center;
}
}


.loading div {
/* 工具和资源容器 - Windows XP风格 */
  display: inline-block;
.tools-and-resources {
  width: 8px;
    margin-bottom: 2rem;
  height: 8px;
  margin: 0 3px;
  background-color: rgba(0, 200, 100, 0.8);
  border-radius: 0;
  animation: loading 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
}


.loading div:nth-child(1) {
.tools-container {
  animation-delay: -0.24s;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}
}


.loading div:nth-child(2) {
.tools-container .tool-item {
  animation-delay: -0.12s;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}
}


.loading div:nth-child(3) {
.tools-container .tool-item::before {
  animation-delay: 0;
    content: "Tool";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


@keyframes loading {
.tools-container .tool-item::after {
  0% {
    content: "×";
     transform: scaleY(1);
     position: absolute;
     background-color: rgba(0, 200, 100, 0.8);
     top: 2px;
  }
    right: 5px;
  50% {
    width: 16px;
     transform: scaleY(2);
     height: 16px;
     background-color: rgba(0, 255, 100, 0.8);
     background-color: #ff6347;
  }
    border: 1px solid rgb(var(--xp-window-border));
  100% {
    text-align: center;
     transform: scaleY(1);
    line-height: 16px;
     background-color: rgba(0, 200, 100, 0.8);
     font-size: 12px;
  }
     color: white;
    cursor: pointer;
    z-index: 1;
}
}


/* 工具提示 - 复古科幻风格 */
.tools-container .tool-item .tool-icon {
.tooltip {
    grid-area: icon;
  position: relative;
    justify-self: center;
  display: inline-block;
    align-self: center;
  cursor: help;
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
}
}


.tooltip .tooltip-text {
.tools-container .tool-item .tool-title {
  visibility: hidden;
    grid-area: title;
  width: 200px;
    text-align: center;
  background-color: rgba(20, 20, 20, 0.9);
  color: #fff;
  text-align: center;
  border-radius: 0;
  padding: 8px 12px;
  position: absolute;
  z-index: 1001;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  font-family: var(--small-font);
  font-size: var(--small-font-size);
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateY(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #444;
  text-shadow: none;
}
}


/* 工具提示箭头 */
.tools-container .tool-item .tool-title a {
.tooltip .tooltip-text::after {
    color: rgb(var(--link-color));
  content: "";
    font-weight: bold;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(20, 20, 20, 0.9) transparent transparent transparent;
}
}


/* 显示工具提示 */
.tools-container .tool-item .tool-description {
.tooltip:hover .tooltip-text {
    grid-area: content;
  visibility: visible;
    background-color: white;
  opacity: 1;
    border: 1px solid #ababab;
  transform: translateY(0);
    padding: 8px;
}
}


/* 徽章 - 复古科幻风格 */
/* 新闻容器 - Windows XP风格 */
.badge {
.news-container {
  display: inline-block;
    background-color: rgb(var(--xp-window-bg));
  padding: 2px 6px;
    border: 2px solid rgb(var(--xp-window-border));
  font-size: 0.8em;
    box-shadow: var(--window-shadow);
  font-family: var(--UI-font);
    margin-bottom: 2rem;
  line-height: 1;
    position: relative;
  text-align: center;
    border-radius: 0;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  color: #fff;
  border-radius: 0;
  margin: 0 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
}


.badge-primary {
.news-container .section-title {
  background-color: #0078d7;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    width: 100%;
    border-left: none;
}
}


.badge-success {
.news-container .section-title::after {
  background-color: #5cb85c;
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.badge-info {
.news-container .news-content {
  background-color: #5bc0de;
    background-color: white;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #ababab;
}
}


.badge-warning {
.news-container .news-content .news-item {
  background-color: #f0ad4e;
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
}
}


.badge-danger {
.news-container .news-content .news-item:last-child {
  background-color: #d9534f;
    border-bottom: none;
}
}


/* 进度条 - 复古科幻风格 */
.news-container .news-content .news-title {
.progress {
    font-weight: bold;
  height: 20px;
    margin-bottom: 3px;
  margin: 1em 0;
    color: rgb(var(--xp-blue-dark));
  background-color: rgba(220, 225, 230, 0.8);
  border-radius: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #ccc;
  position: relative;
}
}


.progress-bar {
.news-container .news-content .news-date {
  height: 100%;
     font-size: 0.8rem;
  background: repeating-linear-gradient(
    color: #666;
    45deg,
    margin-bottom: 3px;
    rgba(0, 200, 100, 0.8),
    rgba(0, 200, 100, 0.8) 10px,
     rgba(0, 220, 110, 0.9) 10px,
    rgba(0, 220, 110, 0.9) 20px
  );
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: width 0.6s ease;
  position: relative;
  animation: progress-animation 2s linear infinite;
}
}


@keyframes progress-animation {
.news-container .news-archive {
  0% {
     background-color: #f0f0f0;
     background-position: 0 0;
    padding: 5px 10px;
  }
     text-align: right;
  100% {
    width: 100%;
     background-position: 40px 0;
  }
}
}


.progress-text {
.news-container .news-archive a {
  position: absolute;
    color: rgb(var(--link-color));
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-family: var(--UI-font);
  font-size: 0.8em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
}


/* 标签页 - 复古科幻风格 */
/* 轮播图容器 - Windows XP风格 */
.tabs {
.mw-carousel {
  margin: 1.5em 0;
    position: relative;
  border-radius: 0;
    width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
    max-width: 960px;
  border: 1px solid #ccc;
    margin: 20px auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    aspect-ratio: 16 / 9;
    background-color: rgb(var(--xp-window-bg));
    border-radius: 0;
}
}


.tabs-nav {
.mw-carousel::before {
  display: flex;
    content: "Slideshow";
  list-style: none;
    position: absolute;
  padding: 0;
    top: 0;
  margin: 0;
    left: 0;
  background-color: rgba(240, 245, 250, 0.8);
    right: 0;
  border-bottom: 1px solid #ccc;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    z-index: 10;
}
}


.tabs-nav li {
.mw-carousel::after {
  margin: 0;
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 10;
}
}


.tabs-nav a {
.mw-carousel .carousel-image {
  display: block;
    width: 100%;
  padding: 8px 15px;
    height: 100%;
  text-decoration: none;
    position: relative;
  color: #555;
    margin-top: 25px;
  border-right: 1px solid #ddd;
  font-family: var(--UI-font);
  font-size: calc(var(--base-font-size) * 0.9);
  transition: all 0.2s ease;
  background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
  border-bottom: 3px solid transparent;
}
}


.tabs-nav a:hover {
.mw-carousel .carousel-image img {
  background: linear-gradient(to bottom, #fff, #f0f0f0);
    width: 100%;
  color: #333;
    height: calc(100% - 25px);
  transform: none;
    object-fit: cover;
  box-shadow: none;
    display: block;
    border: 1px solid #ababab;
}
}


.tabs-nav a.active {
.mw-carousel .carousel-caption {
  background: #fff;
    position: absolute;
  color: #333;
    bottom: 0;
  border-bottom: 3px solid var(--crt-glow-color);
    left: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px 15px 12px;
    text-align: left;
    transition: all 0.4s ease;
    z-index: 2;
}
}


.tabs-content {
.mw-carousel:hover .carousel-caption {
  padding: 15px;
    top: 25px;
  border-radius: 0 0 3px 3px;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 25px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
}


.tab-pane {
.mw-carousel .carousel-caption h3 {
  display: none;
    margin: 0 0 5px;
    font-size: 1.6em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    background: none;
    padding: 0;
    border: none;
}
}


.tab-pane.active {
.mw-carousel .carousel-caption p {
  display: block;
    margin: 0;
  animation: fade-in 0.3s ease-in-out;
    font-size: 1.1em;
    line-height: 1.4;
    max-width: 80%;
    transition: all 0.4s ease 0.1s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
}


@keyframes fade-in {
.mw-carousel .carousel-navigation {
  from {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 15px;
     opacity: 0;
     opacity: 0;
  }
    transition: opacity 0.3s ease;
  to {
}
 
.mw-carousel:hover .carousel-navigation {
     opacity: 1;
     opacity: 1;
  }
}
}


/* 卡片 - 复古科幻风格 */
.mw-carousel .carousel-prev,
.card {
.mw-carousel .carousel-next {
  background-color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
  border: 1px solid rgba(0, 0, 0, 0.15);
    border: 1px solid #ababab;
  border-radius: 0;
    width: 32px;
  margin: 1em 0;
    height: 32px;
  box-shadow:  
    font-size: 18px;
     var(--box-depth),
    cursor: pointer;
     inset 0 0 10px rgba(0, 255, 100, 0.02);
    display: flex;
  position: relative;
    justify-content: center;
  overflow: hidden;
    align-items: center;
  transition: all 0.3s ease;
    transition: all 0.3s;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
 
.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}
 
.mw-carousel .carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    left: auto;
    display: flex;
    gap: 5px;
    z-index: 4;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.3);
}
 
.mw-carousel .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}
 
.mw-carousel .carousel-indicators .indicator.active {
    background-color: #ffffff;
     transform: scale(1.2);
     box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
 
/* 图片全局样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ababab;
}
 
/* 添加图片过渡效果 */
.mw-carousel .carousel-image img {
    transition: transform 0.5s ease;
}
 
.mw-carousel:hover .carousel-image img {
    transform: scale(1.03);
}
 
/* 目录框样式 - Windows XP风格 */
#toc, .toc {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    margin: 1em 0;
    position: relative;
    border-radius: 0;
}
 
#toc::before, .toc::before {
    content: "Contents";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.card:hover {
#toc::after, .toc::after {
  transform: translateY(-3px);
    content: "×";
  box-shadow:  
    position: absolute;
     0 5px 15px rgba(0, 0, 0, 0.1),
    top: 2px;
     inset 0 0 10px rgba(0, 255, 100, 0.04);
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
     font-size: 12px;
    color: white;
    cursor: pointer;
     z-index: 1;
}
}


.card::before {
.toc .toctitle, #toc .toctitle {
  content: "";
    display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
}
}


.card-header {
.toc ul, #toc ul {
  background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
    margin: 0;
  padding: 10px 15px;
    padding: 0 0 0 1.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--title-font);
  font-size: calc(var(--base-font-size) * 1.1);
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
  position: relative;
}
}


.card-body {
.toc li, #toc li {
  padding: 15px;
    margin: 5px 0;
  font-family: var(--body-font);
}
}


.card-footer {
.toc a, #toc a {
  background-color: rgba(245, 248, 250, 0.7);
    color: rgb(var(--link-color));
  padding: 10px 15px;
    text-decoration: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
}


/* 侧边栏 - 复古科幻风格 */
.toc a:hover, #toc a:hover {
.sidebar {
    color: rgb(var(--hover-link-color));
  width: var(--sidebar-width);
     text-decoration: underline;
  max-height: var(--sidebar-max-height);
  margin-top: var(--sidebar-top-offset);
  background:
    linear-gradient(135deg, rgba(0, 255, 100, 0.05) 0%, transparent 100%),
     linear-gradient(to bottom, rgba(220, 230, 240, 0.9), rgba(190, 210, 225, 0.95));
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  box-shadow:  
    var(--box-depth),
    inset 0 0 20px rgba(0, 200, 255, 0.07);
  overflow-y: auto;
  position: sticky;
  top: var(--sidebar-top-offset);
  transition: all 0.3s ease;
}
}


.sidebar-header {
.tocnumber {
  background: linear-gradient(to bottom, #445, #334);
    color: #666;
  color: #fff;
    margin-right: 5px;
  padding: 12px 15px;
  font-family: var(--title-font);
  font-size: calc(var(--base-font-size) * 1.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-bottom: 1px solid #223;
  letter-spacing: 0.05em;
  position: relative;
}
}


.sidebar-header::after {
/* 变色龙皮肤特定修复 */
  content: "";
.chameleon-toc {
  position: absolute;
    background-color: rgb(var(--xp-window-bg));
  bottom: 0;
    border: 2px solid rgb(var(--xp-window-border));
  left: 0;
    box-shadow: var(--window-shadow);
  width: 100%;
    padding: 30px 10px 10px;
  height: 1px;
    position: relative;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 0;
}
}


.sidebar-section {
.chameleon-toc::before {
  padding: 10px 15px;
    content: "Contents";
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.sidebar-section:last-child {
.chameleon-toc::after {
  border-bottom: none;
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.sidebar-title {
.chameleon-toc .toctitle {
  font-family: var(--UI-font);
    display: none;
  font-size: calc(var(--base-font-size) * 0.95);
  color: #333;
  margin: 0 0 8px 0;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
}


.sidebar-list {
 
  list-style: none;
/* Windows XP启动栏和任务栏 */
  margin: 0;
body::after {
  padding: 0;
    content: "开始";
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100px;
    height: 30px;
    background: linear-gradient(to bottom, #4cae4c, #398439);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #366;
    border-left: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px 20px;
}
}


.sidebar-list li {
body::before {
  margin: 5px 0;
    content: "";
  padding: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, #4581c8, #2f5b9d);
    border-top: 1px solid #223f6f;
    z-index: 9998;
}
}


.sidebar-list a {
/* 响应式调整 */
  display: block;
@media (max-width: 767px) {
  padding: 5px 8px;
    .tools-container {
  color: var(--link-color);
        grid-template-columns: 1fr;
  text-decoration: none;
    }
  font-size: calc(var(--base-font-size) * 0.9);
   
  transition: all 0.2s ease;
    .recent-pages-container .page-section,
  text-shadow: 0 0 2px rgba(0, 100, 255, 0.1);
    .featured-content-container .feature-item {
  border-left: 2px solid transparent;
        flex-basis: 100%;
        margin-bottom: 15px;
    }
   
    body::after {
        width: 80px;
        font-size: 12px;
    }
}
}


.sidebar-list a:hover {
/* Windows XP蓝屏风格 */
  background-color: rgba(0, 150, 255, 0.1);
.bluescreen {
  color: var(--link-color-active);
    background-color: #0000aa;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.3);
    color: #ffffff;
  transform: translateX(2px);
    font-family: "Courier New", monospace;
  border-left: 2px solid var(--crt-glow-color);
    padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}
}


.sidebar-list a.active {
.bluescreen h2 {
  background-color: rgba(0, 200, 100, 0.1);
    color: #ffffff;
  color: #008851;
    background: none;
  border-left: 2px solid #008851;
    border: none;
  font-weight: normal;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}
}


/* 弹窗对话框 - 复古科幻风格 */
.bluescreen p {
.modal {
    margin: 10px 0;
  position: fixed;
    line-height: 1.5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
}


.modal.show {
.bluescreen code {
  opacity: 1;
    background-color: #0000aa;
  visibility: visible;
    border: none;
    color: #ffffff;
    display: block;
    margin: 10px 0;
    font-family: "Courier New", monospace;
}
}


.modal-dialog {
/* 标题栏文本 */
  width: 100%;
.titlebox {
  max-width: 500px;
    color: white;
  margin: 1.75rem;
    position: relative;
  background-color: rgba(245, 250, 255, 0.95);
    top: -16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  border-radius: 0;
    padding: 5px 20px;
  box-shadow:  
    line-height: 10px;
     0 10px 25px rgba(0, 0, 0, 0.3),
    font-weight: bold;
     inset 0 0 30px rgba(0, 255, 100, 0.05);
     text-shadow: var(--text-shadow);
  transform: translateY(-50px);
     border: 1px solid rgb(var(--xp-window-border));
  transition: transform 0.3s ease;
    display: inline-block;
  position: relative;
  overflow: hidden;
}
}


.modal.show .modal-dialog {
/* Windows XP Logo风格块 */
  transform: translateY(0);
.logoblock {
    padding: 30px 10px 10px;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}
}


.modal-header {
.logoblock::before {
  display: flex;
    content: "Windows";
  align-items: center;
    position: absolute;
  justify-content: space-between;
    top: 0;
  padding: 12px 15px;
    left: 0;
  border-bottom: 1px solid #e9ecef;
    right: 0;
  background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.modal-title {
.logoblock::after {
  margin: 0;
    content: "";
  font-family: var(--title-font);
    float: center;
  font-size: calc(var(--base-font-size) * 1.1);
    border: solid 2px #0000;
  color: #333;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
}


.modal-close {
/* Windows XP错误对话框 */
  padding: 0;
.error-dialog {
  background-color: transparent;
    background-color: rgb(var(--xp-window-bg));
  border: 0;
    border: 2px solid rgb(var(--xp-window-border));
  float: right;
    padding: 30px 10px 10px;
  font-size: 1.5rem;
    margin: 10px 0;
  font-weight: 700;
    position: relative;
  line-height: 1;
    box-shadow: var(--window-shadow);
  color: #000;
    border-radius: 0;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
}
}


.modal-close:hover {
.error-dialog::before {
  opacity: 0.75;
    content: "Error";
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.modal-body {
.error-dialog::after {
  padding: 15px;
    content: "×";
  font-family: var(--body-font);
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.modal-footer {
.error-dialog .icon {
  display: flex;
    float: left;
  align-items: center;
    margin-right: 10px;
  justify-content: flex-end;
    width: 32px;
  padding: 12px 15px;
    height: 32px;
  border-top: 1px solid #e9ecef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: rgba(245, 248, 250, 0.7);
    background-repeat: no-repeat;
    background-size: contain;
}
}


.modal-footer > button {
.error-dialog .message {
  margin-left: 5px;
    margin-left: 50px;
    font-weight: bold;
}
}


/* 自定义滚动条 */
.error-dialog .buttons {
.custom-scrollbar {
    text-align: right;
  scrollbar-width: thin;
    margin-top: 15px;
  scrollbar-color: #999 #f5f5f5;
}
}


.custom-scrollbar::-webkit-scrollbar {
.error-dialog .buttons button {
  width: 8px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
  height: 8px;
    border: 1px solid #ababab;
    padding: 3px 10px;
    margin-left: 5px;
    cursor: pointer;
}
}


.custom-scrollbar::-webkit-scrollbar-track {
.error-dialog .buttons button:hover {
  background: rgba(0, 0, 0, 0.03);
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  border-radius: 0;
}
}


.custom-scrollbar::-webkit-scrollbar-thumb {
/* JS添加功能 */
  background: repeating-linear-gradient(
.JS-added-button {
    to bottom,
    display: none; /* 由JS控制显示 */
    #aaa 0px,
    position: fixed;
    #aaa 2px,
    right: 10px;
     #999 3px,
    bottom: 40px;
     #999 5px
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
  );
     border: 1px solid #ababab;
  border-radius: 0;
     padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
}


/* 打字机效果文本 */
.JS-added-button:hover {
.typewriter {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--console-text-color);
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  display: inline-block;
}
}


@keyframes typing {
/* 创建一个窗口最小化图标,显示在任务栏中 */
  from { width: 0 }
.minimized-window {
  to { width: 100% }
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}


@keyframes blink-caret {
.minimized-window:hover {
  from, to { border-color: transparent }
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
  50% { border-color: var(--console-text-color) }
}
}


/* 折叠面板 - 复古科幻风格 */
/* 添加系统时钟到任务栏 */
.accordion {
.taskbar-clock {
  margin: 1.5em 0;
    position: fixed;
  border: 1px solid #ccc;
    right: 10px;
  border-radius: 0;
    bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
    height: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0 10px;
    background: transparent;
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
}
}


.accordion-item {
/* CommonJS功能 */
  border-bottom: 1px solid #ddd;
/* 这些样式将由JavaScript功能使用 */d-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
}


.accordion-item:last-child {
.featured-content-container .feature-item {
  border-bottom: none;
    flex-basis: 48%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 1rem;
    display: grid;
    grid-template-areas: "title" "content" "more";
    grid-template-rows: auto 1fr auto;
    position: relative;
    border-radius: 0;
}
}


.accordion-header {
.featured-content-container .section-title {
  padding: 0;
    grid-area: title;
  margin: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    height: 25px;
    line-height: 25px;
    border-left: none;
}
}


.accordion-button {
.featured-content-container .section-title::after {
  display: block;
    content: "×";
  width: 100%;
    position: absolute;
  padding: 12px 15px;
    top: 5px;
  background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
    right: 5px;
  color: #333;
    width: 16px;
  text-align: left;
    height: 16px;
  border: none;
    background-color: #ff6347;
  cursor: pointer;
    border: 1px solid rgb(var(--xp-window-border));
  font-family: var(--title-font);
    text-align: center;
  font-size: calc(var(--base-font-size) * 1);
    line-height: 16px;
  font-weight: normal;
    font-size: 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: white;
  position: relative;
    cursor: pointer;
  transition: all 0.3s ease;
    z-index: 1;
}
}


.accordion-button::after {
.featured-content-container .feature-content {
  content: "▼";
    grid-area: content;
  position: absolute;
    background-color: white;
  right: 15px;
    padding: 10px;
  top: 50%;
    border-bottom: 1px solid #ababab;
  transform: translateY(-50%);
  font-size: 0.7em;
  transition: transform 0.3s ease;
}
}


.accordion-button.collapsed::after {
.featured-content-container .feature-content .featured-title {
  transform: translateY(-50%) rotate(-90deg);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: rgb(var(--xp-blue-dark));
}
}


.accordion-button:hover {
.featured-content-container .feature-content .featured-author {
  background: linear-gradient(to bottom, #fff, #f0f0f0);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}
}


.accordion-body {
.featured-content-container .feature-content .featured-description {
  padding: 15px;
    font-style: italic;
  display: none;
    color: #444;
  font-family: var(--body-font);
}
}


.accordion-body.show {
.featured-content-container .see-more {
  display: block;
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}
}


/* 文章卡片 - 复古科幻风格 */
.featured-content-container .see-more a {
.article-card {
    color: rgb(var(--link-color));
  display: flex;
  flex-direction: column;
  margin: 1.5em 0;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  box-shadow:
    var(--box-depth),
    inset 0 0 10px rgba(0, 255, 100, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
}


.article-card::before {
/* 工具和资源容器 - Windows XP风格 */
  content: "";
.tools-and-resources {
  position: absolute;
    margin-bottom: 2rem;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
}
}


.article-card:hover {
.tools-container {
  transform: translateY(-3px);
    display: grid;
  box-shadow:  
    grid-template-columns: 1fr 1fr;
     0 5px 15px rgba(0, 0, 0, 0.1),
     grid-gap: 1rem;
    inset 0 0 10px rgba(0, 255, 100, 0.04);
}
}


.article-header {
.tools-container .tool-item {
  padding: 15px;
    background-color: rgb(var(--xp-window-bg));
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}
}


.article-title {
.tools-container .tool-item::before {
  margin: 0 0 10px 0;
    content: "Tool";
  font-family: var(--title-font);
    position: absolute;
  font-size: calc(var(--base-font-size) * 1.3);
    top: 0;
  color: #333;
    left: 0;
  text-shadow: var(--crt-text-shadow);
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.article-meta {
.tools-container .tool-item::after {
  display: flex;
    content: "×";
  align-items: center;
    position: absolute;
  font-family: var(--small-font);
    top: 2px;
  font-size: var(--small-font-size);
    right: 5px;
  color: #777;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.article-author {
.tools-container .tool-item .tool-icon {
  margin-right: 15px;
    grid-area: icon;
    justify-self: center;
    align-self: center;
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
}
}


.article-date {
.tools-container .tool-item .tool-title {
  margin-right: 15px;
    grid-area: title;
    text-align: center;
}
}


.article-thumbnail {
.tools-container .tool-item .tool-title a {
  width: 100%;
    color: rgb(var(--link-color));
  height: 200px;
    font-weight: bold;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}


.article-content {
.tools-container .tool-item .tool-description {
  padding: 15px;
    grid-area: content;
  flex: 1;
    background-color: white;
  font-family: var(--body-font);
    border: 1px solid #ababab;
    padding: 8px;
}
}


.article-footer {
/* 新闻容器 - Windows XP风格 */
  display: flex;
.news-container {
  align-items: center;
    background-color: rgb(var(--xp-window-bg));
  justify-content: space-between;
    border: 2px solid rgb(var(--xp-window-border));
  padding: 10px 15px;
    box-shadow: var(--window-shadow);
  background-color: rgba(245, 248, 250, 0.7);
    margin-bottom: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0;
}
}


.article-tags {
.news-container .section-title {
  display: flex;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  flex-wrap: wrap;
    color: white;
  gap: 5px;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    width: 100%;
    border-left: none;
}
}


.article-tag {
.news-container .section-title::after {
  display: inline-block;
    content: "×";
  padding: 2px 6px;
    position: absolute;
  font-size: 0.8em;
    top: 5px;
  font-family: var(--UI-font);
    right: 5px;
  background-color: rgba(0, 150, 255, 0.1);
    width: 16px;
  color: var(--link-color);
    height: 16px;
  border-radius: 0;
    background-color: #ff6347;
  border: 1px solid rgba(0, 150, 255, 0.2);
    border: 1px solid rgb(var(--xp-window-border));
  transition: all 0.2s ease;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.article-tag:hover {
.news-container .news-content {
  background-color: rgba(0, 150, 255, 0.2);
    background-color: white;
  color: var(--link-color-active);
    padding: 10px;
  transform: translateY(-1px);
    width: 100%;
    border-bottom: 1px solid #ababab;
}
}


/* 网格布局 - 复古科幻风格 */
.news-container .news-content .news-item {
.grid {
    border-bottom: 1px solid #e0e0e0;
  display: grid;
    padding: 5px 0;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}
}


.grid-item {
.news-container .news-content .news-item:last-child {
  background-color: rgba(255, 255, 255, 0.95);
    border-bottom: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 15px;
  box-shadow: var(--box-depth);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
}


.grid-item::before {
.news-container .news-content .news-title {
  content: "";
    font-weight: bold;
  position: absolute;
    margin-bottom: 3px;
  top: 0;
    color: rgb(var(--xp-blue-dark));
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


.grid-item:hover {
.news-container .news-content .news-date {
  transform: translateY(-3px);
    font-size: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #666;
    margin-bottom: 3px;
}
}


.grid-item:hover::before {
.news-container .news-archive {
  opacity: 1;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
    width: 100%;
}
}


/* 按钮组 - 复古科幻风格 */
.news-container .news-archive a {
.btn-group {
    color: rgb(var(--link-color));
  display: inline-flex;
  vertical-align: middle;
}
}


.btn-group button {
/* 响应式调整 */
  margin: 0;
@media (max-width: 767px) {
  border-radius: 0;
    .tools-container {
        grid-template-columns: 1fr;
    }
   
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
        margin-bottom: 15px;
    }
   
    body::after {
        width: 80px;
        font-size: 12px;
    }
}
}


.btn-group button:not(:first-child) {
/* Windows XP蓝屏风格 */
  border-left: none;
.bluescreen {
    background-color: #0000aa;
    color: #ffffff;
    font-family: "Courier New", monospace;
    padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}
}


.btn-group button:first-child {
.bluescreen h2 {
  border-top-left-radius: 0;
    color: #ffffff;
  border-bottom-left-radius: 0;
    background: none;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}
}


.btn-group button:last-child {
.bluescreen p {
  border-top-right-radius: 0;
    margin: 10px 0;
  border-bottom-right-radius: 0;
    line-height: 1.5;
}
}


/* 通知横幅 - 复古科幻风格 */
.bluescreen code {
.banner {
    background-color: #0000aa;
  display: flex;
    border: none;
  align-items: center;
    color: #ffffff;
  margin: 1.5em 0;
    display: block;
  padding: 12px 15px;
    margin: 10px 0;
  background-color: rgba(245, 248, 250, 0.9);
    font-family: "Courier New", monospace;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  box-shadow: var(--box-depth);
  position: relative;
  overflow: hidden;
}
}


.banner::before {
/* 标题栏文本 */
  content: "";
.titlebox {
  position: absolute;
    color: white;
  top: 0;
    position: relative;
  left: 0;
    top: -16px;
  width: 100%;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  height: 2px;
    padding: 5px 20px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
    line-height: 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border: 1px solid rgb(var(--xp-window-border));
    display: inline-block;
}
}


.banner-icon {
/* Windows XP Logo风格块 */
  margin-right: 15px;
.logoblock {
  font-size: 1.5em;
    padding: 30px 10px 10px;
  color: #777;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}
}


.banner-content {
.logoblock::before {
  flex: 1;
    content: "Windows";
  font-family: var(--body-font);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.banner-title {
.logoblock::after {
  font-family: var(--title-font);
    content: "";
  font-size: calc(var(--base-font-size) * 1.1);
    float: center;
  margin: 0 0 5px 0;
    border: solid 2px #0000;
  color: #333;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
}


.banner-text {
/* Windows XP错误对话框 */
  margin: 0;
.error-dialog {
  color: #555;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
}


.banner-close {
.error-dialog::before {
  margin-left: 15px;
    content: "Error";
  cursor: pointer;
    position: absolute;
  color: #777;
    top: 0;
  font-size: 1.2em;
    left: 0;
  transition: all 0.2s ease;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.banner-close:hover {
.error-dialog::after {
  color: #333;
    content: "×";
  transform: scale(1.1);
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


/* 主题变换按钮 - 复古科幻风格 */
.error-dialog .icon {
.theme-switch {
    float: left;
  position: fixed;
    margin-right: 10px;
  bottom: 20px;
    width: 32px;
  right: 20px;
    height: 32px;
  z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: rgba(20, 20, 20, 0.8);
    background-repeat: no-repeat;
  color: #fff;
    background-size: contain;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  font-family: var(--UI-font);
  font-size: calc(var(--base-font-size) * 0.8);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}
}


.theme-switch-icon {
.error-dialog .message {
  font-size: 1.2em;
    margin-left: 50px;
    font-weight: bold;
}
}


.theme-switch:hover {
.error-dialog .buttons {
  background-color: rgba(30, 30, 30, 0.9);
    text-align: right;
  transform: translateY(-2px);
    margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


/* 页脚 - 复古科幻风格 */
.error-dialog .buttons button {
.footer {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
  margin-top: 3rem;
    border: 1px solid #ababab;
  padding: 2rem 0;
    padding: 3px 10px;
  background-color: rgba(240, 245, 250, 0.9);
    margin-left: 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
  font-family: var(--small-font);
  font-size: var(--small-font-size);
  text-align: center;
  position: relative;
}
}


.footer::before {
.error-dialog .buttons button:hover {
  content: "";
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}
}


.footer-links {
/* JS添加功能 */
  display: flex;
.JS-added-button {
  justify-content: center;
    display: none; /* 由JS控制显示 */
  flex-wrap: wrap;
    position: fixed;
  gap: 20px;
    right: 10px;
  margin-bottom: 1rem;
    bottom: 40px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
}


.footer-link {
.JS-added-button:hover {
  color: var(--link-color);
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  text-decoration: none;
  transition: all 0.2s ease;
}
}


.footer-link:hover {
/* 创建一个窗口最小化图标,显示在任务栏中 */
  color: var(--link-color-active);
.minimized-window {
  text-shadow: 0 0 3px rgba(0, 150, 255, 0.3);
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}


.footer-copyright {
.minimized-window:hover {
  color: #777;
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
  margin: 0;
}
}


/* 媒体查询 - 响应式布局 */
/* 添加系统时钟到任务栏 */
@media screen and (max-width: 768px) {
.taskbar-clock {
  :root {
    position: fixed;
     --base-font-size: 14px;
    right: 10px;
     --small-font-size: 12px;
    bottom: 0;
  }
    height: 30px;
 
    padding: 0 10px;
  body {
    background: transparent;
     padding: 1rem;
    color: white;
     margin: 0.5rem;
     line-height: 30px;
  }
    font-size: 12px;
 
     z-index: 9999;
  .sidebar {
}
/* 导航框(查论编)- Windows XP风格 */
table.navbox {
     border: 2px solid rgb(var(--xp-window-border));
    clear: both;
     margin: 1em auto;
    padding: 0;
    text-align: center;
     width: 100%;
     width: 100%;
     max-height: none;
     background-color: rgb(var(--xp-window-bg));
     margin-top: 1rem;
    box-shadow: var(--window-shadow);
     position: static;
    border-collapse: separate;
  }
    border-spacing: 0;
 
    border-radius: 0;
  .grid {
}
     grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
 
  }
.navbox-title,
 
.navbox-abovebelow,
  .notaninfobox {
table.navbox th {
     float: none;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
     width: 100%;
    color: white;
     margin: 1em 0;
    padding: 5px 10px;
  }
    text-align: center;
 
    font-weight: bold;
  .modal-dialog {
    text-shadow: var(--text-shadow);
     margin: 1rem;
    border-bottom: 1px solid rgb(var(--xp-window-border));
     max-width: 100%;
    position: relative;
  }
}
 
.navbox-title::after,
table.navbox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.navbox-group {
    background-color: #f0f0f0;
    border: 1px solid #ababab;
    color: black;
    font-weight: bold;
    padding: 5px;
    text-align: right;
    white-space: nowrap;
}
 
.navbox-list {
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
    text-align: left;
}
 
/* 修复开始按钮 - 实际元素而非伪元素 */
.start-button {
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100px;
    height: 30px;
    background: linear-gradient(to bottom, #4cae4c, #398439);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #366;
    border-left: none;
     box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px 20px;
}
 
/* 修复开始菜单样式 */
#xp-start-menu {
    position: fixed !important;
    left: 0 !important;
    bottom: 60px !important;
    width: 250px !important;
    background-color: white !important;
    border: 2px solid #0054e3 !important;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.3) !important;
    z-index: 10000 !important;
    display: none;
}
 
.start-menu-top {
    height: 60px !important;
    background: linear-gradient(to bottom, #235ddc, #225ada 50%, #214fbb) !important;
    color: white !important;
    padding: 10px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
}
 
.start-menu-items {
    background-color: white !important;
    padding: 5px 0 !important;
}
 
.start-menu-item {
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}
 
.start-menu-item:hover {
    background-color: #e0ecff !important;
}
 
/* 修复下拉菜单 */
.dropdown-menu {
    display: none;
     position: absolute;
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
    z-index: 1000;
}
 
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
     display: block !important;
}
 
/* 修复2: 下拉菜单位置 */
#p-personal .vector-menu-content,
.vector-user-menu .vector-menu-content,
.vector-menu-dropdown .vector-menu-content {
    right: 0 !important;
    left: auto !important;
}
 
/* 确保下拉菜单不会超出屏幕 */
.dropdown-menu {
    right: 0 !important;
    left: auto !important;
}
 
#p-personal {
    position: relative !important;
}
 
/* 修复3: 时钟显示问题 */
/* 隐藏时钟图标 */
.oo-ui-icon-clock:before,
.mw-ui-icon-clock:before,
#pt-watchlist .mw-ui-icon:before {
    display: none !important;
}
 
/* 重新设置时钟样式,确保不会重叠 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    padding: 0 8px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: white !important;
    font-weight: bold !important;
    line-height: 20px !important;
    font-size: 14px !important;
    z-index: 10000 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    border-radius: 3px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}
 
/* 修复4: 开始按钮背景 */
.start-button {
     position: fixed !important;
    left: 0 !important;
    bottom: 30px !important;
     width: 100px !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #4cae4c, #398439) !important;
    color: white !important;
    text-align: center !important;
    line-height: 30px !important;
    font-weight: bold !important;
    border-radius: 0 5px 5px 0 !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    border: 1px solid #366 !important;
    border-left: none !important;
     box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3) !important;
    padding-left: 30px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}
 
.start-button::before {
     content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
     transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
}


@media screen and (min-width: 1440px) {
/* 修复底部任务栏,使开始按钮正确显示 */
  :root {
body::before {
     --base-font-size: 16px;
    content: "" !important;
     --small-font-size: 14px;
     position: fixed !important;
  }
     left: 0 !important;
 
    bottom: 0 !important;
  body {
    width: 100% !important;
     width: 80%;
    height: 30px !important;
     max-width: 1400px;
     background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
  }
     border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
}
}


/* 打印样式优化 */
 
@media print {
 
  :root {
/* 修复3: 移除之前的开始按钮伪元素 */
    --crt-effects-display: none;
body::after {
  }
 
  html, body {
    background: #fff !important;
    color: #000 !important;
  }
 
  body::before,
  body::after,
  .crt-primary-scanline,
  .crt-secondary-scanline,
  .crt-fast-scanline,
  .crt-scanline-shadow,
  .crt-curve-effect,
  .crt-monitor-frame,
  .crt-reflection,
  .theme-switch {
     display: none !important;
     display: none !important;
  }
}
 
 
  * {
/* 修复4: 时钟样式完善 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    line-height: 20px !important;
    padding: 0 8px !important;
    background-color: transparent !important;
    color: white !important;
    font-weight: normal !important;
    font-size: 13px !important;
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
    z-index: 10000 !important;
     text-shadow: none !important;
     text-shadow: none !important;
    box-shadow: none !important;
}
    animation: none !important;
 
    border-color: #ddd !important;
/* 完全隐藏时钟图标 */
  }
.oo-ui-icon-clock,
 
.mw-ui-icon-clock,
  a {
#pt-watchlist .mw-ui-icon,
    color: #000 !important;
.mw-watchlink .mw-ui-icon::before {
    text-decoration: underline !important;
  }
 
  a::before {
     display: none !important;
     display: none !important;
  }
 
  pre, code {
    border: 1px solid #ddd;
    background: #f8f8f8 !important;
  }
 
  .notaninfobox,
  .card,
  .article-card,
  .sidebar,
  .banner,
  .modal {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}
}


/* 为JS操作预留的类 */
/* 修复5: 完善底部任务栏 */
.hidden {
.taskbar {
  display: none !important;
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
    border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: center !important;
}
 
/* 任务栏内容区域 */
.taskbar-content {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
}
 
/* 快速启动栏 */
.quick-launch {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-right: 5px !important;
}
 
.quick-launch-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}
 
.quick-launch-icon:hover {
    opacity: 1 !important;
}
 
/* 系统托盘区域 */
.system-tray {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-left: auto !important;
}
}


.visible {
 
  display: block !important;
//* 修复系统托盘布局 */
.system-tray {
    position: fixed !important;
    right: 10px !important;
    bottom: 0 !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 5px !important;
    z-index: 10000 !important;
}
}


.invisible {
/* 单独设置时钟样式 */
  visibility: hidden !important;
.taskbar-clock {
    position: static !important;
    color: white !important;
    font-family: "Tahoma", sans-serif !important;
    font-size: 13px !important;
    line-height: 30px !important;
}
}


.transparent {
/* 移除重复的系统图标 */
  opacity: 0 !important;
.tray-icon {
    display: none !important;
}
/* 强制应用指定字体 */
* {
    font-family: var(--body-font) !important;
}
}


.no-transitions {
body, html {
  transition: none !important;
    font-family: "VonwaonBitmap 16px", VT323, monospace !important;
}
}


/* 页面加载后自动添加CRT效果元素和功能性JS */
/* 特别设置任务栏字体 */
document.addEventListener('DOMContentLoaded', function() {
.taskbar, .start-button, .taskbar-clock {
  // 创建一个隐藏/显示CRT效果的按钮
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
  var toggleButton = document.createElement('button');
}
  toggleButton.innerHTML = '切换CRT效果';
/* 修复媒体查询 */
  toggleButton.className = 'theme-switch';
@media (max-width: 767px) {
  toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> CRT效果';
     .navbar-toggle, .navbar-toggler {
 
        display: block !important;
  // 添加事件监听
    }
  toggleButton.addEventListener('click', function() {
     var root = document.documentElement;
    var currentDisplay = getComputedStyle(root).getPropertyValue('--crt-effects-display').trim();
      
      
     if (currentDisplay === 'block' || currentDisplay === '') {
     .navbar-collapse {
      root.style.setProperty('--crt-effects-display', 'none');
        position: absolute !important;
      toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> 显示CRT';
        top: 100% !important;
     } else {
        left: 0 !important;
      root.style.setProperty('--crt-effects-display', 'block');
        right: 0 !important;
      toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> 隐藏CRT';
        background: rgb(var(--xp-window-bg)) !important;
        border: 1px solid rgb(var(--xp-window-border)) !important;
        z-index: 1000 !important;
    }
}
 
/* 确保任务栏不与页面内容重叠 */
body {
    padding-bottom: 40px !important;
}
 
#content {
    margin-bottom: 40px !important;
}
 
/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}
 
.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}
 
/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* Echo扩展通知图标修复 */
#pt-notifications-alert,
#pt-notifications-notice,
.mw-echo-notifications-badge,
.mw-echo-notification-badge-nojs {
    background-color: transparent !important;
    border: none !important;
}
 
#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(var(--bright-accent)) !important;
    filter: none !important;
    opacity: 1 !important;
}
 
.mw-echo-notifications-badge:after,
.mw-echo-notification-badge-nojs:after {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    border: 1px solid rgb(var(--black-monochrome)) !important;
    opacity: 1 !important;
}
 
/* 只修改通知图标的颜色 */
/* Echo图标蓝色风格 - Windows XP主题 */
#pt-notifications-alert .oo-ui-icon-bell,
#pt-notifications-notice .oo-ui-icon-tray {
    filter: invert(34%) sepia(37%) saturate(2476%) hue-rotate(201deg) brightness(97%) contrast(85%);
}
 
/* 或者更直接的方式,使用颜色而不是filter */
#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(49, 106, 197) !important; /* 使用XP蓝色 */
    filter: none !important;
    opacity: 1 !important;
}
 
/* 悬停时变亮 */
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
    color: rgb(82, 153, 235) !important; /* 使用XP浅蓝色 */
}
/* 目录框样式 */
#toc, .toc {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    padding: 0.5em !important;
    font-family: var(--body-font) !important;
}
 
.toc .toctitle, #toc .toctitle {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    text-align: center !important;
    padding: 0.25em !important;
    margin: -0.5em -0.5em 0.5em -0.5em !important;
     font-weight: bold !important;
}
 
.toc ul, #toc ul {
    margin: 0 !important;
    padding: 0 0 0 1.5em !important;
}
 
.toc a, #toc a {
    color: rgb(var(--bright-accent)) !important;
    text-decoration: none !important;
}
 
.toc a:hover, #toc a:hover {
    color: rgb(var(--white-monochrome)) !important;
    text-decoration: underline !important;
}
 
.tocnumber {
    color: rgb(var(--pale-accent)) !important;
}
/* 简化的导航栏布局 */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
 
.navbar-brand {
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}
 
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}
 
.navbar-nav > li {
    margin: 0 10px !important;
}
 
.navbar-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}
 
/* 搜索框间距修复 */
#searchform {
    margin: 0 10px !important;
}
 
/* 响应式修复 */
@media (max-width: 767px) {
    .navbar {
        flex-wrap: wrap !important;
     }
     }
  });
 
  document.body.appendChild(toggleButton);
 
  // 添加CRT效果元素
  var body = document.querySelector('body');
 
  // CRT曲面效果
  var crtCurveEffect = document.createElement('div');
  crtCurveEffect.className = 'crt-curve-effect';
  body.appendChild(crtCurveEffect);
 
  // CRT显示器边框
  var crtMonitorFrame = document.createElement('div');
  crtMonitorFrame.className = 'crt-monitor-frame';
  body.appendChild(crtMonitorFrame);
 
  // CRT反光效果
  var crtReflection = document.createElement('div');
  crtReflection.className = 'crt-reflection';
  body.appendChild(crtReflection);
 
  // 主扫描线
  var primaryScanline = document.createElement('div');
  primaryScanline.className = 'crt-primary-scanline';
  body.appendChild(primaryScanline);
 
  // 副扫描线
  var secondaryScanline = document.createElement('div');
  secondaryScanline.className = 'crt-secondary-scanline';
  body.appendChild(secondaryScanline);
 
  // 快速扫描线
  var fastScanline = document.createElement('div');
  fastScanline.className = 'crt-fast-scanline';
  body.appendChild(fastScanline);
 
  // 扫描线阴影
  var scanlineShadow = document.createElement('div');
  scanlineShadow.className = 'crt-scanline-shadow';
  body.appendChild(scanlineShadow);
 
  // 标签页功能
  var tabLinks = document.querySelectorAll('.tabs-nav a');
 
  tabLinks.forEach(function(link) {
    link.addEventListener('click', function(e) {
      e.preventDefault();
     
      // 移除所有活动类
      tabLinks.forEach(function(l) {
        l.classList.remove('active');
      });
     
      // 添加活动类到当前链接
      this.classList.add('active');
     
      // 获取目标面板ID
      var targetId = this.getAttribute('href').substring(1);
     
      // 隐藏所有面板
      var tabPanes = document.querySelectorAll('.tab-pane');
      tabPanes.forEach(function(pane) {
        pane.classList.remove('active');
      });
     
      // 显示目标面板
      document.getElementById(targetId).classList.add('active');
    });
  });
 
  // 折叠面板功能
  var accordionButtons = document.querySelectorAll('.accordion-button');
 
  accordionButtons.forEach(function(button) {
    button.addEventListener('click', function() {
      this.classList.toggle('collapsed');
     
      var target = this.getAttribute('data-target');
      var body = document.querySelector(target);
     
      if (body.classList.contains('show')) {
        body.classList.remove('show');
      } else {
        body.classList.add('show');
      }
    });
  });
 
  // 实现打字机效果
  var typewriterElements = document.querySelectorAll('.typewriter');
 
  typewriterElements.forEach(function(element) {
    var text = element.textContent;
    element.innerHTML = "";
    element.style.width = "0";
      
      
     var i = 0;
     .navbar-collapse {
    var speed = 50; // 打字速度,毫秒每字符
         width: 100% !important;
   
    function typeWriter() {
      if (i < text.length) {
         element.innerHTML += text.charAt(i);
        i++;
        setTimeout(typeWriter, speed);
      }
     }
     }
      
}
     // 文本可见后开始打字效果
/* 修复logo样式 */
     var observer = new IntersectionObserver(function(entries) {
.navbar-brand img,
      entries.forEach(function(entry) {
.navbar .logo img,
        if (entry.isIntersecting) {
#p-logo img,
          typeWriter();
.navbar-header img {
          observer.unobserve(element);
    border: none !important;
        }
    display: inline-block !important;
      });
    margin: 0 !important;
     });
    padding: 0 !important;
      
    max-height: 40px !important;
     observer.observe(element);
    vertical-align: middle !important;
  });
}
});
 
.navbar-brand,
.navbar .logo,
#p-logo,
.navbar-header {
     display: flex !important;
     align-items: center !important;
    height: auto !important;
    padding: 5px 15px !important;
    margin: 0 !important;
}
/* 完全重置TOC样式 - Windows XP风格 */
#toc, .toc, .chameleon-toc, .mw-toc, #mw-toc, .Table_of_Contents {
     background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    padding: 35px 10px 10px !important; /* 上方留出标题空间 */
    margin: 1em 0 !important;
    position: relative !important;
    border-radius: 0 !important;
    width: auto !important;
    max-width: 360px !important; /* 限制最大宽度 */
    min-width: 200px !important;
    display: block !important; /* 改用块级显示 */
     float: right !important; /* 向右浮动 */
     clear: right !important;
     overflow: visible !important;
    z-index: 1 !important;
}


/*
/* 自定义标题栏 */
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
#toc::before, .toc::before, .chameleon-toc::before, .mw-toc::before, #mw-toc::before, .Table_of_Contents::before {
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
    content: "Contents" !important;
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
    position: absolute !important;
*/
    top: 0 !important;
    left: 0 !important;
.colormu-drk {
    right: 0 !important;
color: #FFF;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light))) !important;
    color: white !important;
    padding: 5px 10px !important;
    font-weight: bold !important;
    text-shadow: var(--text-shadow) !important;
    border-bottom: 1px solid rgb(var(--xp-window-border)) !important;
    text-align: left !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    display: block !important;
    z-index: 2 !important;
}
}
.colormu-bri {
 
color: #000;
/* 处理原始标题和关闭按钮 */
.toc .toctitle, #toc .toctitle, .chameleon-toc .toctitle,
.mw-toc-heading, .tocheader, .toctoggle, .toctogglecheckbox {
    display: none !important; /* 隐藏原始标题 */
}
}
.colormu-drk:not(.colormu_toggle_on) a {
 
color: #add8e6;
/* 确保目录列表可见 */
.toc ul, #toc ul, .chameleon-toc ul,
.mw-toc ul, #mw-toc ul, .Table_of_Contents ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0.5em 0 !important;
    padding: 0 0 0 1.5em !important;
    list-style-type: disc !important;
    text-align: left !important;
    max-height: none !important;
    overflow: visible !important;
}
}
.colormu-drk:not(.colormu_toggle_on) a.new {
 
color: #FCC;
/* 确保目录列表项可见 */
.toc li, #toc li, .chameleon-toc li,
.mw-toc li, #mw-toc li, .Table_of_Contents li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    color: rgb(var(--xp-text)) !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}
}
.colormu>span, .colormu a, .colormu a>span {
 
transition: color 0.2s;
/* 链接样式 */
.toc a, #toc a, .chameleon-toc a,
.mw-toc a, #mw-toc a, .Table_of_Contents a {
    display: inline !important;
    color: rgb(var(--link-color)) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
}
 
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
.toc a:hover, #toc a:hover, .chameleon-toc a:hover,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
.mw-toc a:hover, #mw-toc a:hover, .Table_of_Contents a:hover {
color: transparent;
    color: rgb(var(--hover-link-color)) !important;
    text-decoration: underline !important;
}
}
 
/* for T:Coloredlink in T:彩幕 */
/* 目录编号样式 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
.tocnumber {
color: transparent !important;
    color: rgb(var(--xp-blue)) !important;
    font-weight: bold !important;
    margin-right: 0.3em !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}
}
 
/* for T:彩幕 in link */
/* 强制显示所有子目录 */
a .colormu-bri {
.toc .toclevel-1 ul,
color: inherit;
.toc .toclevel-2 ul,
.toc .toclevel-3 ul,
#toc .toclevel-1 ul,
#toc .toclevel-2 ul,
#toc .toclevel-3 ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
}
a:hover .colormu>span, a:active .colormu>span,
 
/* and for MediaWiki:Gadget-heimu-toggle.js */
/* 整个目录容器设置 */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
#mw-content-text .toc,
color: inherit !important;
#mw-content-text #toc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
}
/* CommonJS功能 */
/* [[Category:在模板名字空间下的CSS页面]] */
/* 这些样式将由JavaScript功能使用 */

2025年5月11日 (日) 15:22的最新版本

/* Windows XP风格MediaWiki主题 - 完整迁移自Wikidot */

/* 导入所需字体 */
@import url("https://fonts.googleapis.com/css2?family=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    /* 主题基础设置 */
    --fade-in-delay: 0.1s;
    --theme-base: "xp-style";
    --theme-id: "windows-xp";
    --theme-name: "Windows XP Theme";
    
    /* 字体设置 - 保持原有字体 */
    --body-font: "VonwaonBitmap 16px", VT323, monospace;
    --header-font: "VonwaonBitmap 16px", VT323, monospace;
    --title-font: "VonwaonBitmap 16px", VT323, monospace;
    --mono-font: "VonwaonBitmap 16px", VT323, monospace;
    --pixel-font-16: 'VonwaonBitmap 16px', VT323, monospace;
    --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
    --base-font-size: 14px;
    
    /* Windows XP 颜色方案 */
    --xp-blue: 49, 106, 197;
    --xp-blue-light: 82, 153, 235;
    --xp-blue-dark: 16, 35, 85;
    --xp-green: 57, 154, 48;
    --xp-button: 192, 192, 192;
    --xp-window-border: 0, 0, 0;
    --xp-window-bg: 236, 233, 216;
    --xp-text: 0, 0, 0;
    
    /* 颜色方案 - 迁移并适配XP风格 */
    --white-monochrome: 255, 255, 255;
    --pale-gray-monochrome: 236, 233, 216;
    --light-gray-monochrome: 192, 192, 192;
    --gray-monochrome: 128, 128, 128;
    --black-monochrome: 0, 0, 0;
    --bright-accent: var(--xp-blue);
    --medium-accent: var(--xp-blue);
    --dark-accent: var(--xp-blue-dark);
    --pale-accent: var(--xp-blue-light);
    
    /* 链接颜色 */
    --link-color: 0, 0, 255;
    --visited-link-color: 128, 0, 128;
    --hover-link-color: 0, 0, 255;
    
    /* 文本阴影 */
    --text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    
    /* 边框和阴影 */
    --window-border: 1px solid rgb(var(--xp-window-border));
    --window-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* 应用全局字体 */
body {
    font-family: var(--body-font) !important;
    font-size: var(--base-font-size) !important;
    line-height: 1.5 !important;
    background-color: #3a6ea5; /* 经典XP桌面蓝色背景 */
    background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(var(--xp-text));
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6, #firstHeading {
    font-family: var(--title-font);
    color: rgb(var(--white-monochrome));
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    padding: 5px 10px;
    margin-top: 10px;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-shadow: var(--text-shadow);
}

/* 窗口操作按钮 - 关闭、最大化、最小化 */
h1::after, 
h2::after,
h3::after,
h4::after,
h5::after,
h6::after,
#firstHeading::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
}

h1::before, 
h2::before,
h3::before,
h4::before,
h5::before,
h6::before,
#firstHeading::before {
    content: "□";
    position: absolute;
    top: 2px;
    right: 25px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: black;
    cursor: pointer;
}

h1 span::before, 
h2 span::before,
h3 span::before,
h4 span::before,
h5 span::before,
h6 span::before,
#firstHeading span::before {
    content: "_";
    position: absolute;
    top: 2px;
    right: 45px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

/* 链接样式 */
a {
    color: rgb(var(--link-color));
    text-decoration: none;
}

a:visited {
    color: rgb(var(--visited-link-color));
}

a:hover {
    color: rgb(var(--hover-link-color));
    text-decoration: underline;
}

/* ">" 箭头指示符 - 保留原样 */
a:hover::before {
    content: "> ";
}


/* 背景样式 */
html, body {
    background-color: #3a6ea5 !important; /* 保留XP桌面风格 */
}

/* 搜索框和搜索按钮样式 */
#searchButton, 
.searchButton,
input[type="submit"],
input[type="button"],
.mw-ui-button,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0) !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--body-font) !important;
    padding: 3px 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

#searchButton:hover,
.searchButton:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.mw-ui-button:hover,
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* 分类条样式 */
#catlinks,
.catlinks {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    padding: 0.5em !important;
    margin-top: 1em !important;
    font-family: var(--body-font) !important;
    box-shadow: var(--window-shadow) !important;
}

#catlinks a,
.catlinks a {
    color: rgb(var(--link-color)) !important;
    text-decoration: none !important;
}

#catlinks a:hover,
.catlinks a:hover {
    color: rgb(var(--hover-link-color)) !important;
    text-decoration: underline !important;
}

/* 工具栏样式 */
#footer-info,
#footer-places,
.footer-places,
.footer-info {
    background-color: rgb(var(--xp-window-bg)) !important;
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
    color: rgb(var(--xp-text)) !important;
    padding: 0.5em 1em !important;
    font-family: var(--body-font) !important;
}

#footer-info a,
#footer-places a {
    color: rgb(var(--link-color)) !important;
}

#footer-info a:hover,
#footer-places a:hover {
    color: rgb(var(--hover-link-color)) !important;
}

/* 主内容区背景 */
#content {
    background-color: rgb(var(--xp-window-bg));
    position: relative;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin: 10px auto;
    padding: 0;
    border-radius: 0;
}

/* 导航栏 */
.navbar, 
.navbar.navbar-default,
.navbar-light {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar-light .navbar-nav .nav-link {
    color: rgb(var(--link-color)) !important;
    font-family: var(--header-font) !important;
}

.navbar .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgb(var(--hover-link-color)) !important;
    background-color: rgba(var(--xp-blue), 0.1) !important;
}

/* 下拉菜单 */
.dropdown-menu {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}

.dropdown-item {
    color: rgb(var(--link-color)) !important;
    font-family: var(--body-font) !important;
}

.dropdown-item:hover {
    background-color: rgba(var(--xp-blue), 0.1) !important;
    color: rgb(var(--hover-link-color)) !important;
}

/* 侧边栏 */
#mw-navigation, #mw-panel, .sidebar {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}

#mw-navigation h2, #mw-panel h3, .sidebar h3 {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light))) !important;
    color: rgb(var(--white-monochrome)) !important;
    font-family: var(--header-font) !important;
    border-bottom: 1px solid rgb(var(--xp-window-border)) !important;
    padding: 5px 10px !important;
    text-shadow: var(--text-shadow) !important;
    position: relative !important;
}

/* 工具栏 */
#p-tb, .tools-menu {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}

/* 内容区域 */
#content, .mw-body {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}

/* 页脚 */
#footer, .footer {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
    color: rgb(var(--xp-text)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
    margin: 10px auto !important;
    padding: 10px !important;
}

/* 搜索框 */
#searchInput, .form-control {
    background-color: white !important;
    border: 1px solid #7f9db9 !important;
    color: rgb(var(--xp-text)) !important;
    font-family: var(--body-font) !important;
    padding: 3px 5px !important;
}

/* 按钮 */
.btn, .mw-ui-button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0) !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--body-font) !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn:hover, .mw-ui-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* 表格 */
.wikitable, table.wikitable {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: var(--window-shadow) !important;
}

.wikitable th {
    background: linear-gradient(to bottom, #e3e3e3, #d0d0d0) !important;
    border: 1px solid #ababab !important;
    color: black !important;
    padding: 5px !important;
}

.wikitable td {
    border: 1px solid #ababab !important;
    background-color: white !important;
    color: black !important;
    padding: 5px !important;
}

/* 代码块和预格式文本 */
pre, code, .mw-code {
    background-color: white !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--mono-font) !important;
    padding: 5px !important;
}

/* 链接颜色 */
a {
    color: rgb(var(--link-color)) !important;
}

a:visited {
    color: rgb(var(--visited-link-color)) !important;
}

a:hover {
    color: rgb(var(--hover-link-color)) !important;
    text-decoration: underline !important;
}

/* 扫描线动画 - 修改为半透明灰色 */
.scan-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

/* 主扫描线 - 较宽较慢 */
.scan-animation::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(128, 128, 128, 0) 0%,
        rgba(128, 128, 128, 0.1) 20%,
        rgba(128, 128, 128, 0.2) 50%,
        rgba(128, 128, 128, 0.1) 80%,
        rgba(128, 128, 128, 0) 100%
    );
    box-shadow: 
        0 0 8px rgba(128, 128, 128, 0.15),
        0 0 15px rgba(128, 128, 128, 0.1);
    animation: scanMain 12s linear infinite;
    opacity: 0.4;
}

/* 副扫描线 - 中等速度 */
.scan-animation::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(128, 128, 128, 0) 0%,
        rgba(128, 128, 128, 0.3) 50%,
        rgba(128, 128, 128, 0) 100%
    );
    box-shadow: 0 0 6px rgba(128, 128, 128, 0.2);
    animation: scanSecondary 7s linear infinite;
    animation-delay: -3s;
    opacity: 0.25;
}

/* 快速扫描线 - 细小快速 */
.scan-animation .fast-scan {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    background: rgba(128, 128, 128, 0.6);
    box-shadow: 0 0 3px rgba(128, 128, 128, 0.3);
    animation: scanFast 3s linear infinite;
    animation-delay: -1.5s;
    opacity: 0.15;
}

/* 各个扫描线的动画 */
@keyframes scanMain {
    0% { 
        top: -2rem;
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% { 
        top: 100vh;
        opacity: 0.6;
    }
}

@keyframes scanSecondary {
    0% { 
        top: -1rem;
        opacity: 0.4;
    }
    35% {
        opacity: 0.2;
    }
    70% {
        opacity: 0.5;
    }
    100% { 
        top: 100vh;
        opacity: 0.4;
    }
}

@keyframes scanFast {
    0% { 
        top: -0.3rem;
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% { 
        top: 100vh;
        opacity: 0.3;
    }
}

/* 保留原始的淡入效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 应用动画到内容 */
.mw-parser-output > * {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

/* 延迟动画 */
.mw-parser-output > *:nth-child(1) { animation-delay: 0.1s; }
.mw-parser-output > *:nth-child(2) { animation-delay: 0.2s; }
.mw-parser-output > *:nth-child(3) { animation-delay: 0.3s; }
.mw-parser-output > *:nth-child(4) { animation-delay: 0.4s; }
.mw-parser-output > *:nth-child(5) { animation-delay: 0.5s; }
.mw-parser-output > *:nth-child(n+6) { animation-delay: 0.6s; }

/* 修复代码区域样式 */
.mw-highlight pre {
    background-color: white !important;
    border: 1px solid #ababab !important;
    padding: 1em !important;
    overflow: auto !important;
}

/* 语法高亮颜色 - 保持原有值 */
.mw-highlight .k { color: #0000AA !important; } /* 关键字 */
.mw-highlight .s { color: #006600 !important; } /* 字符串 */
.mw-highlight .c { color: #666666 !important; } /* 注释 */
.mw-highlight .n { color: #000000 !important; } /* 名称 */
.mw-highlight .o { color: #000000 !important; } /* 运算符 */

/* 引用样式 - Windows XP风格 */
.lightstyled-quote, .darkstyled-quote {
    background-color: rgb(var(--xp-window-bg));
    color: rgb(var(--xp-text));
    border: 1px solid #ababab;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border-left: 4px solid rgb(var(--xp-blue));
    position: relative;
}

.lightstyled-quote::before, .darkstyled-quote::before {
    content: "Information";
    position: absolute;
    top: -22px;
    left: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 2px 10px;
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: var(--text-shadow);
}

/* 块样式 - Windows XP风格 */
.lightblock, .darkblock {
    background-color: rgb(var(--xp-window-bg));
    color: rgb(var(--xp-text));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 10px;
    margin: 10px 0;
    position: relative;
    border-radius: 0;
}

.lightblock::before, .darkblock::before {
    content: "Message";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-align: left;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}

.lightblock::after, .darkblock::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

/* 保留黑幕效果 - 行826-947 */
.heimu,
.heimu rt{
    --heimu-color:#252525;
    --heimu-text-color:#fff;
    --heimu-link-color:#add8e6;
    --heimu-visited-link-color:#c5cae9;
    --heimu-new-link-color:#fcc;
    --heimu-new-visited-link-color:#ef9a9a;
    --heimu-extiw-visited-link-color:#d1c4e9;

    background-color:var(--heimu-color);
}

.heimu,
.heimu a,
a .heimu,
a.new .heimu,
span.heimu a:visited,
span.heimu a.new,
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited,
span.heimu a.mw-disambig,
span.heimu a.mw-redirect{
    transition:color 0.13s linear;
    color:var(--heimu-color);
    text-shadow:none;
}

span.heimu:hover,
span.heimu:active{
    color:var(--heimu-text-color);
}

span.heimu:hover a,
a:hover span.heimu{
    color:var(--heimu-link-color);
}

span.heimu:hover a:visited,
a:visited:hover span.heimu{
    color:var(--heimu-visited-link-color);
}

span.heimu:hover a.new,
a.new:hover span.heimu{
    color:var(--heimu-new-link-color);
}

span.heimu a.new:hover:visited,
a.new:hover:visited span.heimu{
    color:var(--heimu-new-visited-link-color);
}

span.heimu:hover a.extiw:visited,
a.extiw:visited:hover span.heimu{
    color:var(--heimu-extiw-visited-link-color);
}
[color-mode="dark"] .heimu,
[color-mode="dark"] .heimu rt{
    --heimu-color:#5e6272;
}

/* 保留彩幕效果 - 行1778-1838 */
.colormu-drk {
	color: #FFF;
}
.colormu-bri {
	color: #000;
}
.colormu-drk:not(.colormu_toggle_on) a {
	color: #add8e6;
}
.colormu-drk:not(.colormu_toggle_on) a.new {
	color: #FCC;
}
.colormu>span, .colormu a, .colormu a>span {
	transition: color 0.2s;
}
 
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
	color: transparent;
}
 
/* for T:Coloredlink in T:彩幕 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
	color: transparent !important;
}
 
/* for T:彩幕 in link */
a .colormu-bri {
	color: inherit;
}
a:hover .colormu>span, a:active .colormu>span,
/* and for MediaWiki:Gadget-heimu-toggle.js */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
	color: inherit !important;
}

/* 橙幕效果 - 修改为Windows XP样式 */
.blackmu,
.blackmu rt {
    --blackmu-color: var(--xp-blue);
    --blackmu-text-color: 255, 255, 255;
    --blackmu-link-color: 173, 216, 230;
    --blackmu-visited-link-color: 197, 202, 233;
    --blackmu-new-link-color: 255, 204, 204;
    --blackmu-new-visited-link-color: 239, 154, 154;
    --blackmu-extiw-visited-link-color: 209, 196, 233;
    
    background-color: rgb(var(--blackmu-color));
}

.blackmu,
.blackmu a,
a .blackmu,
a.new .blackmu,
span.blackmu a:visited,
span.blackmu a.new,
span.blackmu a.external,
span.blackmu a.external:visited,
span.blackmu a.extiw,
span.blackmu a.extiw:visited,
span.blackmu a.mw-disambig,
span.blackmu a.mw-redirect {
    transition: color 0.13s linear;
    color: rgb(var(--blackmu-color));
    text-shadow: none;
}

span.blackmu:hover,
span.blackmu:active {
    color: rgb(var(--blackmu-text-color));
}

span.blackmu:hover a,
a:hover span.blackmu {
    color: rgb(var(--blackmu-link-color));
}

/* 保留特效库代码 - 行949-1777 */
/*
	该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
	请使用hovers在页面中进行载入。
*/

/* hover状态切换 */
.hover-change,
.hover-remote {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}

.hover-change-before,
.hover-change-after,
.hover-remote-target {
  transition: inherit;
}

.hover-change-after,
.hover-remote-target {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.hover-remote-target {
  left: 100%;
}

.hover-change-after[style^='right:'],
.hover-change-after[style*=' right:'],
.hover-remote-after[style^='right:'],
.hover-remote-after[style*=' right:'] {
  left: initial;
}

.hover-change-after[style^='bottom:'],
.hover-change-after[style*=' bottom:'],
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
  top: initial;
}

.hover-change-after:hover,
.hover-remote-target {
  opacity: 0;
  margin-left: -9999px;
}

/* 主要用于制作hover形式的标签页(tab)切换 */
.hover-tab-mode {
  position: relative;
  transition: none;
}
.hover-tab-mode .hover-remote {
  transition: inherit;
  position: static;
}

/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}

.hover-change:hover > .hover-change-before,
.hover-remote > .hover-remote-target,
.hover-change:hover > a > .hover-change-before,
.hover-remote > a > .hover-remote-target {
  opacity: 0;
}

.hover-change:hover > .hover-change-after,
.hover-remote:hover > .hover-remote-target,
.hover-change:hover > a > .hover-change-after,
.hover-remote:hover > a > .hover-remote-target {
  opacity: 1;
  margin-left: initial;
}

/* 基类 */
[class*='hovers-'] {
  display: inline-block;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  transform: perspective(1px) translateZ(0);
  vertical-align: middle;
  transition-duration: 0.25s;
  transition-property: all;
}

/* 旋转放大 */
.hovers-rotate-shrink {
  transition-duration: 0.5s;
  transform: rotate(0) scale(0.75);
}
.hovers-rotate-shrink:hover {
  transform: rotate(360deg) scale(1);
}

.hovers-rotate-shrink-reverse {
  transition-duration: 0.5s;
  transform: rotate(360deg) scale(0.75);
}

.hovers-rotate-shrink-reverse:hover {
  transform: rotate(0) scale(1);
}

/* 旋转 */
.hovers-rotate,
.hovers-rotate-reverse:hover {
  transition-duration: 0.5s;
  transform: rotate(0);
}

.hovers-rotate-reverse,
.hovers-rotate:hover {
  transition-duration: 0.5s;
  transform: rotate(360deg);
}

/* 正常 => 浅 */
.hovers-fade-deep,
.hovers-fade,
.hovers-fade-shallow {
  opacity: 1;
}
.hovers-fade-deep:hover,
.hovers-fade-deep.active {
  opacity: 0.35;
}
.hovers-fade:hover,
.hovers-fade.active {
  opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}

/* 浅 => 正常 */
.hovers-bloom-deep {
  opacity: 0.35;
}
.hovers-bloom {
  opacity: 0.5;
}
.hovers-bloom-shallow {
  opacity: 0.75;
}

.hovers-bloom-deep:hover,
.hovers-bloom-deep.active,
.hovers-bloom:hover,
.hovers-bloom.active,
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
  opacity: 1;
}

/* 正常 => 大 */
.hovers-grow-deep,
.hovers-grow,
.hovers-grow-shallow {
  transform: scale(1);
}
.hovers-grow-deep:hover,
.hovers-grow-deep.active {
  transform: scale(1.5);
}
.hovers-grow:hover,
.hovers-grow.active {
  transform: scale(1.25);
}
.hovers-grow-shallow:hover,
.hovers-grow-shallow.active {
  transform: scale(1.1);
}

/* 正常 => 小 */
.hovers-shrink-deep:hover,
.hovers-shrink-deep.active,
.hovers-shrink:hover,
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
  transform: scale(1);
}
.hovers-shrink-deep {
  transform: scale(0.5);
}
.hovers-shrink {
  transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}

/* 左右抖动 */
@keyframes shake-flexible {
  25% {
    transform: translateX(-0.0625em);
  }

  50% {
    transform: translateX(0.0625em);
  }

  75% {
    transform: translateX(-0.0625em);
  }
}

.hovers-shake-flexible:hover,
.hovers-shake-flexible.active {
  animation: shake-flexible 0.5s ease-out;
}

@keyframes shake {
  25% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-8px);
  }
}

.hovers-shake:hover,
.hovers-shake.active {
  animation: shake 0.5s ease-out;
}

/* 上下抖动 */
@keyframes bounce-flexible {
  25% {
    transform: translateY(-0.0625em);
  }

  50% {
    transform: translateY(0.0625em);
  }

  75% {
    transform: translateY(-0.0625em);
  }
}

.hovers-bounce-flexible:hover,
.hovers-bounce-flexible.active {
  animation: bounce-flexible 0.5s ease-out;
}

@keyframes bounce {
  25% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(8px);
  }

  75% {
    transform: translateY(-8px);
  }
}

.hovers-bounce:hover,
.hovers-bounce.active {
  position: relative;
  left: 0;
  animation: bounce 0.5s ease-out;
}

/* 绕顶端中点抖动 */
@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 10deg);
  }

  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.hovers-swing {
  transform-origin: top center;
}
.hovers-swing:hover,
.hovers-swing.active {
  animation: swing 0.75s ease-out;
}

/* 正常 => 大 */
@keyframes pulse-grow {
  to {
    transform: scale(1.1);
  }
}

.hovers-pulse-grow:hover,
.hovers-pulse-grow.active {
  animation: pulse-grow 0.5s linear infinite alternate;
}

/* 正常 => 小 */
@keyframes pulse-shrink {
  to {
    transform: scale(0.9);
  }
}

.hovers-pulse-shrink:hover,
.hovers-pulse-shrink.active {
  animation: pulse-shrink 0.5s linear infinite alternate;
}

/* 正常 => 小 */
@keyframes push {
  50% {
    transform: scale(0.8);
  }
}

.hovers-push:hover,
.hovers-push.active {
  animation: push 0.3s linear;
}

/* 正常 => 大 */
@keyframes pop {
  50% {
    transform: scale(1.2);
  }
}

.hovers-pop:hover,
.hovers-pop.active {
  animation: pop 0.3s linear;
}

/* 正常 => 大 => 正常 => 大 */
.hovers-bounce-in:hover,
.hovers-bounce-in.active {
  transform: scale(1.2);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* 正常 => 小 => 正常 => 小 */
.hovers-bounce-out:hover,
.hovers-bounce-out.active {
  transform: scale(0.8);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* 倾斜 */
.hovers-tilt:hover,
.hovers-tilt.active {
  transition-duration: 0.3s;
  transform: rotate(4deg);
}

/* 倾斜 + 放大 */
.hovers-grow-rotate:hover,
.hovers-grow-rotate.active {
  transition-duration: 0.3s;
  transform: scale(1.1) rotate(4deg);
}

/* 升起 */
.hovers-float:hover,
.hovers-float.active {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transform: translateY(-8px);
}

/* 下沉 */
.hovers-sink:hover,
.hovers-sink.active {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transform: translateY(8px);
}

/* 飘浮 */
@keyframes bob {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes bob-float {
  100% {
    transform: translateY(-10px);
  }
}

.hovers-bob:hover,
.hovers-bob.active {
  animation-name: bob-float, bob;
  animation-duration: 0.3s, 1.5s;
  animation-delay: 0s, 0.3s;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}

/* 悬挂 */
@keyframes hang {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(10px);
  }
}
@keyframes hang-sink {
  100% {
    transform: translateY(10px);
  }
}

.hovers-hang:hover,
.hovers-hang.active {
  animation-name: hang-sink, hang;
  animation-duration: 0.3s, 1.5s;
  animation-delay: 0s, 0.3s;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}

/* 非对称 */
.hovers-skew:hover,
.hovers-skew.active {
  transform: skew(-10deg);
}

/* 非对称-左 */
.hovers-skew-forward {
  transform-origin: 0 100%;
}
.hovers-skew-forward:hover,
.hovers-skew-forward.active {
  transform: skew(-10deg);
}

/* 非对称-右 */
.hovers-skew-backward {
  transform-origin: 0 100%;
}
.hovers-skew-backward:hover,
.hovers-skew-backward.active {
  transform: skew(10deg);
}

/* 垂直抖动 */
@keyframes wobble-vertical {
  16.65% {
    transform: translateY(8px);
  }
  33.3% {
    transform: translateY(-6px);
  }
  49.95% {
    transform: translateY(4px);
  }
  66.6% {
    transform: translateY(-2px);
  }
  83.25% {
    transform: translateY(1px);
  }
  100% {
    transform: translateY(0);
  }
}

.hovers-wobble-vertical:hover,
.hovers-wobble-vertical.active {
  animation-name: wobble-vertical;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 水平抖动 */
@keyframes wobble-horizontal {
  16.65% {
    transform: translateX(8px);
  }
  33.3% {
    transform: translateX(-6px);
  }
  49.95% {
    transform: translateX(4px);
  }
  66.6% {
    transform: translateX(-2px);
  }
  83.25% {
    transform: translateX(1px);
  }
  100% {
    transform: translateX(0);
  }
}
.hovers-wobble-horizontal:hover,
.hovers-wobble-horizontal.active {
  animation-name: wobble-horizontal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 右下弹回 */
@keyframes wobble-to-bottom-right {
  16.65% {
    transform: translate(8px, 8px);
  }
  33.3% {
    transform: translate(-6px, -6px);
  }
  49.95% {
    transform: translate(4px, 4px);
  }
  66.6% {
    transform: translate(-2px, -2px);
  }
  83.25% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hovers-wobble-to-bottom-right:hover, 
.hovers-wobble-to-bottom-right.active {
  animation-name: wobble-to-bottom-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 右上弹回 */
@keyframes wobble-to-top-right {
  16.65% {
    transform: translate(8px, -8px)
  }
  33.3% {
    transform: translate(-6px, 6px);
  }
  49.95% {
    transform: translate(4px, -4px);
  }
  66.6% {
    transform: translate(-2px, 2px);
  }
  83.25% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}

.hovers-wobble-to-top-right:hover,
.hovers-wobble-to-top-right.active {
  animation-name: wobble-to-top-right;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 果冻 */
@keyframes wobble-top {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}

/* 赘肉 */
.hovers-wobble-top {
  transform-origin: 0 100%;
}
.hovers-wobble-top:hover,
.hovers-wobble-top.active {
  animation-name: wobble-top;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

@keyframes wobble-bottom {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}

.hovers-wobble-bottom {
  transform-origin: 100% 0;
}
.hovers-wobble-bottom:hover,
.hovers-wobble-bottom.active {
  animation-name: wobble-bottom;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 颤动 */
@keyframes wobble-skew {
  16.65% {
    transform: skew(-12deg);
  }
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
  }
  66.6% {
    transform: skew(4deg);
  }
  83.25% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0);
  }
}
.hovers-wobble-skew:hover,
.hovers-wobble-skew.active {
  animation-name: wobble-skew;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

/* 振动 */
@keyframes buzz {
  50% {
    transform: translateX(3px) rotate(2deg);
  }
  100% {
    transform: translateX(-3px) rotate(-2deg);
  }
}

.hovers-buzz:hover,
.hovers-buzz.active {
  animation-name: buzz;
  animation-duration: 0.15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 振出 */
@keyframes buzz-out {
  10% {
    transform: translateX(3px) rotate(2deg);
  }
  20% {
    transform: translateX(-3px) rotate(-2deg);
  }
  30% {
    transform: translateX(3px) rotate(2deg);
  }
  40% {
    transform: translateX(-3px) rotate(-2deg);
  }
  50% {
    transform: translateX(2px) rotate(1deg);
  }
  60% {
    transform: translateX(-2px) rotate(-1deg);
  }
  70% {
    transform: translateX(2px) rotate(1deg);
  }
  80% {
    transform: translateX(-2px) rotate(-1deg);
  }
  90% {
    transform: translateX(1px) rotate(0);
  }
  100% {
    transform: translateX(-1px) rotate(0);
  }
}

.hovers-buzz-out:hover,
.hovers-buzz-out.active {
  animation-name: buzz-out;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

/* 右移 */
.hovers-forward:hover,
.hovers-forward.active {
  transform: translateX(8px);
}

/* 左移 */
.hovers-backward:hover,
.hovers-backward.active {
  transform: translateX(-8px);
}

/* 自由移动 */
.hovers-top,
.hovers-left,
.hovers-bottom,
.hovers-right {
  transition: all 0.5s;
}

.hovers-top:hover,
.hovers-top.active {
  transform: translateY(-0.0625em);
}

.hovers-left:hover,
.hovers-left.active {
  transform: translateX(-0.0625em);
}

.hovers-bottom:hover,
.hovers-bottom.active {
  transform: translateY(0.0625em);
}

.hovers-right:hover,
.hovers-right.active {
  transform: translateX(0.0625em);
}

/* 滤镜 */
.hovers-blur,
.hovers-blur-reverse,
.hovers-brightness,
.hovers-brightness-reverse,
.hovers-contrast,
.hovers-contrast-reverse,
.hovers-grayscale,
.hovers-grayscale-reverse,
.hovers-invert,
.hovers-invert-reverse,
.hovers-saturate,
.hovers-saturate-reverse,
.hovers-sepia,
.hovers-sepia-reverse,
.hovers-hue-rotate,
.hovers-hue-rotate-reverse {
  transition-duration: 0.75s;
}

.hovers-blur:hover,
.hovers-blur.active,
.hovers-brightness:hover,
.hovers-brightness.active,
.hovers-contrast:hover,
.hovers-contrast.active,
.hovers-grayscale:hover,
.hovers-grayscale.active,
.hovers-invert:hover,
.hovers-invert.active,
.hovers-saturate:hover,
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
  filter: initial;
}

.hovers-blur {
  filter: blur(5px);
}

.hovers-blur-reverse:hover,
.hovers-blur-reverse.active {
  filter: blur(5px);
}

.hovers-brightness {
  filter: brightness(50%);
}

.hovers-brightness-reverse:hover,
.hovers-brightness-reverse.active {
  filter: brightness(50%);
}

.hovers-contrast {
  filter: contrast(50%);
}

.hovers-contrast-reverse:hover,
.hovers-contrast-reverse.active {
  filter: contrast(50%);
}

.hovers-grayscale {
  filter: grayscale(100%);
}

.hovers-grayscale-reverse:hover, 
.hovers-grayscale-reverse.active {
  filter: grayscale(100%);
}

.hovers-invert {
  filter: invert(100%);
}

.hovers-invert-reverse:hover,
.hovers-invert-reverse.active {
  filter: invert(100%);
}

.hovers-saturate {
  filter: saturate(200%);
}

.hovers-saturate-reverse:hover,
.hovers-saturate-reverse.active {
  filter: saturate(200%);
}

.hovers-sepia {
  filter: sepia(100%);
}

.hovers-sepia-reverse:hover,
.hovers-sepia-reverse.acitve {
  filter: sepia(100%);
}

.hovers-hue-rotate {
  filter: hue-rotate(180deg);
}

.hovers-hue-rotate-reverse:hover,
.hovers-hue-rotate-reverse.active {
  filter: hue-rotate(180deg);
}

/* 背景滑动 */
.hovers-sweep-to-right,
.hovers-sweep-to-left,
.hovers-sweep-to-bottom,
.hovers-sweep-to-top,
.hovers-radial-out,
.hovers-radial-in {
  position: relative;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  overflow: hidden;
}

.hovers-sweep-to-right:before,
.hovers-sweep-to-left:before,
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before,
.hovers-radial-out:before,
.hovers-radial-in:before {
  content: '';
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transform: scaleX(0);
  transition: inherit;
}
.hovers-sweep-to-bottom:before,
.hovers-sweep-to-top:before {
  transform: scaleY(0);
}
.hovers-radial-out:before,
.hovers-radial-in:before {
  border-radius: 50%;
  transform: scale(0);
}
.hovers-radial-in:before {
  transform: scale(2);
}

.hovers-sweep-to-right:before {
  transform-origin: 0 50%;
}
.hovers-sweep-to-left:before {
  transform-origin: 100% 50%;
}
.hovers-sweep-to-bottom:before {
  transform-origin: 50% 0;
}
.hovers-sweep-to-top:before {
  transform-origin: 50% 100%;
}
.hovers-radial-out:hover:before,
.hovers-radial-out.active:before {
  transform: scale(2);
}
.hovers-radial-in:hover:before,
.hovers-radial-in.active:before {
  transform: scale(0);
}

.hovers-sweep-to-right .hovers-content.center,
.hovers-sweep-to-left .hovers-content.center,
.hovers-sweep-to-bottom .hovers-content.center,
.hovers-sweep-to-top .hovers-content.center,
.hovers-radial-out .hovers-content.center,
.hovers-radial-in .hovers-content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-all;
}

.hovers-sweep-to-right:hover:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before,
.hovers-sweep-to-right.active:before,
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before {
  transform: scaleX(1);
}

.hovers-sweep-to-right .hovers-content,
.hovers-sweep-to-left .hovers-content,
.hovers-sweep-to-bottom .hovers-content,
.hovers-sweep-to-top .hovers-content,
.hovers-radial-out .hovers-content,
.hovers-radial-in .hovers-content {
  width: 100%;
  height: 100%;
  position: absolute;
  transition-property: all;
  transition-duration: inherit;
  top: 0;
  left: 0;
  z-index: 11;
}

.hovers-sweep-to-right .hovers-content {
  left: initial;
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}

.hovers-sweep-to-left .hovers-content {
  left: 100%;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}

.hovers-sweep-to-bottom .hovers-content {
  top: initial;
  bottom: 100%;
}
.hovers-sweep-to-bottom:hover .hovers-content,
.hovers-sweep-to-bottom.active .hovers-content {
  bottom: 0;
}

.hovers-sweep-to-top .hovers-content {
  top: 100%;
}
.hovers-sweep-to-top:hover .hovers-content,
.hovers-sweep-to-top.active .hovers-content {
  top: 0;
}

.hovers-radial-out .hovers-content,
.hovers-radial-in:hover .hovers-content,
.hovers-radial-in.active .hovers-content {
  opacity: 0;
}

.hovers-radial-in .hovers-content,
.hovers-radial-out:hover .hovers-content,
.hovers-radial-out.active .hovers-content {
  opacity: 1;
}

/* 默认em */
.hovers-border,
.hovers-trim,
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  font-size: 160px;
  line-height: 16px;
}

/* 内边框滑出 */
.hovers-border,
.hovers-trim {
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.hovers-border:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
  opacity: 0;
}

.hovers-border:hover:before,
.hovers-border.active:before {
  opacity: 1;
}

/* 带边距内边框 */
.hovers-trim:before {
  content: '';
  position: absolute;
  top: calc(0.0625em * 0.4);
  left: calc(0.0625em * 0.4);
  bottom: calc(0.0625em * 0.4);
  right: calc(0.0625em * 0.4);
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  opacity: 0;
  border-radius: inherit;
}

.hovers-trim:hover:before,
.hovers-trim.active:before {
  opacity: 1;
}

/* 边框飞出与飞入 */
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  transition: all 0.3s;
}

.hovers-ripple-out:before,
.hovers-ripple-in:before,
.hovers-outline-out:before,
.hovers-outline-in:before,
.hovers-reveal:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  animation: inherit;
  transition: inherit;
  border-width: calc(0.0625em * 0.6);
  border-color: inherit;
  border-style: solid;
  border-radius: inherit;
}
.hovers-ripple-out:before {
  opacity: 0;
}
.hovers-ripple-in:before {
  top: calc(-0.0625em * 1.2);
  right: calc(-0.0625em * 1.2);
  bottom: calc(-0.0625em * 1.2);
  left: calc(-0.0625em * 1.2);
  opacity: 0;
}
.hovers-outline-out:before {
  opacity: 0;
}
.hovers-outline-out:before {
  top: calc(-0.0625em * 1.6);
  right: calc(-0.0625em * 1.6);
  bottom: calc(-0.0625em * 1.6);
  left: calc(-0.0625em * 1.6);
  opacity: 0;
}
.hovers-reveal:before {
  border-width: 0;
  opacity: 0;
}

@keyframes ripple-out {
  50% {
    opacity: 1;
  }

  100% {
    top: calc(-0.0625em * 1.2);
    right: calc(-0.0625em * 1.2);
    bottom: calc(-0.0625em * 1.2);
    left: calc(-0.0625em * 1.2);
    opacity: 0;
  }
}
.hovers-ripple-out:hover:before,
.hovers-ripple-out.active:before {
  animation-name: ripple-out;
}

@keyframes ripple-in {
  50% {
    opacity: 1;
  }

  100% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
  }
}
.hovers-ripple-in:hover:before,
.hovers-ripple-in.active:before {
  animation-name: ripple-in;
}

.hovers-outline-out:hover:before,
.hovers-outline-in:hover:before,
.hovers-outline-out.active:before,
.hovers-outline-in:hover:before {
  top: calc(-0.0625em * 0.8);
  right: calc(-0.0625em * 0.8);
  bottom: calc(-0.0625em * 0.8);
  left: calc(-0.0625em * 0.8);
  opacity: 1;
}

.hovers-reveal:hover:before,
.hovers-reveal.active:before {
  transform: translateY(0);
  border-width: calc(0.0625em * 0.4);
  opacity: 1;
}

/* 圆角化 */
.hovers-round-corners {
  overflow: hidden;
}
.hovers-round-corners:hover,
.hovers-round-corners.active {
  border-radius: 0.0625em;
}

/* 重叠:翻转切换 */

.hover-turn {
  position: relative;
  transform: translateZ(1px);
}

.hover-turn-before,
.hover-turn-after {
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes hover-turn {
  from {
    transform: rotateY(-90deg);
  }

  50% {
    transform: scale(1.2);
  }

  to {
    transform: rotateY(0);
  }
}

.hover-turn:not(:hover) .hover-turn-before,
.hover-turn:hover .hover-turn-after {
  animation: hover-turn 0.5s;
}

.hover-turn:hover .hover-turn-before,
.hover-turn:not(:hover) .hover-turn-after {
	opacity: 0;
}
/* [[Category:在模板名字空间下的CSS页面]] */


/* 信息框样式 - Windows XP风格 */
.infobox,
.notaninfobox {
    position: relative;
    clear: right;
    float: right;
    margin: 0 0 1em 1em;
    width: 350px;
    font-size: 90%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 0;
    overflow: auto;
    z-index: 1;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}

@media all and (max-width: 511px) {
    .notaninfobox {
        float: none;
        margin-left: 0;
        width: auto;
    }
}

.infobox tr:not(:first-child) td {
    border-bottom: 1px solid #ababab;
}

@media all and (max-width: 337px) {
    .notaninfobox {
        margin-left: -16px;
        margin-right: -16px;
        border-left: none;
        border-right: none;
    }
}

.notaninfobox > .infobox-title,
.infobox th {
    position: relative;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 120%;
    padding: 5px;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}

.notaninfobox > .infobox-title::after,
.infobox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.infobox-imagearea {
    text-align: center;
    padding: 8px;
    background-color: white;
}

.infobox-imagearea > div:not(:first-child) {
    padding-top: 1em;
}

/* Horizontally centre animated images */
.infobox-imagearea .animated {
    display: inline-flex;
    align-items: center;
}

.notaninfobox .infobox-rows {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1px;
    background-color: white;
}

.infobox .plainlinks a {
    color: rgb(var(--link-color)) !important;
    text-decoration: underline;
}

.infobox .plainlinks a:visited {
    color: rgb(var(--visited-link-color)) !important;
}

.notaninfobox .infobox-rows .infobox-row {
    display: contents;
}

.notaninfobox .infobox-row .infobox-row-label,
.notaninfobox .infobox-row .infobox-row-field {
    padding: 4px 8px;
    border: 1px solid #ababab;
}

.notaninfobox .infobox-row .infobox-row-label {
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
}

.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
    background-color: #f9f9f9;
}

/* Community Updates - Windows XP风格 */
.community-updates {
    background: rgb(var(--xp-window-bg));
    padding: 15px;
    border: 2px solid rgb(var(--xp-window-border));
    margin-top: 20px;
    box-shadow: var(--window-shadow);
    position: relative;
    border-radius: 0;
}

.community-updates::before {
    content: "Community Updates";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}

.community-updates ul {
    margin-top: 30px;
}

.community-updates ul li {
    list-style: none;
    padding: 10px;
    background: white;
    margin: 5px 0;
    border: 1px solid #ababab;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.community-updates ul li a {
    color: rgb(var(--link-color));
    text-decoration: none;
    font-weight: bold;
}

/* Infoboxes with tabber */
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
    background: none;
    border: none;
}

.tabber-container-infobox .tabber .tabbertab {
    padding: 0;
}

.tabber-container-infobox ul.tabbernav {
    font: inherit;
    font-size: 100%;
    border-bottom: 1px solid #ababab;
}

.tabber-container-infobox ul.tabbernav li a:hover {
    color: rgb(var(--hover-link-color));
}

.tabber-container-infobox ul.tabbernav > li {
    margin-bottom: 5px;
    padding: 0;
}

.announcement-content span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}

/* 主页头部样式 - Windows XP风格 */
.mw-mainpage-header {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    color: rgb(var(--xp-text));
    font-size: 1.5em;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    border-radius: 0;
}

.mw-mainpage-header::before {
    content: "Welcome";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}

.mw-mainpage-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: none;
    color: rgb(var(--xp-text));
    text-shadow: none;
}

.mw-mainpage-header p {
    font-size: 1.2em;
    margin: 5px 0;
}

.tabber-container-infobox ul.tabbernav > li > a {
    color: rgb(var(--link-color));
    padding: 5px 10px;
    display: block;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

/* To prevent the tabs from jumping around when they become active or inactive */
.tabber-container-infobox ul.tabbernav > li > a::before {
    display: block;
    content: attr(alt);
    font-weight: bold;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.tabber-container-infobox ul.tabbernav > li.tabberactive {
    border: none;
}

/* ModuleBox - Windows XP风格 */
.modulebox {
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    background-color: rgb(var(--xp-window-bg));
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}

.modulebox::before {
    content: "Module";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}

.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
    font-weight: bold;
    color: rgb(var(--hover-link-color));
    background: linear-gradient(to bottom, #ffffff, #f6f6f6);
    border-bottom: 1px solid #ffffff;
    position: relative;
    z-index: 1;
}

.infobox-rows p {
    margin: 0;
}

.infobox-rows dl + dl {
    margin-top: -0.4em;
}

.infobox-rows dl:last-child {
    margin-bottom: 0.2em;
}

.infobox-footer {
    text-align: center;
    padding: 5px;
    background-color: #f0f0f0;
    border-top: 1px solid #ababab;
}

/* 导航框(查论编)- Windows XP风格 */
table.navbox {
    border: 2px solid rgb(var(--xp-window-border));
    clear: both;
    margin: 1em auto;
    padding: 0;
    text-align: center;
    width: 100%;
    background-color: rgb(var(--xp-window-bg));
    box-shadow: var(--window-shadow);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
}

table.navbox + table.navbox {
    margin-top: 5px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
}

.navbox-title::after,
table.navbox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.navbox-group {
    background-color: #f0f0f0;
    border: 1px solid #ababab;
    color: black;
    font-weight: bold;
    padding: 5px;
    text-align: right;
    white-space: nowrap;
}

.navbox-list {
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
    text-align: left;
}

.navbox,
.navbox-subgroup {
    background-color: rgb(var(--xp-window-bg));
}

.navbox-subgroup .navbox-title {
    background-color: #c0d8f0;
    color: black;
    text-shadow: none;
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background-color: #e6f0f9;
}

.navbox-even {
    background-color: #f9f9f9;
}

.navbox-odd {
    background-color: white;
}

.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}

.navbox .collapseButton {
    width: 6em;
}

.navbar {
    position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}

.navbox-title .Wikiplus-Edit-EveryWhereBtn {
    display: none;
}

@media only screen and (max-width:759px) {
    .infotable {
        width: 90%;
        float: none;
        margin: 0 auto;
    }
    
    .navbox-title>div {
        display: none;
    }
    
    .navbox-group,
    .navbox-group >div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}

/* 主页Windows XP风格布局 */
.main-page-banner {
    position: relative;
    display: grid;
    grid-template-areas: 
        "welcome welcome welcome"
        "discord faq join";
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    background-color: rgb(var(--xp-window-bg));
    z-index: 1;
    border-radius: 0;
}

/* 欢迎文本区域 - Windows XP样式 */
.main-page-banner .welcome-text {
    grid-area: welcome;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 30px 20px 20px;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    border-radius: 0;
    z-index: 2;
    text-shadow: var(--text-shadow);
}

/* 添加标题栏 */
.main-page-banner .welcome-text::before {
    content: "Welcome";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    text-shadow: var(--text-shadow);
    text-align: left;
    line-height: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 3;
}

/* 添加XP窗口控制按钮 */
.main-page-banner .welcome-text::after {
    content: "×";
    position: absolute;
    top: 7px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 4;
}

/* 添加最小化、最大化按钮 */
.main-page-banner .welcome-text .min-button,
.main-page-banner .welcome-text .max-button {
    position: absolute;
    top: 7px;
    width: 16px;
    height: 16px;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: black;
    background-color: rgb(var(--light-gray-monochrome));
    cursor: pointer;
    z-index: 4;
}

.main-page-banner .welcome-text .min-button {
    right: 45px;
    content: "_";
    line-height: 13px;
}

.main-page-banner .welcome-text .max-button {
    right: 25px;
    content: "□";
}

.main-page-banner .welcome-text p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1em;
}

/* 导航按钮 - Windows XP风格 */
.main-page-banner .navigation-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
    grid-area: discord / discord / join / join;
    width: 100%;
    padding: 10px;
    background-color: rgb(var(--xp-window-bg));
}

.main-page-banner .nav-button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    border-radius: 3px;
    margin: 0 0 10px 0;
    transition: all 0.3s ease;
    height: min-content;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.main-page-banner .nav-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
    transform: translateY(-3px);
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.3);
}

.main-page-banner .nav-button:active {
    background: linear-gradient(to bottom, #e0e0e0, #f0f0f0);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.main-page-banner .nav-button a {
    display: block;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    color: black;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
}

/* 响应式布局 */
@media (max-width: 767px) {
    .main-page-banner {
        grid-template-areas: 
            "welcome"
            "navigation";
        grid-template-columns: 1fr;
    }
    
    .main-page-banner .welcome-text {
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    
    .main-page-banner .navigation-links {
        grid-area: navigation;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .main-page-banner .nav-button {
        flex: 1;
        min-width: 30%;
        margin: 0 5px 10px;
    }
}

/* 公告容器 - Windows XP风格 */
.announcement-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    position: relative;
    border-radius: 0;
}

.announcement-container .section-title {
    width: 100%;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1.3rem;
    text-align: left;
    border-left: none;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-shadow: var(--text-shadow);
    position: relative;
}

.announcement-container .section-title::after {
    content: "×";
    position: absolute;
    top: 7px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.announcement-container .announcement-content {
    background-color: white;
    color: black;
    padding: 10px;
    width: 100%;
}

.announcement-container .more-content {
    width: 100%;
    border-top: 1px solid #ababab;
    padding: 5px;
    background-color: #f0f0f0;
    text-align: right;
}

/* 最近页面容器 - Windows XP风格 */
.recent-pages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.recent-pages-container .page-section {
    flex-basis: 48%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 1rem;
    display: grid;
    grid-template-areas: "title" "page" "more";
    grid-template-rows: auto 1fr auto;
    position: relative;
    border-radius: 0;
}

.recent-pages-container .section-title {
    grid-area: title;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    height: 25px;
    line-height: 25px;
    border-left: none;
}

.recent-pages-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.recent-pages-container .page-list {
    grid-area: page;
    background-color: white;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    border-bottom: 1px solid #ababab;
}

.recent-pages-container .page-list a {
    display: block;
    padding: 3px 0;
    border-bottom: 1px solid #e0e0e0;
    color: rgb(var(--link-color));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-pages-container .page-list a:last-child {
    border-bottom: none;
}

.recent-pages-container .see-more {
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}

.recent-pages-container .see-more a {
    color: rgb(var(--link-color));
}

/* 特色内容容器 - Windows XP风格 */
.featured-content-container .feature-content .featured-description {
    font-style: italic;
    color: #444;
}

.featured-content-container .see-more {
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}

.featured-content-container .see-more a {
    color: rgb(var(--link-color));
}

/* 工具和资源容器 - Windows XP风格 */
.tools-and-resources {
    margin-bottom: 2rem;
}

.tools-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}

.tools-container .tool-item {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}

.tools-container .tool-item::before {
    content: "Tool";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.tools-container .tool-item::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.tools-container .tool-item .tool-icon {
    grid-area: icon;
    justify-self: center;
    align-self: center;
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
}

.tools-container .tool-item .tool-title {
    grid-area: title;
    text-align: center;
}

.tools-container .tool-item .tool-title a {
    color: rgb(var(--link-color));
    font-weight: bold;
}

.tools-container .tool-item .tool-description {
    grid-area: content;
    background-color: white;
    border: 1px solid #ababab;
    padding: 8px;
}

/* 新闻容器 - Windows XP风格 */
.news-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
    position: relative;
    border-radius: 0;
}

.news-container .section-title {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    width: 100%;
    border-left: none;
}

.news-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.news-container .news-content {
    background-color: white;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #ababab;
}

.news-container .news-content .news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
}

.news-container .news-content .news-item:last-child {
    border-bottom: none;
}

.news-container .news-content .news-title {
    font-weight: bold;
    margin-bottom: 3px;
    color: rgb(var(--xp-blue-dark));
}

.news-container .news-content .news-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}

.news-container .news-archive {
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
    width: 100%;
}

.news-container .news-archive a {
    color: rgb(var(--link-color));
}

/* 轮播图容器 - Windows XP风格 */
.mw-carousel {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    aspect-ratio: 16 / 9;
    background-color: rgb(var(--xp-window-bg));
    border-radius: 0;
}

.mw-carousel::before {
    content: "Slideshow";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    z-index: 10;
}

.mw-carousel::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.mw-carousel .carousel-image {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 25px;
}

.mw-carousel .carousel-image img {
    width: 100%;
    height: calc(100% - 25px);
    object-fit: cover;
    display: block;
    border: 1px solid #ababab;
}

.mw-carousel .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px 15px 12px;
    text-align: left;
    transition: all 0.4s ease;
    z-index: 2;
}

.mw-carousel:hover .carousel-caption {
    top: 25px;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 25px);
    background: rgba(0, 0, 0, 0.6); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.mw-carousel .carousel-caption h3 {
    margin: 0 0 5px;
    font-size: 1.6em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    background: none;
    padding: 0;
    border: none;
}

.mw-carousel .carousel-caption p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.4;
    max-width: 80%;
    transition: all 0.4s ease 0.1s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mw-carousel .carousel-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mw-carousel:hover .carousel-navigation {
    opacity: 1;
}

.mw-carousel .carousel-prev,
.mw-carousel .carousel-next {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

.mw-carousel .carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    left: auto;
    display: flex;
    gap: 5px;
    z-index: 4;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

.mw-carousel .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.mw-carousel .carousel-indicators .indicator.active {
    background-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* 图片全局样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ababab;
}

/* 添加图片过渡效果 */
.mw-carousel .carousel-image img {
    transition: transform 0.5s ease;
}

.mw-carousel:hover .carousel-image img {
    transform: scale(1.03);
}

/* 目录框样式 - Windows XP风格 */
#toc, .toc {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    margin: 1em 0;
    position: relative;
    border-radius: 0;
}

#toc::before, .toc::before {
    content: "Contents";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

#toc::after, .toc::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.toc .toctitle, #toc .toctitle {
    display: none;
}

.toc ul, #toc ul {
    margin: 0;
    padding: 0 0 0 1.5em;
}

.toc li, #toc li {
    margin: 5px 0;
}

.toc a, #toc a {
    color: rgb(var(--link-color));
    text-decoration: none;
}

.toc a:hover, #toc a:hover {
    color: rgb(var(--hover-link-color));
    text-decoration: underline;
}

.tocnumber {
    color: #666;
    margin-right: 5px;
}

/* 变色龙皮肤特定修复 */
.chameleon-toc {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    position: relative;
    border-radius: 0;
}

.chameleon-toc::before {
    content: "Contents";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.chameleon-toc::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.chameleon-toc .toctitle {
    display: none;
}


/* Windows XP启动栏和任务栏 */
body::after {
    content: "开始";
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100px;
    height: 30px;
    background: linear-gradient(to bottom, #4cae4c, #398439);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #366;
    border-left: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px 20px;
}

body::before {
    content: "";
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, #4581c8, #2f5b9d);
    border-top: 1px solid #223f6f;
    z-index: 9998;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .tools-container {
        grid-template-columns: 1fr;
    }
    
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
        margin-bottom: 15px;
    }
    
    body::after {
        width: 80px;
        font-size: 12px;
    }
}

/* Windows XP蓝屏风格 */
.bluescreen {
    background-color: #0000aa;
    color: #ffffff;
    font-family: "Courier New", monospace;
    padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}

.bluescreen h2 {
    color: #ffffff;
    background: none;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}

.bluescreen p {
    margin: 10px 0;
    line-height: 1.5;
}

.bluescreen code {
    background-color: #0000aa;
    border: none;
    color: #ffffff;
    display: block;
    margin: 10px 0;
    font-family: "Courier New", monospace;
}

/* 标题栏文本 */
.titlebox {
    color: white;
    position: relative;
    top: -16px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    padding: 5px 20px;
    line-height: 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border: 1px solid rgb(var(--xp-window-border));
    display: inline-block;
}

/* Windows XP Logo风格块 */
.logoblock {
    padding: 30px 10px 10px;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}

.logoblock::before {
    content: "Windows";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.logoblock::after {
    content: "";
    float: center;
    border: solid 2px #0000;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}

/* Windows XP错误对话框 */
.error-dialog {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}

.error-dialog::before {
    content: "Error";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.error-dialog::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.error-dialog .icon {
    float: left;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.error-dialog .message {
    margin-left: 50px;
    font-weight: bold;
}

.error-dialog .buttons {
    text-align: right;
    margin-top: 15px;
}

.error-dialog .buttons button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 3px 10px;
    margin-left: 5px;
    cursor: pointer;
}

.error-dialog .buttons button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

/* JS添加功能 */
.JS-added-button {
    display: none; /* 由JS控制显示 */
    position: fixed;
    right: 10px;
    bottom: 40px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.JS-added-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

/* 创建一个窗口最小化图标,显示在任务栏中 */
.minimized-window {
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.minimized-window:hover {
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
}

/* 添加系统时钟到任务栏 */
.taskbar-clock {
    position: fixed;
    right: 10px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: transparent;
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
}

/* CommonJS功能 */
/* 这些样式将由JavaScript功能使用 */d-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.featured-content-container .feature-item {
    flex-basis: 48%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 1rem;
    display: grid;
    grid-template-areas: "title" "content" "more";
    grid-template-rows: auto 1fr auto;
    position: relative;
    border-radius: 0;
}

.featured-content-container .section-title {
    grid-area: title;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    height: 25px;
    line-height: 25px;
    border-left: none;
}

.featured-content-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.featured-content-container .feature-content {
    grid-area: content;
    background-color: white;
    padding: 10px;
    border-bottom: 1px solid #ababab;
}

.featured-content-container .feature-content .featured-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: rgb(var(--xp-blue-dark));
}

.featured-content-container .feature-content .featured-author {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.featured-content-container .feature-content .featured-description {
    font-style: italic;
    color: #444;
}

.featured-content-container .see-more {
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}

.featured-content-container .see-more a {
    color: rgb(var(--link-color));
}

/* 工具和资源容器 - Windows XP风格 */
.tools-and-resources {
    margin-bottom: 2rem;
}

.tools-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}

.tools-container .tool-item {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}

.tools-container .tool-item::before {
    content: "Tool";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.tools-container .tool-item::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.tools-container .tool-item .tool-icon {
    grid-area: icon;
    justify-self: center;
    align-self: center;
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
}

.tools-container .tool-item .tool-title {
    grid-area: title;
    text-align: center;
}

.tools-container .tool-item .tool-title a {
    color: rgb(var(--link-color));
    font-weight: bold;
}

.tools-container .tool-item .tool-description {
    grid-area: content;
    background-color: white;
    border: 1px solid #ababab;
    padding: 8px;
}

/* 新闻容器 - Windows XP风格 */
.news-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
    position: relative;
    border-radius: 0;
}

.news-container .section-title {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    width: 100%;
    border-left: none;
}

.news-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.news-container .news-content {
    background-color: white;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #ababab;
}

.news-container .news-content .news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
}

.news-container .news-content .news-item:last-child {
    border-bottom: none;
}

.news-container .news-content .news-title {
    font-weight: bold;
    margin-bottom: 3px;
    color: rgb(var(--xp-blue-dark));
}

.news-container .news-content .news-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}

.news-container .news-archive {
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
    width: 100%;
}

.news-container .news-archive a {
    color: rgb(var(--link-color));
}

/* 响应式调整 */
@media (max-width: 767px) {
    .tools-container {
        grid-template-columns: 1fr;
    }
    
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
        margin-bottom: 15px;
    }
    
    body::after {
        width: 80px;
        font-size: 12px;
    }
}

/* Windows XP蓝屏风格 */
.bluescreen {
    background-color: #0000aa;
    color: #ffffff;
    font-family: "Courier New", monospace;
    padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}

.bluescreen h2 {
    color: #ffffff;
    background: none;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}

.bluescreen p {
    margin: 10px 0;
    line-height: 1.5;
}

.bluescreen code {
    background-color: #0000aa;
    border: none;
    color: #ffffff;
    display: block;
    margin: 10px 0;
    font-family: "Courier New", monospace;
}

/* 标题栏文本 */
.titlebox {
    color: white;
    position: relative;
    top: -16px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    padding: 5px 20px;
    line-height: 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border: 1px solid rgb(var(--xp-window-border));
    display: inline-block;
}

/* Windows XP Logo风格块 */
.logoblock {
    padding: 30px 10px 10px;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}

.logoblock::before {
    content: "Windows";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.logoblock::after {
    content: "";
    float: center;
    border: solid 2px #0000;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}

/* Windows XP错误对话框 */
.error-dialog {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}

.error-dialog::before {
    content: "Error";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}

.error-dialog::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.error-dialog .icon {
    float: left;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.error-dialog .message {
    margin-left: 50px;
    font-weight: bold;
}

.error-dialog .buttons {
    text-align: right;
    margin-top: 15px;
}

.error-dialog .buttons button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 3px 10px;
    margin-left: 5px;
    cursor: pointer;
}

.error-dialog .buttons button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

/* JS添加功能 */
.JS-added-button {
    display: none; /* 由JS控制显示 */
    position: fixed;
    right: 10px;
    bottom: 40px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.JS-added-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}

/* 创建一个窗口最小化图标,显示在任务栏中 */
.minimized-window {
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.minimized-window:hover {
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
}

/* 添加系统时钟到任务栏 */
.taskbar-clock {
    position: fixed;
    right: 10px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: transparent;
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
}
/* 导航框(查论编)- Windows XP风格 */
table.navbox {
    border: 2px solid rgb(var(--xp-window-border));
    clear: both;
    margin: 1em auto;
    padding: 0;
    text-align: center;
    width: 100%;
    background-color: rgb(var(--xp-window-bg));
    box-shadow: var(--window-shadow);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
}

.navbox-title::after,
table.navbox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

.navbox-group {
    background-color: #f0f0f0;
    border: 1px solid #ababab;
    color: black;
    font-weight: bold;
    padding: 5px;
    text-align: right;
    white-space: nowrap;
}

.navbox-list {
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
    text-align: left;
}

/* 修复开始按钮 - 实际元素而非伪元素 */
.start-button {
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100px;
    height: 30px;
    background: linear-gradient(to bottom, #4cae4c, #398439);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #366;
    border-left: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px 20px;
}

/* 修复开始菜单样式 */
#xp-start-menu {
    position: fixed !important;
    left: 0 !important;
    bottom: 60px !important;
    width: 250px !important;
    background-color: white !important;
    border: 2px solid #0054e3 !important;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.3) !important;
    z-index: 10000 !important;
    display: none;
}

.start-menu-top {
    height: 60px !important;
    background: linear-gradient(to bottom, #235ddc, #225ada 50%, #214fbb) !important;
    color: white !important;
    padding: 10px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
}

.start-menu-items {
    background-color: white !important;
    padding: 5px 0 !important;
}

.start-menu-item {
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.start-menu-item:hover {
    background-color: #e0ecff !important;
}

/* 修复下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
    z-index: 1000;
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* 修复2: 下拉菜单位置 */
#p-personal .vector-menu-content,
.vector-user-menu .vector-menu-content,
.vector-menu-dropdown .vector-menu-content {
    right: 0 !important;
    left: auto !important;
}

/* 确保下拉菜单不会超出屏幕 */
.dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

#p-personal {
    position: relative !important;
}

/* 修复3: 时钟显示问题 */
/* 隐藏时钟图标 */
.oo-ui-icon-clock:before,
.mw-ui-icon-clock:before,
#pt-watchlist .mw-ui-icon:before {
    display: none !important;
}

/* 重新设置时钟样式,确保不会重叠 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    padding: 0 8px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: white !important;
    font-weight: bold !important;
    line-height: 20px !important;
    font-size: 14px !important;
    z-index: 10000 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    border-radius: 3px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}

/* 修复4: 开始按钮背景 */
.start-button {
    position: fixed !important;
    left: 0 !important;
    bottom: 30px !important;
    width: 100px !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #4cae4c, #398439) !important;
    color: white !important;
    text-align: center !important;
    line-height: 30px !important;
    font-weight: bold !important;
    border-radius: 0 5px 5px 0 !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    border: 1px solid #366 !important;
    border-left: none !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3) !important;
    padding-left: 30px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}

.start-button::before {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

/* 修复底部任务栏,使开始按钮正确显示 */
body::before {
    content: "" !important;
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
    border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
}



/* 修复3: 移除之前的开始按钮伪元素 */
body::after {
    display: none !important;
}

/* 修复4: 时钟样式完善 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    line-height: 20px !important;
    padding: 0 8px !important;
    background-color: transparent !important;
    color: white !important;
    font-weight: normal !important;
    font-size: 13px !important;
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
    z-index: 10000 !important;
    text-shadow: none !important;
}

/* 完全隐藏时钟图标 */
.oo-ui-icon-clock,
.mw-ui-icon-clock,
#pt-watchlist .mw-ui-icon,
.mw-watchlink .mw-ui-icon::before {
    display: none !important;
}

/* 修复5: 完善底部任务栏 */
.taskbar {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
    border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: center !important;
}

/* 任务栏内容区域 */
.taskbar-content {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
}

/* 快速启动栏 */
.quick-launch {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-right: 5px !important;
}

.quick-launch-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}

.quick-launch-icon:hover {
    opacity: 1 !important;
}

/* 系统托盘区域 */
.system-tray {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-left: auto !important;
}


//* 修复系统托盘布局 */
.system-tray {
    position: fixed !important;
    right: 10px !important;
    bottom: 0 !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 5px !important;
    z-index: 10000 !important;
}

/* 单独设置时钟样式 */
.taskbar-clock {
    position: static !important;
    color: white !important;
    font-family: "Tahoma", sans-serif !important;
    font-size: 13px !important;
    line-height: 30px !important;
}

/* 移除重复的系统图标 */
.tray-icon {
    display: none !important;
}
/* 强制应用指定字体 */
* {
    font-family: var(--body-font) !important;
}

body, html {
    font-family: "VonwaonBitmap 16px", VT323, monospace !important;
}

/* 特别设置任务栏字体 */
.taskbar, .start-button, .taskbar-clock {
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
}
/* 修复媒体查询 */
@media (max-width: 767px) {
    .navbar-toggle, .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgb(var(--xp-window-bg)) !important;
        border: 1px solid rgb(var(--xp-window-border)) !important;
        z-index: 1000 !important;
    }
}

/* 确保任务栏不与页面内容重叠 */
body {
    padding-bottom: 40px !important;
}

#content {
    margin-bottom: 40px !important;
}

/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}

.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}

/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* Echo扩展通知图标修复 */
#pt-notifications-alert,
#pt-notifications-notice,
.mw-echo-notifications-badge,
.mw-echo-notification-badge-nojs {
    background-color: transparent !important;
    border: none !important;
}

#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(var(--bright-accent)) !important;
    filter: none !important;
    opacity: 1 !important;
}

.mw-echo-notifications-badge:after,
.mw-echo-notification-badge-nojs:after {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    border: 1px solid rgb(var(--black-monochrome)) !important;
    opacity: 1 !important;
}

/* 只修改通知图标的颜色 */
/* Echo图标蓝色风格 - Windows XP主题 */
#pt-notifications-alert .oo-ui-icon-bell,
#pt-notifications-notice .oo-ui-icon-tray {
    filter: invert(34%) sepia(37%) saturate(2476%) hue-rotate(201deg) brightness(97%) contrast(85%);
}

/* 或者更直接的方式,使用颜色而不是filter */
#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(49, 106, 197) !important; /* 使用XP蓝色 */
    filter: none !important;
    opacity: 1 !important;
}

/* 悬停时变亮 */
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
    color: rgb(82, 153, 235) !important; /* 使用XP浅蓝色 */
}
/* 目录框样式 */
#toc, .toc {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    padding: 0.5em !important;
    font-family: var(--body-font) !important;
}

.toc .toctitle, #toc .toctitle {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    text-align: center !important;
    padding: 0.25em !important;
    margin: -0.5em -0.5em 0.5em -0.5em !important;
    font-weight: bold !important;
}

.toc ul, #toc ul {
    margin: 0 !important;
    padding: 0 0 0 1.5em !important;
}

.toc a, #toc a {
    color: rgb(var(--bright-accent)) !important;
    text-decoration: none !important;
}

.toc a:hover, #toc a:hover {
    color: rgb(var(--white-monochrome)) !important;
    text-decoration: underline !important;
}

.tocnumber {
    color: rgb(var(--pale-accent)) !important;
}
/* 简化的导航栏布局 */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.navbar-brand {
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.navbar-nav > li {
    margin: 0 10px !important;
}

.navbar-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}

/* 搜索框间距修复 */
#searchform {
    margin: 0 10px !important;
}

/* 响应式修复 */
@media (max-width: 767px) {
    .navbar {
        flex-wrap: wrap !important;
    }
    
    .navbar-collapse {
        width: 100% !important;
    }
}
/* 修复logo样式 */
.navbar-brand img, 
.navbar .logo img, 
#p-logo img,
.navbar-header img {
    border: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 40px !important;
    vertical-align: middle !important;
}

.navbar-brand, 
.navbar .logo, 
#p-logo,
.navbar-header {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 5px 15px !important;
    margin: 0 !important;
}
/* 完全重置TOC样式 - Windows XP风格 */
#toc, .toc, .chameleon-toc, .mw-toc, #mw-toc, .Table_of_Contents {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    padding: 35px 10px 10px !important; /* 上方留出标题空间 */
    margin: 1em 0 !important;
    position: relative !important;
    border-radius: 0 !important;
    width: auto !important;
    max-width: 360px !important; /* 限制最大宽度 */
    min-width: 200px !important;
    display: block !important; /* 改用块级显示 */
    float: right !important; /* 向右浮动 */
    clear: right !important; 
    overflow: visible !important;
    z-index: 1 !important;
}

/* 自定义标题栏 */
#toc::before, .toc::before, .chameleon-toc::before, .mw-toc::before, #mw-toc::before, .Table_of_Contents::before {
    content: "Contents" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light))) !important;
    color: white !important;
    padding: 5px 10px !important;
    font-weight: bold !important;
    text-shadow: var(--text-shadow) !important;
    border-bottom: 1px solid rgb(var(--xp-window-border)) !important;
    text-align: left !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    display: block !important;
    z-index: 2 !important;
}

/* 处理原始标题和关闭按钮 */
.toc .toctitle, #toc .toctitle, .chameleon-toc .toctitle,
.mw-toc-heading, .tocheader, .toctoggle, .toctogglecheckbox {
    display: none !important; /* 隐藏原始标题 */
}

/* 确保目录列表可见 */
.toc ul, #toc ul, .chameleon-toc ul, 
.mw-toc ul, #mw-toc ul, .Table_of_Contents ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0.5em 0 !important;
    padding: 0 0 0 1.5em !important;
    list-style-type: disc !important;
    text-align: left !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 确保目录列表项可见 */
.toc li, #toc li, .chameleon-toc li,
.mw-toc li, #mw-toc li, .Table_of_Contents li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    color: rgb(var(--xp-text)) !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* 链接样式 */
.toc a, #toc a, .chameleon-toc a,
.mw-toc a, #mw-toc a, .Table_of_Contents a {
    display: inline !important;
    color: rgb(var(--link-color)) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.toc a:hover, #toc a:hover, .chameleon-toc a:hover,
.mw-toc a:hover, #mw-toc a:hover, .Table_of_Contents a:hover {
    color: rgb(var(--hover-link-color)) !important;
    text-decoration: underline !important;
}

/* 目录编号样式 */
.tocnumber {
    color: rgb(var(--xp-blue)) !important;
    font-weight: bold !important;
    margin-right: 0.3em !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 强制显示所有子目录 */
.toc .toclevel-1 ul, 
.toc .toclevel-2 ul,
.toc .toclevel-3 ul,
#toc .toclevel-1 ul,
#toc .toclevel-2 ul,
#toc .toclevel-3 ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 整个目录容器设置 */
#mw-content-text .toc,
#mw-content-text #toc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
/* CommonJS功能 */
/* 这些样式将由JavaScript功能使用 */