MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
/* 导入所需字体 */
/* 基础变量和字体设置 */
@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 {
:root {
     /* 从Wikidot Database New主题迁移的变量 */
     /* 从Wikidot Database New主题迁移的变量 */
     --fade-in-delay: 0.1s;
     --fade-in-delay: 0.1s;
     --theme-base: "black-highlighter";
     --theme-base: "black-highlighter";
     --theme-id: "database-new";
     --theme-id: "windows-xp";
     --theme-name: "Database New";
     --theme-name: "Windows XP";
      
      
     /* 字体设置 - 使用Database主题的字体 */
     /* 字体设置 - 使用Database主题的字体和Windows XP字体 */
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
     --header-font: "VonwaonBitmap 16px", VT323, monospace;
     --header-font: "VonwaonBitmap 16px", VT323, monospace;
第22行: 第17行:
     --text-shadow: 2px 2px #C9781E;
     --text-shadow: 2px 2px #C9781E;
      
      
     /* 颜色方案 - 从Database主题迁移 */
     /* 颜色方案 - Windows XP主题颜色 */
     --white-monochrome: 175, 100, 30;
     --white-monochrome: 255, 255, 255;
     --pale-gray-monochrome: 190, 190, 190;
     --pale-gray-monochrome: 240, 240, 240;
     --light-gray-monochrome: 160, 160, 160;
     --light-gray-monochrome: 192, 192, 192;
     --gray-monochrome: 72, 69, 60;
     --gray-monochrome: 128, 128, 128;
     --black-monochrome: 10, 10, 10;
     --black-monochrome: 0, 0, 0;
   
    /* XP系统蓝色 */
    --xp-blue: 53, 165, 225;
    --xp-darker-blue: 0, 85, 170;
   
    /* XP系统绿色 */
    --xp-green: 48, 131, 51;
    --xp-bright-green: 76, 169, 28;
   
    /* XP系统橙色 - 保留原主题色 */
     --bright-accent: 229, 140, 36;
     --bright-accent: 229, 140, 36;
     --medium-accent: 229, 140, 36;
     --medium-accent: 180, 110, 28;
    --custom-text: 175, 100, 30;
     --dark-accent: 140, 85, 22;
     --dark-accent: 140, 136, 126;
     --pale-accent: 229, 170, 112;
     --pale-accent: 140, 136, 126;
      
      
     /* 主题颜色 */
     /* 主题颜色 */
第39行: 第43行:
     --swatch-primary-darker: var(--medium-accent);
     --swatch-primary-darker: var(--medium-accent);
     --swatch-primary-darkest: var(--black-monochrome);
     --swatch-primary-darkest: var(--black-monochrome);
     --swatch-text-dark: var(--custom-text);
     --swatch-text-dark: var(--bright-accent);
     --swatch-text-light: var(--bright-accent);
     --swatch-text-light: var(--white-monochrome);
     --swatch-important-text: var(--bright-accent);
     --swatch-important-text: var(--bright-accent);
     --swatch-menubg-color: var(--black-monochrome);
     --swatch-menubg-color: var(--black-monochrome);
第58行: 第62行:
      
      
     /* 链接颜色 */
     /* 链接颜色 */
     --link-color: rgb(229, 140, 36);
     --link-color: rgb(var(--xp-blue));
     --visited-link-color: rgb(229, 140, 36);
     --visited-link-color: rgb(var(--xp-darker-blue));
     --hover-link-color: rgb(229, 140, 36);
     --hover-link-color: rgb(var(--bright-accent));
     --sidebar-links-text: var(--swatch-menutxt-dark-color);
     --sidebar-links-text: var(--swatch-menutxt-dark-color);
     --link-color-bright: var(--medium-accent);
     --link-color-bright: var(--medium-accent);
第68行: 第72行:
     --rating-module-text-color: var(--white-monochrome);
     --rating-module-text-color: var(--white-monochrome);
     --rating-module-text-hover-color: var(--swatch-menutxt-light-color);
     --rating-module-text-hover-color: var(--swatch-menutxt-light-color);
   
    /* XP风格窗口属性 */
    --xp-window-border: 1px solid rgb(var(--bright-accent));
    --xp-window-header: linear-gradient(to bottom, rgb(0, 132, 198), rgb(0, 102, 170));
    --xp-window-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
      
      
     /* 其他 */
     /* 其他 */
     --gradient-header: none;
     --gradient-header: var(--xp-window-header);
     --diagonal-stripes: none;
     --diagonal-stripes: none;
}
}


/* 应用全局字体 */
/* 应用全局字体和背景 */
body {
body {
     font-family: var(--body-font) !important;
     font-family: var(--body-font) !important;
     font-size: var(--base-font-size) !important;
     font-size: var(--base-font-size) !important;
     line-height: 1.5 !important;
     line-height: 1.5 !important;
     background-color: rgb(var(--black-monochrome));
     background-color: rgb(var(--black-monochrome));
     color: rgb(var(--swatch-text-dark));
     color: rgb(var(--swatch-text-dark));
    background-image: url("");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
}
}


第87行: 第101行:
     font-family: var(--title-font);
     font-family: var(--title-font);
     color: rgb(var(--swatch-headerh1-color));
     color: rgb(var(--swatch-headerh1-color));
     text-shadow: var(--text-shadow);
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
}


/* 链接样式 */
/* 链接样式 - 保留 > 符号 */
a {
a {
     color: rgb(var(--bright-accent));
     color: rgb(var(--xp-blue));
     text-decoration: none;
     text-decoration: none;
}
}


a:visited {
a:visited {
     color: rgb(var(--medium-accent));
     color: rgb(var(--xp-darker-blue));
}
}


第108行: 第122行:
     content: "> ";
     content: "> ";
}
}
html, body {
 
     background-color: rgb(var(--black-monochrome)) !important;
/* 主内容区背景 */
    background-image: radial-gradient(circle, rgba(var(--medium-accent), 0.05) 50%, transparent 0) !important;
#content {
     background-size: 0.25em 0.25em !important;
     background-color: rgba(var(--white-monochrome), 0.9);
     background-repeat: repeat !important;
     position: relative;
    background-attachment: fixed !important;
     border-radius: 8px;
}
     border: var(--xp-window-border);
/* 搜索框和搜索按钮样式 */
     box-shadow: var(--xp-window-shadow);
#searchButton,
     margin: 10px;
.searchButton,
     padding: 20px;
input[type="submit"],
input[type="button"],
.mw-ui-button,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background-color: rgb(var(--gray-monochrome)) !important;
     border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
     font-family: var(--body-font) !important;
     padding: 0.3em 0.6em !important;
     cursor: pointer !important;
    transition: all 0.2s ease !important;
}
}


 
/* 修改扫描线动画 - 改为半透明灰色 */
#searchButton:hover,
.scan-animation {
.searchButton:hover,
    position: absolute;
input[type="submit"]:hover,
    width: 100%;
input[type="button"]:hover,
    height: 100%;
.mw-ui-button:hover,
     top: 0;
button[name="go"]:hover,
     left: 0;
button[name="fulltext"]:hover,
     pointer-events: none;
.mw-ui-button.mw-ui-progressive:hover {
     background-color: rgb(var(--bright-accent)) !important;
     color: rgb(var(--black-monochrome)) !important;
     box-shadow: 0 0 10px rgba(var(--bright-accent), 0.3) !important;
}
}


/* 分类条样式 */
/* 主扫描线 - 较宽较慢 - 修改为半透明灰色 */
#catlinks,
.scan-animation::before {
.catlinks {
    content: "";
     background-color: rgb(var(--black-monochrome)) !important;
    position: absolute;
    border: 1px solid rgb(var(--bright-accent)) !important;
    width: 100%;
     padding: 0.5em !important;
    height: 6px;
     margin-top: 1em !important;
    top: 0;
     font-family: var(--body-font) !important;
     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;
}
}


#catlinks a,
/* 副扫描线 - 中等速度 - 修改为半透明灰色 */
.catlinks a {
.scan-animation::after {
     color: rgb(var(--bright-accent)) !important;
     content: "";
     text-decoration: none !important;
    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;
}
}


#catlinks a:hover,
/* 快速扫描线 - 细小快速 - 修改为半透明灰色 */
.catlinks a:hover {
.scan-animation .fast-scan {
     color: rgb(var(--white-monochrome)) !important;
    position: absolute;
     text-decoration: underline !important;
    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;
}
}


/* 工具栏样式 */
/* 各个扫描线的动画 - 保持不变 */
#footer-info,
@keyframes scanMain {
#footer-places,
    0% {  
.footer-places,
        top: -2rem;
.footer-info {
        opacity: 0.6;
    background-color: rgb(var(--black-monochrome)) !important;
     }
    border-top: 1px solid rgb(var(--bright-accent)) !important;
     50% {
     color: rgb(var(--bright-accent)) !important;
        opacity: 0.3;
     padding: 0.5em 1em !important;
     }
     font-family: var(--body-font) !important;
    100% {
}
        top: 100vh;
 
        opacity: 0.6;
#footer-info a,
     }
#footer-places a {
     color: rgb(var(--bright-accent)) !important;
}
}


#footer-info a:hover,
@keyframes scanSecondary {
#footer-places a:hover {
    0% {  
    color: rgb(var(--white-monochrome)) !important;
        top: -1rem;
}
        opacity: 0.4;
/* 主内容区背景 */
    }
#content {
    35% {
    background-color: rgb(var(--black-monochrome));
        opacity: 0.2;
     position: relative;
     }
     background-image: radial-gradient(circle, rgba(var(--medium-accent), 0.05) 50%, transparent 0);
     70% {
     background-size: 0.25em 0.25em;
        opacity: 0.5;
    background-repeat: repeat;
     }
     background-attachment: fixed;
    100% {
        top: 100vh;
        opacity: 0.4;
     }
}
}


.navbar,
@keyframes scanFast {
.navbar.navbar-default,
    0% {
.navbar-light {
        top: -0.3rem;
    background-color: rgb(var(--black-monochrome)) !important;
        opacity: 0.3;
    border-color: rgb(var(--bright-accent)) !important;
    }
    50% {
        opacity: 0.6;
    }
    100% {  
        top: 100vh;
        opacity: 0.3;
    }
}
}
/* Windows XP风格窗口和控件 */


.navbar .navbar-brand,
/* XP风格窗口标题栏通用样式 */
.navbar .nav-link,
.xp-window {
.navbar-light .navbar-nav .nav-link {
    border: 1px solid #0055AA;
     color: rgb(var(--bright-accent)) !important;
    border-radius: 8px 8px 0 0;
     font-family: var(--header-font) !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
     overflow: hidden;
     position: relative;
}
}


.navbar .nav-link:hover,
/* XP风格窗口标题栏 */
.navbar-light .navbar-nav .nav-link:hover {
.xp-window-title {
     color: rgb(var(--white-monochrome)) !important;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
     text-decoration: none !important;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    height: 25px;
     display: flex;
    align-items: center;
    justify-content: space-between;
     border-bottom: 1px solid #0044AA;
}
}


/* 下拉菜单 */
/* XP风格窗口标题文本 */
.dropdown-menu {
.xp-window-title-text {
     background-color: rgb(var(--black-monochrome)) !important;
     margin: 0;
     border: 1px solid rgb(var(--bright-accent)) !important;
    padding: 0;
    font-family: var(--title-font);
     font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}
}


.dropdown-item {
/* XP风格窗口内容 */
     color: rgb(var(--bright-accent)) !important;
.xp-window-content {
     font-family: var(--body-font) !important;
    background-color: #F1F1F1;
    padding: 10px;
     color: #000000;
     font-family: var(--body-font);
}
}


.dropdown-item:hover {
/* XP风格窗口控制按钮容器 */
     background-color: rgb(var(--gray-monochrome)) !important;
.xp-window-controls {
     color: rgb(var(--white-monochrome)) !important;
    display: flex;
    gap: 4px;
}
 
/* XP风格窗口按钮基础样式 */
.xp-window-button {
     width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
     transition: background-color 0.1s;
}
}


/* 侧边栏 */
/* XP风格窗口按钮 - 悬停状态 */
#mw-navigation, #mw-panel, .sidebar {
.xp-window-button:hover {
     background-color: rgb(var(--black-monochrome)) !important;
     background-color: rgba(255, 255, 255, 0.2);
}
}


#mw-navigation h2, #mw-panel h3, .sidebar h3 {
/* XP风格窗口按钮 - 按下状态 */
    color: rgb(var(--bright-accent)) !important;
.xp-window-button:active {
    font-family: var(--header-font) !important;
     background-color: rgba(0, 0, 0, 0.2);
     border-bottom: 1px solid rgb(var(--bright-accent)) !important;
}
}


/* 工具栏 */
/* XP风格窗口按钮图标 */
#p-tb, .tools-menu {
.xp-minimize::before,
     background-color: rgb(var(--black-monochrome)) !important;
.xp-maximize::before,
.xp-close::before {
    content: "";
    display: block;
    width: 11px;
    height: 2px;
     background-color: white;
}
}


/* 内容区域 */
/* XP风格最小化按钮 */
#content, .mw-body {
.xp-minimize::before {
     background-color: transparent !important;
     transform: translateY(5px);
    border: 1px solid rgb(var(--bright-accent)) !important;
}
}


/* 页脚 */
/* XP风格最大化按钮 */
#footer, .footer {
.xp-maximize::before {
     background-color: rgb(var(--black-monochrome)) !important;
     width: 9px;
     border-top: 1px solid rgb(var(--bright-accent)) !important;
    height: 9px;
     color: rgb(var(--bright-accent)) !important;
     border: 1px solid white;
     background-color: transparent;
}
}


/* 搜索框 */
/* XP风格关闭按钮 */
#searchInput, .form-control {
.xp-close {
     background-color: rgb(var(--black-monochrome)) !important;
     margin-left: 2px;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
}
}


/* 按钮 */
.xp-close::before {
.btn, .mw-ui-button {
     content: "×";
     background-color: rgb(var(--gray-monochrome)) !important;
    font-size: 16px;
     border: 1px solid rgb(var(--bright-accent)) !important;
    line-height: 1;
     color: rgb(var(--bright-accent)) !important;
    font-weight: bold;
     font-family: var(--body-font) !important;
     width: auto;
     height: auto;
     background-color: transparent;
}
}


.btn:hover, .mw-ui-button:hover {
.xp-close:hover {
     background-color: rgb(var(--bright-accent)) !important;
     background-color: #E81123;
    color: rgb(var(--black-monochrome)) !important;
}
}


/* 表格 */
/* 应用XP窗口样式到各种内容容器 */
.wikitable, table.wikitable {
/* 信息框样式 */
     background-color: rgb(var(--black-monochrome)) !important;
.infobox,
     border: 1px solid rgb(var(--bright-accent)) !important;
.notaninfobox {
     background-color: #F1F1F1 !important;
    color: #000000 !important;
     border: 1px solid #0055AA !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    margin: 1em 0 !important;
    font-family: var(--body-font) !important;
    overflow: hidden !important;
    position: relative !important;
}
}


.wikitable th {
.infobox th,
     background-color: rgb(var(--gray-monochrome)) !important;
.notaninfobox .infobox-title {
     color: rgb(var(--bright-accent)) !important;
     background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    padding: 5px 10px !important;
    text-align: left !important;
    font-weight: bold !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #0044AA !important;
}
 
/* 信息框标题文本 */
.infobox th span,
.notaninfobox .infobox-title span {
    flex-grow: 1 !important;
}
 
/* 添加XP窗口控制按钮到信息框 */
.infobox th::after,
.notaninfobox .infobox-title::after {
    content: "";
    display: flex;
     gap: 4px;
    align-items: center;
}
 
/* 信息框内容区域 */
.infobox td,
.notaninfobox .infobox-content {
    background-color: #F1F1F1 !important;
    padding: 8px !important;
    color: #000000 !important;
}
}


.wikitable td {
/* 信息框内部行分隔 */
     border: 1px solid rgb(var(--bright-accent)) !important;
.infobox tr:not(:first-child) td {
    color: rgb(var(--white-monochrome)) !important;
     border-top: 1px solid #D1D1D1 !important;
}
}


/* 代码块和预格式文本 */
/* 信息框内链接 */
pre, code, .mw-code {
.infobox a,
    background-color: rgb(var(--gray-monochrome)) !important;
.notaninfobox a {
    border: 1px solid rgb(var(--bright-accent)) !important;
     color: rgb(var(--xp-blue)) !important;
     color: rgb(var(--bright-accent)) !important;
    font-family: var(--mono-font) !important;
}
}


/* 链接颜色 */
.infobox a:hover,
a {
.notaninfobox a:hover {
     color: rgb(var(--bright-accent)) !important;
     color: rgb(var(--bright-accent)) !important;
}
}


a:visited {
 
     color: rgb(var(--medium-accent)) !important;
/* 信息框的最小化和最大化状态 */
.infobox.minimized td,
.notaninfobox.minimized .infobox-content,
.infobox.minimized tbody,
.notaninfobox.minimized .infobox-rows {
     display: none !important;
}
}


a:hover {
.infobox.maximized,
     color: rgb(var(--white-monochrome)) !important;
.notaninfobox.maximized {
     text-decoration: underline !important;
    position: fixed !important;
    top: 10% !important;
    left: 10% !important;
    width: 80% !important;
     height: 80% !important;
     z-index: 1000 !important;
}
}


/* 多重扫描线动画 */
/* 表格样式 - Windows XP风格 */
.scan-animation {
table.wiki-content-table {
     position: absolute;
     border-collapse: collapse !important;
    width: 100%;
     border: 1px solid #003C74 !important;
     height: 100%;
     margin: 1em 0 !important;
     top: 0;
     background-color: #FFFFFF !important;
     left: 0;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
     pointer-events: none;
}
}


/* 主扫描线 - 较宽较慢 */
table.wiki-content-table th {
.scan-animation::before {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
    content: "";
     color: #000000 !important;
     position: absolute;
     border: 1px solid #97B9E8 !important;
     width: 100%;
     padding: 5px 8px !important;
     height: 6px;
     font-weight: bold !important;
     top: 0;
     text-align: left !important;
     background: linear-gradient(
}
        to bottom,
 
        rgba(229, 140, 36, 0) 0%,
table.wiki-content-table td {
        rgba(229, 140, 36, 0.1) 20%,
     border: 1px solid #D3DCE3 !important;
        rgba(229, 140, 36, 0.2) 50%,
     padding: 5px 8px !important;
        rgba(229, 140, 36, 0.1) 80%,
     background-color: #FFFFFF !important;
        rgba(229, 140, 36, 0) 100%
     );
     box-shadow:  
        0 0 8px rgba(229, 140, 36, 0.15),
        0 0 15px rgba(229, 140, 36, 0.1);
     animation: scanMain 12s linear infinite;
    opacity: 0.4;
}
}


/* 副扫描线 - 中等速度 */
table.wiki-content-table tr:nth-child(even) td {
.scan-animation::after {
     background-color: #F0F6FF !important;
      content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(229, 140, 36, 0) 0%,
        rgba(229, 140, 36, 0.3) 50%,
        rgba(229, 140, 36, 0) 100%
     );
    box-shadow: 0 0 6px rgba(229, 140, 36, 0.2);
    animation: scanSecondary 7s linear infinite;
    animation-delay: -3s;
    opacity: 0.25;
}
}


/* 快速扫描线 - 细小快速 */
table.wiki-content-table tr:hover td {
.scan-animation .fast-scan {
     background-color: #E8F1FF !important;
  position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
     background: rgba(229, 140, 36, 0.6);
    box-shadow: 0 0 3px rgba(229, 140, 36, 0.3);
    animation: scanFast 3s linear infinite;
    animation-delay: -1.5s;
    opacity: 0.15;
}
}


/* 各个扫描线的动画 */
/* 按钮样式 - Windows XP风格 */
@keyframes scanMain {
.button,
     0% {
button,
        top: -2rem;
input[type="button"],
        opacity: 0.6;
input[type="submit"],
     }
input[type="reset"] {
     50% {
     background: linear-gradient(to bottom, #F5F5F5, #E5E5E5) !important;
        opacity: 0.3;
    border: 1px solid #999999 !important;
     }
     border-radius: 3px !important;
     100% {
     padding: 4px 10px !important;
        top: 100vh;
    color: #000000 !important;
        opacity: 0.6;
     font-family: var(--body-font) !important;
    }
     font-size: 12px !important;
    cursor: pointer !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}
}


@keyframes scanSecondary {
.button:hover,
    0% {
button:hover,
        top: -1rem;
input[type="button"]:hover,
        opacity: 0.4;
input[type="submit"]:hover,
    }
input[type="reset"]:hover {
    35% {
     background: linear-gradient(to bottom, #FEFEFE, #ECECEC) !important;
        opacity: 0.2;
     border-color: #666666 !important;
     }
    70% {
        opacity: 0.5;
     }
    100% {
        top: 100vh;
        opacity: 0.4;
    }
}
}


@keyframes scanFast {
.button:active,
     0% {
button:active,
        top: -0.3rem;
input[type="button"]:active,
        opacity: 0.3;
input[type="submit"]:active,
     }
input[type="reset"]:active {
     50% {
     background: #E0E0E0 !important;
        opacity: 0.6;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
     }
}
     100% {
/* 导航框(查论编)样式迁移 - Windows XP风格 */
        top: 100vh;
.navbox {
        opacity: 0.3;
    background-color: #F1F1F1 !important;
     }
     border: 1px solid #0055AA !important;
     border-radius: 8px 8px 0 0 !important;
     font-family: var(--body-font) !important;
     margin: 1em 0 !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
     overflow: hidden !important;
    position: relative !important;
}
}


/* 修复动画问题 - 使用更温和的淡入效果 */
.navbox-title,
@keyframes fadeIn {
.navbox th {
     from {
     background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
        opacity: 0;
    color: white !important;
        transform: translateY(20px);
    padding: 5px 10px !important;
     }
    text-align: center !important;
     to {
     height: 25px !important;
        opacity: 1;
     display: flex !important;
        transform: translateY(0);
    align-items: center !important;
     }
    justify-content: space-between !important;
     border-bottom: 1px solid #0044AA !important;
}
}


/* 应用动画到内容 */
/* 导航框标题文本 */
.mw-parser-output > * {
.navbox-title span {
     animation: fadeIn 0.5s ease-out forwards;
     flex-grow: 1 !important;
     opacity: 0;
     text-align: center !important;
}
}


/* 延迟动画 */
/* 添加XP窗口控制按钮占位 */
.mw-parser-output > *:nth-child(1) { animation-delay: 0.1s; }
.navbox-title::after {
.mw-parser-output > *:nth-child(2) { animation-delay: 0.2s; }
    content: "";
.mw-parser-output > *:nth-child(3) { animation-delay: 0.3s; }
    display: inline-block;
.mw-parser-output > *:nth-child(4) { animation-delay: 0.4s; }
    width: 63px; /* 3个按钮的宽度 */
.mw-parser-output > *:nth-child(5) { animation-delay: 0.5s; }
}
.mw-parser-output > *:nth-child(n+6) { animation-delay: 0.6s; }


/* 修复代码区域样式 */
.navbox-group {
.mw-highlight pre {
     background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
     background-color: rgb(var(--gray-monochrome)) !important;
    color: #000000 !important;
     border: 1px solid rgb(var(--bright-accent)) !important;
    font-weight: bold !important;
     padding: 1em !important;
    padding: 4px 8px !important;
     overflow: auto !important;
     border-right: 1px solid #97B9E8 !important;
     border-bottom: 1px solid #97B9E8 !important;
     text-align: right !important;
}
}


/* 语法高亮颜色 */
.navbox-list {
.mw-highlight .k { color: #E58C24 !important; } /* 关键字 */
    background-color: #FFFFFF !important;
.mw-highlight .s { color: #8C7832 !important; } /* 字符串 */
    color: #000000 !important;
.mw-highlight .c { color: #6A6A6A !important; } /* 注释 */
    padding: 4px 8px !important;
.mw-highlight .n { color: #AF6430 !important; } /* 名称 */
    border-bottom: 1px solid #D3DCE3 !important;
.mw-highlight .o { color: #AF6430 !important; } /* 运算符 */
}


/* Database主题样式块 */
.navbox-even {
.lightstyled-quote {
     background-color: #F0F6FF !important;
     background-color: rgb(var(--bright-accent));
    color: rgb(0, 0, 0);
    border-left: 0.5rem solid rgb(var(--gray-monochrome));
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
}


.darkstyled-quote {
.navbox a {
     background-color: rgb(var(--gray-monochrome));
     color: rgb(var(--xp-blue)) !important;
     border-left: 0.5rem solid rgb(var(--bright-accent));
     text-decoration: none !important;
     color: rgb(var(--white-monochrome));
}
     padding: 0.1rem 1rem;
 
    margin: 0.5rem 0 0.5rem 0.25rem;
.navbox a:hover {
    box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
     color: rgb(var(--bright-accent)) !important;
     text-decoration: underline !important;
}
}


.lightblock {
.navbox a:hover::before {
    background-color: rgb(var(--bright-accent));
     content: "> " !important;
    color: rgb(0, 0, 0);
    padding: 0.01rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
     box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
}


.darkblock {
/* 导航栏样式 - Windows XP风格 */
     background-color: rgb(var(--gray-monochrome));
.navbar,
     color: rgb(var(--white-monochrome));
.navbar.navbar-default,
     padding: 0.01rem 1rem;
.navbar-light {
    margin: 0.5rem 0 0.5rem 0.25rem;
     background: linear-gradient(to bottom, #1F69DE, #015EEB) !important;
     box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
     border-bottom: 1px solid #123AA0 !important;
     padding: 0 !important;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
}


/* 橙幕效果(替代黑幕) */
.navbar .navbar-brand,
.blackmu,
.navbar .nav-link,
.blackmu rt {
.navbar-light .navbar-nav .nav-link {
    --blackmu-color: 229, 140, 36;
     color: white !important;
    --blackmu-text-color: 0, 0, 0;
     font-family: var(--header-font) !important;
    --blackmu-link-color: 173, 216, 230;
     padding: 8px 15px !important;
     --blackmu-visited-link-color: 197, 202, 233;
     position: relative !important;
     --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,
.navbar .nav-link:hover,
.blackmu a,
.navbar-light .navbar-nav .nav-link:hover {
a .blackmu,
     background-color: rgba(255, 255, 255, 0.2) !important;
a.new .blackmu,
     color: white !important;
span.blackmu a:visited,
     text-decoration: none !important;
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 {
.dropdown-menu {
     color: rgb(var(--blackmu-text-color));
     background-color: #FFFFFF !important;
    border: 1px solid #7B9EBD !important;
    border-radius: 3px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 2px !important;
}
}


span.blackmu:hover a,
.dropdown-item {
a:hover span.blackmu {
    color: #000000 !important;
     color: rgb(var(--blackmu-link-color));
     font-family: var(--body-font) !important;
    padding: 4px 8px !important;
    border-radius: 2px !important;
}
}


  .notaninfobox {
.dropdown-item:hover {
position: relative;
    background-color: #316AC5 !important;
clear: right;
    color: white !important;
margin: 0 0 1em 1em;
width: 350px;
font-size: 90%;
background-color: var(--custom-table-background);
float: right;
border: 1px solid var(--custom-border-gray);
padding: 2px;
overflow: auto;
z-index: 1;
overflow-wrap: anywhere;
}
@media all and (max-width: 511px) {
.notaninfobox {
float: none;
margin-left: 0;
width: auto;
}
}
}


.infobox tr:not(:first-child) td {
/* 搜索框样式 - Windows XP风格 */
     border-bottom: 1px solid #ddd;
#searchInput,
}
.form-control {
@media all and (max-width: 337px) {
    background-color: white !important;
.notaninfobox {
     border: 1px solid #7B9EBD !important;
margin-left: -16px;
    color: #000000 !important;
margin-right: -16px;
    font-family: var(--body-font) !important;
border-left: none;
    padding: 4px 8px !important;
border-right: none;
    border-radius: 2px !important;
}
}
}


.notaninfobox > .infobox-title {
#searchInput:focus,
font-weight: bold;
.form-control:focus {
text-align: center;
    border-color: #5690D2 !important;
font-size: 120%;
    box-shadow: 0 0 4px rgba(86, 144, 210, 0.5) !important;
background-color: #BCD4F5;
}
.infobox-imagearea {
text-align: center;
padding: 4px;
}
.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;
#searchButton,
grid-template-columns: max-content 1fr;
.searchButton,
gap: 1px;
input[type="submit"],
}
input[type="button"],
.infobox .plainlinks a {
.mw-ui-button,
     color: #0000EE !important;
button[name="go"],
     text-decoration: underline;
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5) !important;
    border: 1px solid #999999 !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
     border-radius: 3px !important;
     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}
}
.infobox .plainlinks a:visited {
 
     color: #551A8B !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, #FEFEFE, #ECECEC) !important;
    border-color: #666666 !important;
     color: #000000 !important;
}
}
.notaninfobox .infobox-rows .infobox-row {
 
display: contents;
#searchButton:active,
.searchButton:active,
input[type="submit"]:active,
input[type="button"]:active,
.mw-ui-button:active,
button[name="go"]:active,
button[name="fulltext"]:active,
.mw-ui-button.mw-ui-progressive:active {
    background: #E0E0E0 !important;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}
}


.notaninfobox .infobox-row .infobox-row-label,
/* 目录框样式 - Windows XP风格 */
.notaninfobox .infobox-row .infobox-row-field {
#toc, .toc {
padding: 4px;
    background-color: #F1F1F1 !important;
    border: 1px solid #0055AA !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 0 !important;
    font-family: var(--body-font) !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    margin: 1em 0 !important;
    position: relative !important;
    overflow: hidden !important;
}
}


.notaninfobox .infobox-row .infobox-row-label {
.toc .toctitle, #toc .toctitle {
font-weight: bold;
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
display: flex;
    color: white !important;
align-items: center;
    text-align: left !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    font-weight: bold !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #0044AA !important;
}
}
.community-updates {
 
  background: #fff0e6;
.toc .toctitle h2, #toc .toctitle h2 {
  padding: 15px;
    color: white !important;
  border-radius: 10px;
    font-size: 12px !important;
  margin-top: 20px;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: none !important;
    flex-grow: 1 !important;
}
}
.community-updates ul li {
 
  list-style: none;
/* 添加XP窗口控制按钮占位 */
  padding: 10px;
.toc .toctitle::after, #toc .toctitle::after {
  background: #fff;
    content: "";
  margin: 5px 0;
    display: inline-block;
  border-radius: 5px;
    width: 63px; /* 3个按钮的宽度 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.community-updates ul li a {
  color: #337ab7;
  text-decoration: none;
  font-weight: bold;
}
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
background-color: var(--custom-table-alternate-background);
}
}


/* Infoboxes with tabber */
.toc ul, #toc ul {
.tabber-container-infobox .tabber .tabbertab,
    margin: 0 !important;
.tabber-container-infobox ul.tabbernav li a,
    padding: 10px 10px 10px 30px !important;
.tabber-container-infobox ul.tabbernav li.tabberactive a {
background: none;
border: none;
}
}


.tabber-container-infobox .tabber .tabbertab {
.toc a, #toc a {
padding: 0;
    color: rgb(var(--xp-blue)) !important;
    text-decoration: none !important;
}
}


.tabber-container-infobox ul.tabbernav {
.toc a:hover, #toc a:hover {
font: inherit;
    color: rgb(var(--bright-accent)) !important;
font-size: 100%;
    text-decoration: underline !important;
}
}


.tabber-container-infobox ul.tabbernav li a:hover {
.tocnumber {
color: #000;
    color: #666666 !important;
}
}


.tabber-container-infobox ul.tabbernav > li {
/* 主页样式修改 - Windows XP风格 */
margin-bottom: 5px;
/* 主页横幅样式 */
padding: 0;
.main-page-banner {
}
    position: relative;
.announcement-content span {
    display: grid;
  display: inline-block;
    grid-template-areas:
  white-space: nowrap;
        "welcome welcome welcome"
  animation: marquee 15s linear infinite;
        "discord faq join";
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3%;
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    background-color: #F1F1F1;
    overflow: hidden;
}
}
.mw-mainpage-header {
 
     background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
/* 欢迎文本区域 */
     box-shadow: grey 0px 0px 5px;
.main-page-banner .welcome-text {
     border-radius: 20px;
    grid-area: welcome;
     color: #000;
     background: linear-gradient(to bottom, #0084C6, #0066AA);
     font-size: 1.5em;
     color: white;
     text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 1.5rem 2rem;
     padding: 20px;
     margin: 0;
     text-align: center;
     width: 100%;
     position: relative;
     overflow: hidden;
     border-bottom: 1px solid #0044AA;
     z-index: 2;
}
}


.mw-mainpage-header h1 {
/* 背景图片支持 */
     font-size: 2.5em;
.main-page-banner .welcome-text::before {
     margin-bottom: 10px;
     content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
     z-index: 1;
}
}


.mw-mainpage-header p {
/* 添加水平扫描线 */
     font-size: 1.2em;
.main-page-banner .welcome-text .scan-line {
     margin: 5px 0;
     position: absolute;
}
    width: 100%;
.tabber-container-infobox ul.tabbernav > li > a {
    height: 3px;
color: #595959;
     background: linear-gradient(
padding-bottom: 1px;
        to right,
display: block;
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );
    z-index: 4;
    animation: horizScanLine 7s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}
}


/* To prevent the tabs from jumping around when they become active or inactive
/* 欢迎文本 */
* due to the font-weight changing from normal to bold and vice versa, add an
.main-page-banner .welcome-text p {
* invisible ::before which contains the same text as the tab's text, but
    position: relative;
* bolded. This way the element in which unbolded text sits is sized according
    z-index: 2;
* to the bolded text, preventing it from resizing upon being selected.
    margin: 0;
*/
    font-size: 1.1em;
.tabber-container-infobox ul.tabbernav > li > a::before {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
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;
@keyframes horizScanLine {
    0% { top: -10px; }
    100% { top: 100%; }
}
}


.modulebox {
/* 导航按钮美化 */
  border: 1px solid #ccc;
.main-page-banner .navigation-links {
  padding: 10px;
    display: grid;
  margin: 10px 0;
    grid-template-columns: 1fr 1fr 1fr;
  background-color: #f9f9f9;
    grid-column-gap: 3%;
    grid-area: discord / discord / join / join;
    width: 100%;
    padding: 1rem;
    background-color: #F1F1F1;
}
}


.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
.main-page-banner .nav-button {
font-weight: bold;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
color: var(--link-color);
    border: 1px solid #999999;
border-bottom: 2px solid var(--custom-mcwiki-header-color);
    border-radius: 3px;
}
    margin: 0;
    transition: all 0.3s ease;
    height: min-content;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}


.infobox-rows p {
/* 按钮光效 */
margin: 0;
.main-page-banner .nav-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transition: left 0.5s;
}
}


/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
.main-page-banner .nav-button:hover::before {
* but the wiki screws up sometimes.
    left: 100%;
*/
.infobox-rows dl + dl {
margin-top: -0.4em;
}
}


.infobox-rows dl:last-child {
.main-page-banner .nav-button:hover {
margin-bottom: 0.2em;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}
}


.infobox-footer {
.main-page-banner .nav-button a {
text-align: center;
    display: block;
    padding: 10px 15px;
    width: 100%;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none !important;
    font-family: var(--body-font);
    position: relative;
    z-index: 1;
}
}


/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
.main-page-banner .nav-button:hover a {
table.navbox{
     color: #000000;
     border:1px solid #aaa;
    clear:both;
    margin:auto;
    padding:1px;
    text-align:center;
    width:100%;
}
}
 
table.navbox + table.navbox{
.main-page-banner .nav-button:active {
     margin-top:-1px;
     background: #E0E0E0;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}
}
 
.navbox-title,
/* 公告容器 */
.navbox-abovebelow,
.announcement-container {
table.navbox th{
    background-color: #F1F1F1;
     padding-left:1em;
    border: 1px solid #0055AA;
     padding-right:1em;
    border-radius: 8px 8px 0 0;
     text-align:center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
     margin-bottom: 2rem;
     display: flex;
    flex-wrap: wrap;
     align-content: space-between;
    overflow: hidden;
    position: relative;
}
}
 
.navbox-group{
.announcement-container .section-title {
     font-weight:700;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
     white-space:nowrap;
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
     font-weight: bold;
    text-align: left;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
     justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}
}
 
.navbox,
/* 标题文本 */
.navbox-subgroup{
.announcement-container .section-title span {
     background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
     flex-grow: 1;
}
}
 
.navbox-list{
/* 添加XP窗口控制按钮占位 */
     border-color:#fdfdfd;
.announcement-container .section-title::after {
     content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}
}
 
.navbox-title,
.announcement-container .announcement-content {
table.navbox th{
     background-color: #FFFFFF;
     background:none repeat scroll 0 0 #a5e4a5;
    color: #000000;
    padding: 10px;
    font-family: var(--body-font);
    width: 100%;
    border-bottom: 1px solid #D3DCE3;
}
}
 
.navbox-abovebelow,
.announcement-content span {
.navbox-group,
    display: inline-block;
.navbox-subgroup .navbox-title{
    white-space: nowrap;
     background:none repeat scroll 0 0 #c0ecc0;
     animation: marquee 15s linear infinite;
}
}
 
.navbox-subgroup .navbox-group,
@keyframes marquee {
.navbox-subgroup .navbox-abovebelow{
    0% { transform: translate(100%, 0); }
     background:none repeat scroll 0 0 #e6f6e6;
     100% { transform: translate(-100%, 0); }
}
}
/* 近期页面容器 */
.navbox-even{
.recent-pages-container {
     background:none repeat scroll 0 0 #f5fcf5;
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}
}
 
.navbox-odd{
.recent-pages-container .page-section {
     background:none repeat scroll 0 0 #fdfdfd;
    flex-basis: 48%;
}
     background-color: #F1F1F1;
.collapseButton {
     border: 1px solid #0055AA;
     float: right;
     border-radius: 8px 8px 0 0;
     font-weight: 400;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
     text-align: right;
     margin-bottom: 1rem;
     width: auto;
     overflow: hidden;
}
.navbox .collapseButton {
     width: 6em;
}
.navbar {
     position: relative;
     position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
 
display: none;
.recent-pages-container .section-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}
}


@media only screen and (max-width:759px){
/* 标题文本 */
.infotable {
.recent-pages-container .section-title span {
    width: 90%;
    flex-grow: 1;
    float: none;
    margin: 0 auto;
}
/*.navbox {*/
/* display:none;*/
/*}*/
/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
.navbox-title>div{
        display: none;
    }
    /*把内边距去掉*/
    .navbox-group,
    .navbox-group >div{
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }
}
}


/* h1标题字体 */
/* 添加XP窗口控制按钮占位 */
body h1 {
.recent-pages-container .section-title::after {
     font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
     content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}
}


/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
.recent-pages-container .page-list {
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
    background-color: #FFFFFF;
    padding: 8px;
    max-height: 15rem;
    overflow-y: auto;
    border: 1px solid #D1D1D1;
    margin: 5px;
}
 
.recent-pages-container .page-list a {
    color: #0055AA;
    display: block;
    padding: 4px;
    border-bottom: 1px solid #EFEFEF;
    font-family: var(--body-font);
    transition: all 0.2s ease;
}


.heimu,
.recent-pages-container .page-list a:hover {
.heimu rt{
     color: #CC6600;
    --heimu-color:#252525;
     background-color: #E8F1FF;
     --heimu-text-color:#fff;
     padding-left: 8px;
     --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);
.recent-pages-container .see-more {
     background-color: #F0F0F0;
    border-top: 1px solid #CCCCCC;
    padding: 4px 8px;
    text-align: right;
    font-size: 0.9em;
}
}


.heimu,
.recent-pages-container .see-more a {
.heimu a,
     color: #0055AA;
a .heimu,
     font-family: var(--body-font);
a.new .heimu,
}
span.heimu a:visited,
 
span.heimu a.new,
.recent-pages-container .see-more a:hover {
span.heimu a.external,
     color: #CC6600;
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{
.featured-content-container {
     color:var(--heimu-text-color);
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
}


span.heimu:hover a,
.featured-content-container .feature-item {
a:hover span.heimu{
    flex-basis: 48%;
     color:var(--heimu-link-color);
    background-color: #F1F1F1;
     border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}
}


span.heimu:hover a:visited,
.featured-content-container .section-title {
a:visited:hover span.heimu{
    background: linear-gradient(to bottom, #0084C6, #0066AA);
     color:var(--heimu-visited-link-color);
    color: white;
    padding: 5px 10px;
     font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}
}


span.heimu:hover a.new,
/* 标题文本 */
a.new:hover span.heimu{
.featured-content-container .section-title span {
     color:var(--heimu-new-link-color);
     flex-grow: 1;
}
 
/* 添加XP窗口控制按钮占位 */
.featured-content-container .section-title::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}
}


span.heimu a.new:hover:visited,
.featured-content-container .feature-content {
a.new:hover:visited span.heimu{
    background-color: #FFFFFF;
     color:var(--heimu-new-visited-link-color);
    color: #000000;
    padding: 10px;
     font-family: var(--body-font);
    border: 1px solid #D1D1D1;
    margin: 5px;
}
}


span.heimu:hover a.extiw:visited,
.featured-content-container .feature-content .featured-title {
a.extiw:visited:hover span.heimu{
    color: #0055AA;
     color:var(--heimu-extiw-visited-link-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
     font-family: var(--title-font);
}
}
[color-mode="dark"] .heimu,
 
[color-mode="dark"] .heimu rt{
.featured-content-container .feature-content .featured-author {
     --heimu-color:#5e6272;
     font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
}
}


/*
.featured-content-container .feature-content .featured-description {
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
    font-style: italic;
请使用hovers在页面中进行载入。
    color: #333333;
*/
 
/* hover状态切换 */
.hover-change,
.hover-remote {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}
}


.hover-change-before,
.featured-content-container .see-more {
.hover-change-after,
    background-color: #F0F0F0;
.hover-remote-target {
    border-top: 1px solid #CCCCCC;
  transition: inherit;
    padding: 4px 8px;
    text-align: right;
    font-size: 0.9em;
}
}


.hover-change-after,
/* 工具和资源容器 */
.hover-remote-target {
.tools-and-resources {
  opacity: 0;
    margin-bottom: 2rem;
  position: absolute;
  top: 0;
  left: 0;
}
.hover-remote-target {
  left: 100%;
}
}


.hover-change-after[style^='right:'],
.tools-container {
.hover-change-after[style*=' right:'],
    display: grid;
.hover-remote-after[style^='right:'],
    grid-template-columns: 1fr 1fr;
.hover-remote-after[style*=' right:'] {
    grid-gap: 1rem;
  left: initial;
}
}


.hover-change-after[style^='bottom:'],
.tools-container .tool-item {
.hover-change-after[style*=' bottom:'],
    background-color: #F1F1F1;
.hover-remote-after[style^='bottom:'],
    color: #000000;
.hover-remote-after[style*=' bottom:'] {
    padding: 10px;
  top: initial;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: 0.6fr 0.4fr;
    grid-gap: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}
}


.hover-change-after:hover,
.tools-container .tool-item::before {
.hover-remote-target {
    content: "";
  opacity: 0;
    position: absolute;
  margin-left: -9999px;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    z-index: 0;
}
}


/* 主要用于制作hover形式的标签页(tab)切换 */
.tools-container .tool-item:hover {
.hover-tab-mode {
    transform: translateY(-5px);
  position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: none;
}
.hover-tab-mode .hover-remote {
  transition: inherit;
  position: static;
}
}


/* 闪烁效果 */
.tools-container .tool-item .tool-icon {
.hover-change.flash:hover .hover-change-before {
    grid-area: icon;
  margin-left: -9999px;
    justify-self: center;
    align-self: end;
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin-top: 30px;
}
}


.hover-change:hover > .hover-change-before,
.tools-container .tool-item .tool-title {
.hover-remote > .hover-remote-target,
    grid-area: title;
.hover-change:hover > a > .hover-change-before,
    text-align: center;
.hover-remote > a > .hover-remote-target {
    position: relative;
  opacity: 0;
    z-index: 1;
}
}


.hover-change:hover > .hover-change-after,
.tools-container .tool-item .tool-title a {
.hover-remote:hover > .hover-remote-target,
    color: #0055AA;
.hover-change:hover > a > .hover-change-after,
    font-weight: bold;
.hover-remote:hover > a > .hover-remote-target {
    font-family: var(--title-font);
  opacity: 1;
  margin-left: initial;
}
}


/* 基类 */
.tools-container .tool-item .tool-title a:hover {
[class*='hovers-'] {
    color: #CC6600;
  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;
}
}


/* 旋转放大 */
.tools-container .tool-item .tool-description {
.hovers-rotate-shrink {
    grid-area: content;
  transition-duration: 0.5s;
    align-self: center;
  transform: rotate(0) scale(0.75);
    position: relative;
    z-index: 1;
    padding: 5px;
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
    border-radius: 3px;
    margin-top: 30px;
}
}
.hovers-rotate-shrink:hover {
 
  transform: rotate(360deg) scale(1);
/* 页码样式 */
.mw-page-numbers,
.pageNumbers,
.pagination {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    font-family: var(--body-font);
}
}


.hovers-rotate-shrink-reverse {
.mw-page-numbers li,
  transition-duration: 0.5s;
.pageNumbers li,
  transform: rotate(360deg) scale(0.75);
.pagination li {
    margin: 0 2px;
    list-style: none;
}
}


.hovers-rotate-shrink-reverse:hover {
.mw-page-numbers a,
  transform: rotate(0) scale(1);
.pageNumbers a,
.pagination a {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    color: #000000;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
}


/* 旋转 */
.mw-page-numbers a:hover,
.hovers-rotate,
.pageNumbers a:hover,  
.hovers-rotate-reverse:hover {
.pagination a:hover {
  transition-duration: 0.5s;
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
  transform: rotate(0);
    border-color: #666666;
}
}


.hovers-rotate-reverse,
.mw-page-numbers .current,
.hovers-rotate:hover {
.pageNumbers .current,  
  transition-duration: 0.5s;
.pagination .current {
  transform: rotate(360deg);
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
    border: 1px solid #4A8BF5;
    color: #000000;
    border-radius: 3px;
    font-weight: bold;
}
}


/* 正常 => 浅 */
/* 侧边栏样式 */
.hovers-fade-deep,
#mw-navigation,  
.hovers-fade,
#mw-panel,  
.hovers-fade-shallow {
.sidebar {
  opacity: 1;
    background-color: #F1F1F1 !important;
}
}
.hovers-fade-deep:hover,
 
.hovers-fade-deep.active {
#mw-navigation h2,
  opacity: 0.35;
#mw-panel h3,
.sidebar h3 {
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    padding: 5px 10px !important;
    font-family: var(--header-font) !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    border-bottom: 1px solid #0044AA !important;
    margin: 0 !important;
}
}
.hovers-fade:hover,
 
.hovers-fade.active {
/* 引用样式 */
  opacity: 0.5;
div.blockquote, blockquote {
    border: 1px solid #7B9EBD;
    background-color: #ECF4FD;
    color: #000000;
    border-radius: 3px;
    padding: 8px 12px;
    margin: 1em 1.5em;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
}
.hovers-fade-shallow:hover,
 
.hovers-fade-shallow.active {
/* 底部工具栏 */
  opacity: 0.75;
#footer, .footer {
    background-color: #F1F1F1 !important;
    border-top: 1px solid #0055AA !important;
    color: #000000 !important;
    padding: 1em 0 !important;
    font-family: var(--body-font) !important;
}
}


/* 浅 => 正常 */
#footer a, .footer a {
.hovers-bloom-deep {
    color: #0055AA !important;
  opacity: 0.35;
}
}
.hovers-bloom {
 
  opacity: 0.5;
#footer a:hover, .footer a:hover {
    color: #CC6600 !important;
}
}
.hovers-bloom-shallow {
 
  opacity: 0.75;
/* 轮播图 */
.mw-carousel {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 2em auto;
    overflow: hidden;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    background-color: #F1F1F1;
}
}


.hovers-bloom-deep:hover,
.mw-carousel::before {
.hovers-bloom-deep.active,
    content: "照片查看器";
.hovers-bloom:hover,
    position: absolute;
.hovers-bloom.active,
    top: 0;
.hovers-bloom-shallow:hover,
    left: 0;
.hovers-bloom-shallow.active {
    right: 0;
  opacity: 1;
    height: 25px;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-weight: bold;
    font-family: var(--title-font);
    z-index: 5;
}
}


/* 正常 => 大 */
.mw-carousel .carousel-image {
.hovers-grow-deep,
    width: 100%;
.hovers-grow,
    height: 100%;
.hovers-grow-shallow {
    position: relative;
  transform: scale(1);
    margin-top: 25px; /* 为标题栏留出空间 */
}
}
.hovers-grow-deep:hover,
 
.hovers-grow-deep.active {
.mw-carousel .carousel-image img {
  transform: scale(1.5);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
}
.hovers-grow:hover,
 
.hovers-grow.active {
.mw-carousel .carousel-caption {
  transform: scale(1.25);
    position: absolute;
}
    bottom: 0;
.hovers-grow-shallow:hover,
    left: 0;
.hovers-grow-shallow.active {
    width: 100%;
  transform: scale(1.1);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: left;
    z-index: 2;
}
}


/* 正常 => 小 */
.mw-carousel .carousel-navigation {
.hovers-shrink-deep:hover,
    position: absolute;
.hovers-shrink-deep.active,
    top: 50%;
.hovers-shrink:hover,
    left: 0;
.hovers-shrink.active,
    width: 100%;
.hovers-shrink-shallow:hover,
    display: flex;
.hovers-shrink-shallow.active {
    justify-content: space-between;
  transform: scale(1);
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 10px;
}
 
.mw-carousel .carousel-prev,
.mw-carousel .carousel-next {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #000000;
}
}
.hovers-shrink-deep {
 
  transform: scale(0.5);
.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}
}
.hovers-shrink {
 
  transform: scale(0.75);
.mw-carousel .carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 4;
}
}
.hovers-shrink-shallow {
 
  transform: scale(0.9);
.mw-carousel .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    background-color: #CCCCCC;
    border: 1px solid #999999;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
}


/* 左右抖动 */
.mw-carousel .carousel-indicators .indicator.active {
@keyframes shake-flexible {
     background-color: #0084C6;
  25% {
     border-color: #0055AA;
    transform: translateX(-0.0625em);
  }
 
  50% {
     transform: translateX(0.0625em);
  }
 
  75% {
     transform: translateX(-0.0625em);
  }
}
}


.hovers-shake-flexible:hover,
/* 黑幕效果改为橙色半透明(符合XP主题) */
.hovers-shake-flexible.active {
.heimu,
  animation: shake-flexible 0.5s ease-out;
.heimu rt,
.blackmu,
.blackmu rt {
    --blackmu-color: 229, 140, 36;
    --blackmu-text-color: 0, 0, 0;
    --blackmu-link-color: 0, 85, 170;
    --blackmu-visited-link-color: 0, 64, 128;
    --blackmu-new-link-color: 204, 102, 0;
    --blackmu-new-visited-link-color: 153, 76, 0;
   
    background-color: rgba(var(--blackmu-color), 0.8);
}
}


@keyframes shake {
.heimu,
  25% {
.heimu a,
    transform: translateX(-8px);
a .heimu,
  }
a.new .heimu,
 
span.heimu a:visited,
  50% {
span.heimu a.new,
     transform: translateX(8px);
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,
.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: rgba(var(--blackmu-color), 0.8);
    text-shadow: none;
}


  75% {
span.heimu:hover,
     transform: translateX(-8px);
span.heimu:active,
  }
span.blackmu:hover,
span.blackmu:active {
     color: rgb(var(--blackmu-text-color));
}
}


.hovers-shake:hover,
span.heimu:hover a,
.hovers-shake.active {
a:hover span.heimu,
  animation: shake 0.5s ease-out;
span.blackmu:hover a,
a:hover span.blackmu {
    color: rgb(var(--blackmu-link-color));
}
}


/* 上下抖动 */
/* 颜色幕 */
@keyframes bounce-flexible {
.colormu-drk {
  25% {
     color: #FFFFFF;
     transform: translateY(-0.0625em);
}
  }


  50% {
.colormu-bri {
     transform: translateY(0.0625em);
     color: #000000;
  }
}


  75% {
.colormu-drk:not(.colormu_toggle_on) a {
     transform: translateY(-0.0625em);
     color: #add8e6;
  }
}
}


.hovers-bounce-flexible:hover,
.colormu-drk:not(.colormu_toggle_on) a.new {
.hovers-bounce-flexible.active {
    color: #FCC;
  animation: bounce-flexible 0.5s ease-out;
}
}


@keyframes bounce {
.colormu>span,
  25% {
.colormu a,
     transform: translateY(-8px);
.colormu a>span {
  }
     transition: color 0.2s;
}


  50% {
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
    transform: translateY(8px);
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
  }
     color: transparent;
 
  75% {
     transform: translateY(-8px);
  }
}
}


.hovers-bounce:hover,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
.hovers-bounce.active {
    color: transparent !important;
  position: relative;
  left: 0;
  animation: bounce 0.5s ease-out;
}
}


/* 绕顶端中点抖动 */
a .colormu-bri {
@keyframes swing {
    color: inherit;
  20% {
}
    transform: rotate3d(0, 0, 1, 10deg);
 
  }
a:hover .colormu>span,
a:active .colormu>span,
.colormu-drk.colormu_toggle_on,  
.colormu_toggle_on>span,  
.colormu-drk.colormu_toggle_on a>span {
    color: inherit !important;
}


  40% {
/* Windows XP样式的提示框(替代hovertip) */
     transform: rotate3d(0, 0, 1, -10deg);
.hovertip {
  }
     background-color: #FFFFCC !important;
    border: 1px solid #999999 !important;
    border-radius: 3px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 6px !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    font-size: 0.9rem !important;
    max-width: 300px !important;
}


  60% {
/* Windows XP风格的选项卡 */
     transform: rotate3d(0, 0, 1, 5deg);
.yui-navset .yui-nav,
  }
.yui-navset .yui-navset-top .yui-nav {
     border-color: #7B9EBD !important;
    border-width: 0 0 1px 0 !important;
    zoom: 1 !important;
    position: relative !important;
}


  80% {
.yui-navset .yui-nav li,
     transform: rotate3d(0, 0, 1, -5deg);
.yui-navset .yui-navset-top .yui-nav li {
  }
     margin: 0 0.16em 0 0 !important;
    padding: 1px 0 0 !important;
    list-style: none !important;
    display: inline-block !important;
}


  to {
.yui-navset .yui-nav a,
     transform: rotate3d(0, 0, 1, 0deg);
.yui-navset .yui-nav a:focus,
  }
.yui-navset .yui-nav a:hover,
.yui-navset .yui-navset-top .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a:focus,
.yui-navset .yui-navset-top .yui-nav a:hover {
     background: linear-gradient(to bottom, #F5F5F5, #E5E5E5) !important;
    border: 1px solid #7B9EBD !important;
    color: #000000 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 0.25em 0.5em !important;
    border-radius: 2px 2px 0 0 !important;
}
}


.hovers-swing {
.yui-navset .yui-nav .selected a,
  transform-origin: top center;
.yui-navset .yui-nav .selected a:focus,
.yui-navset .yui-nav .selected a:hover {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
    color: #000000 !important;
    border-color: #4A8BF5 !important;
}
}
.hovers-swing:hover,
 
.hovers-swing.active {
.yui-navset .yui-content {
  animation: swing 0.75s ease-out;
    background: #FFFFFF !important;
    border: 1px solid #7B9EBD !important;
    border-top: none !important;
    padding: 10px !important;
}
}


/* 正常 => 大 */
/* Windows XP风格的代码块 */
@keyframes pulse-grow {
pre, code, .mw-code {
  to {
    background-color: #FFFFFF !important;
     transform: scale(1.1);
    border: 1px solid #7B9EBD !important;
  }
     color: #000000 !important;
    font-family: var(--mono-font) !important;
    padding: 5px !important;
    border-radius: 3px !important;
}
}


.hovers-pulse-grow:hover,
/* Windows XP风格的分隔线 */
.hovers-pulse-grow.active {
hr {
  animation: pulse-grow 0.5s linear infinite alternate;
    margin: 1em 2em;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px solid #7B9EBD;
}
}


/* 正常 => 小 */
/* Windows XP风格块 - 原database主题块 */
@keyframes pulse-shrink {
.lightstyled-quote {
  to {
    background-color: #ECF4FD;
     transform: scale(0.9);
    color: #000000;
  }
    border-left: 3px solid #0055AA;
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
}


.hovers-pulse-shrink:hover,
.darkstyled-quote {
.hovers-pulse-shrink.active {
    background-color: #D6E9FF;
  animation: pulse-shrink 0.5s linear infinite alternate;
    border-left: 3px solid #0055AA;
    color: #000000;
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
}


/* 正常 => 小 */
.lightblock {
@keyframes push {
    background-color: #ECF4FD;
  50% {
    color: #000000;
     transform: scale(0.8);
    padding: 0.01rem 1rem;
  }
    margin: 0.5rem 0 0.5rem 0.25rem;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}
}


.hovers-push:hover,
.darkblock {
.hovers-push.active {
    background-color: #D6E9FF;
  animation: push 0.3s linear;
    color: #000000;
    padding: 0.01rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}
}


/* 正常 => 大 */
/* Windows XP风格的错误屏幕块 */
@keyframes pop {
.bluescreen {
  50% {
    background-color: #0000AA;
     transform: scale(1.2);
    color: #FFFFFF;
  }
    padding: 1.5rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: "Courier New", monospace;
    border: 2px solid #FFFFFF;
    position: relative;
}
}


.hovers-pop:hover,
.bluescreen::before {
.hovers-pop.active {
    content: "Windows";
  animation: pop 0.3s linear;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-weight: bold;
}
}


/* 正常 => 大 => 正常 => 大 */
/* Windows XP Logo块 */
.hovers-bounce-in:hover,
.logoblock {
.hovers-bounce-in.active {
    padding: 0.5rem 1rem;
  transform: scale(1.2);
    color: #000000;
  transition-duration: 0.5s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    margin: 0.5rem 0 0.5rem 0.25rem;
    display: block;
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid #7B9EBD;
    border-radius: 3px;
    min-height: 80px;
}
}


/* 正常 => 小 => 正常 => 小 */
.logoblock::after {
.hovers-bounce-out:hover,
    content: "";
.hovers-bounce-out.active {
    float: center;
  transform: scale(0.8);
    border: solid 2px transparent;
  transition-duration: 0.5s;
    background: url() center/70% no-repeat;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
}


/* 倾斜 */
/* Windows XP风格的标题块 */
.hovers-tilt:hover,
.titlebox {
.hovers-tilt.active {
    color: #FFFFFF;
  transition-duration: 0.3s;
    position: relative;
  transform: rotate(4deg);
    top: -1.6rem;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    padding: 0.5rem 2rem;
    line-height: 0.1rem;
    border-radius: 3px 3px 0 0;
    border: 1px solid #0055AA;
    border-bottom: none;
}
}


/* 倾斜 + 放大 */
/* Windows XP风格警告消息 */
.hovers-grow-rotate:hover,
.mw-warning, .warning {
.hovers-grow-rotate.active {
    background-color: #FFEFD5;
  transition-duration: 0.3s;
    color: #000000;
  transform: scale(1.1) rotate(4deg);
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    border: 1px solid #FF8C00;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
}


/* 升起 */
.mw-warning:before, .warning:before {
.hovers-float:hover,
    content: "⚠️ ";
.hovers-float.active {
    font-size: 1.2rem;
  transition-duration: 0.3s;
    vertical-align: middle;
  transition-timing-function: ease-out;
    margin-right: 0.5rem;
  transform: translateY(-8px);
}
}


/* 下沉 */
/* Windows XP风格的提示消息 */
.hovers-sink:hover,
.mw-info, .info {
.hovers-sink.active {
    background-color: #E6F3FF;
  transition-duration: 0.3s;
    color: #000000;
  transition-timing-function: ease-out;
    padding: 0.7rem 1rem;
  transform: translateY(8px);
    margin: 1rem 0;
    border: 1px solid #4A8BF5;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
}


/* 飘浮 */
.mw-info:before, .info:before {
@keyframes bob {
    content: "ℹ️ ";
  0% {
     font-size: 1.2rem;
     transform: translateY(-10px);
     vertical-align: middle;
  }
     margin-right: 0.5rem;
  50% {
     transform: translateY(-5px);
  }
  100% {
     transform: translateY(-10px);
  }
}
}
@keyframes bob-float {
 
  100% {
/* 窗口最小化和最大化状态的样式 */
     transform: translateY(-10px);
.minimized .page-list,
  }
.minimized .feature-content,
.minimized .tool-description,
.minimized .announcement-content,
.minimized .mw-parser-output,
.minimized .toc {
    display: none !important;
}
 
.maximized {
    position: fixed !important;
    top: 5% !important;
    left: 5% !important;
    width: 90% !important;
     height: 90% !important;
    z-index: 9999 !important;
}
}


.hovers-bob:hover,
.maximized .page-list,
.hovers-bob.active {
.maximized .feature-content,
  animation-name: bob-float, bob;
.maximized .tool-description,
  animation-duration: 0.3s, 1.5s;
.maximized .announcement-content,
  animation-delay: 0s, 0.3s;
.maximized .mw-parser-output {
  animation-timing-function: ease-out, ease-in-out;
    max-height: calc(90vh - 40px) !important;
  animation-iteration-count: 1, infinite;
    overflow-y: auto !important;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}
}


/* 悬挂 */
/* Windows XP风格的图片浏览器 */
@keyframes hang {
.scp-image-block {
  0% {
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
     transform: translateY(10px);
    border-radius: 3px;
  }
    border: 1px solid #7B9EBD;
  50% {
     margin: 0 2em 1em;
     transform: translateY(5px);
     background-color: #FFFFFF;
  }
  100% {
     transform: translateY(10px);
  }
}
}
@keyframes hang-sink {
 
  100% {
.scp-image-block.block-right {
     transform: translateY(10px);
    float: right;
  }
     margin: 0 0 1em 2em;
}
}


.hovers-hang:hover,
.scp-image-block .scp-image-caption {
.hovers-hang.active {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE);
  animation-name: hang-sink, hang;
    color: #000000;
  animation-duration: 0.3s, 1.5s;
    padding: 5px;
  animation-delay: 0s, 0.3s;
    text-align: center;
  animation-timing-function: ease-out, ease-in-out;
    border-top: 1px solid #7B9EBD;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}
}


/* 非对称 */
.scp-image-block img {
.hovers-skew:hover,
    padding: 5px;
.hovers-skew.active {
    display: block;
  transform: skew(-10deg);
    margin: 0 auto;
}
}


/* 非对称-左 */
/* 响应式布局调整 */
.hovers-skew-forward {
@media (max-width: 767px) {
  transform-origin: 0 100%;
    .main-page-banner {
}
        grid-template-areas:
.hovers-skew-forward:hover,
            "welcome"
.hovers-skew-forward.active {
            "navigation";
  transform: skew(-10deg);
        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;
        width: 100%;
        overflow: visible;
    }
   
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
    }
   
    .tools-container {
        grid-template-columns: 1fr;
    }
   
    .xp-window-controls {
        display: none !important;
    }
}
}


/* 非对称-右 */
/* 打印样式(续) */
.hovers-skew-backward {
@media print {
  transform-origin: 0 100%;
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
   
    #content {
        background: #FFFFFF !important;
        border: none !important;
        box-shadow: none !important;
    }
   
    .scan-animation,
    .xp-window-controls,
    .main-page-banner .navigation-links,
    .mw-carousel .carousel-navigation,
    .mw-carousel .carousel-indicators {
        display: none !important;
    }
   
    a {
        color: #000000 !important;
        text-decoration: underline !important;
    }
   
    a::before {
        content: none !important;
    }
   
    .infobox,
    .notaninfobox,
    .navbox,
    #toc,
    .toc,
    .announcement-container,
    .recent-pages-container .page-section,
    .featured-content-container .feature-item,
    .tools-container .tool-item {
        border: 1px solid #000000 !important;
        box-shadow: none !important;
    }
   
    .infobox th,
    .notaninfobox .infobox-title,
    .navbox-title,
    .toc .toctitle,
    #toc .toctitle,
    .announcement-container .section-title,
    .recent-pages-container .section-title,
    .featured-content-container .section-title,
    .tools-container .tool-item::before {
        background: #CCCCCC !important;
        color: #000000 !important;
    }
}
}
.hovers-skew-backward:hover,
 
.hovers-skew-backward.active {
/* 滚动条样式 - Windows XP经典风格 */
  transform: skew(10deg);
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}
}


/* 垂直抖动 */
::-webkit-scrollbar-track {
@keyframes wobble-vertical {
     background-color: #F1F1F1;
  16.65% {
     border-left: 1px solid #DFDFDF;
    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,
::-webkit-scrollbar-thumb {
.hovers-wobble-vertical.active {
    background: #C2D2E3;
  animation-name: wobble-vertical;
    border: 1px solid #7B9EBD;
  animation-duration: 1s;
    border-radius: 3px;
  animation-timing-function: ease-in-out;
}
  animation-iteration-count: 1;
 
::-webkit-scrollbar-thumb:hover {
    background: #9CB6D3;
}
}


/* 水平抖动 */
::-webkit-scrollbar-button {
@keyframes wobble-horizontal {
     background-color: #F1F1F1;
  16.65% {
     border: 1px solid #7B9EBD;
    transform: translateX(8px);
     height: 16px;
  }
     width: 16px;
  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 {
::-webkit-scrollbar-button:vertical:increment {
  animation-name: wobble-horizontal;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M4 0l-4 4h8z" transform="translate(0 2)"/></svg>');
  animation-duration: 1s;
    background-repeat: no-repeat;
  animation-timing-function: ease-in-out;
    background-position: center;
  animation-iteration-count: 1;
}
}


/* 右下弹回 */
::-webkit-scrollbar-button:vertical:decrement {
@keyframes wobble-to-bottom-right {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M0 0l4 4 4-4h-8z" transform="translate(0 2)"/></svg>');
  16.65% {
     background-repeat: no-repeat;
    transform: translate(8px, 8px);
    background-position: center;
  }
}
  33.3% {
 
     transform: translate(-6px, -6px);
::-webkit-scrollbar-button:horizontal:increment {
  }
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M0 0l4 4-4 4v-8z" transform="translate(2 0)"/></svg>');
  49.95% {
     background-repeat: no-repeat;
     transform: translate(4px, 4px);
     background-position: center;
  }
  66.6% {
    transform: translate(-2px, -2px);
  }
  83.25% {
     transform: translate(1px, 1px);
  }
  100% {
     transform: translate(0, 0);
  }
}
}


.hovers-wobble-to-bottom-right:hover,  
::-webkit-scrollbar-button:horizontal:decrement {
.hovers-wobble-to-bottom-right.active {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M4 0l-4 4 4 4v-8z" transform="translate(2 0)"/></svg>');
  animation-name: wobble-to-bottom-right;
    background-repeat: no-repeat;
  animation-duration: 1s;
    background-position: center;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


/* 右上弹回 */
/* 表单元素样式 - Windows XP风格 */
@keyframes wobble-to-top-right {
input[type="text"],
  16.65% {
input[type="password"],
     transform: translate(8px, -8px)
input[type="email"],
  }
input[type="url"],
  33.3% {
input[type="search"],
     transform: translate(-6px, 6px);
textarea,
  }
select {
  49.95% {
    background-color: #FFFFFF;
     transform: translate(4px, -4px);
    border: 1px solid #7B9EBD;
  }
    color: #000000;
  66.6% {
     font-family: var(--body-font);
     transform: translate(-2px, 2px);
    padding: 4px 8px;
  }
    border-radius: 2px;
  83.25% {
     transition: border-color 0.2s, box-shadow 0.2s;
     transform: translate(1px, -1px);
}
  }
 
  100% {
input[type="text"]:focus,
     transform: translate(0);
input[type="password"]:focus,
  }
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
     border-color: #5690D2;
    box-shadow: 0 0 4px rgba(86, 144, 210, 0.5);
    outline: none;
}
 
select {
     padding: 3px 4px;
    background: linear-gradient(to bottom, #FEFEFE, #E5E5E5);
    border: 1px solid #7B9EBD;
}
 
input[type="checkbox"],
input[type="radio"] {
     accent-color: #316AC5;
}
 
/* 按钮悬停时为Win XP鼠标悬停样式 */
button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
     background-color: #316AC5 !important;
    color: #FFFFFF !important;
    border-color: #215091 !important;
    background-image: none !important;
}
}


.hovers-wobble-to-top-right:hover,
/* Windows XP风格窗口的工具栏 */
.hovers-wobble-to-top-right.active {
.xp-window-toolbar {
  animation-name: wobble-to-top-right;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
  animation-duration: 1s;
    border-bottom: 1px solid #CCCCCC;
  animation-timing-function: ease-in-out;
    padding: 2px 5px;
  animation-iteration-count: 1;
    display: flex;
    align-items: center;
}
}


/* 果冻 */
.xp-window-toolbar button {
@keyframes wobble-top {
    background: transparent;
  16.65% {
     border: 1px solid transparent;
     transform: skew(-12deg);
    border-radius: 2px;
  }
     padding: 2px 5px;
  33.3% {
     margin: 0 2px;
     transform: skew(10deg);
     cursor: pointer;
  }
}
  49.95% {
 
     transform: skew(-6deg);
.xp-window-toolbar button:hover {
  }
     background-color: #E0E0E0;
  66.6% {
     border-color: #999999;
     transform: skew(4deg);
  }
  83.25% {
     transform: skew(-2deg);
  }
  100% {
     transform: skew(0);
  }
}
}


/* 赘肉 */
.xp-window-toolbar button:active {
.hovers-wobble-top {
    background-color: #D0D0D0;
  transform-origin: 0 100%;
    border-color: #999999;
    border-style: inset;
}
}
.hovers-wobble-top:hover,
 
.hovers-wobble-top.active {
/* Windows XP风格的状态栏 */
  animation-name: wobble-top;
.xp-window-statusbar {
  animation-duration: 1s;
    background-color: #F1F1F1;
  animation-timing-function: ease-in-out;
    border-top: 1px solid #CCCCCC;
  animation-iteration-count: 1;
    padding: 2px 8px;
    font-size: 0.9em;
    color: #666666;
    display: flex;
    justify-content: space-between;
}
}


@keyframes wobble-bottom {
/* 菜单项 */
  16.65% {
.xp-window-menu {
     transform: skew(-12deg);
     background-color: #F1F1F1;
  }
    border-bottom: 1px solid #CCCCCC;
  33.3% {
    display: flex;
     transform: skew(10deg);
    padding: 0 5px;
  }
}
  49.95% {
 
     transform: skew(-6deg);
.xp-window-menu-item {
  }
     padding: 3px 10px;
  66.6% {
    cursor: pointer;
     transform: skew(4deg);
    color: #000000;
  }
     border: 1px solid transparent;
  83.25% {
    border-radius: 2px;
     transform: skew(-2deg);
     margin-right: 1px;
  }
}
  100% {
 
     transform: skew(0);
.xp-window-menu-item:hover {
  }
     background-color: #E0E0E0;
    border-color: #999999;
}
 
.xp-window-menu-item.active {
     background-color: #D0D0D0;
    border-color: #999999;
}
}


.hovers-wobble-bottom {
/* 页码样式增强 - 确保更符合XP风格 */
  transform-origin: 100% 0;
.mw-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5em 0;
    padding: 0;
    list-style: none;
}
}
.hovers-wobble-bottom:hover,
 
.hovers-wobble-bottom.active {
.mw-pagination li {
  animation-name: wobble-bottom;
    margin: 0 2px;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


/* 颤动 */
.mw-pagination a,
@keyframes wobble-skew {
.mw-pagination span {
  16.65% {
     display: inline-block;
     transform: skew(-12deg);
    min-width: 30px;
  }
    height: 30px;
  33.3% {
     line-height: 30px;
     transform: skew(10deg);
    border: 1px solid #7B9EBD;
  }
     background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
  49.95% {
    color: #000000;
     transform: skew(-6deg);
    border-radius: 3px;
  }
     text-align: center;
  66.6% {
    text-decoration: none;
     transform: skew(4deg);
     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  }
}
  83.25% {
 
     transform: skew(-2deg);
.mw-pagination a:hover {
  }
     background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
  100% {
    border-color: #666666;
     transform: skew(0);
  }
}
}
.hovers-wobble-skew:hover,
 
.hovers-wobble-skew.active {
.mw-pagination .active span {
  animation-name: wobble-skew;
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
  animation-duration: 1s;
    border-color: #4A8BF5;
  animation-timing-function: ease-in-out;
    color: #000000;
  animation-iteration-count: 1;
    font-weight: bold;
}
}


/* 振动 */
.mw-pagination .disabled span {
@keyframes buzz {
    color: #AAAAAA;
  50% {
     background: #F8F8F8;
     transform: translateX(3px) rotate(2deg);
    border-color: #DDDDDD;
  }
     cursor: not-allowed;
  100% {
     transform: translateX(-3px) rotate(-2deg);
  }
}
}


.hovers-buzz:hover,
/* 进度条样式 - Windows XP风格 */
.hovers-buzz.active {
progress {
  animation-name: buzz;
    -webkit-appearance: none;
  animation-duration: 0.15s;
    -moz-appearance: none;
  animation-timing-function: linear;
    appearance: none;
  animation-iteration-count: infinite;
    height: 20px;
    width: 100%;
    border: 1px solid #7B9EBD;
    border-radius: 2px;
    background-color: #FFFFFF;
}
 
progress::-webkit-progress-bar {
    background-color: #FFFFFF;
    border-radius: 1px;
}
 
progress::-webkit-progress-value {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    border-radius: 1px;
}
 
progress::-moz-progress-bar {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    border-radius: 1px;
}
 
/* XP风格的开始菜单(可用于站点导航等) */
.xp-start-menu {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 320px;
    background-color: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
}
 
.xp-start-menu.visible {
    display: block;
}
 
.xp-start-menu-header {
    background: linear-gradient(to right, #0084C6, #0066AA);
    height: 60px;
    padding: 10px;
    color: white;
    display: flex;
    align-items: center;
    border-radius: 0 8px 0 0;
}
}


/* 振出 */
.xp-start-menu-header img {
@keyframes buzz-out {
     width: 40px;
  10% {
     height: 40px;
    transform: translateX(3px) rotate(2deg);
     margin-right: 10px;
  }
  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,
.xp-start-menu-header .user-name {
.hovers-buzz-out.active {
    font-weight: bold;
  animation-name: buzz-out;
    font-size: 1.2em;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
}


/* 右移 */
.xp-start-menu-body {
.hovers-forward:hover,
    display: flex;
.hovers-forward.active {
  transform: translateX(8px);
}
}


/* 左移 */
.xp-start-menu-left {
.hovers-backward:hover,
    width: 200px;
.hovers-backward.active {
    padding: 8px;
  transform: translateX(-8px);
    background-color: white;
    border-right: 1px solid #CCCCCC;
}
}


/* 自由移动 */
.xp-start-menu-right {
.hovers-top,
    width: 120px;
.hovers-left,
    padding: 8px;
.hovers-bottom,
    background-color: #F1F1F1;
.hovers-right {
}
  transition: all 0.5s;
 
.xp-start-menu-item {
    padding: 8px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 2px;
}
 
.xp-start-menu-item:hover {
    background-color: #316AC5;
    color: white;
}
}


.hovers-top:hover,
.xp-start-menu-item img {
.hovers-top.active {
    width: 24px;
  transform: translateY(-0.0625em);
    height: 24px;
    margin-right: 8px;
}
}


.hovers-left:hover,
.xp-start-menu-footer {
.hovers-left.active {
    height: 30px;
  transform: translateX(-0.0625em);
    background: linear-gradient(to right, #0084C6, #0066AA);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
}
}


.hovers-bottom:hover,
.xp-start-button {
.hovers-bottom.active {
    background: linear-gradient(to bottom, #63B34C, #4E9C3D);
  transform: translateY(0.0625em);
    color: white;
    border: 1px solid #4E9C3D;
    border-radius: 3px;
    padding: 2px 8px;
    font-weight: bold;
    cursor: pointer;
}
}


.hovers-right:hover,
.xp-start-button:hover {
.hovers-right.active {
    background: linear-gradient(to bottom, #74C25D, #5FAD4E);
  transform: translateX(0.0625em);
}
}


/* 滤镜 */
/* 任务栏 */
.hovers-blur,
.xp-taskbar {
.hovers-blur-reverse,
    position: fixed;
.hovers-brightness,
    bottom: 0;
.hovers-brightness-reverse,
    left: 0;
.hovers-contrast,
    width: 100%;
.hovers-contrast-reverse,
    height: 30px;
.hovers-grayscale,
    background: linear-gradient(to top, #0084C6, #0066AA);
.hovers-grayscale-reverse,
    display: flex;
.hovers-invert,
    align-items: center;
.hovers-invert-reverse,
    padding: 0 2px;
.hovers-saturate,
    z-index: 9999;
.hovers-saturate-reverse,
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
.hovers-sepia,
}
.hovers-sepia-reverse,
 
.hovers-hue-rotate,
.xp-start-button-container {
.hovers-hue-rotate-reverse {
    display: flex;
  transition-duration: 0.75s;
    align-items: center;
    margin-right: 5px;
}
}


.hovers-blur:hover,
.xp-taskbar-items {
.hovers-blur.active,
    display: flex;
.hovers-brightness:hover,
    flex-grow: 1;
.hovers-brightness.active,
    height: 100%;
.hovers-contrast:hover,
    align-items: center;
.hovers-contrast.active,
    overflow-x: auto;
.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 {
.xp-taskbar-item {
  filter: blur(5px);
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    height: 22px;
    padding: 0 8px;
    margin: 0 2px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    min-width: 100px;
    max-width: 200px;
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
}


.hovers-blur-reverse:hover,
.xp-taskbar-item:hover {
.hovers-blur-reverse.active {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
  filter: blur(5px);
}
}


.hovers-brightness {
.xp-taskbar-item.active {
  filter: brightness(50%);
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
    border-color: #4A8BF5;
}
}


.hovers-brightness-reverse:hover,
.xp-taskbar-item img {
.hovers-brightness-reverse.active {
    width: 16px;
  filter: brightness(50%);
    height: 16px;
    margin-right: 5px;
}
}


.hovers-contrast {
.xp-taskbar-item span {
  filter: contrast(50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}


.hovers-contrast-reverse:hover,
.xp-system-tray {
.hovers-contrast-reverse.active {
    display: flex;
  filter: contrast(50%);
    align-items: center;
    height: 100%;
    padding: 0 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
}


.hovers-grayscale {
.xp-system-tray-item {
  filter: grayscale(100%);
    width: 16px;
    height: 16px;
    margin: 0 3px;
    cursor: pointer;
}
}


.hovers-grayscale-reverse:hover,
/* XP风格的系统图标 */
.hovers-grayscale-reverse.active {
.xp-icon {
  filter: grayscale(100%);
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    text-align: center;
}
}


.hovers-invert {
.xp-icon img {
  filter: invert(100%);
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
}
}


.hovers-invert-reverse:hover,
.xp-icon span {
.hovers-invert-reverse.active {
    display: block;
  filter: invert(100%);
    font-size: 0.8em;
    margin-top: 2px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    padding: 0 2px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
}


.hovers-saturate {
.xp-icon:hover span {
  filter: saturate(200%);
    background-color: #316AC5;
    color: white;
}
 
.xp-shortcut::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%23000000" d="M0 0v6l6-3z" transform="translate(1 1)"/></svg>');
    background-repeat: no-repeat;
}
}


.hovers-saturate-reverse:hover,
/* 通用辅助类 */
.hovers-saturate-reverse.active {
.xp-shadow {
  filter: saturate(200%);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
}


.hovers-sepia {
.xp-border {
  filter: sepia(100%);
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}
}


.hovers-sepia-reverse:hover,
.xp-header-gradient {
.hovers-sepia-reverse.acitve {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
  filter: sepia(100%);
    color: white;
}
}


.hovers-hue-rotate {
.xp-button-gradient {
  filter: hue-rotate(180deg);
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
}
}


.hovers-hue-rotate-reverse:hover,
.xp-panel-gradient {
.hovers-hue-rotate-reverse.active {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE);
  filter: hue-rotate(180deg);
}
}


/* 背景滑动 */
/* 确保风格一致性 */
.hovers-sweep-to-right,
* {
.hovers-sweep-to-left,
    box-sizing: border-box;
.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,
/* 淡入动画修改 - 使用XP风格的淡入效果 */
.hovers-sweep-to-left:before,
@keyframes fadeIn {
.hovers-sweep-to-bottom:before,
    from {
.hovers-sweep-to-top:before,
        opacity: 0;
.hovers-radial-out:before,
        transform: translateY(10px);
.hovers-radial-in:before {
    }
  content: '';
    to {
  position: absolute;
        opacity: 1;
  z-index: 10;
        transform: translateY(0);
  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 {
.mw-parser-output > * {
  transform: scaleY(0);
    animation: fadeIn 0.3s ease-out forwards;
}
    opacity: 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%;
.mw-parser-output > *:nth-child(1) { animation-delay: 0.05s; }
.mw-parser-output > *:nth-child(2) { animation-delay: 0.1s; }
.mw-parser-output > *:nth-child(3) { animation-delay: 0.15s; }
.mw-parser-output > *:nth-child(4) { animation-delay: 0.2s; }
.mw-parser-output > *:nth-child(5) { animation-delay: 0.25s; }
.mw-parser-output > *:nth-child(n+6) { animation-delay: 0.3s; }
 
/* Windows XP启动动画 - 仅在页面加载时出现 */
.xp-startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    animation: fadeOut 3s forwards;
    animation-delay: 2s;
}
}
.hovers-sweep-to-left:before {
 
  transform-origin: 100% 50%;
.xp-startup-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    background: url() center/contain no-repeat;
}
}
.hovers-sweep-to-bottom:before {
 
  transform-origin: 50% 0;
.xp-startup-progress {
    width: 300px;
    height: 20px;
    background-color: #333333;
    border: 1px solid #555555;
    position: relative;
    overflow: hidden;
}
}
.hovers-sweep-to-top:before {
 
  transform-origin: 50% 100%;
.xp-startup-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        transparent 0%,
        #0084C6 30%,
        #0084C6 70%,
        transparent 100%
    );
    animation: progressMove 1.5s linear infinite;
}
}
.hovers-radial-out:hover:before,
 
.hovers-radial-out.active:before {
@keyframes progressMove {
  transform: scale(2);
    0% { left: -100%; }
    100% { left: 100%; }
}
}
.hovers-radial-in:hover:before,
 
.hovers-radial-in.active:before {
@keyframes fadeOut {
  transform: scale(0);
    0% { opacity: 1; visibility: visible; }
    99% { opacity: 0; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}
}


.hovers-sweep-to-right .hovers-content.center,
/* 页面错误消息 - 模拟XP错误弹窗 */
.hovers-sweep-to-left .hovers-content.center,
.xp-error-dialog {
.hovers-sweep-to-bottom .hovers-content.center,
    position: fixed;
.hovers-sweep-to-top .hovers-content.center,
    top: 50%;
.hovers-radial-out .hovers-content.center,
    left: 50%;
.hovers-radial-in .hovers-content.center {
    transform: translate(-50%, -50%);
  display: flex;
    width: 300px;
  align-items: center;
    background-color: #F1F1F1;
  justify-content: center;
    border: 1px solid #0055AA;
  word-break: break-all;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}
 
.xp-error-dialog-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}
 
.xp-error-dialog-title span {
    flex-grow: 1;
}
 
.xp-error-dialog-content {
    padding: 15px;
    display: flex;
    align-items: flex-start;
}
}


.hovers-sweep-to-right:hover:before,
.xp-error-dialog-icon {
.hovers-sweep-to-left:hover:before,
    width: 32px;
.hovers-sweep-to-bottom:hover:before,
    height: 32px;
.hovers-sweep-to-top:hover:before,
    margin-right: 10px;
.hovers-sweep-to-right.active:before,
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="16" fill="%23FF0000"/><text x="16" y="24" text-anchor="middle" font-family="Arial" font-weight="bold" font-size="24" fill="%23FFFFFF">!</text></svg>') no-repeat;
.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,
.xp-error-dialog-message {
.hovers-sweep-to-left .hovers-content,
    flex-grow: 1;
.hovers-sweep-to-bottom .hovers-content,
    color: #000000;
.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 {
.xp-error-dialog-buttons {
  left: initial;
    display: flex;
  right: 100%;
    justify-content: flex-end;
}
    padding: 10px 15px 15px;
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}
}


.hovers-sweep-to-left .hovers-content {
.xp-error-dialog-ok {
  left: 100%;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
}
    border: 1px solid #999999;
.hovers-sweep-to-left:hover .hovers-content,
    border-radius: 3px;
.hovers-sweep-to-left.active .hovers-content {
    padding: 4px 15px;
  left: 0;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
}


.hovers-sweep-to-bottom .hovers-content {
.xp-error-dialog-ok:hover {
  top: initial;
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
  bottom: 100%;
    border-color: #666666;
}
.hovers-sweep-to-bottom:hover .hovers-content,
.hovers-sweep-to-bottom.active .hovers-content {
  bottom: 0;
}
}


.hovers-sweep-to-top .hovers-content {
.xp-error-dialog-ok:active {
  top: 100%;
    background: #E0E0E0;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}
}
.hovers-sweep-to-top:hover .hovers-content,
/* 搜索框右侧按钮 - 更具体的选择器 */
.hovers-sweep-to-top.active .hovers-content {
#searchButton,
  top: 0;
#mw-searchButton,
.searchButton,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    padding: 0.3em 0.6em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
}


.hovers-radial-out .hovers-content,
#searchButton:hover,
.hovers-radial-in:hover .hovers-content,
#mw-searchButton:hover,
.hovers-radial-in.active .hovers-content {
.searchButton:hover,
  opacity: 0;
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.3) !important;
}
}


.hovers-radial-in .hovers-content,
/* 变色龙皮肤特定搜索按钮 */
.hovers-radial-out:hover .hovers-content,
.chameleon-search-form .btn {
.hovers-radial-out.active .hovers-content {
    background-color: rgb(var(--gray-monochrome)) !important;
  opacity: 1;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
}
}


/* 默认em */
.chameleon-search-form .btn:hover {
.hovers-border,
    background-color: rgb(var(--bright-accent)) !important;
.hovers-trim,
    color: rgb(var(--black-monochrome)) !important;
.hovers-ripple-out,
}
.hovers-ripple-in,
/* 底部工具栏完整样式 */
.hovers-outline-out,
#footer,
.hovers-outline-in,
.footer,
.hovers-reveal {
#footer-places,
  font-size: 160px;
#footer-info,
  line-height: 16px;
#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-privacy,
#footer-places-about,
#footer-places-disclaimer,
#footer-icons,
.footer-info,
.footer-places,
.footer-icons,
.printfooter,
.mw-footer,
.mw-footer li {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    border: none !important;
}
}


/* 内边框滑出 */
/* 页脚主容器 */
.hovers-border,
.mw-footer,
.hovers-trim {
#footer,
  position: relative;
.footer {
  top: 0;
    background-color: rgb(var(--black-monochrome)) !important;
  left: 0;
    border-top: 2px solid rgb(var(--bright-accent)) !important;
  transition: all 0.3s;
    margin-top: 1em !important;
    padding: 1em 0 !important;
}
}


.hovers-border:before {
/* 页脚链接 */
  content: '';
#footer a,
  width: 100%;
.footer a,
  height: 100%;
.mw-footer a {
  position: absolute;
    color: rgb(var(--bright-accent)) !important;
  top: 0;
    text-decoration: none !important;
  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,
#footer a:hover,
.hovers-border.active:before {
.footer a:hover,
  opacity: 1;
.mw-footer a:hover {
    color: rgb(var(--white-monochrome)) !important;
    text-decoration: underline !important;
}
}


/* 带边距内边框 */
/* 页脚列表项 */
.hovers-trim:before {
#footer li,
  content: '';
.footer li,
  position: absolute;
.mw-footer li {
  top: calc(0.0625em * 0.4);
    color: rgb(var(--bright-accent)) !important;
  left: calc(0.0625em * 0.4);
    margin: 0.5em 0 !important;
  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 {
#footer-poweredbyico,
  opacity: 1;
#footer-copyrightico,
.footer-icons {
    background-color: transparent !important;
}
}


/* 边框飞出与飞入 */
/* 变色龙皮肤特定的页脚 */
.hovers-ripple-out,
.p-tb,
.hovers-ripple-in,
#p-tb,
.hovers-outline-out,
.tools-menu,
.hovers-outline-in,
#t-whatlinkshere,
.hovers-reveal {
#t-recentchangeslinked,
  animation-duration: 0.7s;
#t-specialpages,
  animation-timing-function: ease-out;
#t-print,
  transition: all 0.3s;
#t-permalink,
#t-info {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
}
 
/* 页脚的具体区域 */
.mw-footer-container {
    background-color: rgb(var(--black-monochrome)) !important;
}
}


.hovers-ripple-out:before,
/* 底部导航区域 */
.hovers-ripple-in:before,
#footer-navigation {
.hovers-outline-out:before,
    background-color: rgb(var(--black-monochrome)) !important;
.hovers-outline-in:before,
    border-top: 1px solid rgb(var(--bright-accent)) !important;
.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;
.chameleon-toc {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
}
}
.hovers-ripple-in:before {
 
  top: calc(-0.0625em * 1.2);
.chameleon-toc .toctitle {
  right: calc(-0.0625em * 1.2);
    background-color: rgb(var(--bright-accent)) !important;
  bottom: calc(-0.0625em * 1.2);
    color: rgb(var(--black-monochrome)) !important;
  left: calc(-0.0625em * 1.2);
  opacity: 0;
}
}
.hovers-outline-out:before {
 
  opacity: 0;
/* 搜索按钮图标 */
.mw-ui-icon:before,
.oo-ui-icon-search {
    filter: brightness(0) saturate(100%) invert(58%) sepia(78%) saturate(481%) hue-rotate(353deg) brightness(101%) contrast(91%);
}
}
.hovers-outline-out:before {
/* 工具条完整修复 */
  top: calc(-0.0625em * 1.6);
#mw-panel,
  right: calc(-0.0625em * 1.6);
#mw-head,
  bottom: calc(-0.0625em * 1.6);
#mw-head-base,
  left: calc(-0.0625em * 1.6);
#mw-page-base,
  opacity: 0;
#left-navigation,
#right-navigation,
#p-personal,
#p-search,
#p-tb,
#p-cactions,
#p-namespaces,
#p-views,
#p-variants,
#p-coll-print_export,
#p-wikibase-otherprojects,
#p-lang {
    background-color: rgb(var(--black-monochrome)) !important;
}
}
.hovers-reveal:before {
 
  border-width: 0;
/* 工具条容器 */
  opacity: 0;
.mw-portlet,
.vector-menu {
    background-color: rgb(var(--black-monochrome)) !important;
}
}


@keyframes ripple-out {
/* 工具条标题 */
  50% {
.mw-portlet h3,
    opacity: 1;
.vector-menu h3,
  }
.vector-menu-heading {
 
     background-color: rgb(var(--bright-accent)) !important;
  100% {
     color: rgb(var(--black-monochrome)) !important;
     top: calc(-0.0625em * 1.2);
     padding: 0.25em 0.5em !important;
     right: calc(-0.0625em * 1.2);
     border: none !important;
     bottom: calc(-0.0625em * 1.2);
    left: calc(-0.0625em * 1.2);
     opacity: 0;
  }
}
}
.hovers-ripple-out:hover:before,
/* Echo扩展通知图标修复 */
.hovers-ripple-out.active:before {
/* 通知图标基础样式 */
  animation-name: ripple-out;
#pt-notifications-alert,
#pt-notifications-notice,
.mw-echo-notifications-badge,
.mw-echo-notification-badge-nojs {
    background-color: transparent !important;
    border: none !important;
}
}


@keyframes ripple-in {
/* 修复图标颜色和可见性 */
  50% {
#pt-notifications-alert .mw-echo-notifications-badge:before,
     opacity: 1;
#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;
}


  100% {
/* 未读通知计数器 */
    top: 0;
.mw-echo-notifications-badge:after,
     right: 0;
.mw-echo-notification-badge-nojs:after {
     bottom: 0;
     background-color: rgb(var(--bright-accent)) !important;
     left: 0;
     color: rgb(var(--black-monochrome)) !important;
     opacity: 0;
     border: 1px solid rgb(var(--black-monochrome)) !important;
  }
     opacity: 1 !important;
}
}
.hovers-ripple-in:hover:before,
 
.hovers-ripple-in.active:before {
/* 图标悬停效果 */
  animation-name: ripple-in;
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
    color: rgb(var(--white-monochrome)) !important;
}
}


.hovers-outline-out:hover:before,
/* 修复SVG图标 */
.hovers-outline-in:hover:before,
.mw-echo-notifications-badge svg,
.hovers-outline-out.active:before,
.oo-ui-icon-bell svg,
.hovers-outline-in:hover:before {
.oo-ui-icon-tray svg {
  top: calc(-0.0625em * 0.8);
    fill: rgb(var(--bright-accent)) !important;
  right: calc(-0.0625em * 0.8);
    stroke: rgb(var(--bright-accent)) !important;
  bottom: calc(-0.0625em * 0.8);
  left: calc(-0.0625em * 0.8);
  opacity: 1;
}
}


.hovers-reveal:hover:before,
/* 确保图标容器可见 */
.hovers-reveal.active:before {
#pt-notifications-alert,
  transform: translateY(0);
#pt-notifications-notice {
  border-width: calc(0.0625em * 0.4);
    opacity: 1 !important;
  opacity: 1;
    visibility: visible !important;
    display: inline-block !important;
}
}


/* 圆角化 */
/* 通知面板样式 */
.hovers-round-corners {
.mw-echo-ui-overlay,
  overflow: hidden;
.mw-echo-ui-notificationsWidget {
    background-color: rgb(var(--black-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--white-monochrome)) !important;
}
}
.hovers-round-corners:hover,
 
.hovers-round-corners.active {
/* 通知项目 */
  border-radius: 0.0625em;
.mw-echo-ui-notificationItemWidget {
    background-color: rgb(var(--gray-monochrome)) !important;
    border-bottom: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--white-monochrome)) !important;
}
}


/* 重叠:翻转切换 */
.mw-echo-ui-notificationItemWidget:hover {
 
    background-color: rgba(var(--bright-accent), 0.1) !important;
.hover-turn {
  position: relative;
  transform: translateZ(1px);
}
}


.hover-turn-before,
/* 通知标题和内容 */
.hover-turn-after {
.mw-echo-ui-notificationItemWidget-content-message-header {
  position: absolute;
    color: rgb(var(--bright-accent)) !important;
  top: 0;
  left: 0;
}
}


@keyframes hover-turn {
.mw-echo-ui-notificationItemWidget-content-message-body {
  from {
     color: rgb(var(--white-monochrome)) !important;
     transform: rotateY(-90deg);
  }
 
  50% {
    transform: scale(1.2);
  }
 
  to {
    transform: rotateY(0);
  }
}
}


.hover-turn:not(:hover) .hover-turn-before,
#pt-notifications-alert .oo-ui-iconElement-icon,
.hover-turn:hover .hover-turn-after {
#pt-notifications-notice .oo-ui-iconElement-icon,
  animation: hover-turn 0.5s;
.mw-echo-notification-badge .oo-ui-iconElement-icon {
    background-color: transparent !important;
}
}


.hover-turn:hover .hover-turn-before,
/* 只修改通知图标的颜色 */
.hover-turn:not(:hover) .hover-turn-after {
#pt-notifications-alert .oo-ui-icon-bell,
opacity: 0;
#pt-notifications-notice .oo-ui-icon-tray {
    filter: invert(58%) sepia(58%) saturate(1008%) hue-rotate(351deg) brightness(97%) contrast(94%);
}
/* 强制显示通知图标 - 针对可能被隐藏的情况 */
#p-personal .vector-menu-content-list #pt-notifications-alert,
#p-personal .vector-menu-content-list #pt-notifications-notice {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */


/*
/* 如果使用Font Awesome或其他图标字体 */
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
.mw-echo-notifications-badge:before,
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
.oo-ui-icon-bell:before,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
.oo-ui-icon-tray:before {
*/
    color: rgb(var(--bright-accent)) !important;
    opacity: 1 !important;
.colormu-drk {
    visibility: visible !important;
color: #FFF;
}
}
.colormu-bri {
/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
color: #000;
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}
}
.colormu-drk:not(.colormu_toggle_on) a {
 
color: #add8e6;
.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;
}
}
.colormu-drk:not(.colormu_toggle_on) a.new {
 
color: #FCC;
 
 
/* 头像悬停效果 */
.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    transition: all 0.3s ease !important;
}
}
.colormu>span, .colormu a, .colormu a>span {
 
transition: color 0.2s;
.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;
}
}
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
 
color: transparent;
.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);
}
}
 
/* for T:Coloredlink in T:彩幕 */
.heimu,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
.heimu a,
color: transparent !important;
a .heimu,
}
a.new .heimu,
span.heimu a:visited,
/* for T:彩幕 in link */
span.heimu a.new,
a .colormu-bri {
span.heimu a.external,
color: inherit;
span.heimu a.external:visited,
}
span.heimu a.extiw,
a:hover .colormu>span, a:active .colormu>span,
span.heimu a.extiw:visited,
/* and for MediaWiki:Gadget-heimu-toggle.js */
span.heimu a.mw-disambig,
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
span.heimu a.mw-redirect{
color: inherit !important;
    transition:color 0.13s linear;
}
    color:var(--heimu-color);
/* === 轮播图容器 === */
    text-shadow:none;
.mw-carousel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
  background-color: #f8f9fa;
}
}


/* === 图片区域 === */
span.heimu:hover,
.mw-carousel .carousel-image {
span.heimu:active{
  width: 100%;
    color:var(--heimu-text-color);
  height: 100%;
  position: relative;
}
}


.mw-carousel .carousel-image img {
span.heimu:hover a,
  width: 100%;
a:hover span.heimu{
  height: 100%;
    color:var(--heimu-link-color);
  object-fit: cover;
  display: block;
}
}


/* === 默认状态下的文字:底部横条,文字靠左 === */
span.heimu:hover a:visited,
.mw-carousel .carousel-caption {
a:visited:hover span.heimu{
  position: absolute;
    color:var(--heimu-visited-link-color);
  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: 2em 1.5em 1.2em;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  transform: translateY(0);
}


/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
span.heimu:hover a.new,
.mw-carousel:hover .carousel-caption {
a.new:hover span.heimu{
  top: 0;
    color:var(--heimu-new-link-color);
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em;
  border-radius: 0;
  backdrop-filter: blur(3px);
}
}


/* === 标题 + 描述样式 === */
span.heimu a.new:hover:visited,
.mw-carousel .carousel-caption h3 {
a.new:hover:visited span.heimu{
  margin: 0 0 0.5em;
    color:var(--heimu-new-visited-link-color);
  font-size: 1.6em;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
}


.mw-carousel .carousel-caption p {
span.heimu:hover a.extiw:visited,
  margin: 0;
a.extiw:visited:hover span.heimu{
  font-size: 1.1em;
    color:var(--heimu-extiw-visited-link-color);
  line-height: 1.4;
  max-width: 80%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease 0.1s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
}
 
[color-mode="dark"] .heimu,
.mw-carousel:hover .carousel-caption h3 {
[color-mode="dark"] .heimu rt{
  transform: translateY(0);
    --heimu-color:#5e6272;
}
}


.mw-carousel:hover .carousel-caption p {
/*
  opacity: 1;
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
  transform: translateY(0);
请使用hovers在页面中进行载入。
}
*/


/* === 左右切换按钮(垂直居中) === */
/* hover状态切换 */
.mw-carousel .carousel-navigation {
.hover-change,
   position: absolute;
.hover-remote {
  top: 50%;
   position: relative;
  left: 0;
   display: inline-block;
  width: 100%;
   transition: opacity 0.5s linear;
   display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 1.5em;
  opacity: 0;
   transition: opacity 0.3s ease;
}
}


.mw-carousel:hover .carousel-navigation {
.hover-change-before,
   opacity: 1;
.hover-change-after,
.hover-remote-target {
   transition: inherit;
}
}


.mw-carousel .carousel-prev,
.hover-change-after,
.mw-carousel .carousel-next {
.hover-remote-target {
   background-color: rgba(255, 255, 255, 0.8);
   opacity: 0;
   border: none;
   position: absolute;
   border-radius: 50%;
   top: 0;
  width: 48px;
   left: 0;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #333;
}
}
 
.hover-remote-target {
.mw-carousel .carousel-prev:hover,
   left: 100%;
.mw-carousel .carousel-next:hover {
   background-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}
}


/* === 指示器 - 修改为底部右侧 === */
.hover-change-after[style^='right:'],
.mw-carousel .carousel-indicators {
.hover-change-after[style*=' right:'],
  position: absolute;
.hover-remote-after[style^='right:'],
  bottom: 15px;
.hover-remote-after[style*=' right:'] {
  right: 20px;  /* 改为右对齐 */
   left: initial;
  left: auto;    /* 取消左对齐 */
  transform: none; /* 取消水平居中变换 */
  display: flex;
  gap: 10px;
  z-index: 4;
  padding: 0.5em 1em;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.3);
   backdrop-filter: blur(5px);
}
}


.mw-carousel .carousel-indicators .indicator {
.hover-change-after[style^='bottom:'],
  width: 10px;
.hover-change-after[style*=' bottom:'],
  height: 10px;
.hover-remote-after[style^='bottom:'],
  background-color: rgba(255, 255, 255, 0.5);
.hover-remote-after[style*=' bottom:'] {
  border-radius: 50%;
   top: initial;
  cursor: pointer;
   transition: all 0.3s;
}
}


.mw-carousel .carousel-indicators .indicator.active {
.hover-change-after:hover,
   background-color: #ffffff;
.hover-remote-target {
   transform: scale(1.2);
   opacity: 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
   margin-left: -9999px;
}
}


.mw-carousel .carousel-indicators .indicator:hover {
/* 主要用于制作hover形式的标签页(tab)切换 */
   background-color: rgba(255, 255, 255, 0.8);
.hover-tab-mode {
  position: relative;
   transition: none;
}
}
 
.hover-tab-mode .hover-remote {
/* === 图片全局统一显示效果 === */
   transition: inherit;
img {
   position: static;
   max-width: 100%;
  height: auto;
   display: block;
}
}


/* === 添加图片过渡效果 === */
/* 闪烁效果 */
.mw-carousel .carousel-image img {
.hover-change.flash:hover .hover-change-before {
   transition: transform 0.5s ease;
   margin-left: -9999px;
}
}


.mw-carousel:hover .carousel-image img {
.hover-change:hover > .hover-change-before,
   transform: scale(1.03);
.hover-remote > .hover-remote-target,
}
.hover-change:hover > a > .hover-change-before,
/* Main Page Styles */
.hover-remote > a > .hover-remote-target {
#firstHeading {
   opacity: 0;
   display: none;
}
 
.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;
}
}


/* Common styles */
/* 基类 */
.section-title {
[class*='hovers-'] {
   background-color: #f0f0f0;
   display: inline-block;
   color: #333;
   box-shadow: 0 0 1px rgba(0, 0, 0, 0);
   font-weight: bold;
   transform: perspective(1px) translateZ(0);
   padding: 0.5rem 1rem;
   vertical-align: middle;
   font-size: 1.2rem;
   transition-duration: 0.25s;
   border-left: 4px solid #3366cc;
   transition-property: all;
}
}


.see-more {
/* 旋转放大 */
   text-align: right;
.hovers-rotate-shrink {
   padding: 0.3rem 1rem;
   transition-duration: 0.5s;
  font-size: 0.9rem;
   transform: rotate(0) scale(0.75);
   background-color: #f5f5f5;
}
.hovers-rotate-shrink:hover {
   transform: rotate(360deg) scale(1);
}
}


.see-more a {
.hovers-rotate-shrink-reverse {
   color: #3366cc;
   transition-duration: 0.5s;
  transform: rotate(360deg) scale(0.75);
}
}


/* 主页横幅样式 - 改进的CRT效果 */
.hovers-rotate-shrink-reverse:hover {
.main-page-banner {
  transform: rotate(0) scale(1);
    position: relative;
}
    display: grid;
 
    grid-template-areas:
/* 旋转 */
        "welcome welcome welcome"
.hovers-rotate,
        "discord faq join";
.hovers-rotate-reverse:hover {
    grid-template-columns: 1fr 1fr 1fr;
  transition-duration: 0.5s;
    grid-column-gap: 3%;
  transform: rotate(0);
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgb(var(--bright-accent));
    box-shadow: 0 0 20px rgba(var(--bright-accent), 0.3);
    background-color: rgb(var(--black-monochrome));
    z-index: 1;
}
}


/* 欢迎文本区域 - 带优化的CRT故障效果 */
.hovers-rotate-reverse,
.main-page-banner .welcome-text {
.hovers-rotate:hover {
    grid-area: welcome;
  transition-duration: 0.5s;
    background-color: rgb(var(--gray-monochrome));
  transform: rotate(360deg);
    color: rgb(var(--white-monochrome));
    padding: 2rem;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgb(var(--bright-accent));
    border-radius: 0;
    z-index: 2;
}
}


/* 背景图片支持 */
/* 正常 => 浅 */
.main-page-banner .welcome-text::before {
.hovers-fade-deep,
    content: "";
.hovers-fade,
    position: absolute;
.hovers-fade-shallow {
    top: 0;
  opacity: 1;
    left: 0;
}
    width: 100%;
.hovers-fade-deep:hover,
    height: 100%;
.hovers-fade-deep.active {
    background-size: cover;
  opacity: 0.35;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}
}
 
.hovers-fade:hover,
/* 改进的CRT扫描线效果 */
.hovers-fade.active {
.main-page-banner .welcome-text::after {
  opacity: 0.5;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 3;
}
}
 
.hovers-fade-shallow:hover,
/* 添加轻微的随机故障闪烁效果 */
.hovers-fade-shallow.active {
.main-page-banner .welcome-text p {
  opacity: 0.75;
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
}


/* 导航按钮美化 */
/* 浅 => 正常 */
.main-page-banner .navigation-links {
.hovers-bloom-deep {
    display: grid;
  opacity: 0.35;
    grid-template-columns: 1fr 1fr 1fr;
}
    grid-column-gap: 3%;
.hovers-bloom {
    grid-area: discord / discord / join / join;
  opacity: 0.5;
    width: 100%;
}
    padding: 1rem;
.hovers-bloom-shallow {
    background-color: rgb(var(--black-monochrome));
  opacity: 0.75;
}
}


.main-page-banner .nav-button {
.hovers-bloom-deep:hover,
    background-color: rgb(var(--gray-monochrome));
.hovers-bloom-deep.active,
    border: 2px solid rgb(var(--bright-accent));
.hovers-bloom:hover,
    border-radius: 0 0 1rem 1rem;
.hovers-bloom.active,
    margin: 0 0 4rem 0;
.hovers-bloom-shallow:hover,
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
.hovers-bloom-shallow.active {
    height: min-content;
  opacity: 1;
    position: relative;
    overflow: hidden;
}
}


/* 按钮光效 */
/* 正常 => 大 */
.main-page-banner .nav-button::before {
.hovers-grow-deep,
    content: "";
.hovers-grow,
    position: absolute;
.hovers-grow-shallow {
    top: 0;
  transform: scale(1);
    left: -100%;
}
    width: 100%;
.hovers-grow-deep:hover,
    height: 100%;
.hovers-grow-deep.active {
    background: linear-gradient(
  transform: scale(1.5);
        90deg,
        transparent,
        rgba(var(--bright-accent), 0.2),
        transparent
    );
    transition: left 0.5s;
}
}
 
.hovers-grow:hover,
.main-page-banner .nav-button:hover::before {
.hovers-grow.active {
    left: 100%;
  transform: scale(1.25);
}
}
 
.hovers-grow-shallow:hover,
.main-page-banner .nav-button:hover {
.hovers-grow-shallow.active {
    transform: translateY(-5px);
  transform: scale(1.1);
    margin: 0 0 1rem 0;
    box-shadow: 0 5px 15px rgba(var(--bright-accent), 0.4);
}
}


.main-page-banner .nav-button a {
/* 正常 => 小 */
    display: block;
.hovers-shrink-deep:hover,
    padding: 1rem 0;
.hovers-shrink-deep.active,
    width: 100%;
.hovers-shrink:hover,
    text-align: center;
.hovers-shrink.active,
    color: rgb(var(--bright-accent));
.hovers-shrink-shallow:hover,
    font-size: 1.1rem;
.hovers-shrink-shallow.active {
    font-weight: bold;
  transform: scale(1);
    text-decoration: none !important;
}
    font-family: var(--title-font);
.hovers-shrink-deep {
    position: relative;
  transform: scale(0.5);
    z-index: 1;
}
    transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
.hovers-shrink {
  transform: scale(0.75);
}
}
 
.hovers-shrink-shallow {
.main-page-banner .nav-button:hover a {
  transform: scale(0.9);
    padding: 2rem 0;
    color: rgb(var(--bright-accent));
}
}


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


/* 响应式布局 */
   50% {
@media (max-width: 767px) {
     transform: translateX(0.0625em);
   .main-page-banner {
     grid-template-areas:  
      "welcome"
      "navigation";
    grid-template-columns: 1fr;
   }
   }
 
 
   .main-page-banner .welcome-text {
   75% {
     width: 100%;
     transform: translateX(-0.0625em);
    margin-bottom: 0;
    box-sizing: border-box;
   }
   }
 
}
  .main-page-banner .navigation-links {
 
    grid-area: navigation;
.hovers-shake-flexible:hover,
    display: flex;
.hovers-shake-flexible.active {
    width: 100%;
  animation: shake-flexible 0.5s ease-out;
     overflow: visible;
}
 
@keyframes shake {
  25% {
     transform: translateX(-8px);
   }
   }
 
 
   .main-page-banner .nav-button {
   50% {
     flex: 1;
     transform: translateX(8px);
    margin: 0 0 4rem 0;
   }
   }
 
 
   .main-page-banner .nav-button:not(:last-child) {
   75% {
    margin-right: 3%;
     transform: translateX(-8px);
  }
 
  .main-page-banner .nav-button a {
     font-size: 1.1rem;
  }
 
  .main-page-banner .nav-button:hover {
    margin: 0 0 1rem 0;
   }
   }
}
/* 公告容器 */
.announcement-container {
    background-color: rgb(var(--black-monochrome));
    border: 2px solid rgb(var(--bright-accent));
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.2);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
}


.announcement-container .section-title {
.hovers-shake:hover,
    background-color: rgb(var(--bright-accent));
.hovers-shake.active {
    color: rgb(var(--black-monochrome));
  animation: shake 0.5s ease-out;
    padding: 0.75rem;
    font-family: var(--title-font);
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    border-left: none;
}
}


.announcement-container .announcement-content {
/* 上下抖动 */
    background-color: rgb(var(--gray-monochrome));
@keyframes bounce-flexible {
     color: rgb(var(--white-monochrome));
  25% {
    padding: 1rem;
     transform: translateY(-0.0625em);
    font-family: var(--body-font);
  }
    width: 100%;
}


.announcement-container .more-content {
  50% {
     width: 100%;
     transform: translateY(0.0625em);
    border-top: 2px solid rgb(var(--bright-accent));
  }
}


.announcement-content span {
  75% {
     display: inline-block;
     transform: translateY(-0.0625em);
    white-space: nowrap;
  }
    animation: marquee 15s linear infinite;
}
}


@keyframes marquee {
.hovers-bounce-flexible:hover,
    0% { transform: translate(100%, 0); }
.hovers-bounce-flexible.active {
    100% { transform: translate(-100%, 0); }
  animation: bounce-flexible 0.5s ease-out;
}
}


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


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


/* Recent pages styles */
  75% {
.main-page-content {
    transform: translateY(-8px);
  display: flex;
   }
  flex-wrap: wrap;
  justify-content: space-between;
   margin-bottom: 2rem;
}
}


.recent-pages-container {
.hovers-bounce:hover,
   display: flex;
.hovers-bounce.active {
   flex-wrap: wrap;
   position: relative;
   justify-content: space-between;
   left: 0;
  width: 100%;
   animation: bounce 0.5s ease-out;
  margin-bottom: 1rem;
}
}


.recent-pages-container .page-section {
/* 绕顶端中点抖动 */
   flex-basis: 48%;
@keyframes swing {
  display: grid;
   20% {
  grid-template-areas: "title" "page" "more";
    transform: rotate3d(0, 0, 1, 10deg);
  grid-template-rows: auto 1fr auto;
   }
   border: 1px solid #f0f0f0;
}


.recent-pages-container .section-title {
  40% {
  grid-area: title;
    transform: rotate3d(0, 0, 1, -10deg);
}
  }


.recent-pages-container .page-list {
  60% {
  grid-area: page;
    transform: rotate3d(0, 0, 1, 5deg);
  border: solid #f0f0f0;
   }
  border-width: 0 1px;
  padding: 0.5rem 1rem;
  background-color: #fafafa;
  max-height: 15rem;
   overflow-y: auto;
}


.recent-pages-container .page-list a {
  80% {
  display: block;
    transform: rotate3d(0, 0, 1, -5deg);
  padding: 0.3rem 0;
   }
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
   overflow: hidden;
  text-overflow: ellipsis;
}


.recent-pages-container .page-list a:last-child {
  to {
  border-bottom: none;
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
}


.recent-pages-container .see-more {
.hovers-swing {
   grid-area: more;
   transform-origin: top center;
}
}
 
.hovers-swing:hover,
/* Featured content styles */
.hovers-swing.active {
.featured-content-container {
   animation: swing 0.75s ease-out;
  display: flex;
  flex-wrap: wrap;
   justify-content: space-between;
  width: 100%;
}
}


.featured-content-container .feature-item {
/* 正常 => 大 */
   flex-basis: 48%;
@keyframes pulse-grow {
  display: grid;
   to {
  grid-template-areas: "title" "content" "more";
    transform: scale(1.1);
  grid-template-rows: auto 1fr auto;
   }
   border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}
}


.featured-content-container .section-title {
.hovers-pulse-grow:hover,
   grid-area: title;
.hovers-pulse-grow.active {
   animation: pulse-grow 0.5s linear infinite alternate;
}
}


.featured-content-container .feature-content {
/* 正常 => 小 */
   grid-area: content;
@keyframes pulse-shrink {
  border: solid #f0f0f0;
   to {
  border-width: 0 1px;
    transform: scale(0.9);
   padding: 1rem;
   }
  background-color: #fafafa;
}
}


.featured-content-container .feature-content .featured-title {
.hovers-pulse-shrink:hover,
   font-size: 1.2rem;
.hovers-pulse-shrink.active {
  font-weight: bold;
   animation: pulse-shrink 0.5s linear infinite alternate;
  margin-bottom: 0.5rem;
}
}


.featured-content-container .feature-content .featured-author {
/* 正常 => 小 */
   font-size: 0.9rem;
@keyframes push {
  color: #666;
   50% {
   margin-bottom: 0.5rem;
    transform: scale(0.8);
   }
}
}


.featured-content-container .feature-content .featured-description {
.hovers-push:hover,
   font-style: italic;
.hovers-push.active {
  color: #444;
   animation: push 0.3s linear;
}
}


.featured-content-container .see-more {
/* 正常 => 大 */
   grid-area: more;
@keyframes pop {
   50% {
    transform: scale(1.2);
  }
}
}


/* Tools and resources styles */
.hovers-pop:hover,
.tools-and-resources {
.hovers-pop.active {
   margin-bottom: 2rem;
   animation: pop 0.3s linear;
}
}


.tools-container {
/* 正常 => 大 => 正常 => 大 */
   display: grid;
.hovers-bounce-in:hover,
   grid-template-columns: 1fr 1fr;
.hovers-bounce-in.active {
   grid-gap: 1rem;
   transform: scale(1.2);
   transition-duration: 0.5s;
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
}


.tools-container .tool-item {
/* 正常 => 小 => 正常 => 小 */
   background: #f5f5f5;
.hovers-bounce-out:hover,
   color: #333;
.hovers-bounce-out.active {
  padding: 1rem;
   transform: scale(0.8);
  display: grid;
   transition-duration: 0.5s;
  grid-template-areas:
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    "icon content"
    "title content";
   grid-template-columns: max-content 1fr;
  grid-template-rows: 0.6fr 0.4fr;
  grid-gap: 0.5rem 1rem;
  border-left: 4px solid #3366cc;
}
}


.tools-container .tool-item .tool-icon {
/* 倾斜 */
   grid-area: icon;
.hovers-tilt:hover,
   justify-self: center;
.hovers-tilt.active {
  align-self: end;
   transition-duration: 0.3s;
   transform: rotate(4deg);
}
}


.tools-container .tool-item .tool-title {
/* 倾斜 + 放大 */
   grid-area: title;
.hovers-grow-rotate:hover,
   text-align: center;
.hovers-grow-rotate.active {
   transition-duration: 0.3s;
   transform: scale(1.1) rotate(4deg);
}
}


.tools-container .tool-item .tool-title a {
/* 升起 */
   color: #3366cc;
.hovers-float:hover,
   font-weight: bold;
.hovers-float.active {
   transition-duration: 0.3s;
   transition-timing-function: ease-out;
  transform: translateY(-8px);
}
}


.tools-container .tool-item .tool-description {
/* 下沉 */
   grid-area: content;
.hovers-sink:hover,
   align-self: center;
.hovers-sink.active {
   transition-duration: 0.3s;
   transition-timing-function: ease-out;
  transform: translateY(8px);
}
}


/* News styles */
/* 飘浮 */
.news-container {
@keyframes bob {
   display: flex;
   0% {
   flex-wrap: wrap;
    transform: translateY(-10px);
   border: 2px solid #f0f0f0;
   }
   align-content: space-between;
  50% {
    transform: translateY(-5px);
   }
   100% {
    transform: translateY(-10px);
  }
}
}
 
@keyframes bob-float {
.news-container .section-title {
   100% {
   width: 100%;
    transform: translateY(-10px);
  text-align: center;
   }
  font-size: 1.5rem;
   border-left: none;
  border-bottom: 2px solid #f0f0f0;
}
}


.news-container .news-content {
.hovers-bob:hover,
   background-color: #fafafa;
.hovers-bob.active {
   width: 100%;
   animation-name: bob-float, bob;
   padding: 0.75rem;
   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;
}
}


.news-container .news-content .news-item {
/* 悬挂 */
   border-bottom: 1px solid #f0f0f0;
@keyframes hang {
   padding: 0.5rem 0;
  0% {
    transform: translateY(10px);
  }
   50% {
    transform: translateY(5px);
   }
  100% {
    transform: translateY(10px);
  }
}
}
 
@keyframes hang-sink {
.news-container .news-content .news-item:last-child {
   100% {
   border-bottom: none;
    transform: translateY(10px);
  }
}
}


.news-container .news-content .news-title {
.hovers-hang:hover,
   font-weight: bold;
.hovers-hang.active {
   margin-bottom: 0.3rem;
   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;
}
}


.news-container .news-content .news-date {
/* 非对称 */
   font-size: 0.8rem;
.hovers-skew:hover,
  color: #666;
.hovers-skew.active {
  margin-bottom: 0.3rem;
   transform: skew(-10deg);
}
}


.news-container .news-archive {
/* 非对称-左 */
   background: #f0f0f0;
.hovers-skew-forward {
  text-align: right;
   transform-origin: 0 100%;
  width: 100%;
  padding: 0.3rem 1rem;
}
}
 
.hovers-skew-forward:hover,
.news-container .news-archive a {
.hovers-skew-forward.active {
   color: #3366cc;
   transform: skew(-10deg);
}
}


/* Carousel styles */
/* 非对称-右 */
/* Import styles from main.scss file */
.hovers-skew-backward {
.carousel-container {
   transform-origin: 0 100%;
   position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
}
 
.hovers-skew-backward:hover,
.carousel-container .rolling {
.hovers-skew-backward.active {
   display: flex;
   transform: skew(10deg);
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
}


/* Add more carousel styles converted from SCSS */
/* 垂直抖动 */
/* These would need to be adapted from the complex SCSS you provided */
@keyframes wobble-vertical {
 
   16.65% {
/* Responsive styles */
     transform: translateY(8px);
@media (max-width: 767px) {
   .announcement-container .section-title {
     font-size: 1.2rem;
   }
   }
    
   33.3% {
  .recent-pages-container .page-section,
     transform: translateY(-6px);
  .featured-content-container .feature-item {
     flex-basis: 100%;
    margin-bottom: 1.5rem;
   }
   }
    
   49.95% {
   .tools-container {
    transform: translateY(4px);
     grid-template-columns: 1fr;
   }
  66.6% {
    transform: translateY(-2px);
  }
  83.25% {
     transform: translateY(1px);
  }
  100% {
    transform: translateY(0);
   }
   }
}
/* 信息框迁移 - 使用darkblock样式 */
.infobox,
.notaninfobox {
    background-color: rgb(var(--gray-monochrome)) !important;
    color: rgb(var(--white-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25) !important;
    padding: 0.5em !important;
    font-family: var(--body-font) !important;
}
}


.infobox th,
.hovers-wobble-vertical:hover,
.notaninfobox .infobox-title {
.hovers-wobble-vertical.active {
    background-color: rgb(var(--bright-accent)) !important;
  animation-name: wobble-vertical;
    color: rgb(var(--black-monochrome)) !important;
  animation-duration: 1s;
    padding: 0.25em 0.5em !important;
  animation-timing-function: ease-in-out;
    text-align: center !important;
  animation-iteration-count: 1;
    font-weight: bold !important;
}
}


.infobox td {
/* 水平抖动 */
     border-bottom: 1px solid rgb(var(--bright-accent)) !important;
@keyframes wobble-horizontal {
     padding: 0.25em 0.5em !important;
  16.65% {
}
     transform: translateX(8px);
 
  }
/* 导航框(查论编)样式迁移 */
  33.3% {
.navbox {
     transform: translateX(-6px);
     background-color: rgb(var(--black-monochrome)) !important;
  }
     border: 2px solid rgb(var(--bright-accent)) !important;
  49.95% {
     font-family: var(--body-font) !important;
     transform: translateX(4px);
     margin: 1em 0 !important;
  }
  66.6% {
     transform: translateX(-2px);
  }
  83.25% {
     transform: translateX(1px);
  }
  100% {
     transform: translateX(0);
  }
}
}
 
.hovers-wobble-horizontal:hover,
.navbox-title,
.hovers-wobble-horizontal.active {
.navbox th {
  animation-name: wobble-horizontal;
    background-color: rgb(var(--bright-accent)) !important;
  animation-duration: 1s;
    color: rgb(var(--black-monochrome)) !important;
  animation-timing-function: ease-in-out;
    padding: 0.25em 1em !important;
  animation-iteration-count: 1;
    text-align: center !important;
}
}


.navbox-group {
/* 右下弹回 */
     background-color: rgb(var(--gray-monochrome)) !important;
@keyframes wobble-to-bottom-right {
     color: rgb(var(--bright-accent)) !important;
  16.65% {
     font-weight: bold !important;
     transform: translate(8px, 8px);
     padding: 0.25em 0.5em !important;
  }
    border-right: 2px solid rgb(var(--bright-accent)) !important;
  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);
  }
}
}


.navbox-list {
.hovers-wobble-to-bottom-right:hover,
    background-color: rgb(var(--black-monochrome)) !important;
.hovers-wobble-to-bottom-right.active {
    color: rgb(var(--white-monochrome)) !important;
  animation-name: wobble-to-bottom-right;
    padding: 0.25em 0.5em !important;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


.navbox-even {
/* 右上弹回 */
     background-color: rgba(var(--gray-monochrome), 0.1) !important;
@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);
  }
}
}


.navbox a {
.hovers-wobble-to-top-right:hover,
    color: rgb(var(--bright-accent)) !important;
.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;
}
}


.navbox a:hover {
/* 果冻 */
     color: rgb(var(--white-monochrome)) !important;
@keyframes wobble-top {
}
  16.65% {
 
     transform: skew(-12deg);
/* 保留原始welcome-text布局,只修改故障效果 */
  }
.main-page-banner .welcome-text {
  33.3% {
     grid-area: welcome;
     transform: skew(10deg);
    background-color: rgb(var(--gray-monochrome));
  }
     color: rgb(var(--white-monochrome));
  49.95% {
    padding: 2rem;
     transform: skew(-6deg);
    margin: 0;
  }
     width: 100%;
  66.6% {
    position: relative;
     transform: skew(4deg);
    overflow: hidden;
  }
     border-bottom: 2px solid rgb(var(--bright-accent));
  83.25% {
     border-radius: 0;
     transform: skew(-2deg);
  }
  100% {
     transform: skew(0);
  }
}
}


/* 保留背景图片支持,但改进效果 */
/* 赘肉 */
.main-page-banner .welcome-text::before {
.hovers-wobble-top {
    content: "";
  transform-origin: 0 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('你的背景图片URL'); /* 保留你的图片URL */
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* 轻微降低以提高对比度 */
    z-index: 1;
    filter: brightness(0.8) contrast(1.2); /* 增加一点老式CRT的感觉 */
}
}
 
.hovers-wobble-top:hover,
/* 改进的CRT故障线效果 - 更微妙更真实 */
.hovers-wobble-top.active {
.main-page-banner .welcome-text::after {
  animation-name: wobble-top;
    content: "";
  animation-duration: 1s;
    position: absolute;
  animation-timing-function: ease-in-out;
    top: 0;
  animation-iteration-count: 1;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.07),
        rgba(0, 0, 0, 0.07) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 3;
    /* 更微妙的动画,不那么突兀 */
    animation: subtleGlitch 12s infinite linear;
}
}


/* 更精细的水平扫描线 */
@keyframes wobble-bottom {
.main-page-banner .welcome-text .scan-line {
  16.65% {
     position: absolute;
     transform: skew(-12deg);
    width: 100%;
  }
     height: 3px;
  33.3% {
    background: linear-gradient(
     transform: skew(10deg);
        to right,
  }
        transparent 0%,
  49.95% {
        rgba(229, 140, 36, 0.08) 30%,
    transform: skew(-6deg);
        rgba(229, 140, 36, 0.15) 50%,
  }
        rgba(229, 140, 36, 0.08) 70%,
  66.6% {
        transparent 100%
     transform: skew(4deg);
     );
  }
    z-index: 4;
  83.25% {
     animation: horizScanLine 7s linear infinite;
     transform: skew(-2deg);
    opacity: 0.3;
  }
    pointer-events: none;
  100% {
     box-shadow: 0 0 5px rgba(229, 140, 36, 0.1);
     transform: skew(0);
  }
}
}


/* 更自然的文字故障效果 */
.hovers-wobble-bottom {
.main-page-banner .welcome-text p {
  transform-origin: 100% 0;
    position: relative;
}
    z-index: 2;
.hovers-wobble-bottom:hover,
    margin: 0;
.hovers-wobble-bottom.active {
    font-size: 1.1em;
  animation-name: wobble-bottom;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation-duration: 1s;
    animation: subtleTextGlitch 15s infinite;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


/* 更微妙的屏幕故障动画 */
/* 颤动 */
@keyframes subtleGlitch {
@keyframes wobble-skew {
    0%, 100% {  
  16.65% {
        transform: translateX(0);
     transform: skew(-12deg);
        opacity: 1;
  }
    }
  33.3% {
     7% {
     transform: skew(10deg);
        transform: translateX(1px);
  }
        opacity: 0.9;
  49.95% {
    }
    transform: skew(-6deg);
    7.1% {  
  }
        transform: translateX(0);
  66.6% {
        opacity: 1;
     transform: skew(4deg);
    }
  }
     30% {
  83.25% {
        transform: translateX(0);
    transform: skew(-2deg);
        opacity: 1;
  }
    }
  100% {
    30.1% {
    transform: skew(0);
        transform: translateX(-1px);
  }
        opacity: 0.95;
    }
    30.2% {
        transform: translateX(0);
        opacity: 1;
    }
     80% {
        transform: translateX(0);
        opacity: 1;
    }
    80.1% {
        transform: translateX(2px);
        opacity: 0.9;
    }
    80.2% {
        transform: translateX(0);
        opacity: 1;
    }
}
}
 
.hovers-wobble-skew:hover,
/* 水平扫描线动画 */
.hovers-wobble-skew.active {
@keyframes horizScanLine {
  animation-name: wobble-skew;
    0% { top: -10px; }
  animation-duration: 1s;
    100% { top: 100%; }
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
}


/* 更微妙的文字故障效果 */
/* 振动 */
@keyframes subtleTextGlitch {
@keyframes buzz {
    0%, 100% {
  50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
     transform: translateX(3px) rotate(2deg);
    }
  }
     2% {
  100% {
        text-shadow: -1px 0 rgba(229, 140, 36, 0.7), 2px 2px 4px rgba(0, 0, 0, 0.8);
     transform: translateX(-3px) rotate(-2deg);
    }
  }
    2.1% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    33% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    33.1% {
        text-shadow: 1px 0 rgba(229, 140, 36, 0.7), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    33.2% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
     73% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    73.1% {
        text-shadow: -1px 0 rgba(229, 140, 36, 0.7), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    73.2% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}
}


/* 导航按钮美化 */
.hovers-buzz:hover,
.main-page-banner .navigation-links {
.hovers-buzz.active {
    display: grid;
  animation-name: buzz;
    grid-template-columns: 1fr 1fr 1fr;
  animation-duration: 0.15s;
    grid-column-gap: 3%;
  animation-timing-function: linear;
    grid-area: discord / discord / join / join;
  animation-iteration-count: infinite;
    width: 100%;
    padding: 1rem;
    background-color: rgb(var(--black-monochrome));
}
}


.main-page-banner .nav-button {
/* 振出 */
     background-color: rgb(var(--gray-monochrome));
@keyframes buzz-out {
     border: 2px solid rgb(var(--bright-accent));
  10% {
     border-radius: 0;
     transform: translateX(3px) rotate(2deg);
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
     height: min-content;
  20% {
     position: relative;
    transform: translateX(-3px) rotate(-2deg);
     overflow: hidden;
  }
  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);
  }
}
}


.main-page-banner .nav-button::before {
.hovers-buzz-out:hover,
    content: "";
.hovers-buzz-out.active {
    position: absolute;
  animation-name: buzz-out;
    top: 0;
  animation-duration: 0.75s;
    left: -100%;
  animation-timing-function: linear;
    width: 100%;
  animation-iteration-count: 1;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--bright-accent), 0.2),
        transparent
    );
    transition: left 0.5s;
}
}


.main-page-banner .nav-button:hover::before {
/* 右移 */
    left: 100%;
.hovers-forward:hover,
.hovers-forward.active {
  transform: translateX(8px);
}
}


.main-page-banner .nav-button:hover {
/* 左移 */
    transform: translateY(-5px);
.hovers-backward:hover,
    box-shadow: 0 5px 15px rgba(var(--bright-accent), 0.4);
.hovers-backward.active {
    background-color: rgb(var(--bright-accent));
  transform: translateX(-8px);
}
}


.main-page-banner .nav-button a {
/* 自由移动 */
    display: block;
.hovers-top,
    padding: 1rem;
.hovers-left,
    width: 100%;
.hovers-bottom,
    text-align: center;
.hovers-right {
    color: rgb(var(--bright-accent));
  transition: all 0.5s;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none !important;
    font-family: var(--title-font);
    position: relative;
    z-index: 1;
}
}


.main-page-banner .nav-button:hover a {
.hovers-top:hover,
    color: rgb(var(--black-monochrome));
.hovers-top.active {
  transform: translateY(-0.0625em);
}
}


/* 四个主类样式迁移 */
.hovers-left:hover,
/* 公告容器 */
.hovers-left.active {
.announcement-container {
  transform: translateX(-0.0625em);
    background-color: rgb(var(--black-monochrome));
    border: 2px solid rgb(var(--bright-accent));
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.2);
    margin-bottom: 2rem;
}
}


.announcement-container .section-title {
.hovers-bottom:hover,
    background-color: rgb(var(--bright-accent));
.hovers-bottom.active {
    color: rgb(var(--black-monochrome));
  transform: translateY(0.0625em);
    padding: 0.75rem;
    font-family: var(--title-font);
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 2px solid rgb(var(--bright-accent));
}
}


.announcement-container .announcement-content {
.hovers-right:hover,
    background-color: rgb(var(--gray-monochrome));
.hovers-right.active {
    color: rgb(var(--white-monochrome));
  transform: translateX(0.0625em);
    padding: 1rem;
    font-family: var(--body-font);
}
}


/* 近期页面容器 */
/* 滤镜 */
.recent-pages-container {
.hovers-blur,
    display: flex;
.hovers-blur-reverse,
    flex-wrap: wrap;
.hovers-brightness,
    justify-content: space-between;
.hovers-brightness-reverse,
    width: 100%;
.hovers-contrast,
    margin-bottom: 1rem;
.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;
}
}


.recent-pages-container .page-section {
.hovers-blur:hover,
    flex-basis: 48%;
.hovers-blur.active,
    background-color: rgb(var(--black-monochrome));
.hovers-brightness:hover,
    border: 2px solid rgb(var(--bright-accent));
.hovers-brightness.active,
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.2);
.hovers-contrast:hover,
    margin-bottom: 1rem;
.hovers-contrast.active,
}
.hovers-grayscale:hover,
 
.hovers-grayscale.active,
.recent-pages-container .section-title {
.hovers-invert:hover,
    background-color: rgb(var(--bright-accent));
.hovers-invert.active,
    color: rgb(var(--black-monochrome));
.hovers-saturate:hover,
    padding: 0.5rem 1rem;
.hovers-saturate.active,
    font-family: var(--title-font);
.hovers-sepia:hover,
    font-weight: bold;
.hovers-sepia.active,
    border-left: none;
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
  filter: initial;
}
}


.recent-pages-container .page-list {
.hovers-blur {
    background-color: rgb(var(--gray-monochrome));
  filter: blur(5px);
    padding: 0.5rem 1rem;
    max-height: 15rem;
    overflow-y: auto;
}
}


.recent-pages-container .page-list a {
.hovers-blur-reverse:hover,
    color: rgb(var(--bright-accent));
.hovers-blur-reverse.active {
    display: block;
  filter: blur(5px);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(var(--bright-accent), 0.2);
    font-family: var(--body-font);
    transition: all 0.2s ease;
}
}


.recent-pages-container .page-list a:hover {
.hovers-brightness {
    color: rgb(var(--white-monochrome));
  filter: brightness(50%);
    padding-left: 0.5rem;
}
}


.recent-pages-container .see-more {
.hovers-brightness-reverse:hover,
    background-color: rgb(var(--black-monochrome));
.hovers-brightness-reverse.active {
    border-top: 1px solid rgb(var(--bright-accent));
  filter: brightness(50%);
    padding: 0.3rem 1rem;
    text-align: right;
}
}


.recent-pages-container .see-more a {
.hovers-contrast {
    color: rgb(var(--bright-accent));
  filter: contrast(50%);
    font-family: var(--body-font);
}
}


/* 特色内容容器 */
.hovers-contrast-reverse:hover,
.featured-content-container {
.hovers-contrast-reverse.active {
    display: flex;
  filter: contrast(50%);
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
}


.featured-content-container .feature-item {
.hovers-grayscale {
    flex-basis: 48%;
  filter: grayscale(100%);
    background-color: rgb(var(--black-monochrome));
    border: 2px solid rgb(var(--bright-accent));
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.2);
    margin-bottom: 1rem;
}
}


.featured-content-container .section-title {
.hovers-grayscale-reverse:hover,
    background-color: rgb(var(--bright-accent));
.hovers-grayscale-reverse.active {
    color: rgb(var(--black-monochrome));
  filter: grayscale(100%);
    padding: 0.5rem 1rem;
    font-family: var(--title-font);
    font-weight: bold;
    border-left: none;
}
}


.featured-content-container .feature-content {
.hovers-invert {
    background-color: rgb(var(--gray-monochrome));
  filter: invert(100%);
    color: rgb(var(--white-monochrome));
    padding: 1rem;
    font-family: var(--body-font);
}
}


.featured-content-container .feature-content .featured-title {
.hovers-invert-reverse:hover,
    color: rgb(var(--bright-accent));
.hovers-invert-reverse.active {
    font-size: 1.2rem;
  filter: invert(100%);
    font-weight: bold;
}
    margin-bottom: 0.5rem;
 
    font-family: var(--title-font);
.hovers-saturate {
  filter: saturate(200%);
}
}


/* 工具和资源容器 */
.hovers-saturate-reverse:hover,
.tools-and-resources {
.hovers-saturate-reverse.active {
    margin-bottom: 2rem;
  filter: saturate(200%);
}
}


.tools-container {
.hovers-sepia {
    display: grid;
  filter: sepia(100%);
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}
}


.tools-container .tool-item {
.hovers-sepia-reverse:hover,
    background-color: rgb(var(--gray-monochrome));
.hovers-sepia-reverse.acitve {
    color: rgb(var(--white-monochrome));
  filter: sepia(100%);
    padding: 1rem;
    border-left: 4px solid rgb(var(--bright-accent));
    border-right: 1px solid rgb(var(--bright-accent));
    border-top: 1px solid rgb(var(--bright-accent));
    border-bottom: 1px solid rgb(var(--bright-accent));
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.2);
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: 0.6fr 0.4fr;
    grid-gap: 0.5rem 1rem;
}
}


.tools-container .tool-item:hover {
.hovers-hue-rotate {
    transform: translateY(-5px);
  filter: hue-rotate(180deg);
    box-shadow: 0 5px 15px rgba(var(--bright-accent), 0.4);
}
}


.tools-container .tool-item .tool-title a {
.hovers-hue-rotate-reverse:hover,
    color: rgb(var(--bright-accent));
.hovers-hue-rotate-reverse.active {
    font-weight: bold;
  filter: hue-rotate(180deg);
    font-family: var(--title-font);
}
}


.tools-container .tool-item .tool-title a:hover {
/* 背景滑动 */
    color: rgb(var(--white-monochrome));
.hovers-sweep-to-right,
}
.hovers-sweep-to-left,
/* 目录框样式 */
.hovers-sweep-to-bottom,
#toc, .toc {
.hovers-sweep-to-top,
    background-color: rgb(var(--gray-monochrome)) !important;
.hovers-radial-out,
    border: 2px solid rgb(var(--bright-accent)) !important;
.hovers-radial-in {
    padding: 0.5em !important;
  position: relative;
    font-family: var(--body-font) !important;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  overflow: hidden;
}
}


.toc .toctitle, #toc .toctitle {
.hovers-sweep-to-right:before,
    background-color: rgb(var(--bright-accent)) !important;
.hovers-sweep-to-left:before,
    color: rgb(var(--black-monochrome)) !important;
.hovers-sweep-to-bottom:before,
    text-align: center !important;
.hovers-sweep-to-top:before,
    padding: 0.25em !important;
.hovers-radial-out:before,
    margin: -0.5em -0.5em 0.5em -0.5em !important;
.hovers-radial-in:before {
    font-weight: bold !important;
  content: '';
}
  position: absolute;
 
  z-index: 10;
.toc ul, #toc ul {
  top: 0;
    margin: 0 !important;
  left: 0;
    padding: 0 0 0 1.5em !important;
  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,
.toc a, #toc a {
.hovers-radial-in:before {
    color: rgb(var(--bright-accent)) !important;
  border-radius: 50%;
    text-decoration: none !important;
  transform: scale(0);
}
}
 
.hovers-radial-in:before {
.toc a:hover, #toc a:hover {
  transform: scale(2);
    color: rgb(var(--white-monochrome)) !important;
    text-decoration: underline !important;
}
}


.tocnumber {
.hovers-sweep-to-right:before {
    color: rgb(var(--pale-accent)) !important;
  transform-origin: 0 50%;
}
}
/* 搜索框右侧按钮 - 更具体的选择器 */
.hovers-sweep-to-left:before {
#searchButton,
  transform-origin: 100% 50%;
#mw-searchButton,
.searchButton,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    padding: 0.3em 0.6em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
}
 
.hovers-sweep-to-bottom:before {
#searchButton:hover,
  transform-origin: 50% 0;
#mw-searchButton:hover,
.searchButton:hover,
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.3) !important;
}
}
 
.hovers-sweep-to-top:before {
/* 变色龙皮肤特定搜索按钮 */
  transform-origin: 50% 100%;
.chameleon-search-form .btn {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
}
}
 
.hovers-radial-out:hover:before,
.chameleon-search-form .btn:hover {
.hovers-radial-out.active:before {
    background-color: rgb(var(--bright-accent)) !important;
  transform: scale(2);
    color: rgb(var(--black-monochrome)) !important;
}
}
/* 底部工具栏完整样式 */
.hovers-radial-in:hover:before,
#footer,
.hovers-radial-in.active:before {
.footer,
  transform: scale(0);
#footer-places,
#footer-info,
#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-privacy,
#footer-places-about,
#footer-places-disclaimer,
#footer-icons,
.footer-info,
.footer-places,
.footer-icons,
.printfooter,
.mw-footer,
.mw-footer li {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    border: none !important;
}
}


/* 页脚主容器 */
.hovers-sweep-to-right .hovers-content.center,
.mw-footer,
.hovers-sweep-to-left .hovers-content.center,
#footer,
.hovers-sweep-to-bottom .hovers-content.center,
.footer {
.hovers-sweep-to-top .hovers-content.center,
    background-color: rgb(var(--black-monochrome)) !important;
.hovers-radial-out .hovers-content.center,
    border-top: 2px solid rgb(var(--bright-accent)) !important;
.hovers-radial-in .hovers-content.center {
    margin-top: 1em !important;
  display: flex;
    padding: 1em 0 !important;
  align-items: center;
  justify-content: center;
  word-break: break-all;
}
}


/* 页脚链接 */
.hovers-sweep-to-right:hover:before,
#footer a,
.hovers-sweep-to-left:hover:before,
.footer a,
.hovers-sweep-to-bottom:hover:before,
.mw-footer a {
.hovers-sweep-to-top:hover:before,
    color: rgb(var(--bright-accent)) !important;
.hovers-sweep-to-right.active:before,
    text-decoration: none !important;
.hovers-sweep-to-left:hover:before,
.hovers-sweep-to-bottom:hover:before,
.hovers-sweep-to-top:hover:before {
  transform: scaleX(1);
}
}


#footer a:hover,
.hovers-sweep-to-right .hovers-content,
.footer a:hover,
.hovers-sweep-to-left .hovers-content,
.mw-footer a:hover {
.hovers-sweep-to-bottom .hovers-content,
    color: rgb(var(--white-monochrome)) !important;
.hovers-sweep-to-top .hovers-content,
    text-decoration: underline !important;
.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 {
#footer li,
  left: initial;
.footer li,
  right: 100%;
.mw-footer li {
}
    color: rgb(var(--bright-accent)) !important;
.hovers-sweep-to-right:hover .hovers-content,
    margin: 0.5em 0 !important;
.hovers-sweep-to-right.active .hovers-content {
  right: 0;
}
}


/* 底部工具栏按钮区域 */
.hovers-sweep-to-left .hovers-content {
#footer-poweredbyico,
  left: 100%;
#footer-copyrightico,
}
.footer-icons {
.hovers-sweep-to-left:hover .hovers-content,
    background-color: transparent !important;
.hovers-sweep-to-left.active .hovers-content {
  left: 0;
}
}


/* 变色龙皮肤特定的页脚 */
.hovers-sweep-to-bottom .hovers-content {
.p-tb,
  top: initial;
#p-tb,
  bottom: 100%;
.tools-menu,
#t-whatlinkshere,
#t-recentchangeslinked,
#t-specialpages,
#t-print,
#t-permalink,
#t-info {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
}
}
 
.hovers-sweep-to-bottom:hover .hovers-content,
/* 页脚的具体区域 */
.hovers-sweep-to-bottom.active .hovers-content {
.mw-footer-container {
  bottom: 0;
    background-color: rgb(var(--black-monochrome)) !important;
}
}


/* 底部导航区域 */
.hovers-sweep-to-top .hovers-content {
#footer-navigation {
  top: 100%;
    background-color: rgb(var(--black-monochrome)) !important;
    border-top: 1px solid rgb(var(--bright-accent)) !important;
}
}
/* 变色龙皮肤特定修复 */
.hovers-sweep-to-top:hover .hovers-content,
.chameleon-toc {
.hovers-sweep-to-top.active .hovers-content {
    background-color: rgb(var(--gray-monochrome)) !important;
  top: 0;
    border: 2px solid rgb(var(--bright-accent)) !important;
}
}


.chameleon-toc .toctitle {
.hovers-radial-out .hovers-content,
    background-color: rgb(var(--bright-accent)) !important;
.hovers-radial-in:hover .hovers-content,
    color: rgb(var(--black-monochrome)) !important;
.hovers-radial-in.active .hovers-content {
  opacity: 0;
}
}


/* 搜索按钮图标 */
.hovers-radial-in .hovers-content,
.mw-ui-icon:before,
.hovers-radial-out:hover .hovers-content,
.oo-ui-icon-search {
.hovers-radial-out.active .hovers-content {
    filter: brightness(0) saturate(100%) invert(58%) sepia(78%) saturate(481%) hue-rotate(353deg) brightness(101%) contrast(91%);
  opacity: 1;
}
/* 工具条完整修复 */
#mw-panel,
#mw-head,
#mw-head-base,
#mw-page-base,
#left-navigation,
#right-navigation,
#p-personal,
#p-search,
#p-tb,
#p-cactions,
#p-namespaces,
#p-views,
#p-variants,
#p-coll-print_export,
#p-wikibase-otherprojects,
#p-lang {
    background-color: rgb(var(--black-monochrome)) !important;
}
}


/* 工具条容器 */
/* 默认em */
.mw-portlet,
.hovers-border,
.vector-menu {
.hovers-trim,
    background-color: rgb(var(--black-monochrome)) !important;
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
  font-size: 160px;
  line-height: 16px;
}
}


/* 工具条标题 */
/* 内边框滑出 */
.mw-portlet h3,
.hovers-border,
.vector-menu h3,
.hovers-trim {
.vector-menu-heading {
  position: relative;
    background-color: rgb(var(--bright-accent)) !important;
  top: 0;
    color: rgb(var(--black-monochrome)) !important;
  left: 0;
    padding: 0.25em 0.5em !important;
  transition: all 0.3s;
    border: none !important;
}
/* Echo扩展通知图标修复 */
/* 通知图标基础样式 */
#pt-notifications-alert,
#pt-notifications-notice,
.mw-echo-notifications-badge,
.mw-echo-notification-badge-nojs {
    background-color: transparent !important;
    border: none !important;
}
}


/* 修复图标颜色和可见性 */
.hovers-border:before {
#pt-notifications-alert .mw-echo-notifications-badge:before,
  content: '';
#pt-notifications-notice .mw-echo-notifications-badge:before,
  width: 100%;
.mw-echo-notifications-badge:before {
  height: 100%;
    color: rgb(var(--bright-accent)) !important;
  position: absolute;
    filter: none !important;
  top: 0;
    opacity: 1 !important;
  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,
.mw-echo-notifications-badge:after,
.hovers-border.active:before {
.mw-echo-notification-badge-nojs:after {
  opacity: 1;
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    border: 1px solid rgb(var(--black-monochrome)) !important;
    opacity: 1 !important;
}
}


/* 图标悬停效果 */
/* 带边距内边框 */
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
.hovers-trim:before {
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
  content: '';
    color: rgb(var(--white-monochrome)) !important;
  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;
}
}


/* 修复SVG图标 */
.hovers-trim:hover:before,
.mw-echo-notifications-badge svg,
.hovers-trim.active:before {
.oo-ui-icon-bell svg,
  opacity: 1;
.oo-ui-icon-tray svg {
    fill: rgb(var(--bright-accent)) !important;
    stroke: rgb(var(--bright-accent)) !important;
}
}


/* 确保图标容器可见 */
/* 边框飞出与飞入 */
#pt-notifications-alert,
.hovers-ripple-out,
#pt-notifications-notice {
.hovers-ripple-in,
    opacity: 1 !important;
.hovers-outline-out,
    visibility: visible !important;
.hovers-outline-in,
    display: inline-block !important;
.hovers-reveal {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  transition: all 0.3s;
}
}


/* 通知面板样式 */
.hovers-ripple-out:before,
.mw-echo-ui-overlay,
.hovers-ripple-in:before,
.mw-echo-ui-notificationsWidget {
.hovers-outline-out:before,
    background-color: rgb(var(--black-monochrome)) !important;
.hovers-outline-in:before,
    border: 2px solid rgb(var(--bright-accent)) !important;
.hovers-reveal:before {
    color: rgb(var(--white-monochrome)) !important;
  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;
.mw-echo-ui-notificationItemWidget {
    background-color: rgb(var(--gray-monochrome)) !important;
    border-bottom: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--white-monochrome)) !important;
}
}
 
.hovers-ripple-in:before {
.mw-echo-ui-notificationItemWidget:hover {
  top: calc(-0.0625em * 1.2);
    background-color: rgba(var(--bright-accent), 0.1) !important;
  right: calc(-0.0625em * 1.2);
}
  bottom: calc(-0.0625em * 1.2);
 
  left: calc(-0.0625em * 1.2);
/* 通知标题和内容 */
  opacity: 0;
.mw-echo-ui-notificationItemWidget-content-message-header {
}
    color: rgb(var(--bright-accent)) !important;
.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 {
.mw-echo-ui-notificationItemWidget-content-message-body {
  border-width: 0;
    color: rgb(var(--white-monochrome)) !important;
  opacity: 0;
}
}


#pt-notifications-alert .oo-ui-iconElement-icon,
@keyframes ripple-out {
#pt-notifications-notice .oo-ui-iconElement-icon,
  50% {
.mw-echo-notification-badge .oo-ui-iconElement-icon {
     opacity: 1;
     background-color: transparent !important;
  }
}


/* 只修改通知图标的颜色 */
  100% {
#pt-notifications-alert .oo-ui-icon-bell,
     top: calc(-0.0625em * 1.2);
#pt-notifications-notice .oo-ui-icon-tray {
    right: calc(-0.0625em * 1.2);
     filter: invert(58%) sepia(58%) saturate(1008%) hue-rotate(351deg) brightness(97%) contrast(94%);
     bottom: calc(-0.0625em * 1.2);
}
     left: calc(-0.0625em * 1.2);
/* 强制显示通知图标 - 针对可能被隐藏的情况 */
     opacity: 0;
#p-personal .vector-menu-content-list #pt-notifications-alert,
  }
#p-personal .vector-menu-content-list #pt-notifications-notice {
     display: list-item !important;
     visibility: visible !important;
     opacity: 1 !important;
}
}
 
.hovers-ripple-out:hover:before,
/* 如果使用Font Awesome或其他图标字体 */
.hovers-ripple-out.active:before {
.mw-echo-notifications-badge:before,
  animation-name: ripple-out;
.oo-ui-icon-bell:before,
.oo-ui-icon-tray:before {
    color: rgb(var(--bright-accent)) !important;
    opacity: 1 !important;
    visibility: visible !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,
@keyframes ripple-in {
#personal-inner::before,
  50% {
#p-personal .vector-menu-content-list > li:first-child > a::before,
     opacity: 1;
.navbar-personaltools > li:first-child > a::before {
  }
     content: "";
 
    position: absolute;
  100% {
    left: 5px;
     top: 0;
    top: 50%;
     right: 0;
     transform: translateY(-50%);
     bottom: 0;
     width: 24px;
     left: 0;
     height: 24px;
     opacity: 0;
     border-radius: 50%;
  }
     background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}
}
 
.hovers-ripple-in:hover:before,
 
.hovers-ripple-in.active:before {
 
  animation-name: ripple-in;
/* 头像悬停效果 */
.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    transition: all 0.3s ease !important;
}
}


.navbar-userloggedin:hover::before,
.hovers-outline-out:hover:before,
#personal-inner:hover::before,
.hovers-outline-in:hover:before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.hovers-outline-out.active:before,
.navbar-personaltools > li:first-child > a:hover::before {
.hovers-outline-in:hover:before {
    transform: translateY(-50%) scale(1.2) !important;
  top: calc(-0.0625em * 0.8);
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
  right: calc(-0.0625em * 0.8);
    border-color: rgb(var(--white-monochrome)) !important;
  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页面]] */
/* [[Category:在模板名字空间下的CSS页面]] */
/*
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
*/
.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;
}

2025年5月9日 (五) 22:36的版本

/* 基础变量和字体设置 */
:root {
    /* 从Wikidot Database New主题迁移的变量 */
    --fade-in-delay: 0.1s;
    --theme-base: "black-highlighter";
    --theme-id: "windows-xp";
    --theme-name: "Windows XP";
    
    /* 字体设置 - 使用Database主题的字体和Windows XP字体 */
    --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; /* 从1.2rem改为14px */
    --text-shadow: 2px 2px #C9781E;
    
    /* 颜色方案 - Windows XP主题颜色 */
    --white-monochrome: 255, 255, 255;
    --pale-gray-monochrome: 240, 240, 240;
    --light-gray-monochrome: 192, 192, 192;
    --gray-monochrome: 128, 128, 128;
    --black-monochrome: 0, 0, 0;
    
    /* XP系统蓝色 */
    --xp-blue: 53, 165, 225;
    --xp-darker-blue: 0, 85, 170;
    
    /* XP系统绿色 */
    --xp-green: 48, 131, 51;
    --xp-bright-green: 76, 169, 28;
    
    /* XP系统橙色 - 保留原主题色 */
    --bright-accent: 229, 140, 36;
    --medium-accent: 180, 110, 28;
    --dark-accent: 140, 85, 22;
    --pale-accent: 229, 170, 112;
    
    /* 主题颜色 */
    --swatch-background: var(--black-monochrome);
    --swatch-primary: var(--bright-accent);
    --swatch-primary-darker: var(--medium-accent);
    --swatch-primary-darkest: var(--black-monochrome);
    --swatch-text-dark: var(--bright-accent);
    --swatch-text-light: var(--white-monochrome);
    --swatch-important-text: var(--bright-accent);
    --swatch-menubg-color: var(--black-monochrome);
    --swatch-menubg-light-color: var(--dark-gray-monochrome);
    --swatch-menubg-medium-color: var(--medium-accent);
    --swatch-menubg-medium-dark-color: var(--gray-monochrome);
    --swatch-menubg-dark-color: var(--dark-gray-monochrome);
    --swatch-menubg-black-color: var(--black-monochrome);
    --swatch-menubg-hover-color: var(--black-monochrome);
    --swatch-menutxt-dark-color: var(--white-monochrome);
    --swatch-menutxt-light-color: var(--white-monochrome);
    --swatch-border-color: var(--bright-accent);
    --swatch-headerh1-color: var(--white-monochrome);
    --swatch-headerh2-color: var(--white-monochrome);
    --swatch-topmenu-border-color: var(--bright-accent);
    --swatch-topmenu-bg-color: var(--black-monochrome);
    
    /* 链接颜色 */
    --link-color: rgb(var(--xp-blue));
    --visited-link-color: rgb(var(--xp-darker-blue));
    --hover-link-color: rgb(var(--bright-accent));
    --sidebar-links-text: var(--swatch-menutxt-dark-color);
    --link-color-bright: var(--medium-accent);
    
    /* 评分模块颜色 */
    --rating-module-button-color: var(--bright-accent);
    --rating-module-text-color: var(--white-monochrome);
    --rating-module-text-hover-color: var(--swatch-menutxt-light-color);
    
    /* XP风格窗口属性 */
    --xp-window-border: 1px solid rgb(var(--bright-accent));
    --xp-window-header: linear-gradient(to bottom, rgb(0, 132, 198), rgb(0, 102, 170));
    --xp-window-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    
    /* 其他 */
    --gradient-header: var(--xp-window-header);
    --diagonal-stripes: none;
}

/* 应用全局字体和背景 */
body {
    font-family: var(--body-font) !important;
    font-size: var(--base-font-size) !important;
    line-height: 1.5 !important;
    background-color: rgb(var(--black-monochrome));
    color: rgb(var(--swatch-text-dark));
    background-image: url("");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6, #firstHeading {
    font-family: var(--title-font);
    color: rgb(var(--swatch-headerh1-color));
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 链接样式 - 保留 > 符号 */
a {
    color: rgb(var(--xp-blue));
    text-decoration: none;
}

a:visited {
    color: rgb(var(--xp-darker-blue));
}

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

a:hover::before {
    content: "> ";
}

/* 主内容区背景 */
#content {
    background-color: rgba(var(--white-monochrome), 0.9);
    position: relative;
    border-radius: 8px;
    border: var(--xp-window-border);
    box-shadow: var(--xp-window-shadow);
    margin: 10px;
    padding: 20px;
}

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

/* 主扫描线 - 较宽较慢 - 修改为半透明灰色 */
.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;
    }
}
/* Windows XP风格窗口和控件 */

/* XP风格窗口标题栏通用样式 */
.xp-window {
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

/* XP风格窗口标题栏 */
.xp-window-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}

/* XP风格窗口标题文本 */
.xp-window-title-text {
    margin: 0;
    padding: 0;
    font-family: var(--title-font);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}

/* XP风格窗口内容 */
.xp-window-content {
    background-color: #F1F1F1;
    padding: 10px;
    color: #000000;
    font-family: var(--body-font);
}

/* XP风格窗口控制按钮容器 */
.xp-window-controls {
    display: flex;
    gap: 4px;
}

/* XP风格窗口按钮基础样式 */
.xp-window-button {
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.1s;
}

/* XP风格窗口按钮 - 悬停状态 */
.xp-window-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* XP风格窗口按钮 - 按下状态 */
.xp-window-button:active {
    background-color: rgba(0, 0, 0, 0.2);
}

/* XP风格窗口按钮图标 */
.xp-minimize::before,
.xp-maximize::before,
.xp-close::before {
    content: "";
    display: block;
    width: 11px;
    height: 2px;
    background-color: white;
}

/* XP风格最小化按钮 */
.xp-minimize::before {
    transform: translateY(5px);
}

/* XP风格最大化按钮 */
.xp-maximize::before {
    width: 9px;
    height: 9px;
    border: 1px solid white;
    background-color: transparent;
}

/* XP风格关闭按钮 */
.xp-close {
    margin-left: 2px;
}

.xp-close::before {
    content: "×";
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    width: auto;
    height: auto;
    background-color: transparent;
}

.xp-close:hover {
    background-color: #E81123;
}

/* 应用XP窗口样式到各种内容容器 */
/* 信息框样式 */
.infobox,
.notaninfobox {
    background-color: #F1F1F1 !important;
    color: #000000 !important;
    border: 1px solid #0055AA !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    margin: 1em 0 !important;
    font-family: var(--body-font) !important;
    overflow: hidden !important;
    position: relative !important;
}

.infobox th,
.notaninfobox .infobox-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    padding: 5px 10px !important;
    text-align: left !important;
    font-weight: bold !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #0044AA !important;
}

/* 信息框标题文本 */
.infobox th span,
.notaninfobox .infobox-title span {
    flex-grow: 1 !important;
}

/* 添加XP窗口控制按钮到信息框 */
.infobox th::after,
.notaninfobox .infobox-title::after {
    content: "";
    display: flex;
    gap: 4px;
    align-items: center;
}

/* 信息框内容区域 */
.infobox td,
.notaninfobox .infobox-content {
    background-color: #F1F1F1 !important;
    padding: 8px !important;
    color: #000000 !important;
}

/* 信息框内部行分隔 */
.infobox tr:not(:first-child) td {
    border-top: 1px solid #D1D1D1 !important;
}

/* 信息框内链接 */
.infobox a,
.notaninfobox a {
    color: rgb(var(--xp-blue)) !important;
}

.infobox a:hover,
.notaninfobox a:hover {
    color: rgb(var(--bright-accent)) !important;
}


/* 信息框的最小化和最大化状态 */
.infobox.minimized td,
.notaninfobox.minimized .infobox-content,
.infobox.minimized tbody,
.notaninfobox.minimized .infobox-rows {
    display: none !important;
}

.infobox.maximized,
.notaninfobox.maximized {
    position: fixed !important;
    top: 10% !important;
    left: 10% !important;
    width: 80% !important;
    height: 80% !important;
    z-index: 1000 !important;
}

/* 表格样式 - Windows XP风格 */
table.wiki-content-table {
    border-collapse: collapse !important;
    border: 1px solid #003C74 !important;
    margin: 1em 0 !important;
    background-color: #FFFFFF !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
}

table.wiki-content-table th {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
    color: #000000 !important;
    border: 1px solid #97B9E8 !important;
    padding: 5px 8px !important;
    font-weight: bold !important;
    text-align: left !important;
}

table.wiki-content-table td {
    border: 1px solid #D3DCE3 !important;
    padding: 5px 8px !important;
    background-color: #FFFFFF !important;
}

table.wiki-content-table tr:nth-child(even) td {
    background-color: #F0F6FF !important;
}

table.wiki-content-table tr:hover td {
    background-color: #E8F1FF !important;
}

/* 按钮样式 - Windows XP风格 */
.button, 
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5) !important;
    border: 1px solid #999999 !important;
    border-radius: 3px !important;
    padding: 4px 10px !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    font-size: 12px !important;
    cursor: pointer !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.button:hover, 
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC) !important;
    border-color: #666666 !important;
}

.button:active, 
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    background: #E0E0E0 !important;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}
/* 导航框(查论编)样式迁移 - Windows XP风格 */
.navbox {
    background-color: #F1F1F1 !important;
    border: 1px solid #0055AA !important;
    border-radius: 8px 8px 0 0 !important;
    font-family: var(--body-font) !important;
    margin: 1em 0 !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    position: relative !important;
}

.navbox-title,
.navbox th {
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    padding: 5px 10px !important;
    text-align: center !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #0044AA !important;
}

/* 导航框标题文本 */
.navbox-title span {
    flex-grow: 1 !important;
    text-align: center !important;
}

/* 添加XP窗口控制按钮占位 */
.navbox-title::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}

.navbox-group {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
    color: #000000 !important;
    font-weight: bold !important;
    padding: 4px 8px !important;
    border-right: 1px solid #97B9E8 !important;
    border-bottom: 1px solid #97B9E8 !important;
    text-align: right !important;
}

.navbox-list {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    padding: 4px 8px !important;
    border-bottom: 1px solid #D3DCE3 !important;
}

.navbox-even {
    background-color: #F0F6FF !important;
}

.navbox a {
    color: rgb(var(--xp-blue)) !important;
    text-decoration: none !important;
}

.navbox a:hover {
    color: rgb(var(--bright-accent)) !important;
    text-decoration: underline !important;
}

.navbox a:hover::before {
    content: "> " !important;
}

/* 导航栏样式 - Windows XP风格 */
.navbar, 
.navbar.navbar-default,
.navbar-light {
    background: linear-gradient(to bottom, #1F69DE, #015EEB) !important;
    border-bottom: 1px solid #123AA0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar-light .navbar-nav .nav-link {
    color: white !important;
    font-family: var(--header-font) !important;
    padding: 8px 15px !important;
    position: relative !important;
}

.navbar .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    text-decoration: none !important;
}

/* 下拉菜单 */
.dropdown-menu {
    background-color: #FFFFFF !important;
    border: 1px solid #7B9EBD !important;
    border-radius: 3px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 2px !important;
}

.dropdown-item {
    color: #000000 !important;
    font-family: var(--body-font) !important;
    padding: 4px 8px !important;
    border-radius: 2px !important;
}

.dropdown-item:hover {
    background-color: #316AC5 !important;
    color: white !important;
}

/* 搜索框样式 - Windows XP风格 */
#searchInput, 
.form-control {
    background-color: white !important;
    border: 1px solid #7B9EBD !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    padding: 4px 8px !important;
    border-radius: 2px !important;
}

#searchInput:focus, 
.form-control:focus {
    border-color: #5690D2 !important;
    box-shadow: 0 0 4px rgba(86, 144, 210, 0.5) !important;
}

/* 搜索按钮 */
#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, #F5F5F5, #E5E5E5) !important;
    border: 1px solid #999999 !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    border-radius: 3px !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !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, #FEFEFE, #ECECEC) !important;
    border-color: #666666 !important;
    color: #000000 !important;
}

#searchButton:active,
.searchButton:active,
input[type="submit"]:active,
input[type="button"]:active,
.mw-ui-button:active,
button[name="go"]:active,
button[name="fulltext"]:active,
.mw-ui-button.mw-ui-progressive:active {
    background: #E0E0E0 !important;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* 目录框样式 - Windows XP风格 */
#toc, .toc {
    background-color: #F1F1F1 !important;
    border: 1px solid #0055AA !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 0 !important;
    font-family: var(--body-font) !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    margin: 1em 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.toc .toctitle, #toc .toctitle {
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    text-align: left !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    font-weight: bold !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #0044AA !important;
}

.toc .toctitle h2, #toc .toctitle h2 {
    color: white !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: none !important;
    flex-grow: 1 !important;
}

/* 添加XP窗口控制按钮占位 */
.toc .toctitle::after, #toc .toctitle::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}

.toc ul, #toc ul {
    margin: 0 !important;
    padding: 10px 10px 10px 30px !important;
}

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

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

.tocnumber {
    color: #666666 !important;
}

/* 主页样式修改 - 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: 4rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    background-color: #F1F1F1;
    overflow: hidden;
}

/* 欢迎文本区域 */
.main-page-banner .welcome-text {
    grid-area: welcome;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #0044AA;
    z-index: 2;
}

/* 背景图片支持 */
.main-page-banner .welcome-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

/* 添加水平扫描线 */
.main-page-banner .welcome-text .scan-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );
    z-index: 4;
    animation: horizScanLine 7s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* 欢迎文本 */
.main-page-banner .welcome-text p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 水平扫描线动画 */
@keyframes horizScanLine {
    0% { top: -10px; }
    100% { top: 100%; }
}

/* 导航按钮美化 */
.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: 1rem;
    background-color: #F1F1F1;
}

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

/* 按钮光效 */
.main-page-banner .nav-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transition: left 0.5s;
}

.main-page-banner .nav-button:hover::before {
    left: 100%;
}

.main-page-banner .nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}

.main-page-banner .nav-button a {
    display: block;
    padding: 10px 15px;
    width: 100%;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none !important;
    font-family: var(--body-font);
    position: relative;
    z-index: 1;
}

.main-page-banner .nav-button:hover a {
    color: #000000;
}

.main-page-banner .nav-button:active {
    background: #E0E0E0;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 公告容器 */
.announcement-container {
    background-color: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    overflow: hidden;
    position: relative;
}

.announcement-container .section-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}

/* 标题文本 */
.announcement-container .section-title span {
    flex-grow: 1;
}

/* 添加XP窗口控制按钮占位 */
.announcement-container .section-title::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}

.announcement-container .announcement-content {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px;
    font-family: var(--body-font);
    width: 100%;
    border-bottom: 1px solid #D3DCE3;
}

.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); }
}
/* 近期页面容器 */
.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: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.recent-pages-container .section-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}

/* 标题文本 */
.recent-pages-container .section-title span {
    flex-grow: 1;
}

/* 添加XP窗口控制按钮占位 */
.recent-pages-container .section-title::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}

.recent-pages-container .page-list {
    background-color: #FFFFFF;
    padding: 8px;
    max-height: 15rem;
    overflow-y: auto;
    border: 1px solid #D1D1D1;
    margin: 5px;
}

.recent-pages-container .page-list a {
    color: #0055AA;
    display: block;
    padding: 4px;
    border-bottom: 1px solid #EFEFEF;
    font-family: var(--body-font);
    transition: all 0.2s ease;
}

.recent-pages-container .page-list a:hover {
    color: #CC6600;
    background-color: #E8F1FF;
    padding-left: 8px;
}

.recent-pages-container .see-more {
    background-color: #F0F0F0;
    border-top: 1px solid #CCCCCC;
    padding: 4px 8px;
    text-align: right;
    font-size: 0.9em;
}

.recent-pages-container .see-more a {
    color: #0055AA;
    font-family: var(--body-font);
}

.recent-pages-container .see-more a:hover {
    color: #CC6600;
}

/* 特色内容容器 */
.featured-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.featured-content-container .feature-item {
    flex-basis: 48%;
    background-color: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.featured-content-container .section-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}

/* 标题文本 */
.featured-content-container .section-title span {
    flex-grow: 1;
}

/* 添加XP窗口控制按钮占位 */
.featured-content-container .section-title::after {
    content: "";
    display: inline-block;
    width: 63px; /* 3个按钮的宽度 */
}

.featured-content-container .feature-content {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px;
    font-family: var(--body-font);
    border: 1px solid #D1D1D1;
    margin: 5px;
}

.featured-content-container .feature-content .featured-title {
    color: #0055AA;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: var(--title-font);
}

.featured-content-container .feature-content .featured-author {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

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

.featured-content-container .see-more {
    background-color: #F0F0F0;
    border-top: 1px solid #CCCCCC;
    padding: 4px 8px;
    text-align: right;
    font-size: 0.9em;
}

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

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

.tools-container .tool-item {
    background-color: #F1F1F1;
    color: #000000;
    padding: 10px;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: 0.6fr 0.4fr;
    grid-gap: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.tools-container .tool-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    z-index: 0;
}

.tools-container .tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tools-container .tool-item .tool-icon {
    grid-area: icon;
    justify-self: center;
    align-self: end;
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin-top: 30px;
}

.tools-container .tool-item .tool-title {
    grid-area: title;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tools-container .tool-item .tool-title a {
    color: #0055AA;
    font-weight: bold;
    font-family: var(--title-font);
}

.tools-container .tool-item .tool-title a:hover {
    color: #CC6600;
}

.tools-container .tool-item .tool-description {
    grid-area: content;
    align-self: center;
    position: relative;
    z-index: 1;
    padding: 5px;
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
    border-radius: 3px;
    margin-top: 30px;
}

/* 页码样式 */
.mw-page-numbers, 
.pageNumbers, 
.pagination {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    font-family: var(--body-font);
}

.mw-page-numbers li, 
.pageNumbers li, 
.pagination li {
    margin: 0 2px;
    list-style: none;
}

.mw-page-numbers a, 
.pageNumbers a, 
.pagination a {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    color: #000000;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mw-page-numbers a:hover, 
.pageNumbers a:hover, 
.pagination a:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}

.mw-page-numbers .current, 
.pageNumbers .current, 
.pagination .current {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
    border: 1px solid #4A8BF5;
    color: #000000;
    border-radius: 3px;
    font-weight: bold;
}

/* 侧边栏样式 */
#mw-navigation, 
#mw-panel, 
.sidebar {
    background-color: #F1F1F1 !important;
}

#mw-navigation h2, 
#mw-panel h3, 
.sidebar h3 {
    background: linear-gradient(to bottom, #0084C6, #0066AA) !important;
    color: white !important;
    padding: 5px 10px !important;
    font-family: var(--header-font) !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    border-bottom: 1px solid #0044AA !important;
    margin: 0 !important;
}

/* 引用样式 */
div.blockquote, blockquote {
    border: 1px solid #7B9EBD;
    background-color: #ECF4FD;
    color: #000000;
    border-radius: 3px;
    padding: 8px 12px;
    margin: 1em 1.5em;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* 底部工具栏 */
#footer, .footer {
    background-color: #F1F1F1 !important;
    border-top: 1px solid #0055AA !important;
    color: #000000 !important;
    padding: 1em 0 !important;
    font-family: var(--body-font) !important;
}

#footer a, .footer a {
    color: #0055AA !important;
}

#footer a:hover, .footer a:hover {
    color: #CC6600 !important;
}

/* 轮播图 */
.mw-carousel {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 2em auto;
    overflow: hidden;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    background-color: #F1F1F1;
}

.mw-carousel::before {
    content: "照片查看器";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-weight: bold;
    font-family: var(--title-font);
    z-index: 5;
}

.mw-carousel .carousel-image {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 25px; /* 为标题栏留出空间 */
}

.mw-carousel .carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mw-carousel .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: left;
    z-index: 2;
}

.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 10px;
}

.mw-carousel .carousel-prev,
.mw-carousel .carousel-next {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #000000;
}

.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}

.mw-carousel .carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 4;
}

.mw-carousel .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    background-color: #CCCCCC;
    border: 1px solid #999999;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.mw-carousel .carousel-indicators .indicator.active {
    background-color: #0084C6;
    border-color: #0055AA;
}

/* 黑幕效果改为橙色半透明(符合XP主题) */
.heimu,
.heimu rt,
.blackmu,
.blackmu rt {
    --blackmu-color: 229, 140, 36;
    --blackmu-text-color: 0, 0, 0;
    --blackmu-link-color: 0, 85, 170;
    --blackmu-visited-link-color: 0, 64, 128;
    --blackmu-new-link-color: 204, 102, 0;
    --blackmu-new-visited-link-color: 153, 76, 0;
    
    background-color: rgba(var(--blackmu-color), 0.8);
}

.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,
.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: rgba(var(--blackmu-color), 0.8);
    text-shadow: none;
}

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

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

/* 颜色幕 */
.colormu-drk {
    color: #FFFFFF;
}

.colormu-bri {
    color: #000000;
}

.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;
}

.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
    color: transparent !important;
}

a .colormu-bri {
    color: inherit;
}

a:hover .colormu>span, 
a:active .colormu>span,
.colormu-drk.colormu_toggle_on, 
.colormu_toggle_on>span, 
.colormu-drk.colormu_toggle_on a>span {
    color: inherit !important;
}

/* Windows XP样式的提示框(替代hovertip) */
.hovertip {
    background-color: #FFFFCC !important;
    border: 1px solid #999999 !important;
    border-radius: 3px !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3) !important;
    padding: 6px !important;
    color: #000000 !important;
    font-family: var(--body-font) !important;
    font-size: 0.9rem !important;
    max-width: 300px !important;
}

/* Windows XP风格的选项卡 */
.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
    border-color: #7B9EBD !important;
    border-width: 0 0 1px 0 !important;
    zoom: 1 !important;
    position: relative !important;
}

.yui-navset .yui-nav li,
.yui-navset .yui-navset-top .yui-nav li {
    margin: 0 0.16em 0 0 !important;
    padding: 1px 0 0 !important;
    list-style: none !important;
    display: inline-block !important;
}

.yui-navset .yui-nav a,
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover,
.yui-navset .yui-navset-top .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a:focus,
.yui-navset .yui-navset-top .yui-nav a:hover {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5) !important;
    border: 1px solid #7B9EBD !important;
    color: #000000 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 0.25em 0.5em !important;
    border-radius: 2px 2px 0 0 !important;
}

.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a:focus,
.yui-navset .yui-nav .selected a:hover {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE) !important;
    color: #000000 !important;
    border-color: #4A8BF5 !important;
}

.yui-navset .yui-content {
    background: #FFFFFF !important;
    border: 1px solid #7B9EBD !important;
    border-top: none !important;
    padding: 10px !important;
}

/* Windows XP风格的代码块 */
pre, code, .mw-code {
    background-color: #FFFFFF !important;
    border: 1px solid #7B9EBD !important;
    color: #000000 !important;
    font-family: var(--mono-font) !important;
    padding: 5px !important;
    border-radius: 3px !important;
}

/* Windows XP风格的分隔线 */
hr {
    margin: 1em 2em;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px solid #7B9EBD;
}

/* Windows XP风格块 - 原database主题块 */
.lightstyled-quote {
    background-color: #ECF4FD;
    color: #000000;
    border-left: 3px solid #0055AA;
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.darkstyled-quote {
    background-color: #D6E9FF;
    border-left: 3px solid #0055AA;
    color: #000000;
    padding: 0.1rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.lightblock {
    background-color: #ECF4FD;
    color: #000000;
    padding: 0.01rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}

.darkblock {
    background-color: #D6E9FF;
    color: #000000;
    padding: 0.01rem 1rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}

/* Windows XP风格的错误屏幕块 */
.bluescreen {
    background-color: #0000AA;
    color: #FFFFFF;
    padding: 1.5rem;
    margin: 0.5rem 0 0.5rem 0.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: "Courier New", monospace;
    border: 2px solid #FFFFFF;
    position: relative;
}

.bluescreen::before {
    content: "Windows";
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-weight: bold;
}

/* Windows XP Logo块 */
.logoblock {
    padding: 0.5rem 1rem;
    color: #000000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin: 0.5rem 0 0.5rem 0.25rem;
    display: block;
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid #7B9EBD;
    border-radius: 3px;
    min-height: 80px;
}

.logoblock::after {
    content: "";
    float: center;
    border: solid 2px transparent;
    background: url() center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}

/* Windows XP风格的标题块 */
.titlebox {
    color: #FFFFFF;
    position: relative;
    top: -1.6rem;
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    padding: 0.5rem 2rem;
    line-height: 0.1rem;
    border-radius: 3px 3px 0 0;
    border: 1px solid #0055AA;
    border-bottom: none;
}

/* Windows XP风格警告消息 */
.mw-warning, .warning {
    background-color: #FFEFD5;
    color: #000000;
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    border: 1px solid #FF8C00;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.mw-warning:before, .warning:before {
    content: "⚠️ ";
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Windows XP风格的提示消息 */
.mw-info, .info {
    background-color: #E6F3FF;
    color: #000000;
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    border: 1px solid #4A8BF5;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.mw-info:before, .info:before {
    content: "ℹ️ ";
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* 窗口最小化和最大化状态的样式 */
.minimized .page-list,
.minimized .feature-content,
.minimized .tool-description,
.minimized .announcement-content,
.minimized .mw-parser-output,
.minimized .toc {
    display: none !important;
}

.maximized {
    position: fixed !important;
    top: 5% !important;
    left: 5% !important;
    width: 90% !important;
    height: 90% !important;
    z-index: 9999 !important;
}

.maximized .page-list,
.maximized .feature-content,
.maximized .tool-description,
.maximized .announcement-content,
.maximized .mw-parser-output {
    max-height: calc(90vh - 40px) !important;
    overflow-y: auto !important;
}

/* Windows XP风格的图片浏览器 */
.scp-image-block {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    border: 1px solid #7B9EBD;
    margin: 0 2em 1em;
    background-color: #FFFFFF;
}

.scp-image-block.block-right {
    float: right;
    margin: 0 0 1em 2em;
}

.scp-image-block .scp-image-caption {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE);
    color: #000000;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #7B9EBD;
}

.scp-image-block img {
    padding: 5px;
    display: block;
    margin: 0 auto;
}

/* 响应式布局调整 */
@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;
        width: 100%;
        overflow: visible;
    }
    
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
    }
    
    .tools-container {
        grid-template-columns: 1fr;
    }
    
    .xp-window-controls {
        display: none !important;
    }
}

/* 打印样式(续) */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
    
    #content {
        background: #FFFFFF !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .scan-animation,
    .xp-window-controls,
    .main-page-banner .navigation-links,
    .mw-carousel .carousel-navigation,
    .mw-carousel .carousel-indicators {
        display: none !important;
    }
    
    a {
        color: #000000 !important;
        text-decoration: underline !important;
    }
    
    a::before {
        content: none !important;
    }
    
    .infobox,
    .notaninfobox,
    .navbox,
    #toc,
    .toc,
    .announcement-container,
    .recent-pages-container .page-section,
    .featured-content-container .feature-item,
    .tools-container .tool-item {
        border: 1px solid #000000 !important;
        box-shadow: none !important;
    }
    
    .infobox th,
    .notaninfobox .infobox-title,
    .navbox-title,
    .toc .toctitle,
    #toc .toctitle,
    .announcement-container .section-title,
    .recent-pages-container .section-title,
    .featured-content-container .section-title,
    .tools-container .tool-item::before {
        background: #CCCCCC !important;
        color: #000000 !important;
    }
}

/* 滚动条样式 - Windows XP经典风格 */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background-color: #F1F1F1;
    border-left: 1px solid #DFDFDF;
}

::-webkit-scrollbar-thumb {
    background: #C2D2E3;
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CB6D3;
}

::-webkit-scrollbar-button {
    background-color: #F1F1F1;
    border: 1px solid #7B9EBD;
    height: 16px;
    width: 16px;
}

::-webkit-scrollbar-button:vertical:increment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M4 0l-4 4h8z" transform="translate(0 2)"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

::-webkit-scrollbar-button:vertical:decrement {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M0 0l4 4 4-4h-8z" transform="translate(0 2)"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

::-webkit-scrollbar-button:horizontal:increment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M0 0l4 4-4 4v-8z" transform="translate(2 0)"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

::-webkit-scrollbar-button:horizontal:decrement {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%237B9EBD" d="M4 0l-4 4 4 4v-8z" transform="translate(2 0)"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

/* 表单元素样式 - Windows XP风格 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
    background-color: #FFFFFF;
    border: 1px solid #7B9EBD;
    color: #000000;
    font-family: var(--body-font);
    padding: 4px 8px;
    border-radius: 2px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #5690D2;
    box-shadow: 0 0 4px rgba(86, 144, 210, 0.5);
    outline: none;
}

select {
    padding: 3px 4px;
    background: linear-gradient(to bottom, #FEFEFE, #E5E5E5);
    border: 1px solid #7B9EBD;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #316AC5;
}

/* 按钮悬停时为Win XP鼠标悬停样式 */
button:hover, 
.button:hover, 
input[type="button"]:hover, 
input[type="submit"]:hover, 
input[type="reset"]:hover {
    background-color: #316AC5 !important;
    color: #FFFFFF !important;
    border-color: #215091 !important;
    background-image: none !important;
}

/* Windows XP风格窗口的工具栏 */
.xp-window-toolbar {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border-bottom: 1px solid #CCCCCC;
    padding: 2px 5px;
    display: flex;
    align-items: center;
}

.xp-window-toolbar button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 2px 5px;
    margin: 0 2px;
    cursor: pointer;
}

.xp-window-toolbar button:hover {
    background-color: #E0E0E0;
    border-color: #999999;
}

.xp-window-toolbar button:active {
    background-color: #D0D0D0;
    border-color: #999999;
    border-style: inset;
}

/* Windows XP风格的状态栏 */
.xp-window-statusbar {
    background-color: #F1F1F1;
    border-top: 1px solid #CCCCCC;
    padding: 2px 8px;
    font-size: 0.9em;
    color: #666666;
    display: flex;
    justify-content: space-between;
}

/* 菜单项 */
.xp-window-menu {
    background-color: #F1F1F1;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    padding: 0 5px;
}

.xp-window-menu-item {
    padding: 3px 10px;
    cursor: pointer;
    color: #000000;
    border: 1px solid transparent;
    border-radius: 2px;
    margin-right: 1px;
}

.xp-window-menu-item:hover {
    background-color: #E0E0E0;
    border-color: #999999;
}

.xp-window-menu-item.active {
    background-color: #D0D0D0;
    border-color: #999999;
}

/* 页码样式增强 - 确保更符合XP风格 */
.mw-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5em 0;
    padding: 0;
    list-style: none;
}

.mw-pagination li {
    margin: 0 2px;
}

.mw-pagination a,
.mw-pagination span {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #7B9EBD;
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    color: #000000;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mw-pagination a:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}

.mw-pagination .active span {
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
    border-color: #4A8BF5;
    color: #000000;
    font-weight: bold;
}

.mw-pagination .disabled span {
    color: #AAAAAA;
    background: #F8F8F8;
    border-color: #DDDDDD;
    cursor: not-allowed;
}

/* 进度条样式 - Windows XP风格 */
progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 20px;
    width: 100%;
    border: 1px solid #7B9EBD;
    border-radius: 2px;
    background-color: #FFFFFF;
}

progress::-webkit-progress-bar {
    background-color: #FFFFFF;
    border-radius: 1px;
}

progress::-webkit-progress-value {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    border-radius: 1px;
}

progress::-moz-progress-bar {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    border-radius: 1px;
}

/* XP风格的开始菜单(可用于站点导航等) */
.xp-start-menu {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 320px;
    background-color: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
}

.xp-start-menu.visible {
    display: block;
}

.xp-start-menu-header {
    background: linear-gradient(to right, #0084C6, #0066AA);
    height: 60px;
    padding: 10px;
    color: white;
    display: flex;
    align-items: center;
    border-radius: 0 8px 0 0;
}

.xp-start-menu-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.xp-start-menu-header .user-name {
    font-weight: bold;
    font-size: 1.2em;
}

.xp-start-menu-body {
    display: flex;
}

.xp-start-menu-left {
    width: 200px;
    padding: 8px;
    background-color: white;
    border-right: 1px solid #CCCCCC;
}

.xp-start-menu-right {
    width: 120px;
    padding: 8px;
    background-color: #F1F1F1;
}

.xp-start-menu-item {
    padding: 8px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 2px;
}

.xp-start-menu-item:hover {
    background-color: #316AC5;
    color: white;
}

.xp-start-menu-item img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.xp-start-menu-footer {
    height: 30px;
    background: linear-gradient(to right, #0084C6, #0066AA);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
}

.xp-start-button {
    background: linear-gradient(to bottom, #63B34C, #4E9C3D);
    color: white;
    border: 1px solid #4E9C3D;
    border-radius: 3px;
    padding: 2px 8px;
    font-weight: bold;
    cursor: pointer;
}

.xp-start-button:hover {
    background: linear-gradient(to bottom, #74C25D, #5FAD4E);
}

/* 任务栏 */
.xp-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, #0084C6, #0066AA);
    display: flex;
    align-items: center;
    padding: 0 2px;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.xp-start-button-container {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.xp-taskbar-items {
    display: flex;
    flex-grow: 1;
    height: 100%;
    align-items: center;
    overflow-x: auto;
}

.xp-taskbar-item {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    height: 22px;
    padding: 0 8px;
    margin: 0 2px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    min-width: 100px;
    max-width: 200px;
    cursor: pointer;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.xp-taskbar-item:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
}

.xp-taskbar-item.active {
    background: linear-gradient(to bottom, #D1E5FE, #BBD8FB);
    border-color: #4A8BF5;
}

.xp-taskbar-item img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.xp-taskbar-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xp-system-tray {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.xp-system-tray-item {
    width: 16px;
    height: 16px;
    margin: 0 3px;
    cursor: pointer;
}

/* XP风格的系统图标 */
.xp-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.xp-icon img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
}

.xp-icon span {
    display: block;
    font-size: 0.8em;
    margin-top: 2px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    padding: 0 2px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xp-icon:hover span {
    background-color: #316AC5;
    color: white;
}

.xp-shortcut::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%23000000" d="M0 0v6l6-3z" transform="translate(1 1)"/></svg>');
    background-repeat: no-repeat;
}

/* 通用辅助类 */
.xp-shadow {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.xp-border {
    border: 1px solid #7B9EBD;
    border-radius: 3px;
}

.xp-header-gradient {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
}

.xp-button-gradient {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
}

.xp-panel-gradient {
    background: linear-gradient(to bottom, #E3EFFF, #CDE2FE);
}

/* 确保风格一致性 */
* {
    box-sizing: border-box;
}

/* 淡入动画修改 - 使用XP风格的淡入效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mw-parser-output > * {
    animation: fadeIn 0.3s ease-out forwards;
    opacity: 0;
}

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

/* Windows XP启动动画 - 仅在页面加载时出现 */
.xp-startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    animation: fadeOut 3s forwards;
    animation-delay: 2s;
}

.xp-startup-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    background: url() center/contain no-repeat;
}

.xp-startup-progress {
    width: 300px;
    height: 20px;
    background-color: #333333;
    border: 1px solid #555555;
    position: relative;
    overflow: hidden;
}

.xp-startup-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        transparent 0%,
        #0084C6 30%,
        #0084C6 70%,
        transparent 100%
    );
    animation: progressMove 1.5s linear infinite;
}

@keyframes progressMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    99% { opacity: 0; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* 页面错误消息 - 模拟XP错误弹窗 */
.xp-error-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #F1F1F1;
    border: 1px solid #0055AA;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.xp-error-dialog-title {
    background: linear-gradient(to bottom, #0084C6, #0066AA);
    color: white;
    padding: 5px 10px;
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0044AA;
}

.xp-error-dialog-title span {
    flex-grow: 1;
}

.xp-error-dialog-content {
    padding: 15px;
    display: flex;
    align-items: flex-start;
}

.xp-error-dialog-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="16" fill="%23FF0000"/><text x="16" y="24" text-anchor="middle" font-family="Arial" font-weight="bold" font-size="24" fill="%23FFFFFF">!</text></svg>') no-repeat;
}

.xp-error-dialog-message {
    flex-grow: 1;
    color: #000000;
}

.xp-error-dialog-buttons {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px 15px;
}

.xp-error-dialog-ok {
    background: linear-gradient(to bottom, #F5F5F5, #E5E5E5);
    border: 1px solid #999999;
    border-radius: 3px;
    padding: 4px 15px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.xp-error-dialog-ok:hover {
    background: linear-gradient(to bottom, #FEFEFE, #ECECEC);
    border-color: #666666;
}

.xp-error-dialog-ok:active {
    background: #E0E0E0;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}
/* 搜索框右侧按钮 - 更具体的选择器 */
#searchButton,
#mw-searchButton,
.searchButton,
button[name="go"],
button[name="fulltext"],
.mw-ui-button.mw-ui-progressive {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    padding: 0.3em 0.6em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#searchButton:hover,
#mw-searchButton:hover,
.searchButton:hover,
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.3) !important;
}

/* 变色龙皮肤特定搜索按钮 */
.chameleon-search-form .btn {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
}

.chameleon-search-form .btn:hover {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
}
/* 底部工具栏完整样式 */
#footer,
.footer,
#footer-places,
#footer-info,
#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-privacy,
#footer-places-about,
#footer-places-disclaimer,
#footer-icons,
.footer-info,
.footer-places,
.footer-icons,
.printfooter,
.mw-footer,
.mw-footer li {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
    font-family: var(--body-font) !important;
    border: none !important;
}

/* 页脚主容器 */
.mw-footer,
#footer,
.footer {
    background-color: rgb(var(--black-monochrome)) !important;
    border-top: 2px solid rgb(var(--bright-accent)) !important;
    margin-top: 1em !important;
    padding: 1em 0 !important;
}

/* 页脚链接 */
#footer a,
.footer a,
.mw-footer a {
    color: rgb(var(--bright-accent)) !important;
    text-decoration: none !important;
}

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

/* 页脚列表项 */
#footer li,
.footer li,
.mw-footer li {
    color: rgb(var(--bright-accent)) !important;
    margin: 0.5em 0 !important;
}

/* 底部工具栏按钮区域 */
#footer-poweredbyico,
#footer-copyrightico,
.footer-icons {
    background-color: transparent !important;
}

/* 变色龙皮肤特定的页脚 */
.p-tb,
#p-tb,
.tools-menu,
#t-whatlinkshere,
#t-recentchangeslinked,
#t-specialpages,
#t-print,
#t-permalink,
#t-info {
    background-color: rgb(var(--black-monochrome)) !important;
    color: rgb(var(--bright-accent)) !important;
}

/* 页脚的具体区域 */
.mw-footer-container {
    background-color: rgb(var(--black-monochrome)) !important;
}

/* 底部导航区域 */
#footer-navigation {
    background-color: rgb(var(--black-monochrome)) !important;
    border-top: 1px solid rgb(var(--bright-accent)) !important;
}
/* 变色龙皮肤特定修复 */
.chameleon-toc {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
}

.chameleon-toc .toctitle {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
}

/* 搜索按钮图标 */
.mw-ui-icon:before,
.oo-ui-icon-search {
    filter: brightness(0) saturate(100%) invert(58%) sepia(78%) saturate(481%) hue-rotate(353deg) brightness(101%) contrast(91%);
}
/* 工具条完整修复 */
#mw-panel,
#mw-head,
#mw-head-base,
#mw-page-base,
#left-navigation,
#right-navigation,
#p-personal,
#p-search,
#p-tb,
#p-cactions,
#p-namespaces,
#p-views,
#p-variants,
#p-coll-print_export,
#p-wikibase-otherprojects,
#p-lang {
    background-color: rgb(var(--black-monochrome)) !important;
}

/* 工具条容器 */
.mw-portlet,
.vector-menu {
    background-color: rgb(var(--black-monochrome)) !important;
}

/* 工具条标题 */
.mw-portlet h3,
.vector-menu h3,
.vector-menu-heading {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    padding: 0.25em 0.5em !important;
    border: none !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;
}

/* 图标悬停效果 */
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
    color: rgb(var(--white-monochrome)) !important;
}

/* 修复SVG图标 */
.mw-echo-notifications-badge svg,
.oo-ui-icon-bell svg,
.oo-ui-icon-tray svg {
    fill: rgb(var(--bright-accent)) !important;
    stroke: rgb(var(--bright-accent)) !important;
}

/* 确保图标容器可见 */
#pt-notifications-alert,
#pt-notifications-notice {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* 通知面板样式 */
.mw-echo-ui-overlay,
.mw-echo-ui-notificationsWidget {
    background-color: rgb(var(--black-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--white-monochrome)) !important;
}

/* 通知项目 */
.mw-echo-ui-notificationItemWidget {
    background-color: rgb(var(--gray-monochrome)) !important;
    border-bottom: 1px solid rgb(var(--bright-accent)) !important;
    color: rgb(var(--white-monochrome)) !important;
}

.mw-echo-ui-notificationItemWidget:hover {
    background-color: rgba(var(--bright-accent), 0.1) !important;
}

/* 通知标题和内容 */
.mw-echo-ui-notificationItemWidget-content-message-header {
    color: rgb(var(--bright-accent)) !important;
}

.mw-echo-ui-notificationItemWidget-content-message-body {
    color: rgb(var(--white-monochrome)) !important;
}

#pt-notifications-alert .oo-ui-iconElement-icon,
#pt-notifications-notice .oo-ui-iconElement-icon,
.mw-echo-notification-badge .oo-ui-iconElement-icon {
    background-color: transparent !important;
}

/* 只修改通知图标的颜色 */
#pt-notifications-alert .oo-ui-icon-bell,
#pt-notifications-notice .oo-ui-icon-tray {
    filter: invert(58%) sepia(58%) saturate(1008%) hue-rotate(351deg) brightness(97%) contrast(94%);
}
/* 强制显示通知图标 - 针对可能被隐藏的情况 */
#p-personal .vector-menu-content-list #pt-notifications-alert,
#p-personal .vector-menu-content-list #pt-notifications-notice {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 如果使用Font Awesome或其他图标字体 */
.mw-echo-notifications-badge:before,
.oo-ui-icon-bell:before,
.oo-ui-icon-tray:before {
    color: rgb(var(--bright-accent)) !important;
    opacity: 1 !important;
    visibility: visible !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::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    transition: all 0.3s ease !important;
}

.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;
}
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */

.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;
}

/*
	该文档为一个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页面]] */

/*
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
*/
 
.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;
}