MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
无编辑摘要
标签手工回退 已被回退
无编辑摘要
 
(未显示同一用户的22个中间版本)
第1行: 第1行:
/* Windows XP风格MediaWiki主题 - 完整迁移自Wikidot */
/* 这里放置的CSS将应用于所有皮肤 */
 
@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=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
第7行: 第8行:
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');


:root {
:root {
    /* 主题基础设置 */
--link-color: #0645ad;
    --fade-in-delay: 0.1s;
--link-color-active: #faa700;
    --theme-base: "xp-style";
--custom-background-blue: #ccf;
    --theme-id: "windows-xp";
--custom-background-cyan: #cef;
    --theme-name: "Windows XP Theme";
--custom-background-green: #cfc;
--custom-background-gray: #d2d2d2;
--custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
--custom-background-purple: #ecf;
--custom-background-red: #fcc;
--custom-background-yellow: #ffc;
--custom-border-blue: #36e;
--custom-border-cyan: #9df;
--custom-border-green: #5d5;
--custom-border-gray: #bbb;
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
--custom-border-orange: #f90;
--custom-border-purple: #96c;
--custom-border-red: #e44;
--custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
--custom-code-background: #f8f9fa;
--custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: var(--custom-border-gray);
--custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #003600;
--custom-table-choice-always-background: #80d080;
--custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
--custom-table-choice-na-background: #fff;
--custom-table-choice-neutral: #634800;
--custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #3c0404;
--custom-table-choice-never-background: #ff8080;
--custom-table-choice-no: #840606;
--custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #665400;
--custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #533400;
--custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #005600;
--custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
      
      
     /* 字体设置 - 保持原有字体 */
     /* 字体设置 - 保持原有字体 */
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
     --body-font: "VonwaonBitmap 16px", VT323, monospace;
第23行: 第87行:
     --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
     --pixel-font-12: 'VonwaonBitmap 12px', VT323, monospace;
     --base-font-size: 14px;
     --base-font-size: 14px;
   
 
    /* Windows XP 颜色方案 */
    --xp-blue: 49, 106, 197;
    --xp-blue-light: 82, 153, 235;
    --xp-blue-dark: 16, 35, 85;
    --xp-green: 57, 154, 48;
    --xp-button: 192, 192, 192;
    --xp-window-border: 0, 0, 0;
    --xp-window-bg: 236, 233, 216;
    --xp-text: 0, 0, 0;
   
    /* 颜色方案 - 迁移并适配XP风格 */
    --white-monochrome: 255, 255, 255;
    --pale-gray-monochrome: 236, 233, 216;
    --light-gray-monochrome: 192, 192, 192;
    --gray-monochrome: 128, 128, 128;
    --black-monochrome: 0, 0, 0;
    --bright-accent: var(--xp-blue);
    --medium-accent: var(--xp-blue);
    --dark-accent: var(--xp-blue-dark);
    --pale-accent: var(--xp-blue-light);
   
    /* 链接颜色 */
    --link-color: 0, 0, 255;
    --visited-link-color: 128, 0, 128;
    --hover-link-color: 0, 0, 255;
   
    /* 文本阴影 */
    --text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
   
    /* 边框和阴影 */
    --window-border: 1px solid rgb(var(--xp-window-border));
    --window-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
}
/* 应用全局字体 */
/* 应用全局字体 */
body {
body {
第63行: 第94行:
     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: #3a6ea5; /* 经典XP桌面蓝色背景 */
 
     background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
     background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
     background-size: cover;
     background-size: cover;
第71行: 第102行:
     color: rgb(var(--xp-text));
     color: rgb(var(--xp-text));
}
}
 
 
/* 标题字体 */
  .notaninfobox {
h1, h2, h3, h4, h5, h6, #firstHeading {
position: relative;
    font-family: var(--title-font);
clear: right;
    color: rgb(var(--white-monochrome));
margin: 0 0 1em 1em;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
width: 350px;
    padding: 5px 10px;
font-size: 90%;
    margin-top: 10px;
background-color: var(--custom-table-background);
    border-bottom: 1px solid rgb(var(--xp-window-border));
float: right;
    position: relative;
border: 1px solid var(--custom-border-gray);
    text-shadow: var(--text-shadow);
padding: 2px;
overflow: auto;
z-index: 1;
overflow-wrap: anywhere;
}
}
 
@media all and (max-width: 511px) {
/* 窗口操作按钮 - 关闭、最大化、最小化 */
.notaninfobox {
h1::after,
float: none;
h2::after,
margin-left: 0;
h3::after,
width: auto;
h4::after,
}
h5::after,
h6::after,
#firstHeading::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
}
}


h1::before,
.infobox tr:not(:first-child) td {
h2::before,
     border-bottom: 1px solid #ddd;
h3::before,
h4::before,
h5::before,
h6::before,
#firstHeading::before {
    content: "□";
    position: absolute;
    top: 2px;
    right: 25px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
     border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: black;
    cursor: pointer;
}
}
 
@media all and (max-width: 337px) {
h1 span::before,
.notaninfobox {
h2 span::before,
margin-left: -16px;
h3 span::before,
margin-right: -16px;
h4 span::before,
border-left: none;
h5 span::before,
border-right: none;
h6 span::before,
}
#firstHeading span::before {
    content: "_";
    position: absolute;
    top: 2px;
    right: 45px;
    width: 16px;
    height: 16px;
    background-color: rgb(var(--light-gray-monochrome));
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}
}


/* 链接样式 */
.notaninfobox > .infobox-title {
a {
font-weight: bold;
    color: rgb(var(--link-color));
text-align: center;
    text-decoration: none;
font-size: 120%;
background-color: #BCD4F5;
}
}
 
.infobox-imagearea {
a:visited {
text-align: center;
    color: rgb(var(--visited-link-color));
padding: 4px;
}
}
 
.infobox-imagearea > div:not(:first-child) {
a:hover {
padding-top: 1em;
    color: rgb(var(--hover-link-color));
}
    text-decoration: underline;
/* Horizontally centre animated images */
.infobox-imagearea .animated {
display: inline-flex;
align-items: center;
}
}


/* ">" 箭头指示符 - 保留原样 */
.notaninfobox .infobox-rows {
a:hover::before {
display: grid;
    content: "> ";
grid-template-columns: max-content 1fr;
gap: 1px;
}
}
 
.infobox .plainlinks a {
 
    color: #0000EE !important;
/* 背景样式 */
    text-decoration: underline;
html, body {
}
     background-color: #3a6ea5 !important; /* 保留XP桌面风格 */
.infobox .plainlinks a:visited {
     color: #551A8B !important;
}
.notaninfobox .infobox-rows .infobox-row {
display: contents;
}
}


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


#searchButton:hover,
.notaninfobox .infobox-row .infobox-row-label {
.searchButton:hover,
font-weight: bold;
input[type="submit"]:hover,
display: flex;
input[type="button"]:hover,
align-items: center;
.mw-ui-button:hover,
button[name="go"]:hover,
button[name="fulltext"]:hover,
.mw-ui-button.mw-ui-progressive:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}
}
 
.community-updates {
/* 分类条样式 */
  background: #fff0e6;
#catlinks,
  padding: 15px;
.catlinks {
  border-radius: 10px;
    background-color: rgb(var(--xp-window-bg)) !important;
  margin-top: 20px;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    padding: 0.5em !important;
    margin-top: 1em !important;
    font-family: var(--body-font) !important;
    box-shadow: var(--window-shadow) !important;
}
}
 
.community-updates ul li {
#catlinks a,
  list-style: none;
.catlinks a {
  padding: 10px;
    color: rgb(var(--link-color)) !important;
  background: #fff;
    text-decoration: none !important;
  margin: 5px 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
}
 
.community-updates ul li a {
#catlinks a:hover,
  color: #337ab7;
.catlinks a:hover {
  text-decoration: none;
    color: rgb(var(--hover-link-color)) !important;
  font-weight: bold;
    text-decoration: underline !important;
}
}
 
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
/* 工具栏样式 */
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
#footer-info,
background-color: var(--custom-table-alternate-background);
#footer-places,
.footer-places,
.footer-info {
    background-color: rgb(var(--xp-window-bg)) !important;
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
    color: rgb(var(--xp-text)) !important;
    padding: 0.5em 1em !important;
    font-family: var(--body-font) !important;
}
}


#footer-info a,
/* Infoboxes with tabber */
#footer-places a {
.tabber-container-infobox .tabber .tabbertab,
    color: rgb(var(--link-color)) !important;
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
background: none;
border: none;
}
}


#footer-info a:hover,
.tabber-container-infobox .tabber .tabbertab {
#footer-places a:hover {
padding: 0;
    color: rgb(var(--hover-link-color)) !important;
}
}


/* 主内容区背景 */
.tabber-container-infobox ul.tabbernav {
#content {
font: inherit;
    background-color: rgb(var(--xp-window-bg));
font-size: 100%;
    position: relative;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin: 10px auto;
    padding: 0;
    border-radius: 0;
}
}


/* 导航栏 */
.tabber-container-infobox ul.tabbernav li a:hover {
.navbar,
color: #000;
.navbar.navbar-default,
.navbar-light {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}
}


.navbar .navbar-brand,
.tabber-container-infobox ul.tabbernav > li {
.navbar .nav-link,
margin-bottom: 5px;
.navbar-light .navbar-nav .nav-link {
padding: 0;
     color: rgb(var(--link-color)) !important;
}
     font-family: var(--header-font) !important;
.announcement-content span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.mw-mainpage-header {
     background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
    box-shadow: grey 0px 0px 5px;
    border-radius: 20px;
    color: #000;
     font-size: 1.5em;
    text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 20px;
    text-align: center;
}
}


.navbar .nav-link:hover,
.mw-mainpage-header h1 {
.navbar-light .navbar-nav .nav-link:hover {
     font-size: 2.5em;
     color: rgb(var(--hover-link-color)) !important;
     margin-bottom: 10px;
     background-color: rgba(var(--xp-blue), 0.1) !important;
}
}


/* 下拉菜单 */
.mw-mainpage-header p {
.dropdown-menu {
     font-size: 1.2em;
     background-color: rgb(var(--xp-window-bg)) !important;
     margin: 5px 0;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
     border-radius: 0 !important;
}
}
 
.tabber-container-infobox ul.tabbernav > li > a {
.dropdown-item {
color: #595959;
    color: rgb(var(--link-color)) !important;
padding-bottom: 1px;
    font-family: var(--body-font) !important;
display: block;
}
}


.dropdown-item:hover {
/* To prevent the tabs from jumping around when they become active or inactive
    background-color: rgba(var(--xp-blue), 0.1) !important;
* due to the font-weight changing from normal to bold and vice versa, add an
    color: rgb(var(--hover-link-color)) !important;
* invisible ::before which contains the same text as the tab's text, but
* bolded. This way the element in which unbolded text sits is sized according
* to the bolded text, preventing it from resizing upon being selected.
*/
.tabber-container-infobox ul.tabbernav > li > a::before {
display: block;
content: attr(alt);
font-weight: bold;
height: 0;
color: transparent;
overflow: hidden;
visibility: hidden;
}
}


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


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


/* 工具栏 */
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
#p-tb, .tools-menu {
font-weight: bold;
    background-color: rgb(var(--xp-window-bg)) !important;
color: var(--link-color);
    border: 2px solid rgb(var(--xp-window-border)) !important;
border-bottom: 2px solid var(--custom-mcwiki-header-color);
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
}
}


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


/* 页脚 */
/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
#footer, .footer {
* but the wiki screws up sometimes.
    background-color: rgb(var(--xp-window-bg)) !important;
*/
    border: 2px solid rgb(var(--xp-window-border)) !important;
.infobox-rows dl + dl {
    border-top: 1px solid rgb(var(--xp-window-border)) !important;
margin-top: -0.4em;
    color: rgb(var(--xp-text)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
    margin: 10px auto !important;
    padding: 10px !important;
}
}


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


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


.btn:hover, .mw-ui-button:hover {
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
     background: linear-gradient(to bottom, #f9f9f9, #e9e9e9) !important;
table.navbox{
     box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
    border:1px solid #aaa;
    clear:both;
    margin:auto;
     padding:1px;
    text-align:center;
     width:100%;
}
}
 
/* 表格 */
table.navbox + table.navbox{
.wikitable, table.wikitable {
     margin-top:-1px;
     background-color: rgb(var(--xp-window-bg)) !important;
}
    border: 2px solid rgb(var(--xp-window-border)) !important;
     border-collapse: separate !important;
.navbox-title,
     border-spacing: 0 !important;
.navbox-abovebelow,
     box-shadow: var(--window-shadow) !important;
table.navbox th{
     padding-left:1em;
     padding-right:1em;
     text-align:center;
}
}
 
.wikitable th {
.navbox-group{
     background: linear-gradient(to bottom, #e3e3e3, #d0d0d0) !important;
     font-weight:700;
    border: 1px solid #ababab !important;
     white-space:nowrap;
     color: black !important;
    padding: 5px !important;
}
}
 
.wikitable td {
.navbox,
     border: 1px solid #ababab !important;
.navbox-subgroup{
    background-color: white !important;
     background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
    color: black !important;
    padding: 5px !important;
}
}
 
/* 代码块和预格式文本 */
.navbox-list{
pre, code, .mw-code {
     border-color:#fdfdfd;
     background-color: white !important;
    border: 1px solid #ababab !important;
    color: black !important;
    font-family: var(--mono-font) !important;
    padding: 5px !important;
}
}
 
/* 链接颜色 */
.navbox-title,
a {
table.navbox th{
     color: rgb(var(--link-color)) !important;
     background:none repeat scroll 0 0 #a5e4a5;
}
}
 
a:visited {
.navbox-abovebelow,
     color: rgb(var(--visited-link-color)) !important;
.navbox-group,
.navbox-subgroup .navbox-title{
     background:none repeat scroll 0 0 #c0ecc0;
}
}
 
a:hover {
.navbox-subgroup .navbox-group,
    color: rgb(var(--hover-link-color)) !important;
.navbox-subgroup .navbox-abovebelow{
     text-decoration: underline !important;
     background:none repeat scroll 0 0 #e6f6e6;
}
}
 
/* 扫描线动画 - 修改为半透明灰色 */
.navbox-even{
.scan-animation {
     background:none repeat scroll 0 0 #f5fcf5;
     position: fixed;
}
     width: 100%;
    height: 100%;
.navbox-odd{
     top: 0;
     background:none repeat scroll 0 0 #fdfdfd;
     left: 0;
}
     pointer-events: none;
.collapseButton {
     z-index: 9999;
     float: right;
     font-weight: 400;
     text-align: right;
     width: auto;
}
}
 
.navbox .collapseButton {
/* 主扫描线 - 较宽较慢 */
     width: 6em;
.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;
}
}
 
.navbar {
/* 副扫描线 - 中等速度 */
     position: relative;
.scan-animation::after {
     min-height: 23px !important;
    content: "";
     margin-bottom: 0px !important;
     position: absolute;
     border: 1px solid transparent;
    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;
}
}
 
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
/* 快速扫描线 - 细小快速 */
display: none;
.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;
}
}


/* 各个扫描线的动画 */
@media only screen and (max-width:759px){
@keyframes scanMain {
.infotable {
    0% {
    width: 90%;
        top: -2rem;
    float: none;
         opacity: 0.6;
    margin: 0 auto;
}
/*.navbox {*/
/* display:none;*/
/*}*/
/*“查·论·编”在小屏幕时基本用不到(也很难点到)*/
.navbox-title>div{
         display: none;
     }
     }
     50% {
     /*把内边距去掉*/
         opacity: 0.3;
    .navbox-group,
    }
    .navbox-group >div{
    100% {
         padding-left: 0 !important;
         top: 100vh;
         padding-right: 0 !important;
         opacity: 0.6;
         text-align: center;
     }
     }
}
}


@keyframes scanSecondary {
/* h1标题字体 */
     0% {
body h1 {
        top: -1rem;
     font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
        opacity: 0.4;
    }
    35% {
        opacity: 0.2;
    }
    70% {
        opacity: 0.5;
    }
    100% {
        top: 100vh;
        opacity: 0.4;
    }
}
}


@keyframes scanFast {
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
    0% {
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
        top: -0.3rem;
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        top: 100vh;
        opacity: 0.3;
    }
}


/* 保留原始的淡入效果 */
.heimu,
@keyframes fadeIn {
.heimu rt{
     from {
     --heimu-color:#252525;
        opacity: 0;
    --heimu-text-color:#fff;
        transform: translateY(20px);
    --heimu-link-color:#add8e6;
     }
     --heimu-visited-link-color:#c5cae9;
     to {
     --heimu-new-link-color:#fcc;
        opacity: 1;
    --heimu-new-visited-link-color:#ef9a9a;
        transform: translateY(0);
     --heimu-extiw-visited-link-color:#d1c4e9;
     }
}


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


/* 延迟动画 */
.heimu,
.mw-parser-output > *:nth-child(1) { animation-delay: 0.1s; }
.heimu a,
.mw-parser-output > *:nth-child(2) { animation-delay: 0.2s; }
a .heimu,
.mw-parser-output > *:nth-child(3) { animation-delay: 0.3s; }
a.new .heimu,
.mw-parser-output > *:nth-child(4) { animation-delay: 0.4s; }
span.heimu a:visited,
.mw-parser-output > *:nth-child(5) { animation-delay: 0.5s; }
span.heimu a.new,
.mw-parser-output > *:nth-child(n+6) { animation-delay: 0.6s; }
span.heimu a.external,
 
span.heimu a.external:visited,
/* 修复代码区域样式 */
span.heimu a.extiw,
.mw-highlight pre {
span.heimu a.extiw:visited,
     background-color: white !important;
span.heimu a.mw-disambig,
     border: 1px solid #ababab !important;
span.heimu a.mw-redirect{
     padding: 1em !important;
     transition:color 0.13s linear;
    overflow: auto !important;
     color:var(--heimu-color);
}
     text-shadow:none;
}


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


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


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


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


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


/* 保留黑幕效果 - 行826-947 */
span.heimu:hover a.extiw:visited,
.heimu,
a.extiw:visited:hover span.heimu{
.heimu rt{
     color:var(--heimu-extiw-visited-link-color);
     --heimu-color:#252525;
}
    --heimu-text-color:#fff;
[color-mode="dark"] .heimu,
    --heimu-link-color:#add8e6;
[color-mode="dark"] .heimu rt{
    --heimu-visited-link-color:#c5cae9;
     --heimu-color:#5e6272;
    --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,
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
a .heimu,
请使用hovers在页面中进行载入。
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,
/* hover状态切换 */
span.heimu:active{
.hover-change,
    color:var(--heimu-text-color);
.hover-remote {
  position: relative;
  display: inline-block;
  transition: opacity 0.5s linear;
}
}


span.heimu:hover a,
.hover-change-before,
a:hover span.heimu{
.hover-change-after,
    color:var(--heimu-link-color);
.hover-remote-target {
  transition: inherit;
}
}


span.heimu:hover a:visited,
.hover-change-after,
a:visited:hover span.heimu{
.hover-remote-target {
    color:var(--heimu-visited-link-color);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.hover-remote-target {
  left: 100%;
}
}


span.heimu:hover a.new,
.hover-change-after[style^='right:'],
a.new:hover span.heimu{
.hover-change-after[style*=' right:'],
    color:var(--heimu-new-link-color);
.hover-remote-after[style^='right:'],
.hover-remote-after[style*=' right:'] {
  left: initial;
}
}


span.heimu a.new:hover:visited,
.hover-change-after[style^='bottom:'],
a.new:hover:visited span.heimu{
.hover-change-after[style*=' bottom:'],
    color:var(--heimu-new-visited-link-color);
.hover-remote-after[style^='bottom:'],
.hover-remote-after[style*=' bottom:'] {
  top: initial;
}
}


span.heimu:hover a.extiw:visited,
.hover-change-after:hover,
a.extiw:visited:hover span.heimu{
.hover-remote-target {
    color:var(--heimu-extiw-visited-link-color);
  opacity: 0;
}
  margin-left: -9999px;
[color-mode="dark"] .heimu,
[color-mode="dark"] .heimu rt{
    --heimu-color:#5e6272;
}
}


/* 保留彩幕效果 - 行1778-1838 */
/* 主要用于制作hover形式的标签页(tab)切换 */
.colormu-drk {
.hover-tab-mode {
color: #FFF;
  position: relative;
  transition: none;
}
}
.colormu-bri {
.hover-tab-mode .hover-remote {
color: #000;
  transition: inherit;
  position: static;
}
}
.colormu-drk:not(.colormu_toggle_on) a {
 
color: #add8e6;
/* 闪烁效果 */
.hover-change.flash:hover .hover-change-before {
  margin-left: -9999px;
}
}
.colormu-drk:not(.colormu_toggle_on) a.new {
 
color: #FCC;
.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;
}
}
.colormu>span, .colormu a, .colormu a>span {
 
transition: color 0.2s;
.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;
}
}
 
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
/* 旋转放大 */
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
.hovers-rotate-shrink {
color: transparent;
  transition-duration: 0.5s;
  transform: rotate(0) scale(0.75);
}
}
.hovers-rotate-shrink:hover {
/* for T:Coloredlink in T:彩幕 */
  transform: rotate(360deg) scale(1);
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
color: transparent !important;
}
}
 
/* for T:彩幕 in link */
.hovers-rotate-shrink-reverse {
a .colormu-bri {
  transition-duration: 0.5s;
color: inherit;
  transform: rotate(360deg) scale(0.75);
}
a:hover .colormu>span, a:active .colormu>span,
/* and for MediaWiki:Gadget-heimu-toggle.js */
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
color: inherit !important;
}
}


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


.blackmu,
/* 旋转 */
.blackmu a,
.hovers-rotate,
a .blackmu,
.hovers-rotate-reverse:hover {
a.new .blackmu,
  transition-duration: 0.5s;
span.blackmu a:visited,
  transform: rotate(0);
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,
.hovers-rotate-reverse,
span.blackmu:active {
.hovers-rotate:hover {
    color: rgb(var(--blackmu-text-color));
  transition-duration: 0.5s;
  transform: rotate(360deg);
}
}


span.blackmu:hover a,
/* 正常 => 浅 */
a:hover span.blackmu {
.hovers-fade-deep,
    color: rgb(var(--blackmu-link-color));
.hovers-fade,
.hovers-fade-shallow {
  opacity: 1;
}
}
 
.hovers-fade-deep:hover,
/* 保留特效库代码 - 行949-1777 */
.hovers-fade-deep.active {
/*
   opacity: 0.35;
该文档为一个hover特效库,由一些常用的效果以及GitHub上的开源项目“Hover.css”的一些部分构成。
}
请使用hovers在页面中进行载入。
.hovers-fade:hover,
*/
.hovers-fade.active {
 
   opacity: 0.5;
/* hover状态切换 */
.hover-change,
.hover-remote {
   position: relative;
  display: inline-block;
   transition: opacity 0.5s linear;
}
}
 
.hovers-fade-shallow:hover,
.hover-change-before,
.hovers-fade-shallow.active {
.hover-change-after,
   opacity: 0.75;
.hover-remote-target {
   transition: inherit;
}
}


.hover-change-after,
/* 浅 => 正常 */
.hover-remote-target {
.hovers-bloom-deep {
   opacity: 0;
   opacity: 0.35;
  position: absolute;
  top: 0;
  left: 0;
}
}
.hover-remote-target {
.hovers-bloom {
   left: 100%;
   opacity: 0.5;
}
}
 
.hovers-bloom-shallow {
.hover-change-after[style^='right:'],
   opacity: 0.75;
.hover-change-after[style*=' right:'],
.hover-remote-after[style^='right:'],
.hover-remote-after[style*=' right:'] {
   left: initial;
}
}


.hover-change-after[style^='bottom:'],
.hovers-bloom-deep:hover,
.hover-change-after[style*=' bottom:'],
.hovers-bloom-deep.active,
.hover-remote-after[style^='bottom:'],
.hovers-bloom:hover,
.hover-remote-after[style*=' bottom:'] {
.hovers-bloom.active,
   top: initial;
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
   opacity: 1;
}
}


.hover-change-after:hover,
/* 正常 => 大 */
.hover-remote-target {
.hovers-grow-deep,
   opacity: 0;
.hovers-grow,
  margin-left: -9999px;
.hovers-grow-shallow {
   transform: scale(1);
}
}
 
.hovers-grow-deep:hover,
/* 主要用于制作hover形式的标签页(tab)切换 */
.hovers-grow-deep.active {
.hover-tab-mode {
   transform: scale(1.5);
   position: relative;
  transition: none;
}
}
.hover-tab-mode .hover-remote {
.hovers-grow:hover,
   transition: inherit;
.hovers-grow.active {
  position: static;
   transform: scale(1.25);
}
}
 
.hovers-grow-shallow:hover,
/* 闪烁效果 */
.hovers-grow-shallow.active {
.hover-change.flash:hover .hover-change-before {
   transform: scale(1.1);
   margin-left: -9999px;
}
}


.hover-change:hover > .hover-change-before,
/* 正常 => 小 */
.hover-remote > .hover-remote-target,
.hovers-shrink-deep:hover,
.hover-change:hover > a > .hover-change-before,
.hovers-shrink-deep.active,
.hover-remote > a > .hover-remote-target {
.hovers-shrink:hover,
   opacity: 0;
.hovers-shrink.active,
.hovers-shrink-shallow:hover,
.hovers-shrink-shallow.active {
   transform: scale(1);
}
}
 
.hovers-shrink-deep {
.hover-change:hover > .hover-change-after,
   transform: scale(0.5);
.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;
}
}
 
.hovers-shrink {
/* 基类 */
   transform: scale(0.75);
[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-shrink-shallow {
/* 旋转放大 */
   transform: scale(0.9);
.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;
@keyframes shake-flexible {
  transform: rotate(360deg) scale(0.75);
   25% {
}
    transform: translateX(-0.0625em);
  }


.hovers-rotate-shrink-reverse:hover {
  50% {
  transform: rotate(0) scale(1);
    transform: translateX(0.0625em);
}
  }


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


.hovers-rotate-reverse,
.hovers-shake-flexible:hover,
.hovers-rotate:hover {
.hovers-shake-flexible.active {
   transition-duration: 0.5s;
   animation: shake-flexible 0.5s ease-out;
  transform: rotate(360deg);
}
}


/* 正常 => 浅 */
@keyframes shake {
.hovers-fade-deep,
  25% {
.hovers-fade,
    transform: translateX(-8px);
.hovers-fade-shallow {
  }
   opacity: 1;
 
  50% {
    transform: translateX(8px);
  }
 
   75% {
    transform: translateX(-8px);
  }
}
}
.hovers-fade-deep:hover,
 
.hovers-fade-deep.active {
.hovers-shake:hover,
  opacity: 0.35;
.hovers-shake.active {
}
   animation: shake 0.5s ease-out;
.hovers-fade:hover,
.hovers-fade.active {
   opacity: 0.5;
}
.hovers-fade-shallow:hover,
.hovers-fade-shallow.active {
  opacity: 0.75;
}
}


/* 浅 => 正常 */
/* 上下抖动 */
.hovers-bloom-deep {
@keyframes bounce-flexible {
   opacity: 0.35;
   25% {
}
    transform: translateY(-0.0625em);
.hovers-bloom {
  }
  opacity: 0.5;
 
}
  50% {
.hovers-bloom-shallow {
    transform: translateY(0.0625em);
  opacity: 0.75;
  }
 
  75% {
    transform: translateY(-0.0625em);
  }
}
}


.hovers-bloom-deep:hover,
.hovers-bounce-flexible:hover,
.hovers-bloom-deep.active,
.hovers-bounce-flexible.active {
.hovers-bloom:hover,
  animation: bounce-flexible 0.5s ease-out;
.hovers-bloom.active,
.hovers-bloom-shallow:hover,
.hovers-bloom-shallow.active {
  opacity: 1;
}
}


/* 正常 => 大 */
@keyframes bounce {
.hovers-grow-deep,
  25% {
.hovers-grow,
    transform: translateY(-8px);
.hovers-grow-shallow {
  }
   transform: scale(1);
 
  50% {
    transform: translateY(8px);
   }
 
  75% {
    transform: translateY(-8px);
  }
}
}
.hovers-grow-deep:hover,
 
.hovers-grow-deep.active {
.hovers-bounce:hover,
   transform: scale(1.5);
.hovers-bounce.active {
}
   position: relative;
.hovers-grow:hover,
   left: 0;
.hovers-grow.active {
  animation: bounce 0.5s ease-out;
   transform: scale(1.25);
}
.hovers-grow-shallow:hover,
.hovers-grow-shallow.active {
  transform: scale(1.1);
}
}


/* 正常 => 小 */
/* 绕顶端中点抖动 */
.hovers-shrink-deep:hover,
@keyframes swing {
.hovers-shrink-deep.active,
   20% {
.hovers-shrink:hover,
    transform: rotate3d(0, 0, 1, 10deg);
.hovers-shrink.active,
  }
.hovers-shrink-shallow:hover,
 
.hovers-shrink-shallow.active {
   40% {
   transform: scale(1);
    transform: rotate3d(0, 0, 1, -10deg);
}
  }
.hovers-shrink-deep {
  transform: scale(0.5);
}
.hovers-shrink {
   transform: scale(0.75);
}
.hovers-shrink-shallow {
  transform: scale(0.9);
}


/* 左右抖动 */
   60% {
@keyframes shake-flexible {
     transform: rotate3d(0, 0, 1, 5deg);
   25% {
     transform: translateX(-0.0625em);
   }
   }


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


   75% {
   to {
     transform: translateX(-0.0625em);
     transform: rotate3d(0, 0, 1, 0deg);
   }
   }
}
}


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


@keyframes shake {
/* 正常 => 大 */
   25% {
@keyframes pulse-grow {
     transform: translateX(-8px);
   to {
     transform: scale(1.1);
   }
   }
}


  50% {
.hovers-pulse-grow:hover,
    transform: translateX(8px);
.hovers-pulse-grow.active {
  }
  animation: pulse-grow 0.5s linear infinite alternate;
}


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


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


/* 上下抖动 */
/* 正常 => 小 */
@keyframes bounce-flexible {
@keyframes push {
  25% {
    transform: translateY(-0.0625em);
  }
 
   50% {
   50% {
     transform: translateY(0.0625em);
     transform: scale(0.8);
  }
 
  75% {
    transform: translateY(-0.0625em);
   }
   }
}
}


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


@keyframes bounce {
/* 正常 => 大 */
  25% {
@keyframes pop {
    transform: translateY(-8px);
  }
 
   50% {
   50% {
     transform: translateY(8px);
     transform: scale(1.2);
   }
   }
}


  75% {
.hovers-pop:hover,
    transform: translateY(-8px);
.hovers-pop.active {
  }
  animation: pop 0.3s linear;
}
}


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


/* 绕顶端中点抖动 */
/* 正常 => 小 => 正常 => 小 */
@keyframes swing {
.hovers-bounce-out:hover,
   20% {
.hovers-bounce-out.active {
    transform: rotate3d(0, 0, 1, 10deg);
   transform: scale(0.8);
  }
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}


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


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


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


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


.hovers-swing {
/* 飘浮 */
   transform-origin: top center;
@keyframes bob {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
   }
  100% {
    transform: translateY(-10px);
  }
}
}
.hovers-swing:hover,
@keyframes bob-float {
.hovers-swing.active {
   100% {
  animation: swing 0.75s ease-out;
     transform: translateY(-10px);
}
 
/* 正常 => 大 */
@keyframes pulse-grow {
   to {
     transform: scale(1.1);
   }
   }
}
}


.hovers-pulse-grow:hover,
.hovers-bob:hover,
.hovers-pulse-grow.active {
.hovers-bob.active {
   animation: pulse-grow 0.5s linear infinite alternate;
   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 pulse-shrink {
@keyframes hang {
   to {
   0% {
     transform: scale(0.9);
    transform: translateY(10px);
  }
  50% {
     transform: translateY(5px);
  }
  100% {
    transform: translateY(10px);
   }
   }
}
}
 
@keyframes hang-sink {
.hovers-pulse-shrink:hover,
   100% {
.hovers-pulse-shrink.active {
     transform: translateY(10px);
  animation: pulse-shrink 0.5s linear infinite alternate;
}
 
/* 正常 => 小 */
@keyframes push {
   50% {
     transform: scale(0.8);
   }
   }
}
}


.hovers-push:hover,
.hovers-hang:hover,
.hovers-push.active {
.hovers-hang.active {
   animation: push 0.3s linear;
   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;
}
}


/* 正常 => 大 */
/* 非对称 */
@keyframes pop {
.hovers-skew:hover,
   50% {
.hovers-skew.active {
    transform: scale(1.2);
   transform: skew(-10deg);
  }
}
}


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


/* 正常 => 大 => 正常 => 大 */
/* 非对称-右 */
.hovers-bounce-in:hover,
.hovers-skew-backward {
.hovers-bounce-in.active {
   transform-origin: 0 100%;
   transform: scale(1.2);
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
}
 
.hovers-skew-backward:hover,
/* 正常 => 小 => 正常 => 小 */
.hovers-skew-backward.active {
.hovers-bounce-out:hover,
   transform: skew(10deg);
.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,
@keyframes wobble-vertical {
.hovers-tilt.active {
  16.65% {
  transition-duration: 0.3s;
    transform: translateY(8px);
   transform: rotate(4deg);
   }
}
  33.3% {
 
    transform: translateY(-6px);
/* 倾斜 + 放大 */
  }
.hovers-grow-rotate:hover,
  49.95% {
.hovers-grow-rotate.active {
    transform: translateY(4px);
  transition-duration: 0.3s;
  }
   transform: scale(1.1) rotate(4deg);
  66.6% {
    transform: translateY(-2px);
  }
  83.25% {
    transform: translateY(1px);
   }
  100% {
    transform: translateY(0);
  }
}
}


/* 升起 */
.hovers-wobble-vertical:hover,
.hovers-float:hover,
.hovers-wobble-vertical.active {
.hovers-float.active {
   animation-name: wobble-vertical;
   transition-duration: 0.3s;
  animation-duration: 1s;
   transition-timing-function: ease-out;
   animation-timing-function: ease-in-out;
   transform: translateY(-8px);
   animation-iteration-count: 1;
}
}


/* 下沉 */
/* 水平抖动 */
.hovers-sink:hover,
@keyframes wobble-horizontal {
.hovers-sink.active {
  16.65% {
  transition-duration: 0.3s;
    transform: translateX(8px);
   transition-timing-function: ease-out;
   }
   transform: translateY(8px);
   33.3% {
}
    transform: translateX(-6px);
 
  }
/* 飘浮 */
   49.95% {
@keyframes bob {
     transform: translateX(4px);
   0% {
     transform: translateY(-10px);
   }
   }
   50% {
   66.6% {
     transform: translateY(-5px);
     transform: translateX(-2px);
   }
   }
   100% {
   83.25% {
     transform: translateY(-10px);
     transform: translateX(1px);
   }
   }
}
@keyframes bob-float {
   100% {
   100% {
     transform: translateY(-10px);
     transform: translateX(0);
   }
   }
}
}
 
.hovers-wobble-horizontal:hover,
.hovers-bob:hover,
.hovers-wobble-horizontal.active {
.hovers-bob.active {
   animation-name: wobble-horizontal;
   animation-name: bob-float, bob;
   animation-duration: 1s;
   animation-duration: 0.3s, 1.5s;
   animation-timing-function: ease-in-out;
  animation-delay: 0s, 0.3s;
   animation-iteration-count: 1;
   animation-timing-function: ease-out, ease-in-out;
   animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards;
  animation-direction: normal, alternate;
}
}


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


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


/* 非对称 */
/* 右上弹回 */
.hovers-skew:hover,
@keyframes wobble-to-top-right {
.hovers-skew.active {
   16.65% {
  transform: skew(-10deg);
     transform: translate(8px, -8px)
}
   }
 
   33.3% {
/* 非对称-左 */
     transform: translate(-6px, 6px);
.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% {
   49.95% {
     transform: translateY(4px);
     transform: translate(4px, -4px);
   }
   }
   66.6% {
   66.6% {
     transform: translateY(-2px);
     transform: translate(-2px, 2px);
   }
   }
   83.25% {
   83.25% {
     transform: translateY(1px);
     transform: translate(1px, -1px);
   }
   }
   100% {
   100% {
     transform: translateY(0);
     transform: translate(0);
   }
   }
}
}


.hovers-wobble-vertical:hover,
.hovers-wobble-to-top-right:hover,
.hovers-wobble-vertical.active {
.hovers-wobble-to-top-right.active {
   animation-name: wobble-vertical;
   animation-name: wobble-to-top-right;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,304行: 第1,091行:
}
}


/* 水平抖动 */
/* 果冻 */
@keyframes wobble-horizontal {
@keyframes wobble-top {
   16.65% {
   16.65% {
     transform: translateX(8px);
     transform: skew(-12deg);
   }
   }
   33.3% {
   33.3% {
     transform: translateX(-6px);
     transform: skew(10deg);
   }
   }
   49.95% {
   49.95% {
     transform: translateX(4px);
     transform: skew(-6deg);
   }
   }
   66.6% {
   66.6% {
     transform: translateX(-2px);
     transform: skew(4deg);
   }
   }
   83.25% {
   83.25% {
     transform: translateX(1px);
     transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: translateX(0);
     transform: skew(0);
   }
   }
}
}
.hovers-wobble-horizontal:hover,
 
.hovers-wobble-horizontal.active {
/* 赘肉 */
   animation-name: wobble-horizontal;
.hovers-wobble-top {
  transform-origin: 0 100%;
}
.hovers-wobble-top:hover,
.hovers-wobble-top.active {
   animation-name: wobble-top;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,333行: 第1,125行:
}
}


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


.hovers-wobble-to-bottom-right:hover,  
.hovers-wobble-bottom {
.hovers-wobble-to-bottom-right.active {
  transform-origin: 100% 0;
   animation-name: wobble-to-bottom-right;
}
.hovers-wobble-bottom:hover,
.hovers-wobble-bottom.active {
   animation-name: wobble-bottom;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,363行: 第1,157行:
}
}


/* 右上弹回 */
/* 颤动 */
@keyframes wobble-to-top-right {
@keyframes wobble-skew {
   16.65% {
   16.65% {
     transform: translate(8px, -8px)
     transform: skew(-12deg);
   }
   }
   33.3% {
   33.3% {
     transform: translate(-6px, 6px);
     transform: skew(10deg);
   }
   }
   49.95% {
   49.95% {
     transform: translate(4px, -4px);
     transform: skew(-6deg);
   }
   }
   66.6% {
   66.6% {
     transform: translate(-2px, 2px);
     transform: skew(4deg);
   }
   }
   83.25% {
   83.25% {
     transform: translate(1px, -1px);
     transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: translate(0);
     transform: skew(0);
   }
   }
}
}
 
.hovers-wobble-skew:hover,
.hovers-wobble-to-top-right:hover,
.hovers-wobble-skew.active {
.hovers-wobble-to-top-right.active {
   animation-name: wobble-skew;
   animation-name: wobble-to-top-right;
   animation-duration: 1s;
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-timing-function: ease-in-out;
第1,393行: 第1,186行:
}
}


/* 果冻 */
/* 振动 */
@keyframes wobble-top {
@keyframes buzz {
   16.65% {
   50% {
     transform: skew(-12deg);
     transform: translateX(3px) rotate(2deg);
   }
   }
   33.3% {
   100% {
     transform: skew(10deg);
     transform: translateX(-3px) rotate(-2deg);
   }
   }
   49.95% {
}
     transform: skew(-6deg);
 
   }
.hovers-buzz:hover,
   66.6% {
.hovers-buzz.active {
     transform: skew(4deg);
  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);
   }
   }
   83.25% {
   40% {
     transform: skew(-2deg);
     transform: translateX(-3px) rotate(-2deg);
   }
   }
   100% {
   50% {
     transform: skew(0);
     transform: translateX(2px) rotate(1deg);
   }
   }
}
   60% {
 
     transform: translateX(-2px) rotate(-1deg);
/* 赘肉 */
.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% {
   70% {
     transform: skew(10deg);
     transform: translateX(2px) rotate(1deg);
   }
   }
   49.95% {
   80% {
     transform: skew(-6deg);
     transform: translateX(-2px) rotate(-1deg);
   }
   }
   66.6% {
   90% {
     transform: skew(4deg);
     transform: translateX(1px) rotate(0);
  }
  83.25% {
    transform: skew(-2deg);
   }
   }
   100% {
   100% {
     transform: skew(0);
     transform: translateX(-1px) rotate(0);
   }
   }
}
}


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


/* 颤动 */
/* 右移 */
@keyframes wobble-skew {
.hovers-forward:hover,
  16.65% {
.hovers-forward.active {
    transform: skew(-12deg);
   transform: translateX(8px);
  }
  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 {
.hovers-backward:hover,
  50% {
.hovers-backward.active {
    transform: translateX(3px) rotate(2deg);
   transform: translateX(-8px);
  }
   100% {
    transform: translateX(-3px) rotate(-2deg);
  }
}
}


.hovers-buzz:hover,
/* 自由移动 */
.hovers-buzz.active {
.hovers-top,
  animation-name: buzz;
.hovers-left,
   animation-duration: 0.15s;
.hovers-bottom,
  animation-timing-function: linear;
.hovers-right {
  animation-iteration-count: infinite;
   transition: all 0.5s;
}
}


/* 振出 */
.hovers-top:hover,
@keyframes buzz-out {
.hovers-top.active {
  10% {
   transform: translateY(-0.0625em);
    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);
}
}


第2,067行: 第1,765行:
/* [[Category:在模板名字空间下的CSS页面]] */
/* [[Category:在模板名字空间下的CSS页面]] */


 
/*
/* 信息框样式 - Windows XP风格 */
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
.infobox,
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
.notaninfobox {
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
    position: relative;
*/
    clear: right;
    float: right;
.colormu-drk {
    margin: 0 0 1em 1em;
color: #FFF;
    width: 350px;
    font-size: 90%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 0;
    overflow: auto;
    z-index: 1;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
}
 
.colormu-bri {
@media all and (max-width: 511px) {
color: #000;
    .notaninfobox {
        float: none;
        margin-left: 0;
        width: auto;
    }
}
}
 
.colormu-drk:not(.colormu_toggle_on) a {
.infobox tr:not(:first-child) td {
color: #add8e6;
    border-bottom: 1px solid #ababab;
}
}
 
.colormu-drk:not(.colormu_toggle_on) a.new {
@media all and (max-width: 337px) {
color: #FCC;
    .notaninfobox {
        margin-left: -16px;
        margin-right: -16px;
        border-left: none;
        border-right: none;
    }
}
}
 
.colormu>span, .colormu a, .colormu a>span {
.notaninfobox > .infobox-title,
transition: color 0.2s;
.infobox th {
    position: relative;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 120%;
    padding: 5px;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
}
}
 
.notaninfobox > .infobox-title::after,
.colormu:not(:hover):not(:active):not(.colormu_toggle_on)>span,
.infobox th::after {
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a {
    content: "×";
color: transparent;
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}
 
.infobox-imagearea {
/* for T:Coloredlink in T:彩幕 */
    text-align: center;
.colormu:not(:hover):not(:active):not(.colormu_toggle_on) a>span {
    padding: 8px;
color: transparent !important;
    background-color: white;
}
}
 
.infobox-imagearea > div:not(:first-child) {
/* for T:彩幕 in link */
    padding-top: 1em;
a .colormu-bri {
color: inherit;
}
}
 
a:hover .colormu>span, a:active .colormu>span,
/* Horizontally centre animated images */
/* and for MediaWiki:Gadget-heimu-toggle.js */
.infobox-imagearea .animated {
.colormu-drk.colormu_toggle_on, .colormu_toggle_on>span, .colormu-drk.colormu_toggle_on a>span {
    display: inline-flex;
color: inherit !important;
    align-items: center;
}
}
 
/* === 轮播图容器 === */
.notaninfobox .infobox-rows {
.mw-carousel {
    display: grid;
  position: relative;
    grid-template-columns: max-content 1fr;
  width: 100%;
    gap: 1px;
  max-width: 960px;
    background-color: white;
  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;
}
}


.infobox .plainlinks a {
/* === 图片区域 === */
    color: rgb(var(--link-color)) !important;
.mw-carousel .carousel-image {
    text-decoration: underline;
  width: 100%;
  height: 100%;
  position: relative;
}
}


.infobox .plainlinks a:visited {
.mw-carousel .carousel-image img {
    color: rgb(var(--visited-link-color)) !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
}


.notaninfobox .infobox-rows .infobox-row {
/* === 默认状态下的文字:底部横条,文字靠左 === */
    display: contents;
.mw-carousel .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: white;
  padding: 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);
}
}


.notaninfobox .infobox-row .infobox-row-label,
/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
.notaninfobox .infobox-row .infobox-row-field {
.mw-carousel:hover .carousel-caption {
    padding: 4px 8px;
  top: 0;
    border: 1px solid #ababab;
  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);
}
}


.notaninfobox .infobox-row .infobox-row-label {
/* === 标题 + 描述样式 === */
    font-weight: bold;
.mw-carousel .carousel-caption h3 {
    display: flex;
  margin: 0 0 0.5em;
    align-items: center;
  font-size: 1.6em;
    background-color: #f0f0f0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
}


.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
.mw-carousel .carousel-caption p {
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
  margin: 0;
    background-color: #f9f9f9;
  font-size: 1.1em;
  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);
}
}


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


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


.community-updates ul {
/* === 左右切换按钮(垂直居中) === */
    margin-top: 30px;
.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 1.5em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
}


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


.community-updates ul li a {
.mw-carousel .carousel-prev,
    color: rgb(var(--link-color));
.mw-carousel .carousel-next {
    text-decoration: none;
  background-color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 48px;
  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;
}
}


/* Infoboxes with tabber */
.mw-carousel .carousel-prev:hover,
.tabber-container-infobox .tabber .tabbertab,
.mw-carousel .carousel-next:hover {
.tabber-container-infobox ul.tabbernav li a,
  background-color: rgba(255, 255, 255, 0.95);
.tabber-container-infobox ul.tabbernav li.tabberactive a {
  transform: scale(1.05);
    background: none;
    border: none;
}
}


.tabber-container-infobox .tabber .tabbertab {
/* === 指示器 - 修改为底部右侧 === */
    padding: 0;
.mw-carousel .carousel-indicators {
  position: absolute;
  bottom: 15px;
  right: 20px;  /* 改为右对齐 */
  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);
}
}


.tabber-container-infobox ul.tabbernav {
.mw-carousel .carousel-indicators .indicator {
    font: inherit;
  width: 10px;
    font-size: 100%;
  height: 10px;
    border-bottom: 1px solid #ababab;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
}


.tabber-container-infobox ul.tabbernav li a:hover {
.mw-carousel .carousel-indicators .indicator.active {
    color: rgb(var(--hover-link-color));
  background-color: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
}


.tabber-container-infobox ul.tabbernav > li {
.mw-carousel .carousel-indicators .indicator:hover {
    margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.8);
    padding: 0;
}
}


.announcement-content span {
/* === 图片全局统一显示效果 === */
    display: inline-block;
img {
    white-space: nowrap;
  max-width: 100%;
    animation: marquee 15s linear infinite;
  height: auto;
  display: block;
}
}


@keyframes marquee {
/* === 添加图片过渡效果 === */
    0% { transform: translate(100%, 0); }
.mw-carousel .carousel-image img {
    100% { transform: translate(-100%, 0); }
  transition: transform 0.5s ease;
}
}


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


.mw-mainpage-header::before {
 
    content: "Welcome";
/* Common styles */
    position: absolute;
.section-title {
    top: 0;
  background-color: #f0f0f0;
    left: 0;
  color: #333;
    right: 0;
  font-weight: bold;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  padding: 0.5rem 1rem;
    color: white;
  font-size: 1.2rem;
    padding: 5px 10px;
  border-left: 4px solid #3366cc;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}
}


.mw-mainpage-header h1 {
.see-more {
    font-size: 2.5em;
  text-align: right;
    margin-bottom: 10px;
  padding: 0.3rem 1rem;
    background: none;
  font-size: 0.9rem;
    color: rgb(var(--xp-text));
  background-color: #f5f5f5;
    text-shadow: none;
}
}


.mw-mainpage-header p {
.see-more a {
    font-size: 1.2em;
  color: #3366cc;
    margin: 5px 0;
}
}


.tabber-container-infobox ul.tabbernav > li > a {
/* 主页横幅样式 */
    color: rgb(var(--link-color));
.main-page-banner {
    padding: 5px 10px;
  display: grid;
    display: block;
  grid-template-areas:
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    "welcome welcome welcome"
    border: 1px solid #ababab;
    "discord faq join";
    border-bottom: none;
  grid-template-columns: 1fr 1fr 1fr;
    border-radius: 3px 3px 0 0;
  grid-column-gap: 3%;
  margin-bottom: 4rem;
  width: 100%;
  box-sizing: border-box;
}
}


/* To prevent the tabs from jumping around when they become active or inactive */
/* 欢迎文本区域 */
.tabber-container-infobox ul.tabbernav > li > a::before {
.main-page-banner .welcome-text {
    display: block;
  grid-area: welcome;
    content: attr(alt);
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
    font-weight: bold;
  color: rgb(var(--white-monochrome, 252, 252, 252));
    height: 0;
  font-style: italic;
    color: transparent;
  padding: 1.5rem;
    overflow: hidden;
  border-radius: 1rem 1rem 0 0;
    visibility: hidden;
  margin: 0;
  width: 100%;
}
}


.tabber-container-infobox ul.tabbernav > li.tabberactive {
.main-page-banner .welcome-text p {
    border: none;
  margin: 0;
  color: rgb(var(--white-monochrome, 252, 252, 252));
}
}


/* ModuleBox - Windows XP风格 */
/* 导航链接区域 */
.modulebox {
.main-page-banner .navigation-links {
    border: 2px solid rgb(var(--xp-window-border));
  display: grid;
    padding: 30px 10px 10px;
  grid-template-columns: 1fr 1fr 1fr;
    margin: 10px 0;
  grid-column-gap: 3%;
    background-color: rgb(var(--xp-window-bg));
  grid-area: discord / discord / join / join;
    position: relative;
  width: 100%;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
}


.modulebox::before {
.main-page-banner .nav-button {
    content: "Module";
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
    position: absolute;
  border-radius: 0 0 1rem 1rem;
    top: 0;
  margin: 0 0 4rem 0;
    left: 0;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
    right: 0;
  height: min-content;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
}
}


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


.infobox-rows p {
.main-page-banner .nav-button a {
    margin: 0;
  display: block;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
  color: rgb(var(--white-monochrome, 0, 0, 0));
  font-size: 1.25rem;
  transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
  text-decoration: none;
}
}


.infobox-rows dl + dl {
.main-page-banner .nav-button a:hover {
    margin-top: -0.4em;
  padding: 2rem 0;
  text-decoration: none;
}
}


.infobox-rows dl:last-child {
/* 针对背景图片的设置 */
    margin-bottom: 0.2em;
.main-page-banner {
  position: relative;
  z-index: 1;
}
}


.infobox-footer {
.main-page-banner::before {
    text-align: center;
  content: "";
    padding: 5px;
  position: absolute;
    background-color: #f0f0f0;
  top: 0;
    border-top: 1px solid #ababab;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('您的背景图片URL');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* 调整透明度使文字可读 */
  z-index: -1;
  border-radius: 1rem;
}
}


/* 导航框(查论编)- Windows XP风格 */
/* 响应式布局 */
table.navbox {
@media (max-width: 767px) {
     border: 2px solid rgb(var(--xp-window-border));
  .main-page-banner {
     clear: both;
     grid-template-areas:  
     margin: 1em auto;
      "welcome"
     padding: 0;
      "navigation";
     text-align: center;
    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%;
     width: 100%;
     background-color: rgb(var(--xp-window-bg));
     overflow: visible;
     box-shadow: var(--window-shadow);
  }
     border-collapse: separate;
 
    border-spacing: 0;
  .main-page-banner .nav-button {
     border-radius: 0;
    flex: 1;
    margin: 0 0 4rem 0;
  }
 
  .main-page-banner .nav-button:not(:last-child) {
     margin-right: 3%;
  }
 
  .main-page-banner .nav-button a {
     font-size: 1.1rem;
  }
 
  .main-page-banner .nav-button:hover {
     margin: 0 0 1rem 0;
  }
}
}
 
/* Announcement styles */
table.navbox + table.navbox {
.announcement-container {
    margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}
}


.navbox-title,
.announcement-container .section-title {
.navbox-abovebelow,
  width: 100%;
table.navbox th {
  text-align: center;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  font-size: 1.5rem;
    color: white;
  border-left: none;
    padding: 5px 10px;
  border-bottom: 2px solid #f0f0f0;
    text-align: center;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
}
}


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


.navbox-group {
.announcement-container .more-content {
    background-color: #f0f0f0;
  width: 100%;
    border: 1px solid #ababab;
  border-top: 2px solid #f0f0f0;
    color: black;
}
    font-weight: bold;
.announcement-container .collapsible-block.active .collapsible-content {
    padding: 5px;
  display: block;
    text-align: right;
}
    white-space: nowrap;
.announcement-container .collapsible-block {
  width: 100%;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}
}


.navbox-list {
.announcement-container .more-content .collapsible-block.active .collapsible-content {
    background-color: white;
  display: block !important;
    border: 1px solid #ababab;
}
    padding: 5px;
.announcement-container .collapsible-header {
    text-align: left;
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
}
}


.navbox,
.announcement-container .collapsible-header:hover {
.navbox-subgroup {
  background: rgba(240, 240, 240, 1);
    background-color: rgb(var(--xp-window-bg));
}
}


.navbox-subgroup .navbox-title {
.announcement-container .collapsible-content {
    background-color: #c0d8f0;
  padding: 1rem;
    color: black;
  background: #f5f5f5;
    text-shadow: none;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}
}


.navbox-subgroup .navbox-group,
.announcement-container .more-content .collapsible-block.active .collapsible-content {
.navbox-subgroup .navbox-abovebelow {
  display: block !important;
    background-color: #e6f0f9;
}
/* Recent pages styles */
.main-page-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}
}


.navbox-even {
.recent-pages-container {
    background-color: #f9f9f9;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1rem;
}
}


.navbox-odd {
.recent-pages-container .page-section {
    background-color: white;
  flex-basis: 48%;
  display: grid;
  grid-template-areas: "title" "page" "more";
  grid-template-rows: auto 1fr auto;
  border: 1px solid #f0f0f0;
}
}


.collapseButton {
.recent-pages-container .section-title {
    float: right;
  grid-area: title;
    font-weight: 400;
    text-align: right;
    width: auto;
}
}


.navbox .collapseButton {
.recent-pages-container .page-list {
    width: 6em;
  grid-area: page;
  border: solid #f0f0f0;
  border-width: 0 1px;
  padding: 0.5rem 1rem;
  background-color: #fafafa;
  max-height: 15rem;
  overflow-y: auto;
}
}


.navbar {
.recent-pages-container .page-list a {
    position: relative;
  display: block;
    min-height: 23px !important;
  padding: 0.3rem 0;
    margin-bottom: 0px !important;
  border-bottom: 1px solid #f0f0f0;
    border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
}


.navbox-title .Wikiplus-Edit-EveryWhereBtn {
.recent-pages-container .page-list a:last-child {
    display: none;
  border-bottom: none;
}
}


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


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


/* 欢迎文本区域 - Windows XP样式 */
.featured-content-container .feature-item {
.main-page-banner .welcome-text {
  flex-basis: 48%;
    grid-area: welcome;
  display: grid;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  grid-template-areas: "title" "content" "more";
    color: white;
  grid-template-rows: auto 1fr auto;
    padding: 30px 20px 20px;
  border: 1px solid #f0f0f0;
    margin: 0;
  margin-bottom: 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    border-radius: 0;
    z-index: 2;
    text-shadow: var(--text-shadow);
}
}


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


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


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


.main-page-banner .welcome-text .min-button {
.featured-content-container .feature-content .featured-author {
    right: 45px;
  font-size: 0.9rem;
    content: "_";
  color: #666;
    line-height: 13px;
  margin-bottom: 0.5rem;
}
}


.main-page-banner .welcome-text .max-button {
.featured-content-container .feature-content .featured-description {
    right: 25px;
  font-style: italic;
    content: "□";
  color: #444;
}
}


.main-page-banner .welcome-text p {
.featured-content-container .see-more {
    position: relative;
  grid-area: more;
    z-index: 2;
    margin: 0;
    font-size: 1.1em;
}
}


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


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


.main-page-banner .nav-button:hover {
.tools-container .tool-item {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  background: #f5f5f5;
     transform: translateY(-3px);
  color: #333;
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  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;
  border-left: 4px solid #3366cc;
}
}


.main-page-banner .nav-button:active {
.tools-container .tool-item .tool-icon {
    background: linear-gradient(to bottom, #e0e0e0, #f0f0f0);
  grid-area: icon;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  justify-self: center;
    transform: translateY(0);
  align-self: end;
}
}


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


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


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


.announcement-container .section-title {
/* News styles */
    width: 100%;
.news-container {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  display: flex;
    color: white;
  flex-wrap: wrap;
    padding: 5px 10px;
  border: 2px solid #f0f0f0;
    font-family: var(--title-font);
  align-content: space-between;
    font-size: 1.3rem;
    text-align: left;
    border-left: none;
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-shadow: var(--text-shadow);
    position: relative;
}
}


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


.announcement-container .announcement-content {
.news-container .news-content {
    background-color: white;
  background-color: #fafafa;
    color: black;
  width: 100%;
    padding: 10px;
  padding: 0.75rem;
    width: 100%;
}
}


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


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


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


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


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


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


.recent-pages-container .page-list a {
/* Carousel styles */
    display: block;
/* Import styles from main.scss file */
    padding: 3px 0;
.carousel-container {
    border-bottom: 1px solid #e0e0e0;
  position: relative;
    color: rgb(var(--link-color));
  overflow: hidden;
    white-space: nowrap;
  margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
}


.recent-pages-container .page-list a:last-child {
.carousel-container .rolling {
    border-bottom: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
}


.recent-pages-container .see-more {
/* Add more carousel styles converted from SCSS */
     grid-area: more;
/* These would need to be adapted from the complex SCSS you provided */
    background-color: #f0f0f0;
 
    padding: 5px 10px;
/* Responsive styles */
    text-align: right;
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
 
  .recent-pages-container .page-section,
  .featured-content-container .feature-item {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
 
  .tools-container {
     grid-template-columns: 1fr;
  }
}
/* 为主内容区域添加半透明模糊白色效果 - 只针对最外层容器 */
.mw-body,
#content {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  min-height: 500px !important;
}
}


.recent-pages-container .see-more a {
/* 确保标题与新的背景相协调 */
    color: rgb(var(--link-color));
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 0.3em !important;
}
}
/* ===== 变色龙皮肤顶栏毛玻璃效果 - 修复点击与悬停兼容版 ===== */


/* 特色内容容器 - Windows XP风格 */
/* 1. 顶栏基础样式 - 半透明毛玻璃效果 */
.featured-content-container .feature-content .featured-description {
html body nav.navbar,
    font-style: italic;
html body div.navbar,
    color: #444;
html body .navbar-fixed-top,
html body .navbar-default,
html body .navbar-collapse {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
 
  /* 解决z-index问题 */
  position: relative !important;
  z-index: 9999 !important;
}
}


.featured-content-container .see-more {
/* 2. 导航链接样式 */
    grid-area: more;
.navbar .nav > li > a,
    background-color: #f0f0f0;
.navbar-nav > li > a {
    padding: 5px 10px;
  color: rgba(0, 0, 0, 0.75) !important;
    text-align: right;
  transition: all 0.25s ease !important;
  padding: 15px 20px !important;
  font-weight: 500 !important;
}
}


.featured-content-container .see-more a {
/* 3. 链接悬停效果 */
    color: rgb(var(--link-color));
.navbar .nav > li > a:hover,
.navbar-nav > li > a:hover {
  color: rgba(0, 0, 0, 0.95) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  transform: scale(1.05) !important;
}
}


/* 工具和资源容器 - Windows XP风格 */
/* 4. 下拉菜单样式 */
.tools-and-resources {
.dropdown-menu {
    margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
 
  /* z-index修复 */
  z-index: 10000 !important;
}
}


.tools-container {
/* 5. 下拉菜单项样式 */
    display: grid;
.dropdown-menu > li > a {
    grid-template-columns: 1fr 1fr;
  padding: 10px 20px !important;
    grid-gap: 1rem;
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.2s ease !important;
}
}


.tools-container .tool-item {
/* 6. 下拉菜单项悬停效果 */
    background-color: rgb(var(--xp-window-bg));
.dropdown-menu > li > a:hover {
    border: 2px solid rgb(var(--xp-window-border));
  background-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: var(--window-shadow);
  color: rgba(0, 0, 0, 0.95) !important;
    padding: 30px 10px 10px;
  transform: translateX(5px) !important;
    display: grid;
  font-weight: 500 !important;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}
}


.tools-container .tool-item::before {
/* 7. 确保主内容区域不会覆盖导航栏 */
    content: "Tool";
.mw-body,
    position: absolute;
#content,  
    top: 0;
#mw-content-text,
    left: 0;
.mw-parser-output {
    right: 0;
  z-index: 1 !important;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
  position: relative !important;
    color: white;
}
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}


.tools-container .tool-item::after {
/* 8. 移动设备特殊处理 */
     content: "×";
@media (max-width: 767px) {
     position: absolute;
  .navbar-collapse {
     top: 2px;
     background-color: rgba(255, 255, 255, 0.95) !important;
     right: 5px;
     max-height: 80vh !important;
    width: 16px;
     overflow-y: auto !important;
    height: 16px;
     z-index: 10001 !important;
     background-color: #ff6347;
  }
    border: 1px solid rgb(var(--xp-window-border));
 
     text-align: center;
  .navbar-nav .open .dropdown-menu {
     line-height: 16px;
     background-color: rgba(245, 245, 245, 0.9) !important;
     font-size: 12px;
     border-radius: 0 !important;
    color: white;
     margin: 0 !important;
     cursor: pointer;
     padding: 0 !important;
    z-index: 1;
  }
 
  .dropdown-menu > li > a:hover {
     transform: translateX(3px) !important;
  }
}
}


.tools-container .tool-item .tool-icon {
/* 9. 浏览器兼容性处理 */
    grid-area: icon;
@supports not (backdrop-filter: blur(10px)) {
    justify-self: center;
  .navbar, .dropdown-menu {
    align-self: center;
     background-color: rgba(255, 255, 255, 0.95) !important;
     background-color: white;
  }
    border: 1px solid #ababab;
    padding: 5px;
}
}


.tools-container .tool-item .tool-title {
/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
    grid-area: title;
.navbar-userloggedin,
    text-align: center;
#personal-inner,
}
#p-personal .vector-menu-content-list > li:first-child,
 
.navbar-personaltools > li:first-child {
.tools-container .tool-item .tool-title a {
    color: rgb(var(--link-color));
    font-weight: bold;
}
 
.tools-container .tool-item .tool-description {
    grid-area: content;
    background-color: white;
    border: 1px solid #ababab;
    padding: 8px;
}
 
/* 新闻容器 - Windows XP风格 */
.news-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
     position: relative;
     position: relative;
     border-radius: 0;
     padding-left: 30px !important;
}
}


.news-container .section-title {
.navbar-userloggedin::before,
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
#personal-inner::before,
     color: white;
#p-personal .vector-menu-content-list > li:first-child > a::before,
     padding: 5px 30px 5px 10px;
.navbar-personaltools > li:first-child > a::before {
     font-weight: bold;
    content: "";
     text-shadow: var(--text-shadow);
     position: absolute;
     border-bottom: 1px solid rgb(var(--xp-window-border));
     left: 5px;
     position: relative;
     top: 50%;
     text-align: left;
     transform: translateY(-50%);
     width: 100%;
    width: 24px;
     border-left: none;
    height: 24px;
     border-radius: 50%;
     background-size: cover;
     background-position: center;
     border: 1px solid rgb(var(--bright-accent));
     z-index: 100;
}
}


.news-container .section-title::after {
/* 头像悬停效果 */
    content: "×";
.navbar-userloggedin:hover::before,
    position: absolute;
#personal-inner:hover::before,
    top: 5px;
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
    right: 5px;
.navbar-personaltools > li:first-child > a:hover::before {
    width: 16px;
     transform: translateY(-50%) scale(1.2) !important;
     height: 16px;
     box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
     background-color: #ff6347;
     border-color: rgb(var(--white-monochrome)) !important;
    border: 1px solid rgb(var(--xp-window-border));
     text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}
 
/* 主页横幅样式 - 美化版 */
.news-container .news-content {
.main-page-banner {
     background-color: white;
  display: grid !important;
    padding: 10px;
  grid-template-areas:
    width: 100%;
    "welcome welcome welcome"
    border-bottom: 1px solid #ababab;
     "discord faq join" !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  margin-bottom: 4rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  z-index: 1 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}
}


.news-container .news-content .news-item {
/* 欢迎文本区域 */
    border-bottom: 1px solid #e0e0e0;
.main-page-banner .welcome-text {
    padding: 5px 0;
  grid-area: welcome !important;
  background: linear-gradient(135deg, rgba(235, 238, 245, 0.95), rgba(210, 225, 240, 0.95)) !important;
  color: #3a4a5a !important;
  font-style: normal !important;
  padding: 2rem !important;
  border-radius: 1rem 1rem 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.5s ease !important;
  z-index: 2 !important;
}
}


.news-container .news-content .news-item:last-child {
/* 欢迎文本背景图片 */
    border-bottom: none;
.main-page-banner .welcome-text::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/aoh2wiki/images/b/be/Banner_Default.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.15 !important;
  z-index: -1 !important;
  transition: opacity 0.8s ease, transform 1.2s ease !important;
  transform: scale(1.05) !important;
}
}


.news-container .news-content .news-title {
.main-page-banner .welcome-text p {
    font-weight: bold;
  margin: 0 !important;
    margin-bottom: 3px;
  color: #3a4a5a !important;
    color: rgb(var(--xp-blue-dark));
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
  position: relative !important;
  z-index: 2 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}
}


.news-container .news-content .news-date {
/* 导航链接区域 */
    font-size: 0.8rem;
.main-page-banner .navigation-links {
    color: #666;
  display: grid !important;
    margin-bottom: 3px;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  grid-area: discord / discord / join / join !important;
  width: 100% !important;
  background: linear-gradient(to bottom, rgba(225, 235, 245, 0.9), rgba(215, 225, 235, 0.9)) !important;
  padding: 0.5rem !important;
  border-radius: 0 0 1rem 1rem !important;
}
}


.news-container .news-archive {
.main-page-banner .nav-button {
    background-color: #f0f0f0;
  background: linear-gradient(to bottom, #f0f5fa, #e8eef7) !important;
    padding: 5px 10px;
  border-radius: 0.7rem !important;
    text-align: right;
  margin: 0 0.5rem 2.5rem 0.5rem !important;
    width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: min-content !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(210, 220, 235, 0.8) !important;
}
}


.news-container .news-archive a {
/* 导航按钮的背景图片 - 初始隐藏 */
    color: rgb(var(--link-color));
.main-page-banner .nav-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  z-index: 0 !important;
  transition: opacity 0.6s ease !important;
}
}


/* 轮播图容器 - Windows XP风格 */
/* 为每个按钮设置不同的背景图片 */
.mw-carousel {
.main-page-banner .nav-button.discord::before {
    position: relative;
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
    width: 100%;
    max-width: 960px;
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    aspect-ratio: 16 / 9;
    background-color: rgb(var(--xp-window-bg));
    border-radius: 0;
}
}


.mw-carousel::before {
.main-page-banner .nav-button.faq::before {
    content: "Slideshow";
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    z-index: 10;
}
}


.mw-carousel::after {
.main-page-banner .nav-button.join::before {
    content: "×";
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 10;
}
}


.mw-carousel .carousel-image {
.main-page-banner .nav-button:hover {
    width: 100%;
  margin: 0 0.5rem 0.8rem 0.5rem !important;
    height: 100%;
  transform: translateY(-3px) !important;
    position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    margin-top: 25px;
}
}


.mw-carousel .carousel-image img {
/* 鼠标悬停时显示背景图片 */
    width: 100%;
.main-page-banner .nav-button:hover::before {
    height: calc(100% - 25px);
  opacity: 0.2 !important;
    object-fit: cover;
    display: block;
    border: 1px solid #ababab;
}
}


.mw-carousel .carousel-caption {
/* 鼠标悬停时变更欢迎区域的背景图片 */
    position: absolute;
.main-page-banner .navigation-links:hover ~ .welcome-text::before {
    bottom: 0;
  opacity: 0.1 !important;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px 15px 12px;
    text-align: left;
    transition: all 0.4s ease;
    z-index: 2;
}
}


.mw-carousel:hover .carousel-caption {
.main-page-banner .nav-button.discord:hover ~ .welcome-text::before,
    top: 25px;
.main-page-banner:has(.nav-button.discord:hover) .welcome-text::before {
    left: 0;
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
    bottom: 0;
  opacity: 0.25 !important;
    width: 100%;
  transform: scale(1) !important;
    height: calc(100% - 25px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
}


.mw-carousel .carousel-caption h3 {
.main-page-banner .nav-button.faq:hover ~ .welcome-text::before,
    margin: 0 0 5px;
.main-page-banner:has(.nav-button.faq:hover) .welcome-text::before {
    font-size: 1.6em;
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
    font-weight: 600;
  opacity: 0.25 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: scale(1) !important;
    transition: transform 0.4s ease;
    background: none;
    padding: 0;
    border: none;
}
}


.mw-carousel .carousel-caption p {
.main-page-banner .nav-button.join:hover ~ .welcome-text::before,
    margin: 0;
.main-page-banner:has(.nav-button.join:hover) .welcome-text::before {
    font-size: 1.1em;
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
    line-height: 1.4;
  opacity: 0.25 !important;
    max-width: 80%;
  transform: scale(1) !important;
    transition: all 0.4s ease 0.1s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
}


.mw-carousel .carousel-navigation {
.main-page-banner .nav-button a {
    position: absolute;
  display: block !important;
    top: 50%;
  padding: 1rem 0 !important;
    left: 0;
  width: 100% !important;
    width: 100%;
  text-align: center !important;
    display: flex;
  color: #4a5a6a !important;
    justify-content: space-between;
  font-size: 1.15rem !important;
    transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 3;
  font-weight: bold !important;
    padding: 0 15px;
  text-decoration: none !important;
    opacity: 0;
  position: relative !important;
    transition: opacity 0.3s ease;
  z-index: 2 !important;
}
}


.mw-carousel:hover .carousel-navigation {
.main-page-banner .nav-button a:hover {
    opacity: 1;
  padding: 1.5rem 0 !important;
  text-decoration: none !important;
  color: #3a4a5a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}
}


.mw-carousel .carousel-prev,
/* 响应式调整 */
.mw-carousel .carousel-next {
@media (max-width: 767px) {
     background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
  .main-page-banner {
     border: 1px solid #ababab;
     grid-template-areas:  
     width: 32px;
      "welcome"
     height: 32px;
      "navigation" !important;
     font-size: 18px;
    grid-template-columns: 1fr !important;
     cursor: pointer;
  }
     display: flex;
 
     justify-content: center;
  .main-page-banner .welcome-text {
     align-items: center;
     border-radius: 1rem 1rem 0 0 !important;
     transition: all 0.3s;
  }
     box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
 
  .main-page-banner .navigation-links {
     grid-area: navigation !important;
     display: flex !important;
     flex-wrap: wrap !important;
     justify-content: space-around !important;
     padding: 0.8rem !important;
  }
 
  .main-page-banner .nav-button {
     flex: 1 !important;
     min-width: 30% !important;
     margin: 0 0.3rem 2rem 0.3rem !important;
  }
 
  .main-page-banner .nav-button:hover {
     margin: 0 0.3rem 0.8rem 0.3rem !important;
  }
}
}


.mw-carousel .carousel-prev:hover,
/* 添加淡入动画效果 */
.mw-carousel .carousel-next:hover {
@keyframes fadeIn {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
}


.mw-carousel .carousel-indicators {
.main-page-banner {
    position: absolute;
  animation: fadeIn 0.8s ease-out forwards !important;
    bottom: 15px;
    right: 20px;
    left: auto;
    display: flex;
    gap: 5px;
    z-index: 4;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.3);
}
}
 
/* 公告列表样式 */
.mw-carousel .carousel-indicators .indicator {
.announcement-container .announcement-list {
    width: 10px;
  list-style: none;
    height: 10px;
  padding: 0;
    background-color: rgba(255, 255, 255, 0.5);
  margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}
}


.mw-carousel .carousel-indicators .indicator.active {
.announcement-container .announcement-list li {
    background-color: #ffffff;
  padding: 10px 0;
    transform: scale(1.2);
  border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
  color: #333;
}
}


/* 图片全局样式 */
.announcement-container .announcement-list li:last-child {
img {
  border-bottom: none;
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ababab;
}
}


/* 添加图片过渡效果 */
/* 链接样式 */
.mw-carousel .carousel-image img {
.announcement-container .announcement-list li a {
    transition: transform 0.5s ease;
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}
}


.mw-carousel:hover .carousel-image img {
.announcement-container .announcement-list li a:hover {
    transform: scale(1.03);
  color: #1a3366;
  text-decoration: underline;
}
}


/* 目录框样式 - Windows XP风格 */
/* 鼠标悬停效果 */
#toc, .toc {
.announcement-container .announcement-list li:hover {
    background-color: rgb(var(--xp-window-bg));
  background-color: #f9f9f9;
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    margin: 1em 0;
    position: relative;
    border-radius: 0;
}
}
 
/* 公告容器样式 */
#toc::before, .toc::before {
.announcement-container {
    content: "Contents";
  display: flex;
    position: absolute;
  flex-wrap: wrap;
    top: 0;
  border: 2px solid #f0f0f0;
    left: 0;
  align-content: space-between;
    right: 0;
  margin-bottom: 2rem;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


#toc::after, .toc::after {
.announcement-container .section-title {
    content: "×";
  width: 100%;
    position: absolute;
  text-align: center;
    top: 2px;
  font-size: 1.5rem;
    right: 5px;
  background-color: #f0f0f0;
    width: 16px;
  color: #333;
    height: 16px;
  padding: 0.5rem 1rem;
    background-color: #ff6347;
  border-left: none;
    border: 1px solid rgb(var(--xp-window-border));
  border-bottom: 2px solid #f0f0f0;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.toc .toctitle, #toc .toctitle {
.announcement-container .announcement-content {
    display: none;
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}
}


.toc ul, #toc ul {
/* 公告项目样式 */
    margin: 0;
.announcement-container .announcement {
    padding: 0 0 0 1.5em;
  padding: 12px;
  margin-bottom: 10px;
  background-color: #fff;
  border-left: 3px solid #3366cc;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
}


.toc li, #toc li {
.announcement-container .announcement:last-child {
    margin: 5px 0;
  margin-bottom: 0;
}
}


.toc a, #toc a {
.announcement-container .announcement:hover {
    color: rgb(var(--link-color));
  background-color: #f8f8f8;
    text-decoration: none;
  border-left-width: 5px;
  transform: translateX(2px);
}
}


.toc a:hover, #toc a:hover {
/* 公告中的链接样式 */
    color: rgb(var(--hover-link-color));
.announcement-container .announcement a {
    text-decoration: underline;
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}
}


.tocnumber {
.announcement-container .announcement a:hover {
    color: #666;
  color: #1a3366;
    margin-right: 5px;
  text-decoration: underline;
}
}


/* 变色龙皮肤特定修复 */
/* 粗体文字样式 */
.chameleon-toc {
.announcement-container .announcement strong,
    background-color: rgb(var(--xp-window-bg));
.announcement-container .announcement b {
    border: 2px solid rgb(var(--xp-window-border));
  color: #333;
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    position: relative;
    border-radius: 0;
}
}


.chameleon-toc::before {
/* 折叠区域样式 */
    content: "Contents";
.announcement-container .more-content {
    position: absolute;
  width: 100%;
    top: 0;
  border-top: 2px solid #f0f0f0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
}


.chameleon-toc::after {
.announcement-container .collapsible-block .collapsible-header {
    content: "×";
  padding: 1rem 0;
    position: absolute;
  text-align: center;
    top: 2px;
  background: rgba(240, 240, 240, 0.7);
    right: 5px;
  cursor: pointer;
    width: 16px;
  transition: background 0.2s ease;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
}


.chameleon-toc .toctitle {
.announcement-container .collapsible-block .collapsible-header:hover {
    display: none;
  background: rgba(240, 240, 240, 1);
}
}


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


/* 响应式调整 */
/* 响应式调整 */
@media (max-width: 767px) {
@media (max-width: 767px) {
    .tools-container {
  .announcement-container .section-title {
        grid-template-columns: 1fr;
     font-size: 1.2rem;
    }
  }
   
 
    .recent-pages-container .page-section,
  .announcement-container .announcement {
    .featured-content-container .feature-item {
     padding: 10px;
        flex-basis: 100%;
  }
        margin-bottom: 15px;
    }
   
     body::after {
        width: 80px;
        font-size: 12px;
    }
}
 
/* Windows XP蓝屏风格 */
.bluescreen {
    background-color: #0000aa;
    color: #ffffff;
    font-family: "Courier New", monospace;
     padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}
}
 
.gallery {
.bluescreen h2 {
  display: flex !important;
    color: #ffffff;
  flex-direction: row !important;
    background: none;
  flex-wrap: wrap !important;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}
}
 
img {
.bluescreen p {
     display: inline-block !important;
    margin: 10px 0;
}
    line-height: 1.5;
/* [[Category:在模板名字空间下的CSS页面]] */
}
 
.bluescreen code {
    background-color: #0000aa;
    border: none;
    color: #ffffff;
    display: block;
    margin: 10px 0;
    font-family: "Courier New", monospace;
}
 
/* 标题栏文本 */
.titlebox {
    color: white;
    position: relative;
    top: -16px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    padding: 5px 20px;
    line-height: 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border: 1px solid rgb(var(--xp-window-border));
    display: inline-block;
}
 
/* Windows XP Logo风格块 */
.logoblock {
    padding: 30px 10px 10px;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}
 
.logoblock::before {
    content: "Windows";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
 
.logoblock::after {
    content: "";
    float: center;
    border: solid 2px #0000;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
 
/* Windows XP错误对话框 */
.error-dialog {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
 
.error-dialog::before {
    content: "Error";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
 
.error-dialog::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.error-dialog .icon {
    float: left;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
 
.error-dialog .message {
    margin-left: 50px;
    font-weight: bold;
}
 
.error-dialog .buttons {
    text-align: right;
    margin-top: 15px;
}
 
.error-dialog .buttons button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 3px 10px;
    margin-left: 5px;
    cursor: pointer;
}
 
.error-dialog .buttons button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}
 
/* JS添加功能 */
.JS-added-button {
    display: none; /* 由JS控制显示 */
    position: fixed;
    right: 10px;
    bottom: 40px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
 
.JS-added-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}
 
/* 创建一个窗口最小化图标,显示在任务栏中 */
.minimized-window {
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.minimized-window:hover {
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
}
 
/* 添加系统时钟到任务栏 */
.taskbar-clock {
    position: fixed;
    right: 10px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: transparent;
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
}
 
/* CommonJS功能 */
/* 这些样式将由JavaScript功能使用 */d-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
 
.featured-content-container .feature-item {
    flex-basis: 48%;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 1rem;
    display: grid;
    grid-template-areas: "title" "content" "more";
    grid-template-rows: auto 1fr auto;
    position: relative;
    border-radius: 0;
}
 
.featured-content-container .section-title {
    grid-area: title;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    height: 25px;
    line-height: 25px;
    border-left: none;
}
 
.featured-content-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.featured-content-container .feature-content {
    grid-area: content;
    background-color: white;
    padding: 10px;
    border-bottom: 1px solid #ababab;
}
 
.featured-content-container .feature-content .featured-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: rgb(var(--xp-blue-dark));
}
 
.featured-content-container .feature-content .featured-author {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}
 
.featured-content-container .feature-content .featured-description {
    font-style: italic;
    color: #444;
}
 
.featured-content-container .see-more {
    grid-area: more;
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
}
 
.featured-content-container .see-more a {
    color: rgb(var(--link-color));
}
 
/* 工具和资源容器 - Windows XP风格 */
.tools-and-resources {
    margin-bottom: 2rem;
}
 
.tools-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}
 
.tools-container .tool-item {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    padding: 30px 10px 10px;
    display: grid;
    grid-template-areas:
        "icon content"
        "title content";
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    grid-gap: 0.5rem 1rem;
    position: relative;
    border-radius: 0;
}
 
.tools-container .tool-item::before {
    content: "Tool";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
 
.tools-container .tool-item::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.tools-container .tool-item .tool-icon {
    grid-area: icon;
    justify-self: center;
    align-self: center;
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
}
 
.tools-container .tool-item .tool-title {
    grid-area: title;
    text-align: center;
}
 
.tools-container .tool-item .tool-title a {
    color: rgb(var(--link-color));
    font-weight: bold;
}
 
.tools-container .tool-item .tool-description {
    grid-area: content;
    background-color: white;
    border: 1px solid #ababab;
    padding: 8px;
}
 
/* 新闻容器 - Windows XP风格 */
.news-container {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    box-shadow: var(--window-shadow);
    margin-bottom: 2rem;
    position: relative;
    border-radius: 0;
}
 
.news-container .section-title {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 30px 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
    text-align: left;
    width: 100%;
    border-left: none;
}
 
.news-container .section-title::after {
    content: "×";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.news-container .news-content {
    background-color: white;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #ababab;
}
 
.news-container .news-content .news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
}
 
.news-container .news-content .news-item:last-child {
    border-bottom: none;
}
 
.news-container .news-content .news-title {
    font-weight: bold;
    margin-bottom: 3px;
    color: rgb(var(--xp-blue-dark));
}
 
.news-container .news-content .news-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}
 
.news-container .news-archive {
    background-color: #f0f0f0;
    padding: 5px 10px;
    text-align: right;
    width: 100%;
}
 
.news-container .news-archive a {
    color: rgb(var(--link-color));
}
 
/* 响应式调整 */
@media (max-width: 767px) {
    .tools-container {
        grid-template-columns: 1fr;
    }
   
    .recent-pages-container .page-section,
    .featured-content-container .feature-item {
        flex-basis: 100%;
        margin-bottom: 15px;
    }
   
    body::after {
        width: 80px;
        font-size: 12px;
    }
}
 
/* Windows XP蓝屏风格 */
.bluescreen {
    background-color: #0000aa;
    color: #ffffff;
    font-family: "Courier New", monospace;
    padding: 20px;
    margin: 10px 0;
    border: 2px solid #000055;
    box-shadow: var(--window-shadow);
    position: relative;
}
 
.bluescreen h2 {
    color: #ffffff;
    background: none;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: none;
}
 
.bluescreen p {
    margin: 10px 0;
    line-height: 1.5;
}
 
.bluescreen code {
    background-color: #0000aa;
    border: none;
    color: #ffffff;
    display: block;
    margin: 10px 0;
    font-family: "Courier New", monospace;
}
 
/* 标题栏文本 */
.titlebox {
    color: white;
    position: relative;
    top: -16px;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    padding: 5px 20px;
    line-height: 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border: 1px solid rgb(var(--xp-window-border));
    display: inline-block;
}
 
/* Windows XP Logo风格块 */
.logoblock {
    padding: 30px 10px 10px;
    color: black;
    box-shadow: var(--window-shadow);
    margin: 10px 0;
    display: block;
    position: relative;
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    border-radius: 0;
}
 
.logoblock::before {
    content: "Windows";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
 
.logoblock::after {
    content: "";
    float: center;
    border: solid 2px #0000;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230078d7' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") center/70% no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
 
/* Windows XP错误对话框 */
.error-dialog {
    background-color: rgb(var(--xp-window-bg));
    border: 2px solid rgb(var(--xp-window-border));
    padding: 30px 10px 10px;
    margin: 10px 0;
    position: relative;
    box-shadow: var(--window-shadow);
    border-radius: 0;
}
 
.error-dialog::before {
    content: "Error";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    text-align: left;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
 
.error-dialog::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.error-dialog .icon {
    float: left;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff0000'/%3E%3Cpath d='M12 6v8M12 16v2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
 
.error-dialog .message {
    margin-left: 50px;
    font-weight: bold;
}
 
.error-dialog .buttons {
    text-align: right;
    margin-top: 15px;
}
 
.error-dialog .buttons button {
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 3px 10px;
    margin-left: 5px;
    cursor: pointer;
}
 
.error-dialog .buttons button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}
 
/* JS添加功能 */
.JS-added-button {
    display: none; /* 由JS控制显示 */
    position: fixed;
    right: 10px;
    bottom: 40px;
    background: linear-gradient(to bottom, #f6f6f6, #e0e0e0);
    border: 1px solid #ababab;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
 
.JS-added-button:hover {
    background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
}
 
/* 创建一个窗口最小化图标,显示在任务栏中 */
.minimized-window {
    position: fixed;
    left: 110px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: linear-gradient(to bottom, #67a9e0, #3a84c5);
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
    cursor: pointer;
    border-top: 1px solid #81bdeb;
    border-left: 1px solid #81bdeb;
    border-right: 1px solid #25619a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.minimized-window:hover {
    background: linear-gradient(to bottom, #81bdeb, #67a9e0);
}
 
/* 添加系统时钟到任务栏 */
.taskbar-clock {
    position: fixed;
    right: 10px;
    bottom: 0;
    height: 30px;
    padding: 0 10px;
    background: transparent;
    color: white;
    line-height: 30px;
    font-size: 12px;
    z-index: 9999;
}
/* 导航框(查论编)- Windows XP风格 */
table.navbox {
    border: 2px solid rgb(var(--xp-window-border));
    clear: both;
    margin: 1em auto;
    padding: 0;
    text-align: center;
    width: 100%;
    background-color: rgb(var(--xp-window-bg));
    box-shadow: var(--window-shadow);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
}
 
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light)));
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    text-shadow: var(--text-shadow);
    border-bottom: 1px solid rgb(var(--xp-window-border));
    position: relative;
}
 
.navbox-title::after,
table.navbox th::after {
    content: "×";
    position: absolute;
    top: 2px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ff6347;
    border: 1px solid rgb(var(--xp-window-border));
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 1;
}
 
.navbox-group {
    background-color: #f0f0f0;
    border: 1px solid #ababab;
    color: black;
    font-weight: bold;
    padding: 5px;
    text-align: right;
    white-space: nowrap;
}
 
.navbox-list {
    background-color: white;
    border: 1px solid #ababab;
    padding: 5px;
    text-align: left;
}
 
/* 修复开始按钮 - 实际元素而非伪元素 */
.start-button {
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100px;
    height: 30px;
    background: linear-gradient(to bottom, #4cae4c, #398439);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #366;
    border-left: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 20px 20px;
}
 
/* 修复开始菜单样式 */
#xp-start-menu {
    position: fixed !important;
    left: 0 !important;
    bottom: 60px !important;
    width: 250px !important;
    background-color: white !important;
    border: 2px solid #0054e3 !important;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.3) !important;
    z-index: 10000 !important;
    display: none;
}
 
.start-menu-top {
    height: 60px !important;
    background: linear-gradient(to bottom, #235ddc, #225ada 50%, #214fbb) !important;
    color: white !important;
    padding: 10px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
}
 
.start-menu-items {
    background-color: white !important;
    padding: 5px 0 !important;
}
 
.start-menu-item {
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}
 
.start-menu-item:hover {
    background-color: #e0ecff !important;
}
 
/* 修复下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 1px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    border-radius: 0 !important;
    z-index: 1000;
}
 
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
}
 
/* 修复2: 下拉菜单位置 */
#p-personal .vector-menu-content,
.vector-user-menu .vector-menu-content,
.vector-menu-dropdown .vector-menu-content {
    right: 0 !important;
    left: auto !important;
}
 
/* 确保下拉菜单不会超出屏幕 */
.dropdown-menu {
    right: 0 !important;
    left: auto !important;
}
 
#p-personal {
    position: relative !important;
}
 
/* 修复3: 时钟显示问题 */
/* 隐藏时钟图标 */
.oo-ui-icon-clock:before,
.mw-ui-icon-clock:before,
#pt-watchlist .mw-ui-icon:before {
    display: none !important;
}
 
/* 重新设置时钟样式,确保不会重叠 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    padding: 0 8px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: white !important;
    font-weight: bold !important;
    line-height: 20px !important;
    font-size: 14px !important;
    z-index: 10000 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    border-radius: 3px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}
 
/* 修复4: 开始按钮背景 */
.start-button {
    position: fixed !important;
    left: 0 !important;
    bottom: 30px !important;
    width: 100px !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #4cae4c, #398439) !important;
    color: white !important;
    text-align: center !important;
    line-height: 30px !important;
    font-weight: bold !important;
    border-radius: 0 5px 5px 0 !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    border: 1px solid #366 !important;
    border-left: none !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3) !important;
    padding-left: 30px !important;
    font-family: "Segoe UI", Tahoma, sans-serif !important;
}
 
.start-button::before {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M0 0h11v11H0V0zm13 0h11v11H13V0zM0 13h11v11H0V13zm13 0h11v11H13V13z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
 
/* 修复底部任务栏,使开始按钮正确显示 */
body::before {
    content: "" !important;
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
    border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
}
 
 
 
/* 修复3: 移除之前的开始按钮伪元素 */
body::after {
    display: none !important;
}
 
/* 修复4: 时钟样式完善 */
.taskbar-clock {
    position: fixed !important;
    right: 10px !important;
    bottom: 5px !important;
    height: 20px !important;
    line-height: 20px !important;
    padding: 0 8px !important;
    background-color: transparent !important;
    color: white !important;
    font-weight: normal !important;
    font-size: 13px !important;
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
    z-index: 10000 !important;
    text-shadow: none !important;
}
 
/* 完全隐藏时钟图标 */
.oo-ui-icon-clock,
.mw-ui-icon-clock,
#pt-watchlist .mw-ui-icon,
.mw-watchlink .mw-ui-icon::before {
    display: none !important;
}
 
/* 修复5: 完善底部任务栏 */
.taskbar {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: linear-gradient(to bottom, #3367d1, #2851a3) !important;
    border-top: 1px solid #4a78d8 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: center !important;
}
 
/* 任务栏内容区域 */
.taskbar-content {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
}
 
/* 快速启动栏 */
.quick-launch {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-right: 5px !important;
}
 
.quick-launch-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}
 
.quick-launch-icon:hover {
    opacity: 1 !important;
}
 
/* 系统托盘区域 */
.system-tray {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-left: auto !important;
}
 
 
//* 修复系统托盘布局 */
.system-tray {
    position: fixed !important;
    right: 10px !important;
    bottom: 0 !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 5px !important;
    z-index: 10000 !important;
}
 
/* 单独设置时钟样式 */
.taskbar-clock {
    position: static !important;
    color: white !important;
    font-family: "Tahoma", sans-serif !important;
    font-size: 13px !important;
    line-height: 30px !important;
}
 
/* 移除重复的系统图标 */
.tray-icon {
    display: none !important;
}
/* 强制应用指定字体 */
* {
    font-family: var(--body-font) !important;
}
 
body, html {
    font-family: "VonwaonBitmap 16px", VT323, monospace !important;
}
 
/* 特别设置任务栏字体 */
.taskbar, .start-button, .taskbar-clock {
    font-family: "Tahoma", "Microsoft Sans Serif", sans-serif !important;
}
/* 修复媒体查询 */
@media (max-width: 767px) {
    .navbar-toggle, .navbar-toggler {
        display: block !important;
    }
   
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgb(var(--xp-window-bg)) !important;
        border: 1px solid rgb(var(--xp-window-border)) !important;
        z-index: 1000 !important;
    }
}
 
/* 确保任务栏不与页面内容重叠 */
body {
    padding-bottom: 40px !important;
}
 
#content {
    margin-bottom: 40px !important;
}
 
/* 在顶栏显示用户头像 - 针对变色龙皮肤 */
.navbar-userloggedin,
#personal-inner,
#p-personal .vector-menu-content-list > li:first-child,
.navbar-personaltools > li:first-child {
    position: relative;
    padding-left: 30px !important;
}
 
.navbar-userloggedin::before,
#personal-inner::before,
#p-personal .vector-menu-content-list > li:first-child > a::before,
.navbar-personaltools > li:first-child > a::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgb(var(--bright-accent));
    z-index: 100;
}
 
/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* Echo扩展通知图标修复 */
#pt-notifications-alert,
#pt-notifications-notice,
.mw-echo-notifications-badge,
.mw-echo-notification-badge-nojs {
    background-color: transparent !important;
    border: none !important;
}
 
#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(var(--bright-accent)) !important;
    filter: none !important;
    opacity: 1 !important;
}
 
.mw-echo-notifications-badge:after,
.mw-echo-notification-badge-nojs:after {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    border: 1px solid rgb(var(--black-monochrome)) !important;
    opacity: 1 !important;
}
 
/* 只修改通知图标的颜色 */
/* Echo图标蓝色风格 - Windows XP主题 */
#pt-notifications-alert .oo-ui-icon-bell,
#pt-notifications-notice .oo-ui-icon-tray {
    filter: invert(34%) sepia(37%) saturate(2476%) hue-rotate(201deg) brightness(97%) contrast(85%);
}
 
/* 或者更直接的方式,使用颜色而不是filter */
#pt-notifications-alert .mw-echo-notifications-badge:before,
#pt-notifications-notice .mw-echo-notifications-badge:before,
.mw-echo-notifications-badge:before {
    color: rgb(49, 106, 197) !important; /* 使用XP蓝色 */
    filter: none !important;
    opacity: 1 !important;
}
 
/* 悬停时变亮 */
#pt-notifications-alert:hover .mw-echo-notifications-badge:before,
#pt-notifications-notice:hover .mw-echo-notifications-badge:before {
    color: rgb(82, 153, 235) !important; /* 使用XP浅蓝色 */
}
/* 目录框样式 */
#toc, .toc {
    background-color: rgb(var(--gray-monochrome)) !important;
    border: 2px solid rgb(var(--bright-accent)) !important;
    padding: 0.5em !important;
    font-family: var(--body-font) !important;
}
 
.toc .toctitle, #toc .toctitle {
    background-color: rgb(var(--bright-accent)) !important;
    color: rgb(var(--black-monochrome)) !important;
    text-align: center !important;
    padding: 0.25em !important;
    margin: -0.5em -0.5em 0.5em -0.5em !important;
    font-weight: bold !important;
}
 
.toc ul, #toc ul {
    margin: 0 !important;
    padding: 0 0 0 1.5em !important;
}
 
.toc a, #toc a {
    color: rgb(var(--bright-accent)) !important;
    text-decoration: none !important;
}
 
.toc a:hover, #toc a:hover {
    color: rgb(var(--white-monochrome)) !important;
    text-decoration: underline !important;
}
 
.tocnumber {
    color: rgb(var(--pale-accent)) !important;
}
/* 简化的导航栏布局 */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
 
.navbar-brand {
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}
 
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}
 
.navbar-nav > li {
    margin: 0 10px !important;
}
 
.navbar-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}
 
/* 搜索框间距修复 */
#searchform {
    margin: 0 10px !important;
}
 
/* 响应式修复 */
@media (max-width: 767px) {
    .navbar {
        flex-wrap: wrap !important;
    }
   
    .navbar-collapse {
        width: 100% !important;
    }
}
/* 修复logo样式 */
.navbar-brand img,
.navbar .logo img,
#p-logo img,
.navbar-header img {
    border: none !important;
     display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 40px !important;
    vertical-align: middle !important;
}
 
.navbar-brand,
.navbar .logo,
#p-logo,
.navbar-header {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 5px 15px !important;
    margin: 0 !important;
}
/* 完全重置TOC样式 - Windows XP风格 */
#toc, .toc, .chameleon-toc, .mw-toc, #mw-toc, .Table_of_Contents {
    background-color: rgb(var(--xp-window-bg)) !important;
    border: 2px solid rgb(var(--xp-window-border)) !important;
    box-shadow: var(--window-shadow) !important;
    padding: 35px 10px 10px !important; /* 上方留出标题空间 */
    margin: 1em 0 !important;
    position: relative !important;
    border-radius: 0 !important;
    width: auto !important;
    max-width: 360px !important; /* 限制最大宽度 */
    min-width: 200px !important;
    display: block !important; /* 改用块级显示 */
    float: right !important; /* 向右浮动 */
    clear: right !important;
    overflow: visible !important;
    z-index: 1 !important;
}
 
/* 自定义标题栏 */
#toc::before, .toc::before, .chameleon-toc::before, .mw-toc::before, #mw-toc::before, .Table_of_Contents::before {
    content: "Contents" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to right, rgb(var(--xp-blue)), rgb(var(--xp-blue-light))) !important;
    color: white !important;
    padding: 5px 10px !important;
    font-weight: bold !important;
    text-shadow: var(--text-shadow) !important;
    border-bottom: 1px solid rgb(var(--xp-window-border)) !important;
    text-align: left !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    display: block !important;
    z-index: 2 !important;
}
 
/* 处理原始标题和关闭按钮 */
.toc .toctitle, #toc .toctitle, .chameleon-toc .toctitle,
.mw-toc-heading, .tocheader, .toctoggle, .toctogglecheckbox {
    display: none !important; /* 隐藏原始标题 */
}
 
/* 确保目录列表可见 */
.toc ul, #toc ul, .chameleon-toc ul,
.mw-toc ul, #mw-toc ul, .Table_of_Contents ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0.5em 0 !important;
    padding: 0 0 0 1.5em !important;
    list-style-type: disc !important;
    text-align: left !important;
    max-height: none !important;
    overflow: visible !important;
}
 
/* 确保目录列表项可见 */
.toc li, #toc li, .chameleon-toc li,
.mw-toc li, #mw-toc li, .Table_of_Contents li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    color: rgb(var(--xp-text)) !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}
 
/* 链接样式 */
.toc a, #toc a, .chameleon-toc a,
.mw-toc a, #mw-toc a, .Table_of_Contents a {
    display: inline !important;
    color: rgb(var(--link-color)) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
 
.toc a:hover, #toc a:hover, .chameleon-toc a:hover,
.mw-toc a:hover, #mw-toc a:hover, .Table_of_Contents a:hover {
    color: rgb(var(--hover-link-color)) !important;
    text-decoration: underline !important;
}
 
/* 目录编号样式 */
.tocnumber {
    color: rgb(var(--xp-blue)) !important;
    font-weight: bold !important;
    margin-right: 0.3em !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}
 
/* 强制显示所有子目录 */
.toc .toclevel-1 ul,
.toc .toclevel-2 ul,
.toc .toclevel-3 ul,
#toc .toclevel-1 ul,
#toc .toclevel-2 ul,
#toc .toclevel-3 ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
 
/* 整个目录容器设置 */
#mw-content-text .toc,
#mw-content-text #toc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
/* CommonJS功能 */
/* 这些样式将由JavaScript功能使用 */

2025年6月9日 (一) 20:32的最新版本

/* 这里放置的CSS将应用于所有皮肤 */
@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=Microsoft+Sans+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');


:root {
	--link-color: #0645ad;
	--link-color-active: #faa700;
	--custom-background-blue: #ccf;
	--custom-background-cyan: #cef;
	--custom-background-green: #cfc;
	--custom-background-gray: #d2d2d2;
	--custom-background-grey: var(--custom-background-gray);
	--custom-background-magenta: #fdf;
	--custom-background-orange: #fdb;
	--custom-background-purple: #ecf;
	--custom-background-red: #fcc;
	--custom-background-yellow: #ffc;
	--custom-border-blue: #36e;
	--custom-border-cyan: #9df;
	--custom-border-green: #5d5;
	--custom-border-gray: #bbb;
	--custom-border-grey: var(--custom-border-gray);
	--custom-border-magenta: #f9f;
	--custom-border-orange: #f90;
	--custom-border-purple: #96c;
	--custom-border-red: #e44;
	--custom-border-yellow: #fc3;
	--custom-closed-topic-neutral: #eef;
	--custom-closed-topic-no: #fee;
	--custom-closed-topic-yes: #efe;
	--custom-code-background: #f8f9fa;
	--custom-load-page-button-color: #fff8;
	--custom-main-page-background: #fcfcfc;
	--custom-main-page-border: var(--custom-border-gray);
	--custom-main-page-edition-subheader: #333;
	--custom-mcwiki-header-color: #bcd4f5;
	--custom-navbox-background: #fff;
	--custom-navbox-top: #ccc;
	--custom-navbox-middle: #ddd;
	--custom-navbox-thru: #eee;
	--custom-nbt-inherit-color: #e6e6fa;
	--custom-table-background: #f8f9fa;
	--custom-table-alternate-background: #f0f1f2;
	--custom-table-choice-always: #003600;
	--custom-table-choice-always-background: #80d080;
	--custom-table-choice-default: #fff;
	--custom-table-choice-in-off-background: #060;
	--custom-table-choice-in-on-background: #0c0;
	--custom-table-choice-na: #000;
	--custom-table-choice-na-background: #fff;
	--custom-table-choice-neutral: #634800;
	--custom-table-choice-neutral-background: #ffeb9c;
	--custom-table-choice-never: #3c0404;
	--custom-table-choice-never-background: #ff8080;
	--custom-table-choice-no: #840606;
	--custom-table-choice-no-background: #ffc7ce;
	--custom-table-choice-out-off-background: #900;
	--custom-table-choice-out-on-background: #f00;
	--custom-table-choice-partial: #665400;
	--custom-table-choice-partial-background: #ffd;
	--custom-table-choice-planned: #0131b7;
	--custom-table-choice-planned-background: #dfdfff;
	--custom-table-choice-rarely: #533400;
	--custom-table-choice-rarely-background: #fdce5e;
	--custom-table-choice-unknown: #222;
	--custom-table-choice-unknown-background: #ccc;
	--custom-table-choice-yes: #005600;
	--custom-table-choice-yes-background: #c6efce;
	--custom-table-header-background: #eaecf0;
	--custom-topic-30-days: #bbb;
	--custom-topic-7-days: #ddd;
    

    /* 字体设置 - 保持原有字体 */
    --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;

}
/* 应用全局字体 */
body {
    font-family: var(--body-font) !important;
    font-size: var(--base-font-size) !important;
    line-height: 1.5 !important;

    background-image: url("/aoh2wiki/images/b/be/Microsoft_Nostalgic_Windows_Wallpaper_4k.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(var(--xp-text));
}
  
  .notaninfobox {
	position: relative;
	clear: right;
	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 {
    border-bottom: 1px solid #ddd;
}
@media all and (max-width: 337px) {
	.notaninfobox {
		margin-left: -16px;
		margin-right: -16px;
		border-left: none;
		border-right: none;
	}
}

.notaninfobox > .infobox-title {
	font-weight: bold;
	text-align: center;
	font-size: 120%;
	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;
	grid-template-columns: max-content 1fr;
	gap: 1px;
}
.infobox .plainlinks a {
    color: #0000EE !important;
    text-decoration: underline;
}
.infobox .plainlinks a:visited {
    color: #551A8B !important;
}
.notaninfobox .infobox-rows .infobox-row {
	display: contents;
}

.notaninfobox .infobox-row .infobox-row-label,
.notaninfobox .infobox-row .infobox-row-field {
	padding: 4px;
}

.notaninfobox .infobox-row .infobox-row-label {
	font-weight: bold;
	display: flex;
	align-items: center;
}
.community-updates {
  background: #fff0e6;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}
.community-updates ul li {
  list-style: none;
  padding: 10px;
  background: #fff;
  margin: 5px 0;
  border-radius: 5px;
  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 */
.tabber-container-infobox .tabber .tabbertab,
.tabber-container-infobox ul.tabbernav li a,
.tabber-container-infobox ul.tabbernav li.tabberactive a {
	background: none;
	border: none;
}

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

.tabber-container-infobox ul.tabbernav {
	font: inherit;
	font-size: 100%;
}

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

.tabber-container-infobox ul.tabbernav > li {
	margin-bottom: 5px;
	padding: 0;
}
.announcement-content span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.mw-mainpage-header {
    background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
    box-shadow: grey 0px 0px 5px;
    border-radius: 20px;
    color: #000;
    font-size: 1.5em;
    text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 20px;
    text-align: center;
}

.mw-mainpage-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.mw-mainpage-header p {
    font-size: 1.2em;
    margin: 5px 0;
}
.tabber-container-infobox ul.tabbernav > li > a {
	color: #595959;
	padding-bottom: 1px;
	display: block;
}

/* 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
 * invisible ::before which contains the same text as the tab's text, but
 * bolded. This way the element in which unbolded text sits is sized according
 * to the bolded text, preventing it from resizing upon being selected.
 */
.tabber-container-infobox ul.tabbernav > li > a::before {
	display: block;
	content: attr(alt);
	font-weight: bold;
	height: 0;
	color: transparent;
	overflow: hidden;
	visibility: hidden;
}

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

.modulebox {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  background-color: #f9f9f9;
}

.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
	font-weight: bold;
	color: var(--link-color);
	border-bottom: 2px solid var(--custom-mcwiki-header-color);
}

.infobox-rows p {
	margin: 0;
}

/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
 * but the wiki screws up sometimes.
 */
.infobox-rows dl + dl {
	margin-top: -0.4em;
}

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

.infobox-footer {
	text-align: center;
}

/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
table.navbox{
    border:1px solid #aaa;
    clear:both;
    margin:auto;
    padding:1px;
    text-align:center;
    width:100%;
}
 
table.navbox + table.navbox{
    margin-top:-1px;
}
 
.navbox-title,
.navbox-abovebelow,
table.navbox th{
    padding-left:1em;
    padding-right:1em;
    text-align:center;
}
 
.navbox-group{
    font-weight:700;
    white-space:nowrap;
}
 
.navbox,
.navbox-subgroup{
    background:none repeat scroll 0 0 var(--theme-card-background-color, #fdfdfd);
}
 
.navbox-list{
    border-color:#fdfdfd;
}
 
.navbox-title,
table.navbox th{
    background:none repeat scroll 0 0 #a5e4a5;
}
 
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title{
    background:none repeat scroll 0 0 #c0ecc0;
}
 
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow{
    background:none repeat scroll 0 0 #e6f6e6;
}
 
.navbox-even{
    background:none repeat scroll 0 0 #f5fcf5;
}
 
.navbox-odd{
    background:none repeat scroll 0 0 #fdfdfd;
}
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}
.navbar {
    position: relative;
    min-height: 23px !important;
    margin-bottom: 0px !important;
    border: 1px solid transparent;
}
.navbox-title .Wikiplus-Edit-EveryWhereBtn {
	display: none;
}

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

/* h1标题字体 */
body h1 {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !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;
}
/* === 轮播图容器 === */
.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;
}

/* === 图片区域 === */
.mw-carousel .carousel-image {
  width: 100%;
  height: 100%;
  position: relative;
}

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

/* === 悬停时的文字效果:文字全屏覆盖,背景渐变 === */
.mw-carousel:hover .carousel-caption {
  top: 0;
  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);
}

/* === 标题 + 描述样式 === */
.mw-carousel .carousel-caption h3 {
  margin: 0 0 0.5em;
  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 {
  margin: 0;
  font-size: 1.1em;
  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);
}

.mw-carousel:hover .carousel-caption h3 {
  transform: translateY(0);
}

.mw-carousel:hover .carousel-caption p {
  opacity: 1;
  transform: translateY(0);
}

/* === 左右切换按钮(垂直居中) === */
.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 1.5em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.mw-carousel .carousel-prev,
.mw-carousel .carousel-next {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  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;
}

.mw-carousel .carousel-prev:hover,
.mw-carousel .carousel-next:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

/* === 指示器 - 修改为底部右侧 === */
.mw-carousel .carousel-indicators {
  position: absolute;
  bottom: 15px;
  right: 20px;  /* 改为右对齐 */
  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 {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

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

.mw-carousel .carousel-indicators .indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* === 图片全局统一显示效果 === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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


/* Common styles */
.section-title {
  background-color: #f0f0f0;
  color: #333;
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border-left: 4px solid #3366cc;
}

.see-more {
  text-align: right;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  background-color: #f5f5f5;
}

.see-more a {
  color: #3366cc;
}

/* 主页横幅样式 */
.main-page-banner {
  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;
}

/* 欢迎文本区域 */
.main-page-banner .welcome-text {
  grid-area: welcome;
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  color: rgb(var(--white-monochrome, 252, 252, 252));
  font-style: italic;
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
  margin: 0;
  width: 100%;
}

.main-page-banner .welcome-text p {
  margin: 0;
  color: rgb(var(--white-monochrome, 252, 252, 252));
}

/* 导航链接区域 */
.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%;
}

.main-page-banner .nav-button {
  background-color: rgb(var(--gray-monochrome, 66, 66, 72));
  border-radius: 0 0 1rem 1rem;
  margin: 0 0 4rem 0;
  transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1);
  height: min-content;
}

.main-page-banner .nav-button:hover {
  margin: 0 0 1rem 0;
}

.main-page-banner .nav-button a {
  display: block;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
  color: rgb(var(--white-monochrome, 0, 0, 0));
  font-size: 1.25rem;
  transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
  text-decoration: none;
}

.main-page-banner .nav-button a:hover {
  padding: 2rem 0;
  text-decoration: none;
}

/* 针对背景图片的设置 */
.main-page-banner {
  position: relative;
  z-index: 1;
}

.main-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('您的背景图片URL');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* 调整透明度使文字可读 */
  z-index: -1;
  border-radius: 1rem;
}

/* 响应式布局 */
@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;
  }
  
  .main-page-banner .nav-button {
    flex: 1;
    margin: 0 0 4rem 0;
  }
  
  .main-page-banner .nav-button:not(:last-child) {
    margin-right: 3%;
  }
  
  .main-page-banner .nav-button a {
    font-size: 1.1rem;
  }
  
  .main-page-banner .nav-button:hover {
    margin: 0 0 1rem 0;
  }
}
/* Announcement styles */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}

.announcement-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.announcement-container .announcement-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

.announcement-container .more-content {
  width: 100%;
  border-top: 2px solid #f0f0f0;
}
.announcement-container .collapsible-block.active .collapsible-content {
  display: block;
}
.announcement-container .collapsible-block {
  width: 100%;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}

.announcement-container .more-content .collapsible-block.active .collapsible-content {
  display: block !important;
}
.announcement-container .collapsible-header {
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
}

.announcement-container .collapsible-header:hover {
  background: rgba(240, 240, 240, 1);
}

.announcement-container .collapsible-content {
  padding: 1rem;
  background: #f5f5f5;
}
/* 更高特异性的选择器 */
.announcement-container .more-content .collapsible-block .collapsible-content {
  display: none !important;
}

.announcement-container .more-content .collapsible-block.active .collapsible-content {
  display: block !important;
}
/* Recent pages styles */
.main-page-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.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%;
  display: grid;
  grid-template-areas: "title" "page" "more";
  grid-template-rows: auto 1fr auto;
  border: 1px solid #f0f0f0;
}

.recent-pages-container .section-title {
  grid-area: title;
}

.recent-pages-container .page-list {
  grid-area: page;
  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 {
  display: block;
  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 {
  border-bottom: none;
}

.recent-pages-container .see-more {
  grid-area: more;
}

/* Featured content styles */
.featured-content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.featured-content-container .feature-item {
  flex-basis: 48%;
  display: grid;
  grid-template-areas: "title" "content" "more";
  grid-template-rows: auto 1fr auto;
  border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}

.featured-content-container .section-title {
  grid-area: title;
}

.featured-content-container .feature-content {
  grid-area: content;
  border: solid #f0f0f0;
  border-width: 0 1px;
  padding: 1rem;
  background-color: #fafafa;
}

.featured-content-container .feature-content .featured-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

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

.featured-content-container .see-more {
  grid-area: more;
}

/* Tools and resources styles */
.tools-and-resources {
  margin-bottom: 2rem;
}

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

.tools-container .tool-item {
  background: #f5f5f5;
  color: #333;
  padding: 1rem;
  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;
  border-left: 4px solid #3366cc;
}

.tools-container .tool-item .tool-icon {
  grid-area: icon;
  justify-self: center;
  align-self: end;
}

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

.tools-container .tool-item .tool-title a {
  color: #3366cc;
  font-weight: bold;
}

.tools-container .tool-item .tool-description {
  grid-area: content;
  align-self: center;
}

/* News styles */
.news-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
}

.news-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.news-container .news-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

.news-container .news-content .news-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 0.5rem 0;
}

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

.news-container .news-content .news-title {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

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

.news-container .news-archive {
  background: #f0f0f0;
  text-align: right;
  width: 100%;
  padding: 0.3rem 1rem;
}

.news-container .news-archive a {
  color: #3366cc;
}

/* Carousel styles */
/* Import styles from main.scss file */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.carousel-container .rolling {
  display: flex;
  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 */

/* Responsive styles */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
  
  .recent-pages-container .page-section,
  .featured-content-container .feature-item {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
  
  .tools-container {
    grid-template-columns: 1fr;
  }
}
/* 为主内容区域添加半透明模糊白色效果 - 只针对最外层容器 */
.mw-body, 
#content {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  min-height: 500px !important;
}

/* 确保标题与新的背景相协调 */
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 0.3em !important;
}
/* ===== 变色龙皮肤顶栏毛玻璃效果 - 修复点击与悬停兼容版 ===== */

/* 1. 顶栏基础样式 - 半透明毛玻璃效果 */
html body nav.navbar,
html body div.navbar,
html body .navbar-fixed-top,
html body .navbar-default,
html body .navbar-collapse {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  
  /* 解决z-index问题 */
  position: relative !important;
  z-index: 9999 !important;
}

/* 2. 导航链接样式 */
.navbar .nav > li > a,
.navbar-nav > li > a {
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.25s ease !important;
  padding: 15px 20px !important;
  font-weight: 500 !important;
}

/* 3. 链接悬停效果 */
.navbar .nav > li > a:hover,
.navbar-nav > li > a:hover {
  color: rgba(0, 0, 0, 0.95) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  transform: scale(1.05) !important;
}

/* 4. 下拉菜单样式 */
.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
  
  /* z-index修复 */
  z-index: 10000 !important;
}

/* 5. 下拉菜单项样式 */
.dropdown-menu > li > a {
  padding: 10px 20px !important;
  color: rgba(0, 0, 0, 0.75) !important;
  transition: all 0.2s ease !important;
}

/* 6. 下拉菜单项悬停效果 */
.dropdown-menu > li > a:hover {
  background-color: rgba(0, 0, 0, 0.08) !important;
  color: rgba(0, 0, 0, 0.95) !important;
  transform: translateX(5px) !important;
  font-weight: 500 !important;
}

/* 7. 确保主内容区域不会覆盖导航栏 */
.mw-body, 
#content, 
#mw-content-text, 
.mw-parser-output {
  z-index: 1 !important;
  position: relative !important;
}

/* 8. 移动设备特殊处理 */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
  }
  
  .navbar-nav .open .dropdown-menu {
    background-color: rgba(245, 245, 245, 0.9) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .dropdown-menu > li > a:hover {
    transform: translateX(3px) !important;
  }
}

/* 9. 浏览器兼容性处理 */
@supports not (backdrop-filter: blur(10px)) {
  .navbar, .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95) !important;
  }
}

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

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

/* 头像悬停效果 */
.navbar-userloggedin:hover::before,
#personal-inner:hover::before,
#p-personal .vector-menu-content-list > li:first-child > a:hover::before,
.navbar-personaltools > li:first-child > a:hover::before {
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: 0 0 10px rgba(var(--bright-accent), 0.6) !important;
    border-color: rgb(var(--white-monochrome)) !important;
}
/* 主页横幅样式 - 美化版 */
.main-page-banner {
  display: grid !important;
  grid-template-areas: 
    "welcome welcome welcome"
    "discord faq join" !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  margin-bottom: 4rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  z-index: 1 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

/* 欢迎文本区域 */
.main-page-banner .welcome-text {
  grid-area: welcome !important;
  background: linear-gradient(135deg, rgba(235, 238, 245, 0.95), rgba(210, 225, 240, 0.95)) !important;
  color: #3a4a5a !important;
  font-style: normal !important;
  padding: 2rem !important;
  border-radius: 1rem 1rem 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.5s ease !important;
  z-index: 2 !important;
}

/* 欢迎文本背景图片 */
.main-page-banner .welcome-text::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('/aoh2wiki/images/b/be/Banner_Default.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.15 !important;
  z-index: -1 !important;
  transition: opacity 0.8s ease, transform 1.2s ease !important;
  transform: scale(1.05) !important;
}

.main-page-banner .welcome-text p {
  margin: 0 !important;
  color: #3a4a5a !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
  position: relative !important;
  z-index: 2 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

/* 导航链接区域 */
.main-page-banner .navigation-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-column-gap: 3% !important;
  grid-area: discord / discord / join / join !important;
  width: 100% !important;
  background: linear-gradient(to bottom, rgba(225, 235, 245, 0.9), rgba(215, 225, 235, 0.9)) !important;
  padding: 0.5rem !important;
  border-radius: 0 0 1rem 1rem !important;
}

.main-page-banner .nav-button {
  background: linear-gradient(to bottom, #f0f5fa, #e8eef7) !important;
  border-radius: 0.7rem !important;
  margin: 0 0.5rem 2.5rem 0.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: min-content !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(210, 220, 235, 0.8) !important;
}

/* 导航按钮的背景图片 - 初始隐藏 */
.main-page-banner .nav-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  z-index: 0 !important;
  transition: opacity 0.6s ease !important;
}

/* 为每个按钮设置不同的背景图片 */
.main-page-banner .nav-button.discord::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
}

.main-page-banner .nav-button.faq::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
}

.main-page-banner .nav-button.join::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
}

.main-page-banner .nav-button:hover {
  margin: 0 0.5rem 0.8rem 0.5rem !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 鼠标悬停时显示背景图片 */
.main-page-banner .nav-button:hover::before {
  opacity: 0.2 !important;
}

/* 鼠标悬停时变更欢迎区域的背景图片 */
.main-page-banner .navigation-links:hover ~ .welcome-text::before {
  opacity: 0.1 !important;
}

.main-page-banner .nav-button.discord:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.discord:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button.faq:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.faq:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button.join:hover ~ .welcome-text::before,
.main-page-banner:has(.nav-button.join:hover) .welcome-text::before {
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
  opacity: 0.25 !important;
  transform: scale(1) !important;
}

.main-page-banner .nav-button a {
  display: block !important;
  padding: 1rem 0 !important;
  width: 100% !important;
  text-align: center !important;
  color: #4a5a6a !important;
  font-size: 1.15rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: bold !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 2 !important;
}

.main-page-banner .nav-button a:hover {
  padding: 1.5rem 0 !important;
  text-decoration: none !important;
  color: #3a4a5a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .main-page-banner {
    grid-template-areas: 
      "welcome"
      "navigation" !important;
    grid-template-columns: 1fr !important;
  }
  
  .main-page-banner .welcome-text {
    border-radius: 1rem 1rem 0 0 !important;
  }
  
  .main-page-banner .navigation-links {
    grid-area: navigation !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    padding: 0.8rem !important;
  }
  
  .main-page-banner .nav-button {
    flex: 1 !important;
    min-width: 30% !important;
    margin: 0 0.3rem 2rem 0.3rem !important;
  }
  
  .main-page-banner .nav-button:hover {
    margin: 0 0.3rem 0.8rem 0.3rem !important;
  }
}

/* 添加淡入动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-page-banner {
  animation: fadeIn 0.8s ease-out forwards !important;
}
/* 公告列表样式 */
.announcement-container .announcement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement-container .announcement-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
  line-height: 1.5;
  color: #333;
}

.announcement-container .announcement-list li:last-child {
  border-bottom: none;
}

/* 链接样式 */
.announcement-container .announcement-list li a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.announcement-container .announcement-list li a:hover {
  color: #1a3366;
  text-decoration: underline;
}

/* 鼠标悬停效果 */
.announcement-container .announcement-list li:hover {
  background-color: #f9f9f9;
}
/* 公告容器样式 */
.announcement-container {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #f0f0f0;
  align-content: space-between;
  margin-bottom: 2rem;
}

.announcement-container .section-title {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  background-color: #f0f0f0;
  color: #333;
  padding: 0.5rem 1rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}

.announcement-container .announcement-content {
  background-color: #fafafa;
  width: 100%;
  padding: 0.75rem;
}

/* 公告项目样式 */
.announcement-container .announcement {
  padding: 12px;
  margin-bottom: 10px;
  background-color: #fff;
  border-left: 3px solid #3366cc;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.announcement-container .announcement:last-child {
  margin-bottom: 0;
}

.announcement-container .announcement:hover {
  background-color: #f8f8f8;
  border-left-width: 5px;
  transform: translateX(2px);
}

/* 公告中的链接样式 */
.announcement-container .announcement a {
  color: #3366cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.announcement-container .announcement a:hover {
  color: #1a3366;
  text-decoration: underline;
}

/* 粗体文字样式 */
.announcement-container .announcement strong,
.announcement-container .announcement b {
  color: #333;
}

/* 折叠区域样式 */
.announcement-container .more-content {
  width: 100%;
  border-top: 2px solid #f0f0f0;
}

.announcement-container .collapsible-block .collapsible-header {
  padding: 1rem 0;
  text-align: center;
  background: rgba(240, 240, 240, 0.7);
  cursor: pointer;
  transition: background 0.2s ease;
}

.announcement-container .collapsible-block .collapsible-header:hover {
  background: rgba(240, 240, 240, 1);
}

.announcement-container .collapsible-block .collapsible-content {
  padding: 1rem;
  background: #f5f5f5;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .announcement-container .section-title {
    font-size: 1.2rem;
  }
  
  .announcement-container .announcement {
    padding: 10px;
  }
}
.gallery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
}
img {  
    display: inline-block !important;  
}  
/* [[Category:在模板名字空间下的CSS页面]] */